Initializing AMReX (23.12-14-gf9e9fafd3278)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.12-14-gf9e9fafd3278) initialized Starting run at 22:16:54 UTC on 2023-12-12. Successfully read inputs file ... Castro git describe: 23.12-10-gd8597cd56 AMReX git describe: 23.12-14-gf9e9fafd3 Microphysics git describe: 23.12-1-gbdf6a18e 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.043354285 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.023813045 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.064044257 [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.049940846 [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.0697351 [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.079420313 [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.055794804 [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.043207649 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.056283545 [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.077327819 [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.074313327 [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.057373654 [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.060889917 [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.042020585 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.029601881 seconds Ending run at 22:16:55 UTC on 2023-12-12. Run time = 0.882743052 Run time without initialization = 0.760641144 Average number of zones advanced per microsecond: 3.446 Average number of zones advanced per microsecond per rank: 3.446 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8828 ... 0.8828 ... 0.8828 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2638 0.2638 0.2638 29.88% VisMF::Write(FabArray) 11 0.1742 0.1742 0.1742 19.74% MLCellLinOp::applyBC() 4433 0.08032 0.08032 0.08032 9.10% MLPoisson::Fsmooth() 3280 0.03329 0.03329 0.03329 3.77% FillBoundary_nowait() 4023 0.02999 0.02999 0.02999 3.40% FabArray::norminf() 1061 0.02632 0.02632 0.02632 2.98% StateData::FillBoundary(geom) 328 0.02557 0.02557 0.02557 2.90% amrex::Dot() 1114 0.02107 0.02107 0.02107 2.39% Castro::normalize_species() 62 0.01999 0.01999 0.01999 2.26% Castro::computeTemp() 63 0.01493 0.01493 0.01493 1.69% FabArray::setVal() 1144 0.01352 0.01352 0.01352 1.53% FabArray::ParallelCopy_nowait() 861 0.01328 0.01328 0.01328 1.50% FabArray::Saxpy() 1370 0.01291 0.01291 0.01291 1.46% StateDataPhysBCFunct::() 41 0.01279 0.01279 0.01279 1.45% Castro::enforce_min_density() 62 0.01085 0.01085 0.01085 1.23% MLPoisson::Fapply() 1142 0.0108 0.0108 0.0108 1.22% amrex::Copy() 472 0.01072 0.01072 0.01072 1.21% MLCellLinOp::defineAuxData() 11 0.01011 0.01011 0.01011 1.15% Gravity::fill_multipole_BCs() 11 0.008902 0.008902 0.008902 1.01% FabArray::Xpay() 821 0.008326 0.008326 0.008326 0.94% MLMG::addInterpCorrection() 410 0.006938 0.006938 0.006938 0.79% Castro::estTimeStep() 21 0.006305 0.006305 0.006305 0.71% amrex::average_down 410 0.0061 0.0061 0.0061 0.69% Amr::checkPoint() 3 0.005474 0.005474 0.005474 0.62% Castro::reset_internal_energy(MultiFab) 63 0.005178 0.005178 0.005178 0.59% amrex::Add() 164 0.004393 0.004393 0.004393 0.50% BndryData::define() 11 0.003676 0.003676 0.003676 0.42% Castro::construct_new_gravity_source() 10 0.003377 0.003377 0.003377 0.38% Castro::construct_old_gravity_source() 10 0.002947 0.002947 0.002947 0.33% Castro::enforce_speed_limit() 62 0.002565 0.002565 0.002565 0.29% MLCGSolver::bicgstab 82 0.001974 0.001974 0.001974 0.22% Amr::writePlotFile() 2 0.001804 0.001804 0.001804 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001726 0.001726 0.001726 0.20% Gravity::actual_solve_with_mlmg() 11 0.001634 0.001634 0.001634 0.19% check_for_negative_density() 10 0.001617 0.001617 0.001617 0.18% Castro::reset_internal_energy(Fab) 504 0.00156 0.00156 0.00156 0.18% MLCellLinOp::setLevelBC() 11 0.001556 0.001556 0.001556 0.18% Castro::initData() 1 0.001542 0.001542 0.001542 0.17% MLCellLinOp::smooth() 1640 0.00137 0.00137 0.00137 0.16% FabArray::mult() 43 0.001353 0.001353 0.001353 0.15% FabArray::setDomainBndry() 41 0.001318 0.001318 0.001318 0.15% MLCellLinOp::prepareForSolve() 11 0.001317 0.001317 0.001317 0.15% MultiFab::contains_nan() 20 0.001251 0.001251 0.001251 0.14% MLCellLinOp::compGrad() 11 0.00106 0.00106 0.00106 0.12% MLMG::prepareForSolve() 11 0.000967 0.000967 0.000967 0.11% FabArray::FillBoundary() 4023 0.0008666 0.0008666 0.0008666 0.10% FabArrayBase::getCPC() 1323 0.0007914 0.0007914 0.0007914 0.09% FabArrayBase::CPC::define() 454 0.0006714 0.0006714 0.0006714 0.08% Gravity::get_new_grav_vector() 11 0.0006217 0.0006217 0.0006217 0.07% FabArrayBase::getFB() 4023 0.000609 0.000609 0.000609 0.07% MLCellLinOp::apply() 1142 0.0005255 0.0005255 0.0005255 0.06% Amr::InitAmr() 1 0.0004825 0.0004825 0.0004825 0.05% Gravity::get_old_grav_vector() 10 0.0004798 0.0004798 0.0004798 0.05% AmrLevel::FillPatch() 41 0.0004146 0.0004146 0.0004146 0.05% MLCGSolver::ParallelAllReduce 1832 0.0004011 0.0004011 0.0004011 0.05% Amr::coarseTimeStep() 10 0.0003796 0.0003796 0.0003796 0.04% MultiFab::max() 11 0.0003284 0.0003284 0.0003284 0.04% main() 1 0.0002955 0.0002955 0.0002955 0.03% FabArray::ParallelCopy() 861 0.0002785 0.0002785 0.0002785 0.03% MLCellLinOp::defineBC() 11 0.0002752 0.0002752 0.0002752 0.03% MLCellLinOp::correctionResidual() 492 0.0002397 0.0002397 0.0002397 0.03% FillPatchIterator::Initialize 41 0.0002115 0.0002115 0.0002115 0.02% MLMG::mgVcycle() 82 0.000184 0.000184 0.000184 0.02% Castro::subcycle_advance_ctu() 10 0.000183 0.000183 0.000183 0.02% MLLinOp::defineGrids() 11 0.0001705 0.0001705 0.0001705 0.02% Amr::timeStep() 10 0.0001689 0.0001689 0.0001689 0.02% StateData::checkPoint() 12 0.0001393 0.0001393 0.0001393 0.02% Gravity::update_max_rhs() 11 0.0001318 0.0001318 0.0001318 0.01% MLMG:computeResOfCorrection() 410 0.0001294 0.0001294 0.0001294 0.01% Castro::create_source_corrector() 10 0.0001288 0.0001288 0.0001288 0.01% Castro::advance() 10 0.0001131 0.0001131 0.0001131 0.01% Gravity::solve_for_phi() 10 0.0001097 0.0001097 0.0001097 0.01% Castro::construct_new_source() 50 0.0001077 0.0001077 0.0001077 0.01% MLMG::actualBottomSolve() 82 9.652e-05 9.652e-05 9.652e-05 0.01% MLMG::mgVcycle_down::0 82 9.476e-05 9.476e-05 9.476e-05 0.01% FabArrayBase::FB::FB() 56 9.289e-05 9.289e-05 9.289e-05 0.01% Castro::Castro() 1 8.942e-05 8.942e-05 8.942e-05 0.01% MLMG::mgVcycle_down::1 82 8.618e-05 8.618e-05 8.618e-05 0.01% MLMG::mgVcycle_down::2 82 8.404e-05 8.404e-05 8.404e-05 0.01% Castro::do_new_sources() 10 8.199e-05 8.199e-05 8.199e-05 0.01% Castro::initialize_advance() 10 7.987e-05 7.987e-05 7.987e-05 0.01% MLMG::solve() 11 7.981e-05 7.981e-05 7.981e-05 0.01% MLMG::mgVcycle_down::4 82 7.926e-05 7.926e-05 7.926e-05 0.01% MLMG::mgVcycle_down::3 82 7.76e-05 7.76e-05 7.76e-05 0.01% Castro::clean_state() 62 7.717e-05 7.717e-05 7.717e-05 0.01% AmrLevel::checkPoint() 3 7.678e-05 7.678e-05 7.678e-05 0.01% Castro::enforce_consistent_e() 1 6.922e-05 6.922e-05 6.922e-05 0.01% MLMG::mgVcycle_up::4 82 6.741e-05 6.741e-05 6.741e-05 0.01% Castro::finalize_advance() 10 6.466e-05 6.466e-05 6.466e-05 0.01% Castro::initialize_do_advance() 10 6.054e-05 6.054e-05 6.054e-05 0.01% MLMG::mgVcycle_up::0 82 5.846e-05 5.846e-05 5.846e-05 0.01% MLMG::mgVcycle_up::3 82 5.732e-05 5.732e-05 5.732e-05 0.01% MLMG::mgVcycle_up::1 82 5.585e-05 5.585e-05 5.585e-05 0.01% MLMG::oneIter() 82 5.569e-05 5.569e-05 5.569e-05 0.01% MLCellLinOp::solutionResidual() 93 5.559e-05 5.559e-05 5.559e-05 0.01% Castro::finalize_do_advance() 10 5.408e-05 5.408e-05 5.408e-05 0.01% MLMG::mgVcycle_up::2 82 5.398e-05 5.398e-05 5.398e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.799e-05 4.799e-05 4.799e-05 0.01% Castro::do_advance_ctu() 10 4.753e-05 4.753e-05 4.753e-05 0.01% StateData::define() 4 4.715e-05 4.715e-05 4.715e-05 0.01% Amr::defBaseLevel() 1 4.279e-05 4.279e-05 4.279e-05 0.00% MLMG::ResNormInf() 93 3.888e-05 3.888e-05 3.888e-05 0.00% Castro::swap_state_time_levels() 10 3.881e-05 3.881e-05 3.881e-05 0.00% FillPatchSingleLevel 41 3.588e-05 3.588e-05 3.588e-05 0.00% MLMG::computeResidual() 82 3.415e-05 3.415e-05 3.415e-05 0.00% MLMG::mgVcycle_bottom 82 3.271e-05 3.271e-05 3.271e-05 0.00% Amr::writeSmallPlotFile() 1 3.255e-05 3.255e-05 3.255e-05 0.00% MLPoisson::define() 11 3.012e-05 3.012e-05 3.012e-05 0.00% Castro::initMFs() 1 2.978e-05 2.978e-05 2.978e-05 0.00% Castro::construct_new_gravity() 10 2.627e-05 2.627e-05 2.627e-05 0.00% makeSFC 55 2.506e-05 2.506e-05 2.506e-05 0.00% Castro::buildMetrics() 1 2.469e-05 2.469e-05 2.469e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.32e-05 2.32e-05 2.32e-05 0.00% Castro::do_old_sources() 10 2.241e-05 2.241e-05 2.241e-05 0.00% Amr::FinalizeInit() 1 2.069e-05 2.069e-05 2.069e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 2.037e-05 2.037e-05 2.037e-05 0.00% Castro::construct_old_source() 50 1.896e-05 1.896e-05 1.896e-05 0.00% DistributionMapping::Distribute() 56 1.602e-05 1.602e-05 1.602e-05 0.00% Castro::apply_source_to_state() 20 1.503e-05 1.503e-05 1.503e-05 0.00% MLPoisson::prepareForSolve() 11 1.479e-05 1.479e-05 1.479e-05 0.00% MLMG::computeMLResidual() 11 1.397e-05 1.397e-05 1.397e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.395e-05 1.395e-05 1.395e-05 0.00% MLLinOp::define() 11 1.382e-05 1.382e-05 1.382e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.164e-05 1.164e-05 1.164e-05 0.00% Castro::construct_old_gravity() 10 1.15e-05 1.15e-05 1.15e-05 0.00% Castro::check_for_nan() 20 1.14e-05 1.14e-05 1.14e-05 0.00% Amr::initSubcycle() 1 1.102e-05 1.102e-05 1.102e-05 0.00% Castro::post_init() 1 1.048e-05 1.048e-05 1.048e-05 0.00% Gravity::swapTimeLevels() 10 9.872e-06 9.872e-06 9.872e-06 0.00% Gravity::actual_multilevel_solve() 1 8.143e-06 8.143e-06 8.143e-06 0.00% Castro::post_timestep() 10 7.606e-06 7.606e-06 7.606e-06 0.00% MLMG::getGradSolution() 11 6.903e-06 6.903e-06 6.903e-06 0.00% Castro::computeNewDt() 9 6.811e-06 6.811e-06 6.811e-06 0.00% Castro::expand_state() 10 5.919e-06 5.919e-06 5.919e-06 0.00% AmrLevel::checkPointPost() 3 5.604e-06 5.604e-06 5.604e-06 0.00% Amr::InitializeInit() 1 5.054e-06 5.054e-06 5.054e-06 0.00% MLMG::MLRhsNormInf() 11 4.4e-06 4.4e-06 4.4e-06 0.00% Castro::retry_advance_ctu() 10 4.202e-06 4.202e-06 4.202e-06 0.00% Gravity::set_mass_offset() 11 3.777e-06 3.777e-06 3.777e-06 0.00% MLMG::MLResNormInf() 11 3.68e-06 3.68e-06 3.68e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.229e-06 3.229e-06 3.229e-06 0.00% Castro::FluxRegCrseInit 10 2.984e-06 2.984e-06 2.984e-06 0.00% Castro::computeInitialDt() 2 2.797e-06 2.797e-06 2.797e-06 0.00% Amr::init() 1 2.473e-06 2.473e-06 2.473e-06 0.00% Castro::FluxRegFineAdd() 10 2.212e-06 2.212e-06 2.212e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.09e-06 2.09e-06 2.09e-06 0.00% AmrLevel::checkPointPre() 3 2.076e-06 2.076e-06 2.076e-06 0.00% Castro::post_regrid() 1 1.205e-06 1.205e-06 1.205e-06 0.00% Amr::initialInit() 1 1.058e-06 1.058e-06 1.058e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8828 0.8828 0.8828 100.00% Amr::coarseTimeStep() 10 0.7308 0.7308 0.7308 82.78% Amr::timeStep() 10 0.6415 0.6415 0.6415 72.67% Castro::advance() 10 0.6315 0.6315 0.6315 71.53% Castro::subcycle_advance_ctu() 10 0.6182 0.6182 0.6182 70.03% Castro::do_advance_ctu() 10 0.618 0.618 0.618 70.01% Gravity::solve_phi_with_mlmg() 11 0.3003 0.3003 0.3003 34.01% Gravity::actual_solve_with_mlmg() 11 0.2909 0.2909 0.2909 32.95% Castro::construct_ctu_hydro_source() 10 0.2735 0.2735 0.2735 30.98% Castro::construct_new_gravity() 10 0.2716 0.2716 0.2716 30.77% MLMG::solve() 11 0.2694 0.2694 0.2694 30.52% Gravity::solve_for_phi() 10 0.2554 0.2554 0.2554 28.94% MLMG::oneIter() 82 0.2543 0.2543 0.2543 28.81% MLMG::mgVcycle() 82 0.2507 0.2507 0.2507 28.40% VisMF::Write(FabArray) 11 0.1742 0.1742 0.1742 19.74% Amr::checkPoint() 3 0.1287 0.1287 0.1287 14.58% AmrLevel::checkPoint() 3 0.1232 0.1232 0.1232 13.96% StateData::checkPoint() 12 0.1231 0.1231 0.1231 13.95% Amr::init() 1 0.1215 0.1215 0.1215 13.76% MLCellLinOp::smooth() 1640 0.1196 0.1196 0.1196 13.55% MLCellLinOp::applyBC() 4433 0.1119 0.1119 0.1119 12.67% MLMG::mgVcycle_bottom 82 0.08302 0.08302 0.08302 9.40% MLMG::actualBottomSolve() 82 0.08299 0.08299 0.08299 9.40% MLCGSolver::bicgstab 82 0.08226 0.08226 0.08226 9.32% Castro::clean_state() 62 0.05422 0.05422 0.05422 6.14% Amr::initialInit() 1 0.0542 0.0542 0.0542 6.14% Amr::writePlotFile() 2 0.05354 0.05354 0.05354 6.06% Amr::FinalizeInit() 1 0.04923 0.04923 0.04923 5.58% AmrLevel::FillPatch() 41 0.04827 0.04827 0.04827 5.47% Castro::post_init() 1 0.04773 0.04773 0.04773 5.41% Gravity::multilevel_solve_for_new_phi() 1 0.04524 0.04524 0.04524 5.13% Gravity::actual_multilevel_solve() 1 0.04522 0.04522 0.04522 5.12% FillPatchIterator::Initialize 41 0.04401 0.04401 0.04401 4.99% FillPatchIterator::FillFromLevel0() 41 0.04248 0.04248 0.04248 4.81% FillPatchSingleLevel 41 0.04243 0.04243 0.04243 4.81% StateDataPhysBCFunct::() 41 0.03837 0.03837 0.03837 4.35% MLCellLinOp::apply() 1142 0.03775 0.03775 0.03775 4.28% MLMG::mgVcycle_down::0 82 0.03389 0.03389 0.03389 3.84% MLPoisson::Fsmooth() 3280 0.03329 0.03329 0.03329 3.77% FabArray::FillBoundary() 4023 0.03155 0.03155 0.03155 3.57% FillBoundary_nowait() 4023 0.03069 0.03069 0.03069 3.48% FabArray::norminf() 1061 0.02632 0.02632 0.02632 2.98% MLMG::mgVcycle_up::0 82 0.02569 0.02569 0.02569 2.91% StateData::FillBoundary(geom) 328 0.02557 0.02557 0.02557 2.90% MLCellLinOp::correctionResidual() 492 0.02284 0.02284 0.02284 2.59% Castro::initialize_do_advance() 10 0.02204 0.02204 0.02204 2.50% Castro::computeTemp() 63 0.02167 0.02167 0.02167 2.46% amrex::Dot() 1114 0.02107 0.02107 0.02107 2.39% MLMG:computeResOfCorrection() 410 0.02011 0.02011 0.02011 2.28% Castro::normalize_species() 62 0.01999 0.01999 0.01999 2.26% Castro::do_old_sources() 10 0.01863 0.01863 0.01863 2.11% Gravity::get_new_grav_vector() 11 0.01825 0.01825 0.01825 2.07% MLPoisson::define() 11 0.01672 0.01672 0.01672 1.89% MLMG::mgVcycle_down::1 82 0.01638 0.01638 0.01638 1.86% MLMG::mgVcycle_down::2 82 0.01526 0.01526 0.01526 1.73% MLMG::mgVcycle_down::3 82 0.01489 0.01489 0.01489 1.69% Castro::construct_old_gravity() 10 0.01485 0.01485 0.01485 1.68% Gravity::get_old_grav_vector() 10 0.01484 0.01484 0.01484 1.68% MLMG::mgVcycle_down::4 82 0.01471 0.01471 0.01471 1.67% FabArray::ParallelCopy() 861 0.01436 0.01436 0.01436 1.63% FabArray::ParallelCopy_nowait() 861 0.01408 0.01408 0.01408 1.59% Castro::do_new_sources() 10 0.01388 0.01388 0.01388 1.57% FabArray::setVal() 1144 0.01352 0.01352 0.01352 1.53% FabArray::Saxpy() 1370 0.01291 0.01291 0.01291 1.46% MLCGSolver::ParallelAllReduce 1832 0.01277 0.01277 0.01277 1.45% Castro::initialize_advance() 10 0.01255 0.01255 0.01255 1.42% Castro::expand_state() 10 0.0123 0.0123 0.0123 1.39% MLMG::addInterpCorrection() 410 0.01208 0.01208 0.01208 1.37% MLMG::mgVcycle_up::1 82 0.01189 0.01189 0.01189 1.35% MLMG::mgVcycle_up::4 82 0.01181 0.01181 0.01181 1.34% MLMG::mgVcycle_up::2 82 0.01161 0.01161 0.01161 1.32% MLCellLinOp::defineAuxData() 11 0.01151 0.01151 0.01151 1.30% MLMG::mgVcycle_up::3 82 0.01139 0.01139 0.01139 1.29% amrex::average_down 410 0.01128 0.01128 0.01128 1.28% Castro::enforce_min_density() 62 0.01085 0.01085 0.01085 1.23% MLPoisson::Fapply() 1142 0.0108 0.0108 0.0108 1.22% amrex::Copy() 472 0.01072 0.01072 0.01072 1.21% Castro::post_timestep() 10 0.009867 0.009867 0.009867 1.12% Gravity::fill_multipole_BCs() 11 0.00915 0.00915 0.00915 1.04% FabArray::Xpay() 821 0.008326 0.008326 0.008326 0.94% MLCellLinOp::solutionResidual() 93 0.007541 0.007541 0.007541 0.85% Castro::reset_internal_energy(MultiFab) 63 0.006738 0.006738 0.006738 0.76% Castro::estTimeStep() 21 0.006305 0.006305 0.006305 0.71% MLMG::computeResidual() 82 0.006274 0.006274 0.006274 0.71% MLMG::prepareForSolve() 11 0.005058 0.005058 0.005058 0.57% Amr::InitializeInit() 1 0.004972 0.004972 0.004972 0.56% Amr::defBaseLevel() 1 0.004967 0.004967 0.004967 0.56% MLCellLinOp::defineBC() 11 0.004947 0.004947 0.004947 0.56% BndryData::define() 11 0.004672 0.004672 0.004672 0.53% amrex::Add() 164 0.004393 0.004393 0.004393 0.50% Castro::initData() 1 0.004295 0.004295 0.004295 0.49% Castro::construct_new_source() 50 0.003485 0.003485 0.003485 0.39% Castro::construct_new_gravity_source() 10 0.003377 0.003377 0.003377 0.38% Castro::construct_old_source() 50 0.002966 0.002966 0.002966 0.34% Castro::construct_old_gravity_source() 10 0.002947 0.002947 0.002947 0.33% Castro::computeNewDt() 9 0.0028 0.0028 0.0028 0.32% Castro::enforce_speed_limit() 62 0.002565 0.002565 0.002565 0.29% Castro::finalize_do_advance() 10 0.002442 0.002442 0.002442 0.28% MLMG::ResNormInf() 93 0.002143 0.002143 0.002143 0.24% Castro::apply_source_to_state() 20 0.001866 0.001866 0.001866 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001726 0.001726 0.001726 0.20% check_for_negative_density() 10 0.001617 0.001617 0.001617 0.18% Castro::reset_internal_energy(Fab) 504 0.00156 0.00156 0.00156 0.18% MLCellLinOp::setLevelBC() 11 0.001556 0.001556 0.001556 0.18% MLMG::getGradSolution() 11 0.001555 0.001555 0.001555 0.18% MLCellLinOp::compGrad() 11 0.001548 0.001548 0.001548 0.18% FabArrayBase::getCPC() 1323 0.001463 0.001463 0.001463 0.17% FabArray::mult() 43 0.001353 0.001353 0.001353 0.15% MLPoisson::prepareForSolve() 11 0.001332 0.001332 0.001332 0.15% FabArray::setDomainBndry() 41 0.001318 0.001318 0.001318 0.15% MLCellLinOp::prepareForSolve() 11 0.001317 0.001317 0.001317 0.15% MLMG::computeMLResidual() 11 0.001315 0.001315 0.001315 0.15% Castro::check_for_nan() 20 0.001262 0.001262 0.001262 0.14% MultiFab::contains_nan() 20 0.001251 0.001251 0.001251 0.14% Castro::post_regrid() 1 0.001171 0.001171 0.001171 0.13% Castro::computeInitialDt() 2 0.001127 0.001127 0.001127 0.13% Gravity::update_max_rhs() 11 0.0009765 0.0009765 0.0009765 0.11% FabArrayBase::getFB() 4023 0.0007019 0.0007019 0.0007019 0.08% FabArrayBase::CPC::define() 454 0.0006714 0.0006714 0.0006714 0.08% Castro::finalize_advance() 10 0.0006167 0.0006167 0.0006167 0.07% Castro::Castro() 1 0.0005657 0.0005657 0.0005657 0.06% Amr::InitAmr() 1 0.0004935 0.0004935 0.0004935 0.06% Gravity::swapTimeLevels() 10 0.0004356 0.0004356 0.0004356 0.05% MLMG::MLResNormInf() 11 0.0003368 0.0003368 0.0003368 0.04% MultiFab::max() 11 0.0003284 0.0003284 0.0003284 0.04% Castro::buildMetrics() 1 0.0002764 0.0002764 0.0002764 0.03% MLLinOp::define() 11 0.0002403 0.0002403 0.0002403 0.03% MLLinOp::defineGrids() 11 0.0002265 0.0002265 0.0002265 0.03% MLMG::MLRhsNormInf() 11 0.0002204 0.0002204 0.0002204 0.02% Castro::create_source_corrector() 10 0.0001288 0.0001288 0.0001288 0.01% FabArrayBase::FB::FB() 56 9.289e-05 9.289e-05 9.289e-05 0.01% Castro::enforce_consistent_e() 1 6.922e-05 6.922e-05 6.922e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.88e-05 5.88e-05 5.88e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.39e-05 5.39e-05 5.39e-05 0.01% StateData::define() 4 4.715e-05 4.715e-05 4.715e-05 0.01% makeSFC 55 3.995e-05 3.995e-05 3.995e-05 0.00% Castro::swap_state_time_levels() 10 3.881e-05 3.881e-05 3.881e-05 0.00% Amr::writeSmallPlotFile() 1 3.255e-05 3.255e-05 3.255e-05 0.00% Castro::initMFs() 1 2.978e-05 2.978e-05 2.978e-05 0.00% DistributionMapping::Distribute() 56 1.602e-05 1.602e-05 1.602e-05 0.00% Amr::initSubcycle() 1 1.102e-05 1.102e-05 1.102e-05 0.00% AmrLevel::checkPointPost() 3 5.604e-06 5.604e-06 5.604e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.359e-06 4.359e-06 4.359e-06 0.00% Castro::retry_advance_ctu() 10 4.202e-06 4.202e-06 4.202e-06 0.00% Gravity::set_mass_offset() 11 3.777e-06 3.777e-06 3.777e-06 0.00% Castro::FluxRegCrseInit 10 2.984e-06 2.984e-06 2.984e-06 0.00% Castro::FluxRegFineAdd() 10 2.212e-06 2.212e-06 2.212e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.09e-06 2.09e-06 2.09e-06 0.00% AmrLevel::checkPointPre() 3 2.076e-06 2.076e-06 2.076e-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 94 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 1074 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1705 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7619 KiB 14 MiB MLMG::prepareForSolve() 660 660 3754 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 214 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 172 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7516 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2132 B 2048 KiB Gravity::solve_for_phi() 80 80 591 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 104 KiB 2048 KiB BndryData::define() 1056 1056 342 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 218 KiB 671 KiB Castro::estTimeStep() 21 21 3485 B 480 KiB VisMF::Write(FabArray) 656 656 3452 B 320 KiB Castro::normalize_species() 62 62 7373 B 320 KiB amrex::average_down 1067 1067 1266 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1158 B 257 KiB amrex::Dot() 1360 1360 3517 B 160 KiB FabArray::norminf() 1143 1143 4677 B 160 KiB check_for_negative_density() 10 10 293 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 3668 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 296 B 9648 B MLCellLinOp::applyBC() 8866 8866 223 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3964 B 6144 B StateData::FillBoundary(geom) 1992 1992 48 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 492 492 118 B 1280 B MLCellLinOp::defineBC() 66 66 386 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 571 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 42 KiB 8192 KiB VisMF::Write(FabArray) 744 744 408 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3668 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 296 B 9648 B MLCellLinOp::applyBC() 4433 4433 222 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3964 B 6144 B Gravity::get_new_grav_vector() 3 3 2886 B 3072 B StateData::FillBoundary(geom) 1992 1992 48 B 3024 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 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 312 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 29 B 400 B FabArray::norminf() 1143 1143 11 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-14-gf9e9fafd3278) finalized Initializing AMReX (23.12-14-gf9e9fafd3278)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.12-14-gf9e9fafd3278) initialized Starting run at 22:16:55 UTC on 2023-12-12. Successfully read inputs file ... Castro git describe: 23.12-10-gd8597cd56 AMReX git describe: 23.12-14-gf9e9fafd3 Microphysics git describe: 23.12-1-gbdf6a18e reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.484291452 Restart time = 0.072424748 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.067586406 [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.047117563 [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.06996429 [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.071974394 [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.078637716 [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.069056413 seconds Ending run at 22:16:56 UTC on 2023-12-12. Run time = 0.477804618 Run time without initialization = 0.404795593 Average number of zones advanced per microsecond: 3.238 Average number of zones advanced per microsecond per rank: 3.238 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4778 ... 0.4778 ... 0.4778 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1361 0.1361 0.1361 28.49% VisMF::Read() 3 0.06092 0.06092 0.06092 12.75% Amr::writePlotFile() 1 0.04374 0.04374 0.04374 9.15% MLCellLinOp::applyBC() 1946 0.03496 0.03496 0.03496 7.32% VisMF::Write(FabArray) 1 0.02516 0.02516 0.02516 5.27% FabArray::norminf() 465 0.01561 0.01561 0.01561 3.27% MLPoisson::Fsmooth() 1440 0.01436 0.01436 0.01436 3.01% FillBoundary_nowait() 1766 0.01275 0.01275 0.01275 2.67% StateData::FillBoundary(geom) 160 0.01227 0.01227 0.01227 2.57% Castro::normalize_species() 30 0.009802 0.009802 0.009802 2.05% amrex::Dot() 484 0.008991 0.008991 0.008991 1.88% Castro::computeTemp() 30 0.007127 0.007127 0.007127 1.49% Castro::enforce_min_density() 30 0.006753 0.006753 0.006753 1.41% FabArray::setVal() 537 0.006514 0.006514 0.006514 1.36% FabArray::ParallelCopy_nowait() 380 0.005989 0.005989 0.005989 1.25% FabArray::Saxpy() 597 0.005686 0.005686 0.005686 1.19% Gravity::fill_multipole_BCs() 6 0.005537 0.005537 0.005537 1.16% MLCellLinOp::defineAuxData() 6 0.005409 0.005409 0.005409 1.13% amrex::Copy() 221 0.005321 0.005321 0.005321 1.11% StateDataPhysBCFunct::() 20 0.005204 0.005204 0.005204 1.09% Amr::restart() 1 0.00481 0.00481 0.00481 1.01% MLPoisson::Fapply() 500 0.004633 0.004633 0.004633 0.97% FabArray::Xpay() 361 0.003668 0.003668 0.003668 0.77% Castro::estTimeStep() 10 0.00354 0.00354 0.00354 0.74% MLMG::addInterpCorrection() 180 0.003091 0.003091 0.003091 0.65% amrex::average_down 180 0.002674 0.002674 0.002674 0.56% Castro::reset_internal_energy(MultiFab) 30 0.00208 0.00208 0.00208 0.44% BndryData::define() 6 0.001988 0.001988 0.001988 0.42% amrex::Add() 72 0.001887 0.001887 0.001887 0.39% Castro::enforce_speed_limit() 30 0.001829 0.001829 0.001829 0.38% Castro::construct_new_gravity_source() 5 0.001772 0.001772 0.001772 0.37% Castro::construct_old_gravity_source() 5 0.00149 0.00149 0.00149 0.31% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009275 0.0009275 0.0009275 0.19% Gravity::actual_solve_with_mlmg() 6 0.0008925 0.0008925 0.0008925 0.19% check_for_negative_density() 5 0.0008574 0.0008574 0.0008574 0.18% MLCellLinOp::setLevelBC() 6 0.0008463 0.0008463 0.0008463 0.18% MLCGSolver::bicgstab 36 0.0008351 0.0008351 0.0008351 0.17% MLCellLinOp::prepareForSolve() 6 0.0007429 0.0007429 0.0007429 0.16% Castro::reset_internal_energy(Fab) 240 0.00072 0.00072 0.00072 0.15% FabArray::mult() 22 0.0006725 0.0006725 0.0006725 0.14% FabArray::setDomainBndry() 20 0.0006674 0.0006674 0.0006674 0.14% MultiFab::contains_nan() 10 0.0006442 0.0006442 0.0006442 0.13% MLCellLinOp::compGrad() 6 0.0005991 0.0005991 0.0005991 0.13% MLCellLinOp::smooth() 720 0.000573 0.000573 0.000573 0.12% MLMG::prepareForSolve() 6 0.0005494 0.0005494 0.0005494 0.11% FabArrayBase::CPC::define() 244 0.0004228 0.0004228 0.0004228 0.09% Amr::InitAmr() 1 0.0004143 0.0004143 0.0004143 0.09% FabArray::FillBoundary() 1766 0.0003912 0.0003912 0.0003912 0.08% FabArrayBase::getCPC() 632 0.0003727 0.0003727 0.0003727 0.08% Gravity::get_old_grav_vector() 5 0.0003294 0.0003294 0.0003294 0.07% main() 1 0.000282 0.000282 0.000282 0.06% Gravity::get_new_grav_vector() 5 0.0002654 0.0002654 0.0002654 0.06% FabArrayBase::getFB() 1766 0.0002591 0.0002591 0.0002591 0.05% MLCellLinOp::apply() 500 0.0002158 0.0002158 0.0002158 0.05% MultiFab::max() 6 0.0002011 0.0002011 0.0002011 0.04% AmrLevel::FillPatch() 20 0.0001956 0.0001956 0.0001956 0.04% Amr::coarseTimeStep() 5 0.0001732 0.0001732 0.0001732 0.04% MLCGSolver::ParallelAllReduce 798 0.0001651 0.0001651 0.0001651 0.03% MLCellLinOp::defineBC() 6 0.0001475 0.0001475 0.0001475 0.03% Castro::subcycle_advance_ctu() 5 0.0001389 0.0001389 0.0001389 0.03% Castro::advance() 5 0.0001226 0.0001226 0.0001226 0.03% FabArray::ParallelCopy() 380 0.0001151 0.0001151 0.0001151 0.02% MLLinOp::defineGrids() 6 0.000107 0.000107 0.000107 0.02% FillPatchIterator::Initialize 20 0.0001041 0.0001041 0.0001041 0.02% Castro::do_advance_ctu() 5 0.0001011 0.0001011 0.0001011 0.02% MLCellLinOp::correctionResidual() 216 9.705e-05 9.705e-05 9.705e-05 0.02% Castro::initialize_do_advance() 5 9.662e-05 9.662e-05 9.662e-05 0.02% Amr::timeStep() 5 9.32e-05 9.32e-05 9.32e-05 0.02% MLMG::mgVcycle() 36 8.264e-05 8.264e-05 8.264e-05 0.02% AmrLevel::restart() 1 8.23e-05 8.23e-05 8.23e-05 0.02% Castro::initialize_advance() 5 7.727e-05 7.727e-05 7.727e-05 0.02% Castro::create_source_corrector() 5 7.666e-05 7.666e-05 7.666e-05 0.02% Castro::finalize_do_advance() 5 7.35e-05 7.35e-05 7.35e-05 0.02% StateData::restartDoit() 4 6.72e-05 6.72e-05 6.72e-05 0.01% Gravity::update_max_rhs() 6 6.334e-05 6.334e-05 6.334e-05 0.01% FabArrayBase::FB::FB() 26 6.059e-05 6.059e-05 6.059e-05 0.01% Gravity::solve_for_phi() 5 5.543e-05 5.543e-05 5.543e-05 0.01% MLMG:computeResOfCorrection() 180 5.282e-05 5.282e-05 5.282e-05 0.01% Castro::construct_old_source() 25 4.796e-05 4.796e-05 4.796e-05 0.01% MLMG::actualBottomSolve() 36 4.436e-05 4.436e-05 4.436e-05 0.01% MLMG::mgVcycle_down::0 36 4.132e-05 4.132e-05 4.132e-05 0.01% MLMG::mgVcycle_down::1 36 3.864e-05 3.864e-05 3.864e-05 0.01% MLMG::mgVcycle_up::4 36 3.652e-05 3.652e-05 3.652e-05 0.01% MLMG::mgVcycle_down::2 36 3.609e-05 3.609e-05 3.609e-05 0.01% MLMG::solve() 6 3.541e-05 3.541e-05 3.541e-05 0.01% Castro::finalize_advance() 5 3.473e-05 3.473e-05 3.473e-05 0.01% MLMG::mgVcycle_down::4 36 3.458e-05 3.458e-05 3.458e-05 0.01% Castro::do_new_sources() 5 3.454e-05 3.454e-05 3.454e-05 0.01% Amr::writeSmallPlotFile() 1 3.409e-05 3.409e-05 3.409e-05 0.01% MLMG::mgVcycle_down::3 36 3.362e-05 3.362e-05 3.362e-05 0.01% Castro::clean_state() 30 3.208e-05 3.208e-05 3.208e-05 0.01% Castro::post_restart() 1 2.835e-05 2.835e-05 2.835e-05 0.01% Castro::buildMetrics() 1 2.784e-05 2.784e-05 2.784e-05 0.01% Castro::computeNewDt() 5 2.746e-05 2.746e-05 2.746e-05 0.01% MLMG::mgVcycle_up::3 36 2.568e-05 2.568e-05 2.568e-05 0.01% Castro::construct_new_source() 25 2.565e-05 2.565e-05 2.565e-05 0.01% MLMG::oneIter() 36 2.433e-05 2.433e-05 2.433e-05 0.01% MLCellLinOp::solutionResidual() 42 2.417e-05 2.417e-05 2.417e-05 0.01% Castro::swap_state_time_levels() 5 2.416e-05 2.416e-05 2.416e-05 0.01% Castro::initMFs() 1 2.374e-05 2.374e-05 2.374e-05 0.00% MLMG::mgVcycle_up::2 36 2.312e-05 2.312e-05 2.312e-05 0.00% MLMG::mgVcycle_up::0 36 2.286e-05 2.286e-05 2.286e-05 0.00% MLMG::mgVcycle_up::1 36 2.223e-05 2.223e-05 2.223e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.142e-05 2.142e-05 2.142e-05 0.00% MLPoisson::define() 6 2.124e-05 2.124e-05 2.124e-05 0.00% MLMG::mgVcycle_bottom 36 1.982e-05 1.982e-05 1.982e-05 0.00% MLMG::ResNormInf() 42 1.878e-05 1.878e-05 1.878e-05 0.00% Castro::construct_new_gravity() 5 1.655e-05 1.655e-05 1.655e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.633e-05 1.633e-05 1.633e-05 0.00% MLMG::computeResidual() 36 1.526e-05 1.526e-05 1.526e-05 0.00% makeSFC 30 1.429e-05 1.429e-05 1.429e-05 0.00% FillPatchSingleLevel 20 1.399e-05 1.399e-05 1.399e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.381e-05 1.381e-05 1.381e-05 0.00% Castro::do_old_sources() 5 1.118e-05 1.118e-05 1.118e-05 0.00% MLPoisson::prepareForSolve() 6 1.028e-05 1.028e-05 1.028e-05 0.00% MLMG::computeMLResidual() 6 9.618e-06 9.618e-06 9.618e-06 0.00% DistributionMapping::Distribute() 31 9.496e-06 9.496e-06 9.496e-06 0.00% Gravity::actual_multilevel_solve() 1 8.319e-06 8.319e-06 8.319e-06 0.00% Amr::initSubcycle() 1 8.211e-06 8.211e-06 8.211e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.248e-06 7.248e-06 7.248e-06 0.00% Castro::construct_old_gravity() 5 6.475e-06 6.475e-06 6.475e-06 0.00% MLLinOp::define() 6 6.33e-06 6.33e-06 6.33e-06 0.00% Castro::apply_source_to_state() 10 6.089e-06 6.089e-06 6.089e-06 0.00% Castro::check_for_nan() 10 5.604e-06 5.604e-06 5.604e-06 0.00% Castro::post_timestep() 5 4.961e-06 4.961e-06 4.961e-06 0.00% Gravity::swapTimeLevels() 5 4.092e-06 4.092e-06 4.092e-06 0.00% MLMG::getGradSolution() 6 3.594e-06 3.594e-06 3.594e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.49e-06 3.49e-06 3.49e-06 0.00% Castro::expand_state() 5 2.813e-06 2.813e-06 2.813e-06 0.00% MLMG::MLResNormInf() 6 2.491e-06 2.491e-06 2.491e-06 0.00% MLMG::MLRhsNormInf() 6 2.289e-06 2.289e-06 2.289e-06 0.00% Castro::retry_advance_ctu() 5 2.251e-06 2.251e-06 2.251e-06 0.00% Gravity::set_mass_offset() 6 1.899e-06 1.899e-06 1.899e-06 0.00% Castro::FluxRegCrseInit 5 1.442e-06 1.442e-06 1.442e-06 0.00% Castro::FluxRegFineAdd() 5 1.183e-06 1.183e-06 1.183e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.131e-06 1.131e-06 1.131e-06 0.00% Amr::init() 1 1.073e-06 1.073e-06 1.073e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4778 0.4778 0.4778 100.00% Amr::coarseTimeStep() 5 0.3354 0.3354 0.3354 70.20% Amr::timeStep() 5 0.3329 0.3329 0.3329 69.66% Castro::advance() 5 0.3271 0.3271 0.3271 68.46% Castro::subcycle_advance_ctu() 5 0.3192 0.3192 0.3192 66.79% Castro::do_advance_ctu() 5 0.319 0.319 0.319 66.76% Castro::construct_ctu_hydro_source() 5 0.141 0.141 0.141 29.51% Castro::construct_new_gravity() 5 0.1409 0.1409 0.1409 29.48% Gravity::solve_phi_with_mlmg() 6 0.1386 0.1386 0.1386 29.02% Gravity::solve_for_phi() 5 0.133 0.133 0.133 27.84% Gravity::actual_solve_with_mlmg() 6 0.1329 0.1329 0.1329 27.81% MLMG::solve() 6 0.1212 0.1212 0.1212 25.37% MLMG::oneIter() 36 0.1138 0.1138 0.1138 23.81% MLMG::mgVcycle() 36 0.1123 0.1123 0.1123 23.49% Amr::init() 1 0.07247 0.07247 0.07247 15.17% Amr::restart() 1 0.07247 0.07247 0.07247 15.17% Amr::writePlotFile() 1 0.06916 0.06916 0.06916 14.47% AmrLevel::restart() 1 0.06129 0.06129 0.06129 12.83% StateData::restartDoit() 4 0.0612 0.0612 0.0612 12.81% VisMF::Read() 3 0.06092 0.06092 0.06092 12.75% MLCellLinOp::smooth() 720 0.05146 0.05146 0.05146 10.77% MLCellLinOp::applyBC() 1946 0.04842 0.04842 0.04842 10.13% MLMG::mgVcycle_bottom 36 0.03986 0.03986 0.03986 8.34% MLMG::actualBottomSolve() 36 0.03984 0.03984 0.03984 8.34% MLCGSolver::bicgstab 36 0.03953 0.03953 0.03953 8.27% Castro::clean_state() 30 0.02834 0.02834 0.02834 5.93% VisMF::Write(FabArray) 1 0.02516 0.02516 0.02516 5.27% AmrLevel::FillPatch() 20 0.02239 0.02239 0.02239 4.69% FillPatchIterator::Initialize 20 0.0203 0.0203 0.0203 4.25% FillPatchIterator::FillFromLevel0() 20 0.01953 0.01953 0.01953 4.09% FillPatchSingleLevel 20 0.01951 0.01951 0.01951 4.08% StateDataPhysBCFunct::() 20 0.01748 0.01748 0.01748 3.66% MLCellLinOp::apply() 500 0.01647 0.01647 0.01647 3.45% FabArray::norminf() 465 0.01561 0.01561 0.01561 3.27% MLMG::mgVcycle_down::0 36 0.01464 0.01464 0.01464 3.06% MLPoisson::Fsmooth() 1440 0.01436 0.01436 0.01436 3.01% FabArray::FillBoundary() 1766 0.01346 0.01346 0.01346 2.82% FillBoundary_nowait() 1766 0.01307 0.01307 0.01307 2.73% StateData::FillBoundary(geom) 160 0.01227 0.01227 0.01227 2.57% Castro::initialize_do_advance() 5 0.01149 0.01149 0.01149 2.40% MLMG::mgVcycle_up::0 36 0.01098 0.01098 0.01098 2.30% Castro::computeTemp() 30 0.009927 0.009927 0.009927 2.08% Castro::do_old_sources() 5 0.009866 0.009866 0.009866 2.06% MLCellLinOp::correctionResidual() 216 0.009865 0.009865 0.009865 2.06% Castro::normalize_species() 30 0.009802 0.009802 0.009802 2.05% MLPoisson::define() 6 0.009035 0.009035 0.009035 1.89% amrex::Dot() 484 0.008991 0.008991 0.008991 1.88% MLMG:computeResOfCorrection() 180 0.008672 0.008672 0.008672 1.81% Gravity::get_new_grav_vector() 5 0.007729 0.007729 0.007729 1.62% Castro::initialize_advance() 5 0.007536 0.007536 0.007536 1.58% Castro::construct_old_gravity() 5 0.007351 0.007351 0.007351 1.54% Gravity::get_old_grav_vector() 5 0.007345 0.007345 0.007345 1.54% MLMG::mgVcycle_down::1 36 0.007185 0.007185 0.007185 1.50% Castro::enforce_min_density() 30 0.006753 0.006753 0.006753 1.41% Castro::do_new_sources() 5 0.006605 0.006605 0.006605 1.38% MLMG::mgVcycle_down::2 36 0.006555 0.006555 0.006555 1.37% FabArray::setVal() 537 0.006514 0.006514 0.006514 1.36% FabArray::ParallelCopy() 380 0.006501 0.006501 0.006501 1.36% MLMG::mgVcycle_down::3 36 0.006411 0.006411 0.006411 1.34% FabArray::ParallelCopy_nowait() 380 0.006386 0.006386 0.006386 1.34% MLMG::mgVcycle_down::4 36 0.006336 0.006336 0.006336 1.33% Castro::post_restart() 1 0.006206 0.006206 0.006206 1.30% MLCellLinOp::defineAuxData() 6 0.006165 0.006165 0.006165 1.29% Castro::expand_state() 5 0.005903 0.005903 0.005903 1.24% Gravity::multilevel_solve_for_new_phi() 1 0.005841 0.005841 0.005841 1.22% Gravity::actual_multilevel_solve() 1 0.005825 0.005825 0.005825 1.22% FabArray::Saxpy() 597 0.005686 0.005686 0.005686 1.19% Gravity::fill_multipole_BCs() 6 0.00566 0.00566 0.00566 1.18% Castro::post_timestep() 5 0.005647 0.005647 0.005647 1.18% MLCGSolver::ParallelAllReduce 798 0.005482 0.005482 0.005482 1.15% amrex::Copy() 221 0.005321 0.005321 0.005321 1.11% MLMG::addInterpCorrection() 180 0.005317 0.005317 0.005317 1.11% MLMG::mgVcycle_up::4 36 0.00517 0.00517 0.00517 1.08% MLMG::mgVcycle_up::1 36 0.005112 0.005112 0.005112 1.07% MLMG::mgVcycle_up::2 36 0.005001 0.005001 0.005001 1.05% amrex::average_down 180 0.004929 0.004929 0.004929 1.03% MLMG::mgVcycle_up::3 36 0.00491 0.00491 0.00491 1.03% MLPoisson::Fapply() 500 0.004633 0.004633 0.004633 0.97% FabArray::Xpay() 361 0.003668 0.003668 0.003668 0.77% Castro::estTimeStep() 10 0.00354 0.00354 0.00354 0.74% MLCellLinOp::solutionResidual() 42 0.003501 0.003501 0.003501 0.73% Castro::reset_internal_energy(MultiFab) 30 0.0028 0.0028 0.0028 0.59% MLMG::prepareForSolve() 6 0.002786 0.002786 0.002786 0.58% MLMG::computeResidual() 36 0.002739 0.002739 0.002739 0.57% MLCellLinOp::defineBC() 6 0.002705 0.002705 0.002705 0.57% BndryData::define() 6 0.002557 0.002557 0.002557 0.54% Castro::computeNewDt() 5 0.002405 0.002405 0.002405 0.50% amrex::Add() 72 0.001887 0.001887 0.001887 0.39% Castro::enforce_speed_limit() 30 0.001829 0.001829 0.001829 0.38% Castro::construct_new_source() 25 0.001798 0.001798 0.001798 0.38% Castro::construct_new_gravity_source() 5 0.001772 0.001772 0.001772 0.37% Castro::construct_old_source() 25 0.001538 0.001538 0.001538 0.32% Castro::construct_old_gravity_source() 5 0.00149 0.00149 0.00149 0.31% Castro::finalize_do_advance() 5 0.001236 0.001236 0.001236 0.26% Castro::apply_source_to_state() 10 0.0009591 0.0009591 0.0009591 0.20% MLMG::ResNormInf() 42 0.0009573 0.0009573 0.0009573 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009275 0.0009275 0.0009275 0.19% MLMG::getGradSolution() 6 0.0008814 0.0008814 0.0008814 0.18% MLCellLinOp::compGrad() 6 0.0008778 0.0008778 0.0008778 0.18% check_for_negative_density() 5 0.0008574 0.0008574 0.0008574 0.18% MLCellLinOp::setLevelBC() 6 0.0008463 0.0008463 0.0008463 0.18% FabArrayBase::getCPC() 632 0.0007954 0.0007954 0.0007954 0.17% MLMG::computeMLResidual() 6 0.0007867 0.0007867 0.0007867 0.16% MLPoisson::prepareForSolve() 6 0.0007532 0.0007532 0.0007532 0.16% MLCellLinOp::prepareForSolve() 6 0.0007429 0.0007429 0.0007429 0.16% Castro::reset_internal_energy(Fab) 240 0.00072 0.00072 0.00072 0.15% Gravity::update_max_rhs() 6 0.0006963 0.0006963 0.0006963 0.15% FabArray::mult() 22 0.0006725 0.0006725 0.0006725 0.14% FabArray::setDomainBndry() 20 0.0006674 0.0006674 0.0006674 0.14% Castro::check_for_nan() 10 0.0006498 0.0006498 0.0006498 0.14% MultiFab::contains_nan() 10 0.0006442 0.0006442 0.0006442 0.13% FabArrayBase::CPC::define() 244 0.0004228 0.0004228 0.0004228 0.09% Amr::InitAmr() 1 0.0004226 0.0004226 0.0004226 0.09% FabArrayBase::getFB() 1766 0.0003197 0.0003197 0.0003197 0.07% Castro::finalize_advance() 5 0.0003003 0.0003003 0.0003003 0.06% Gravity::swapTimeLevels() 5 0.0002256 0.0002256 0.0002256 0.05% MultiFab::max() 6 0.0002011 0.0002011 0.0002011 0.04% MLMG::MLResNormInf() 6 0.000186 0.000186 0.000186 0.04% Castro::buildMetrics() 1 0.0001444 0.0001444 0.0001444 0.03% MLLinOp::define() 6 0.0001439 0.0001439 0.0001439 0.03% MLLinOp::defineGrids() 6 0.0001375 0.0001375 0.0001375 0.03% MLMG::MLRhsNormInf() 6 0.0001162 0.0001162 0.0001162 0.02% Castro::create_source_corrector() 5 7.666e-05 7.666e-05 7.666e-05 0.02% FabArrayBase::FB::FB() 26 6.059e-05 6.059e-05 6.059e-05 0.01% Amr::writeSmallPlotFile() 1 3.409e-05 3.409e-05 3.409e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.945e-05 2.945e-05 2.945e-05 0.01% Castro::swap_state_time_levels() 5 2.416e-05 2.416e-05 2.416e-05 0.01% Castro::initMFs() 1 2.374e-05 2.374e-05 2.374e-05 0.00% makeSFC 30 2.22e-05 2.22e-05 2.22e-05 0.00% DistributionMapping::Distribute() 31 9.496e-06 9.496e-06 9.496e-06 0.00% Amr::initSubcycle() 1 8.211e-06 8.211e-06 8.211e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.08e-06 5.08e-06 5.08e-06 0.00% Castro::retry_advance_ctu() 5 2.251e-06 2.251e-06 2.251e-06 0.00% Gravity::set_mass_offset() 6 1.899e-06 1.899e-06 1.899e-06 0.00% Castro::FluxRegCrseInit 5 1.442e-06 1.442e-06 1.442e-06 0.00% Castro::FluxRegFineAdd() 5 1.183e-06 1.183e-06 1.183e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.131e-06 1.131e-06 1.131e-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 173 MiB 9042 MiB Castro::initMFs() 48 48 58 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 938 KiB 39 MiB Castro::initialize_do_advance() 40 40 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1555 KiB 28 MiB Castro::initialize_advance() 40 40 16 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6520 KiB 14 MiB MLMG::prepareForSolve() 361 361 3115 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 159 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 165 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6508 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2894 B 2048 KiB Gravity::solve_for_phi() 40 40 569 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 24 KiB 2048 KiB BndryData::define() 576 576 286 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 183 KiB 671 KiB Castro::estTimeStep() 10 10 3530 B 480 KiB VisMF::Write(FabArray) 112 112 2094 B 320 KiB Castro::normalize_species() 30 30 6681 B 320 KiB amrex::average_down 469 469 1031 B 257 KiB MLMG::addInterpCorrection() 468 468 951 B 257 KiB amrex::Dot() 592 592 2775 B 160 KiB FabArray::norminf() 501 501 5180 B 160 KiB check_for_negative_density() 5 5 287 B 160 KiB MultiFab::max() 6 6 65 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 26 B 20 KiB MLPoisson::Fsmooth() 60 60 3026 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 40 B 10 KiB FillBoundary_nowait() 336 336 231 B 9648 B MLCellLinOp::applyBC() 3892 3892 180 B 9344 B amrex::Copy() 56 56 5567 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 38 B 2976 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 216 216 105 B 1280 B MLCellLinOp::defineBC() 36 36 322 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1043 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 77 KiB 8192 KiB VisMF::Write(FabArray) 120 120 137 KiB 3584 KiB VisMF::Read() 24 24 191 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3026 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 40 B 10 KiB FillBoundary_nowait() 336 336 231 B 9648 B MLCellLinOp::applyBC() 1946 1946 179 B 9328 B amrex::Copy() 56 56 5567 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2565 B 3072 B StateData::FillBoundary(geom) 960 960 38 B 2976 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 490 B 1296 B amrex::average_down 37 37 209 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 24 B 400 B FabArray::norminf() 501 501 10 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-14-gf9e9fafd3278) finalized