Initializing AMReX (24.07-16-gdcb9cc0383dc)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.07-16-gdcb9cc0383dc) initialized Starting run at 07:34:59 UTC on 2024-07-17. Successfully read inputs file ... Castro git describe: 24.07-15-gb4b35ba86 AMReX git describe: 24.07-16-gdcb9cc038 Microphysics git describe: 24.07-18-g8fd0d4ae 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.046582529 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025867544 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.063632743 [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.051373365 [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.07710423 [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.077044887 [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.058271777 [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.046051981 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.052856805 [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.058902887 [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.074738915 [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.074644903 [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.061892769 [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.060487122 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025962132 seconds Ending run at 07:35:00 UTC on 2024-07-17. Run time = 0.910035302 Run time without initialization = 0.78365741 Average number of zones advanced per microsecond: 3.345 Average number of zones advanced per microsecond per rank: 3.345 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9101 ... 0.9101 ... 0.9101 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2506 0.2506 0.2506 27.53% VisMF::Write(FabArray) 11 0.1809 0.1809 0.1809 19.88% MLCellLinOp::applyBC() 4351 0.08266 0.08266 0.08266 9.08% MLPoisson::Fsmooth() 3280 0.03466 0.03466 0.03466 3.81% FillBoundary_nowait() 3941 0.03399 0.03399 0.03399 3.73% StateData::FillBoundary(geom) 328 0.02618 0.02618 0.02618 2.88% amrex::Dot() 1114 0.02195 0.02195 0.02195 2.41% Amr::checkPoint() 3 0.02175 0.02175 0.02175 2.39% FabArray::norminf() 1061 0.02035 0.02035 0.02035 2.24% Castro::reset_internal_energy(MultiFab) 63 0.0196 0.0196 0.0196 2.15% MLPoisson::Fapply() 1060 0.01735 0.01735 0.01735 1.91% Castro::computeTemp() 63 0.0168 0.0168 0.0168 1.85% FabArray::ParallelCopy_nowait() 861 0.01373 0.01373 0.01373 1.51% FabArray::setVal() 1062 0.01369 0.01369 0.01369 1.50% FabArray::Saxpy() 1370 0.01333 0.01333 0.01333 1.46% Castro::normalize_species() 62 0.0129 0.0129 0.0129 1.42% StateDataPhysBCFunct::() 41 0.01275 0.01275 0.01275 1.40% Castro::enforce_min_density() 62 0.01122 0.01122 0.01122 1.23% amrex::Copy() 472 0.01111 0.01111 0.01111 1.22% MLCellLinOp::defineAuxData() 11 0.01026 0.01026 0.01026 1.13% Gravity::fill_multipole_BCs() 11 0.008194 0.008194 0.008194 0.90% FabArray::Xpay() 739 0.00807 0.00807 0.00807 0.89% MLMG::addInterpCorrection() 410 0.007271 0.007271 0.007271 0.80% amrex::average_down 410 0.006436 0.006436 0.006436 0.71% Castro::estTimeStep() 21 0.005139 0.005139 0.005139 0.56% BndryData::define() 11 0.004174 0.004174 0.004174 0.46% amrex::Add() 82 0.003806 0.003806 0.003806 0.42% Castro::construct_new_gravity_source() 10 0.003702 0.003702 0.003702 0.41% Castro::construct_old_gravity_source() 10 0.002949 0.002949 0.002949 0.32% Castro::reset_internal_energy(Fab) 504 0.002206 0.002206 0.002206 0.24% Amr::writePlotFile() 2 0.001839 0.001839 0.001839 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001839 0.001839 0.001839 0.20% check_for_negative_density() 10 0.001713 0.001713 0.001713 0.19% MLCGSolver::bicgstab 82 0.001655 0.001655 0.001655 0.18% MLCellLinOp::setLevelBC() 11 0.001595 0.001595 0.001595 0.18% Gravity::actual_solve_with_mlmg() 11 0.001542 0.001542 0.001542 0.17% Castro::initData() 1 0.001533 0.001533 0.001533 0.17% FabArray::mult() 43 0.00141 0.00141 0.00141 0.15% FabArray::setDomainBndry() 41 0.001389 0.001389 0.001389 0.15% MLCellLinOp::prepareForSolve() 11 0.001329 0.001329 0.001329 0.15% MultiFab::contains_nan() 20 0.001301 0.001301 0.001301 0.14% MLCellLinOp::smooth() 1640 0.001166 0.001166 0.001166 0.13% MLCellLinOp::compGrad() 11 0.001109 0.001109 0.001109 0.12% MLMG::prepareForSolve() 11 0.0009852 0.0009852 0.0009852 0.11% FabArrayBase::getCPC() 1323 0.0008133 0.0008133 0.0008133 0.09% FabArray::FillBoundary() 3941 0.0007919 0.0007919 0.0007919 0.09% Gravity::get_new_grav_vector() 11 0.0006269 0.0006269 0.0006269 0.07% Gravity::get_old_grav_vector() 10 0.0004997 0.0004997 0.0004997 0.05% main() 1 0.000461 0.000461 0.000461 0.05% MLCellLinOp::apply() 1060 0.0004247 0.0004247 0.0004247 0.05% AmrLevel::FillPatch() 41 0.0004084 0.0004084 0.0004084 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003572 0.0003572 0.0003572 0.04% Amr::coarseTimeStep() 10 0.0003402 0.0003402 0.0003402 0.04% MLCellLinOp::defineBC() 11 0.0002656 0.0002656 0.0002656 0.03% FabArray::ParallelCopy() 861 0.0002487 0.0002487 0.0002487 0.03% FillPatchIterator::Initialize 41 0.0002176 0.0002176 0.0002176 0.02% MLMG::mgVcycle() 82 0.0001997 0.0001997 0.0001997 0.02% Castro::subcycle_advance_ctu() 10 0.0001965 0.0001965 0.0001965 0.02% MLCellLinOp::correctionResidual() 410 0.0001682 0.0001682 0.0001682 0.02% Castro::advance() 10 0.0001566 0.0001566 0.0001566 0.02% Amr::timeStep() 10 0.0001548 0.0001548 0.0001548 0.02% Castro::do_advance_ctu() 10 0.0001464 0.0001464 0.0001464 0.02% MLMG:computeResOfCorrection() 410 0.0001303 0.0001303 0.0001303 0.01% StateData::checkPoint() 12 0.0001171 0.0001171 0.0001171 0.01% Gravity::solve_for_phi() 10 0.0001102 0.0001102 0.0001102 0.01% Castro::construct_new_source() 50 9.235e-05 9.235e-05 9.235e-05 0.01% Castro::initialize_do_advance() 10 8.778e-05 8.778e-05 8.778e-05 0.01% MLMG::mgVcycle_down::0 82 8.719e-05 8.719e-05 8.719e-05 0.01% MLMG::actualBottomSolve() 82 8.538e-05 8.538e-05 8.538e-05 0.01% Castro::initialize_advance() 10 8.47e-05 8.47e-05 8.47e-05 0.01% MLMG::mgVcycle_down::1 82 7.811e-05 7.811e-05 7.811e-05 0.01% MLMG::mgVcycle_down::2 82 7.657e-05 7.657e-05 7.657e-05 0.01% MLMG::mgVcycle_down::4 82 7.316e-05 7.316e-05 7.316e-05 0.01% MLMG::solve() 11 7.312e-05 7.312e-05 7.312e-05 0.01% Castro::construct_old_source() 50 7.172e-05 7.172e-05 7.172e-05 0.01% MLMG::mgVcycle_down::3 82 7.003e-05 7.003e-05 7.003e-05 0.01% Castro::clean_state() 62 6.458e-05 6.458e-05 6.458e-05 0.01% AmrLevel::checkPoint() 3 6.302e-05 6.302e-05 6.302e-05 0.01% MLMG::mgVcycle_up::4 82 5.729e-05 5.729e-05 5.729e-05 0.01% MLMG::oneIter() 82 5.579e-05 5.579e-05 5.579e-05 0.01% MLMG::mgVcycle_up::0 82 5.204e-05 5.204e-05 5.204e-05 0.01% MLMG::mgVcycle_up::2 82 5.116e-05 5.116e-05 5.116e-05 0.01% MLMG::mgVcycle_up::3 82 5.084e-05 5.084e-05 5.084e-05 0.01% Castro::finalize_do_advance() 10 4.982e-05 4.982e-05 4.982e-05 0.01% MLMG::mgVcycle_up::1 82 4.814e-05 4.814e-05 4.814e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.717e-05 4.717e-05 4.717e-05 0.01% MLCellLinOp::solutionResidual() 93 4.446e-05 4.446e-05 4.446e-05 0.00% MLMG::mgVcycle_bottom 82 3.65e-05 3.65e-05 3.65e-05 0.00% MLMG::computeResidual() 82 3.634e-05 3.634e-05 3.634e-05 0.00% FillPatchSingleLevel 41 3.497e-05 3.497e-05 3.497e-05 0.00% Amr::defBaseLevel() 1 3.434e-05 3.434e-05 3.434e-05 0.00% MLMG::ResNormInf() 93 3.308e-05 3.308e-05 3.308e-05 0.00% Castro::construct_new_gravity() 10 2.644e-05 2.644e-05 2.644e-05 0.00% MLPoisson::define() 11 2.574e-05 2.574e-05 2.574e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.482e-05 2.482e-05 2.482e-05 0.00% Amr::FinalizeInit() 1 2.101e-05 2.101e-05 2.101e-05 0.00% Castro::do_old_sources() 10 2.018e-05 2.018e-05 2.018e-05 0.00% Castro::do_new_sources() 10 1.88e-05 1.88e-05 1.88e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.691e-05 1.691e-05 1.691e-05 0.00% MLPoisson::prepareForSolve() 11 1.344e-05 1.344e-05 1.344e-05 0.00% Castro::apply_source_to_state() 20 1.278e-05 1.278e-05 1.278e-05 0.00% Castro::construct_old_gravity() 10 1.165e-05 1.165e-05 1.165e-05 0.00% Castro::check_for_nan() 20 1.155e-05 1.155e-05 1.155e-05 0.00% Castro::post_init() 1 1.01e-05 1.01e-05 1.01e-05 0.00% Castro::post_timestep() 10 9.631e-06 9.631e-06 9.631e-06 0.00% MLMG::computeMLResidual() 11 9.155e-06 9.155e-06 9.155e-06 0.00% Gravity::actual_multilevel_solve() 1 8.875e-06 8.875e-06 8.875e-06 0.00% MLMG::getGradSolution() 11 7.522e-06 7.522e-06 7.522e-06 0.00% Castro::computeNewDt() 9 6.529e-06 6.529e-06 6.529e-06 0.00% Amr::InitializeInit() 1 5.662e-06 5.662e-06 5.662e-06 0.00% Castro::expand_state() 10 5.654e-06 5.654e-06 5.654e-06 0.00% Amr::init() 1 2.909e-06 2.909e-06 2.909e-06 0.00% Amr::initialInit() 1 1.064e-06 1.064e-06 1.064e-06 0.00% Other 4815 0.003177 0.003177 0.003177 0.35% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9101 0.9101 0.9101 100.00% Amr::coarseTimeStep() 10 0.7574 0.7574 0.7574 83.23% Amr::timeStep() 10 0.6478 0.6478 0.6478 71.17% Castro::advance() 10 0.6371 0.6371 0.6371 70.01% Castro::subcycle_advance_ctu() 10 0.6241 0.6241 0.6241 68.57% Castro::do_advance_ctu() 10 0.6239 0.6239 0.6239 68.55% Gravity::solve_phi_with_mlmg() 11 0.3093 0.3093 0.3093 33.99% Gravity::actual_solve_with_mlmg() 11 0.3006 0.3006 0.3006 33.03% Castro::construct_new_gravity() 10 0.2817 0.2817 0.2817 30.95% MLMG::solve() 11 0.2784 0.2784 0.2784 30.59% Gravity::solve_for_phi() 10 0.2648 0.2648 0.2648 29.10% Castro::construct_ctu_hydro_source() 10 0.2625 0.2625 0.2625 28.85% MLMG::oneIter() 82 0.2625 0.2625 0.2625 28.84% MLMG::mgVcycle() 82 0.2586 0.2586 0.2586 28.42% VisMF::Write(FabArray) 11 0.1809 0.1809 0.1809 19.88% Amr::checkPoint() 3 0.1533 0.1533 0.1533 16.84% AmrLevel::checkPoint() 3 0.1315 0.1315 0.1315 14.45% StateData::checkPoint() 12 0.1315 0.1315 0.1315 14.44% MLCellLinOp::smooth() 1640 0.1269 0.1269 0.1269 13.95% Amr::init() 1 0.1257 0.1257 0.1257 13.81% MLCellLinOp::applyBC() 4351 0.1182 0.1182 0.1182 12.98% MLMG::mgVcycle_bottom 82 0.08124 0.08124 0.08124 8.93% MLMG::actualBottomSolve() 82 0.0812 0.0812 0.0812 8.92% MLCGSolver::bicgstab 82 0.08036 0.08036 0.08036 8.83% Castro::clean_state() 62 0.0621 0.0621 0.0621 6.82% Amr::initialInit() 1 0.05304 0.05304 0.05304 5.83% Amr::writePlotFile() 2 0.05197 0.05197 0.05197 5.71% AmrLevel::FillPatch() 41 0.04901 0.04901 0.04901 5.39% Amr::FinalizeInit() 1 0.04823 0.04823 0.04823 5.30% Castro::post_init() 1 0.04742 0.04742 0.04742 5.21% Gravity::multilevel_solve_for_new_phi() 1 0.04492 0.04492 0.04492 4.94% Gravity::actual_multilevel_solve() 1 0.04491 0.04491 0.04491 4.93% FillPatchIterator::Initialize 41 0.0447 0.0447 0.0447 4.91% MLCellLinOp::apply() 1060 0.04432 0.04432 0.04432 4.87% FillPatchIterator::FillFromLevel0() 41 0.04309 0.04309 0.04309 4.74% FillPatchSingleLevel 41 0.04305 0.04305 0.04305 4.73% StateDataPhysBCFunct::() 41 0.03893 0.03893 0.03893 4.28% Castro::computeTemp() 63 0.03861 0.03861 0.03861 4.24% MLMG::mgVcycle_down::0 82 0.03676 0.03676 0.03676 4.04% FabArray::FillBoundary() 3941 0.0355 0.0355 0.0355 3.90% FillBoundary_nowait() 3941 0.03471 0.03471 0.03471 3.81% MLPoisson::Fsmooth() 3280 0.03466 0.03466 0.03466 3.81% MLMG::mgVcycle_up::0 82 0.02795 0.02795 0.02795 3.07% StateData::FillBoundary(geom) 328 0.02618 0.02618 0.02618 2.88% Castro::initialize_do_advance() 10 0.02438 0.02438 0.02438 2.68% amrex::Dot() 1114 0.02195 0.02195 0.02195 2.41% Castro::reset_internal_energy(MultiFab) 63 0.02181 0.02181 0.02181 2.40% MLMG:computeResOfCorrection() 410 0.02123 0.02123 0.02123 2.33% MLCellLinOp::correctionResidual() 410 0.0211 0.0211 0.0211 2.32% Castro::do_old_sources() 10 0.02096 0.02096 0.02096 2.30% FabArray::norminf() 1061 0.02035 0.02035 0.02035 2.24% Gravity::get_new_grav_vector() 11 0.01889 0.01889 0.01889 2.08% MLPoisson::define() 11 0.01746 0.01746 0.01746 1.92% MLPoisson::Fapply() 1060 0.01735 0.01735 0.01735 1.91% MLMG::mgVcycle_down::1 82 0.01703 0.01703 0.01703 1.87% MLMG::mgVcycle_down::2 82 0.01591 0.01591 0.01591 1.75% Castro::do_new_sources() 10 0.01577 0.01577 0.01577 1.73% MLMG::mgVcycle_down::3 82 0.01546 0.01546 0.01546 1.70% MLMG::mgVcycle_down::4 82 0.01544 0.01544 0.01544 1.70% Castro::construct_old_gravity() 10 0.01524 0.01524 0.01524 1.68% Gravity::get_old_grav_vector() 10 0.01523 0.01523 0.01523 1.67% FabArray::ParallelCopy() 861 0.01483 0.01483 0.01483 1.63% FabArray::ParallelCopy_nowait() 861 0.01458 0.01458 0.01458 1.60% FabArray::setVal() 1062 0.01369 0.01369 0.01369 1.50% FabArray::Saxpy() 1370 0.01333 0.01333 0.01333 1.46% MLCGSolver::ParallelAllReduce 1832 0.0131 0.0131 0.0131 1.44% Castro::normalize_species() 62 0.0129 0.0129 0.0129 1.42% MLMG::addInterpCorrection() 410 0.01264 0.01264 0.01264 1.39% MLMG::mgVcycle_up::1 82 0.01238 0.01238 0.01238 1.36% MLMG::mgVcycle_up::4 82 0.01232 0.01232 0.01232 1.35% Castro::initialize_advance() 10 0.01225 0.01225 0.01225 1.35% MLMG::mgVcycle_up::2 82 0.01213 0.01213 0.01213 1.33% Castro::expand_state() 10 0.01197 0.01197 0.01197 1.32% MLMG::mgVcycle_up::3 82 0.01183 0.01183 0.01183 1.30% amrex::average_down 410 0.01181 0.01181 0.01181 1.30% MLCellLinOp::defineAuxData() 11 0.01169 0.01169 0.01169 1.28% Castro::enforce_min_density() 62 0.01122 0.01122 0.01122 1.23% amrex::Copy() 472 0.01111 0.01111 0.01111 1.22% Castro::post_timestep() 10 0.01047 0.01047 0.01047 1.15% Gravity::fill_multipole_BCs() 11 0.00846 0.00846 0.00846 0.93% FabArray::Xpay() 739 0.00807 0.00807 0.00807 0.89% MLCellLinOp::solutionResidual() 93 0.008001 0.008001 0.008001 0.88% MLMG::computeResidual() 82 0.00672 0.00672 0.00672 0.74% MLCellLinOp::defineBC() 11 0.005497 0.005497 0.005497 0.60% MLMG::prepareForSolve() 11 0.005251 0.005251 0.005251 0.58% BndryData::define() 11 0.005232 0.005232 0.005232 0.57% Castro::estTimeStep() 21 0.005139 0.005139 0.005139 0.56% Amr::InitializeInit() 1 0.004807 0.004807 0.004807 0.53% Amr::defBaseLevel() 1 0.004801 0.004801 0.004801 0.53% Castro::initData() 1 0.004105 0.004105 0.004105 0.45% amrex::Add() 82 0.003806 0.003806 0.003806 0.42% Castro::construct_new_source() 50 0.003794 0.003794 0.003794 0.42% Castro::construct_new_gravity_source() 10 0.003702 0.003702 0.003702 0.41% Castro::construct_old_source() 50 0.00302 0.00302 0.00302 0.33% Castro::construct_old_gravity_source() 10 0.002949 0.002949 0.002949 0.32% MLMG::ResNormInf() 93 0.002258 0.002258 0.002258 0.25% Castro::finalize_do_advance() 10 0.002232 0.002232 0.002232 0.25% Castro::reset_internal_energy(Fab) 504 0.002206 0.002206 0.002206 0.24% Castro::computeNewDt() 9 0.00201 0.00201 0.00201 0.22% Castro::apply_source_to_state() 20 0.001884 0.001884 0.001884 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001839 0.001839 0.001839 0.20% check_for_negative_density() 10 0.001713 0.001713 0.001713 0.19% MLMG::getGradSolution() 11 0.001643 0.001643 0.001643 0.18% MLCellLinOp::compGrad() 11 0.001635 0.001635 0.001635 0.18% MLCellLinOp::setLevelBC() 11 0.001595 0.001595 0.001595 0.18% FabArrayBase::getCPC() 1323 0.001493 0.001493 0.001493 0.16% FabArray::mult() 43 0.00141 0.00141 0.00141 0.15% FabArray::setDomainBndry() 41 0.001389 0.001389 0.001389 0.15% MLPoisson::prepareForSolve() 11 0.001343 0.001343 0.001343 0.15% MLCellLinOp::prepareForSolve() 11 0.001329 0.001329 0.001329 0.15% MLMG::computeMLResidual() 11 0.001327 0.001327 0.001327 0.15% Castro::check_for_nan() 20 0.001312 0.001312 0.001312 0.14% MultiFab::contains_nan() 20 0.001301 0.001301 0.001301 0.14% Other 4815 0.008457 0.008457 0.008457 0.93% -------------------------------------------------------------------------------------------- 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 5747 KiB 9037 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 1042 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1603 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7610 KiB 14 MiB MLMG::prepareForSolve() 660 660 3763 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 215 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 171 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7524 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 15 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2184 B 2048 KiB Gravity::solve_for_phi() 80 80 595 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 100 KiB 2048 KiB BndryData::define() 1056 1056 343 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 218 KiB 671 KiB Castro::estTimeStep() 21 21 2735 B 480 KiB VisMF::Write(FabArray) 656 656 3486 B 320 KiB Castro::normalize_species() 62 62 4611 B 320 KiB amrex::average_down 1067 1067 1621 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1187 B 257 KiB amrex::Dot() 1360 1360 3568 B 160 KiB FabArray::norminf() 1143 1143 3461 B 160 KiB check_for_negative_density() 10 10 301 B 160 KiB Castro::initData() 1 1 53 B 160 KiB MultiFab::max() 11 11 58 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3676 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 326 B 9648 B MLCellLinOp::applyBC() 8702 8702 226 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3947 B 6144 B StateData::FillBoundary(geom) 1992 1992 46 B 3168 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 387 B 1248 B MLCGSolver::bicgstab 410 410 106 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 872 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 40 KiB 8192 KiB VisMF::Write(FabArray) 744 744 436 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3676 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 326 B 9648 B MLCellLinOp::applyBC() 4351 4351 224 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3947 B 6144 B StateData::FillBoundary(geom) 1992 1992 46 B 3168 B Gravity::get_new_grav_vector() 3 3 2895 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 83 83 618 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 313 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 28 B 400 B FabArray::norminf() 1143 1143 11 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): 12049 Free GPU global memory (MB): 2109 [The Arena] space allocated (MB): 9037 [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.07-16-gdcb9cc0383dc) finalized Initializing AMReX (24.07-16-gdcb9cc0383dc)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.07-16-gdcb9cc0383dc) initialized Starting run at 07:35:00 UTC on 2024-07-17. Successfully read inputs file ... Castro git describe: 24.07-15-gb4b35ba86 AMReX git describe: 24.07-16-gdcb9cc038 Microphysics git describe: 24.07-18-g8fd0d4ae reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.499757327 Restart time = 0.072969117 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.07338057 [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.054403823 [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.054824433 [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.079156697 [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.082272697 [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.028550158 seconds Ending run at 07:35:01 UTC on 2024-07-17. Run time = 0.446631829 Run time without initialization = 0.373049514 Average number of zones advanced per microsecond: 3.514 Average number of zones advanced per microsecond per rank: 3.514 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4467 ... 0.4467 ... 0.4467 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1229 0.1229 0.1229 27.52% VisMF::Read() 3 0.06102 0.06102 0.06102 13.66% MLCellLinOp::applyBC() 1910 0.04041 0.04041 0.04041 9.05% VisMF::Write(FabArray) 1 0.02593 0.02593 0.02593 5.81% StateData::FillBoundary(geom) 160 0.02261 0.02261 0.02261 5.06% MLPoisson::Fsmooth() 1440 0.01675 0.01675 0.01675 3.75% FillBoundary_nowait() 1730 0.01451 0.01451 0.01451 3.25% amrex::Dot() 484 0.01003 0.01003 0.01003 2.25% FabArray::norminf() 465 0.009393 0.009393 0.009393 2.10% Castro::reset_internal_energy(MultiFab) 30 0.008426 0.008426 0.008426 1.89% Castro::normalize_species() 30 0.007762 0.007762 0.007762 1.74% Castro::computeTemp() 30 0.007564 0.007564 0.007564 1.69% FabArray::setVal() 501 0.0072 0.0072 0.0072 1.61% FabArray::ParallelCopy_nowait() 380 0.006876 0.006876 0.006876 1.54% FabArray::Saxpy() 597 0.006361 0.006361 0.006361 1.42% MLCellLinOp::defineAuxData() 6 0.006209 0.006209 0.006209 1.39% amrex::Copy() 221 0.005819 0.005819 0.005819 1.30% Castro::enforce_min_density() 30 0.005445 0.005445 0.005445 1.22% Gravity::fill_multipole_BCs() 6 0.005152 0.005152 0.005152 1.15% Amr::restart() 1 0.005073 0.005073 0.005073 1.14% MLPoisson::Fapply() 464 0.005005 0.005005 0.005005 1.12% StateDataPhysBCFunct::() 20 0.004079 0.004079 0.004079 0.91% FabArray::Xpay() 325 0.003788 0.003788 0.003788 0.85% MLMG::addInterpCorrection() 180 0.003554 0.003554 0.003554 0.80% amrex::average_down 180 0.003199 0.003199 0.003199 0.72% Castro::estTimeStep() 10 0.00311 0.00311 0.00311 0.70% Amr::writePlotFile() 1 0.00245 0.00245 0.00245 0.55% BndryData::define() 6 0.002315 0.002315 0.002315 0.52% Castro::construct_new_gravity_source() 5 0.00198 0.00198 0.00198 0.44% amrex::Add() 36 0.001636 0.001636 0.001636 0.37% Castro::construct_old_gravity_source() 5 0.001566 0.001566 0.001566 0.35% Castro::reset_internal_energy(Fab) 240 0.00152 0.00152 0.00152 0.34% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001104 0.001104 0.001104 0.25% MLCGSolver::bicgstab 36 0.0009706 0.0009706 0.0009706 0.22% MLCellLinOp::setLevelBC() 6 0.0009364 0.0009364 0.0009364 0.21% check_for_negative_density() 5 0.0008978 0.0008978 0.0008978 0.20% MLCellLinOp::prepareForSolve() 6 0.0008462 0.0008462 0.0008462 0.19% Gravity::actual_solve_with_mlmg() 6 0.0008414 0.0008414 0.0008414 0.19% MLCellLinOp::smooth() 720 0.0008187 0.0008187 0.0008187 0.18% FabArray::setDomainBndry() 20 0.0007502 0.0007502 0.0007502 0.17% FabArray::mult() 22 0.0007247 0.0007247 0.0007247 0.16% MLCellLinOp::compGrad() 6 0.0006339 0.0006339 0.0006339 0.14% MLMG::prepareForSolve() 6 0.0006337 0.0006337 0.0006337 0.14% FabArrayBase::getCPC() 632 0.0004056 0.0004056 0.0004056 0.09% FabArray::FillBoundary() 1730 0.0003966 0.0003966 0.0003966 0.09% Gravity::get_old_grav_vector() 5 0.0003427 0.0003427 0.0003427 0.08% main() 1 0.0002895 0.0002895 0.0002895 0.06% MLCellLinOp::apply() 464 0.0002772 0.0002772 0.0002772 0.06% Gravity::get_new_grav_vector() 5 0.0002424 0.0002424 0.0002424 0.05% AmrLevel::FillPatch() 20 0.0002192 0.0002192 0.0002192 0.05% Amr::coarseTimeStep() 5 0.0001872 0.0001872 0.0001872 0.04% Castro::subcycle_advance_ctu() 5 0.000176 0.000176 0.000176 0.04% MLCellLinOp::defineBC() 6 0.0001652 0.0001652 0.0001652 0.04% MLCGSolver::ParallelAllReduce 798 0.0001559 0.0001559 0.0001559 0.03% FabArray::ParallelCopy() 380 0.0001378 0.0001378 0.0001378 0.03% FillPatchIterator::Initialize 20 0.0001297 0.0001297 0.0001297 0.03% MLMG::mgVcycle() 36 0.000108 0.000108 0.000108 0.02% Castro::initialize_do_advance() 5 0.0001006 0.0001006 0.0001006 0.02% MLCellLinOp::correctionResidual() 180 9.865e-05 9.865e-05 9.865e-05 0.02% Amr::timeStep() 5 9.725e-05 9.725e-05 9.725e-05 0.02% Castro::advance() 5 8.028e-05 8.028e-05 8.028e-05 0.02% AmrLevel::restart() 1 7.716e-05 7.716e-05 7.716e-05 0.02% Gravity::update_max_rhs() 6 7.668e-05 7.668e-05 7.668e-05 0.02% Castro::finalize_do_advance() 5 7.312e-05 7.312e-05 7.312e-05 0.02% StateData::restartDoit() 4 6.971e-05 6.971e-05 6.971e-05 0.02% Castro::construct_new_source() 25 6.197e-05 6.197e-05 6.197e-05 0.01% Castro::construct_old_source() 25 5.906e-05 5.906e-05 5.906e-05 0.01% MLMG::mgVcycle_down::0 36 5.904e-05 5.904e-05 5.904e-05 0.01% Castro::do_advance_ctu() 5 5.829e-05 5.829e-05 5.829e-05 0.01% MLMG:computeResOfCorrection() 180 5.502e-05 5.502e-05 5.502e-05 0.01% Gravity::solve_for_phi() 5 5.337e-05 5.337e-05 5.337e-05 0.01% MLMG::mgVcycle_down::1 36 4.884e-05 4.884e-05 4.884e-05 0.01% MLMG::mgVcycle_down::2 36 4.855e-05 4.855e-05 4.855e-05 0.01% MLMG::mgVcycle_down::4 36 4.649e-05 4.649e-05 4.649e-05 0.01% MLMG::actualBottomSolve() 36 4.62e-05 4.62e-05 4.62e-05 0.01% MLMG::solve() 6 4.593e-05 4.593e-05 4.593e-05 0.01% MLMG::mgVcycle_down::3 36 4.542e-05 4.542e-05 4.542e-05 0.01% Castro::initialize_advance() 5 4.442e-05 4.442e-05 4.442e-05 0.01% Castro::clean_state() 30 3.853e-05 3.853e-05 3.853e-05 0.01% MLMG::mgVcycle_up::4 36 3.036e-05 3.036e-05 3.036e-05 0.01% MLMG::oneIter() 36 2.929e-05 2.929e-05 2.929e-05 0.01% Castro::construct_old_gravity() 5 2.819e-05 2.819e-05 2.819e-05 0.01% MLMG::mgVcycle_up::3 36 2.788e-05 2.788e-05 2.788e-05 0.01% Castro::post_restart() 1 2.702e-05 2.702e-05 2.702e-05 0.01% MLMG::mgVcycle_up::2 36 2.696e-05 2.696e-05 2.696e-05 0.01% MLMG::mgVcycle_up::1 36 2.66e-05 2.66e-05 2.66e-05 0.01% MLMG::mgVcycle_up::0 36 2.638e-05 2.638e-05 2.638e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.475e-05 2.475e-05 2.475e-05 0.01% MLCellLinOp::solutionResidual() 42 2.349e-05 2.349e-05 2.349e-05 0.01% FillPatchSingleLevel 20 2.003e-05 2.003e-05 2.003e-05 0.00% MLPoisson::define() 6 1.957e-05 1.957e-05 1.957e-05 0.00% MLMG::ResNormInf() 42 1.772e-05 1.772e-05 1.772e-05 0.00% MLMG::mgVcycle_bottom 36 1.695e-05 1.695e-05 1.695e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.667e-05 1.667e-05 1.667e-05 0.00% Castro::construct_new_gravity() 5 1.519e-05 1.519e-05 1.519e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.499e-05 1.499e-05 1.499e-05 0.00% MLMG::computeResidual() 36 1.46e-05 1.46e-05 1.46e-05 0.00% Castro::do_old_sources() 5 1.356e-05 1.356e-05 1.356e-05 0.00% Castro::do_new_sources() 5 1.144e-05 1.144e-05 1.144e-05 0.00% MLPoisson::prepareForSolve() 6 1.002e-05 1.002e-05 1.002e-05 0.00% Castro::expand_state() 5 8.839e-06 8.839e-06 8.839e-06 0.00% Gravity::actual_multilevel_solve() 1 8.707e-06 8.707e-06 8.707e-06 0.00% Castro::check_for_nan() 10 7.216e-06 7.216e-06 7.216e-06 0.00% Castro::apply_source_to_state() 10 6.966e-06 6.966e-06 6.966e-06 0.00% Castro::post_timestep() 5 5.507e-06 5.507e-06 5.507e-06 0.00% MLMG::computeMLResidual() 6 4.421e-06 4.421e-06 4.421e-06 0.00% Castro::computeNewDt() 5 4.037e-06 4.037e-06 4.037e-06 0.00% MLMG::getGradSolution() 6 3.626e-06 3.626e-06 3.626e-06 0.00% Amr::init() 1 9.71e-07 9.71e-07 9.71e-07 0.00% Other 2190 0.002691 0.002691 0.002691 0.60% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4466 0.4466 0.4466 100.00% Amr::coarseTimeStep() 5 0.3442 0.3442 0.3442 77.06% Amr::timeStep() 5 0.342 0.342 0.342 76.56% Castro::advance() 5 0.3356 0.3356 0.3356 75.13% Castro::subcycle_advance_ctu() 5 0.3281 0.3281 0.3281 73.46% Castro::do_advance_ctu() 5 0.3279 0.3279 0.3279 73.42% Castro::construct_new_gravity() 5 0.1541 0.1541 0.1541 34.49% Gravity::solve_phi_with_mlmg() 6 0.1483 0.1483 0.1483 33.21% Gravity::actual_solve_with_mlmg() 6 0.1429 0.1429 0.1429 31.99% Gravity::solve_for_phi() 5 0.1426 0.1426 0.1426 31.93% MLMG::solve() 6 0.1298 0.1298 0.1298 29.05% Castro::construct_ctu_hydro_source() 5 0.1291 0.1291 0.1291 28.90% MLMG::oneIter() 36 0.1213 0.1213 0.1213 27.15% MLMG::mgVcycle() 36 0.1196 0.1196 0.1196 26.78% Amr::init() 1 0.07303 0.07303 0.07303 16.35% Amr::restart() 1 0.07303 0.07303 0.07303 16.35% AmrLevel::restart() 1 0.0614 0.0614 0.0614 13.75% StateData::restartDoit() 4 0.06132 0.06132 0.06132 13.73% VisMF::Read() 3 0.06102 0.06102 0.06102 13.66% MLCellLinOp::smooth() 720 0.06016 0.06016 0.06016 13.47% MLCellLinOp::applyBC() 1910 0.05569 0.05569 0.05569 12.47% MLMG::mgVcycle_bottom 36 0.03501 0.03501 0.03501 7.84% MLMG::actualBottomSolve() 36 0.035 0.035 0.035 7.84% MLCGSolver::bicgstab 36 0.03459 0.03459 0.03459 7.74% AmrLevel::FillPatch() 20 0.0319 0.0319 0.0319 7.14% Castro::clean_state() 30 0.03094 0.03094 0.03094 6.93% FillPatchIterator::Initialize 20 0.02971 0.02971 0.02971 6.65% FillPatchIterator::FillFromLevel0() 20 0.02883 0.02883 0.02883 6.45% FillPatchSingleLevel 20 0.0288 0.0288 0.0288 6.45% Amr::writePlotFile() 1 0.02866 0.02866 0.02866 6.42% StateDataPhysBCFunct::() 20 0.02669 0.02669 0.02669 5.98% VisMF::Write(FabArray) 1 0.02593 0.02593 0.02593 5.81% StateData::FillBoundary(geom) 160 0.02261 0.02261 0.02261 5.06% MLCellLinOp::apply() 464 0.01806 0.01806 0.01806 4.04% Castro::computeTemp() 30 0.01751 0.01751 0.01751 3.92% MLPoisson::Fsmooth() 1440 0.01675 0.01675 0.01675 3.75% MLMG::mgVcycle_down::0 36 0.01673 0.01673 0.01673 3.75% FabArray::FillBoundary() 1730 0.01528 0.01528 0.01528 3.42% FillBoundary_nowait() 1730 0.01488 0.01488 0.01488 3.33% Castro::initialize_do_advance() 5 0.01279 0.01279 0.01279 2.86% MLMG::mgVcycle_up::0 36 0.01264 0.01264 0.01264 2.83% Castro::do_old_sources() 5 0.01171 0.01171 0.01171 2.62% Castro::construct_old_gravity() 5 0.01146 0.01146 0.01146 2.57% Gravity::get_old_grav_vector() 5 0.01143 0.01143 0.01143 2.56% Gravity::get_new_grav_vector() 5 0.01131 0.01131 0.01131 2.53% MLPoisson::define() 6 0.0104 0.0104 0.0104 2.33% amrex::Dot() 484 0.01003 0.01003 0.01003 2.25% Castro::reset_internal_energy(MultiFab) 30 0.009946 0.009946 0.009946 2.23% MLMG:computeResOfCorrection() 180 0.009929 0.009929 0.009929 2.22% MLCellLinOp::correctionResidual() 180 0.009874 0.009874 0.009874 2.21% FabArray::norminf() 465 0.009393 0.009393 0.009393 2.10% MLMG::mgVcycle_down::1 36 0.008407 0.008407 0.008407 1.88% MLMG::mgVcycle_down::2 36 0.007772 0.007772 0.007772 1.74% Castro::normalize_species() 30 0.007762 0.007762 0.007762 1.74% MLMG::mgVcycle_down::3 36 0.007587 0.007587 0.007587 1.70% MLMG::mgVcycle_down::4 36 0.007506 0.007506 0.007506 1.68% FabArray::ParallelCopy() 380 0.007427 0.007427 0.007427 1.66% FabArray::ParallelCopy_nowait() 380 0.007289 0.007289 0.007289 1.63% FabArray::setVal() 501 0.0072 0.0072 0.0072 1.61% Castro::do_new_sources() 5 0.007135 0.007135 0.007135 1.60% MLCellLinOp::defineAuxData() 6 0.0071 0.0071 0.0071 1.59% Castro::initialize_advance() 5 0.007058 0.007058 0.007058 1.58% Castro::expand_state() 5 0.006647 0.006647 0.006647 1.49% FabArray::Saxpy() 597 0.006361 0.006361 0.006361 1.42% Castro::post_restart() 1 0.006343 0.006343 0.006343 1.42% Castro::post_timestep() 5 0.006287 0.006287 0.006287 1.41% MLMG::addInterpCorrection() 180 0.006217 0.006217 0.006217 1.39% MLCGSolver::ParallelAllReduce 798 0.006049 0.006049 0.006049 1.35% MLMG::mgVcycle_up::1 36 0.006046 0.006046 0.006046 1.35% MLMG::mgVcycle_up::4 36 0.006032 0.006032 0.006032 1.35% Gravity::multilevel_solve_for_new_phi() 1 0.005953 0.005953 0.005953 1.33% Gravity::actual_multilevel_solve() 1 0.005936 0.005936 0.005936 1.33% MLMG::mgVcycle_up::2 36 0.005932 0.005932 0.005932 1.33% amrex::average_down 180 0.005873 0.005873 0.005873 1.31% MLMG::mgVcycle_up::3 36 0.005833 0.005833 0.005833 1.31% amrex::Copy() 221 0.005819 0.005819 0.005819 1.30% Castro::enforce_min_density() 30 0.005445 0.005445 0.005445 1.22% Gravity::fill_multipole_BCs() 6 0.005291 0.005291 0.005291 1.18% MLPoisson::Fapply() 464 0.005005 0.005005 0.005005 1.12% MLCellLinOp::solutionResidual() 42 0.003979 0.003979 0.003979 0.89% FabArray::Xpay() 325 0.003788 0.003788 0.003788 0.85% MLMG::prepareForSolve() 6 0.003224 0.003224 0.003224 0.72% MLCellLinOp::defineBC() 6 0.003139 0.003139 0.003139 0.70% Castro::estTimeStep() 10 0.00311 0.00311 0.00311 0.70% MLMG::computeResidual() 36 0.003103 0.003103 0.003103 0.69% BndryData::define() 6 0.002974 0.002974 0.002974 0.67% Castro::computeNewDt() 5 0.002052 0.002052 0.002052 0.46% Castro::construct_new_source() 25 0.002042 0.002042 0.002042 0.46% Castro::construct_new_gravity_source() 5 0.00198 0.00198 0.00198 0.44% amrex::Add() 36 0.001636 0.001636 0.001636 0.37% Castro::construct_old_source() 25 0.001625 0.001625 0.001625 0.36% Castro::construct_old_gravity_source() 5 0.001566 0.001566 0.001566 0.35% Castro::reset_internal_energy(Fab) 240 0.00152 0.00152 0.00152 0.34% Castro::finalize_do_advance() 5 0.001135 0.001135 0.001135 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001104 0.001104 0.001104 0.25% MLMG::ResNormInf() 42 0.001083 0.001083 0.001083 0.24% Castro::apply_source_to_state() 10 0.0009898 0.0009898 0.0009898 0.22% MLMG::getGradSolution() 6 0.0009564 0.0009564 0.0009564 0.21% MLCellLinOp::compGrad() 6 0.0009528 0.0009528 0.0009528 0.21% MLCellLinOp::setLevelBC() 6 0.0009364 0.0009364 0.0009364 0.21% check_for_negative_density() 5 0.0008978 0.0008978 0.0008978 0.20% MLMG::computeMLResidual() 6 0.000895 0.000895 0.000895 0.20% FabArrayBase::getCPC() 632 0.0008586 0.0008586 0.0008586 0.19% MLPoisson::prepareForSolve() 6 0.0008562 0.0008562 0.0008562 0.19% MLCellLinOp::prepareForSolve() 6 0.0008462 0.0008462 0.0008462 0.19% Gravity::update_max_rhs() 6 0.0007739 0.0007739 0.0007739 0.17% FabArray::setDomainBndry() 20 0.0007502 0.0007502 0.0007502 0.17% FabArray::mult() 22 0.0007247 0.0007247 0.0007247 0.16% Castro::check_for_nan() 10 0.000695 0.000695 0.000695 0.16% Other 2190 0.004025 0.004025 0.004025 0.90% -------------------------------------------------------------------------------------------- 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 11 MiB 9037 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 1306 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1716 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 6440 KiB 14 MiB MLMG::prepareForSolve() 361 361 3565 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 264 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 259 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6427 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 18 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3442 B 2048 KiB Gravity::solve_for_phi() 40 40 652 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 27 KiB 2048 KiB BndryData::define() 576 576 328 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 210 KiB 671 KiB Castro::estTimeStep() 10 10 3252 B 480 KiB VisMF::Write(FabArray) 112 112 1332 B 320 KiB Castro::normalize_species() 30 30 5649 B 320 KiB amrex::average_down 469 469 1472 B 257 KiB MLMG::addInterpCorrection() 468 468 1152 B 257 KiB amrex::Dot() 592 592 3304 B 160 KiB FabArray::norminf() 501 501 3239 B 160 KiB check_for_negative_density() 5 5 321 B 160 KiB MultiFab::max() 6 6 79 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3456 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 279 B 9648 B MLCellLinOp::applyBC() 3820 3820 219 B 9344 B amrex::Copy() 56 56 5914 B 8816 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 30 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCellLinOp::defineBC() 36 36 369 B 1248 B MLCGSolver::bicgstab 180 180 93 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1364 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 161 KiB 3584 KiB VisMF::Read() 24 24 206 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3456 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 278 B 9648 B MLCellLinOp::applyBC() 1910 1910 217 B 9328 B amrex::Copy() 56 56 5914 B 8816 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2522 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B StateData::FillBoundary(geom) 960 960 31 B 2640 B MLMG::prepareForSolve() 7 7 819 B 1648 B amrex::average_down 37 37 464 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 24 B 400 B FabArray::norminf() 501 501 9 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): 12049 Free GPU global memory (MB): 2109 [The Arena] space allocated (MB): 9037 [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.07-16-gdcb9cc0383dc) finalized