Initializing AMReX (24.04-22-g64d2360b209c)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-22-g64d2360b209c) initialized Starting run at 07:59:34 UTC on 2024-04-19. Successfully read inputs file ... Castro git describe: 24.04-15-g5cacc9476 AMReX git describe: 24.04-22-g64d2360b2 Microphysics git describe: 24.04-9-g4ad225b7 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.045916502 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025465421 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.069025622 [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.051578204 [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.080056808 [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.077906224 [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.058338076 [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.053121827 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.053799759 [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.071714004 [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.078983954 [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.067396197 [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.063418754 [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.099661786 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025376239 seconds Ending run at 07:59:35 UTC on 2024-04-19. Run time = 0.977940215 Run time without initialization = 0.851064359 Average number of zones advanced per microsecond: 3.080 Average number of zones advanced per microsecond per rank: 3.080 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.978 ... 0.978 ... 0.978 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2907 0.2907 0.2907 29.73% VisMF::Write(FabArray) 11 0.1855 0.1855 0.1855 18.97% MLCellLinOp::applyBC() 4351 0.08163 0.08163 0.08163 8.35% Amr::checkPoint() 3 0.06127 0.06127 0.06127 6.26% MLPoisson::Fsmooth() 3280 0.03398 0.03398 0.03398 3.47% FillBoundary_nowait() 3941 0.03088 0.03088 0.03088 3.16% StateData::FillBoundary(geom) 328 0.02669 0.02669 0.02669 2.73% amrex::Dot() 1114 0.02171 0.02171 0.02171 2.22% Castro::normalize_species() 62 0.02075 0.02075 0.02075 2.12% FabArray::norminf() 1061 0.02013 0.02013 0.02013 2.06% Castro::computeTemp() 63 0.01657 0.01657 0.01657 1.69% FabArray::ParallelCopy_nowait() 861 0.01386 0.01386 0.01386 1.42% FabArray::setVal() 1062 0.01366 0.01366 0.01366 1.40% FabArray::Saxpy() 1370 0.01334 0.01334 0.01334 1.36% StateDataPhysBCFunct::() 41 0.01164 0.01164 0.01164 1.19% amrex::Copy() 472 0.01102 0.01102 0.01102 1.13% Castro::enforce_min_density() 62 0.01088 0.01088 0.01088 1.11% MLCellLinOp::defineAuxData() 11 0.01055 0.01055 0.01055 1.08% MLPoisson::Fapply() 1060 0.01045 0.01045 0.01045 1.07% Gravity::fill_multipole_BCs() 11 0.009777 0.009777 0.009777 1.00% FabArray::Xpay() 739 0.007952 0.007952 0.007952 0.81% MLMG::addInterpCorrection() 410 0.007059 0.007059 0.007059 0.72% amrex::average_down 410 0.006246 0.006246 0.006246 0.64% Castro::estTimeStep() 21 0.005128 0.005128 0.005128 0.52% Castro::reset_internal_energy(MultiFab) 63 0.004873 0.004873 0.004873 0.50% BndryData::define() 11 0.004042 0.004042 0.004042 0.41% amrex::Add() 82 0.003618 0.003618 0.003618 0.37% Castro::construct_new_gravity_source() 10 0.003608 0.003608 0.003608 0.37% Castro::enforce_speed_limit() 62 0.003277 0.003277 0.003277 0.34% Castro::construct_old_gravity_source() 10 0.002949 0.002949 0.002949 0.30% Amr::writePlotFile() 2 0.00225 0.00225 0.00225 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001834 0.001834 0.001834 0.19% Castro::reset_internal_energy(Fab) 504 0.00183 0.00183 0.00183 0.19% check_for_negative_density() 10 0.001825 0.001825 0.001825 0.19% MLCellLinOp::setLevelBC() 11 0.001617 0.001617 0.001617 0.17% MLCGSolver::bicgstab 82 0.001581 0.001581 0.001581 0.16% Gravity::actual_solve_with_mlmg() 11 0.00155 0.00155 0.00155 0.16% Castro::initData() 1 0.001528 0.001528 0.001528 0.16% FabArray::setDomainBndry() 41 0.001401 0.001401 0.001401 0.14% FabArray::mult() 43 0.001401 0.001401 0.001401 0.14% MLCellLinOp::prepareForSolve() 11 0.001337 0.001337 0.001337 0.14% MultiFab::contains_nan() 20 0.001273 0.001273 0.001273 0.13% MLCellLinOp::smooth() 1640 0.001139 0.001139 0.001139 0.12% MLCellLinOp::compGrad() 11 0.001066 0.001066 0.001066 0.11% MLMG::prepareForSolve() 11 0.0009425 0.0009425 0.0009425 0.10% FabArrayBase::getCPC() 1323 0.0007829 0.0007829 0.0007829 0.08% FabArray::FillBoundary() 3941 0.0007688 0.0007688 0.0007688 0.08% Gravity::get_new_grav_vector() 11 0.0006056 0.0006056 0.0006056 0.06% Gravity::get_old_grav_vector() 10 0.0004848 0.0004848 0.0004848 0.05% MLCellLinOp::apply() 1060 0.0004119 0.0004119 0.0004119 0.04% AmrLevel::FillPatch() 41 0.0004109 0.0004109 0.0004109 0.04% Amr::coarseTimeStep() 10 0.0003809 0.0003809 0.0003809 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003202 0.0003202 0.0003202 0.03% main() 1 0.0002844 0.0002844 0.0002844 0.03% MLCellLinOp::defineBC() 11 0.0002613 0.0002613 0.0002613 0.03% FabArray::ParallelCopy() 861 0.0002605 0.0002605 0.0002605 0.03% FillPatchIterator::Initialize 41 0.000216 0.000216 0.000216 0.02% MLMG::mgVcycle() 82 0.0002025 0.0002025 0.0002025 0.02% Castro::subcycle_advance_ctu() 10 0.0001855 0.0001855 0.0001855 0.02% MLCellLinOp::correctionResidual() 410 0.0001647 0.0001647 0.0001647 0.02% Amr::timeStep() 10 0.0001564 0.0001564 0.0001564 0.02% MLMG:computeResOfCorrection() 410 0.0001334 0.0001334 0.0001334 0.01% StateData::checkPoint() 12 0.0001251 0.0001251 0.0001251 0.01% Gravity::solve_for_phi() 10 0.0001049 0.0001049 0.0001049 0.01% AmrLevel::checkPoint() 3 9.351e-05 9.351e-05 9.351e-05 0.01% Castro::initialize_advance() 10 8.599e-05 8.599e-05 8.599e-05 0.01% Castro::clean_state() 62 8.42e-05 8.42e-05 8.42e-05 0.01% MLMG::actualBottomSolve() 82 8.249e-05 8.249e-05 8.249e-05 0.01% MLMG::mgVcycle_down::0 82 8.133e-05 8.133e-05 8.133e-05 0.01% Castro::construct_new_source() 50 7.844e-05 7.844e-05 7.844e-05 0.01% MLMG::mgVcycle_down::1 82 7.407e-05 7.407e-05 7.407e-05 0.01% MLMG::mgVcycle_down::2 82 7.213e-05 7.213e-05 7.213e-05 0.01% MLMG::mgVcycle_down::4 82 7.124e-05 7.124e-05 7.124e-05 0.01% Castro::advance() 10 7.111e-05 7.111e-05 7.111e-05 0.01% MLMG::mgVcycle_down::3 82 6.839e-05 6.839e-05 6.839e-05 0.01% MLMG::solve() 11 6.583e-05 6.583e-05 6.583e-05 0.01% Castro::initialize_do_advance() 10 5.901e-05 5.901e-05 5.901e-05 0.01% MLMG::oneIter() 82 5.482e-05 5.482e-05 5.482e-05 0.01% MLMG::mgVcycle_up::4 82 5.116e-05 5.116e-05 5.116e-05 0.01% Castro::do_advance_ctu() 10 4.87e-05 4.87e-05 4.87e-05 0.00% MLMG::mgVcycle_up::0 82 4.792e-05 4.792e-05 4.792e-05 0.00% MLMG::mgVcycle_up::1 82 4.615e-05 4.615e-05 4.615e-05 0.00% MLMG::mgVcycle_up::3 82 4.587e-05 4.587e-05 4.587e-05 0.00% Castro::do_new_sources() 10 4.58e-05 4.58e-05 4.58e-05 0.00% MLCellLinOp::solutionResidual() 93 4.576e-05 4.576e-05 4.576e-05 0.00% FillPatchIterator::FillFromLevel0() 41 4.559e-05 4.559e-05 4.559e-05 0.00% Castro::finalize_do_advance() 10 4.517e-05 4.517e-05 4.517e-05 0.00% MLMG::mgVcycle_up::2 82 4.48e-05 4.48e-05 4.48e-05 0.00% FillPatchSingleLevel 41 3.595e-05 3.595e-05 3.595e-05 0.00% Castro::post_timestep() 10 3.549e-05 3.549e-05 3.549e-05 0.00% MLMG::ResNormInf() 93 3.33e-05 3.33e-05 3.33e-05 0.00% MLMG::mgVcycle_bottom 82 3.252e-05 3.252e-05 3.252e-05 0.00% Amr::defBaseLevel() 1 3.14e-05 3.14e-05 3.14e-05 0.00% MLMG::computeResidual() 82 3.074e-05 3.074e-05 3.074e-05 0.00% MLPoisson::define() 11 2.563e-05 2.563e-05 2.563e-05 0.00% Castro::construct_new_gravity() 10 2.429e-05 2.429e-05 2.429e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.312e-05 2.312e-05 2.312e-05 0.00% Castro::do_old_sources() 10 2.295e-05 2.295e-05 2.295e-05 0.00% Castro::construct_old_source() 50 2.032e-05 2.032e-05 2.032e-05 0.00% Amr::FinalizeInit() 1 1.939e-05 1.939e-05 1.939e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.748e-05 1.748e-05 1.748e-05 0.00% Gravity::actual_multilevel_solve() 1 1.452e-05 1.452e-05 1.452e-05 0.00% Castro::computeNewDt() 9 1.384e-05 1.384e-05 1.384e-05 0.00% Castro::apply_source_to_state() 20 1.206e-05 1.206e-05 1.206e-05 0.00% MLMG::computeMLResidual() 11 1.151e-05 1.151e-05 1.151e-05 0.00% Castro::check_for_nan() 20 1.131e-05 1.131e-05 1.131e-05 0.00% Castro::construct_old_gravity() 10 9.828e-06 9.828e-06 9.828e-06 0.00% MLPoisson::prepareForSolve() 11 6.811e-06 6.811e-06 6.811e-06 0.00% Castro::expand_state() 10 5.839e-06 5.839e-06 5.839e-06 0.00% MLMG::getGradSolution() 11 5.796e-06 5.796e-06 5.796e-06 0.00% Amr::InitializeInit() 1 5.603e-06 5.603e-06 5.603e-06 0.00% Castro::post_init() 1 4.525e-06 4.525e-06 4.525e-06 0.00% Amr::init() 1 2.274e-06 2.274e-06 2.274e-06 0.00% Amr::initialInit() 1 1.063e-06 1.063e-06 1.063e-06 0.00% Other 4753 0.003364 0.003364 0.003364 0.34% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.978 0.978 0.978 100.00% Amr::coarseTimeStep() 10 0.8254 0.8254 0.8254 84.40% Amr::timeStep() 10 0.6691 0.6691 0.6691 68.42% Castro::advance() 10 0.6592 0.6592 0.6592 67.40% Castro::subcycle_advance_ctu() 10 0.6452 0.6452 0.6452 65.97% Castro::do_advance_ctu() 10 0.645 0.645 0.645 65.95% Castro::construct_ctu_hydro_source() 10 0.302 0.302 0.302 30.88% Gravity::solve_phi_with_mlmg() 11 0.2979 0.2979 0.2979 30.46% Gravity::actual_solve_with_mlmg() 11 0.2876 0.2876 0.2876 29.41% Castro::construct_new_gravity() 10 0.2686 0.2686 0.2686 27.47% MLMG::solve() 11 0.2653 0.2653 0.2653 27.12% Gravity::solve_for_phi() 10 0.2525 0.2525 0.2525 25.82% MLMG::oneIter() 82 0.2497 0.2497 0.2497 25.53% MLMG::mgVcycle() 82 0.246 0.246 0.246 25.16% Amr::checkPoint() 3 0.1988 0.1988 0.1988 20.33% VisMF::Write(FabArray) 11 0.1855 0.1855 0.1855 18.97% AmrLevel::checkPoint() 3 0.1376 0.1376 0.1376 14.07% StateData::checkPoint() 12 0.1375 0.1375 0.1375 14.06% Amr::init() 1 0.1262 0.1262 0.1262 12.90% MLCellLinOp::smooth() 1640 0.1228 0.1228 0.1228 12.56% MLCellLinOp::applyBC() 4351 0.114 0.114 0.114 11.66% MLMG::mgVcycle_bottom 82 0.07368 0.07368 0.07368 7.53% MLMG::actualBottomSolve() 82 0.07365 0.07365 0.07365 7.53% MLCGSolver::bicgstab 82 0.07282 0.07282 0.07282 7.45% Castro::clean_state() 62 0.05735 0.05735 0.05735 5.86% Amr::initialInit() 1 0.05464 0.05464 0.05464 5.59% Amr::writePlotFile() 2 0.05096 0.05096 0.05096 5.21% Amr::FinalizeInit() 1 0.0495 0.0495 0.0495 5.06% AmrLevel::FillPatch() 41 0.04848 0.04848 0.04848 4.96% Castro::post_init() 1 0.04812 0.04812 0.04812 4.92% Gravity::multilevel_solve_for_new_phi() 1 0.0458 0.0458 0.0458 4.68% Gravity::actual_multilevel_solve() 1 0.04578 0.04578 0.04578 4.68% FillPatchIterator::Initialize 41 0.04416 0.04416 0.04416 4.52% FillPatchIterator::FillFromLevel0() 41 0.04255 0.04255 0.04255 4.35% FillPatchSingleLevel 41 0.0425 0.0425 0.0425 4.35% StateDataPhysBCFunct::() 41 0.03833 0.03833 0.03833 3.92% MLCellLinOp::apply() 1060 0.03664 0.03664 0.03664 3.75% MLMG::mgVcycle_down::0 82 0.0349 0.0349 0.0349 3.57% MLPoisson::Fsmooth() 3280 0.03398 0.03398 0.03398 3.47% FabArray::FillBoundary() 3941 0.03236 0.03236 0.03236 3.31% FillBoundary_nowait() 3941 0.03159 0.03159 0.03159 3.23% StateData::FillBoundary(geom) 328 0.02669 0.02669 0.02669 2.73% MLMG::mgVcycle_up::0 82 0.02644 0.02644 0.02644 2.70% Castro::computeTemp() 63 0.02327 0.02327 0.02327 2.38% Castro::initialize_do_advance() 10 0.02207 0.02207 0.02207 2.26% amrex::Dot() 1114 0.02171 0.02171 0.02171 2.22% Castro::normalize_species() 62 0.02075 0.02075 0.02075 2.12% MLMG:computeResOfCorrection() 410 0.02068 0.02068 0.02068 2.11% MLCellLinOp::correctionResidual() 410 0.02055 0.02055 0.02055 2.10% FabArray::norminf() 1061 0.02013 0.02013 0.02013 2.06% Castro::do_old_sources() 10 0.01936 0.01936 0.01936 1.98% Gravity::get_new_grav_vector() 11 0.01796 0.01796 0.01796 1.84% MLPoisson::define() 11 0.01761 0.01761 0.01761 1.80% MLMG::mgVcycle_down::1 82 0.01687 0.01687 0.01687 1.73% Castro::construct_old_gravity() 10 0.01571 0.01571 0.01571 1.61% Gravity::get_old_grav_vector() 10 0.0157 0.0157 0.0157 1.61% MLMG::mgVcycle_down::2 82 0.01568 0.01568 0.01568 1.60% MLMG::mgVcycle_down::3 82 0.01527 0.01527 0.01527 1.56% MLMG::mgVcycle_down::4 82 0.01515 0.01515 0.01515 1.55% FabArray::ParallelCopy() 861 0.01492 0.01492 0.01492 1.53% FabArray::ParallelCopy_nowait() 861 0.01466 0.01466 0.01466 1.50% Castro::do_new_sources() 10 0.01448 0.01448 0.01448 1.48% FabArray::setVal() 1062 0.01366 0.01366 0.01366 1.40% FabArray::Saxpy() 1370 0.01334 0.01334 0.01334 1.36% Castro::initialize_advance() 10 0.01332 0.01332 0.01332 1.36% MLCGSolver::ParallelAllReduce 1832 0.01299 0.01299 0.01299 1.33% MLMG::addInterpCorrection() 410 0.01244 0.01244 0.01244 1.27% MLMG::mgVcycle_up::1 82 0.01217 0.01217 0.01217 1.24% MLMG::mgVcycle_up::4 82 0.01207 0.01207 0.01207 1.23% MLCellLinOp::defineAuxData() 11 0.01201 0.01201 0.01201 1.23% Castro::expand_state() 10 0.01197 0.01197 0.01197 1.22% MLMG::mgVcycle_up::2 82 0.01192 0.01192 0.01192 1.22% MLMG::mgVcycle_up::3 82 0.01167 0.01167 0.01167 1.19% amrex::average_down 410 0.01166 0.01166 0.01166 1.19% amrex::Copy() 472 0.01102 0.01102 0.01102 1.13% Castro::enforce_min_density() 62 0.01088 0.01088 0.01088 1.11% MLPoisson::Fapply() 1060 0.01045 0.01045 0.01045 1.07% Gravity::fill_multipole_BCs() 11 0.01002 0.01002 0.01002 1.02% Castro::post_timestep() 10 0.009774 0.009774 0.009774 1.00% FabArray::Xpay() 739 0.007952 0.007952 0.007952 0.81% MLCellLinOp::solutionResidual() 93 0.007815 0.007815 0.007815 0.80% Castro::reset_internal_energy(MultiFab) 63 0.006703 0.006703 0.006703 0.69% MLMG::computeResidual() 82 0.006554 0.006554 0.006554 0.67% MLCellLinOp::defineBC() 11 0.00533 0.00533 0.00533 0.55% MLMG::prepareForSolve() 11 0.005205 0.005205 0.005205 0.53% Amr::InitializeInit() 1 0.005139 0.005139 0.005139 0.53% Amr::defBaseLevel() 1 0.005133 0.005133 0.005133 0.52% Castro::estTimeStep() 21 0.005128 0.005128 0.005128 0.52% BndryData::define() 11 0.005069 0.005069 0.005069 0.52% Castro::initData() 1 0.004463 0.004463 0.004463 0.46% Castro::construct_new_source() 50 0.003686 0.003686 0.003686 0.38% amrex::Add() 82 0.003618 0.003618 0.003618 0.37% Castro::construct_new_gravity_source() 10 0.003608 0.003608 0.003608 0.37% Castro::enforce_speed_limit() 62 0.003277 0.003277 0.003277 0.34% Castro::construct_old_source() 50 0.002969 0.002969 0.002969 0.30% Castro::construct_old_gravity_source() 10 0.002949 0.002949 0.002949 0.30% Castro::computeNewDt() 9 0.002292 0.002292 0.002292 0.23% MLMG::ResNormInf() 93 0.002182 0.002182 0.002182 0.22% Castro::apply_source_to_state() 20 0.001886 0.001886 0.001886 0.19% Castro::finalize_do_advance() 10 0.001836 0.001836 0.001836 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001834 0.001834 0.001834 0.19% Castro::reset_internal_energy(Fab) 504 0.00183 0.00183 0.00183 0.19% check_for_negative_density() 10 0.001825 0.001825 0.001825 0.19% MLCellLinOp::setLevelBC() 11 0.001617 0.001617 0.001617 0.17% MLMG::getGradSolution() 11 0.001584 0.001584 0.001584 0.16% MLCellLinOp::compGrad() 11 0.001578 0.001578 0.001578 0.16% FabArrayBase::getCPC() 1323 0.001452 0.001452 0.001452 0.15% FabArray::setDomainBndry() 41 0.001401 0.001401 0.001401 0.14% FabArray::mult() 43 0.001401 0.001401 0.001401 0.14% MLPoisson::prepareForSolve() 11 0.001343 0.001343 0.001343 0.14% MLCellLinOp::prepareForSolve() 11 0.001337 0.001337 0.001337 0.14% MLMG::computeMLResidual() 11 0.001303 0.001303 0.001303 0.13% Castro::check_for_nan() 20 0.001284 0.001284 0.001284 0.13% MultiFab::contains_nan() 20 0.001273 0.001273 0.001273 0.13% Other 4753 0.00923 0.00923 0.00923 0.94% -------------------------------------------------------------------------------------------- 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 5455 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 963 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1453 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7616 KiB 14 MiB MLMG::prepareForSolve() 660 660 3336 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 191 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 164 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7521 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2055 B 2048 KiB Gravity::solve_for_phi() 80 80 528 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 95 KiB 2048 KiB BndryData::define() 1056 1056 305 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 194 KiB 671 KiB Castro::estTimeStep() 21 21 2552 B 480 KiB VisMF::Write(FabArray) 656 656 3182 B 320 KiB Castro::normalize_species() 62 62 6915 B 320 KiB amrex::average_down 1067 1067 1541 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1100 B 257 KiB amrex::Dot() 1360 1360 3280 B 160 KiB FabArray::norminf() 1143 1143 3187 B 160 KiB check_for_negative_density() 10 10 299 B 160 KiB Castro::initData() 1 1 49 B 160 KiB MultiFab::max() 11 11 54 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 25 B 20 KiB MLPoisson::Fsmooth() 132 132 3256 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 275 B 9648 B MLCellLinOp::applyBC() 8702 8702 208 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3872 B 6144 B StateData::FillBoundary(geom) 1992 1992 41 B 2752 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 343 B 1248 B MLCGSolver::bicgstab 410 410 89 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 545 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 38 KiB 8192 KiB VisMF::Write(FabArray) 744 744 416 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3256 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 274 B 9648 B MLCellLinOp::applyBC() 4351 4351 206 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3872 B 6144 B Gravity::get_new_grav_vector() 3 3 2902 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 42 B 2752 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 278 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 B 400 B FabArray::norminf() 1143 1143 9 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2105 [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-22-g64d2360b209c) finalized Initializing AMReX (24.04-22-g64d2360b209c)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-22-g64d2360b209c) initialized Starting run at 07:59:36 UTC on 2024-04-19. Successfully read inputs file ... Castro git describe: 24.04-15-g5cacc9476 AMReX git describe: 24.04-22-g64d2360b2 Microphysics git describe: 24.04-9-g4ad225b7 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.516930172 Restart time = 0.072779904 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.066497062 [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.049886818 [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.074396806 [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.08028093 [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.070286836 [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.035941605 seconds Ending run at 07:59:36 UTC on 2024-04-19. Run time = 0.451216677 Run time without initialization = 0.37780129 Average number of zones advanced per microsecond: 3.469 Average number of zones advanced per microsecond per rank: 3.469 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4513 ... 0.4513 ... 0.4513 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1473 0.1473 0.1473 32.65% VisMF::Read() 3 0.06151 0.06151 0.06151 13.63% MLCellLinOp::applyBC() 1910 0.03591 0.03591 0.03591 7.96% VisMF::Write(FabArray) 1 0.03317 0.03317 0.03317 7.35% MLPoisson::Fsmooth() 1440 0.01484 0.01484 0.01484 3.29% StateData::FillBoundary(geom) 160 0.01314 0.01314 0.01314 2.91% FillBoundary_nowait() 1730 0.01297 0.01297 0.01297 2.88% Castro::normalize_species() 30 0.01096 0.01096 0.01096 2.43% amrex::Dot() 484 0.009286 0.009286 0.009286 2.06% FabArray::norminf() 465 0.008739 0.008739 0.008739 1.94% Castro::computeTemp() 30 0.007164 0.007164 0.007164 1.59% FabArray::setVal() 501 0.006689 0.006689 0.006689 1.48% FabArray::ParallelCopy_nowait() 380 0.006246 0.006246 0.006246 1.38% FabArray::Saxpy() 597 0.005922 0.005922 0.005922 1.31% Castro::enforce_min_density() 30 0.005798 0.005798 0.005798 1.28% MLCellLinOp::defineAuxData() 6 0.00571 0.00571 0.00571 1.27% amrex::Copy() 221 0.005496 0.005496 0.005496 1.22% Gravity::fill_multipole_BCs() 6 0.005339 0.005339 0.005339 1.18% StateDataPhysBCFunct::() 20 0.004937 0.004937 0.004937 1.09% Amr::restart() 1 0.004902 0.004902 0.004902 1.09% MLPoisson::Fapply() 464 0.004513 0.004513 0.004513 1.00% FabArray::Xpay() 325 0.003539 0.003539 0.003539 0.78% MLMG::addInterpCorrection() 180 0.003116 0.003116 0.003116 0.69% Castro::estTimeStep() 10 0.003066 0.003066 0.003066 0.68% amrex::average_down 180 0.00273 0.00273 0.00273 0.61% Amr::writePlotFile() 1 0.002606 0.002606 0.002606 0.58% BndryData::define() 6 0.002215 0.002215 0.002215 0.49% Castro::construct_new_gravity_source() 5 0.00189 0.00189 0.00189 0.42% amrex::Add() 36 0.001549 0.001549 0.001549 0.34% Castro::reset_internal_energy(MultiFab) 30 0.001536 0.001536 0.001536 0.34% Castro::construct_old_gravity_source() 5 0.001528 0.001528 0.001528 0.34% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009978 0.0009978 0.0009978 0.22% check_for_negative_density() 5 0.0009402 0.0009402 0.0009402 0.21% Castro::reset_internal_energy(Fab) 240 0.0009213 0.0009213 0.0009213 0.20% MLCellLinOp::setLevelBC() 6 0.0008919 0.0008919 0.0008919 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008472 0.0008472 0.0008472 0.19% MLCellLinOp::prepareForSolve() 6 0.0007556 0.0007556 0.0007556 0.17% MLCGSolver::bicgstab 36 0.0007202 0.0007202 0.0007202 0.16% FabArray::mult() 22 0.0007152 0.0007152 0.0007152 0.16% FabArray::setDomainBndry() 20 0.0007081 0.0007081 0.0007081 0.16% Castro::enforce_speed_limit() 30 0.0006845 0.0006845 0.0006845 0.15% MLCellLinOp::compGrad() 6 0.000599 0.000599 0.000599 0.13% MLCellLinOp::smooth() 720 0.0005572 0.0005572 0.0005572 0.12% MLMG::prepareForSolve() 6 0.0005543 0.0005543 0.0005543 0.12% FabArrayBase::getCPC() 632 0.0003851 0.0003851 0.0003851 0.09% FabArray::FillBoundary() 1730 0.0003475 0.0003475 0.0003475 0.08% main() 1 0.0003318 0.0003318 0.0003318 0.07% Gravity::get_old_grav_vector() 5 0.0003252 0.0003252 0.0003252 0.07% Gravity::get_new_grav_vector() 5 0.0002654 0.0002654 0.0002654 0.06% AmrLevel::FillPatch() 20 0.0002091 0.0002091 0.0002091 0.05% MLCellLinOp::apply() 464 0.0001956 0.0001956 0.0001956 0.04% Amr::coarseTimeStep() 5 0.0001679 0.0001679 0.0001679 0.04% MLCellLinOp::defineBC() 6 0.0001434 0.0001434 0.0001434 0.03% MLCGSolver::ParallelAllReduce 798 0.000135 0.000135 0.000135 0.03% FabArray::ParallelCopy() 380 0.0001212 0.0001212 0.0001212 0.03% Castro::subcycle_advance_ctu() 5 0.0001172 0.0001172 0.0001172 0.03% FillPatchIterator::Initialize 20 0.0001053 0.0001053 0.0001053 0.02% Amr::timeStep() 5 8.795e-05 8.795e-05 8.795e-05 0.02% MLMG::mgVcycle() 36 8.44e-05 8.44e-05 8.44e-05 0.02% MLCellLinOp::correctionResidual() 180 7.55e-05 7.55e-05 7.55e-05 0.02% AmrLevel::restart() 1 7.155e-05 7.155e-05 7.155e-05 0.02% Castro::construct_new_source() 25 7.02e-05 7.02e-05 7.02e-05 0.02% StateData::restartDoit() 4 6.733e-05 6.733e-05 6.733e-05 0.01% Gravity::update_max_rhs() 6 6.404e-05 6.404e-05 6.404e-05 0.01% Castro::advance() 5 5.812e-05 5.812e-05 5.812e-05 0.01% MLMG:computeResOfCorrection() 180 5.523e-05 5.523e-05 5.523e-05 0.01% Gravity::solve_for_phi() 5 4.928e-05 4.928e-05 4.928e-05 0.01% Castro::do_advance_ctu() 5 4.466e-05 4.466e-05 4.466e-05 0.01% Castro::finalize_do_advance() 5 4.296e-05 4.296e-05 4.296e-05 0.01% MLMG::actualBottomSolve() 36 3.789e-05 3.789e-05 3.789e-05 0.01% Castro::initialize_advance() 5 3.764e-05 3.764e-05 3.764e-05 0.01% Castro::construct_old_source() 25 3.758e-05 3.758e-05 3.758e-05 0.01% Castro::clean_state() 30 3.601e-05 3.601e-05 3.601e-05 0.01% MLMG::mgVcycle_down::0 36 3.499e-05 3.499e-05 3.499e-05 0.01% MLMG::solve() 6 3.342e-05 3.342e-05 3.342e-05 0.01% MLMG::mgVcycle_down::1 36 3.312e-05 3.312e-05 3.312e-05 0.01% MLMG::mgVcycle_down::2 36 3.096e-05 3.096e-05 3.096e-05 0.01% MLMG::mgVcycle_down::4 36 2.944e-05 2.944e-05 2.944e-05 0.01% Castro::initialize_do_advance() 5 2.917e-05 2.917e-05 2.917e-05 0.01% MLMG::mgVcycle_down::3 36 2.87e-05 2.87e-05 2.87e-05 0.01% Castro::post_timestep() 5 2.831e-05 2.831e-05 2.831e-05 0.01% MLMG::oneIter() 36 2.509e-05 2.509e-05 2.509e-05 0.01% MLMG::mgVcycle_up::4 36 2.498e-05 2.498e-05 2.498e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.269e-05 2.269e-05 2.269e-05 0.01% Castro::post_restart() 1 2.193e-05 2.193e-05 2.193e-05 0.00% MLCellLinOp::solutionResidual() 42 2.17e-05 2.17e-05 2.17e-05 0.00% MLMG::mgVcycle_up::3 36 2.133e-05 2.133e-05 2.133e-05 0.00% MLMG::mgVcycle_up::0 36 2.006e-05 2.006e-05 2.006e-05 0.00% MLMG::mgVcycle_up::2 36 1.912e-05 1.912e-05 1.912e-05 0.00% MLMG::mgVcycle_up::1 36 1.868e-05 1.868e-05 1.868e-05 0.00% MLPoisson::define() 6 1.855e-05 1.855e-05 1.855e-05 0.00% MLMG::ResNormInf() 42 1.803e-05 1.803e-05 1.803e-05 0.00% FillPatchSingleLevel 20 1.785e-05 1.785e-05 1.785e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.657e-05 1.657e-05 1.657e-05 0.00% Gravity::actual_multilevel_solve() 1 1.593e-05 1.593e-05 1.593e-05 0.00% MLMG::mgVcycle_bottom 36 1.488e-05 1.488e-05 1.488e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.476e-05 1.476e-05 1.476e-05 0.00% MLMG::computeResidual() 36 1.375e-05 1.375e-05 1.375e-05 0.00% Castro::construct_new_gravity() 5 1.257e-05 1.257e-05 1.257e-05 0.00% Castro::do_old_sources() 5 1.148e-05 1.148e-05 1.148e-05 0.00% Castro::do_new_sources() 5 1.029e-05 1.029e-05 1.029e-05 0.00% Castro::expand_state() 5 9.208e-06 9.208e-06 9.208e-06 0.00% Castro::apply_source_to_state() 10 6.712e-06 6.712e-06 6.712e-06 0.00% Castro::construct_old_gravity() 5 5.731e-06 5.731e-06 5.731e-06 0.00% MLMG::computeMLResidual() 6 4.514e-06 4.514e-06 4.514e-06 0.00% MLPoisson::prepareForSolve() 6 3.935e-06 3.935e-06 3.935e-06 0.00% MLMG::getGradSolution() 6 3.432e-06 3.432e-06 3.432e-06 0.00% Castro::computeNewDt() 5 3.304e-06 3.304e-06 3.304e-06 0.00% Amr::init() 1 8.3e-07 8.3e-07 8.3e-07 0.00% Other 2170 0.002549 0.002549 0.002549 0.56% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4512 0.4512 0.4512 99.99% Amr::coarseTimeStep() 5 0.3415 0.3415 0.3415 75.68% Amr::timeStep() 5 0.3394 0.3394 0.3394 75.22% Castro::advance() 5 0.3343 0.3343 0.3343 74.08% Castro::subcycle_advance_ctu() 5 0.3263 0.3263 0.3263 72.31% Castro::do_advance_ctu() 5 0.3262 0.3262 0.3262 72.29% Castro::construct_ctu_hydro_source() 5 0.1531 0.1531 0.1531 33.94% Castro::construct_new_gravity() 5 0.1368 0.1368 0.1368 30.30% Gravity::solve_phi_with_mlmg() 6 0.1339 0.1339 0.1339 29.67% Gravity::solve_for_phi() 5 0.1287 0.1287 0.1287 28.51% Gravity::actual_solve_with_mlmg() 6 0.1283 0.1283 0.1283 28.43% MLMG::solve() 6 0.116 0.116 0.116 25.71% MLMG::oneIter() 36 0.1082 0.1082 0.1082 23.98% MLMG::mgVcycle() 36 0.1067 0.1067 0.1067 23.63% Amr::init() 1 0.07283 0.07283 0.07283 16.14% Amr::restart() 1 0.07282 0.07282 0.07282 16.14% AmrLevel::restart() 1 0.06188 0.06188 0.06188 13.71% StateData::restartDoit() 4 0.0618 0.0618 0.0618 13.70% VisMF::Read() 3 0.06151 0.06151 0.06151 13.63% MLCellLinOp::smooth() 720 0.05323 0.05323 0.05323 11.80% MLCellLinOp::applyBC() 1910 0.04956 0.04956 0.04956 10.98% Amr::writePlotFile() 1 0.03604 0.03604 0.03604 7.99% VisMF::Write(FabArray) 1 0.03317 0.03317 0.03317 7.35% MLMG::mgVcycle_bottom 36 0.03186 0.03186 0.03186 7.06% MLMG::actualBottomSolve() 36 0.03185 0.03185 0.03185 7.06% MLCGSolver::bicgstab 36 0.03148 0.03148 0.03148 6.98% Castro::clean_state() 30 0.0271 0.0271 0.0271 6.01% AmrLevel::FillPatch() 20 0.02312 0.02312 0.02312 5.12% FillPatchIterator::Initialize 20 0.021 0.021 0.021 4.65% FillPatchIterator::FillFromLevel0() 20 0.02019 0.02019 0.02019 4.47% FillPatchSingleLevel 20 0.02016 0.02016 0.02016 4.47% StateDataPhysBCFunct::() 20 0.01807 0.01807 0.01807 4.01% MLCellLinOp::apply() 464 0.01616 0.01616 0.01616 3.58% MLMG::mgVcycle_down::0 36 0.01513 0.01513 0.01513 3.35% MLPoisson::Fsmooth() 1440 0.01484 0.01484 0.01484 3.29% FabArray::FillBoundary() 1730 0.01365 0.01365 0.01365 3.03% FillBoundary_nowait() 1730 0.01331 0.01331 0.01331 2.95% StateData::FillBoundary(geom) 160 0.01314 0.01314 0.01314 2.91% MLMG::mgVcycle_up::0 36 0.0113 0.0113 0.0113 2.50% Castro::normalize_species() 30 0.01096 0.01096 0.01096 2.43% Castro::initialize_do_advance() 5 0.01063 0.01063 0.01063 2.36% MLPoisson::define() 6 0.009641 0.009641 0.009641 2.14% Castro::computeTemp() 30 0.009622 0.009622 0.009622 2.13% amrex::Dot() 484 0.009286 0.009286 0.009286 2.06% MLMG:computeResOfCorrection() 180 0.008955 0.008955 0.008955 1.98% MLCellLinOp::correctionResidual() 180 0.008899 0.008899 0.008899 1.97% Castro::do_old_sources() 5 0.008794 0.008794 0.008794 1.95% FabArray::norminf() 465 0.008739 0.008739 0.008739 1.94% Castro::construct_old_gravity() 5 0.007994 0.007994 0.007994 1.77% Gravity::get_old_grav_vector() 5 0.007988 0.007988 0.007988 1.77% Gravity::get_new_grav_vector() 5 0.007965 0.007965 0.007965 1.77% Castro::initialize_advance() 5 0.007625 0.007625 0.007625 1.69% MLMG::mgVcycle_down::1 36 0.007434 0.007434 0.007434 1.65% Castro::do_new_sources() 5 0.007173 0.007173 0.007173 1.59% MLMG::mgVcycle_down::2 36 0.006828 0.006828 0.006828 1.51% FabArray::ParallelCopy() 380 0.006766 0.006766 0.006766 1.50% FabArray::setVal() 501 0.006689 0.006689 0.006689 1.48% FabArray::ParallelCopy_nowait() 380 0.006645 0.006645 0.006645 1.47% MLMG::mgVcycle_down::3 36 0.006634 0.006634 0.006634 1.47% MLMG::mgVcycle_down::4 36 0.006584 0.006584 0.006584 1.46% MLCellLinOp::defineAuxData() 6 0.006531 0.006531 0.006531 1.45% FabArray::Saxpy() 597 0.005922 0.005922 0.005922 1.31% Castro::post_restart() 1 0.005862 0.005862 0.005862 1.30% Castro::enforce_min_density() 30 0.005798 0.005798 0.005798 1.28% Castro::expand_state() 5 0.005724 0.005724 0.005724 1.27% MLCGSolver::ParallelAllReduce 798 0.005603 0.005603 0.005603 1.24% amrex::Copy() 221 0.005496 0.005496 0.005496 1.22% Gravity::multilevel_solve_for_new_phi() 1 0.00548 0.00548 0.00548 1.21% Gravity::fill_multipole_BCs() 6 0.005468 0.005468 0.005468 1.21% Gravity::actual_multilevel_solve() 1 0.005464 0.005464 0.005464 1.21% MLMG::addInterpCorrection() 180 0.005441 0.005441 0.005441 1.21% MLMG::mgVcycle_up::4 36 0.005316 0.005316 0.005316 1.18% MLMG::mgVcycle_up::1 36 0.00527 0.00527 0.00527 1.17% MLMG::mgVcycle_up::2 36 0.005147 0.005147 0.005147 1.14% amrex::average_down 180 0.0051 0.0051 0.0051 1.13% MLMG::mgVcycle_up::3 36 0.005066 0.005066 0.005066 1.12% Castro::post_timestep() 5 0.00503 0.00503 0.00503 1.11% MLPoisson::Fapply() 464 0.004513 0.004513 0.004513 1.00% MLCellLinOp::solutionResidual() 42 0.003716 0.003716 0.003716 0.82% FabArray::Xpay() 325 0.003539 0.003539 0.003539 0.78% Castro::estTimeStep() 10 0.003066 0.003066 0.003066 0.68% MLCellLinOp::defineBC() 6 0.002952 0.002952 0.002952 0.65% MLMG::prepareForSolve() 6 0.002919 0.002919 0.002919 0.65% MLMG::computeResidual() 36 0.002897 0.002897 0.002897 0.64% BndryData::define() 6 0.002808 0.002808 0.002808 0.62% Castro::reset_internal_energy(MultiFab) 30 0.002458 0.002458 0.002458 0.54% Castro::construct_new_source() 25 0.001961 0.001961 0.001961 0.43% Castro::computeNewDt() 5 0.001915 0.001915 0.001915 0.42% Castro::construct_new_gravity_source() 5 0.00189 0.00189 0.00189 0.42% Castro::construct_old_source() 25 0.001566 0.001566 0.001566 0.35% amrex::Add() 36 0.001549 0.001549 0.001549 0.34% Castro::construct_old_gravity_source() 5 0.001528 0.001528 0.001528 0.34% Castro::finalize_do_advance() 5 0.001197 0.001197 0.001197 0.27% MLMG::ResNormInf() 42 0.0009982 0.0009982 0.0009982 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009978 0.0009978 0.0009978 0.22% Castro::apply_source_to_state() 10 0.0009685 0.0009685 0.0009685 0.21% check_for_negative_density() 5 0.0009402 0.0009402 0.0009402 0.21% Castro::reset_internal_energy(Fab) 240 0.0009213 0.0009213 0.0009213 0.20% MLMG::getGradSolution() 6 0.0008942 0.0008942 0.0008942 0.20% MLCellLinOp::setLevelBC() 6 0.0008919 0.0008919 0.0008919 0.20% MLCellLinOp::compGrad() 6 0.0008907 0.0008907 0.0008907 0.20% MLMG::computeMLResidual() 6 0.000837 0.000837 0.000837 0.19% FabArrayBase::getCPC() 632 0.0008153 0.0008153 0.0008153 0.18% MLPoisson::prepareForSolve() 6 0.0007595 0.0007595 0.0007595 0.17% MLCellLinOp::prepareForSolve() 6 0.0007556 0.0007556 0.0007556 0.17% Gravity::update_max_rhs() 6 0.0007342 0.0007342 0.0007342 0.16% FabArray::mult() 22 0.0007152 0.0007152 0.0007152 0.16% FabArray::setDomainBndry() 20 0.0007081 0.0007081 0.0007081 0.16% Castro::enforce_speed_limit() 30 0.0006845 0.0006845 0.0006845 0.15% Other 2170 0.00446 0.00446 0.00446 0.99% -------------------------------------------------------------------------------------------- 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 1000 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2158 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 6444 KiB 14 MiB MLMG::prepareForSolve() 361 361 3156 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 183 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 180 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6431 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 19 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3242 B 2048 KiB Gravity::solve_for_phi() 40 40 582 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 24 KiB 2048 KiB BndryData::define() 576 576 291 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 187 KiB 671 KiB Castro::estTimeStep() 10 10 3252 B 480 KiB VisMF::Write(FabArray) 112 112 2340 B 320 KiB Castro::normalize_species() 30 30 7913 B 320 KiB amrex::average_down 469 469 1354 B 257 KiB MLMG::addInterpCorrection() 468 468 1032 B 257 KiB amrex::Dot() 592 592 3041 B 160 KiB FabArray::norminf() 501 501 2993 B 160 KiB check_for_negative_density() 5 5 335 B 160 KiB MultiFab::max() 6 6 70 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3057 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 248 B 9648 B MLCellLinOp::applyBC() 3820 3820 198 B 9344 B amrex::Copy() 56 56 5884 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 39 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 327 B 1248 B MLCGSolver::bicgstab 180 180 84 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1111 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 206 KiB 3584 KiB VisMF::Read() 24 24 207 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3057 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 247 B 9648 B MLCellLinOp::applyBC() 1910 1910 197 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 2532 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 40 B 2688 B MLMG::prepareForSolve() 7 7 786 B 1648 B amrex::average_down 37 37 468 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): 2105 [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-22-g64d2360b209c) finalized