Initializing AMReX (24.01-27-g30738c689207)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-27-g30738c689207) initialized Starting run at 09:20:49 UTC on 2024-01-25. Successfully read inputs file ... Castro git describe: 24.01-17-g29c5f4d16 AMReX git describe: 24.01-27-g30738c689 Microphysics git describe: 24.01-9-ga4d7ab4d 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.043848418 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024132115 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.069666232 [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.074594392 [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.075840162 [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.060508851 [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.056908814 [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.04366264 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.068691501 [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.077529252 [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.063660747 [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.061294263 [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.060163153 [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.0420884 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.024048716 seconds Ending run at 09:20:50 UTC on 2024-01-25. Run time = 0.901335836 Run time without initialization = 0.779337295 Average number of zones advanced per microsecond: 3.364 Average number of zones advanced per microsecond per rank: 3.364 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9014 ... 0.9014 ... 0.9014 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.3020 0.3020 0.3020 33.51% VisMF::Write(FabArray) 11 0.1693 0.1693 0.1693 18.78% MLCellLinOp::applyBC() 4351 0.07848 0.07848 0.07848 8.71% MLPoisson::Fsmooth() 3280 0.03316 0.03316 0.03316 3.68% FillBoundary_nowait() 3941 0.03042 0.03042 0.03042 3.37% StateData::FillBoundary(geom) 328 0.02405 0.02405 0.02405 2.67% amrex::Dot() 1114 0.02086 0.02086 0.02086 2.31% Castro::normalize_species() 62 0.02004 0.02004 0.02004 2.22% FabArray::norminf() 1061 0.01944 0.01944 0.01944 2.16% Castro::computeTemp() 63 0.01509 0.01509 0.01509 1.67% FabArray::ParallelCopy_nowait() 861 0.0131 0.0131 0.0131 1.45% FabArray::setVal() 1062 0.01288 0.01288 0.01288 1.43% FabArray::Saxpy() 1370 0.01285 0.01285 0.01285 1.43% Castro::enforce_min_density() 62 0.01144 0.01144 0.01144 1.27% amrex::Copy() 472 0.01062 0.01062 0.01062 1.18% StateDataPhysBCFunct::() 41 0.0106 0.0106 0.0106 1.18% MLCellLinOp::defineAuxData() 11 0.01013 0.01013 0.01013 1.12% MLPoisson::Fapply() 1060 0.009984 0.009984 0.009984 1.11% Gravity::fill_multipole_BCs() 11 0.008628 0.008628 0.008628 0.96% FabArray::Xpay() 739 0.007642 0.007642 0.007642 0.85% MLMG::addInterpCorrection() 410 0.006875 0.006875 0.006875 0.76% Castro::reset_internal_energy(MultiFab) 63 0.006303 0.006303 0.006303 0.70% amrex::average_down 410 0.006117 0.006117 0.006117 0.68% Castro::estTimeStep() 21 0.006002 0.006002 0.006002 0.67% Amr::checkPoint() 3 0.005885 0.005885 0.005885 0.65% BndryData::define() 11 0.003698 0.003698 0.003698 0.41% amrex::Add() 82 0.003592 0.003592 0.003592 0.40% Castro::construct_new_gravity_source() 10 0.003475 0.003475 0.003475 0.39% Castro::construct_old_gravity_source() 10 0.003017 0.003017 0.003017 0.33% Amr::writePlotFile() 2 0.002101 0.002101 0.002101 0.23% Castro::enforce_speed_limit() 62 0.00181 0.00181 0.00181 0.20% MLCGSolver::bicgstab 82 0.001728 0.001728 0.001728 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001705 0.001705 0.001705 0.19% check_for_negative_density() 10 0.001705 0.001705 0.001705 0.19% Gravity::actual_solve_with_mlmg() 11 0.001589 0.001589 0.001589 0.18% MLCellLinOp::setLevelBC() 11 0.001567 0.001567 0.001567 0.17% Castro::initData() 1 0.001497 0.001497 0.001497 0.17% Castro::reset_internal_energy(Fab) 504 0.001489 0.001489 0.001489 0.17% FabArray::mult() 43 0.001361 0.001361 0.001361 0.15% FabArray::setDomainBndry() 41 0.001325 0.001325 0.001325 0.15% MLCellLinOp::prepareForSolve() 11 0.001315 0.001315 0.001315 0.15% MultiFab::contains_nan() 20 0.001263 0.001263 0.001263 0.14% MLCellLinOp::smooth() 1640 0.001217 0.001217 0.001217 0.13% MLCellLinOp::compGrad() 11 0.001053 0.001053 0.001053 0.12% MLMG::prepareForSolve() 11 0.0009913 0.0009913 0.0009913 0.11% FabArray::FillBoundary() 3941 0.0009036 0.0009036 0.0009036 0.10% FabArrayBase::getCPC() 1323 0.0008071 0.0008071 0.0008071 0.09% FabArrayBase::CPC::define() 454 0.0006796 0.0006796 0.0006796 0.08% FabArrayBase::getFB() 3941 0.0006492 0.0006492 0.0006492 0.07% Amr::InitAmr() 1 0.0005981 0.0005981 0.0005981 0.07% Gravity::get_new_grav_vector() 11 0.0005926 0.0005926 0.0005926 0.07% Gravity::get_old_grav_vector() 10 0.0004729 0.0004729 0.0004729 0.05% MLCellLinOp::apply() 1060 0.0004326 0.0004326 0.0004326 0.05% AmrLevel::FillPatch() 41 0.0003915 0.0003915 0.0003915 0.04% Amr::coarseTimeStep() 10 0.0003524 0.0003524 0.0003524 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003519 0.0003519 0.0003519 0.04% MultiFab::max() 11 0.0003299 0.0003299 0.0003299 0.04% main() 1 0.0003106 0.0003106 0.0003106 0.03% MLCellLinOp::defineBC() 11 0.0002844 0.0002844 0.0002844 0.03% FabArray::ParallelCopy() 861 0.0002421 0.0002421 0.0002421 0.03% MLMG::mgVcycle() 82 0.0002241 0.0002241 0.0002241 0.02% FillPatchIterator::Initialize 41 0.00021 0.00021 0.00021 0.02% MLCellLinOp::correctionResidual() 410 0.0001795 0.0001795 0.0001795 0.02% Castro::subcycle_advance_ctu() 10 0.0001748 0.0001748 0.0001748 0.02% Castro::create_source_corrector() 10 0.0001734 0.0001734 0.0001734 0.02% Amr::timeStep() 10 0.0001633 0.0001633 0.0001633 0.02% MLLinOp::defineGrids() 11 0.0001593 0.0001593 0.0001593 0.02% StateData::checkPoint() 12 0.0001426 0.0001426 0.0001426 0.02% Gravity::update_max_rhs() 11 0.0001331 0.0001331 0.0001331 0.01% Gravity::solve_for_phi() 10 0.0001175 0.0001175 0.0001175 0.01% MLMG:computeResOfCorrection() 410 0.0001108 0.0001108 0.0001108 0.01% FabArrayBase::FB::FB() 56 9.98e-05 9.98e-05 9.98e-05 0.01% MLMG::mgVcycle_down::0 82 9.686e-05 9.686e-05 9.686e-05 0.01% Castro::Castro() 1 9.194e-05 9.194e-05 9.194e-05 0.01% Castro::advance() 10 9.108e-05 9.108e-05 9.108e-05 0.01% MLMG::actualBottomSolve() 82 8.836e-05 8.836e-05 8.836e-05 0.01% MLMG::mgVcycle_down::4 82 8.273e-05 8.273e-05 8.273e-05 0.01% MLMG::mgVcycle_down::1 82 8.198e-05 8.198e-05 8.198e-05 0.01% MLMG::mgVcycle_down::2 82 8.032e-05 8.032e-05 8.032e-05 0.01% Castro::clean_state() 62 7.967e-05 7.967e-05 7.967e-05 0.01% Castro::initialize_advance() 10 7.901e-05 7.901e-05 7.901e-05 0.01% MLMG::mgVcycle_down::3 82 7.552e-05 7.552e-05 7.552e-05 0.01% AmrLevel::checkPoint() 3 7.548e-05 7.548e-05 7.548e-05 0.01% MLMG::solve() 11 7.39e-05 7.39e-05 7.39e-05 0.01% Castro::construct_new_source() 50 7.264e-05 7.264e-05 7.264e-05 0.01% Castro::enforce_consistent_e() 1 6.89e-05 6.89e-05 6.89e-05 0.01% Castro::initialize_do_advance() 10 6.216e-05 6.216e-05 6.216e-05 0.01% Castro::finalize_advance() 10 6.125e-05 6.125e-05 6.125e-05 0.01% MLMG::mgVcycle_up::4 82 5.845e-05 5.845e-05 5.845e-05 0.01% MLMG::oneIter() 82 5.55e-05 5.55e-05 5.55e-05 0.01% MLCellLinOp::solutionResidual() 93 5.37e-05 5.37e-05 5.37e-05 0.01% MLMG::mgVcycle_up::0 82 5.167e-05 5.167e-05 5.167e-05 0.01% MLMG::mgVcycle_up::3 82 5.098e-05 5.098e-05 5.098e-05 0.01% Castro::finalize_do_advance() 10 5.038e-05 5.038e-05 5.038e-05 0.01% Castro::do_advance_ctu() 10 5.018e-05 5.018e-05 5.018e-05 0.01% MLMG::mgVcycle_up::1 82 4.799e-05 4.799e-05 4.799e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.786e-05 4.786e-05 4.786e-05 0.01% MLMG::mgVcycle_up::2 82 4.659e-05 4.659e-05 4.659e-05 0.01% Castro::do_new_sources() 10 4.635e-05 4.635e-05 4.635e-05 0.01% MLMG::ResNormInf() 93 4.086e-05 4.086e-05 4.086e-05 0.00% StateData::define() 4 4.024e-05 4.024e-05 4.024e-05 0.00% MLMG::computeResidual() 82 3.909e-05 3.909e-05 3.909e-05 0.00% FillPatchSingleLevel 41 3.772e-05 3.772e-05 3.772e-05 0.00% Castro::post_timestep() 10 3.711e-05 3.711e-05 3.711e-05 0.00% Castro::swap_state_time_levels() 10 3.565e-05 3.565e-05 3.565e-05 0.00% Amr::writeSmallPlotFile() 1 3.384e-05 3.384e-05 3.384e-05 0.00% MLMG::mgVcycle_bottom 82 3.342e-05 3.342e-05 3.342e-05 0.00% Castro::construct_new_gravity() 10 3.085e-05 3.085e-05 3.085e-05 0.00% Castro::initMFs() 1 2.896e-05 2.896e-05 2.896e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.601e-05 2.601e-05 2.601e-05 0.00% Castro::buildMetrics() 1 2.581e-05 2.581e-05 2.581e-05 0.00% makeSFC 55 2.46e-05 2.46e-05 2.46e-05 0.00% Amr::defBaseLevel() 1 2.438e-05 2.438e-05 2.438e-05 0.00% Castro::do_old_sources() 10 2.158e-05 2.158e-05 2.158e-05 0.00% MLPoisson::define() 11 2.118e-05 2.118e-05 2.118e-05 0.00% Amr::FinalizeInit() 1 2.014e-05 2.014e-05 2.014e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.874e-05 1.874e-05 1.874e-05 0.00% Castro::construct_old_source() 50 1.865e-05 1.865e-05 1.865e-05 0.00% DistributionMapping::Distribute() 56 1.767e-05 1.767e-05 1.767e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.719e-05 1.719e-05 1.719e-05 0.00% MLLinOp::define() 11 1.475e-05 1.475e-05 1.475e-05 0.00% MLPoisson::prepareForSolve() 11 1.457e-05 1.457e-05 1.457e-05 0.00% MLMG::computeMLResidual() 11 1.429e-05 1.429e-05 1.429e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.399e-05 1.399e-05 1.399e-05 0.00% Castro::check_for_nan() 20 1.254e-05 1.254e-05 1.254e-05 0.00% Castro::construct_old_gravity() 10 1.204e-05 1.204e-05 1.204e-05 0.00% Castro::apply_source_to_state() 20 1.078e-05 1.078e-05 1.078e-05 0.00% Castro::post_init() 1 1.014e-05 1.014e-05 1.014e-05 0.00% Amr::initSubcycle() 1 9.093e-06 9.093e-06 9.093e-06 0.00% Gravity::swapTimeLevels() 10 8.788e-06 8.788e-06 8.788e-06 0.00% Gravity::actual_multilevel_solve() 1 7.757e-06 7.757e-06 7.757e-06 0.00% AmrLevel::checkPointPost() 3 6.997e-06 6.997e-06 6.997e-06 0.00% Castro::computeNewDt() 9 6.961e-06 6.961e-06 6.961e-06 0.00% MLMG::getGradSolution() 11 6.946e-06 6.946e-06 6.946e-06 0.00% Castro::expand_state() 10 5.941e-06 5.941e-06 5.941e-06 0.00% Amr::InitializeInit() 1 4.815e-06 4.815e-06 4.815e-06 0.00% MLMG::MLRhsNormInf() 11 4.303e-06 4.303e-06 4.303e-06 0.00% Gravity::set_mass_offset() 11 4.257e-06 4.257e-06 4.257e-06 0.00% Castro::retry_advance_ctu() 10 4.227e-06 4.227e-06 4.227e-06 0.00% MLMG::MLResNormInf() 11 4.21e-06 4.21e-06 4.21e-06 0.00% Castro::FluxRegCrseInit 10 3.61e-06 3.61e-06 3.61e-06 0.00% Castro::computeInitialDt() 2 2.897e-06 2.897e-06 2.897e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.819e-06 2.819e-06 2.819e-06 0.00% Castro::FluxRegFineAdd() 10 2.416e-06 2.416e-06 2.416e-06 0.00% Amr::init() 1 2.405e-06 2.405e-06 2.405e-06 0.00% AmrLevel::checkPointPre() 3 2.191e-06 2.191e-06 2.191e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.068e-06 2.068e-06 2.068e-06 0.00% Castro::post_regrid() 1 1.344e-06 1.344e-06 1.344e-06 0.00% Amr::initialInit() 1 1.112e-06 1.112e-06 1.112e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9013 0.9013 0.9013 100.00% Amr::coarseTimeStep() 10 0.755 0.755 0.755 83.76% Amr::timeStep() 10 0.6656 0.6656 0.6656 73.85% Castro::advance() 10 0.6554 0.6554 0.6554 72.71% Castro::subcycle_advance_ctu() 10 0.6423 0.6423 0.6423 71.26% Castro::do_advance_ctu() 10 0.6422 0.6422 0.6422 71.24% Castro::construct_ctu_hydro_source() 10 0.3122 0.3122 0.3122 34.63% Gravity::solve_phi_with_mlmg() 11 0.2876 0.2876 0.2876 31.90% Gravity::actual_solve_with_mlmg() 11 0.2784 0.2784 0.2784 30.89% Castro::construct_new_gravity() 10 0.2584 0.2584 0.2584 28.66% MLMG::solve() 11 0.257 0.257 0.257 28.51% Gravity::solve_for_phi() 10 0.2437 0.2437 0.2437 27.04% MLMG::oneIter() 82 0.2418 0.2418 0.2418 26.83% MLMG::mgVcycle() 82 0.2382 0.2382 0.2382 26.43% VisMF::Write(FabArray) 11 0.1693 0.1693 0.1693 18.78% Amr::checkPoint() 3 0.1297 0.1297 0.1297 14.39% AmrLevel::checkPoint() 3 0.1238 0.1238 0.1238 13.74% StateData::checkPoint() 12 0.1237 0.1237 0.1237 13.73% Amr::init() 1 0.1213 0.1213 0.1213 13.45% MLCellLinOp::smooth() 1640 0.1195 0.1195 0.1195 13.26% MLCellLinOp::applyBC() 4351 0.1106 0.1106 0.1106 12.27% MLMG::mgVcycle_bottom 82 0.07103 0.07103 0.07103 7.88% MLMG::actualBottomSolve() 82 0.071 0.071 0.071 7.88% MLCGSolver::bicgstab 82 0.07028 0.07028 0.07028 7.80% Castro::clean_state() 62 0.05531 0.05531 0.05531 6.14% Amr::initialInit() 1 0.05316 0.05316 0.05316 5.90% Amr::writePlotFile() 2 0.04832 0.04832 0.04832 5.36% Amr::FinalizeInit() 1 0.04803 0.04803 0.04803 5.33% Castro::post_init() 1 0.04654 0.04654 0.04654 5.16% AmrLevel::FillPatch() 41 0.0445 0.0445 0.0445 4.94% Gravity::multilevel_solve_for_new_phi() 1 0.0443 0.0443 0.0443 4.91% Gravity::actual_multilevel_solve() 1 0.04428 0.04428 0.04428 4.91% FillPatchIterator::Initialize 41 0.04029 0.04029 0.04029 4.47% FillPatchIterator::FillFromLevel0() 41 0.03875 0.03875 0.03875 4.30% FillPatchSingleLevel 41 0.0387 0.0387 0.0387 4.29% MLCellLinOp::apply() 1060 0.03536 0.03536 0.03536 3.92% StateDataPhysBCFunct::() 41 0.03465 0.03465 0.03465 3.84% MLMG::mgVcycle_down::0 82 0.03402 0.03402 0.03402 3.77% MLPoisson::Fsmooth() 3280 0.03316 0.03316 0.03316 3.68% FabArray::FillBoundary() 3941 0.03207 0.03207 0.03207 3.56% FillBoundary_nowait() 3941 0.03117 0.03117 0.03117 3.46% MLMG::mgVcycle_up::0 82 0.02568 0.02568 0.02568 2.85% StateData::FillBoundary(geom) 328 0.02405 0.02405 0.02405 2.67% Castro::computeTemp() 63 0.02288 0.02288 0.02288 2.54% Castro::initialize_do_advance() 10 0.0213 0.0213 0.0213 2.36% amrex::Dot() 1114 0.02086 0.02086 0.02086 2.31% Castro::normalize_species() 62 0.02004 0.02004 0.02004 2.22% MLMG:computeResOfCorrection() 410 0.01998 0.01998 0.01998 2.22% MLCellLinOp::correctionResidual() 410 0.01987 0.01987 0.01987 2.20% FabArray::norminf() 1061 0.01944 0.01944 0.01944 2.16% Castro::do_old_sources() 10 0.01873 0.01873 0.01873 2.08% MLPoisson::define() 11 0.01676 0.01676 0.01676 1.86% Gravity::get_new_grav_vector() 11 0.01649 0.01649 0.01649 1.83% MLMG::mgVcycle_down::1 82 0.01632 0.01632 0.01632 1.81% MLMG::mgVcycle_down::2 82 0.01513 0.01513 0.01513 1.68% MLMG::mgVcycle_down::3 82 0.01476 0.01476 0.01476 1.64% MLMG::mgVcycle_down::4 82 0.01465 0.01465 0.01465 1.63% FabArray::ParallelCopy() 861 0.01414 0.01414 0.01414 1.57% Castro::construct_old_gravity() 10 0.01402 0.01402 0.01402 1.56% Castro::do_new_sources() 10 0.01401 0.01401 0.01401 1.55% Gravity::get_old_grav_vector() 10 0.01401 0.01401 0.01401 1.55% FabArray::ParallelCopy_nowait() 861 0.0139 0.0139 0.0139 1.54% FabArray::setVal() 1062 0.01288 0.01288 0.01288 1.43% FabArray::Saxpy() 1370 0.01285 0.01285 0.01285 1.43% MLCGSolver::ParallelAllReduce 1832 0.01256 0.01256 0.01256 1.39% Castro::initialize_advance() 10 0.01236 0.01236 0.01236 1.37% MLMG::addInterpCorrection() 410 0.01192 0.01192 0.01192 1.32% MLMG::mgVcycle_up::1 82 0.01182 0.01182 0.01182 1.31% Castro::expand_state() 10 0.01175 0.01175 0.01175 1.30% MLMG::mgVcycle_up::4 82 0.01172 0.01172 0.01172 1.30% MLMG::mgVcycle_up::2 82 0.01155 0.01155 0.01155 1.28% MLCellLinOp::defineAuxData() 11 0.01154 0.01154 0.01154 1.28% Castro::enforce_min_density() 62 0.01144 0.01144 0.01144 1.27% MLMG::mgVcycle_up::3 82 0.01129 0.01129 0.01129 1.25% amrex::average_down 410 0.0112 0.0112 0.0112 1.24% amrex::Copy() 472 0.01062 0.01062 0.01062 1.18% Castro::post_timestep() 10 0.01008 0.01008 0.01008 1.12% MLPoisson::Fapply() 1060 0.009984 0.009984 0.009984 1.11% Gravity::fill_multipole_BCs() 11 0.008874 0.008874 0.008874 0.98% Castro::reset_internal_energy(MultiFab) 63 0.007792 0.007792 0.007792 0.86% FabArray::Xpay() 739 0.007642 0.007642 0.007642 0.85% MLCellLinOp::solutionResidual() 93 0.007557 0.007557 0.007557 0.84% MLMG::computeResidual() 82 0.006273 0.006273 0.006273 0.70% Castro::estTimeStep() 21 0.006002 0.006002 0.006002 0.67% Amr::InitializeInit() 1 0.005121 0.005121 0.005121 0.57% Amr::defBaseLevel() 1 0.005116 0.005116 0.005116 0.57% MLMG::prepareForSolve() 11 0.005064 0.005064 0.005064 0.56% MLCellLinOp::defineBC() 11 0.00497 0.00497 0.00497 0.55% BndryData::define() 11 0.004686 0.004686 0.004686 0.52% Castro::initData() 1 0.004439 0.004439 0.004439 0.49% amrex::Add() 82 0.003592 0.003592 0.003592 0.40% Castro::construct_new_source() 50 0.003548 0.003548 0.003548 0.39% Castro::construct_new_gravity_source() 10 0.003475 0.003475 0.003475 0.39% Castro::construct_old_source() 50 0.003036 0.003036 0.003036 0.34% Castro::construct_old_gravity_source() 10 0.003017 0.003017 0.003017 0.33% Castro::finalize_do_advance() 10 0.002563 0.002563 0.002563 0.28% Castro::computeNewDt() 9 0.002438 0.002438 0.002438 0.27% MLMG::ResNormInf() 93 0.002165 0.002165 0.002165 0.24% Castro::apply_source_to_state() 20 0.001857 0.001857 0.001857 0.21% Castro::enforce_speed_limit() 62 0.00181 0.00181 0.00181 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001705 0.001705 0.001705 0.19% check_for_negative_density() 10 0.001705 0.001705 0.001705 0.19% MLCellLinOp::setLevelBC() 11 0.001567 0.001567 0.001567 0.17% MLMG::getGradSolution() 11 0.00155 0.00155 0.00155 0.17% MLCellLinOp::compGrad() 11 0.001543 0.001543 0.001543 0.17% Castro::reset_internal_energy(Fab) 504 0.001489 0.001489 0.001489 0.17% FabArrayBase::getCPC() 1323 0.001487 0.001487 0.001487 0.16% FabArray::mult() 43 0.001361 0.001361 0.001361 0.15% MLMG::computeMLResidual() 11 0.001338 0.001338 0.001338 0.15% MLPoisson::prepareForSolve() 11 0.00133 0.00133 0.00133 0.15% FabArray::setDomainBndry() 41 0.001325 0.001325 0.001325 0.15% MLCellLinOp::prepareForSolve() 11 0.001315 0.001315 0.001315 0.15% Castro::check_for_nan() 20 0.001275 0.001275 0.001275 0.14% MultiFab::contains_nan() 20 0.001263 0.001263 0.001263 0.14% Castro::post_regrid() 1 0.001193 0.001193 0.001193 0.13% Castro::computeInitialDt() 2 0.00106 0.00106 0.00106 0.12% Gravity::update_max_rhs() 11 0.0009706 0.0009706 0.0009706 0.11% FabArrayBase::getFB() 3941 0.000749 0.000749 0.000749 0.08% FabArrayBase::CPC::define() 454 0.0006796 0.0006796 0.0006796 0.08% Amr::InitAmr() 1 0.0006072 0.0006072 0.0006072 0.07% Castro::Castro() 1 0.0005902 0.0005902 0.0005902 0.07% Castro::finalize_advance() 10 0.0005788 0.0005788 0.0005788 0.06% Gravity::swapTimeLevels() 10 0.0004388 0.0004388 0.0004388 0.05% MLMG::MLResNormInf() 11 0.0003364 0.0003364 0.0003364 0.04% MultiFab::max() 11 0.0003299 0.0003299 0.0003299 0.04% Castro::buildMetrics() 1 0.0003 0.0003 0.0003 0.03% MLLinOp::define() 11 0.0002313 0.0002313 0.0002313 0.03% MLMG::MLRhsNormInf() 11 0.000221 0.000221 0.000221 0.02% MLLinOp::defineGrids() 11 0.0002166 0.0002166 0.0002166 0.02% Castro::create_source_corrector() 10 0.0001734 0.0001734 0.0001734 0.02% FabArrayBase::FB::FB() 56 9.98e-05 9.98e-05 9.98e-05 0.01% Castro::enforce_consistent_e() 1 6.89e-05 6.89e-05 6.89e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.898e-05 5.898e-05 5.898e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.519e-05 5.519e-05 5.519e-05 0.01% makeSFC 55 4.12e-05 4.12e-05 4.12e-05 0.00% StateData::define() 4 4.024e-05 4.024e-05 4.024e-05 0.00% Castro::swap_state_time_levels() 10 3.565e-05 3.565e-05 3.565e-05 0.00% Amr::writeSmallPlotFile() 1 3.384e-05 3.384e-05 3.384e-05 0.00% Castro::initMFs() 1 2.896e-05 2.896e-05 2.896e-05 0.00% DistributionMapping::Distribute() 56 1.767e-05 1.767e-05 1.767e-05 0.00% Amr::initSubcycle() 1 9.093e-06 9.093e-06 9.093e-06 0.00% AmrLevel::checkPointPost() 3 6.997e-06 6.997e-06 6.997e-06 0.00% Gravity::set_mass_offset() 11 4.257e-06 4.257e-06 4.257e-06 0.00% Castro::retry_advance_ctu() 10 4.227e-06 4.227e-06 4.227e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.892e-06 3.892e-06 3.892e-06 0.00% Castro::FluxRegCrseInit 10 3.61e-06 3.61e-06 3.61e-06 0.00% Castro::FluxRegFineAdd() 10 2.416e-06 2.416e-06 2.416e-06 0.00% AmrLevel::checkPointPre() 3 2.191e-06 2.191e-06 2.191e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.068e-06 2.068e-06 2.068e-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 88 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 981 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1495 KiB 28 MiB Castro::initialize_advance() 80 80 17 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7618 KiB 14 MiB MLMG::prepareForSolve() 660 660 3506 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 190 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 159 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7514 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 16 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2076 B 2048 KiB Gravity::solve_for_phi() 80 80 553 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 100 KiB 2048 KiB BndryData::define() 1056 1056 320 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 204 KiB 671 KiB Castro::estTimeStep() 21 21 3248 B 480 KiB VisMF::Write(FabArray) 656 656 3368 B 320 KiB Castro::normalize_species() 62 62 7237 B 320 KiB amrex::average_down 1067 1067 1232 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1118 B 257 KiB amrex::Dot() 1360 1360 3412 B 160 KiB FabArray::norminf() 1143 1143 3324 B 160 KiB check_for_negative_density() 10 10 296 B 160 KiB Castro::initData() 1 1 51 B 160 KiB MultiFab::max() 11 11 56 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3422 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 295 B 9648 B MLCellLinOp::applyBC() 8702 8702 217 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3925 B 6144 B StateData::FillBoundary(geom) 1992 1992 36 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 361 B 1248 B MLCGSolver::bicgstab 410 410 94 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 549 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 41 KiB 8192 KiB VisMF::Write(FabArray) 744 744 403 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3422 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 295 B 9648 B MLCellLinOp::applyBC() 4351 4351 216 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3925 B 6144 B Gravity::get_new_grav_vector() 3 3 2892 B 3072 B StateData::FillBoundary(geom) 1992 1992 36 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 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 292 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 1143 1143 9 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 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 (24.01-27-g30738c689207) finalized Initializing AMReX (24.01-27-g30738c689207)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-27-g30738c689207) initialized Starting run at 09:20:51 UTC on 2024-01-25. Successfully read inputs file ... Castro git describe: 24.01-17-g29c5f4d16 AMReX git describe: 24.01-27-g30738c689 Microphysics git describe: 24.01-9-ga4d7ab4d reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.503200496 Restart time = 0.072683304 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.068575865 [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.067722 [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.070236564 [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.062717271 [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.062220381 [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.034938628 seconds Ending run at 09:20:51 UTC on 2024-01-25. Run time = 0.440361885 Run time without initialization = 0.366971386 Average number of zones advanced per microsecond: 3.572 Average number of zones advanced per microsecond per rank: 3.572 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4404 ... 0.4404 ... 0.4404 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1456 0.1456 0.1456 33.07% VisMF::Read() 3 0.06109 0.06109 0.06109 13.87% MLCellLinOp::applyBC() 1910 0.03445 0.03445 0.03445 7.82% VisMF::Write(FabArray) 1 0.03224 0.03224 0.03224 7.32% MLPoisson::Fsmooth() 1440 0.01433 0.01433 0.01433 3.25% FillBoundary_nowait() 1730 0.01276 0.01276 0.01276 2.90% StateData::FillBoundary(geom) 160 0.0119 0.0119 0.0119 2.70% amrex::Dot() 484 0.008953 0.008953 0.008953 2.03% FabArray::norminf() 465 0.008651 0.008651 0.008651 1.96% Castro::normalize_species() 30 0.008518 0.008518 0.008518 1.93% Castro::computeTemp() 30 0.006913 0.006913 0.006913 1.57% FabArray::setVal() 501 0.00627 0.00627 0.00627 1.42% FabArray::ParallelCopy_nowait() 380 0.006028 0.006028 0.006028 1.37% FabArray::Saxpy() 597 0.005671 0.005671 0.005671 1.29% MLCellLinOp::defineAuxData() 6 0.005483 0.005483 0.005483 1.24% Castro::enforce_min_density() 30 0.005378 0.005378 0.005378 1.22% amrex::Copy() 221 0.005304 0.005304 0.005304 1.20% Gravity::fill_multipole_BCs() 6 0.005255 0.005255 0.005255 1.19% StateDataPhysBCFunct::() 20 0.004975 0.004975 0.004975 1.13% Amr::restart() 1 0.004888 0.004888 0.004888 1.11% MLPoisson::Fapply() 464 0.004341 0.004341 0.004341 0.99% FabArray::Xpay() 325 0.003349 0.003349 0.003349 0.76% Castro::estTimeStep() 10 0.003162 0.003162 0.003162 0.72% MLMG::addInterpCorrection() 180 0.003114 0.003114 0.003114 0.71% amrex::average_down 180 0.002701 0.002701 0.002701 0.61% Amr::writePlotFile() 1 0.00256 0.00256 0.00256 0.58% Castro::reset_internal_energy(MultiFab) 30 0.002124 0.002124 0.002124 0.48% BndryData::define() 6 0.00202 0.00202 0.00202 0.46% Castro::construct_new_gravity_source() 5 0.00184 0.00184 0.00184 0.42% amrex::Add() 36 0.001526 0.001526 0.001526 0.35% Castro::construct_old_gravity_source() 5 0.00152 0.00152 0.00152 0.35% Castro::enforce_speed_limit() 30 0.001081 0.001081 0.001081 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009314 0.0009314 0.0009314 0.21% check_for_negative_density() 5 0.0008711 0.0008711 0.0008711 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008683 0.0008683 0.0008683 0.20% MLCGSolver::bicgstab 36 0.0008506 0.0008506 0.0008506 0.19% MLCellLinOp::setLevelBC() 6 0.0008486 0.0008486 0.0008486 0.19% MLCellLinOp::prepareForSolve() 6 0.0007397 0.0007397 0.0007397 0.17% Castro::reset_internal_energy(Fab) 240 0.0007249 0.0007249 0.0007249 0.16% FabArray::setDomainBndry() 20 0.0006812 0.0006812 0.0006812 0.15% FabArray::mult() 22 0.0006783 0.0006783 0.0006783 0.15% MLCellLinOp::smooth() 720 0.000664 0.000664 0.000664 0.15% MultiFab::contains_nan() 10 0.0006563 0.0006563 0.0006563 0.15% MLCellLinOp::compGrad() 6 0.0005784 0.0005784 0.0005784 0.13% MLMG::prepareForSolve() 6 0.0005623 0.0005623 0.0005623 0.13% Amr::InitAmr() 1 0.0005103 0.0005103 0.0005103 0.12% FabArrayBase::CPC::define() 244 0.0004395 0.0004395 0.0004395 0.10% FabArray::FillBoundary() 1730 0.0003834 0.0003834 0.0003834 0.09% main() 1 0.0003825 0.0003825 0.0003825 0.09% FabArrayBase::getCPC() 632 0.0003819 0.0003819 0.0003819 0.09% Gravity::get_old_grav_vector() 5 0.0003125 0.0003125 0.0003125 0.07% FabArrayBase::getFB() 1730 0.0002646 0.0002646 0.0002646 0.06% Gravity::get_new_grav_vector() 5 0.0002607 0.0002607 0.0002607 0.06% MLCellLinOp::apply() 464 0.0002238 0.0002238 0.0002238 0.05% MultiFab::max() 6 0.0002176 0.0002176 0.0002176 0.05% AmrLevel::FillPatch() 20 0.0001941 0.0001941 0.0001941 0.04% Amr::coarseTimeStep() 5 0.0001922 0.0001922 0.0001922 0.04% MLCGSolver::ParallelAllReduce 798 0.000166 0.000166 0.000166 0.04% MLCellLinOp::defineBC() 6 0.0001503 0.0001503 0.0001503 0.03% FabArray::ParallelCopy() 380 0.0001169 0.0001169 0.0001169 0.03% FillPatchIterator::Initialize 20 0.0001053 0.0001053 0.0001053 0.02% MLMG::mgVcycle() 36 0.000103 0.000103 0.000103 0.02% Castro::create_source_corrector() 5 0.0001011 0.0001011 0.0001011 0.02% Castro::construct_new_source() 25 9.676e-05 9.676e-05 9.676e-05 0.02% Castro::subcycle_advance_ctu() 5 9.67e-05 9.67e-05 9.67e-05 0.02% Amr::timeStep() 5 9.549e-05 9.549e-05 9.549e-05 0.02% MLLinOp::defineGrids() 6 9.437e-05 9.437e-05 9.437e-05 0.02% MLCellLinOp::correctionResidual() 180 9.072e-05 9.072e-05 9.072e-05 0.02% AmrLevel::restart() 1 8.221e-05 8.221e-05 8.221e-05 0.02% Castro::advance() 5 8.134e-05 8.134e-05 8.134e-05 0.02% StateData::restartDoit() 4 7.087e-05 7.087e-05 7.087e-05 0.02% Castro::initialize_do_advance() 5 6.801e-05 6.801e-05 6.801e-05 0.02% Gravity::update_max_rhs() 6 6.746e-05 6.746e-05 6.746e-05 0.02% FabArrayBase::FB::FB() 26 6.317e-05 6.317e-05 6.317e-05 0.01% Gravity::solve_for_phi() 5 5.45e-05 5.45e-05 5.45e-05 0.01% MLMG::mgVcycle_down::0 36 5.007e-05 5.007e-05 5.007e-05 0.01% MLMG:computeResOfCorrection() 180 4.888e-05 4.888e-05 4.888e-05 0.01% Castro::do_advance_ctu() 5 4.532e-05 4.532e-05 4.532e-05 0.01% MLMG::actualBottomSolve() 36 4.37e-05 4.37e-05 4.37e-05 0.01% MLMG::mgVcycle_down::1 36 4.203e-05 4.203e-05 4.203e-05 0.01% MLMG::mgVcycle_down::4 36 4.178e-05 4.178e-05 4.178e-05 0.01% Castro::clean_state() 30 4.172e-05 4.172e-05 4.172e-05 0.01% Castro::finalize_do_advance() 5 4.156e-05 4.156e-05 4.156e-05 0.01% MLMG::mgVcycle_down::2 36 3.939e-05 3.939e-05 3.939e-05 0.01% Castro::initialize_advance() 5 3.845e-05 3.845e-05 3.845e-05 0.01% MLMG::mgVcycle_down::3 36 3.795e-05 3.795e-05 3.795e-05 0.01% MLMG::solve() 6 3.759e-05 3.759e-05 3.759e-05 0.01% Amr::writeSmallPlotFile() 1 3.728e-05 3.728e-05 3.728e-05 0.01% FillPatchIterator::FillFromLevel0() 20 3.232e-05 3.232e-05 3.232e-05 0.01% Castro::post_restart() 1 3.173e-05 3.173e-05 3.173e-05 0.01% MLMG::mgVcycle_up::4 36 3.019e-05 3.019e-05 3.019e-05 0.01% Castro::finalize_advance() 5 2.974e-05 2.974e-05 2.974e-05 0.01% Castro::buildMetrics() 1 2.94e-05 2.94e-05 2.94e-05 0.01% Castro::do_new_sources() 5 2.807e-05 2.807e-05 2.807e-05 0.01% Castro::construct_old_source() 25 2.803e-05 2.803e-05 2.803e-05 0.01% MLMG::oneIter() 36 2.554e-05 2.554e-05 2.554e-05 0.01% MLCellLinOp::solutionResidual() 42 2.533e-05 2.533e-05 2.533e-05 0.01% MLMG::mgVcycle_up::3 36 2.485e-05 2.485e-05 2.485e-05 0.01% Castro::swap_state_time_levels() 5 2.443e-05 2.443e-05 2.443e-05 0.01% Castro::initMFs() 1 2.401e-05 2.401e-05 2.401e-05 0.01% MLMG::mgVcycle_up::2 36 2.359e-05 2.359e-05 2.359e-05 0.01% MLMG::mgVcycle_up::0 36 2.346e-05 2.346e-05 2.346e-05 0.01% MLMG::mgVcycle_up::1 36 2.287e-05 2.287e-05 2.287e-05 0.01% MLMG::ResNormInf() 42 2.202e-05 2.202e-05 2.202e-05 0.01% Gravity::multilevel_solve_for_new_phi() 1 1.787e-05 1.787e-05 1.787e-05 0.00% MLPoisson::define() 6 1.561e-05 1.561e-05 1.561e-05 0.00% FillPatchSingleLevel 20 1.54e-05 1.54e-05 1.54e-05 0.00% MLMG::mgVcycle_bottom 36 1.531e-05 1.531e-05 1.531e-05 0.00% MLMG::computeResidual() 36 1.504e-05 1.504e-05 1.504e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.458e-05 1.458e-05 1.458e-05 0.00% makeSFC 30 1.353e-05 1.353e-05 1.353e-05 0.00% Castro::construct_new_gravity() 5 1.315e-05 1.315e-05 1.315e-05 0.00% Castro::do_old_sources() 5 1.181e-05 1.181e-05 1.181e-05 0.00% DistributionMapping::Distribute() 31 1.013e-05 1.013e-05 1.013e-05 0.00% MLPoisson::prepareForSolve() 6 9.744e-06 9.744e-06 9.744e-06 0.00% MLMG::computeMLResidual() 6 9.733e-06 9.733e-06 9.733e-06 0.00% Amr::initSubcycle() 1 9.245e-06 9.245e-06 9.245e-06 0.00% Gravity::actual_multilevel_solve() 1 8.429e-06 8.429e-06 8.429e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.736e-06 7.736e-06 7.736e-06 0.00% Castro::construct_old_gravity() 5 7.328e-06 7.328e-06 7.328e-06 0.00% MLLinOp::define() 6 6.658e-06 6.658e-06 6.658e-06 0.00% Castro::check_for_nan() 10 6.646e-06 6.646e-06 6.646e-06 0.00% Castro::apply_source_to_state() 10 6.173e-06 6.173e-06 6.173e-06 0.00% Gravity::swapTimeLevels() 5 4.756e-06 4.756e-06 4.756e-06 0.00% Castro::post_timestep() 5 4.451e-06 4.451e-06 4.451e-06 0.00% MLMG::getGradSolution() 6 3.558e-06 3.558e-06 3.558e-06 0.00% Castro::computeNewDt() 5 3.309e-06 3.309e-06 3.309e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.102e-06 3.102e-06 3.102e-06 0.00% Castro::expand_state() 5 2.737e-06 2.737e-06 2.737e-06 0.00% MLMG::MLResNormInf() 6 2.649e-06 2.649e-06 2.649e-06 0.00% Gravity::set_mass_offset() 6 2.365e-06 2.365e-06 2.365e-06 0.00% MLMG::MLRhsNormInf() 6 2.354e-06 2.354e-06 2.354e-06 0.00% Castro::retry_advance_ctu() 5 2.019e-06 2.019e-06 2.019e-06 0.00% Castro::FluxRegCrseInit 5 1.342e-06 1.342e-06 1.342e-06 0.00% Castro::FluxRegFineAdd() 5 1.276e-06 1.276e-06 1.276e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.251e-06 1.251e-06 1.251e-06 0.00% Amr::init() 1 1.133e-06 1.133e-06 1.133e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4404 0.4404 0.4404 100.00% Amr::coarseTimeStep() 5 0.3317 0.3317 0.3317 75.31% Amr::timeStep() 5 0.3295 0.3295 0.3295 74.82% Castro::advance() 5 0.3241 0.3241 0.3241 73.59% Castro::subcycle_advance_ctu() 5 0.317 0.317 0.317 71.97% Castro::do_advance_ctu() 5 0.3169 0.3169 0.3169 71.95% Castro::construct_ctu_hydro_source() 5 0.1506 0.1506 0.1506 34.19% Castro::construct_new_gravity() 5 0.132 0.132 0.132 29.98% Gravity::solve_phi_with_mlmg() 6 0.1299 0.1299 0.1299 29.50% Gravity::actual_solve_with_mlmg() 6 0.1244 0.1244 0.1244 28.25% Gravity::solve_for_phi() 5 0.1243 0.1243 0.1243 28.24% MLMG::solve() 6 0.1127 0.1127 0.1127 25.59% MLMG::oneIter() 36 0.1053 0.1053 0.1053 23.90% MLMG::mgVcycle() 36 0.1037 0.1037 0.1037 23.55% Amr::init() 1 0.07273 0.07273 0.07273 16.52% Amr::restart() 1 0.07273 0.07273 0.07273 16.51% AmrLevel::restart() 1 0.06147 0.06147 0.06147 13.96% StateData::restartDoit() 4 0.06138 0.06138 0.06138 13.94% VisMF::Read() 3 0.06109 0.06109 0.06109 13.87% MLCellLinOp::smooth() 720 0.05164 0.05164 0.05164 11.73% MLCellLinOp::applyBC() 1910 0.04792 0.04792 0.04792 10.88% Amr::writePlotFile() 1 0.03504 0.03504 0.03504 7.96% VisMF::Write(FabArray) 1 0.03224 0.03224 0.03224 7.32% MLMG::mgVcycle_bottom 36 0.03098 0.03098 0.03098 7.03% MLMG::actualBottomSolve() 36 0.03096 0.03096 0.03096 7.03% MLCGSolver::bicgstab 36 0.03064 0.03064 0.03064 6.96% Castro::clean_state() 30 0.02478 0.02478 0.02478 5.63% AmrLevel::FillPatch() 20 0.02179 0.02179 0.02179 4.95% FillPatchIterator::Initialize 20 0.01972 0.01972 0.01972 4.48% FillPatchIterator::FillFromLevel0() 20 0.01894 0.01894 0.01894 4.30% FillPatchSingleLevel 20 0.01891 0.01891 0.01891 4.29% StateDataPhysBCFunct::() 20 0.01687 0.01687 0.01687 3.83% MLCellLinOp::apply() 464 0.01556 0.01556 0.01556 3.53% MLMG::mgVcycle_down::0 36 0.01467 0.01467 0.01467 3.33% MLPoisson::Fsmooth() 1440 0.01433 0.01433 0.01433 3.25% FabArray::FillBoundary() 1730 0.01347 0.01347 0.01347 3.06% FillBoundary_nowait() 1730 0.01308 0.01308 0.01308 2.97% StateData::FillBoundary(geom) 160 0.0119 0.0119 0.0119 2.70% MLMG::mgVcycle_up::0 36 0.01102 0.01102 0.01102 2.50% Castro::initialize_do_advance() 5 0.01028 0.01028 0.01028 2.33% Castro::computeTemp() 30 0.009762 0.009762 0.009762 2.22% MLPoisson::define() 6 0.009146 0.009146 0.009146 2.08% amrex::Dot() 484 0.008953 0.008953 0.008953 2.03% Castro::do_old_sources() 5 0.008736 0.008736 0.008736 1.98% MLMG:computeResOfCorrection() 180 0.008709 0.008709 0.008709 1.98% MLCellLinOp::correctionResidual() 180 0.00866 0.00866 0.00866 1.97% FabArray::norminf() 465 0.008651 0.008651 0.008651 1.96% Castro::normalize_species() 30 0.008518 0.008518 0.008518 1.93% Gravity::get_new_grav_vector() 5 0.007571 0.007571 0.007571 1.72% Castro::construct_old_gravity() 5 0.007409 0.007409 0.007409 1.68% Gravity::get_old_grav_vector() 5 0.007402 0.007402 0.007402 1.68% MLMG::mgVcycle_down::1 36 0.00722 0.00722 0.00722 1.64% Castro::initialize_advance() 5 0.00677 0.00677 0.00677 1.54% MLMG::mgVcycle_down::2 36 0.006582 0.006582 0.006582 1.49% FabArray::ParallelCopy() 380 0.006552 0.006552 0.006552 1.49% FabArray::ParallelCopy_nowait() 380 0.006435 0.006435 0.006435 1.46% MLMG::mgVcycle_down::3 36 0.006425 0.006425 0.006425 1.46% MLMG::mgVcycle_down::4 36 0.006394 0.006394 0.006394 1.45% FabArray::setVal() 501 0.00627 0.00627 0.00627 1.42% MLCellLinOp::defineAuxData() 6 0.006262 0.006262 0.006262 1.42% Castro::post_restart() 1 0.006196 0.006196 0.006196 1.41% Castro::do_new_sources() 5 0.006041 0.006041 0.006041 1.37% Gravity::multilevel_solve_for_new_phi() 1 0.00581 0.00581 0.00581 1.32% Gravity::actual_multilevel_solve() 1 0.005792 0.005792 0.005792 1.32% Castro::expand_state() 5 0.005679 0.005679 0.005679 1.29% FabArray::Saxpy() 597 0.005671 0.005671 0.005671 1.29% MLCGSolver::ParallelAllReduce 798 0.005489 0.005489 0.005489 1.25% Castro::enforce_min_density() 30 0.005378 0.005378 0.005378 1.22% Gravity::fill_multipole_BCs() 6 0.005376 0.005376 0.005376 1.22% MLMG::addInterpCorrection() 180 0.005374 0.005374 0.005374 1.22% Castro::post_timestep() 5 0.005325 0.005325 0.005325 1.21% amrex::Copy() 221 0.005304 0.005304 0.005304 1.20% MLMG::mgVcycle_up::4 36 0.005187 0.005187 0.005187 1.18% MLMG::mgVcycle_up::1 36 0.005164 0.005164 0.005164 1.17% MLMG::mgVcycle_up::2 36 0.005042 0.005042 0.005042 1.14% amrex::average_down 180 0.004977 0.004977 0.004977 1.13% MLMG::mgVcycle_up::3 36 0.004937 0.004937 0.004937 1.12% MLPoisson::Fapply() 464 0.004341 0.004341 0.004341 0.99% MLCellLinOp::solutionResidual() 42 0.0035 0.0035 0.0035 0.79% FabArray::Xpay() 325 0.003349 0.003349 0.003349 0.76% Castro::estTimeStep() 10 0.003162 0.003162 0.003162 0.72% Castro::reset_internal_energy(MultiFab) 30 0.002849 0.002849 0.002849 0.65% MLMG::prepareForSolve() 6 0.002791 0.002791 0.002791 0.63% MLCellLinOp::defineBC() 6 0.002737 0.002737 0.002737 0.62% MLMG::computeResidual() 36 0.00273 0.00273 0.00273 0.62% BndryData::define() 6 0.002587 0.002587 0.002587 0.59% Castro::computeNewDt() 5 0.001947 0.001947 0.001947 0.44% Castro::construct_new_source() 25 0.001937 0.001937 0.001937 0.44% Castro::construct_new_gravity_source() 5 0.00184 0.00184 0.00184 0.42% Castro::construct_old_source() 25 0.001548 0.001548 0.001548 0.35% amrex::Add() 36 0.001526 0.001526 0.001526 0.35% Castro::construct_old_gravity_source() 5 0.00152 0.00152 0.00152 0.35% Castro::finalize_do_advance() 5 0.00126 0.00126 0.00126 0.29% Castro::enforce_speed_limit() 30 0.001081 0.001081 0.001081 0.25% MLMG::ResNormInf() 42 0.0009644 0.0009644 0.0009644 0.22% Castro::apply_source_to_state() 10 0.0009625 0.0009625 0.0009625 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009314 0.0009314 0.0009314 0.21% check_for_negative_density() 5 0.0008711 0.0008711 0.0008711 0.20% MLMG::getGradSolution() 6 0.0008568 0.0008568 0.0008568 0.19% MLCellLinOp::compGrad() 6 0.0008533 0.0008533 0.0008533 0.19% MLCellLinOp::setLevelBC() 6 0.0008486 0.0008486 0.0008486 0.19% FabArrayBase::getCPC() 632 0.0008213 0.0008213 0.0008213 0.19% MLMG::computeMLResidual() 6 0.0007944 0.0007944 0.0007944 0.18% MLPoisson::prepareForSolve() 6 0.0007495 0.0007495 0.0007495 0.17% MLCellLinOp::prepareForSolve() 6 0.0007397 0.0007397 0.0007397 0.17% Gravity::update_max_rhs() 6 0.0007301 0.0007301 0.0007301 0.17% Castro::reset_internal_energy(Fab) 240 0.0007249 0.0007249 0.0007249 0.16% FabArray::setDomainBndry() 20 0.0006812 0.0006812 0.0006812 0.15% FabArray::mult() 22 0.0006783 0.0006783 0.0006783 0.15% Castro::check_for_nan() 10 0.0006629 0.0006629 0.0006629 0.15% MultiFab::contains_nan() 10 0.0006563 0.0006563 0.0006563 0.15% Amr::InitAmr() 1 0.0005195 0.0005195 0.0005195 0.12% FabArrayBase::CPC::define() 244 0.0004395 0.0004395 0.0004395 0.10% FabArrayBase::getFB() 1730 0.0003278 0.0003278 0.0003278 0.07% Castro::finalize_advance() 5 0.0002895 0.0002895 0.0002895 0.07% Gravity::swapTimeLevels() 5 0.0002279 0.0002279 0.0002279 0.05% MultiFab::max() 6 0.0002176 0.0002176 0.0002176 0.05% MLMG::MLResNormInf() 6 0.0001865 0.0001865 0.0001865 0.04% Castro::buildMetrics() 1 0.0001549 0.0001549 0.0001549 0.04% MLLinOp::define() 6 0.0001323 0.0001323 0.0001323 0.03% MLLinOp::defineGrids() 6 0.0001256 0.0001256 0.0001256 0.03% MLMG::MLRhsNormInf() 6 0.000118 0.000118 0.000118 0.03% Castro::create_source_corrector() 5 0.0001011 0.0001011 0.0001011 0.02% FabArrayBase::FB::FB() 26 6.317e-05 6.317e-05 6.317e-05 0.01% Amr::writeSmallPlotFile() 1 3.728e-05 3.728e-05 3.728e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.001e-05 3.001e-05 3.001e-05 0.01% Castro::swap_state_time_levels() 5 2.443e-05 2.443e-05 2.443e-05 0.01% Castro::initMFs() 1 2.401e-05 2.401e-05 2.401e-05 0.01% makeSFC 30 2.227e-05 2.227e-05 2.227e-05 0.01% DistributionMapping::Distribute() 31 1.013e-05 1.013e-05 1.013e-05 0.00% Amr::initSubcycle() 1 9.245e-06 9.245e-06 9.245e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.491e-06 4.491e-06 4.491e-06 0.00% Gravity::set_mass_offset() 6 2.365e-06 2.365e-06 2.365e-06 0.00% Castro::retry_advance_ctu() 5 2.019e-06 2.019e-06 2.019e-06 0.00% Castro::FluxRegCrseInit 5 1.342e-06 1.342e-06 1.342e-06 0.00% Castro::FluxRegFineAdd() 5 1.276e-06 1.276e-06 1.276e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.251e-06 1.251e-06 1.251e-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 190 MiB 9042 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 978 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2149 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6421 KiB 14 MiB MLMG::prepareForSolve() 361 361 3140 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 174 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 175 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6408 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3290 B 2048 KiB Gravity::solve_for_phi() 40 40 577 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 289 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 186 KiB 671 KiB Castro::estTimeStep() 10 10 3409 B 480 KiB VisMF::Write(FabArray) 112 112 2355 B 320 KiB Castro::normalize_species() 30 30 6291 B 320 KiB amrex::average_down 469 469 1093 B 257 KiB MLMG::addInterpCorrection() 468 468 1033 B 257 KiB amrex::Dot() 592 592 2994 B 160 KiB FabArray::norminf() 501 501 3025 B 160 KiB check_for_negative_density() 5 5 317 B 160 KiB MultiFab::max() 6 6 77 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3044 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 250 B 9648 B MLCellLinOp::applyBC() 3820 3820 194 B 9344 B amrex::Copy() 56 56 5537 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 35 B 2256 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 325 B 1248 B MLCGSolver::bicgstab 180 180 83 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1147 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 84 KiB 8192 KiB VisMF::Write(FabArray) 120 120 204 KiB 3584 KiB VisMF::Read() 24 24 209 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3044 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 251 B 9648 B MLCellLinOp::applyBC() 1910 1910 193 B 9328 B amrex::Copy() 56 56 5537 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2518 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 36 B 2352 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 489 B 1296 B amrex::average_down 37 37 203 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 501 501 8 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 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 (24.01-27-g30738c689207) finalized