Initializing AMReX (v2024-30-g6e18c4232a10)... Initializing CUDA... CUDA initialized with 1 device. AMReX (v2024-30-g6e18c4232a10) initialized Starting run at 09:21:00 UTC on 2024-03-22. Successfully read inputs file ... Castro git describe: 24.03-26-g5707c0c2f AMReX git describe: v2024-30-g6e18c4232 Microphysics git describe: 24.03-21-g81de2adb 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.046009694 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025383893 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.070475339 [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.053469345 [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.076254372 [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.07948619 [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.070332871 [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.045443613 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.050389011 [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.073468607 [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.072790761 [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.058864777 [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.060871032 [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.043775851 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.024831037 seconds Ending run at 09:21:00 UTC on 2024-03-22. Run time = 0.909025136 Run time without initialization = 0.781074176 Average number of zones advanced per microsecond: 3.356 Average number of zones advanced per microsecond per rank: 3.356 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9091 ... 0.9091 ... 0.9091 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2713 0.2713 0.2713 29.84% VisMF::Write(FabArray) 11 0.1769 0.1769 0.1769 19.46% MLCellLinOp::applyBC() 4351 0.08839 0.08839 0.08839 9.72% MLPoisson::Fsmooth() 3280 0.03437 0.03437 0.03437 3.78% FillBoundary_nowait() 3941 0.03112 0.03112 0.03112 3.42% StateData::FillBoundary(geom) 328 0.02688 0.02688 0.02688 2.96% amrex::Dot() 1114 0.02199 0.02199 0.02199 2.42% Castro::normalize_species() 62 0.02087 0.02087 0.02087 2.30% FabArray::norminf() 1061 0.02038 0.02038 0.02038 2.24% Castro::computeTemp() 63 0.01804 0.01804 0.01804 1.98% FabArray::ParallelCopy_nowait() 861 0.01393 0.01393 0.01393 1.53% Castro::enforce_min_density() 62 0.01377 0.01377 0.01377 1.51% FabArray::setVal() 1062 0.01365 0.01365 0.01365 1.50% FabArray::Saxpy() 1370 0.0133 0.0133 0.0133 1.46% StateDataPhysBCFunct::() 41 0.0113 0.0113 0.0113 1.24% amrex::Copy() 472 0.01103 0.01103 0.01103 1.21% MLPoisson::Fapply() 1060 0.01057 0.01057 0.01057 1.16% MLCellLinOp::defineAuxData() 11 0.01037 0.01037 0.01037 1.14% Gravity::fill_multipole_BCs() 11 0.009114 0.009114 0.009114 1.00% FabArray::Xpay() 739 0.007965 0.007965 0.007965 0.88% Castro::reset_internal_energy(MultiFab) 63 0.007267 0.007267 0.007267 0.80% MLMG::addInterpCorrection() 410 0.007152 0.007152 0.007152 0.79% amrex::average_down 410 0.006371 0.006371 0.006371 0.70% Amr::checkPoint() 3 0.005967 0.005967 0.005967 0.66% Castro::estTimeStep() 21 0.005859 0.005859 0.005859 0.64% BndryData::define() 11 0.004117 0.004117 0.004117 0.45% amrex::Add() 82 0.003664 0.003664 0.003664 0.40% Castro::construct_new_gravity_source() 10 0.003543 0.003543 0.003543 0.39% Castro::construct_old_gravity_source() 10 0.002931 0.002931 0.002931 0.32% Castro::enforce_speed_limit() 62 0.002859 0.002859 0.002859 0.31% Amr::writePlotFile() 2 0.002092 0.002092 0.002092 0.23% check_for_negative_density() 10 0.001879 0.001879 0.001879 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.0018 0.0018 0.0018 0.20% Castro::reset_internal_energy(Fab) 504 0.001712 0.001712 0.001712 0.19% MLCGSolver::bicgstab 82 0.001653 0.001653 0.001653 0.18% MLCellLinOp::setLevelBC() 11 0.001626 0.001626 0.001626 0.18% Gravity::actual_solve_with_mlmg() 11 0.001544 0.001544 0.001544 0.17% Castro::initData() 1 0.001505 0.001505 0.001505 0.17% FabArray::setDomainBndry() 41 0.001413 0.001413 0.001413 0.16% FabArray::mult() 43 0.001407 0.001407 0.001407 0.15% MLCellLinOp::prepareForSolve() 11 0.001329 0.001329 0.001329 0.15% MultiFab::contains_nan() 20 0.001277 0.001277 0.001277 0.14% MLCellLinOp::smooth() 1640 0.00111 0.00111 0.00111 0.12% MLCellLinOp::compGrad() 11 0.001108 0.001108 0.001108 0.12% MLMG::prepareForSolve() 11 0.0009384 0.0009384 0.0009384 0.10% FabArray::FillBoundary() 3941 0.0007793 0.0007793 0.0007793 0.09% FabArrayBase::getCPC() 1323 0.0007603 0.0007603 0.0007603 0.08% FabArrayBase::CPC::define() 454 0.0006962 0.0006962 0.0006962 0.08% Gravity::get_new_grav_vector() 11 0.0006185 0.0006185 0.0006185 0.07% FabArrayBase::getFB() 3941 0.0006142 0.0006142 0.0006142 0.07% Amr::InitAmr() 1 0.0005819 0.0005819 0.0005819 0.06% Gravity::get_old_grav_vector() 10 0.0004908 0.0004908 0.0004908 0.05% MLCellLinOp::apply() 1060 0.0004494 0.0004494 0.0004494 0.05% AmrLevel::FillPatch() 41 0.0004061 0.0004061 0.0004061 0.04% MultiFab::max() 11 0.0003421 0.0003421 0.0003421 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003293 0.0003293 0.0003293 0.04% Amr::coarseTimeStep() 10 0.0003029 0.0003029 0.0003029 0.03% main() 1 0.0003025 0.0003025 0.0003025 0.03% MLCellLinOp::defineBC() 11 0.0002604 0.0002604 0.0002604 0.03% FabArray::ParallelCopy() 861 0.000247 0.000247 0.000247 0.03% MLMG::mgVcycle() 82 0.0002232 0.0002232 0.0002232 0.02% FillPatchIterator::Initialize 41 0.0002116 0.0002116 0.0002116 0.02% Castro::create_source_corrector() 10 0.0001909 0.0001909 0.0001909 0.02% Castro::subcycle_advance_ctu() 10 0.0001871 0.0001871 0.0001871 0.02% MLCellLinOp::correctionResidual() 410 0.0001719 0.0001719 0.0001719 0.02% Castro::construct_new_source() 50 0.0001669 0.0001669 0.0001669 0.02% MLLinOp::defineGrids() 11 0.0001607 0.0001607 0.0001607 0.02% Amr::timeStep() 10 0.0001504 0.0001504 0.0001504 0.02% Castro::advance() 10 0.000148 0.000148 0.000148 0.02% Gravity::update_max_rhs() 11 0.0001293 0.0001293 0.0001293 0.01% MLMG:computeResOfCorrection() 410 0.0001209 0.0001209 0.0001209 0.01% StateData::checkPoint() 12 0.0001102 0.0001102 0.0001102 0.01% Gravity::solve_for_phi() 10 0.0001071 0.0001071 0.0001071 0.01% FabArrayBase::FB::FB() 56 0.0001008 0.0001008 0.0001008 0.01% Castro::Castro() 1 9.754e-05 9.754e-05 9.754e-05 0.01% MLMG::mgVcycle_down::0 82 8.75e-05 8.75e-05 8.75e-05 0.01% MLMG::actualBottomSolve() 82 8.194e-05 8.194e-05 8.194e-05 0.01% Castro::clean_state() 62 8.069e-05 8.069e-05 8.069e-05 0.01% Castro::initialize_advance() 10 7.727e-05 7.727e-05 7.727e-05 0.01% MLMG::mgVcycle_down::1 82 7.573e-05 7.573e-05 7.573e-05 0.01% MLMG::mgVcycle_down::2 82 7.534e-05 7.534e-05 7.534e-05 0.01% MLMG::solve() 11 7.309e-05 7.309e-05 7.309e-05 0.01% MLMG::mgVcycle_down::4 82 7.146e-05 7.146e-05 7.146e-05 0.01% MLMG::mgVcycle_down::3 82 6.933e-05 6.933e-05 6.933e-05 0.01% Castro::enforce_consistent_e() 1 6.93e-05 6.93e-05 6.93e-05 0.01% AmrLevel::checkPoint() 3 6.721e-05 6.721e-05 6.721e-05 0.01% Castro::finalize_advance() 10 6.464e-05 6.464e-05 6.464e-05 0.01% MLMG::mgVcycle_up::4 82 6.367e-05 6.367e-05 6.367e-05 0.01% Castro::initialize_do_advance() 10 6.18e-05 6.18e-05 6.18e-05 0.01% MLMG::oneIter() 82 5.636e-05 5.636e-05 5.636e-05 0.01% MLCellLinOp::solutionResidual() 93 5.064e-05 5.064e-05 5.064e-05 0.01% MLMG::mgVcycle_up::3 82 5.027e-05 5.027e-05 5.027e-05 0.01% MLMG::mgVcycle_up::0 82 4.948e-05 4.948e-05 4.948e-05 0.01% MLMG::mgVcycle_up::2 82 4.81e-05 4.81e-05 4.81e-05 0.01% MLMG::mgVcycle_up::1 82 4.804e-05 4.804e-05 4.804e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.768e-05 4.768e-05 4.768e-05 0.01% Castro::do_advance_ctu() 10 4.755e-05 4.755e-05 4.755e-05 0.01% Castro::finalize_do_advance() 10 4.574e-05 4.574e-05 4.574e-05 0.01% StateData::define() 4 4.331e-05 4.331e-05 4.331e-05 0.00% Castro::swap_state_time_levels() 10 3.849e-05 3.849e-05 3.849e-05 0.00% FillPatchSingleLevel 41 3.74e-05 3.74e-05 3.74e-05 0.00% MLMG::ResNormInf() 93 3.591e-05 3.591e-05 3.591e-05 0.00% Amr::writeSmallPlotFile() 1 3.42e-05 3.42e-05 3.42e-05 0.00% Castro::buildMetrics() 1 3.333e-05 3.333e-05 3.333e-05 0.00% Castro::initMFs() 1 3.245e-05 3.245e-05 3.245e-05 0.00% MLMG::mgVcycle_bottom 82 3.194e-05 3.194e-05 3.194e-05 0.00% MLMG::computeResidual() 82 3.124e-05 3.124e-05 3.124e-05 0.00% MLPoisson::define() 11 2.858e-05 2.858e-05 2.858e-05 0.00% Amr::defBaseLevel() 1 2.688e-05 2.688e-05 2.688e-05 0.00% Castro::construct_new_gravity() 10 2.485e-05 2.485e-05 2.485e-05 0.00% makeSFC 55 2.421e-05 2.421e-05 2.421e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.299e-05 2.299e-05 2.299e-05 0.00% Castro::do_old_sources() 10 2.095e-05 2.095e-05 2.095e-05 0.00% Castro::do_new_sources() 10 2.065e-05 2.065e-05 2.065e-05 0.00% Castro::construct_old_source() 50 1.864e-05 1.864e-05 1.864e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.841e-05 1.841e-05 1.841e-05 0.00% Amr::FinalizeInit() 1 1.828e-05 1.828e-05 1.828e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.824e-05 1.824e-05 1.824e-05 0.00% DistributionMapping::Distribute() 56 1.616e-05 1.616e-05 1.616e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.287e-05 1.287e-05 1.287e-05 0.00% Castro::check_for_nan() 20 1.258e-05 1.258e-05 1.258e-05 0.00% MLPoisson::prepareForSolve() 11 1.226e-05 1.226e-05 1.226e-05 0.00% Castro::apply_source_to_state() 20 1.143e-05 1.143e-05 1.143e-05 0.00% MLLinOp::define() 11 1.092e-05 1.092e-05 1.092e-05 0.00% Amr::initSubcycle() 1 1.061e-05 1.061e-05 1.061e-05 0.00% Castro::construct_old_gravity() 10 9.656e-06 9.656e-06 9.656e-06 0.00% Castro::post_init() 1 9.025e-06 9.025e-06 9.025e-06 0.00% Gravity::swapTimeLevels() 10 8.693e-06 8.693e-06 8.693e-06 0.00% MLMG::computeMLResidual() 11 8.688e-06 8.688e-06 8.688e-06 0.00% Amr::InitializeInit() 1 8.628e-06 8.628e-06 8.628e-06 0.00% Gravity::actual_multilevel_solve() 1 8.616e-06 8.616e-06 8.616e-06 0.00% Castro::post_timestep() 10 8.53e-06 8.53e-06 8.53e-06 0.00% Castro::computeNewDt() 9 6.969e-06 6.969e-06 6.969e-06 0.00% Castro::expand_state() 10 6.075e-06 6.075e-06 6.075e-06 0.00% MLMG::getGradSolution() 11 5.95e-06 5.95e-06 5.95e-06 0.00% Castro::retry_advance_ctu() 10 4.731e-06 4.731e-06 4.731e-06 0.00% AmrLevel::checkPointPost() 3 4.519e-06 4.519e-06 4.519e-06 0.00% MLMG::MLRhsNormInf() 11 4.232e-06 4.232e-06 4.232e-06 0.00% MLMG::MLResNormInf() 11 3.863e-06 3.863e-06 3.863e-06 0.00% Gravity::set_mass_offset() 11 3.834e-06 3.834e-06 3.834e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.519e-06 3.519e-06 3.519e-06 0.00% Castro::FluxRegCrseInit 10 3.005e-06 3.005e-06 3.005e-06 0.00% Amr::init() 1 2.948e-06 2.948e-06 2.948e-06 0.00% Castro::FluxRegFineAdd() 10 2.844e-06 2.844e-06 2.844e-06 0.00% Castro::computeInitialDt() 2 2.728e-06 2.728e-06 2.728e-06 0.00% AmrLevel::checkPointPre() 3 2.267e-06 2.267e-06 2.267e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.852e-06 1.852e-06 1.852e-06 0.00% Castro::post_regrid() 1 1.535e-06 1.535e-06 1.535e-06 0.00% Amr::initialInit() 1 1.118e-06 1.118e-06 1.118e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.909 0.909 0.909 100.00% Amr::coarseTimeStep() 10 0.756 0.756 0.756 83.16% Amr::timeStep() 10 0.6631 0.6631 0.6631 72.95% Castro::advance() 10 0.6515 0.6515 0.6515 71.66% Castro::subcycle_advance_ctu() 10 0.6365 0.6365 0.6365 70.02% Castro::do_advance_ctu() 10 0.6363 0.6363 0.6363 70.00% Gravity::solve_phi_with_mlmg() 11 0.3057 0.3057 0.3057 33.62% Gravity::actual_solve_with_mlmg() 11 0.2961 0.2961 0.2961 32.57% Castro::construct_ctu_hydro_source() 10 0.2834 0.2834 0.2834 31.18% Castro::construct_new_gravity() 10 0.2762 0.2762 0.2762 30.38% MLMG::solve() 11 0.2738 0.2738 0.2738 30.12% Gravity::solve_for_phi() 10 0.26 0.26 0.26 28.60% MLMG::oneIter() 82 0.2583 0.2583 0.2583 28.41% MLMG::mgVcycle() 82 0.2546 0.2546 0.2546 28.00% VisMF::Write(FabArray) 11 0.1769 0.1769 0.1769 19.46% Amr::checkPoint() 3 0.1353 0.1353 0.1353 14.89% AmrLevel::checkPoint() 3 0.1294 0.1294 0.1294 14.23% StateData::checkPoint() 12 0.1293 0.1293 0.1293 14.22% Amr::init() 1 0.1272 0.1272 0.1272 14.00% MLCellLinOp::smooth() 1640 0.1232 0.1232 0.1232 13.55% MLCellLinOp::applyBC() 4351 0.121 0.121 0.121 13.31% MLMG::mgVcycle_bottom 82 0.08133 0.08133 0.08133 8.95% MLMG::actualBottomSolve() 82 0.0813 0.0813 0.0813 8.94% MLCGSolver::bicgstab 82 0.08049 0.08049 0.08049 8.85% Castro::clean_state() 62 0.06353 0.06353 0.06353 6.99% Amr::initialInit() 1 0.05572 0.05572 0.05572 6.13% Amr::FinalizeInit() 1 0.05035 0.05035 0.05035 5.54% Amr::writePlotFile() 2 0.05035 0.05035 0.05035 5.54% Castro::post_init() 1 0.04873 0.04873 0.04873 5.36% AmrLevel::FillPatch() 41 0.04829 0.04829 0.04829 5.31% Gravity::multilevel_solve_for_new_phi() 1 0.04611 0.04611 0.04611 5.07% Gravity::actual_multilevel_solve() 1 0.04609 0.04609 0.04609 5.07% FillPatchIterator::Initialize 41 0.04396 0.04396 0.04396 4.84% MLCellLinOp::apply() 1060 0.04382 0.04382 0.04382 4.82% FillPatchIterator::FillFromLevel0() 41 0.04234 0.04234 0.04234 4.66% FillPatchSingleLevel 41 0.04229 0.04229 0.04229 4.65% StateDataPhysBCFunct::() 41 0.03818 0.03818 0.03818 4.20% MLMG::mgVcycle_down::0 82 0.03516 0.03516 0.03516 3.87% MLPoisson::Fsmooth() 3280 0.03437 0.03437 0.03437 3.78% FabArray::FillBoundary() 3941 0.03261 0.03261 0.03261 3.59% FillBoundary_nowait() 3941 0.03183 0.03183 0.03183 3.50% Castro::computeTemp() 63 0.02702 0.02702 0.02702 2.97% StateData::FillBoundary(geom) 328 0.02688 0.02688 0.02688 2.96% MLMG::mgVcycle_up::0 82 0.0265 0.0265 0.0265 2.91% Castro::initialize_do_advance() 10 0.02348 0.02348 0.02348 2.58% amrex::Dot() 1114 0.02199 0.02199 0.02199 2.42% Castro::normalize_species() 62 0.02087 0.02087 0.02087 2.30% MLMG:computeResOfCorrection() 410 0.02077 0.02077 0.02077 2.28% MLCellLinOp::correctionResidual() 410 0.02065 0.02065 0.02065 2.27% Castro::do_old_sources() 10 0.02047 0.02047 0.02047 2.25% FabArray::norminf() 1061 0.02038 0.02038 0.02038 2.24% Gravity::get_new_grav_vector() 11 0.01838 0.01838 0.01838 2.02% MLPoisson::define() 11 0.01746 0.01746 0.01746 1.92% MLMG::mgVcycle_down::1 82 0.01692 0.01692 0.01692 1.86% MLMG::mgVcycle_down::2 82 0.01573 0.01573 0.01573 1.73% MLMG::mgVcycle_down::3 82 0.01533 0.01533 0.01533 1.69% Castro::construct_old_gravity() 10 0.01524 0.01524 0.01524 1.68% Gravity::get_old_grav_vector() 10 0.01523 0.01523 0.01523 1.68% MLMG::mgVcycle_down::4 82 0.01521 0.01521 0.01521 1.67% FabArray::ParallelCopy() 861 0.01498 0.01498 0.01498 1.65% FabArray::ParallelCopy_nowait() 861 0.01474 0.01474 0.01474 1.62% Castro::do_new_sources() 10 0.01421 0.01421 0.01421 1.56% Castro::initialize_advance() 10 0.01416 0.01416 0.01416 1.56% Castro::enforce_min_density() 62 0.01377 0.01377 0.01377 1.51% FabArray::setVal() 1062 0.01365 0.01365 0.01365 1.50% FabArray::Saxpy() 1370 0.0133 0.0133 0.0133 1.46% MLCGSolver::ParallelAllReduce 1832 0.01322 0.01322 0.01322 1.45% MLMG::addInterpCorrection() 410 0.01259 0.01259 0.01259 1.39% MLMG::mgVcycle_up::1 82 0.01225 0.01225 0.01225 1.35% MLMG::mgVcycle_up::4 82 0.01215 0.01215 0.01215 1.34% MLMG::mgVcycle_up::2 82 0.012 0.012 0.012 1.32% Castro::expand_state() 10 0.0119 0.0119 0.0119 1.31% amrex::average_down 410 0.01184 0.01184 0.01184 1.30% MLCellLinOp::defineAuxData() 11 0.01178 0.01178 0.01178 1.30% MLMG::mgVcycle_up::3 82 0.01176 0.01176 0.01176 1.29% Castro::post_timestep() 10 0.0115 0.0115 0.0115 1.27% amrex::Copy() 472 0.01103 0.01103 0.01103 1.21% MLPoisson::Fapply() 1060 0.01057 0.01057 0.01057 1.16% Gravity::fill_multipole_BCs() 11 0.009348 0.009348 0.009348 1.03% Castro::reset_internal_energy(MultiFab) 63 0.008979 0.008979 0.008979 0.99% FabArray::Xpay() 739 0.007965 0.007965 0.007965 0.88% MLCellLinOp::solutionResidual() 93 0.007801 0.007801 0.007801 0.86% MLMG::computeResidual() 82 0.006533 0.006533 0.006533 0.72% Castro::estTimeStep() 21 0.005859 0.005859 0.005859 0.64% MLCellLinOp::defineBC() 11 0.005422 0.005422 0.005422 0.60% Amr::InitializeInit() 1 0.005371 0.005371 0.005371 0.59% Amr::defBaseLevel() 1 0.005362 0.005362 0.005362 0.59% MLMG::prepareForSolve() 11 0.005211 0.005211 0.005211 0.57% BndryData::define() 11 0.005162 0.005162 0.005162 0.57% Castro::initData() 1 0.004654 0.004654 0.004654 0.51% Castro::construct_new_source() 50 0.00371 0.00371 0.00371 0.41% amrex::Add() 82 0.003664 0.003664 0.003664 0.40% Castro::construct_new_gravity_source() 10 0.003543 0.003543 0.003543 0.39% Castro::construct_old_source() 50 0.00295 0.00295 0.00295 0.32% Castro::construct_old_gravity_source() 10 0.002931 0.002931 0.002931 0.32% Castro::enforce_speed_limit() 62 0.002859 0.002859 0.002859 0.31% Castro::computeNewDt() 9 0.002559 0.002559 0.002559 0.28% Castro::finalize_do_advance() 10 0.002301 0.002301 0.002301 0.25% MLMG::ResNormInf() 93 0.002194 0.002194 0.002194 0.24% check_for_negative_density() 10 0.001879 0.001879 0.001879 0.21% Castro::apply_source_to_state() 20 0.001873 0.001873 0.001873 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.0018 0.0018 0.0018 0.20% Castro::reset_internal_energy(Fab) 504 0.001712 0.001712 0.001712 0.19% MLCellLinOp::setLevelBC() 11 0.001626 0.001626 0.001626 0.18% MLMG::getGradSolution() 11 0.001622 0.001622 0.001622 0.18% MLCellLinOp::compGrad() 11 0.001616 0.001616 0.001616 0.18% FabArrayBase::getCPC() 1323 0.001457 0.001457 0.001457 0.16% FabArray::setDomainBndry() 41 0.001413 0.001413 0.001413 0.16% FabArray::mult() 43 0.001407 0.001407 0.001407 0.15% MLPoisson::prepareForSolve() 11 0.001341 0.001341 0.001341 0.15% MLCellLinOp::prepareForSolve() 11 0.001329 0.001329 0.001329 0.15% MLMG::computeMLResidual() 11 0.001309 0.001309 0.001309 0.14% Castro::check_for_nan() 20 0.001289 0.001289 0.001289 0.14% MultiFab::contains_nan() 20 0.001277 0.001277 0.001277 0.14% Castro::post_regrid() 1 0.001262 0.001262 0.001262 0.14% Castro::computeInitialDt() 2 0.001054 0.001054 0.001054 0.12% Gravity::update_max_rhs() 11 0.001043 0.001043 0.001043 0.11% FabArrayBase::getFB() 3941 0.0007149 0.0007149 0.0007149 0.08% FabArrayBase::CPC::define() 454 0.0006962 0.0006962 0.0006962 0.08% Castro::finalize_advance() 10 0.0006267 0.0006267 0.0006267 0.07% Castro::Castro() 1 0.0006151 0.0006151 0.0006151 0.07% Amr::InitAmr() 1 0.0005925 0.0005925 0.0005925 0.07% Gravity::swapTimeLevels() 10 0.0004792 0.0004792 0.0004792 0.05% MultiFab::max() 11 0.0003421 0.0003421 0.0003421 0.04% MLMG::MLResNormInf() 11 0.000329 0.000329 0.000329 0.04% Castro::buildMetrics() 1 0.0003017 0.0003017 0.0003017 0.03% MLMG::MLRhsNormInf() 11 0.0002354 0.0002354 0.0002354 0.03% MLLinOp::define() 11 0.0002255 0.0002255 0.0002255 0.02% MLLinOp::defineGrids() 11 0.0002146 0.0002146 0.0002146 0.02% Castro::create_source_corrector() 10 0.0001909 0.0001909 0.0001909 0.02% FabArrayBase::FB::FB() 56 0.0001008 0.0001008 0.0001008 0.01% Castro::enforce_consistent_e() 1 6.93e-05 6.93e-05 6.93e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.156e-05 6.156e-05 6.156e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.195e-05 5.195e-05 5.195e-05 0.01% StateData::define() 4 4.331e-05 4.331e-05 4.331e-05 0.00% makeSFC 55 3.908e-05 3.908e-05 3.908e-05 0.00% Castro::swap_state_time_levels() 10 3.849e-05 3.849e-05 3.849e-05 0.00% Amr::writeSmallPlotFile() 1 3.42e-05 3.42e-05 3.42e-05 0.00% Castro::initMFs() 1 3.245e-05 3.245e-05 3.245e-05 0.00% DistributionMapping::Distribute() 56 1.616e-05 1.616e-05 1.616e-05 0.00% Amr::initSubcycle() 1 1.061e-05 1.061e-05 1.061e-05 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.808e-06 4.808e-06 4.808e-06 0.00% Castro::retry_advance_ctu() 10 4.731e-06 4.731e-06 4.731e-06 0.00% AmrLevel::checkPointPost() 3 4.519e-06 4.519e-06 4.519e-06 0.00% Gravity::set_mass_offset() 11 3.834e-06 3.834e-06 3.834e-06 0.00% Castro::FluxRegCrseInit 10 3.005e-06 3.005e-06 3.005e-06 0.00% Castro::FluxRegFineAdd() 10 2.844e-06 2.844e-06 2.844e-06 0.00% AmrLevel::checkPointPre() 3 2.267e-06 2.267e-06 2.267e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.852e-06 1.852e-06 1.852e-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 5767 KiB 9037 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1031 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1547 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7621 KiB 14 MiB MLMG::prepareForSolve() 660 660 3705 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 210 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 171 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7512 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2228 B 2048 KiB Gravity::solve_for_phi() 80 80 585 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 103 KiB 2048 KiB BndryData::define() 1056 1056 338 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 215 KiB 671 KiB Castro::estTimeStep() 21 21 3143 B 480 KiB VisMF::Write(FabArray) 656 656 3418 B 320 KiB Castro::normalize_species() 62 62 7481 B 320 KiB amrex::average_down 1067 1067 1626 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1189 B 257 KiB amrex::Dot() 1360 1360 3569 B 160 KiB FabArray::norminf() 1143 1143 3463 B 160 KiB check_for_negative_density() 10 10 332 B 160 KiB Castro::initData() 1 1 52 B 160 KiB MultiFab::max() 11 11 58 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3619 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 300 B 9648 B MLCellLinOp::applyBC() 8702 8702 232 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3932 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 381 B 1248 B MLCGSolver::bicgstab 410 410 106 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 589 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 41 KiB 8192 KiB VisMF::Write(FabArray) 744 744 426 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3619 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 300 B 9648 B MLCellLinOp::applyBC() 4351 4351 230 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3932 B 6144 B Gravity::get_new_grav_vector() 3 3 2886 B 3072 B StateData::FillBoundary(geom) 1992 1992 39 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 308 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 27 B 400 B FabArray::norminf() 1143 1143 11 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 (v2024-30-g6e18c4232a10) finalized Initializing AMReX (v2024-30-g6e18c4232a10)... Initializing CUDA... CUDA initialized with 1 device. AMReX (v2024-30-g6e18c4232a10) initialized Starting run at 09:21:01 UTC on 2024-03-22. Successfully read inputs file ... Castro git describe: 24.03-26-g5707c0c2f AMReX git describe: v2024-30-g6e18c4232 Microphysics git describe: 24.03-21-g81de2adb reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.523421497 Restart time = 0.073001627 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.070579618 [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.048442494 [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.076233425 [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.077895697 [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.063281307 [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.108734737 seconds Ending run at 09:21:02 UTC on 2024-03-22. Run time = 0.519300557 Run time without initialization = 0.445615226 Average number of zones advanced per microsecond: 2.941 Average number of zones advanced per microsecond per rank: 2.941 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.5193 ... 0.5193 ... 0.5193 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1410 0.1410 0.1410 27.14% Amr::writePlotFile() 1 0.08213 0.08213 0.08213 15.82% VisMF::Read() 3 0.06171 0.06171 0.06171 11.88% MLCellLinOp::applyBC() 1910 0.03581 0.03581 0.03581 6.90% VisMF::Write(FabArray) 1 0.02642 0.02642 0.02642 5.09% MLPoisson::Fsmooth() 1440 0.01498 0.01498 0.01498 2.88% FillBoundary_nowait() 1730 0.01316 0.01316 0.01316 2.53% StateData::FillBoundary(geom) 160 0.01279 0.01279 0.01279 2.46% amrex::Dot() 484 0.009318 0.009318 0.009318 1.79% Castro::normalize_species() 30 0.008793 0.008793 0.008793 1.69% FabArray::norminf() 465 0.008754 0.008754 0.008754 1.69% Castro::computeTemp() 30 0.007823 0.007823 0.007823 1.51% FabArray::setVal() 501 0.006679 0.006679 0.006679 1.29% FabArray::ParallelCopy_nowait() 380 0.006263 0.006263 0.006263 1.21% Castro::enforce_min_density() 30 0.006019 0.006019 0.006019 1.16% FabArray::Saxpy() 597 0.005907 0.005907 0.005907 1.14% MLCellLinOp::defineAuxData() 6 0.005616 0.005616 0.005616 1.08% amrex::Copy() 221 0.005514 0.005514 0.005514 1.06% StateDataPhysBCFunct::() 20 0.005059 0.005059 0.005059 0.97% Gravity::fill_multipole_BCs() 6 0.004928 0.004928 0.004928 0.95% Amr::restart() 1 0.004879 0.004879 0.004879 0.94% MLPoisson::Fapply() 464 0.004531 0.004531 0.004531 0.87% Castro::reset_internal_energy(MultiFab) 30 0.003677 0.003677 0.003677 0.71% FabArray::Xpay() 325 0.003525 0.003525 0.003525 0.68% MLMG::addInterpCorrection() 180 0.003123 0.003123 0.003123 0.60% amrex::average_down 180 0.002777 0.002777 0.002777 0.53% Castro::estTimeStep() 10 0.002725 0.002725 0.002725 0.52% Castro::enforce_speed_limit() 30 0.002244 0.002244 0.002244 0.43% BndryData::define() 6 0.002239 0.002239 0.002239 0.43% Castro::construct_new_gravity_source() 5 0.001848 0.001848 0.001848 0.36% amrex::Add() 36 0.001554 0.001554 0.001554 0.30% Castro::construct_old_gravity_source() 5 0.001536 0.001536 0.001536 0.30% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009822 0.0009822 0.0009822 0.19% check_for_negative_density() 5 0.0009322 0.0009322 0.0009322 0.18% MLCellLinOp::setLevelBC() 6 0.0008835 0.0008835 0.0008835 0.17% Gravity::actual_solve_with_mlmg() 6 0.000829 0.000829 0.000829 0.16% Castro::reset_internal_energy(Fab) 240 0.0008225 0.0008225 0.0008225 0.16% MLCellLinOp::prepareForSolve() 6 0.0007719 0.0007719 0.0007719 0.15% MLCGSolver::bicgstab 36 0.0007255 0.0007255 0.0007255 0.14% FabArray::setDomainBndry() 20 0.0007039 0.0007039 0.0007039 0.14% FabArray::mult() 22 0.000703 0.000703 0.000703 0.14% MultiFab::contains_nan() 10 0.0006587 0.0006587 0.0006587 0.13% MLCellLinOp::compGrad() 6 0.0006102 0.0006102 0.0006102 0.12% MLMG::prepareForSolve() 6 0.0005457 0.0005457 0.0005457 0.11% MLCellLinOp::smooth() 720 0.0005123 0.0005123 0.0005123 0.10% Amr::InitAmr() 1 0.0004959 0.0004959 0.0004959 0.10% FabArrayBase::CPC::define() 244 0.0004174 0.0004174 0.0004174 0.08% FabArrayBase::getCPC() 632 0.0003674 0.0003674 0.0003674 0.07% FabArray::FillBoundary() 1730 0.0003523 0.0003523 0.0003523 0.07% Gravity::get_old_grav_vector() 5 0.0003253 0.0003253 0.0003253 0.06% main() 1 0.0003061 0.0003061 0.0003061 0.06% Gravity::get_new_grav_vector() 5 0.0002625 0.0002625 0.0002625 0.05% FabArrayBase::getFB() 1730 0.0002574 0.0002574 0.0002574 0.05% MultiFab::max() 6 0.0002065 0.0002065 0.0002065 0.04% AmrLevel::FillPatch() 20 0.0002023 0.0002023 0.0002023 0.04% MLCellLinOp::apply() 464 0.0001919 0.0001919 0.0001919 0.04% Amr::coarseTimeStep() 5 0.0001558 0.0001558 0.0001558 0.03% MLCellLinOp::defineBC() 6 0.0001537 0.0001537 0.0001537 0.03% MLCGSolver::ParallelAllReduce 798 0.0001458 0.0001458 0.0001458 0.03% FillPatchIterator::Initialize 20 0.0001247 0.0001247 0.0001247 0.02% Castro::create_source_corrector() 5 0.0001138 0.0001138 0.0001138 0.02% FabArray::ParallelCopy() 380 0.0001104 0.0001104 0.0001104 0.02% MLMG::mgVcycle() 36 0.0001003 0.0001003 0.0001003 0.02% MLLinOp::defineGrids() 6 9.882e-05 9.882e-05 9.882e-05 0.02% Castro::finalize_do_advance() 5 9.609e-05 9.609e-05 9.609e-05 0.02% Castro::subcycle_advance_ctu() 5 9.453e-05 9.453e-05 9.453e-05 0.02% Amr::timeStep() 5 8.498e-05 8.498e-05 8.498e-05 0.02% AmrLevel::restart() 1 7.852e-05 7.852e-05 7.852e-05 0.02% MLCellLinOp::correctionResidual() 180 7.453e-05 7.453e-05 7.453e-05 0.01% Castro::initialize_do_advance() 5 7.064e-05 7.064e-05 7.064e-05 0.01% StateData::restartDoit() 4 6.879e-05 6.879e-05 6.879e-05 0.01% Gravity::update_max_rhs() 6 6.535e-05 6.535e-05 6.535e-05 0.01% Castro::advance() 5 6.286e-05 6.286e-05 6.286e-05 0.01% FabArrayBase::FB::FB() 26 5.818e-05 5.818e-05 5.818e-05 0.01% MLMG:computeResOfCorrection() 180 5.341e-05 5.341e-05 5.341e-05 0.01% Gravity::solve_for_phi() 5 5.073e-05 5.073e-05 5.073e-05 0.01% Castro::do_advance_ctu() 5 4.543e-05 4.543e-05 4.543e-05 0.01% Castro::construct_new_source() 25 4.491e-05 4.491e-05 4.491e-05 0.01% MLMG::mgVcycle_down::0 36 4.332e-05 4.332e-05 4.332e-05 0.01% MLMG::solve() 6 3.938e-05 3.938e-05 3.938e-05 0.01% MLMG::actualBottomSolve() 36 3.74e-05 3.74e-05 3.74e-05 0.01% Castro::initialize_advance() 5 3.519e-05 3.519e-05 3.519e-05 0.01% MLMG::mgVcycle_down::1 36 3.402e-05 3.402e-05 3.402e-05 0.01% Castro::clean_state() 30 3.288e-05 3.288e-05 3.288e-05 0.01% MLMG::mgVcycle_down::2 36 3.138e-05 3.138e-05 3.138e-05 0.01% Castro::post_timestep() 5 3.115e-05 3.115e-05 3.115e-05 0.01% Amr::writeSmallPlotFile() 1 3.086e-05 3.086e-05 3.086e-05 0.01% Castro::do_new_sources() 5 3.085e-05 3.085e-05 3.085e-05 0.01% MLMG::mgVcycle_down::4 36 3.027e-05 3.027e-05 3.027e-05 0.01% Castro::finalize_advance() 5 3.014e-05 3.014e-05 3.014e-05 0.01% Castro::post_restart() 1 2.912e-05 2.912e-05 2.912e-05 0.01% Castro::construct_old_source() 25 2.891e-05 2.891e-05 2.891e-05 0.01% MLMG::mgVcycle_down::3 36 2.869e-05 2.869e-05 2.869e-05 0.01% MLMG::mgVcycle_up::4 36 2.828e-05 2.828e-05 2.828e-05 0.01% Castro::buildMetrics() 1 2.826e-05 2.826e-05 2.826e-05 0.01% Castro::initMFs() 1 2.526e-05 2.526e-05 2.526e-05 0.00% Castro::swap_state_time_levels() 5 2.432e-05 2.432e-05 2.432e-05 0.00% MLMG::oneIter() 36 2.403e-05 2.403e-05 2.403e-05 0.00% MLMG::mgVcycle_up::3 36 2.29e-05 2.29e-05 2.29e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.257e-05 2.257e-05 2.257e-05 0.00% MLMG::mgVcycle_up::0 36 2.23e-05 2.23e-05 2.23e-05 0.00% MLCellLinOp::solutionResidual() 42 2.223e-05 2.223e-05 2.223e-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.111e-05 2.111e-05 2.111e-05 0.00% MLPoisson::define() 6 2.02e-05 2.02e-05 2.02e-05 0.00% MLMG::ResNormInf() 42 1.718e-05 1.718e-05 1.718e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.698e-05 1.698e-05 1.698e-05 0.00% FillPatchSingleLevel 20 1.575e-05 1.575e-05 1.575e-05 0.00% MLMG::mgVcycle_bottom 36 1.465e-05 1.465e-05 1.465e-05 0.00% makeSFC 30 1.445e-05 1.445e-05 1.445e-05 0.00% MLMG::computeResidual() 36 1.419e-05 1.419e-05 1.419e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.392e-05 1.392e-05 1.392e-05 0.00% Castro::construct_new_gravity() 5 1.311e-05 1.311e-05 1.311e-05 0.00% Castro::do_old_sources() 5 1.135e-05 1.135e-05 1.135e-05 0.00% Amr::initSubcycle() 1 1.054e-05 1.054e-05 1.054e-05 0.00% DistributionMapping::Distribute() 31 9.077e-06 9.077e-06 9.077e-06 0.00% MLPoisson::prepareForSolve() 6 8.407e-06 8.407e-06 8.407e-06 0.00% Gravity::actual_multilevel_solve() 1 8.022e-06 8.022e-06 8.022e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.316e-06 7.316e-06 7.316e-06 0.00% MLLinOp::define() 6 6.274e-06 6.274e-06 6.274e-06 0.00% Castro::apply_source_to_state() 10 5.99e-06 5.99e-06 5.99e-06 0.00% Castro::check_for_nan() 10 5.689e-06 5.689e-06 5.689e-06 0.00% Castro::construct_old_gravity() 5 5.341e-06 5.341e-06 5.341e-06 0.00% MLMG::computeMLResidual() 6 4.478e-06 4.478e-06 4.478e-06 0.00% Gravity::swapTimeLevels() 5 4.163e-06 4.163e-06 4.163e-06 0.00% Amr::init() 1 4.044e-06 4.044e-06 4.044e-06 0.00% Castro::computeNewDt() 5 3.802e-06 3.802e-06 3.802e-06 0.00% MLMG::getGradSolution() 6 3.278e-06 3.278e-06 3.278e-06 0.00% Castro::expand_state() 5 3.209e-06 3.209e-06 3.209e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.128e-06 3.128e-06 3.128e-06 0.00% MLMG::MLResNormInf() 6 2.436e-06 2.436e-06 2.436e-06 0.00% Gravity::set_mass_offset() 6 2.38e-06 2.38e-06 2.38e-06 0.00% MLMG::MLRhsNormInf() 6 2.136e-06 2.136e-06 2.136e-06 0.00% Castro::retry_advance_ctu() 5 2.064e-06 2.064e-06 2.064e-06 0.00% Castro::FluxRegCrseInit 5 1.541e-06 1.541e-06 1.541e-06 0.00% Castro::FluxRegFineAdd() 5 1.375e-06 1.375e-06 1.375e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.005e-06 1.005e-06 1.005e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.5193 0.5193 0.5193 100.00% Amr::coarseTimeStep() 5 0.3366 0.3366 0.3366 64.81% Amr::timeStep() 5 0.3347 0.3347 0.3347 64.44% Castro::advance() 5 0.329 0.329 0.329 63.36% Castro::subcycle_advance_ctu() 5 0.3214 0.3214 0.3214 61.88% Castro::do_advance_ctu() 5 0.3213 0.3213 0.3213 61.87% Castro::construct_ctu_hydro_source() 5 0.1475 0.1475 0.1475 28.41% Castro::construct_new_gravity() 5 0.1364 0.1364 0.1364 26.27% Gravity::solve_phi_with_mlmg() 6 0.1337 0.1337 0.1337 25.74% Gravity::actual_solve_with_mlmg() 6 0.1285 0.1285 0.1285 24.74% Gravity::solve_for_phi() 5 0.1284 0.1284 0.1284 24.73% MLMG::solve() 6 0.1164 0.1164 0.1164 22.40% Amr::writePlotFile() 1 0.1088 0.1088 0.1088 20.96% MLMG::oneIter() 36 0.1086 0.1086 0.1086 20.91% MLMG::mgVcycle() 36 0.107 0.107 0.107 20.61% Amr::init() 1 0.07305 0.07305 0.07305 14.07% Amr::restart() 1 0.07305 0.07305 0.07305 14.07% AmrLevel::restart() 1 0.06211 0.06211 0.06211 11.96% StateData::restartDoit() 4 0.06203 0.06203 0.06203 11.94% VisMF::Read() 3 0.06171 0.06171 0.06171 11.88% MLCellLinOp::smooth() 720 0.05344 0.05344 0.05344 10.29% MLCellLinOp::applyBC() 1910 0.04964 0.04964 0.04964 9.56% MLMG::mgVcycle_bottom 36 0.03189 0.03189 0.03189 6.14% MLMG::actualBottomSolve() 36 0.03187 0.03187 0.03187 6.14% MLCGSolver::bicgstab 36 0.03151 0.03151 0.03151 6.07% Castro::clean_state() 30 0.02941 0.02941 0.02941 5.66% VisMF::Write(FabArray) 1 0.02642 0.02642 0.02642 5.09% AmrLevel::FillPatch() 20 0.02287 0.02287 0.02287 4.40% FillPatchIterator::Initialize 20 0.02075 0.02075 0.02075 4.00% FillPatchIterator::FillFromLevel0() 20 0.01993 0.01993 0.01993 3.84% FillPatchSingleLevel 20 0.0199 0.0199 0.0199 3.83% StateDataPhysBCFunct::() 20 0.01784 0.01784 0.01784 3.44% MLCellLinOp::apply() 464 0.01613 0.01613 0.01613 3.11% MLMG::mgVcycle_down::0 36 0.01523 0.01523 0.01523 2.93% MLPoisson::Fsmooth() 1440 0.01498 0.01498 0.01498 2.88% FabArray::FillBoundary() 1730 0.01383 0.01383 0.01383 2.66% FillBoundary_nowait() 1730 0.01347 0.01347 0.01347 2.59% StateData::FillBoundary(geom) 160 0.01279 0.01279 0.01279 2.46% Castro::computeTemp() 30 0.01232 0.01232 0.01232 2.37% Castro::initialize_do_advance() 5 0.01155 0.01155 0.01155 2.22% MLMG::mgVcycle_up::0 36 0.0114 0.0114 0.0114 2.20% Castro::do_old_sources() 5 0.009614 0.009614 0.009614 1.85% MLPoisson::define() 6 0.00954 0.00954 0.00954 1.84% amrex::Dot() 484 0.009318 0.009318 0.009318 1.79% MLMG:computeResOfCorrection() 180 0.008986 0.008986 0.008986 1.73% MLCellLinOp::correctionResidual() 180 0.008933 0.008933 0.008933 1.72% Castro::normalize_species() 30 0.008793 0.008793 0.008793 1.69% FabArray::norminf() 465 0.008754 0.008754 0.008754 1.69% Gravity::get_new_grav_vector() 5 0.007847 0.007847 0.007847 1.51% Castro::construct_old_gravity() 5 0.007684 0.007684 0.007684 1.48% Gravity::get_old_grav_vector() 5 0.007678 0.007678 0.007678 1.48% MLMG::mgVcycle_down::1 36 0.007436 0.007436 0.007436 1.43% Castro::initialize_advance() 5 0.007283 0.007283 0.007283 1.40% Castro::do_new_sources() 5 0.006904 0.006904 0.006904 1.33% MLMG::mgVcycle_down::2 36 0.006838 0.006838 0.006838 1.32% FabArray::ParallelCopy() 380 0.006764 0.006764 0.006764 1.30% FabArray::setVal() 501 0.006679 0.006679 0.006679 1.29% MLMG::mgVcycle_down::3 36 0.006674 0.006674 0.006674 1.29% FabArray::ParallelCopy_nowait() 380 0.006654 0.006654 0.006654 1.28% MLMG::mgVcycle_down::4 36 0.006586 0.006586 0.006586 1.27% MLCellLinOp::defineAuxData() 6 0.006404 0.006404 0.006404 1.23% Castro::expand_state() 5 0.006044 0.006044 0.006044 1.16% Castro::enforce_min_density() 30 0.006019 0.006019 0.006019 1.16% FabArray::Saxpy() 597 0.005907 0.005907 0.005907 1.14% Castro::post_restart() 1 0.005869 0.005869 0.005869 1.13% MLCGSolver::ParallelAllReduce 798 0.005659 0.005659 0.005659 1.09% Castro::post_timestep() 5 0.005549 0.005549 0.005549 1.07% amrex::Copy() 221 0.005514 0.005514 0.005514 1.06% Gravity::multilevel_solve_for_new_phi() 1 0.00549 0.00549 0.00549 1.06% Gravity::actual_multilevel_solve() 1 0.005473 0.005473 0.005473 1.05% MLMG::addInterpCorrection() 180 0.005472 0.005472 0.005472 1.05% MLMG::mgVcycle_up::4 36 0.005298 0.005298 0.005298 1.02% MLMG::mgVcycle_up::1 36 0.005295 0.005295 0.005295 1.02% MLMG::mgVcycle_up::2 36 0.005196 0.005196 0.005196 1.00% amrex::average_down 180 0.005148 0.005148 0.005148 0.99% MLMG::mgVcycle_up::3 36 0.005089 0.005089 0.005089 0.98% Gravity::fill_multipole_BCs() 6 0.005054 0.005054 0.005054 0.97% MLPoisson::Fapply() 464 0.004531 0.004531 0.004531 0.87% Castro::reset_internal_energy(MultiFab) 30 0.004499 0.004499 0.004499 0.87% MLCellLinOp::solutionResidual() 42 0.003645 0.003645 0.003645 0.70% FabArray::Xpay() 325 0.003525 0.003525 0.003525 0.68% MLCellLinOp::defineBC() 6 0.00298 0.00298 0.00298 0.57% MLMG::prepareForSolve() 6 0.002909 0.002909 0.002909 0.56% MLMG::computeResidual() 36 0.00285 0.00285 0.00285 0.55% BndryData::define() 6 0.002826 0.002826 0.002826 0.54% Castro::estTimeStep() 10 0.002725 0.002725 0.002725 0.52% Castro::enforce_speed_limit() 30 0.002244 0.002244 0.002244 0.43% Castro::construct_new_source() 25 0.001893 0.001893 0.001893 0.36% Castro::construct_new_gravity_source() 5 0.001848 0.001848 0.001848 0.36% Castro::computeNewDt() 5 0.001753 0.001753 0.001753 0.34% Castro::construct_old_source() 25 0.001565 0.001565 0.001565 0.30% amrex::Add() 36 0.001554 0.001554 0.001554 0.30% Castro::construct_old_gravity_source() 5 0.001536 0.001536 0.001536 0.30% Castro::finalize_do_advance() 5 0.001071 0.001071 0.001071 0.21% MLMG::ResNormInf() 42 0.001006 0.001006 0.001006 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009822 0.0009822 0.0009822 0.19% Castro::apply_source_to_state() 10 0.0009633 0.0009633 0.0009633 0.19% check_for_negative_density() 5 0.0009322 0.0009322 0.0009322 0.18% MLMG::getGradSolution() 6 0.0009018 0.0009018 0.0009018 0.17% MLCellLinOp::compGrad() 6 0.0008985 0.0008985 0.0008985 0.17% MLCellLinOp::setLevelBC() 6 0.0008835 0.0008835 0.0008835 0.17% Castro::reset_internal_energy(Fab) 240 0.0008225 0.0008225 0.0008225 0.16% MLMG::computeMLResidual() 6 0.0008138 0.0008138 0.0008138 0.16% FabArrayBase::getCPC() 632 0.0007848 0.0007848 0.0007848 0.15% MLPoisson::prepareForSolve() 6 0.0007803 0.0007803 0.0007803 0.15% MLCellLinOp::prepareForSolve() 6 0.0007719 0.0007719 0.0007719 0.15% Gravity::update_max_rhs() 6 0.0007237 0.0007237 0.0007237 0.14% FabArray::setDomainBndry() 20 0.0007039 0.0007039 0.0007039 0.14% FabArray::mult() 22 0.000703 0.000703 0.000703 0.14% Castro::check_for_nan() 10 0.0006644 0.0006644 0.0006644 0.13% MultiFab::contains_nan() 10 0.0006587 0.0006587 0.0006587 0.13% Amr::InitAmr() 1 0.0005064 0.0005064 0.0005064 0.10% FabArrayBase::CPC::define() 244 0.0004174 0.0004174 0.0004174 0.08% FabArrayBase::getFB() 1730 0.0003156 0.0003156 0.0003156 0.06% Castro::finalize_advance() 5 0.0003048 0.0003048 0.0003048 0.06% Gravity::swapTimeLevels() 5 0.0002478 0.0002478 0.0002478 0.05% MultiFab::max() 6 0.0002065 0.0002065 0.0002065 0.04% MLMG::MLResNormInf() 6 0.0002014 0.0002014 0.0002014 0.04% Castro::buildMetrics() 1 0.000163 0.000163 0.000163 0.03% MLLinOp::define() 6 0.0001356 0.0001356 0.0001356 0.03% MLLinOp::defineGrids() 6 0.0001293 0.0001293 0.0001293 0.02% MLMG::MLRhsNormInf() 6 0.0001237 0.0001237 0.0001237 0.02% Castro::create_source_corrector() 5 0.0001138 0.0001138 0.0001138 0.02% FabArrayBase::FB::FB() 26 5.818e-05 5.818e-05 5.818e-05 0.01% Amr::writeSmallPlotFile() 1 3.086e-05 3.086e-05 3.086e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.948e-05 2.948e-05 2.948e-05 0.01% Castro::initMFs() 1 2.526e-05 2.526e-05 2.526e-05 0.00% Castro::swap_state_time_levels() 5 2.432e-05 2.432e-05 2.432e-05 0.00% makeSFC 30 2.216e-05 2.216e-05 2.216e-05 0.00% Amr::initSubcycle() 1 1.054e-05 1.054e-05 1.054e-05 0.00% DistributionMapping::Distribute() 31 9.077e-06 9.077e-06 9.077e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.495e-06 4.495e-06 4.495e-06 0.00% Gravity::set_mass_offset() 6 2.38e-06 2.38e-06 2.38e-06 0.00% Castro::retry_advance_ctu() 5 2.064e-06 2.064e-06 2.064e-06 0.00% Castro::FluxRegCrseInit 5 1.541e-06 1.541e-06 1.541e-06 0.00% Castro::FluxRegFineAdd() 5 1.375e-06 1.375e-06 1.375e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.005e-06 1.005e-06 1.005e-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 9 MiB 9037 MiB Castro::initMFs() 48 48 59 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 877 KiB 39 MiB Castro::initialize_do_advance() 40 40 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1503 KiB 28 MiB Castro::initialize_advance() 40 40 14 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6590 KiB 14 MiB MLMG::prepareForSolve() 361 361 2750 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 153 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 154 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6579 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 15 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2770 B 2048 KiB Gravity::solve_for_phi() 40 40 505 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 21 KiB 2048 KiB BndryData::define() 576 576 253 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 163 KiB 671 KiB Castro::estTimeStep() 10 10 2473 B 480 KiB VisMF::Write(FabArray) 112 112 1105 B 320 KiB Castro::normalize_species() 30 30 5511 B 320 KiB amrex::average_down 469 469 1261 B 257 KiB MLMG::addInterpCorrection() 468 468 906 B 257 KiB amrex::Dot() 592 592 2641 B 160 KiB FabArray::norminf() 501 501 2603 B 160 KiB check_for_negative_density() 5 5 288 B 160 KiB MultiFab::max() 6 6 62 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 25 B 20 KiB MLPoisson::Fsmooth() 60 60 2664 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 38 B 10 KiB FillBoundary_nowait() 336 336 220 B 9648 B MLCellLinOp::applyBC() 3820 3820 172 B 9344 B amrex::Copy() 56 56 5820 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 33 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 285 B 1248 B MLCGSolver::bicgstab 180 180 73 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1036 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 70 KiB 8192 KiB VisMF::Write(FabArray) 120 120 142 KiB 3584 KiB VisMF::Read() 24 24 181 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 2664 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 38 B 10 KiB FillBoundary_nowait() 336 336 220 B 9648 B MLCellLinOp::applyBC() 1910 1910 171 B 9328 B amrex::Copy() 56 56 5820 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2599 B 3072 B StateData::FillBoundary(geom) 960 960 33 B 3024 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B MLMG::prepareForSolve() 7 7 765 B 1648 B amrex::average_down 37 37 484 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 19 B 400 B FabArray::norminf() 501 501 7 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 (v2024-30-g6e18c4232a10) finalized