Initializing AMReX (24.01-10-g9b799efb04e0)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-10-g9b799efb04e0) initialized Starting run at 09:32:55 UTC on 2024-01-19. Successfully read inputs file ... Castro git describe: 24.01-13-g77dcad4d2 AMReX git describe: 24.01-10-g9b799efb0 Microphysics git describe: 24.01-9-ga4d7ab4d reading extern runtime parameters ... 3 Species: C12 O16 Mg24 Successfully read inputs file ... INITIAL GRIDS Level 0 8 grids 262144 cells 100 % of domain smallest grid: 32 x 32 x 32 biggest grid: 32 x 32 x 32 CHECKPOINT: file = dustcollapse-restart_chk00000 checkPoint() time = 0.04623522 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025536249 seconds [Level 0 step 1] ADVANCE at time 0 with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.065142885 [STEP 1] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.071741048 [STEP 2] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.078042921 [STEP 3] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE at time 0.0001431784233 with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.068129085 [STEP 4] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE at time 0.0001957547666 with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.066170956 [STEP 5] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.045551624 secs. [Level 0 step 6] ADVANCE at time 0.0002509599271 with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.073758293 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.070932997 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.050740349 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.056707145 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.069126784 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.043957242 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.02524011 seconds Ending run at 09:32:56 UTC on 2024-01-19. Run time = 0.912587565 Run time without initialization = 0.785953585 Average number of zones advanced per microsecond: 3.335 Average number of zones advanced per microsecond per rank: 3.335 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9126 ... 0.9126 ... 0.9126 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2911 0.2911 0.2911 31.90% VisMF::Write(FabArray) 11 0.1779 0.1779 0.1779 19.50% MLCellLinOp::applyBC() 4351 0.08081 0.08081 0.08081 8.86% MLPoisson::Fsmooth() 3280 0.03431 0.03431 0.03431 3.76% FillBoundary_nowait() 3941 0.03017 0.03017 0.03017 3.31% StateData::FillBoundary(geom) 328 0.02629 0.02629 0.02629 2.88% amrex::Dot() 1114 0.0217 0.0217 0.0217 2.38% Castro::normalize_species() 62 0.02031 0.02031 0.02031 2.23% FabArray::norminf() 1061 0.02022 0.02022 0.02022 2.22% Castro::computeTemp() 63 0.01542 0.01542 0.01542 1.69% FabArray::ParallelCopy_nowait() 861 0.01359 0.01359 0.01359 1.49% FabArray::Saxpy() 1370 0.01352 0.01352 0.01352 1.48% FabArray::setVal() 1062 0.01324 0.01324 0.01324 1.45% Castro::enforce_min_density() 62 0.01213 0.01213 0.01213 1.33% StateDataPhysBCFunct::() 41 0.01172 0.01172 0.01172 1.28% amrex::Copy() 472 0.0108 0.0108 0.0108 1.18% MLCellLinOp::defineAuxData() 11 0.01044 0.01044 0.01044 1.14% MLPoisson::Fapply() 1060 0.0104 0.0104 0.0104 1.14% Gravity::fill_multipole_BCs() 11 0.008736 0.008736 0.008736 0.96% FabArray::Xpay() 739 0.007876 0.007876 0.007876 0.86% MLMG::addInterpCorrection() 410 0.007024 0.007024 0.007024 0.77% amrex::average_down 410 0.006252 0.006252 0.006252 0.69% Castro::estTimeStep() 21 0.006054 0.006054 0.006054 0.66% Amr::checkPoint() 3 0.005955 0.005955 0.005955 0.65% Castro::reset_internal_energy(MultiFab) 63 0.005176 0.005176 0.005176 0.57% BndryData::define() 11 0.003891 0.003891 0.003891 0.43% amrex::Add() 82 0.003594 0.003594 0.003594 0.39% Castro::construct_new_gravity_source() 10 0.003455 0.003455 0.003455 0.38% Castro::enforce_speed_limit() 62 0.003333 0.003333 0.003333 0.37% Castro::construct_old_gravity_source() 10 0.002993 0.002993 0.002993 0.33% Amr::writePlotFile() 2 0.002143 0.002143 0.002143 0.23% check_for_negative_density() 10 0.001956 0.001956 0.001956 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001787 0.001787 0.001787 0.20% MLCGSolver::bicgstab 82 0.001646 0.001646 0.001646 0.18% Castro::reset_internal_energy(Fab) 504 0.001633 0.001633 0.001633 0.18% MLCellLinOp::setLevelBC() 11 0.001589 0.001589 0.001589 0.17% Gravity::actual_solve_with_mlmg() 11 0.001583 0.001583 0.001583 0.17% Castro::initData() 1 0.001483 0.001483 0.001483 0.16% FabArray::mult() 43 0.001394 0.001394 0.001394 0.15% MLCellLinOp::prepareForSolve() 11 0.00137 0.00137 0.00137 0.15% FabArray::setDomainBndry() 41 0.001361 0.001361 0.001361 0.15% MultiFab::contains_nan() 20 0.001276 0.001276 0.001276 0.14% MLCellLinOp::smooth() 1640 0.001105 0.001105 0.001105 0.12% MLCellLinOp::compGrad() 11 0.001077 0.001077 0.001077 0.12% MLMG::prepareForSolve() 11 0.0009748 0.0009748 0.0009748 0.11% FabArray::FillBoundary() 3941 0.0008512 0.0008512 0.0008512 0.09% FabArrayBase::getCPC() 1323 0.0007599 0.0007599 0.0007599 0.08% FabArrayBase::CPC::define() 454 0.0006772 0.0006772 0.0006772 0.07% FabArrayBase::getFB() 3941 0.0006593 0.0006593 0.0006593 0.07% Gravity::get_new_grav_vector() 11 0.0006036 0.0006036 0.0006036 0.07% Amr::InitAmr() 1 0.0005721 0.0005721 0.0005721 0.06% Gravity::get_old_grav_vector() 10 0.0004832 0.0004832 0.0004832 0.05% Amr::coarseTimeStep() 10 0.0004191 0.0004191 0.0004191 0.05% MLCellLinOp::apply() 1060 0.0004173 0.0004173 0.0004173 0.05% AmrLevel::FillPatch() 41 0.0004122 0.0004122 0.0004122 0.05% MLCGSolver::ParallelAllReduce 1832 0.0003456 0.0003456 0.0003456 0.04% MultiFab::max() 11 0.0003309 0.0003309 0.0003309 0.04% main() 1 0.0002918 0.0002918 0.0002918 0.03% MLCellLinOp::defineBC() 11 0.0002859 0.0002859 0.0002859 0.03% FabArray::ParallelCopy() 861 0.0002322 0.0002322 0.0002322 0.03% MLMG::mgVcycle() 82 0.0002115 0.0002115 0.0002115 0.02% FillPatchIterator::Initialize 41 0.0002071 0.0002071 0.0002071 0.02% MLLinOp::defineGrids() 11 0.0001776 0.0001776 0.0001776 0.02% MLCellLinOp::correctionResidual() 410 0.0001738 0.0001738 0.0001738 0.02% Castro::subcycle_advance_ctu() 10 0.0001705 0.0001705 0.0001705 0.02% Amr::timeStep() 10 0.0001665 0.0001665 0.0001665 0.02% Castro::create_source_corrector() 10 0.0001541 0.0001541 0.0001541 0.02% Gravity::solve_for_phi() 10 0.0001362 0.0001362 0.0001362 0.01% StateData::checkPoint() 12 0.0001343 0.0001343 0.0001343 0.01% Gravity::update_max_rhs() 11 0.0001326 0.0001326 0.0001326 0.01% MLMG:computeResOfCorrection() 410 0.0001178 0.0001178 0.0001178 0.01% Castro::Castro() 1 9.888e-05 9.888e-05 9.888e-05 0.01% Castro::construct_new_source() 50 9.654e-05 9.654e-05 9.654e-05 0.01% MLMG::mgVcycle_down::0 82 9.353e-05 9.353e-05 9.353e-05 0.01% Castro::advance() 10 9.192e-05 9.192e-05 9.192e-05 0.01% FabArrayBase::FB::FB() 56 8.987e-05 8.987e-05 8.987e-05 0.01% MLMG::actualBottomSolve() 82 8.728e-05 8.728e-05 8.728e-05 0.01% MLMG::mgVcycle_down::1 82 8.391e-05 8.391e-05 8.391e-05 0.01% Castro::clean_state() 62 8.12e-05 8.12e-05 8.12e-05 0.01% MLMG::mgVcycle_down::2 82 7.961e-05 7.961e-05 7.961e-05 0.01% Castro::initialize_advance() 10 7.647e-05 7.647e-05 7.647e-05 0.01% AmrLevel::checkPoint() 3 7.576e-05 7.576e-05 7.576e-05 0.01% MLMG::mgVcycle_down::4 82 7.567e-05 7.567e-05 7.567e-05 0.01% MLMG::solve() 11 7.416e-05 7.416e-05 7.416e-05 0.01% MLMG::mgVcycle_down::3 82 7.262e-05 7.262e-05 7.262e-05 0.01% Castro::enforce_consistent_e() 1 6.717e-05 6.717e-05 6.717e-05 0.01% Castro::finalize_advance() 10 6.115e-05 6.115e-05 6.115e-05 0.01% Castro::initialize_do_advance() 10 6.019e-05 6.019e-05 6.019e-05 0.01% MLMG::mgVcycle_up::4 82 5.884e-05 5.884e-05 5.884e-05 0.01% MLCellLinOp::solutionResidual() 93 5.774e-05 5.774e-05 5.774e-05 0.01% Castro::do_advance_ctu() 10 5.461e-05 5.461e-05 5.461e-05 0.01% MLMG::oneIter() 82 5.223e-05 5.223e-05 5.223e-05 0.01% MLMG::mgVcycle_up::0 82 5.05e-05 5.05e-05 5.05e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.958e-05 4.958e-05 4.958e-05 0.01% Castro::do_new_sources() 10 4.642e-05 4.642e-05 4.642e-05 0.01% MLMG::mgVcycle_up::3 82 4.604e-05 4.604e-05 4.604e-05 0.01% MLMG::mgVcycle_up::1 82 4.598e-05 4.598e-05 4.598e-05 0.01% Castro::finalize_do_advance() 10 4.551e-05 4.551e-05 4.551e-05 0.00% MLMG::mgVcycle_up::2 82 4.397e-05 4.397e-05 4.397e-05 0.00% StateData::define() 4 3.855e-05 3.855e-05 3.855e-05 0.00% Castro::swap_state_time_levels() 10 3.573e-05 3.573e-05 3.573e-05 0.00% FillPatchSingleLevel 41 3.566e-05 3.566e-05 3.566e-05 0.00% MLMG::ResNormInf() 93 3.433e-05 3.433e-05 3.433e-05 0.00% MLMG::mgVcycle_bottom 82 3.38e-05 3.38e-05 3.38e-05 0.00% Castro::post_timestep() 10 3.243e-05 3.243e-05 3.243e-05 0.00% Amr::writeSmallPlotFile() 1 3.197e-05 3.197e-05 3.197e-05 0.00% MLMG::computeResidual() 82 3.149e-05 3.149e-05 3.149e-05 0.00% Castro::construct_new_gravity() 10 3.091e-05 3.091e-05 3.091e-05 0.00% Castro::initMFs() 1 3.062e-05 3.062e-05 3.062e-05 0.00% makeSFC 55 2.54e-05 2.54e-05 2.54e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.451e-05 2.451e-05 2.451e-05 0.00% Castro::buildMetrics() 1 2.376e-05 2.376e-05 2.376e-05 0.00% Amr::defBaseLevel() 1 2.322e-05 2.322e-05 2.322e-05 0.00% Castro::do_old_sources() 10 2.285e-05 2.285e-05 2.285e-05 0.00% MLPoisson::define() 11 2.11e-05 2.11e-05 2.11e-05 0.00% Amr::FinalizeInit() 1 1.995e-05 1.995e-05 1.995e-05 0.00% Castro::construct_old_source() 50 1.826e-05 1.826e-05 1.826e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.744e-05 1.744e-05 1.744e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.715e-05 1.715e-05 1.715e-05 0.00% MLLinOp::define() 11 1.574e-05 1.574e-05 1.574e-05 0.00% DistributionMapping::Distribute() 56 1.522e-05 1.522e-05 1.522e-05 0.00% MLPoisson::prepareForSolve() 11 1.412e-05 1.412e-05 1.412e-05 0.00% MLMG::computeMLResidual() 11 1.399e-05 1.399e-05 1.399e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.369e-05 1.369e-05 1.369e-05 0.00% Castro::construct_old_gravity() 10 1.179e-05 1.179e-05 1.179e-05 0.00% Castro::apply_source_to_state() 20 1.149e-05 1.149e-05 1.149e-05 0.00% Castro::check_for_nan() 20 1.095e-05 1.095e-05 1.095e-05 0.00% Castro::post_init() 1 1.021e-05 1.021e-05 1.021e-05 0.00% Amr::initSubcycle() 1 9.28e-06 9.28e-06 9.28e-06 0.00% Gravity::swapTimeLevels() 10 8.361e-06 8.361e-06 8.361e-06 0.00% Gravity::actual_multilevel_solve() 1 8.153e-06 8.153e-06 8.153e-06 0.00% Castro::computeNewDt() 9 6.7e-06 6.7e-06 6.7e-06 0.00% MLMG::getGradSolution() 11 6.059e-06 6.059e-06 6.059e-06 0.00% Castro::computeInitialDt() 2 5.932e-06 5.932e-06 5.932e-06 0.00% Castro::expand_state() 10 5.88e-06 5.88e-06 5.88e-06 0.00% AmrLevel::checkPointPost() 3 5.808e-06 5.808e-06 5.808e-06 0.00% Amr::InitializeInit() 1 4.876e-06 4.876e-06 4.876e-06 0.00% Gravity::set_mass_offset() 11 4.478e-06 4.478e-06 4.478e-06 0.00% MLMG::MLRhsNormInf() 11 4.281e-06 4.281e-06 4.281e-06 0.00% Castro::retry_advance_ctu() 10 4.043e-06 4.043e-06 4.043e-06 0.00% MLMG::MLResNormInf() 11 3.511e-06 3.511e-06 3.511e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.907e-06 2.907e-06 2.907e-06 0.00% Castro::FluxRegCrseInit 10 2.839e-06 2.839e-06 2.839e-06 0.00% AmrLevel::checkPointPre() 3 2.662e-06 2.662e-06 2.662e-06 0.00% Castro::FluxRegFineAdd() 10 2.5e-06 2.5e-06 2.5e-06 0.00% Amr::init() 1 2.158e-06 2.158e-06 2.158e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.005e-06 2.005e-06 2.005e-06 0.00% Amr::initialInit() 1 1.178e-06 1.178e-06 1.178e-06 0.00% Castro::post_regrid() 1 1.074e-06 1.074e-06 1.074e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9126 0.9126 0.9126 100.00% Amr::coarseTimeStep() 10 0.7605 0.7605 0.7605 83.33% Amr::timeStep() 10 0.667 0.667 0.667 73.09% Castro::advance() 10 0.6557 0.6557 0.6557 71.85% Castro::subcycle_advance_ctu() 10 0.6419 0.6419 0.6419 70.33% Castro::do_advance_ctu() 10 0.6417 0.6417 0.6417 70.31% Castro::construct_ctu_hydro_source() 10 0.3025 0.3025 0.3025 33.14% Gravity::solve_phi_with_mlmg() 11 0.2953 0.2953 0.2953 32.35% Gravity::actual_solve_with_mlmg() 11 0.286 0.286 0.286 31.34% Castro::construct_new_gravity() 10 0.2666 0.2666 0.2666 29.21% MLMG::solve() 11 0.264 0.264 0.264 28.92% Gravity::solve_for_phi() 10 0.2505 0.2505 0.2505 27.45% MLMG::oneIter() 82 0.2485 0.2485 0.2485 27.23% MLMG::mgVcycle() 82 0.2449 0.2449 0.2449 26.83% VisMF::Write(FabArray) 11 0.1779 0.1779 0.1779 19.50% Amr::checkPoint() 3 0.1359 0.1359 0.1359 14.89% AmrLevel::checkPoint() 3 0.1299 0.1299 0.1299 14.23% StateData::checkPoint() 12 0.1298 0.1298 0.1298 14.22% Amr::init() 1 0.1259 0.1259 0.1259 13.80% MLCellLinOp::smooth() 1640 0.122 0.122 0.122 13.37% MLCellLinOp::applyBC() 4351 0.1126 0.1126 0.1126 12.34% MLMG::mgVcycle_bottom 82 0.07396 0.07396 0.07396 8.10% MLMG::actualBottomSolve() 82 0.07393 0.07393 0.07393 8.10% MLCGSolver::bicgstab 82 0.07318 0.07318 0.07318 8.02% Castro::clean_state() 62 0.05713 0.05713 0.05713 6.26% Amr::initialInit() 1 0.05404 0.05404 0.05404 5.92% Amr::writePlotFile() 2 0.05089 0.05089 0.05089 5.58% Amr::FinalizeInit() 1 0.04894 0.04894 0.04894 5.36% AmrLevel::FillPatch() 41 0.04799 0.04799 0.04799 5.26% Castro::post_init() 1 0.0475 0.0475 0.0475 5.20% Gravity::multilevel_solve_for_new_phi() 1 0.04521 0.04521 0.04521 4.95% Gravity::actual_multilevel_solve() 1 0.04519 0.04519 0.04519 4.95% FillPatchIterator::Initialize 41 0.04373 0.04373 0.04373 4.79% FillPatchIterator::FillFromLevel0() 41 0.04216 0.04216 0.04216 4.62% FillPatchSingleLevel 41 0.04211 0.04211 0.04211 4.61% StateDataPhysBCFunct::() 41 0.03802 0.03802 0.03802 4.17% MLCellLinOp::apply() 1060 0.03634 0.03634 0.03634 3.98% MLPoisson::Fsmooth() 3280 0.03431 0.03431 0.03431 3.76% MLMG::mgVcycle_down::0 82 0.03429 0.03429 0.03429 3.76% FabArray::FillBoundary() 3941 0.03177 0.03177 0.03177 3.48% FillBoundary_nowait() 3941 0.03091 0.03091 0.03091 3.39% StateData::FillBoundary(geom) 328 0.02629 0.02629 0.02629 2.88% MLMG::mgVcycle_up::0 82 0.0259 0.0259 0.0259 2.84% Castro::computeTemp() 63 0.02223 0.02223 0.02223 2.44% amrex::Dot() 1114 0.0217 0.0217 0.0217 2.38% Castro::initialize_do_advance() 10 0.02134 0.02134 0.02134 2.34% MLMG:computeResOfCorrection() 410 0.02044 0.02044 0.02044 2.24% MLCellLinOp::correctionResidual() 410 0.02032 0.02032 0.02032 2.23% Castro::normalize_species() 62 0.02031 0.02031 0.02031 2.23% FabArray::norminf() 1061 0.02022 0.02022 0.02022 2.22% Castro::do_old_sources() 10 0.02019 0.02019 0.02019 2.21% Gravity::get_new_grav_vector() 11 0.01788 0.01788 0.01788 1.96% MLPoisson::define() 11 0.01733 0.01733 0.01733 1.90% MLMG::mgVcycle_down::1 82 0.01684 0.01684 0.01684 1.84% MLMG::mgVcycle_down::2 82 0.0156 0.0156 0.0156 1.71% Castro::construct_old_gravity() 10 0.0153 0.0153 0.0153 1.68% Gravity::get_old_grav_vector() 10 0.01529 0.01529 0.01529 1.68% MLMG::mgVcycle_down::3 82 0.0152 0.0152 0.0152 1.67% MLMG::mgVcycle_down::4 82 0.01505 0.01505 0.01505 1.65% FabArray::ParallelCopy() 861 0.0146 0.0146 0.0146 1.60% FabArray::ParallelCopy_nowait() 861 0.01436 0.01436 0.01436 1.57% FabArray::Saxpy() 1370 0.01352 0.01352 0.01352 1.48% FabArray::setVal() 1062 0.01324 0.01324 0.01324 1.45% Castro::initialize_advance() 10 0.0132 0.0132 0.0132 1.45% MLCGSolver::ParallelAllReduce 1832 0.01302 0.01302 0.01302 1.43% Castro::do_new_sources() 10 0.01246 0.01246 0.01246 1.37% MLMG::addInterpCorrection() 410 0.01228 0.01228 0.01228 1.35% MLMG::mgVcycle_up::1 82 0.01219 0.01219 0.01219 1.34% Castro::enforce_min_density() 62 0.01213 0.01213 0.01213 1.33% MLMG::mgVcycle_up::4 82 0.01203 0.01203 0.01203 1.32% MLMG::mgVcycle_up::2 82 0.01195 0.01195 0.01195 1.31% Castro::expand_state() 10 0.01191 0.01191 0.01191 1.31% MLCellLinOp::defineAuxData() 11 0.01186 0.01186 0.01186 1.30% MLMG::mgVcycle_up::3 82 0.01166 0.01166 0.01166 1.28% amrex::average_down 410 0.01154 0.01154 0.01154 1.26% Castro::post_timestep() 10 0.01113 0.01113 0.01113 1.22% amrex::Copy() 472 0.0108 0.0108 0.0108 1.18% MLPoisson::Fapply() 1060 0.0104 0.0104 0.0104 1.14% Gravity::fill_multipole_BCs() 11 0.008971 0.008971 0.008971 0.98% FabArray::Xpay() 739 0.007876 0.007876 0.007876 0.86% MLCellLinOp::solutionResidual() 93 0.007686 0.007686 0.007686 0.84% Castro::reset_internal_energy(MultiFab) 63 0.006809 0.006809 0.006809 0.75% MLMG::computeResidual() 82 0.006376 0.006376 0.006376 0.70% Castro::estTimeStep() 21 0.006054 0.006054 0.006054 0.66% MLMG::prepareForSolve() 11 0.005209 0.005209 0.005209 0.57% MLCellLinOp::defineBC() 11 0.005203 0.005203 0.005203 0.57% Amr::InitializeInit() 1 0.005106 0.005106 0.005106 0.56% Amr::defBaseLevel() 1 0.005101 0.005101 0.005101 0.56% BndryData::define() 11 0.004917 0.004917 0.004917 0.54% Castro::initData() 1 0.00445 0.00445 0.00445 0.49% amrex::Add() 82 0.003594 0.003594 0.003594 0.39% Castro::construct_new_source() 50 0.003551 0.003551 0.003551 0.39% Castro::construct_new_gravity_source() 10 0.003455 0.003455 0.003455 0.38% Castro::enforce_speed_limit() 62 0.003333 0.003333 0.003333 0.37% Castro::construct_old_source() 50 0.003011 0.003011 0.003011 0.33% Castro::construct_old_gravity_source() 10 0.002993 0.002993 0.002993 0.33% Castro::computeNewDt() 9 0.002651 0.002651 0.002651 0.29% Castro::finalize_do_advance() 10 0.002388 0.002388 0.002388 0.26% MLMG::ResNormInf() 93 0.0022 0.0022 0.0022 0.24% check_for_negative_density() 10 0.001956 0.001956 0.001956 0.21% Castro::apply_source_to_state() 20 0.00188 0.00188 0.00188 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001787 0.001787 0.001787 0.20% Castro::reset_internal_energy(Fab) 504 0.001633 0.001633 0.001633 0.18% MLCellLinOp::setLevelBC() 11 0.001589 0.001589 0.001589 0.17% MLMG::getGradSolution() 11 0.001578 0.001578 0.001578 0.17% MLCellLinOp::compGrad() 11 0.001572 0.001572 0.001572 0.17% FabArrayBase::getCPC() 1323 0.001437 0.001437 0.001437 0.16% FabArray::mult() 43 0.001394 0.001394 0.001394 0.15% MLPoisson::prepareForSolve() 11 0.001384 0.001384 0.001384 0.15% MLCellLinOp::prepareForSolve() 11 0.00137 0.00137 0.00137 0.15% FabArray::setDomainBndry() 41 0.001361 0.001361 0.001361 0.15% MLMG::computeMLResidual() 11 0.001355 0.001355 0.001355 0.15% Castro::check_for_nan() 20 0.001287 0.001287 0.001287 0.14% MultiFab::contains_nan() 20 0.001276 0.001276 0.001276 0.14% Castro::post_regrid() 1 0.00113 0.00113 0.00113 0.12% Castro::computeInitialDt() 2 0.001074 0.001074 0.001074 0.12% Gravity::update_max_rhs() 11 0.0009918 0.0009918 0.0009918 0.11% FabArrayBase::getFB() 3941 0.0007492 0.0007492 0.0007492 0.08% FabArrayBase::CPC::define() 454 0.0006772 0.0006772 0.0006772 0.07% Castro::finalize_advance() 10 0.0005898 0.0005898 0.0005898 0.06% Amr::InitAmr() 1 0.0005814 0.0005814 0.0005814 0.06% Castro::Castro() 1 0.0005679 0.0005679 0.0005679 0.06% Gravity::swapTimeLevels() 10 0.0004659 0.0004659 0.0004659 0.05% MLMG::MLResNormInf() 11 0.0003395 0.0003395 0.0003395 0.04% MultiFab::max() 11 0.0003309 0.0003309 0.0003309 0.04% Castro::buildMetrics() 1 0.0002669 0.0002669 0.0002669 0.03% MLLinOp::define() 11 0.0002486 0.0002486 0.0002486 0.03% MLLinOp::defineGrids() 11 0.0002329 0.0002329 0.0002329 0.03% MLMG::MLRhsNormInf() 11 0.0002223 0.0002223 0.0002223 0.02% Castro::create_source_corrector() 10 0.0001541 0.0001541 0.0001541 0.02% FabArrayBase::FB::FB() 56 8.987e-05 8.987e-05 8.987e-05 0.01% Castro::enforce_consistent_e() 1 6.717e-05 6.717e-05 6.717e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.6e-05 5.6e-05 5.6e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.328e-05 5.328e-05 5.328e-05 0.01% makeSFC 55 3.958e-05 3.958e-05 3.958e-05 0.00% StateData::define() 4 3.855e-05 3.855e-05 3.855e-05 0.00% Castro::swap_state_time_levels() 10 3.573e-05 3.573e-05 3.573e-05 0.00% Amr::writeSmallPlotFile() 1 3.197e-05 3.197e-05 3.197e-05 0.00% Castro::initMFs() 1 3.062e-05 3.062e-05 3.062e-05 0.00% DistributionMapping::Distribute() 56 1.522e-05 1.522e-05 1.522e-05 0.00% Amr::initSubcycle() 1 9.28e-06 9.28e-06 9.28e-06 0.00% AmrLevel::checkPointPost() 3 5.808e-06 5.808e-06 5.808e-06 0.00% Gravity::set_mass_offset() 11 4.478e-06 4.478e-06 4.478e-06 0.00% Castro::retry_advance_ctu() 10 4.043e-06 4.043e-06 4.043e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.946e-06 3.946e-06 3.946e-06 0.00% Castro::FluxRegCrseInit 10 2.839e-06 2.839e-06 2.839e-06 0.00% AmrLevel::checkPointPre() 3 2.662e-06 2.662e-06 2.662e-06 0.00% Castro::FluxRegFineAdd() 10 2.5e-06 2.5e-06 2.5e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.005e-06 2.005e-06 2.005e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 87 MiB 9042 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1024 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1556 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7618 KiB 14 MiB MLMG::prepareForSolve() 660 660 3556 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 203 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 171 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7516 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 16 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2098 B 2048 KiB Gravity::solve_for_phi() 80 80 561 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 101 KiB 2048 KiB BndryData::define() 1056 1056 325 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 207 KiB 671 KiB Castro::estTimeStep() 21 21 3234 B 480 KiB VisMF::Write(FabArray) 656 656 3390 B 320 KiB Castro::normalize_species() 62 62 7243 B 320 KiB amrex::average_down 1067 1067 1252 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1146 B 257 KiB amrex::Dot() 1360 1360 3513 B 160 KiB FabArray::norminf() 1143 1143 3424 B 160 KiB check_for_negative_density() 10 10 338 B 160 KiB Castro::initData() 1 1 51 B 160 KiB MultiFab::max() 11 11 56 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3471 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 289 B 9648 B MLCellLinOp::applyBC() 8702 8702 220 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3929 B 6144 B StateData::FillBoundary(geom) 1992 1992 44 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 366 B 1248 B MLCGSolver::bicgstab 410 410 96 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 553 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 41 KiB 8192 KiB VisMF::Write(FabArray) 744 744 425 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3471 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 289 B 9648 B MLCellLinOp::applyBC() 4351 4351 219 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3929 B 6144 B Gravity::get_new_grav_vector() 3 3 2891 B 3072 B StateData::FillBoundary(geom) 1992 1992 45 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 296 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 1143 1143 10 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2189 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.01-10-g9b799efb04e0) finalized Initializing AMReX (24.01-10-g9b799efb04e0)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-10-g9b799efb04e0) initialized Starting run at 09:32:57 UTC on 2024-01-19. Successfully read inputs file ... Castro git describe: 24.01-13-g77dcad4d2 AMReX git describe: 24.01-10-g9b799efb0 Microphysics git describe: 24.01-9-ga4d7ab4d reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.52145513 Restart time = 0.07330858 seconds. [Level 0 step 6] ADVANCE at time 0.0002509599271 with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.069838538 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.049142314 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.074339447 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.074068874 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.077048915 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028772717 seconds Ending run at 09:32:57 UTC on 2024-01-19. Run time = 0.447685741 Run time without initialization = 0.373665493 Average number of zones advanced per microsecond: 3.508 Average number of zones advanced per microsecond per rank: 3.508 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4477 ... 0.4477 ... 0.4477 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1429 0.1429 0.1429 31.92% VisMF::Read() 3 0.06172 0.06172 0.06172 13.79% MLCellLinOp::applyBC() 1910 0.03515 0.03515 0.03515 7.85% VisMF::Write(FabArray) 1 0.02611 0.02611 0.02611 5.83% MLPoisson::Fsmooth() 1440 0.01488 0.01488 0.01488 3.32% StateData::FillBoundary(geom) 160 0.01338 0.01338 0.01338 2.99% FillBoundary_nowait() 1730 0.01291 0.01291 0.01291 2.88% FabArray::Saxpy() 597 0.01267 0.01267 0.01267 2.83% Castro::normalize_species() 30 0.009816 0.009816 0.009816 2.19% amrex::Dot() 484 0.009349 0.009349 0.009349 2.09% FabArray::norminf() 465 0.008998 0.008998 0.008998 2.01% Castro::computeTemp() 30 0.008078 0.008078 0.008078 1.80% Castro::enforce_min_density() 30 0.007012 0.007012 0.007012 1.57% FabArray::setVal() 501 0.006475 0.006475 0.006475 1.45% FabArray::ParallelCopy_nowait() 380 0.006202 0.006202 0.006202 1.39% MLCellLinOp::defineAuxData() 6 0.005625 0.005625 0.005625 1.26% amrex::Copy() 221 0.005428 0.005428 0.005428 1.21% Gravity::fill_multipole_BCs() 6 0.00532 0.00532 0.00532 1.19% Amr::restart() 1 0.00483 0.00483 0.00483 1.08% StateDataPhysBCFunct::() 20 0.004742 0.004742 0.004742 1.06% MLPoisson::Fapply() 464 0.004515 0.004515 0.004515 1.01% FabArray::Xpay() 325 0.003448 0.003448 0.003448 0.77% MLMG::addInterpCorrection() 180 0.003155 0.003155 0.003155 0.70% Castro::estTimeStep() 10 0.002975 0.002975 0.002975 0.66% amrex::average_down 180 0.002753 0.002753 0.002753 0.61% Amr::writePlotFile() 1 0.002507 0.002507 0.002507 0.56% Castro::reset_internal_energy(MultiFab) 30 0.002179 0.002179 0.002179 0.49% BndryData::define() 6 0.00211 0.00211 0.00211 0.47% Castro::enforce_speed_limit() 30 0.001789 0.001789 0.001789 0.40% Castro::construct_new_gravity_source() 5 0.001583 0.001583 0.001583 0.35% amrex::Add() 36 0.001535 0.001535 0.001535 0.34% Castro::construct_old_gravity_source() 5 0.001185 0.001185 0.001185 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009671 0.0009671 0.0009671 0.22% check_for_negative_density() 5 0.000958 0.000958 0.000958 0.21% MLCellLinOp::setLevelBC() 6 0.0008809 0.0008809 0.0008809 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008795 0.0008795 0.0008795 0.20% Castro::reset_internal_energy(Fab) 240 0.0007939 0.0007939 0.0007939 0.18% MLCellLinOp::prepareForSolve() 6 0.0007656 0.0007656 0.0007656 0.17% MLCGSolver::bicgstab 36 0.0007647 0.0007647 0.0007647 0.17% FabArray::setDomainBndry() 20 0.0006909 0.0006909 0.0006909 0.15% FabArray::mult() 22 0.0006872 0.0006872 0.0006872 0.15% MultiFab::contains_nan() 10 0.0006496 0.0006496 0.0006496 0.15% MLCellLinOp::compGrad() 6 0.0006198 0.0006198 0.0006198 0.14% MLMG::prepareForSolve() 6 0.0005586 0.0005586 0.0005586 0.12% Amr::InitAmr() 1 0.000507 0.000507 0.000507 0.11% MLCellLinOp::smooth() 720 0.0004974 0.0004974 0.0004974 0.11% FabArrayBase::CPC::define() 244 0.0004257 0.0004257 0.0004257 0.10% FabArrayBase::getCPC() 632 0.0003792 0.0003792 0.0003792 0.08% FabArray::FillBoundary() 1730 0.0003709 0.0003709 0.0003709 0.08% Gravity::get_old_grav_vector() 5 0.0003395 0.0003395 0.0003395 0.08% main() 1 0.0003244 0.0003244 0.0003244 0.07% Gravity::get_new_grav_vector() 5 0.0002974 0.0002974 0.0002974 0.07% FabArrayBase::getFB() 1730 0.0002963 0.0002963 0.0002963 0.07% MultiFab::max() 6 0.0002093 0.0002093 0.0002093 0.05% AmrLevel::FillPatch() 20 0.0002063 0.0002063 0.0002063 0.05% MLCellLinOp::apply() 464 0.0001805 0.0001805 0.0001805 0.04% Amr::coarseTimeStep() 5 0.0001634 0.0001634 0.0001634 0.04% MLCellLinOp::defineBC() 6 0.0001563 0.0001563 0.0001563 0.03% MLCGSolver::ParallelAllReduce 798 0.0001447 0.0001447 0.0001447 0.03% Castro::construct_new_source() 25 0.0001212 0.0001212 0.0001212 0.03% FillPatchIterator::Initialize 20 0.0001156 0.0001156 0.0001156 0.03% FabArray::ParallelCopy() 380 0.0001113 0.0001113 0.0001113 0.02% Castro::create_source_corrector() 5 0.0001075 0.0001075 0.0001075 0.02% Castro::subcycle_advance_ctu() 5 9.703e-05 9.703e-05 9.703e-05 0.02% MLMG::mgVcycle() 36 9.472e-05 9.472e-05 9.472e-05 0.02% MLLinOp::defineGrids() 6 9.215e-05 9.215e-05 9.215e-05 0.02% Amr::timeStep() 5 9.208e-05 9.208e-05 9.208e-05 0.02% AmrLevel::restart() 1 8.142e-05 8.142e-05 8.142e-05 0.02% MLCellLinOp::correctionResidual() 180 7.615e-05 7.615e-05 7.615e-05 0.02% StateData::restartDoit() 4 7.201e-05 7.201e-05 7.201e-05 0.02% Gravity::update_max_rhs() 6 6.842e-05 6.842e-05 6.842e-05 0.02% Castro::finalize_do_advance() 5 6.692e-05 6.692e-05 6.692e-05 0.01% Castro::do_advance_ctu() 5 6.586e-05 6.586e-05 6.586e-05 0.01% Castro::initialize_do_advance() 5 6.57e-05 6.57e-05 6.57e-05 0.01% FabArrayBase::FB::FB() 26 6.134e-05 6.134e-05 6.134e-05 0.01% Castro::advance() 5 5.874e-05 5.874e-05 5.874e-05 0.01% Gravity::solve_for_phi() 5 5.844e-05 5.844e-05 5.844e-05 0.01% MLMG:computeResOfCorrection() 180 5.233e-05 5.233e-05 5.233e-05 0.01% Castro::post_timestep() 5 5.001e-05 5.001e-05 5.001e-05 0.01% MLMG::mgVcycle_down::0 36 4.699e-05 4.699e-05 4.699e-05 0.01% MLMG::actualBottomSolve() 36 3.948e-05 3.948e-05 3.948e-05 0.01% MLMG::mgVcycle_down::1 36 3.918e-05 3.918e-05 3.918e-05 0.01% Castro::initialize_advance() 5 3.761e-05 3.761e-05 3.761e-05 0.01% Castro::finalize_advance() 5 3.568e-05 3.568e-05 3.568e-05 0.01% MLMG::solve() 6 3.541e-05 3.541e-05 3.541e-05 0.01% MLMG::mgVcycle_down::2 36 3.496e-05 3.496e-05 3.496e-05 0.01% MLMG::mgVcycle_down::4 36 3.313e-05 3.313e-05 3.313e-05 0.01% Amr::writeSmallPlotFile() 1 3.309e-05 3.309e-05 3.309e-05 0.01% Castro::post_restart() 1 3.27e-05 3.27e-05 3.27e-05 0.01% MLMG::mgVcycle_down::3 36 3.236e-05 3.236e-05 3.236e-05 0.01% Castro::clean_state() 30 3.085e-05 3.085e-05 3.085e-05 0.01% MLMG::mgVcycle_up::4 36 2.95e-05 2.95e-05 2.95e-05 0.01% Castro::buildMetrics() 1 2.894e-05 2.894e-05 2.894e-05 0.01% Castro::do_new_sources() 5 2.855e-05 2.855e-05 2.855e-05 0.01% Castro::construct_old_source() 25 2.788e-05 2.788e-05 2.788e-05 0.01% Castro::swap_state_time_levels() 5 2.563e-05 2.563e-05 2.563e-05 0.01% Castro::initMFs() 1 2.451e-05 2.451e-05 2.451e-05 0.01% MLMG::oneIter() 36 2.442e-05 2.442e-05 2.442e-05 0.01% MLCellLinOp::solutionResidual() 42 2.29e-05 2.29e-05 2.29e-05 0.01% MLMG::mgVcycle_up::3 36 2.266e-05 2.266e-05 2.266e-05 0.01% MLMG::mgVcycle_up::0 36 2.257e-05 2.257e-05 2.257e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.234e-05 2.234e-05 2.234e-05 0.00% MLMG::mgVcycle_up::2 36 1.985e-05 1.985e-05 1.985e-05 0.00% MLMG::mgVcycle_up::1 36 1.905e-05 1.905e-05 1.905e-05 0.00% MLMG::ResNormInf() 42 1.812e-05 1.812e-05 1.812e-05 0.00% Castro::construct_new_gravity() 5 1.676e-05 1.676e-05 1.676e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.665e-05 1.665e-05 1.665e-05 0.00% FillPatchSingleLevel 20 1.646e-05 1.646e-05 1.646e-05 0.00% MLPoisson::define() 6 1.555e-05 1.555e-05 1.555e-05 0.00% MLMG::mgVcycle_bottom 36 1.549e-05 1.549e-05 1.549e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.496e-05 1.496e-05 1.496e-05 0.00% makeSFC 30 1.402e-05 1.402e-05 1.402e-05 0.00% MLMG::computeResidual() 36 1.366e-05 1.366e-05 1.366e-05 0.00% Castro::do_old_sources() 5 1.24e-05 1.24e-05 1.24e-05 0.00% MLPoisson::prepareForSolve() 6 1.035e-05 1.035e-05 1.035e-05 0.00% MLMG::computeMLResidual() 6 1.001e-05 1.001e-05 1.001e-05 0.00% DistributionMapping::Distribute() 31 9.76e-06 9.76e-06 9.76e-06 0.00% Amr::initSubcycle() 1 9.216e-06 9.216e-06 9.216e-06 0.00% Gravity::actual_multilevel_solve() 1 9.159e-06 9.159e-06 9.159e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.621e-06 7.621e-06 7.621e-06 0.00% Castro::apply_source_to_state() 10 6.552e-06 6.552e-06 6.552e-06 0.00% MLLinOp::define() 6 6.454e-06 6.454e-06 6.454e-06 0.00% Castro::check_for_nan() 10 6.182e-06 6.182e-06 6.182e-06 0.00% Castro::construct_old_gravity() 5 5.92e-06 5.92e-06 5.92e-06 0.00% Gravity::swapTimeLevels() 5 4.373e-06 4.373e-06 4.373e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.08e-06 4.08e-06 4.08e-06 0.00% Castro::computeNewDt() 5 3.948e-06 3.948e-06 3.948e-06 0.00% MLMG::getGradSolution() 6 3.334e-06 3.334e-06 3.334e-06 0.00% Castro::FluxRegCrseInit 5 3.247e-06 3.247e-06 3.247e-06 0.00% Castro::expand_state() 5 2.916e-06 2.916e-06 2.916e-06 0.00% MLMG::MLResNormInf() 6 2.651e-06 2.651e-06 2.651e-06 0.00% MLMG::MLRhsNormInf() 6 2.361e-06 2.361e-06 2.361e-06 0.00% Castro::retry_advance_ctu() 5 2.237e-06 2.237e-06 2.237e-06 0.00% Gravity::set_mass_offset() 6 2.155e-06 2.155e-06 2.155e-06 0.00% Castro::FluxRegFineAdd() 5 1.412e-06 1.412e-06 1.412e-06 0.00% Amr::init() 1 1.246e-06 1.246e-06 1.246e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.124e-06 1.124e-06 1.124e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4477 0.4477 0.4477 100.00% Amr::coarseTimeStep() 5 0.3446 0.3446 0.3446 76.97% Amr::timeStep() 5 0.3424 0.3424 0.3424 76.47% Castro::advance() 5 0.336 0.336 0.336 75.04% Castro::subcycle_advance_ctu() 5 0.3279 0.3279 0.3279 73.23% Castro::do_advance_ctu() 5 0.3278 0.3278 0.3278 73.21% Castro::construct_ctu_hydro_source() 5 0.1484 0.1484 0.1484 33.15% Castro::construct_new_gravity() 5 0.1423 0.1423 0.1423 31.79% Gravity::solve_phi_with_mlmg() 6 0.1399 0.1399 0.1399 31.24% Gravity::actual_solve_with_mlmg() 6 0.1343 0.1343 0.1343 30.00% Gravity::solve_for_phi() 5 0.1342 0.1342 0.1342 29.98% MLMG::solve() 6 0.1222 0.1222 0.1222 27.30% MLMG::oneIter() 36 0.1146 0.1146 0.1146 25.60% MLMG::mgVcycle() 36 0.113 0.113 0.113 25.25% Amr::init() 1 0.07336 0.07336 0.07336 16.38% Amr::restart() 1 0.07335 0.07335 0.07335 16.38% AmrLevel::restart() 1 0.06209 0.06209 0.06209 13.87% StateData::restartDoit() 4 0.062 0.062 0.062 13.85% VisMF::Read() 3 0.06172 0.06172 0.06172 13.79% MLCellLinOp::smooth() 720 0.05262 0.05262 0.05262 11.75% MLCellLinOp::applyBC() 1910 0.04879 0.04879 0.04879 10.90% MLMG::mgVcycle_bottom 36 0.03895 0.03895 0.03895 8.70% MLMG::actualBottomSolve() 36 0.03893 0.03893 0.03893 8.70% MLCGSolver::bicgstab 36 0.03861 0.03861 0.03861 8.62% Castro::clean_state() 30 0.0297 0.0297 0.0297 6.63% Amr::writePlotFile() 1 0.02887 0.02887 0.02887 6.45% VisMF::Write(FabArray) 1 0.02611 0.02611 0.02611 5.83% AmrLevel::FillPatch() 20 0.02313 0.02313 0.02313 5.17% FillPatchIterator::Initialize 20 0.02102 0.02102 0.02102 4.70% FillPatchIterator::FillFromLevel0() 20 0.02022 0.02022 0.02022 4.52% FillPatchSingleLevel 20 0.02019 0.02019 0.02019 4.51% StateDataPhysBCFunct::() 20 0.01812 0.01812 0.01812 4.05% MLCellLinOp::apply() 464 0.01595 0.01595 0.01595 3.56% MLPoisson::Fsmooth() 1440 0.01488 0.01488 0.01488 3.32% MLMG::mgVcycle_down::0 36 0.01487 0.01487 0.01487 3.32% FabArray::FillBoundary() 1730 0.01364 0.01364 0.01364 3.05% StateData::FillBoundary(geom) 160 0.01338 0.01338 0.01338 2.99% FillBoundary_nowait() 1730 0.01327 0.01327 0.01327 2.96% FabArray::Saxpy() 597 0.01267 0.01267 0.01267 2.83% Castro::initialize_do_advance() 5 0.01179 0.01179 0.01179 2.63% MLMG::mgVcycle_up::0 36 0.01122 0.01122 0.01122 2.51% Castro::computeTemp() 30 0.01105 0.01105 0.01105 2.47% Castro::normalize_species() 30 0.009816 0.009816 0.009816 2.19% MLPoisson::define() 6 0.009402 0.009402 0.009402 2.10% amrex::Dot() 484 0.009349 0.009349 0.009349 2.09% Castro::do_old_sources() 5 0.009176 0.009176 0.009176 2.05% FabArray::norminf() 465 0.008998 0.008998 0.008998 2.01% MLMG:computeResOfCorrection() 180 0.008818 0.008818 0.008818 1.97% MLCellLinOp::correctionResidual() 180 0.008765 0.008765 0.008765 1.96% Gravity::get_new_grav_vector() 5 0.007971 0.007971 0.007971 1.78% Castro::initialize_advance() 5 0.007734 0.007734 0.007734 1.73% Castro::construct_old_gravity() 5 0.007723 0.007723 0.007723 1.72% Gravity::get_old_grav_vector() 5 0.007717 0.007717 0.007717 1.72% MLMG::mgVcycle_down::1 36 0.007367 0.007367 0.007367 1.65% Castro::enforce_min_density() 30 0.007012 0.007012 0.007012 1.57% Castro::do_new_sources() 5 0.006829 0.006829 0.006829 1.53% MLMG::mgVcycle_down::2 36 0.006759 0.006759 0.006759 1.51% FabArray::ParallelCopy() 380 0.00672 0.00672 0.00672 1.50% FabArray::ParallelCopy_nowait() 380 0.006609 0.006609 0.006609 1.48% MLMG::mgVcycle_down::3 36 0.006554 0.006554 0.006554 1.46% MLMG::mgVcycle_down::4 36 0.006519 0.006519 0.006519 1.46% FabArray::setVal() 501 0.006475 0.006475 0.006475 1.45% MLCellLinOp::defineAuxData() 6 0.006408 0.006408 0.006408 1.43% Castro::post_timestep() 5 0.006313 0.006313 0.006313 1.41% Castro::post_restart() 1 0.006257 0.006257 0.006257 1.40% Castro::expand_state() 5 0.006011 0.006011 0.006011 1.34% Gravity::multilevel_solve_for_new_phi() 1 0.005873 0.005873 0.005873 1.31% Gravity::actual_multilevel_solve() 1 0.005856 0.005856 0.005856 1.31% MLCGSolver::ParallelAllReduce 798 0.005687 0.005687 0.005687 1.27% MLMG::addInterpCorrection() 180 0.005479 0.005479 0.005479 1.22% Gravity::fill_multipole_BCs() 6 0.005446 0.005446 0.005446 1.22% amrex::Copy() 221 0.005428 0.005428 0.005428 1.21% MLMG::mgVcycle_up::4 36 0.005317 0.005317 0.005317 1.19% MLMG::mgVcycle_up::1 36 0.005227 0.005227 0.005227 1.17% MLMG::mgVcycle_up::2 36 0.005144 0.005144 0.005144 1.15% amrex::average_down 180 0.005095 0.005095 0.005095 1.14% MLMG::mgVcycle_up::3 36 0.005024 0.005024 0.005024 1.12% MLPoisson::Fapply() 464 0.004515 0.004515 0.004515 1.01% MLCellLinOp::solutionResidual() 42 0.003578 0.003578 0.003578 0.80% FabArray::Xpay() 325 0.003448 0.003448 0.003448 0.77% Castro::estTimeStep() 10 0.002975 0.002975 0.002975 0.66% Castro::reset_internal_energy(MultiFab) 30 0.002973 0.002973 0.002973 0.66% MLMG::prepareForSolve() 6 0.002888 0.002888 0.002888 0.64% MLCellLinOp::defineBC() 6 0.002849 0.002849 0.002849 0.64% MLMG::computeResidual() 36 0.002789 0.002789 0.002789 0.62% BndryData::define() 6 0.002692 0.002692 0.002692 0.60% Castro::computeNewDt() 5 0.002049 0.002049 0.002049 0.46% Castro::enforce_speed_limit() 30 0.001789 0.001789 0.001789 0.40% Castro::construct_new_source() 25 0.001705 0.001705 0.001705 0.38% Castro::construct_new_gravity_source() 5 0.001583 0.001583 0.001583 0.35% amrex::Add() 36 0.001535 0.001535 0.001535 0.34% Castro::construct_old_source() 25 0.001213 0.001213 0.001213 0.27% Castro::construct_old_gravity_source() 5 0.001185 0.001185 0.001185 0.26% Castro::finalize_do_advance() 5 0.0009963 0.0009963 0.0009963 0.22% MLMG::ResNormInf() 42 0.0009788 0.0009788 0.0009788 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009671 0.0009671 0.0009671 0.22% Castro::apply_source_to_state() 10 0.0009646 0.0009646 0.0009646 0.22% check_for_negative_density() 5 0.000958 0.000958 0.000958 0.21% MLMG::getGradSolution() 6 0.0009026 0.0009026 0.0009026 0.20% MLCellLinOp::compGrad() 6 0.0008993 0.0008993 0.0008993 0.20% MLCellLinOp::setLevelBC() 6 0.0008809 0.0008809 0.0008809 0.20% MLMG::computeMLResidual() 6 0.0008127 0.0008127 0.0008127 0.18% FabArrayBase::getCPC() 632 0.000805 0.000805 0.000805 0.18% Castro::reset_internal_energy(Fab) 240 0.0007939 0.0007939 0.0007939 0.18% MLPoisson::prepareForSolve() 6 0.0007759 0.0007759 0.0007759 0.17% MLCellLinOp::prepareForSolve() 6 0.0007656 0.0007656 0.0007656 0.17% Gravity::update_max_rhs() 6 0.0007225 0.0007225 0.0007225 0.16% FabArray::setDomainBndry() 20 0.0006909 0.0006909 0.0006909 0.15% FabArray::mult() 22 0.0006872 0.0006872 0.0006872 0.15% Castro::check_for_nan() 10 0.0006558 0.0006558 0.0006558 0.15% MultiFab::contains_nan() 10 0.0006496 0.0006496 0.0006496 0.15% Amr::InitAmr() 1 0.0005162 0.0005162 0.0005162 0.12% FabArrayBase::CPC::define() 244 0.0004257 0.0004257 0.0004257 0.10% FabArrayBase::getFB() 1730 0.0003576 0.0003576 0.0003576 0.08% Castro::finalize_advance() 5 0.000305 0.000305 0.000305 0.07% Gravity::swapTimeLevels() 5 0.0002392 0.0002392 0.0002392 0.05% MultiFab::max() 6 0.0002093 0.0002093 0.0002093 0.05% MLMG::MLResNormInf() 6 0.0001898 0.0001898 0.0001898 0.04% Castro::buildMetrics() 1 0.0001503 0.0001503 0.0001503 0.03% MLLinOp::define() 6 0.0001299 0.0001299 0.0001299 0.03% MLLinOp::defineGrids() 6 0.0001234 0.0001234 0.0001234 0.03% MLMG::MLRhsNormInf() 6 0.0001193 0.0001193 0.0001193 0.03% Castro::create_source_corrector() 5 0.0001075 0.0001075 0.0001075 0.02% FabArrayBase::FB::FB() 26 6.134e-05 6.134e-05 6.134e-05 0.01% Amr::writeSmallPlotFile() 1 3.309e-05 3.309e-05 3.309e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.013e-05 3.013e-05 3.013e-05 0.01% Castro::swap_state_time_levels() 5 2.563e-05 2.563e-05 2.563e-05 0.01% Castro::initMFs() 1 2.451e-05 2.451e-05 2.451e-05 0.01% makeSFC 30 2.251e-05 2.251e-05 2.251e-05 0.01% DistributionMapping::Distribute() 31 9.76e-06 9.76e-06 9.76e-06 0.00% Amr::initSubcycle() 1 9.216e-06 9.216e-06 9.216e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.347e-06 5.347e-06 5.347e-06 0.00% Castro::FluxRegCrseInit 5 3.247e-06 3.247e-06 3.247e-06 0.00% Castro::retry_advance_ctu() 5 2.237e-06 2.237e-06 2.237e-06 0.00% Gravity::set_mass_offset() 6 2.155e-06 2.155e-06 2.155e-06 0.00% Castro::FluxRegFineAdd() 5 1.412e-06 1.412e-06 1.412e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.124e-06 1.124e-06 1.124e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 186 MiB 9042 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1026 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1720 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6432 KiB 14 MiB MLMG::prepareForSolve() 361 361 3352 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 178 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 182 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6419 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3199 B 2048 KiB Gravity::solve_for_phi() 40 40 612 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 308 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 197 KiB 671 KiB Castro::estTimeStep() 10 10 3149 B 480 KiB VisMF::Write(FabArray) 112 112 2257 B 320 KiB Castro::normalize_species() 30 30 7140 B 320 KiB amrex::average_down 469 469 1108 B 257 KiB MLMG::addInterpCorrection() 468 468 1034 B 257 KiB amrex::Dot() 592 592 3070 B 160 KiB FabArray::norminf() 501 501 3093 B 160 KiB check_for_negative_density() 5 5 343 B 160 KiB MultiFab::max() 6 6 72 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 28 B 20 KiB MLPoisson::Fsmooth() 60 60 3253 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 250 B 9648 B MLCellLinOp::applyBC() 3820 3820 196 B 9344 B amrex::Copy() 56 56 5578 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 37 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 347 B 1248 B MLCGSolver::bicgstab 180 180 104 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1083 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 83 KiB 8192 KiB VisMF::Write(FabArray) 120 120 153 KiB 3584 KiB VisMF::Read() 24 24 208 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3253 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 250 B 9648 B MLCellLinOp::applyBC() 1910 1910 195 B 9328 B amrex::Copy() 56 56 5578 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2522 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 38 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 507 B 1296 B amrex::average_down 37 37 203 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 28 B 400 B FabArray::norminf() 501 501 10 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2189 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.01-10-g9b799efb04e0) finalized