Initializing AMReX (24.02-12-g68244ec91d11)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-12-g68244ec91d11) initialized Starting run at 13:18:05 UTC on 2024-02-13. Successfully read inputs file ... Castro git describe: 24.02-18-g62193e94e AMReX git describe: 24.02-12-g68244ec91 Microphysics git describe: 24.02-15-gbe028dca 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.045677769 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025112394 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.065961771 [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.052014917 [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.074393558 [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.083666121 [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.065691323 [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.045528362 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.052474012 [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.074986859 [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.075738908 [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.066255827 [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.070868946 [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.044092672 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.02553755 seconds Ending run at 13:18:06 UTC on 2024-02-13. Run time = 0.924648442 Run time without initialization = 0.797882027 Average number of zones advanced per microsecond: 3.285 Average number of zones advanced per microsecond per rank: 3.285 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9247 ... 0.9247 ... 0.9247 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2952 0.2952 0.2952 31.93% VisMF::Write(FabArray) 11 0.1776 0.1776 0.1776 19.20% MLCellLinOp::applyBC() 4351 0.08174 0.08174 0.08174 8.84% MLPoisson::Fsmooth() 3280 0.03396 0.03396 0.03396 3.67% FillBoundary_nowait() 3941 0.03175 0.03175 0.03175 3.43% StateData::FillBoundary(geom) 328 0.0271 0.0271 0.0271 2.93% amrex::Dot() 1114 0.02169 0.02169 0.02169 2.35% Castro::normalize_species() 62 0.02145 0.02145 0.02145 2.32% FabArray::norminf() 1061 0.02029 0.02029 0.02029 2.19% Castro::computeTemp() 63 0.01638 0.01638 0.01638 1.77% StateDataPhysBCFunct::() 41 0.01544 0.01544 0.01544 1.67% FabArray::ParallelCopy_nowait() 861 0.0138 0.0138 0.0138 1.49% FabArray::setVal() 1062 0.01351 0.01351 0.01351 1.46% FabArray::Saxpy() 1370 0.01333 0.01333 0.01333 1.44% Castro::enforce_min_density() 62 0.0116 0.0116 0.0116 1.25% amrex::Copy() 472 0.01092 0.01092 0.01092 1.18% MLCellLinOp::defineAuxData() 11 0.01067 0.01067 0.01067 1.15% MLPoisson::Fapply() 1060 0.01045 0.01045 0.01045 1.13% Gravity::fill_multipole_BCs() 11 0.008624 0.008624 0.008624 0.93% FabArray::Xpay() 739 0.00802 0.00802 0.00802 0.87% MLMG::addInterpCorrection() 410 0.007122 0.007122 0.007122 0.77% amrex::average_down 410 0.006345 0.006345 0.006345 0.69% Castro::estTimeStep() 21 0.006037 0.006037 0.006037 0.65% Amr::checkPoint() 3 0.005832 0.005832 0.005832 0.63% Castro::reset_internal_energy(MultiFab) 63 0.004951 0.004951 0.004951 0.54% BndryData::define() 11 0.004053 0.004053 0.004053 0.44% amrex::Add() 82 0.003662 0.003662 0.003662 0.40% Castro::construct_new_gravity_source() 10 0.003448 0.003448 0.003448 0.37% Castro::construct_old_gravity_source() 10 0.002898 0.002898 0.002898 0.31% Castro::enforce_speed_limit() 62 0.002589 0.002589 0.002589 0.28% Amr::writePlotFile() 2 0.002025 0.002025 0.002025 0.22% check_for_negative_density() 10 0.001854 0.001854 0.001854 0.20% Castro::reset_internal_energy(Fab) 504 0.001836 0.001836 0.001836 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001801 0.001801 0.001801 0.19% MLCellLinOp::setLevelBC() 11 0.00163 0.00163 0.00163 0.18% MLCGSolver::bicgstab 82 0.00162 0.00162 0.00162 0.18% Gravity::actual_solve_with_mlmg() 11 0.001567 0.001567 0.001567 0.17% Castro::initData() 1 0.001428 0.001428 0.001428 0.15% FabArray::mult() 43 0.001408 0.001408 0.001408 0.15% FabArray::setDomainBndry() 41 0.001379 0.001379 0.001379 0.15% MLCellLinOp::prepareForSolve() 11 0.001343 0.001343 0.001343 0.15% MultiFab::contains_nan() 20 0.001294 0.001294 0.001294 0.14% MLCellLinOp::compGrad() 11 0.001106 0.001106 0.001106 0.12% MLCellLinOp::smooth() 1640 0.001087 0.001087 0.001087 0.12% MLMG::prepareForSolve() 11 0.001006 0.001006 0.001006 0.11% FabArray::FillBoundary() 3941 0.000813 0.000813 0.000813 0.09% FabArrayBase::getCPC() 1323 0.000782 0.000782 0.000782 0.08% FabArrayBase::CPC::define() 454 0.0006599 0.0006599 0.0006599 0.07% Gravity::get_new_grav_vector() 11 0.0006269 0.0006269 0.0006269 0.07% FabArrayBase::getFB() 3941 0.000618 0.000618 0.000618 0.07% Amr::InitAmr() 1 0.0006123 0.0006123 0.0006123 0.07% Gravity::get_old_grav_vector() 10 0.0004821 0.0004821 0.0004821 0.05% MLCellLinOp::apply() 1060 0.0004153 0.0004153 0.0004153 0.04% AmrLevel::FillPatch() 41 0.0004105 0.0004105 0.0004105 0.04% Amr::coarseTimeStep() 10 0.0003768 0.0003768 0.0003768 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003402 0.0003402 0.0003402 0.04% MultiFab::max() 11 0.0003339 0.0003339 0.0003339 0.04% main() 1 0.0002954 0.0002954 0.0002954 0.03% MLCellLinOp::defineBC() 11 0.0002945 0.0002945 0.0002945 0.03% FabArray::ParallelCopy() 861 0.0002441 0.0002441 0.0002441 0.03% FillPatchIterator::Initialize 41 0.0002084 0.0002084 0.0002084 0.02% MLMG::mgVcycle() 82 0.0001996 0.0001996 0.0001996 0.02% MLLinOp::defineGrids() 11 0.0001842 0.0001842 0.0001842 0.02% MLCellLinOp::correctionResidual() 410 0.000183 0.000183 0.000183 0.02% Castro::create_source_corrector() 10 0.0001697 0.0001697 0.0001697 0.02% Amr::timeStep() 10 0.0001623 0.0001623 0.0001623 0.02% Castro::subcycle_advance_ctu() 10 0.0001583 0.0001583 0.0001583 0.02% Castro::construct_new_source() 50 0.0001468 0.0001468 0.0001468 0.02% StateData::checkPoint() 12 0.0001343 0.0001343 0.0001343 0.01% Gravity::update_max_rhs() 11 0.0001287 0.0001287 0.0001287 0.01% MLMG:computeResOfCorrection() 410 0.0001261 0.0001261 0.0001261 0.01% Gravity::solve_for_phi() 10 0.0001166 0.0001166 0.0001166 0.01% Castro::Castro() 1 9.307e-05 9.307e-05 9.307e-05 0.01% MLMG::actualBottomSolve() 82 9.11e-05 9.11e-05 9.11e-05 0.01% FabArrayBase::FB::FB() 56 9.017e-05 9.017e-05 9.017e-05 0.01% Castro::advance() 10 8.796e-05 8.796e-05 8.796e-05 0.01% MLMG::mgVcycle_down::0 82 8.621e-05 8.621e-05 8.621e-05 0.01% MLMG::mgVcycle_down::1 82 7.947e-05 7.947e-05 7.947e-05 0.01% MLMG::mgVcycle_down::2 82 7.91e-05 7.91e-05 7.91e-05 0.01% Castro::initialize_advance() 10 7.897e-05 7.897e-05 7.897e-05 0.01% AmrLevel::checkPoint() 3 7.69e-05 7.69e-05 7.69e-05 0.01% Castro::clean_state() 62 7.675e-05 7.675e-05 7.675e-05 0.01% MLMG::mgVcycle_down::4 82 7.672e-05 7.672e-05 7.672e-05 0.01% MLMG::solve() 11 7.441e-05 7.441e-05 7.441e-05 0.01% MLMG::mgVcycle_down::3 82 6.916e-05 6.916e-05 6.916e-05 0.01% Castro::enforce_consistent_e() 1 6.875e-05 6.875e-05 6.875e-05 0.01% Castro::finalize_do_advance() 10 6.427e-05 6.427e-05 6.427e-05 0.01% Castro::finalize_advance() 10 6.379e-05 6.379e-05 6.379e-05 0.01% MLMG::mgVcycle_up::4 82 6.082e-05 6.082e-05 6.082e-05 0.01% Castro::initialize_do_advance() 10 5.99e-05 5.99e-05 5.99e-05 0.01% MLMG::oneIter() 82 5.838e-05 5.838e-05 5.838e-05 0.01% MLCellLinOp::solutionResidual() 93 5.295e-05 5.295e-05 5.295e-05 0.01% Castro::do_advance_ctu() 10 5.249e-05 5.249e-05 5.249e-05 0.01% MLMG::mgVcycle_up::3 82 5.201e-05 5.201e-05 5.201e-05 0.01% MLMG::mgVcycle_up::0 82 5.099e-05 5.099e-05 5.099e-05 0.01% StateData::define() 4 4.801e-05 4.801e-05 4.801e-05 0.01% MLMG::mgVcycle_up::1 82 4.774e-05 4.774e-05 4.774e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.758e-05 4.758e-05 4.758e-05 0.01% MLMG::mgVcycle_up::2 82 4.631e-05 4.631e-05 4.631e-05 0.01% MLMG::ResNormInf() 93 4.359e-05 4.359e-05 4.359e-05 0.00% Castro::swap_state_time_levels() 10 3.708e-05 3.708e-05 3.708e-05 0.00% Castro::post_timestep() 10 3.523e-05 3.523e-05 3.523e-05 0.00% MLMG::mgVcycle_bottom 82 3.502e-05 3.502e-05 3.502e-05 0.00% FillPatchSingleLevel 41 3.502e-05 3.502e-05 3.502e-05 0.00% MLMG::computeResidual() 82 3.425e-05 3.425e-05 3.425e-05 0.00% Castro::initMFs() 1 3.338e-05 3.338e-05 3.338e-05 0.00% Amr::writeSmallPlotFile() 1 3.161e-05 3.161e-05 3.161e-05 0.00% Castro::construct_new_gravity() 10 3.049e-05 3.049e-05 3.049e-05 0.00% makeSFC 55 2.759e-05 2.759e-05 2.759e-05 0.00% Amr::defBaseLevel() 1 2.65e-05 2.65e-05 2.65e-05 0.00% Castro::buildMetrics() 1 2.621e-05 2.621e-05 2.621e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.473e-05 2.473e-05 2.473e-05 0.00% AmrLevel::AmrLevel(dm) 1 2.247e-05 2.247e-05 2.247e-05 0.00% Castro::do_old_sources() 10 2.195e-05 2.195e-05 2.195e-05 0.00% MLPoisson::define() 11 2.138e-05 2.138e-05 2.138e-05 0.00% Amr::FinalizeInit() 1 2.123e-05 2.123e-05 2.123e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 2.086e-05 2.086e-05 2.086e-05 0.00% Castro::do_new_sources() 10 1.928e-05 1.928e-05 1.928e-05 0.00% Castro::construct_old_source() 50 1.88e-05 1.88e-05 1.88e-05 0.00% DistributionMapping::Distribute() 56 1.739e-05 1.739e-05 1.739e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.53e-05 1.53e-05 1.53e-05 0.00% MLPoisson::prepareForSolve() 11 1.385e-05 1.385e-05 1.385e-05 0.00% Castro::check_for_nan() 20 1.258e-05 1.258e-05 1.258e-05 0.00% MLLinOp::define() 11 1.21e-05 1.21e-05 1.21e-05 0.00% Castro::apply_source_to_state() 20 1.208e-05 1.208e-05 1.208e-05 0.00% Castro::post_init() 1 1.145e-05 1.145e-05 1.145e-05 0.00% Castro::construct_old_gravity() 10 1.105e-05 1.105e-05 1.105e-05 0.00% MLMG::computeMLResidual() 11 1.025e-05 1.025e-05 1.025e-05 0.00% Amr::initSubcycle() 1 9.228e-06 9.228e-06 9.228e-06 0.00% Gravity::swapTimeLevels() 10 8.826e-06 8.826e-06 8.826e-06 0.00% Gravity::actual_multilevel_solve() 1 8.434e-06 8.434e-06 8.434e-06 0.00% Castro::computeNewDt() 9 6.625e-06 6.625e-06 6.625e-06 0.00% MLMG::getGradSolution() 11 6.085e-06 6.085e-06 6.085e-06 0.00% Castro::expand_state() 10 5.996e-06 5.996e-06 5.996e-06 0.00% Amr::InitializeInit() 1 5.039e-06 5.039e-06 5.039e-06 0.00% Gravity::set_mass_offset() 11 4.725e-06 4.725e-06 4.725e-06 0.00% AmrLevel::checkPointPost() 3 4.701e-06 4.701e-06 4.701e-06 0.00% MLMG::MLRhsNormInf() 11 4.18e-06 4.18e-06 4.18e-06 0.00% Castro::retry_advance_ctu() 10 3.908e-06 3.908e-06 3.908e-06 0.00% MLMG::MLResNormInf() 11 3.695e-06 3.695e-06 3.695e-06 0.00% Castro::computeInitialDt() 2 3.644e-06 3.644e-06 3.644e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.141e-06 3.141e-06 3.141e-06 0.00% Castro::FluxRegCrseInit 10 2.928e-06 2.928e-06 2.928e-06 0.00% Castro::FluxRegFineAdd() 10 2.627e-06 2.627e-06 2.627e-06 0.00% Amr::init() 1 2.34e-06 2.34e-06 2.34e-06 0.00% AmrLevel::checkPointPre() 3 2.202e-06 2.202e-06 2.202e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.948e-06 1.948e-06 1.948e-06 0.00% Castro::post_regrid() 1 1.315e-06 1.315e-06 1.315e-06 0.00% Amr::initialInit() 1 1.158e-06 1.158e-06 1.158e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9247 0.9247 0.9247 100.00% Amr::coarseTimeStep() 10 0.7721 0.7721 0.7721 83.50% Amr::timeStep() 10 0.6787 0.6787 0.6787 73.40% Castro::advance() 10 0.6677 0.6677 0.6677 72.21% Castro::subcycle_advance_ctu() 10 0.6542 0.6542 0.6542 70.75% Castro::do_advance_ctu() 10 0.654 0.654 0.654 70.73% Castro::construct_ctu_hydro_source() 10 0.3057 0.3057 0.3057 33.06% Gravity::solve_phi_with_mlmg() 11 0.2984 0.2984 0.2984 32.27% Gravity::actual_solve_with_mlmg() 11 0.2893 0.2893 0.2893 31.29% Castro::construct_new_gravity() 10 0.2707 0.2707 0.2707 29.28% MLMG::solve() 11 0.2667 0.2667 0.2667 28.85% Gravity::solve_for_phi() 10 0.2528 0.2528 0.2528 27.34% MLMG::oneIter() 82 0.251 0.251 0.251 27.14% MLMG::mgVcycle() 82 0.2472 0.2472 0.2472 26.74% VisMF::Write(FabArray) 11 0.1776 0.1776 0.1776 19.20% Amr::checkPoint() 3 0.1354 0.1354 0.1354 14.64% AmrLevel::checkPoint() 3 0.1296 0.1296 0.1296 14.01% StateData::checkPoint() 12 0.1295 0.1295 0.1295 14.00% Amr::init() 1 0.126 0.126 0.126 13.63% MLCellLinOp::smooth() 1640 0.1236 0.1236 0.1236 13.37% MLCellLinOp::applyBC() 4351 0.115 0.115 0.115 12.44% MLMG::mgVcycle_bottom 82 0.0739 0.0739 0.0739 7.99% MLMG::actualBottomSolve() 82 0.07387 0.07387 0.07387 7.99% MLCGSolver::bicgstab 82 0.07304 0.07304 0.07304 7.90% Castro::clean_state() 62 0.05799 0.05799 0.05799 6.27% Amr::initialInit() 1 0.05512 0.05512 0.05512 5.96% AmrLevel::FillPatch() 41 0.05259 0.05259 0.05259 5.69% Amr::writePlotFile() 2 0.05076 0.05076 0.05076 5.49% Amr::FinalizeInit() 1 0.05012 0.05012 0.05012 5.42% Castro::post_init() 1 0.04855 0.04855 0.04855 5.25% FillPatchIterator::Initialize 41 0.04829 0.04829 0.04829 5.22% FillPatchIterator::FillFromLevel0() 41 0.0467 0.0467 0.0467 5.05% FillPatchSingleLevel 41 0.04665 0.04665 0.04665 5.05% Gravity::multilevel_solve_for_new_phi() 1 0.04607 0.04607 0.04607 4.98% Gravity::actual_multilevel_solve() 1 0.04605 0.04605 0.04605 4.98% StateDataPhysBCFunct::() 41 0.04253 0.04253 0.04253 4.60% MLCellLinOp::apply() 1060 0.03682 0.03682 0.03682 3.98% MLMG::mgVcycle_down::0 82 0.03543 0.03543 0.03543 3.83% MLPoisson::Fsmooth() 3280 0.03396 0.03396 0.03396 3.67% FabArray::FillBoundary() 3941 0.03327 0.03327 0.03327 3.60% FillBoundary_nowait() 3941 0.03246 0.03246 0.03246 3.51% StateData::FillBoundary(geom) 328 0.0271 0.0271 0.0271 2.93% MLMG::mgVcycle_up::0 82 0.0268 0.0268 0.0268 2.90% Castro::computeTemp() 63 0.02317 0.02317 0.02317 2.51% Castro::initialize_do_advance() 10 0.02244 0.02244 0.02244 2.43% amrex::Dot() 1114 0.02169 0.02169 0.02169 2.35% Castro::normalize_species() 62 0.02145 0.02145 0.02145 2.32% MLMG:computeResOfCorrection() 410 0.02078 0.02078 0.02078 2.25% MLCellLinOp::correctionResidual() 410 0.02066 0.02066 0.02066 2.23% FabArray::norminf() 1061 0.02029 0.02029 0.02029 2.19% Gravity::get_new_grav_vector() 11 0.01993 0.01993 0.01993 2.16% Castro::do_old_sources() 10 0.01972 0.01972 0.01972 2.13% MLPoisson::define() 11 0.01775 0.01775 0.01775 1.92% Castro::construct_old_gravity() 10 0.01697 0.01697 0.01697 1.84% Gravity::get_old_grav_vector() 10 0.01696 0.01696 0.01696 1.83% MLMG::mgVcycle_down::1 82 0.01685 0.01685 0.01685 1.82% MLMG::mgVcycle_down::2 82 0.01571 0.01571 0.01571 1.70% MLMG::mgVcycle_down::3 82 0.01528 0.01528 0.01528 1.65% MLMG::mgVcycle_down::4 82 0.01519 0.01519 0.01519 1.64% Castro::do_new_sources() 10 0.01496 0.01496 0.01496 1.62% FabArray::ParallelCopy() 861 0.01483 0.01483 0.01483 1.60% FabArray::ParallelCopy_nowait() 861 0.01459 0.01459 0.01459 1.58% FabArray::setVal() 1062 0.01351 0.01351 0.01351 1.46% FabArray::Saxpy() 1370 0.01333 0.01333 0.01333 1.44% MLCGSolver::ParallelAllReduce 1832 0.01304 0.01304 0.01304 1.41% Castro::initialize_advance() 10 0.01284 0.01284 0.01284 1.39% MLMG::addInterpCorrection() 410 0.01246 0.01246 0.01246 1.35% Castro::expand_state() 10 0.01229 0.01229 0.01229 1.33% MLMG::mgVcycle_up::1 82 0.0122 0.0122 0.0122 1.32% MLMG::mgVcycle_up::4 82 0.01211 0.01211 0.01211 1.31% MLCellLinOp::defineAuxData() 11 0.0121 0.0121 0.0121 1.31% MLMG::mgVcycle_up::2 82 0.0119 0.0119 0.0119 1.29% amrex::average_down 410 0.01175 0.01175 0.01175 1.27% MLMG::mgVcycle_up::3 82 0.01168 0.01168 0.01168 1.26% Castro::enforce_min_density() 62 0.0116 0.0116 0.0116 1.25% amrex::Copy() 472 0.01092 0.01092 0.01092 1.18% Castro::post_timestep() 10 0.01085 0.01085 0.01085 1.17% MLPoisson::Fapply() 1060 0.01045 0.01045 0.01045 1.13% Gravity::fill_multipole_BCs() 11 0.008867 0.008867 0.008867 0.96% FabArray::Xpay() 739 0.00802 0.00802 0.00802 0.87% MLCellLinOp::solutionResidual() 93 0.007863 0.007863 0.007863 0.85% Castro::reset_internal_energy(MultiFab) 63 0.006787 0.006787 0.006787 0.73% MLMG::computeResidual() 82 0.00653 0.00653 0.00653 0.71% Castro::estTimeStep() 21 0.006037 0.006037 0.006037 0.65% MLCellLinOp::defineBC() 11 0.005376 0.005376 0.005376 0.58% MLMG::prepareForSolve() 11 0.005274 0.005274 0.005274 0.57% BndryData::define() 11 0.005081 0.005081 0.005081 0.55% Amr::InitializeInit() 1 0.005001 0.005001 0.005001 0.54% Amr::defBaseLevel() 1 0.004996 0.004996 0.004996 0.54% Castro::initData() 1 0.004296 0.004296 0.004296 0.46% amrex::Add() 82 0.003662 0.003662 0.003662 0.40% Castro::construct_new_source() 50 0.003594 0.003594 0.003594 0.39% Castro::construct_new_gravity_source() 10 0.003448 0.003448 0.003448 0.37% Castro::construct_old_source() 50 0.002917 0.002917 0.002917 0.32% Castro::construct_old_gravity_source() 10 0.002898 0.002898 0.002898 0.31% Castro::enforce_speed_limit() 62 0.002589 0.002589 0.002589 0.28% Castro::computeNewDt() 9 0.002566 0.002566 0.002566 0.28% Castro::finalize_do_advance() 10 0.002499 0.002499 0.002499 0.27% MLMG::ResNormInf() 93 0.002266 0.002266 0.002266 0.25% Castro::apply_source_to_state() 20 0.001869 0.001869 0.001869 0.20% check_for_negative_density() 10 0.001854 0.001854 0.001854 0.20% Castro::reset_internal_energy(Fab) 504 0.001836 0.001836 0.001836 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001801 0.001801 0.001801 0.19% MLCellLinOp::setLevelBC() 11 0.00163 0.00163 0.00163 0.18% MLMG::getGradSolution() 11 0.001618 0.001618 0.001618 0.17% MLCellLinOp::compGrad() 11 0.001611 0.001611 0.001611 0.17% FabArrayBase::getCPC() 1323 0.001442 0.001442 0.001442 0.16% FabArray::mult() 43 0.001408 0.001408 0.001408 0.15% FabArray::setDomainBndry() 41 0.001379 0.001379 0.001379 0.15% MLMG::computeMLResidual() 11 0.001377 0.001377 0.001377 0.15% MLPoisson::prepareForSolve() 11 0.001357 0.001357 0.001357 0.15% MLCellLinOp::prepareForSolve() 11 0.001343 0.001343 0.001343 0.15% Castro::check_for_nan() 20 0.001307 0.001307 0.001307 0.14% MultiFab::contains_nan() 20 0.001294 0.001294 0.001294 0.14% Castro::post_regrid() 1 0.001258 0.001258 0.001258 0.14% Castro::computeInitialDt() 2 0.001047 0.001047 0.001047 0.11% Gravity::update_max_rhs() 11 0.001008 0.001008 0.001008 0.11% FabArrayBase::getFB() 3941 0.0007082 0.0007082 0.0007082 0.08% FabArrayBase::CPC::define() 454 0.0006599 0.0006599 0.0006599 0.07% Amr::InitAmr() 1 0.0006215 0.0006215 0.0006215 0.07% Castro::finalize_advance() 10 0.0006035 0.0006035 0.0006035 0.07% Castro::Castro() 1 0.0005983 0.0005983 0.0005983 0.06% Gravity::swapTimeLevels() 10 0.0004598 0.0004598 0.0004598 0.05% MLMG::MLResNormInf() 11 0.0003398 0.0003398 0.0003398 0.04% MultiFab::max() 11 0.0003339 0.0003339 0.0003339 0.04% Castro::buildMetrics() 1 0.0002973 0.0002973 0.0002973 0.03% MLLinOp::define() 11 0.0002572 0.0002572 0.0002572 0.03% MLLinOp::defineGrids() 11 0.0002451 0.0002451 0.0002451 0.03% MLMG::MLRhsNormInf() 11 0.000235 0.000235 0.000235 0.03% Castro::create_source_corrector() 10 0.0001697 0.0001697 0.0001697 0.02% FabArrayBase::FB::FB() 56 9.017e-05 9.017e-05 9.017e-05 0.01% AmrLevel::AmrLevel(dm) 1 7.048e-05 7.048e-05 7.048e-05 0.01% Castro::enforce_consistent_e() 1 6.875e-05 6.875e-05 6.875e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.887e-05 5.887e-05 5.887e-05 0.01% StateData::define() 4 4.801e-05 4.801e-05 4.801e-05 0.01% makeSFC 55 4.357e-05 4.357e-05 4.357e-05 0.00% Castro::swap_state_time_levels() 10 3.708e-05 3.708e-05 3.708e-05 0.00% Castro::initMFs() 1 3.338e-05 3.338e-05 3.338e-05 0.00% Amr::writeSmallPlotFile() 1 3.161e-05 3.161e-05 3.161e-05 0.00% DistributionMapping::Distribute() 56 1.739e-05 1.739e-05 1.739e-05 0.00% Amr::initSubcycle() 1 9.228e-06 9.228e-06 9.228e-06 0.00% Gravity::set_mass_offset() 11 4.725e-06 4.725e-06 4.725e-06 0.00% AmrLevel::checkPointPost() 3 4.701e-06 4.701e-06 4.701e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.552e-06 4.552e-06 4.552e-06 0.00% Castro::retry_advance_ctu() 10 3.908e-06 3.908e-06 3.908e-06 0.00% Castro::FluxRegCrseInit 10 2.928e-06 2.928e-06 2.928e-06 0.00% Castro::FluxRegFineAdd() 10 2.627e-06 2.627e-06 2.627e-06 0.00% AmrLevel::checkPointPre() 3 2.202e-06 2.202e-06 2.202e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.948e-06 1.948e-06 1.948e-06 0.00% -------------------------------------------------------------------------------------------- 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 86 MiB 9042 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 1082 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1535 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 3547 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 223 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 187 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7517 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 15 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2114 B 2048 KiB Gravity::solve_for_phi() 80 80 559 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 206 KiB 671 KiB Castro::estTimeStep() 21 21 3180 B 480 KiB VisMF::Write(FabArray) 656 656 3326 B 320 KiB Castro::normalize_species() 62 62 7557 B 320 KiB amrex::average_down 1067 1067 1250 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1151 B 257 KiB amrex::Dot() 1360 1360 3464 B 160 KiB FabArray::norminf() 1143 1143 3394 B 160 KiB check_for_negative_density() 10 10 315 B 160 KiB Castro::initData() 1 1 53 B 160 KiB MultiFab::max() 11 11 56 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3462 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 301 B 9648 B MLCellLinOp::applyBC() 8702 8702 220 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3937 B 6144 B StateData::FillBoundary(geom) 1992 1992 55 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 365 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 542 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 63 KiB 8192 KiB VisMF::Write(FabArray) 744 744 421 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3462 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 301 B 9648 B MLCellLinOp::applyBC() 4351 4351 219 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3937 B 6144 B Gravity::get_new_grav_vector() 3 3 2890 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 56 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 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): 12056 Free GPU global memory (MB): 2167 [The Arena] space allocated (MB): 9042 [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.02-12-g68244ec91d11) finalized Initializing AMReX (24.02-12-g68244ec91d11)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-12-g68244ec91d11) initialized Starting run at 13:18:06 UTC on 2024-02-13. Successfully read inputs file ... Castro git describe: 24.02-18-g62193e94e AMReX git describe: 24.02-12-g68244ec91 Microphysics git describe: 24.02-15-gbe028dca reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.514097201 Restart time = 0.071982071 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.069543732 [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.057963763 [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.079036169 [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.078115328 [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.069507742 [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.029007898 seconds Ending run at 13:18:07 UTC on 2024-02-13. Run time = 0.456240283 Run time without initialization = 0.38360764 Average number of zones advanced per microsecond: 3.417 Average number of zones advanced per microsecond per rank: 3.417 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4563 ... 0.4563 ... 0.4563 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1508 0.1508 0.1508 33.04% VisMF::Read() 3 0.06041 0.06041 0.06041 13.24% MLCellLinOp::applyBC() 1910 0.03635 0.03635 0.03635 7.97% VisMF::Write(FabArray) 1 0.02634 0.02634 0.02634 5.77% FillBoundary_nowait() 1730 0.02012 0.02012 0.02012 4.41% MLPoisson::Fsmooth() 1440 0.0151 0.0151 0.0151 3.31% StateData::FillBoundary(geom) 160 0.01345 0.01345 0.01345 2.95% Castro::normalize_species() 30 0.009485 0.009485 0.009485 2.08% amrex::Dot() 484 0.009387 0.009387 0.009387 2.06% FabArray::norminf() 465 0.008937 0.008937 0.008937 1.96% Castro::computeTemp() 30 0.007698 0.007698 0.007698 1.69% FabArray::setVal() 501 0.006681 0.006681 0.006681 1.46% FabArray::ParallelCopy_nowait() 380 0.006243 0.006243 0.006243 1.37% FabArray::Saxpy() 597 0.00594 0.00594 0.00594 1.30% Castro::enforce_min_density() 30 0.005818 0.005818 0.005818 1.28% MLCellLinOp::defineAuxData() 6 0.005782 0.005782 0.005782 1.27% amrex::Copy() 221 0.005512 0.005512 0.005512 1.21% Gravity::fill_multipole_BCs() 6 0.004997 0.004997 0.004997 1.10% Amr::restart() 1 0.004714 0.004714 0.004714 1.03% StateDataPhysBCFunct::() 20 0.004574 0.004574 0.004574 1.00% MLPoisson::Fapply() 464 0.00456 0.00456 0.00456 1.00% Castro::estTimeStep() 10 0.00443 0.00443 0.00443 0.97% FabArray::Xpay() 325 0.00356 0.00356 0.00356 0.78% MLMG::addInterpCorrection() 180 0.003144 0.003144 0.003144 0.69% amrex::average_down 180 0.002821 0.002821 0.002821 0.62% Amr::writePlotFile() 1 0.002495 0.002495 0.002495 0.55% BndryData::define() 6 0.002257 0.002257 0.002257 0.49% Castro::reset_internal_energy(MultiFab) 30 0.001934 0.001934 0.001934 0.42% Castro::construct_new_gravity_source() 5 0.001833 0.001833 0.001833 0.40% amrex::Add() 36 0.001583 0.001583 0.001583 0.35% Castro::construct_old_gravity_source() 5 0.001435 0.001435 0.001435 0.31% Castro::subcycle_advance_ctu() 5 0.001314 0.001314 0.001314 0.29% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009858 0.0009858 0.0009858 0.22% check_for_negative_density() 5 0.0009726 0.0009726 0.0009726 0.21% Castro::reset_internal_energy(Fab) 240 0.0009596 0.0009596 0.0009596 0.21% MLCellLinOp::setLevelBC() 6 0.0009037 0.0009037 0.0009037 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008803 0.0008803 0.0008803 0.19% MLCellLinOp::prepareForSolve() 6 0.0007644 0.0007644 0.0007644 0.17% FabArray::setDomainBndry() 20 0.0007298 0.0007298 0.0007298 0.16% MLCGSolver::bicgstab 36 0.000722 0.000722 0.000722 0.16% FabArray::mult() 22 0.0006999 0.0006999 0.0006999 0.15% MultiFab::contains_nan() 10 0.0006696 0.0006696 0.0006696 0.15% MLCellLinOp::compGrad() 6 0.0006486 0.0006486 0.0006486 0.14% MLMG::prepareForSolve() 6 0.0005738 0.0005738 0.0005738 0.13% MLCellLinOp::smooth() 720 0.0005128 0.0005128 0.0005128 0.11% Amr::InitAmr() 1 0.0004833 0.0004833 0.0004833 0.11% Castro::enforce_speed_limit() 30 0.0004659 0.0004659 0.0004659 0.10% FabArrayBase::CPC::define() 244 0.0004214 0.0004214 0.0004214 0.09% FabArrayBase::getCPC() 632 0.0003844 0.0003844 0.0003844 0.08% FabArray::FillBoundary() 1730 0.000375 0.000375 0.000375 0.08% Gravity::get_old_grav_vector() 5 0.0003047 0.0003047 0.0003047 0.07% main() 1 0.000283 0.000283 0.000283 0.06% FabArrayBase::getFB() 1730 0.0002615 0.0002615 0.0002615 0.06% Gravity::get_new_grav_vector() 5 0.0002467 0.0002467 0.0002467 0.05% MultiFab::max() 6 0.0002076 0.0002076 0.0002076 0.05% AmrLevel::FillPatch() 20 0.0002044 0.0002044 0.0002044 0.04% MLCellLinOp::apply() 464 0.0001876 0.0001876 0.0001876 0.04% MLCellLinOp::defineBC() 6 0.0001582 0.0001582 0.0001582 0.03% Amr::coarseTimeStep() 5 0.0001578 0.0001578 0.0001578 0.03% MLCGSolver::ParallelAllReduce 798 0.0001496 0.0001496 0.0001496 0.03% FabArray::ParallelCopy() 380 0.000109 0.000109 0.000109 0.02% FillPatchIterator::Initialize 20 0.0001048 0.0001048 0.0001048 0.02% MLLinOp::defineGrids() 6 9.711e-05 9.711e-05 9.711e-05 0.02% Amr::timeStep() 5 9.179e-05 9.179e-05 9.179e-05 0.02% MLMG::mgVcycle() 36 9.124e-05 9.124e-05 9.124e-05 0.02% Castro::create_source_corrector() 5 8.721e-05 8.721e-05 8.721e-05 0.02% MLCellLinOp::correctionResidual() 180 7.636e-05 7.636e-05 7.636e-05 0.02% AmrLevel::restart() 1 7.382e-05 7.382e-05 7.382e-05 0.02% Gravity::update_max_rhs() 6 6.868e-05 6.868e-05 6.868e-05 0.02% StateData::restartDoit() 4 6.576e-05 6.576e-05 6.576e-05 0.01% FabArrayBase::FB::FB() 26 6.379e-05 6.379e-05 6.379e-05 0.01% Castro::construct_new_source() 25 6.275e-05 6.275e-05 6.275e-05 0.01% MLMG:computeResOfCorrection() 180 5.523e-05 5.523e-05 5.523e-05 0.01% Gravity::solve_for_phi() 5 5.485e-05 5.485e-05 5.485e-05 0.01% Castro::advance() 5 5.083e-05 5.083e-05 5.083e-05 0.01% Castro::finalize_do_advance() 5 4.54e-05 4.54e-05 4.54e-05 0.01% MLMG::mgVcycle_down::0 36 4.126e-05 4.126e-05 4.126e-05 0.01% MLMG::actualBottomSolve() 36 4.073e-05 4.073e-05 4.073e-05 0.01% Castro::initialize_advance() 5 3.841e-05 3.841e-05 3.841e-05 0.01% MLMG::mgVcycle_down::1 36 3.642e-05 3.642e-05 3.642e-05 0.01% MLMG::solve() 6 3.483e-05 3.483e-05 3.483e-05 0.01% MLMG::mgVcycle_down::2 36 3.414e-05 3.414e-05 3.414e-05 0.01% Castro::finalize_advance() 5 3.294e-05 3.294e-05 3.294e-05 0.01% MLMG::mgVcycle_down::4 36 3.269e-05 3.269e-05 3.269e-05 0.01% Amr::writeSmallPlotFile() 1 3.223e-05 3.223e-05 3.223e-05 0.01% Castro::clean_state() 30 3.171e-05 3.171e-05 3.171e-05 0.01% MLMG::mgVcycle_down::3 36 3.104e-05 3.104e-05 3.104e-05 0.01% MLMG::oneIter() 36 3.041e-05 3.041e-05 3.041e-05 0.01% Castro::initialize_do_advance() 5 3.005e-05 3.005e-05 3.005e-05 0.01% Castro::post_timestep() 5 2.965e-05 2.965e-05 2.965e-05 0.01% Castro::post_restart() 1 2.96e-05 2.96e-05 2.96e-05 0.01% Castro::buildMetrics() 1 2.791e-05 2.791e-05 2.791e-05 0.01% MLMG::mgVcycle_up::4 36 2.775e-05 2.775e-05 2.775e-05 0.01% MLCellLinOp::solutionResidual() 42 2.693e-05 2.693e-05 2.693e-05 0.01% Castro::swap_state_time_levels() 5 2.496e-05 2.496e-05 2.496e-05 0.01% Castro::initMFs() 1 2.365e-05 2.365e-05 2.365e-05 0.01% Castro::do_advance_ctu() 5 2.356e-05 2.356e-05 2.356e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.254e-05 2.254e-05 2.254e-05 0.00% MLMG::mgVcycle_up::0 36 2.205e-05 2.205e-05 2.205e-05 0.00% MLMG::mgVcycle_up::3 36 2.19e-05 2.19e-05 2.19e-05 0.00% MLMG::ResNormInf() 42 2.064e-05 2.064e-05 2.064e-05 0.00% MLMG::mgVcycle_up::2 36 2.062e-05 2.062e-05 2.062e-05 0.00% MLMG::computeResidual() 36 2.02e-05 2.02e-05 2.02e-05 0.00% MLMG::mgVcycle_up::1 36 2.015e-05 2.015e-05 2.015e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.709e-05 1.709e-05 1.709e-05 0.00% MLMG::mgVcycle_bottom 36 1.627e-05 1.627e-05 1.627e-05 0.00% Castro::construct_new_gravity() 5 1.599e-05 1.599e-05 1.599e-05 0.00% MLPoisson::define() 6 1.517e-05 1.517e-05 1.517e-05 0.00% FillPatchSingleLevel 20 1.496e-05 1.496e-05 1.496e-05 0.00% makeSFC 30 1.448e-05 1.448e-05 1.448e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.429e-05 1.429e-05 1.429e-05 0.00% Castro::do_old_sources() 5 1.185e-05 1.185e-05 1.185e-05 0.00% Gravity::swapTimeLevels() 5 1.098e-05 1.098e-05 1.098e-05 0.00% Castro::construct_old_source() 25 1.077e-05 1.077e-05 1.077e-05 0.00% Castro::do_new_sources() 5 1.058e-05 1.058e-05 1.058e-05 0.00% DistributionMapping::Distribute() 31 1.009e-05 1.009e-05 1.009e-05 0.00% MLPoisson::prepareForSolve() 6 9.722e-06 9.722e-06 9.722e-06 0.00% Gravity::actual_multilevel_solve() 1 8.758e-06 8.758e-06 8.758e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 8.642e-06 8.642e-06 8.642e-06 0.00% Amr::initSubcycle() 1 8.243e-06 8.243e-06 8.243e-06 0.00% Castro::check_for_nan() 10 7.183e-06 7.183e-06 7.183e-06 0.00% MLLinOp::define() 6 6.614e-06 6.614e-06 6.614e-06 0.00% Castro::apply_source_to_state() 10 6.547e-06 6.547e-06 6.547e-06 0.00% Castro::construct_old_gravity() 5 6.445e-06 6.445e-06 6.445e-06 0.00% MLMG::computeMLResidual() 6 4.633e-06 4.633e-06 4.633e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.804e-06 3.804e-06 3.804e-06 0.00% Castro::computeNewDt() 5 3.407e-06 3.407e-06 3.407e-06 0.00% MLMG::getGradSolution() 6 3.398e-06 3.398e-06 3.398e-06 0.00% Castro::expand_state() 5 2.863e-06 2.863e-06 2.863e-06 0.00% Castro::retry_advance_ctu() 5 2.672e-06 2.672e-06 2.672e-06 0.00% MLMG::MLResNormInf() 6 2.434e-06 2.434e-06 2.434e-06 0.00% MLMG::MLRhsNormInf() 6 2.398e-06 2.398e-06 2.398e-06 0.00% Gravity::set_mass_offset() 6 2.175e-06 2.175e-06 2.175e-06 0.00% Castro::FluxRegCrseInit 5 2.015e-06 2.015e-06 2.015e-06 0.00% Castro::FluxRegFineAdd() 5 1.638e-06 1.638e-06 1.638e-06 0.00% Amr::init() 1 1.182e-06 1.182e-06 1.182e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.125e-06 1.125e-06 1.125e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4563 0.4563 0.4563 100.00% Amr::coarseTimeStep() 5 0.3543 0.3543 0.3543 77.66% Amr::timeStep() 5 0.3511 0.3511 0.3511 76.96% Castro::advance() 5 0.3474 0.3474 0.3474 76.14% Castro::subcycle_advance_ctu() 5 0.3402 0.3402 0.3402 74.56% Castro::do_advance_ctu() 5 0.3389 0.3389 0.3389 74.27% Castro::construct_ctu_hydro_source() 5 0.1563 0.1563 0.1563 34.26% Castro::construct_new_gravity() 5 0.1448 0.1448 0.1448 31.74% Gravity::solve_phi_with_mlmg() 6 0.1422 0.1422 0.1422 31.17% Gravity::actual_solve_with_mlmg() 6 0.137 0.137 0.137 30.02% Gravity::solve_for_phi() 5 0.1365 0.1365 0.1365 29.92% MLMG::solve() 6 0.1245 0.1245 0.1245 27.30% MLMG::oneIter() 36 0.1167 0.1167 0.1167 25.57% MLMG::mgVcycle() 36 0.115 0.115 0.115 25.21% Amr::init() 1 0.07203 0.07203 0.07203 15.79% Amr::restart() 1 0.07203 0.07203 0.07203 15.79% MLCellLinOp::smooth() 720 0.06104 0.06104 0.06104 13.38% AmrLevel::restart() 1 0.06079 0.06079 0.06079 13.32% StateData::restartDoit() 4 0.06071 0.06071 0.06071 13.31% VisMF::Read() 3 0.06041 0.06041 0.06041 13.24% MLCellLinOp::applyBC() 1910 0.05717 0.05717 0.05717 12.53% MLMG::mgVcycle_bottom 36 0.03216 0.03216 0.03216 7.05% MLMG::actualBottomSolve() 36 0.03214 0.03214 0.03214 7.04% MLCGSolver::bicgstab 36 0.03176 0.03176 0.03176 6.96% Amr::writePlotFile() 1 0.0291 0.0291 0.0291 6.38% Castro::clean_state() 30 0.02639 0.02639 0.02639 5.78% VisMF::Write(FabArray) 1 0.02634 0.02634 0.02634 5.77% AmrLevel::FillPatch() 20 0.02308 0.02308 0.02308 5.06% FillPatchIterator::Initialize 20 0.02096 0.02096 0.02096 4.59% FabArray::FillBoundary() 1730 0.02082 0.02082 0.02082 4.56% FillBoundary_nowait() 1730 0.02045 0.02045 0.02045 4.48% FillPatchIterator::FillFromLevel0() 20 0.02012 0.02012 0.02012 4.41% FillPatchSingleLevel 20 0.0201 0.0201 0.0201 4.40% MLMG::mgVcycle_up::0 36 0.01854 0.01854 0.01854 4.06% StateDataPhysBCFunct::() 20 0.01803 0.01803 0.01803 3.95% MLCellLinOp::apply() 464 0.01621 0.01621 0.01621 3.55% MLMG::mgVcycle_down::0 36 0.01529 0.01529 0.01529 3.35% MLPoisson::Fsmooth() 1440 0.0151 0.0151 0.0151 3.31% StateData::FillBoundary(geom) 160 0.01345 0.01345 0.01345 2.95% Castro::computeTemp() 30 0.01059 0.01059 0.01059 2.32% Castro::initialize_do_advance() 5 0.01044 0.01044 0.01044 2.29% Castro::do_old_sources() 5 0.01026 0.01026 0.01026 2.25% MLPoisson::define() 6 0.009723 0.009723 0.009723 2.13% Castro::normalize_species() 30 0.009485 0.009485 0.009485 2.08% amrex::Dot() 484 0.009387 0.009387 0.009387 2.06% MLMG:computeResOfCorrection() 180 0.009059 0.009059 0.009059 1.99% MLCellLinOp::correctionResidual() 180 0.009004 0.009004 0.009004 1.97% FabArray::norminf() 465 0.008937 0.008937 0.008937 1.96% Gravity::get_new_grav_vector() 5 0.008192 0.008192 0.008192 1.80% Castro::construct_old_gravity() 5 0.007933 0.007933 0.007933 1.74% Gravity::get_old_grav_vector() 5 0.007927 0.007927 0.007927 1.74% MLMG::mgVcycle_down::1 36 0.00775 0.00775 0.00775 1.70% Castro::do_new_sources() 5 0.007139 0.007139 0.007139 1.56% MLMG::mgVcycle_down::2 36 0.006919 0.006919 0.006919 1.52% Castro::initialize_advance() 5 0.006824 0.006824 0.006824 1.50% FabArray::ParallelCopy() 380 0.00677 0.00677 0.00677 1.48% MLMG::mgVcycle_down::3 36 0.006714 0.006714 0.006714 1.47% FabArray::setVal() 501 0.006681 0.006681 0.006681 1.46% FabArray::ParallelCopy_nowait() 380 0.006661 0.006661 0.006661 1.46% MLMG::mgVcycle_down::4 36 0.00662 0.00662 0.00662 1.45% MLCellLinOp::defineAuxData() 6 0.006569 0.006569 0.006569 1.44% Castro::post_restart() 1 0.006344 0.006344 0.006344 1.39% Gravity::multilevel_solve_for_new_phi() 1 0.005957 0.005957 0.005957 1.31% Gravity::actual_multilevel_solve() 1 0.00594 0.00594 0.00594 1.30% FabArray::Saxpy() 597 0.00594 0.00594 0.00594 1.30% Castro::enforce_min_density() 30 0.005818 0.005818 0.005818 1.28% MLCGSolver::ParallelAllReduce 798 0.005719 0.005719 0.005719 1.25% Castro::expand_state() 5 0.005577 0.005577 0.005577 1.22% amrex::Copy() 221 0.005512 0.005512 0.005512 1.21% MLMG::addInterpCorrection() 180 0.005474 0.005474 0.005474 1.20% MLMG::mgVcycle_up::1 36 0.005327 0.005327 0.005327 1.17% MLMG::mgVcycle_up::4 36 0.005316 0.005316 0.005316 1.17% amrex::average_down 180 0.005205 0.005205 0.005205 1.14% MLMG::mgVcycle_up::2 36 0.005197 0.005197 0.005197 1.14% Gravity::fill_multipole_BCs() 6 0.005126 0.005126 0.005126 1.12% MLMG::mgVcycle_up::3 36 0.005111 0.005111 0.005111 1.12% MLPoisson::Fapply() 464 0.00456 0.00456 0.00456 1.00% Castro::estTimeStep() 10 0.00443 0.00443 0.00443 0.97% MLCellLinOp::solutionResidual() 42 0.003676 0.003676 0.003676 0.81% Castro::post_timestep() 5 0.003663 0.003663 0.003663 0.80% FabArray::Xpay() 325 0.00356 0.00356 0.00356 0.78% Castro::computeNewDt() 5 0.003012 0.003012 0.003012 0.66% MLCellLinOp::defineBC() 6 0.003002 0.003002 0.003002 0.66% MLMG::prepareForSolve() 6 0.002964 0.002964 0.002964 0.65% Castro::reset_internal_energy(MultiFab) 30 0.002894 0.002894 0.002894 0.63% MLMG::computeResidual() 36 0.002876 0.002876 0.002876 0.63% BndryData::define() 6 0.002844 0.002844 0.002844 0.62% Castro::construct_new_source() 25 0.001896 0.001896 0.001896 0.42% Castro::construct_new_gravity_source() 5 0.001833 0.001833 0.001833 0.40% amrex::Add() 36 0.001583 0.001583 0.001583 0.35% Castro::finalize_do_advance() 5 0.001466 0.001466 0.001466 0.32% Castro::construct_old_source() 25 0.001446 0.001446 0.001446 0.32% Castro::construct_old_gravity_source() 5 0.001435 0.001435 0.001435 0.31% MLMG::ResNormInf() 42 0.001061 0.001061 0.001061 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009858 0.0009858 0.0009858 0.22% Castro::apply_source_to_state() 10 0.000977 0.000977 0.000977 0.21% check_for_negative_density() 5 0.0009726 0.0009726 0.0009726 0.21% Castro::reset_internal_energy(Fab) 240 0.0009596 0.0009596 0.0009596 0.21% MLMG::getGradSolution() 6 0.0009371 0.0009371 0.0009371 0.21% MLCellLinOp::compGrad() 6 0.0009337 0.0009337 0.0009337 0.20% MLCellLinOp::setLevelBC() 6 0.0009037 0.0009037 0.0009037 0.20% MLMG::computeMLResidual() 6 0.0008246 0.0008246 0.0008246 0.18% FabArrayBase::getCPC() 632 0.0008058 0.0008058 0.0008058 0.18% MLPoisson::prepareForSolve() 6 0.0007741 0.0007741 0.0007741 0.17% MLCellLinOp::prepareForSolve() 6 0.0007644 0.0007644 0.0007644 0.17% Gravity::update_max_rhs() 6 0.0007362 0.0007362 0.0007362 0.16% FabArray::setDomainBndry() 20 0.0007298 0.0007298 0.0007298 0.16% FabArray::mult() 22 0.0006999 0.0006999 0.0006999 0.15% Castro::check_for_nan() 10 0.0006768 0.0006768 0.0006768 0.15% MultiFab::contains_nan() 10 0.0006696 0.0006696 0.0006696 0.15% Amr::InitAmr() 1 0.0004915 0.0004915 0.0004915 0.11% Castro::enforce_speed_limit() 30 0.0004659 0.0004659 0.0004659 0.10% FabArrayBase::CPC::define() 244 0.0004214 0.0004214 0.0004214 0.09% Castro::finalize_advance() 5 0.0003303 0.0003303 0.0003303 0.07% FabArrayBase::getFB() 1730 0.0003253 0.0003253 0.0003253 0.07% Gravity::swapTimeLevels() 5 0.0002431 0.0002431 0.0002431 0.05% MLMG::MLResNormInf() 6 0.0002086 0.0002086 0.0002086 0.05% MultiFab::max() 6 0.0002076 0.0002076 0.0002076 0.05% Castro::buildMetrics() 1 0.0001539 0.0001539 0.0001539 0.03% MLLinOp::define() 6 0.0001367 0.0001367 0.0001367 0.03% MLLinOp::defineGrids() 6 0.0001301 0.0001301 0.0001301 0.03% MLMG::MLRhsNormInf() 6 0.0001277 0.0001277 0.0001277 0.03% Castro::create_source_corrector() 5 8.721e-05 8.721e-05 8.721e-05 0.02% FabArrayBase::FB::FB() 26 6.379e-05 6.379e-05 6.379e-05 0.01% Amr::writeSmallPlotFile() 1 3.223e-05 3.223e-05 3.223e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.185e-05 3.185e-05 3.185e-05 0.01% Castro::swap_state_time_levels() 5 2.496e-05 2.496e-05 2.496e-05 0.01% Castro::initMFs() 1 2.365e-05 2.365e-05 2.365e-05 0.01% makeSFC 30 2.321e-05 2.321e-05 2.321e-05 0.01% DistributionMapping::Distribute() 31 1.009e-05 1.009e-05 1.009e-05 0.00% Amr::initSubcycle() 1 8.243e-06 8.243e-06 8.243e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.172e-06 5.172e-06 5.172e-06 0.00% Castro::retry_advance_ctu() 5 2.672e-06 2.672e-06 2.672e-06 0.00% Gravity::set_mass_offset() 6 2.175e-06 2.175e-06 2.175e-06 0.00% Castro::FluxRegCrseInit 5 2.015e-06 2.015e-06 2.015e-06 0.00% Castro::FluxRegFineAdd() 5 1.638e-06 1.638e-06 1.638e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.125e-06 1.125e-06 1.125e-06 0.00% -------------------------------------------------------------------------------------------- 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 174 MiB 9042 MiB Castro::initMFs() 48 48 58 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 974 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1705 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 6477 KiB 14 MiB MLMG::prepareForSolve() 361 361 3351 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 180 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 183 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6464 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 18 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3199 B 2048 KiB Gravity::solve_for_phi() 40 40 611 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 308 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 197 KiB 671 KiB Castro::estTimeStep() 10 10 4645 B 480 KiB VisMF::Write(FabArray) 112 112 2228 B 320 KiB Castro::normalize_species() 30 30 6764 B 320 KiB amrex::average_down 469 469 1112 B 257 KiB MLMG::addInterpCorrection() 468 468 1033 B 257 KiB amrex::Dot() 592 592 3025 B 160 KiB FabArray::norminf() 501 501 3017 B 160 KiB check_for_negative_density() 5 5 342 B 160 KiB MultiFab::max() 6 6 71 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3251 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 397 B 9648 B MLCellLinOp::applyBC() 3820 3820 199 B 9344 B amrex::Copy() 56 56 5625 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 35 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 346 B 1248 B MLCGSolver::bicgstab 180 180 83 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1095 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 80 KiB 8192 KiB VisMF::Write(FabArray) 120 120 152 KiB 3584 KiB VisMF::Read() 24 24 199 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3251 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 397 B 9648 B MLCellLinOp::applyBC() 1910 1910 198 B 9328 B amrex::Copy() 56 56 5625 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2538 B 3072 B StateData::FillBoundary(geom) 960 960 35 B 3024 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 508 B 1296 B amrex::average_down 37 37 205 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 501 501 8 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2167 [The Arena] space allocated (MB): 9042 [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.02-12-g68244ec91d11) finalized