Initializing AMReX (24.04-2-gf2536be82d98)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-2-gf2536be82d98) initialized Starting run at 09:12:14 UTC on 2024-04-02. Successfully read inputs file ... Castro git describe: 24.04 AMReX git describe: 24.04-2-gf2536be82 Microphysics git describe: 24.04 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.045542775 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024818919 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.069910786 [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.073894113 [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.077631693 [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.061644123 [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.064714809 [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.04427172 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.067508823 [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.079243354 [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.065820516 [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.053824049 [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.075033896 [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.080010445 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.0246753 seconds Ending run at 09:12:15 UTC on 2024-04-02. Run time = 0.964992324 Run time without initialization = 0.838914508 Average number of zones advanced per microsecond: 3.125 Average number of zones advanced per microsecond per rank: 3.125 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.965 ... 0.965 ... 0.965 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.3058 0.3058 0.3058 31.69% VisMF::Write(FabArray) 11 0.1741 0.1741 0.1741 18.04% MLCellLinOp::applyBC() 4351 0.08193 0.08193 0.08193 8.49% Amr::checkPoint() 3 0.04269 0.04269 0.04269 4.42% MLPoisson::Fsmooth() 3280 0.03363 0.03363 0.03363 3.49% FillBoundary_nowait() 3941 0.03064 0.03064 0.03064 3.17% StateData::FillBoundary(geom) 328 0.02697 0.02697 0.02697 2.79% amrex::Dot() 1114 0.02177 0.02177 0.02177 2.26% Castro::normalize_species() 62 0.02023 0.02023 0.02023 2.10% FabArray::norminf() 1061 0.02013 0.02013 0.02013 2.09% Castro::computeTemp() 63 0.0177 0.0177 0.0177 1.83% FabArray::ParallelCopy_nowait() 861 0.01395 0.01395 0.01395 1.45% FabArray::setVal() 1062 0.01357 0.01357 0.01357 1.41% FabArray::Saxpy() 1370 0.01319 0.01319 0.01319 1.37% Castro::enforce_min_density() 62 0.01222 0.01222 0.01222 1.27% amrex::Copy() 472 0.01099 0.01099 0.01099 1.14% StateDataPhysBCFunct::() 41 0.01081 0.01081 0.01081 1.12% MLCellLinOp::defineAuxData() 11 0.01052 0.01052 0.01052 1.09% MLPoisson::Fapply() 1060 0.0104 0.0104 0.0104 1.08% Gravity::fill_multipole_BCs() 11 0.009719 0.009719 0.009719 1.01% FabArray::Xpay() 739 0.007863 0.007863 0.007863 0.81% MLMG::addInterpCorrection() 410 0.00711 0.00711 0.00711 0.74% amrex::average_down 410 0.006264 0.006264 0.006264 0.65% Castro::estTimeStep() 21 0.005993 0.005993 0.005993 0.62% Castro::reset_internal_energy(MultiFab) 63 0.005132 0.005132 0.005132 0.53% BndryData::define() 11 0.004124 0.004124 0.004124 0.43% amrex::Add() 82 0.003637 0.003637 0.003637 0.38% Castro::construct_new_gravity_source() 10 0.00356 0.00356 0.00356 0.37% Castro::enforce_speed_limit() 62 0.003309 0.003309 0.003309 0.34% Castro::construct_old_gravity_source() 10 0.002946 0.002946 0.002946 0.31% Amr::writePlotFile() 2 0.002136 0.002136 0.002136 0.22% check_for_negative_density() 10 0.001868 0.001868 0.001868 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00184 0.00184 0.00184 0.19% Castro::reset_internal_energy(Fab) 504 0.001702 0.001702 0.001702 0.18% MLCellLinOp::setLevelBC() 11 0.001612 0.001612 0.001612 0.17% MLCGSolver::bicgstab 82 0.0016 0.0016 0.0016 0.17% Gravity::actual_solve_with_mlmg() 11 0.001534 0.001534 0.001534 0.16% Castro::initData() 1 0.001469 0.001469 0.001469 0.15% FabArray::mult() 43 0.001385 0.001385 0.001385 0.14% FabArray::setDomainBndry() 41 0.001378 0.001378 0.001378 0.14% MLCellLinOp::prepareForSolve() 11 0.001342 0.001342 0.001342 0.14% MultiFab::contains_nan() 20 0.001274 0.001274 0.001274 0.13% MLCellLinOp::smooth() 1640 0.00111 0.00111 0.00111 0.12% MLCellLinOp::compGrad() 11 0.001065 0.001065 0.001065 0.11% MLMG::prepareForSolve() 11 0.0009905 0.0009905 0.0009905 0.10% FabArrayBase::getCPC() 1323 0.0008077 0.0008077 0.0008077 0.08% FabArray::FillBoundary() 3941 0.0007872 0.0007872 0.0007872 0.08% FabArrayBase::getFB() 3941 0.0006807 0.0006807 0.0006807 0.07% FabArrayBase::CPC::define() 454 0.0006632 0.0006632 0.0006632 0.07% Gravity::get_new_grav_vector() 11 0.0006043 0.0006043 0.0006043 0.06% Amr::InitAmr() 1 0.00058 0.00058 0.00058 0.06% Gravity::get_old_grav_vector() 10 0.0004815 0.0004815 0.0004815 0.05% MLCellLinOp::apply() 1060 0.0004161 0.0004161 0.0004161 0.04% AmrLevel::FillPatch() 41 0.0004078 0.0004078 0.0004078 0.04% Amr::coarseTimeStep() 10 0.0003897 0.0003897 0.0003897 0.04% MultiFab::max() 11 0.0003419 0.0003419 0.0003419 0.04% MLCGSolver::ParallelAllReduce 1832 0.000313 0.000313 0.000313 0.03% main() 1 0.0003118 0.0003118 0.0003118 0.03% FabArray::ParallelCopy() 861 0.0002709 0.0002709 0.0002709 0.03% MLCellLinOp::defineBC() 11 0.0002599 0.0002599 0.0002599 0.03% FillPatchIterator::Initialize 41 0.0002181 0.0002181 0.0002181 0.02% MLMG::mgVcycle() 82 0.0002019 0.0002019 0.0002019 0.02% Castro::create_source_corrector() 10 0.000192 0.000192 0.000192 0.02% Castro::subcycle_advance_ctu() 10 0.0001875 0.0001875 0.0001875 0.02% MLLinOp::defineGrids() 11 0.0001712 0.0001712 0.0001712 0.02% Amr::timeStep() 10 0.0001653 0.0001653 0.0001653 0.02% Gravity::update_max_rhs() 11 0.0001647 0.0001647 0.0001647 0.02% MLCellLinOp::correctionResidual() 410 0.0001617 0.0001617 0.0001617 0.02% Castro::construct_new_source() 50 0.0001433 0.0001433 0.0001433 0.01% MLMG:computeResOfCorrection() 410 0.0001206 0.0001206 0.0001206 0.01% Gravity::solve_for_phi() 10 0.0001186 0.0001186 0.0001186 0.01% StateData::checkPoint() 12 0.0001184 0.0001184 0.0001184 0.01% Castro::Castro() 1 8.728e-05 8.728e-05 8.728e-05 0.01% MLMG::actualBottomSolve() 82 8.688e-05 8.688e-05 8.688e-05 0.01% FabArrayBase::FB::FB() 56 8.529e-05 8.529e-05 8.529e-05 0.01% Castro::advance() 10 8.193e-05 8.193e-05 8.193e-05 0.01% Castro::initialize_advance() 10 8.13e-05 8.13e-05 8.13e-05 0.01% Castro::clean_state() 62 8.102e-05 8.102e-05 8.102e-05 0.01% MLMG::mgVcycle_down::0 82 8.003e-05 8.003e-05 8.003e-05 0.01% MLMG::solve() 11 7.452e-05 7.452e-05 7.452e-05 0.01% MLMG::mgVcycle_down::2 82 7.413e-05 7.413e-05 7.413e-05 0.01% MLMG::mgVcycle_down::1 82 7.36e-05 7.36e-05 7.36e-05 0.01% Castro::enforce_consistent_e() 1 7.165e-05 7.165e-05 7.165e-05 0.01% MLMG::mgVcycle_down::4 82 6.934e-05 6.934e-05 6.934e-05 0.01% Castro::finalize_advance() 10 6.797e-05 6.797e-05 6.797e-05 0.01% Castro::post_timestep() 10 6.744e-05 6.744e-05 6.744e-05 0.01% MLMG::mgVcycle_down::3 82 6.685e-05 6.685e-05 6.685e-05 0.01% AmrLevel::checkPoint() 3 6.242e-05 6.242e-05 6.242e-05 0.01% Castro::initialize_do_advance() 10 6.039e-05 6.039e-05 6.039e-05 0.01% MLMG::oneIter() 82 5.688e-05 5.688e-05 5.688e-05 0.01% Amr::writeSmallPlotFile() 1 5.405e-05 5.405e-05 5.405e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.192e-05 5.192e-05 5.192e-05 0.01% MLMG::mgVcycle_up::4 82 5.066e-05 5.066e-05 5.066e-05 0.01% Castro::finalize_do_advance() 10 4.945e-05 4.945e-05 4.945e-05 0.01% Castro::do_advance_ctu() 10 4.887e-05 4.887e-05 4.887e-05 0.01% MLMG::mgVcycle_up::0 82 4.838e-05 4.838e-05 4.838e-05 0.01% MLMG::mgVcycle_up::3 82 4.525e-05 4.525e-05 4.525e-05 0.00% MLCellLinOp::solutionResidual() 93 4.393e-05 4.393e-05 4.393e-05 0.00% MLMG::mgVcycle_up::1 82 4.385e-05 4.385e-05 4.385e-05 0.00% MLMG::mgVcycle_up::2 82 4.317e-05 4.317e-05 4.317e-05 0.00% StateData::define() 4 3.945e-05 3.945e-05 3.945e-05 0.00% FillPatchSingleLevel 41 3.841e-05 3.841e-05 3.841e-05 0.00% Castro::swap_state_time_levels() 10 3.797e-05 3.797e-05 3.797e-05 0.00% Amr::defBaseLevel() 1 3.774e-05 3.774e-05 3.774e-05 0.00% MLMG::mgVcycle_bottom 82 3.185e-05 3.185e-05 3.185e-05 0.00% MLMG::computeResidual() 82 3.106e-05 3.106e-05 3.106e-05 0.00% Castro::initMFs() 1 2.974e-05 2.974e-05 2.974e-05 0.00% MLMG::ResNormInf() 93 2.927e-05 2.927e-05 2.927e-05 0.00% Castro::construct_new_gravity() 10 2.748e-05 2.748e-05 2.748e-05 0.00% Castro::buildMetrics() 1 2.53e-05 2.53e-05 2.53e-05 0.00% makeSFC 55 2.486e-05 2.486e-05 2.486e-05 0.00% MLPoisson::define() 11 2.405e-05 2.405e-05 2.405e-05 0.00% Amr::FinalizeInit() 1 2.296e-05 2.296e-05 2.296e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.152e-05 2.152e-05 2.152e-05 0.00% Castro::construct_old_source() 50 2.132e-05 2.132e-05 2.132e-05 0.00% Castro::do_old_sources() 10 2.072e-05 2.072e-05 2.072e-05 0.00% Castro::do_new_sources() 10 1.896e-05 1.896e-05 1.896e-05 0.00% DistributionMapping::Distribute() 56 1.696e-05 1.696e-05 1.696e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.678e-05 1.678e-05 1.678e-05 0.00% MLLinOp::define() 11 1.535e-05 1.535e-05 1.535e-05 0.00% Gravity::actual_multilevel_solve() 1 1.366e-05 1.366e-05 1.366e-05 0.00% Castro::check_for_nan() 20 1.348e-05 1.348e-05 1.348e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.264e-05 1.264e-05 1.264e-05 0.00% Castro::apply_source_to_state() 20 1.121e-05 1.121e-05 1.121e-05 0.00% Castro::construct_old_gravity() 10 1.033e-05 1.033e-05 1.033e-05 0.00% Amr::initSubcycle() 1 1.01e-05 1.01e-05 1.01e-05 0.00% MLMG::computeMLResidual() 11 9.108e-06 9.108e-06 9.108e-06 0.00% Castro::computeNewDt() 9 8.256e-06 8.256e-06 8.256e-06 0.00% AmrLevel::AmrLevel(dm) 1 7.742e-06 7.742e-06 7.742e-06 0.00% Gravity::swapTimeLevels() 10 7.622e-06 7.622e-06 7.622e-06 0.00% Castro::expand_state() 10 6.911e-06 6.911e-06 6.911e-06 0.00% Amr::InitializeInit() 1 6.591e-06 6.591e-06 6.591e-06 0.00% MLPoisson::prepareForSolve() 11 6.535e-06 6.535e-06 6.535e-06 0.00% MLMG::getGradSolution() 11 5.984e-06 5.984e-06 5.984e-06 0.00% Amr::init() 1 5.27e-06 5.27e-06 5.27e-06 0.00% Gravity::set_mass_offset() 11 5.078e-06 5.078e-06 5.078e-06 0.00% AmrLevel::checkPointPost() 3 4.77e-06 4.77e-06 4.77e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.556e-06 4.556e-06 4.556e-06 0.00% Castro::post_init() 1 4.399e-06 4.399e-06 4.399e-06 0.00% Castro::retry_advance_ctu() 10 4.365e-06 4.365e-06 4.365e-06 0.00% MLMG::MLRhsNormInf() 11 3.971e-06 3.971e-06 3.971e-06 0.00% MLMG::MLResNormInf() 11 3.581e-06 3.581e-06 3.581e-06 0.00% Castro::FluxRegCrseInit 10 3.02e-06 3.02e-06 3.02e-06 0.00% AmrLevel::checkPointPre() 3 2.961e-06 2.961e-06 2.961e-06 0.00% Castro::computeInitialDt() 2 2.399e-06 2.399e-06 2.399e-06 0.00% Castro::FluxRegFineAdd() 10 2.073e-06 2.073e-06 2.073e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.951e-06 1.951e-06 1.951e-06 0.00% Castro::post_regrid() 1 1.478e-06 1.478e-06 1.478e-06 0.00% Amr::initialInit() 1 1.148e-06 1.148e-06 1.148e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.965 0.965 0.965 100.00% Amr::coarseTimeStep() 10 0.814 0.814 0.814 84.35% Amr::timeStep() 10 0.6859 0.6859 0.6859 71.08% Castro::advance() 10 0.6743 0.6743 0.6743 69.87% Castro::subcycle_advance_ctu() 10 0.6593 0.6593 0.6593 68.32% Castro::do_advance_ctu() 10 0.6591 0.6591 0.6591 68.30% Castro::construct_ctu_hydro_source() 10 0.3176 0.3176 0.3176 32.91% Gravity::solve_phi_with_mlmg() 11 0.2976 0.2976 0.2976 30.84% Gravity::actual_solve_with_mlmg() 11 0.2874 0.2874 0.2874 29.78% Castro::construct_new_gravity() 10 0.2689 0.2689 0.2689 27.86% MLMG::solve() 11 0.265 0.265 0.265 27.46% Gravity::solve_for_phi() 10 0.2525 0.2525 0.2525 26.16% MLMG::oneIter() 82 0.2493 0.2493 0.2493 25.84% MLMG::mgVcycle() 82 0.2457 0.2457 0.2457 25.46% VisMF::Write(FabArray) 11 0.1741 0.1741 0.1741 18.04% Amr::checkPoint() 3 0.17 0.17 0.17 17.61% AmrLevel::checkPoint() 3 0.1273 0.1273 0.1273 13.19% StateData::checkPoint() 12 0.1272 0.1272 0.1272 13.18% Amr::init() 1 0.1254 0.1254 0.1254 12.99% MLCellLinOp::smooth() 1640 0.1224 0.1224 0.1224 12.68% MLCellLinOp::applyBC() 4351 0.1141 0.1141 0.1141 11.83% MLMG::mgVcycle_bottom 82 0.07368 0.07368 0.07368 7.64% MLMG::actualBottomSolve() 82 0.07365 0.07365 0.07365 7.63% MLCGSolver::bicgstab 82 0.07283 0.07283 0.07283 7.55% Castro::clean_state() 62 0.05928 0.05928 0.05928 6.14% Amr::initialInit() 1 0.05484 0.05484 0.05484 5.68% Amr::writePlotFile() 2 0.04965 0.04965 0.04965 5.14% Amr::FinalizeInit() 1 0.04944 0.04944 0.04944 5.12% Castro::post_init() 1 0.04799 0.04799 0.04799 4.97% AmrLevel::FillPatch() 41 0.0479 0.0479 0.0479 4.96% Gravity::multilevel_solve_for_new_phi() 1 0.0456 0.0456 0.0456 4.73% Gravity::actual_multilevel_solve() 1 0.04558 0.04558 0.04558 4.72% FillPatchIterator::Initialize 41 0.04357 0.04357 0.04357 4.51% FillPatchIterator::FillFromLevel0() 41 0.04197 0.04197 0.04197 4.35% FillPatchSingleLevel 41 0.04192 0.04192 0.04192 4.34% StateDataPhysBCFunct::() 41 0.03778 0.03778 0.03778 3.91% MLCellLinOp::apply() 1060 0.0368 0.0368 0.0368 3.81% MLMG::mgVcycle_down::0 82 0.03471 0.03471 0.03471 3.60% MLPoisson::Fsmooth() 3280 0.03363 0.03363 0.03363 3.49% FabArray::FillBoundary() 3941 0.03219 0.03219 0.03219 3.34% FillBoundary_nowait() 3941 0.0314 0.0314 0.0314 3.25% StateData::FillBoundary(geom) 328 0.02697 0.02697 0.02697 2.79% MLMG::mgVcycle_up::0 82 0.02633 0.02633 0.02633 2.73% Castro::computeTemp() 63 0.02454 0.02454 0.02454 2.54% amrex::Dot() 1114 0.02177 0.02177 0.02177 2.26% Castro::initialize_do_advance() 10 0.02104 0.02104 0.02104 2.18% MLMG:computeResOfCorrection() 410 0.02057 0.02057 0.02057 2.13% MLCellLinOp::correctionResidual() 410 0.02045 0.02045 0.02045 2.12% Castro::normalize_species() 62 0.02023 0.02023 0.02023 2.10% FabArray::norminf() 1061 0.02013 0.02013 0.02013 2.09% Castro::do_old_sources() 10 0.01918 0.01918 0.01918 1.99% Gravity::get_new_grav_vector() 11 0.01835 0.01835 0.01835 1.90% MLPoisson::define() 11 0.01767 0.01767 0.01767 1.83% MLMG::mgVcycle_down::1 82 0.01683 0.01683 0.01683 1.74% MLMG::mgVcycle_down::2 82 0.01566 0.01566 0.01566 1.62% Castro::construct_old_gravity() 10 0.01541 0.01541 0.01541 1.60% Gravity::get_old_grav_vector() 10 0.0154 0.0154 0.0154 1.60% MLMG::mgVcycle_down::3 82 0.01527 0.01527 0.01527 1.58% MLMG::mgVcycle_down::4 82 0.01514 0.01514 0.01514 1.57% FabArray::ParallelCopy() 861 0.01503 0.01503 0.01503 1.56% FabArray::ParallelCopy_nowait() 861 0.01476 0.01476 0.01476 1.53% Castro::initialize_advance() 10 0.01432 0.01432 0.01432 1.48% FabArray::setVal() 1062 0.01357 0.01357 0.01357 1.41% Castro::do_new_sources() 10 0.01354 0.01354 0.01354 1.40% FabArray::Saxpy() 1370 0.01319 0.01319 0.01319 1.37% MLCGSolver::ParallelAllReduce 1832 0.01302 0.01302 0.01302 1.35% MLMG::addInterpCorrection() 410 0.01256 0.01256 0.01256 1.30% Castro::enforce_min_density() 62 0.01222 0.01222 0.01222 1.27% MLMG::mgVcycle_up::1 82 0.01215 0.01215 0.01215 1.26% MLMG::mgVcycle_up::4 82 0.0121 0.0121 0.0121 1.25% MLCellLinOp::defineAuxData() 11 0.01197 0.01197 0.01197 1.24% MLMG::mgVcycle_up::2 82 0.0119 0.0119 0.0119 1.23% amrex::average_down 410 0.01174 0.01174 0.01174 1.22% MLMG::mgVcycle_up::3 82 0.01168 0.01168 0.01168 1.21% Castro::post_timestep() 10 0.01146 0.01146 0.01146 1.19% Castro::expand_state() 10 0.01133 0.01133 0.01133 1.17% amrex::Copy() 472 0.01099 0.01099 0.01099 1.14% MLPoisson::Fapply() 1060 0.0104 0.0104 0.0104 1.08% Gravity::fill_multipole_BCs() 11 0.009956 0.009956 0.009956 1.03% MLCellLinOp::solutionResidual() 93 0.007867 0.007867 0.007867 0.82% FabArray::Xpay() 739 0.007863 0.007863 0.007863 0.81% Castro::reset_internal_energy(MultiFab) 63 0.006834 0.006834 0.006834 0.71% MLMG::computeResidual() 82 0.006585 0.006585 0.006585 0.68% Castro::estTimeStep() 21 0.005993 0.005993 0.005993 0.62% MLCellLinOp::defineBC() 11 0.005438 0.005438 0.005438 0.56% Amr::InitializeInit() 1 0.005398 0.005398 0.005398 0.56% Amr::defBaseLevel() 1 0.005392 0.005392 0.005392 0.56% MLMG::prepareForSolve() 11 0.005239 0.005239 0.005239 0.54% BndryData::define() 11 0.005178 0.005178 0.005178 0.54% Castro::initData() 1 0.004721 0.004721 0.004721 0.49% Castro::construct_new_source() 50 0.003703 0.003703 0.003703 0.38% amrex::Add() 82 0.003637 0.003637 0.003637 0.38% Castro::construct_new_gravity_source() 10 0.00356 0.00356 0.00356 0.37% Castro::enforce_speed_limit() 62 0.003309 0.003309 0.003309 0.34% Castro::construct_old_source() 50 0.002967 0.002967 0.002967 0.31% Castro::construct_old_gravity_source() 10 0.002946 0.002946 0.002946 0.31% Castro::computeNewDt() 9 0.002555 0.002555 0.002555 0.26% Castro::finalize_do_advance() 10 0.002507 0.002507 0.002507 0.26% MLMG::ResNormInf() 93 0.00218 0.00218 0.00218 0.23% Castro::apply_source_to_state() 20 0.001872 0.001872 0.001872 0.19% check_for_negative_density() 10 0.001868 0.001868 0.001868 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00184 0.00184 0.00184 0.19% Castro::reset_internal_energy(Fab) 504 0.001702 0.001702 0.001702 0.18% MLCellLinOp::setLevelBC() 11 0.001612 0.001612 0.001612 0.17% MLMG::getGradSolution() 11 0.00159 0.00159 0.00159 0.16% MLCellLinOp::compGrad() 11 0.001584 0.001584 0.001584 0.16% FabArrayBase::getCPC() 1323 0.001471 0.001471 0.001471 0.15% FabArray::mult() 43 0.001385 0.001385 0.001385 0.14% FabArray::setDomainBndry() 41 0.001378 0.001378 0.001378 0.14% MLPoisson::prepareForSolve() 11 0.001349 0.001349 0.001349 0.14% MLCellLinOp::prepareForSolve() 11 0.001342 0.001342 0.001342 0.14% MLMG::computeMLResidual() 11 0.001322 0.001322 0.001322 0.14% Castro::check_for_nan() 20 0.001287 0.001287 0.001287 0.13% MultiFab::contains_nan() 20 0.001274 0.001274 0.001274 0.13% Castro::post_regrid() 1 0.00115 0.00115 0.00115 0.12% Gravity::update_max_rhs() 11 0.001066 0.001066 0.001066 0.11% Castro::computeInitialDt() 2 0.0009912 0.0009912 0.0009912 0.10% FabArrayBase::getFB() 3941 0.000766 0.000766 0.000766 0.08% FabArrayBase::CPC::define() 454 0.0006632 0.0006632 0.0006632 0.07% Castro::finalize_advance() 10 0.0006205 0.0006205 0.0006205 0.06% Amr::InitAmr() 1 0.0005901 0.0005901 0.0005901 0.06% Castro::Castro() 1 0.0005802 0.0005802 0.0005802 0.06% Gravity::swapTimeLevels() 10 0.0004757 0.0004757 0.0004757 0.05% MultiFab::max() 11 0.0003419 0.0003419 0.0003419 0.04% MLMG::MLResNormInf() 11 0.0003272 0.0003272 0.0003272 0.03% Castro::buildMetrics() 1 0.0002886 0.0002886 0.0002886 0.03% MLMG::MLRhsNormInf() 11 0.0002465 0.0002465 0.0002465 0.03% MLLinOp::define() 11 0.0002416 0.0002416 0.0002416 0.03% MLLinOp::defineGrids() 11 0.0002262 0.0002262 0.0002262 0.02% Castro::create_source_corrector() 10 0.000192 0.000192 0.000192 0.02% FabArrayBase::FB::FB() 56 8.529e-05 8.529e-05 8.529e-05 0.01% Castro::enforce_consistent_e() 1 7.165e-05 7.165e-05 7.165e-05 0.01% Amr::writeSmallPlotFile() 1 5.405e-05 5.405e-05 5.405e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.305e-05 5.305e-05 5.305e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.719e-05 4.719e-05 4.719e-05 0.00% makeSFC 55 4.041e-05 4.041e-05 4.041e-05 0.00% StateData::define() 4 3.945e-05 3.945e-05 3.945e-05 0.00% Castro::swap_state_time_levels() 10 3.797e-05 3.797e-05 3.797e-05 0.00% Castro::initMFs() 1 2.974e-05 2.974e-05 2.974e-05 0.00% DistributionMapping::Distribute() 56 1.696e-05 1.696e-05 1.696e-05 0.00% Amr::initSubcycle() 1 1.01e-05 1.01e-05 1.01e-05 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.96e-06 5.96e-06 5.96e-06 0.00% Gravity::set_mass_offset() 11 5.078e-06 5.078e-06 5.078e-06 0.00% AmrLevel::checkPointPost() 3 4.77e-06 4.77e-06 4.77e-06 0.00% Castro::retry_advance_ctu() 10 4.365e-06 4.365e-06 4.365e-06 0.00% Castro::FluxRegCrseInit 10 3.02e-06 3.02e-06 3.02e-06 0.00% AmrLevel::checkPointPre() 3 2.961e-06 2.961e-06 2.961e-06 0.00% Castro::FluxRegFineAdd() 10 2.073e-06 2.073e-06 2.073e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.951e-06 1.951e-06 1.951e-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 5470 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 949 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1434 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7616 KiB 14 MiB MLMG::prepareForSolve() 660 660 3376 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 197 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 163 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7516 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2110 B 2048 KiB Gravity::solve_for_phi() 80 80 535 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 96 KiB 2048 KiB BndryData::define() 1056 1056 308 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 196 KiB 671 KiB Castro::estTimeStep() 21 21 3026 B 480 KiB VisMF::Write(FabArray) 656 656 3271 B 320 KiB Castro::normalize_species() 62 62 6822 B 320 KiB amrex::average_down 1067 1067 1555 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1114 B 257 KiB amrex::Dot() 1360 1360 3324 B 160 KiB FabArray::norminf() 1143 1143 3216 B 160 KiB check_for_negative_density() 10 10 305 B 160 KiB Castro::initData() 1 1 49 B 160 KiB MultiFab::max() 11 11 55 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3295 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 275 B 9648 B MLCellLinOp::applyBC() 8702 8702 211 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3896 B 6144 B StateData::FillBoundary(geom) 1992 1992 39 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 348 B 1248 B MLCGSolver::bicgstab 410 410 91 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 560 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 37 KiB 8192 KiB VisMF::Write(FabArray) 744 744 393 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3295 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 275 B 9648 B MLCellLinOp::applyBC() 4351 4351 208 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3897 B 6144 B Gravity::get_new_grav_vector() 3 3 2898 B 3072 B StateData::FillBoundary(geom) 1992 1992 40 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 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 281 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 B 400 B FabArray::norminf() 1143 1143 9 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 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.04-2-gf2536be82d98) finalized Initializing AMReX (24.04-2-gf2536be82d98)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-2-gf2536be82d98) initialized Starting run at 09:12:16 UTC on 2024-04-02. Successfully read inputs file ... Castro git describe: 24.04 AMReX git describe: 24.04-2-gf2536be82 Microphysics git describe: 24.04 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.518188405 Restart time = 0.070552449 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.079803705 [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.07777444 [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.077238615 [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.063376309 [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.062150806 [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.03403601 seconds Ending run at 09:12:16 UTC on 2024-04-02. Run time = 0.466174388 Run time without initialization = 0.394983511 Average number of zones advanced per microsecond: 3.318 Average number of zones advanced per microsecond per rank: 3.318 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4662 ... 0.4662 ... 0.4662 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1657 0.1657 0.1657 35.53% VisMF::Read() 3 0.05921 0.05921 0.05921 12.70% MLCellLinOp::applyBC() 1910 0.03613 0.03613 0.03613 7.75% VisMF::Write(FabArray) 1 0.03126 0.03126 0.03126 6.70% MLPoisson::Fsmooth() 1440 0.01485 0.01485 0.01485 3.19% StateData::FillBoundary(geom) 160 0.01327 0.01327 0.01327 2.85% FillBoundary_nowait() 1730 0.01296 0.01296 0.01296 2.78% amrex::Dot() 484 0.00942 0.00942 0.00942 2.02% FabArray::norminf() 465 0.008787 0.008787 0.008787 1.88% Castro::normalize_species() 30 0.008638 0.008638 0.008638 1.85% Castro::computeTemp() 30 0.007515 0.007515 0.007515 1.61% FabArray::setVal() 501 0.006673 0.006673 0.006673 1.43% FabArray::ParallelCopy_nowait() 380 0.006319 0.006319 0.006319 1.36% Castro::enforce_min_density() 30 0.00595 0.00595 0.00595 1.28% FabArray::Saxpy() 597 0.005942 0.005942 0.005942 1.27% MLCellLinOp::defineAuxData() 6 0.00564 0.00564 0.00564 1.21% amrex::Copy() 221 0.005498 0.005498 0.005498 1.18% Gravity::fill_multipole_BCs() 6 0.005223 0.005223 0.005223 1.12% StateDataPhysBCFunct::() 20 0.00505 0.00505 0.00505 1.08% Amr::restart() 1 0.004924 0.004924 0.004924 1.06% MLPoisson::Fapply() 464 0.004542 0.004542 0.004542 0.97% FabArray::Xpay() 325 0.003518 0.003518 0.003518 0.75% MLMG::addInterpCorrection() 180 0.003176 0.003176 0.003176 0.68% Castro::estTimeStep() 10 0.003008 0.003008 0.003008 0.65% amrex::average_down 180 0.002776 0.002776 0.002776 0.60% Amr::writePlotFile() 1 0.002631 0.002631 0.002631 0.56% BndryData::define() 6 0.002217 0.002217 0.002217 0.48% Castro::enforce_speed_limit() 30 0.002198 0.002198 0.002198 0.47% Castro::reset_internal_energy(MultiFab) 30 0.001922 0.001922 0.001922 0.41% Castro::construct_new_gravity_source() 5 0.001874 0.001874 0.001874 0.40% amrex::Add() 36 0.001555 0.001555 0.001555 0.33% Castro::construct_old_gravity_source() 5 0.001492 0.001492 0.001492 0.32% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001005 0.001005 0.001005 0.22% check_for_negative_density() 5 0.0009579 0.0009579 0.0009579 0.21% Castro::reset_internal_energy(Fab) 240 0.0009063 0.0009063 0.0009063 0.19% MLCellLinOp::setLevelBC() 6 0.0008936 0.0008936 0.0008936 0.19% Gravity::actual_solve_with_mlmg() 6 0.0008307 0.0008307 0.0008307 0.18% MLCellLinOp::prepareForSolve() 6 0.0007523 0.0007523 0.0007523 0.16% MLCGSolver::bicgstab 36 0.0007463 0.0007463 0.0007463 0.16% FabArray::setDomainBndry() 20 0.0007218 0.0007218 0.0007218 0.15% FabArray::mult() 22 0.0007002 0.0007002 0.0007002 0.15% MultiFab::contains_nan() 10 0.0006599 0.0006599 0.0006599 0.14% MLCellLinOp::compGrad() 6 0.0006156 0.0006156 0.0006156 0.13% MLMG::prepareForSolve() 6 0.0005681 0.0005681 0.0005681 0.12% MLCellLinOp::smooth() 720 0.0005334 0.0005334 0.0005334 0.11% Amr::InitAmr() 1 0.0004717 0.0004717 0.0004717 0.10% FabArrayBase::CPC::define() 244 0.0004179 0.0004179 0.0004179 0.09% main() 1 0.0003918 0.0003918 0.0003918 0.08% FabArrayBase::getCPC() 632 0.0003715 0.0003715 0.0003715 0.08% FabArray::FillBoundary() 1730 0.0003433 0.0003433 0.0003433 0.07% Gravity::get_old_grav_vector() 5 0.0003162 0.0003162 0.0003162 0.07% FabArrayBase::getFB() 1730 0.0002688 0.0002688 0.0002688 0.06% Gravity::get_new_grav_vector() 5 0.0002625 0.0002625 0.0002625 0.06% MultiFab::max() 6 0.0002095 0.0002095 0.0002095 0.04% AmrLevel::FillPatch() 20 0.0002003 0.0002003 0.0002003 0.04% MLCellLinOp::apply() 464 0.0001905 0.0001905 0.0001905 0.04% Amr::coarseTimeStep() 5 0.0001798 0.0001798 0.0001798 0.04% MLCellLinOp::defineBC() 6 0.0001472 0.0001472 0.0001472 0.03% Castro::construct_new_source() 25 0.0001366 0.0001366 0.0001366 0.03% MLCGSolver::ParallelAllReduce 798 0.0001362 0.0001362 0.0001362 0.03% Castro::subcycle_advance_ctu() 5 0.0001267 0.0001267 0.0001267 0.03% Castro::create_source_corrector() 5 0.0001156 0.0001156 0.0001156 0.02% FabArray::ParallelCopy() 380 0.0001137 0.0001137 0.0001137 0.02% FillPatchIterator::Initialize 20 0.000106 0.000106 0.000106 0.02% MLLinOp::defineGrids() 6 9.886e-05 9.886e-05 9.886e-05 0.02% MLMG::mgVcycle() 36 9.384e-05 9.384e-05 9.384e-05 0.02% Amr::timeStep() 5 8.317e-05 8.317e-05 8.317e-05 0.02% MLCellLinOp::correctionResidual() 180 7.435e-05 7.435e-05 7.435e-05 0.02% AmrLevel::restart() 1 7.201e-05 7.201e-05 7.201e-05 0.02% Castro::initialize_do_advance() 5 6.678e-05 6.678e-05 6.678e-05 0.01% Gravity::update_max_rhs() 6 6.539e-05 6.539e-05 6.539e-05 0.01% Castro::finalize_do_advance() 5 6.496e-05 6.496e-05 6.496e-05 0.01% StateData::restartDoit() 4 6.365e-05 6.365e-05 6.365e-05 0.01% Castro::advance() 5 6.091e-05 6.091e-05 6.091e-05 0.01% FabArrayBase::FB::FB() 26 5.667e-05 5.667e-05 5.667e-05 0.01% Amr::writeSmallPlotFile() 1 5.46e-05 5.46e-05 5.46e-05 0.01% MLMG:computeResOfCorrection() 180 5.167e-05 5.167e-05 5.167e-05 0.01% Gravity::solve_for_phi() 5 5.03e-05 5.03e-05 5.03e-05 0.01% Castro::initialize_advance() 5 4.617e-05 4.617e-05 4.617e-05 0.01% Castro::do_advance_ctu() 5 4.569e-05 4.569e-05 4.569e-05 0.01% MLMG::actualBottomSolve() 36 3.989e-05 3.989e-05 3.989e-05 0.01% MLMG::mgVcycle_down::0 36 3.575e-05 3.575e-05 3.575e-05 0.01% Castro::clean_state() 30 3.505e-05 3.505e-05 3.505e-05 0.01% MLMG::mgVcycle_down::1 36 3.352e-05 3.352e-05 3.352e-05 0.01% MLMG::solve() 6 3.347e-05 3.347e-05 3.347e-05 0.01% Castro::finalize_advance() 5 3.075e-05 3.075e-05 3.075e-05 0.01% MLMG::mgVcycle_down::2 36 3.053e-05 3.053e-05 3.053e-05 0.01% MLMG::mgVcycle_down::4 36 2.963e-05 2.963e-05 2.963e-05 0.01% Castro::do_new_sources() 5 2.931e-05 2.931e-05 2.931e-05 0.01% Castro::construct_old_source() 25 2.925e-05 2.925e-05 2.925e-05 0.01% Castro::post_timestep() 5 2.896e-05 2.896e-05 2.896e-05 0.01% MLMG::mgVcycle_down::3 36 2.894e-05 2.894e-05 2.894e-05 0.01% Castro::buildMetrics() 1 2.833e-05 2.833e-05 2.833e-05 0.01% MLMG::mgVcycle_up::4 36 2.624e-05 2.624e-05 2.624e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.611e-05 2.611e-05 2.611e-05 0.01% MLMG::oneIter() 36 2.436e-05 2.436e-05 2.436e-05 0.01% Castro::initMFs() 1 2.3e-05 2.3e-05 2.3e-05 0.00% MLCellLinOp::solutionResidual() 42 2.299e-05 2.299e-05 2.299e-05 0.00% Castro::swap_state_time_levels() 5 2.295e-05 2.295e-05 2.295e-05 0.00% MLMG::mgVcycle_up::3 36 2.281e-05 2.281e-05 2.281e-05 0.00% MLMG::mgVcycle_up::0 36 2.278e-05 2.278e-05 2.278e-05 0.00% Castro::post_restart() 1 2.165e-05 2.165e-05 2.165e-05 0.00% MLMG::mgVcycle_up::2 36 2.138e-05 2.138e-05 2.138e-05 0.00% MLMG::mgVcycle_up::1 36 2.026e-05 2.026e-05 2.026e-05 0.00% MLPoisson::define() 6 1.807e-05 1.807e-05 1.807e-05 0.00% FillPatchSingleLevel 20 1.688e-05 1.688e-05 1.688e-05 0.00% MLMG::ResNormInf() 42 1.636e-05 1.636e-05 1.636e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.632e-05 1.632e-05 1.632e-05 0.00% Gravity::actual_multilevel_solve() 1 1.508e-05 1.508e-05 1.508e-05 0.00% MLMG::mgVcycle_bottom 36 1.483e-05 1.483e-05 1.483e-05 0.00% makeSFC 30 1.438e-05 1.438e-05 1.438e-05 0.00% MLMG::computeResidual() 36 1.368e-05 1.368e-05 1.368e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.273e-05 1.273e-05 1.273e-05 0.00% Castro::construct_new_gravity() 5 1.231e-05 1.231e-05 1.231e-05 0.00% Castro::do_old_sources() 5 1.092e-05 1.092e-05 1.092e-05 0.00% Amr::initSubcycle() 1 9.923e-06 9.923e-06 9.923e-06 0.00% DistributionMapping::Distribute() 31 9.271e-06 9.271e-06 9.271e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.391e-06 7.391e-06 7.391e-06 0.00% MLLinOp::define() 6 7.031e-06 7.031e-06 7.031e-06 0.00% Castro::check_for_nan() 10 6.522e-06 6.522e-06 6.522e-06 0.00% Castro::apply_source_to_state() 10 6.166e-06 6.166e-06 6.166e-06 0.00% Castro::construct_old_gravity() 5 6.022e-06 6.022e-06 6.022e-06 0.00% MLMG::computeMLResidual() 6 4.296e-06 4.296e-06 4.296e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.196e-06 4.196e-06 4.196e-06 0.00% Gravity::swapTimeLevels() 5 4.125e-06 4.125e-06 4.125e-06 0.00% MLPoisson::prepareForSolve() 6 3.691e-06 3.691e-06 3.691e-06 0.00% Castro::computeNewDt() 5 3.658e-06 3.658e-06 3.658e-06 0.00% MLMG::getGradSolution() 6 3.313e-06 3.313e-06 3.313e-06 0.00% Castro::expand_state() 5 2.894e-06 2.894e-06 2.894e-06 0.00% MLMG::MLResNormInf() 6 2.42e-06 2.42e-06 2.42e-06 0.00% MLMG::MLRhsNormInf() 6 2.123e-06 2.123e-06 2.123e-06 0.00% Gravity::set_mass_offset() 6 2.112e-06 2.112e-06 2.112e-06 0.00% Castro::retry_advance_ctu() 5 1.931e-06 1.931e-06 1.931e-06 0.00% Castro::FluxRegCrseInit 5 1.604e-06 1.604e-06 1.604e-06 0.00% Castro::FluxRegFineAdd() 5 1.245e-06 1.245e-06 1.245e-06 0.00% Amr::init() 1 1.041e-06 1.041e-06 1.041e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.018e-06 1.018e-06 1.018e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4662 0.4662 0.4662 99.99% Amr::coarseTimeStep() 5 0.3605 0.3605 0.3605 77.33% Amr::timeStep() 5 0.3584 0.3584 0.3584 76.87% Castro::advance() 5 0.3526 0.3526 0.3526 75.62% Castro::subcycle_advance_ctu() 5 0.345 0.345 0.345 73.99% Castro::do_advance_ctu() 5 0.3448 0.3448 0.3448 73.96% Castro::construct_ctu_hydro_source() 5 0.1716 0.1716 0.1716 36.81% Castro::construct_new_gravity() 5 0.1371 0.1371 0.1371 29.41% Gravity::solve_phi_with_mlmg() 6 0.1343 0.1343 0.1343 28.81% Gravity::solve_for_phi() 5 0.129 0.129 0.129 27.68% Gravity::actual_solve_with_mlmg() 6 0.1289 0.1289 0.1289 27.64% MLMG::solve() 6 0.1167 0.1167 0.1167 25.02% MLMG::oneIter() 36 0.1089 0.1089 0.1089 23.35% MLMG::mgVcycle() 36 0.1073 0.1073 0.1073 23.01% Amr::init() 1 0.0706 0.0706 0.0706 15.14% Amr::restart() 1 0.0706 0.0706 0.0706 15.14% AmrLevel::restart() 1 0.05958 0.05958 0.05958 12.78% StateData::restartDoit() 4 0.0595 0.0595 0.0595 12.76% VisMF::Read() 3 0.05921 0.05921 0.05921 12.70% MLCellLinOp::smooth() 720 0.05333 0.05333 0.05333 11.44% MLCellLinOp::applyBC() 1910 0.04976 0.04976 0.04976 10.67% Amr::writePlotFile() 1 0.03414 0.03414 0.03414 7.32% MLMG::mgVcycle_bottom 36 0.03215 0.03215 0.03215 6.90% MLMG::actualBottomSolve() 36 0.03213 0.03213 0.03213 6.89% MLCGSolver::bicgstab 36 0.03176 0.03176 0.03176 6.81% VisMF::Write(FabArray) 1 0.03126 0.03126 0.03126 6.70% Castro::clean_state() 30 0.02716 0.02716 0.02716 5.83% AmrLevel::FillPatch() 20 0.02335 0.02335 0.02335 5.01% FillPatchIterator::Initialize 20 0.02125 0.02125 0.02125 4.56% FillPatchIterator::FillFromLevel0() 20 0.02042 0.02042 0.02042 4.38% FillPatchSingleLevel 20 0.02039 0.02039 0.02039 4.37% StateDataPhysBCFunct::() 20 0.01832 0.01832 0.01832 3.93% MLCellLinOp::apply() 464 0.01625 0.01625 0.01625 3.49% MLMG::mgVcycle_down::0 36 0.01517 0.01517 0.01517 3.25% MLPoisson::Fsmooth() 1440 0.01485 0.01485 0.01485 3.19% FabArray::FillBoundary() 1730 0.01363 0.01363 0.01363 2.92% FillBoundary_nowait() 1730 0.01329 0.01329 0.01329 2.85% StateData::FillBoundary(geom) 160 0.01327 0.01327 0.01327 2.85% MLMG::mgVcycle_up::0 36 0.01132 0.01132 0.01132 2.43% Castro::initialize_do_advance() 5 0.01114 0.01114 0.01114 2.39% Castro::computeTemp() 30 0.01034 0.01034 0.01034 2.22% MLPoisson::define() 6 0.009559 0.009559 0.009559 2.05% amrex::Dot() 484 0.00942 0.00942 0.00942 2.02% MLMG:computeResOfCorrection() 180 0.009009 0.009009 0.009009 1.93% MLCellLinOp::correctionResidual() 180 0.008957 0.008957 0.008957 1.92% Castro::do_old_sources() 5 0.008811 0.008811 0.008811 1.89% FabArray::norminf() 465 0.008787 0.008787 0.008787 1.88% Castro::normalize_species() 30 0.008638 0.008638 0.008638 1.85% Gravity::get_new_grav_vector() 5 0.007937 0.007937 0.007937 1.70% Castro::construct_old_gravity() 5 0.007813 0.007813 0.007813 1.68% Gravity::get_old_grav_vector() 5 0.007807 0.007807 0.007807 1.67% MLMG::mgVcycle_down::1 36 0.007464 0.007464 0.007464 1.60% Castro::initialize_advance() 5 0.007234 0.007234 0.007234 1.55% MLMG::mgVcycle_down::2 36 0.006841 0.006841 0.006841 1.47% FabArray::ParallelCopy() 380 0.006828 0.006828 0.006828 1.46% FabArray::ParallelCopy_nowait() 380 0.006714 0.006714 0.006714 1.44% Castro::do_new_sources() 5 0.006693 0.006693 0.006693 1.44% MLMG::mgVcycle_down::3 36 0.00668 0.00668 0.00668 1.43% FabArray::setVal() 501 0.006673 0.006673 0.006673 1.43% MLMG::mgVcycle_down::4 36 0.006604 0.006604 0.006604 1.42% MLCellLinOp::defineAuxData() 6 0.006449 0.006449 0.006449 1.38% Castro::expand_state() 5 0.006213 0.006213 0.006213 1.33% Castro::enforce_min_density() 30 0.00595 0.00595 0.00595 1.28% FabArray::Saxpy() 597 0.005942 0.005942 0.005942 1.27% Castro::post_restart() 1 0.005907 0.005907 0.005907 1.27% Castro::post_timestep() 5 0.005731 0.005731 0.005731 1.23% MLCGSolver::ParallelAllReduce 798 0.005681 0.005681 0.005681 1.22% MLMG::addInterpCorrection() 180 0.005543 0.005543 0.005543 1.19% Gravity::multilevel_solve_for_new_phi() 1 0.005532 0.005532 0.005532 1.19% Gravity::actual_multilevel_solve() 1 0.005516 0.005516 0.005516 1.18% amrex::Copy() 221 0.005498 0.005498 0.005498 1.18% Gravity::fill_multipole_BCs() 6 0.00535 0.00535 0.00535 1.15% MLMG::mgVcycle_up::4 36 0.005327 0.005327 0.005327 1.14% MLMG::mgVcycle_up::1 36 0.005323 0.005323 0.005323 1.14% MLMG::mgVcycle_up::2 36 0.005211 0.005211 0.005211 1.12% amrex::average_down 180 0.005175 0.005175 0.005175 1.11% MLMG::mgVcycle_up::3 36 0.005117 0.005117 0.005117 1.10% MLPoisson::Fapply() 464 0.004542 0.004542 0.004542 0.97% MLCellLinOp::solutionResidual() 42 0.003698 0.003698 0.003698 0.79% FabArray::Xpay() 325 0.003518 0.003518 0.003518 0.75% Castro::estTimeStep() 10 0.003008 0.003008 0.003008 0.65% MLCellLinOp::defineBC() 6 0.002955 0.002955 0.002955 0.63% MLMG::prepareForSolve() 6 0.002911 0.002911 0.002911 0.62% MLMG::computeResidual() 36 0.002887 0.002887 0.002887 0.62% Castro::reset_internal_energy(MultiFab) 30 0.002829 0.002829 0.002829 0.61% BndryData::define() 6 0.002808 0.002808 0.002808 0.60% Castro::enforce_speed_limit() 30 0.002198 0.002198 0.002198 0.47% Castro::construct_new_source() 25 0.00201 0.00201 0.00201 0.43% Castro::computeNewDt() 5 0.001963 0.001963 0.001963 0.42% Castro::construct_new_gravity_source() 5 0.001874 0.001874 0.001874 0.40% amrex::Add() 36 0.001555 0.001555 0.001555 0.33% Castro::construct_old_source() 25 0.001521 0.001521 0.001521 0.33% Castro::construct_old_gravity_source() 5 0.001492 0.001492 0.001492 0.32% Castro::finalize_do_advance() 5 0.001113 0.001113 0.001113 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001005 0.001005 0.001005 0.22% MLMG::ResNormInf() 42 0.001 0.001 0.001 0.21% Castro::apply_source_to_state() 10 0.000965 0.000965 0.000965 0.21% check_for_negative_density() 5 0.0009579 0.0009579 0.0009579 0.21% MLMG::getGradSolution() 6 0.0009143 0.0009143 0.0009143 0.20% MLCellLinOp::compGrad() 6 0.000911 0.000911 0.000911 0.20% Castro::reset_internal_energy(Fab) 240 0.0009063 0.0009063 0.0009063 0.19% MLCellLinOp::setLevelBC() 6 0.0008936 0.0008936 0.0008936 0.19% MLMG::computeMLResidual() 6 0.0008286 0.0008286 0.0008286 0.18% FabArrayBase::getCPC() 632 0.0007894 0.0007894 0.0007894 0.17% MLPoisson::prepareForSolve() 6 0.000756 0.000756 0.000756 0.16% MLCellLinOp::prepareForSolve() 6 0.0007523 0.0007523 0.0007523 0.16% Gravity::update_max_rhs() 6 0.0007302 0.0007302 0.0007302 0.16% FabArray::setDomainBndry() 20 0.0007218 0.0007218 0.0007218 0.15% FabArray::mult() 22 0.0007002 0.0007002 0.0007002 0.15% Castro::check_for_nan() 10 0.0006664 0.0006664 0.0006664 0.14% MultiFab::contains_nan() 10 0.0006599 0.0006599 0.0006599 0.14% Amr::InitAmr() 1 0.0004816 0.0004816 0.0004816 0.10% FabArrayBase::CPC::define() 244 0.0004179 0.0004179 0.0004179 0.09% FabArrayBase::getFB() 1730 0.0003255 0.0003255 0.0003255 0.07% Castro::finalize_advance() 5 0.0003015 0.0003015 0.0003015 0.06% Gravity::swapTimeLevels() 5 0.0002474 0.0002474 0.0002474 0.05% MultiFab::max() 6 0.0002095 0.0002095 0.0002095 0.04% MLMG::MLResNormInf() 6 0.0001927 0.0001927 0.0001927 0.04% Castro::buildMetrics() 1 0.0001662 0.0001662 0.0001662 0.04% MLLinOp::define() 6 0.0001367 0.0001367 0.0001367 0.03% MLLinOp::defineGrids() 6 0.0001296 0.0001296 0.0001296 0.03% MLMG::MLRhsNormInf() 6 0.0001232 0.0001232 0.0001232 0.03% Castro::create_source_corrector() 5 0.0001156 0.0001156 0.0001156 0.02% FabArrayBase::FB::FB() 26 5.667e-05 5.667e-05 5.667e-05 0.01% Amr::writeSmallPlotFile() 1 5.46e-05 5.46e-05 5.46e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.975e-05 2.975e-05 2.975e-05 0.01% Castro::initMFs() 1 2.3e-05 2.3e-05 2.3e-05 0.00% Castro::swap_state_time_levels() 5 2.295e-05 2.295e-05 2.295e-05 0.00% makeSFC 30 2.236e-05 2.236e-05 2.236e-05 0.00% Amr::initSubcycle() 1 9.923e-06 9.923e-06 9.923e-06 0.00% DistributionMapping::Distribute() 31 9.271e-06 9.271e-06 9.271e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.483e-06 5.483e-06 5.483e-06 0.00% Gravity::set_mass_offset() 6 2.112e-06 2.112e-06 2.112e-06 0.00% Castro::retry_advance_ctu() 5 1.931e-06 1.931e-06 1.931e-06 0.00% Castro::FluxRegCrseInit 5 1.604e-06 1.604e-06 1.604e-06 0.00% Castro::FluxRegFineAdd() 5 1.245e-06 1.245e-06 1.245e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.018e-06 1.018e-06 1.018e-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 11 MiB 9037 MiB Castro::initMFs() 48 48 58 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1002 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1975 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 6515 KiB 14 MiB MLMG::prepareForSolve() 361 361 3071 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 173 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 174 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6503 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 18 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3118 B 2048 KiB Gravity::solve_for_phi() 40 40 565 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 24 KiB 2048 KiB BndryData::define() 576 576 283 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 182 KiB 671 KiB Castro::estTimeStep() 10 10 3083 B 480 KiB VisMF::Write(FabArray) 112 112 1196 B 320 KiB Castro::normalize_species() 30 30 6024 B 320 KiB amrex::average_down 469 469 1324 B 257 KiB MLMG::addInterpCorrection() 468 468 1019 B 257 KiB amrex::Dot() 592 592 2968 B 160 KiB FabArray::norminf() 501 501 2899 B 160 KiB check_for_negative_density() 5 5 330 B 160 KiB MultiFab::max() 6 6 70 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 28 B 20 KiB MLPoisson::Fsmooth() 60 60 2975 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 42 B 10 KiB FillBoundary_nowait() 336 336 239 B 9648 B MLCellLinOp::applyBC() 3820 3820 193 B 9344 B amrex::Copy() 56 56 5860 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 39 B 2928 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 318 B 1248 B MLCGSolver::bicgstab 180 180 82 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1176 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 79 KiB 8192 KiB VisMF::Write(FabArray) 120 120 149 KiB 3584 KiB VisMF::Read() 24 24 192 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 2975 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 42 B 10 KiB FillBoundary_nowait() 336 336 239 B 9648 B MLCellLinOp::applyBC() 1910 1910 192 B 9328 B amrex::Copy() 56 56 5860 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2560 B 3072 B StateData::FillBoundary(geom) 960 960 40 B 2928 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B MLMG::prepareForSolve() 7 7 785 B 1648 B amrex::average_down 37 37 459 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 21 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.04-2-gf2536be82d98) finalized