Initializing AMReX (24.01-10-g9b799efb04e0)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-10-g9b799efb04e0) initialized Starting run at 09:37:12 UTC on 2024-01-18. Successfully read inputs file ... Castro git describe: 24.01-11-g44d0e551d AMReX git describe: 24.01-10-g9b799efb0 Microphysics git describe: 24.01-9-ga4d7ab4d 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.043596448 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.023949427 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.065579234 [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.070493607 [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.073987778 [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.070316047 [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.057489244 [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.088300174 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.049727365 [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.069384816 [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.071391084 [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.064647776 [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.063372386 [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.041164838 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.023837465 seconds Ending run at 09:37:13 UTC on 2024-01-18. Run time = 0.929487176 Run time without initialization = 0.810399469 Average number of zones advanced per microsecond: 3.235 Average number of zones advanced per microsecond per rank: 3.235 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9295 ... 0.9295 ... 0.9295 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2847 0.2847 0.2847 30.63% VisMF::Write(FabArray) 11 0.1677 0.1677 0.1677 18.04% MLCellLinOp::applyBC() 4298 0.07886 0.07886 0.07886 8.48% Amr::checkPoint() 3 0.05055 0.05055 0.05055 5.44% MLPoisson::Fsmooth() 3240 0.03289 0.03289 0.03289 3.54% FillBoundary_nowait() 3893 0.03051 0.03051 0.03051 3.28% StateData::FillBoundary(geom) 328 0.02581 0.02581 0.02581 2.78% amrex::Dot() 1100 0.02079 0.02079 0.02079 2.24% FabArray::norminf() 1048 0.01936 0.01936 0.01936 2.08% Castro::normalize_species() 62 0.01845 0.01845 0.01845 1.99% Castro::computeTemp() 63 0.01435 0.01435 0.01435 1.54% FabArray::ParallelCopy_nowait() 851 0.01305 0.01305 0.01305 1.40% FabArray::setVal() 1054 0.01291 0.01291 0.01291 1.39% FabArray::Saxpy() 1353 0.01274 0.01274 0.01274 1.37% StateDataPhysBCFunct::() 41 0.01255 0.01255 0.01255 1.35% Castro::enforce_min_density() 62 0.01221 0.01221 0.01221 1.31% amrex::Copy() 469 0.01063 0.01063 0.01063 1.14% MLCellLinOp::defineAuxData() 11 0.01028 0.01028 0.01028 1.11% MLPoisson::Fapply() 1047 0.009944 0.009944 0.009944 1.07% Gravity::fill_multipole_BCs() 11 0.009404 0.009404 0.009404 1.01% FabArray::Xpay() 730 0.007567 0.007567 0.007567 0.81% MLMG::addInterpCorrection() 405 0.006842 0.006842 0.006842 0.74% amrex::average_down 405 0.006102 0.006102 0.006102 0.66% Castro::estTimeStep() 21 0.00584 0.00584 0.00584 0.63% Castro::reset_internal_energy(MultiFab) 63 0.005519 0.005519 0.005519 0.59% BndryData::define() 11 0.003768 0.003768 0.003768 0.41% amrex::Add() 81 0.003531 0.003531 0.003531 0.38% Castro::construct_new_gravity_source() 10 0.003459 0.003459 0.003459 0.37% Castro::construct_old_gravity_source() 10 0.002982 0.002982 0.002982 0.32% Castro::enforce_speed_limit() 62 0.002234 0.002234 0.002234 0.24% Amr::writePlotFile() 2 0.00209 0.00209 0.00209 0.22% check_for_negative_density() 10 0.001793 0.001793 0.001793 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001756 0.001756 0.001756 0.19% MLCGSolver::bicgstab 81 0.001694 0.001694 0.001694 0.18% Gravity::actual_solve_with_mlmg() 11 0.001641 0.001641 0.001641 0.18% MLCellLinOp::setLevelBC() 11 0.001556 0.001556 0.001556 0.17% Castro::reset_internal_energy(Fab) 504 0.001531 0.001531 0.001531 0.16% Castro::initData() 1 0.001501 0.001501 0.001501 0.16% FabArray::mult() 43 0.001359 0.001359 0.001359 0.15% MLCellLinOp::prepareForSolve() 11 0.001346 0.001346 0.001346 0.14% FabArray::setDomainBndry() 41 0.001323 0.001323 0.001323 0.14% MultiFab::contains_nan() 20 0.001276 0.001276 0.001276 0.14% MLCellLinOp::smooth() 1620 0.001213 0.001213 0.001213 0.13% MLCellLinOp::compGrad() 11 0.00105 0.00105 0.00105 0.11% MLMG::prepareForSolve() 11 0.001012 0.001012 0.001012 0.11% FabArray::FillBoundary() 3893 0.0008182 0.0008182 0.0008182 0.09% FabArrayBase::getCPC() 1313 0.0007944 0.0007944 0.0007944 0.09% FabArrayBase::CPC::define() 454 0.0006719 0.0006719 0.0006719 0.07% FabArrayBase::getFB() 3893 0.0006294 0.0006294 0.0006294 0.07% Gravity::get_new_grav_vector() 11 0.0005999 0.0005999 0.0005999 0.06% Amr::InitAmr() 1 0.0005625 0.0005625 0.0005625 0.06% Gravity::get_old_grav_vector() 10 0.0004816 0.0004816 0.0004816 0.05% MLCellLinOp::apply() 1047 0.0004251 0.0004251 0.0004251 0.05% AmrLevel::FillPatch() 41 0.000414 0.000414 0.000414 0.04% Amr::coarseTimeStep() 10 0.0003756 0.0003756 0.0003756 0.04% MLCGSolver::ParallelAllReduce 1809 0.000338 0.000338 0.000338 0.04% main() 1 0.0003244 0.0003244 0.0003244 0.03% MultiFab::max() 11 0.000324 0.000324 0.000324 0.03% MLCellLinOp::defineBC() 11 0.0002982 0.0002982 0.0002982 0.03% FabArray::ParallelCopy() 851 0.000249 0.000249 0.000249 0.03% FillPatchIterator::Initialize 41 0.0002227 0.0002227 0.0002227 0.02% MLMG::mgVcycle() 81 0.000201 0.000201 0.000201 0.02% Castro::create_source_corrector() 10 0.0001904 0.0001904 0.0001904 0.02% MLLinOp::defineGrids() 11 0.0001769 0.0001769 0.0001769 0.02% Amr::timeStep() 10 0.0001729 0.0001729 0.0001729 0.02% Castro::subcycle_advance_ctu() 10 0.0001726 0.0001726 0.0001726 0.02% MLCellLinOp::correctionResidual() 405 0.0001628 0.0001628 0.0001628 0.02% StateData::checkPoint() 12 0.0001591 0.0001591 0.0001591 0.02% AmrLevel::checkPoint() 3 0.0001399 0.0001399 0.0001399 0.02% Gravity::update_max_rhs() 11 0.0001334 0.0001334 0.0001334 0.01% Gravity::solve_for_phi() 10 0.0001273 0.0001273 0.0001273 0.01% MLMG:computeResOfCorrection() 405 0.0001126 0.0001126 0.0001126 0.01% FabArrayBase::FB::FB() 56 9.997e-05 9.997e-05 9.997e-05 0.01% MLMG::mgVcycle_down::0 81 9.848e-05 9.848e-05 9.848e-05 0.01% MLMG::actualBottomSolve() 81 9.09e-05 9.09e-05 9.09e-05 0.01% Castro::Castro() 1 8.67e-05 8.67e-05 8.67e-05 0.01% MLMG::mgVcycle_down::1 81 8.497e-05 8.497e-05 8.497e-05 0.01% MLMG::mgVcycle_down::2 81 8.274e-05 8.274e-05 8.274e-05 0.01% Castro::initialize_advance() 10 7.987e-05 7.987e-05 7.987e-05 0.01% MLMG::mgVcycle_down::4 81 7.767e-05 7.767e-05 7.767e-05 0.01% Castro::clean_state() 62 7.672e-05 7.672e-05 7.672e-05 0.01% MLMG::solve() 11 7.574e-05 7.574e-05 7.574e-05 0.01% MLMG::mgVcycle_down::3 81 7.55e-05 7.55e-05 7.55e-05 0.01% Castro::enforce_consistent_e() 1 6.904e-05 6.904e-05 6.904e-05 0.01% Castro::advance() 10 6.622e-05 6.622e-05 6.622e-05 0.01% MLMG::mgVcycle_up::4 81 6.201e-05 6.201e-05 6.201e-05 0.01% Castro::finalize_advance() 10 6.074e-05 6.074e-05 6.074e-05 0.01% Castro::initialize_do_advance() 10 6.036e-05 6.036e-05 6.036e-05 0.01% Castro::post_timestep() 10 5.963e-05 5.963e-05 5.963e-05 0.01% MLMG::mgVcycle_up::0 81 5.583e-05 5.583e-05 5.583e-05 0.01% MLMG::oneIter() 81 5.419e-05 5.419e-05 5.419e-05 0.01% Castro::do_advance_ctu() 10 5.312e-05 5.312e-05 5.312e-05 0.01% MLMG::mgVcycle_up::3 81 5.112e-05 5.112e-05 5.112e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.909e-05 4.909e-05 4.909e-05 0.01% MLMG::mgVcycle_up::1 81 4.903e-05 4.903e-05 4.903e-05 0.01% MLCellLinOp::solutionResidual() 92 4.843e-05 4.843e-05 4.843e-05 0.01% MLMG::mgVcycle_up::2 81 4.835e-05 4.835e-05 4.835e-05 0.01% Castro::construct_new_source() 50 4.422e-05 4.422e-05 4.422e-05 0.00% Castro::finalize_do_advance() 10 4.372e-05 4.372e-05 4.372e-05 0.00% MLMG::ResNormInf() 92 4.163e-05 4.163e-05 4.163e-05 0.00% Castro::swap_state_time_levels() 10 3.849e-05 3.849e-05 3.849e-05 0.00% StateData::define() 4 3.811e-05 3.811e-05 3.811e-05 0.00% Amr::writeSmallPlotFile() 1 3.635e-05 3.635e-05 3.635e-05 0.00% Castro::construct_new_gravity() 10 3.624e-05 3.624e-05 3.624e-05 0.00% FillPatchSingleLevel 41 3.462e-05 3.462e-05 3.462e-05 0.00% MLMG::mgVcycle_bottom 81 3.39e-05 3.39e-05 3.39e-05 0.00% MLMG::computeResidual() 81 3.286e-05 3.286e-05 3.286e-05 0.00% Castro::initMFs() 1 2.787e-05 2.787e-05 2.787e-05 0.00% makeSFC 55 2.608e-05 2.608e-05 2.608e-05 0.00% MLPoisson::define() 11 2.603e-05 2.603e-05 2.603e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.509e-05 2.509e-05 2.509e-05 0.00% DistributionMapping::Distribute() 56 2.375e-05 2.375e-05 2.375e-05 0.00% Amr::defBaseLevel() 1 2.327e-05 2.327e-05 2.327e-05 0.00% Castro::do_old_sources() 10 2.245e-05 2.245e-05 2.245e-05 0.00% Amr::FinalizeInit() 1 2.215e-05 2.215e-05 2.215e-05 0.00% Castro::buildMetrics() 1 2.175e-05 2.175e-05 2.175e-05 0.00% Castro::construct_old_source() 50 2.092e-05 2.092e-05 2.092e-05 0.00% MLMG::computeMLResidual() 11 1.803e-05 1.803e-05 1.803e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.767e-05 1.767e-05 1.767e-05 0.00% Castro::do_new_sources() 10 1.763e-05 1.763e-05 1.763e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.745e-05 1.745e-05 1.745e-05 0.00% MLPoisson::prepareForSolve() 11 1.503e-05 1.503e-05 1.503e-05 0.00% MLLinOp::define() 11 1.439e-05 1.439e-05 1.439e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.367e-05 1.367e-05 1.367e-05 0.00% Castro::check_for_nan() 20 1.308e-05 1.308e-05 1.308e-05 0.00% Castro::construct_old_gravity() 10 1.204e-05 1.204e-05 1.204e-05 0.00% Castro::apply_source_to_state() 20 1.144e-05 1.144e-05 1.144e-05 0.00% Castro::post_init() 1 1.009e-05 1.009e-05 1.009e-05 0.00% Gravity::swapTimeLevels() 10 9.198e-06 9.198e-06 9.198e-06 0.00% Amr::initSubcycle() 1 9.119e-06 9.119e-06 9.119e-06 0.00% Gravity::actual_multilevel_solve() 1 7.705e-06 7.705e-06 7.705e-06 0.00% Castro::expand_state() 10 6.763e-06 6.763e-06 6.763e-06 0.00% Castro::computeNewDt() 9 6.508e-06 6.508e-06 6.508e-06 0.00% MLMG::getGradSolution() 11 6.258e-06 6.258e-06 6.258e-06 0.00% AmrLevel::checkPointPost() 3 5.336e-06 5.336e-06 5.336e-06 0.00% Amr::InitializeInit() 1 4.826e-06 4.826e-06 4.826e-06 0.00% Castro::retry_advance_ctu() 10 4.475e-06 4.475e-06 4.475e-06 0.00% MLMG::MLRhsNormInf() 11 4.392e-06 4.392e-06 4.392e-06 0.00% MLMG::MLResNormInf() 11 4.188e-06 4.188e-06 4.188e-06 0.00% AmrLevel::checkPointPre() 3 4.101e-06 4.101e-06 4.101e-06 0.00% Gravity::set_mass_offset() 11 4.03e-06 4.03e-06 4.03e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.203e-06 3.203e-06 3.203e-06 0.00% Castro::FluxRegCrseInit 10 3.064e-06 3.064e-06 3.064e-06 0.00% Castro::computeInitialDt() 2 2.693e-06 2.693e-06 2.693e-06 0.00% Amr::init() 1 2.19e-06 2.19e-06 2.19e-06 0.00% Castro::FluxRegFineAdd() 10 2.188e-06 2.188e-06 2.188e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.003e-06 2.003e-06 2.003e-06 0.00% Castro::post_regrid() 1 1.305e-06 1.305e-06 1.305e-06 0.00% Amr::initialInit() 1 1.06e-06 1.06e-06 1.06e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9295 0.9295 0.9295 100.00% Amr::coarseTimeStep() 10 0.7863 0.7863 0.7863 84.59% Amr::timeStep() 10 0.653 0.653 0.653 70.25% Castro::advance() 10 0.642 0.642 0.642 69.07% Castro::subcycle_advance_ctu() 10 0.6282 0.6282 0.6282 67.58% Castro::do_advance_ctu() 10 0.628 0.628 0.628 67.57% Castro::construct_ctu_hydro_source() 10 0.2945 0.2945 0.2945 31.68% Gravity::solve_phi_with_mlmg() 11 0.2882 0.2882 0.2882 31.01% Gravity::actual_solve_with_mlmg() 11 0.2784 0.2784 0.2784 29.95% Castro::construct_new_gravity() 10 0.2631 0.2631 0.2631 28.30% MLMG::solve() 11 0.2566 0.2566 0.2566 27.60% Gravity::solve_for_phi() 10 0.2471 0.2471 0.2471 26.59% MLMG::oneIter() 81 0.2414 0.2414 0.2414 25.97% MLMG::mgVcycle() 81 0.2378 0.2378 0.2378 25.58% Amr::checkPoint() 3 0.1732 0.1732 0.1732 18.63% VisMF::Write(FabArray) 11 0.1677 0.1677 0.1677 18.04% AmrLevel::checkPoint() 3 0.1226 0.1226 0.1226 13.19% StateData::checkPoint() 12 0.1225 0.1225 0.1225 13.18% MLCellLinOp::smooth() 1620 0.1195 0.1195 0.1195 12.85% Amr::init() 1 0.1184 0.1184 0.1184 12.73% MLCellLinOp::applyBC() 4298 0.1109 0.1109 0.1109 11.93% MLMG::mgVcycle_bottom 81 0.07079 0.07079 0.07079 7.62% MLMG::actualBottomSolve() 81 0.07076 0.07076 0.07076 7.61% MLCGSolver::bicgstab 81 0.07004 0.07004 0.07004 7.53% Castro::clean_state() 62 0.05332 0.05332 0.05332 5.74% Amr::initialInit() 1 0.0507 0.0507 0.0507 5.45% AmrLevel::FillPatch() 41 0.04825 0.04825 0.04825 5.19% Amr::writePlotFile() 2 0.04792 0.04792 0.04792 5.16% Amr::FinalizeInit() 1 0.04557 0.04557 0.04557 4.90% Castro::post_init() 1 0.04406 0.04406 0.04406 4.74% FillPatchIterator::Initialize 41 0.044 0.044 0.044 4.73% FillPatchIterator::FillFromLevel0() 41 0.04246 0.04246 0.04246 4.57% FillPatchSingleLevel 41 0.04241 0.04241 0.04241 4.56% Gravity::multilevel_solve_for_new_phi() 1 0.04156 0.04156 0.04156 4.47% Gravity::actual_multilevel_solve() 1 0.04154 0.04154 0.04154 4.47% StateDataPhysBCFunct::() 41 0.03836 0.03836 0.03836 4.13% MLCellLinOp::apply() 1047 0.03542 0.03542 0.03542 3.81% MLMG::mgVcycle_down::0 81 0.03401 0.03401 0.03401 3.66% MLPoisson::Fsmooth() 3240 0.03289 0.03289 0.03289 3.54% FabArray::FillBoundary() 3893 0.03206 0.03206 0.03206 3.45% FillBoundary_nowait() 3893 0.03124 0.03124 0.03124 3.36% StateData::FillBoundary(geom) 328 0.02581 0.02581 0.02581 2.78% MLMG::mgVcycle_up::0 81 0.0257 0.0257 0.0257 2.76% Castro::initialize_do_advance() 10 0.022 0.022 0.022 2.37% Castro::computeTemp() 63 0.0214 0.0214 0.0214 2.30% amrex::Dot() 1100 0.02079 0.02079 0.02079 2.24% MLMG:computeResOfCorrection() 405 0.01994 0.01994 0.01994 2.15% MLCellLinOp::correctionResidual() 405 0.01983 0.01983 0.01983 2.13% FabArray::norminf() 1048 0.01936 0.01936 0.01936 2.08% Castro::do_old_sources() 10 0.01864 0.01864 0.01864 2.01% Castro::normalize_species() 62 0.01845 0.01845 0.01845 1.99% Gravity::get_new_grav_vector() 11 0.01803 0.01803 0.01803 1.94% MLPoisson::define() 11 0.01706 0.01706 0.01706 1.84% MLMG::mgVcycle_down::1 81 0.01632 0.01632 0.01632 1.76% MLMG::mgVcycle_down::2 81 0.01514 0.01514 0.01514 1.63% Castro::construct_old_gravity() 10 0.01511 0.01511 0.01511 1.63% Gravity::get_old_grav_vector() 10 0.0151 0.0151 0.0151 1.62% MLMG::mgVcycle_down::3 81 0.01475 0.01475 0.01475 1.59% MLMG::mgVcycle_down::4 81 0.01458 0.01458 0.01458 1.57% FabArray::ParallelCopy() 851 0.01408 0.01408 0.01408 1.52% FabArray::ParallelCopy_nowait() 851 0.01383 0.01383 0.01383 1.49% Castro::initialize_advance() 10 0.01317 0.01317 0.01317 1.42% FabArray::setVal() 1054 0.01291 0.01291 0.01291 1.39% FabArray::Saxpy() 1353 0.01274 0.01274 0.01274 1.37% MLCGSolver::ParallelAllReduce 1809 0.0125 0.0125 0.0125 1.34% Castro::expand_state() 10 0.01231 0.01231 0.01231 1.32% Castro::enforce_min_density() 62 0.01221 0.01221 0.01221 1.31% MLMG::addInterpCorrection() 405 0.01186 0.01186 0.01186 1.28% MLMG::mgVcycle_up::1 81 0.01179 0.01179 0.01179 1.27% MLCellLinOp::defineAuxData() 11 0.0117 0.0117 0.0117 1.26% MLMG::mgVcycle_up::4 81 0.01166 0.01166 0.01166 1.25% MLMG::mgVcycle_up::2 81 0.01159 0.01159 0.01159 1.25% Castro::do_new_sources() 10 0.01154 0.01154 0.01154 1.24% MLMG::mgVcycle_up::3 81 0.01125 0.01125 0.01125 1.21% amrex::average_down 405 0.01115 0.01115 0.01115 1.20% Castro::post_timestep() 10 0.01077 0.01077 0.01077 1.16% amrex::Copy() 469 0.01063 0.01063 0.01063 1.14% MLPoisson::Fapply() 1047 0.009944 0.009944 0.009944 1.07% Gravity::fill_multipole_BCs() 11 0.009644 0.009644 0.009644 1.04% FabArray::Xpay() 730 0.007567 0.007567 0.007567 0.81% MLCellLinOp::solutionResidual() 92 0.007497 0.007497 0.007497 0.81% Castro::reset_internal_energy(MultiFab) 63 0.00705 0.00705 0.00705 0.76% MLMG::computeResidual() 81 0.006194 0.006194 0.006194 0.67% Castro::estTimeStep() 21 0.00584 0.00584 0.00584 0.63% MLMG::prepareForSolve() 11 0.005208 0.005208 0.005208 0.56% Amr::InitializeInit() 1 0.005121 0.005121 0.005121 0.55% Amr::defBaseLevel() 1 0.005116 0.005116 0.005116 0.55% MLCellLinOp::defineBC() 11 0.005079 0.005079 0.005079 0.55% BndryData::define() 11 0.004781 0.004781 0.004781 0.51% Castro::initData() 1 0.004464 0.004464 0.004464 0.48% amrex::Add() 81 0.003531 0.003531 0.003531 0.38% Castro::construct_new_source() 50 0.003503 0.003503 0.003503 0.38% Castro::construct_new_gravity_source() 10 0.003459 0.003459 0.003459 0.37% Castro::construct_old_source() 50 0.003003 0.003003 0.003003 0.32% Castro::construct_old_gravity_source() 10 0.002982 0.002982 0.002982 0.32% Castro::computeNewDt() 9 0.002595 0.002595 0.002595 0.28% Castro::enforce_speed_limit() 62 0.002234 0.002234 0.002234 0.24% Castro::finalize_do_advance() 10 0.002198 0.002198 0.002198 0.24% MLMG::ResNormInf() 92 0.002145 0.002145 0.002145 0.23% Castro::apply_source_to_state() 20 0.001859 0.001859 0.001859 0.20% check_for_negative_density() 10 0.001793 0.001793 0.001793 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001756 0.001756 0.001756 0.19% MLCellLinOp::setLevelBC() 11 0.001556 0.001556 0.001556 0.17% MLMG::getGradSolution() 11 0.001548 0.001548 0.001548 0.17% MLCellLinOp::compGrad() 11 0.001541 0.001541 0.001541 0.17% Castro::reset_internal_energy(Fab) 504 0.001531 0.001531 0.001531 0.16% FabArrayBase::getCPC() 1313 0.001466 0.001466 0.001466 0.16% MLPoisson::prepareForSolve() 11 0.001361 0.001361 0.001361 0.15% FabArray::mult() 43 0.001359 0.001359 0.001359 0.15% MLMG::computeMLResidual() 11 0.001355 0.001355 0.001355 0.15% MLCellLinOp::prepareForSolve() 11 0.001346 0.001346 0.001346 0.14% FabArray::setDomainBndry() 41 0.001323 0.001323 0.001323 0.14% Castro::check_for_nan() 20 0.001289 0.001289 0.001289 0.14% MultiFab::contains_nan() 20 0.001276 0.001276 0.001276 0.14% Castro::post_regrid() 1 0.001203 0.001203 0.001203 0.13% Castro::computeInitialDt() 2 0.0011 0.0011 0.0011 0.12% Gravity::update_max_rhs() 11 0.0009694 0.0009694 0.0009694 0.10% FabArrayBase::getFB() 3893 0.0007294 0.0007294 0.0007294 0.08% FabArrayBase::CPC::define() 454 0.0006719 0.0006719 0.0006719 0.07% Castro::finalize_advance() 10 0.000576 0.000576 0.000576 0.06% Amr::InitAmr() 1 0.0005716 0.0005716 0.0005716 0.06% Castro::Castro() 1 0.0005696 0.0005696 0.0005696 0.06% Gravity::swapTimeLevels() 10 0.0004389 0.0004389 0.0004389 0.05% MLMG::MLResNormInf() 11 0.0003367 0.0003367 0.0003367 0.04% MultiFab::max() 11 0.000324 0.000324 0.000324 0.03% Castro::buildMetrics() 1 0.0002866 0.0002866 0.0002866 0.03% MLLinOp::define() 11 0.0002558 0.0002558 0.0002558 0.03% MLLinOp::defineGrids() 11 0.0002414 0.0002414 0.0002414 0.03% MLMG::MLRhsNormInf() 11 0.000222 0.000222 0.000222 0.02% Castro::create_source_corrector() 10 0.0001904 0.0001904 0.0001904 0.02% FabArrayBase::FB::FB() 56 9.997e-05 9.997e-05 9.997e-05 0.01% Castro::enforce_consistent_e() 1 6.904e-05 6.904e-05 6.904e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 6.248e-05 6.248e-05 6.248e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.556e-05 5.556e-05 5.556e-05 0.01% makeSFC 55 4.881e-05 4.881e-05 4.881e-05 0.01% Castro::swap_state_time_levels() 10 3.849e-05 3.849e-05 3.849e-05 0.00% StateData::define() 4 3.811e-05 3.811e-05 3.811e-05 0.00% Amr::writeSmallPlotFile() 1 3.635e-05 3.635e-05 3.635e-05 0.00% Castro::initMFs() 1 2.787e-05 2.787e-05 2.787e-05 0.00% DistributionMapping::Distribute() 56 2.375e-05 2.375e-05 2.375e-05 0.00% Amr::initSubcycle() 1 9.119e-06 9.119e-06 9.119e-06 0.00% AmrLevel::checkPointPost() 3 5.336e-06 5.336e-06 5.336e-06 0.00% Castro::retry_advance_ctu() 10 4.475e-06 4.475e-06 4.475e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.226e-06 4.226e-06 4.226e-06 0.00% AmrLevel::checkPointPre() 3 4.101e-06 4.101e-06 4.101e-06 0.00% Gravity::set_mass_offset() 11 4.03e-06 4.03e-06 4.03e-06 0.00% Castro::FluxRegCrseInit 10 3.064e-06 3.064e-06 3.064e-06 0.00% Castro::FluxRegFineAdd() 10 2.188e-06 2.188e-06 2.188e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.003e-06 2.003e-06 2.003e-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 85 MiB 9042 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 1019 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1437 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7617 KiB 14 MiB MLMG::prepareForSolve() 660 660 3393 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 201 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 166 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 2010 B 2048 KiB Gravity::solve_for_phi() 80 80 543 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 91 KiB 2048 KiB BndryData::define() 1056 1056 310 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 197 KiB 671 KiB Castro::estTimeStep() 21 21 3063 B 480 KiB VisMF::Write(FabArray) 656 656 3271 B 320 KiB Castro::normalize_species() 62 62 6457 B 320 KiB amrex::average_down 1054 1054 1196 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1080 B 257 KiB amrex::Dot() 1343 1343 3305 B 160 KiB FabArray::norminf() 1129 1129 3217 B 160 KiB check_for_negative_density() 10 10 300 B 160 KiB Castro::initData() 1 1 49 B 160 KiB MultiFab::max() 11 11 54 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3311 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 42 B 10 KiB FillBoundary_nowait() 751 751 287 B 9648 B MLCellLinOp::applyBC() 8596 8596 209 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3903 B 6144 B StateData::FillBoundary(geom) 1992 1992 44 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 350 B 1248 B MLCGSolver::bicgstab 405 405 90 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 541 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 39 KiB 8192 KiB VisMF::Write(FabArray) 744 744 387 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3311 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 42 B 10 KiB FillBoundary_nowait() 751 751 288 B 9648 B MLCellLinOp::applyBC() 4298 4298 207 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3903 B 6144 B Gravity::get_new_grav_vector() 3 3 2906 B 3072 B StateData::FillBoundary(geom) 1992 1992 45 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 82 82 270 B 1296 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 282 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 24 B 400 B FabArray::norminf() 1129 1129 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): 12056 Free GPU global memory (MB): 2189 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.01-10-g9b799efb04e0) finalized Initializing AMReX (24.01-10-g9b799efb04e0)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-10-g9b799efb04e0) initialized Starting run at 09:37:14 UTC on 2024-01-18. Successfully read inputs file ... Castro git describe: 24.01-11-g44d0e551d AMReX git describe: 24.01-10-g9b799efb0 Microphysics git describe: 24.01-9-ga4d7ab4d reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.545292851 Restart time = 0.073991929 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.067668261 [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.048997742 [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.069856683 [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.073210549 [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.073012478 [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.028061903 seconds Ending run at 09:37:14 UTC on 2024-01-18. Run time = 0.435915262 Run time without initialization = 0.361258661 Average number of zones advanced per microsecond: 3.628 Average number of zones advanced per microsecond per rank: 3.628 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4359 ... 0.4359 ... 0.4359 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1355 0.1355 0.1355 31.08% VisMF::Read() 3 0.06245 0.06245 0.06245 14.33% MLCellLinOp::applyBC() 1910 0.03435 0.03435 0.03435 7.88% VisMF::Write(FabArray) 1 0.0254 0.0254 0.0254 5.83% MLPoisson::Fsmooth() 1440 0.01443 0.01443 0.01443 3.31% StateData::FillBoundary(geom) 160 0.01369 0.01369 0.01369 3.14% FillBoundary_nowait() 1730 0.01276 0.01276 0.01276 2.93% MLCellLinOp::defineAuxData() 6 0.01247 0.01247 0.01247 2.86% Castro::normalize_species() 30 0.009658 0.009658 0.009658 2.22% amrex::Dot() 484 0.009043 0.009043 0.009043 2.07% FabArray::norminf() 465 0.008691 0.008691 0.008691 1.99% Castro::enforce_min_density() 30 0.006992 0.006992 0.006992 1.60% Castro::computeTemp() 30 0.006388 0.006388 0.006388 1.47% FabArray::setVal() 501 0.006339 0.006339 0.006339 1.45% FabArray::ParallelCopy_nowait() 380 0.005988 0.005988 0.005988 1.37% FabArray::Saxpy() 597 0.005718 0.005718 0.005718 1.31% Gravity::fill_multipole_BCs() 6 0.005592 0.005592 0.005592 1.28% StateDataPhysBCFunct::() 20 0.005376 0.005376 0.005376 1.23% amrex::Copy() 221 0.005358 0.005358 0.005358 1.23% Amr::restart() 1 0.004819 0.004819 0.004819 1.11% MLPoisson::Fapply() 464 0.004363 0.004363 0.004363 1.00% FabArray::Xpay() 325 0.003357 0.003357 0.003357 0.77% MLMG::addInterpCorrection() 180 0.003094 0.003094 0.003094 0.71% amrex::average_down 180 0.002726 0.002726 0.002726 0.63% Castro::estTimeStep() 10 0.002662 0.002662 0.002662 0.61% Amr::writePlotFile() 1 0.002509 0.002509 0.002509 0.58% Castro::reset_internal_energy(MultiFab) 30 0.002222 0.002222 0.002222 0.51% BndryData::define() 6 0.002088 0.002088 0.002088 0.48% Castro::construct_new_gravity_source() 5 0.001807 0.001807 0.001807 0.41% amrex::Add() 36 0.00153 0.00153 0.00153 0.35% Castro::construct_old_gravity_source() 5 0.001501 0.001501 0.001501 0.34% Castro::enforce_speed_limit() 30 0.001102 0.001102 0.001102 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009691 0.0009691 0.0009691 0.22% Gravity::actual_solve_with_mlmg() 6 0.0008919 0.0008919 0.0008919 0.20% MLCellLinOp::setLevelBC() 6 0.0008709 0.0008709 0.0008709 0.20% check_for_negative_density() 5 0.0008625 0.0008625 0.0008625 0.20% MLCellLinOp::prepareForSolve() 6 0.000781 0.000781 0.000781 0.18% MLCGSolver::bicgstab 36 0.0007277 0.0007277 0.0007277 0.17% Castro::reset_internal_energy(Fab) 240 0.0007221 0.0007221 0.0007221 0.17% FabArray::mult() 22 0.0006882 0.0006882 0.0006882 0.16% FabArray::setDomainBndry() 20 0.0006763 0.0006763 0.0006763 0.16% MultiFab::contains_nan() 10 0.0006536 0.0006536 0.0006536 0.15% MLCellLinOp::compGrad() 6 0.0006024 0.0006024 0.0006024 0.14% MLMG::prepareForSolve() 6 0.0005826 0.0005826 0.0005826 0.13% MLCellLinOp::smooth() 720 0.0005131 0.0005131 0.0005131 0.12% Amr::InitAmr() 1 0.0004826 0.0004826 0.0004826 0.11% FabArrayBase::CPC::define() 244 0.0004493 0.0004493 0.0004493 0.10% FabArrayBase::getCPC() 632 0.0004008 0.0004008 0.0004008 0.09% FabArray::FillBoundary() 1730 0.0003707 0.0003707 0.0003707 0.09% Gravity::get_old_grav_vector() 5 0.000312 0.000312 0.000312 0.07% main() 1 0.0002883 0.0002883 0.0002883 0.07% Gravity::get_new_grav_vector() 5 0.0002693 0.0002693 0.0002693 0.06% FabArrayBase::getFB() 1730 0.0002572 0.0002572 0.0002572 0.06% MultiFab::max() 6 0.0002046 0.0002046 0.0002046 0.05% AmrLevel::FillPatch() 20 0.0002016 0.0002016 0.0002016 0.05% MLCellLinOp::defineBC() 6 0.0001732 0.0001732 0.0001732 0.04% Amr::coarseTimeStep() 5 0.0001731 0.0001731 0.0001731 0.04% MLCellLinOp::apply() 464 0.0001718 0.0001718 0.0001718 0.04% MLCGSolver::ParallelAllReduce 798 0.0001461 0.0001461 0.0001461 0.03% FabArray::ParallelCopy() 380 0.0001089 0.0001089 0.0001089 0.02% Castro::create_source_corrector() 5 0.0001072 0.0001072 0.0001072 0.02% FillPatchIterator::Initialize 20 0.0001059 0.0001059 0.0001059 0.02% MLLinOp::defineGrids() 6 9.929e-05 9.929e-05 9.929e-05 0.02% Amr::timeStep() 5 9.646e-05 9.646e-05 9.646e-05 0.02% Castro::subcycle_advance_ctu() 5 9.005e-05 9.005e-05 9.005e-05 0.02% AmrLevel::restart() 1 8.614e-05 8.614e-05 8.614e-05 0.02% MLMG::mgVcycle() 36 8.372e-05 8.372e-05 8.372e-05 0.02% Castro::initialize_do_advance() 5 7.887e-05 7.887e-05 7.887e-05 0.02% StateData::restartDoit() 4 7.883e-05 7.883e-05 7.883e-05 0.02% MLCellLinOp::correctionResidual() 180 6.829e-05 6.829e-05 6.829e-05 0.02% Gravity::update_max_rhs() 6 6.77e-05 6.77e-05 6.77e-05 0.02% Castro::do_advance_ctu() 5 6.538e-05 6.538e-05 6.538e-05 0.01% FabArrayBase::FB::FB() 26 6.221e-05 6.221e-05 6.221e-05 0.01% Castro::post_timestep() 5 6.189e-05 6.189e-05 6.189e-05 0.01% Castro::advance() 5 5.476e-05 5.476e-05 5.476e-05 0.01% Gravity::solve_for_phi() 5 5.474e-05 5.474e-05 5.474e-05 0.01% MLMG:computeResOfCorrection() 180 5.271e-05 5.271e-05 5.271e-05 0.01% MLMG::mgVcycle_down::0 36 4.728e-05 4.728e-05 4.728e-05 0.01% Castro::finalize_do_advance() 5 4.401e-05 4.401e-05 4.401e-05 0.01% Castro::construct_new_source() 25 4.291e-05 4.291e-05 4.291e-05 0.01% MLMG::actualBottomSolve() 36 4.107e-05 4.107e-05 4.107e-05 0.01% Castro::initialize_advance() 5 3.729e-05 3.729e-05 3.729e-05 0.01% MLMG::mgVcycle_down::1 36 3.707e-05 3.707e-05 3.707e-05 0.01% MLMG::solve() 6 3.602e-05 3.602e-05 3.602e-05 0.01% MLMG::mgVcycle_down::2 36 3.541e-05 3.541e-05 3.541e-05 0.01% Amr::writeSmallPlotFile() 1 3.535e-05 3.535e-05 3.535e-05 0.01% MLMG::mgVcycle_down::4 36 3.351e-05 3.351e-05 3.351e-05 0.01% Castro::post_restart() 1 3.262e-05 3.262e-05 3.262e-05 0.01% Castro::finalize_advance() 5 3.257e-05 3.257e-05 3.257e-05 0.01% MLMG::mgVcycle_down::3 36 3.241e-05 3.241e-05 3.241e-05 0.01% Castro::clean_state() 30 3.164e-05 3.164e-05 3.164e-05 0.01% Castro::do_new_sources() 5 2.85e-05 2.85e-05 2.85e-05 0.01% Castro::construct_old_source() 25 2.806e-05 2.806e-05 2.806e-05 0.01% Castro::buildMetrics() 1 2.797e-05 2.797e-05 2.797e-05 0.01% MLMG::mgVcycle_up::4 36 2.703e-05 2.703e-05 2.703e-05 0.01% Castro::initMFs() 1 2.477e-05 2.477e-05 2.477e-05 0.01% Castro::swap_state_time_levels() 5 2.359e-05 2.359e-05 2.359e-05 0.01% MLMG::mgVcycle_up::0 36 2.347e-05 2.347e-05 2.347e-05 0.01% MLMG::oneIter() 36 2.31e-05 2.31e-05 2.31e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.195e-05 2.195e-05 2.195e-05 0.01% MLMG::mgVcycle_up::3 36 2.177e-05 2.177e-05 2.177e-05 0.00% MLCellLinOp::solutionResidual() 42 2.159e-05 2.159e-05 2.159e-05 0.00% MLMG::mgVcycle_up::2 36 2.09e-05 2.09e-05 2.09e-05 0.00% MLMG::mgVcycle_up::1 36 2e-05 2e-05 2e-05 0.00% MLMG::ResNormInf() 42 1.875e-05 1.875e-05 1.875e-05 0.00% Castro::construct_new_gravity() 5 1.795e-05 1.795e-05 1.795e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.722e-05 1.722e-05 1.722e-05 0.00% MLPoisson::define() 6 1.644e-05 1.644e-05 1.644e-05 0.00% FillPatchSingleLevel 20 1.592e-05 1.592e-05 1.592e-05 0.00% MLMG::mgVcycle_bottom 36 1.483e-05 1.483e-05 1.483e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.482e-05 1.482e-05 1.482e-05 0.00% makeSFC 30 1.406e-05 1.406e-05 1.406e-05 0.00% MLMG::computeResidual() 36 1.389e-05 1.389e-05 1.389e-05 0.00% Castro::do_old_sources() 5 1.184e-05 1.184e-05 1.184e-05 0.00% MLPoisson::prepareForSolve() 6 1.067e-05 1.067e-05 1.067e-05 0.00% MLMG::computeMLResidual() 6 1.045e-05 1.045e-05 1.045e-05 0.00% DistributionMapping::Distribute() 31 1.005e-05 1.005e-05 1.005e-05 0.00% Amr::initSubcycle() 1 9.136e-06 9.136e-06 9.136e-06 0.00% Gravity::actual_multilevel_solve() 1 8.536e-06 8.536e-06 8.536e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.646e-06 7.646e-06 7.646e-06 0.00% MLLinOp::define() 6 6.97e-06 6.97e-06 6.97e-06 0.00% Castro::construct_old_gravity() 5 6.389e-06 6.389e-06 6.389e-06 0.00% Castro::apply_source_to_state() 10 5.96e-06 5.96e-06 5.96e-06 0.00% Castro::check_for_nan() 10 5.805e-06 5.805e-06 5.805e-06 0.00% Gravity::swapTimeLevels() 5 3.848e-06 3.848e-06 3.848e-06 0.00% MLMG::getGradSolution() 6 3.424e-06 3.424e-06 3.424e-06 0.00% Castro::computeNewDt() 5 3.193e-06 3.193e-06 3.193e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.96e-06 2.96e-06 2.96e-06 0.00% Castro::expand_state() 5 2.917e-06 2.917e-06 2.917e-06 0.00% MLMG::MLResNormInf() 6 2.384e-06 2.384e-06 2.384e-06 0.00% Castro::retry_advance_ctu() 5 2.242e-06 2.242e-06 2.242e-06 0.00% Gravity::set_mass_offset() 6 2.144e-06 2.144e-06 2.144e-06 0.00% MLMG::MLRhsNormInf() 6 2.108e-06 2.108e-06 2.108e-06 0.00% Castro::FluxRegCrseInit 5 1.475e-06 1.475e-06 1.475e-06 0.00% Amr::init() 1 1.282e-06 1.282e-06 1.282e-06 0.00% Castro::FluxRegFineAdd() 5 1.273e-06 1.273e-06 1.273e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.075e-06 1.075e-06 1.075e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4359 0.4359 0.4359 100.00% Amr::coarseTimeStep() 5 0.3329 0.3329 0.3329 76.37% Amr::timeStep() 5 0.331 0.331 0.331 75.93% Castro::advance() 5 0.3256 0.3256 0.3256 74.68% Castro::subcycle_advance_ctu() 5 0.3184 0.3184 0.3184 73.03% Castro::do_advance_ctu() 5 0.3183 0.3183 0.3183 73.00% Castro::construct_ctu_hydro_source() 5 0.1405 0.1405 0.1405 32.22% Castro::construct_new_gravity() 5 0.1402 0.1402 0.1402 32.15% Gravity::solve_phi_with_mlmg() 6 0.1373 0.1373 0.1373 31.50% Gravity::solve_for_phi() 5 0.1318 0.1318 0.1318 30.22% Gravity::actual_solve_with_mlmg() 6 0.1315 0.1315 0.1315 30.16% MLMG::solve() 6 0.1125 0.1125 0.1125 25.82% MLMG::oneIter() 36 0.105 0.105 0.105 24.08% MLMG::mgVcycle() 36 0.1034 0.1034 0.1034 23.73% Amr::init() 1 0.07404 0.07404 0.07404 16.98% Amr::restart() 1 0.07404 0.07404 0.07404 16.98% AmrLevel::restart() 1 0.06285 0.06285 0.06285 14.42% StateData::restartDoit() 4 0.06276 0.06276 0.06276 14.40% VisMF::Read() 3 0.06245 0.06245 0.06245 14.33% MLCellLinOp::smooth() 720 0.05155 0.05155 0.05155 11.83% MLCellLinOp::applyBC() 1910 0.04781 0.04781 0.04781 10.97% MLMG::mgVcycle_bottom 36 0.03097 0.03097 0.03097 7.10% MLMG::actualBottomSolve() 36 0.03096 0.03096 0.03096 7.10% MLCGSolver::bicgstab 36 0.03064 0.03064 0.03064 7.03% Amr::writePlotFile() 1 0.02816 0.02816 0.02816 6.46% Castro::clean_state() 30 0.02712 0.02712 0.02712 6.22% VisMF::Write(FabArray) 1 0.0254 0.0254 0.0254 5.83% AmrLevel::FillPatch() 20 0.02403 0.02403 0.02403 5.51% FillPatchIterator::Initialize 20 0.02194 0.02194 0.02194 5.03% FillPatchIterator::FillFromLevel0() 20 0.02116 0.02116 0.02116 4.85% FillPatchSingleLevel 20 0.02113 0.02113 0.02113 4.85% StateDataPhysBCFunct::() 20 0.01907 0.01907 0.01907 4.37% MLPoisson::define() 6 0.0163 0.0163 0.0163 3.74% MLCellLinOp::apply() 464 0.01546 0.01546 0.01546 3.55% MLMG::mgVcycle_down::0 36 0.01464 0.01464 0.01464 3.36% MLPoisson::Fsmooth() 1440 0.01443 0.01443 0.01443 3.31% StateData::FillBoundary(geom) 160 0.01369 0.01369 0.01369 3.14% FabArray::FillBoundary() 1730 0.01345 0.01345 0.01345 3.09% MLCellLinOp::defineAuxData() 6 0.01329 0.01329 0.01329 3.05% FillBoundary_nowait() 1730 0.01308 0.01308 0.01308 3.00% Castro::initialize_do_advance() 5 0.01135 0.01135 0.01135 2.60% MLMG::mgVcycle_up::0 36 0.01106 0.01106 0.01106 2.54% Castro::do_old_sources() 5 0.009908 0.009908 0.009908 2.27% Castro::normalize_species() 30 0.009658 0.009658 0.009658 2.22% Castro::computeTemp() 30 0.009332 0.009332 0.009332 2.14% amrex::Dot() 484 0.009043 0.009043 0.009043 2.07% FabArray::norminf() 465 0.008691 0.008691 0.008691 1.99% MLMG:computeResOfCorrection() 180 0.008628 0.008628 0.008628 1.98% MLCellLinOp::correctionResidual() 180 0.008575 0.008575 0.008575 1.97% Castro::construct_old_gravity() 5 0.008326 0.008326 0.008326 1.91% Gravity::get_old_grav_vector() 5 0.008319 0.008319 0.008319 1.91% Gravity::get_new_grav_vector() 5 0.008304 0.008304 0.008304 1.90% MLMG::mgVcycle_down::1 36 0.007203 0.007203 0.007203 1.65% Castro::enforce_min_density() 30 0.006992 0.006992 0.006992 1.60% Castro::initialize_advance() 5 0.006866 0.006866 0.006866 1.57% MLMG::mgVcycle_down::2 36 0.00658 0.00658 0.00658 1.51% Castro::do_new_sources() 5 0.006544 0.006544 0.006544 1.50% FabArray::ParallelCopy() 380 0.0065 0.0065 0.0065 1.49% FabArray::ParallelCopy_nowait() 380 0.006391 0.006391 0.006391 1.47% MLMG::mgVcycle_down::3 36 0.006391 0.006391 0.006391 1.47% MLMG::mgVcycle_down::4 36 0.00636 0.00636 0.00636 1.46% FabArray::setVal() 501 0.006339 0.006339 0.006339 1.45% Castro::post_restart() 1 0.006191 0.006191 0.006191 1.42% Castro::expand_state() 5 0.005971 0.005971 0.005971 1.37% Gravity::multilevel_solve_for_new_phi() 1 0.005808 0.005808 0.005808 1.33% Gravity::actual_multilevel_solve() 1 0.00579 0.00579 0.00579 1.33% FabArray::Saxpy() 597 0.005718 0.005718 0.005718 1.31% Gravity::fill_multipole_BCs() 6 0.005712 0.005712 0.005712 1.31% MLCGSolver::ParallelAllReduce 798 0.005504 0.005504 0.005504 1.26% amrex::Copy() 221 0.005358 0.005358 0.005358 1.23% Castro::post_timestep() 5 0.005341 0.005341 0.005341 1.23% MLMG::addInterpCorrection() 180 0.005301 0.005301 0.005301 1.22% MLMG::mgVcycle_up::4 36 0.005129 0.005129 0.005129 1.18% MLMG::mgVcycle_up::1 36 0.005106 0.005106 0.005106 1.17% MLMG::mgVcycle_up::2 36 0.00501 0.00501 0.00501 1.15% amrex::average_down 180 0.004966 0.004966 0.004966 1.14% MLMG::mgVcycle_up::3 36 0.004896 0.004896 0.004896 1.12% MLPoisson::Fapply() 464 0.004363 0.004363 0.004363 1.00% MLCellLinOp::solutionResidual() 42 0.003522 0.003522 0.003522 0.81% FabArray::Xpay() 325 0.003357 0.003357 0.003357 0.77% Castro::reset_internal_energy(MultiFab) 30 0.002944 0.002944 0.002944 0.68% MLMG::prepareForSolve() 6 0.002896 0.002896 0.002896 0.66% MLCellLinOp::defineBC() 6 0.002856 0.002856 0.002856 0.66% MLMG::computeResidual() 36 0.002736 0.002736 0.002736 0.63% BndryData::define() 6 0.002683 0.002683 0.002683 0.62% Castro::estTimeStep() 10 0.002662 0.002662 0.002662 0.61% Castro::construct_new_source() 25 0.00185 0.00185 0.00185 0.42% Castro::construct_new_gravity_source() 5 0.001807 0.001807 0.001807 0.41% Castro::computeNewDt() 5 0.001733 0.001733 0.001733 0.40% amrex::Add() 36 0.00153 0.00153 0.00153 0.35% Castro::construct_old_source() 25 0.001529 0.001529 0.001529 0.35% Castro::construct_old_gravity_source() 5 0.001501 0.001501 0.001501 0.34% Castro::enforce_speed_limit() 30 0.001102 0.001102 0.001102 0.25% Castro::finalize_do_advance() 5 0.0009762 0.0009762 0.0009762 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009691 0.0009691 0.0009691 0.22% MLMG::ResNormInf() 42 0.0009643 0.0009643 0.0009643 0.22% Castro::apply_source_to_state() 10 0.0009585 0.0009585 0.0009585 0.22% MLMG::getGradSolution() 6 0.0008833 0.0008833 0.0008833 0.20% MLCellLinOp::compGrad() 6 0.0008799 0.0008799 0.0008799 0.20% MLCellLinOp::setLevelBC() 6 0.0008709 0.0008709 0.0008709 0.20% check_for_negative_density() 5 0.0008625 0.0008625 0.0008625 0.20% FabArrayBase::getCPC() 632 0.0008501 0.0008501 0.0008501 0.20% MLMG::computeMLResidual() 6 0.0008107 0.0008107 0.0008107 0.19% MLPoisson::prepareForSolve() 6 0.0007916 0.0007916 0.0007916 0.18% MLCellLinOp::prepareForSolve() 6 0.000781 0.000781 0.000781 0.18% Castro::reset_internal_energy(Fab) 240 0.0007221 0.0007221 0.0007221 0.17% Gravity::update_max_rhs() 6 0.0007159 0.0007159 0.0007159 0.16% FabArray::mult() 22 0.0006882 0.0006882 0.0006882 0.16% FabArray::setDomainBndry() 20 0.0006763 0.0006763 0.0006763 0.16% Castro::check_for_nan() 10 0.0006594 0.0006594 0.0006594 0.15% MultiFab::contains_nan() 10 0.0006536 0.0006536 0.0006536 0.15% Amr::InitAmr() 1 0.0004917 0.0004917 0.0004917 0.11% FabArrayBase::CPC::define() 244 0.0004493 0.0004493 0.0004493 0.10% FabArrayBase::getFB() 1730 0.0003194 0.0003194 0.0003194 0.07% Castro::finalize_advance() 5 0.0002951 0.0002951 0.0002951 0.07% Gravity::swapTimeLevels() 5 0.0002254 0.0002254 0.0002254 0.05% MultiFab::max() 6 0.0002046 0.0002046 0.0002046 0.05% MLMG::MLResNormInf() 6 0.0001921 0.0001921 0.0001921 0.04% Castro::buildMetrics() 1 0.0001495 0.0001495 0.0001495 0.03% MLLinOp::define() 6 0.0001379 0.0001379 0.0001379 0.03% MLLinOp::defineGrids() 6 0.0001309 0.0001309 0.0001309 0.03% MLMG::MLRhsNormInf() 6 0.0001171 0.0001171 0.0001171 0.03% Castro::create_source_corrector() 5 0.0001072 0.0001072 0.0001072 0.02% FabArrayBase::FB::FB() 26 6.221e-05 6.221e-05 6.221e-05 0.01% Amr::writeSmallPlotFile() 1 3.535e-05 3.535e-05 3.535e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.055e-05 3.055e-05 3.055e-05 0.01% Castro::initMFs() 1 2.477e-05 2.477e-05 2.477e-05 0.01% Castro::swap_state_time_levels() 5 2.359e-05 2.359e-05 2.359e-05 0.01% makeSFC 30 2.291e-05 2.291e-05 2.291e-05 0.01% DistributionMapping::Distribute() 31 1.005e-05 1.005e-05 1.005e-05 0.00% Amr::initSubcycle() 1 9.136e-06 9.136e-06 9.136e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.165e-06 4.165e-06 4.165e-06 0.00% Castro::retry_advance_ctu() 5 2.242e-06 2.242e-06 2.242e-06 0.00% Gravity::set_mass_offset() 6 2.144e-06 2.144e-06 2.144e-06 0.00% Castro::FluxRegCrseInit 5 1.475e-06 1.475e-06 1.475e-06 0.00% Castro::FluxRegFineAdd() 5 1.273e-06 1.273e-06 1.273e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.075e-06 1.075e-06 1.075e-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 193 MiB 9042 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1071 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1720 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 6389 KiB 14 MiB MLMG::prepareForSolve() 361 361 3167 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 197 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 194 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6376 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 21 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3257 B 2048 KiB Gravity::solve_for_phi() 40 40 617 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 27 KiB 2048 KiB BndryData::define() 576 576 292 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 198 KiB 671 KiB Castro::estTimeStep() 10 10 2880 B 480 KiB VisMF::Write(FabArray) 112 112 2327 B 320 KiB Castro::normalize_species() 30 30 7213 B 320 KiB amrex::average_down 469 469 1104 B 257 KiB MLMG::addInterpCorrection() 468 468 1034 B 257 KiB amrex::Dot() 592 592 3062 B 160 KiB FabArray::norminf() 501 501 3082 B 160 KiB check_for_negative_density() 5 5 317 B 160 KiB MultiFab::max() 6 6 73 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3068 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 254 B 9648 B MLCellLinOp::applyBC() 3820 3820 196 B 9344 B amrex::Copy() 56 56 5533 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 42 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 328 B 1248 B MLCGSolver::bicgstab 180 180 84 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1234 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 86 KiB 8192 KiB VisMF::Write(FabArray) 120 120 151 KiB 3584 KiB VisMF::Read() 24 24 216 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3068 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 255 B 9648 B MLCellLinOp::applyBC() 1910 1910 195 B 9328 B amrex::Copy() 56 56 5533 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2502 B 3072 B StateData::FillBoundary(geom) 960 960 43 B 3024 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 490 B 1296 B amrex::average_down 37 37 202 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 501 501 8 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2189 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.01-10-g9b799efb04e0) finalized