Initializing AMReX (24.04-29-g95a92e2f8222)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-29-g95a92e2f8222) initialized Starting run at 07:50:50 UTC on 2024-05-01. Successfully read inputs file ... Castro git describe: 24.04-26-g290eea83f AMReX git describe: 24.04-29-g95a92e2f8 Microphysics git describe: 24.04-10-g8e7e3750 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.044214756 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024496323 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.06621709 [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.068881347 [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.075255731 [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.06761748 [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.06355109 [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.044011081 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.065675303 [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.073935993 [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.066575625 [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.055870415 [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.078974872 [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.042271833 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.02425524 seconds Ending run at 07:50:50 UTC on 2024-05-01. Run time = 0.916444686 Run time without initialization = 0.793739826 Average number of zones advanced per microsecond: 3.303 Average number of zones advanced per microsecond per rank: 3.303 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9165 ... 0.9165 ... 0.9165 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.3009 0.3009 0.3009 32.84% VisMF::Write(FabArray) 11 0.1706 0.1706 0.1706 18.62% MLCellLinOp::applyBC() 4351 0.08048 0.08048 0.08048 8.78% MLPoisson::Fsmooth() 3280 0.03341 0.03341 0.03341 3.64% FillBoundary_nowait() 3941 0.03142 0.03142 0.03142 3.43% StateData::FillBoundary(geom) 328 0.02592 0.02592 0.02592 2.83% amrex::Dot() 1114 0.0212 0.0212 0.0212 2.31% FabArray::setVal() 1062 0.02043 0.02043 0.02043 2.23% FabArray::norminf() 1061 0.01965 0.01965 0.01965 2.14% Castro::normalize_species() 62 0.01829 0.01829 0.01829 2.00% Castro::computeTemp() 63 0.01527 0.01527 0.01527 1.67% FabArray::ParallelCopy_nowait() 861 0.01367 0.01367 0.01367 1.49% FabArray::Saxpy() 1370 0.01307 0.01307 0.01307 1.43% Castro::enforce_min_density() 62 0.01237 0.01237 0.01237 1.35% StateDataPhysBCFunct::() 41 0.01168 0.01168 0.01168 1.27% amrex::Copy() 472 0.01087 0.01087 0.01087 1.19% MLPoisson::Fapply() 1060 0.01032 0.01032 0.01032 1.13% MLCellLinOp::defineAuxData() 11 0.01028 0.01028 0.01028 1.12% Gravity::fill_multipole_BCs() 11 0.009587 0.009587 0.009587 1.05% FabArray::Xpay() 739 0.007848 0.007848 0.007848 0.86% MLMG::addInterpCorrection() 410 0.006977 0.006977 0.006977 0.76% amrex::average_down 410 0.006142 0.006142 0.006142 0.67% Amr::checkPoint() 3 0.006087 0.006087 0.006087 0.66% Castro::estTimeStep() 21 0.005748 0.005748 0.005748 0.63% Castro::reset_internal_energy(MultiFab) 63 0.004623 0.004623 0.004623 0.50% BndryData::define() 11 0.003886 0.003886 0.003886 0.42% amrex::Add() 82 0.003635 0.003635 0.003635 0.40% Castro::construct_new_gravity_source() 10 0.00345 0.00345 0.00345 0.38% Castro::construct_old_gravity_source() 10 0.00293 0.00293 0.00293 0.32% Castro::enforce_speed_limit() 62 0.002309 0.002309 0.002309 0.25% Amr::writePlotFile() 2 0.002083 0.002083 0.002083 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001811 0.001811 0.001811 0.20% Castro::reset_internal_energy(Fab) 504 0.001636 0.001636 0.001636 0.18% check_for_negative_density() 10 0.001602 0.001602 0.001602 0.17% MLCGSolver::bicgstab 82 0.001587 0.001587 0.001587 0.17% MLCellLinOp::setLevelBC() 11 0.001574 0.001574 0.001574 0.17% Gravity::actual_solve_with_mlmg() 11 0.001553 0.001553 0.001553 0.17% Castro::initData() 1 0.001503 0.001503 0.001503 0.16% FabArray::mult() 43 0.001388 0.001388 0.001388 0.15% FabArray::setDomainBndry() 41 0.001366 0.001366 0.001366 0.15% MLCellLinOp::prepareForSolve() 11 0.001307 0.001307 0.001307 0.14% MultiFab::contains_nan() 20 0.001293 0.001293 0.001293 0.14% MLCellLinOp::smooth() 1640 0.00108 0.00108 0.00108 0.12% MLCellLinOp::compGrad() 11 0.001077 0.001077 0.001077 0.12% MLMG::prepareForSolve() 11 0.0009465 0.0009465 0.0009465 0.10% FabArrayBase::getCPC() 1323 0.0008135 0.0008135 0.0008135 0.09% FabArray::FillBoundary() 3941 0.0007989 0.0007989 0.0007989 0.09% Gravity::get_new_grav_vector() 11 0.0006193 0.0006193 0.0006193 0.07% Gravity::get_old_grav_vector() 10 0.000484 0.000484 0.000484 0.05% MLCellLinOp::apply() 1060 0.0004165 0.0004165 0.0004165 0.05% AmrLevel::FillPatch() 41 0.0004137 0.0004137 0.0004137 0.05% Amr::coarseTimeStep() 10 0.0003465 0.0003465 0.0003465 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003084 0.0003084 0.0003084 0.03% main() 1 0.0002806 0.0002806 0.0002806 0.03% MLCellLinOp::defineBC() 11 0.0002646 0.0002646 0.0002646 0.03% FabArray::ParallelCopy() 861 0.0002566 0.0002566 0.0002566 0.03% FillPatchIterator::Initialize 41 0.0002283 0.0002283 0.0002283 0.02% MLMG::mgVcycle() 82 0.0001912 0.0001912 0.0001912 0.02% Castro::subcycle_advance_ctu() 10 0.0001825 0.0001825 0.0001825 0.02% Amr::timeStep() 10 0.0001648 0.0001648 0.0001648 0.02% MLCellLinOp::correctionResidual() 410 0.0001582 0.0001582 0.0001582 0.02% Castro::construct_new_source() 50 0.0001355 0.0001355 0.0001355 0.01% StateData::checkPoint() 12 0.0001177 0.0001177 0.0001177 0.01% MLMG:computeResOfCorrection() 410 0.000116 0.000116 0.000116 0.01% Gravity::solve_for_phi() 10 0.0001096 0.0001096 0.0001096 0.01% MLMG::actualBottomSolve() 82 8.258e-05 8.258e-05 8.258e-05 0.01% MLMG::mgVcycle_down::2 82 8.217e-05 8.217e-05 8.217e-05 0.01% Castro::initialize_advance() 10 8.119e-05 8.119e-05 8.119e-05 0.01% MLMG::mgVcycle_down::0 82 8.03e-05 8.03e-05 8.03e-05 0.01% MLMG::solve() 11 7.804e-05 7.804e-05 7.804e-05 0.01% MLMG::mgVcycle_down::1 82 7.228e-05 7.228e-05 7.228e-05 0.01% Castro::clean_state() 62 7.154e-05 7.154e-05 7.154e-05 0.01% Castro::advance() 10 7.028e-05 7.028e-05 7.028e-05 0.01% MLMG::mgVcycle_down::4 82 6.647e-05 6.647e-05 6.647e-05 0.01% Castro::post_timestep() 10 6.61e-05 6.61e-05 6.61e-05 0.01% AmrLevel::checkPoint() 3 6.502e-05 6.502e-05 6.502e-05 0.01% Castro::initialize_do_advance() 10 6.32e-05 6.32e-05 6.32e-05 0.01% MLMG::mgVcycle_down::3 82 6.267e-05 6.267e-05 6.267e-05 0.01% MLMG::oneIter() 82 5.572e-05 5.572e-05 5.572e-05 0.01% MLMG::mgVcycle_up::4 82 5.236e-05 5.236e-05 5.236e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.948e-05 4.948e-05 4.948e-05 0.01% Castro::do_advance_ctu() 10 4.936e-05 4.936e-05 4.936e-05 0.01% Castro::finalize_do_advance() 10 4.719e-05 4.719e-05 4.719e-05 0.01% MLMG::mgVcycle_up::0 82 4.647e-05 4.647e-05 4.647e-05 0.01% MLMG::mgVcycle_up::3 82 4.49e-05 4.49e-05 4.49e-05 0.00% MLCellLinOp::solutionResidual() 93 4.477e-05 4.477e-05 4.477e-05 0.00% MLMG::mgVcycle_up::1 82 4.449e-05 4.449e-05 4.449e-05 0.00% MLMG::mgVcycle_up::2 82 4.416e-05 4.416e-05 4.416e-05 0.00% FillPatchSingleLevel 41 3.674e-05 3.674e-05 3.674e-05 0.00% MLMG::computeResidual() 82 3.425e-05 3.425e-05 3.425e-05 0.00% MLMG::mgVcycle_bottom 82 3.31e-05 3.31e-05 3.31e-05 0.00% MLMG::ResNormInf() 93 3.294e-05 3.294e-05 3.294e-05 0.00% Castro::construct_new_gravity() 10 3.14e-05 3.14e-05 3.14e-05 0.00% Amr::defBaseLevel() 1 3.064e-05 3.064e-05 3.064e-05 0.00% MLPoisson::define() 11 2.615e-05 2.615e-05 2.615e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.363e-05 2.363e-05 2.363e-05 0.00% Amr::FinalizeInit() 1 2.206e-05 2.206e-05 2.206e-05 0.00% Castro::do_new_sources() 10 2.116e-05 2.116e-05 2.116e-05 0.00% Castro::do_old_sources() 10 2.106e-05 2.106e-05 2.106e-05 0.00% Castro::construct_old_source() 50 1.848e-05 1.848e-05 1.848e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.756e-05 1.756e-05 1.756e-05 0.00% Gravity::actual_multilevel_solve() 1 1.555e-05 1.555e-05 1.555e-05 0.00% Castro::apply_source_to_state() 20 1.391e-05 1.391e-05 1.391e-05 0.00% Castro::check_for_nan() 20 1.198e-05 1.198e-05 1.198e-05 0.00% Castro::construct_old_gravity() 10 1.04e-05 1.04e-05 1.04e-05 0.00% MLMG::computeMLResidual() 11 1.025e-05 1.025e-05 1.025e-05 0.00% Castro::computeNewDt() 9 7.742e-06 7.742e-06 7.742e-06 0.00% Castro::expand_state() 10 6.241e-06 6.241e-06 6.241e-06 0.00% MLMG::getGradSolution() 11 6.192e-06 6.192e-06 6.192e-06 0.00% Amr::InitializeInit() 1 6.042e-06 6.042e-06 6.042e-06 0.00% MLPoisson::prepareForSolve() 11 5.901e-06 5.901e-06 5.901e-06 0.00% Castro::post_init() 1 5.162e-06 5.162e-06 5.162e-06 0.00% Amr::init() 1 2.494e-06 2.494e-06 2.494e-06 0.00% Amr::initialInit() 1 1.152e-06 1.152e-06 1.152e-06 0.00% Other 4753 0.003268 0.003268 0.003268 0.36% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9165 0.9165 0.9165 100.00% Amr::coarseTimeStep() 10 0.7693 0.7693 0.7693 83.94% Amr::timeStep() 10 0.6794 0.6794 0.6794 74.13% Castro::advance() 10 0.6685 0.6685 0.6685 72.95% Castro::subcycle_advance_ctu() 10 0.6543 0.6543 0.6543 71.39% Castro::do_advance_ctu() 10 0.6541 0.6541 0.6541 71.37% Castro::construct_ctu_hydro_source() 10 0.311 0.311 0.311 33.93% Gravity::solve_phi_with_mlmg() 11 0.3008 0.3008 0.3008 32.82% Gravity::actual_solve_with_mlmg() 11 0.2908 0.2908 0.2908 31.73% Castro::construct_new_gravity() 10 0.273 0.273 0.273 29.78% MLMG::solve() 11 0.2689 0.2689 0.2689 29.34% Gravity::solve_for_phi() 10 0.2565 0.2565 0.2565 27.99% MLMG::oneIter() 82 0.2535 0.2535 0.2535 27.66% MLMG::mgVcycle() 82 0.2498 0.2498 0.2498 27.25% VisMF::Write(FabArray) 11 0.1706 0.1706 0.1706 18.62% Amr::checkPoint() 3 0.1306 0.1306 0.1306 14.25% AmrLevel::checkPoint() 3 0.1245 0.1245 0.1245 13.59% StateData::checkPoint() 12 0.1245 0.1245 0.1245 13.58% Amr::init() 1 0.122 0.122 0.122 13.32% MLCellLinOp::smooth() 1640 0.1218 0.1218 0.1218 13.30% MLCellLinOp::applyBC() 4351 0.1134 0.1134 0.1134 12.37% MLMG::mgVcycle_bottom 82 0.07201 0.07201 0.07201 7.86% MLMG::actualBottomSolve() 82 0.07197 0.07197 0.07197 7.85% MLCGSolver::bicgstab 82 0.07117 0.07117 0.07117 7.77% Castro::clean_state() 62 0.05379 0.05379 0.05379 5.87% Amr::initialInit() 1 0.05319 0.05319 0.05319 5.80% Amr::writePlotFile() 2 0.04888 0.04888 0.04888 5.33% Amr::FinalizeInit() 1 0.04845 0.04845 0.04845 5.29% AmrLevel::FillPatch() 41 0.04771 0.04771 0.04771 5.21% Castro::post_init() 1 0.0471 0.0471 0.0471 5.14% Gravity::multilevel_solve_for_new_phi() 1 0.04477 0.04477 0.04477 4.88% Gravity::actual_multilevel_solve() 1 0.04475 0.04475 0.04475 4.88% FillPatchIterator::Initialize 41 0.04342 0.04342 0.04342 4.74% FillPatchIterator::FillFromLevel0() 41 0.04183 0.04183 0.04183 4.56% FillPatchSingleLevel 41 0.04178 0.04178 0.04178 4.56% StateDataPhysBCFunct::() 41 0.0376 0.0376 0.0376 4.10% MLCellLinOp::apply() 1060 0.03626 0.03626 0.03626 3.96% MLMG::mgVcycle_down::0 82 0.03495 0.03495 0.03495 3.81% MLPoisson::Fsmooth() 3280 0.03341 0.03341 0.03341 3.64% FabArray::FillBoundary() 3941 0.03291 0.03291 0.03291 3.59% FillBoundary_nowait() 3941 0.03211 0.03211 0.03211 3.50% MLMG::mgVcycle_up::0 82 0.02649 0.02649 0.02649 2.89% StateData::FillBoundary(geom) 328 0.02592 0.02592 0.02592 2.83% MLMG::mgVcycle_down::2 82 0.02268 0.02268 0.02268 2.47% Castro::computeTemp() 63 0.02153 0.02153 0.02153 2.35% amrex::Dot() 1114 0.0212 0.0212 0.0212 2.31% Castro::initialize_do_advance() 10 0.02067 0.02067 0.02067 2.26% MLMG:computeResOfCorrection() 410 0.0205 0.0205 0.0205 2.24% FabArray::setVal() 1062 0.02043 0.02043 0.02043 2.23% MLCellLinOp::correctionResidual() 410 0.02038 0.02038 0.02038 2.22% FabArray::norminf() 1061 0.01965 0.01965 0.01965 2.14% Castro::do_old_sources() 10 0.01848 0.01848 0.01848 2.02% Gravity::get_new_grav_vector() 11 0.01835 0.01835 0.01835 2.00% Castro::normalize_species() 62 0.01829 0.01829 0.01829 2.00% MLPoisson::define() 11 0.01718 0.01718 0.01718 1.87% MLMG::mgVcycle_down::1 82 0.01659 0.01659 0.01659 1.81% Castro::construct_old_gravity() 10 0.01511 0.01511 0.01511 1.65% Gravity::get_old_grav_vector() 10 0.0151 0.0151 0.0151 1.65% MLMG::mgVcycle_down::3 82 0.01497 0.01497 0.01497 1.63% MLMG::mgVcycle_down::4 82 0.01489 0.01489 0.01489 1.62% FabArray::ParallelCopy() 861 0.01474 0.01474 0.01474 1.61% FabArray::ParallelCopy_nowait() 861 0.01448 0.01448 0.01448 1.58% Castro::initialize_advance() 10 0.01357 0.01357 0.01357 1.48% FabArray::Saxpy() 1370 0.01307 0.01307 0.01307 1.43% MLCGSolver::ParallelAllReduce 1832 0.01267 0.01267 0.01267 1.38% Castro::do_new_sources() 10 0.01254 0.01254 0.01254 1.37% Castro::enforce_min_density() 62 0.01237 0.01237 0.01237 1.35% MLMG::addInterpCorrection() 410 0.01225 0.01225 0.01225 1.34% MLMG::mgVcycle_up::1 82 0.01199 0.01199 0.01199 1.31% MLMG::mgVcycle_up::4 82 0.01189 0.01189 0.01189 1.30% MLCellLinOp::defineAuxData() 11 0.01174 0.01174 0.01174 1.28% MLMG::mgVcycle_up::2 82 0.01166 0.01166 0.01166 1.27% Castro::expand_state() 10 0.01155 0.01155 0.01155 1.26% amrex::average_down 410 0.01147 0.01147 0.01147 1.25% MLMG::mgVcycle_up::3 82 0.01145 0.01145 0.01145 1.25% amrex::Copy() 472 0.01087 0.01087 0.01087 1.19% Castro::post_timestep() 10 0.01067 0.01067 0.01067 1.16% MLPoisson::Fapply() 1060 0.01032 0.01032 0.01032 1.13% Gravity::fill_multipole_BCs() 11 0.009825 0.009825 0.009825 1.07% FabArray::Xpay() 739 0.007848 0.007848 0.007848 0.86% MLCellLinOp::solutionResidual() 93 0.007774 0.007774 0.007774 0.85% MLMG::computeResidual() 82 0.006528 0.006528 0.006528 0.71% Castro::reset_internal_energy(MultiFab) 63 0.006259 0.006259 0.006259 0.68% Castro::estTimeStep() 21 0.005748 0.005748 0.005748 0.63% MLCellLinOp::defineBC() 11 0.005157 0.005157 0.005157 0.56% MLMG::prepareForSolve() 11 0.005088 0.005088 0.005088 0.56% BndryData::define() 11 0.004892 0.004892 0.004892 0.53% Amr::InitializeInit() 1 0.004737 0.004737 0.004737 0.52% Amr::defBaseLevel() 1 0.004731 0.004731 0.004731 0.52% Castro::initData() 1 0.004043 0.004043 0.004043 0.44% amrex::Add() 82 0.003635 0.003635 0.003635 0.40% Castro::construct_new_source() 50 0.003585 0.003585 0.003585 0.39% Castro::construct_new_gravity_source() 10 0.00345 0.00345 0.00345 0.38% Castro::construct_old_source() 50 0.002949 0.002949 0.002949 0.32% Castro::construct_old_gravity_source() 10 0.00293 0.00293 0.00293 0.32% Castro::computeNewDt() 9 0.002484 0.002484 0.002484 0.27% Castro::finalize_do_advance() 10 0.002369 0.002369 0.002369 0.26% Castro::enforce_speed_limit() 62 0.002309 0.002309 0.002309 0.25% MLMG::ResNormInf() 93 0.002184 0.002184 0.002184 0.24% Castro::apply_source_to_state() 20 0.001881 0.001881 0.001881 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001811 0.001811 0.001811 0.20% Castro::reset_internal_energy(Fab) 504 0.001636 0.001636 0.001636 0.18% check_for_negative_density() 10 0.001602 0.001602 0.001602 0.17% MLMG::getGradSolution() 11 0.00159 0.00159 0.00159 0.17% MLCellLinOp::compGrad() 11 0.001584 0.001584 0.001584 0.17% MLCellLinOp::setLevelBC() 11 0.001574 0.001574 0.001574 0.17% FabArrayBase::getCPC() 1323 0.001463 0.001463 0.001463 0.16% FabArray::mult() 43 0.001388 0.001388 0.001388 0.15% FabArray::setDomainBndry() 41 0.001366 0.001366 0.001366 0.15% MLPoisson::prepareForSolve() 11 0.001313 0.001313 0.001313 0.14% MLCellLinOp::prepareForSolve() 11 0.001307 0.001307 0.001307 0.14% Castro::check_for_nan() 20 0.001305 0.001305 0.001305 0.14% MultiFab::contains_nan() 20 0.001293 0.001293 0.001293 0.14% MLMG::computeMLResidual() 11 0.001291 0.001291 0.001291 0.14% Other 4753 0.009034 0.009034 0.009034 0.99% -------------------------------------------------------------------------------------------- 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 5300 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 1003 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1488 KiB 28 MiB Castro::initialize_advance() 80 80 17 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7615 KiB 14 MiB MLMG::prepareForSolve() 660 660 3609 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 208 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 168 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7522 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2109 B 2048 KiB Gravity::solve_for_phi() 80 80 572 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 99 KiB 2048 KiB BndryData::define() 1056 1056 329 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 209 KiB 671 KiB Castro::estTimeStep() 21 21 3058 B 480 KiB VisMF::Write(FabArray) 656 656 3328 B 320 KiB Castro::normalize_species() 62 62 6500 B 320 KiB amrex::average_down 1067 1067 1588 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1162 B 257 KiB amrex::Dot() 1360 1360 3414 B 160 KiB FabArray::norminf() 1143 1143 3316 B 160 KiB check_for_negative_density() 10 10 279 B 160 KiB Castro::initData() 1 1 51 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3526 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 299 B 9648 B MLCellLinOp::applyBC() 8702 8702 219 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3961 B 6144 B StateData::FillBoundary(geom) 1992 1992 41 B 2656 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 371 B 1248 B MLCGSolver::bicgstab 410 410 93 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 544 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 400 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3526 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 298 B 9648 B MLCellLinOp::applyBC() 4351 4351 217 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3961 B 6144 B Gravity::get_new_grav_vector() 3 3 2895 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 41 B 2656 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 300 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): 2105 [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.04-29-g95a92e2f8222) finalized Initializing AMReX (24.04-29-g95a92e2f8222)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-29-g95a92e2f8222) initialized Starting run at 07:50:51 UTC on 2024-05-01. Successfully read inputs file ... Castro git describe: 24.04-26-g290eea83f AMReX git describe: 24.04-29-g95a92e2f8 Microphysics git describe: 24.04-10-g8e7e3750 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.508293452 Restart time = 0.072853722 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.068733951 [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.054677676 [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.070149018 [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.071636885 [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.056922875 [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.026536507 seconds Ending run at 07:50:52 UTC on 2024-05-01. Run time = 0.422553786 Run time without initialization = 0.349060119 Average number of zones advanced per microsecond: 3.755 Average number of zones advanced per microsecond per rank: 3.755 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4226 ... 0.4226 ... 0.4226 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1327 0.1327 0.1327 31.40% VisMF::Read() 3 0.06153 0.06153 0.06153 14.56% MLCellLinOp::applyBC() 1910 0.03506 0.03506 0.03506 8.30% VisMF::Write(FabArray) 1 0.0239 0.0239 0.0239 5.66% MLPoisson::Fsmooth() 1440 0.01453 0.01453 0.01453 3.44% FillBoundary_nowait() 1730 0.01297 0.01297 0.01297 3.07% StateData::FillBoundary(geom) 160 0.01267 0.01267 0.01267 3.00% amrex::Dot() 484 0.009065 0.009065 0.009065 2.15% Castro::normalize_species() 30 0.00889 0.00889 0.00889 2.10% FabArray::norminf() 465 0.00846 0.00846 0.00846 2.00% FabArray::setVal() 501 0.006493 0.006493 0.006493 1.54% Castro::computeTemp() 30 0.006479 0.006479 0.006479 1.53% FabArray::ParallelCopy_nowait() 380 0.00607 0.00607 0.00607 1.44% FabArray::Saxpy() 597 0.005754 0.005754 0.005754 1.36% StateDataPhysBCFunct::() 20 0.005689 0.005689 0.005689 1.35% MLCellLinOp::defineAuxData() 6 0.00559 0.00559 0.00559 1.32% amrex::Copy() 221 0.005455 0.005455 0.005455 1.29% Castro::enforce_min_density() 30 0.005435 0.005435 0.005435 1.29% Gravity::fill_multipole_BCs() 6 0.005 0.005 0.005 1.18% Amr::restart() 1 0.004912 0.004912 0.004912 1.16% MLPoisson::Fapply() 464 0.004433 0.004433 0.004433 1.05% FabArray::Xpay() 325 0.003428 0.003428 0.003428 0.81% Castro::estTimeStep() 10 0.003077 0.003077 0.003077 0.73% MLMG::addInterpCorrection() 180 0.003045 0.003045 0.003045 0.72% amrex::average_down 180 0.002668 0.002668 0.002668 0.63% Amr::writePlotFile() 1 0.00247 0.00247 0.00247 0.58% BndryData::define() 6 0.002147 0.002147 0.002147 0.51% Castro::reset_internal_energy(MultiFab) 30 0.00199 0.00199 0.00199 0.47% Castro::construct_new_gravity_source() 5 0.00188 0.00188 0.00188 0.44% amrex::Add() 36 0.001545 0.001545 0.001545 0.37% Castro::construct_old_gravity_source() 5 0.001528 0.001528 0.001528 0.36% Castro::enforce_speed_limit() 30 0.001153 0.001153 0.001153 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009978 0.0009978 0.0009978 0.24% MLCellLinOp::setLevelBC() 6 0.0008739 0.0008739 0.0008739 0.21% check_for_negative_density() 5 0.0008644 0.0008644 0.0008644 0.20% Castro::reset_internal_energy(Fab) 240 0.0008579 0.0008579 0.0008579 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008546 0.0008546 0.0008546 0.20% MLCGSolver::bicgstab 36 0.000766 0.000766 0.000766 0.18% MLCellLinOp::prepareForSolve() 6 0.0007481 0.0007481 0.0007481 0.18% Castro::subcycle_advance_ctu() 5 0.0007127 0.0007127 0.0007127 0.17% FabArray::setDomainBndry() 20 0.0006961 0.0006961 0.0006961 0.16% FabArray::mult() 22 0.000693 0.000693 0.000693 0.16% MLCellLinOp::compGrad() 6 0.0005915 0.0005915 0.0005915 0.14% MLMG::prepareForSolve() 6 0.0005727 0.0005727 0.0005727 0.14% MLCellLinOp::smooth() 720 0.0005329 0.0005329 0.0005329 0.13% FabArrayBase::getCPC() 632 0.0004085 0.0004085 0.0004085 0.10% FabArray::FillBoundary() 1730 0.0003349 0.0003349 0.0003349 0.08% Gravity::get_old_grav_vector() 5 0.0002981 0.0002981 0.0002981 0.07% main() 1 0.0002567 0.0002567 0.0002567 0.06% Gravity::get_new_grav_vector() 5 0.0002338 0.0002338 0.0002338 0.06% AmrLevel::FillPatch() 20 0.0002149 0.0002149 0.0002149 0.05% MLCellLinOp::apply() 464 0.000194 0.000194 0.000194 0.05% Amr::coarseTimeStep() 5 0.0001544 0.0001544 0.0001544 0.04% MLCellLinOp::defineBC() 6 0.0001474 0.0001474 0.0001474 0.03% MLCGSolver::ParallelAllReduce 798 0.0001313 0.0001313 0.0001313 0.03% Castro::construct_new_source() 25 0.0001227 0.0001227 0.0001227 0.03% FillPatchIterator::Initialize 20 0.0001222 0.0001222 0.0001222 0.03% FabArray::ParallelCopy() 380 0.0001118 0.0001118 0.0001118 0.03% Amr::timeStep() 5 0.0001057 0.0001057 0.0001057 0.03% MLMG::mgVcycle() 36 8.988e-05 8.988e-05 8.988e-05 0.02% AmrLevel::restart() 1 7.174e-05 7.174e-05 7.174e-05 0.02% MLCellLinOp::correctionResidual() 180 7.139e-05 7.139e-05 7.139e-05 0.02% StateData::restartDoit() 4 6.825e-05 6.825e-05 6.825e-05 0.02% Gravity::update_max_rhs() 6 6.376e-05 6.376e-05 6.376e-05 0.02% Castro::advance() 5 5.775e-05 5.775e-05 5.775e-05 0.01% Castro::finalize_do_advance() 5 5.593e-05 5.593e-05 5.593e-05 0.01% Castro::initialize_do_advance() 5 5.14e-05 5.14e-05 5.14e-05 0.01% Gravity::solve_for_phi() 5 5.088e-05 5.088e-05 5.088e-05 0.01% MLMG:computeResOfCorrection() 180 4.991e-05 4.991e-05 4.991e-05 0.01% MLMG::solve() 6 3.985e-05 3.985e-05 3.985e-05 0.01% MLMG::mgVcycle_down::0 36 3.896e-05 3.896e-05 3.896e-05 0.01% Castro::initialize_advance() 5 3.858e-05 3.858e-05 3.858e-05 0.01% Castro::clean_state() 30 3.781e-05 3.781e-05 3.781e-05 0.01% MLMG::actualBottomSolve() 36 3.762e-05 3.762e-05 3.762e-05 0.01% Castro::do_new_sources() 5 3.755e-05 3.755e-05 3.755e-05 0.01% MLMG::mgVcycle_down::1 36 3.709e-05 3.709e-05 3.709e-05 0.01% MLMG::mgVcycle_down::2 36 3.498e-05 3.498e-05 3.498e-05 0.01% MLMG::mgVcycle_down::4 36 3.303e-05 3.303e-05 3.303e-05 0.01% Castro::post_timestep() 5 3.271e-05 3.271e-05 3.271e-05 0.01% MLMG::mgVcycle_down::3 36 3.201e-05 3.201e-05 3.201e-05 0.01% MLMG::oneIter() 36 2.611e-05 2.611e-05 2.611e-05 0.01% MLMG::mgVcycle_up::4 36 2.606e-05 2.606e-05 2.606e-05 0.01% Castro::do_advance_ctu() 5 2.453e-05 2.453e-05 2.453e-05 0.01% Castro::post_restart() 1 2.269e-05 2.269e-05 2.269e-05 0.01% MLMG::mgVcycle_up::3 36 2.253e-05 2.253e-05 2.253e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.138e-05 2.138e-05 2.138e-05 0.01% MLCellLinOp::solutionResidual() 42 2.135e-05 2.135e-05 2.135e-05 0.01% MLMG::mgVcycle_up::0 36 2.119e-05 2.119e-05 2.119e-05 0.01% MLMG::mgVcycle_up::2 36 2.105e-05 2.105e-05 2.105e-05 0.00% MLPoisson::define() 6 2.093e-05 2.093e-05 2.093e-05 0.00% MLMG::mgVcycle_up::1 36 1.987e-05 1.987e-05 1.987e-05 0.00% FillPatchSingleLevel 20 1.699e-05 1.699e-05 1.699e-05 0.00% MLMG::ResNormInf() 42 1.64e-05 1.64e-05 1.64e-05 0.00% Gravity::actual_multilevel_solve() 1 1.617e-05 1.617e-05 1.617e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.594e-05 1.594e-05 1.594e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.528e-05 1.528e-05 1.528e-05 0.00% MLMG::computeResidual() 36 1.451e-05 1.451e-05 1.451e-05 0.00% MLMG::mgVcycle_bottom 36 1.422e-05 1.422e-05 1.422e-05 0.00% Castro::construct_new_gravity() 5 1.323e-05 1.323e-05 1.323e-05 0.00% Castro::do_old_sources() 5 1.181e-05 1.181e-05 1.181e-05 0.00% Castro::expand_state() 5 1.078e-05 1.078e-05 1.078e-05 0.00% Castro::construct_old_source() 25 1.016e-05 1.016e-05 1.016e-05 0.00% Castro::apply_source_to_state() 10 6.368e-06 6.368e-06 6.368e-06 0.00% Castro::check_for_nan() 10 6.198e-06 6.198e-06 6.198e-06 0.00% Castro::construct_old_gravity() 5 5.593e-06 5.593e-06 5.593e-06 0.00% MLMG::computeMLResidual() 6 4.502e-06 4.502e-06 4.502e-06 0.00% Castro::computeNewDt() 5 3.641e-06 3.641e-06 3.641e-06 0.00% MLPoisson::prepareForSolve() 6 3.553e-06 3.553e-06 3.553e-06 0.00% MLMG::getGradSolution() 6 3.456e-06 3.456e-06 3.456e-06 0.00% Amr::init() 1 8.22e-07 8.22e-07 8.22e-07 0.00% Other 2160 0.002486 0.002486 0.002486 0.59% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4226 0.4226 0.4226 100.00% Amr::coarseTimeStep() 5 0.3223 0.3223 0.3223 76.26% Amr::timeStep() 5 0.32 0.32 0.32 75.72% Castro::advance() 5 0.3151 0.3151 0.3151 74.56% Castro::subcycle_advance_ctu() 5 0.3079 0.3079 0.3079 72.86% Castro::do_advance_ctu() 5 0.3072 0.3072 0.3072 72.69% Castro::construct_ctu_hydro_source() 5 0.1376 0.1376 0.1376 32.56% Castro::construct_new_gravity() 5 0.1337 0.1337 0.1337 31.63% Gravity::solve_phi_with_mlmg() 6 0.1309 0.1309 0.1309 30.98% Gravity::actual_solve_with_mlmg() 6 0.1256 0.1256 0.1256 29.73% Gravity::solve_for_phi() 5 0.1256 0.1256 0.1256 29.73% MLMG::solve() 6 0.1135 0.1135 0.1135 26.87% MLMG::oneIter() 36 0.1059 0.1059 0.1059 25.05% MLMG::mgVcycle() 36 0.1043 0.1043 0.1043 24.68% Amr::init() 1 0.0729 0.0729 0.0729 17.25% Amr::restart() 1 0.0729 0.0729 0.0729 17.25% AmrLevel::restart() 1 0.06191 0.06191 0.06191 14.65% StateData::restartDoit() 4 0.06183 0.06183 0.06183 14.63% VisMF::Read() 3 0.06153 0.06153 0.06153 14.56% MLCellLinOp::smooth() 720 0.05222 0.05222 0.05222 12.36% MLCellLinOp::applyBC() 1910 0.04867 0.04867 0.04867 11.52% MLMG::mgVcycle_bottom 36 0.031 0.031 0.031 7.34% MLMG::actualBottomSolve() 36 0.03098 0.03098 0.03098 7.33% MLCGSolver::bicgstab 36 0.03062 0.03062 0.03062 7.25% Amr::writePlotFile() 1 0.02663 0.02663 0.02663 6.30% Castro::clean_state() 30 0.02484 0.02484 0.02484 5.88% VisMF::Write(FabArray) 1 0.0239 0.0239 0.0239 5.66% AmrLevel::FillPatch() 20 0.02337 0.02337 0.02337 5.53% FillPatchIterator::Initialize 20 0.02126 0.02126 0.02126 5.03% FillPatchIterator::FillFromLevel0() 20 0.02044 0.02044 0.02044 4.84% FillPatchSingleLevel 20 0.02042 0.02042 0.02042 4.83% StateDataPhysBCFunct::() 20 0.01836 0.01836 0.01836 4.35% MLCellLinOp::apply() 464 0.01585 0.01585 0.01585 3.75% MLMG::mgVcycle_down::0 36 0.0149 0.0149 0.0149 3.52% MLPoisson::Fsmooth() 1440 0.01453 0.01453 0.01453 3.44% FabArray::FillBoundary() 1730 0.01362 0.01362 0.01362 3.22% FillBoundary_nowait() 1730 0.01328 0.01328 0.01328 3.14% StateData::FillBoundary(geom) 160 0.01267 0.01267 0.01267 3.00% MLMG::mgVcycle_up::0 36 0.0112 0.0112 0.0112 2.65% Castro::initialize_do_advance() 5 0.01062 0.01062 0.01062 2.51% Castro::do_old_sources() 5 0.009709 0.009709 0.009709 2.30% MLPoisson::define() 6 0.009484 0.009484 0.009484 2.24% Castro::computeTemp() 30 0.009326 0.009326 0.009326 2.21% amrex::Dot() 484 0.009065 0.009065 0.009065 2.15% Castro::normalize_species() 30 0.00889 0.00889 0.00889 2.10% MLMG:computeResOfCorrection() 180 0.008779 0.008779 0.008779 2.08% MLCellLinOp::correctionResidual() 180 0.008729 0.008729 0.008729 2.07% FabArray::norminf() 465 0.00846 0.00846 0.00846 2.00% Gravity::get_new_grav_vector() 5 0.007939 0.007939 0.007939 1.88% Castro::construct_old_gravity() 5 0.007906 0.007906 0.007906 1.87% Gravity::get_old_grav_vector() 5 0.0079 0.0079 0.0079 1.87% MLMG::mgVcycle_down::1 36 0.007257 0.007257 0.007257 1.72% Castro::initialize_advance() 5 0.006786 0.006786 0.006786 1.61% MLMG::mgVcycle_down::2 36 0.006653 0.006653 0.006653 1.57% FabArray::ParallelCopy() 380 0.006583 0.006583 0.006583 1.56% FabArray::setVal() 501 0.006493 0.006493 0.006493 1.54% FabArray::ParallelCopy_nowait() 380 0.006471 0.006471 0.006471 1.53% MLMG::mgVcycle_down::3 36 0.006456 0.006456 0.006456 1.53% MLCellLinOp::defineAuxData() 6 0.006444 0.006444 0.006444 1.52% MLMG::mgVcycle_down::4 36 0.006436 0.006436 0.006436 1.52% Castro::do_new_sources() 5 0.006192 0.006192 0.006192 1.47% Castro::post_restart() 1 0.005903 0.005903 0.005903 1.40% Castro::expand_state() 5 0.005867 0.005867 0.005867 1.39% FabArray::Saxpy() 597 0.005754 0.005754 0.005754 1.36% Gravity::multilevel_solve_for_new_phi() 1 0.005515 0.005515 0.005515 1.30% Gravity::actual_multilevel_solve() 1 0.005499 0.005499 0.005499 1.30% MLCGSolver::ParallelAllReduce 798 0.005468 0.005468 0.005468 1.29% amrex::Copy() 221 0.005455 0.005455 0.005455 1.29% Castro::enforce_min_density() 30 0.005435 0.005435 0.005435 1.29% MLMG::addInterpCorrection() 180 0.005291 0.005291 0.005291 1.25% MLMG::mgVcycle_up::4 36 0.005191 0.005191 0.005191 1.23% MLMG::mgVcycle_up::1 36 0.005159 0.005159 0.005159 1.22% Gravity::fill_multipole_BCs() 6 0.005126 0.005126 0.005126 1.21% MLMG::mgVcycle_up::2 36 0.005021 0.005021 0.005021 1.19% amrex::average_down 180 0.004966 0.004966 0.004966 1.18% MLMG::mgVcycle_up::3 36 0.00494 0.00494 0.00494 1.17% Castro::post_timestep() 5 0.004785 0.004785 0.004785 1.13% MLPoisson::Fapply() 464 0.004433 0.004433 0.004433 1.05% MLCellLinOp::solutionResidual() 42 0.003645 0.003645 0.003645 0.86% FabArray::Xpay() 325 0.003428 0.003428 0.003428 0.81% Castro::estTimeStep() 10 0.003077 0.003077 0.003077 0.73% MLCellLinOp::defineBC() 6 0.002872 0.002872 0.002872 0.68% MLMG::prepareForSolve() 6 0.002855 0.002855 0.002855 0.68% Castro::reset_internal_energy(MultiFab) 30 0.002847 0.002847 0.002847 0.67% MLMG::computeResidual() 36 0.002835 0.002835 0.002835 0.67% BndryData::define() 6 0.002724 0.002724 0.002724 0.64% Castro::computeNewDt() 5 0.002147 0.002147 0.002147 0.51% Castro::construct_new_source() 25 0.002003 0.002003 0.002003 0.47% Castro::construct_new_gravity_source() 5 0.00188 0.00188 0.00188 0.44% amrex::Add() 36 0.001545 0.001545 0.001545 0.37% Castro::construct_old_source() 25 0.001538 0.001538 0.001538 0.36% Castro::construct_old_gravity_source() 5 0.001528 0.001528 0.001528 0.36% Castro::enforce_speed_limit() 30 0.001153 0.001153 0.001153 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009978 0.0009978 0.0009978 0.24% MLMG::ResNormInf() 42 0.0009913 0.0009913 0.0009913 0.23% Castro::finalize_do_advance() 5 0.0009892 0.0009892 0.0009892 0.23% Castro::apply_source_to_state() 10 0.0009659 0.0009659 0.0009659 0.23% MLMG::getGradSolution() 6 0.0008875 0.0008875 0.0008875 0.21% MLCellLinOp::compGrad() 6 0.000884 0.000884 0.000884 0.21% MLCellLinOp::setLevelBC() 6 0.0008739 0.0008739 0.0008739 0.21% check_for_negative_density() 5 0.0008644 0.0008644 0.0008644 0.20% Castro::reset_internal_energy(Fab) 240 0.0008579 0.0008579 0.0008579 0.20% FabArrayBase::getCPC() 632 0.0008338 0.0008338 0.0008338 0.20% MLMG::computeMLResidual() 6 0.0008294 0.0008294 0.0008294 0.20% MLPoisson::prepareForSolve() 6 0.0007517 0.0007517 0.0007517 0.18% MLCellLinOp::prepareForSolve() 6 0.0007481 0.0007481 0.0007481 0.18% Gravity::update_max_rhs() 6 0.0007328 0.0007328 0.0007328 0.17% FabArray::setDomainBndry() 20 0.0006961 0.0006961 0.0006961 0.16% FabArray::mult() 22 0.000693 0.000693 0.000693 0.16% Castro::check_for_nan() 10 0.0006642 0.0006642 0.0006642 0.16% Other 2160 0.003736 0.003736 0.003736 0.88% -------------------------------------------------------------------------------------------- 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 45 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1087 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1675 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 6369 KiB 14 MiB MLMG::prepareForSolve() 361 361 3298 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 193 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 192 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6355 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 19 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3454 B 2048 KiB Gravity::solve_for_phi() 40 40 607 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 304 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 195 KiB 671 KiB Castro::estTimeStep() 10 10 3454 B 480 KiB VisMF::Write(FabArray) 112 112 1297 B 320 KiB Castro::normalize_species() 30 30 6842 B 320 KiB amrex::average_down 469 469 1376 B 257 KiB MLMG::addInterpCorrection() 468 468 1078 B 257 KiB amrex::Dot() 592 592 3165 B 160 KiB FabArray::norminf() 501 501 3095 B 160 KiB check_for_negative_density() 5 5 328 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 3195 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 264 B 9648 B MLCellLinOp::applyBC() 3820 3820 206 B 9344 B amrex::Copy() 56 56 5796 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 49 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 341 B 1248 B MLCGSolver::bicgstab 180 180 87 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1228 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 87 KiB 8192 KiB VisMF::Write(FabArray) 120 120 157 KiB 3584 KiB VisMF::Read() 24 24 221 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3195 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 264 B 9648 B MLCellLinOp::applyBC() 1910 1910 205 B 9328 B amrex::Copy() 56 56 5796 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2491 B 3072 B StateData::FillBoundary(geom) 960 960 49 B 3024 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B MLMG::prepareForSolve() 7 7 791 B 1648 B amrex::average_down 37 37 454 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): 2105 [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.04-29-g95a92e2f8222) finalized