Initializing AMReX (24.04-6-g771c439170bf)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-6-g771c439170bf) initialized Starting run at 07:54:14 UTC on 2024-04-05. Successfully read inputs file ... Castro git describe: 24.04-3-g0462ceb8e AMReX git describe: 24.04-6-g771c43917 Microphysics git describe: 24.04-3-gd82c8c88 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.045334523 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025125448 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.067062823 [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.050051851 [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.08288659 [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.080051377 [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.065350995 [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.04507435 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.052129138 [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.072306882 [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.074022128 [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.067167732 [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.067862492 [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.074860144 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025847852 seconds Ending run at 07:54:15 UTC on 2024-04-05. Run time = 0.9511254 Run time without initialization = 0.825308788 Average number of zones advanced per microsecond: 3.176 Average number of zones advanced per microsecond per rank: 3.176 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9512 ... 0.9512 ... 0.9512 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2863 0.2863 0.2863 30.10% VisMF::Write(FabArray) 11 0.1768 0.1768 0.1768 18.59% MLCellLinOp::applyBC() 4351 0.08214 0.08214 0.08214 8.64% Amr::checkPoint() 3 0.03689 0.03689 0.03689 3.88% MLPoisson::Fsmooth() 3280 0.0341 0.0341 0.0341 3.58% FillBoundary_nowait() 3941 0.03108 0.03108 0.03108 3.27% amrex::Dot() 1114 0.02868 0.02868 0.02868 3.02% StateData::FillBoundary(geom) 328 0.02667 0.02667 0.02667 2.80% FabArray::norminf() 1061 0.02026 0.02026 0.02026 2.13% Castro::normalize_species() 62 0.01933 0.01933 0.01933 2.03% Castro::computeTemp() 63 0.01723 0.01723 0.01723 1.81% FabArray::ParallelCopy_nowait() 861 0.01397 0.01397 0.01397 1.47% FabArray::setVal() 1062 0.0137 0.0137 0.0137 1.44% FabArray::Saxpy() 1370 0.01339 0.01339 0.01339 1.41% Castro::enforce_min_density() 62 0.01234 0.01234 0.01234 1.30% StateDataPhysBCFunct::() 41 0.01175 0.01175 0.01175 1.24% amrex::Copy() 472 0.01098 0.01098 0.01098 1.15% MLPoisson::Fapply() 1060 0.01056 0.01056 0.01056 1.11% MLCellLinOp::defineAuxData() 11 0.01054 0.01054 0.01054 1.11% Gravity::fill_multipole_BCs() 11 0.009833 0.009833 0.009833 1.03% FabArray::Xpay() 739 0.007949 0.007949 0.007949 0.84% MLMG::addInterpCorrection() 410 0.007173 0.007173 0.007173 0.75% amrex::average_down 410 0.006277 0.006277 0.006277 0.66% Castro::estTimeStep() 21 0.005986 0.005986 0.005986 0.63% Castro::reset_internal_energy(MultiFab) 63 0.00483 0.00483 0.00483 0.51% Castro::enforce_speed_limit() 62 0.004215 0.004215 0.004215 0.44% BndryData::define() 11 0.004074 0.004074 0.004074 0.43% amrex::Add() 82 0.003659 0.003659 0.003659 0.38% Castro::construct_new_gravity_source() 10 0.003538 0.003538 0.003538 0.37% Castro::construct_old_gravity_source() 10 0.00294 0.00294 0.00294 0.31% Amr::writePlotFile() 2 0.0021 0.0021 0.0021 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001882 0.001882 0.001882 0.20% check_for_negative_density() 10 0.001799 0.001799 0.001799 0.19% Castro::reset_internal_energy(Fab) 504 0.001735 0.001735 0.001735 0.18% MLCGSolver::bicgstab 82 0.001664 0.001664 0.001664 0.17% MLCellLinOp::setLevelBC() 11 0.001631 0.001631 0.001631 0.17% Gravity::actual_solve_with_mlmg() 11 0.001555 0.001555 0.001555 0.16% Castro::initData() 1 0.001451 0.001451 0.001451 0.15% FabArray::setDomainBndry() 41 0.001393 0.001393 0.001393 0.15% FabArray::mult() 43 0.001385 0.001385 0.001385 0.15% MLCellLinOp::prepareForSolve() 11 0.001327 0.001327 0.001327 0.14% MultiFab::contains_nan() 20 0.001265 0.001265 0.001265 0.13% MLCellLinOp::smooth() 1640 0.001202 0.001202 0.001202 0.13% MLCellLinOp::compGrad() 11 0.001114 0.001114 0.001114 0.12% MLMG::prepareForSolve() 11 0.0009699 0.0009699 0.0009699 0.10% FabArrayBase::getCPC() 1323 0.0007998 0.0007998 0.0007998 0.08% FabArray::FillBoundary() 3941 0.0007588 0.0007588 0.0007588 0.08% FabArrayBase::CPC::define() 454 0.0006566 0.0006566 0.0006566 0.07% FabArrayBase::getFB() 3941 0.0006339 0.0006339 0.0006339 0.07% Gravity::get_new_grav_vector() 11 0.0006195 0.0006195 0.0006195 0.07% Amr::InitAmr() 1 0.0005618 0.0005618 0.0005618 0.06% Gravity::get_old_grav_vector() 10 0.0005002 0.0005002 0.0005002 0.05% MLCellLinOp::apply() 1060 0.0004439 0.0004439 0.0004439 0.05% AmrLevel::FillPatch() 41 0.000415 0.000415 0.000415 0.04% MultiFab::max() 11 0.0003372 0.0003372 0.0003372 0.04% MLCGSolver::ParallelAllReduce 1832 0.000326 0.000326 0.000326 0.03% Amr::coarseTimeStep() 10 0.0003236 0.0003236 0.0003236 0.03% main() 1 0.0002793 0.0002793 0.0002793 0.03% MLCellLinOp::defineBC() 11 0.0002633 0.0002633 0.0002633 0.03% FabArray::ParallelCopy() 861 0.0002478 0.0002478 0.0002478 0.03% FillPatchIterator::Initialize 41 0.0002166 0.0002166 0.0002166 0.02% MLMG::mgVcycle() 82 0.0002047 0.0002047 0.0002047 0.02% Castro::subcycle_advance_ctu() 10 0.0001874 0.0001874 0.0001874 0.02% Castro::create_source_corrector() 10 0.0001818 0.0001818 0.0001818 0.02% MLLinOp::defineGrids() 11 0.0001701 0.0001701 0.0001701 0.02% MLCellLinOp::correctionResidual() 410 0.0001654 0.0001654 0.0001654 0.02% Amr::timeStep() 10 0.000156 0.000156 0.000156 0.02% Gravity::update_max_rhs() 11 0.0001225 0.0001225 0.0001225 0.01% StateData::checkPoint() 12 0.0001169 0.0001169 0.0001169 0.01% MLMG:computeResOfCorrection() 410 0.0001142 0.0001142 0.0001142 0.01% Gravity::solve_for_phi() 10 0.0001095 0.0001095 0.0001095 0.01% Castro::advance() 10 9.738e-05 9.738e-05 9.738e-05 0.01% Castro::Castro() 1 8.957e-05 8.957e-05 8.957e-05 0.01% MLMG::mgVcycle_down::0 82 8.859e-05 8.859e-05 8.859e-05 0.01% MLMG::actualBottomSolve() 82 8.519e-05 8.519e-05 8.519e-05 0.01% FabArrayBase::FB::FB() 56 8.376e-05 8.376e-05 8.376e-05 0.01% MLMG::mgVcycle_down::1 82 7.909e-05 7.909e-05 7.909e-05 0.01% MLMG::solve() 11 7.819e-05 7.819e-05 7.819e-05 0.01% MLMG::mgVcycle_down::2 82 7.703e-05 7.703e-05 7.703e-05 0.01% Castro::initialize_advance() 10 7.631e-05 7.631e-05 7.631e-05 0.01% MLMG::mgVcycle_down::4 82 7.367e-05 7.367e-05 7.367e-05 0.01% MLMG::mgVcycle_down::3 82 7.152e-05 7.152e-05 7.152e-05 0.01% Castro::clean_state() 62 7.092e-05 7.092e-05 7.092e-05 0.01% Castro::enforce_consistent_e() 1 6.919e-05 6.919e-05 6.919e-05 0.01% Castro::finalize_advance() 10 6.818e-05 6.818e-05 6.818e-05 0.01% MLMG::mgVcycle_up::4 82 6.679e-05 6.679e-05 6.679e-05 0.01% AmrLevel::checkPoint() 3 6.358e-05 6.358e-05 6.358e-05 0.01% Castro::initialize_do_advance() 10 5.737e-05 5.737e-05 5.737e-05 0.01% MLMG::oneIter() 82 5.299e-05 5.299e-05 5.299e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.241e-05 5.241e-05 5.241e-05 0.01% Castro::construct_new_source() 50 5.108e-05 5.108e-05 5.108e-05 0.01% MLMG::mgVcycle_up::3 82 5.037e-05 5.037e-05 5.037e-05 0.01% MLMG::mgVcycle_up::0 82 4.992e-05 4.992e-05 4.992e-05 0.01% MLMG::mgVcycle_up::1 82 4.917e-05 4.917e-05 4.917e-05 0.01% MLMG::mgVcycle_up::2 82 4.914e-05 4.914e-05 4.914e-05 0.01% Castro::do_advance_ctu() 10 4.818e-05 4.818e-05 4.818e-05 0.01% Castro::post_timestep() 10 4.658e-05 4.658e-05 4.658e-05 0.00% Castro::finalize_do_advance() 10 4.527e-05 4.527e-05 4.527e-05 0.00% MLCellLinOp::solutionResidual() 93 4.398e-05 4.398e-05 4.398e-05 0.00% Castro::swap_state_time_levels() 10 4.044e-05 4.044e-05 4.044e-05 0.00% FillPatchSingleLevel 41 3.833e-05 3.833e-05 3.833e-05 0.00% MLPoisson::define() 11 3.681e-05 3.681e-05 3.681e-05 0.00% MLMG::ResNormInf() 93 3.492e-05 3.492e-05 3.492e-05 0.00% StateData::define() 4 3.462e-05 3.462e-05 3.462e-05 0.00% Amr::writeSmallPlotFile() 1 3.373e-05 3.373e-05 3.373e-05 0.00% MLMG::mgVcycle_bottom 82 3.298e-05 3.298e-05 3.298e-05 0.00% MLMG::computeResidual() 82 3.225e-05 3.225e-05 3.225e-05 0.00% Amr::defBaseLevel() 1 3.216e-05 3.216e-05 3.216e-05 0.00% Castro::initMFs() 1 2.791e-05 2.791e-05 2.791e-05 0.00% makeSFC 55 2.666e-05 2.666e-05 2.666e-05 0.00% Castro::construct_new_gravity() 10 2.396e-05 2.396e-05 2.396e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.365e-05 2.365e-05 2.365e-05 0.00% Castro::buildMetrics() 1 2.347e-05 2.347e-05 2.347e-05 0.00% Castro::do_old_sources() 10 2.068e-05 2.068e-05 2.068e-05 0.00% Castro::do_new_sources() 10 2.022e-05 2.022e-05 2.022e-05 0.00% Castro::construct_old_source() 50 1.978e-05 1.978e-05 1.978e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.863e-05 1.863e-05 1.863e-05 0.00% Amr::FinalizeInit() 1 1.788e-05 1.788e-05 1.788e-05 0.00% DistributionMapping::Distribute() 56 1.696e-05 1.696e-05 1.696e-05 0.00% Gravity::actual_multilevel_solve() 1 1.508e-05 1.508e-05 1.508e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.458e-05 1.458e-05 1.458e-05 0.00% Castro::check_for_nan() 20 1.368e-05 1.368e-05 1.368e-05 0.00% MLLinOp::define() 11 1.259e-05 1.259e-05 1.259e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.198e-05 1.198e-05 1.198e-05 0.00% Castro::construct_old_gravity() 10 1.176e-05 1.176e-05 1.176e-05 0.00% Castro::apply_source_to_state() 20 1.132e-05 1.132e-05 1.132e-05 0.00% Amr::initSubcycle() 1 1.07e-05 1.07e-05 1.07e-05 0.00% MLMG::computeMLResidual() 11 1e-05 1e-05 1e-05 0.00% Gravity::swapTimeLevels() 10 9.995e-06 9.995e-06 9.995e-06 0.00% Castro::computeNewDt() 9 6.897e-06 6.897e-06 6.897e-06 0.00% Amr::InitializeInit() 1 6.766e-06 6.766e-06 6.766e-06 0.00% MLPoisson::prepareForSolve() 11 6.246e-06 6.246e-06 6.246e-06 0.00% Castro::expand_state() 10 5.98e-06 5.98e-06 5.98e-06 0.00% MLMG::getGradSolution() 11 5.847e-06 5.847e-06 5.847e-06 0.00% AmrLevel::checkPointPost() 3 5.167e-06 5.167e-06 5.167e-06 0.00% Castro::retry_advance_ctu() 10 4.768e-06 4.768e-06 4.768e-06 0.00% Castro::post_init() 1 4.271e-06 4.271e-06 4.271e-06 0.00% Gravity::set_mass_offset() 11 4.098e-06 4.098e-06 4.098e-06 0.00% MLMG::MLRhsNormInf() 11 3.798e-06 3.798e-06 3.798e-06 0.00% MLMG::MLResNormInf() 11 3.577e-06 3.577e-06 3.577e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.272e-06 3.272e-06 3.272e-06 0.00% Castro::FluxRegCrseInit 10 3.111e-06 3.111e-06 3.111e-06 0.00% Castro::computeInitialDt() 2 3.107e-06 3.107e-06 3.107e-06 0.00% AmrLevel::checkPointPre() 3 3.019e-06 3.019e-06 3.019e-06 0.00% Amr::init() 1 2.425e-06 2.425e-06 2.425e-06 0.00% Castro::FluxRegFineAdd() 10 2.312e-06 2.312e-06 2.312e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.109e-06 2.109e-06 2.109e-06 0.00% Castro::post_regrid() 1 1.678e-06 1.678e-06 1.678e-06 0.00% Amr::initialInit() 1 1.192e-06 1.192e-06 1.192e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9511 0.9511 0.9511 100.00% Amr::coarseTimeStep() 10 0.7992 0.7992 0.7992 84.03% Amr::timeStep() 10 0.6754 0.6754 0.6754 71.00% Castro::advance() 10 0.6641 0.6641 0.6641 69.82% Castro::subcycle_advance_ctu() 10 0.6493 0.6493 0.6493 68.26% Castro::do_advance_ctu() 10 0.6491 0.6491 0.6491 68.24% Gravity::solve_phi_with_mlmg() 11 0.3067 0.3067 0.3067 32.25% Castro::construct_ctu_hydro_source() 10 0.2978 0.2978 0.2978 31.31% Gravity::actual_solve_with_mlmg() 11 0.2964 0.2964 0.2964 31.17% Castro::construct_new_gravity() 10 0.2779 0.2779 0.2779 29.21% MLMG::solve() 11 0.2739 0.2739 0.2739 28.80% Gravity::solve_for_phi() 10 0.2614 0.2614 0.2614 27.48% MLMG::oneIter() 82 0.2583 0.2583 0.2583 27.16% MLMG::mgVcycle() 82 0.2546 0.2546 0.2546 26.77% VisMF::Write(FabArray) 11 0.1768 0.1768 0.1768 18.59% Amr::checkPoint() 3 0.1654 0.1654 0.1654 17.39% AmrLevel::checkPoint() 3 0.1285 0.1285 0.1285 13.51% StateData::checkPoint() 12 0.1284 0.1284 0.1284 13.50% Amr::init() 1 0.1251 0.1251 0.1251 13.16% MLCellLinOp::smooth() 1640 0.1234 0.1234 0.1234 12.98% MLCellLinOp::applyBC() 4351 0.1147 0.1147 0.1147 12.06% MLMG::mgVcycle_bottom 82 0.08123 0.08123 0.08123 8.54% MLMG::actualBottomSolve() 82 0.0812 0.0812 0.0812 8.54% MLCGSolver::bicgstab 82 0.08036 0.08036 0.08036 8.45% Castro::clean_state() 62 0.05878 0.05878 0.05878 6.18% Amr::initialInit() 1 0.05456 0.05456 0.05456 5.74% Amr::writePlotFile() 2 0.05109 0.05109 0.05109 5.37% Amr::FinalizeInit() 1 0.04957 0.04957 0.04957 5.21% AmrLevel::FillPatch() 41 0.04857 0.04857 0.04857 5.11% Castro::post_init() 1 0.04816 0.04816 0.04816 5.06% Gravity::multilevel_solve_for_new_phi() 1 0.04576 0.04576 0.04576 4.81% Gravity::actual_multilevel_solve() 1 0.04575 0.04575 0.04575 4.81% FillPatchIterator::Initialize 41 0.04424 0.04424 0.04424 4.65% FillPatchIterator::FillFromLevel0() 41 0.04263 0.04263 0.04263 4.48% FillPatchSingleLevel 41 0.04258 0.04258 0.04258 4.48% StateDataPhysBCFunct::() 41 0.03842 0.03842 0.03842 4.04% MLCellLinOp::apply() 1060 0.03704 0.03704 0.03704 3.89% MLMG::mgVcycle_down::0 82 0.03502 0.03502 0.03502 3.68% MLPoisson::Fsmooth() 3280 0.0341 0.0341 0.0341 3.58% FabArray::FillBoundary() 3941 0.03255 0.03255 0.03255 3.42% FillBoundary_nowait() 3941 0.03179 0.03179 0.03179 3.34% amrex::Dot() 1114 0.02868 0.02868 0.02868 3.02% StateData::FillBoundary(geom) 328 0.02667 0.02667 0.02667 2.80% MLMG::mgVcycle_up::0 82 0.02657 0.02657 0.02657 2.79% Castro::computeTemp() 63 0.02379 0.02379 0.02379 2.50% Castro::initialize_do_advance() 10 0.02278 0.02278 0.02278 2.40% MLMG:computeResOfCorrection() 410 0.02072 0.02072 0.02072 2.18% MLCellLinOp::correctionResidual() 410 0.0206 0.0206 0.0206 2.17% FabArray::norminf() 1061 0.02026 0.02026 0.02026 2.13% Castro::do_old_sources() 10 0.01989 0.01989 0.01989 2.09% MLCGSolver::ParallelAllReduce 1832 0.01988 0.01988 0.01988 2.09% Castro::normalize_species() 62 0.01933 0.01933 0.01933 2.03% Gravity::get_new_grav_vector() 11 0.0184 0.0184 0.0184 1.93% MLPoisson::define() 11 0.01769 0.01769 0.01769 1.86% MLMG::mgVcycle_down::1 82 0.01689 0.01689 0.01689 1.78% MLMG::mgVcycle_down::2 82 0.01571 0.01571 0.01571 1.65% Castro::construct_old_gravity() 10 0.01549 0.01549 0.01549 1.63% Gravity::get_old_grav_vector() 10 0.01548 0.01548 0.01548 1.63% MLMG::mgVcycle_down::3 82 0.01536 0.01536 0.01536 1.61% MLMG::mgVcycle_down::4 82 0.01528 0.01528 0.01528 1.61% FabArray::ParallelCopy() 861 0.01503 0.01503 0.01503 1.58% FabArray::ParallelCopy_nowait() 861 0.01478 0.01478 0.01478 1.55% Castro::initialize_advance() 10 0.01413 0.01413 0.01413 1.49% FabArray::setVal() 1062 0.0137 0.0137 0.0137 1.44% FabArray::Saxpy() 1370 0.01339 0.01339 0.01339 1.41% MLMG::addInterpCorrection() 410 0.01265 0.01265 0.01265 1.33% Castro::enforce_min_density() 62 0.01234 0.01234 0.01234 1.30% MLMG::mgVcycle_up::4 82 0.01227 0.01227 0.01227 1.29% MLMG::mgVcycle_up::1 82 0.01226 0.01226 0.01226 1.29% MLCellLinOp::defineAuxData() 11 0.01203 0.01203 0.01203 1.27% Castro::do_new_sources() 10 0.01203 0.01203 0.01203 1.26% MLMG::mgVcycle_up::2 82 0.01201 0.01201 0.01201 1.26% Castro::expand_state() 10 0.01192 0.01192 0.01192 1.25% MLMG::mgVcycle_up::3 82 0.01179 0.01179 0.01179 1.24% amrex::average_down 410 0.01171 0.01171 0.01171 1.23% Castro::post_timestep() 10 0.0111 0.0111 0.0111 1.17% amrex::Copy() 472 0.01098 0.01098 0.01098 1.15% MLPoisson::Fapply() 1060 0.01056 0.01056 0.01056 1.11% Gravity::fill_multipole_BCs() 11 0.01007 0.01007 0.01007 1.06% FabArray::Xpay() 739 0.007949 0.007949 0.007949 0.84% MLCellLinOp::solutionResidual() 93 0.007853 0.007853 0.007853 0.83% MLMG::computeResidual() 82 0.006601 0.006601 0.006601 0.69% Castro::reset_internal_energy(MultiFab) 63 0.006565 0.006565 0.006565 0.69% Castro::estTimeStep() 21 0.005986 0.005986 0.005986 0.63% MLCellLinOp::defineBC() 11 0.005374 0.005374 0.005374 0.57% MLMG::prepareForSolve() 11 0.005218 0.005218 0.005218 0.55% BndryData::define() 11 0.005111 0.005111 0.005111 0.54% Amr::InitializeInit() 1 0.004987 0.004987 0.004987 0.52% Amr::defBaseLevel() 1 0.00498 0.00498 0.00498 0.52% Castro::initData() 1 0.004314 0.004314 0.004314 0.45% Castro::enforce_speed_limit() 62 0.004215 0.004215 0.004215 0.44% amrex::Add() 82 0.003659 0.003659 0.003659 0.38% Castro::construct_new_source() 50 0.003589 0.003589 0.003589 0.38% Castro::construct_new_gravity_source() 10 0.003538 0.003538 0.003538 0.37% Castro::construct_old_source() 50 0.00296 0.00296 0.00296 0.31% Castro::construct_old_gravity_source() 10 0.00294 0.00294 0.00294 0.31% Castro::computeNewDt() 9 0.002731 0.002731 0.002731 0.29% Castro::finalize_do_advance() 10 0.002257 0.002257 0.002257 0.24% MLMG::ResNormInf() 93 0.0022 0.0022 0.0022 0.23% Castro::apply_source_to_state() 20 0.001882 0.001882 0.001882 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001882 0.001882 0.001882 0.20% check_for_negative_density() 10 0.001799 0.001799 0.001799 0.19% Castro::reset_internal_energy(Fab) 504 0.001735 0.001735 0.001735 0.18% MLMG::getGradSolution() 11 0.001636 0.001636 0.001636 0.17% MLCellLinOp::setLevelBC() 11 0.001631 0.001631 0.001631 0.17% MLCellLinOp::compGrad() 11 0.00163 0.00163 0.00163 0.17% FabArrayBase::getCPC() 1323 0.001456 0.001456 0.001456 0.15% FabArray::setDomainBndry() 41 0.001393 0.001393 0.001393 0.15% FabArray::mult() 43 0.001385 0.001385 0.001385 0.15% MLPoisson::prepareForSolve() 11 0.001334 0.001334 0.001334 0.14% MLCellLinOp::prepareForSolve() 11 0.001327 0.001327 0.001327 0.14% MLMG::computeMLResidual() 11 0.001295 0.001295 0.001295 0.14% Castro::check_for_nan() 20 0.001279 0.001279 0.001279 0.13% MultiFab::contains_nan() 20 0.001265 0.001265 0.001265 0.13% Castro::post_regrid() 1 0.001119 0.001119 0.001119 0.12% Castro::computeInitialDt() 2 0.001053 0.001053 0.001053 0.11% Gravity::update_max_rhs() 11 0.0009988 0.0009988 0.0009988 0.11% FabArrayBase::getFB() 3941 0.0007177 0.0007177 0.0007177 0.08% FabArrayBase::CPC::define() 454 0.0006566 0.0006566 0.0006566 0.07% Castro::finalize_advance() 10 0.000628 0.000628 0.000628 0.07% Castro::Castro() 1 0.0005832 0.0005832 0.0005832 0.06% Amr::InitAmr() 1 0.0005725 0.0005725 0.0005725 0.06% Gravity::swapTimeLevels() 10 0.0004869 0.0004869 0.0004869 0.05% MultiFab::max() 11 0.0003372 0.0003372 0.0003372 0.04% MLMG::MLResNormInf() 11 0.000325 0.000325 0.000325 0.03% Castro::buildMetrics() 1 0.0002897 0.0002897 0.0002897 0.03% MLLinOp::define() 11 0.0002418 0.0002418 0.0002418 0.03% MLMG::MLRhsNormInf() 11 0.0002325 0.0002325 0.0002325 0.02% MLLinOp::defineGrids() 11 0.0002292 0.0002292 0.0002292 0.02% Castro::create_source_corrector() 10 0.0001818 0.0001818 0.0001818 0.02% FabArrayBase::FB::FB() 56 8.376e-05 8.376e-05 8.376e-05 0.01% Castro::enforce_consistent_e() 1 6.919e-05 6.919e-05 6.919e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.698e-05 5.698e-05 5.698e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.659e-05 4.659e-05 4.659e-05 0.00% makeSFC 55 4.24e-05 4.24e-05 4.24e-05 0.00% Castro::swap_state_time_levels() 10 4.044e-05 4.044e-05 4.044e-05 0.00% StateData::define() 4 3.462e-05 3.462e-05 3.462e-05 0.00% Amr::writeSmallPlotFile() 1 3.373e-05 3.373e-05 3.373e-05 0.00% Castro::initMFs() 1 2.791e-05 2.791e-05 2.791e-05 0.00% DistributionMapping::Distribute() 56 1.696e-05 1.696e-05 1.696e-05 0.00% Amr::initSubcycle() 1 1.07e-05 1.07e-05 1.07e-05 0.00% AmrLevel::checkPointPost() 3 5.167e-06 5.167e-06 5.167e-06 0.00% Castro::retry_advance_ctu() 10 4.768e-06 4.768e-06 4.768e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.487e-06 4.487e-06 4.487e-06 0.00% Gravity::set_mass_offset() 11 4.098e-06 4.098e-06 4.098e-06 0.00% Castro::FluxRegCrseInit 10 3.111e-06 3.111e-06 3.111e-06 0.00% AmrLevel::checkPointPre() 3 3.019e-06 3.019e-06 3.019e-06 0.00% Castro::FluxRegFineAdd() 10 2.312e-06 2.312e-06 2.312e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.109e-06 2.109e-06 2.109e-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 5344 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 988 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1501 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7615 KiB 14 MiB MLMG::prepareForSolve() 660 660 3543 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 201 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 166 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7520 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2043 B 2048 KiB Gravity::solve_for_phi() 80 80 562 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 98 KiB 2048 KiB BndryData::define() 1056 1056 323 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 206 KiB 671 KiB Castro::estTimeStep() 21 21 3069 B 480 KiB VisMF::Write(FabArray) 656 656 3257 B 320 KiB Castro::normalize_species() 62 62 6616 B 320 KiB amrex::average_down 1067 1067 1571 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1134 B 257 KiB amrex::Dot() 1360 1360 4567 B 160 KiB FabArray::norminf() 1143 1143 3292 B 160 KiB check_for_negative_density() 10 10 304 B 160 KiB Castro::initData() 1 1 50 B 160 KiB MultiFab::max() 11 11 55 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3461 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 285 B 9648 B MLCellLinOp::applyBC() 8702 8702 215 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3925 B 6144 B StateData::FillBoundary(geom) 1992 1992 43 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 364 B 1248 B MLCGSolver::bicgstab 410 410 102 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 494 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 88 KiB 8192 KiB VisMF::Write(FabArray) 744 744 406 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3461 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 284 B 9648 B MLCellLinOp::applyBC() 4351 4351 213 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 2897 B 3072 B StateData::FillBoundary(geom) 1992 1992 43 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 295 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 27 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 (24.04-6-g771c439170bf) finalized Initializing AMReX (24.04-6-g771c439170bf)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-6-g771c439170bf) initialized Starting run at 07:54:16 UTC on 2024-04-05. Successfully read inputs file ... Castro git describe: 24.04-3-g0462ceb8e AMReX git describe: 24.04-6-g771c43917 Microphysics git describe: 24.04-3-gd82c8c88 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.516320559 Restart time = 0.070924872 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.069577726 [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.064227261 [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.075649268 [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.06695312 [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.068138288 [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.027423038 seconds Ending run at 07:54:16 UTC on 2024-04-05. Run time = 0.44397673 Run time without initialization = 0.372396468 Average number of zones advanced per microsecond: 3.520 Average number of zones advanced per microsecond per rank: 3.520 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.444 ... 0.444 ... 0.444 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1492 0.1492 0.1492 33.60% VisMF::Read() 3 0.05969 0.05969 0.05969 13.44% MLCellLinOp::applyBC() 1910 0.03597 0.03597 0.03597 8.10% VisMF::Write(FabArray) 1 0.02467 0.02467 0.02467 5.56% MLPoisson::Fsmooth() 1440 0.01502 0.01502 0.01502 3.38% StateData::FillBoundary(geom) 160 0.01343 0.01343 0.01343 3.02% FillBoundary_nowait() 1730 0.01307 0.01307 0.01307 2.94% amrex::Dot() 484 0.009376 0.009376 0.009376 2.11% Castro::normalize_species() 30 0.00928 0.00928 0.00928 2.09% FabArray::norminf() 465 0.008763 0.008763 0.008763 1.97% Castro::computeTemp() 30 0.007668 0.007668 0.007668 1.73% FabArray::setVal() 501 0.006662 0.006662 0.006662 1.50% FabArray::ParallelCopy_nowait() 380 0.006315 0.006315 0.006315 1.42% Castro::enforce_min_density() 30 0.0063 0.0063 0.0063 1.42% FabArray::Saxpy() 597 0.005965 0.005965 0.005965 1.34% MLCellLinOp::defineAuxData() 6 0.005772 0.005772 0.005772 1.30% amrex::Copy() 221 0.005531 0.005531 0.005531 1.25% Gravity::fill_multipole_BCs() 6 0.005228 0.005228 0.005228 1.18% StateDataPhysBCFunct::() 20 0.005172 0.005172 0.005172 1.16% Amr::restart() 1 0.004866 0.004866 0.004866 1.10% MLPoisson::Fapply() 464 0.004594 0.004594 0.004594 1.03% FabArray::Xpay() 325 0.003534 0.003534 0.003534 0.80% MLMG::addInterpCorrection() 180 0.003169 0.003169 0.003169 0.71% Castro::estTimeStep() 10 0.00299 0.00299 0.00299 0.67% amrex::average_down 180 0.002782 0.002782 0.002782 0.63% Amr::writePlotFile() 1 0.002577 0.002577 0.002577 0.58% BndryData::define() 6 0.002211 0.002211 0.002211 0.50% Castro::construct_new_gravity_source() 5 0.001914 0.001914 0.001914 0.43% Castro::enforce_speed_limit() 30 0.00166 0.00166 0.00166 0.37% amrex::Add() 36 0.001563 0.001563 0.001563 0.35% Castro::construct_old_gravity_source() 5 0.001539 0.001539 0.001539 0.35% Castro::reset_internal_energy(MultiFab) 30 0.001494 0.001494 0.001494 0.34% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001008 0.001008 0.001008 0.23% check_for_negative_density() 5 0.0009624 0.0009624 0.0009624 0.22% MLCellLinOp::setLevelBC() 6 0.0009123 0.0009123 0.0009123 0.21% Castro::reset_internal_energy(Fab) 240 0.0008505 0.0008505 0.0008505 0.19% Gravity::actual_solve_with_mlmg() 6 0.0008331 0.0008331 0.0008331 0.19% MLCellLinOp::prepareForSolve() 6 0.0007596 0.0007596 0.0007596 0.17% MLCGSolver::bicgstab 36 0.0007289 0.0007289 0.0007289 0.16% FabArray::setDomainBndry() 20 0.0007084 0.0007084 0.0007084 0.16% FabArray::mult() 22 0.0007023 0.0007023 0.0007023 0.16% MultiFab::contains_nan() 10 0.0006614 0.0006614 0.0006614 0.15% MLCellLinOp::compGrad() 6 0.000601 0.000601 0.000601 0.14% MLCellLinOp::smooth() 720 0.0005567 0.0005567 0.0005567 0.13% MLMG::prepareForSolve() 6 0.000553 0.000553 0.000553 0.12% Amr::InitAmr() 1 0.0004742 0.0004742 0.0004742 0.11% FabArrayBase::CPC::define() 244 0.0004345 0.0004345 0.0004345 0.10% FabArrayBase::getCPC() 632 0.0003798 0.0003798 0.0003798 0.09% FabArray::FillBoundary() 1730 0.0003215 0.0003215 0.0003215 0.07% Gravity::get_old_grav_vector() 5 0.0003201 0.0003201 0.0003201 0.07% main() 1 0.0002949 0.0002949 0.0002949 0.07% FabArrayBase::getFB() 1730 0.0002676 0.0002676 0.0002676 0.06% Gravity::get_new_grav_vector() 5 0.0002644 0.0002644 0.0002644 0.06% MultiFab::max() 6 0.0002083 0.0002083 0.0002083 0.05% AmrLevel::FillPatch() 20 0.0002066 0.0002066 0.0002066 0.05% MLCellLinOp::apply() 464 0.0001941 0.0001941 0.0001941 0.04% Amr::coarseTimeStep() 5 0.0001604 0.0001604 0.0001604 0.04% MLCellLinOp::defineBC() 6 0.00014 0.00014 0.00014 0.03% MLCGSolver::ParallelAllReduce 798 0.000133 0.000133 0.000133 0.03% Castro::create_source_corrector() 5 0.0001098 0.0001098 0.0001098 0.02% FabArray::ParallelCopy() 380 0.0001094 0.0001094 0.0001094 0.02% FillPatchIterator::Initialize 20 0.000108 0.000108 0.000108 0.02% MLLinOp::defineGrids() 6 0.0001015 0.0001015 0.0001015 0.02% Castro::subcycle_advance_ctu() 5 9.937e-05 9.937e-05 9.937e-05 0.02% Amr::timeStep() 5 8.559e-05 8.559e-05 8.559e-05 0.02% MLMG::mgVcycle() 36 8.483e-05 8.483e-05 8.483e-05 0.02% MLCellLinOp::correctionResidual() 180 7.394e-05 7.394e-05 7.394e-05 0.02% Castro::construct_new_source() 25 7.264e-05 7.264e-05 7.264e-05 0.02% AmrLevel::restart() 1 7.003e-05 7.003e-05 7.003e-05 0.02% StateData::restartDoit() 4 6.459e-05 6.459e-05 6.459e-05 0.01% Gravity::update_max_rhs() 6 6.401e-05 6.401e-05 6.401e-05 0.01% Castro::advance() 5 5.883e-05 5.883e-05 5.883e-05 0.01% FabArrayBase::FB::FB() 26 5.68e-05 5.68e-05 5.68e-05 0.01% Gravity::solve_for_phi() 5 4.971e-05 4.971e-05 4.971e-05 0.01% MLMG:computeResOfCorrection() 180 4.803e-05 4.803e-05 4.803e-05 0.01% Castro::do_advance_ctu() 5 4.36e-05 4.36e-05 4.36e-05 0.01% Castro::finalize_do_advance() 5 4.231e-05 4.231e-05 4.231e-05 0.01% MLMG::mgVcycle_down::0 36 3.833e-05 3.833e-05 3.833e-05 0.01% MLMG::actualBottomSolve() 36 3.744e-05 3.744e-05 3.744e-05 0.01% Castro::initialize_advance() 5 3.566e-05 3.566e-05 3.566e-05 0.01% MLMG::mgVcycle_down::1 36 3.544e-05 3.544e-05 3.544e-05 0.01% MLMG::solve() 6 3.454e-05 3.454e-05 3.454e-05 0.01% Castro::clean_state() 30 3.421e-05 3.421e-05 3.421e-05 0.01% Castro::post_timestep() 5 3.361e-05 3.361e-05 3.361e-05 0.01% MLMG::mgVcycle_down::2 36 3.298e-05 3.298e-05 3.298e-05 0.01% Castro::finalize_advance() 5 3.147e-05 3.147e-05 3.147e-05 0.01% MLMG::mgVcycle_down::4 36 3.125e-05 3.125e-05 3.125e-05 0.01% Castro::do_new_sources() 5 3.071e-05 3.071e-05 3.071e-05 0.01% MLMG::mgVcycle_down::3 36 3.001e-05 3.001e-05 3.001e-05 0.01% Amr::writeSmallPlotFile() 1 2.978e-05 2.978e-05 2.978e-05 0.01% Castro::construct_old_source() 25 2.922e-05 2.922e-05 2.922e-05 0.01% Castro::initialize_do_advance() 5 2.89e-05 2.89e-05 2.89e-05 0.01% MLMG::mgVcycle_up::4 36 2.791e-05 2.791e-05 2.791e-05 0.01% Castro::buildMetrics() 1 2.751e-05 2.751e-05 2.751e-05 0.01% Castro::swap_state_time_levels() 5 2.591e-05 2.591e-05 2.591e-05 0.01% MLMG::oneIter() 36 2.475e-05 2.475e-05 2.475e-05 0.01% Castro::initMFs() 1 2.365e-05 2.365e-05 2.365e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.269e-05 2.269e-05 2.269e-05 0.01% MLMG::mgVcycle_up::3 36 2.264e-05 2.264e-05 2.264e-05 0.01% Castro::post_restart() 1 2.214e-05 2.214e-05 2.214e-05 0.00% MLMG::mgVcycle_up::0 36 2.134e-05 2.134e-05 2.134e-05 0.00% MLMG::mgVcycle_up::2 36 2.048e-05 2.048e-05 2.048e-05 0.00% MLPoisson::define() 6 2.01e-05 2.01e-05 2.01e-05 0.00% MLCellLinOp::solutionResidual() 42 2.006e-05 2.006e-05 2.006e-05 0.00% MLMG::mgVcycle_up::1 36 2e-05 2e-05 2e-05 0.00% FillPatchSingleLevel 20 1.689e-05 1.689e-05 1.689e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.635e-05 1.635e-05 1.635e-05 0.00% MLMG::ResNormInf() 42 1.627e-05 1.627e-05 1.627e-05 0.00% Gravity::actual_multilevel_solve() 1 1.621e-05 1.621e-05 1.621e-05 0.00% MLMG::mgVcycle_bottom 36 1.563e-05 1.563e-05 1.563e-05 0.00% MLMG::computeResidual() 36 1.521e-05 1.521e-05 1.521e-05 0.00% makeSFC 30 1.406e-05 1.406e-05 1.406e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.371e-05 1.371e-05 1.371e-05 0.00% Castro::construct_new_gravity() 5 1.195e-05 1.195e-05 1.195e-05 0.00% Castro::do_old_sources() 5 1.1e-05 1.1e-05 1.1e-05 0.00% Amr::initSubcycle() 1 1.008e-05 1.008e-05 1.008e-05 0.00% DistributionMapping::Distribute() 31 8.722e-06 8.722e-06 8.722e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.522e-06 7.522e-06 7.522e-06 0.00% MLLinOp::define() 6 6.744e-06 6.744e-06 6.744e-06 0.00% Castro::check_for_nan() 10 6.42e-06 6.42e-06 6.42e-06 0.00% Castro::apply_source_to_state() 10 6.303e-06 6.303e-06 6.303e-06 0.00% Castro::construct_old_gravity() 5 6.3e-06 6.3e-06 6.3e-06 0.00% MLMG::computeMLResidual() 6 4.232e-06 4.232e-06 4.232e-06 0.00% Gravity::swapTimeLevels() 5 4.055e-06 4.055e-06 4.055e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.723e-06 3.723e-06 3.723e-06 0.00% Castro::computeNewDt() 5 3.652e-06 3.652e-06 3.652e-06 0.00% MLPoisson::prepareForSolve() 6 3.494e-06 3.494e-06 3.494e-06 0.00% MLMG::getGradSolution() 6 3.222e-06 3.222e-06 3.222e-06 0.00% Castro::expand_state() 5 3.035e-06 3.035e-06 3.035e-06 0.00% Gravity::set_mass_offset() 6 2.721e-06 2.721e-06 2.721e-06 0.00% MLMG::MLResNormInf() 6 2.406e-06 2.406e-06 2.406e-06 0.00% MLMG::MLRhsNormInf() 6 2.077e-06 2.077e-06 2.077e-06 0.00% Castro::retry_advance_ctu() 5 2.005e-06 2.005e-06 2.005e-06 0.00% Castro::FluxRegCrseInit 5 1.513e-06 1.513e-06 1.513e-06 0.00% Castro::FluxRegFineAdd() 5 1.25e-06 1.25e-06 1.25e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.077e-06 1.077e-06 1.077e-06 0.00% Amr::init() 1 9.01e-07 9.01e-07 9.01e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.444 0.444 0.444 100.00% Amr::coarseTimeStep() 5 0.3447 0.3447 0.3447 77.63% Amr::timeStep() 5 0.3427 0.3427 0.3427 77.18% Castro::advance() 5 0.3372 0.3372 0.3372 75.93% Castro::subcycle_advance_ctu() 5 0.3295 0.3295 0.3295 74.20% Castro::do_advance_ctu() 5 0.3294 0.3294 0.3294 74.18% Castro::construct_ctu_hydro_source() 5 0.1549 0.1549 0.1549 34.90% Castro::construct_new_gravity() 5 0.1377 0.1377 0.1377 31.01% Gravity::solve_phi_with_mlmg() 6 0.1346 0.1346 0.1346 30.31% Gravity::solve_for_phi() 5 0.1293 0.1293 0.1293 29.13% Gravity::actual_solve_with_mlmg() 6 0.1291 0.1291 0.1291 29.08% MLMG::solve() 6 0.1167 0.1167 0.1167 26.29% MLMG::oneIter() 36 0.109 0.109 0.109 24.55% MLMG::mgVcycle() 36 0.1074 0.1074 0.1074 24.19% Amr::init() 1 0.07097 0.07097 0.07097 15.98% Amr::restart() 1 0.07097 0.07097 0.07097 15.98% AmrLevel::restart() 1 0.06004 0.06004 0.06004 13.52% StateData::restartDoit() 4 0.05997 0.05997 0.05997 13.51% VisMF::Read() 3 0.05969 0.05969 0.05969 13.44% MLCellLinOp::smooth() 720 0.05349 0.05349 0.05349 12.05% MLCellLinOp::applyBC() 1910 0.04969 0.04969 0.04969 11.19% MLMG::mgVcycle_bottom 36 0.03209 0.03209 0.03209 7.23% MLMG::actualBottomSolve() 36 0.03208 0.03208 0.03208 7.22% MLCGSolver::bicgstab 36 0.03171 0.03171 0.03171 7.14% Amr::writePlotFile() 1 0.02751 0.02751 0.02751 6.20% Castro::clean_state() 30 0.02729 0.02729 0.02729 6.15% VisMF::Write(FabArray) 1 0.02467 0.02467 0.02467 5.56% AmrLevel::FillPatch() 20 0.02365 0.02365 0.02365 5.33% FillPatchIterator::Initialize 20 0.02154 0.02154 0.02154 4.85% FillPatchIterator::FillFromLevel0() 20 0.02072 0.02072 0.02072 4.67% FillPatchSingleLevel 20 0.0207 0.0207 0.0207 4.66% StateDataPhysBCFunct::() 20 0.0186 0.0186 0.0186 4.19% MLCellLinOp::apply() 464 0.01628 0.01628 0.01628 3.67% MLMG::mgVcycle_down::0 36 0.01518 0.01518 0.01518 3.42% MLPoisson::Fsmooth() 1440 0.01502 0.01502 0.01502 3.38% FabArray::FillBoundary() 1730 0.01372 0.01372 0.01372 3.09% StateData::FillBoundary(geom) 160 0.01343 0.01343 0.01343 3.02% FillBoundary_nowait() 1730 0.0134 0.0134 0.0134 3.02% MLMG::mgVcycle_up::0 36 0.01136 0.01136 0.01136 2.56% Castro::initialize_do_advance() 5 0.01108 0.01108 0.01108 2.49% Castro::computeTemp() 30 0.01001 0.01001 0.01001 2.26% MLPoisson::define() 6 0.00971 0.00971 0.00971 2.19% Castro::do_old_sources() 5 0.009524 0.009524 0.009524 2.15% amrex::Dot() 484 0.009376 0.009376 0.009376 2.11% Castro::normalize_species() 30 0.00928 0.00928 0.00928 2.09% MLMG:computeResOfCorrection() 180 0.009032 0.009032 0.009032 2.03% MLCellLinOp::correctionResidual() 180 0.008984 0.008984 0.008984 2.02% FabArray::norminf() 465 0.008763 0.008763 0.008763 1.97% Gravity::get_new_grav_vector() 5 0.008233 0.008233 0.008233 1.85% Castro::construct_old_gravity() 5 0.007853 0.007853 0.007853 1.77% Gravity::get_old_grav_vector() 5 0.007846 0.007846 0.007846 1.77% MLMG::mgVcycle_down::1 36 0.00748 0.00748 0.00748 1.68% Castro::initialize_advance() 5 0.007311 0.007311 0.007311 1.65% MLMG::mgVcycle_down::2 36 0.006843 0.006843 0.006843 1.54% FabArray::ParallelCopy() 380 0.006818 0.006818 0.006818 1.54% FabArray::ParallelCopy_nowait() 380 0.006709 0.006709 0.006709 1.51% MLMG::mgVcycle_down::3 36 0.006687 0.006687 0.006687 1.51% FabArray::setVal() 501 0.006662 0.006662 0.006662 1.50% MLMG::mgVcycle_down::4 36 0.006611 0.006611 0.006611 1.49% MLCellLinOp::defineAuxData() 6 0.006598 0.006598 0.006598 1.49% Castro::do_new_sources() 5 0.006588 0.006588 0.006588 1.48% Castro::enforce_min_density() 30 0.0063 0.0063 0.0063 1.42% Castro::expand_state() 5 0.006061 0.006061 0.006061 1.37% FabArray::Saxpy() 597 0.005965 0.005965 0.005965 1.34% Castro::post_restart() 1 0.00588 0.00588 0.00588 1.32% MLCGSolver::ParallelAllReduce 798 0.005661 0.005661 0.005661 1.28% MLMG::addInterpCorrection() 180 0.00554 0.00554 0.00554 1.25% amrex::Copy() 221 0.005531 0.005531 0.005531 1.25% Gravity::multilevel_solve_for_new_phi() 1 0.005504 0.005504 0.005504 1.24% Gravity::actual_multilevel_solve() 1 0.005488 0.005488 0.005488 1.24% Castro::post_timestep() 5 0.005437 0.005437 0.005437 1.22% Gravity::fill_multipole_BCs() 6 0.005357 0.005357 0.005357 1.21% MLMG::mgVcycle_up::1 36 0.005356 0.005356 0.005356 1.21% MLMG::mgVcycle_up::4 36 0.005343 0.005343 0.005343 1.20% MLMG::mgVcycle_up::2 36 0.005232 0.005232 0.005232 1.18% amrex::average_down 180 0.005149 0.005149 0.005149 1.16% MLMG::mgVcycle_up::3 36 0.005129 0.005129 0.005129 1.16% MLPoisson::Fapply() 464 0.004594 0.004594 0.004594 1.03% MLCellLinOp::solutionResidual() 42 0.00369 0.00369 0.00369 0.83% FabArray::Xpay() 325 0.003534 0.003534 0.003534 0.80% Castro::estTimeStep() 10 0.00299 0.00299 0.00299 0.67% MLCellLinOp::defineBC() 6 0.002954 0.002954 0.002954 0.67% MLMG::prepareForSolve() 6 0.002896 0.002896 0.002896 0.65% MLMG::computeResidual() 36 0.00287 0.00287 0.00287 0.65% BndryData::define() 6 0.002814 0.002814 0.002814 0.63% Castro::reset_internal_energy(MultiFab) 30 0.002345 0.002345 0.002345 0.53% Castro::construct_new_source() 25 0.001987 0.001987 0.001987 0.45% Castro::construct_new_gravity_source() 5 0.001914 0.001914 0.001914 0.43% Castro::computeNewDt() 5 0.001859 0.001859 0.001859 0.42% Castro::enforce_speed_limit() 30 0.00166 0.00166 0.00166 0.37% Castro::construct_old_source() 25 0.001568 0.001568 0.001568 0.35% amrex::Add() 36 0.001563 0.001563 0.001563 0.35% Castro::construct_old_gravity_source() 5 0.001539 0.001539 0.001539 0.35% Castro::finalize_do_advance() 5 0.001177 0.001177 0.001177 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001008 0.001008 0.001008 0.23% MLMG::ResNormInf() 42 0.0009972 0.0009972 0.0009972 0.22% Castro::apply_source_to_state() 10 0.0009641 0.0009641 0.0009641 0.22% check_for_negative_density() 5 0.0009624 0.0009624 0.0009624 0.22% MLCellLinOp::setLevelBC() 6 0.0009123 0.0009123 0.0009123 0.21% MLMG::getGradSolution() 6 0.0009001 0.0009001 0.0009001 0.20% MLCellLinOp::compGrad() 6 0.0008969 0.0008969 0.0008969 0.20% Castro::reset_internal_energy(Fab) 240 0.0008505 0.0008505 0.0008505 0.19% MLMG::computeMLResidual() 6 0.00084 0.00084 0.00084 0.19% FabArrayBase::getCPC() 632 0.0008143 0.0008143 0.0008143 0.18% MLPoisson::prepareForSolve() 6 0.0007631 0.0007631 0.0007631 0.17% MLCellLinOp::prepareForSolve() 6 0.0007596 0.0007596 0.0007596 0.17% Gravity::update_max_rhs() 6 0.000742 0.000742 0.000742 0.17% FabArray::setDomainBndry() 20 0.0007084 0.0007084 0.0007084 0.16% FabArray::mult() 22 0.0007023 0.0007023 0.0007023 0.16% Castro::check_for_nan() 10 0.0006678 0.0006678 0.0006678 0.15% MultiFab::contains_nan() 10 0.0006614 0.0006614 0.0006614 0.15% Amr::InitAmr() 1 0.0004843 0.0004843 0.0004843 0.11% FabArrayBase::CPC::define() 244 0.0004345 0.0004345 0.0004345 0.10% FabArrayBase::getFB() 1730 0.0003244 0.0003244 0.0003244 0.07% Castro::finalize_advance() 5 0.0003103 0.0003103 0.0003103 0.07% Gravity::swapTimeLevels() 5 0.0002513 0.0002513 0.0002513 0.06% MultiFab::max() 6 0.0002083 0.0002083 0.0002083 0.05% MLMG::MLResNormInf() 6 0.0001893 0.0001893 0.0001893 0.04% Castro::buildMetrics() 1 0.000158 0.000158 0.000158 0.04% MLLinOp::define() 6 0.0001384 0.0001384 0.0001384 0.03% MLLinOp::defineGrids() 6 0.0001316 0.0001316 0.0001316 0.03% MLMG::MLRhsNormInf() 6 0.0001228 0.0001228 0.0001228 0.03% Castro::create_source_corrector() 5 0.0001098 0.0001098 0.0001098 0.02% FabArrayBase::FB::FB() 26 5.68e-05 5.68e-05 5.68e-05 0.01% Amr::writeSmallPlotFile() 1 2.978e-05 2.978e-05 2.978e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.905e-05 2.905e-05 2.905e-05 0.01% Castro::swap_state_time_levels() 5 2.591e-05 2.591e-05 2.591e-05 0.01% Castro::initMFs() 1 2.365e-05 2.365e-05 2.365e-05 0.01% makeSFC 30 2.153e-05 2.153e-05 2.153e-05 0.00% Amr::initSubcycle() 1 1.008e-05 1.008e-05 1.008e-05 0.00% DistributionMapping::Distribute() 31 8.722e-06 8.722e-06 8.722e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.973e-06 4.973e-06 4.973e-06 0.00% Gravity::set_mass_offset() 6 2.721e-06 2.721e-06 2.721e-06 0.00% Castro::retry_advance_ctu() 5 2.005e-06 2.005e-06 2.005e-06 0.00% Castro::FluxRegCrseInit 5 1.513e-06 1.513e-06 1.513e-06 0.00% Castro::FluxRegFineAdd() 5 1.25e-06 1.25e-06 1.25e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.077e-06 1.077e-06 1.077e-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 10 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 1053 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1644 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 6458 KiB 14 MiB MLMG::prepareForSolve() 361 361 3227 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 183 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 189 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6445 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 19 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3330 B 2048 KiB Gravity::solve_for_phi() 40 40 595 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 297 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 191 KiB 671 KiB Castro::estTimeStep() 10 10 3181 B 480 KiB VisMF::Write(FabArray) 112 112 1257 B 320 KiB Castro::normalize_species() 30 30 6804 B 320 KiB amrex::average_down 469 469 1372 B 257 KiB MLMG::addInterpCorrection() 468 468 1060 B 257 KiB amrex::Dot() 592 592 3119 B 160 KiB FabArray::norminf() 501 501 3047 B 160 KiB check_for_negative_density() 5 5 347 B 160 KiB MultiFab::max() 6 6 73 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3127 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 254 B 9648 B MLCellLinOp::applyBC() 3820 3820 202 B 9344 B amrex::Copy() 56 56 5884 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 43 B 2880 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 334 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 1124 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 81 KiB 8192 KiB VisMF::Write(FabArray) 120 120 154 KiB 3584 KiB VisMF::Read() 24 24 204 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3127 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 254 B 9648 B MLCellLinOp::applyBC() 1910 1910 200 B 9328 B amrex::Copy() 56 56 5884 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2534 B 3072 B StateData::FillBoundary(geom) 960 960 43 B 2880 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B MLMG::prepareForSolve() 7 7 793 B 1648 B amrex::average_down 37 37 465 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 (24.04-6-g771c439170bf) finalized