Initializing AMReX (24.05-18-g8eff86d32d17)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-18-g8eff86d32d17) initialized Starting run at 07:53:05 UTC on 2024-05-17. Successfully read inputs file ... Castro git describe: 24.05-9-g9f9368f1a AMReX git describe: 24.05-18-g8eff86d32 Microphysics git describe: 24.05-6-g1028285f 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.045232908 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025306372 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.070489487 [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.070210531 [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.076736039 [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.063628263 [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.062683377 [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.045313893 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.052059339 [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.072696378 [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.075477495 [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.071107619 [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.067355174 [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.043680762 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025100855 seconds Ending run at 07:53:06 UTC on 2024-05-17. Run time = 0.923028304 Run time without initialization = 0.797229814 Average number of zones advanced per microsecond: 3.288 Average number of zones advanced per microsecond per rank: 3.288 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9231 ... 0.9231 ... 0.9231 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2989 0.2989 0.2989 32.38% VisMF::Write(FabArray) 11 0.1761 0.1761 0.1761 19.08% MLCellLinOp::applyBC() 4351 0.08151 0.08151 0.08151 8.83% MLPoisson::Fsmooth() 3280 0.03414 0.03414 0.03414 3.70% FillBoundary_nowait() 3941 0.03123 0.03123 0.03123 3.38% StateData::FillBoundary(geom) 328 0.02672 0.02672 0.02672 2.90% Castro::normalize_species() 62 0.02268 0.02268 0.02268 2.46% amrex::Dot() 1114 0.02184 0.02184 0.02184 2.37% FabArray::norminf() 1061 0.02031 0.02031 0.02031 2.20% Castro::computeTemp() 63 0.01578 0.01578 0.01578 1.71% FabArray::ParallelCopy_nowait() 861 0.01395 0.01395 0.01395 1.51% FabArray::setVal() 1062 0.01369 0.01369 0.01369 1.48% FabArray::Saxpy() 1370 0.01337 0.01337 0.01337 1.45% Castro::enforce_min_density() 62 0.01168 0.01168 0.01168 1.27% amrex::Copy() 472 0.01098 0.01098 0.01098 1.19% StateDataPhysBCFunct::() 41 0.01097 0.01097 0.01097 1.19% MLCellLinOp::defineAuxData() 11 0.01065 0.01065 0.01065 1.15% MLPoisson::Fapply() 1060 0.01054 0.01054 0.01054 1.14% Gravity::fill_multipole_BCs() 11 0.009434 0.009434 0.009434 1.02% FabArray::Xpay() 739 0.007983 0.007983 0.007983 0.86% MLMG::addInterpCorrection() 410 0.007154 0.007154 0.007154 0.78% amrex::average_down 410 0.006296 0.006296 0.006296 0.68% Castro::estTimeStep() 21 0.005983 0.005983 0.005983 0.65% Amr::checkPoint() 3 0.005918 0.005918 0.005918 0.64% Castro::reset_internal_energy(MultiFab) 63 0.004998 0.004998 0.004998 0.54% BndryData::define() 11 0.00406 0.00406 0.00406 0.44% amrex::Add() 82 0.003638 0.003638 0.003638 0.39% Castro::construct_new_gravity_source() 10 0.003159 0.003159 0.003159 0.34% Castro::construct_old_gravity_source() 10 0.002672 0.002672 0.002672 0.29% Castro::enforce_speed_limit() 62 0.002562 0.002562 0.002562 0.28% Amr::writePlotFile() 2 0.002128 0.002128 0.002128 0.23% check_for_negative_density() 10 0.0019 0.0019 0.0019 0.21% Castro::reset_internal_energy(Fab) 504 0.001846 0.001846 0.001846 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001841 0.001841 0.001841 0.20% MLCGSolver::bicgstab 82 0.001602 0.001602 0.001602 0.17% MLCellLinOp::setLevelBC() 11 0.0016 0.0016 0.0016 0.17% Gravity::actual_solve_with_mlmg() 11 0.001559 0.001559 0.001559 0.17% Castro::initData() 1 0.001501 0.001501 0.001501 0.16% FabArray::setDomainBndry() 41 0.001396 0.001396 0.001396 0.15% FabArray::mult() 43 0.00139 0.00139 0.00139 0.15% MLCellLinOp::prepareForSolve() 11 0.001337 0.001337 0.001337 0.14% MultiFab::contains_nan() 20 0.00128 0.00128 0.00128 0.14% MLCellLinOp::smooth() 1640 0.001128 0.001128 0.001128 0.12% MLCellLinOp::compGrad() 11 0.00107 0.00107 0.00107 0.12% MLMG::prepareForSolve() 11 0.0009605 0.0009605 0.0009605 0.10% FabArray::FillBoundary() 3941 0.0008023 0.0008023 0.0008023 0.09% FabArrayBase::getCPC() 1323 0.0007932 0.0007932 0.0007932 0.09% Gravity::get_new_grav_vector() 11 0.00061 0.00061 0.00061 0.07% Gravity::get_old_grav_vector() 10 0.0004795 0.0004795 0.0004795 0.05% MLCellLinOp::apply() 1060 0.0004507 0.0004507 0.0004507 0.05% AmrLevel::FillPatch() 41 0.0004058 0.0004058 0.0004058 0.04% Amr::coarseTimeStep() 10 0.0003797 0.0003797 0.0003797 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003131 0.0003131 0.0003131 0.03% main() 1 0.0003066 0.0003066 0.0003066 0.03% MLCellLinOp::defineBC() 11 0.0002744 0.0002744 0.0002744 0.03% FabArray::ParallelCopy() 861 0.0002523 0.0002523 0.0002523 0.03% FillPatchIterator::Initialize 41 0.0002278 0.0002278 0.0002278 0.02% MLMG::mgVcycle() 82 0.0002113 0.0002113 0.0002113 0.02% MLCellLinOp::correctionResidual() 410 0.0001781 0.0001781 0.0001781 0.02% Castro::subcycle_advance_ctu() 10 0.0001695 0.0001695 0.0001695 0.02% Amr::timeStep() 10 0.0001542 0.0001542 0.0001542 0.02% MLMG:computeResOfCorrection() 410 0.0001195 0.0001195 0.0001195 0.01% Gravity::solve_for_phi() 10 0.000119 0.000119 0.000119 0.01% StateData::checkPoint() 12 0.0001075 0.0001075 0.0001075 0.01% MLMG::actualBottomSolve() 82 8.001e-05 8.001e-05 8.001e-05 0.01% MLMG::mgVcycle_down::0 82 7.917e-05 7.917e-05 7.917e-05 0.01% Castro::initialize_advance() 10 7.862e-05 7.862e-05 7.862e-05 0.01% Castro::clean_state() 62 7.734e-05 7.734e-05 7.734e-05 0.01% Castro::construct_new_source() 50 7.716e-05 7.716e-05 7.716e-05 0.01% MLMG::solve() 11 6.914e-05 6.914e-05 6.914e-05 0.01% Castro::advance() 10 6.878e-05 6.878e-05 6.878e-05 0.01% MLMG::mgVcycle_down::1 82 6.875e-05 6.875e-05 6.875e-05 0.01% MLMG::mgVcycle_down::2 82 6.764e-05 6.764e-05 6.764e-05 0.01% Castro::post_timestep() 10 6.557e-05 6.557e-05 6.557e-05 0.01% MLMG::mgVcycle_down::4 82 6.356e-05 6.356e-05 6.356e-05 0.01% MLMG::mgVcycle_down::3 82 6.196e-05 6.196e-05 6.196e-05 0.01% AmrLevel::checkPoint() 3 6.016e-05 6.016e-05 6.016e-05 0.01% Castro::initialize_do_advance() 10 5.811e-05 5.811e-05 5.811e-05 0.01% MLMG::oneIter() 82 5.519e-05 5.519e-05 5.519e-05 0.01% MLMG::mgVcycle_up::4 82 5.452e-05 5.452e-05 5.452e-05 0.01% Castro::do_advance_ctu() 10 4.847e-05 4.847e-05 4.847e-05 0.01% Castro::finalize_do_advance() 10 4.839e-05 4.839e-05 4.839e-05 0.01% MLMG::mgVcycle_up::0 82 4.801e-05 4.801e-05 4.801e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.699e-05 4.699e-05 4.699e-05 0.01% MLMG::mgVcycle_up::3 82 4.635e-05 4.635e-05 4.635e-05 0.01% MLMG::mgVcycle_up::1 82 4.577e-05 4.577e-05 4.577e-05 0.00% MLMG::mgVcycle_up::2 82 4.475e-05 4.475e-05 4.475e-05 0.00% MLCellLinOp::solutionResidual() 93 4.351e-05 4.351e-05 4.351e-05 0.00% FillPatchSingleLevel 41 3.612e-05 3.612e-05 3.612e-05 0.00% MLMG::mgVcycle_bottom 82 3.358e-05 3.358e-05 3.358e-05 0.00% MLMG::computeResidual() 82 3.3e-05 3.3e-05 3.3e-05 0.00% Amr::defBaseLevel() 1 2.965e-05 2.965e-05 2.965e-05 0.00% MLMG::ResNormInf() 93 2.842e-05 2.842e-05 2.842e-05 0.00% Castro::construct_new_gravity() 10 2.837e-05 2.837e-05 2.837e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 2.465e-05 2.465e-05 2.465e-05 0.00% MLPoisson::define() 11 2.454e-05 2.454e-05 2.454e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.187e-05 2.187e-05 2.187e-05 0.00% Castro::construct_old_source() 50 1.982e-05 1.982e-05 1.982e-05 0.00% Amr::FinalizeInit() 1 1.928e-05 1.928e-05 1.928e-05 0.00% Castro::do_old_sources() 10 1.851e-05 1.851e-05 1.851e-05 0.00% Castro::do_new_sources() 10 1.747e-05 1.747e-05 1.747e-05 0.00% Castro::construct_old_gravity() 10 1.163e-05 1.163e-05 1.163e-05 0.00% Castro::check_for_nan() 20 1.138e-05 1.138e-05 1.138e-05 0.00% Castro::apply_source_to_state() 20 1.114e-05 1.114e-05 1.114e-05 0.00% MLMG::computeMLResidual() 11 1.071e-05 1.071e-05 1.071e-05 0.00% Gravity::actual_multilevel_solve() 1 8.811e-06 8.811e-06 8.811e-06 0.00% MLPoisson::prepareForSolve() 11 6.821e-06 6.821e-06 6.821e-06 0.00% Castro::computeNewDt() 9 6.468e-06 6.468e-06 6.468e-06 0.00% MLMG::getGradSolution() 11 5.712e-06 5.712e-06 5.712e-06 0.00% Castro::expand_state() 10 5.458e-06 5.458e-06 5.458e-06 0.00% Amr::InitializeInit() 1 5.375e-06 5.375e-06 5.375e-06 0.00% Castro::post_init() 1 3.902e-06 3.902e-06 3.902e-06 0.00% Amr::init() 1 2.439e-06 2.439e-06 2.439e-06 0.00% Castro::post_regrid() 1 1.118e-06 1.118e-06 1.118e-06 0.00% Amr::initialInit() 1 9.73e-07 9.73e-07 9.73e-07 0.00% Other 4752 0.003367 0.003367 0.003367 0.36% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.923 0.923 0.923 100.00% Amr::coarseTimeStep() 10 0.7719 0.7719 0.7719 83.62% Amr::timeStep() 10 0.6791 0.6791 0.6791 73.57% Castro::advance() 10 0.6683 0.6683 0.6683 72.40% Castro::subcycle_advance_ctu() 10 0.6527 0.6527 0.6527 70.71% Castro::do_advance_ctu() 10 0.6525 0.6525 0.6525 70.69% Castro::construct_ctu_hydro_source() 10 0.3102 0.3102 0.3102 33.60% Gravity::solve_phi_with_mlmg() 11 0.2989 0.2989 0.2989 32.39% Gravity::actual_solve_with_mlmg() 11 0.289 0.289 0.289 31.31% Castro::construct_new_gravity() 10 0.2699 0.2699 0.2699 29.24% MLMG::solve() 11 0.2665 0.2665 0.2665 28.87% Gravity::solve_for_phi() 10 0.2536 0.2536 0.2536 27.47% MLMG::oneIter() 82 0.2508 0.2508 0.2508 27.17% MLMG::mgVcycle() 82 0.2471 0.2471 0.2471 26.77% VisMF::Write(FabArray) 11 0.1761 0.1761 0.1761 19.08% Amr::checkPoint() 3 0.1343 0.1343 0.1343 14.55% AmrLevel::checkPoint() 3 0.1284 0.1284 0.1284 13.91% StateData::checkPoint() 12 0.1284 0.1284 0.1284 13.91% Amr::init() 1 0.1251 0.1251 0.1251 13.55% MLCellLinOp::smooth() 1640 0.1232 0.1232 0.1232 13.35% MLCellLinOp::applyBC() 4351 0.1143 0.1143 0.1143 12.38% MLMG::mgVcycle_bottom 82 0.07411 0.07411 0.07411 8.03% MLMG::actualBottomSolve() 82 0.07408 0.07408 0.07408 8.03% MLCGSolver::bicgstab 82 0.07325 0.07325 0.07325 7.94% Castro::clean_state() 62 0.05874 0.05874 0.05874 6.36% Amr::initialInit() 1 0.05444 0.05444 0.05444 5.90% Amr::writePlotFile() 2 0.05054 0.05054 0.05054 5.48% Amr::FinalizeInit() 1 0.04957 0.04957 0.04957 5.37% Castro::post_init() 1 0.04805 0.04805 0.04805 5.21% AmrLevel::FillPatch() 41 0.0478 0.0478 0.0478 5.18% Gravity::multilevel_solve_for_new_phi() 1 0.0458 0.0458 0.0458 4.96% Gravity::actual_multilevel_solve() 1 0.04578 0.04578 0.04578 4.96% FillPatchIterator::Initialize 41 0.04351 0.04351 0.04351 4.71% FillPatchIterator::FillFromLevel0() 41 0.04188 0.04188 0.04188 4.54% FillPatchSingleLevel 41 0.04184 0.04184 0.04184 4.53% StateDataPhysBCFunct::() 41 0.03769 0.03769 0.03769 4.08% MLCellLinOp::apply() 1060 0.0368 0.0368 0.0368 3.99% MLMG::mgVcycle_down::0 82 0.03504 0.03504 0.03504 3.80% MLPoisson::Fsmooth() 3280 0.03414 0.03414 0.03414 3.70% FabArray::FillBoundary() 3941 0.0328 0.0328 0.0328 3.55% FillBoundary_nowait() 3941 0.032 0.032 0.032 3.47% StateData::FillBoundary(geom) 328 0.02672 0.02672 0.02672 2.90% MLMG::mgVcycle_up::0 82 0.02659 0.02659 0.02659 2.88% Castro::normalize_species() 62 0.02268 0.02268 0.02268 2.46% Castro::computeTemp() 63 0.02262 0.02262 0.02262 2.45% amrex::Dot() 1114 0.02184 0.02184 0.02184 2.37% Castro::initialize_do_advance() 10 0.02129 0.02129 0.02129 2.31% MLMG:computeResOfCorrection() 410 0.02069 0.02069 0.02069 2.24% MLCellLinOp::correctionResidual() 410 0.02057 0.02057 0.02057 2.23% FabArray::norminf() 1061 0.02031 0.02031 0.02031 2.20% Castro::do_old_sources() 10 0.01876 0.01876 0.01876 2.03% Gravity::get_new_grav_vector() 11 0.01815 0.01815 0.01815 1.97% MLPoisson::define() 11 0.01777 0.01777 0.01777 1.93% MLMG::mgVcycle_down::1 82 0.01691 0.01691 0.01691 1.83% MLMG::mgVcycle_down::2 82 0.01575 0.01575 0.01575 1.71% Castro::construct_old_gravity() 10 0.01556 0.01556 0.01556 1.69% Gravity::get_old_grav_vector() 10 0.01555 0.01555 0.01555 1.68% MLMG::mgVcycle_down::3 82 0.0153 0.0153 0.0153 1.66% MLMG::mgVcycle_down::4 82 0.01516 0.01516 0.01516 1.64% FabArray::ParallelCopy() 861 0.015 0.015 0.015 1.63% Castro::initialize_advance() 10 0.01491 0.01491 0.01491 1.62% FabArray::ParallelCopy_nowait() 861 0.01475 0.01475 0.01475 1.60% FabArray::setVal() 1062 0.01369 0.01369 0.01369 1.48% FabArray::Saxpy() 1370 0.01337 0.01337 0.01337 1.45% Castro::do_new_sources() 10 0.01335 0.01335 0.01335 1.45% MLCGSolver::ParallelAllReduce 1832 0.01304 0.01304 0.01304 1.41% MLMG::addInterpCorrection() 410 0.01259 0.01259 0.01259 1.36% MLMG::mgVcycle_up::1 82 0.01223 0.01223 0.01223 1.33% MLCellLinOp::defineAuxData() 11 0.01212 0.01212 0.01212 1.31% MLMG::mgVcycle_up::4 82 0.01211 0.01211 0.01211 1.31% MLMG::mgVcycle_up::2 82 0.012 0.012 0.012 1.30% amrex::average_down 410 0.01175 0.01175 0.01175 1.27% MLMG::mgVcycle_up::3 82 0.01172 0.01172 0.01172 1.27% Castro::enforce_min_density() 62 0.01168 0.01168 0.01168 1.27% Castro::expand_state() 10 0.0116 0.0116 0.0116 1.26% amrex::Copy() 472 0.01098 0.01098 0.01098 1.19% Castro::post_timestep() 10 0.01064 0.01064 0.01064 1.15% MLPoisson::Fapply() 1060 0.01054 0.01054 0.01054 1.14% Gravity::fill_multipole_BCs() 11 0.009671 0.009671 0.009671 1.05% FabArray::Xpay() 739 0.007983 0.007983 0.007983 0.86% MLCellLinOp::solutionResidual() 93 0.00789 0.00789 0.00789 0.85% Castro::reset_internal_energy(MultiFab) 63 0.006844 0.006844 0.006844 0.74% MLMG::computeResidual() 82 0.006605 0.006605 0.006605 0.72% Castro::estTimeStep() 21 0.005983 0.005983 0.005983 0.65% MLCellLinOp::defineBC() 11 0.005378 0.005378 0.005378 0.58% MLMG::prepareForSolve() 11 0.005219 0.005219 0.005219 0.57% BndryData::define() 11 0.005103 0.005103 0.005103 0.55% Amr::InitializeInit() 1 0.004867 0.004867 0.004867 0.53% Amr::defBaseLevel() 1 0.004862 0.004862 0.004862 0.53% Castro::initData() 1 0.004179 0.004179 0.004179 0.45% amrex::Add() 82 0.003638 0.003638 0.003638 0.39% Castro::construct_new_source() 50 0.003236 0.003236 0.003236 0.35% Castro::construct_new_gravity_source() 10 0.003159 0.003159 0.003159 0.34% Castro::construct_old_source() 50 0.002692 0.002692 0.002692 0.29% Castro::construct_old_gravity_source() 10 0.002672 0.002672 0.002672 0.29% Castro::computeNewDt() 9 0.002596 0.002596 0.002596 0.28% Castro::enforce_speed_limit() 62 0.002562 0.002562 0.002562 0.28% Castro::finalize_do_advance() 10 0.002415 0.002415 0.002415 0.26% MLMG::ResNormInf() 93 0.002202 0.002202 0.002202 0.24% check_for_negative_density() 10 0.0019 0.0019 0.0019 0.21% Castro::apply_source_to_state() 20 0.00188 0.00188 0.00188 0.20% Castro::reset_internal_energy(Fab) 504 0.001846 0.001846 0.001846 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001841 0.001841 0.001841 0.20% MLCellLinOp::setLevelBC() 11 0.0016 0.0016 0.0016 0.17% MLMG::getGradSolution() 11 0.001597 0.001597 0.001597 0.17% MLCellLinOp::compGrad() 11 0.001591 0.001591 0.001591 0.17% FabArrayBase::getCPC() 1323 0.001473 0.001473 0.001473 0.16% FabArray::setDomainBndry() 41 0.001396 0.001396 0.001396 0.15% FabArray::mult() 43 0.00139 0.00139 0.00139 0.15% MLPoisson::prepareForSolve() 11 0.001344 0.001344 0.001344 0.15% MLCellLinOp::prepareForSolve() 11 0.001337 0.001337 0.001337 0.14% MLMG::computeMLResidual() 11 0.001329 0.001329 0.001329 0.14% Castro::check_for_nan() 20 0.001291 0.001291 0.001291 0.14% MultiFab::contains_nan() 20 0.00128 0.00128 0.00128 0.14% Castro::post_regrid() 1 0.001234 0.001234 0.001234 0.13% Other 4752 0.008151 0.008151 0.008151 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 54 MiB 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 996 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1528 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7617 KiB 14 MiB MLMG::prepareForSolve() 660 660 3551 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 204 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 172 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7519 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2112 B 2048 KiB Gravity::solve_for_phi() 80 80 562 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 101 KiB 2048 KiB BndryData::define() 1056 1056 324 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 207 KiB 671 KiB Castro::estTimeStep() 21 21 3161 B 480 KiB VisMF::Write(FabArray) 656 656 3362 B 320 KiB Castro::normalize_species() 62 62 8007 B 320 KiB amrex::average_down 1067 1067 1605 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1166 B 257 KiB amrex::Dot() 1360 1360 3496 B 160 KiB FabArray::norminf() 1143 1143 3402 B 160 KiB check_for_negative_density() 10 10 323 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 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3467 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 294 B 9648 B MLCellLinOp::applyBC() 8702 8702 220 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 366 B 1248 B MLCGSolver::bicgstab 410 410 95 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 418 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3467 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 294 B 9648 B MLCellLinOp::applyBC() 4351 4351 218 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 2892 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 295 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.05-18-g8eff86d32d17) finalized Initializing AMReX (24.05-18-g8eff86d32d17)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-18-g8eff86d32d17) initialized Starting run at 07:53:07 UTC on 2024-05-17. Successfully read inputs file ... Castro git describe: 24.05-9-g9f9368f1a AMReX git describe: 24.05-18-g8eff86d32 Microphysics git describe: 24.05-6-g1028285f reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.514917581 Restart time = 0.130914073 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.067659299 [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.049701646 [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.074960885 [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.077660515 [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.068946135 [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.027535898 seconds Ending run at 07:53:07 UTC on 2024-05-17. Run time = 0.498536162 Run time without initialization = 0.366923653 Average number of zones advanced per microsecond: 3.572 Average number of zones advanced per microsecond per rank: 3.572 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4986 ... 0.4986 ... 0.4986 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1440 0.1440 0.1440 28.89% VisMF::Read() 3 0.1195 0.1195 0.1195 23.98% MLCellLinOp::applyBC() 1910 0.03594 0.03594 0.03594 7.21% VisMF::Write(FabArray) 1 0.02482 0.02482 0.02482 4.98% MLPoisson::Fsmooth() 1440 0.01505 0.01505 0.01505 3.02% FillBoundary_nowait() 1730 0.013 0.013 0.013 2.61% StateData::FillBoundary(geom) 160 0.01271 0.01271 0.01271 2.55% Castro::normalize_species() 30 0.009565 0.009565 0.009565 1.92% amrex::Dot() 484 0.00941 0.00941 0.00941 1.89% FabArray::norminf() 465 0.008779 0.008779 0.008779 1.76% Castro::computeTemp() 30 0.007679 0.007679 0.007679 1.54% FabArray::setVal() 501 0.006717 0.006717 0.006717 1.35% Castro::enforce_min_density() 30 0.00629 0.00629 0.00629 1.26% FabArray::ParallelCopy_nowait() 380 0.006287 0.006287 0.006287 1.26% FabArray::Saxpy() 597 0.005938 0.005938 0.005938 1.19% MLCellLinOp::defineAuxData() 6 0.005718 0.005718 0.005718 1.15% amrex::Copy() 221 0.005509 0.005509 0.005509 1.10% Gravity::fill_multipole_BCs() 6 0.005427 0.005427 0.005427 1.09% Amr::restart() 1 0.004942 0.004942 0.004942 0.99% StateDataPhysBCFunct::() 20 0.0049 0.0049 0.0049 0.98% MLPoisson::Fapply() 464 0.004593 0.004593 0.004593 0.92% FabArray::Xpay() 325 0.003547 0.003547 0.003547 0.71% MLMG::addInterpCorrection() 180 0.003184 0.003184 0.003184 0.64% Castro::estTimeStep() 10 0.002835 0.002835 0.002835 0.57% amrex::average_down 180 0.002777 0.002777 0.002777 0.56% Amr::writePlotFile() 1 0.002541 0.002541 0.002541 0.51% BndryData::define() 6 0.002255 0.002255 0.002255 0.45% Castro::reset_internal_energy(MultiFab) 30 0.002107 0.002107 0.002107 0.42% Castro::enforce_speed_limit() 30 0.001863 0.001863 0.001863 0.37% Castro::construct_new_gravity_source() 5 0.00164 0.00164 0.00164 0.33% amrex::Add() 36 0.001551 0.001551 0.001551 0.31% Castro::construct_old_gravity_source() 5 0.001282 0.001282 0.001282 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000998 0.000998 0.000998 0.20% check_for_negative_density() 5 0.0009597 0.0009597 0.0009597 0.19% MLCellLinOp::setLevelBC() 6 0.0009044 0.0009044 0.0009044 0.18% Gravity::actual_solve_with_mlmg() 6 0.000846 0.000846 0.000846 0.17% Castro::reset_internal_energy(Fab) 240 0.0007998 0.0007998 0.0007998 0.16% MLCellLinOp::prepareForSolve() 6 0.000768 0.000768 0.000768 0.15% FabArray::setDomainBndry() 20 0.0007119 0.0007119 0.0007119 0.14% FabArray::mult() 22 0.0006985 0.0006985 0.0006985 0.14% MLCGSolver::bicgstab 36 0.0006973 0.0006973 0.0006973 0.14% MLCellLinOp::compGrad() 6 0.0006018 0.0006018 0.0006018 0.12% MLMG::prepareForSolve() 6 0.0005584 0.0005584 0.0005584 0.11% MLCellLinOp::smooth() 720 0.0005005 0.0005005 0.0005005 0.10% FabArrayBase::getCPC() 632 0.0003782 0.0003782 0.0003782 0.08% FabArray::FillBoundary() 1730 0.000345 0.000345 0.000345 0.07% Gravity::get_old_grav_vector() 5 0.000313 0.000313 0.000313 0.06% main() 1 0.0002841 0.0002841 0.0002841 0.06% Gravity::get_new_grav_vector() 5 0.0002627 0.0002627 0.0002627 0.05% AmrLevel::FillPatch() 20 0.0001992 0.0001992 0.0001992 0.04% MLCellLinOp::apply() 464 0.0001867 0.0001867 0.0001867 0.04% Amr::coarseTimeStep() 5 0.0001837 0.0001837 0.0001837 0.04% MLCellLinOp::defineBC() 6 0.0001482 0.0001482 0.0001482 0.03% MLCGSolver::ParallelAllReduce 798 0.0001333 0.0001333 0.0001333 0.03% Castro::subcycle_advance_ctu() 5 0.0001273 0.0001273 0.0001273 0.03% FabArray::ParallelCopy() 380 0.0001167 0.0001167 0.0001167 0.02% FillPatchIterator::Initialize 20 0.000107 0.000107 0.000107 0.02% Castro::construct_new_source() 25 9.847e-05 9.847e-05 9.847e-05 0.02% MLMG::mgVcycle() 36 9.012e-05 9.012e-05 9.012e-05 0.02% Amr::timeStep() 5 8.377e-05 8.377e-05 8.377e-05 0.02% Castro::do_new_sources() 5 7.497e-05 7.497e-05 7.497e-05 0.02% AmrLevel::restart() 1 7.336e-05 7.336e-05 7.336e-05 0.01% StateData::restartDoit() 4 7.016e-05 7.016e-05 7.016e-05 0.01% MLCellLinOp::correctionResidual() 180 6.999e-05 6.999e-05 6.999e-05 0.01% Castro::initialize_do_advance() 5 6.902e-05 6.902e-05 6.902e-05 0.01% Castro::post_timestep() 5 6.658e-05 6.658e-05 6.658e-05 0.01% Castro::do_advance_ctu() 5 6.654e-05 6.654e-05 6.654e-05 0.01% Castro::finalize_do_advance() 5 6.559e-05 6.559e-05 6.559e-05 0.01% Gravity::update_max_rhs() 6 6.362e-05 6.362e-05 6.362e-05 0.01% Gravity::solve_for_phi() 5 4.944e-05 4.944e-05 4.944e-05 0.01% MLMG:computeResOfCorrection() 180 4.592e-05 4.592e-05 4.592e-05 0.01% Castro::initialize_advance() 5 3.741e-05 3.741e-05 3.741e-05 0.01% Castro::advance() 5 3.638e-05 3.638e-05 3.638e-05 0.01% MLMG::mgVcycle_down::0 36 3.53e-05 3.53e-05 3.53e-05 0.01% MLMG::actualBottomSolve() 36 3.51e-05 3.51e-05 3.51e-05 0.01% MLMG::solve() 6 3.471e-05 3.471e-05 3.471e-05 0.01% Castro::clean_state() 30 3.353e-05 3.353e-05 3.353e-05 0.01% MLMG::mgVcycle_down::1 36 3.162e-05 3.162e-05 3.162e-05 0.01% MLMG::mgVcycle_down::2 36 2.929e-05 2.929e-05 2.929e-05 0.01% MLMG::mgVcycle_down::4 36 2.852e-05 2.852e-05 2.852e-05 0.01% Castro::construct_old_source() 25 2.781e-05 2.781e-05 2.781e-05 0.01% MLMG::mgVcycle_down::3 36 2.66e-05 2.66e-05 2.66e-05 0.01% MLMG::mgVcycle_up::4 36 2.594e-05 2.594e-05 2.594e-05 0.01% MLMG::oneIter() 36 2.561e-05 2.561e-05 2.561e-05 0.01% MLMG::mgVcycle_up::0 36 2.481e-05 2.481e-05 2.481e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 2.407e-05 2.407e-05 2.407e-05 0.00% MLMG::mgVcycle_up::3 36 2.219e-05 2.219e-05 2.219e-05 0.00% Castro::post_restart() 1 2.17e-05 2.17e-05 2.17e-05 0.00% MLCellLinOp::solutionResidual() 42 2.139e-05 2.139e-05 2.139e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.102e-05 2.102e-05 2.102e-05 0.00% MLMG::mgVcycle_up::2 36 2.065e-05 2.065e-05 2.065e-05 0.00% MLMG::mgVcycle_up::1 36 2.018e-05 2.018e-05 2.018e-05 0.00% MLPoisson::define() 6 1.799e-05 1.799e-05 1.799e-05 0.00% FillPatchSingleLevel 20 1.621e-05 1.621e-05 1.621e-05 0.00% MLMG::mgVcycle_bottom 36 1.47e-05 1.47e-05 1.47e-05 0.00% MLMG::ResNormInf() 42 1.452e-05 1.452e-05 1.452e-05 0.00% MLMG::computeResidual() 36 1.333e-05 1.333e-05 1.333e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.261e-05 1.261e-05 1.261e-05 0.00% Castro::construct_new_gravity() 5 1.134e-05 1.134e-05 1.134e-05 0.00% Castro::do_old_sources() 5 1.043e-05 1.043e-05 1.043e-05 0.00% Gravity::actual_multilevel_solve() 1 8.516e-06 8.516e-06 8.516e-06 0.00% Castro::expand_state() 5 8.201e-06 8.201e-06 8.201e-06 0.00% MLMG::getGradSolution() 6 8.115e-06 8.115e-06 8.115e-06 0.00% Castro::apply_source_to_state() 10 5.925e-06 5.925e-06 5.925e-06 0.00% Castro::construct_old_gravity() 5 5.722e-06 5.722e-06 5.722e-06 0.00% MLMG::computeMLResidual() 6 4.172e-06 4.172e-06 4.172e-06 0.00% MLPoisson::prepareForSolve() 6 3.522e-06 3.522e-06 3.522e-06 0.00% Castro::computeNewDt() 5 3.447e-06 3.447e-06 3.447e-06 0.00% Amr::init() 1 1.394e-06 1.394e-06 1.394e-06 0.00% Other 2170 0.002575 0.002575 0.002575 0.52% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4985 0.4985 0.4985 100.00% Amr::coarseTimeStep() 5 0.3391 0.3391 0.3391 68.02% Amr::timeStep() 5 0.337 0.337 0.337 67.60% Castro::advance() 5 0.3311 0.3311 0.3311 66.41% Castro::subcycle_advance_ctu() 5 0.3234 0.3234 0.3234 64.86% Castro::do_advance_ctu() 5 0.3232 0.3232 0.3232 64.83% Castro::construct_ctu_hydro_source() 5 0.1497 0.1497 0.1497 30.02% Castro::construct_new_gravity() 5 0.1374 0.1374 0.1374 27.56% Gravity::solve_phi_with_mlmg() 6 0.1347 0.1347 0.1347 27.01% Amr::init() 1 0.131 0.131 0.131 26.27% Amr::restart() 1 0.131 0.131 0.131 26.27% Gravity::solve_for_phi() 5 0.1293 0.1293 0.1293 25.94% Gravity::actual_solve_with_mlmg() 6 0.129 0.129 0.129 25.87% AmrLevel::restart() 1 0.1199 0.1199 0.1199 24.05% StateData::restartDoit() 4 0.1198 0.1198 0.1198 24.04% VisMF::Read() 3 0.1195 0.1195 0.1195 23.98% MLMG::solve() 6 0.1166 0.1166 0.1166 23.39% MLMG::oneIter() 36 0.1088 0.1088 0.1088 21.83% MLMG::mgVcycle() 36 0.1073 0.1073 0.1073 21.52% MLCellLinOp::smooth() 720 0.0534 0.0534 0.0534 10.71% MLCellLinOp::applyBC() 1910 0.0496 0.0496 0.0496 9.95% MLMG::mgVcycle_bottom 36 0.03207 0.03207 0.03207 6.43% MLMG::actualBottomSolve() 36 0.03205 0.03205 0.03205 6.43% MLCGSolver::bicgstab 36 0.03168 0.03168 0.03168 6.35% Castro::clean_state() 30 0.02834 0.02834 0.02834 5.68% Amr::writePlotFile() 1 0.02762 0.02762 0.02762 5.54% VisMF::Write(FabArray) 1 0.02482 0.02482 0.02482 4.98% AmrLevel::FillPatch() 20 0.02265 0.02265 0.02265 4.54% FillPatchIterator::Initialize 20 0.02053 0.02053 0.02053 4.12% FillPatchIterator::FillFromLevel0() 20 0.01971 0.01971 0.01971 3.95% FillPatchSingleLevel 20 0.01969 0.01969 0.01969 3.95% StateDataPhysBCFunct::() 20 0.01761 0.01761 0.01761 3.53% MLCellLinOp::apply() 464 0.01622 0.01622 0.01622 3.25% MLMG::mgVcycle_down::0 36 0.0152 0.0152 0.0152 3.05% MLPoisson::Fsmooth() 1440 0.01505 0.01505 0.01505 3.02% FabArray::FillBoundary() 1730 0.01366 0.01366 0.01366 2.74% FillBoundary_nowait() 1730 0.01332 0.01332 0.01332 2.67% StateData::FillBoundary(geom) 160 0.01271 0.01271 0.01271 2.55% MLMG::mgVcycle_up::0 36 0.0113 0.0113 0.0113 2.27% Castro::initialize_do_advance() 5 0.01069 0.01069 0.01069 2.14% Castro::computeTemp() 30 0.01059 0.01059 0.01059 2.12% MLPoisson::define() 6 0.009682 0.009682 0.009682 1.94% Castro::normalize_species() 30 0.009565 0.009565 0.009565 1.92% amrex::Dot() 484 0.00941 0.00941 0.00941 1.89% Castro::do_old_sources() 5 0.009364 0.009364 0.009364 1.88% MLMG:computeResOfCorrection() 180 0.008995 0.008995 0.008995 1.80% MLCellLinOp::correctionResidual() 180 0.008949 0.008949 0.008949 1.80% FabArray::norminf() 465 0.008779 0.008779 0.008779 1.76% Gravity::get_new_grav_vector() 5 0.007931 0.007931 0.007931 1.59% Castro::construct_old_gravity() 5 0.007577 0.007577 0.007577 1.52% Gravity::get_old_grav_vector() 5 0.007571 0.007571 0.007571 1.52% MLMG::mgVcycle_down::1 36 0.007444 0.007444 0.007444 1.49% Castro::initialize_advance() 5 0.007366 0.007366 0.007366 1.48% Castro::do_new_sources() 5 0.006979 0.006979 0.006979 1.40% MLMG::mgVcycle_down::2 36 0.006827 0.006827 0.006827 1.37% FabArray::ParallelCopy() 380 0.006803 0.006803 0.006803 1.36% FabArray::setVal() 501 0.006717 0.006717 0.006717 1.35% FabArray::ParallelCopy_nowait() 380 0.006686 0.006686 0.006686 1.34% MLMG::mgVcycle_down::3 36 0.006684 0.006684 0.006684 1.34% MLMG::mgVcycle_down::4 36 0.006635 0.006635 0.006635 1.33% MLCellLinOp::defineAuxData() 6 0.006525 0.006525 0.006525 1.31% Castro::enforce_min_density() 30 0.00629 0.00629 0.00629 1.26% FabArray::Saxpy() 597 0.005938 0.005938 0.005938 1.19% Castro::post_restart() 1 0.005923 0.005923 0.005923 1.19% Castro::post_timestep() 5 0.00588 0.00588 0.00588 1.18% Castro::expand_state() 5 0.005798 0.005798 0.005798 1.16% MLCGSolver::ParallelAllReduce 798 0.005674 0.005674 0.005674 1.14% Gravity::multilevel_solve_for_new_phi() 1 0.005553 0.005553 0.005553 1.11% Gravity::fill_multipole_BCs() 6 0.005551 0.005551 0.005551 1.11% MLMG::addInterpCorrection() 180 0.00555 0.00555 0.00555 1.11% Gravity::actual_multilevel_solve() 1 0.005529 0.005529 0.005529 1.11% amrex::Copy() 221 0.005509 0.005509 0.005509 1.10% MLMG::mgVcycle_up::4 36 0.005345 0.005345 0.005345 1.07% MLMG::mgVcycle_up::1 36 0.005333 0.005333 0.005333 1.07% MLMG::mgVcycle_up::2 36 0.005206 0.005206 0.005206 1.04% amrex::average_down 180 0.00515 0.00515 0.00515 1.03% MLMG::mgVcycle_up::3 36 0.005139 0.005139 0.005139 1.03% MLPoisson::Fapply() 464 0.004593 0.004593 0.004593 0.92% MLCellLinOp::solutionResidual() 42 0.003693 0.003693 0.003693 0.74% FabArray::Xpay() 325 0.003547 0.003547 0.003547 0.71% MLCellLinOp::defineBC() 6 0.003001 0.003001 0.003001 0.60% MLMG::prepareForSolve() 6 0.002923 0.002923 0.002923 0.59% Castro::reset_internal_energy(MultiFab) 30 0.002907 0.002907 0.002907 0.58% MLMG::computeResidual() 36 0.002887 0.002887 0.002887 0.58% BndryData::define() 6 0.002853 0.002853 0.002853 0.57% Castro::estTimeStep() 10 0.002835 0.002835 0.002835 0.57% Castro::computeNewDt() 5 0.001875 0.001875 0.001875 0.38% Castro::enforce_speed_limit() 30 0.001863 0.001863 0.001863 0.37% Castro::construct_new_source() 25 0.001739 0.001739 0.001739 0.35% Castro::construct_new_gravity_source() 5 0.00164 0.00164 0.00164 0.33% amrex::Add() 36 0.001551 0.001551 0.001551 0.31% Castro::construct_old_source() 25 0.00131 0.00131 0.00131 0.26% Castro::construct_old_gravity_source() 5 0.001282 0.001282 0.001282 0.26% Castro::finalize_do_advance() 5 0.001029 0.001029 0.001029 0.21% MLMG::ResNormInf() 42 0.0009985 0.0009985 0.0009985 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000998 0.000998 0.000998 0.20% Castro::apply_source_to_state() 10 0.0009689 0.0009689 0.0009689 0.19% check_for_negative_density() 5 0.0009597 0.0009597 0.0009597 0.19% MLMG::getGradSolution() 6 0.0009109 0.0009109 0.0009109 0.18% MLCellLinOp::setLevelBC() 6 0.0009044 0.0009044 0.0009044 0.18% MLCellLinOp::compGrad() 6 0.0009027 0.0009027 0.0009027 0.18% MLMG::computeMLResidual() 6 0.0008235 0.0008235 0.0008235 0.17% FabArrayBase::getCPC() 632 0.0008063 0.0008063 0.0008063 0.16% Castro::reset_internal_energy(Fab) 240 0.0007998 0.0007998 0.0007998 0.16% MLPoisson::prepareForSolve() 6 0.0007715 0.0007715 0.0007715 0.15% MLCellLinOp::prepareForSolve() 6 0.000768 0.000768 0.000768 0.15% Gravity::update_max_rhs() 6 0.0007217 0.0007217 0.0007217 0.14% FabArray::setDomainBndry() 20 0.0007119 0.0007119 0.0007119 0.14% FabArray::mult() 22 0.0006985 0.0006985 0.0006985 0.14% Other 2170 0.004479 0.004479 0.004479 0.90% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 10 MiB 9037 MiB Castro::initMFs() 48 48 50 MiB 68 MiB Castro::swap_state_time_levels() 32 32 40 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 896 KiB 39 MiB Castro::initialize_do_advance() 40 40 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1472 KiB 28 MiB Castro::initialize_advance() 40 40 15 MiB 23 MiB Castro::buildMetrics() 32 32 11 MiB 15 MiB Castro::post_restart() 48 48 5670 KiB 14 MiB MLMG::prepareForSolve() 361 361 2872 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 157 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 162 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 5659 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 18 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2883 B 2048 KiB Gravity::solve_for_phi() 40 40 530 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 22 KiB 2048 KiB BndryData::define() 576 576 265 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 170 KiB 671 KiB Castro::estTimeStep() 10 10 2713 B 480 KiB VisMF::Write(FabArray) 112 112 1120 B 320 KiB Castro::normalize_species() 30 30 6248 B 320 KiB amrex::average_down 469 469 1225 B 257 KiB MLMG::addInterpCorrection() 468 468 944 B 257 KiB amrex::Dot() 592 592 2785 B 160 KiB FabArray::norminf() 501 501 2721 B 160 KiB check_for_negative_density() 5 5 309 B 160 KiB MultiFab::max() 6 6 64 B 160 KiB FabArray::setVal() 66 66 18 KiB 27 KiB MultiFab::contains_nan() 10 10 26 B 20 KiB MLPoisson::Fsmooth() 60 60 2782 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 39 B 10 KiB FillBoundary_nowait() 336 336 224 B 9648 B MLCellLinOp::applyBC() 3820 3820 179 B 9344 B amrex::Copy() 56 56 5178 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 34 B 3744 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 297 B 1248 B MLCGSolver::bicgstab 180 180 76 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1044 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 81 KiB 8192 KiB VisMF::Write(FabArray) 120 120 139 KiB 3584 KiB VisMF::Read() 24 24 189 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 27 KiB MLPoisson::Fsmooth() 60 60 2782 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 39 B 10 KiB FillBoundary_nowait() 336 336 224 B 9648 B MLCellLinOp::applyBC() 1910 1910 178 B 9328 B amrex::Copy() 56 56 5178 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 35 B 3744 B Gravity::get_old_grav_vector() 3 3 2225 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B MLMG::prepareForSolve() 7 7 700 B 1648 B amrex::average_down 37 37 410 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 20 B 400 B FabArray::norminf() 501 501 7 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.05-18-g8eff86d32d17) finalized