Initializing AMReX (v2024-26-g34a5327e2fef)... Initializing CUDA... CUDA initialized with 1 device. AMReX (v2024-26-g34a5327e2fef) initialized Starting run at 08:03:46 UTC on 2024-03-20. Successfully read inputs file ... Castro git describe: 24.03-24-gbc483ba16 AMReX git describe: v2024-26-g34a5327e2 Microphysics git describe: 24.03-17-gaa0a4ffe 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.044235482 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024475197 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.066264183 [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.066497918 [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.077052774 [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.061384665 [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.056856593 [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.050113555 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.051148553 [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.068455889 [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.075412354 [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.059108408 [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.060333067 [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.043392106 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.024296291 seconds Ending run at 08:03:47 UTC on 2024-03-20. Run time = 0.884077522 Run time without initialization = 0.760983967 Average number of zones advanced per microsecond: 3.445 Average number of zones advanced per microsecond per rank: 3.445 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.8841 ... 0.8841 ... 0.8841 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2651 0.2651 0.2651 29.99% VisMF::Write(FabArray) 11 0.1768 0.1768 0.1768 19.99% MLCellLinOp::applyBC() 4351 0.08008 0.08008 0.08008 9.06% MLPoisson::Fsmooth() 3280 0.03323 0.03323 0.03323 3.76% FillBoundary_nowait() 3941 0.03102 0.03102 0.03102 3.51% StateData::FillBoundary(geom) 328 0.02693 0.02693 0.02693 3.05% Castro::normalize_species() 62 0.02111 0.02111 0.02111 2.39% amrex::Dot() 1114 0.02104 0.02104 0.02104 2.38% FabArray::norminf() 1061 0.01959 0.01959 0.01959 2.22% Castro::computeTemp() 63 0.01531 0.01531 0.01531 1.73% FabArray::ParallelCopy_nowait() 861 0.01353 0.01353 0.01353 1.53% FabArray::setVal() 1062 0.0133 0.0133 0.0133 1.50% FabArray::Saxpy() 1370 0.01295 0.01295 0.01295 1.46% StateDataPhysBCFunct::() 41 0.01174 0.01174 0.01174 1.33% Castro::enforce_min_density() 62 0.01133 0.01133 0.01133 1.28% amrex::Copy() 472 0.01086 0.01086 0.01086 1.23% MLPoisson::Fapply() 1060 0.01011 0.01011 0.01011 1.14% MLCellLinOp::defineAuxData() 11 0.01 0.01 0.01 1.13% Gravity::fill_multipole_BCs() 11 0.008678 0.008678 0.008678 0.98% FabArray::Xpay() 739 0.007714 0.007714 0.007714 0.87% Amr::checkPoint() 3 0.007127 0.007127 0.007127 0.81% MLMG::addInterpCorrection() 410 0.006902 0.006902 0.006902 0.78% Castro::reset_internal_energy(MultiFab) 63 0.006656 0.006656 0.006656 0.75% amrex::average_down 410 0.006107 0.006107 0.006107 0.69% Castro::estTimeStep() 21 0.006041 0.006041 0.006041 0.68% BndryData::define() 11 0.003904 0.003904 0.003904 0.44% amrex::Add() 82 0.003659 0.003659 0.003659 0.41% Castro::construct_new_gravity_source() 10 0.003594 0.003594 0.003594 0.41% Castro::enforce_speed_limit() 62 0.003406 0.003406 0.003406 0.39% Castro::construct_old_gravity_source() 10 0.003011 0.003011 0.003011 0.34% Amr::writePlotFile() 2 0.002136 0.002136 0.002136 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001764 0.001764 0.001764 0.20% Castro::reset_internal_energy(Fab) 504 0.001658 0.001658 0.001658 0.19% MLCGSolver::bicgstab 82 0.001646 0.001646 0.001646 0.19% MLCellLinOp::setLevelBC() 11 0.001558 0.001558 0.001558 0.18% Gravity::actual_solve_with_mlmg() 11 0.001546 0.001546 0.001546 0.17% Castro::initData() 1 0.001496 0.001496 0.001496 0.17% check_for_negative_density() 10 0.001419 0.001419 0.001419 0.16% FabArray::mult() 43 0.001376 0.001376 0.001376 0.16% FabArray::setDomainBndry() 41 0.001346 0.001346 0.001346 0.15% MLCellLinOp::prepareForSolve() 11 0.001286 0.001286 0.001286 0.15% MultiFab::contains_nan() 20 0.00128 0.00128 0.00128 0.14% MLCellLinOp::smooth() 1640 0.001151 0.001151 0.001151 0.13% MLCellLinOp::compGrad() 11 0.001073 0.001073 0.001073 0.12% MLMG::prepareForSolve() 11 0.0009262 0.0009262 0.0009262 0.10% FabArrayBase::getCPC() 1323 0.0007943 0.0007943 0.0007943 0.09% FabArray::FillBoundary() 3941 0.0007783 0.0007783 0.0007783 0.09% FabArrayBase::CPC::define() 454 0.0006556 0.0006556 0.0006556 0.07% FabArrayBase::getFB() 3941 0.0006222 0.0006222 0.0006222 0.07% Gravity::get_new_grav_vector() 11 0.0006123 0.0006123 0.0006123 0.07% Amr::InitAmr() 1 0.0005387 0.0005387 0.0005387 0.06% Gravity::get_old_grav_vector() 10 0.0005048 0.0005048 0.0005048 0.06% MLCellLinOp::apply() 1060 0.0004164 0.0004164 0.0004164 0.05% AmrLevel::FillPatch() 41 0.0004099 0.0004099 0.0004099 0.05% Amr::coarseTimeStep() 10 0.0003603 0.0003603 0.0003603 0.04% MultiFab::max() 11 0.0003376 0.0003376 0.0003376 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003203 0.0003203 0.0003203 0.04% main() 1 0.0002997 0.0002997 0.0002997 0.03% MLCellLinOp::defineBC() 11 0.0002759 0.0002759 0.0002759 0.03% FabArray::ParallelCopy() 861 0.0002462 0.0002462 0.0002462 0.03% FillPatchIterator::Initialize 41 0.0002172 0.0002172 0.0002172 0.02% MLMG::mgVcycle() 82 0.0002007 0.0002007 0.0002007 0.02% Castro::subcycle_advance_ctu() 10 0.0001844 0.0001844 0.0001844 0.02% MLCellLinOp::correctionResidual() 410 0.0001808 0.0001808 0.0001808 0.02% Castro::create_source_corrector() 10 0.0001708 0.0001708 0.0001708 0.02% MLLinOp::defineGrids() 11 0.0001619 0.0001619 0.0001619 0.02% Amr::timeStep() 10 0.0001527 0.0001527 0.0001527 0.02% Gravity::update_max_rhs() 11 0.0001508 0.0001508 0.0001508 0.02% Castro::construct_new_source() 50 0.0001315 0.0001315 0.0001315 0.01% StateData::checkPoint() 12 0.0001224 0.0001224 0.0001224 0.01% MLMG:computeResOfCorrection() 410 0.000117 0.000117 0.000117 0.01% Gravity::solve_for_phi() 10 0.0001063 0.0001063 0.0001063 0.01% Castro::advance() 10 9.779e-05 9.779e-05 9.779e-05 0.01% FabArrayBase::FB::FB() 56 8.79e-05 8.79e-05 8.79e-05 0.01% Castro::Castro() 1 8.744e-05 8.744e-05 8.744e-05 0.01% Castro::initialize_advance() 10 8.696e-05 8.696e-05 8.696e-05 0.01% MLMG::mgVcycle_down::0 82 8.504e-05 8.504e-05 8.504e-05 0.01% MLMG::actualBottomSolve() 82 8.126e-05 8.126e-05 8.126e-05 0.01% MLMG::solve() 11 7.38e-05 7.38e-05 7.38e-05 0.01% Castro::clean_state() 62 7.25e-05 7.25e-05 7.25e-05 0.01% MLMG::mgVcycle_down::1 82 7.139e-05 7.139e-05 7.139e-05 0.01% MLMG::mgVcycle_down::2 82 6.974e-05 6.974e-05 6.974e-05 0.01% Castro::post_timestep() 10 6.85e-05 6.85e-05 6.85e-05 0.01% Castro::enforce_consistent_e() 1 6.831e-05 6.831e-05 6.831e-05 0.01% AmrLevel::checkPoint() 3 6.665e-05 6.665e-05 6.665e-05 0.01% MLMG::mgVcycle_down::4 82 6.523e-05 6.523e-05 6.523e-05 0.01% Castro::finalize_advance() 10 6.386e-05 6.386e-05 6.386e-05 0.01% MLMG::mgVcycle_down::3 82 6.242e-05 6.242e-05 6.242e-05 0.01% Castro::initialize_do_advance() 10 6.134e-05 6.134e-05 6.134e-05 0.01% MLMG::oneIter() 82 5.739e-05 5.739e-05 5.739e-05 0.01% MLMG::mgVcycle_up::0 82 5.575e-05 5.575e-05 5.575e-05 0.01% MLMG::mgVcycle_up::4 82 5.365e-05 5.365e-05 5.365e-05 0.01% Castro::do_advance_ctu() 10 5e-05 5e-05 5e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.839e-05 4.839e-05 4.839e-05 0.01% Castro::do_new_sources() 10 4.73e-05 4.73e-05 4.73e-05 0.01% MLCellLinOp::solutionResidual() 93 4.713e-05 4.713e-05 4.713e-05 0.01% MLMG::mgVcycle_up::3 82 4.536e-05 4.536e-05 4.536e-05 0.01% Castro::finalize_do_advance() 10 4.43e-05 4.43e-05 4.43e-05 0.01% MLMG::mgVcycle_up::1 82 4.421e-05 4.421e-05 4.421e-05 0.01% StateData::define() 4 4.41e-05 4.41e-05 4.41e-05 0.00% MLMG::mgVcycle_up::2 82 4.279e-05 4.279e-05 4.279e-05 0.00% Castro::swap_state_time_levels() 10 4.015e-05 4.015e-05 4.015e-05 0.00% FillPatchSingleLevel 41 3.493e-05 3.493e-05 3.493e-05 0.00% MLMG::ResNormInf() 93 3.453e-05 3.453e-05 3.453e-05 0.00% MLMG::mgVcycle_bottom 82 3.353e-05 3.353e-05 3.353e-05 0.00% MLMG::computeResidual() 82 3.299e-05 3.299e-05 3.299e-05 0.00% Amr::writeSmallPlotFile() 1 3.224e-05 3.224e-05 3.224e-05 0.00% Castro::initMFs() 1 3.099e-05 3.099e-05 3.099e-05 0.00% Castro::buildMetrics() 1 2.865e-05 2.865e-05 2.865e-05 0.00% Amr::defBaseLevel() 1 2.774e-05 2.774e-05 2.774e-05 0.00% MLPoisson::define() 11 2.505e-05 2.505e-05 2.505e-05 0.00% makeSFC 55 2.48e-05 2.48e-05 2.48e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.469e-05 2.469e-05 2.469e-05 0.00% Castro::construct_new_gravity() 10 2.449e-05 2.449e-05 2.449e-05 0.00% Castro::do_old_sources() 10 2.223e-05 2.223e-05 2.223e-05 0.00% Castro::construct_old_source() 50 2.056e-05 2.056e-05 2.056e-05 0.00% Amr::FinalizeInit() 1 1.998e-05 1.998e-05 1.998e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.769e-05 1.769e-05 1.769e-05 0.00% DistributionMapping::Distribute() 56 1.557e-05 1.557e-05 1.557e-05 0.00% MLPoisson::prepareForSolve() 11 1.418e-05 1.418e-05 1.418e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.321e-05 1.321e-05 1.321e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.318e-05 1.318e-05 1.318e-05 0.00% Castro::computeNewDt() 9 1.315e-05 1.315e-05 1.315e-05 0.00% Amr::initSubcycle() 1 1.242e-05 1.242e-05 1.242e-05 0.00% Castro::check_for_nan() 20 1.154e-05 1.154e-05 1.154e-05 0.00% MLLinOp::define() 11 1.141e-05 1.141e-05 1.141e-05 0.00% Castro::apply_source_to_state() 20 1.134e-05 1.134e-05 1.134e-05 0.00% Castro::construct_old_gravity() 10 1.064e-05 1.064e-05 1.064e-05 0.00% Gravity::swapTimeLevels() 10 1.038e-05 1.038e-05 1.038e-05 0.00% Castro::post_init() 1 9.989e-06 9.989e-06 9.989e-06 0.00% AmrLevel::checkPointPost() 3 9.3e-06 9.3e-06 9.3e-06 0.00% MLMG::computeMLResidual() 11 8.743e-06 8.743e-06 8.743e-06 0.00% Gravity::actual_multilevel_solve() 1 7.864e-06 7.864e-06 7.864e-06 0.00% MLMG::getGradSolution() 11 6.34e-06 6.34e-06 6.34e-06 0.00% Castro::expand_state() 10 5.412e-06 5.412e-06 5.412e-06 0.00% Gravity::set_mass_offset() 11 4.91e-06 4.91e-06 4.91e-06 0.00% Amr::InitializeInit() 1 4.566e-06 4.566e-06 4.566e-06 0.00% Castro::retry_advance_ctu() 10 4.384e-06 4.384e-06 4.384e-06 0.00% MLMG::MLRhsNormInf() 11 4.05e-06 4.05e-06 4.05e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.776e-06 3.776e-06 3.776e-06 0.00% Castro::computeInitialDt() 2 3.675e-06 3.675e-06 3.675e-06 0.00% MLMG::MLResNormInf() 11 3.561e-06 3.561e-06 3.561e-06 0.00% Castro::FluxRegCrseInit 10 3.091e-06 3.091e-06 3.091e-06 0.00% Castro::FluxRegFineAdd() 10 2.776e-06 2.776e-06 2.776e-06 0.00% Amr::init() 1 2.586e-06 2.586e-06 2.586e-06 0.00% AmrLevel::checkPointPre() 3 2.537e-06 2.537e-06 2.537e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.007e-06 2.007e-06 2.007e-06 0.00% Castro::post_regrid() 1 1.278e-06 1.278e-06 1.278e-06 0.00% Amr::initialInit() 1 1.029e-06 1.029e-06 1.029e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8841 0.8841 0.8841 100.00% Amr::coarseTimeStep() 10 0.7364 0.7364 0.7364 83.30% Amr::timeStep() 10 0.6389 0.6389 0.6389 72.26% Castro::advance() 10 0.6275 0.6275 0.6275 70.98% Castro::subcycle_advance_ctu() 10 0.6132 0.6132 0.6132 69.36% Castro::do_advance_ctu() 10 0.613 0.613 0.613 69.34% Gravity::solve_phi_with_mlmg() 11 0.2908 0.2908 0.2908 32.89% Gravity::actual_solve_with_mlmg() 11 0.2816 0.2816 0.2816 31.85% Castro::construct_ctu_hydro_source() 10 0.275 0.275 0.275 31.10% Castro::construct_new_gravity() 10 0.2631 0.2631 0.2631 29.76% MLMG::solve() 11 0.2601 0.2601 0.2601 29.42% Gravity::solve_for_phi() 10 0.2466 0.2466 0.2466 27.89% MLMG::oneIter() 82 0.2449 0.2449 0.2449 27.69% MLMG::mgVcycle() 82 0.2411 0.2411 0.2411 27.27% VisMF::Write(FabArray) 11 0.1768 0.1768 0.1768 19.99% Amr::checkPoint() 3 0.1379 0.1379 0.1379 15.59% AmrLevel::checkPoint() 3 0.1307 0.1307 0.1307 14.79% StateData::checkPoint() 12 0.1307 0.1307 0.1307 14.78% Amr::init() 1 0.1224 0.1224 0.1224 13.85% MLCellLinOp::smooth() 1640 0.1211 0.1211 0.1211 13.69% MLCellLinOp::applyBC() 4351 0.1126 0.1126 0.1126 12.73% MLMG::mgVcycle_bottom 82 0.07166 0.07166 0.07166 8.11% MLMG::actualBottomSolve() 82 0.07163 0.07163 0.07163 8.10% MLCGSolver::bicgstab 82 0.07083 0.07083 0.07083 8.01% Castro::clean_state() 62 0.05861 0.05861 0.05861 6.63% Amr::initialInit() 1 0.05359 0.05359 0.05359 6.06% Amr::writePlotFile() 2 0.04889 0.04889 0.04889 5.53% AmrLevel::FillPatch() 41 0.04868 0.04868 0.04868 5.51% Amr::FinalizeInit() 1 0.04844 0.04844 0.04844 5.48% Castro::post_init() 1 0.04693 0.04693 0.04693 5.31% Gravity::multilevel_solve_for_new_phi() 1 0.04461 0.04461 0.04461 5.05% Gravity::actual_multilevel_solve() 1 0.04459 0.04459 0.04459 5.04% FillPatchIterator::Initialize 41 0.04439 0.04439 0.04439 5.02% FillPatchIterator::FillFromLevel0() 41 0.04283 0.04283 0.04283 4.84% FillPatchSingleLevel 41 0.04278 0.04278 0.04278 4.84% StateDataPhysBCFunct::() 41 0.03867 0.03867 0.03867 4.37% MLCellLinOp::apply() 1060 0.03594 0.03594 0.03594 4.06% MLMG::mgVcycle_down::0 82 0.03463 0.03463 0.03463 3.92% MLPoisson::Fsmooth() 3280 0.03323 0.03323 0.03323 3.76% FabArray::FillBoundary() 3941 0.03251 0.03251 0.03251 3.68% FillBoundary_nowait() 3941 0.03173 0.03173 0.03173 3.59% StateData::FillBoundary(geom) 328 0.02693 0.02693 0.02693 3.05% MLMG::mgVcycle_up::0 82 0.02624 0.02624 0.02624 2.97% Castro::computeTemp() 63 0.02362 0.02362 0.02362 2.67% Castro::initialize_do_advance() 10 0.02257 0.02257 0.02257 2.55% Castro::normalize_species() 62 0.02111 0.02111 0.02111 2.39% amrex::Dot() 1114 0.02104 0.02104 0.02104 2.38% MLMG:computeResOfCorrection() 410 0.02027 0.02027 0.02027 2.29% MLCellLinOp::correctionResidual() 410 0.02015 0.02015 0.02015 2.28% Castro::do_old_sources() 10 0.01983 0.01983 0.01983 2.24% FabArray::norminf() 1061 0.01959 0.01959 0.01959 2.22% Gravity::get_new_grav_vector() 11 0.01841 0.01841 0.01841 2.08% MLPoisson::define() 11 0.01685 0.01685 0.01685 1.91% MLMG::mgVcycle_down::1 82 0.01649 0.01649 0.01649 1.87% Castro::construct_old_gravity() 10 0.01545 0.01545 0.01545 1.75% Gravity::get_old_grav_vector() 10 0.01544 0.01544 0.01544 1.75% MLMG::mgVcycle_down::2 82 0.0153 0.0153 0.0153 1.73% MLMG::mgVcycle_down::3 82 0.01492 0.01492 0.01492 1.69% MLMG::mgVcycle_down::4 82 0.01484 0.01484 0.01484 1.68% FabArray::ParallelCopy() 861 0.01458 0.01458 0.01458 1.65% FabArray::ParallelCopy_nowait() 861 0.01434 0.01434 0.01434 1.62% Castro::do_new_sources() 10 0.01387 0.01387 0.01387 1.57% Castro::initialize_advance() 10 0.01359 0.01359 0.01359 1.54% FabArray::setVal() 1062 0.0133 0.0133 0.0133 1.50% FabArray::Saxpy() 1370 0.01295 0.01295 0.01295 1.46% MLCGSolver::ParallelAllReduce 1832 0.01266 0.01266 0.01266 1.43% MLMG::addInterpCorrection() 410 0.01213 0.01213 0.01213 1.37% Castro::expand_state() 10 0.01206 0.01206 0.01206 1.36% MLMG::mgVcycle_up::1 82 0.01195 0.01195 0.01195 1.35% MLMG::mgVcycle_up::4 82 0.01182 0.01182 0.01182 1.34% MLMG::mgVcycle_up::2 82 0.01165 0.01165 0.01165 1.32% MLMG::mgVcycle_up::3 82 0.01143 0.01143 0.01143 1.29% MLCellLinOp::defineAuxData() 11 0.01142 0.01142 0.01142 1.29% amrex::average_down 410 0.01139 0.01139 0.01139 1.29% Castro::enforce_min_density() 62 0.01133 0.01133 0.01133 1.28% Castro::post_timestep() 10 0.01123 0.01123 0.01123 1.27% amrex::Copy() 472 0.01086 0.01086 0.01086 1.23% MLPoisson::Fapply() 1060 0.01011 0.01011 0.01011 1.14% Gravity::fill_multipole_BCs() 11 0.008922 0.008922 0.008922 1.01% Castro::reset_internal_energy(MultiFab) 63 0.008314 0.008314 0.008314 0.94% FabArray::Xpay() 739 0.007714 0.007714 0.007714 0.87% MLCellLinOp::solutionResidual() 93 0.007654 0.007654 0.007654 0.87% MLMG::computeResidual() 82 0.006396 0.006396 0.006396 0.72% Castro::estTimeStep() 21 0.006041 0.006041 0.006041 0.68% MLCellLinOp::defineBC() 11 0.005175 0.005175 0.005175 0.59% Amr::InitializeInit() 1 0.005154 0.005154 0.005154 0.58% Amr::defBaseLevel() 1 0.00515 0.00515 0.00515 0.58% MLMG::prepareForSolve() 11 0.005051 0.005051 0.005051 0.57% BndryData::define() 11 0.004899 0.004899 0.004899 0.55% Castro::initData() 1 0.004478 0.004478 0.004478 0.51% Castro::construct_new_source() 50 0.003725 0.003725 0.003725 0.42% amrex::Add() 82 0.003659 0.003659 0.003659 0.41% Castro::construct_new_gravity_source() 10 0.003594 0.003594 0.003594 0.41% Castro::enforce_speed_limit() 62 0.003406 0.003406 0.003406 0.39% Castro::construct_old_source() 50 0.003032 0.003032 0.003032 0.34% Castro::construct_old_gravity_source() 10 0.003011 0.003011 0.003011 0.34% Castro::computeNewDt() 9 0.002905 0.002905 0.002905 0.33% Castro::finalize_do_advance() 10 0.002234 0.002234 0.002234 0.25% MLMG::ResNormInf() 93 0.00217 0.00217 0.00217 0.25% Castro::apply_source_to_state() 20 0.001873 0.001873 0.001873 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001764 0.001764 0.001764 0.20% Castro::reset_internal_energy(Fab) 504 0.001658 0.001658 0.001658 0.19% MLMG::getGradSolution() 11 0.001585 0.001585 0.001585 0.18% MLCellLinOp::compGrad() 11 0.001578 0.001578 0.001578 0.18% MLCellLinOp::setLevelBC() 11 0.001558 0.001558 0.001558 0.18% FabArrayBase::getCPC() 1323 0.00145 0.00145 0.00145 0.16% check_for_negative_density() 10 0.001419 0.001419 0.001419 0.16% FabArray::mult() 43 0.001376 0.001376 0.001376 0.16% FabArray::setDomainBndry() 41 0.001346 0.001346 0.001346 0.15% MLMG::computeMLResidual() 11 0.0013 0.0013 0.0013 0.15% MLPoisson::prepareForSolve() 11 0.0013 0.0013 0.0013 0.15% Castro::check_for_nan() 20 0.001292 0.001292 0.001292 0.15% MLCellLinOp::prepareForSolve() 11 0.001286 0.001286 0.001286 0.15% MultiFab::contains_nan() 20 0.00128 0.00128 0.00128 0.14% Castro::post_regrid() 1 0.001222 0.001222 0.001222 0.14% Gravity::update_max_rhs() 11 0.00103 0.00103 0.00103 0.12% Castro::computeInitialDt() 2 0.0009639 0.0009639 0.0009639 0.11% FabArrayBase::getFB() 3941 0.0007101 0.0007101 0.0007101 0.08% FabArrayBase::CPC::define() 454 0.0006556 0.0006556 0.0006556 0.07% Castro::finalize_advance() 10 0.0006107 0.0006107 0.0006107 0.07% Castro::Castro() 1 0.0005815 0.0005815 0.0005815 0.07% Amr::InitAmr() 1 0.0005511 0.0005511 0.0005511 0.06% Gravity::swapTimeLevels() 10 0.0004914 0.0004914 0.0004914 0.06% MultiFab::max() 11 0.0003376 0.0003376 0.0003376 0.04% MLMG::MLResNormInf() 11 0.0003284 0.0003284 0.0003284 0.04% Castro::buildMetrics() 1 0.0002919 0.0002919 0.0002919 0.03% MLMG::MLRhsNormInf() 11 0.0002306 0.0002306 0.0002306 0.03% MLLinOp::define() 11 0.0002279 0.0002279 0.0002279 0.03% MLLinOp::defineGrids() 11 0.0002165 0.0002165 0.0002165 0.02% Castro::create_source_corrector() 10 0.0001708 0.0001708 0.0001708 0.02% FabArrayBase::FB::FB() 56 8.79e-05 8.79e-05 8.79e-05 0.01% Castro::enforce_consistent_e() 1 6.831e-05 6.831e-05 6.831e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.728e-05 5.728e-05 5.728e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.258e-05 5.258e-05 5.258e-05 0.01% StateData::define() 4 4.41e-05 4.41e-05 4.41e-05 0.00% Castro::swap_state_time_levels() 10 4.015e-05 4.015e-05 4.015e-05 0.00% makeSFC 55 3.936e-05 3.936e-05 3.936e-05 0.00% Amr::writeSmallPlotFile() 1 3.224e-05 3.224e-05 3.224e-05 0.00% Castro::initMFs() 1 3.099e-05 3.099e-05 3.099e-05 0.00% DistributionMapping::Distribute() 56 1.557e-05 1.557e-05 1.557e-05 0.00% Amr::initSubcycle() 1 1.242e-05 1.242e-05 1.242e-05 0.00% AmrLevel::checkPointPost() 3 9.3e-06 9.3e-06 9.3e-06 0.00% Gravity::set_mass_offset() 11 4.91e-06 4.91e-06 4.91e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.784e-06 4.784e-06 4.784e-06 0.00% Castro::retry_advance_ctu() 10 4.384e-06 4.384e-06 4.384e-06 0.00% Castro::FluxRegCrseInit 10 3.091e-06 3.091e-06 3.091e-06 0.00% Castro::FluxRegFineAdd() 10 2.776e-06 2.776e-06 2.776e-06 0.00% AmrLevel::checkPointPre() 3 2.537e-06 2.537e-06 2.537e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.007e-06 2.007e-06 2.007e-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 5666 KiB 9037 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1069 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1541 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7620 KiB 14 MiB MLMG::prepareForSolve() 660 660 3618 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 216 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 178 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 2230 B 2048 KiB Gravity::solve_for_phi() 80 80 570 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 103 KiB 2048 KiB BndryData::define() 1056 1056 331 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 210 KiB 671 KiB Castro::estTimeStep() 21 21 3325 B 480 KiB VisMF::Write(FabArray) 656 656 3451 B 320 KiB Castro::normalize_species() 62 62 7779 B 320 KiB amrex::average_down 1067 1067 1621 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1182 B 257 KiB amrex::Dot() 1360 1360 3514 B 160 KiB FabArray::norminf() 1143 1143 3422 B 160 KiB check_for_negative_density() 10 10 256 B 160 KiB Castro::initData() 1 1 51 B 160 KiB MultiFab::max() 11 11 59 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3533 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 307 B 9648 B MLCellLinOp::applyBC() 8702 8702 226 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3922 B 6144 B StateData::FillBoundary(geom) 1992 1992 44 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 372 B 1248 B MLCGSolver::bicgstab 410 410 96 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 569 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 436 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3533 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 306 B 9648 B MLCellLinOp::applyBC() 4351 4351 224 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3922 B 6144 B Gravity::get_new_grav_vector() 3 3 2887 B 3072 B StateData::FillBoundary(geom) 1992 1992 44 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 83 83 617 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 301 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 1143 1143 10 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2180 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (v2024-26-g34a5327e2fef) finalized Initializing AMReX (v2024-26-g34a5327e2fef)... Initializing CUDA... CUDA initialized with 1 device. AMReX (v2024-26-g34a5327e2fef) initialized Starting run at 08:03:48 UTC on 2024-03-20. Successfully read inputs file ... Castro git describe: 24.03-24-gbc483ba16 AMReX git describe: v2024-26-g34a5327e2 Microphysics git describe: 24.03-17-gaa0a4ffe reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.501325266 Restart time = 0.071969873 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.068968473 [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.057538435 [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.073914267 [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.073866772 [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.054772089 [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.026600942 seconds Ending run at 08:03:48 UTC on 2024-03-20. Run time = 0.428706004 Run time without initialization = 0.356093936 Average number of zones advanced per microsecond: 3.681 Average number of zones advanced per microsecond per rank: 3.681 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4287 ... 0.4287 ... 0.4287 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1377 0.1377 0.1377 32.13% VisMF::Read() 3 0.06101 0.06101 0.06101 14.23% MLCellLinOp::applyBC() 1910 0.03502 0.03502 0.03502 8.17% VisMF::Write(FabArray) 1 0.02394 0.02394 0.02394 5.58% MLPoisson::Fsmooth() 1440 0.01452 0.01452 0.01452 3.39% FillBoundary_nowait() 1730 0.01302 0.01302 0.01302 3.04% StateData::FillBoundary(geom) 160 0.01284 0.01284 0.01284 2.99% Castro::normalize_species() 30 0.01064 0.01064 0.01064 2.48% amrex::Dot() 484 0.009041 0.009041 0.009041 2.11% FabArray::norminf() 465 0.008489 0.008489 0.008489 1.98% Castro::computeTemp() 30 0.007118 0.007118 0.007118 1.66% FabArray::setVal() 501 0.006512 0.006512 0.006512 1.52% Castro::enforce_min_density() 30 0.006345 0.006345 0.006345 1.48% FabArray::ParallelCopy_nowait() 380 0.006103 0.006103 0.006103 1.42% FabArray::Saxpy() 597 0.005731 0.005731 0.005731 1.34% amrex::Copy() 221 0.005432 0.005432 0.005432 1.27% MLCellLinOp::defineAuxData() 6 0.005408 0.005408 0.005408 1.26% Gravity::fill_multipole_BCs() 6 0.00485 0.00485 0.00485 1.13% StateDataPhysBCFunct::() 20 0.004784 0.004784 0.004784 1.12% Amr::restart() 1 0.004748 0.004748 0.004748 1.11% MLPoisson::Fapply() 464 0.004416 0.004416 0.004416 1.03% FabArray::Xpay() 325 0.003416 0.003416 0.003416 0.80% MLMG::addInterpCorrection() 180 0.003086 0.003086 0.003086 0.72% Castro::estTimeStep() 10 0.003079 0.003079 0.003079 0.72% amrex::average_down 180 0.002697 0.002697 0.002697 0.63% Amr::writePlotFile() 1 0.002489 0.002489 0.002489 0.58% Castro::reset_internal_energy(MultiFab) 30 0.002122 0.002122 0.002122 0.49% BndryData::define() 6 0.002092 0.002092 0.002092 0.49% Castro::construct_new_gravity_source() 5 0.001926 0.001926 0.001926 0.45% amrex::Add() 36 0.001543 0.001543 0.001543 0.36% Castro::construct_old_gravity_source() 5 0.001543 0.001543 0.001543 0.36% Castro::enforce_speed_limit() 30 0.00116 0.00116 0.00116 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009501 0.0009501 0.0009501 0.22% check_for_negative_density() 5 0.0009034 0.0009034 0.0009034 0.21% MLCellLinOp::setLevelBC() 6 0.0008613 0.0008613 0.0008613 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008348 0.0008348 0.0008348 0.19% Castro::reset_internal_energy(Fab) 240 0.000754 0.000754 0.000754 0.18% MLCellLinOp::prepareForSolve() 6 0.0007538 0.0007538 0.0007538 0.18% MLCGSolver::bicgstab 36 0.000737 0.000737 0.000737 0.17% FabArray::mult() 22 0.0006979 0.0006979 0.0006979 0.16% FabArray::setDomainBndry() 20 0.0006857 0.0006857 0.0006857 0.16% MultiFab::contains_nan() 10 0.0006655 0.0006655 0.0006655 0.16% MLCellLinOp::compGrad() 6 0.0006075 0.0006075 0.0006075 0.14% MLMG::prepareForSolve() 6 0.0005419 0.0005419 0.0005419 0.13% MLCellLinOp::smooth() 720 0.0004873 0.0004873 0.0004873 0.11% Amr::InitAmr() 1 0.0004725 0.0004725 0.0004725 0.11% FabArrayBase::CPC::define() 244 0.0004198 0.0004198 0.0004198 0.10% FabArrayBase::getCPC() 632 0.0003689 0.0003689 0.0003689 0.09% FabArray::FillBoundary() 1730 0.0003485 0.0003485 0.0003485 0.08% Gravity::get_old_grav_vector() 5 0.0003323 0.0003323 0.0003323 0.08% Gravity::get_new_grav_vector() 5 0.0002652 0.0002652 0.0002652 0.06% FabArrayBase::getFB() 1730 0.0002622 0.0002622 0.0002622 0.06% main() 1 0.0002605 0.0002605 0.0002605 0.06% AmrLevel::FillPatch() 20 0.0002069 0.0002069 0.0002069 0.05% MultiFab::max() 6 0.0002054 0.0002054 0.0002054 0.05% MLCellLinOp::apply() 464 0.0001841 0.0001841 0.0001841 0.04% Amr::coarseTimeStep() 5 0.000181 0.000181 0.000181 0.04% MLCellLinOp::defineBC() 6 0.0001495 0.0001495 0.0001495 0.03% MLCGSolver::ParallelAllReduce 798 0.0001386 0.0001386 0.0001386 0.03% Castro::construct_new_source() 25 0.0001363 0.0001363 0.0001363 0.03% FillPatchIterator::Initialize 20 0.0001182 0.0001182 0.0001182 0.03% Castro::create_source_corrector() 5 0.0001115 0.0001115 0.0001115 0.03% FabArray::ParallelCopy() 380 0.0001102 0.0001102 0.0001102 0.03% MLLinOp::defineGrids() 6 9.818e-05 9.818e-05 9.818e-05 0.02% Castro::subcycle_advance_ctu() 5 9.66e-05 9.66e-05 9.66e-05 0.02% MLMG::mgVcycle() 36 9.287e-05 9.287e-05 9.287e-05 0.02% Amr::timeStep() 5 8.556e-05 8.556e-05 8.556e-05 0.02% MLCellLinOp::correctionResidual() 180 8.205e-05 8.205e-05 8.205e-05 0.02% AmrLevel::restart() 1 7.484e-05 7.484e-05 7.484e-05 0.02% Castro::initialize_do_advance() 5 6.873e-05 6.873e-05 6.873e-05 0.02% StateData::restartDoit() 4 6.763e-05 6.763e-05 6.763e-05 0.02% Gravity::update_max_rhs() 6 6.6e-05 6.6e-05 6.6e-05 0.02% Castro::do_advance_ctu() 5 6.555e-05 6.555e-05 6.555e-05 0.02% Castro::advance() 5 5.861e-05 5.861e-05 5.861e-05 0.01% FabArrayBase::FB::FB() 26 5.809e-05 5.809e-05 5.809e-05 0.01% MLMG:computeResOfCorrection() 180 5.358e-05 5.358e-05 5.358e-05 0.01% Castro::post_timestep() 5 5.258e-05 5.258e-05 5.258e-05 0.01% Gravity::solve_for_phi() 5 5.195e-05 5.195e-05 5.195e-05 0.01% Castro::finalize_do_advance() 5 4.498e-05 4.498e-05 4.498e-05 0.01% MLMG::mgVcycle_down::0 36 4.167e-05 4.167e-05 4.167e-05 0.01% MLMG::actualBottomSolve() 36 3.639e-05 3.639e-05 3.639e-05 0.01% Castro::initialize_advance() 5 3.638e-05 3.638e-05 3.638e-05 0.01% MLMG::solve() 6 3.607e-05 3.607e-05 3.607e-05 0.01% MLMG::mgVcycle_down::1 36 3.456e-05 3.456e-05 3.456e-05 0.01% Castro::clean_state() 30 3.433e-05 3.433e-05 3.433e-05 0.01% MLMG::mgVcycle_down::2 36 3.186e-05 3.186e-05 3.186e-05 0.01% Castro::finalize_advance() 5 3.144e-05 3.144e-05 3.144e-05 0.01% Amr::writeSmallPlotFile() 1 3.095e-05 3.095e-05 3.095e-05 0.01% Castro::do_new_sources() 5 3.057e-05 3.057e-05 3.057e-05 0.01% MLMG::mgVcycle_down::4 36 2.985e-05 2.985e-05 2.985e-05 0.01% MLMG::mgVcycle_down::3 36 2.927e-05 2.927e-05 2.927e-05 0.01% Castro::post_restart() 1 2.914e-05 2.914e-05 2.914e-05 0.01% MLMG::mgVcycle_up::4 36 2.884e-05 2.884e-05 2.884e-05 0.01% Castro::buildMetrics() 1 2.801e-05 2.801e-05 2.801e-05 0.01% Castro::construct_old_source() 25 2.789e-05 2.789e-05 2.789e-05 0.01% Castro::swap_state_time_levels() 5 2.486e-05 2.486e-05 2.486e-05 0.01% MLMG::mgVcycle_up::3 36 2.437e-05 2.437e-05 2.437e-05 0.01% MLMG::oneIter() 36 2.407e-05 2.407e-05 2.407e-05 0.01% Castro::initMFs() 1 2.308e-05 2.308e-05 2.308e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.293e-05 2.293e-05 2.293e-05 0.01% MLMG::mgVcycle_up::0 36 2.246e-05 2.246e-05 2.246e-05 0.01% MLCellLinOp::solutionResidual() 42 2.205e-05 2.205e-05 2.205e-05 0.01% MLMG::mgVcycle_up::2 36 2.197e-05 2.197e-05 2.197e-05 0.01% MLMG::mgVcycle_up::1 36 2.137e-05 2.137e-05 2.137e-05 0.00% MLPoisson::define() 6 1.855e-05 1.855e-05 1.855e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.754e-05 1.754e-05 1.754e-05 0.00% MLMG::ResNormInf() 42 1.654e-05 1.654e-05 1.654e-05 0.00% MLMG::mgVcycle_bottom 36 1.64e-05 1.64e-05 1.64e-05 0.00% FillPatchSingleLevel 20 1.587e-05 1.587e-05 1.587e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.419e-05 1.419e-05 1.419e-05 0.00% MLMG::computeResidual() 36 1.411e-05 1.411e-05 1.411e-05 0.00% makeSFC 30 1.355e-05 1.355e-05 1.355e-05 0.00% Amr::initSubcycle() 1 1.287e-05 1.287e-05 1.287e-05 0.00% Castro::construct_new_gravity() 5 1.233e-05 1.233e-05 1.233e-05 0.00% Castro::do_old_sources() 5 1.206e-05 1.206e-05 1.206e-05 0.00% MLPoisson::prepareForSolve() 6 9.149e-06 9.149e-06 9.149e-06 0.00% DistributionMapping::Distribute() 31 9.085e-06 9.085e-06 9.085e-06 0.00% Gravity::actual_multilevel_solve() 1 8.391e-06 8.391e-06 8.391e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.548e-06 7.548e-06 7.548e-06 0.00% MLLinOp::define() 6 6.82e-06 6.82e-06 6.82e-06 0.00% Castro::apply_source_to_state() 10 6.768e-06 6.768e-06 6.768e-06 0.00% Castro::construct_old_gravity() 5 5.889e-06 5.889e-06 5.889e-06 0.00% Castro::check_for_nan() 10 5.843e-06 5.843e-06 5.843e-06 0.00% Gravity::swapTimeLevels() 5 4.259e-06 4.259e-06 4.259e-06 0.00% MLMG::computeMLResidual() 6 4.099e-06 4.099e-06 4.099e-06 0.00% Castro::computeNewDt() 5 3.451e-06 3.451e-06 3.451e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.352e-06 3.352e-06 3.352e-06 0.00% MLMG::getGradSolution() 6 3.244e-06 3.244e-06 3.244e-06 0.00% Castro::expand_state() 5 2.992e-06 2.992e-06 2.992e-06 0.00% Castro::retry_advance_ctu() 5 2.55e-06 2.55e-06 2.55e-06 0.00% MLMG::MLResNormInf() 6 2.279e-06 2.279e-06 2.279e-06 0.00% Gravity::set_mass_offset() 6 2.276e-06 2.276e-06 2.276e-06 0.00% MLMG::MLRhsNormInf() 6 2.077e-06 2.077e-06 2.077e-06 0.00% Castro::FluxRegCrseInit 5 1.601e-06 1.601e-06 1.601e-06 0.00% Castro::FluxRegFineAdd() 5 1.527e-06 1.527e-06 1.527e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.027e-06 1.027e-06 1.027e-06 0.00% Amr::init() 1 6.79e-07 6.79e-07 6.79e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4287 0.4287 0.4287 100.00% Amr::coarseTimeStep() 5 0.3292 0.3292 0.3292 76.79% Amr::timeStep() 5 0.3271 0.3271 0.3271 76.30% Castro::advance() 5 0.3213 0.3213 0.3213 74.95% Castro::subcycle_advance_ctu() 5 0.3137 0.3137 0.3137 73.16% Castro::do_advance_ctu() 5 0.3136 0.3136 0.3136 73.14% Castro::construct_ctu_hydro_source() 5 0.1429 0.1429 0.1429 33.34% Castro::construct_new_gravity() 5 0.1332 0.1332 0.1332 31.06% Gravity::solve_phi_with_mlmg() 6 0.1304 0.1304 0.1304 30.42% Gravity::actual_solve_with_mlmg() 6 0.1253 0.1253 0.1253 29.23% Gravity::solve_for_phi() 5 0.1253 0.1253 0.1253 29.22% MLMG::solve() 6 0.1136 0.1136 0.1136 26.49% MLMG::oneIter() 36 0.106 0.106 0.106 24.72% MLMG::mgVcycle() 36 0.1044 0.1044 0.1044 24.35% Amr::init() 1 0.07202 0.07202 0.07202 16.80% Amr::restart() 1 0.07202 0.07202 0.07202 16.80% AmrLevel::restart() 1 0.06138 0.06138 0.06138 14.32% StateData::restartDoit() 4 0.0613 0.0613 0.0613 14.30% VisMF::Read() 3 0.06101 0.06101 0.06101 14.23% MLCellLinOp::smooth() 720 0.05224 0.05224 0.05224 12.19% MLCellLinOp::applyBC() 1910 0.04871 0.04871 0.04871 11.36% MLMG::mgVcycle_bottom 36 0.031 0.031 0.031 7.23% MLMG::actualBottomSolve() 36 0.03099 0.03099 0.03099 7.23% MLCGSolver::bicgstab 36 0.03062 0.03062 0.03062 7.14% Castro::clean_state() 30 0.02817 0.02817 0.02817 6.57% Amr::writePlotFile() 1 0.02669 0.02669 0.02669 6.22% VisMF::Write(FabArray) 1 0.02394 0.02394 0.02394 5.58% AmrLevel::FillPatch() 20 0.02264 0.02264 0.02264 5.28% FillPatchIterator::Initialize 20 0.02053 0.02053 0.02053 4.79% FillPatchIterator::FillFromLevel0() 20 0.01972 0.01972 0.01972 4.60% FillPatchSingleLevel 20 0.0197 0.0197 0.0197 4.59% StateDataPhysBCFunct::() 20 0.01762 0.01762 0.01762 4.11% MLCellLinOp::apply() 464 0.01579 0.01579 0.01579 3.68% MLMG::mgVcycle_down::0 36 0.015 0.015 0.015 3.50% MLPoisson::Fsmooth() 1440 0.01452 0.01452 0.01452 3.39% FabArray::FillBoundary() 1730 0.01369 0.01369 0.01369 3.19% FillBoundary_nowait() 1730 0.01334 0.01334 0.01334 3.11% StateData::FillBoundary(geom) 160 0.01284 0.01284 0.01284 2.99% MLMG::mgVcycle_up::0 36 0.01124 0.01124 0.01124 2.62% Castro::initialize_do_advance() 5 0.01064 0.01064 0.01064 2.48% Castro::normalize_species() 30 0.01064 0.01064 0.01064 2.48% Castro::computeTemp() 30 0.009993 0.009993 0.009993 2.33% Castro::do_old_sources() 5 0.009444 0.009444 0.009444 2.20% MLPoisson::define() 6 0.009151 0.009151 0.009151 2.13% amrex::Dot() 484 0.009041 0.009041 0.009041 2.11% MLMG:computeResOfCorrection() 180 0.008783 0.008783 0.008783 2.05% MLCellLinOp::correctionResidual() 180 0.008729 0.008729 0.008729 2.04% FabArray::norminf() 465 0.008489 0.008489 0.008489 1.98% Castro::do_new_sources() 5 0.008016 0.008016 0.008016 1.87% Gravity::get_new_grav_vector() 5 0.007774 0.007774 0.007774 1.81% Castro::construct_old_gravity() 5 0.007632 0.007632 0.007632 1.78% Gravity::get_old_grav_vector() 5 0.007626 0.007626 0.007626 1.78% Castro::initialize_advance() 5 0.007292 0.007292 0.007292 1.70% MLMG::mgVcycle_down::1 36 0.007225 0.007225 0.007225 1.69% MLMG::mgVcycle_down::2 36 0.006619 0.006619 0.006619 1.54% FabArray::ParallelCopy() 380 0.006604 0.006604 0.006604 1.54% FabArray::setVal() 501 0.006512 0.006512 0.006512 1.52% FabArray::ParallelCopy_nowait() 380 0.006494 0.006494 0.006494 1.51% MLMG::mgVcycle_down::3 36 0.006451 0.006451 0.006451 1.50% MLMG::mgVcycle_down::4 36 0.006422 0.006422 0.006422 1.50% Castro::enforce_min_density() 30 0.006345 0.006345 0.006345 1.48% MLCellLinOp::defineAuxData() 6 0.006188 0.006188 0.006188 1.44% Castro::expand_state() 5 0.005884 0.005884 0.005884 1.37% FabArray::Saxpy() 597 0.005731 0.005731 0.005731 1.34% Castro::post_restart() 1 0.005716 0.005716 0.005716 1.33% Castro::post_timestep() 5 0.005705 0.005705 0.005705 1.33% MLCGSolver::ParallelAllReduce 798 0.005481 0.005481 0.005481 1.28% amrex::Copy() 221 0.005432 0.005432 0.005432 1.27% MLMG::addInterpCorrection() 180 0.005352 0.005352 0.005352 1.25% Gravity::multilevel_solve_for_new_phi() 1 0.005344 0.005344 0.005344 1.25% Gravity::actual_multilevel_solve() 1 0.005326 0.005326 0.005326 1.24% MLMG::mgVcycle_up::1 36 0.005161 0.005161 0.005161 1.20% MLMG::mgVcycle_up::4 36 0.005158 0.005158 0.005158 1.20% MLMG::mgVcycle_up::2 36 0.005062 0.005062 0.005062 1.18% MLMG::mgVcycle_up::3 36 0.004976 0.004976 0.004976 1.16% amrex::average_down 180 0.004975 0.004975 0.004975 1.16% Gravity::fill_multipole_BCs() 6 0.004972 0.004972 0.004972 1.16% MLPoisson::Fapply() 464 0.004416 0.004416 0.004416 1.03% MLCellLinOp::solutionResidual() 42 0.003582 0.003582 0.003582 0.84% FabArray::Xpay() 325 0.003416 0.003416 0.003416 0.80% Castro::estTimeStep() 10 0.003079 0.003079 0.003079 0.72% Castro::reset_internal_energy(MultiFab) 30 0.002876 0.002876 0.002876 0.67% MLMG::prepareForSolve() 6 0.002852 0.002852 0.002852 0.67% MLCellLinOp::defineBC() 6 0.00281 0.00281 0.00281 0.66% MLMG::computeResidual() 36 0.002795 0.002795 0.002795 0.65% BndryData::define() 6 0.00266 0.00266 0.00266 0.62% Castro::construct_new_source() 25 0.002063 0.002063 0.002063 0.48% Castro::computeNewDt() 5 0.001944 0.001944 0.001944 0.45% Castro::construct_new_gravity_source() 5 0.001926 0.001926 0.001926 0.45% Castro::construct_old_source() 25 0.00157 0.00157 0.00157 0.37% amrex::Add() 36 0.001543 0.001543 0.001543 0.36% Castro::construct_old_gravity_source() 5 0.001543 0.001543 0.001543 0.36% Castro::finalize_do_advance() 5 0.001184 0.001184 0.001184 0.28% Castro::enforce_speed_limit() 30 0.00116 0.00116 0.00116 0.27% MLMG::ResNormInf() 42 0.0009827 0.0009827 0.0009827 0.23% Castro::apply_source_to_state() 10 0.0009632 0.0009632 0.0009632 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009501 0.0009501 0.0009501 0.22% check_for_negative_density() 5 0.0009034 0.0009034 0.0009034 0.21% MLMG::getGradSolution() 6 0.0008934 0.0008934 0.0008934 0.21% MLCellLinOp::compGrad() 6 0.0008902 0.0008902 0.0008902 0.21% MLCellLinOp::setLevelBC() 6 0.0008613 0.0008613 0.0008613 0.20% MLMG::computeMLResidual() 6 0.0008057 0.0008057 0.0008057 0.19% FabArrayBase::getCPC() 632 0.0007887 0.0007887 0.0007887 0.18% MLPoisson::prepareForSolve() 6 0.000763 0.000763 0.000763 0.18% Castro::reset_internal_energy(Fab) 240 0.000754 0.000754 0.000754 0.18% MLCellLinOp::prepareForSolve() 6 0.0007538 0.0007538 0.0007538 0.18% Gravity::update_max_rhs() 6 0.0007186 0.0007186 0.0007186 0.17% FabArray::mult() 22 0.0006979 0.0006979 0.0006979 0.16% FabArray::setDomainBndry() 20 0.0006857 0.0006857 0.0006857 0.16% Castro::check_for_nan() 10 0.0006714 0.0006714 0.0006714 0.16% MultiFab::contains_nan() 10 0.0006655 0.0006655 0.0006655 0.16% Amr::InitAmr() 1 0.0004853 0.0004853 0.0004853 0.11% FabArrayBase::CPC::define() 244 0.0004198 0.0004198 0.0004198 0.10% FabArrayBase::getFB() 1730 0.0003203 0.0003203 0.0003203 0.07% Castro::finalize_advance() 5 0.0003031 0.0003031 0.0003031 0.07% Gravity::swapTimeLevels() 5 0.0002448 0.0002448 0.0002448 0.06% MultiFab::max() 6 0.0002054 0.0002054 0.0002054 0.05% MLMG::MLResNormInf() 6 0.0001905 0.0001905 0.0001905 0.04% Castro::buildMetrics() 1 0.0001548 0.0001548 0.0001548 0.04% MLLinOp::define() 6 0.000135 0.000135 0.000135 0.03% MLLinOp::defineGrids() 6 0.0001281 0.0001281 0.0001281 0.03% MLMG::MLRhsNormInf() 6 0.0001202 0.0001202 0.0001202 0.03% Castro::create_source_corrector() 5 0.0001115 0.0001115 0.0001115 0.03% FabArrayBase::FB::FB() 26 5.809e-05 5.809e-05 5.809e-05 0.01% Amr::writeSmallPlotFile() 1 3.095e-05 3.095e-05 3.095e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.894e-05 2.894e-05 2.894e-05 0.01% Castro::swap_state_time_levels() 5 2.486e-05 2.486e-05 2.486e-05 0.01% Castro::initMFs() 1 2.308e-05 2.308e-05 2.308e-05 0.01% makeSFC 30 2.139e-05 2.139e-05 2.139e-05 0.00% Amr::initSubcycle() 1 1.287e-05 1.287e-05 1.287e-05 0.00% DistributionMapping::Distribute() 31 9.085e-06 9.085e-06 9.085e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.6e-06 4.6e-06 4.6e-06 0.00% Castro::retry_advance_ctu() 5 2.55e-06 2.55e-06 2.55e-06 0.00% Gravity::set_mass_offset() 6 2.276e-06 2.276e-06 2.276e-06 0.00% Castro::FluxRegCrseInit 5 1.601e-06 1.601e-06 1.601e-06 0.00% Castro::FluxRegFineAdd() 5 1.527e-06 1.527e-06 1.527e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.027e-06 1.027e-06 1.027e-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 11 MiB 9037 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 1048 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1653 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 6397 KiB 14 MiB MLMG::prepareForSolve() 361 361 3251 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 184 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 185 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6384 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 18 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3330 B 2048 KiB Gravity::solve_for_phi() 40 40 597 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 299 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 192 KiB 671 KiB Castro::estTimeStep() 10 10 3398 B 480 KiB VisMF::Write(FabArray) 112 112 1260 B 320 KiB Castro::normalize_species() 30 30 8081 B 320 KiB amrex::average_down 469 469 1372 B 257 KiB MLMG::addInterpCorrection() 468 468 1072 B 257 KiB amrex::Dot() 592 592 3117 B 160 KiB FabArray::norminf() 501 501 3057 B 160 KiB check_for_negative_density() 5 5 337 B 160 KiB MultiFab::max() 6 6 74 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3150 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 263 B 9648 B MLCellLinOp::applyBC() 3820 3820 204 B 9344 B amrex::Copy() 56 56 5820 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 36 B 2208 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 337 B 1248 B MLCGSolver::bicgstab 180 180 86 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1171 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 155 KiB 3584 KiB VisMF::Read() 24 24 217 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3150 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 263 B 9648 B MLCellLinOp::applyBC() 1910 1910 203 B 9328 B amrex::Copy() 56 56 5820 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2509 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B StateData::FillBoundary(geom) 960 960 36 B 2208 B MLMG::prepareForSolve() 7 7 790 B 1648 B amrex::average_down 37 37 458 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 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): 12049 Free GPU global memory (MB): 2180 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (v2024-26-g34a5327e2fef) finalized