Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-35-g0eb494d34427) initialized Starting run at 08:00:40 UTC on 2023-07-24. Successfully read inputs file ... Castro git describe: 23.07-18-g440d64b97 AMReX git describe: 23.07-35-g0eb494d34 Microphysics git describe: 23.07-47-geb5189fa 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.060048759 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034424329 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.046730921 [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 at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.049779045 [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 at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.076755255 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.083670609 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.069385494 [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.058819754 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.0774674 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.08060862 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.058635478 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.067740377 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.070427462 [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.058586258 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.05185233 seconds Ending run at 08:00:41 UTC on 2023-07-24. Run time = 0.994351851 Run time without initialization = 0.85117821 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: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9944 ... 0.9944 ... 0.9944 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.3135 0.3135 0.3135 31.53% VisMF::Write(FabArray) 11 0.2393 0.2393 0.2393 24.07% MLCellLinOp::applyBC() 4433 0.07746 0.07746 0.07746 7.79% MLPoisson::Fsmooth() 3280 0.03239 0.03239 0.03239 3.26% FillBoundary_nowait() 4023 0.03094 0.03094 0.03094 3.11% StateData::FillBoundary(geom) 328 0.02551 0.02551 0.02551 2.57% amrex::Dot() 1114 0.02067 0.02067 0.02067 2.08% Amr::writePlotFile() 2 0.01995 0.01995 0.01995 2.01% Castro::normalize_species() 62 0.01974 0.01974 0.01974 1.98% amrex::Copy() 1029 0.01487 0.01487 0.01487 1.50% FabArray::norminf() 743 0.0145 0.0145 0.0145 1.46% Castro::computeTemp() 63 0.01415 0.01415 0.01415 1.42% FabArray::ParallelCopy_nowait() 861 0.01353 0.01353 0.01353 1.36% FabArray::setVal() 1144 0.01314 0.01314 0.01314 1.32% StateDataPhysBCFunct::() 41 0.01155 0.01155 0.01155 1.16% Castro::enforce_min_density() 62 0.01038 0.01038 0.01038 1.04% MLPoisson::Fapply() 1142 0.01036 0.01036 0.01036 1.04% MLCellLinOp::defineAuxData() 11 0.009891 0.009891 0.009891 0.99% FabArray::Saxpy() 813 0.008153 0.008153 0.008153 0.82% FabArray::Xpay() 821 0.008079 0.008079 0.008079 0.81% Gravity::fill_multipole_BCs() 11 0.006858 0.006858 0.006858 0.69% MLMG::addInterpCorrection() 410 0.006809 0.006809 0.006809 0.68% amrex::average_down 410 0.005978 0.005978 0.005978 0.60% Castro::estTimeStep() 21 0.005306 0.005306 0.005306 0.53% Castro::reset_internal_energy(MultiFab) 63 0.004792 0.004792 0.004792 0.48% FabArray::LinComb() 557 0.004496 0.004496 0.004496 0.45% amrex::Add() 164 0.004358 0.004358 0.004358 0.44% Amr::checkPoint() 3 0.004017 0.004017 0.004017 0.40% BndryData::define() 11 0.003735 0.003735 0.003735 0.38% Castro::enforce_speed_limit() 62 0.003416 0.003416 0.003416 0.34% Castro::construct_new_gravity_source() 10 0.003149 0.003149 0.003149 0.32% Castro::construct_old_gravity_source() 10 0.002672 0.002672 0.002672 0.27% MLCGSolver::bicgstab 82 0.002117 0.002117 0.002117 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001699 0.001699 0.001699 0.17% check_for_negative_density() 10 0.001695 0.001695 0.001695 0.17% Castro::reset_internal_energy(Fab) 504 0.001595 0.001595 0.001595 0.16% Gravity::actual_solve_with_mlmg() 11 0.001478 0.001478 0.001478 0.15% MLCellLinOp::setLevelBC() 11 0.001396 0.001396 0.001396 0.14% FabArray::mult() 43 0.001315 0.001315 0.001315 0.13% FabArray::setDomainBndry() 41 0.001301 0.001301 0.001301 0.13% Castro::initData() 1 0.001212 0.001212 0.001212 0.12% MultiFab::contains_nan() 20 0.001207 0.001207 0.001207 0.12% MLCellLinOp::smooth() 1640 0.001146 0.001146 0.001146 0.12% MLCellLinOp::prepareForSolve() 11 0.001135 0.001135 0.001135 0.11% MLCellLinOp::compGrad() 11 0.0009074 0.0009074 0.0009074 0.09% MLMG::prepareForSolve() 11 0.000873 0.000873 0.000873 0.09% FabArray::FillBoundary() 4023 0.0008443 0.0008443 0.0008443 0.08% FabArrayBase::getCPC() 1323 0.0007547 0.0007547 0.0007547 0.08% FabArrayBase::CPC::define() 454 0.0007083 0.0007083 0.0007083 0.07% FabArrayBase::getFB() 4023 0.0005932 0.0005932 0.0005932 0.06% Gravity::get_new_grav_vector() 11 0.0005408 0.0005408 0.0005408 0.05% Amr::InitAmr() 1 0.0004939 0.0004939 0.0004939 0.05% Gravity::get_old_grav_vector() 10 0.0004752 0.0004752 0.0004752 0.05% MLCellLinOp::apply() 1142 0.0004608 0.0004608 0.0004608 0.05% Amr::coarseTimeStep() 10 0.0004381 0.0004381 0.0004381 0.04% MLLinOp::defineGrids() 11 0.0003934 0.0003934 0.0003934 0.04% MLMG::mgVcycle() 82 0.0003844 0.0003844 0.0003844 0.04% AmrLevel::FillPatch() 41 0.0003222 0.0003222 0.0003222 0.03% main() 1 0.0003072 0.0003072 0.0003072 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002851 0.0002851 0.0002851 0.03% MultiFab::max() 11 0.0002589 0.0002589 0.0002589 0.03% FabArray::ParallelCopy() 861 0.0002297 0.0002297 0.0002297 0.02% MLCellLinOp::correctionResidual() 492 0.0002261 0.0002261 0.0002261 0.02% MLCellLinOp::defineBC() 11 0.0002071 0.0002071 0.0002071 0.02% FillPatchIterator::Initialize 41 0.0002068 0.0002068 0.0002068 0.02% Castro::subcycle_advance_ctu() 10 0.0001601 0.0001601 0.0001601 0.02% Amr::timeStep() 10 0.0001587 0.0001587 0.0001587 0.02% Castro::create_source_corrector() 10 0.0001464 0.0001464 0.0001464 0.01% StateData::checkPoint() 12 0.0001327 0.0001327 0.0001327 0.01% MLMG:computeResOfCorrection() 410 0.0001281 0.0001281 0.0001281 0.01% Gravity::update_max_rhs() 11 0.0001245 0.0001245 0.0001245 0.01% Gravity::solve_for_phi() 10 0.0001104 0.0001104 0.0001104 0.01% Castro::Castro() 1 0.0001019 0.0001019 0.0001019 0.01% MLMG::actualBottomSolve() 82 9.124e-05 9.124e-05 9.124e-05 0.01% FabArrayBase::FB::FB() 56 8.759e-05 8.759e-05 8.759e-05 0.01% MLMG::mgVcycle_down::1 82 8.717e-05 8.717e-05 8.717e-05 0.01% MLMG::mgVcycle_down::0 82 8.63e-05 8.63e-05 8.63e-05 0.01% MLMG::mgVcycle_down::2 82 8.496e-05 8.496e-05 8.496e-05 0.01% MLMG::mgVcycle_down::4 82 8.337e-05 8.337e-05 8.337e-05 0.01% MLMG::mgVcycle_down::3 82 8.115e-05 8.115e-05 8.115e-05 0.01% Castro::initialize_advance() 10 7.912e-05 7.912e-05 7.912e-05 0.01% Castro::do_new_sources() 10 7.893e-05 7.893e-05 7.893e-05 0.01% AmrLevel::checkPoint() 3 7.423e-05 7.423e-05 7.423e-05 0.01% MLMG::solve() 11 7.133e-05 7.133e-05 7.133e-05 0.01% Castro::clean_state() 62 6.833e-05 6.833e-05 6.833e-05 0.01% Castro::advance() 10 6.732e-05 6.732e-05 6.732e-05 0.01% Castro::finalize_advance() 10 6.039e-05 6.039e-05 6.039e-05 0.01% Castro::initialize_do_advance() 10 5.828e-05 5.828e-05 5.828e-05 0.01% MLMG::mgVcycle_up::4 82 5.702e-05 5.702e-05 5.702e-05 0.01% MLMG::oneIter() 82 5.634e-05 5.634e-05 5.634e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.21e-05 5.21e-05 5.21e-05 0.01% MLCellLinOp::solutionResidual() 93 4.888e-05 4.888e-05 4.888e-05 0.00% MLMG::mgVcycle_up::0 82 4.841e-05 4.841e-05 4.841e-05 0.00% MLMG::mgVcycle_up::3 82 4.767e-05 4.767e-05 4.767e-05 0.00% Castro::do_advance_ctu() 10 4.742e-05 4.742e-05 4.742e-05 0.00% MLMG::mgVcycle_up::1 82 4.721e-05 4.721e-05 4.721e-05 0.00% MLMG::mgVcycle_up::2 82 4.626e-05 4.626e-05 4.626e-05 0.00% Castro::construct_new_source() 50 4.32e-05 4.32e-05 4.32e-05 0.00% Castro::finalize_do_advance() 10 3.977e-05 3.977e-05 3.977e-05 0.00% Castro::swap_state_time_levels() 10 3.623e-05 3.623e-05 3.623e-05 0.00% Castro::initMFs() 1 3.586e-05 3.586e-05 3.586e-05 0.00% Castro::post_timestep() 10 3.523e-05 3.523e-05 3.523e-05 0.00% StateData::define() 4 3.516e-05 3.516e-05 3.516e-05 0.00% Castro::enforce_consistent_e() 1 3.436e-05 3.436e-05 3.436e-05 0.00% FillPatchSingleLevel 41 3.432e-05 3.432e-05 3.432e-05 0.00% MLMG::computeResidual() 82 3.345e-05 3.345e-05 3.345e-05 0.00% MLMG::mgVcycle_bottom 82 3.338e-05 3.338e-05 3.338e-05 0.00% MLMG::ResNormInf() 93 3.256e-05 3.256e-05 3.256e-05 0.00% MLPoisson::define() 11 2.612e-05 2.612e-05 2.612e-05 0.00% Amr::writeSmallPlotFile() 1 2.514e-05 2.514e-05 2.514e-05 0.00% makeSFC 55 2.453e-05 2.453e-05 2.453e-05 0.00% Castro::construct_new_gravity() 10 2.278e-05 2.278e-05 2.278e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.274e-05 2.274e-05 2.274e-05 0.00% Castro::do_old_sources() 10 2.032e-05 2.032e-05 2.032e-05 0.00% Castro::buildMetrics() 1 1.872e-05 1.872e-05 1.872e-05 0.00% Castro::construct_old_source() 50 1.852e-05 1.852e-05 1.852e-05 0.00% Amr::FinalizeInit() 1 1.833e-05 1.833e-05 1.833e-05 0.00% MLLinOp::define() 11 1.733e-05 1.733e-05 1.733e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.702e-05 1.702e-05 1.702e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.683e-05 1.683e-05 1.683e-05 0.00% DistributionMapping::Distribute() 56 1.521e-05 1.521e-05 1.521e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.417e-05 1.417e-05 1.417e-05 0.00% Amr::defBaseLevel() 1 1.41e-05 1.41e-05 1.41e-05 0.00% Castro::construct_old_gravity() 10 1.134e-05 1.134e-05 1.134e-05 0.00% Castro::apply_source_to_state() 20 1.081e-05 1.081e-05 1.081e-05 0.00% Castro::check_for_nan() 20 1.043e-05 1.043e-05 1.043e-05 0.00% Gravity::actual_multilevel_solve() 1 9.209e-06 9.209e-06 9.209e-06 0.00% Amr::initSubcycle() 1 9.138e-06 9.138e-06 9.138e-06 0.00% Gravity::swapTimeLevels() 10 8.966e-06 8.966e-06 8.966e-06 0.00% MLPoisson::prepareForSolve() 11 7.843e-06 7.843e-06 7.843e-06 0.00% MLMG::computeMLResidual() 11 7.333e-06 7.333e-06 7.333e-06 0.00% Castro::computeNewDt() 9 5.994e-06 5.994e-06 5.994e-06 0.00% MLMG::getGradSolution() 11 5.61e-06 5.61e-06 5.61e-06 0.00% AmrLevel::checkPointPost() 3 5.091e-06 5.091e-06 5.091e-06 0.00% Castro::expand_state() 10 4.988e-06 4.988e-06 4.988e-06 0.00% Amr::InitializeInit() 1 4.625e-06 4.625e-06 4.625e-06 0.00% Gravity::set_mass_offset() 11 4.258e-06 4.258e-06 4.258e-06 0.00% Castro::retry_advance_ctu() 10 3.998e-06 3.998e-06 3.998e-06 0.00% Castro::post_init() 1 3.858e-06 3.858e-06 3.858e-06 0.00% MLMG::MLRhsNormInf() 11 3.807e-06 3.807e-06 3.807e-06 0.00% MLMG::MLResNormInf() 11 3.233e-06 3.233e-06 3.233e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.945e-06 2.945e-06 2.945e-06 0.00% Castro::FluxRegCrseInit 10 2.846e-06 2.846e-06 2.846e-06 0.00% Castro::computeInitialDt() 2 2.53e-06 2.53e-06 2.53e-06 0.00% Amr::init() 1 2.257e-06 2.257e-06 2.257e-06 0.00% Castro::FluxRegFineAdd() 10 2.132e-06 2.132e-06 2.132e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.962e-06 1.962e-06 1.962e-06 0.00% AmrLevel::checkPointPre() 3 1.89e-06 1.89e-06 1.89e-06 0.00% Castro::post_regrid() 1 1.021e-06 1.021e-06 1.021e-06 0.00% Amr::initialInit() 1 9.87e-07 9.87e-07 9.87e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9944 0.9944 0.9944 100.00% Amr::coarseTimeStep() 10 0.7991 0.7991 0.7991 80.36% Amr::timeStep() 10 0.6782 0.6782 0.6782 68.21% Castro::advance() 10 0.6676 0.6676 0.6676 67.14% Castro::subcycle_advance_ctu() 10 0.6539 0.6539 0.6539 65.76% Castro::do_advance_ctu() 10 0.6537 0.6537 0.6537 65.74% Castro::construct_ctu_hydro_source() 10 0.3241 0.3241 0.3241 32.59% Gravity::solve_phi_with_mlmg() 11 0.2851 0.2851 0.2851 28.67% Gravity::actual_solve_with_mlmg() 11 0.2778 0.2778 0.2778 27.94% Castro::construct_new_gravity() 10 0.2603 0.2603 0.2603 26.18% MLMG::solve() 11 0.2568 0.2568 0.2568 25.83% Gravity::solve_for_phi() 10 0.2449 0.2449 0.2449 24.63% MLMG::oneIter() 82 0.2425 0.2425 0.2425 24.39% VisMF::Write(FabArray) 11 0.2393 0.2393 0.2393 24.07% MLMG::mgVcycle() 82 0.2389 0.2389 0.2389 24.02% Amr::checkPoint() 3 0.1776 0.1776 0.1776 17.86% AmrLevel::checkPoint() 3 0.1736 0.1736 0.1736 17.45% StateData::checkPoint() 12 0.1735 0.1735 0.1735 17.45% Amr::init() 1 0.1425 0.1425 0.1425 14.33% MLCellLinOp::smooth() 1640 0.1173 0.1173 0.1173 11.80% MLCellLinOp::applyBC() 4433 0.1099 0.1099 0.1099 11.06% Amr::writePlotFile() 2 0.08641 0.08641 0.08641 8.69% MLMG::mgVcycle_bottom 82 0.0739 0.0739 0.0739 7.43% MLMG::actualBottomSolve() 82 0.07386 0.07386 0.07386 7.43% MLCGSolver::bicgstab 82 0.07316 0.07316 0.07316 7.36% Castro::clean_state() 62 0.05338 0.05338 0.05338 5.37% Amr::initialInit() 1 0.04791 0.04791 0.04791 4.82% AmrLevel::FillPatch() 41 0.04687 0.04687 0.04687 4.71% Amr::FinalizeInit() 1 0.0439 0.0439 0.0439 4.42% FillPatchIterator::Initialize 41 0.04271 0.04271 0.04271 4.30% Castro::post_init() 1 0.04261 0.04261 0.04261 4.28% FillPatchIterator::FillFromLevel0() 41 0.04121 0.04121 0.04121 4.14% FillPatchSingleLevel 41 0.04115 0.04115 0.04115 4.14% Gravity::multilevel_solve_for_new_phi() 1 0.04061 0.04061 0.04061 4.08% Gravity::actual_multilevel_solve() 1 0.04059 0.04059 0.04059 4.08% StateDataPhysBCFunct::() 41 0.03706 0.03706 0.03706 3.73% MLCellLinOp::apply() 1142 0.03653 0.03653 0.03653 3.67% MLMG::mgVcycle_down::0 82 0.03385 0.03385 0.03385 3.40% FabArray::FillBoundary() 4023 0.03247 0.03247 0.03247 3.27% MLPoisson::Fsmooth() 3280 0.03239 0.03239 0.03239 3.26% FillBoundary_nowait() 4023 0.03163 0.03163 0.03163 3.18% MLMG::mgVcycle_up::0 82 0.02558 0.02558 0.02558 2.57% StateData::FillBoundary(geom) 328 0.02551 0.02551 0.02551 2.57% MLCellLinOp::correctionResidual() 492 0.02235 0.02235 0.02235 2.25% amrex::Dot() 1114 0.02067 0.02067 0.02067 2.08% Castro::computeTemp() 63 0.02054 0.02054 0.02054 2.07% Castro::initialize_do_advance() 10 0.02036 0.02036 0.02036 2.05% Castro::normalize_species() 62 0.01974 0.01974 0.01974 1.98% MLMG:computeResOfCorrection() 410 0.01972 0.01972 0.01972 1.98% Castro::do_old_sources() 10 0.0174 0.0174 0.0174 1.75% Gravity::get_new_grav_vector() 11 0.01712 0.01712 0.01712 1.72% MLPoisson::define() 11 0.01668 0.01668 0.01668 1.68% MLMG::mgVcycle_down::1 82 0.01591 0.01591 0.01591 1.60% Castro::construct_old_gravity() 10 0.01531 0.01531 0.01531 1.54% Gravity::get_old_grav_vector() 10 0.0153 0.0153 0.0153 1.54% MLMG::mgVcycle_down::2 82 0.01487 0.01487 0.01487 1.50% amrex::Copy() 1029 0.01487 0.01487 0.01487 1.50% FabArray::ParallelCopy() 861 0.01457 0.01457 0.01457 1.46% MLMG::mgVcycle_down::3 82 0.01451 0.01451 0.01451 1.46% FabArray::norminf() 743 0.0145 0.0145 0.0145 1.46% MLMG::mgVcycle_down::4 82 0.01434 0.01434 0.01434 1.44% FabArray::ParallelCopy_nowait() 861 0.01434 0.01434 0.01434 1.44% Castro::initialize_advance() 10 0.01314 0.01314 0.01314 1.32% FabArray::setVal() 1144 0.01314 0.01314 0.01314 1.32% Castro::do_new_sources() 10 0.013 0.013 0.013 1.31% MLCGSolver::ParallelAllReduce 1514 0.0124 0.0124 0.0124 1.25% MLMG::addInterpCorrection() 410 0.01204 0.01204 0.01204 1.21% MLMG::mgVcycle_up::4 82 0.01156 0.01156 0.01156 1.16% MLMG::mgVcycle_up::1 82 0.01155 0.01155 0.01155 1.16% Castro::expand_state() 10 0.01147 0.01147 0.01147 1.15% MLMG::mgVcycle_up::2 82 0.0113 0.0113 0.0113 1.14% MLCellLinOp::defineAuxData() 11 0.01127 0.01127 0.01127 1.13% amrex::average_down 410 0.01125 0.01125 0.01125 1.13% MLMG::mgVcycle_up::3 82 0.01112 0.01112 0.01112 1.12% Castro::post_timestep() 10 0.01042 0.01042 0.01042 1.05% Castro::enforce_min_density() 62 0.01038 0.01038 0.01038 1.04% MLPoisson::Fapply() 1142 0.01036 0.01036 0.01036 1.04% FabArray::Saxpy() 813 0.008153 0.008153 0.008153 0.82% FabArray::Xpay() 821 0.008079 0.008079 0.008079 0.81% MLCellLinOp::solutionResidual() 93 0.007146 0.007146 0.007146 0.72% Gravity::fill_multipole_BCs() 11 0.007098 0.007098 0.007098 0.71% Castro::reset_internal_energy(MultiFab) 63 0.006387 0.006387 0.006387 0.64% MLMG::computeResidual() 82 0.006148 0.006148 0.006148 0.62% Castro::estTimeStep() 21 0.005306 0.005306 0.005306 0.53% MLCellLinOp::defineBC() 11 0.004919 0.004919 0.004919 0.49% BndryData::define() 11 0.004712 0.004712 0.004712 0.47% MLMG::prepareForSolve() 11 0.004703 0.004703 0.004703 0.47% FabArray::LinComb() 557 0.004496 0.004496 0.004496 0.45% amrex::Add() 164 0.004358 0.004358 0.004358 0.44% Amr::InitializeInit() 1 0.004008 0.004008 0.004008 0.40% Amr::defBaseLevel() 1 0.004003 0.004003 0.004003 0.40% Castro::initData() 1 0.003473 0.003473 0.003473 0.35% Castro::enforce_speed_limit() 62 0.003416 0.003416 0.003416 0.34% Castro::construct_new_source() 50 0.003192 0.003192 0.003192 0.32% Castro::construct_new_gravity_source() 10 0.003149 0.003149 0.003149 0.32% Castro::construct_old_source() 50 0.00269 0.00269 0.00269 0.27% Castro::construct_old_gravity_source() 10 0.002672 0.002672 0.002672 0.27% Castro::computeNewDt() 9 0.002253 0.002253 0.002253 0.23% Castro::finalize_do_advance() 10 0.002232 0.002232 0.002232 0.22% MLMG::ResNormInf() 93 0.002136 0.002136 0.002136 0.21% Castro::apply_source_to_state() 20 0.001825 0.001825 0.001825 0.18% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001699 0.001699 0.001699 0.17% check_for_negative_density() 10 0.001695 0.001695 0.001695 0.17% Castro::reset_internal_energy(Fab) 504 0.001595 0.001595 0.001595 0.16% FabArrayBase::getCPC() 1323 0.001463 0.001463 0.001463 0.15% MLCellLinOp::setLevelBC() 11 0.001396 0.001396 0.001396 0.14% MLMG::getGradSolution() 11 0.001387 0.001387 0.001387 0.14% MLCellLinOp::compGrad() 11 0.001381 0.001381 0.001381 0.14% FabArray::mult() 43 0.001315 0.001315 0.001315 0.13% FabArray::setDomainBndry() 41 0.001301 0.001301 0.001301 0.13% Castro::check_for_nan() 20 0.001217 0.001217 0.001217 0.12% MultiFab::contains_nan() 20 0.001207 0.001207 0.001207 0.12% MLPoisson::prepareForSolve() 11 0.001142 0.001142 0.001142 0.11% MLCellLinOp::prepareForSolve() 11 0.001135 0.001135 0.001135 0.11% Castro::post_regrid() 1 0.001116 0.001116 0.001116 0.11% MLMG::computeMLResidual() 11 0.001039 0.001039 0.001039 0.10% Castro::computeInitialDt() 2 0.00087 0.00087 0.00087 0.09% Gravity::update_max_rhs() 11 0.0008296 0.0008296 0.0008296 0.08% FabArrayBase::CPC::define() 454 0.0007083 0.0007083 0.0007083 0.07% FabArrayBase::getFB() 4023 0.0006808 0.0006808 0.0006808 0.07% Castro::finalize_advance() 10 0.0005815 0.0005815 0.0005815 0.06% Amr::InitAmr() 1 0.000503 0.000503 0.000503 0.05% MLLinOp::define() 11 0.0004654 0.0004654 0.0004654 0.05% Castro::Castro() 1 0.0004594 0.0004594 0.0004594 0.05% MLLinOp::defineGrids() 11 0.0004481 0.0004481 0.0004481 0.05% Gravity::swapTimeLevels() 10 0.0004371 0.0004371 0.0004371 0.04% MLMG::MLResNormInf() 11 0.000287 0.000287 0.000287 0.03% MultiFab::max() 11 0.0002589 0.0002589 0.0002589 0.03% MLMG::MLRhsNormInf() 11 0.0002289 0.0002289 0.0002289 0.02% Castro::buildMetrics() 1 0.0001569 0.0001569 0.0001569 0.02% Castro::create_source_corrector() 10 0.0001464 0.0001464 0.0001464 0.01% FabArrayBase::FB::FB() 56 8.759e-05 8.759e-05 8.759e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.273e-05 5.273e-05 5.273e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.217e-05 5.217e-05 5.217e-05 0.01% makeSFC 55 3.856e-05 3.856e-05 3.856e-05 0.00% Castro::swap_state_time_levels() 10 3.623e-05 3.623e-05 3.623e-05 0.00% Castro::initMFs() 1 3.586e-05 3.586e-05 3.586e-05 0.00% StateData::define() 4 3.516e-05 3.516e-05 3.516e-05 0.00% Castro::enforce_consistent_e() 1 3.436e-05 3.436e-05 3.436e-05 0.00% Amr::writeSmallPlotFile() 1 2.514e-05 2.514e-05 2.514e-05 0.00% DistributionMapping::Distribute() 56 1.521e-05 1.521e-05 1.521e-05 0.00% Amr::initSubcycle() 1 9.138e-06 9.138e-06 9.138e-06 0.00% AmrLevel::checkPointPost() 3 5.091e-06 5.091e-06 5.091e-06 0.00% Gravity::set_mass_offset() 11 4.258e-06 4.258e-06 4.258e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.129e-06 4.129e-06 4.129e-06 0.00% Castro::retry_advance_ctu() 10 3.998e-06 3.998e-06 3.998e-06 0.00% Castro::FluxRegCrseInit 10 2.846e-06 2.846e-06 2.846e-06 0.00% Castro::FluxRegFineAdd() 10 2.132e-06 2.132e-06 2.132e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.962e-06 1.962e-06 1.962e-06 0.00% AmrLevel::checkPointPre() 3 1.89e-06 1.89e-06 1.89e-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 79 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 150 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 917 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1946 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7607 KiB 14 MiB MLMG::prepareForSolve() 660 660 3178 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 179 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 157 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7533 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1600 B 2048 KiB Gravity::solve_for_phi() 80 80 503 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 83 KiB 2048 KiB BndryData::define() 1056 1056 290 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 184 KiB 671 KiB Castro::estTimeStep() 21 21 2596 B 480 KiB VisMF::Write(FabArray) 656 656 3046 B 320 KiB Castro::normalize_species() 62 62 6469 B 320 KiB amrex::average_down 1067 1067 1162 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1043 B 257 KiB amrex::Dot() 1360 1360 3063 B 160 KiB FabArray::norminf() 907 907 2153 B 160 KiB check_for_negative_density() 10 10 269 B 160 KiB Castro::initData() 1 1 24 B 160 KiB MultiFab::max() 11 11 40 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 24 B 20 KiB MLPoisson::Fsmooth() 132 132 3106 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 40 B 10 KiB FillBoundary_nowait() 760 760 272 B 9648 B MLCellLinOp::applyBC() 8866 8866 200 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3856 B 6144 B StateData::FillBoundary(geom) 1992 1992 40 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 107 B 1472 B MLCellLinOp::defineBC() 66 66 326 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 525 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 44 KiB 8192 KiB VisMF::Write(FabArray) 744 744 560 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3106 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 40 B 10 KiB FillBoundary_nowait() 760 760 271 B 9648 B MLCellLinOp::applyBC() 4433 4433 199 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3856 B 6144 B Gravity::get_new_grav_vector() 3 3 2925 B 3072 B Gravity::fill_multipole_BCs() 33 33 2 B 2832 B StateData::FillBoundary(geom) 1992 1992 41 B 2784 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 264 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 22 B 400 B FabArray::norminf() 907 907 15 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2422 [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.07-35-g0eb494d34427) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-35-g0eb494d34427) initialized Starting run at 08:00:42 UTC on 2023-07-24. Successfully read inputs file ... Castro git describe: 23.07-18-g440d64b97 AMReX git describe: 23.07-35-g0eb494d34 Microphysics git describe: 23.07-47-geb5189fa reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.528366015 Restart time = 0.046156167 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.049212272 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.047258332 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.073048223 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.078992998 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.072635058 [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.033814771 seconds Ending run at 08:00:42 UTC on 2023-07-24. Run time = 0.402174875 Run time without initialization = 0.355411524 Average number of zones advanced per microsecond: 3.688 Average number of zones advanced per microsecond per rank: 3.688 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4022 ... 0.4022 ... 0.4022 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1363 0.1363 0.1363 33.90% VisMF::Read() 3 0.03984 0.03984 0.03984 9.91% MLCellLinOp::applyBC() 1946 0.03337 0.03337 0.03337 8.30% VisMF::Write(FabArray) 1 0.03217 0.03217 0.03217 8.00% MLPoisson::Fsmooth() 1440 0.01388 0.01388 0.01388 3.45% FillBoundary_nowait() 1766 0.01265 0.01265 0.01265 3.14% StateData::FillBoundary(geom) 160 0.01234 0.01234 0.01234 3.07% Castro::normalize_species() 30 0.009169 0.009169 0.009169 2.28% amrex::Dot() 484 0.008801 0.008801 0.008801 2.19% Castro::computeTemp() 30 0.007179 0.007179 0.007179 1.78% amrex::Copy() 463 0.006978 0.006978 0.006978 1.73% FabArray::setVal() 537 0.006214 0.006214 0.006214 1.54% FabArray::norminf() 326 0.006202 0.006202 0.006202 1.54% FabArray::ParallelCopy_nowait() 380 0.006082 0.006082 0.006082 1.51% Castro::enforce_min_density() 30 0.005594 0.005594 0.005594 1.39% MLCellLinOp::defineAuxData() 6 0.0053 0.0053 0.0053 1.32% MLPoisson::Fapply() 500 0.0044 0.0044 0.0044 1.09% Castro::estTimeStep() 10 0.004173 0.004173 0.004173 1.04% StateDataPhysBCFunct::() 20 0.004156 0.004156 0.004156 1.03% FabArray::Saxpy() 355 0.003612 0.003612 0.003612 0.90% FabArray::Xpay() 361 0.003497 0.003497 0.003497 0.87% Gravity::fill_multipole_BCs() 6 0.003303 0.003303 0.003303 0.82% MLMG::addInterpCorrection() 180 0.002939 0.002939 0.002939 0.73% amrex::average_down 180 0.002594 0.002594 0.002594 0.65% Amr::restart() 1 0.002525 0.002525 0.002525 0.63% Castro::reset_internal_energy(MultiFab) 30 0.002123 0.002123 0.002123 0.53% BndryData::define() 6 0.002054 0.002054 0.002054 0.51% FabArray::LinComb() 242 0.001904 0.001904 0.001904 0.47% amrex::Add() 72 0.001839 0.001839 0.001839 0.46% Castro::construct_new_gravity_source() 5 0.001541 0.001541 0.001541 0.38% Amr::writePlotFile() 1 0.001487 0.001487 0.001487 0.37% Castro::construct_old_gravity_source() 5 0.001389 0.001389 0.001389 0.35% Castro::subcycle_advance_ctu() 5 0.001161 0.001161 0.001161 0.29% MLCGSolver::bicgstab 36 0.0009382 0.0009382 0.0009382 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009175 0.0009175 0.0009175 0.23% check_for_negative_density() 5 0.0008397 0.0008397 0.0008397 0.21% Gravity::actual_solve_with_mlmg() 6 0.0007945 0.0007945 0.0007945 0.20% Castro::reset_internal_energy(Fab) 240 0.0007827 0.0007827 0.0007827 0.19% MLCellLinOp::setLevelBC() 6 0.0007577 0.0007577 0.0007577 0.19% FabArray::setDomainBndry() 20 0.0006454 0.0006454 0.0006454 0.16% FabArray::mult() 22 0.0006414 0.0006414 0.0006414 0.16% MLCellLinOp::prepareForSolve() 6 0.0006004 0.0006004 0.0006004 0.15% MultiFab::contains_nan() 10 0.0005887 0.0005887 0.0005887 0.15% MLCellLinOp::smooth() 720 0.0004855 0.0004855 0.0004855 0.12% MLCellLinOp::compGrad() 6 0.0004837 0.0004837 0.0004837 0.12% MLMG::prepareForSolve() 6 0.0004689 0.0004689 0.0004689 0.12% FabArrayBase::CPC::define() 244 0.0004258 0.0004258 0.0004258 0.11% Castro::enforce_speed_limit() 30 0.0004143 0.0004143 0.0004143 0.10% Amr::InitAmr() 1 0.0003908 0.0003908 0.0003908 0.10% FabArray::FillBoundary() 1766 0.0003744 0.0003744 0.0003744 0.09% FabArrayBase::getCPC() 632 0.0003506 0.0003506 0.0003506 0.09% main() 1 0.0002883 0.0002883 0.0002883 0.07% Gravity::get_old_grav_vector() 5 0.0002612 0.0002612 0.0002612 0.06% FabArrayBase::getFB() 1766 0.0002552 0.0002552 0.0002552 0.06% Gravity::get_new_grav_vector() 5 0.0002342 0.0002342 0.0002342 0.06% Amr::coarseTimeStep() 5 0.0002069 0.0002069 0.0002069 0.05% MLLinOp::defineGrids() 6 0.0001957 0.0001957 0.0001957 0.05% MLCellLinOp::apply() 500 0.0001926 0.0001926 0.0001926 0.05% MLMG::mgVcycle() 36 0.0001592 0.0001592 0.0001592 0.04% AmrLevel::FillPatch() 20 0.0001582 0.0001582 0.0001582 0.04% MultiFab::max() 6 0.0001397 0.0001397 0.0001397 0.03% Castro::construct_new_source() 25 0.0001249 0.0001249 0.0001249 0.03% MLCGSolver::ParallelAllReduce 659 0.00012 0.00012 0.00012 0.03% MLCellLinOp::defineBC() 6 0.0001091 0.0001091 0.0001091 0.03% FabArray::ParallelCopy() 380 0.0001066 0.0001066 0.0001066 0.03% FillPatchIterator::Initialize 20 0.000102 0.000102 0.000102 0.03% Amr::timeStep() 5 0.0001017 0.0001017 0.0001017 0.03% MLCellLinOp::correctionResidual() 216 9.716e-05 9.716e-05 9.716e-05 0.02% Castro::do_new_sources() 5 8.768e-05 8.768e-05 8.768e-05 0.02% Castro::finalize_do_advance() 5 8.3e-05 8.3e-05 8.3e-05 0.02% Castro::create_source_corrector() 5 8.26e-05 8.26e-05 8.26e-05 0.02% AmrLevel::restart() 1 7.438e-05 7.438e-05 7.438e-05 0.02% Gravity::update_max_rhs() 6 6.533e-05 6.533e-05 6.533e-05 0.02% StateData::restartDoit() 4 6.089e-05 6.089e-05 6.089e-05 0.02% FabArrayBase::FB::FB() 26 5.937e-05 5.937e-05 5.937e-05 0.01% Castro::advance() 5 5.814e-05 5.814e-05 5.814e-05 0.01% Gravity::solve_for_phi() 5 5.746e-05 5.746e-05 5.746e-05 0.01% MLMG:computeResOfCorrection() 180 5.265e-05 5.265e-05 5.265e-05 0.01% MLMG::actualBottomSolve() 36 3.995e-05 3.995e-05 3.995e-05 0.01% Castro::finalize_advance() 5 3.829e-05 3.829e-05 3.829e-05 0.01% MLMG::mgVcycle_down::0 36 3.56e-05 3.56e-05 3.56e-05 0.01% MLMG::mgVcycle_down::1 36 3.527e-05 3.527e-05 3.527e-05 0.01% Castro::initialize_advance() 5 3.322e-05 3.322e-05 3.322e-05 0.01% MLMG::mgVcycle_down::4 36 3.31e-05 3.31e-05 3.31e-05 0.01% MLMG::solve() 6 3.295e-05 3.295e-05 3.295e-05 0.01% MLMG::mgVcycle_down::2 36 3.23e-05 3.23e-05 3.23e-05 0.01% MLMG::mgVcycle_down::3 36 3.21e-05 3.21e-05 3.21e-05 0.01% Castro::clean_state() 30 3.098e-05 3.098e-05 3.098e-05 0.01% Castro::initialize_do_advance() 5 2.858e-05 2.858e-05 2.858e-05 0.01% Castro::post_timestep() 5 2.787e-05 2.787e-05 2.787e-05 0.01% Castro::buildMetrics() 1 2.693e-05 2.693e-05 2.693e-05 0.01% MLMG::mgVcycle_up::4 36 2.679e-05 2.679e-05 2.679e-05 0.01% Amr::writeSmallPlotFile() 1 2.607e-05 2.607e-05 2.607e-05 0.01% MLMG::oneIter() 36 2.5e-05 2.5e-05 2.5e-05 0.01% Castro::initMFs() 1 2.483e-05 2.483e-05 2.483e-05 0.01% Castro::do_advance_ctu() 5 2.388e-05 2.388e-05 2.388e-05 0.01% Castro::swap_state_time_levels() 5 2.337e-05 2.337e-05 2.337e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.167e-05 2.167e-05 2.167e-05 0.01% MLCellLinOp::solutionResidual() 42 2.151e-05 2.151e-05 2.151e-05 0.01% MLMG::mgVcycle_up::0 36 2.113e-05 2.113e-05 2.113e-05 0.01% MLMG::mgVcycle_up::3 36 2.103e-05 2.103e-05 2.103e-05 0.01% MLMG::mgVcycle_up::2 36 2.062e-05 2.062e-05 2.062e-05 0.01% MLMG::mgVcycle_up::1 36 2.005e-05 2.005e-05 2.005e-05 0.00% MLPoisson::define() 6 1.978e-05 1.978e-05 1.978e-05 0.00% Castro::post_restart() 1 1.954e-05 1.954e-05 1.954e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.581e-05 1.581e-05 1.581e-05 0.00% MLMG::ResNormInf() 42 1.56e-05 1.56e-05 1.56e-05 0.00% MLMG::mgVcycle_bottom 36 1.515e-05 1.515e-05 1.515e-05 0.00% FillPatchSingleLevel 20 1.435e-05 1.435e-05 1.435e-05 0.00% MLMG::computeResidual() 36 1.398e-05 1.398e-05 1.398e-05 0.00% makeSFC 30 1.308e-05 1.308e-05 1.308e-05 0.00% Castro::construct_new_gravity() 5 1.252e-05 1.252e-05 1.252e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.124e-05 1.124e-05 1.124e-05 0.00% MLLinOp::define() 6 1.117e-05 1.117e-05 1.117e-05 0.00% Castro::do_old_sources() 5 1.07e-05 1.07e-05 1.07e-05 0.00% Castro::construct_old_source() 25 1.008e-05 1.008e-05 1.008e-05 0.00% DistributionMapping::Distribute() 31 8.776e-06 8.776e-06 8.776e-06 0.00% Amr::initSubcycle() 1 8.472e-06 8.472e-06 8.472e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.639e-06 7.639e-06 7.639e-06 0.00% Gravity::actual_multilevel_solve() 1 7.252e-06 7.252e-06 7.252e-06 0.00% Castro::construct_old_gravity() 5 6.237e-06 6.237e-06 6.237e-06 0.00% Castro::check_for_nan() 10 5.302e-06 5.302e-06 5.302e-06 0.00% Castro::apply_source_to_state() 10 5.07e-06 5.07e-06 5.07e-06 0.00% MLPoisson::prepareForSolve() 6 4.453e-06 4.453e-06 4.453e-06 0.00% Gravity::swapTimeLevels() 5 4.07e-06 4.07e-06 4.07e-06 0.00% MLMG::computeMLResidual() 6 3.758e-06 3.758e-06 3.758e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.516e-06 3.516e-06 3.516e-06 0.00% Castro::computeNewDt() 5 3.217e-06 3.217e-06 3.217e-06 0.00% MLMG::getGradSolution() 6 2.967e-06 2.967e-06 2.967e-06 0.00% Castro::retry_advance_ctu() 5 2.544e-06 2.544e-06 2.544e-06 0.00% Castro::expand_state() 5 2.344e-06 2.344e-06 2.344e-06 0.00% MLMG::MLResNormInf() 6 2.052e-06 2.052e-06 2.052e-06 0.00% MLMG::MLRhsNormInf() 6 2.013e-06 2.013e-06 2.013e-06 0.00% Gravity::set_mass_offset() 6 1.958e-06 1.958e-06 1.958e-06 0.00% Castro::FluxRegCrseInit 5 1.818e-06 1.818e-06 1.818e-06 0.00% Castro::FluxRegFineAdd() 5 1.515e-06 1.515e-06 1.515e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.063e-06 1.063e-06 1.063e-06 0.00% Amr::init() 1 1.031e-06 1.031e-06 1.031e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4022 0.4022 0.4022 100.00% Amr::coarseTimeStep() 5 0.3213 0.3213 0.3213 79.90% Amr::timeStep() 5 0.3186 0.3186 0.3186 79.20% Castro::advance() 5 0.3149 0.3149 0.3149 78.29% Castro::subcycle_advance_ctu() 5 0.3081 0.3081 0.3081 76.61% Castro::do_advance_ctu() 5 0.307 0.307 0.307 76.32% Castro::construct_ctu_hydro_source() 5 0.1413 0.1413 0.1413 35.13% Castro::construct_new_gravity() 5 0.1296 0.1296 0.1296 32.21% Gravity::solve_phi_with_mlmg() 6 0.1249 0.1249 0.1249 31.07% Gravity::solve_for_phi() 5 0.1218 0.1218 0.1218 30.28% Gravity::actual_solve_with_mlmg() 6 0.1214 0.1214 0.1214 30.18% MLMG::solve() 6 0.11 0.11 0.11 27.36% MLMG::oneIter() 36 0.1032 0.1032 0.1032 25.67% MLMG::mgVcycle() 36 0.1017 0.1017 0.1017 25.29% MLCellLinOp::smooth() 720 0.04976 0.04976 0.04976 12.37% MLCellLinOp::applyBC() 1946 0.0467 0.0467 0.0467 11.61% Amr::init() 1 0.04622 0.04622 0.04622 11.49% Amr::restart() 1 0.04622 0.04622 0.04622 11.49% AmrLevel::restart() 1 0.04003 0.04003 0.04003 9.95% StateData::restartDoit() 4 0.03996 0.03996 0.03996 9.93% VisMF::Read() 3 0.03984 0.03984 0.03984 9.91% Amr::writePlotFile() 1 0.0339 0.0339 0.0339 8.43% VisMF::Write(FabArray) 1 0.03217 0.03217 0.03217 8.00% MLMG::mgVcycle_bottom 36 0.03152 0.03152 0.03152 7.84% MLMG::actualBottomSolve() 36 0.03151 0.03151 0.03151 7.83% MLCGSolver::bicgstab 36 0.0312 0.0312 0.0312 7.76% Castro::clean_state() 30 0.02529 0.02529 0.02529 6.29% AmrLevel::FillPatch() 20 0.02135 0.02135 0.02135 5.31% FillPatchIterator::Initialize 20 0.01931 0.01931 0.01931 4.80% FillPatchIterator::FillFromLevel0() 20 0.01856 0.01856 0.01856 4.61% FillPatchSingleLevel 20 0.01854 0.01854 0.01854 4.61% StateDataPhysBCFunct::() 20 0.01649 0.01649 0.01649 4.10% MLCellLinOp::apply() 500 0.01561 0.01561 0.01561 3.88% MLMG::mgVcycle_down::0 36 0.01426 0.01426 0.01426 3.55% MLPoisson::Fsmooth() 1440 0.01388 0.01388 0.01388 3.45% FabArray::FillBoundary() 1766 0.01333 0.01333 0.01333 3.32% FillBoundary_nowait() 1766 0.01296 0.01296 0.01296 3.22% StateData::FillBoundary(geom) 160 0.01234 0.01234 0.01234 3.07% MLMG::mgVcycle_up::0 36 0.01071 0.01071 0.01071 2.66% Castro::computeTemp() 30 0.01008 0.01008 0.01008 2.51% Castro::do_old_sources() 5 0.009917 0.009917 0.009917 2.47% Castro::initialize_do_advance() 5 0.009794 0.009794 0.009794 2.44% MLCellLinOp::correctionResidual() 216 0.009517 0.009517 0.009517 2.37% Castro::normalize_species() 30 0.009169 0.009169 0.009169 2.28% MLPoisson::define() 6 0.009031 0.009031 0.009031 2.25% amrex::Dot() 484 0.008801 0.008801 0.008801 2.19% MLMG:computeResOfCorrection() 180 0.008353 0.008353 0.008353 2.08% Gravity::get_new_grav_vector() 5 0.007638 0.007638 0.007638 1.90% Castro::construct_old_gravity() 5 0.007454 0.007454 0.007454 1.85% Gravity::get_old_grav_vector() 5 0.007448 0.007448 0.007448 1.85% amrex::Copy() 463 0.006978 0.006978 0.006978 1.73% MLMG::mgVcycle_down::1 36 0.00682 0.00682 0.00682 1.70% Castro::do_new_sources() 5 0.00678 0.00678 0.00678 1.69% FabArray::ParallelCopy() 380 0.00657 0.00657 0.00657 1.63% FabArray::ParallelCopy_nowait() 380 0.006464 0.006464 0.006464 1.61% Castro::initialize_advance() 5 0.006396 0.006396 0.006396 1.59% MLMG::mgVcycle_down::2 36 0.006343 0.006343 0.006343 1.58% FabArray::setVal() 537 0.006214 0.006214 0.006214 1.54% FabArray::norminf() 326 0.006202 0.006202 0.006202 1.54% MLMG::mgVcycle_down::3 36 0.006198 0.006198 0.006198 1.54% MLMG::mgVcycle_down::4 36 0.006138 0.006138 0.006138 1.53% MLCellLinOp::defineAuxData() 6 0.006048 0.006048 0.006048 1.50% Castro::enforce_min_density() 30 0.005594 0.005594 0.005594 1.39% MLCGSolver::ParallelAllReduce 659 0.005301 0.005301 0.005301 1.32% MLMG::addInterpCorrection() 180 0.005191 0.005191 0.005191 1.29% Castro::expand_state() 5 0.005041 0.005041 0.005041 1.25% MLMG::mgVcycle_up::1 36 0.004965 0.004965 0.004965 1.23% MLMG::mgVcycle_up::4 36 0.004947 0.004947 0.004947 1.23% amrex::average_down 180 0.004885 0.004885 0.004885 1.21% MLMG::mgVcycle_up::2 36 0.004856 0.004856 0.004856 1.21% MLMG::mgVcycle_up::3 36 0.004777 0.004777 0.004777 1.19% MLPoisson::Fapply() 500 0.0044 0.0044 0.0044 1.09% Castro::estTimeStep() 10 0.004173 0.004173 0.004173 1.04% FabArray::Saxpy() 355 0.003612 0.003612 0.003612 0.90% Castro::post_timestep() 5 0.003572 0.003572 0.003572 0.89% FabArray::Xpay() 361 0.003497 0.003497 0.003497 0.87% Castro::post_restart() 1 0.003488 0.003488 0.003488 0.87% Gravity::fill_multipole_BCs() 6 0.003451 0.003451 0.003451 0.86% Gravity::multilevel_solve_for_new_phi() 1 0.003374 0.003374 0.003374 0.84% Gravity::actual_multilevel_solve() 1 0.003358 0.003358 0.003358 0.83% MLCellLinOp::solutionResidual() 42 0.003183 0.003183 0.003183 0.79% Castro::reset_internal_energy(MultiFab) 30 0.002905 0.002905 0.002905 0.72% MLCellLinOp::defineBC() 6 0.002728 0.002728 0.002728 0.68% MLMG::computeResidual() 36 0.002634 0.002634 0.002634 0.65% BndryData::define() 6 0.002619 0.002619 0.002619 0.65% Castro::computeNewDt() 5 0.002576 0.002576 0.002576 0.64% MLMG::prepareForSolve() 6 0.002499 0.002499 0.002499 0.62% FabArray::LinComb() 242 0.001904 0.001904 0.001904 0.47% amrex::Add() 72 0.001839 0.001839 0.001839 0.46% Castro::finalize_do_advance() 5 0.001683 0.001683 0.001683 0.42% Castro::construct_new_source() 25 0.001666 0.001666 0.001666 0.41% Castro::construct_new_gravity_source() 5 0.001541 0.001541 0.001541 0.38% Castro::construct_old_source() 25 0.001399 0.001399 0.001399 0.35% Castro::construct_old_gravity_source() 5 0.001389 0.001389 0.001389 0.35% MLMG::ResNormInf() 42 0.0009408 0.0009408 0.0009408 0.23% Castro::apply_source_to_state() 10 0.0009227 0.0009227 0.0009227 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009175 0.0009175 0.0009175 0.23% check_for_negative_density() 5 0.0008397 0.0008397 0.0008397 0.21% Castro::reset_internal_energy(Fab) 240 0.0007827 0.0007827 0.0007827 0.19% FabArrayBase::getCPC() 632 0.0007765 0.0007765 0.0007765 0.19% MLMG::getGradSolution() 6 0.000768 0.000768 0.000768 0.19% MLCellLinOp::compGrad() 6 0.000765 0.000765 0.000765 0.19% MLCellLinOp::setLevelBC() 6 0.0007577 0.0007577 0.0007577 0.19% FabArray::setDomainBndry() 20 0.0006454 0.0006454 0.0006454 0.16% FabArray::mult() 22 0.0006414 0.0006414 0.0006414 0.16% MLPoisson::prepareForSolve() 6 0.0006048 0.0006048 0.0006048 0.15% MLCellLinOp::prepareForSolve() 6 0.0006004 0.0006004 0.0006004 0.15% Castro::check_for_nan() 10 0.000594 0.000594 0.000594 0.15% MultiFab::contains_nan() 10 0.0005887 0.0005887 0.0005887 0.15% MLMG::computeMLResidual() 6 0.000567 0.000567 0.000567 0.14% Gravity::update_max_rhs() 6 0.000448 0.000448 0.000448 0.11% FabArrayBase::CPC::define() 244 0.0004258 0.0004258 0.0004258 0.11% Castro::enforce_speed_limit() 30 0.0004143 0.0004143 0.0004143 0.10% Amr::InitAmr() 1 0.0003993 0.0003993 0.0003993 0.10% FabArrayBase::getFB() 1766 0.0003145 0.0003145 0.0003145 0.08% Castro::finalize_advance() 5 0.0003116 0.0003116 0.0003116 0.08% MLLinOp::define() 6 0.0002361 0.0002361 0.0002361 0.06% Gravity::swapTimeLevels() 5 0.0002298 0.0002298 0.0002298 0.06% MLLinOp::defineGrids() 6 0.000225 0.000225 0.000225 0.06% MLMG::MLResNormInf() 6 0.0001523 0.0001523 0.0001523 0.04% Castro::buildMetrics() 1 0.0001493 0.0001493 0.0001493 0.04% MultiFab::max() 6 0.0001397 0.0001397 0.0001397 0.03% MLMG::MLRhsNormInf() 6 0.0001169 0.0001169 0.0001169 0.03% Castro::create_source_corrector() 5 8.26e-05 8.26e-05 8.26e-05 0.02% FabArrayBase::FB::FB() 26 5.937e-05 5.937e-05 5.937e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.821e-05 2.821e-05 2.821e-05 0.01% Amr::writeSmallPlotFile() 1 2.607e-05 2.607e-05 2.607e-05 0.01% Castro::initMFs() 1 2.483e-05 2.483e-05 2.483e-05 0.01% Castro::swap_state_time_levels() 5 2.337e-05 2.337e-05 2.337e-05 0.01% makeSFC 30 2.057e-05 2.057e-05 2.057e-05 0.01% DistributionMapping::Distribute() 31 8.776e-06 8.776e-06 8.776e-06 0.00% Amr::initSubcycle() 1 8.472e-06 8.472e-06 8.472e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.801e-06 4.801e-06 4.801e-06 0.00% Castro::retry_advance_ctu() 5 2.544e-06 2.544e-06 2.544e-06 0.00% Gravity::set_mass_offset() 6 1.958e-06 1.958e-06 1.958e-06 0.00% Castro::FluxRegCrseInit 5 1.818e-06 1.818e-06 1.818e-06 0.00% Castro::FluxRegFineAdd() 5 1.515e-06 1.515e-06 1.515e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.063e-06 1.063e-06 1.063e-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 201 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 157 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1015 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2357 KiB 28 MiB Castro::initialize_advance() 40 40 18 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6759 KiB 14 MiB MLMG::prepareForSolve() 361 361 3360 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 192 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 194 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6754 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 13 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2152 B 2048 KiB Gravity::solve_for_phi() 40 40 619 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 17 KiB 2048 KiB BndryData::define() 576 576 309 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 198 KiB 671 KiB Castro::estTimeStep() 10 10 4951 B 480 KiB VisMF::Write(FabArray) 112 112 1227 B 320 KiB Castro::normalize_species() 30 30 7421 B 320 KiB amrex::average_down 469 469 1201 B 257 KiB MLMG::addInterpCorrection() 468 468 1105 B 257 KiB amrex::Dot() 592 592 3222 B 160 KiB FabArray::norminf() 398 398 2278 B 160 KiB check_for_negative_density() 5 5 331 B 160 KiB MultiFab::max() 6 6 53 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3268 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 272 B 9648 B MLCellLinOp::applyBC() 3892 3892 215 B 9344 B amrex::Copy() 56 56 5988 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 36 B 2304 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 112 B 1472 B MLCellLinOp::defineBC() 36 36 347 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1264 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 109 KiB 8192 KiB VisMF::Write(FabArray) 120 120 246 KiB 3584 KiB VisMF::Read() 24 24 191 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3268 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 272 B 9648 B MLCellLinOp::applyBC() 1946 1946 214 B 9328 B amrex::Copy() 56 56 5988 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2672 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 36 B 2304 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 520 B 1296 B amrex::average_down 37 37 226 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 398 398 16 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2422 [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.07-35-g0eb494d34427) finalized