Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-24-g27ef4ea56945) initialized Starting run at 08:38:36 UTC on 2023-04-13. Successfully read inputs file ... Castro git describe: 23.04-7-g4402e6bb6 AMReX git describe: 23.04-24-g27ef4ea56 Microphysics git describe: 23.04-4-gabda4ae3 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.056705984 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.032414008 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.046631393 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.048224035 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.048042799 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.060556473 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.076553842 [STEP 5] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.055892935 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.062999934 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.04852451 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.047804716 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.045172982 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.059850727 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.055845696 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.032412785 seconds Ending run at 08:38:36 UTC on 2023-04-13. Run time = 0.826103452 Run time without initialization = 0.689140618 Average number of zones advanced per microsecond: 3.804 Average number of zones advanced per microsecond per rank: 3.804 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8261 ... 0.8261 ... 0.8261 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2264 0.2264 0.2264 27.41% Castro::construct_ctu_hydro_source() 10 0.1796 0.1796 0.1796 21.74% MLCellLinOp::applyBC() 4433 0.07504 0.07504 0.07504 9.08% MLPoisson::Fsmooth() 3280 0.03141 0.03141 0.03141 3.80% FillBoundary_nowait() 4023 0.03124 0.03124 0.03124 3.78% StateDataPhysBCFunct::() 41 0.02674 0.02674 0.02674 3.24% StateData::FillBoundary(geom) 328 0.02386 0.02386 0.02386 2.89% amrex::Dot() 1114 0.01979 0.01979 0.01979 2.40% Castro::normalize_species() 62 0.01457 0.01457 0.01457 1.76% amrex::Copy() 1029 0.01449 0.01449 0.01449 1.75% FabArray::norminf() 743 0.01392 0.01392 0.01392 1.68% Castro::computeTemp() 63 0.01361 0.01361 0.01361 1.65% FabArray::ParallelCopy_nowait() 861 0.01302 0.01302 0.01302 1.58% FabArray::setVal() 1144 0.01284 0.01284 0.01284 1.55% MLPoisson::Fapply() 1142 0.01005 0.01005 0.01005 1.22% MLCellLinOp::defineAuxData() 11 0.009251 0.009251 0.009251 1.12% Castro::enforce_min_density() 62 0.008661 0.008661 0.008661 1.05% FabArray::Saxpy() 813 0.007951 0.007951 0.007951 0.96% FabArray::Xpay() 821 0.007881 0.007881 0.007881 0.95% MLMG::addInterpCorrection() 410 0.006632 0.006632 0.006632 0.80% Gravity::fill_multipole_BCs() 11 0.006502 0.006502 0.006502 0.79% Castro::estTimeStep() 21 0.005891 0.005891 0.005891 0.71% amrex::average_down 410 0.005765 0.005765 0.005765 0.70% FabArray::LinComb() 557 0.004408 0.004408 0.004408 0.53% Castro::reset_internal_energy(MultiFab) 63 0.004369 0.004369 0.004369 0.53% amrex::Add() 164 0.004309 0.004309 0.004309 0.52% Amr::checkPoint() 3 0.003971 0.003971 0.003971 0.48% BndryData::define() 11 0.003534 0.003534 0.003534 0.43% Castro::construct_new_gravity_source() 10 0.003252 0.003252 0.003252 0.39% Castro::construct_old_gravity_source() 10 0.002646 0.002646 0.002646 0.32% Amr::writePlotFile() 2 0.002415 0.002415 0.002415 0.29% MLCGSolver::bicgstab 82 0.002196 0.002196 0.002196 0.27% Castro::do_advance_ctu() 10 0.002119 0.002119 0.002119 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001639 0.001639 0.001639 0.20% Gravity::actual_solve_with_mlmg() 11 0.00145 0.00145 0.00145 0.18% Castro::reset_internal_energy(Fab) 504 0.00141 0.00141 0.00141 0.17% MLCellLinOp::setLevelBC() 11 0.001354 0.001354 0.001354 0.16% FabArray::mult() 43 0.001296 0.001296 0.001296 0.16% FabArray::setDomainBndry() 41 0.001286 0.001286 0.001286 0.16% Castro::initData() 1 0.00126 0.00126 0.00126 0.15% MultiFab::contains_nan() 20 0.001185 0.001185 0.001185 0.14% MLCellLinOp::smooth() 1640 0.001129 0.001129 0.001129 0.14% MLCellLinOp::prepareForSolve() 11 0.001105 0.001105 0.001105 0.13% Castro::enforce_speed_limit() 62 0.001083 0.001083 0.001083 0.13% Castro::subcycle_advance_ctu() 10 0.0009637 0.0009637 0.0009637 0.12% MLCellLinOp::compGrad() 11 0.0008968 0.0008968 0.0008968 0.11% MLMG::prepareForSolve() 11 0.0008592 0.0008592 0.0008592 0.10% FabArray::FillBoundary() 4023 0.0008078 0.0008078 0.0008078 0.10% FabArrayBase::getCPC() 1323 0.0007227 0.0007227 0.0007227 0.09% FabArrayBase::CPC::define() 454 0.0006579 0.0006579 0.0006579 0.08% Gravity::get_new_grav_vector() 11 0.0006296 0.0006296 0.0006296 0.08% FabArrayBase::getFB() 4023 0.0005939 0.0005939 0.0005939 0.07% Gravity::get_old_grav_vector() 10 0.0005361 0.0005361 0.0005361 0.06% Amr::InitAmr() 1 0.0004834 0.0004834 0.0004834 0.06% MLCellLinOp::apply() 1142 0.000463 0.000463 0.000463 0.06% MLMG::mgVcycle() 82 0.0003839 0.0003839 0.0003839 0.05% MLLinOp::defineGrids() 11 0.0003695 0.0003695 0.0003695 0.04% Amr::coarseTimeStep() 10 0.0003488 0.0003488 0.0003488 0.04% MLCGSolver::ParallelAllReduce 1514 0.0003016 0.0003016 0.0003016 0.04% main() 1 0.000284 0.000284 0.000284 0.03% MultiFab::max() 11 0.0002552 0.0002552 0.0002552 0.03% FabArray::ParallelCopy() 861 0.0002445 0.0002445 0.0002445 0.03% FillPatchIterator::Initialize 41 0.0002242 0.0002242 0.0002242 0.03% MLCellLinOp::correctionResidual() 492 0.0002155 0.0002155 0.0002155 0.03% MLCellLinOp::defineBC() 11 0.0002108 0.0002108 0.0002108 0.03% Amr::timeStep() 10 0.0001612 0.0001612 0.0001612 0.02% Castro::create_source_corrector() 10 0.0001432 0.0001432 0.0001432 0.02% StateData::checkPoint() 12 0.0001341 0.0001341 0.0001341 0.02% Gravity::update_max_rhs() 11 0.0001219 0.0001219 0.0001219 0.01% Gravity::solve_for_phi() 10 0.0001164 0.0001164 0.0001164 0.01% MLMG:computeResOfCorrection() 410 0.000111 0.000111 0.000111 0.01% MLMG::actualBottomSolve() 82 8.994e-05 8.994e-05 8.994e-05 0.01% FabArrayBase::FB::FB() 56 8.76e-05 8.76e-05 8.76e-05 0.01% Castro::Castro() 1 8.443e-05 8.443e-05 8.443e-05 0.01% MLMG::mgVcycle_down::0 82 8.426e-05 8.426e-05 8.426e-05 0.01% MLMG::mgVcycle_down::1 82 8.215e-05 8.215e-05 8.215e-05 0.01% AmrLevel::checkPoint() 3 7.821e-05 7.821e-05 7.821e-05 0.01% MLMG::mgVcycle_down::2 82 7.808e-05 7.808e-05 7.808e-05 0.01% Castro::expand_state() 10 7.792e-05 7.792e-05 7.792e-05 0.01% MLMG::solve() 11 7.737e-05 7.737e-05 7.737e-05 0.01% MLMG::mgVcycle_down::4 82 7.389e-05 7.389e-05 7.389e-05 0.01% MLMG::mgVcycle_down::3 82 7.35e-05 7.35e-05 7.35e-05 0.01% Castro::clean_state() 62 7.23e-05 7.23e-05 7.23e-05 0.01% Castro::initialize_advance() 10 6.927e-05 6.927e-05 6.927e-05 0.01% Castro::finalize_advance() 10 6.629e-05 6.629e-05 6.629e-05 0.01% MLMG::mgVcycle_up::4 82 5.931e-05 5.931e-05 5.931e-05 0.01% MLMG::oneIter() 82 5.225e-05 5.225e-05 5.225e-05 0.01% Castro::initialize_do_advance() 10 5.074e-05 5.074e-05 5.074e-05 0.01% MLMG::mgVcycle_up::0 82 5.071e-05 5.071e-05 5.071e-05 0.01% MLMG::mgVcycle_up::1 82 4.833e-05 4.833e-05 4.833e-05 0.01% MLMG::mgVcycle_up::3 82 4.822e-05 4.822e-05 4.822e-05 0.01% MLMG::mgVcycle_up::2 82 4.741e-05 4.741e-05 4.741e-05 0.01% MLCellLinOp::solutionResidual() 93 4.694e-05 4.694e-05 4.694e-05 0.01% Castro::advance() 10 4.012e-05 4.012e-05 4.012e-05 0.00% MLMG::ResNormInf() 93 3.916e-05 3.916e-05 3.916e-05 0.00% Castro::swap_state_time_levels() 10 3.788e-05 3.788e-05 3.788e-05 0.00% Castro::construct_new_source() 50 3.711e-05 3.711e-05 3.711e-05 0.00% Castro::finalize_do_advance() 10 3.497e-05 3.497e-05 3.497e-05 0.00% StateData::define() 4 3.347e-05 3.347e-05 3.347e-05 0.00% Castro::post_timestep() 10 3.338e-05 3.338e-05 3.338e-05 0.00% MLMG::mgVcycle_bottom 82 3.262e-05 3.262e-05 3.262e-05 0.00% Castro::enforce_consistent_e() 1 3.214e-05 3.214e-05 3.214e-05 0.00% MLMG::computeResidual() 82 3.05e-05 3.05e-05 3.05e-05 0.00% FillPatchSingleLevel 41 2.846e-05 2.846e-05 2.846e-05 0.00% Castro::construct_new_gravity() 10 2.438e-05 2.438e-05 2.438e-05 0.00% Amr::writeSmallPlotFile() 1 2.403e-05 2.403e-05 2.403e-05 0.00% Castro::initMFs() 1 2.3e-05 2.3e-05 2.3e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.274e-05 2.274e-05 2.274e-05 0.00% makeSFC 55 2.246e-05 2.246e-05 2.246e-05 0.00% MLPoisson::define() 11 2.167e-05 2.167e-05 2.167e-05 0.00% Amr::defBaseLevel() 1 2.078e-05 2.078e-05 2.078e-05 0.00% Castro::construct_old_source() 50 1.932e-05 1.932e-05 1.932e-05 0.00% Amr::FinalizeInit() 1 1.859e-05 1.859e-05 1.859e-05 0.00% Castro::buildMetrics() 1 1.773e-05 1.773e-05 1.773e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.625e-05 1.625e-05 1.625e-05 0.00% Castro::do_new_sources() 10 1.618e-05 1.618e-05 1.618e-05 0.00% DistributionMapping::Distribute() 56 1.468e-05 1.468e-05 1.468e-05 0.00% Castro::do_old_sources() 10 1.453e-05 1.453e-05 1.453e-05 0.00% MLPoisson::prepareForSolve() 11 1.414e-05 1.414e-05 1.414e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.387e-05 1.387e-05 1.387e-05 0.00% MLMG::computeMLResidual() 11 1.358e-05 1.358e-05 1.358e-05 0.00% Castro::check_for_nan() 20 1.083e-05 1.083e-05 1.083e-05 0.00% MLLinOp::define() 11 1.009e-05 1.009e-05 1.009e-05 0.00% Castro::apply_source_to_state() 20 9.706e-06 9.706e-06 9.706e-06 0.00% AmrLevel::AmrLevel(dm) 1 9.332e-06 9.332e-06 9.332e-06 0.00% Castro::construct_old_gravity() 10 9.313e-06 9.313e-06 9.313e-06 0.00% Amr::initSubcycle() 1 8.685e-06 8.685e-06 8.685e-06 0.00% Gravity::swapTimeLevels() 10 8.365e-06 8.365e-06 8.365e-06 0.00% Gravity::actual_multilevel_solve() 1 7.637e-06 7.637e-06 7.637e-06 0.00% Castro::computeNewDt() 9 6.891e-06 6.891e-06 6.891e-06 0.00% MLMG::getGradSolution() 11 6.215e-06 6.215e-06 6.215e-06 0.00% AmrLevel::checkPointPost() 3 5.568e-06 5.568e-06 5.568e-06 0.00% Amr::InitializeInit() 1 4.696e-06 4.696e-06 4.696e-06 0.00% Castro::retry_advance_ctu() 10 4.524e-06 4.524e-06 4.524e-06 0.00% Gravity::set_mass_offset() 11 3.926e-06 3.926e-06 3.926e-06 0.00% MLMG::MLRhsNormInf() 11 3.754e-06 3.754e-06 3.754e-06 0.00% MLMG::MLResNormInf() 11 3.746e-06 3.746e-06 3.746e-06 0.00% Castro::post_init() 1 3.622e-06 3.622e-06 3.622e-06 0.00% Amr::init() 1 2.976e-06 2.976e-06 2.976e-06 0.00% Castro::FluxRegCrseInit 10 2.849e-06 2.849e-06 2.849e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.566e-06 2.566e-06 2.566e-06 0.00% Castro::computeInitialDt() 2 2.509e-06 2.509e-06 2.509e-06 0.00% Castro::FluxRegFineAdd() 10 2.507e-06 2.507e-06 2.507e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.853e-06 1.853e-06 1.853e-06 0.00% AmrLevel::checkPointPre() 3 1.758e-06 1.758e-06 1.758e-06 0.00% Amr::initialInit() 1 1.046e-06 1.046e-06 1.046e-06 0.00% Castro::post_regrid() 1 8.46e-07 8.46e-07 8.46e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8261 0.8261 0.8261 100.00% Amr::coarseTimeStep() 10 0.6565 0.6565 0.6565 79.47% Amr::timeStep() 10 0.5403 0.5403 0.5403 65.41% Castro::advance() 10 0.5332 0.5332 0.5332 64.55% Castro::subcycle_advance_ctu() 10 0.5224 0.5224 0.5224 63.23% Castro::do_advance_ctu() 10 0.5214 0.5214 0.5214 63.11% Gravity::solve_phi_with_mlmg() 11 0.2768 0.2768 0.2768 33.51% Gravity::actual_solve_with_mlmg() 11 0.2699 0.2699 0.2699 32.67% Castro::construct_new_gravity() 10 0.2534 0.2534 0.2534 30.67% MLMG::solve() 11 0.25 0.25 0.25 30.26% Gravity::solve_for_phi() 10 0.2376 0.2376 0.2376 28.77% MLMG::oneIter() 82 0.236 0.236 0.236 28.57% MLMG::mgVcycle() 82 0.2324 0.2324 0.2324 28.13% VisMF::Write(FabArray) 11 0.2264 0.2264 0.2264 27.41% Castro::construct_ctu_hydro_source() 10 0.1796 0.1796 0.1796 21.74% Amr::checkPoint() 3 0.1686 0.1686 0.1686 20.40% AmrLevel::checkPoint() 3 0.1646 0.1646 0.1646 19.92% StateData::checkPoint() 12 0.1645 0.1645 0.1645 19.91% Amr::init() 1 0.1363 0.1363 0.1363 16.50% MLCellLinOp::smooth() 1640 0.1149 0.1149 0.1149 13.90% MLCellLinOp::applyBC() 4433 0.1078 0.1078 0.1078 13.04% MLMG::mgVcycle_bottom 82 0.07137 0.07137 0.07137 8.64% MLMG::actualBottomSolve() 82 0.07133 0.07133 0.07133 8.63% MLCGSolver::bicgstab 82 0.07065 0.07065 0.07065 8.55% Amr::writePlotFile() 2 0.06495 0.06495 0.06495 7.86% FillPatchIterator::Initialize 41 0.05616 0.05616 0.05616 6.80% FillPatchSingleLevel 41 0.05465 0.05465 0.05465 6.61% StateDataPhysBCFunct::() 41 0.05059 0.05059 0.05059 6.12% Amr::initialInit() 1 0.04709 0.04709 0.04709 5.70% Castro::clean_state() 62 0.04294 0.04294 0.04294 5.20% Amr::FinalizeInit() 1 0.04288 0.04288 0.04288 5.19% Castro::post_init() 1 0.04148 0.04148 0.04148 5.02% Gravity::multilevel_solve_for_new_phi() 1 0.03959 0.03959 0.03959 4.79% Gravity::actual_multilevel_solve() 1 0.03958 0.03958 0.03958 4.79% MLCellLinOp::apply() 1142 0.03549 0.03549 0.03549 4.30% MLMG::mgVcycle_down::0 82 0.03351 0.03351 0.03351 4.06% FabArray::FillBoundary() 4023 0.03273 0.03273 0.03273 3.96% Castro::initialize_do_advance() 10 0.0326 0.0326 0.0326 3.95% FillBoundary_nowait() 4023 0.03192 0.03192 0.03192 3.86% MLPoisson::Fsmooth() 3280 0.03141 0.03141 0.03141 3.80% MLMG::mgVcycle_up::0 82 0.02545 0.02545 0.02545 3.08% Castro::expand_state() 10 0.02504 0.02504 0.02504 3.03% StateData::FillBoundary(geom) 328 0.02386 0.02386 0.02386 2.89% MLCellLinOp::correctionResidual() 492 0.02178 0.02178 0.02178 2.64% amrex::Dot() 1114 0.01979 0.01979 0.01979 2.40% Castro::computeTemp() 63 0.01939 0.01939 0.01939 2.35% MLMG:computeResOfCorrection() 410 0.0192 0.0192 0.0192 2.32% Gravity::get_new_grav_vector() 11 0.01735 0.01735 0.01735 2.10% MLPoisson::define() 11 0.01567 0.01567 0.01567 1.90% MLMG::mgVcycle_down::1 82 0.01538 0.01538 0.01538 1.86% Castro::construct_old_gravity() 10 0.0146 0.0146 0.0146 1.77% Gravity::get_old_grav_vector() 10 0.0146 0.0146 0.0146 1.77% Castro::normalize_species() 62 0.01457 0.01457 0.01457 1.76% amrex::Copy() 1029 0.01449 0.01449 0.01449 1.75% MLMG::mgVcycle_down::2 82 0.0143 0.0143 0.0143 1.73% FabArray::ParallelCopy() 861 0.01406 0.01406 0.01406 1.70% MLMG::mgVcycle_down::3 82 0.01401 0.01401 0.01401 1.70% FabArray::norminf() 743 0.01392 0.01392 0.01392 1.68% MLMG::mgVcycle_down::4 82 0.01385 0.01385 0.01385 1.68% FabArray::ParallelCopy_nowait() 861 0.01381 0.01381 0.01381 1.67% FabArray::setVal() 1144 0.01284 0.01284 0.01284 1.55% Castro::do_new_sources() 10 0.01266 0.01266 0.01266 1.53% MLCGSolver::ParallelAllReduce 1514 0.0119 0.0119 0.0119 1.44% MLMG::addInterpCorrection() 410 0.01164 0.01164 0.01164 1.41% MLMG::mgVcycle_up::4 82 0.01128 0.01128 0.01128 1.37% MLMG::mgVcycle_up::1 82 0.01116 0.01116 0.01116 1.35% MLMG::mgVcycle_up::2 82 0.01095 0.01095 0.01095 1.33% amrex::average_down 410 0.01079 0.01079 0.01079 1.31% MLMG::mgVcycle_up::3 82 0.01072 0.01072 0.01072 1.30% MLCellLinOp::defineAuxData() 11 0.01053 0.01053 0.01053 1.27% Castro::do_old_sources() 10 0.01041 0.01041 0.01041 1.26% Castro::initialize_advance() 10 0.01023 0.01023 0.01023 1.24% MLPoisson::Fapply() 1142 0.01005 0.01005 0.01005 1.22% Castro::enforce_min_density() 62 0.008661 0.008661 0.008661 1.05% FabArray::Saxpy() 813 0.007951 0.007951 0.007951 0.96% FabArray::Xpay() 821 0.007881 0.007881 0.007881 0.95% MLCellLinOp::solutionResidual() 93 0.007061 0.007061 0.007061 0.85% Castro::post_timestep() 10 0.006943 0.006943 0.006943 0.84% Gravity::fill_multipole_BCs() 11 0.006726 0.006726 0.006726 0.81% MLMG::computeResidual() 82 0.006096 0.006096 0.006096 0.74% Castro::estTimeStep() 21 0.005891 0.005891 0.005891 0.71% Castro::reset_internal_energy(MultiFab) 63 0.005779 0.005779 0.005779 0.70% MLCellLinOp::defineBC() 11 0.00469 0.00469 0.00469 0.57% MLMG::prepareForSolve() 11 0.004568 0.004568 0.004568 0.55% BndryData::define() 11 0.00448 0.00448 0.00448 0.54% FabArray::LinComb() 557 0.004408 0.004408 0.004408 0.53% amrex::Add() 164 0.004309 0.004309 0.004309 0.52% Amr::InitializeInit() 1 0.004211 0.004211 0.004211 0.51% Amr::defBaseLevel() 1 0.004207 0.004207 0.004207 0.51% Castro::initData() 1 0.003715 0.003715 0.003715 0.45% Castro::construct_new_source() 50 0.003289 0.003289 0.003289 0.40% Castro::computeNewDt() 9 0.003259 0.003259 0.003259 0.39% Castro::construct_new_gravity_source() 10 0.003252 0.003252 0.003252 0.39% Castro::construct_old_source() 50 0.002665 0.002665 0.002665 0.32% Castro::construct_old_gravity_source() 10 0.002646 0.002646 0.002646 0.32% MLMG::ResNormInf() 93 0.002053 0.002053 0.002053 0.25% Castro::apply_source_to_state() 20 0.001815 0.001815 0.001815 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001639 0.001639 0.001639 0.20% Castro::reset_internal_energy(Fab) 504 0.00141 0.00141 0.00141 0.17% FabArrayBase::getCPC() 1323 0.001381 0.001381 0.001381 0.17% MLMG::getGradSolution() 11 0.001374 0.001374 0.001374 0.17% MLCellLinOp::compGrad() 11 0.001367 0.001367 0.001367 0.17% MLCellLinOp::setLevelBC() 11 0.001354 0.001354 0.001354 0.16% FabArray::mult() 43 0.001296 0.001296 0.001296 0.16% FabArray::setDomainBndry() 41 0.001286 0.001286 0.001286 0.16% Castro::check_for_nan() 20 0.001196 0.001196 0.001196 0.14% MultiFab::contains_nan() 20 0.001185 0.001185 0.001185 0.14% Castro::post_regrid() 1 0.001161 0.001161 0.001161 0.14% MLPoisson::prepareForSolve() 11 0.001119 0.001119 0.001119 0.14% MLCellLinOp::prepareForSolve() 11 0.001105 0.001105 0.001105 0.13% Castro::enforce_speed_limit() 62 0.001083 0.001083 0.001083 0.13% MLMG::computeMLResidual() 11 0.001009 0.001009 0.001009 0.12% Castro::computeInitialDt() 2 0.0009721 0.0009721 0.0009721 0.12% Gravity::update_max_rhs() 11 0.0008041 0.0008041 0.0008041 0.10% FabArrayBase::getFB() 4023 0.0006815 0.0006815 0.0006815 0.08% FabArrayBase::CPC::define() 454 0.0006579 0.0006579 0.0006579 0.08% Castro::finalize_advance() 10 0.0005967 0.0005967 0.0005967 0.07% Amr::InitAmr() 1 0.0004921 0.0004921 0.0004921 0.06% MLLinOp::define() 11 0.0004313 0.0004313 0.0004313 0.05% Gravity::swapTimeLevels() 10 0.000428 0.000428 0.000428 0.05% Castro::Castro() 1 0.0004243 0.0004243 0.0004243 0.05% MLLinOp::defineGrids() 11 0.0004212 0.0004212 0.0004212 0.05% MLMG::MLResNormInf() 11 0.0002811 0.0002811 0.0002811 0.03% MultiFab::max() 11 0.0002552 0.0002552 0.0002552 0.03% MLMG::MLRhsNormInf() 11 0.0002156 0.0002156 0.0002156 0.03% Castro::buildMetrics() 1 0.0001576 0.0001576 0.0001576 0.02% Castro::create_source_corrector() 10 0.0001432 0.0001432 0.0001432 0.02% FabArrayBase::FB::FB() 56 8.76e-05 8.76e-05 8.76e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 4.981e-05 4.981e-05 4.981e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.28e-05 4.28e-05 4.28e-05 0.01% Castro::swap_state_time_levels() 10 3.788e-05 3.788e-05 3.788e-05 0.00% makeSFC 55 3.594e-05 3.594e-05 3.594e-05 0.00% Castro::finalize_do_advance() 10 3.497e-05 3.497e-05 3.497e-05 0.00% StateData::define() 4 3.347e-05 3.347e-05 3.347e-05 0.00% Castro::enforce_consistent_e() 1 3.214e-05 3.214e-05 3.214e-05 0.00% Amr::writeSmallPlotFile() 1 2.403e-05 2.403e-05 2.403e-05 0.00% Castro::initMFs() 1 2.3e-05 2.3e-05 2.3e-05 0.00% DistributionMapping::Distribute() 56 1.468e-05 1.468e-05 1.468e-05 0.00% Amr::initSubcycle() 1 8.685e-06 8.685e-06 8.685e-06 0.00% AmrLevel::checkPointPost() 3 5.568e-06 5.568e-06 5.568e-06 0.00% Castro::retry_advance_ctu() 10 4.524e-06 4.524e-06 4.524e-06 0.00% Gravity::set_mass_offset() 11 3.926e-06 3.926e-06 3.926e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.762e-06 3.762e-06 3.762e-06 0.00% Castro::FluxRegCrseInit 10 2.849e-06 2.849e-06 2.849e-06 0.00% Castro::FluxRegFineAdd() 10 2.507e-06 2.507e-06 2.507e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.853e-06 1.853e-06 1.853e-06 0.00% AmrLevel::checkPointPre() 3 1.758e-06 1.758e-06 1.758e-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 99 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 104 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1762 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2207 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7615 KiB 14 MiB MLMG::prepareForSolve() 660 660 3723 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 218 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 180 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7520 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1855 B 2048 KiB Gravity::solve_for_phi() 80 80 588 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 98 KiB 2048 KiB BndryData::define() 1056 1056 339 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 216 KiB 671 KiB Castro::estTimeStep() 21 21 3088 B 480 KiB VisMF::Write(FabArray) 656 656 3558 B 320 KiB Castro::normalize_species() 62 62 5741 B 320 KiB amrex::average_down 1067 1067 1296 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1206 B 257 KiB amrex::Dot() 1360 1360 3537 B 160 KiB FabArray::norminf() 907 907 2494 B 160 KiB Castro::do_advance_ctu() 10 10 378 B 160 KiB MultiFab::max() 11 11 47 B 160 KiB Castro::initData() 1 1 28 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3640 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 47 B 10 KiB FillBoundary_nowait() 760 760 331 B 9648 B MLCellLinOp::applyBC() 8866 8866 236 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3835 B 6144 B StateData::FillBoundary(geom) 1992 1992 105 B 3168 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 124 B 1472 B MLCellLinOp::defineBC() 66 66 383 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 621 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 53 KiB 8192 KiB VisMF::Write(FabArray) 744 744 634 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3640 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 47 B 10 KiB FillBoundary_nowait() 760 760 330 B 9648 B MLCellLinOp::applyBC() 4433 4433 234 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3835 B 6144 B StateData::FillBoundary(geom) 1992 1992 106 B 3168 B Gravity::get_new_grav_vector() 3 3 2898 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 310 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 907 907 18 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2459 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.04-24-g27ef4ea56945) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-24-g27ef4ea56945) initialized Starting run at 08:38:37 UTC on 2023-04-13. Successfully read inputs file ... Castro git describe: 23.04-7-g4402e6bb6 AMReX git describe: 23.04-24-g27ef4ea56 Microphysics git describe: 23.04-4-gabda4ae3 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.472880292 Restart time = 0.045081027 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.049159766 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.049375853 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.054877887 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.066555461 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.069822162 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.032126223 seconds Ending run at 08:38:38 UTC on 2023-04-13. Run time = 0.368004634 Run time without initialization = 0.322331181 Average number of zones advanced per microsecond: 4.066 Average number of zones advanced per microsecond per rank: 4.066 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.368 ... 0.368 ... 0.368 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1088 0.1088 0.1088 29.55% VisMF::Read() 3 0.03893 0.03893 0.03893 10.58% MLCellLinOp::applyBC() 1946 0.03226 0.03226 0.03226 8.77% VisMF::Write(FabArray) 1 0.03054 0.03054 0.03054 8.30% MLPoisson::Fsmooth() 1440 0.01361 0.01361 0.01361 3.70% FillBoundary_nowait() 1766 0.01263 0.01263 0.01263 3.43% StateData::FillBoundary(geom) 160 0.01099 0.01099 0.01099 2.99% Castro::normalize_species() 30 0.009062 0.009062 0.009062 2.46% amrex::Dot() 484 0.008483 0.008483 0.008483 2.30% amrex::Copy() 463 0.006807 0.006807 0.006807 1.85% FabArray::setVal() 537 0.006095 0.006095 0.006095 1.66% FabArray::norminf() 326 0.006015 0.006015 0.006015 1.63% Castro::computeTemp() 30 0.005969 0.005969 0.005969 1.62% Castro::enforce_min_density() 30 0.005968 0.005968 0.005968 1.62% FabArray::ParallelCopy_nowait() 380 0.005891 0.005891 0.005891 1.60% StateDataPhysBCFunct::() 20 0.005445 0.005445 0.005445 1.48% MLCellLinOp::defineAuxData() 6 0.004958 0.004958 0.004958 1.35% MLPoisson::Fapply() 500 0.00434 0.00434 0.00434 1.18% FabArray::Saxpy() 355 0.00356 0.00356 0.00356 0.97% FabArray::Xpay() 361 0.003391 0.003391 0.003391 0.92% Castro::estTimeStep() 10 0.003339 0.003339 0.003339 0.91% MLMG::addInterpCorrection() 180 0.002869 0.002869 0.002869 0.78% Gravity::fill_multipole_BCs() 6 0.002761 0.002761 0.002761 0.75% amrex::average_down 180 0.002513 0.002513 0.002513 0.68% Amr::restart() 1 0.002463 0.002463 0.002463 0.67% Castro::reset_internal_energy(MultiFab) 30 0.002283 0.002283 0.002283 0.62% Castro::enforce_speed_limit() 30 0.002079 0.002079 0.002079 0.57% BndryData::define() 6 0.001912 0.001912 0.001912 0.52% Castro::construct_new_gravity_source() 5 0.001911 0.001911 0.001911 0.52% FabArray::LinComb() 242 0.001872 0.001872 0.001872 0.51% amrex::Add() 72 0.001851 0.001851 0.001851 0.50% Castro::do_advance_ctu() 5 0.001574 0.001574 0.001574 0.43% Castro::construct_old_gravity_source() 5 0.00151 0.00151 0.00151 0.41% Amr::writePlotFile() 1 0.001419 0.001419 0.001419 0.39% MLCGSolver::bicgstab 36 0.0009759 0.0009759 0.0009759 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000884 0.000884 0.000884 0.24% Gravity::actual_solve_with_mlmg() 6 0.0007705 0.0007705 0.0007705 0.21% MLCellLinOp::setLevelBC() 6 0.0007211 0.0007211 0.0007211 0.20% Castro::reset_internal_energy(Fab) 240 0.0006718 0.0006718 0.0006718 0.18% FabArray::mult() 22 0.0006419 0.0006419 0.0006419 0.17% FabArray::setDomainBndry() 20 0.0006263 0.0006263 0.0006263 0.17% MLCellLinOp::prepareForSolve() 6 0.0005947 0.0005947 0.0005947 0.16% MultiFab::contains_nan() 10 0.0005928 0.0005928 0.0005928 0.16% MLCellLinOp::compGrad() 6 0.0004805 0.0004805 0.0004805 0.13% MLCellLinOp::smooth() 720 0.0004801 0.0004801 0.0004801 0.13% MLMG::prepareForSolve() 6 0.0004774 0.0004774 0.0004774 0.13% FabArrayBase::CPC::define() 244 0.0004063 0.0004063 0.0004063 0.11% Amr::InitAmr() 1 0.0003975 0.0003975 0.0003975 0.11% FabArray::FillBoundary() 1766 0.0003553 0.0003553 0.0003553 0.10% FabArrayBase::getCPC() 632 0.0003458 0.0003458 0.0003458 0.09% main() 1 0.0002964 0.0002964 0.0002964 0.08% Gravity::get_old_grav_vector() 5 0.0002948 0.0002948 0.0002948 0.08% Gravity::get_new_grav_vector() 5 0.000277 0.000277 0.000277 0.08% FabArrayBase::getFB() 1766 0.0002643 0.0002643 0.0002643 0.07% MLCellLinOp::apply() 500 0.0002001 0.0002001 0.0002001 0.05% Amr::coarseTimeStep() 5 0.0001733 0.0001733 0.0001733 0.05% MLMG::mgVcycle() 36 0.0001636 0.0001636 0.0001636 0.04% MLLinOp::defineGrids() 6 0.0001539 0.0001539 0.0001539 0.04% MultiFab::max() 6 0.0001341 0.0001341 0.0001341 0.04% MLCGSolver::ParallelAllReduce 659 0.0001324 0.0001324 0.0001324 0.04% Castro::construct_new_source() 25 0.0001301 0.0001301 0.0001301 0.04% Castro::create_source_corrector() 5 0.0001272 0.0001272 0.0001272 0.03% FabArray::ParallelCopy() 380 0.0001135 0.0001135 0.0001135 0.03% MLCellLinOp::defineBC() 6 0.0001134 0.0001134 0.0001134 0.03% FillPatchIterator::Initialize 20 0.000113 0.000113 0.000113 0.03% MLCellLinOp::correctionResidual() 216 9.114e-05 9.114e-05 9.114e-05 0.02% Castro::initialize_do_advance() 5 9.064e-05 9.064e-05 9.064e-05 0.02% Castro::post_timestep() 5 8.542e-05 8.542e-05 8.542e-05 0.02% Amr::timeStep() 5 7.708e-05 7.708e-05 7.708e-05 0.02% AmrLevel::restart() 1 7.629e-05 7.629e-05 7.629e-05 0.02% Castro::subcycle_advance_ctu() 5 6.913e-05 6.913e-05 6.913e-05 0.02% StateData::restartDoit() 4 6.237e-05 6.237e-05 6.237e-05 0.02% Gravity::solve_for_phi() 5 6.147e-05 6.147e-05 6.147e-05 0.02% Gravity::update_max_rhs() 6 6.06e-05 6.06e-05 6.06e-05 0.02% FabArrayBase::FB::FB() 26 6.015e-05 6.015e-05 6.015e-05 0.02% Castro::construct_old_gravity() 5 5.824e-05 5.824e-05 5.824e-05 0.02% Castro::expand_state() 5 4.887e-05 4.887e-05 4.887e-05 0.01% MLMG:computeResOfCorrection() 180 4.873e-05 4.873e-05 4.873e-05 0.01% MLMG::actualBottomSolve() 36 3.828e-05 3.828e-05 3.828e-05 0.01% MLMG::mgVcycle_down::0 36 3.786e-05 3.786e-05 3.786e-05 0.01% Castro::clean_state() 30 3.646e-05 3.646e-05 3.646e-05 0.01% MLMG::solve() 6 3.527e-05 3.527e-05 3.527e-05 0.01% Castro::advance() 5 3.488e-05 3.488e-05 3.488e-05 0.01% Castro::initialize_advance() 5 3.46e-05 3.46e-05 3.46e-05 0.01% MLMG::mgVcycle_down::1 36 3.44e-05 3.44e-05 3.44e-05 0.01% MLMG::mgVcycle_down::2 36 3.215e-05 3.215e-05 3.215e-05 0.01% MLMG::mgVcycle_down::4 36 3.177e-05 3.177e-05 3.177e-05 0.01% MLMG::mgVcycle_down::3 36 3.109e-05 3.109e-05 3.109e-05 0.01% Castro::finalize_advance() 5 3.035e-05 3.035e-05 3.035e-05 0.01% Castro::construct_old_source() 25 3.031e-05 3.031e-05 3.031e-05 0.01% MLMG::mgVcycle_up::4 36 2.81e-05 2.81e-05 2.81e-05 0.01% Castro::buildMetrics() 1 2.749e-05 2.749e-05 2.749e-05 0.01% Castro::initMFs() 1 2.564e-05 2.564e-05 2.564e-05 0.01% MLMG::oneIter() 36 2.436e-05 2.436e-05 2.436e-05 0.01% Amr::writeSmallPlotFile() 1 2.407e-05 2.407e-05 2.407e-05 0.01% MLMG::mgVcycle_up::0 36 2.376e-05 2.376e-05 2.376e-05 0.01% Castro::swap_state_time_levels() 5 2.344e-05 2.344e-05 2.344e-05 0.01% MLMG::mgVcycle_up::3 36 2.202e-05 2.202e-05 2.202e-05 0.01% MLMG::mgVcycle_up::2 36 2.173e-05 2.173e-05 2.173e-05 0.01% MLMG::mgVcycle_up::1 36 2.103e-05 2.103e-05 2.103e-05 0.01% Castro::post_restart() 1 2.034e-05 2.034e-05 2.034e-05 0.01% MLCellLinOp::solutionResidual() 42 1.99e-05 1.99e-05 1.99e-05 0.01% Castro::finalize_do_advance() 5 1.985e-05 1.985e-05 1.985e-05 0.01% MLMG::ResNormInf() 42 1.674e-05 1.674e-05 1.674e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.526e-05 1.526e-05 1.526e-05 0.00% MLMG::mgVcycle_bottom 36 1.493e-05 1.493e-05 1.493e-05 0.00% FillPatchSingleLevel 20 1.414e-05 1.414e-05 1.414e-05 0.00% MLPoisson::define() 6 1.407e-05 1.407e-05 1.407e-05 0.00% MLMG::computeResidual() 36 1.386e-05 1.386e-05 1.386e-05 0.00% Castro::construct_new_gravity() 5 1.254e-05 1.254e-05 1.254e-05 0.00% makeSFC 30 1.249e-05 1.249e-05 1.249e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.148e-05 1.148e-05 1.148e-05 0.00% MLPoisson::prepareForSolve() 6 1.004e-05 1.004e-05 1.004e-05 0.00% MLMG::computeMLResidual() 6 9.449e-06 9.449e-06 9.449e-06 0.00% Castro::do_new_sources() 5 8.97e-06 8.97e-06 8.97e-06 0.00% DistributionMapping::Distribute() 31 8.909e-06 8.909e-06 8.909e-06 0.00% Amr::initSubcycle() 1 8.45e-06 8.45e-06 8.45e-06 0.00% Castro::do_old_sources() 5 8.244e-06 8.244e-06 8.244e-06 0.00% Gravity::actual_multilevel_solve() 1 7.546e-06 7.546e-06 7.546e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.391e-06 7.391e-06 7.391e-06 0.00% Castro::check_for_nan() 10 5.661e-06 5.661e-06 5.661e-06 0.00% MLLinOp::define() 6 5.547e-06 5.547e-06 5.547e-06 0.00% Castro::apply_source_to_state() 10 5.242e-06 5.242e-06 5.242e-06 0.00% Gravity::swapTimeLevels() 5 4.363e-06 4.363e-06 4.363e-06 0.00% Castro::computeNewDt() 5 3.631e-06 3.631e-06 3.631e-06 0.00% MLMG::getGradSolution() 6 3.144e-06 3.144e-06 3.144e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.954e-06 2.954e-06 2.954e-06 0.00% MLMG::MLResNormInf() 6 2.199e-06 2.199e-06 2.199e-06 0.00% Gravity::set_mass_offset() 6 2.103e-06 2.103e-06 2.103e-06 0.00% MLMG::MLRhsNormInf() 6 2.098e-06 2.098e-06 2.098e-06 0.00% Castro::retry_advance_ctu() 5 1.865e-06 1.865e-06 1.865e-06 0.00% Castro::FluxRegCrseInit 5 1.453e-06 1.453e-06 1.453e-06 0.00% Castro::FluxRegFineAdd() 5 1.22e-06 1.22e-06 1.22e-06 0.00% Amr::init() 1 1.051e-06 1.051e-06 1.051e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.048e-06 1.048e-06 1.048e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.368 0.368 0.368 100.00% Amr::coarseTimeStep() 5 0.29 0.29 0.29 78.79% Amr::timeStep() 5 0.288 0.288 0.288 78.26% Castro::advance() 5 0.2826 0.2826 0.2826 76.77% Castro::subcycle_advance_ctu() 5 0.2749 0.2749 0.2749 74.69% Castro::do_advance_ctu() 5 0.2748 0.2748 0.2748 74.68% Castro::construct_new_gravity() 5 0.1255 0.1255 0.1255 34.10% Gravity::solve_phi_with_mlmg() 6 0.1211 0.1211 0.1211 32.92% Gravity::solve_for_phi() 5 0.1181 0.1181 0.1181 32.10% Gravity::actual_solve_with_mlmg() 6 0.1181 0.1181 0.1181 32.09% Castro::construct_ctu_hydro_source() 5 0.1088 0.1088 0.1088 29.55% MLMG::solve() 6 0.1074 0.1074 0.1074 29.19% MLMG::oneIter() 36 0.1007 0.1007 0.1007 27.37% MLMG::mgVcycle() 36 0.09916 0.09916 0.09916 26.94% MLCellLinOp::smooth() 720 0.04865 0.04865 0.04865 13.22% MLCellLinOp::applyBC() 1946 0.04558 0.04558 0.04558 12.38% Amr::init() 1 0.04512 0.04512 0.04512 12.26% Amr::restart() 1 0.04512 0.04512 0.04512 12.26% AmrLevel::restart() 1 0.03913 0.03913 0.03913 10.63% StateData::restartDoit() 4 0.03905 0.03905 0.03905 10.61% VisMF::Read() 3 0.03893 0.03893 0.03893 10.58% Amr::writePlotFile() 1 0.03221 0.03221 0.03221 8.75% MLMG::mgVcycle_bottom 36 0.03065 0.03065 0.03065 8.33% MLMG::actualBottomSolve() 36 0.03064 0.03064 0.03064 8.32% VisMF::Write(FabArray) 1 0.03054 0.03054 0.03054 8.30% MLCGSolver::bicgstab 36 0.03035 0.03035 0.03035 8.25% Castro::clean_state() 30 0.02607 0.02607 0.02607 7.08% FillPatchIterator::Initialize 20 0.01921 0.01921 0.01921 5.22% FillPatchSingleLevel 20 0.01847 0.01847 0.01847 5.02% StateDataPhysBCFunct::() 20 0.01643 0.01643 0.01643 4.46% MLCellLinOp::apply() 500 0.0153 0.0153 0.0153 4.16% MLMG::mgVcycle_down::0 36 0.01404 0.01404 0.01404 3.81% MLPoisson::Fsmooth() 1440 0.01361 0.01361 0.01361 3.70% FabArray::FillBoundary() 1766 0.01331 0.01331 0.01331 3.62% FillBoundary_nowait() 1766 0.01296 0.01296 0.01296 3.52% StateData::FillBoundary(geom) 160 0.01099 0.01099 0.01099 2.99% MLMG::mgVcycle_up::0 36 0.0106 0.0106 0.0106 2.88% Castro::initialize_do_advance() 5 0.009741 0.009741 0.009741 2.65% MLCellLinOp::correctionResidual() 216 0.00928 0.00928 0.00928 2.52% Castro::normalize_species() 30 0.009062 0.009062 0.009062 2.46% Castro::computeTemp() 30 0.008924 0.008924 0.008924 2.42% amrex::Dot() 484 0.008483 0.008483 0.008483 2.30% MLPoisson::define() 6 0.008442 0.008442 0.008442 2.29% MLMG:computeResOfCorrection() 180 0.00816 0.00816 0.00816 2.22% Castro::do_new_sources() 5 0.007453 0.007453 0.007453 2.03% Castro::initialize_advance() 5 0.00733 0.00733 0.00733 1.99% Gravity::get_new_grav_vector() 5 0.007257 0.007257 0.007257 1.97% Castro::construct_old_gravity() 5 0.007189 0.007189 0.007189 1.95% Gravity::get_old_grav_vector() 5 0.007131 0.007131 0.007131 1.94% amrex::Copy() 463 0.006807 0.006807 0.006807 1.85% MLMG::mgVcycle_down::1 36 0.006607 0.006607 0.006607 1.80% FabArray::ParallelCopy() 380 0.006383 0.006383 0.006383 1.73% FabArray::ParallelCopy_nowait() 380 0.00627 0.00627 0.00627 1.70% MLMG::mgVcycle_down::2 36 0.006156 0.006156 0.006156 1.67% FabArray::setVal() 537 0.006095 0.006095 0.006095 1.66% FabArray::norminf() 326 0.006015 0.006015 0.006015 1.63% MLMG::mgVcycle_down::3 36 0.006012 0.006012 0.006012 1.63% Castro::enforce_min_density() 30 0.005968 0.005968 0.005968 1.62% MLMG::mgVcycle_down::4 36 0.005955 0.005955 0.005955 1.62% MLCellLinOp::defineAuxData() 6 0.005665 0.005665 0.005665 1.54% Castro::do_old_sources() 5 0.005478 0.005478 0.005478 1.49% Castro::post_timestep() 5 0.0054 0.0054 0.0054 1.47% Castro::expand_state() 5 0.005292 0.005292 0.005292 1.44% MLCGSolver::ParallelAllReduce 659 0.005122 0.005122 0.005122 1.39% MLMG::addInterpCorrection() 180 0.005041 0.005041 0.005041 1.37% MLMG::mgVcycle_up::4 36 0.004854 0.004854 0.004854 1.32% MLMG::mgVcycle_up::1 36 0.004809 0.004809 0.004809 1.31% amrex::average_down 180 0.0047 0.0047 0.0047 1.28% MLMG::mgVcycle_up::2 36 0.004696 0.004696 0.004696 1.28% MLMG::mgVcycle_up::3 36 0.004622 0.004622 0.004622 1.26% MLPoisson::Fapply() 500 0.00434 0.00434 0.00434 1.18% FabArray::Saxpy() 355 0.00356 0.00356 0.00356 0.97% FabArray::Xpay() 361 0.003391 0.003391 0.003391 0.92% Castro::post_restart() 1 0.003357 0.003357 0.003357 0.91% Castro::estTimeStep() 10 0.003339 0.003339 0.003339 0.91% Gravity::multilevel_solve_for_new_phi() 1 0.003249 0.003249 0.003249 0.88% Gravity::actual_multilevel_solve() 1 0.003234 0.003234 0.003234 0.88% MLCellLinOp::solutionResidual() 42 0.003165 0.003165 0.003165 0.86% Castro::reset_internal_energy(MultiFab) 30 0.002954 0.002954 0.002954 0.80% Gravity::fill_multipole_BCs() 6 0.002918 0.002918 0.002918 0.79% MLMG::computeResidual() 36 0.002623 0.002623 0.002623 0.71% MLCellLinOp::defineBC() 6 0.002575 0.002575 0.002575 0.70% MLMG::prepareForSolve() 6 0.002471 0.002471 0.002471 0.67% BndryData::define() 6 0.002461 0.002461 0.002461 0.67% Castro::enforce_speed_limit() 30 0.002079 0.002079 0.002079 0.57% Castro::construct_new_source() 25 0.002041 0.002041 0.002041 0.55% Castro::construct_new_gravity_source() 5 0.001911 0.001911 0.001911 0.52% FabArray::LinComb() 242 0.001872 0.001872 0.001872 0.51% amrex::Add() 72 0.001851 0.001851 0.001851 0.50% Castro::computeNewDt() 5 0.001754 0.001754 0.001754 0.48% Castro::construct_old_source() 25 0.00154 0.00154 0.00154 0.42% Castro::construct_old_gravity_source() 5 0.00151 0.00151 0.00151 0.41% Castro::apply_source_to_state() 10 0.00092 0.00092 0.00092 0.25% MLMG::ResNormInf() 42 0.0009044 0.0009044 0.0009044 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000884 0.000884 0.000884 0.24% FabArrayBase::getCPC() 632 0.0007521 0.0007521 0.0007521 0.20% MLMG::getGradSolution() 6 0.0007418 0.0007418 0.0007418 0.20% MLCellLinOp::compGrad() 6 0.0007387 0.0007387 0.0007387 0.20% MLCellLinOp::setLevelBC() 6 0.0007211 0.0007211 0.0007211 0.20% Castro::reset_internal_energy(Fab) 240 0.0006718 0.0006718 0.0006718 0.18% FabArray::mult() 22 0.0006419 0.0006419 0.0006419 0.17% FabArray::setDomainBndry() 20 0.0006263 0.0006263 0.0006263 0.17% MLPoisson::prepareForSolve() 6 0.0006047 0.0006047 0.0006047 0.16% Castro::check_for_nan() 10 0.0005985 0.0005985 0.0005985 0.16% MLCellLinOp::prepareForSolve() 6 0.0005947 0.0005947 0.0005947 0.16% MultiFab::contains_nan() 10 0.0005928 0.0005928 0.0005928 0.16% MLMG::computeMLResidual() 6 0.0005651 0.0005651 0.0005651 0.15% Gravity::update_max_rhs() 6 0.0004356 0.0004356 0.0004356 0.12% FabArrayBase::CPC::define() 244 0.0004063 0.0004063 0.0004063 0.11% Amr::InitAmr() 1 0.0004059 0.0004059 0.0004059 0.11% FabArrayBase::getFB() 1766 0.0003244 0.0003244 0.0003244 0.09% Castro::finalize_advance() 5 0.0002861 0.0002861 0.0002861 0.08% Gravity::swapTimeLevels() 5 0.0002216 0.0002216 0.0002216 0.06% MLLinOp::define() 6 0.0001879 0.0001879 0.0001879 0.05% MLLinOp::defineGrids() 6 0.0001823 0.0001823 0.0001823 0.05% MLMG::MLResNormInf() 6 0.0001483 0.0001483 0.0001483 0.04% Castro::buildMetrics() 1 0.0001481 0.0001481 0.0001481 0.04% MultiFab::max() 6 0.0001341 0.0001341 0.0001341 0.04% Castro::create_source_corrector() 5 0.0001272 0.0001272 0.0001272 0.03% MLMG::MLRhsNormInf() 6 0.0001146 0.0001146 0.0001146 0.03% FabArrayBase::FB::FB() 26 6.015e-05 6.015e-05 6.015e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.738e-05 2.738e-05 2.738e-05 0.01% Castro::initMFs() 1 2.564e-05 2.564e-05 2.564e-05 0.01% Amr::writeSmallPlotFile() 1 2.407e-05 2.407e-05 2.407e-05 0.01% Castro::swap_state_time_levels() 5 2.344e-05 2.344e-05 2.344e-05 0.01% makeSFC 30 1.999e-05 1.999e-05 1.999e-05 0.01% Castro::finalize_do_advance() 5 1.985e-05 1.985e-05 1.985e-05 0.01% DistributionMapping::Distribute() 31 8.909e-06 8.909e-06 8.909e-06 0.00% Amr::initSubcycle() 1 8.45e-06 8.45e-06 8.45e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.355e-06 4.355e-06 4.355e-06 0.00% Gravity::set_mass_offset() 6 2.103e-06 2.103e-06 2.103e-06 0.00% Castro::retry_advance_ctu() 5 1.865e-06 1.865e-06 1.865e-06 0.00% Castro::FluxRegCrseInit 5 1.453e-06 1.453e-06 1.453e-06 0.00% Castro::FluxRegFineAdd() 5 1.22e-06 1.22e-06 1.22e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.048e-06 1.048e-06 1.048e-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 222 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 137 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB FillPatchIterator::Initialize 160 160 1138 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2445 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6701 KiB 14 MiB MLMG::prepareForSolve() 361 361 3584 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 200 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 201 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6697 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 11 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2283 B 2048 KiB Gravity::solve_for_phi() 40 40 655 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 17 KiB 2048 KiB BndryData::define() 576 576 329 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 211 KiB 671 KiB Castro::estTimeStep() 10 10 3251 B 480 KiB VisMF::Write(FabArray) 112 112 1314 B 320 KiB Castro::normalize_species() 30 30 8013 B 320 KiB amrex::average_down 469 469 1239 B 257 KiB MLMG::addInterpCorrection() 468 468 1176 B 257 KiB amrex::Dot() 592 592 3398 B 160 KiB FabArray::norminf() 398 398 2415 B 160 KiB Castro::do_advance_ctu() 5 5 567 B 160 KiB MultiFab::max() 6 6 56 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 32 B 20 KiB MLPoisson::Fsmooth() 60 60 3486 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 52 B 10 KiB FillBoundary_nowait() 336 336 298 B 9648 B MLCellLinOp::applyBC() 3892 3892 228 B 9344 B amrex::Copy() 56 56 5952 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 51 B 2880 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 119 B 1472 B MLCellLinOp::defineBC() 36 36 370 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1395 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 118 KiB 8192 KiB VisMF::Write(FabArray) 120 120 255 KiB 3584 KiB VisMF::Read() 24 24 205 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3486 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 52 B 10 KiB FillBoundary_nowait() 336 336 298 B 9648 B MLCellLinOp::applyBC() 1946 1946 226 B 9328 B amrex::Copy() 56 56 5952 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2641 B 3072 B StateData::FillBoundary(geom) 960 960 51 B 2880 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 537 B 1296 B amrex::average_down 37 37 223 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 24 B 400 B FabArray::norminf() 398 398 17 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2459 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.04-24-g27ef4ea56945) finalized