Initializing AMReX (24.06-16-g1f038e767011)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-16-g1f038e767011) initialized Starting run at 07:49:26 UTC on 2024-06-19. Successfully read inputs file ... Castro git describe: 24.06-13-gbf363d809 AMReX git describe: 24.06-16-g1f038e767 Microphysics git describe: 24.06-10-g30469dd4 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.048117362 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.026506178 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.061376382 [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.049433101 [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.072731102 [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.0746026 [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.078263996 [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.05195735 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.061277667 [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.073487889 [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.079267319 [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.063884673 [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.057961154 [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.068314806 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025619482 seconds Ending run at 07:49:27 UTC on 2024-06-19. Run time = 0.948313396 Run time without initialization = 0.818932289 Average number of zones advanced per microsecond: 3.201 Average number of zones advanced per microsecond per rank: 3.201 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9484 ... 0.9484 ... 0.9484 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2745 0.2745 0.2745 28.94% VisMF::Write(FabArray) 11 0.2121 0.2121 0.2121 22.37% MLCellLinOp::applyBC() 4351 0.08367 0.08367 0.08367 8.82% MLPoisson::Fsmooth() 3280 0.03482 0.03482 0.03482 3.67% FillBoundary_nowait() 3941 0.03299 0.03299 0.03299 3.48% StateData::FillBoundary(geom) 328 0.02672 0.02672 0.02672 2.82% amrex::Dot() 1114 0.02203 0.02203 0.02203 2.32% FabArray::norminf() 1061 0.02042 0.02042 0.02042 2.15% Castro::normalize_species() 62 0.01875 0.01875 0.01875 1.98% MLCellLinOp::defineAuxData() 11 0.01806 0.01806 0.01806 1.90% Castro::computeTemp() 63 0.01558 0.01558 0.01558 1.64% FabArray::ParallelCopy_nowait() 861 0.01392 0.01392 0.01392 1.47% FabArray::setVal() 1062 0.01379 0.01379 0.01379 1.45% FabArray::Saxpy() 1370 0.01346 0.01346 0.01346 1.42% Castro::enforce_min_density() 62 0.01234 0.01234 0.01234 1.30% StateDataPhysBCFunct::() 41 0.01194 0.01194 0.01194 1.26% amrex::Copy() 472 0.01113 0.01113 0.01113 1.17% MLPoisson::Fapply() 1060 0.01063 0.01063 0.01063 1.12% Gravity::fill_multipole_BCs() 11 0.009588 0.009588 0.009588 1.01% FabArray::Xpay() 739 0.008122 0.008122 0.008122 0.86% MLMG::addInterpCorrection() 410 0.007252 0.007252 0.007252 0.76% amrex::average_down 410 0.006394 0.006394 0.006394 0.67% Castro::estTimeStep() 21 0.006254 0.006254 0.006254 0.66% Castro::reset_internal_energy(MultiFab) 63 0.006064 0.006064 0.006064 0.64% Amr::checkPoint() 3 0.006058 0.006058 0.006058 0.64% BndryData::define() 11 0.004048 0.004048 0.004048 0.43% amrex::Add() 82 0.003753 0.003753 0.003753 0.40% Castro::construct_new_gravity_source() 10 0.003656 0.003656 0.003656 0.39% Castro::construct_old_gravity_source() 10 0.002938 0.002938 0.002938 0.31% Castro::enforce_speed_limit() 62 0.002724 0.002724 0.002724 0.29% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001909 0.001909 0.001909 0.20% Amr::writePlotFile() 2 0.001867 0.001867 0.001867 0.20% MLCGSolver::bicgstab 82 0.001731 0.001731 0.001731 0.18% check_for_negative_density() 10 0.001708 0.001708 0.001708 0.18% Castro::reset_internal_energy(Fab) 504 0.001681 0.001681 0.001681 0.18% Castro::initData() 1 0.00168 0.00168 0.00168 0.18% MLCellLinOp::setLevelBC() 11 0.001653 0.001653 0.001653 0.17% Gravity::actual_solve_with_mlmg() 11 0.001612 0.001612 0.001612 0.17% FabArray::mult() 43 0.001403 0.001403 0.001403 0.15% FabArray::setDomainBndry() 41 0.001387 0.001387 0.001387 0.15% MLCellLinOp::prepareForSolve() 11 0.001343 0.001343 0.001343 0.14% MultiFab::contains_nan() 20 0.00131 0.00131 0.00131 0.14% MLCellLinOp::smooth() 1640 0.0012 0.0012 0.0012 0.13% MLCellLinOp::compGrad() 11 0.001095 0.001095 0.001095 0.12% MLMG::prepareForSolve() 11 0.001017 0.001017 0.001017 0.11% FabArrayBase::getCPC() 1323 0.0008723 0.0008723 0.0008723 0.09% FabArray::FillBoundary() 3941 0.0008037 0.0008037 0.0008037 0.08% Gravity::get_new_grav_vector() 11 0.0006156 0.0006156 0.0006156 0.06% Gravity::get_old_grav_vector() 10 0.0004857 0.0004857 0.0004857 0.05% MLCellLinOp::apply() 1060 0.0004585 0.0004585 0.0004585 0.05% AmrLevel::FillPatch() 41 0.00042 0.00042 0.00042 0.04% Amr::coarseTimeStep() 10 0.0003944 0.0003944 0.0003944 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003443 0.0003443 0.0003443 0.04% main() 1 0.000295 0.000295 0.000295 0.03% MLCellLinOp::defineBC() 11 0.0002905 0.0002905 0.0002905 0.03% FabArray::ParallelCopy() 861 0.0002537 0.0002537 0.0002537 0.03% Castro::subcycle_advance_ctu() 10 0.0002228 0.0002228 0.0002228 0.02% FillPatchIterator::Initialize 41 0.0002174 0.0002174 0.0002174 0.02% MLMG::mgVcycle() 82 0.0002055 0.0002055 0.0002055 0.02% MLCellLinOp::correctionResidual() 410 0.0001865 0.0001865 0.0001865 0.02% Amr::timeStep() 10 0.0001771 0.0001771 0.0001771 0.02% Castro::advance() 10 0.0001377 0.0001377 0.0001377 0.01% MLMG:computeResOfCorrection() 410 0.0001352 0.0001352 0.0001352 0.01% StateData::checkPoint() 12 0.0001184 0.0001184 0.0001184 0.01% Gravity::solve_for_phi() 10 0.0001098 0.0001098 0.0001098 0.01% MLMG::mgVcycle_down::0 82 9.961e-05 9.961e-05 9.961e-05 0.01% MLMG::actualBottomSolve() 82 9.334e-05 9.334e-05 9.334e-05 0.01% Castro::construct_new_source() 50 8.578e-05 8.578e-05 8.578e-05 0.01% Castro::initialize_advance() 10 8.127e-05 8.127e-05 8.127e-05 0.01% MLMG::mgVcycle_down::1 82 8.006e-05 8.006e-05 8.006e-05 0.01% MLMG::mgVcycle_down::2 82 7.856e-05 7.856e-05 7.856e-05 0.01% MLMG::solve() 11 7.853e-05 7.853e-05 7.853e-05 0.01% MLMG::mgVcycle_down::4 82 7.597e-05 7.597e-05 7.597e-05 0.01% Castro::clean_state() 62 7.301e-05 7.301e-05 7.301e-05 0.01% MLMG::mgVcycle_down::3 82 7.24e-05 7.24e-05 7.24e-05 0.01% AmrLevel::checkPoint() 3 6.915e-05 6.915e-05 6.915e-05 0.01% Castro::do_advance_ctu() 10 6.428e-05 6.428e-05 6.428e-05 0.01% Castro::initialize_do_advance() 10 6.031e-05 6.031e-05 6.031e-05 0.01% MLMG::mgVcycle_up::4 82 5.857e-05 5.857e-05 5.857e-05 0.01% MLMG::oneIter() 82 5.498e-05 5.498e-05 5.498e-05 0.01% MLMG::mgVcycle_up::0 82 5.065e-05 5.065e-05 5.065e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.976e-05 4.976e-05 4.976e-05 0.01% MLMG::mgVcycle_up::3 82 4.918e-05 4.918e-05 4.918e-05 0.01% MLMG::mgVcycle_up::1 82 4.883e-05 4.883e-05 4.883e-05 0.01% Castro::finalize_do_advance() 10 4.844e-05 4.844e-05 4.844e-05 0.01% MLMG::mgVcycle_up::2 82 4.772e-05 4.772e-05 4.772e-05 0.01% MLCellLinOp::solutionResidual() 93 4.655e-05 4.655e-05 4.655e-05 0.00% Castro::post_timestep() 10 4.167e-05 4.167e-05 4.167e-05 0.00% FillPatchSingleLevel 41 3.81e-05 3.81e-05 3.81e-05 0.00% MLPoisson::define() 11 3.73e-05 3.73e-05 3.73e-05 0.00% MLMG::mgVcycle_bottom 82 3.468e-05 3.468e-05 3.468e-05 0.00% MLMG::computeResidual() 82 3.409e-05 3.409e-05 3.409e-05 0.00% MLMG::ResNormInf() 93 3.356e-05 3.356e-05 3.356e-05 0.00% Castro::construct_new_gravity() 10 3.046e-05 3.046e-05 3.046e-05 0.00% Amr::defBaseLevel() 1 2.871e-05 2.871e-05 2.871e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.539e-05 2.539e-05 2.539e-05 0.00% Castro::do_new_sources() 10 2.213e-05 2.213e-05 2.213e-05 0.00% Castro::do_old_sources() 10 2.113e-05 2.113e-05 2.113e-05 0.00% Castro::construct_old_source() 50 2.071e-05 2.071e-05 2.071e-05 0.00% Amr::FinalizeInit() 1 1.894e-05 1.894e-05 1.894e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.672e-05 1.672e-05 1.672e-05 0.00% Castro::construct_old_gravity() 10 1.283e-05 1.283e-05 1.283e-05 0.00% Castro::apply_source_to_state() 20 1.216e-05 1.216e-05 1.216e-05 0.00% MLMG::computeMLResidual() 11 1.17e-05 1.17e-05 1.17e-05 0.00% Castro::check_for_nan() 20 1.127e-05 1.127e-05 1.127e-05 0.00% Castro::post_init() 1 1.007e-05 1.007e-05 1.007e-05 0.00% MLPoisson::prepareForSolve() 11 9.255e-06 9.255e-06 9.255e-06 0.00% Amr::InitializeInit() 1 8.522e-06 8.522e-06 8.522e-06 0.00% Gravity::actual_multilevel_solve() 1 7.948e-06 7.948e-06 7.948e-06 0.00% Castro::computeNewDt() 9 7.825e-06 7.825e-06 7.825e-06 0.00% MLMG::getGradSolution() 11 6.527e-06 6.527e-06 6.527e-06 0.00% Castro::expand_state() 10 5.642e-06 5.642e-06 5.642e-06 0.00% Amr::init() 1 2.725e-06 2.725e-06 2.725e-06 0.00% Amr::initialInit() 1 1.193e-06 1.193e-06 1.193e-06 0.00% Other 4753 0.003304 0.003304 0.003304 0.35% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9483 0.9483 0.9483 100.00% Amr::coarseTimeStep() 10 0.793 0.793 0.793 83.62% Amr::timeStep() 10 0.6689 0.6689 0.6689 70.53% Castro::advance() 10 0.658 0.658 0.658 69.39% Castro::subcycle_advance_ctu() 10 0.6444 0.6444 0.6444 67.95% Castro::do_advance_ctu() 10 0.6442 0.6442 0.6442 67.93% Gravity::solve_phi_with_mlmg() 11 0.3129 0.3129 0.3129 33.00% Gravity::actual_solve_with_mlmg() 11 0.3028 0.3028 0.3028 31.93% Castro::construct_ctu_hydro_source() 10 0.2855 0.2855 0.2855 30.10% Castro::construct_new_gravity() 10 0.2848 0.2848 0.2848 30.03% MLMG::solve() 11 0.2726 0.2726 0.2726 28.75% Gravity::solve_for_phi() 10 0.2687 0.2687 0.2687 28.33% MLMG::oneIter() 82 0.2565 0.2565 0.2565 27.05% MLMG::mgVcycle() 82 0.2527 0.2527 0.2527 26.64% VisMF::Write(FabArray) 11 0.2121 0.2121 0.2121 22.37% Amr::checkPoint() 3 0.1685 0.1685 0.1685 17.77% AmrLevel::checkPoint() 3 0.1625 0.1625 0.1625 17.13% StateData::checkPoint() 12 0.1624 0.1624 0.1624 17.12% Amr::init() 1 0.1288 0.1288 0.1288 13.58% MLCellLinOp::smooth() 1640 0.127 0.127 0.127 13.39% MLCellLinOp::applyBC() 4351 0.1182 0.1182 0.1182 12.46% MLMG::mgVcycle_bottom 82 0.07496 0.07496 0.07496 7.90% MLMG::actualBottomSolve() 82 0.07492 0.07492 0.07492 7.90% MLCGSolver::bicgstab 82 0.07406 0.07406 0.07406 7.81% Castro::clean_state() 62 0.05632 0.05632 0.05632 5.94% Amr::initialInit() 1 0.05405 0.05405 0.05405 5.70% Amr::writePlotFile() 2 0.05226 0.05226 0.05226 5.51% Amr::FinalizeInit() 1 0.04887 0.04887 0.04887 5.15% AmrLevel::FillPatch() 41 0.04881 0.04881 0.04881 5.15% Castro::post_init() 1 0.04731 0.04731 0.04731 4.99% Gravity::multilevel_solve_for_new_phi() 1 0.04469 0.04469 0.04469 4.71% Gravity::actual_multilevel_solve() 1 0.04467 0.04467 0.04467 4.71% FillPatchIterator::Initialize 41 0.04449 0.04449 0.04449 4.69% FillPatchIterator::FillFromLevel0() 41 0.04289 0.04289 0.04289 4.52% FillPatchSingleLevel 41 0.04284 0.04284 0.04284 4.52% StateDataPhysBCFunct::() 41 0.03867 0.03867 0.03867 4.08% MLCellLinOp::apply() 1060 0.03776 0.03776 0.03776 3.98% MLMG::mgVcycle_down::0 82 0.0364 0.0364 0.0364 3.84% MLPoisson::Fsmooth() 3280 0.03482 0.03482 0.03482 3.67% FabArray::FillBoundary() 3941 0.03453 0.03453 0.03453 3.64% FillBoundary_nowait() 3941 0.03372 0.03372 0.03372 3.56% MLMG::mgVcycle_up::0 82 0.02757 0.02757 0.02757 2.91% StateData::FillBoundary(geom) 328 0.02672 0.02672 0.02672 2.82% MLPoisson::define() 11 0.0253 0.0253 0.0253 2.67% Castro::computeTemp() 63 0.02332 0.02332 0.02332 2.46% amrex::Dot() 1114 0.02203 0.02203 0.02203 2.32% Castro::initialize_do_advance() 10 0.02189 0.02189 0.02189 2.31% MLMG:computeResOfCorrection() 410 0.02124 0.02124 0.02124 2.24% MLCellLinOp::correctionResidual() 410 0.02111 0.02111 0.02111 2.23% FabArray::norminf() 1061 0.02042 0.02042 0.02042 2.15% MLCellLinOp::defineAuxData() 11 0.01961 0.01961 0.01961 2.07% Castro::do_old_sources() 10 0.01922 0.01922 0.01922 2.03% Castro::normalize_species() 62 0.01875 0.01875 0.01875 1.98% Gravity::get_new_grav_vector() 11 0.01823 0.01823 0.01823 1.92% MLMG::mgVcycle_down::1 82 0.01726 0.01726 0.01726 1.82% MLMG::mgVcycle_down::2 82 0.01605 0.01605 0.01605 1.69% Castro::construct_old_gravity() 10 0.01582 0.01582 0.01582 1.67% Gravity::get_old_grav_vector() 10 0.01581 0.01581 0.01581 1.67% MLMG::mgVcycle_down::3 82 0.01567 0.01567 0.01567 1.65% MLMG::mgVcycle_down::4 82 0.0155 0.0155 0.0155 1.63% FabArray::ParallelCopy() 861 0.01504 0.01504 0.01504 1.59% FabArray::ParallelCopy_nowait() 861 0.01479 0.01479 0.01479 1.56% FabArray::setVal() 1062 0.01379 0.01379 0.01379 1.45% FabArray::Saxpy() 1370 0.01346 0.01346 0.01346 1.42% Castro::do_new_sources() 10 0.01339 0.01339 0.01339 1.41% MLCGSolver::ParallelAllReduce 1832 0.01319 0.01319 0.01319 1.39% Castro::initialize_advance() 10 0.01282 0.01282 0.01282 1.35% MLMG::addInterpCorrection() 410 0.0127 0.0127 0.0127 1.34% MLMG::mgVcycle_up::1 82 0.01251 0.01251 0.01251 1.32% MLMG::mgVcycle_up::4 82 0.0124 0.0124 0.0124 1.31% Castro::enforce_min_density() 62 0.01234 0.01234 0.01234 1.30% MLMG::mgVcycle_up::2 82 0.01219 0.01219 0.01219 1.29% Castro::expand_state() 10 0.01202 0.01202 0.01202 1.27% MLMG::mgVcycle_up::3 82 0.01197 0.01197 0.01197 1.26% amrex::average_down 410 0.01185 0.01185 0.01185 1.25% amrex::Copy() 472 0.01113 0.01113 0.01113 1.17% Castro::post_timestep() 10 0.01067 0.01067 0.01067 1.12% MLPoisson::Fapply() 1060 0.01063 0.01063 0.01063 1.12% Gravity::fill_multipole_BCs() 11 0.009844 0.009844 0.009844 1.04% MLCellLinOp::solutionResidual() 93 0.008155 0.008155 0.008155 0.86% FabArray::Xpay() 739 0.008122 0.008122 0.008122 0.86% Castro::reset_internal_energy(MultiFab) 63 0.007745 0.007745 0.007745 0.82% MLMG::computeResidual() 82 0.006844 0.006844 0.006844 0.72% Castro::estTimeStep() 21 0.006254 0.006254 0.006254 0.66% MLCellLinOp::defineBC() 11 0.0054 0.0054 0.0054 0.57% MLMG::prepareForSolve() 11 0.005339 0.005339 0.005339 0.56% Amr::InitializeInit() 1 0.00518 0.00518 0.00518 0.55% Amr::defBaseLevel() 1 0.005171 0.005171 0.005171 0.55% BndryData::define() 11 0.00511 0.00511 0.00511 0.54% Castro::initData() 1 0.004511 0.004511 0.004511 0.48% amrex::Add() 82 0.003753 0.003753 0.003753 0.40% Castro::construct_new_source() 50 0.003742 0.003742 0.003742 0.39% Castro::construct_new_gravity_source() 10 0.003656 0.003656 0.003656 0.39% Castro::construct_old_source() 50 0.002959 0.002959 0.002959 0.31% Castro::construct_old_gravity_source() 10 0.002938 0.002938 0.002938 0.31% Castro::enforce_speed_limit() 62 0.002724 0.002724 0.002724 0.29% Castro::computeNewDt() 9 0.00266 0.00266 0.00266 0.28% Castro::finalize_do_advance() 10 0.002634 0.002634 0.002634 0.28% MLMG::ResNormInf() 93 0.002289 0.002289 0.002289 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001909 0.001909 0.001909 0.20% Castro::apply_source_to_state() 20 0.001904 0.001904 0.001904 0.20% check_for_negative_density() 10 0.001708 0.001708 0.001708 0.18% Castro::reset_internal_energy(Fab) 504 0.001681 0.001681 0.001681 0.18% MLCellLinOp::setLevelBC() 11 0.001653 0.001653 0.001653 0.17% MLMG::getGradSolution() 11 0.00164 0.00164 0.00164 0.17% MLCellLinOp::compGrad() 11 0.001634 0.001634 0.001634 0.17% FabArrayBase::getCPC() 1323 0.001568 0.001568 0.001568 0.17% FabArray::mult() 43 0.001403 0.001403 0.001403 0.15% FabArray::setDomainBndry() 41 0.001387 0.001387 0.001387 0.15% MLMG::computeMLResidual() 11 0.001357 0.001357 0.001357 0.14% MLPoisson::prepareForSolve() 11 0.001352 0.001352 0.001352 0.14% MLCellLinOp::prepareForSolve() 11 0.001343 0.001343 0.001343 0.14% Castro::check_for_nan() 20 0.001322 0.001322 0.001322 0.14% MultiFab::contains_nan() 20 0.00131 0.00131 0.00131 0.14% Other 4753 0.009337 0.009337 0.009337 0.98% -------------------------------------------------------------------------------------------- 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 5375 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 997 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1547 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 3535 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 199 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 170 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7518 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2129 B 2048 KiB Gravity::solve_for_phi() 80 80 579 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 96 KiB 2048 KiB BndryData::define() 1056 1056 323 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 209 KiB 671 KiB Castro::estTimeStep() 21 21 3216 B 480 KiB VisMF::Write(FabArray) 656 656 3340 B 320 KiB Castro::normalize_species() 62 62 6433 B 320 KiB amrex::average_down 1067 1067 1582 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1144 B 257 KiB amrex::Dot() 1360 1360 3432 B 160 KiB FabArray::norminf() 1143 1143 3329 B 160 KiB check_for_negative_density() 10 10 288 B 160 KiB Castro::initData() 1 1 49 B 160 KiB MultiFab::max() 11 11 56 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3451 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 302 B 9648 B MLCellLinOp::applyBC() 8702 8702 219 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3930 B 6144 B StateData::FillBoundary(geom) 1992 1992 40 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 364 B 1248 B MLCGSolver::bicgstab 410 410 94 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 696 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 38 KiB 8192 KiB VisMF::Write(FabArray) 744 744 439 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3451 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 302 B 9648 B MLCellLinOp::applyBC() 4351 4351 217 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3930 B 6144 B Gravity::get_new_grav_vector() 3 3 2899 B 3072 B StateData::FillBoundary(geom) 1992 1992 40 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 83 83 617 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 294 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 1143 1143 9 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.06-16-g1f038e767011) finalized Initializing AMReX (24.06-16-g1f038e767011)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-16-g1f038e767011) initialized Starting run at 07:49:28 UTC on 2024-06-19. Successfully read inputs file ... Castro git describe: 24.06-13-gbf363d809 AMReX git describe: 24.06-16-g1f038e767 Microphysics git describe: 24.06-10-g30469dd4 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.517797189 Restart time = 0.072662027 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.071472632 [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.05890037 [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.072428528 [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.073050718 [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.068772211 [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.028742786 seconds Ending run at 07:49:28 UTC on 2024-06-19. Run time = 0.44703148 Run time without initialization = 0.373809777 Average number of zones advanced per microsecond: 3.506 Average number of zones advanced per microsecond per rank: 3.506 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4471 ... 0.4471 ... 0.4471 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1458 0.1458 0.1458 32.62% VisMF::Read() 3 0.06135 0.06135 0.06135 13.72% MLCellLinOp::applyBC() 1910 0.0366 0.0366 0.0366 8.19% VisMF::Write(FabArray) 1 0.02622 0.02622 0.02622 5.87% MLPoisson::Fsmooth() 1440 0.01538 0.01538 0.01538 3.44% FillBoundary_nowait() 1730 0.01511 0.01511 0.01511 3.38% StateData::FillBoundary(geom) 160 0.01251 0.01251 0.01251 2.80% Castro::normalize_species() 30 0.01037 0.01037 0.01037 2.32% amrex::Dot() 484 0.009362 0.009362 0.009362 2.09% FabArray::norminf() 465 0.008888 0.008888 0.008888 1.99% Castro::computeTemp() 30 0.007098 0.007098 0.007098 1.59% Castro::enforce_min_density() 30 0.00685 0.00685 0.00685 1.53% FabArray::setVal() 501 0.00682 0.00682 0.00682 1.53% FabArray::ParallelCopy_nowait() 380 0.006268 0.006268 0.006268 1.40% FabArray::Saxpy() 597 0.005974 0.005974 0.005974 1.34% amrex::Copy() 221 0.00562 0.00562 0.00562 1.26% MLCellLinOp::defineAuxData() 6 0.005616 0.005616 0.005616 1.26% Gravity::fill_multipole_BCs() 6 0.005481 0.005481 0.005481 1.23% StateDataPhysBCFunct::() 20 0.005347 0.005347 0.005347 1.20% Amr::restart() 1 0.004817 0.004817 0.004817 1.08% MLPoisson::Fapply() 464 0.004644 0.004644 0.004644 1.04% FabArray::Xpay() 325 0.003569 0.003569 0.003569 0.80% MLMG::addInterpCorrection() 180 0.003244 0.003244 0.003244 0.73% Castro::estTimeStep() 10 0.003023 0.003023 0.003023 0.68% amrex::average_down 180 0.00285 0.00285 0.00285 0.64% Amr::writePlotFile() 1 0.002361 0.002361 0.002361 0.53% BndryData::define() 6 0.002171 0.002171 0.002171 0.49% Castro::reset_internal_energy(MultiFab) 30 0.002077 0.002077 0.002077 0.46% Castro::construct_new_gravity_source() 5 0.001888 0.001888 0.001888 0.42% amrex::Add() 36 0.001644 0.001644 0.001644 0.37% Castro::construct_old_gravity_source() 5 0.001571 0.001571 0.001571 0.35% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009952 0.0009952 0.0009952 0.22% MLCellLinOp::setLevelBC() 6 0.0008948 0.0008948 0.0008948 0.20% check_for_negative_density() 5 0.0008877 0.0008877 0.0008877 0.20% Gravity::actual_solve_with_mlmg() 6 0.000832 0.000832 0.000832 0.19% MLCellLinOp::prepareForSolve() 6 0.0007561 0.0007561 0.0007561 0.17% Castro::reset_internal_energy(Fab) 240 0.0007531 0.0007531 0.0007531 0.17% MLCGSolver::bicgstab 36 0.0007342 0.0007342 0.0007342 0.16% FabArray::setDomainBndry() 20 0.0007109 0.0007109 0.0007109 0.16% FabArray::mult() 22 0.0007105 0.0007105 0.0007105 0.16% MLCellLinOp::compGrad() 6 0.0006365 0.0006365 0.0006365 0.14% MLMG::prepareForSolve() 6 0.0005658 0.0005658 0.0005658 0.13% MLCellLinOp::smooth() 720 0.0005104 0.0005104 0.0005104 0.11% FabArrayBase::getCPC() 632 0.0003936 0.0003936 0.0003936 0.09% FabArray::FillBoundary() 1730 0.0003368 0.0003368 0.0003368 0.08% Gravity::get_old_grav_vector() 5 0.0003362 0.0003362 0.0003362 0.08% Gravity::get_new_grav_vector() 5 0.0002938 0.0002938 0.0002938 0.07% main() 1 0.0002762 0.0002762 0.0002762 0.06% AmrLevel::FillPatch() 20 0.0002079 0.0002079 0.0002079 0.05% MLCellLinOp::apply() 464 0.0001991 0.0001991 0.0001991 0.04% Amr::coarseTimeStep() 5 0.0001629 0.0001629 0.0001629 0.04% MLCellLinOp::defineBC() 6 0.0001491 0.0001491 0.0001491 0.03% MLCGSolver::ParallelAllReduce 798 0.0001414 0.0001414 0.0001414 0.03% Castro::subcycle_advance_ctu() 5 0.0001267 0.0001267 0.0001267 0.03% FabArray::ParallelCopy() 380 0.0001095 0.0001095 0.0001095 0.02% FillPatchIterator::Initialize 20 9.982e-05 9.982e-05 9.982e-05 0.02% Amr::timeStep() 5 9.425e-05 9.425e-05 9.425e-05 0.02% Castro::advance() 5 8.999e-05 8.999e-05 8.999e-05 0.02% Castro::construct_new_source() 25 8.924e-05 8.924e-05 8.924e-05 0.02% MLMG::mgVcycle() 36 8.736e-05 8.736e-05 8.736e-05 0.02% AmrLevel::restart() 1 7.596e-05 7.596e-05 7.596e-05 0.02% MLCellLinOp::correctionResidual() 180 7.571e-05 7.571e-05 7.571e-05 0.02% Gravity::update_max_rhs() 6 7.28e-05 7.28e-05 7.28e-05 0.02% Castro::initialize_do_advance() 5 6.76e-05 6.76e-05 6.76e-05 0.02% StateData::restartDoit() 4 6.552e-05 6.552e-05 6.552e-05 0.01% MLMG:computeResOfCorrection() 180 5.343e-05 5.343e-05 5.343e-05 0.01% Gravity::solve_for_phi() 5 4.847e-05 4.847e-05 4.847e-05 0.01% Castro::finalize_do_advance() 5 4.663e-05 4.663e-05 4.663e-05 0.01% Castro::do_advance_ctu() 5 4.569e-05 4.569e-05 4.569e-05 0.01% Castro::post_timestep() 5 3.957e-05 3.957e-05 3.957e-05 0.01% MLMG::actualBottomSolve() 36 3.935e-05 3.935e-05 3.935e-05 0.01% MLMG::mgVcycle_down::0 36 3.743e-05 3.743e-05 3.743e-05 0.01% Castro::initialize_advance() 5 3.619e-05 3.619e-05 3.619e-05 0.01% MLMG::mgVcycle_down::1 36 3.562e-05 3.562e-05 3.562e-05 0.01% MLMG::solve() 6 3.464e-05 3.464e-05 3.464e-05 0.01% MLMG::mgVcycle_down::2 36 3.352e-05 3.352e-05 3.352e-05 0.01% MLMG::mgVcycle_down::4 36 3.209e-05 3.209e-05 3.209e-05 0.01% Castro::clean_state() 30 3.19e-05 3.19e-05 3.19e-05 0.01% MLMG::mgVcycle_down::3 36 3.09e-05 3.09e-05 3.09e-05 0.01% MLPoisson::define() 6 2.853e-05 2.853e-05 2.853e-05 0.01% Castro::post_restart() 1 2.83e-05 2.83e-05 2.83e-05 0.01% Castro::construct_old_source() 25 2.774e-05 2.774e-05 2.774e-05 0.01% MLMG::mgVcycle_up::4 36 2.68e-05 2.68e-05 2.68e-05 0.01% MLMG::oneIter() 36 2.489e-05 2.489e-05 2.489e-05 0.01% MLMG::mgVcycle_up::3 36 2.229e-05 2.229e-05 2.229e-05 0.00% MLCellLinOp::solutionResidual() 42 2.217e-05 2.217e-05 2.217e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.127e-05 2.127e-05 2.127e-05 0.00% MLMG::mgVcycle_up::0 36 2.046e-05 2.046e-05 2.046e-05 0.00% MLMG::mgVcycle_up::2 36 2.031e-05 2.031e-05 2.031e-05 0.00% MLMG::mgVcycle_bottom 36 2.01e-05 2.01e-05 2.01e-05 0.00% MLMG::mgVcycle_up::1 36 1.969e-05 1.969e-05 1.969e-05 0.00% FillPatchSingleLevel 20 1.702e-05 1.702e-05 1.702e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.642e-05 1.642e-05 1.642e-05 0.00% MLMG::ResNormInf() 42 1.601e-05 1.601e-05 1.601e-05 0.00% MLMG::computeResidual() 36 1.441e-05 1.441e-05 1.441e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.343e-05 1.343e-05 1.343e-05 0.00% Castro::construct_new_gravity() 5 1.183e-05 1.183e-05 1.183e-05 0.00% Castro::do_old_sources() 5 1.089e-05 1.089e-05 1.089e-05 0.00% Castro::do_new_sources() 5 9.888e-06 9.888e-06 9.888e-06 0.00% Gravity::actual_multilevel_solve() 1 8.31e-06 8.31e-06 8.31e-06 0.00% Castro::construct_old_gravity() 5 6.232e-06 6.232e-06 6.232e-06 0.00% Castro::apply_source_to_state() 10 5.945e-06 5.945e-06 5.945e-06 0.00% Castro::check_for_nan() 10 5.701e-06 5.701e-06 5.701e-06 0.00% MLPoisson::prepareForSolve() 6 4.991e-06 4.991e-06 4.991e-06 0.00% MLMG::computeMLResidual() 6 4.09e-06 4.09e-06 4.09e-06 0.00% MLMG::getGradSolution() 6 3.301e-06 3.301e-06 3.301e-06 0.00% Castro::computeNewDt() 5 3.211e-06 3.211e-06 3.211e-06 0.00% Castro::expand_state() 5 3.115e-06 3.115e-06 3.115e-06 0.00% Amr::init() 1 8.72e-07 8.72e-07 8.72e-07 0.00% Other 2190 0.002972 0.002972 0.002972 0.66% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.447 0.447 0.447 100.00% Amr::coarseTimeStep() 5 0.3448 0.3448 0.3448 77.12% Amr::timeStep() 5 0.3428 0.3428 0.3428 76.67% Castro::advance() 5 0.3375 0.3375 0.3375 75.49% Castro::subcycle_advance_ctu() 5 0.3302 0.3302 0.3302 73.87% Castro::do_advance_ctu() 5 0.3301 0.3301 0.3301 73.84% Castro::construct_ctu_hydro_source() 5 0.151 0.151 0.151 33.78% Castro::construct_new_gravity() 5 0.1411 0.1411 0.1411 31.55% Gravity::solve_phi_with_mlmg() 6 0.1383 0.1383 0.1383 30.94% Gravity::solve_for_phi() 5 0.133 0.133 0.133 29.74% Gravity::actual_solve_with_mlmg() 6 0.1326 0.1326 0.1326 29.65% MLMG::solve() 6 0.1204 0.1204 0.1204 26.93% MLMG::oneIter() 36 0.1123 0.1123 0.1123 25.13% MLMG::mgVcycle() 36 0.1107 0.1107 0.1107 24.75% Amr::init() 1 0.07271 0.07271 0.07271 16.26% Amr::restart() 1 0.07271 0.07271 0.07271 16.26% AmrLevel::restart() 1 0.06172 0.06172 0.06172 13.81% StateData::restartDoit() 4 0.06164 0.06164 0.06164 13.79% VisMF::Read() 3 0.06135 0.06135 0.06135 13.72% MLCellLinOp::smooth() 720 0.05608 0.05608 0.05608 12.54% MLCellLinOp::applyBC() 1910 0.05239 0.05239 0.05239 11.72% MLMG::mgVcycle_bottom 36 0.03223 0.03223 0.03223 7.21% MLMG::actualBottomSolve() 36 0.03221 0.03221 0.03221 7.21% MLCGSolver::bicgstab 36 0.03184 0.03184 0.03184 7.12% Amr::writePlotFile() 1 0.02885 0.02885 0.02885 6.45% Castro::clean_state() 30 0.02767 0.02767 0.02767 6.19% VisMF::Write(FabArray) 1 0.02622 0.02622 0.02622 5.87% AmrLevel::FillPatch() 20 0.02291 0.02291 0.02291 5.12% FillPatchIterator::Initialize 20 0.02077 0.02077 0.02077 4.65% FillPatchIterator::FillFromLevel0() 20 0.01996 0.01996 0.01996 4.46% FillPatchSingleLevel 20 0.01994 0.01994 0.01994 4.46% StateDataPhysBCFunct::() 20 0.01786 0.01786 0.01786 3.99% MLCellLinOp::apply() 464 0.01674 0.01674 0.01674 3.74% MLMG::mgVcycle_down::0 36 0.01652 0.01652 0.01652 3.69% FabArray::FillBoundary() 1730 0.01579 0.01579 0.01579 3.53% FillBoundary_nowait() 1730 0.01545 0.01545 0.01545 3.46% MLPoisson::Fsmooth() 1440 0.01538 0.01538 0.01538 3.44% StateData::FillBoundary(geom) 160 0.01251 0.01251 0.01251 2.80% MLMG::mgVcycle_up::0 36 0.01237 0.01237 0.01237 2.77% Castro::initialize_do_advance() 5 0.01151 0.01151 0.01151 2.57% Castro::normalize_species() 30 0.01037 0.01037 0.01037 2.32% Castro::computeTemp() 30 0.009928 0.009928 0.009928 2.22% MLPoisson::define() 6 0.009523 0.009523 0.009523 2.13% Castro::do_old_sources() 5 0.009473 0.009473 0.009473 2.12% MLMG:computeResOfCorrection() 180 0.009373 0.009373 0.009373 2.10% amrex::Dot() 484 0.009362 0.009362 0.009362 2.09% MLCellLinOp::correctionResidual() 180 0.00932 0.00932 0.00932 2.08% FabArray::norminf() 465 0.008888 0.008888 0.008888 1.99% Gravity::get_new_grav_vector() 5 0.00796 0.00796 0.00796 1.78% Castro::do_new_sources() 5 0.007675 0.007675 0.007675 1.72% Castro::construct_old_gravity() 5 0.007627 0.007627 0.007627 1.71% Gravity::get_old_grav_vector() 5 0.007621 0.007621 0.007621 1.70% MLMG::mgVcycle_down::1 36 0.007588 0.007588 0.007588 1.70% MLMG::mgVcycle_down::2 36 0.006976 0.006976 0.006976 1.56% Castro::initialize_advance() 5 0.006867 0.006867 0.006867 1.54% Castro::enforce_min_density() 30 0.00685 0.00685 0.00685 1.53% FabArray::setVal() 501 0.00682 0.00682 0.00682 1.53% FabArray::ParallelCopy() 380 0.006799 0.006799 0.006799 1.52% MLMG::mgVcycle_down::3 36 0.006795 0.006795 0.006795 1.52% MLMG::mgVcycle_down::4 36 0.006708 0.006708 0.006708 1.50% FabArray::ParallelCopy_nowait() 380 0.006689 0.006689 0.006689 1.50% MLCellLinOp::defineAuxData() 6 0.006425 0.006425 0.006425 1.44% Castro::expand_state() 5 0.005978 0.005978 0.005978 1.34% FabArray::Saxpy() 597 0.005974 0.005974 0.005974 1.34% Castro::post_restart() 1 0.005963 0.005963 0.005963 1.33% MLCGSolver::ParallelAllReduce 798 0.005649 0.005649 0.005649 1.26% Gravity::fill_multipole_BCs() 6 0.005622 0.005622 0.005622 1.26% amrex::Copy() 221 0.00562 0.00562 0.00562 1.26% MLMG::addInterpCorrection() 180 0.005606 0.005606 0.005606 1.25% Gravity::multilevel_solve_for_new_phi() 1 0.005585 0.005585 0.005585 1.25% Gravity::actual_multilevel_solve() 1 0.005569 0.005569 0.005569 1.25% MLMG::mgVcycle_up::1 36 0.005449 0.005449 0.005449 1.22% MLMG::mgVcycle_up::4 36 0.005442 0.005442 0.005442 1.22% MLMG::mgVcycle_up::2 36 0.005314 0.005314 0.005314 1.19% amrex::average_down 180 0.005223 0.005223 0.005223 1.17% MLMG::mgVcycle_up::3 36 0.005191 0.005191 0.005191 1.16% Castro::post_timestep() 5 0.005173 0.005173 0.005173 1.16% MLPoisson::Fapply() 464 0.004644 0.004644 0.004644 1.04% MLCellLinOp::solutionResidual() 42 0.003836 0.003836 0.003836 0.86% FabArray::Xpay() 325 0.003569 0.003569 0.003569 0.80% Castro::estTimeStep() 10 0.003023 0.003023 0.003023 0.68% MLMG::computeResidual() 36 0.003014 0.003014 0.003014 0.67% MLMG::prepareForSolve() 6 0.00296 0.00296 0.00296 0.66% MLCellLinOp::defineBC() 6 0.002925 0.002925 0.002925 0.65% Castro::reset_internal_energy(MultiFab) 30 0.00283 0.00283 0.00283 0.63% BndryData::define() 6 0.002776 0.002776 0.002776 0.62% Castro::construct_new_source() 25 0.001977 0.001977 0.001977 0.44% Castro::construct_new_gravity_source() 5 0.001888 0.001888 0.001888 0.42% Castro::computeNewDt() 5 0.001841 0.001841 0.001841 0.41% amrex::Add() 36 0.001644 0.001644 0.001644 0.37% Castro::construct_old_source() 25 0.001599 0.001599 0.001599 0.36% Castro::construct_old_gravity_source() 5 0.001571 0.001571 0.001571 0.35% Castro::finalize_do_advance() 5 0.001232 0.001232 0.001232 0.28% MLMG::ResNormInf() 42 0.00105 0.00105 0.00105 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009952 0.0009952 0.0009952 0.22% Castro::apply_source_to_state() 10 0.000966 0.000966 0.000966 0.22% MLMG::getGradSolution() 6 0.0009395 0.0009395 0.0009395 0.21% MLCellLinOp::compGrad() 6 0.0009362 0.0009362 0.0009362 0.21% MLCellLinOp::setLevelBC() 6 0.0008948 0.0008948 0.0008948 0.20% check_for_negative_density() 5 0.0008877 0.0008877 0.0008877 0.20% MLMG::computeMLResidual() 6 0.0008407 0.0008407 0.0008407 0.19% FabArrayBase::getCPC() 632 0.0008393 0.0008393 0.0008393 0.19% MLPoisson::prepareForSolve() 6 0.0007611 0.0007611 0.0007611 0.17% MLCellLinOp::prepareForSolve() 6 0.0007561 0.0007561 0.0007561 0.17% Castro::reset_internal_energy(Fab) 240 0.0007531 0.0007531 0.0007531 0.17% Gravity::update_max_rhs() 6 0.000745 0.000745 0.000745 0.17% FabArray::setDomainBndry() 20 0.0007109 0.0007109 0.0007109 0.16% FabArray::mult() 22 0.0007105 0.0007105 0.0007105 0.16% Castro::check_for_nan() 10 0.0006846 0.0006846 0.0006846 0.15% Other 2190 0.004268 0.004268 0.004268 0.95% -------------------------------------------------------------------------------------------- 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 12 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 1020 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1732 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 6441 KiB 14 MiB MLMG::prepareForSolve() 361 361 3306 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 176 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 182 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6428 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3283 B 2048 KiB Gravity::solve_for_phi() 40 40 608 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 304 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 195 KiB 671 KiB Castro::estTimeStep() 10 10 3227 B 480 KiB VisMF::Write(FabArray) 112 112 1286 B 320 KiB Castro::normalize_species() 30 30 7558 B 320 KiB amrex::average_down 469 469 1395 B 257 KiB MLMG::addInterpCorrection() 468 468 1072 B 257 KiB amrex::Dot() 592 592 3097 B 160 KiB FabArray::norminf() 501 501 3076 B 160 KiB check_for_negative_density() 5 5 318 B 160 KiB MultiFab::max() 6 6 75 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3204 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 295 B 9648 B MLCellLinOp::applyBC() 3820 3820 207 B 9344 B amrex::Copy() 56 56 5879 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 39 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 342 B 1248 B MLCGSolver::bicgstab 180 180 85 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1258 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 82 KiB 8192 KiB VisMF::Write(FabArray) 120 120 166 KiB 3584 KiB VisMF::Read() 24 24 208 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3204 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 294 B 9648 B MLCellLinOp::applyBC() 1910 1910 206 B 9328 B amrex::Copy() 56 56 5879 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2527 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B StateData::FillBoundary(geom) 960 960 40 B 2640 B MLMG::prepareForSolve() 7 7 798 B 1648 B amrex::average_down 37 37 463 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 501 501 8 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.06-16-g1f038e767011) finalized