Initializing CUDA... CUDA initialized with 1 device. AMReX (23.10-13-gecaa14456e3f) initialized Starting run at 08:26:58 UTC on 2023-10-16. Successfully read inputs file ... Castro git describe: 23.10-36-g466e5a562 AMReX git describe: 23.10-13-gecaa14456 Microphysics git describe: 23.10-10-g8b2c4854 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.051213373 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028308795 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.049481987 [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.04973613 [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.073982317 [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.089149371 [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.069677622 [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.071219887 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.052793286 [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.076277333 [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.071399226 [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.065200723 [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.071326706 [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.099046351 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028273441 seconds Ending run at 08:26:59 UTC on 2023-10-16. Run time = 1.002703674 Run time without initialization = 0.868343488 Average number of zones advanced per microsecond: 3.019 Average number of zones advanced per microsecond per rank: 3.019 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 1.003 ... 1.003 ... 1.003 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2888 0.2888 0.2888 28.80% VisMF::Write(FabArray) 11 0.22 0.22 0.22 21.94% MLCellLinOp::applyBC() 4433 0.07818 0.07818 0.07818 7.80% Amr::checkPoint() 3 0.05529 0.05529 0.05529 5.51% MLPoisson::Fsmooth() 3280 0.03297 0.03297 0.03297 3.29% FillBoundary_nowait() 4023 0.03076 0.03076 0.03076 3.07% StateData::FillBoundary(geom) 328 0.02727 0.02727 0.02727 2.72% amrex::Dot() 1114 0.02108 0.02108 0.02108 2.10% Castro::normalize_species() 62 0.0205 0.0205 0.0205 2.04% FabArray::ParallelCopy_nowait() 861 0.01979 0.01979 0.01979 1.97% amrex::Copy() 1029 0.01514 0.01514 0.01514 1.51% Castro::computeTemp() 63 0.01484 0.01484 0.01484 1.48% FabArray::norminf() 743 0.0147 0.0147 0.0147 1.47% FabArray::setVal() 1144 0.01373 0.01373 0.01373 1.37% MLPoisson::Fapply() 1142 0.01063 0.01063 0.01063 1.06% MLCellLinOp::defineAuxData() 11 0.01045 0.01045 0.01045 1.04% Castro::enforce_min_density() 62 0.01025 0.01025 0.01025 1.02% StateDataPhysBCFunct::() 41 0.009956 0.009956 0.009956 0.99% Gravity::fill_multipole_BCs() 11 0.009305 0.009305 0.009305 0.93% FabArray::Saxpy() 813 0.008365 0.008365 0.008365 0.83% FabArray::Xpay() 821 0.008261 0.008261 0.008261 0.82% MLMG::addInterpCorrection() 410 0.006987 0.006987 0.006987 0.70% amrex::average_down 410 0.006167 0.006167 0.006167 0.61% Castro::estTimeStep() 21 0.005761 0.005761 0.005761 0.57% Castro::reset_internal_energy(MultiFab) 63 0.005283 0.005283 0.005283 0.53% FabArray::LinComb() 557 0.00462 0.00462 0.00462 0.46% amrex::Add() 164 0.004437 0.004437 0.004437 0.44% Castro::enforce_speed_limit() 62 0.00429 0.00429 0.00429 0.43% BndryData::define() 11 0.003967 0.003967 0.003967 0.40% Castro::construct_new_gravity_source() 10 0.00338 0.00338 0.00338 0.34% Castro::construct_old_gravity_source() 10 0.002939 0.002939 0.002939 0.29% Amr::writePlotFile() 2 0.002255 0.002255 0.002255 0.22% MLCGSolver::bicgstab 82 0.002253 0.002253 0.002253 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001805 0.001805 0.001805 0.18% Castro::reset_internal_energy(Fab) 504 0.001656 0.001656 0.001656 0.17% Gravity::actual_solve_with_mlmg() 11 0.001604 0.001604 0.001604 0.16% check_for_negative_density() 10 0.001575 0.001575 0.001575 0.16% Castro::initData() 1 0.00154 0.00154 0.00154 0.15% MLCellLinOp::setLevelBC() 11 0.001531 0.001531 0.001531 0.15% FabArray::setDomainBndry() 41 0.001376 0.001376 0.001376 0.14% FabArray::mult() 43 0.001375 0.001375 0.001375 0.14% MLCellLinOp::prepareForSolve() 11 0.001302 0.001302 0.001302 0.13% MultiFab::contains_nan() 20 0.001275 0.001275 0.001275 0.13% MLCellLinOp::smooth() 1640 0.001118 0.001118 0.001118 0.11% MLCellLinOp::compGrad() 11 0.001101 0.001101 0.001101 0.11% MLMG::prepareForSolve() 11 0.0009841 0.0009841 0.0009841 0.10% FabArrayBase::getCPC() 1323 0.0008096 0.0008096 0.0008096 0.08% FabArray::FillBoundary() 4023 0.0008086 0.0008086 0.0008086 0.08% FabArrayBase::CPC::define() 454 0.0007433 0.0007433 0.0007433 0.07% FabArrayBase::getFB() 4023 0.0006364 0.0006364 0.0006364 0.06% Gravity::get_new_grav_vector() 11 0.0006042 0.0006042 0.0006042 0.06% Amr::InitAmr() 1 0.000483 0.000483 0.000483 0.05% Gravity::get_old_grav_vector() 10 0.0004786 0.0004786 0.0004786 0.05% MLCellLinOp::apply() 1142 0.0004726 0.0004726 0.0004726 0.05% Amr::coarseTimeStep() 10 0.0004164 0.0004164 0.0004164 0.04% AmrLevel::FillPatch() 41 0.0003475 0.0003475 0.0003475 0.03% MultiFab::max() 11 0.0003423 0.0003423 0.0003423 0.03% main() 1 0.0002827 0.0002827 0.0002827 0.03% MLCGSolver::ParallelAllReduce 1514 0.000275 0.000275 0.000275 0.03% FabArray::ParallelCopy() 861 0.0002545 0.0002545 0.0002545 0.03% MLCellLinOp::correctionResidual() 492 0.000237 0.000237 0.000237 0.02% MLCellLinOp::defineBC() 11 0.0002257 0.0002257 0.0002257 0.02% FillPatchIterator::Initialize 41 0.000225 0.000225 0.000225 0.02% MLMG::mgVcycle() 82 0.0002076 0.0002076 0.0002076 0.02% Castro::create_source_corrector() 10 0.0001748 0.0001748 0.0001748 0.02% Castro::subcycle_advance_ctu() 10 0.0001746 0.0001746 0.0001746 0.02% MLLinOp::defineGrids() 11 0.0001737 0.0001737 0.0001737 0.02% Amr::timeStep() 10 0.0001685 0.0001685 0.0001685 0.02% Gravity::solve_for_phi() 10 0.0001618 0.0001618 0.0001618 0.02% Gravity::update_max_rhs() 11 0.0001549 0.0001549 0.0001549 0.02% StateData::checkPoint() 12 0.000133 0.000133 0.000133 0.01% MLMG:computeResOfCorrection() 410 0.000123 0.000123 0.000123 0.01% Castro::Castro() 1 0.000103 0.000103 0.000103 0.01% AmrLevel::checkPoint() 3 0.0001008 0.0001008 0.0001008 0.01% Castro::advance() 10 9.669e-05 9.669e-05 9.669e-05 0.01% FabArrayBase::FB::FB() 56 9.445e-05 9.445e-05 9.445e-05 0.01% MLMG::actualBottomSolve() 82 9.177e-05 9.177e-05 9.177e-05 0.01% MLMG::mgVcycle_down::0 82 8.87e-05 8.87e-05 8.87e-05 0.01% MLMG::mgVcycle_down::1 82 8.238e-05 8.238e-05 8.238e-05 0.01% Castro::initialize_advance() 10 8.136e-05 8.136e-05 8.136e-05 0.01% Castro::clean_state() 62 7.904e-05 7.904e-05 7.904e-05 0.01% MLMG::solve() 11 7.859e-05 7.859e-05 7.859e-05 0.01% MLMG::mgVcycle_down::2 82 7.766e-05 7.766e-05 7.766e-05 0.01% MLMG::mgVcycle_down::4 82 7.32e-05 7.32e-05 7.32e-05 0.01% MLMG::mgVcycle_down::3 82 7.073e-05 7.073e-05 7.073e-05 0.01% Castro::enforce_consistent_e() 1 6.944e-05 6.944e-05 6.944e-05 0.01% Castro::finalize_advance() 10 6.554e-05 6.554e-05 6.554e-05 0.01% MLMG::mgVcycle_up::4 82 6.517e-05 6.517e-05 6.517e-05 0.01% Amr::writeSmallPlotFile() 1 6.386e-05 6.386e-05 6.386e-05 0.01% Castro::initialize_do_advance() 10 6.152e-05 6.152e-05 6.152e-05 0.01% MLMG::mgVcycle_up::1 82 5.866e-05 5.866e-05 5.866e-05 0.01% MLMG::oneIter() 82 5.613e-05 5.613e-05 5.613e-05 0.01% MLMG::mgVcycle_up::0 82 5.605e-05 5.605e-05 5.605e-05 0.01% Castro::do_new_sources() 10 5.392e-05 5.392e-05 5.392e-05 0.01% MLMG::mgVcycle_up::3 82 5.133e-05 5.133e-05 5.133e-05 0.01% MLCellLinOp::solutionResidual() 93 5.109e-05 5.109e-05 5.109e-05 0.01% Castro::do_advance_ctu() 10 4.989e-05 4.989e-05 4.989e-05 0.00% FillPatchIterator::FillFromLevel0() 41 4.858e-05 4.858e-05 4.858e-05 0.00% MLMG::mgVcycle_up::2 82 4.735e-05 4.735e-05 4.735e-05 0.00% Castro::finalize_do_advance() 10 4.672e-05 4.672e-05 4.672e-05 0.00% Castro::construct_new_source() 50 4.657e-05 4.657e-05 4.657e-05 0.00% StateData::define() 4 4.229e-05 4.229e-05 4.229e-05 0.00% MLMG::mgVcycle_bottom 82 3.791e-05 3.791e-05 3.791e-05 0.00% Castro::swap_state_time_levels() 10 3.704e-05 3.704e-05 3.704e-05 0.00% FillPatchSingleLevel 41 3.498e-05 3.498e-05 3.498e-05 0.00% MLMG::computeResidual() 82 3.403e-05 3.403e-05 3.403e-05 0.00% MLMG::ResNormInf() 93 3.216e-05 3.216e-05 3.216e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.967e-05 2.967e-05 2.967e-05 0.00% Castro::initMFs() 1 2.885e-05 2.885e-05 2.885e-05 0.00% Amr::defBaseLevel() 1 2.819e-05 2.819e-05 2.819e-05 0.00% Castro::construct_new_gravity() 10 2.793e-05 2.793e-05 2.793e-05 0.00% Castro::buildMetrics() 1 2.665e-05 2.665e-05 2.665e-05 0.00% makeSFC 55 2.639e-05 2.639e-05 2.639e-05 0.00% Castro::do_old_sources() 10 2.206e-05 2.206e-05 2.206e-05 0.00% MLPoisson::define() 11 2.096e-05 2.096e-05 2.096e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.906e-05 1.906e-05 1.906e-05 0.00% DistributionMapping::Distribute() 56 1.9e-05 1.9e-05 1.9e-05 0.00% Castro::construct_old_source() 50 1.898e-05 1.898e-05 1.898e-05 0.00% Amr::FinalizeInit() 1 1.847e-05 1.847e-05 1.847e-05 0.00% Castro::check_for_nan() 20 1.754e-05 1.754e-05 1.754e-05 0.00% Castro::apply_source_to_state() 20 1.484e-05 1.484e-05 1.484e-05 0.00% MLLinOp::define() 11 1.465e-05 1.465e-05 1.465e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.354e-05 1.354e-05 1.354e-05 0.00% Castro::construct_old_gravity() 10 1.166e-05 1.166e-05 1.166e-05 0.00% Castro::post_timestep() 10 1.016e-05 1.016e-05 1.016e-05 0.00% Castro::post_init() 1 1.013e-05 1.013e-05 1.013e-05 0.00% AmrLevel::AmrLevel(dm) 1 9.907e-06 9.907e-06 9.907e-06 0.00% Amr::initSubcycle() 1 8.845e-06 8.845e-06 8.845e-06 0.00% MLPoisson::prepareForSolve() 11 8.54e-06 8.54e-06 8.54e-06 0.00% Gravity::swapTimeLevels() 10 8.522e-06 8.522e-06 8.522e-06 0.00% Castro::computeNewDt() 9 8.499e-06 8.499e-06 8.499e-06 0.00% MLMG::computeMLResidual() 11 8.462e-06 8.462e-06 8.462e-06 0.00% Gravity::actual_multilevel_solve() 1 8.132e-06 8.132e-06 8.132e-06 0.00% MLMG::getGradSolution() 11 5.791e-06 5.791e-06 5.791e-06 0.00% Castro::expand_state() 10 5.47e-06 5.47e-06 5.47e-06 0.00% AmrLevel::checkPointPost() 3 5.347e-06 5.347e-06 5.347e-06 0.00% Amr::InitializeInit() 1 5.334e-06 5.334e-06 5.334e-06 0.00% Castro::retry_advance_ctu() 10 5.293e-06 5.293e-06 5.293e-06 0.00% Gravity::set_mass_offset() 11 4.722e-06 4.722e-06 4.722e-06 0.00% MLMG::MLRhsNormInf() 11 4.491e-06 4.491e-06 4.491e-06 0.00% AmrLevel::checkPointPre() 3 4.48e-06 4.48e-06 4.48e-06 0.00% MLMG::MLResNormInf() 11 4.006e-06 4.006e-06 4.006e-06 0.00% Castro::computeInitialDt() 2 3.166e-06 3.166e-06 3.166e-06 0.00% Castro::FluxRegCrseInit 10 3.063e-06 3.063e-06 3.063e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.844e-06 2.844e-06 2.844e-06 0.00% Amr::init() 1 2.516e-06 2.516e-06 2.516e-06 0.00% Castro::FluxRegFineAdd() 10 2.273e-06 2.273e-06 2.273e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.162e-06 2.162e-06 2.162e-06 0.00% Amr::initialInit() 1 1.514e-06 1.514e-06 1.514e-06 0.00% Castro::post_regrid() 1 1.231e-06 1.231e-06 1.231e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 1.003 1.003 1.003 100.00% Amr::coarseTimeStep() 10 0.8398 0.8398 0.8398 83.75% Amr::timeStep() 10 0.6657 0.6657 0.6657 66.39% Castro::advance() 10 0.655 0.655 0.655 65.32% Castro::subcycle_advance_ctu() 10 0.6397 0.6397 0.6397 63.80% Castro::do_advance_ctu() 10 0.6396 0.6396 0.6396 63.78% Castro::construct_ctu_hydro_source() 10 0.2995 0.2995 0.2995 29.87% Gravity::solve_phi_with_mlmg() 11 0.2986 0.2986 0.2986 29.78% Gravity::actual_solve_with_mlmg() 11 0.2888 0.2888 0.2888 28.80% Castro::construct_new_gravity() 10 0.2704 0.2704 0.2704 26.96% MLMG::solve() 11 0.2667 0.2667 0.2667 26.60% Gravity::solve_for_phi() 10 0.2541 0.2541 0.2541 25.34% MLMG::oneIter() 82 0.2515 0.2515 0.2515 25.08% MLMG::mgVcycle() 82 0.2478 0.2478 0.2478 24.72% Amr::checkPoint() 3 0.2216 0.2216 0.2216 22.10% VisMF::Write(FabArray) 11 0.22 0.22 0.22 21.94% AmrLevel::checkPoint() 3 0.1663 0.1663 0.1663 16.59% StateData::checkPoint() 12 0.1662 0.1662 0.1662 16.58% Amr::init() 1 0.1338 0.1338 0.1338 13.34% MLCellLinOp::smooth() 1640 0.1179 0.1179 0.1179 11.76% MLCellLinOp::applyBC() 4433 0.1105 0.1105 0.1105 11.02% MLMG::mgVcycle_bottom 82 0.07546 0.07546 0.07546 7.53% MLMG::actualBottomSolve() 82 0.07542 0.07542 0.07542 7.52% MLCGSolver::bicgstab 82 0.0747 0.0747 0.0747 7.45% Amr::writePlotFile() 2 0.0567 0.0567 0.0567 5.65% Castro::clean_state() 62 0.05605 0.05605 0.05605 5.59% Amr::initialInit() 1 0.05413 0.05413 0.05413 5.40% Amr::FinalizeInit() 1 0.04884 0.04884 0.04884 4.87% Castro::post_init() 1 0.04733 0.04733 0.04733 4.72% AmrLevel::FillPatch() 41 0.04717 0.04717 0.04717 4.70% Gravity::multilevel_solve_for_new_phi() 1 0.04501 0.04501 0.04501 4.49% Gravity::actual_multilevel_solve() 1 0.045 0.045 0.045 4.49% FillPatchIterator::Initialize 41 0.04296 0.04296 0.04296 4.28% FillPatchIterator::FillFromLevel0() 41 0.04136 0.04136 0.04136 4.12% FillPatchSingleLevel 41 0.04131 0.04131 0.04131 4.12% MLCellLinOp::apply() 1142 0.03724 0.03724 0.03724 3.71% StateDataPhysBCFunct::() 41 0.03723 0.03723 0.03723 3.71% MLMG::mgVcycle_down::0 82 0.03392 0.03392 0.03392 3.38% MLPoisson::Fsmooth() 3280 0.03297 0.03297 0.03297 3.29% FabArray::FillBoundary() 4023 0.0323 0.0323 0.0323 3.22% MLMG::mgVcycle_up::0 82 0.03198 0.03198 0.03198 3.19% FillBoundary_nowait() 4023 0.03149 0.03149 0.03149 3.14% StateData::FillBoundary(geom) 328 0.02727 0.02727 0.02727 2.72% MLCellLinOp::correctionResidual() 492 0.0226 0.0226 0.0226 2.25% Castro::computeTemp() 63 0.02178 0.02178 0.02178 2.17% amrex::Dot() 1114 0.02108 0.02108 0.02108 2.10% FabArray::ParallelCopy() 861 0.02089 0.02089 0.02089 2.08% Castro::initialize_do_advance() 10 0.02067 0.02067 0.02067 2.06% FabArray::ParallelCopy_nowait() 861 0.02063 0.02063 0.02063 2.06% Castro::normalize_species() 62 0.0205 0.0205 0.0205 2.04% MLMG:computeResOfCorrection() 410 0.01992 0.01992 0.01992 1.99% MLMG::addInterpCorrection() 410 0.01849 0.01849 0.01849 1.84% Gravity::get_new_grav_vector() 11 0.01816 0.01816 0.01816 1.81% Castro::do_old_sources() 10 0.01813 0.01813 0.01813 1.81% MLPoisson::define() 11 0.01742 0.01742 0.01742 1.74% MLMG::mgVcycle_down::1 82 0.01627 0.01627 0.01627 1.62% amrex::Copy() 1029 0.01514 0.01514 0.01514 1.51% Castro::construct_old_gravity() 10 0.01513 0.01513 0.01513 1.51% Gravity::get_old_grav_vector() 10 0.01512 0.01512 0.01512 1.51% MLMG::mgVcycle_down::2 82 0.01499 0.01499 0.01499 1.49% FabArray::norminf() 743 0.0147 0.0147 0.0147 1.47% MLMG::mgVcycle_down::3 82 0.01462 0.01462 0.01462 1.46% Castro::initialize_advance() 10 0.01454 0.01454 0.01454 1.45% MLMG::mgVcycle_down::4 82 0.01448 0.01448 0.01448 1.44% FabArray::setVal() 1144 0.01373 0.01373 0.01373 1.37% MLCGSolver::ParallelAllReduce 1514 0.01258 0.01258 0.01258 1.25% Castro::do_new_sources() 10 0.01257 0.01257 0.01257 1.25% MLCellLinOp::defineAuxData() 11 0.01195 0.01195 0.01195 1.19% MLMG::mgVcycle_up::4 82 0.01172 0.01172 0.01172 1.17% MLMG::mgVcycle_up::1 82 0.01166 0.01166 0.01166 1.16% amrex::average_down 410 0.0115 0.0115 0.0115 1.15% MLMG::mgVcycle_up::2 82 0.01137 0.01137 0.01137 1.13% Castro::expand_state() 10 0.01127 0.01127 0.01127 1.12% MLMG::mgVcycle_up::3 82 0.01117 0.01117 0.01117 1.11% MLPoisson::Fapply() 1142 0.01063 0.01063 0.01063 1.06% Castro::post_timestep() 10 0.01055 0.01055 0.01055 1.05% Castro::enforce_min_density() 62 0.01025 0.01025 0.01025 1.02% Gravity::fill_multipole_BCs() 11 0.009539 0.009539 0.009539 0.95% FabArray::Saxpy() 813 0.008365 0.008365 0.008365 0.83% FabArray::Xpay() 821 0.008261 0.008261 0.008261 0.82% MLCellLinOp::solutionResidual() 93 0.007603 0.007603 0.007603 0.76% Castro::reset_internal_energy(MultiFab) 63 0.006939 0.006939 0.006939 0.69% MLMG::computeResidual() 82 0.006299 0.006299 0.006299 0.63% Castro::estTimeStep() 21 0.005761 0.005761 0.005761 0.57% Amr::InitializeInit() 1 0.005289 0.005289 0.005289 0.53% Amr::defBaseLevel() 1 0.005284 0.005284 0.005284 0.53% MLCellLinOp::defineBC() 11 0.005206 0.005206 0.005206 0.52% MLMG::prepareForSolve() 11 0.00506 0.00506 0.00506 0.50% BndryData::define() 11 0.00498 0.00498 0.00498 0.50% FabArray::LinComb() 557 0.00462 0.00462 0.00462 0.46% amrex::Add() 164 0.004437 0.004437 0.004437 0.44% Castro::initData() 1 0.004363 0.004363 0.004363 0.44% Castro::enforce_speed_limit() 62 0.00429 0.00429 0.00429 0.43% Castro::construct_new_source() 50 0.003427 0.003427 0.003427 0.34% Castro::construct_new_gravity_source() 10 0.00338 0.00338 0.00338 0.34% Castro::construct_old_source() 50 0.002958 0.002958 0.002958 0.29% Castro::construct_old_gravity_source() 10 0.002939 0.002939 0.002939 0.29% Castro::computeNewDt() 9 0.002514 0.002514 0.002514 0.25% Castro::finalize_do_advance() 10 0.002205 0.002205 0.002205 0.22% MLMG::ResNormInf() 93 0.00218 0.00218 0.00218 0.22% Castro::apply_source_to_state() 20 0.001873 0.001873 0.001873 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001805 0.001805 0.001805 0.18% Castro::reset_internal_energy(Fab) 504 0.001656 0.001656 0.001656 0.17% MLMG::getGradSolution() 11 0.00159 0.00159 0.00159 0.16% MLCellLinOp::compGrad() 11 0.001585 0.001585 0.001585 0.16% check_for_negative_density() 10 0.001575 0.001575 0.001575 0.16% FabArrayBase::getCPC() 1323 0.001553 0.001553 0.001553 0.15% MLCellLinOp::setLevelBC() 11 0.001531 0.001531 0.001531 0.15% FabArray::setDomainBndry() 41 0.001376 0.001376 0.001376 0.14% FabArray::mult() 43 0.001375 0.001375 0.001375 0.14% MLMG::computeMLResidual() 11 0.001347 0.001347 0.001347 0.13% MLPoisson::prepareForSolve() 11 0.001311 0.001311 0.001311 0.13% MLCellLinOp::prepareForSolve() 11 0.001302 0.001302 0.001302 0.13% Castro::check_for_nan() 20 0.001293 0.001293 0.001293 0.13% MultiFab::contains_nan() 20 0.001275 0.001275 0.001275 0.13% Castro::post_regrid() 1 0.0012 0.0012 0.0012 0.12% Castro::computeInitialDt() 2 0.0011 0.0011 0.0011 0.11% Gravity::update_max_rhs() 11 0.001062 0.001062 0.001062 0.11% Castro::Castro() 1 0.0008364 0.0008364 0.0008364 0.08% FabArrayBase::CPC::define() 454 0.0007433 0.0007433 0.0007433 0.07% FabArrayBase::getFB() 4023 0.0007308 0.0007308 0.0007308 0.07% Castro::finalize_advance() 10 0.0005961 0.0005961 0.0005961 0.06% Castro::buildMetrics() 1 0.0005307 0.0005307 0.0005307 0.05% Amr::InitAmr() 1 0.0004918 0.0004918 0.0004918 0.05% Gravity::swapTimeLevels() 10 0.0004418 0.0004418 0.0004418 0.04% MultiFab::max() 11 0.0003423 0.0003423 0.0003423 0.03% MLMG::MLResNormInf() 11 0.0003354 0.0003354 0.0003354 0.03% MLLinOp::define() 11 0.0002485 0.0002485 0.0002485 0.02% MLLinOp::defineGrids() 11 0.0002338 0.0002338 0.0002338 0.02% MLMG::MLRhsNormInf() 11 0.0002235 0.0002235 0.0002235 0.02% Castro::create_source_corrector() 10 0.0001748 0.0001748 0.0001748 0.02% FabArrayBase::FB::FB() 56 9.445e-05 9.445e-05 9.445e-05 0.01% Castro::enforce_consistent_e() 1 6.944e-05 6.944e-05 6.944e-05 0.01% Amr::writeSmallPlotFile() 1 6.386e-05 6.386e-05 6.386e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.798e-05 5.798e-05 5.798e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.22e-05 5.22e-05 5.22e-05 0.01% makeSFC 55 4.444e-05 4.444e-05 4.444e-05 0.00% StateData::define() 4 4.229e-05 4.229e-05 4.229e-05 0.00% Castro::swap_state_time_levels() 10 3.704e-05 3.704e-05 3.704e-05 0.00% Castro::initMFs() 1 2.885e-05 2.885e-05 2.885e-05 0.00% DistributionMapping::Distribute() 56 1.9e-05 1.9e-05 1.9e-05 0.00% Amr::initSubcycle() 1 8.845e-06 8.845e-06 8.845e-06 0.00% AmrLevel::checkPointPost() 3 5.347e-06 5.347e-06 5.347e-06 0.00% Castro::retry_advance_ctu() 10 5.293e-06 5.293e-06 5.293e-06 0.00% Gravity::set_mass_offset() 11 4.722e-06 4.722e-06 4.722e-06 0.00% AmrLevel::checkPointPre() 3 4.48e-06 4.48e-06 4.48e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.8e-06 3.8e-06 3.8e-06 0.00% Castro::FluxRegCrseInit 10 3.063e-06 3.063e-06 3.063e-06 0.00% Castro::FluxRegFineAdd() 10 2.273e-06 2.273e-06 2.273e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.162e-06 2.162e-06 2.162e-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 88 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 134 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 902 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1582 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7612 KiB 14 MiB MLMG::prepareForSolve() 660 660 3271 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 188 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 154 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7519 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 16 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2025 B 2048 KiB Gravity::solve_for_phi() 80 80 518 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 91 KiB 2048 KiB BndryData::define() 1056 1056 299 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 190 KiB 671 KiB Castro::estTimeStep() 21 21 2796 B 480 KiB VisMF::Write(FabArray) 656 656 3067 B 320 KiB Castro::normalize_species() 62 62 6655 B 320 KiB amrex::average_down 1067 1067 1168 B 257 KiB MLMG::addInterpCorrection() 1066 1066 2703 B 257 KiB amrex::Dot() 1360 1360 3100 B 160 KiB FabArray::norminf() 907 907 2160 B 160 KiB check_for_negative_density() 10 10 240 B 160 KiB Castro::initData() 1 1 47 B 160 KiB MultiFab::max() 11 11 53 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 25 B 20 KiB MLPoisson::Fsmooth() 132 132 3195 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 48 B 10 KiB FillBoundary_nowait() 760 760 267 B 9648 B MLCellLinOp::applyBC() 8866 8866 201 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3870 B 6144 B StateData::FillBoundary(geom) 1992 1992 35 B 2352 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 108 B 1472 B MLCellLinOp::defineBC() 66 66 336 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 3731 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 451 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3195 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 48 B 10 KiB FillBoundary_nowait() 760 760 267 B 9648 B MLCellLinOp::applyBC() 4433 4433 199 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3870 B 6144 B Gravity::get_new_grav_vector() 3 3 2907 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 35 B 2352 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 272 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): 2541 [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.10-13-gecaa14456e3f) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.10-13-gecaa14456e3f) initialized Starting run at 08:27:00 UTC on 2023-10-16. Successfully read inputs file ... Castro git describe: 23.10-36-g466e5a562 AMReX git describe: 23.10-13-gecaa14456 Microphysics git describe: 23.10-10-g8b2c4854 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.537686109 Restart time = 0.070314471 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.070594355 [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.067650257 [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.077915631 [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.073733433 [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.053851731 [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.028930033 seconds Ending run at 08:27:00 UTC on 2023-10-16. Run time = 0.443980308 Run time without initialization = 0.373080704 Average number of zones advanced per microsecond: 3.513 Average number of zones advanced per microsecond per rank: 3.513 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.444 ... 0.444 ... 0.444 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1550 0.1550 0.1550 34.92% VisMF::Read() 3 0.05901 0.05901 0.05901 13.29% MLCellLinOp::applyBC() 1946 0.03379 0.03379 0.03379 7.61% VisMF::Write(FabArray) 1 0.02742 0.02742 0.02742 6.18% MLPoisson::Fsmooth() 1440 0.01417 0.01417 0.01417 3.19% FillBoundary_nowait() 1766 0.01268 0.01268 0.01268 2.86% StateData::FillBoundary(geom) 160 0.01257 0.01257 0.01257 2.83% Castro::normalize_species() 30 0.01025 0.01025 0.01025 2.31% amrex::Dot() 484 0.009009 0.009009 0.009009 2.03% Castro::computeTemp() 30 0.008075 0.008075 0.008075 1.82% amrex::Copy() 463 0.007185 0.007185 0.007185 1.62% FabArray::setVal() 537 0.006544 0.006544 0.006544 1.47% FabArray::norminf() 326 0.006419 0.006419 0.006419 1.45% FabArray::ParallelCopy_nowait() 380 0.006071 0.006071 0.006071 1.37% Castro::enforce_min_density() 30 0.00595 0.00595 0.00595 1.34% MLCellLinOp::defineAuxData() 6 0.005515 0.005515 0.005515 1.24% Gravity::fill_multipole_BCs() 6 0.005486 0.005486 0.005486 1.24% Amr::restart() 1 0.004728 0.004728 0.004728 1.06% MLPoisson::Fapply() 500 0.004553 0.004553 0.004553 1.03% StateDataPhysBCFunct::() 20 0.004245 0.004245 0.004245 0.96% FabArray::Saxpy() 355 0.003733 0.003733 0.003733 0.84% FabArray::Xpay() 361 0.003607 0.003607 0.003607 0.81% MLMG::addInterpCorrection() 180 0.003051 0.003051 0.003051 0.69% Castro::estTimeStep() 10 0.002996 0.002996 0.002996 0.67% amrex::average_down 180 0.002665 0.002665 0.002665 0.60% FabArray::LinComb() 242 0.002284 0.002284 0.002284 0.51% BndryData::define() 6 0.002087 0.002087 0.002087 0.47% Castro::reset_internal_energy(MultiFab) 30 0.002025 0.002025 0.002025 0.46% amrex::Add() 72 0.001878 0.001878 0.001878 0.42% Castro::construct_new_gravity_source() 5 0.001827 0.001827 0.001827 0.41% Castro::construct_old_gravity_source() 5 0.001479 0.001479 0.001479 0.33% Amr::writePlotFile() 1 0.001328 0.001328 0.001328 0.30% MLCGSolver::bicgstab 36 0.0009799 0.0009799 0.0009799 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009719 0.0009719 0.0009719 0.22% check_for_negative_density() 5 0.000936 0.000936 0.000936 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008546 0.0008546 0.0008546 0.19% MLCellLinOp::setLevelBC() 6 0.0007966 0.0007966 0.0007966 0.18% Castro::reset_internal_energy(Fab) 240 0.0007899 0.0007899 0.0007899 0.18% MLCellLinOp::prepareForSolve() 6 0.0007135 0.0007135 0.0007135 0.16% FabArray::mult() 22 0.0006824 0.0006824 0.0006824 0.15% FabArray::setDomainBndry() 20 0.0006806 0.0006806 0.0006806 0.15% MultiFab::contains_nan() 10 0.000653 0.000653 0.000653 0.15% MLCellLinOp::compGrad() 6 0.0005846 0.0005846 0.0005846 0.13% MLMG::prepareForSolve() 6 0.0005354 0.0005354 0.0005354 0.12% MLCellLinOp::smooth() 720 0.0004953 0.0004953 0.0004953 0.11% Castro::enforce_speed_limit() 30 0.0004542 0.0004542 0.0004542 0.10% FabArrayBase::CPC::define() 244 0.0004138 0.0004138 0.0004138 0.09% Amr::InitAmr() 1 0.0004007 0.0004007 0.0004007 0.09% FabArrayBase::getCPC() 632 0.000385 0.000385 0.000385 0.09% Gravity::get_old_grav_vector() 5 0.0003562 0.0003562 0.0003562 0.08% FabArray::FillBoundary() 1766 0.0003513 0.0003513 0.0003513 0.08% Gravity::get_new_grav_vector() 5 0.0003129 0.0003129 0.0003129 0.07% main() 1 0.0002651 0.0002651 0.0002651 0.06% FabArrayBase::getFB() 1766 0.0002633 0.0002633 0.0002633 0.06% MLCellLinOp::apply() 500 0.0002103 0.0002103 0.0002103 0.05% MultiFab::max() 6 0.0002039 0.0002039 0.0002039 0.05% Amr::coarseTimeStep() 5 0.000169 0.000169 0.000169 0.04% AmrLevel::FillPatch() 20 0.0001676 0.0001676 0.0001676 0.04% MLCGSolver::ParallelAllReduce 659 0.0001192 0.0001192 0.0001192 0.03% MLCellLinOp::defineBC() 6 0.0001186 0.0001186 0.0001186 0.03% Castro::subcycle_advance_ctu() 5 0.0001148 0.0001148 0.0001148 0.03% MLCellLinOp::correctionResidual() 216 0.000112 0.000112 0.000112 0.03% FabArray::ParallelCopy() 380 0.000112 0.000112 0.000112 0.03% MLLinOp::defineGrids() 6 0.0001116 0.0001116 0.0001116 0.03% FillPatchIterator::Initialize 20 0.0001047 0.0001047 0.0001047 0.02% Castro::create_source_corrector() 5 9.732e-05 9.732e-05 9.732e-05 0.02% MLMG::mgVcycle() 36 8.784e-05 8.784e-05 8.784e-05 0.02% Amr::timeStep() 5 8.204e-05 8.204e-05 8.204e-05 0.02% Gravity::solve_for_phi() 5 6.716e-05 6.716e-05 6.716e-05 0.02% AmrLevel::restart() 1 6.553e-05 6.553e-05 6.553e-05 0.01% StateData::restartDoit() 4 6.498e-05 6.498e-05 6.498e-05 0.01% Gravity::update_max_rhs() 6 6.343e-05 6.343e-05 6.343e-05 0.01% Castro::initialize_do_advance() 5 6.158e-05 6.158e-05 6.158e-05 0.01% FabArrayBase::FB::FB() 26 5.97e-05 5.97e-05 5.97e-05 0.01% Castro::construct_new_source() 25 5.874e-05 5.874e-05 5.874e-05 0.01% Castro::initialize_advance() 5 5.709e-05 5.709e-05 5.709e-05 0.01% MLMG:computeResOfCorrection() 180 5.39e-05 5.39e-05 5.39e-05 0.01% Castro::advance() 5 5.133e-05 5.133e-05 5.133e-05 0.01% MLMG::actualBottomSolve() 36 4.467e-05 4.467e-05 4.467e-05 0.01% Castro::do_advance_ctu() 5 4.317e-05 4.317e-05 4.317e-05 0.01% Castro::finalize_do_advance() 5 3.975e-05 3.975e-05 3.975e-05 0.01% MLMG::mgVcycle_down::0 36 3.868e-05 3.868e-05 3.868e-05 0.01% MLMG::solve() 6 3.745e-05 3.745e-05 3.745e-05 0.01% Castro::do_new_sources() 5 3.492e-05 3.492e-05 3.492e-05 0.01% MLMG::mgVcycle_down::1 36 3.38e-05 3.38e-05 3.38e-05 0.01% Castro::clean_state() 30 3.369e-05 3.369e-05 3.369e-05 0.01% MLMG::mgVcycle_down::2 36 3.179e-05 3.179e-05 3.179e-05 0.01% MLMG::mgVcycle_down::4 36 3.166e-05 3.166e-05 3.166e-05 0.01% MLMG::mgVcycle_down::3 36 2.955e-05 2.955e-05 2.955e-05 0.01% Castro::post_restart() 1 2.911e-05 2.911e-05 2.911e-05 0.01% MLMG::mgVcycle_up::4 36 2.866e-05 2.866e-05 2.866e-05 0.01% Castro::finalize_advance() 5 2.846e-05 2.846e-05 2.846e-05 0.01% Amr::writeSmallPlotFile() 1 2.841e-05 2.841e-05 2.841e-05 0.01% Castro::buildMetrics() 1 2.736e-05 2.736e-05 2.736e-05 0.01% Castro::construct_old_source() 25 2.734e-05 2.734e-05 2.734e-05 0.01% MLMG::oneIter() 36 2.463e-05 2.463e-05 2.463e-05 0.01% Castro::swap_state_time_levels() 5 2.447e-05 2.447e-05 2.447e-05 0.01% Castro::initMFs() 1 2.419e-05 2.419e-05 2.419e-05 0.01% MLMG::mgVcycle_up::0 36 2.327e-05 2.327e-05 2.327e-05 0.01% MLCellLinOp::solutionResidual() 42 2.302e-05 2.302e-05 2.302e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.163e-05 2.163e-05 2.163e-05 0.00% MLMG::mgVcycle_up::3 36 2.133e-05 2.133e-05 2.133e-05 0.00% MLMG::mgVcycle_up::2 36 2.088e-05 2.088e-05 2.088e-05 0.00% MLMG::mgVcycle_up::1 36 1.971e-05 1.971e-05 1.971e-05 0.00% MLMG::ResNormInf() 42 1.669e-05 1.669e-05 1.669e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.62e-05 1.62e-05 1.62e-05 0.00% FillPatchSingleLevel 20 1.566e-05 1.566e-05 1.566e-05 0.00% MLMG::mgVcycle_bottom 36 1.546e-05 1.546e-05 1.546e-05 0.00% MLPoisson::define() 6 1.372e-05 1.372e-05 1.372e-05 0.00% makeSFC 30 1.347e-05 1.347e-05 1.347e-05 0.00% MLMG::computeResidual() 36 1.339e-05 1.339e-05 1.339e-05 0.00% Castro::construct_new_gravity() 5 1.247e-05 1.247e-05 1.247e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.241e-05 1.241e-05 1.241e-05 0.00% Amr::initSubcycle() 1 1.237e-05 1.237e-05 1.237e-05 0.00% Castro::do_old_sources() 5 1.191e-05 1.191e-05 1.191e-05 0.00% MLLinOp::define() 6 1.062e-05 1.062e-05 1.062e-05 0.00% Gravity::actual_multilevel_solve() 1 9.089e-06 9.089e-06 9.089e-06 0.00% DistributionMapping::Distribute() 31 9.047e-06 9.047e-06 9.047e-06 0.00% Castro::check_for_nan() 10 7.119e-06 7.119e-06 7.119e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 6.961e-06 6.961e-06 6.961e-06 0.00% Castro::construct_old_gravity() 5 6.342e-06 6.342e-06 6.342e-06 0.00% Castro::apply_source_to_state() 10 5.915e-06 5.915e-06 5.915e-06 0.00% Castro::computeNewDt() 5 4.456e-06 4.456e-06 4.456e-06 0.00% Castro::post_timestep() 5 4.314e-06 4.314e-06 4.314e-06 0.00% MLMG::computeMLResidual() 6 4.179e-06 4.179e-06 4.179e-06 0.00% MLPoisson::prepareForSolve() 6 4.095e-06 4.095e-06 4.095e-06 0.00% Gravity::swapTimeLevels() 5 4.019e-06 4.019e-06 4.019e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.243e-06 3.243e-06 3.243e-06 0.00% MLMG::getGradSolution() 6 3.052e-06 3.052e-06 3.052e-06 0.00% Castro::expand_state() 5 2.846e-06 2.846e-06 2.846e-06 0.00% MLMG::MLRhsNormInf() 6 2.422e-06 2.422e-06 2.422e-06 0.00% MLMG::MLResNormInf() 6 2.418e-06 2.418e-06 2.418e-06 0.00% Gravity::set_mass_offset() 6 2.215e-06 2.215e-06 2.215e-06 0.00% Castro::retry_advance_ctu() 5 1.952e-06 1.952e-06 1.952e-06 0.00% Castro::FluxRegFineAdd() 5 1.48e-06 1.48e-06 1.48e-06 0.00% Amr::init() 1 1.339e-06 1.339e-06 1.339e-06 0.00% Castro::FluxRegCrseInit 5 1.268e-06 1.268e-06 1.268e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.12e-06 1.12e-06 1.12e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.444 0.444 0.444 100.00% Amr::coarseTimeStep() 5 0.3439 0.3439 0.3439 77.46% Amr::timeStep() 5 0.3419 0.3419 0.3419 77.01% Castro::advance() 5 0.336 0.336 0.336 75.68% Castro::subcycle_advance_ctu() 5 0.3294 0.3294 0.3294 74.19% Castro::do_advance_ctu() 5 0.3293 0.3293 0.3293 74.16% Castro::construct_ctu_hydro_source() 5 0.1602 0.1602 0.1602 36.08% Castro::construct_new_gravity() 5 0.1323 0.1323 0.1323 29.79% Gravity::solve_phi_with_mlmg() 6 0.1301 0.1301 0.1301 29.30% Gravity::solve_for_phi() 5 0.1246 0.1246 0.1246 28.06% Gravity::actual_solve_with_mlmg() 6 0.1243 0.1243 0.1243 28.01% MLMG::solve() 6 0.1126 0.1126 0.1126 25.35% MLMG::oneIter() 36 0.1052 0.1052 0.1052 23.69% MLMG::mgVcycle() 36 0.1037 0.1037 0.1037 23.35% Amr::init() 1 0.07036 0.07036 0.07036 15.85% Amr::restart() 1 0.07036 0.07036 0.07036 15.85% AmrLevel::restart() 1 0.05935 0.05935 0.05935 13.37% StateData::restartDoit() 4 0.05928 0.05928 0.05928 13.35% VisMF::Read() 3 0.05901 0.05901 0.05901 13.29% MLCellLinOp::smooth() 720 0.05028 0.05028 0.05028 11.32% MLCellLinOp::applyBC() 1946 0.04715 0.04715 0.04715 10.62% MLMG::mgVcycle_bottom 36 0.03264 0.03264 0.03264 7.35% MLMG::actualBottomSolve() 36 0.03262 0.03262 0.03262 7.35% MLCGSolver::bicgstab 36 0.03231 0.03231 0.03231 7.28% Amr::writePlotFile() 1 0.02901 0.02901 0.02901 6.53% Castro::clean_state() 30 0.02757 0.02757 0.02757 6.21% VisMF::Write(FabArray) 1 0.02742 0.02742 0.02742 6.18% AmrLevel::FillPatch() 20 0.02169 0.02169 0.02169 4.89% FillPatchIterator::Initialize 20 0.01964 0.01964 0.01964 4.42% FillPatchIterator::FillFromLevel0() 20 0.01886 0.01886 0.01886 4.25% FillPatchSingleLevel 20 0.01884 0.01884 0.01884 4.24% StateDataPhysBCFunct::() 20 0.01682 0.01682 0.01682 3.79% MLCellLinOp::apply() 500 0.01602 0.01602 0.01602 3.61% MLMG::mgVcycle_down::0 36 0.01437 0.01437 0.01437 3.24% MLPoisson::Fsmooth() 1440 0.01417 0.01417 0.01417 3.19% FabArray::FillBoundary() 1766 0.01336 0.01336 0.01336 3.01% FillBoundary_nowait() 1766 0.013 0.013 0.013 2.93% StateData::FillBoundary(geom) 160 0.01257 0.01257 0.01257 2.83% Castro::computeTemp() 30 0.01089 0.01089 0.01089 2.45% MLMG::mgVcycle_up::0 36 0.01082 0.01082 0.01082 2.44% Castro::normalize_species() 30 0.01025 0.01025 0.01025 2.31% Castro::initialize_do_advance() 5 0.01007 0.01007 0.01007 2.27% Castro::do_old_sources() 5 0.009761 0.009761 0.009761 2.20% MLCellLinOp::correctionResidual() 216 0.009655 0.009655 0.009655 2.17% MLPoisson::define() 6 0.009263 0.009263 0.009263 2.09% amrex::Dot() 484 0.009009 0.009009 0.009009 2.03% MLMG:computeResOfCorrection() 180 0.008495 0.008495 0.008495 1.91% Castro::do_new_sources() 5 0.007766 0.007766 0.007766 1.75% Gravity::get_new_grav_vector() 5 0.007544 0.007544 0.007544 1.70% Castro::construct_old_gravity() 5 0.007495 0.007495 0.007495 1.69% Gravity::get_old_grav_vector() 5 0.007488 0.007488 0.007488 1.69% amrex::Copy() 463 0.007185 0.007185 0.007185 1.62% MLMG::mgVcycle_down::1 36 0.007032 0.007032 0.007032 1.58% FabArray::ParallelCopy() 380 0.006576 0.006576 0.006576 1.48% FabArray::setVal() 537 0.006544 0.006544 0.006544 1.47% MLMG::mgVcycle_down::2 36 0.006467 0.006467 0.006467 1.46% FabArray::ParallelCopy_nowait() 380 0.006464 0.006464 0.006464 1.46% FabArray::norminf() 326 0.006419 0.006419 0.006419 1.45% MLCellLinOp::defineAuxData() 6 0.006321 0.006321 0.006321 1.42% MLMG::mgVcycle_down::3 36 0.006273 0.006273 0.006273 1.41% Castro::initialize_advance() 5 0.006267 0.006267 0.006267 1.41% MLMG::mgVcycle_down::4 36 0.006214 0.006214 0.006214 1.40% Castro::post_restart() 1 0.006107 0.006107 0.006107 1.38% Castro::enforce_min_density() 30 0.00595 0.00595 0.00595 1.34% Castro::post_timestep() 5 0.005826 0.005826 0.005826 1.31% Gravity::multilevel_solve_for_new_phi() 1 0.005743 0.005743 0.005743 1.29% Gravity::actual_multilevel_solve() 1 0.005727 0.005727 0.005727 1.29% Gravity::fill_multipole_BCs() 6 0.005625 0.005625 0.005625 1.27% Castro::expand_state() 5 0.005537 0.005537 0.005537 1.25% MLCGSolver::ParallelAllReduce 659 0.005439 0.005439 0.005439 1.22% MLMG::addInterpCorrection() 180 0.005322 0.005322 0.005322 1.20% MLMG::mgVcycle_up::4 36 0.005094 0.005094 0.005094 1.15% MLMG::mgVcycle_up::1 36 0.004991 0.004991 0.004991 1.12% amrex::average_down 180 0.004966 0.004966 0.004966 1.12% MLMG::mgVcycle_up::2 36 0.00489 0.00489 0.00489 1.10% MLMG::mgVcycle_up::3 36 0.00479 0.00479 0.00479 1.08% MLPoisson::Fapply() 500 0.004553 0.004553 0.004553 1.03% FabArray::Saxpy() 355 0.003733 0.003733 0.003733 0.84% FabArray::Xpay() 361 0.003607 0.003607 0.003607 0.81% MLCellLinOp::solutionResidual() 42 0.003455 0.003455 0.003455 0.78% Castro::estTimeStep() 10 0.002996 0.002996 0.002996 0.67% Castro::reset_internal_energy(MultiFab) 30 0.002815 0.002815 0.002815 0.63% MLCellLinOp::defineBC() 6 0.002776 0.002776 0.002776 0.63% MLMG::prepareForSolve() 6 0.00274 0.00274 0.00274 0.62% MLMG::computeResidual() 36 0.002701 0.002701 0.002701 0.61% BndryData::define() 6 0.002658 0.002658 0.002658 0.60% FabArray::LinComb() 242 0.002284 0.002284 0.002284 0.51% Castro::construct_new_source() 25 0.001885 0.001885 0.001885 0.42% amrex::Add() 72 0.001878 0.001878 0.001878 0.42% Castro::construct_new_gravity_source() 5 0.001827 0.001827 0.001827 0.41% Castro::computeNewDt() 5 0.001823 0.001823 0.001823 0.41% Castro::construct_old_source() 25 0.001506 0.001506 0.001506 0.34% Castro::construct_old_gravity_source() 5 0.001479 0.001479 0.001479 0.33% Castro::finalize_do_advance() 5 0.001217 0.001217 0.001217 0.27% MLMG::ResNormInf() 42 0.000997 0.000997 0.000997 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009719 0.0009719 0.0009719 0.22% Castro::apply_source_to_state() 10 0.0009612 0.0009612 0.0009612 0.22% check_for_negative_density() 5 0.000936 0.000936 0.000936 0.21% MLMG::getGradSolution() 6 0.0008659 0.0008659 0.0008659 0.20% MLCellLinOp::compGrad() 6 0.0008628 0.0008628 0.0008628 0.19% FabArrayBase::getCPC() 632 0.0007988 0.0007988 0.0007988 0.18% MLCellLinOp::setLevelBC() 6 0.0007966 0.0007966 0.0007966 0.18% Castro::reset_internal_energy(Fab) 240 0.0007899 0.0007899 0.0007899 0.18% MLMG::computeMLResidual() 6 0.0007721 0.0007721 0.0007721 0.17% MLPoisson::prepareForSolve() 6 0.0007176 0.0007176 0.0007176 0.16% MLCellLinOp::prepareForSolve() 6 0.0007135 0.0007135 0.0007135 0.16% Gravity::update_max_rhs() 6 0.0006978 0.0006978 0.0006978 0.16% FabArray::mult() 22 0.0006824 0.0006824 0.0006824 0.15% FabArray::setDomainBndry() 20 0.0006806 0.0006806 0.0006806 0.15% Castro::check_for_nan() 10 0.0006601 0.0006601 0.0006601 0.15% MultiFab::contains_nan() 10 0.000653 0.000653 0.000653 0.15% Castro::enforce_speed_limit() 30 0.0004542 0.0004542 0.0004542 0.10% FabArrayBase::CPC::define() 244 0.0004138 0.0004138 0.0004138 0.09% Amr::InitAmr() 1 0.000413 0.000413 0.000413 0.09% FabArrayBase::getFB() 1766 0.000323 0.000323 0.000323 0.07% Castro::finalize_advance() 5 0.0002899 0.0002899 0.0002899 0.07% Gravity::swapTimeLevels() 5 0.0002298 0.0002298 0.0002298 0.05% MultiFab::max() 6 0.0002039 0.0002039 0.0002039 0.05% MLMG::MLResNormInf() 6 0.0001907 0.0001907 0.0001907 0.04% MLLinOp::define() 6 0.0001514 0.0001514 0.0001514 0.03% Castro::buildMetrics() 1 0.0001487 0.0001487 0.0001487 0.03% MLLinOp::defineGrids() 6 0.0001408 0.0001408 0.0001408 0.03% MLMG::MLRhsNormInf() 6 0.0001185 0.0001185 0.0001185 0.03% Castro::create_source_corrector() 5 9.732e-05 9.732e-05 9.732e-05 0.02% FabArrayBase::FB::FB() 26 5.97e-05 5.97e-05 5.97e-05 0.01% Amr::writeSmallPlotFile() 1 2.841e-05 2.841e-05 2.841e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.807e-05 2.807e-05 2.807e-05 0.01% Castro::swap_state_time_levels() 5 2.447e-05 2.447e-05 2.447e-05 0.01% Castro::initMFs() 1 2.419e-05 2.419e-05 2.419e-05 0.01% makeSFC 30 2.111e-05 2.111e-05 2.111e-05 0.00% Amr::initSubcycle() 1 1.237e-05 1.237e-05 1.237e-05 0.00% DistributionMapping::Distribute() 31 9.047e-06 9.047e-06 9.047e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.651e-06 4.651e-06 4.651e-06 0.00% Gravity::set_mass_offset() 6 2.215e-06 2.215e-06 2.215e-06 0.00% Castro::retry_advance_ctu() 5 1.952e-06 1.952e-06 1.952e-06 0.00% Castro::FluxRegFineAdd() 5 1.48e-06 1.48e-06 1.48e-06 0.00% Castro::FluxRegCrseInit 5 1.268e-06 1.268e-06 1.268e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.12e-06 1.12e-06 1.12e-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 191 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 159 MiB 692 MiB Castro::initMFs() 48 48 58 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 963 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1824 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6473 KiB 14 MiB MLMG::prepareForSolve() 361 361 3112 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 175 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 173 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6461 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 21 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3121 B 2048 KiB Gravity::solve_for_phi() 40 40 573 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 286 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 184 KiB 671 KiB Castro::estTimeStep() 10 10 3235 B 480 KiB VisMF::Write(FabArray) 112 112 1226 B 320 KiB Castro::normalize_species() 30 30 7515 B 320 KiB amrex::average_down 469 469 1096 B 257 KiB MLMG::addInterpCorrection() 468 468 1038 B 257 KiB amrex::Dot() 592 592 2982 B 160 KiB FabArray::norminf() 398 398 2132 B 160 KiB check_for_negative_density() 5 5 336 B 160 KiB MultiFab::max() 6 6 71 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3018 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 247 B 9648 B MLCellLinOp::applyBC() 3892 3892 197 B 9344 B amrex::Copy() 56 56 5573 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 32 B 2352 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 105 B 1472 B MLCellLinOp::defineBC() 36 36 322 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1109 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 80 KiB 8192 KiB VisMF::Write(FabArray) 120 120 179 KiB 3584 KiB VisMF::Read() 24 24 201 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3018 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 247 B 9648 B MLCellLinOp::applyBC() 1946 1946 196 B 9328 B amrex::Copy() 56 56 5573 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2541 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 32 B 2352 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 488 B 1296 B amrex::average_down 37 37 204 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 21 B 400 B FabArray::norminf() 398 398 15 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): 2541 [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.10-13-gecaa14456e3f) finalized