Initializing AMReX (24.03-13-g3fe7aadc23c9)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.03-13-g3fe7aadc23c9) initialized Starting run at 09:13:27 UTC on 2024-03-15. Successfully read inputs file ... Castro git describe: 24.03-7-ge19c0bdaa AMReX git describe: 24.03-13-g3fe7aadc2 Microphysics git describe: 24.03-10-ga5faa5f9 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.044841603 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024713016 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.069803655 [STEP 1] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.071409236 [STEP 2] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.078696568 [STEP 3] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE at time 0.0001431784233 with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.065799173 [STEP 4] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE at time 0.0001957547666 with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.059896211 [STEP 5] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.051450535 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.056422081 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.074726314 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.074338123 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.059345564 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.06345274 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.082761231 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.024539304 seconds Ending run at 09:13:28 UTC on 2024-03-15. Run time = 0.961350822 Run time without initialization = 0.833376808 Average number of zones advanced per microsecond: 3.146 Average number of zones advanced per microsecond per rank: 3.146 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9614 ... 0.9614 ... 0.9614 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2686 0.2686 0.2686 27.94% VisMF::Write(FabArray) 11 0.1794 0.1794 0.1794 18.66% MLCellLinOp::applyBC() 4351 0.08729 0.08729 0.08729 9.08% Amr::checkPoint() 3 0.04612 0.04612 0.04612 4.80% StateData::FillBoundary(geom) 328 0.04238 0.04238 0.04238 4.41% MLPoisson::Fsmooth() 3280 0.03603 0.03603 0.03603 3.75% FillBoundary_nowait() 3941 0.03067 0.03067 0.03067 3.19% amrex::Dot() 1114 0.02243 0.02243 0.02243 2.33% FabArray::norminf() 1061 0.02071 0.02071 0.02071 2.15% Castro::normalize_species() 62 0.01933 0.01933 0.01933 2.01% Castro::computeTemp() 63 0.01496 0.01496 0.01496 1.56% FabArray::ParallelCopy_nowait() 861 0.01481 0.01481 0.01481 1.54% FabArray::setVal() 1062 0.01452 0.01452 0.01452 1.51% FabArray::Saxpy() 1370 0.01389 0.01389 0.01389 1.44% amrex::Copy() 472 0.01156 0.01156 0.01156 1.20% MLPoisson::Fapply() 1060 0.01102 0.01102 0.01102 1.15% MLCellLinOp::defineAuxData() 11 0.01097 0.01097 0.01097 1.14% Castro::enforce_min_density() 62 0.0107 0.0107 0.0107 1.11% Gravity::fill_multipole_BCs() 11 0.008723 0.008723 0.008723 0.91% StateDataPhysBCFunct::() 41 0.008339 0.008339 0.008339 0.87% FabArray::Xpay() 739 0.008174 0.008174 0.008174 0.85% MLMG::addInterpCorrection() 410 0.007705 0.007705 0.007705 0.80% amrex::average_down 410 0.006886 0.006886 0.006886 0.72% Castro::estTimeStep() 21 0.005575 0.005575 0.005575 0.58% Castro::reset_internal_energy(MultiFab) 63 0.005156 0.005156 0.005156 0.54% BndryData::define() 11 0.00405 0.00405 0.00405 0.42% amrex::Add() 82 0.00361 0.00361 0.00361 0.38% Castro::construct_new_gravity_source() 10 0.003357 0.003357 0.003357 0.35% Castro::enforce_speed_limit() 62 0.003311 0.003311 0.003311 0.34% Castro::construct_old_gravity_source() 10 0.002931 0.002931 0.002931 0.30% Amr::writePlotFile() 2 0.002213 0.002213 0.002213 0.23% MLCGSolver::bicgstab 82 0.002157 0.002157 0.002157 0.22% Castro::reset_internal_energy(Fab) 504 0.002143 0.002143 0.002143 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001942 0.001942 0.001942 0.20% MLCellLinOp::smooth() 1640 0.00176 0.00176 0.00176 0.18% check_for_negative_density() 10 0.001693 0.001693 0.001693 0.18% MLCellLinOp::setLevelBC() 11 0.001613 0.001613 0.001613 0.17% Gravity::actual_solve_with_mlmg() 11 0.001587 0.001587 0.001587 0.17% Castro::initData() 1 0.001488 0.001488 0.001488 0.15% FabArray::setDomainBndry() 41 0.001457 0.001457 0.001457 0.15% FabArray::mult() 43 0.001418 0.001418 0.001418 0.15% MLCellLinOp::prepareForSolve() 11 0.001404 0.001404 0.001404 0.15% MultiFab::contains_nan() 20 0.001314 0.001314 0.001314 0.14% MLMG::prepareForSolve() 11 0.001097 0.001097 0.001097 0.11% MLCellLinOp::compGrad() 11 0.001091 0.001091 0.001091 0.11% FabArrayBase::getCPC() 1323 0.0009257 0.0009257 0.0009257 0.10% FabArray::FillBoundary() 3941 0.0008933 0.0008933 0.0008933 0.09% FabArrayBase::CPC::define() 454 0.0007421 0.0007421 0.0007421 0.08% FabArrayBase::getFB() 3941 0.0007389 0.0007389 0.0007389 0.08% Gravity::get_new_grav_vector() 11 0.0006577 0.0006577 0.0006577 0.07% AmrLevel::FillPatch() 41 0.0006442 0.0006442 0.0006442 0.07% MLCellLinOp::apply() 1060 0.0006119 0.0006119 0.0006119 0.06% Gravity::get_old_grav_vector() 10 0.0005519 0.0005519 0.0005519 0.06% Amr::InitAmr() 1 0.0005297 0.0005297 0.0005297 0.06% MLCGSolver::ParallelAllReduce 1832 0.0003808 0.0003808 0.0003808 0.04% Amr::coarseTimeStep() 10 0.0003701 0.0003701 0.0003701 0.04% MultiFab::max() 11 0.0003523 0.0003523 0.0003523 0.04% main() 1 0.0003096 0.0003096 0.0003096 0.03% FabArray::ParallelCopy() 861 0.000295 0.000295 0.000295 0.03% FillPatchIterator::Initialize 41 0.000275 0.000275 0.000275 0.03% MLCellLinOp::defineBC() 11 0.0002704 0.0002704 0.0002704 0.03% MLMG::mgVcycle() 82 0.0002679 0.0002679 0.0002679 0.03% MLCellLinOp::correctionResidual() 410 0.0002434 0.0002434 0.0002434 0.03% Castro::subcycle_advance_ctu() 10 0.0002067 0.0002067 0.0002067 0.02% Castro::create_source_corrector() 10 0.0002063 0.0002063 0.0002063 0.02% MLLinOp::defineGrids() 11 0.0001864 0.0001864 0.0001864 0.02% Amr::timeStep() 10 0.0001801 0.0001801 0.0001801 0.02% StateData::checkPoint() 12 0.0001689 0.0001689 0.0001689 0.02% Gravity::update_max_rhs() 11 0.000159 0.000159 0.000159 0.02% MLMG:computeResOfCorrection() 410 0.0001419 0.0001419 0.0001419 0.01% AmrLevel::checkPoint() 3 0.0001284 0.0001284 0.0001284 0.01% Gravity::solve_for_phi() 10 0.0001205 0.0001205 0.0001205 0.01% Castro::advance() 10 0.000114 0.000114 0.000114 0.01% MLMG::mgVcycle_down::1 82 0.0001115 0.0001115 0.0001115 0.01% MLMG::mgVcycle_down::0 82 0.0001102 0.0001102 0.0001102 0.01% MLMG::mgVcycle_down::2 82 0.0001096 0.0001096 0.0001096 0.01% MLMG::actualBottomSolve() 82 0.0001073 0.0001073 0.0001073 0.01% MLMG::mgVcycle_down::4 82 0.0001073 0.0001073 0.0001073 0.01% Castro::Castro() 1 0.0001047 0.0001047 0.0001047 0.01% Castro::clean_state() 62 0.0001043 0.0001043 0.0001043 0.01% MLMG::mgVcycle_down::3 82 0.0001039 0.0001039 0.0001039 0.01% Castro::initialize_advance() 10 0.0001034 0.0001034 0.0001034 0.01% FabArrayBase::FB::FB() 56 9.819e-05 9.819e-05 9.819e-05 0.01% MLMG::solve() 11 9.067e-05 9.067e-05 9.067e-05 0.01% Castro::initialize_do_advance() 10 7.603e-05 7.603e-05 7.603e-05 0.01% Castro::finalize_advance() 10 7.443e-05 7.443e-05 7.443e-05 0.01% Castro::enforce_consistent_e() 1 7.281e-05 7.281e-05 7.281e-05 0.01% MLMG::mgVcycle_up::4 82 7.116e-05 7.116e-05 7.116e-05 0.01% MLMG::mgVcycle_up::0 82 6.854e-05 6.854e-05 6.854e-05 0.01% MLMG::mgVcycle_up::1 82 6.776e-05 6.776e-05 6.776e-05 0.01% Castro::do_new_sources() 10 6.738e-05 6.738e-05 6.738e-05 0.01% MLMG::mgVcycle_up::3 82 6.736e-05 6.736e-05 6.736e-05 0.01% MLMG::mgVcycle_up::2 82 6.702e-05 6.702e-05 6.702e-05 0.01% MLMG::oneIter() 82 6.65e-05 6.65e-05 6.65e-05 0.01% Castro::do_advance_ctu() 10 6.554e-05 6.554e-05 6.554e-05 0.01% MLCellLinOp::solutionResidual() 93 6.322e-05 6.322e-05 6.322e-05 0.01% Castro::construct_new_source() 50 6.319e-05 6.319e-05 6.319e-05 0.01% FillPatchIterator::FillFromLevel0() 41 6.3e-05 6.3e-05 6.3e-05 0.01% FillPatchSingleLevel 41 5.294e-05 5.294e-05 5.294e-05 0.01% Castro::finalize_do_advance() 10 5.217e-05 5.217e-05 5.217e-05 0.01% Castro::swap_state_time_levels() 10 4.889e-05 4.889e-05 4.889e-05 0.01% StateData::define() 4 4.446e-05 4.446e-05 4.446e-05 0.00% Castro::post_timestep() 10 4.318e-05 4.318e-05 4.318e-05 0.00% Castro::do_old_sources() 10 4.165e-05 4.165e-05 4.165e-05 0.00% MLMG::mgVcycle_bottom 82 3.782e-05 3.782e-05 3.782e-05 0.00% Castro::construct_new_gravity() 10 3.702e-05 3.702e-05 3.702e-05 0.00% MLMG::ResNormInf() 93 3.572e-05 3.572e-05 3.572e-05 0.00% Amr::defBaseLevel() 1 3.537e-05 3.537e-05 3.537e-05 0.00% Amr::writeSmallPlotFile() 1 3.456e-05 3.456e-05 3.456e-05 0.00% MLMG::computeResidual() 82 3.403e-05 3.403e-05 3.403e-05 0.00% Castro::initMFs() 1 3.058e-05 3.058e-05 3.058e-05 0.00% Castro::construct_old_source() 50 3.017e-05 3.017e-05 3.017e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.91e-05 2.91e-05 2.91e-05 0.00% makeSFC 55 2.901e-05 2.901e-05 2.901e-05 0.00% Castro::buildMetrics() 1 2.899e-05 2.899e-05 2.899e-05 0.00% Amr::FinalizeInit() 1 2.542e-05 2.542e-05 2.542e-05 0.00% MLPoisson::define() 11 2.241e-05 2.241e-05 2.241e-05 0.00% AmrLevel::AmrLevel(dm) 1 2.028e-05 2.028e-05 2.028e-05 0.00% Castro::apply_source_to_state() 20 1.899e-05 1.899e-05 1.899e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.857e-05 1.857e-05 1.857e-05 0.00% DistributionMapping::Distribute() 56 1.816e-05 1.816e-05 1.816e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.693e-05 1.693e-05 1.693e-05 0.00% MLMG::computeMLResidual() 11 1.668e-05 1.668e-05 1.668e-05 0.00% Castro::check_for_nan() 20 1.507e-05 1.507e-05 1.507e-05 0.00% Castro::construct_old_gravity() 10 1.497e-05 1.497e-05 1.497e-05 0.00% Gravity::swapTimeLevels() 10 1.448e-05 1.448e-05 1.448e-05 0.00% MLPoisson::prepareForSolve() 11 1.372e-05 1.372e-05 1.372e-05 0.00% Castro::post_init() 1 1.283e-05 1.283e-05 1.283e-05 0.00% MLLinOp::define() 11 1.223e-05 1.223e-05 1.223e-05 0.00% Castro::computeNewDt() 9 1.221e-05 1.221e-05 1.221e-05 0.00% Amr::initSubcycle() 1 1.05e-05 1.05e-05 1.05e-05 0.00% AmrLevel::checkPointPost() 3 1.017e-05 1.017e-05 1.017e-05 0.00% Gravity::actual_multilevel_solve() 1 8.423e-06 8.423e-06 8.423e-06 0.00% MLMG::getGradSolution() 11 7.813e-06 7.813e-06 7.813e-06 0.00% Castro::expand_state() 10 6.67e-06 6.67e-06 6.67e-06 0.00% Castro::retry_advance_ctu() 10 5.026e-06 5.026e-06 5.026e-06 0.00% MLMG::MLRhsNormInf() 11 4.992e-06 4.992e-06 4.992e-06 0.00% AmrLevel::checkPointPre() 3 4.936e-06 4.936e-06 4.936e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.753e-06 4.753e-06 4.753e-06 0.00% Amr::InitializeInit() 1 4.471e-06 4.471e-06 4.471e-06 0.00% Gravity::set_mass_offset() 11 4.404e-06 4.404e-06 4.404e-06 0.00% MLMG::MLResNormInf() 11 3.883e-06 3.883e-06 3.883e-06 0.00% Castro::FluxRegCrseInit 10 3.422e-06 3.422e-06 3.422e-06 0.00% Amr::init() 1 3.399e-06 3.399e-06 3.399e-06 0.00% Castro::computeInitialDt() 2 3.331e-06 3.331e-06 3.331e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.104e-06 2.104e-06 2.104e-06 0.00% Castro::FluxRegFineAdd() 10 2.057e-06 2.057e-06 2.057e-06 0.00% Castro::post_regrid() 1 1.801e-06 1.801e-06 1.801e-06 0.00% Amr::initialInit() 1 1.521e-06 1.521e-06 1.521e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9614 0.9614 0.9614 100.00% Amr::coarseTimeStep() 10 0.8086 0.8086 0.8086 84.11% Amr::timeStep() 10 0.6708 0.6708 0.6708 69.78% Castro::advance() 10 0.66 0.66 0.66 68.65% Castro::subcycle_advance_ctu() 10 0.6459 0.6459 0.6459 67.18% Castro::do_advance_ctu() 10 0.6457 0.6457 0.6457 67.16% Gravity::solve_phi_with_mlmg() 11 0.3133 0.3133 0.3133 32.58% Gravity::actual_solve_with_mlmg() 11 0.304 0.304 0.304 31.62% Castro::construct_new_gravity() 10 0.2875 0.2875 0.2875 29.91% MLMG::solve() 11 0.2809 0.2809 0.2809 29.22% Castro::construct_ctu_hydro_source() 10 0.2783 0.2783 0.2783 28.94% Gravity::solve_for_phi() 10 0.2659 0.2659 0.2659 27.66% MLMG::oneIter() 82 0.2646 0.2646 0.2646 27.52% MLMG::mgVcycle() 82 0.2609 0.2609 0.2609 27.14% VisMF::Write(FabArray) 11 0.1794 0.1794 0.1794 18.66% Amr::checkPoint() 3 0.1792 0.1792 0.1792 18.64% AmrLevel::checkPoint() 3 0.1331 0.1331 0.1331 13.84% StateData::checkPoint() 12 0.133 0.133 0.133 13.83% MLCellLinOp::smooth() 1640 0.1297 0.1297 0.1297 13.49% Amr::init() 1 0.1273 0.1273 0.1273 13.24% MLCellLinOp::applyBC() 4351 0.1197 0.1197 0.1197 12.45% MLMG::mgVcycle_bottom 82 0.07766 0.07766 0.07766 8.08% MLMG::actualBottomSolve() 82 0.07762 0.07762 0.07762 8.07% MLCGSolver::bicgstab 82 0.07671 0.07671 0.07671 7.98% AmrLevel::FillPatch() 41 0.06153 0.06153 0.06153 6.40% Amr::initialInit() 1 0.05761 0.05761 0.05761 5.99% FillPatchIterator::Initialize 41 0.05672 0.05672 0.05672 5.90% FillPatchIterator::FillFromLevel0() 41 0.05499 0.05499 0.05499 5.72% FillPatchSingleLevel 41 0.05493 0.05493 0.05493 5.71% Castro::clean_state() 62 0.05473 0.05473 0.05473 5.69% Amr::FinalizeInit() 1 0.05235 0.05235 0.05235 5.45% Castro::post_init() 1 0.0508 0.0508 0.0508 5.28% StateDataPhysBCFunct::() 41 0.05072 0.05072 0.05072 5.28% Amr::writePlotFile() 2 0.04939 0.04939 0.04939 5.14% Gravity::multilevel_solve_for_new_phi() 1 0.04778 0.04778 0.04778 4.97% Gravity::actual_multilevel_solve() 1 0.04777 0.04777 0.04777 4.97% StateData::FillBoundary(geom) 328 0.04238 0.04238 0.04238 4.41% MLCellLinOp::apply() 1060 0.03892 0.03892 0.03892 4.05% MLPoisson::Fsmooth() 3280 0.03603 0.03603 0.03603 3.75% MLMG::mgVcycle_down::0 82 0.03577 0.03577 0.03577 3.72% FabArray::FillBoundary() 3941 0.0324 0.0324 0.0324 3.37% FillBoundary_nowait() 3941 0.03151 0.03151 0.03151 3.28% MLMG::mgVcycle_up::0 82 0.02723 0.02723 0.02723 2.83% Gravity::get_new_grav_vector() 11 0.02414 0.02414 0.02414 2.51% Castro::initialize_do_advance() 10 0.02258 0.02258 0.02258 2.35% amrex::Dot() 1114 0.02243 0.02243 0.02243 2.33% Castro::computeTemp() 63 0.02226 0.02226 0.02226 2.32% MLMG:computeResOfCorrection() 410 0.02171 0.02171 0.02171 2.26% MLCellLinOp::correctionResidual() 410 0.02157 0.02157 0.02157 2.24% Castro::do_old_sources() 10 0.02111 0.02111 0.02111 2.20% FabArray::norminf() 1061 0.02071 0.02071 0.02071 2.15% Castro::construct_old_gravity() 10 0.02045 0.02045 0.02045 2.13% Gravity::get_old_grav_vector() 10 0.02044 0.02044 0.02044 2.13% Castro::normalize_species() 62 0.01933 0.01933 0.01933 2.01% MLPoisson::define() 11 0.01829 0.01829 0.01829 1.90% MLMG::mgVcycle_down::1 82 0.0181 0.0181 0.0181 1.88% MLMG::mgVcycle_down::2 82 0.01698 0.01698 0.01698 1.77% MLMG::mgVcycle_down::3 82 0.01661 0.01661 0.01661 1.73% MLMG::mgVcycle_down::4 82 0.01643 0.01643 0.01643 1.71% FabArray::ParallelCopy() 861 0.016 0.016 0.016 1.66% FabArray::ParallelCopy_nowait() 861 0.01571 0.01571 0.01571 1.63% FabArray::setVal() 1062 0.01452 0.01452 0.01452 1.51% FabArray::Saxpy() 1370 0.01389 0.01389 0.01389 1.44% MLMG::addInterpCorrection() 410 0.01363 0.01363 0.01363 1.42% MLCGSolver::ParallelAllReduce 1832 0.01351 0.01351 0.01351 1.41% Castro::initialize_advance() 10 0.01336 0.01336 0.01336 1.39% MLMG::mgVcycle_up::1 82 0.01318 0.01318 0.01318 1.37% MLMG::mgVcycle_up::4 82 0.01304 0.01304 0.01304 1.36% MLMG::mgVcycle_up::2 82 0.01293 0.01293 0.01293 1.34% amrex::average_down 410 0.01281 0.01281 0.01281 1.33% MLMG::mgVcycle_up::3 82 0.01273 0.01273 0.01273 1.32% MLCellLinOp::defineAuxData() 11 0.01258 0.01258 0.01258 1.31% Castro::expand_state() 10 0.01258 0.01258 0.01258 1.31% Castro::do_new_sources() 10 0.01241 0.01241 0.01241 1.29% amrex::Copy() 472 0.01156 0.01156 0.01156 1.20% MLPoisson::Fapply() 1060 0.01102 0.01102 0.01102 1.15% Castro::enforce_min_density() 62 0.0107 0.0107 0.0107 1.11% Castro::post_timestep() 10 0.01064 0.01064 0.01064 1.11% Gravity::fill_multipole_BCs() 11 0.00897 0.00897 0.00897 0.93% FabArray::Xpay() 739 0.008174 0.008174 0.008174 0.85% MLCellLinOp::solutionResidual() 93 0.008075 0.008075 0.008075 0.84% Castro::reset_internal_energy(MultiFab) 63 0.007298 0.007298 0.007298 0.76% MLMG::computeResidual() 82 0.006773 0.006773 0.006773 0.70% MLMG::prepareForSolve() 11 0.005597 0.005597 0.005597 0.58% Castro::estTimeStep() 21 0.005575 0.005575 0.005575 0.58% MLCellLinOp::defineBC() 11 0.005418 0.005418 0.005418 0.56% Amr::InitializeInit() 1 0.005255 0.005255 0.005255 0.55% Amr::defBaseLevel() 1 0.005251 0.005251 0.005251 0.55% BndryData::define() 11 0.005147 0.005147 0.005147 0.54% Castro::initData() 1 0.004504 0.004504 0.004504 0.47% amrex::Add() 82 0.00361 0.00361 0.00361 0.38% Castro::construct_new_source() 50 0.00342 0.00342 0.00342 0.36% Castro::construct_new_gravity_source() 10 0.003357 0.003357 0.003357 0.35% Castro::enforce_speed_limit() 62 0.003311 0.003311 0.003311 0.34% Castro::construct_old_source() 50 0.002961 0.002961 0.002961 0.31% Castro::construct_old_gravity_source() 10 0.002931 0.002931 0.002931 0.30% Castro::computeNewDt() 9 0.002367 0.002367 0.002367 0.25% Castro::finalize_do_advance() 10 0.002315 0.002315 0.002315 0.24% MLMG::ResNormInf() 93 0.002252 0.002252 0.002252 0.23% Castro::reset_internal_energy(Fab) 504 0.002143 0.002143 0.002143 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001942 0.001942 0.001942 0.20% Castro::apply_source_to_state() 20 0.001935 0.001935 0.001935 0.20% check_for_negative_density() 10 0.001693 0.001693 0.001693 0.18% FabArrayBase::getCPC() 1323 0.001668 0.001668 0.001668 0.17% MLMG::getGradSolution() 11 0.001628 0.001628 0.001628 0.17% MLCellLinOp::compGrad() 11 0.00162 0.00162 0.00162 0.17% MLCellLinOp::setLevelBC() 11 0.001613 0.001613 0.001613 0.17% FabArray::setDomainBndry() 41 0.001457 0.001457 0.001457 0.15% MLPoisson::prepareForSolve() 11 0.001418 0.001418 0.001418 0.15% FabArray::mult() 43 0.001418 0.001418 0.001418 0.15% MLCellLinOp::prepareForSolve() 11 0.001404 0.001404 0.001404 0.15% MLMG::computeMLResidual() 11 0.001352 0.001352 0.001352 0.14% Castro::check_for_nan() 20 0.001329 0.001329 0.001329 0.14% MultiFab::contains_nan() 20 0.001314 0.001314 0.001314 0.14% Castro::post_regrid() 1 0.001239 0.001239 0.001239 0.13% Gravity::update_max_rhs() 11 0.001098 0.001098 0.001098 0.11% Castro::computeInitialDt() 2 0.0009609 0.0009609 0.0009609 0.10% FabArrayBase::getFB() 3941 0.0008371 0.0008371 0.0008371 0.09% FabArrayBase::CPC::define() 454 0.0007421 0.0007421 0.0007421 0.08% Castro::finalize_advance() 10 0.000652 0.000652 0.000652 0.07% Castro::Castro() 1 0.000641 0.000641 0.000641 0.07% Amr::InitAmr() 1 0.0005402 0.0005402 0.0005402 0.06% Gravity::swapTimeLevels() 10 0.0005056 0.0005056 0.0005056 0.05% MultiFab::max() 11 0.0003523 0.0003523 0.0003523 0.04% MLMG::MLResNormInf() 11 0.000339 0.000339 0.000339 0.04% Castro::buildMetrics() 1 0.0003118 0.0003118 0.0003118 0.03% MLLinOp::define() 11 0.0002636 0.0002636 0.0002636 0.03% MLLinOp::defineGrids() 11 0.0002513 0.0002513 0.0002513 0.03% MLMG::MLRhsNormInf() 11 0.0002395 0.0002395 0.0002395 0.02% Castro::create_source_corrector() 10 0.0002063 0.0002063 0.0002063 0.02% FabArrayBase::FB::FB() 56 9.819e-05 9.819e-05 9.819e-05 0.01% Castro::enforce_consistent_e() 1 7.281e-05 7.281e-05 7.281e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.475e-05 6.475e-05 6.475e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 6.279e-05 6.279e-05 6.279e-05 0.01% Castro::swap_state_time_levels() 10 4.889e-05 4.889e-05 4.889e-05 0.01% makeSFC 55 4.586e-05 4.586e-05 4.586e-05 0.00% StateData::define() 4 4.446e-05 4.446e-05 4.446e-05 0.00% Amr::writeSmallPlotFile() 1 3.456e-05 3.456e-05 3.456e-05 0.00% Castro::initMFs() 1 3.058e-05 3.058e-05 3.058e-05 0.00% DistributionMapping::Distribute() 56 1.816e-05 1.816e-05 1.816e-05 0.00% Amr::initSubcycle() 1 1.05e-05 1.05e-05 1.05e-05 0.00% AmrLevel::checkPointPost() 3 1.017e-05 1.017e-05 1.017e-05 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 6.07e-06 6.07e-06 6.07e-06 0.00% Castro::retry_advance_ctu() 10 5.026e-06 5.026e-06 5.026e-06 0.00% AmrLevel::checkPointPre() 3 4.936e-06 4.936e-06 4.936e-06 0.00% Gravity::set_mass_offset() 11 4.404e-06 4.404e-06 4.404e-06 0.00% Castro::FluxRegCrseInit 10 3.422e-06 3.422e-06 3.422e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.104e-06 2.104e-06 2.104e-06 0.00% Castro::FluxRegFineAdd() 10 2.057e-06 2.057e-06 2.057e-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 5114 KiB 9037 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1158 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1431 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7617 KiB 14 MiB MLMG::prepareForSolve() 660 660 3593 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 260 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 217 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7518 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 15 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2190 B 2048 KiB Gravity::solve_for_phi() 80 80 565 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 101 KiB 2048 KiB BndryData::define() 1056 1056 328 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 209 KiB 671 KiB Castro::estTimeStep() 21 21 2813 B 480 KiB VisMF::Write(FabArray) 656 656 3352 B 320 KiB Castro::normalize_species() 62 62 6542 B 320 KiB amrex::average_down 1067 1067 1617 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1170 B 257 KiB amrex::Dot() 1360 1360 3421 B 160 KiB FabArray::norminf() 1143 1143 3308 B 160 KiB check_for_negative_density() 10 10 281 B 160 KiB Castro::initData() 1 1 51 B 160 KiB MultiFab::max() 11 11 56 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3507 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 275 B 9648 B MLCellLinOp::applyBC() 8702 8702 221 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3915 B 6144 B StateData::FillBoundary(geom) 1992 1992 30 B 2736 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 370 B 1248 B MLCGSolver::bicgstab 410 410 96 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 528 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 38 KiB 8192 KiB VisMF::Write(FabArray) 744 744 384 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3507 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 275 B 9648 B MLCellLinOp::applyBC() 4351 4351 218 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3915 B 6144 B Gravity::get_new_grav_vector() 3 3 2891 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 31 B 2736 B amrex::average_down 83 83 617 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 299 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 1143 1143 10 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2180 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.03-13-g3fe7aadc23c9) finalized Initializing AMReX (24.03-13-g3fe7aadc23c9)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.03-13-g3fe7aadc23c9) initialized Starting run at 09:13:28 UTC on 2024-03-15. Successfully read inputs file ... Castro git describe: 24.03-7-ge19c0bdaa AMReX git describe: 24.03-13-g3fe7aadc2 Microphysics git describe: 24.03-10-ga5faa5f9 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.525056883 Restart time = 0.071469067 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.070483671 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.056195981 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.072797533 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.07244692 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.057968917 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.026550124 seconds Ending run at 09:13:29 UTC on 2024-03-15. Run time = 0.428975094 Run time without initialization = 0.356877556 Average number of zones advanced per microsecond: 3.673 Average number of zones advanced per microsecond per rank: 3.673 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.429 ... 0.429 ... 0.429 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1365 0.1365 0.1365 31.81% VisMF::Read() 3 0.06018 0.06018 0.06018 14.03% MLCellLinOp::applyBC() 1910 0.03525 0.03525 0.03525 8.22% VisMF::Write(FabArray) 1 0.02389 0.02389 0.02389 5.57% MLPoisson::Fsmooth() 1440 0.01453 0.01453 0.01453 3.39% FillBoundary_nowait() 1730 0.01313 0.01313 0.01313 3.06% StateData::FillBoundary(geom) 160 0.01253 0.01253 0.01253 2.92% Castro::normalize_species() 30 0.01071 0.01071 0.01071 2.50% amrex::Dot() 484 0.008997 0.008997 0.008997 2.10% FabArray::norminf() 465 0.008501 0.008501 0.008501 1.98% Castro::computeTemp() 30 0.008035 0.008035 0.008035 1.87% FabArray::setVal() 501 0.006514 0.006514 0.006514 1.52% Castro::enforce_min_density() 30 0.006505 0.006505 0.006505 1.52% FabArray::ParallelCopy_nowait() 380 0.006136 0.006136 0.006136 1.43% StateDataPhysBCFunct::() 20 0.005828 0.005828 0.005828 1.36% FabArray::Saxpy() 597 0.00573 0.00573 0.00573 1.34% MLCellLinOp::defineAuxData() 6 0.005462 0.005462 0.005462 1.27% amrex::Copy() 221 0.005406 0.005406 0.005406 1.26% Gravity::fill_multipole_BCs() 6 0.005004 0.005004 0.005004 1.17% Amr::restart() 1 0.004889 0.004889 0.004889 1.14% MLPoisson::Fapply() 464 0.004403 0.004403 0.004403 1.03% FabArray::Xpay() 325 0.003428 0.003428 0.003428 0.80% Castro::estTimeStep() 10 0.003308 0.003308 0.003308 0.77% MLMG::addInterpCorrection() 180 0.003114 0.003114 0.003114 0.73% amrex::average_down 180 0.002706 0.002706 0.002706 0.63% Amr::writePlotFile() 1 0.002493 0.002493 0.002493 0.58% BndryData::define() 6 0.002118 0.002118 0.002118 0.49% Castro::reset_internal_energy(MultiFab) 30 0.002101 0.002101 0.002101 0.49% Castro::construct_new_gravity_source() 5 0.001867 0.001867 0.001867 0.44% amrex::Add() 36 0.001545 0.001545 0.001545 0.36% Castro::construct_old_gravity_source() 5 0.00154 0.00154 0.00154 0.36% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009691 0.0009691 0.0009691 0.23% MLCellLinOp::setLevelBC() 6 0.0008734 0.0008734 0.0008734 0.20% check_for_negative_density() 5 0.0008732 0.0008732 0.0008732 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008444 0.0008444 0.0008444 0.20% Castro::reset_internal_energy(Fab) 240 0.0007757 0.0007757 0.0007757 0.18% MLCellLinOp::prepareForSolve() 6 0.0007467 0.0007467 0.0007467 0.17% MLCGSolver::bicgstab 36 0.0007429 0.0007429 0.0007429 0.17% FabArray::mult() 22 0.0006992 0.0006992 0.0006992 0.16% FabArray::setDomainBndry() 20 0.0006921 0.0006921 0.0006921 0.16% MultiFab::contains_nan() 10 0.000659 0.000659 0.000659 0.15% MLCellLinOp::compGrad() 6 0.0006037 0.0006037 0.0006037 0.14% MLMG::prepareForSolve() 6 0.0005743 0.0005743 0.0005743 0.13% MLCellLinOp::smooth() 720 0.00057 0.00057 0.00057 0.13% Amr::InitAmr() 1 0.0004568 0.0004568 0.0004568 0.11% FabArrayBase::CPC::define() 244 0.0004193 0.0004193 0.0004193 0.10% Castro::enforce_speed_limit() 30 0.0004105 0.0004105 0.0004105 0.10% FabArrayBase::getCPC() 632 0.0003711 0.0003711 0.0003711 0.09% Gravity::get_old_grav_vector() 5 0.0003674 0.0003674 0.0003674 0.09% FabArray::FillBoundary() 1730 0.0003581 0.0003581 0.0003581 0.08% Gravity::get_new_grav_vector() 5 0.0003295 0.0003295 0.0003295 0.08% main() 1 0.0002879 0.0002879 0.0002879 0.07% FabArrayBase::getFB() 1730 0.0002847 0.0002847 0.0002847 0.07% MultiFab::max() 6 0.0002048 0.0002048 0.0002048 0.05% MLCellLinOp::apply() 464 0.0002031 0.0002031 0.0002031 0.05% AmrLevel::FillPatch() 20 0.0002012 0.0002012 0.0002012 0.05% MLCellLinOp::defineBC() 6 0.000153 0.000153 0.000153 0.04% Amr::coarseTimeStep() 5 0.0001505 0.0001505 0.0001505 0.04% MLCGSolver::ParallelAllReduce 798 0.0001392 0.0001392 0.0001392 0.03% FabArray::ParallelCopy() 380 0.0001141 0.0001141 0.0001141 0.03% MLLinOp::defineGrids() 6 0.0001104 0.0001104 0.0001104 0.03% Castro::create_source_corrector() 5 0.0001094 0.0001094 0.0001094 0.03% FillPatchIterator::Initialize 20 0.0001062 0.0001062 0.0001062 0.02% Castro::advance() 5 0.0001034 0.0001034 0.0001034 0.02% Castro::subcycle_advance_ctu() 5 0.0001022 0.0001022 0.0001022 0.02% Castro::construct_new_source() 25 0.0001018 0.0001018 0.0001018 0.02% MLCellLinOp::correctionResidual() 180 9.182e-05 9.182e-05 9.182e-05 0.02% Castro::do_advance_ctu() 5 8.903e-05 8.903e-05 8.903e-05 0.02% MLMG::mgVcycle() 36 8.868e-05 8.868e-05 8.868e-05 0.02% Amr::timeStep() 5 8.783e-05 8.783e-05 8.783e-05 0.02% AmrLevel::restart() 1 8.037e-05 8.037e-05 8.037e-05 0.02% StateData::restartDoit() 4 7.579e-05 7.579e-05 7.579e-05 0.02% Castro::initialize_do_advance() 5 6.994e-05 6.994e-05 6.994e-05 0.02% Gravity::update_max_rhs() 6 6.612e-05 6.612e-05 6.612e-05 0.02% Castro::finalize_do_advance() 5 6.458e-05 6.458e-05 6.458e-05 0.02% FabArrayBase::FB::FB() 26 6.116e-05 6.116e-05 6.116e-05 0.01% Gravity::solve_for_phi() 5 5.393e-05 5.393e-05 5.393e-05 0.01% Castro::construct_old_source() 25 5.119e-05 5.119e-05 5.119e-05 0.01% MLMG::mgVcycle_down::0 36 5.012e-05 5.012e-05 5.012e-05 0.01% MLMG:computeResOfCorrection() 180 5.011e-05 5.011e-05 5.011e-05 0.01% MLMG::actualBottomSolve() 36 4.083e-05 4.083e-05 4.083e-05 0.01% Amr::writeSmallPlotFile() 1 3.944e-05 3.944e-05 3.944e-05 0.01% Castro::initialize_advance() 5 3.814e-05 3.814e-05 3.814e-05 0.01% MLMG::solve() 6 3.732e-05 3.732e-05 3.732e-05 0.01% Castro::finalize_advance() 5 3.618e-05 3.618e-05 3.618e-05 0.01% MLMG::mgVcycle_down::1 36 3.541e-05 3.541e-05 3.541e-05 0.01% Castro::do_old_sources() 5 3.416e-05 3.416e-05 3.416e-05 0.01% Castro::clean_state() 30 3.383e-05 3.383e-05 3.383e-05 0.01% MLMG::mgVcycle_down::2 36 3.269e-05 3.269e-05 3.269e-05 0.01% MLMG::mgVcycle_down::4 36 3.163e-05 3.163e-05 3.163e-05 0.01% Castro::buildMetrics() 1 3.142e-05 3.142e-05 3.142e-05 0.01% MLMG::mgVcycle_down::3 36 3.021e-05 3.021e-05 3.021e-05 0.01% Castro::post_timestep() 5 2.92e-05 2.92e-05 2.92e-05 0.01% Castro::post_restart() 1 2.873e-05 2.873e-05 2.873e-05 0.01% MLMG::mgVcycle_up::4 36 2.717e-05 2.717e-05 2.717e-05 0.01% MLCellLinOp::solutionResidual() 42 2.496e-05 2.496e-05 2.496e-05 0.01% Castro::swap_state_time_levels() 5 2.479e-05 2.479e-05 2.479e-05 0.01% MLMG::oneIter() 36 2.464e-05 2.464e-05 2.464e-05 0.01% Castro::initMFs() 1 2.31e-05 2.31e-05 2.31e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.275e-05 2.275e-05 2.275e-05 0.01% MLMG::mgVcycle_up::0 36 2.246e-05 2.246e-05 2.246e-05 0.01% MLMG::mgVcycle_up::3 36 2.228e-05 2.228e-05 2.228e-05 0.01% MLMG::mgVcycle_up::2 36 2.042e-05 2.042e-05 2.042e-05 0.00% MLMG::mgVcycle_up::1 36 2.032e-05 2.032e-05 2.032e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.718e-05 1.718e-05 1.718e-05 0.00% makeSFC 30 1.713e-05 1.713e-05 1.713e-05 0.00% MLMG::ResNormInf() 42 1.687e-05 1.687e-05 1.687e-05 0.00% FillPatchSingleLevel 20 1.553e-05 1.553e-05 1.553e-05 0.00% MLMG::mgVcycle_bottom 36 1.511e-05 1.511e-05 1.511e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.481e-05 1.481e-05 1.481e-05 0.00% MLPoisson::define() 6 1.432e-05 1.432e-05 1.432e-05 0.00% MLMG::computeResidual() 36 1.312e-05 1.312e-05 1.312e-05 0.00% Castro::construct_new_gravity() 5 1.304e-05 1.304e-05 1.304e-05 0.00% Castro::do_new_sources() 5 1.12e-05 1.12e-05 1.12e-05 0.00% Amr::initSubcycle() 1 1.021e-05 1.021e-05 1.021e-05 0.00% MLMG::computeMLResidual() 6 9.494e-06 9.494e-06 9.494e-06 0.00% DistributionMapping::Distribute() 31 9.083e-06 9.083e-06 9.083e-06 0.00% MLPoisson::prepareForSolve() 6 9.027e-06 9.027e-06 9.027e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 8.315e-06 8.315e-06 8.315e-06 0.00% Gravity::actual_multilevel_solve() 1 8.068e-06 8.068e-06 8.068e-06 0.00% MLLinOp::define() 6 7.009e-06 7.009e-06 7.009e-06 0.00% Castro::apply_source_to_state() 10 6.317e-06 6.317e-06 6.317e-06 0.00% Castro::check_for_nan() 10 6.183e-06 6.183e-06 6.183e-06 0.00% Castro::construct_old_gravity() 5 5.499e-06 5.499e-06 5.499e-06 0.00% Gravity::swapTimeLevels() 5 4.857e-06 4.857e-06 4.857e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.243e-06 4.243e-06 4.243e-06 0.00% Castro::computeNewDt() 5 3.944e-06 3.944e-06 3.944e-06 0.00% MLMG::getGradSolution() 6 3.443e-06 3.443e-06 3.443e-06 0.00% Castro::expand_state() 5 3.08e-06 3.08e-06 3.08e-06 0.00% Castro::retry_advance_ctu() 5 2.534e-06 2.534e-06 2.534e-06 0.00% MLMG::MLRhsNormInf() 6 2.317e-06 2.317e-06 2.317e-06 0.00% MLMG::MLResNormInf() 6 2.291e-06 2.291e-06 2.291e-06 0.00% Gravity::set_mass_offset() 6 2.176e-06 2.176e-06 2.176e-06 0.00% Castro::FluxRegCrseInit 5 1.539e-06 1.539e-06 1.539e-06 0.00% Castro::FluxRegFineAdd() 5 1.14e-06 1.14e-06 1.14e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.7e-07 9.7e-07 9.7e-07 0.00% Amr::init() 1 7.79e-07 7.79e-07 7.79e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.429 0.429 0.429 100.00% Amr::coarseTimeStep() 5 0.33 0.33 0.33 76.93% Amr::timeStep() 5 0.3277 0.3277 0.3277 76.40% Castro::advance() 5 0.3225 0.3225 0.3225 75.18% Castro::subcycle_advance_ctu() 5 0.3156 0.3156 0.3156 73.57% Castro::do_advance_ctu() 5 0.3155 0.3155 0.3155 73.54% Castro::construct_ctu_hydro_source() 5 0.1419 0.1419 0.1419 33.07% Castro::construct_new_gravity() 5 0.1339 0.1339 0.1339 31.21% Gravity::solve_phi_with_mlmg() 6 0.1313 0.1313 0.1313 30.60% Gravity::actual_solve_with_mlmg() 6 0.126 0.126 0.126 29.37% Gravity::solve_for_phi() 5 0.126 0.126 0.126 29.37% MLMG::solve() 6 0.1141 0.1141 0.1141 26.60% MLMG::oneIter() 36 0.1065 0.1065 0.1065 24.82% MLMG::mgVcycle() 36 0.1049 0.1049 0.1049 24.45% Amr::init() 1 0.07152 0.07152 0.07152 16.67% Amr::restart() 1 0.07152 0.07152 0.07152 16.67% AmrLevel::restart() 1 0.06056 0.06056 0.06056 14.12% StateData::restartDoit() 4 0.06048 0.06048 0.06048 14.10% VisMF::Read() 3 0.06018 0.06018 0.06018 14.03% MLCellLinOp::smooth() 720 0.05266 0.05266 0.05266 12.27% MLCellLinOp::applyBC() 1910 0.04908 0.04908 0.04908 11.44% MLMG::mgVcycle_bottom 36 0.03092 0.03092 0.03092 7.21% MLMG::actualBottomSolve() 36 0.03091 0.03091 0.03091 7.20% MLCGSolver::bicgstab 36 0.03054 0.03054 0.03054 7.12% Castro::clean_state() 30 0.02857 0.02857 0.02857 6.66% Amr::writePlotFile() 1 0.02664 0.02664 0.02664 6.21% VisMF::Write(FabArray) 1 0.02389 0.02389 0.02389 5.57% AmrLevel::FillPatch() 20 0.02335 0.02335 0.02335 5.44% FillPatchIterator::Initialize 20 0.02124 0.02124 0.02124 4.95% FillPatchIterator::FillFromLevel0() 20 0.02044 0.02044 0.02044 4.76% FillPatchSingleLevel 20 0.02042 0.02042 0.02042 4.76% StateDataPhysBCFunct::() 20 0.01836 0.01836 0.01836 4.28% MLCellLinOp::apply() 464 0.01584 0.01584 0.01584 3.69% MLMG::mgVcycle_down::0 36 0.01511 0.01511 0.01511 3.52% MLPoisson::Fsmooth() 1440 0.01453 0.01453 0.01453 3.39% FabArray::FillBoundary() 1730 0.01384 0.01384 0.01384 3.23% FillBoundary_nowait() 1730 0.01348 0.01348 0.01348 3.14% StateData::FillBoundary(geom) 160 0.01253 0.01253 0.01253 2.92% Castro::initialize_do_advance() 5 0.0116 0.0116 0.0116 2.70% MLMG::mgVcycle_up::0 36 0.01132 0.01132 0.01132 2.64% Castro::computeTemp() 30 0.01091 0.01091 0.01091 2.54% Castro::normalize_species() 30 0.01071 0.01071 0.01071 2.50% Castro::do_old_sources() 5 0.01001 0.01001 0.01001 2.33% MLPoisson::define() 6 0.009268 0.009268 0.009268 2.16% amrex::Dot() 484 0.008997 0.008997 0.008997 2.10% MLMG:computeResOfCorrection() 180 0.008845 0.008845 0.008845 2.06% MLCellLinOp::correctionResidual() 180 0.008795 0.008795 0.008795 2.05% FabArray::norminf() 465 0.008501 0.008501 0.008501 1.98% Castro::do_new_sources() 5 0.008468 0.008468 0.008468 1.97% Castro::construct_old_gravity() 5 0.007853 0.007853 0.007853 1.83% Gravity::get_old_grav_vector() 5 0.007847 0.007847 0.007847 1.83% Gravity::get_new_grav_vector() 5 0.007794 0.007794 0.007794 1.82% MLMG::mgVcycle_down::1 36 0.007276 0.007276 0.007276 1.70% MLMG::mgVcycle_down::2 36 0.00671 0.00671 0.00671 1.56% FabArray::ParallelCopy() 380 0.006641 0.006641 0.006641 1.55% Castro::initialize_advance() 5 0.006533 0.006533 0.006533 1.52% FabArray::ParallelCopy_nowait() 380 0.006526 0.006526 0.006526 1.52% FabArray::setVal() 501 0.006514 0.006514 0.006514 1.52% Castro::enforce_min_density() 30 0.006505 0.006505 0.006505 1.52% MLMG::mgVcycle_down::3 36 0.006505 0.006505 0.006505 1.52% MLMG::mgVcycle_down::4 36 0.00646 0.00646 0.00646 1.51% MLCellLinOp::defineAuxData() 6 0.006251 0.006251 0.006251 1.46% Castro::expand_state() 5 0.006232 0.006232 0.006232 1.45% Castro::post_restart() 1 0.005885 0.005885 0.005885 1.37% FabArray::Saxpy() 597 0.00573 0.00573 0.00573 1.34% Gravity::multilevel_solve_for_new_phi() 1 0.005514 0.005514 0.005514 1.29% Gravity::actual_multilevel_solve() 1 0.005496 0.005496 0.005496 1.28% MLCGSolver::ParallelAllReduce 798 0.005453 0.005453 0.005453 1.27% amrex::Copy() 221 0.005406 0.005406 0.005406 1.26% MLMG::addInterpCorrection() 180 0.005388 0.005388 0.005388 1.26% MLMG::mgVcycle_up::1 36 0.005201 0.005201 0.005201 1.21% MLMG::mgVcycle_up::4 36 0.005193 0.005193 0.005193 1.21% Gravity::fill_multipole_BCs() 6 0.005131 0.005131 0.005131 1.20% Castro::post_timestep() 5 0.00511 0.00511 0.00511 1.19% MLMG::mgVcycle_up::2 36 0.005102 0.005102 0.005102 1.19% amrex::average_down 180 0.005026 0.005026 0.005026 1.17% MLMG::mgVcycle_up::3 36 0.005012 0.005012 0.005012 1.17% MLPoisson::Fapply() 464 0.004403 0.004403 0.004403 1.03% MLCellLinOp::solutionResidual() 42 0.003603 0.003603 0.003603 0.84% FabArray::Xpay() 325 0.003428 0.003428 0.003428 0.80% Castro::estTimeStep() 10 0.003308 0.003308 0.003308 0.77% Castro::reset_internal_energy(MultiFab) 30 0.002877 0.002877 0.002877 0.67% MLMG::prepareForSolve() 6 0.002876 0.002876 0.002876 0.67% MLCellLinOp::defineBC() 6 0.002851 0.002851 0.002851 0.66% MLMG::computeResidual() 36 0.002812 0.002812 0.002812 0.66% BndryData::define() 6 0.002698 0.002698 0.002698 0.63% Castro::computeNewDt() 5 0.002144 0.002144 0.002144 0.50% Castro::construct_new_source() 25 0.001969 0.001969 0.001969 0.46% Castro::construct_new_gravity_source() 5 0.001867 0.001867 0.001867 0.44% Castro::construct_old_source() 25 0.001591 0.001591 0.001591 0.37% amrex::Add() 36 0.001545 0.001545 0.001545 0.36% Castro::construct_old_gravity_source() 5 0.00154 0.00154 0.00154 0.36% Castro::finalize_do_advance() 5 0.001232 0.001232 0.001232 0.29% MLMG::ResNormInf() 42 0.0009898 0.0009898 0.0009898 0.23% Castro::apply_source_to_state() 10 0.0009702 0.0009702 0.0009702 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009691 0.0009691 0.0009691 0.23% MLMG::getGradSolution() 6 0.0008959 0.0008959 0.0008959 0.21% MLCellLinOp::compGrad() 6 0.0008925 0.0008925 0.0008925 0.21% MLCellLinOp::setLevelBC() 6 0.0008734 0.0008734 0.0008734 0.20% check_for_negative_density() 5 0.0008732 0.0008732 0.0008732 0.20% MLMG::computeMLResidual() 6 0.0008139 0.0008139 0.0008139 0.19% FabArrayBase::getCPC() 632 0.0007904 0.0007904 0.0007904 0.18% Castro::reset_internal_energy(Fab) 240 0.0007757 0.0007757 0.0007757 0.18% MLPoisson::prepareForSolve() 6 0.0007557 0.0007557 0.0007557 0.18% MLCellLinOp::prepareForSolve() 6 0.0007467 0.0007467 0.0007467 0.17% Gravity::update_max_rhs() 6 0.0007143 0.0007143 0.0007143 0.17% FabArray::mult() 22 0.0006992 0.0006992 0.0006992 0.16% FabArray::setDomainBndry() 20 0.0006921 0.0006921 0.0006921 0.16% Castro::check_for_nan() 10 0.0006652 0.0006652 0.0006652 0.16% MultiFab::contains_nan() 10 0.000659 0.000659 0.000659 0.15% Amr::InitAmr() 1 0.000467 0.000467 0.000467 0.11% FabArrayBase::CPC::define() 244 0.0004193 0.0004193 0.0004193 0.10% Castro::enforce_speed_limit() 30 0.0004105 0.0004105 0.0004105 0.10% FabArrayBase::getFB() 1730 0.0003458 0.0003458 0.0003458 0.08% Castro::finalize_advance() 5 0.0003064 0.0003064 0.0003064 0.07% Gravity::swapTimeLevels() 5 0.0002458 0.0002458 0.0002458 0.06% MultiFab::max() 6 0.0002048 0.0002048 0.0002048 0.05% MLMG::MLResNormInf() 6 0.0001903 0.0001903 0.0001903 0.04% Castro::buildMetrics() 1 0.0001597 0.0001597 0.0001597 0.04% MLLinOp::define() 6 0.0001516 0.0001516 0.0001516 0.04% MLLinOp::defineGrids() 6 0.0001446 0.0001446 0.0001446 0.03% MLMG::MLRhsNormInf() 6 0.0001232 0.0001232 0.0001232 0.03% Castro::create_source_corrector() 5 0.0001094 0.0001094 0.0001094 0.03% FabArrayBase::FB::FB() 26 6.116e-05 6.116e-05 6.116e-05 0.01% Amr::writeSmallPlotFile() 1 3.944e-05 3.944e-05 3.944e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.321e-05 3.321e-05 3.321e-05 0.01% makeSFC 30 2.49e-05 2.49e-05 2.49e-05 0.01% Castro::swap_state_time_levels() 5 2.479e-05 2.479e-05 2.479e-05 0.01% Castro::initMFs() 1 2.31e-05 2.31e-05 2.31e-05 0.01% Amr::initSubcycle() 1 1.021e-05 1.021e-05 1.021e-05 0.00% DistributionMapping::Distribute() 31 9.083e-06 9.083e-06 9.083e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.558e-06 5.558e-06 5.558e-06 0.00% Castro::retry_advance_ctu() 5 2.534e-06 2.534e-06 2.534e-06 0.00% Gravity::set_mass_offset() 6 2.176e-06 2.176e-06 2.176e-06 0.00% Castro::FluxRegCrseInit 5 1.539e-06 1.539e-06 1.539e-06 0.00% Castro::FluxRegFineAdd() 5 1.14e-06 1.14e-06 1.14e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.7e-07 9.7e-07 9.7e-07 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 11 MiB 9037 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1096 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1647 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 6409 KiB 14 MiB MLMG::prepareForSolve() 361 361 3264 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 189 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 185 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6396 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 19 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3308 B 2048 KiB Gravity::solve_for_phi() 40 40 600 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 301 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 193 KiB 671 KiB Castro::estTimeStep() 10 10 3596 B 480 KiB VisMF::Write(FabArray) 112 112 1274 B 320 KiB Castro::normalize_species() 30 30 8133 B 320 KiB amrex::average_down 469 469 1375 B 257 KiB MLMG::addInterpCorrection() 468 468 1078 B 257 KiB amrex::Dot() 592 592 3092 B 160 KiB FabArray::norminf() 501 501 3052 B 160 KiB check_for_negative_density() 5 5 326 B 160 KiB MultiFab::max() 6 6 74 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3162 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 264 B 9648 B MLCellLinOp::applyBC() 3820 3820 205 B 9344 B amrex::Copy() 56 56 5826 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 44 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 338 B 1248 B MLCGSolver::bicgstab 180 180 85 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1183 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 86 KiB 8192 KiB VisMF::Write(FabArray) 120 120 154 KiB 3584 KiB VisMF::Read() 24 24 213 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3162 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 264 B 9648 B MLCellLinOp::applyBC() 1910 1910 203 B 9328 B amrex::Copy() 56 56 5826 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2512 B 3072 B StateData::FillBoundary(geom) 960 960 44 B 3024 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B MLMG::prepareForSolve() 7 7 792 B 1648 B amrex::average_down 37 37 457 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 501 501 8 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2180 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.03-13-g3fe7aadc23c9) finalized