Initializing AMReX (23.12-24-g75571e2dcbf2)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.12-24-g75571e2dcbf2) initialized Starting run at 09:27:30 UTC on 2023-12-29. Successfully read inputs file ... Castro git describe: 23.12-18-gc3509d44c AMReX git describe: 23.12-24-g75571e2dc Microphysics git describe: 23.12-15-gb8815845 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.045705379 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025256651 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.066664246 [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.049408371 [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.075274578 [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.075206185 [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.051512598 [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.046274186 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.047876129 [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.076913398 [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.079305941 [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.054527391 [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.059913614 [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.044616198 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025914164 seconds Ending run at 09:27:31 UTC on 2023-12-29. Run time = 0.879921576 Run time without initialization = 0.754090975 Average number of zones advanced per microsecond: 3.476 Average number of zones advanced per microsecond per rank: 3.476 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.88 ... 0.88 ... 0.88 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2553 0.2553 0.2553 29.01% VisMF::Write(FabArray) 11 0.1793 0.1793 0.1793 20.37% MLCellLinOp::applyBC() 4351 0.08101 0.08101 0.08101 9.21% MLPoisson::Fsmooth() 3280 0.03417 0.03417 0.03417 3.88% FillBoundary_nowait() 3941 0.0303 0.0303 0.0303 3.44% StateData::FillBoundary(geom) 328 0.02698 0.02698 0.02698 3.07% Castro::normalize_species() 62 0.02306 0.02306 0.02306 2.62% amrex::Dot() 1114 0.02164 0.02164 0.02164 2.46% FabArray::norminf() 1061 0.02011 0.02011 0.02011 2.29% Castro::computeTemp() 63 0.01519 0.01519 0.01519 1.73% FabArray::ParallelCopy_nowait() 861 0.01362 0.01362 0.01362 1.55% FabArray::setVal() 1062 0.01326 0.01326 0.01326 1.51% FabArray::Saxpy() 1370 0.01324 0.01324 0.01324 1.50% Castro::enforce_min_density() 62 0.01108 0.01108 0.01108 1.26% amrex::Copy() 472 0.01081 0.01081 0.01081 1.23% StateDataPhysBCFunct::() 41 0.01079 0.01079 0.01079 1.23% MLCellLinOp::defineAuxData() 11 0.0105 0.0105 0.0105 1.19% MLPoisson::Fapply() 1060 0.01038 0.01038 0.01038 1.18% Gravity::fill_multipole_BCs() 11 0.00923 0.00923 0.00923 1.05% FabArray::Xpay() 739 0.007844 0.007844 0.007844 0.89% MLMG::addInterpCorrection() 410 0.007015 0.007015 0.007015 0.80% amrex::average_down 410 0.006277 0.006277 0.006277 0.71% Castro::estTimeStep() 21 0.00594 0.00594 0.00594 0.67% Amr::checkPoint() 3 0.00591 0.00591 0.00591 0.67% Castro::reset_internal_energy(MultiFab) 63 0.005434 0.005434 0.005434 0.62% BndryData::define() 11 0.003943 0.003943 0.003943 0.45% amrex::Add() 82 0.003582 0.003582 0.003582 0.41% Castro::construct_new_gravity_source() 10 0.003343 0.003343 0.003343 0.38% Castro::enforce_speed_limit() 62 0.003183 0.003183 0.003183 0.36% Castro::construct_old_gravity_source() 10 0.003031 0.003031 0.003031 0.34% Amr::writePlotFile() 2 0.002083 0.002083 0.002083 0.24% check_for_negative_density() 10 0.001853 0.001853 0.001853 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001816 0.001816 0.001816 0.21% MLCGSolver::bicgstab 82 0.001693 0.001693 0.001693 0.19% MLCellLinOp::setLevelBC() 11 0.001601 0.001601 0.001601 0.18% Castro::reset_internal_energy(Fab) 504 0.001591 0.001591 0.001591 0.18% Gravity::actual_solve_with_mlmg() 11 0.001581 0.001581 0.001581 0.18% Castro::initData() 1 0.001482 0.001482 0.001482 0.17% FabArray::setDomainBndry() 41 0.001362 0.001362 0.001362 0.15% FabArray::mult() 43 0.001356 0.001356 0.001356 0.15% MLCellLinOp::prepareForSolve() 11 0.001341 0.001341 0.001341 0.15% MultiFab::contains_nan() 20 0.001274 0.001274 0.001274 0.14% MLCellLinOp::smooth() 1640 0.001254 0.001254 0.001254 0.14% MLCellLinOp::compGrad() 11 0.001064 0.001064 0.001064 0.12% MLMG::prepareForSolve() 11 0.000975 0.000975 0.000975 0.11% FabArray::FillBoundary() 3941 0.0009152 0.0009152 0.0009152 0.10% FabArrayBase::getCPC() 1323 0.0008134 0.0008134 0.0008134 0.09% FabArrayBase::getFB() 3941 0.0007052 0.0007052 0.0007052 0.08% FabArrayBase::CPC::define() 454 0.0006617 0.0006617 0.0006617 0.08% Gravity::get_new_grav_vector() 11 0.000596 0.000596 0.000596 0.07% Amr::InitAmr() 1 0.0004907 0.0004907 0.0004907 0.06% Gravity::get_old_grav_vector() 10 0.0004821 0.0004821 0.0004821 0.05% MLCellLinOp::apply() 1060 0.0004813 0.0004813 0.0004813 0.05% AmrLevel::FillPatch() 41 0.0004124 0.0004124 0.0004124 0.05% Amr::coarseTimeStep() 10 0.0004002 0.0004002 0.0004002 0.05% MLCGSolver::ParallelAllReduce 1832 0.0003858 0.0003858 0.0003858 0.04% MultiFab::max() 11 0.0003283 0.0003283 0.0003283 0.04% main() 1 0.0002998 0.0002998 0.0002998 0.03% MLCellLinOp::defineBC() 11 0.0002779 0.0002779 0.0002779 0.03% FabArray::ParallelCopy() 861 0.0002654 0.0002654 0.0002654 0.03% Castro::subcycle_advance_ctu() 10 0.0002321 0.0002321 0.0002321 0.03% FillPatchIterator::Initialize 41 0.0002119 0.0002119 0.0002119 0.02% MLMG::mgVcycle() 82 0.0001978 0.0001978 0.0001978 0.02% MLLinOp::defineGrids() 11 0.0001775 0.0001775 0.0001775 0.02% MLCellLinOp::correctionResidual() 410 0.0001748 0.0001748 0.0001748 0.02% Castro::create_source_corrector() 10 0.0001674 0.0001674 0.0001674 0.02% Amr::timeStep() 10 0.0001645 0.0001645 0.0001645 0.02% StateData::checkPoint() 12 0.0001358 0.0001358 0.0001358 0.02% Gravity::update_max_rhs() 11 0.0001326 0.0001326 0.0001326 0.02% MLMG:computeResOfCorrection() 410 0.000127 0.000127 0.000127 0.01% Gravity::solve_for_phi() 10 0.0001205 0.0001205 0.0001205 0.01% Castro::construct_new_source() 50 0.0001089 0.0001089 0.0001089 0.01% Castro::do_new_sources() 10 9.787e-05 9.787e-05 9.787e-05 0.01% Castro::Castro() 1 9.2e-05 9.2e-05 9.2e-05 0.01% FabArrayBase::FB::FB() 56 9.19e-05 9.19e-05 9.19e-05 0.01% MLMG::actualBottomSolve() 82 9.085e-05 9.085e-05 9.085e-05 0.01% MLMG::mgVcycle_down::0 82 8.996e-05 8.996e-05 8.996e-05 0.01% MLMG::mgVcycle_down::1 82 8.051e-05 8.051e-05 8.051e-05 0.01% MLMG::mgVcycle_down::2 82 7.962e-05 7.962e-05 7.962e-05 0.01% Castro::initialize_advance() 10 7.935e-05 7.935e-05 7.935e-05 0.01% Castro::clean_state() 62 7.909e-05 7.909e-05 7.909e-05 0.01% AmrLevel::checkPoint() 3 7.759e-05 7.759e-05 7.759e-05 0.01% MLMG::mgVcycle_down::4 82 7.643e-05 7.643e-05 7.643e-05 0.01% MLMG::mgVcycle_down::3 82 7.349e-05 7.349e-05 7.349e-05 0.01% Castro::enforce_consistent_e() 1 7.331e-05 7.331e-05 7.331e-05 0.01% MLMG::solve() 11 6.998e-05 6.998e-05 6.998e-05 0.01% Castro::advance() 10 6.757e-05 6.757e-05 6.757e-05 0.01% Castro::finalize_advance() 10 6.459e-05 6.459e-05 6.459e-05 0.01% MLMG::mgVcycle_up::2 82 6.091e-05 6.091e-05 6.091e-05 0.01% Castro::initialize_do_advance() 10 6.053e-05 6.053e-05 6.053e-05 0.01% MLMG::mgVcycle_up::4 82 5.94e-05 5.94e-05 5.94e-05 0.01% MLMG::oneIter() 82 5.747e-05 5.747e-05 5.747e-05 0.01% MLMG::mgVcycle_up::0 82 5.475e-05 5.475e-05 5.475e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.289e-05 5.289e-05 5.289e-05 0.01% MLMG::mgVcycle_up::3 82 5.24e-05 5.24e-05 5.24e-05 0.01% MLMG::mgVcycle_up::1 82 5.188e-05 5.188e-05 5.188e-05 0.01% MLCellLinOp::solutionResidual() 93 5.128e-05 5.128e-05 5.128e-05 0.01% Castro::do_advance_ctu() 10 4.871e-05 4.871e-05 4.871e-05 0.01% StateData::define() 4 4.418e-05 4.418e-05 4.418e-05 0.01% Castro::finalize_do_advance() 10 4.211e-05 4.211e-05 4.211e-05 0.00% Castro::post_timestep() 10 3.734e-05 3.734e-05 3.734e-05 0.00% Castro::swap_state_time_levels() 10 3.55e-05 3.55e-05 3.55e-05 0.00% FillPatchSingleLevel 41 3.549e-05 3.549e-05 3.549e-05 0.00% MLMG::ResNormInf() 93 3.534e-05 3.534e-05 3.534e-05 0.00% MLMG::mgVcycle_bottom 82 3.4e-05 3.4e-05 3.4e-05 0.00% MLMG::computeResidual() 82 3.347e-05 3.347e-05 3.347e-05 0.00% Amr::writeSmallPlotFile() 1 3.245e-05 3.245e-05 3.245e-05 0.00% Castro::initMFs() 1 3.073e-05 3.073e-05 3.073e-05 0.00% Castro::buildMetrics() 1 2.831e-05 2.831e-05 2.831e-05 0.00% Castro::construct_new_gravity() 10 2.81e-05 2.81e-05 2.81e-05 0.00% MLPoisson::define() 11 2.693e-05 2.693e-05 2.693e-05 0.00% Amr::defBaseLevel() 1 2.656e-05 2.656e-05 2.656e-05 0.00% makeSFC 55 2.629e-05 2.629e-05 2.629e-05 0.00% Castro::do_old_sources() 10 2.369e-05 2.369e-05 2.369e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.355e-05 2.355e-05 2.355e-05 0.00% Amr::FinalizeInit() 1 2.011e-05 2.011e-05 2.011e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.941e-05 1.941e-05 1.941e-05 0.00% Castro::construct_old_source() 50 1.932e-05 1.932e-05 1.932e-05 0.00% DistributionMapping::Distribute() 56 1.748e-05 1.748e-05 1.748e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.736e-05 1.736e-05 1.736e-05 0.00% MLMG::computeMLResidual() 11 1.489e-05 1.489e-05 1.489e-05 0.00% MLPoisson::prepareForSolve() 11 1.429e-05 1.429e-05 1.429e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.403e-05 1.403e-05 1.403e-05 0.00% MLLinOp::define() 11 1.373e-05 1.373e-05 1.373e-05 0.00% Castro::check_for_nan() 20 1.29e-05 1.29e-05 1.29e-05 0.00% Castro::apply_source_to_state() 20 1.217e-05 1.217e-05 1.217e-05 0.00% Castro::construct_old_gravity() 10 1.169e-05 1.169e-05 1.169e-05 0.00% Castro::post_init() 1 1.079e-05 1.079e-05 1.079e-05 0.00% Gravity::swapTimeLevels() 10 9.911e-06 9.911e-06 9.911e-06 0.00% Amr::initSubcycle() 1 8.976e-06 8.976e-06 8.976e-06 0.00% Gravity::actual_multilevel_solve() 1 8.267e-06 8.267e-06 8.267e-06 0.00% Castro::computeNewDt() 9 6.725e-06 6.725e-06 6.725e-06 0.00% Castro::expand_state() 10 5.969e-06 5.969e-06 5.969e-06 0.00% AmrLevel::checkPointPost() 3 5.812e-06 5.812e-06 5.812e-06 0.00% MLMG::getGradSolution() 11 5.778e-06 5.778e-06 5.778e-06 0.00% Amr::InitializeInit() 1 5.327e-06 5.327e-06 5.327e-06 0.00% Amr::init() 1 4.762e-06 4.762e-06 4.762e-06 0.00% Castro::retry_advance_ctu() 10 4.495e-06 4.495e-06 4.495e-06 0.00% MLMG::MLRhsNormInf() 11 4.149e-06 4.149e-06 4.149e-06 0.00% Gravity::set_mass_offset() 11 3.953e-06 3.953e-06 3.953e-06 0.00% MLMG::MLResNormInf() 11 3.783e-06 3.783e-06 3.783e-06 0.00% Castro::FluxRegCrseInit 10 3.205e-06 3.205e-06 3.205e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.872e-06 2.872e-06 2.872e-06 0.00% Castro::computeInitialDt() 2 2.745e-06 2.745e-06 2.745e-06 0.00% AmrLevel::checkPointPre() 3 2.634e-06 2.634e-06 2.634e-06 0.00% Castro::FluxRegFineAdd() 10 2.317e-06 2.317e-06 2.317e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.189e-06 2.189e-06 2.189e-06 0.00% Castro::post_regrid() 1 1.191e-06 1.191e-06 1.191e-06 0.00% Amr::initialInit() 1 1.109e-06 1.109e-06 1.109e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8799 0.8799 0.8799 100.00% Amr::coarseTimeStep() 10 0.7279 0.7279 0.7279 82.72% Amr::timeStep() 10 0.6333 0.6333 0.6333 71.97% Castro::advance() 10 0.6216 0.6216 0.6216 70.64% Castro::subcycle_advance_ctu() 10 0.6064 0.6064 0.6064 68.92% Castro::do_advance_ctu() 10 0.6062 0.6062 0.6062 68.89% Gravity::solve_phi_with_mlmg() 11 0.2961 0.2961 0.2961 33.66% Gravity::actual_solve_with_mlmg() 11 0.2865 0.2865 0.2865 32.55% Castro::construct_new_gravity() 10 0.2679 0.2679 0.2679 30.44% Castro::construct_ctu_hydro_source() 10 0.2661 0.2661 0.2661 30.24% MLMG::solve() 11 0.2642 0.2642 0.2642 30.03% Gravity::solve_for_phi() 10 0.2516 0.2516 0.2516 28.59% MLMG::oneIter() 82 0.2487 0.2487 0.2487 28.27% MLMG::mgVcycle() 82 0.2451 0.2451 0.2451 27.85% VisMF::Write(FabArray) 11 0.1793 0.1793 0.1793 20.37% Amr::checkPoint() 3 0.1367 0.1367 0.1367 15.54% AmrLevel::checkPoint() 3 0.1308 0.1308 0.1308 14.86% StateData::checkPoint() 12 0.1307 0.1307 0.1307 14.85% Amr::init() 1 0.1252 0.1252 0.1252 14.23% MLCellLinOp::smooth() 1640 0.1222 0.1222 0.1222 13.89% MLCellLinOp::applyBC() 4351 0.113 0.113 0.113 12.84% MLMG::mgVcycle_bottom 82 0.07368 0.07368 0.07368 8.37% MLMG::actualBottomSolve() 82 0.07365 0.07365 0.07365 8.37% MLCGSolver::bicgstab 82 0.0729 0.0729 0.0729 8.28% Castro::clean_state() 62 0.05855 0.05855 0.05855 6.65% Amr::initialInit() 1 0.05413 0.05413 0.05413 6.15% Amr::writePlotFile() 2 0.05129 0.05129 0.05129 5.83% Amr::FinalizeInit() 1 0.04892 0.04892 0.04892 5.56% AmrLevel::FillPatch() 41 0.04774 0.04774 0.04774 5.43% Castro::post_init() 1 0.04738 0.04738 0.04738 5.38% Gravity::multilevel_solve_for_new_phi() 1 0.04498 0.04498 0.04498 5.11% Gravity::actual_multilevel_solve() 1 0.04497 0.04497 0.04497 5.11% FillPatchIterator::Initialize 41 0.04347 0.04347 0.04347 4.94% FillPatchIterator::FillFromLevel0() 41 0.0419 0.0419 0.0419 4.76% FillPatchSingleLevel 41 0.04185 0.04185 0.04185 4.76% StateDataPhysBCFunct::() 41 0.03777 0.03777 0.03777 4.29% MLCellLinOp::apply() 1060 0.03659 0.03659 0.03659 4.16% MLMG::mgVcycle_down::0 82 0.03447 0.03447 0.03447 3.92% MLPoisson::Fsmooth() 3280 0.03417 0.03417 0.03417 3.88% FabArray::FillBoundary() 3941 0.03202 0.03202 0.03202 3.64% FillBoundary_nowait() 3941 0.0311 0.0311 0.0311 3.53% StateData::FillBoundary(geom) 328 0.02698 0.02698 0.02698 3.07% MLMG::mgVcycle_up::0 82 0.0259 0.0259 0.0259 2.94% Castro::normalize_species() 62 0.02306 0.02306 0.02306 2.62% Castro::computeTemp() 63 0.02222 0.02222 0.02222 2.52% amrex::Dot() 1114 0.02164 0.02164 0.02164 2.46% MLMG:computeResOfCorrection() 410 0.02055 0.02055 0.02055 2.33% MLCellLinOp::correctionResidual() 410 0.02042 0.02042 0.02042 2.32% Castro::initialize_do_advance() 10 0.02035 0.02035 0.02035 2.31% FabArray::norminf() 1061 0.02011 0.02011 0.02011 2.29% Castro::do_old_sources() 10 0.01826 0.01826 0.01826 2.08% Gravity::get_new_grav_vector() 11 0.01821 0.01821 0.01821 2.07% MLPoisson::define() 11 0.01748 0.01748 0.01748 1.99% MLMG::mgVcycle_down::1 82 0.0168 0.0168 0.0168 1.91% MLMG::mgVcycle_down::2 82 0.0157 0.0157 0.0157 1.78% MLMG::mgVcycle_down::3 82 0.0153 0.0153 0.0153 1.74% Castro::construct_old_gravity() 10 0.01525 0.01525 0.01525 1.73% Gravity::get_old_grav_vector() 10 0.01524 0.01524 0.01524 1.73% MLMG::mgVcycle_down::4 82 0.01515 0.01515 0.01515 1.72% Castro::do_new_sources() 10 0.01494 0.01494 0.01494 1.70% FabArray::ParallelCopy() 861 0.01469 0.01469 0.01469 1.67% Castro::initialize_advance() 10 0.01451 0.01451 0.01451 1.65% FabArray::ParallelCopy_nowait() 861 0.01443 0.01443 0.01443 1.64% FabArray::setVal() 1062 0.01326 0.01326 0.01326 1.51% FabArray::Saxpy() 1370 0.01324 0.01324 0.01324 1.50% MLCGSolver::ParallelAllReduce 1832 0.01303 0.01303 0.01303 1.48% MLMG::addInterpCorrection() 410 0.0123 0.0123 0.0123 1.40% MLMG::mgVcycle_up::1 82 0.01221 0.01221 0.01221 1.39% MLMG::mgVcycle_up::4 82 0.01207 0.01207 0.01207 1.37% MLMG::mgVcycle_up::2 82 0.01197 0.01197 0.01197 1.36% MLCellLinOp::defineAuxData() 11 0.01195 0.01195 0.01195 1.36% MLMG::mgVcycle_up::3 82 0.01165 0.01165 0.01165 1.32% amrex::average_down 410 0.01164 0.01164 0.01164 1.32% Castro::post_timestep() 10 0.01156 0.01156 0.01156 1.31% Castro::expand_state() 10 0.01141 0.01141 0.01141 1.30% Castro::enforce_min_density() 62 0.01108 0.01108 0.01108 1.26% amrex::Copy() 472 0.01081 0.01081 0.01081 1.23% MLPoisson::Fapply() 1060 0.01038 0.01038 0.01038 1.18% Gravity::fill_multipole_BCs() 11 0.009469 0.009469 0.009469 1.08% FabArray::Xpay() 739 0.007844 0.007844 0.007844 0.89% MLCellLinOp::solutionResidual() 93 0.007743 0.007743 0.007743 0.88% Castro::reset_internal_energy(MultiFab) 63 0.007025 0.007025 0.007025 0.80% MLMG::computeResidual() 82 0.006427 0.006427 0.006427 0.73% Castro::estTimeStep() 21 0.00594 0.00594 0.00594 0.67% MLCellLinOp::defineBC() 11 0.00526 0.00526 0.00526 0.60% Amr::InitializeInit() 1 0.005207 0.005207 0.005207 0.59% MLMG::prepareForSolve() 11 0.005203 0.005203 0.005203 0.59% Amr::defBaseLevel() 1 0.005202 0.005202 0.005202 0.59% BndryData::define() 11 0.004982 0.004982 0.004982 0.57% Castro::initData() 1 0.004524 0.004524 0.004524 0.51% amrex::Add() 82 0.003582 0.003582 0.003582 0.41% Castro::construct_new_source() 50 0.003452 0.003452 0.003452 0.39% Castro::construct_new_gravity_source() 10 0.003343 0.003343 0.003343 0.38% Castro::enforce_speed_limit() 62 0.003183 0.003183 0.003183 0.36% Castro::construct_old_source() 50 0.003051 0.003051 0.003051 0.35% Castro::construct_old_gravity_source() 10 0.003031 0.003031 0.003031 0.34% Castro::finalize_do_advance() 10 0.002488 0.002488 0.002488 0.28% Castro::computeNewDt() 9 0.002457 0.002457 0.002457 0.28% MLMG::ResNormInf() 93 0.002193 0.002193 0.002193 0.25% Castro::apply_source_to_state() 20 0.001862 0.001862 0.001862 0.21% check_for_negative_density() 10 0.001853 0.001853 0.001853 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001816 0.001816 0.001816 0.21% MLCellLinOp::setLevelBC() 11 0.001601 0.001601 0.001601 0.18% Castro::reset_internal_energy(Fab) 504 0.001591 0.001591 0.001591 0.18% MLMG::getGradSolution() 11 0.001567 0.001567 0.001567 0.18% MLCellLinOp::compGrad() 11 0.001561 0.001561 0.001561 0.18% FabArrayBase::getCPC() 1323 0.001475 0.001475 0.001475 0.17% MLMG::computeMLResidual() 11 0.001365 0.001365 0.001365 0.16% FabArray::setDomainBndry() 41 0.001362 0.001362 0.001362 0.15% FabArray::mult() 43 0.001356 0.001356 0.001356 0.15% MLPoisson::prepareForSolve() 11 0.001356 0.001356 0.001356 0.15% MLCellLinOp::prepareForSolve() 11 0.001341 0.001341 0.001341 0.15% Castro::check_for_nan() 20 0.001287 0.001287 0.001287 0.15% MultiFab::contains_nan() 20 0.001274 0.001274 0.001274 0.14% Castro::post_regrid() 1 0.001241 0.001241 0.001241 0.14% Castro::computeInitialDt() 2 0.001047 0.001047 0.001047 0.12% Gravity::update_max_rhs() 11 0.0009823 0.0009823 0.0009823 0.11% FabArrayBase::getFB() 3941 0.0007971 0.0007971 0.0007971 0.09% FabArrayBase::CPC::define() 454 0.0006617 0.0006617 0.0006617 0.08% Castro::finalize_advance() 10 0.0005988 0.0005988 0.0005988 0.07% Castro::Castro() 1 0.0005841 0.0005841 0.0005841 0.07% Amr::InitAmr() 1 0.0004997 0.0004997 0.0004997 0.06% Gravity::swapTimeLevels() 10 0.0004437 0.0004437 0.0004437 0.05% MLMG::MLResNormInf() 11 0.000334 0.000334 0.000334 0.04% MultiFab::max() 11 0.0003283 0.0003283 0.0003283 0.04% Castro::buildMetrics() 1 0.0002904 0.0002904 0.0002904 0.03% MLLinOp::define() 11 0.0002501 0.0002501 0.0002501 0.03% MLLinOp::defineGrids() 11 0.0002364 0.0002364 0.0002364 0.03% MLMG::MLRhsNormInf() 11 0.0002247 0.0002247 0.0002247 0.03% Castro::create_source_corrector() 10 0.0001674 0.0001674 0.0001674 0.02% FabArrayBase::FB::FB() 56 9.19e-05 9.19e-05 9.19e-05 0.01% Castro::enforce_consistent_e() 1 7.331e-05 7.331e-05 7.331e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.359e-05 6.359e-05 6.359e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.674e-05 5.674e-05 5.674e-05 0.01% StateData::define() 4 4.418e-05 4.418e-05 4.418e-05 0.01% makeSFC 55 4.27e-05 4.27e-05 4.27e-05 0.00% Castro::swap_state_time_levels() 10 3.55e-05 3.55e-05 3.55e-05 0.00% Amr::writeSmallPlotFile() 1 3.245e-05 3.245e-05 3.245e-05 0.00% Castro::initMFs() 1 3.073e-05 3.073e-05 3.073e-05 0.00% DistributionMapping::Distribute() 56 1.748e-05 1.748e-05 1.748e-05 0.00% Amr::initSubcycle() 1 8.976e-06 8.976e-06 8.976e-06 0.00% AmrLevel::checkPointPost() 3 5.812e-06 5.812e-06 5.812e-06 0.00% Castro::retry_advance_ctu() 10 4.495e-06 4.495e-06 4.495e-06 0.00% Gravity::set_mass_offset() 11 3.953e-06 3.953e-06 3.953e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.943e-06 3.943e-06 3.943e-06 0.00% Castro::FluxRegCrseInit 10 3.205e-06 3.205e-06 3.205e-06 0.00% AmrLevel::checkPointPre() 3 2.634e-06 2.634e-06 2.634e-06 0.00% Castro::FluxRegFineAdd() 10 2.317e-06 2.317e-06 2.317e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.189e-06 2.189e-06 2.189e-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 96 MiB 9042 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1041 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1628 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7620 KiB 14 MiB MLMG::prepareForSolve() 660 660 3692 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 214 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 177 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7512 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2152 B 2048 KiB Gravity::solve_for_phi() 80 80 584 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 104 KiB 2048 KiB BndryData::define() 1056 1056 337 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 215 KiB 671 KiB Castro::estTimeStep() 21 21 3291 B 480 KiB VisMF::Write(FabArray) 656 656 3511 B 320 KiB Castro::normalize_species() 62 62 8537 B 320 KiB amrex::average_down 1067 1067 1299 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1183 B 257 KiB amrex::Dot() 1360 1360 3624 B 160 KiB FabArray::norminf() 1143 1143 3526 B 160 KiB check_for_negative_density() 10 10 332 B 160 KiB Castro::initData() 1 1 53 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3603 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 299 B 9648 B MLCellLinOp::applyBC() 8702 8702 228 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3923 B 6144 B StateData::FillBoundary(geom) 1992 1992 44 B 2592 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 380 B 1248 B MLCGSolver::bicgstab 410 410 99 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 556 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 43 KiB 8192 KiB VisMF::Write(FabArray) 744 744 446 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3603 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 298 B 9648 B MLCellLinOp::applyBC() 4351 4351 226 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3923 B 6144 B Gravity::get_new_grav_vector() 3 3 2885 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 44 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 270 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 307 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 26 B 400 B FabArray::norminf() 1143 1143 10 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): 2189 [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 (23.12-24-g75571e2dcbf2) finalized Initializing AMReX (23.12-24-g75571e2dcbf2)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.12-24-g75571e2dcbf2) initialized Starting run at 09:27:32 UTC on 2023-12-29. Successfully read inputs file ... Castro git describe: 23.12-18-gc3509d44c AMReX git describe: 23.12-24-g75571e2dc Microphysics git describe: 23.12-15-gb8815845 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.490221975 Restart time = 0.100329157 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.069391659 [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.047897464 [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.070059726 [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.076856986 [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.076685252 [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.029476729 seconds Ending run at 09:27:32 UTC on 2023-12-29. Run time = 0.471783767 Run time without initialization = 0.370848361 Average number of zones advanced per microsecond: 3.534 Average number of zones advanced per microsecond per rank: 3.534 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4718 ... 0.4718 ... 0.4718 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1372 0.1372 0.1372 29.08% VisMF::Read() 3 0.06139 0.06139 0.06139 13.01% MLCellLinOp::applyBC() 1910 0.03519 0.03519 0.03519 7.46% Amr::restart() 1 0.03202 0.03202 0.03202 6.79% VisMF::Write(FabArray) 1 0.02681 0.02681 0.02681 5.68% Castro::computeTemp() 30 0.01537 0.01537 0.01537 3.26% MLPoisson::Fsmooth() 1440 0.01486 0.01486 0.01486 3.15% FillBoundary_nowait() 1730 0.01283 0.01283 0.01283 2.72% StateData::FillBoundary(geom) 160 0.01281 0.01281 0.01281 2.71% Castro::normalize_species() 30 0.01102 0.01102 0.01102 2.34% amrex::Dot() 484 0.009336 0.009336 0.009336 1.98% FabArray::norminf() 465 0.008959 0.008959 0.008959 1.90% Castro::enforce_min_density() 30 0.007023 0.007023 0.007023 1.49% FabArray::setVal() 501 0.006516 0.006516 0.006516 1.38% FabArray::ParallelCopy_nowait() 380 0.006122 0.006122 0.006122 1.30% FabArray::Saxpy() 597 0.005876 0.005876 0.005876 1.25% MLCellLinOp::defineAuxData() 6 0.005761 0.005761 0.005761 1.22% Gravity::fill_multipole_BCs() 6 0.005688 0.005688 0.005688 1.21% amrex::Copy() 221 0.005449 0.005449 0.005449 1.15% StateDataPhysBCFunct::() 20 0.005261 0.005261 0.005261 1.12% MLPoisson::Fapply() 464 0.004535 0.004535 0.004535 0.96% FabArray::Xpay() 325 0.003461 0.003461 0.003461 0.73% MLMG::addInterpCorrection() 180 0.003143 0.003143 0.003143 0.67% Castro::estTimeStep() 10 0.003123 0.003123 0.003123 0.66% amrex::average_down 180 0.002745 0.002745 0.002745 0.58% Amr::writePlotFile() 1 0.002509 0.002509 0.002509 0.53% BndryData::define() 6 0.002165 0.002165 0.002165 0.46% Castro::reset_internal_energy(MultiFab) 30 0.00205 0.00205 0.00205 0.43% Castro::construct_new_gravity_source() 5 0.001768 0.001768 0.001768 0.37% amrex::Add() 36 0.001549 0.001549 0.001549 0.33% Castro::construct_old_gravity_source() 5 0.001517 0.001517 0.001517 0.32% Castro::enforce_speed_limit() 30 0.001166 0.001166 0.001166 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000987 0.000987 0.000987 0.21% check_for_negative_density() 5 0.0009465 0.0009465 0.0009465 0.20% MLCellLinOp::setLevelBC() 6 0.0008943 0.0008943 0.0008943 0.19% Gravity::actual_solve_with_mlmg() 6 0.0008638 0.0008638 0.0008638 0.18% Castro::reset_internal_energy(Fab) 240 0.0008009 0.0008009 0.0008009 0.17% MLCellLinOp::prepareForSolve() 6 0.0007748 0.0007748 0.0007748 0.16% MLCGSolver::bicgstab 36 0.0007614 0.0007614 0.0007614 0.16% MultiFab::contains_nan() 10 0.0007349 0.0007349 0.0007349 0.16% FabArray::mult() 22 0.0006888 0.0006888 0.0006888 0.15% FabArray::setDomainBndry() 20 0.000681 0.000681 0.000681 0.14% MLCellLinOp::compGrad() 6 0.0006033 0.0006033 0.0006033 0.13% MLMG::prepareForSolve() 6 0.0005782 0.0005782 0.0005782 0.12% MLCellLinOp::smooth() 720 0.0005656 0.0005656 0.0005656 0.12% FabArrayBase::CPC::define() 244 0.0004291 0.0004291 0.0004291 0.09% Amr::InitAmr() 1 0.0004169 0.0004169 0.0004169 0.09% FabArrayBase::getCPC() 632 0.0003702 0.0003702 0.0003702 0.08% FabArray::FillBoundary() 1730 0.000359 0.000359 0.000359 0.08% Gravity::get_old_grav_vector() 5 0.0003555 0.0003555 0.0003555 0.08% Gravity::get_new_grav_vector() 5 0.0003208 0.0003208 0.0003208 0.07% main() 1 0.0002823 0.0002823 0.0002823 0.06% FabArrayBase::getFB() 1730 0.0002601 0.0002601 0.0002601 0.06% MultiFab::max() 6 0.0002117 0.0002117 0.0002117 0.04% MLCellLinOp::apply() 464 0.0002058 0.0002058 0.0002058 0.04% Amr::coarseTimeStep() 5 0.0002014 0.0002014 0.0002014 0.04% AmrLevel::FillPatch() 20 0.0002004 0.0002004 0.0002004 0.04% AmrLevel::restart() 1 0.0001724 0.0001724 0.0001724 0.04% MLCellLinOp::defineBC() 6 0.0001541 0.0001541 0.0001541 0.03% MLCGSolver::ParallelAllReduce 798 0.0001529 0.0001529 0.0001529 0.03% Castro::subcycle_advance_ctu() 5 0.0001369 0.0001369 0.0001369 0.03% MLLinOp::defineGrids() 6 0.0001298 0.0001298 0.0001298 0.03% FabArray::ParallelCopy() 380 0.0001086 0.0001086 0.0001086 0.02% StateData::restartDoit() 4 0.0001029 0.0001029 0.0001029 0.02% FillPatchIterator::Initialize 20 0.000102 0.000102 0.000102 0.02% Amr::timeStep() 5 9.367e-05 9.367e-05 9.367e-05 0.02% Gravity::solve_for_phi() 5 8.541e-05 8.541e-05 8.541e-05 0.02% Castro::create_source_corrector() 5 8.531e-05 8.531e-05 8.531e-05 0.02% MLMG::mgVcycle() 36 8.468e-05 8.468e-05 8.468e-05 0.02% MLCellLinOp::correctionResidual() 180 7.824e-05 7.824e-05 7.824e-05 0.02% Gravity::update_max_rhs() 6 7.338e-05 7.338e-05 7.338e-05 0.02% Castro::initialize_do_advance() 5 6.704e-05 6.704e-05 6.704e-05 0.01% Castro::do_advance_ctu() 5 6.692e-05 6.692e-05 6.692e-05 0.01% FabArrayBase::FB::FB() 26 6.166e-05 6.166e-05 6.166e-05 0.01% Castro::initialize_advance() 5 6.066e-05 6.066e-05 6.066e-05 0.01% Castro::advance() 5 5.776e-05 5.776e-05 5.776e-05 0.01% Castro::do_new_sources() 5 5.737e-05 5.737e-05 5.737e-05 0.01% Castro::construct_new_source() 25 5.634e-05 5.634e-05 5.634e-05 0.01% MLMG:computeResOfCorrection() 180 4.883e-05 4.883e-05 4.883e-05 0.01% MLMG::mgVcycle_down::0 36 4.496e-05 4.496e-05 4.496e-05 0.01% Castro::finalize_do_advance() 5 4.384e-05 4.384e-05 4.384e-05 0.01% MLMG::actualBottomSolve() 36 4.313e-05 4.313e-05 4.313e-05 0.01% MLMG::mgVcycle_down::1 36 3.679e-05 3.679e-05 3.679e-05 0.01% Castro::clean_state() 30 3.648e-05 3.648e-05 3.648e-05 0.01% MLMG::mgVcycle_down::2 36 3.452e-05 3.452e-05 3.452e-05 0.01% MLMG::solve() 6 3.424e-05 3.424e-05 3.424e-05 0.01% MLMG::mgVcycle_down::4 36 3.343e-05 3.343e-05 3.343e-05 0.01% MLMG::mgVcycle_down::3 36 3.227e-05 3.227e-05 3.227e-05 0.01% Castro::post_timestep() 5 3.127e-05 3.127e-05 3.127e-05 0.01% Castro::finalize_advance() 5 3.037e-05 3.037e-05 3.037e-05 0.01% Amr::writeSmallPlotFile() 1 2.95e-05 2.95e-05 2.95e-05 0.01% Castro::post_restart() 1 2.851e-05 2.851e-05 2.851e-05 0.01% MLMG::mgVcycle_up::4 36 2.827e-05 2.827e-05 2.827e-05 0.01% Castro::construct_old_source() 25 2.755e-05 2.755e-05 2.755e-05 0.01% Castro::buildMetrics() 1 2.744e-05 2.744e-05 2.744e-05 0.01% MLMG::oneIter() 36 2.438e-05 2.438e-05 2.438e-05 0.01% Castro::initMFs() 1 2.412e-05 2.412e-05 2.412e-05 0.01% Castro::swap_state_time_levels() 5 2.407e-05 2.407e-05 2.407e-05 0.01% MLCellLinOp::solutionResidual() 42 2.301e-05 2.301e-05 2.301e-05 0.00% MLMG::mgVcycle_up::3 36 2.288e-05 2.288e-05 2.288e-05 0.00% Castro::check_for_nan() 10 2.245e-05 2.245e-05 2.245e-05 0.00% MLMG::mgVcycle_up::0 36 2.234e-05 2.234e-05 2.234e-05 0.00% Castro::construct_new_gravity() 5 2.203e-05 2.203e-05 2.203e-05 0.00% MLMG::mgVcycle_up::2 36 2.131e-05 2.131e-05 2.131e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.116e-05 2.116e-05 2.116e-05 0.00% MLMG::mgVcycle_up::1 36 2.105e-05 2.105e-05 2.105e-05 0.00% MLPoisson::define() 6 1.943e-05 1.943e-05 1.943e-05 0.00% MLMG::ResNormInf() 42 1.859e-05 1.859e-05 1.859e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.682e-05 1.682e-05 1.682e-05 0.00% FillPatchSingleLevel 20 1.651e-05 1.651e-05 1.651e-05 0.00% MLMG::mgVcycle_bottom 36 1.473e-05 1.473e-05 1.473e-05 0.00% makeSFC 30 1.414e-05 1.414e-05 1.414e-05 0.00% MLMG::computeResidual() 36 1.401e-05 1.401e-05 1.401e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.365e-05 1.365e-05 1.365e-05 0.00% Castro::do_old_sources() 5 1.301e-05 1.301e-05 1.301e-05 0.00% DistributionMapping::Distribute() 31 1.275e-05 1.275e-05 1.275e-05 0.00% Amr::initSubcycle() 1 9.224e-06 9.224e-06 9.224e-06 0.00% MLPoisson::prepareForSolve() 6 9.221e-06 9.221e-06 9.221e-06 0.00% MLMG::computeMLResidual() 6 8.88e-06 8.88e-06 8.88e-06 0.00% Gravity::actual_multilevel_solve() 1 8.695e-06 8.695e-06 8.695e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 7.944e-06 7.944e-06 7.944e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.635e-06 7.635e-06 7.635e-06 0.00% Castro::construct_old_gravity() 5 6.41e-06 6.41e-06 6.41e-06 0.00% MLLinOp::define() 6 6.149e-06 6.149e-06 6.149e-06 0.00% Castro::apply_source_to_state() 10 5.836e-06 5.836e-06 5.836e-06 0.00% Gravity::swapTimeLevels() 5 4.935e-06 4.935e-06 4.935e-06 0.00% Castro::expand_state() 5 3.247e-06 3.247e-06 3.247e-06 0.00% MLMG::getGradSolution() 6 3.169e-06 3.169e-06 3.169e-06 0.00% Castro::computeNewDt() 5 3.06e-06 3.06e-06 3.06e-06 0.00% MLMG::MLResNormInf() 6 2.575e-06 2.575e-06 2.575e-06 0.00% Castro::retry_advance_ctu() 5 2.389e-06 2.389e-06 2.389e-06 0.00% MLMG::MLRhsNormInf() 6 2.322e-06 2.322e-06 2.322e-06 0.00% Gravity::set_mass_offset() 6 2.023e-06 2.023e-06 2.023e-06 0.00% Castro::FluxRegCrseInit 5 1.779e-06 1.779e-06 1.779e-06 0.00% Castro::FluxRegFineAdd() 5 1.219e-06 1.219e-06 1.219e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.101e-06 1.101e-06 1.101e-06 0.00% Amr::init() 1 9.65e-07 9.65e-07 9.65e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4718 0.4718 0.4718 100.00% Amr::coarseTimeStep() 5 0.3411 0.3411 0.3411 72.29% Amr::timeStep() 5 0.3389 0.3389 0.3389 71.83% Castro::advance() 5 0.3336 0.3336 0.3336 70.71% Castro::subcycle_advance_ctu() 5 0.3257 0.3257 0.3257 69.03% Castro::do_advance_ctu() 5 0.3255 0.3255 0.3255 69.00% Castro::construct_ctu_hydro_source() 5 0.1497 0.1497 0.1497 31.72% Castro::construct_new_gravity() 5 0.1361 0.1361 0.1361 28.84% Gravity::solve_phi_with_mlmg() 6 0.1336 0.1336 0.1336 28.33% Gravity::solve_for_phi() 5 0.128 0.128 0.128 27.13% Gravity::actual_solve_with_mlmg() 6 0.1277 0.1277 0.1277 27.07% MLMG::solve() 6 0.1154 0.1154 0.1154 24.46% MLMG::oneIter() 36 0.1077 0.1077 0.1077 22.83% MLMG::mgVcycle() 36 0.1062 0.1062 0.1062 22.50% Amr::init() 1 0.1004 0.1004 0.1004 21.28% Amr::restart() 1 0.1004 0.1004 0.1004 21.28% AmrLevel::restart() 1 0.0619 0.0619 0.0619 13.12% StateData::restartDoit() 4 0.06171 0.06171 0.06171 13.08% VisMF::Read() 3 0.06139 0.06139 0.06139 13.01% MLCellLinOp::smooth() 720 0.05263 0.05263 0.05263 11.15% MLCellLinOp::applyBC() 1910 0.0487 0.0487 0.0487 10.32% Castro::clean_state() 30 0.03747 0.03747 0.03747 7.94% MLMG::mgVcycle_bottom 36 0.03205 0.03205 0.03205 6.79% MLMG::actualBottomSolve() 36 0.03203 0.03203 0.03203 6.79% MLCGSolver::bicgstab 36 0.0317 0.0317 0.0317 6.72% Amr::writePlotFile() 1 0.02958 0.02958 0.02958 6.27% VisMF::Write(FabArray) 1 0.02681 0.02681 0.02681 5.68% AmrLevel::FillPatch() 20 0.023 0.023 0.023 4.87% FillPatchIterator::Initialize 20 0.0209 0.0209 0.0209 4.43% FillPatchIterator::FillFromLevel0() 20 0.02012 0.02012 0.02012 4.26% FillPatchSingleLevel 20 0.0201 0.0201 0.0201 4.26% Castro::computeTemp() 30 0.01822 0.01822 0.01822 3.86% StateDataPhysBCFunct::() 20 0.01807 0.01807 0.01807 3.83% MLCellLinOp::apply() 464 0.01596 0.01596 0.01596 3.38% MLPoisson::Fsmooth() 1440 0.01486 0.01486 0.01486 3.15% MLMG::mgVcycle_down::0 36 0.01483 0.01483 0.01483 3.14% FabArray::FillBoundary() 1730 0.01351 0.01351 0.01351 2.86% FillBoundary_nowait() 1730 0.01315 0.01315 0.01315 2.79% StateData::FillBoundary(geom) 160 0.01281 0.01281 0.01281 2.71% Castro::initialize_do_advance() 5 0.01205 0.01205 0.01205 2.55% MLMG::mgVcycle_up::0 36 0.01113 0.01113 0.01113 2.36% Castro::normalize_species() 30 0.01102 0.01102 0.01102 2.34% Castro::do_old_sources() 5 0.01039 0.01039 0.01039 2.20% MLPoisson::define() 6 0.009656 0.009656 0.009656 2.05% amrex::Dot() 484 0.009336 0.009336 0.009336 1.98% FabArray::norminf() 465 0.008959 0.008959 0.008959 1.90% MLMG:computeResOfCorrection() 180 0.00889 0.00889 0.00889 1.88% MLCellLinOp::correctionResidual() 180 0.008841 0.008841 0.008841 1.87% Castro::do_new_sources() 5 0.008041 0.008041 0.008041 1.70% Gravity::get_new_grav_vector() 5 0.007898 0.007898 0.007898 1.67% Castro::construct_old_gravity() 5 0.00763 0.00763 0.00763 1.62% Gravity::get_old_grav_vector() 5 0.007623 0.007623 0.007623 1.62% Castro::initialize_advance() 5 0.007565 0.007565 0.007565 1.60% MLMG::mgVcycle_down::1 36 0.007365 0.007365 0.007365 1.56% Castro::enforce_min_density() 30 0.007023 0.007023 0.007023 1.49% MLMG::mgVcycle_down::2 36 0.00678 0.00678 0.00678 1.44% MLMG::mgVcycle_down::3 36 0.006659 0.006659 0.006659 1.41% FabArray::ParallelCopy() 380 0.006629 0.006629 0.006629 1.41% MLMG::mgVcycle_down::4 36 0.006567 0.006567 0.006567 1.39% MLCellLinOp::defineAuxData() 6 0.006549 0.006549 0.006549 1.39% FabArray::ParallelCopy_nowait() 380 0.006521 0.006521 0.006521 1.38% FabArray::setVal() 501 0.006516 0.006516 0.006516 1.38% Castro::post_restart() 1 0.006292 0.006292 0.006292 1.33% Castro::expand_state() 5 0.006197 0.006197 0.006197 1.31% Gravity::multilevel_solve_for_new_phi() 1 0.005902 0.005902 0.005902 1.25% Gravity::actual_multilevel_solve() 1 0.005885 0.005885 0.005885 1.25% FabArray::Saxpy() 597 0.005876 0.005876 0.005876 1.25% Gravity::fill_multipole_BCs() 6 0.005813 0.005813 0.005813 1.23% MLCGSolver::ParallelAllReduce 798 0.005694 0.005694 0.005694 1.21% amrex::Copy() 221 0.005449 0.005449 0.005449 1.15% MLMG::addInterpCorrection() 180 0.005425 0.005425 0.005425 1.15% MLMG::mgVcycle_up::4 36 0.00527 0.00527 0.00527 1.12% MLMG::mgVcycle_up::1 36 0.005223 0.005223 0.005223 1.11% Castro::post_timestep() 5 0.005208 0.005208 0.005208 1.10% MLMG::mgVcycle_up::2 36 0.005127 0.005127 0.005127 1.09% amrex::average_down 180 0.005078 0.005078 0.005078 1.08% MLMG::mgVcycle_up::3 36 0.005069 0.005069 0.005069 1.07% MLPoisson::Fapply() 464 0.004535 0.004535 0.004535 0.96% MLCellLinOp::solutionResidual() 42 0.003595 0.003595 0.003595 0.76% FabArray::Xpay() 325 0.003461 0.003461 0.003461 0.73% Castro::estTimeStep() 10 0.003123 0.003123 0.003123 0.66% MLCellLinOp::defineBC() 6 0.002919 0.002919 0.002919 0.62% MLMG::prepareForSolve() 6 0.002919 0.002919 0.002919 0.62% Castro::reset_internal_energy(MultiFab) 30 0.002851 0.002851 0.002851 0.60% MLMG::computeResidual() 36 0.002778 0.002778 0.002778 0.59% BndryData::define() 6 0.002765 0.002765 0.002765 0.59% Castro::computeNewDt() 5 0.001975 0.001975 0.001975 0.42% Castro::construct_new_source() 25 0.001824 0.001824 0.001824 0.39% Castro::construct_new_gravity_source() 5 0.001768 0.001768 0.001768 0.37% amrex::Add() 36 0.001549 0.001549 0.001549 0.33% Castro::construct_old_source() 25 0.001544 0.001544 0.001544 0.33% Castro::construct_old_gravity_source() 5 0.001517 0.001517 0.001517 0.32% Castro::finalize_do_advance() 5 0.001194 0.001194 0.001194 0.25% Castro::enforce_speed_limit() 30 0.001166 0.001166 0.001166 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000987 0.000987 0.000987 0.21% MLMG::ResNormInf() 42 0.0009824 0.0009824 0.0009824 0.21% Castro::apply_source_to_state() 10 0.0009621 0.0009621 0.0009621 0.20% check_for_negative_density() 5 0.0009465 0.0009465 0.0009465 0.20% MLCellLinOp::setLevelBC() 6 0.0008943 0.0008943 0.0008943 0.19% MLMG::getGradSolution() 6 0.0008885 0.0008885 0.0008885 0.19% MLCellLinOp::compGrad() 6 0.0008854 0.0008854 0.0008854 0.19% MLMG::computeMLResidual() 6 0.0008406 0.0008406 0.0008406 0.18% Castro::reset_internal_energy(Fab) 240 0.0008009 0.0008009 0.0008009 0.17% FabArrayBase::getCPC() 632 0.0007994 0.0007994 0.0007994 0.17% MLPoisson::prepareForSolve() 6 0.000784 0.000784 0.000784 0.17% MLCellLinOp::prepareForSolve() 6 0.0007748 0.0007748 0.0007748 0.16% Castro::check_for_nan() 10 0.0007573 0.0007573 0.0007573 0.16% MultiFab::contains_nan() 10 0.0007349 0.0007349 0.0007349 0.16% Gravity::update_max_rhs() 6 0.000734 0.000734 0.000734 0.16% FabArray::mult() 22 0.0006888 0.0006888 0.0006888 0.15% FabArray::setDomainBndry() 20 0.000681 0.000681 0.000681 0.14% FabArrayBase::CPC::define() 244 0.0004291 0.0004291 0.0004291 0.09% Amr::InitAmr() 1 0.0004262 0.0004262 0.0004262 0.09% FabArrayBase::getFB() 1730 0.0003218 0.0003218 0.0003218 0.07% Castro::finalize_advance() 5 0.0002974 0.0002974 0.0002974 0.06% Gravity::swapTimeLevels() 5 0.0002317 0.0002317 0.0002317 0.05% MultiFab::max() 6 0.0002117 0.0002117 0.0002117 0.04% MLMG::MLResNormInf() 6 0.0001903 0.0001903 0.0001903 0.04% MLLinOp::define() 6 0.0001682 0.0001682 0.0001682 0.04% MLLinOp::defineGrids() 6 0.000162 0.000162 0.000162 0.03% Castro::buildMetrics() 1 0.0001537 0.0001537 0.0001537 0.03% MLMG::MLRhsNormInf() 6 0.0001195 0.0001195 0.0001195 0.03% Castro::create_source_corrector() 5 8.531e-05 8.531e-05 8.531e-05 0.02% FabArrayBase::FB::FB() 26 6.166e-05 6.166e-05 6.166e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.112e-05 3.112e-05 3.112e-05 0.01% Amr::writeSmallPlotFile() 1 2.95e-05 2.95e-05 2.95e-05 0.01% Castro::initMFs() 1 2.412e-05 2.412e-05 2.412e-05 0.01% Castro::swap_state_time_levels() 5 2.407e-05 2.407e-05 2.407e-05 0.01% makeSFC 30 2.349e-05 2.349e-05 2.349e-05 0.00% DistributionMapping::Distribute() 31 1.275e-05 1.275e-05 1.275e-05 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 1.134e-05 1.134e-05 1.134e-05 0.00% Amr::initSubcycle() 1 9.224e-06 9.224e-06 9.224e-06 0.00% Castro::retry_advance_ctu() 5 2.389e-06 2.389e-06 2.389e-06 0.00% Gravity::set_mass_offset() 6 2.023e-06 2.023e-06 2.023e-06 0.00% Castro::FluxRegCrseInit 5 1.779e-06 1.779e-06 1.779e-06 0.00% Castro::FluxRegFineAdd() 5 1.219e-06 1.219e-06 1.219e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.101e-06 1.101e-06 1.101e-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 172 MiB 9042 MiB Castro::initMFs() 48 48 54 MiB 68 MiB Castro::swap_state_time_levels() 32 32 43 MiB 55 MiB StateData::restartDoit() 32 32 49 MiB 55 MiB FillPatchIterator::Initialize 160 160 980 KiB 39 MiB Castro::initialize_do_advance() 40 40 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1675 KiB 28 MiB Castro::initialize_advance() 40 40 16 MiB 23 MiB Castro::buildMetrics() 32 32 12 MiB 15 MiB Castro::post_restart() 48 48 6060 KiB 14 MiB MLMG::prepareForSolve() 361 361 3001 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 167 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 171 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6047 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3073 B 2048 KiB Gravity::solve_for_phi() 40 40 554 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 277 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 178 KiB 671 KiB Castro::estTimeStep() 10 10 3173 B 480 KiB VisMF::Write(FabArray) 112 112 2136 B 320 KiB Castro::normalize_species() 30 30 7613 B 320 KiB amrex::average_down 469 469 1044 B 257 KiB MLMG::addInterpCorrection() 468 468 973 B 257 KiB amrex::Dot() 592 592 2913 B 160 KiB FabArray::norminf() 501 501 2933 B 160 KiB check_for_negative_density() 5 5 322 B 160 KiB MultiFab::max() 6 6 68 B 160 KiB FabArray::setVal() 66 66 16 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 2908 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 41 B 10 KiB FillBoundary_nowait() 336 336 236 B 9648 B MLCellLinOp::applyBC() 3820 3820 185 B 9344 B amrex::Copy() 56 56 5234 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 38 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 311 B 1248 B MLCGSolver::bicgstab 180 180 81 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1074 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 79 KiB 8192 KiB VisMF::Write(FabArray) 120 120 150 KiB 3584 KiB VisMF::Read() 24 24 196 KiB 3000 KiB FabArray::setVal() 66 66 16 KiB 23 KiB MLPoisson::Fsmooth() 60 60 2908 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 41 B 10 KiB FillBoundary_nowait() 336 336 236 B 9648 B MLCellLinOp::applyBC() 1910 1910 184 B 9328 B amrex::Copy() 56 56 5234 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2375 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 39 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 464 B 1296 B amrex::average_down 37 37 191 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 21 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): 2189 [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 (23.12-24-g75571e2dcbf2) finalized