Initializing AMReX (24.06-16-g1f038e767011)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-16-g1f038e767011) initialized Starting run at 09:10:29 UTC on 2024-06-17. Successfully read inputs file ... Castro git describe: 24.06-8-gf5603db9e 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.047039786 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025793174 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.064540283 [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.051549925 [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.072231565 [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.072304621 [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.068999588 [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.045520218 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.064684532 [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.069123418 [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.07729378 [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.073080722 [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.054524461 [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.087177212 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025592712 seconds Ending run at 09:10:30 UTC on 2024-06-17. Run time = 0.951784556 Run time without initialization = 0.82730721 Average number of zones advanced per microsecond: 3.169 Average number of zones advanced per microsecond per rank: 3.169 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9518 ... 0.9518 ... 0.9518 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2738 0.2738 0.2738 28.76% VisMF::Write(FabArray) 11 0.1811 0.1811 0.1811 19.03% MLCellLinOp::applyBC() 4298 0.08171 0.08171 0.08171 8.58% Amr::checkPoint() 3 0.04766 0.04766 0.04766 5.01% MLPoisson::Fsmooth() 3240 0.03413 0.03413 0.03413 3.59% FillBoundary_nowait() 3893 0.03306 0.03306 0.03306 3.47% StateData::FillBoundary(geom) 328 0.02554 0.02554 0.02554 2.68% amrex::Dot() 1100 0.02144 0.02144 0.02144 2.25% FabArray::norminf() 1048 0.01995 0.01995 0.01995 2.10% Castro::normalize_species() 62 0.01855 0.01855 0.01855 1.95% Castro::computeTemp() 63 0.0156 0.0156 0.0156 1.64% FabArray::Xpay() 730 0.01469 0.01469 0.01469 1.54% FabArray::setVal() 1054 0.01366 0.01366 0.01366 1.44% FabArray::ParallelCopy_nowait() 851 0.01362 0.01362 0.01362 1.43% FabArray::Saxpy() 1353 0.01311 0.01311 0.01311 1.38% StateDataPhysBCFunct::() 41 0.01268 0.01268 0.01268 1.33% Castro::enforce_min_density() 62 0.01261 0.01261 0.01261 1.32% amrex::Copy() 469 0.01104 0.01104 0.01104 1.16% MLPoisson::Fapply() 1047 0.01038 0.01038 0.01038 1.09% MLCellLinOp::defineAuxData() 11 0.01013 0.01013 0.01013 1.06% Gravity::fill_multipole_BCs() 11 0.009543 0.009543 0.009543 1.00% MLMG::addInterpCorrection() 405 0.007069 0.007069 0.007069 0.74% amrex::average_down 405 0.006311 0.006311 0.006311 0.66% Castro::estTimeStep() 21 0.00615 0.00615 0.00615 0.65% Castro::reset_internal_energy(MultiFab) 63 0.005365 0.005365 0.005365 0.56% Castro::enforce_speed_limit() 62 0.004571 0.004571 0.004571 0.48% BndryData::define() 11 0.003895 0.003895 0.003895 0.41% amrex::Add() 81 0.003712 0.003712 0.003712 0.39% Castro::construct_new_gravity_source() 10 0.003587 0.003587 0.003587 0.38% Castro::construct_old_gravity_source() 10 0.003054 0.003054 0.003054 0.32% Castro::initData() 1 0.00233 0.00233 0.00233 0.24% Amr::writePlotFile() 2 0.001804 0.001804 0.001804 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001785 0.001785 0.001785 0.19% check_for_negative_density() 10 0.001693 0.001693 0.001693 0.18% Castro::reset_internal_energy(Fab) 504 0.001641 0.001641 0.001641 0.17% MLCellLinOp::setLevelBC() 11 0.001614 0.001614 0.001614 0.17% MLCGSolver::bicgstab 81 0.001592 0.001592 0.001592 0.17% Gravity::actual_solve_with_mlmg() 11 0.001545 0.001545 0.001545 0.16% FabArray::mult() 43 0.001392 0.001392 0.001392 0.15% FabArray::setDomainBndry() 41 0.001374 0.001374 0.001374 0.14% MLCellLinOp::prepareForSolve() 11 0.001312 0.001312 0.001312 0.14% MultiFab::contains_nan() 20 0.001302 0.001302 0.001302 0.14% MLCellLinOp::smooth() 1620 0.00112 0.00112 0.00112 0.12% MLCellLinOp::compGrad() 11 0.001094 0.001094 0.001094 0.11% MLMG::prepareForSolve() 11 0.0009534 0.0009534 0.0009534 0.10% FabArrayBase::getCPC() 1313 0.0008062 0.0008062 0.0008062 0.08% FabArray::FillBoundary() 3893 0.0007737 0.0007737 0.0007737 0.08% Gravity::get_new_grav_vector() 11 0.0006139 0.0006139 0.0006139 0.06% Gravity::get_old_grav_vector() 10 0.0004773 0.0004773 0.0004773 0.05% MLCellLinOp::apply() 1047 0.000436 0.000436 0.000436 0.05% AmrLevel::FillPatch() 41 0.0004117 0.0004117 0.0004117 0.04% Amr::coarseTimeStep() 10 0.0003552 0.0003552 0.0003552 0.04% MLCGSolver::ParallelAllReduce 1809 0.000321 0.000321 0.000321 0.03% MLCellLinOp::defineBC() 11 0.0002734 0.0002734 0.0002734 0.03% main() 1 0.0002731 0.0002731 0.0002731 0.03% FabArray::ParallelCopy() 851 0.0002558 0.0002558 0.0002558 0.03% Castro::subcycle_advance_ctu() 10 0.0002129 0.0002129 0.0002129 0.02% FillPatchIterator::Initialize 41 0.0002022 0.0002022 0.0002022 0.02% MLMG::mgVcycle() 81 0.0001925 0.0001925 0.0001925 0.02% MLCellLinOp::correctionResidual() 405 0.000176 0.000176 0.000176 0.02% Amr::timeStep() 10 0.0001566 0.0001566 0.0001566 0.02% MLMG:computeResOfCorrection() 405 0.0001372 0.0001372 0.0001372 0.01% StateData::checkPoint() 12 0.0001289 0.0001289 0.0001289 0.01% Castro::advance() 10 0.0001231 0.0001231 0.0001231 0.01% Gravity::solve_for_phi() 10 0.0001075 0.0001075 0.0001075 0.01% AmrLevel::checkPoint() 3 9.198e-05 9.198e-05 9.198e-05 0.01% MLMG::mgVcycle_down::0 81 9.008e-05 9.008e-05 9.008e-05 0.01% MLMG::actualBottomSolve() 81 9.005e-05 9.005e-05 9.005e-05 0.01% MLMG::mgVcycle_down::1 81 8.394e-05 8.394e-05 8.394e-05 0.01% MLMG::mgVcycle_down::2 81 8.043e-05 8.043e-05 8.043e-05 0.01% Castro::initialize_advance() 10 7.645e-05 7.645e-05 7.645e-05 0.01% MLMG::mgVcycle_down::4 81 7.519e-05 7.519e-05 7.519e-05 0.01% MLMG::solve() 11 7.206e-05 7.206e-05 7.206e-05 0.01% MLMG::mgVcycle_down::3 81 7.11e-05 7.11e-05 7.11e-05 0.01% Castro::clean_state() 62 6.864e-05 6.864e-05 6.864e-05 0.01% MLMG::mgVcycle_up::4 81 5.613e-05 5.613e-05 5.613e-05 0.01% Castro::initialize_do_advance() 10 5.601e-05 5.601e-05 5.601e-05 0.01% MLMG::mgVcycle_up::0 81 5.231e-05 5.231e-05 5.231e-05 0.01% MLMG::oneIter() 81 5.002e-05 5.002e-05 5.002e-05 0.01% MLMG::mgVcycle_up::3 81 4.858e-05 4.858e-05 4.858e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.773e-05 4.773e-05 4.773e-05 0.01% MLMG::mgVcycle_up::1 81 4.771e-05 4.771e-05 4.771e-05 0.01% MLMG::mgVcycle_up::2 81 4.677e-05 4.677e-05 4.677e-05 0.00% Castro::do_advance_ctu() 10 4.54e-05 4.54e-05 4.54e-05 0.00% Castro::finalize_do_advance() 10 4.35e-05 4.35e-05 4.35e-05 0.00% MLCellLinOp::solutionResidual() 92 4.314e-05 4.314e-05 4.314e-05 0.00% Castro::post_timestep() 10 3.949e-05 3.949e-05 3.949e-05 0.00% FillPatchSingleLevel 41 3.525e-05 3.525e-05 3.525e-05 0.00% MLMG::mgVcycle_bottom 81 3.348e-05 3.348e-05 3.348e-05 0.00% MLMG::computeResidual() 81 3.255e-05 3.255e-05 3.255e-05 0.00% MLMG::ResNormInf() 92 3.24e-05 3.24e-05 3.24e-05 0.00% MLPoisson::define() 11 3.066e-05 3.066e-05 3.066e-05 0.00% Castro::construct_new_gravity() 10 2.777e-05 2.777e-05 2.777e-05 0.00% Amr::defBaseLevel() 1 2.744e-05 2.744e-05 2.744e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.345e-05 2.345e-05 2.345e-05 0.00% Castro::construct_new_source() 50 2.084e-05 2.084e-05 2.084e-05 0.00% Castro::do_old_sources() 10 2.068e-05 2.068e-05 2.068e-05 0.00% Castro::do_new_sources() 10 2.028e-05 2.028e-05 2.028e-05 0.00% Amr::FinalizeInit() 1 1.97e-05 1.97e-05 1.97e-05 0.00% Castro::construct_old_source() 50 1.878e-05 1.878e-05 1.878e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.74e-05 1.74e-05 1.74e-05 0.00% Castro::check_for_nan() 20 1.125e-05 1.125e-05 1.125e-05 0.00% Castro::construct_old_gravity() 10 1.118e-05 1.118e-05 1.118e-05 0.00% Castro::apply_source_to_state() 20 1.078e-05 1.078e-05 1.078e-05 0.00% MLMG::computeMLResidual() 11 9.084e-06 9.084e-06 9.084e-06 0.00% Castro::post_init() 1 8.765e-06 8.765e-06 8.765e-06 0.00% Gravity::actual_multilevel_solve() 1 8.664e-06 8.664e-06 8.664e-06 0.00% MLPoisson::prepareForSolve() 11 8.016e-06 8.016e-06 8.016e-06 0.00% Castro::computeNewDt() 9 6.684e-06 6.684e-06 6.684e-06 0.00% Amr::InitializeInit() 1 5.763e-06 5.763e-06 5.763e-06 0.00% MLMG::getGradSolution() 11 5.757e-06 5.757e-06 5.757e-06 0.00% Castro::expand_state() 10 5.39e-06 5.39e-06 5.39e-06 0.00% Amr::init() 1 3.022e-06 3.022e-06 3.022e-06 0.00% Amr::initialInit() 1 1.163e-06 1.163e-06 1.163e-06 0.00% Other 4705 0.00328 0.00328 0.00328 0.34% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9518 0.9518 0.9518 100.00% Amr::coarseTimeStep() 10 0.8015 0.8015 0.8015 84.20% Amr::timeStep() 10 0.6648 0.6648 0.6648 69.85% Castro::advance() 10 0.6531 0.6531 0.6531 68.62% Castro::subcycle_advance_ctu() 10 0.6391 0.6391 0.6391 67.15% Castro::do_advance_ctu() 10 0.6389 0.6389 0.6389 67.12% Gravity::solve_phi_with_mlmg() 11 0.3056 0.3056 0.3056 32.11% Gravity::actual_solve_with_mlmg() 11 0.2956 0.2956 0.2956 31.05% Castro::construct_ctu_hydro_source() 10 0.2842 0.2842 0.2842 29.86% Castro::construct_new_gravity() 10 0.2807 0.2807 0.2807 29.49% MLMG::solve() 11 0.2738 0.2738 0.2738 28.76% Gravity::solve_for_phi() 10 0.2646 0.2646 0.2646 27.80% MLMG::oneIter() 81 0.258 0.258 0.258 27.11% MLMG::mgVcycle() 81 0.2543 0.2543 0.2543 26.71% VisMF::Write(FabArray) 11 0.1811 0.1811 0.1811 19.03% Amr::checkPoint() 3 0.1799 0.1799 0.1799 18.90% AmrLevel::checkPoint() 3 0.1322 0.1322 0.1322 13.89% StateData::checkPoint() 12 0.1321 0.1321 0.1321 13.88% MLCellLinOp::smooth() 1620 0.1249 0.1249 0.1249 13.12% Amr::init() 1 0.1239 0.1239 0.1239 13.02% MLCellLinOp::applyBC() 4298 0.1163 0.1163 0.1163 12.22% MLMG::mgVcycle_bottom 81 0.07288 0.07288 0.07288 7.66% MLMG::actualBottomSolve() 81 0.07284 0.07284 0.07284 7.65% MLCGSolver::bicgstab 81 0.07201 0.07201 0.07201 7.57% Castro::clean_state() 62 0.0573 0.0573 0.0573 6.02% Amr::writePlotFile() 2 0.05152 0.05152 0.05152 5.41% Amr::initialInit() 1 0.05094 0.05094 0.05094 5.35% AmrLevel::FillPatch() 41 0.04825 0.04825 0.04825 5.07% Amr::FinalizeInit() 1 0.04491 0.04491 0.04491 4.72% FillPatchIterator::Initialize 41 0.04395 0.04395 0.04395 4.62% Castro::post_init() 1 0.04374 0.04374 0.04374 4.60% FillPatchIterator::FillFromLevel0() 41 0.04237 0.04237 0.04237 4.45% FillPatchSingleLevel 41 0.04232 0.04232 0.04232 4.45% Gravity::multilevel_solve_for_new_phi() 1 0.04142 0.04142 0.04142 4.35% Gravity::actual_multilevel_solve() 1 0.0414 0.0414 0.0414 4.35% StateDataPhysBCFunct::() 41 0.03822 0.03822 0.03822 4.02% MLCellLinOp::apply() 1047 0.0369 0.0369 0.0369 3.88% MLMG::mgVcycle_down::0 81 0.03596 0.03596 0.03596 3.78% FabArray::FillBoundary() 3893 0.03457 0.03457 0.03457 3.63% MLPoisson::Fsmooth() 3240 0.03413 0.03413 0.03413 3.59% FillBoundary_nowait() 3893 0.03379 0.03379 0.03379 3.55% MLMG:computeResOfCorrection() 405 0.02761 0.02761 0.02761 2.90% MLCellLinOp::correctionResidual() 405 0.02747 0.02747 0.02747 2.89% MLMG::mgVcycle_up::0 81 0.02738 0.02738 0.02738 2.88% StateData::FillBoundary(geom) 328 0.02554 0.02554 0.02554 2.68% MLMG::mgVcycle_down::1 81 0.0238 0.0238 0.0238 2.50% Castro::initialize_do_advance() 10 0.02312 0.02312 0.02312 2.43% Castro::computeTemp() 63 0.02261 0.02261 0.02261 2.38% amrex::Dot() 1100 0.02144 0.02144 0.02144 2.25% FabArray::norminf() 1048 0.01995 0.01995 0.01995 2.10% Castro::do_old_sources() 10 0.01988 0.01988 0.01988 2.09% Castro::normalize_species() 62 0.01855 0.01855 0.01855 1.95% Gravity::get_new_grav_vector() 11 0.01796 0.01796 0.01796 1.89% MLPoisson::define() 11 0.01702 0.01702 0.01702 1.79% MLMG::mgVcycle_down::2 81 0.01574 0.01574 0.01574 1.65% MLMG::mgVcycle_down::3 81 0.01525 0.01525 0.01525 1.60% Castro::construct_old_gravity() 10 0.01515 0.01515 0.01515 1.59% Gravity::get_old_grav_vector() 10 0.01514 0.01514 0.01514 1.59% MLMG::mgVcycle_down::4 81 0.01513 0.01513 0.01513 1.59% FabArray::ParallelCopy() 851 0.01472 0.01472 0.01472 1.55% FabArray::Xpay() 730 0.01469 0.01469 0.01469 1.54% FabArray::ParallelCopy_nowait() 851 0.01446 0.01446 0.01446 1.52% FabArray::setVal() 1054 0.01366 0.01366 0.01366 1.44% Castro::initialize_advance() 10 0.01326 0.01326 0.01326 1.39% FabArray::Saxpy() 1353 0.01311 0.01311 0.01311 1.38% MLCGSolver::ParallelAllReduce 1809 0.01284 0.01284 0.01284 1.35% Castro::enforce_min_density() 62 0.01261 0.01261 0.01261 1.32% Castro::do_new_sources() 10 0.01248 0.01248 0.01248 1.31% Castro::expand_state() 10 0.01238 0.01238 0.01238 1.30% MLMG::addInterpCorrection() 405 0.01237 0.01237 0.01237 1.30% MLMG::mgVcycle_up::1 81 0.0122 0.0122 0.0122 1.28% MLMG::mgVcycle_up::4 81 0.01212 0.01212 0.01212 1.27% MLMG::mgVcycle_up::2 81 0.01193 0.01193 0.01193 1.25% MLMG::mgVcycle_up::3 81 0.01168 0.01168 0.01168 1.23% amrex::average_down 405 0.01166 0.01166 0.01166 1.22% MLCellLinOp::defineAuxData() 11 0.01156 0.01156 0.01156 1.21% Castro::post_timestep() 10 0.01152 0.01152 0.01152 1.21% amrex::Copy() 469 0.01104 0.01104 0.01104 1.16% MLPoisson::Fapply() 1047 0.01038 0.01038 0.01038 1.09% Gravity::fill_multipole_BCs() 11 0.009793 0.009793 0.009793 1.03% MLCellLinOp::solutionResidual() 92 0.007929 0.007929 0.007929 0.83% Castro::reset_internal_energy(MultiFab) 63 0.007006 0.007006 0.007006 0.74% MLMG::computeResidual() 81 0.006667 0.006667 0.006667 0.70% Castro::estTimeStep() 21 0.00615 0.00615 0.00615 0.65% Amr::InitializeInit() 1 0.006028 0.006028 0.006028 0.63% Amr::defBaseLevel() 1 0.006023 0.006023 0.006023 0.63% Castro::initData() 1 0.005343 0.005343 0.005343 0.56% MLMG::prepareForSolve() 11 0.0052 0.0052 0.0052 0.55% MLCellLinOp::defineBC() 11 0.005187 0.005187 0.005187 0.54% BndryData::define() 11 0.004914 0.004914 0.004914 0.52% Castro::enforce_speed_limit() 62 0.004571 0.004571 0.004571 0.48% amrex::Add() 81 0.003712 0.003712 0.003712 0.39% Castro::construct_new_source() 50 0.003608 0.003608 0.003608 0.38% Castro::construct_new_gravity_source() 10 0.003587 0.003587 0.003587 0.38% Castro::construct_old_source() 50 0.003073 0.003073 0.003073 0.32% Castro::construct_old_gravity_source() 10 0.003054 0.003054 0.003054 0.32% Castro::computeNewDt() 9 0.002807 0.002807 0.002807 0.29% Castro::finalize_do_advance() 10 0.00237 0.00237 0.00237 0.25% MLMG::ResNormInf() 92 0.002245 0.002245 0.002245 0.24% Castro::apply_source_to_state() 20 0.001882 0.001882 0.001882 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001785 0.001785 0.001785 0.19% check_for_negative_density() 10 0.001693 0.001693 0.001693 0.18% Castro::reset_internal_energy(Fab) 504 0.001641 0.001641 0.001641 0.17% MLMG::getGradSolution() 11 0.001626 0.001626 0.001626 0.17% MLCellLinOp::compGrad() 11 0.001621 0.001621 0.001621 0.17% MLCellLinOp::setLevelBC() 11 0.001614 0.001614 0.001614 0.17% FabArrayBase::getCPC() 1313 0.001499 0.001499 0.001499 0.16% FabArray::mult() 43 0.001392 0.001392 0.001392 0.15% FabArray::setDomainBndry() 41 0.001374 0.001374 0.001374 0.14% MLPoisson::prepareForSolve() 11 0.00132 0.00132 0.00132 0.14% Castro::check_for_nan() 20 0.001314 0.001314 0.001314 0.14% MLCellLinOp::prepareForSolve() 11 0.001312 0.001312 0.001312 0.14% MLMG::computeMLResidual() 11 0.001303 0.001303 0.001303 0.14% MultiFab::contains_nan() 20 0.001302 0.001302 0.001302 0.14% Other 4705 0.008872 0.008872 0.008872 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 5162 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 999 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1520 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7624 KiB 14 MiB MLMG::prepareForSolve() 660 660 3539 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 196 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 162 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7516 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2038 B 2048 KiB Gravity::solve_for_phi() 80 80 568 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 89 KiB 2048 KiB BndryData::define() 1056 1056 323 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 205 KiB 671 KiB Castro::estTimeStep() 21 21 3153 B 480 KiB VisMF::Write(FabArray) 656 656 3348 B 320 KiB Castro::normalize_species() 62 62 6346 B 320 KiB amrex::average_down 1054 1054 1553 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1117 B 257 KiB amrex::Dot() 1343 1343 3327 B 160 KiB FabArray::norminf() 1129 1129 3244 B 160 KiB check_for_negative_density() 10 10 285 B 160 KiB Castro::initData() 1 1 57 B 160 KiB MultiFab::max() 11 11 54 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3456 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 42 B 10 KiB FillBoundary_nowait() 751 751 303 B 9648 B MLCellLinOp::applyBC() 8596 8596 213 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3923 B 6144 B StateData::FillBoundary(geom) 1992 1992 43 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 405 405 91 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 588 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 417 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3456 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 42 B 10 KiB FillBoundary_nowait() 751 751 302 B 9648 B MLCellLinOp::applyBC() 4298 4298 211 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3923 B 6144 B Gravity::get_new_grav_vector() 3 3 2910 B 3072 B StateData::FillBoundary(geom) 1992 1992 44 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 82 82 617 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 294 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 24 B 400 B FabArray::norminf() 1129 1129 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 09:10:30 UTC on 2024-06-17. Successfully read inputs file ... Castro git describe: 24.06-8-gf5603db9e 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.499668525 Restart time = 0.070996361 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.067386472 [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.051736774 [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.076610745 [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.076863143 [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.05666345 [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.028574482 seconds Ending run at 09:10:31 UTC on 2024-06-17. Run time = 0.429797652 Run time without initialization = 0.358259452 Average number of zones advanced per microsecond: 3.659 Average number of zones advanced per microsecond per rank: 3.659 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4298 ... 0.4298 ... 0.4298 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1290 0.1290 0.1290 30.01% VisMF::Read() 3 0.05931 0.05931 0.05931 13.80% MLCellLinOp::applyBC() 1910 0.03681 0.03681 0.03681 8.56% VisMF::Write(FabArray) 1 0.02604 0.02604 0.02604 6.06% MLPoisson::Fsmooth() 1440 0.01536 0.01536 0.01536 3.57% FillBoundary_nowait() 1730 0.01526 0.01526 0.01526 3.55% StateData::FillBoundary(geom) 160 0.01261 0.01261 0.01261 2.93% Castro::normalize_species() 30 0.009609 0.009609 0.009609 2.24% amrex::Dot() 484 0.00944 0.00944 0.00944 2.20% FabArray::norminf() 465 0.00885 0.00885 0.00885 2.06% Castro::computeTemp() 30 0.006937 0.006937 0.006937 1.61% FabArray::setVal() 501 0.006788 0.006788 0.006788 1.58% FabArray::ParallelCopy_nowait() 380 0.006275 0.006275 0.006275 1.46% StateDataPhysBCFunct::() 20 0.006036 0.006036 0.006036 1.40% FabArray::Saxpy() 597 0.005989 0.005989 0.005989 1.39% Gravity::fill_multipole_BCs() 6 0.005862 0.005862 0.005862 1.36% Castro::enforce_min_density() 30 0.005836 0.005836 0.005836 1.36% MLCellLinOp::defineAuxData() 6 0.005616 0.005616 0.005616 1.31% amrex::Copy() 221 0.005567 0.005567 0.005567 1.30% Amr::restart() 1 0.004789 0.004789 0.004789 1.11% MLPoisson::Fapply() 464 0.004657 0.004657 0.004657 1.08% FabArray::Xpay() 325 0.003588 0.003588 0.003588 0.83% Castro::estTimeStep() 10 0.003313 0.003313 0.003313 0.77% MLMG::addInterpCorrection() 180 0.00323 0.00323 0.00323 0.75% amrex::average_down 180 0.00285 0.00285 0.00285 0.66% Castro::enforce_speed_limit() 30 0.002454 0.002454 0.002454 0.57% Amr::writePlotFile() 1 0.002359 0.002359 0.002359 0.55% BndryData::define() 6 0.002166 0.002166 0.002166 0.50% Castro::reset_internal_energy(MultiFab) 30 0.002139 0.002139 0.002139 0.50% Castro::construct_new_gravity_source() 5 0.00188 0.00188 0.00188 0.44% amrex::Add() 36 0.001642 0.001642 0.001642 0.38% Castro::construct_old_gravity_source() 5 0.001538 0.001538 0.001538 0.36% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009891 0.0009891 0.0009891 0.23% MLCellLinOp::setLevelBC() 6 0.0009104 0.0009104 0.0009104 0.21% check_for_negative_density() 5 0.0008726 0.0008726 0.0008726 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008489 0.0008489 0.0008489 0.20% Castro::reset_internal_energy(Fab) 240 0.0007896 0.0007896 0.0007896 0.18% MLCGSolver::bicgstab 36 0.0007568 0.0007568 0.0007568 0.18% MLCellLinOp::prepareForSolve() 6 0.0007547 0.0007547 0.0007547 0.18% FabArray::mult() 22 0.0007057 0.0007057 0.0007057 0.16% FabArray::setDomainBndry() 20 0.0006933 0.0006933 0.0006933 0.16% MLCellLinOp::compGrad() 6 0.0006281 0.0006281 0.0006281 0.15% MLMG::prepareForSolve() 6 0.0005615 0.0005615 0.0005615 0.13% MLCellLinOp::smooth() 720 0.0005083 0.0005083 0.0005083 0.12% FabArrayBase::getCPC() 632 0.0003667 0.0003667 0.0003667 0.09% Gravity::get_old_grav_vector() 5 0.0003395 0.0003395 0.0003395 0.08% FabArray::FillBoundary() 1730 0.000339 0.000339 0.000339 0.08% Gravity::get_new_grav_vector() 5 0.0002802 0.0002802 0.0002802 0.07% main() 1 0.0002671 0.0002671 0.0002671 0.06% AmrLevel::FillPatch() 20 0.0002072 0.0002072 0.0002072 0.05% MLCellLinOp::apply() 464 0.0002017 0.0002017 0.0002017 0.05% Amr::coarseTimeStep() 5 0.0001652 0.0001652 0.0001652 0.04% MLCellLinOp::defineBC() 6 0.0001504 0.0001504 0.0001504 0.03% MLCGSolver::ParallelAllReduce 798 0.0001327 0.0001327 0.0001327 0.03% FabArray::ParallelCopy() 380 0.0001125 0.0001125 0.0001125 0.03% FillPatchIterator::Initialize 20 0.0001039 0.0001039 0.0001039 0.02% Castro::subcycle_advance_ctu() 5 9.805e-05 9.805e-05 9.805e-05 0.02% MLMG::mgVcycle() 36 9.196e-05 9.196e-05 9.196e-05 0.02% Castro::initialize_do_advance() 5 9.137e-05 9.137e-05 9.137e-05 0.02% Amr::timeStep() 5 8.563e-05 8.563e-05 8.563e-05 0.02% MLCellLinOp::correctionResidual() 180 7.899e-05 7.899e-05 7.899e-05 0.02% AmrLevel::restart() 1 7.291e-05 7.291e-05 7.291e-05 0.02% Castro::do_advance_ctu() 5 6.688e-05 6.688e-05 6.688e-05 0.02% Castro::post_timestep() 5 6.631e-05 6.631e-05 6.631e-05 0.02% Gravity::update_max_rhs() 6 6.43e-05 6.43e-05 6.43e-05 0.01% StateData::restartDoit() 4 6.369e-05 6.369e-05 6.369e-05 0.01% Castro::do_new_sources() 5 5.851e-05 5.851e-05 5.851e-05 0.01% Castro::advance() 5 5.6e-05 5.6e-05 5.6e-05 0.01% MLMG:computeResOfCorrection() 180 5.284e-05 5.284e-05 5.284e-05 0.01% Castro::construct_new_source() 25 5.045e-05 5.045e-05 5.045e-05 0.01% Castro::finalize_do_advance() 5 4.973e-05 4.973e-05 4.973e-05 0.01% Castro::construct_old_source() 25 4.952e-05 4.952e-05 4.952e-05 0.01% Gravity::solve_for_phi() 5 4.92e-05 4.92e-05 4.92e-05 0.01% MLMG::mgVcycle_down::0 36 4.097e-05 4.097e-05 4.097e-05 0.01% MLMG::actualBottomSolve() 36 4.077e-05 4.077e-05 4.077e-05 0.01% MLMG::mgVcycle_down::1 36 3.7e-05 3.7e-05 3.7e-05 0.01% Castro::initialize_advance() 5 3.576e-05 3.576e-05 3.576e-05 0.01% Castro::clean_state() 30 3.525e-05 3.525e-05 3.525e-05 0.01% MLMG::solve() 6 3.513e-05 3.513e-05 3.513e-05 0.01% MLMG::mgVcycle_down::2 36 3.445e-05 3.445e-05 3.445e-05 0.01% MLMG::mgVcycle_down::4 36 3.302e-05 3.302e-05 3.302e-05 0.01% MLMG::mgVcycle_down::3 36 3.181e-05 3.181e-05 3.181e-05 0.01% MLMG::mgVcycle_up::4 36 2.861e-05 2.861e-05 2.861e-05 0.01% MLMG::mgVcycle_up::3 36 2.776e-05 2.776e-05 2.776e-05 0.01% Castro::post_restart() 1 2.681e-05 2.681e-05 2.681e-05 0.01% MLPoisson::define() 6 2.54e-05 2.54e-05 2.54e-05 0.01% MLMG::oneIter() 36 2.466e-05 2.466e-05 2.466e-05 0.01% MLMG::mgVcycle_up::0 36 2.253e-05 2.253e-05 2.253e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.205e-05 2.205e-05 2.205e-05 0.01% MLCellLinOp::solutionResidual() 42 2.157e-05 2.157e-05 2.157e-05 0.01% MLMG::mgVcycle_up::2 36 2.124e-05 2.124e-05 2.124e-05 0.00% MLMG::mgVcycle_up::1 36 2.026e-05 2.026e-05 2.026e-05 0.00% FillPatchSingleLevel 20 1.633e-05 1.633e-05 1.633e-05 0.00% MLMG::ResNormInf() 42 1.564e-05 1.564e-05 1.564e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.55e-05 1.55e-05 1.55e-05 0.00% MLMG::mgVcycle_bottom 36 1.515e-05 1.515e-05 1.515e-05 0.00% MLMG::computeResidual() 36 1.395e-05 1.395e-05 1.395e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.284e-05 1.284e-05 1.284e-05 0.00% Castro::do_old_sources() 5 1.195e-05 1.195e-05 1.195e-05 0.00% Castro::construct_new_gravity() 5 1.157e-05 1.157e-05 1.157e-05 0.00% Gravity::actual_multilevel_solve() 1 8.416e-06 8.416e-06 8.416e-06 0.00% Castro::apply_source_to_state() 10 5.997e-06 5.997e-06 5.997e-06 0.00% Castro::check_for_nan() 10 5.912e-06 5.912e-06 5.912e-06 0.00% Castro::construct_old_gravity() 5 5.828e-06 5.828e-06 5.828e-06 0.00% MLPoisson::prepareForSolve() 6 4.285e-06 4.285e-06 4.285e-06 0.00% MLMG::computeMLResidual() 6 4.219e-06 4.219e-06 4.219e-06 0.00% Castro::computeNewDt() 5 3.262e-06 3.262e-06 3.262e-06 0.00% MLMG::getGradSolution() 6 3.106e-06 3.106e-06 3.106e-06 0.00% Castro::expand_state() 5 2.838e-06 2.838e-06 2.838e-06 0.00% Amr::init() 1 9.82e-07 9.82e-07 9.82e-07 0.00% Other 2160 0.002468 0.002468 0.002468 0.57% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4298 0.4298 0.4298 100.00% Amr::coarseTimeStep() 5 0.3294 0.3294 0.3294 76.64% Amr::timeStep() 5 0.3272 0.3272 0.3272 76.12% Castro::advance() 5 0.3215 0.3215 0.3215 74.81% Castro::subcycle_advance_ctu() 5 0.3136 0.3136 0.3136 72.96% Castro::do_advance_ctu() 5 0.3135 0.3135 0.3135 72.93% Castro::construct_new_gravity() 5 0.1414 0.1414 0.1414 32.90% Gravity::solve_phi_with_mlmg() 6 0.1391 0.1391 0.1391 32.35% Castro::construct_ctu_hydro_source() 5 0.1341 0.1341 0.1341 31.20% Gravity::solve_for_phi() 5 0.1333 0.1333 0.1333 31.01% Gravity::actual_solve_with_mlmg() 6 0.1329 0.1329 0.1329 30.93% MLMG::solve() 6 0.1207 0.1207 0.1207 28.09% MLMG::oneIter() 36 0.1128 0.1128 0.1128 26.24% MLMG::mgVcycle() 36 0.1111 0.1111 0.1111 25.85% Amr::init() 1 0.07104 0.07104 0.07104 16.53% Amr::restart() 1 0.07104 0.07104 0.07104 16.53% AmrLevel::restart() 1 0.05968 0.05968 0.05968 13.88% StateData::restartDoit() 4 0.0596 0.0596 0.0596 13.87% VisMF::Read() 3 0.05931 0.05931 0.05931 13.80% MLCellLinOp::smooth() 720 0.05636 0.05636 0.05636 13.11% MLCellLinOp::applyBC() 1910 0.05275 0.05275 0.05275 12.27% MLMG::mgVcycle_bottom 36 0.03233 0.03233 0.03233 7.52% MLMG::actualBottomSolve() 36 0.03231 0.03231 0.03231 7.52% MLCGSolver::bicgstab 36 0.03194 0.03194 0.03194 7.43% Amr::writePlotFile() 1 0.02866 0.02866 0.02866 6.67% Castro::clean_state() 30 0.0278 0.0278 0.0278 6.47% VisMF::Write(FabArray) 1 0.02604 0.02604 0.02604 6.06% AmrLevel::FillPatch() 20 0.02366 0.02366 0.02366 5.51% FillPatchIterator::Initialize 20 0.02154 0.02154 0.02154 5.01% FillPatchIterator::FillFromLevel0() 20 0.02074 0.02074 0.02074 4.83% FillPatchSingleLevel 20 0.02072 0.02072 0.02072 4.82% StateDataPhysBCFunct::() 20 0.01865 0.01865 0.01865 4.34% MLCellLinOp::apply() 464 0.01681 0.01681 0.01681 3.91% MLMG::mgVcycle_down::0 36 0.01665 0.01665 0.01665 3.87% FabArray::FillBoundary() 1730 0.01593 0.01593 0.01593 3.71% FillBoundary_nowait() 1730 0.0156 0.0156 0.0156 3.63% MLPoisson::Fsmooth() 1440 0.01536 0.01536 0.01536 3.57% StateData::FillBoundary(geom) 160 0.01261 0.01261 0.01261 2.93% MLMG::mgVcycle_up::0 36 0.01243 0.01243 0.01243 2.89% Castro::initialize_do_advance() 5 0.01166 0.01166 0.01166 2.71% Castro::do_old_sources() 5 0.009897 0.009897 0.009897 2.30% Castro::computeTemp() 30 0.009865 0.009865 0.009865 2.30% Castro::normalize_species() 30 0.009609 0.009609 0.009609 2.24% MLPoisson::define() 6 0.00949 0.00949 0.00949 2.21% MLMG:computeResOfCorrection() 180 0.009457 0.009457 0.009457 2.20% amrex::Dot() 484 0.00944 0.00944 0.00944 2.20% MLCellLinOp::correctionResidual() 180 0.009404 0.009404 0.009404 2.19% FabArray::norminf() 465 0.00885 0.00885 0.00885 2.06% Gravity::get_new_grav_vector() 5 0.00799 0.00799 0.00799 1.86% Castro::construct_old_gravity() 5 0.007666 0.007666 0.007666 1.78% Gravity::get_old_grav_vector() 5 0.00766 0.00766 0.00766 1.78% MLMG::mgVcycle_down::1 36 0.007636 0.007636 0.007636 1.78% Castro::initialize_advance() 5 0.007596 0.007596 0.007596 1.77% MLMG::mgVcycle_down::2 36 0.007021 0.007021 0.007021 1.63% Castro::do_new_sources() 5 0.006945 0.006945 0.006945 1.62% MLMG::mgVcycle_down::3 36 0.006817 0.006817 0.006817 1.59% FabArray::setVal() 501 0.006788 0.006788 0.006788 1.58% FabArray::ParallelCopy() 380 0.006778 0.006778 0.006778 1.58% MLMG::mgVcycle_down::4 36 0.006742 0.006742 0.006742 1.57% FabArray::ParallelCopy_nowait() 380 0.006666 0.006666 0.006666 1.55% Castro::expand_state() 5 0.006556 0.006556 0.006556 1.53% MLCellLinOp::defineAuxData() 6 0.006415 0.006415 0.006415 1.49% Castro::post_restart() 1 0.006378 0.006378 0.006378 1.48% Gravity::multilevel_solve_for_new_phi() 1 0.006009 0.006009 0.006009 1.40% Gravity::fill_multipole_BCs() 6 0.006004 0.006004 0.006004 1.40% Gravity::actual_multilevel_solve() 1 0.005993 0.005993 0.005993 1.39% FabArray::Saxpy() 597 0.005989 0.005989 0.005989 1.39% Castro::enforce_min_density() 30 0.005836 0.005836 0.005836 1.36% MLCGSolver::ParallelAllReduce 798 0.005701 0.005701 0.005701 1.33% MLMG::addInterpCorrection() 180 0.005574 0.005574 0.005574 1.30% amrex::Copy() 221 0.005567 0.005567 0.005567 1.30% Castro::post_timestep() 5 0.005536 0.005536 0.005536 1.29% MLMG::mgVcycle_up::1 36 0.005441 0.005441 0.005441 1.27% MLMG::mgVcycle_up::4 36 0.005439 0.005439 0.005439 1.27% MLMG::mgVcycle_up::2 36 0.005316 0.005316 0.005316 1.24% amrex::average_down 180 0.005225 0.005225 0.005225 1.22% MLMG::mgVcycle_up::3 36 0.005202 0.005202 0.005202 1.21% MLPoisson::Fapply() 464 0.004657 0.004657 0.004657 1.08% MLCellLinOp::solutionResidual() 42 0.003812 0.003812 0.003812 0.89% FabArray::Xpay() 325 0.003588 0.003588 0.003588 0.83% Castro::estTimeStep() 10 0.003313 0.003313 0.003313 0.77% MLMG::computeResidual() 36 0.002984 0.002984 0.002984 0.69% Castro::reset_internal_energy(MultiFab) 30 0.002928 0.002928 0.002928 0.68% MLMG::prepareForSolve() 6 0.002923 0.002923 0.002923 0.68% MLCellLinOp::defineBC() 6 0.002911 0.002911 0.002911 0.68% BndryData::define() 6 0.002761 0.002761 0.002761 0.64% Castro::enforce_speed_limit() 30 0.002454 0.002454 0.002454 0.57% Castro::computeNewDt() 5 0.002087 0.002087 0.002087 0.49% Castro::construct_new_source() 25 0.001931 0.001931 0.001931 0.45% Castro::construct_new_gravity_source() 5 0.00188 0.00188 0.00188 0.44% amrex::Add() 36 0.001642 0.001642 0.001642 0.38% Castro::construct_old_source() 25 0.001588 0.001588 0.001588 0.37% Castro::construct_old_gravity_source() 5 0.001538 0.001538 0.001538 0.36% Castro::finalize_do_advance() 5 0.001279 0.001279 0.001279 0.30% MLMG::ResNormInf() 42 0.001045 0.001045 0.001045 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009891 0.0009891 0.0009891 0.23% Castro::apply_source_to_state() 10 0.0009641 0.0009641 0.0009641 0.22% MLMG::getGradSolution() 6 0.0009339 0.0009339 0.0009339 0.22% MLCellLinOp::compGrad() 6 0.0009308 0.0009308 0.0009308 0.22% MLCellLinOp::setLevelBC() 6 0.0009104 0.0009104 0.0009104 0.21% check_for_negative_density() 5 0.0008726 0.0008726 0.0008726 0.20% MLMG::computeMLResidual() 6 0.0008465 0.0008465 0.0008465 0.20% FabArrayBase::getCPC() 632 0.000796 0.000796 0.000796 0.19% Castro::reset_internal_energy(Fab) 240 0.0007896 0.0007896 0.0007896 0.18% MLPoisson::prepareForSolve() 6 0.000759 0.000759 0.000759 0.18% MLCellLinOp::prepareForSolve() 6 0.0007547 0.0007547 0.0007547 0.18% Gravity::update_max_rhs() 6 0.0007271 0.0007271 0.0007271 0.17% FabArray::mult() 22 0.0007057 0.0007057 0.0007057 0.16% FabArray::setDomainBndry() 20 0.0006933 0.0006933 0.0006933 0.16% Castro::check_for_nan() 10 0.000684 0.000684 0.000684 0.16% Other 2160 0.003737 0.003737 0.003737 0.87% -------------------------------------------------------------------------------------------- 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 1122 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1789 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 3450 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 184 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 190 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6419 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 22 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3365 B 2048 KiB Gravity::solve_for_phi() 40 40 634 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 28 KiB 2048 KiB BndryData::define() 576 576 317 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 203 KiB 671 KiB Castro::estTimeStep() 10 10 3593 B 480 KiB VisMF::Write(FabArray) 112 112 1335 B 320 KiB Castro::normalize_species() 30 30 7277 B 320 KiB amrex::average_down 469 469 1431 B 257 KiB MLMG::addInterpCorrection() 468 468 1108 B 257 KiB amrex::Dot() 592 592 3239 B 160 KiB FabArray::norminf() 501 501 3185 B 160 KiB check_for_negative_density() 5 5 326 B 160 KiB MultiFab::max() 6 6 75 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3345 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 309 B 9648 B MLCellLinOp::applyBC() 3820 3820 215 B 9344 B amrex::Copy() 56 56 5901 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 46 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 357 B 1248 B MLCGSolver::bicgstab 180 180 89 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1301 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 85 KiB 8192 KiB VisMF::Write(FabArray) 120 120 171 KiB 3584 KiB VisMF::Read() 24 24 209 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3345 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 309 B 9648 B MLCellLinOp::applyBC() 1910 1910 213 B 9328 B amrex::Copy() 56 56 5901 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2517 B 3072 B StateData::FillBoundary(geom) 960 960 46 B 2880 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B MLMG::prepareForSolve() 7 7 809 B 1648 B amrex::average_down 37 37 465 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 23 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.06-16-g1f038e767011) finalized