Initializing AMReX (v2024-34-g9e8f8d60eca3)... Initializing CUDA... CUDA initialized with 1 device. AMReX (v2024-34-g9e8f8d60eca3) initialized Starting run at 09:11:12 UTC on 2024-03-26. Successfully read inputs file ... Castro git describe: 24.03-26-g5707c0c2f AMReX git describe: v2024-34-g9e8f8d60e 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.044262662 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024437234 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.070654757 [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.052089591 [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.070749677 [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.073371193 [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.061442474 [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.051062591 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.057416487 [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.073712308 [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.071990772 [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.061268755 [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.066031515 [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.043122378 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.024313824 seconds Ending run at 09:11:13 UTC on 2024-03-26. Run time = 0.897788536 Run time without initialization = 0.777864618 Average number of zones advanced per microsecond: 3.370 Average number of zones advanced per microsecond per rank: 3.370 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.8978 ... 0.8978 ... 0.8978 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2875 0.2875 0.2875 32.02% VisMF::Write(FabArray) 11 0.1776 0.1776 0.1776 19.79% MLCellLinOp::applyBC() 4298 0.07927 0.07927 0.07927 8.83% MLPoisson::Fsmooth() 3240 0.03304 0.03304 0.03304 3.68% FillBoundary_nowait() 3893 0.03127 0.03127 0.03127 3.48% StateData::FillBoundary(geom) 328 0.02647 0.02647 0.02647 2.95% amrex::Dot() 1100 0.02083 0.02083 0.02083 2.32% FabArray::norminf() 1048 0.01943 0.01943 0.01943 2.16% Castro::normalize_species() 62 0.0179 0.0179 0.0179 1.99% Castro::computeTemp() 63 0.01408 0.01408 0.01408 1.57% FabArray::ParallelCopy_nowait() 851 0.01356 0.01356 0.01356 1.51% FabArray::setVal() 1054 0.01317 0.01317 0.01317 1.47% FabArray::Saxpy() 1353 0.01281 0.01281 0.01281 1.43% StateDataPhysBCFunct::() 41 0.01165 0.01165 0.01165 1.30% amrex::Copy() 469 0.01085 0.01085 0.01085 1.21% Castro::enforce_min_density() 62 0.0107 0.0107 0.0107 1.19% MLCellLinOp::defineAuxData() 11 0.01022 0.01022 0.01022 1.14% MLPoisson::Fapply() 1047 0.01006 0.01006 0.01006 1.12% Gravity::fill_multipole_BCs() 11 0.008675 0.008675 0.008675 0.97% FabArray::Xpay() 730 0.007648 0.007648 0.007648 0.85% Amr::checkPoint() 3 0.006941 0.006941 0.006941 0.77% MLMG::addInterpCorrection() 405 0.006858 0.006858 0.006858 0.76% amrex::average_down 405 0.006073 0.006073 0.006073 0.68% Castro::estTimeStep() 21 0.005511 0.005511 0.005511 0.61% Castro::reset_internal_energy(MultiFab) 63 0.00501 0.00501 0.00501 0.56% BndryData::define() 11 0.003908 0.003908 0.003908 0.44% Castro::enforce_speed_limit() 62 0.003602 0.003602 0.003602 0.40% amrex::Add() 81 0.003602 0.003602 0.003602 0.40% Castro::construct_new_gravity_source() 10 0.003377 0.003377 0.003377 0.38% Castro::construct_old_gravity_source() 10 0.00276 0.00276 0.00276 0.31% Amr::writePlotFile() 2 0.002096 0.002096 0.002096 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.0018 0.0018 0.0018 0.20% check_for_negative_density() 10 0.001665 0.001665 0.001665 0.19% MLCGSolver::bicgstab 81 0.001601 0.001601 0.001601 0.18% Castro::reset_internal_energy(Fab) 504 0.001601 0.001601 0.001601 0.18% MLCellLinOp::setLevelBC() 11 0.001591 0.001591 0.001591 0.18% Gravity::actual_solve_with_mlmg() 11 0.001527 0.001527 0.001527 0.17% Castro::initData() 1 0.001516 0.001516 0.001516 0.17% FabArray::mult() 43 0.00139 0.00139 0.00139 0.15% FabArray::setDomainBndry() 41 0.00137 0.00137 0.00137 0.15% MLCellLinOp::prepareForSolve() 11 0.001313 0.001313 0.001313 0.15% MultiFab::contains_nan() 20 0.001281 0.001281 0.001281 0.14% MLCellLinOp::smooth() 1620 0.001103 0.001103 0.001103 0.12% MLCellLinOp::compGrad() 11 0.001061 0.001061 0.001061 0.12% MLMG::prepareForSolve() 11 0.0009446 0.0009446 0.0009446 0.11% FabArray::FillBoundary() 3893 0.0007761 0.0007761 0.0007761 0.09% FabArrayBase::getCPC() 1313 0.0007735 0.0007735 0.0007735 0.09% FabArrayBase::CPC::define() 454 0.0006848 0.0006848 0.0006848 0.08% Gravity::get_new_grav_vector() 11 0.0006171 0.0006171 0.0006171 0.07% FabArrayBase::getFB() 3893 0.000603 0.000603 0.000603 0.07% Amr::InitAmr() 1 0.000528 0.000528 0.000528 0.06% Gravity::get_old_grav_vector() 10 0.0005035 0.0005035 0.0005035 0.06% AmrLevel::FillPatch() 41 0.0004199 0.0004199 0.0004199 0.05% MLCellLinOp::apply() 1047 0.0004187 0.0004187 0.0004187 0.05% Amr::coarseTimeStep() 10 0.0003427 0.0003427 0.0003427 0.04% MLCGSolver::ParallelAllReduce 1809 0.0003341 0.0003341 0.0003341 0.04% MultiFab::max() 11 0.0003334 0.0003334 0.0003334 0.04% main() 1 0.0002853 0.0002853 0.0002853 0.03% MLCellLinOp::defineBC() 11 0.0002671 0.0002671 0.0002671 0.03% FabArray::ParallelCopy() 851 0.0002417 0.0002417 0.0002417 0.03% MLMG::mgVcycle() 81 0.0002271 0.0002271 0.0002271 0.03% FillPatchIterator::Initialize 41 0.0002177 0.0002177 0.0002177 0.02% MLLinOp::defineGrids() 11 0.000177 0.000177 0.000177 0.02% Castro::create_source_corrector() 10 0.0001758 0.0001758 0.0001758 0.02% MLCellLinOp::correctionResidual() 405 0.0001733 0.0001733 0.0001733 0.02% Castro::subcycle_advance_ctu() 10 0.0001686 0.0001686 0.0001686 0.02% Amr::timeStep() 10 0.0001577 0.0001577 0.0001577 0.02% Gravity::update_max_rhs() 11 0.0001465 0.0001465 0.0001465 0.02% StateData::checkPoint() 12 0.0001398 0.0001398 0.0001398 0.02% MLMG:computeResOfCorrection() 405 0.0001167 0.0001167 0.0001167 0.01% Gravity::solve_for_phi() 10 0.000109 0.000109 0.000109 0.01% Castro::construct_new_source() 50 0.0001039 0.0001039 0.0001039 0.01% FabArrayBase::FB::FB() 56 8.92e-05 8.92e-05 8.92e-05 0.01% Castro::Castro() 1 8.693e-05 8.693e-05 8.693e-05 0.01% Castro::initialize_advance() 10 8.62e-05 8.62e-05 8.62e-05 0.01% MLMG::mgVcycle_down::0 81 8.591e-05 8.591e-05 8.591e-05 0.01% MLMG::actualBottomSolve() 81 8.093e-05 8.093e-05 8.093e-05 0.01% MLMG::solve() 11 7.271e-05 7.271e-05 7.271e-05 0.01% Castro::clean_state() 62 7.191e-05 7.191e-05 7.191e-05 0.01% Castro::advance() 10 7.046e-05 7.046e-05 7.046e-05 0.01% MLMG::mgVcycle_down::1 81 6.948e-05 6.948e-05 6.948e-05 0.01% MLMG::mgVcycle_down::2 81 6.795e-05 6.795e-05 6.795e-05 0.01% Castro::post_timestep() 10 6.728e-05 6.728e-05 6.728e-05 0.01% AmrLevel::checkPoint() 3 6.704e-05 6.704e-05 6.704e-05 0.01% Castro::enforce_consistent_e() 1 6.532e-05 6.532e-05 6.532e-05 0.01% MLMG::mgVcycle_down::4 81 6.443e-05 6.443e-05 6.443e-05 0.01% Castro::finalize_advance() 10 6.393e-05 6.393e-05 6.393e-05 0.01% MLMG::mgVcycle_down::3 81 6.217e-05 6.217e-05 6.217e-05 0.01% Castro::initialize_do_advance() 10 6.12e-05 6.12e-05 6.12e-05 0.01% MLMG::mgVcycle_up::4 81 5.991e-05 5.991e-05 5.991e-05 0.01% MLMG::oneIter() 81 5.755e-05 5.755e-05 5.755e-05 0.01% MLMG::mgVcycle_up::0 81 5.105e-05 5.105e-05 5.105e-05 0.01% MLMG::mgVcycle_up::3 81 4.974e-05 4.974e-05 4.974e-05 0.01% MLMG::mgVcycle_up::1 81 4.895e-05 4.895e-05 4.895e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.894e-05 4.894e-05 4.894e-05 0.01% MLCellLinOp::solutionResidual() 92 4.728e-05 4.728e-05 4.728e-05 0.01% MLMG::mgVcycle_up::2 81 4.726e-05 4.726e-05 4.726e-05 0.01% Castro::do_advance_ctu() 10 4.715e-05 4.715e-05 4.715e-05 0.01% Castro::finalize_do_advance() 10 4.428e-05 4.428e-05 4.428e-05 0.00% StateData::define() 4 4.308e-05 4.308e-05 4.308e-05 0.00% Castro::swap_state_time_levels() 10 3.775e-05 3.775e-05 3.775e-05 0.00% FillPatchSingleLevel 41 3.657e-05 3.657e-05 3.657e-05 0.00% Amr::writeSmallPlotFile() 1 3.184e-05 3.184e-05 3.184e-05 0.00% MLMG::computeResidual() 81 3.148e-05 3.148e-05 3.148e-05 0.00% MLMG::mgVcycle_bottom 81 3.144e-05 3.144e-05 3.144e-05 0.00% MLMG::ResNormInf() 92 3.02e-05 3.02e-05 3.02e-05 0.00% Castro::buildMetrics() 1 2.99e-05 2.99e-05 2.99e-05 0.00% Castro::initMFs() 1 2.974e-05 2.974e-05 2.974e-05 0.00% Castro::construct_new_gravity() 10 2.849e-05 2.849e-05 2.849e-05 0.00% Amr::defBaseLevel() 1 2.742e-05 2.742e-05 2.742e-05 0.00% makeSFC 55 2.68e-05 2.68e-05 2.68e-05 0.00% MLPoisson::define() 11 2.632e-05 2.632e-05 2.632e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.433e-05 2.433e-05 2.433e-05 0.00% Castro::do_old_sources() 10 2.404e-05 2.404e-05 2.404e-05 0.00% Castro::do_new_sources() 10 1.957e-05 1.957e-05 1.957e-05 0.00% Amr::FinalizeInit() 1 1.869e-05 1.869e-05 1.869e-05 0.00% Castro::construct_old_source() 50 1.86e-05 1.86e-05 1.86e-05 0.00% DistributionMapping::Distribute() 56 1.797e-05 1.797e-05 1.797e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.722e-05 1.722e-05 1.722e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.687e-05 1.687e-05 1.687e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.387e-05 1.387e-05 1.387e-05 0.00% MLPoisson::prepareForSolve() 11 1.35e-05 1.35e-05 1.35e-05 0.00% Castro::check_for_nan() 20 1.269e-05 1.269e-05 1.269e-05 0.00% AmrLevel::checkPointPost() 3 1.223e-05 1.223e-05 1.223e-05 0.00% Castro::apply_source_to_state() 20 1.186e-05 1.186e-05 1.186e-05 0.00% MLLinOp::define() 11 1.181e-05 1.181e-05 1.181e-05 0.00% Castro::post_init() 1 1.018e-05 1.018e-05 1.018e-05 0.00% Castro::construct_old_gravity() 10 1.018e-05 1.018e-05 1.018e-05 0.00% Gravity::swapTimeLevels() 10 1.018e-05 1.018e-05 1.018e-05 0.00% Castro::computeNewDt() 9 9.797e-06 9.797e-06 9.797e-06 0.00% Amr::initSubcycle() 1 9.429e-06 9.429e-06 9.429e-06 0.00% MLMG::computeMLResidual() 11 9.012e-06 9.012e-06 9.012e-06 0.00% Gravity::actual_multilevel_solve() 1 7.97e-06 7.97e-06 7.97e-06 0.00% Castro::expand_state() 10 6.437e-06 6.437e-06 6.437e-06 0.00% MLMG::getGradSolution() 11 5.967e-06 5.967e-06 5.967e-06 0.00% Amr::InitializeInit() 1 5.726e-06 5.726e-06 5.726e-06 0.00% Amr::init() 1 5.327e-06 5.327e-06 5.327e-06 0.00% MLMG::MLRhsNormInf() 11 4.41e-06 4.41e-06 4.41e-06 0.00% Castro::retry_advance_ctu() 10 4.406e-06 4.406e-06 4.406e-06 0.00% Gravity::set_mass_offset() 11 3.772e-06 3.772e-06 3.772e-06 0.00% MLMG::MLResNormInf() 11 3.695e-06 3.695e-06 3.695e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.285e-06 3.285e-06 3.285e-06 0.00% Castro::computeInitialDt() 2 3.186e-06 3.186e-06 3.186e-06 0.00% Castro::FluxRegCrseInit 10 2.878e-06 2.878e-06 2.878e-06 0.00% AmrLevel::checkPointPre() 3 2.497e-06 2.497e-06 2.497e-06 0.00% Castro::FluxRegFineAdd() 10 2.28e-06 2.28e-06 2.28e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.972e-06 1.972e-06 1.972e-06 0.00% Castro::post_regrid() 1 1.088e-06 1.088e-06 1.088e-06 0.00% Amr::initialInit() 1 1.076e-06 1.076e-06 1.076e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8978 0.8978 0.8978 100.00% Amr::coarseTimeStep() 10 0.7533 0.7533 0.7533 83.91% Amr::timeStep() 10 0.6558 0.6558 0.6558 73.04% Castro::advance() 10 0.6456 0.6456 0.6456 71.90% Castro::subcycle_advance_ctu() 10 0.6318 0.6318 0.6318 70.38% Castro::do_advance_ctu() 10 0.6317 0.6317 0.6317 70.36% Castro::construct_ctu_hydro_source() 10 0.2974 0.2974 0.2974 33.12% Gravity::solve_phi_with_mlmg() 11 0.2894 0.2894 0.2894 32.23% Gravity::actual_solve_with_mlmg() 11 0.2803 0.2803 0.2803 31.21% Castro::construct_new_gravity() 10 0.2646 0.2646 0.2646 29.47% MLMG::solve() 11 0.2584 0.2584 0.2584 28.78% Gravity::solve_for_phi() 10 0.2484 0.2484 0.2484 27.67% MLMG::oneIter() 81 0.2432 0.2432 0.2432 27.09% MLMG::mgVcycle() 81 0.2396 0.2396 0.2396 26.68% VisMF::Write(FabArray) 11 0.1776 0.1776 0.1776 19.79% Amr::checkPoint() 3 0.1386 0.1386 0.1386 15.43% AmrLevel::checkPoint() 3 0.1316 0.1316 0.1316 14.66% StateData::checkPoint() 12 0.1315 0.1315 0.1315 14.65% MLCellLinOp::smooth() 1620 0.1205 0.1205 0.1205 13.42% Amr::init() 1 0.1193 0.1193 0.1193 13.28% MLCellLinOp::applyBC() 4298 0.112 0.112 0.112 12.48% MLMG::mgVcycle_bottom 81 0.07091 0.07091 0.07091 7.90% MLMG::actualBottomSolve() 81 0.07088 0.07088 0.07088 7.89% MLCGSolver::bicgstab 81 0.0701 0.0701 0.0701 7.81% Castro::clean_state() 62 0.05206 0.05206 0.05206 5.80% Amr::initialInit() 1 0.05045 0.05045 0.05045 5.62% Amr::writePlotFile() 2 0.04887 0.04887 0.04887 5.44% AmrLevel::FillPatch() 41 0.04819 0.04819 0.04819 5.37% Amr::FinalizeInit() 1 0.04531 0.04531 0.04531 5.05% FillPatchIterator::Initialize 41 0.04388 0.04388 0.04388 4.89% Castro::post_init() 1 0.04377 0.04377 0.04377 4.88% FillPatchIterator::FillFromLevel0() 41 0.0423 0.0423 0.0423 4.71% FillPatchSingleLevel 41 0.04225 0.04225 0.04225 4.71% Gravity::multilevel_solve_for_new_phi() 1 0.04141 0.04141 0.04141 4.61% Gravity::actual_multilevel_solve() 1 0.04139 0.04139 0.04139 4.61% StateDataPhysBCFunct::() 41 0.03812 0.03812 0.03812 4.25% MLCellLinOp::apply() 1047 0.03566 0.03566 0.03566 3.97% MLMG::mgVcycle_down::0 81 0.03457 0.03457 0.03457 3.85% MLPoisson::Fsmooth() 3240 0.03304 0.03304 0.03304 3.68% FabArray::FillBoundary() 3893 0.03273 0.03273 0.03273 3.65% FillBoundary_nowait() 3893 0.03196 0.03196 0.03196 3.56% StateData::FillBoundary(geom) 328 0.02647 0.02647 0.02647 2.95% MLMG::mgVcycle_up::0 81 0.02631 0.02631 0.02631 2.93% Castro::initialize_do_advance() 10 0.02106 0.02106 0.02106 2.35% amrex::Dot() 1100 0.02083 0.02083 0.02083 2.32% Castro::computeTemp() 63 0.02069 0.02069 0.02069 2.30% MLMG:computeResOfCorrection() 405 0.02015 0.02015 0.02015 2.24% MLCellLinOp::correctionResidual() 405 0.02003 0.02003 0.02003 2.23% FabArray::norminf() 1048 0.01943 0.01943 0.01943 2.16% Gravity::get_new_grav_vector() 11 0.01812 0.01812 0.01812 2.02% Castro::do_old_sources() 10 0.01797 0.01797 0.01797 2.00% Castro::normalize_species() 62 0.0179 0.0179 0.0179 1.99% MLPoisson::define() 11 0.01714 0.01714 0.01714 1.91% MLMG::mgVcycle_down::1 81 0.01635 0.01635 0.01635 1.82% Castro::construct_old_gravity() 10 0.01538 0.01538 0.01538 1.71% Gravity::get_old_grav_vector() 10 0.01537 0.01537 0.01537 1.71% MLMG::mgVcycle_down::2 81 0.01517 0.01517 0.01517 1.69% MLMG::mgVcycle_down::3 81 0.01481 0.01481 0.01481 1.65% MLMG::mgVcycle_down::4 81 0.01469 0.01469 0.01469 1.64% FabArray::ParallelCopy() 851 0.01459 0.01459 0.01459 1.63% FabArray::ParallelCopy_nowait() 851 0.01435 0.01435 0.01435 1.60% FabArray::setVal() 1054 0.01317 0.01317 0.01317 1.47% Castro::initialize_advance() 10 0.01303 0.01303 0.01303 1.45% FabArray::Saxpy() 1353 0.01281 0.01281 0.01281 1.43% MLCGSolver::ParallelAllReduce 1809 0.01251 0.01251 0.01251 1.39% MLMG::addInterpCorrection() 405 0.01209 0.01209 0.01209 1.35% Castro::do_new_sources() 10 0.012 0.012 0.012 1.34% Castro::expand_state() 10 0.01197 0.01197 0.01197 1.33% MLMG::mgVcycle_up::1 81 0.01184 0.01184 0.01184 1.32% MLMG::mgVcycle_up::4 81 0.01176 0.01176 0.01176 1.31% MLCellLinOp::defineAuxData() 11 0.0117 0.0117 0.0117 1.30% MLMG::mgVcycle_up::2 81 0.01157 0.01157 0.01157 1.29% MLMG::mgVcycle_up::3 81 0.01138 0.01138 0.01138 1.27% amrex::average_down 405 0.01134 0.01134 0.01134 1.26% amrex::Copy() 469 0.01085 0.01085 0.01085 1.21% Castro::enforce_min_density() 62 0.0107 0.0107 0.0107 1.19% MLPoisson::Fapply() 1047 0.01006 0.01006 0.01006 1.12% Castro::post_timestep() 10 0.01004 0.01004 0.01004 1.12% Gravity::fill_multipole_BCs() 11 0.008924 0.008924 0.008924 0.99% FabArray::Xpay() 730 0.007648 0.007648 0.007648 0.85% MLCellLinOp::solutionResidual() 92 0.007605 0.007605 0.007605 0.85% Castro::reset_internal_energy(MultiFab) 63 0.006611 0.006611 0.006611 0.74% MLMG::computeResidual() 81 0.006379 0.006379 0.006379 0.71% Castro::estTimeStep() 21 0.005511 0.005511 0.005511 0.61% MLCellLinOp::defineBC() 11 0.005171 0.005171 0.005171 0.58% Amr::InitializeInit() 1 0.005143 0.005143 0.005143 0.57% Amr::defBaseLevel() 1 0.005137 0.005137 0.005137 0.57% MLMG::prepareForSolve() 11 0.005081 0.005081 0.005081 0.57% BndryData::define() 11 0.004904 0.004904 0.004904 0.55% Castro::initData() 1 0.004499 0.004499 0.004499 0.50% Castro::enforce_speed_limit() 62 0.003602 0.003602 0.003602 0.40% amrex::Add() 81 0.003602 0.003602 0.003602 0.40% Castro::construct_new_source() 50 0.003481 0.003481 0.003481 0.39% Castro::construct_new_gravity_source() 10 0.003377 0.003377 0.003377 0.38% Castro::construct_old_source() 50 0.002779 0.002779 0.002779 0.31% Castro::construct_old_gravity_source() 10 0.00276 0.00276 0.00276 0.31% Castro::computeNewDt() 9 0.002546 0.002546 0.002546 0.28% Castro::finalize_do_advance() 10 0.00231 0.00231 0.00231 0.26% MLMG::ResNormInf() 92 0.002153 0.002153 0.002153 0.24% 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% check_for_negative_density() 10 0.001665 0.001665 0.001665 0.19% Castro::reset_internal_energy(Fab) 504 0.001601 0.001601 0.001601 0.18% MLCellLinOp::setLevelBC() 11 0.001591 0.001591 0.001591 0.18% MLMG::getGradSolution() 11 0.001568 0.001568 0.001568 0.17% MLCellLinOp::compGrad() 11 0.001562 0.001562 0.001562 0.17% FabArrayBase::getCPC() 1313 0.001458 0.001458 0.001458 0.16% FabArray::mult() 43 0.00139 0.00139 0.00139 0.15% FabArray::setDomainBndry() 41 0.00137 0.00137 0.00137 0.15% MLPoisson::prepareForSolve() 11 0.001326 0.001326 0.001326 0.15% MLCellLinOp::prepareForSolve() 11 0.001313 0.001313 0.001313 0.15% Castro::check_for_nan() 20 0.001294 0.001294 0.001294 0.14% MultiFab::contains_nan() 20 0.001281 0.001281 0.001281 0.14% MLMG::computeMLResidual() 11 0.001266 0.001266 0.001266 0.14% Castro::post_regrid() 1 0.00122 0.00122 0.00122 0.14% Gravity::update_max_rhs() 11 0.00103 0.00103 0.00103 0.11% Castro::computeInitialDt() 2 0.0007122 0.0007122 0.0007122 0.08% FabArrayBase::getFB() 3893 0.0006922 0.0006922 0.0006922 0.08% FabArrayBase::CPC::define() 454 0.0006848 0.0006848 0.0006848 0.08% Castro::finalize_advance() 10 0.0006154 0.0006154 0.0006154 0.07% Castro::Castro() 1 0.0005464 0.0005464 0.0005464 0.06% Amr::InitAmr() 1 0.0005375 0.0005375 0.0005375 0.06% Gravity::swapTimeLevels() 10 0.0004791 0.0004791 0.0004791 0.05% MLMG::MLResNormInf() 11 0.0003361 0.0003361 0.0003361 0.04% MultiFab::max() 11 0.0003334 0.0003334 0.0003334 0.04% Castro::buildMetrics() 1 0.0002582 0.0002582 0.0002582 0.03% MLLinOp::define() 11 0.0002482 0.0002482 0.0002482 0.03% MLLinOp::defineGrids() 11 0.0002364 0.0002364 0.0002364 0.03% MLMG::MLRhsNormInf() 11 0.000231 0.000231 0.000231 0.03% Castro::create_source_corrector() 10 0.0001758 0.0001758 0.0001758 0.02% FabArrayBase::FB::FB() 56 8.92e-05 8.92e-05 8.92e-05 0.01% Castro::enforce_consistent_e() 1 6.532e-05 6.532e-05 6.532e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.994e-05 5.994e-05 5.994e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.746e-05 5.746e-05 5.746e-05 0.01% makeSFC 55 4.359e-05 4.359e-05 4.359e-05 0.00% StateData::define() 4 4.308e-05 4.308e-05 4.308e-05 0.00% Castro::swap_state_time_levels() 10 3.775e-05 3.775e-05 3.775e-05 0.00% Amr::writeSmallPlotFile() 1 3.184e-05 3.184e-05 3.184e-05 0.00% Castro::initMFs() 1 2.974e-05 2.974e-05 2.974e-05 0.00% DistributionMapping::Distribute() 56 1.797e-05 1.797e-05 1.797e-05 0.00% AmrLevel::checkPointPost() 3 1.223e-05 1.223e-05 1.223e-05 0.00% Amr::initSubcycle() 1 9.429e-06 9.429e-06 9.429e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.469e-06 4.469e-06 4.469e-06 0.00% Castro::retry_advance_ctu() 10 4.406e-06 4.406e-06 4.406e-06 0.00% Gravity::set_mass_offset() 11 3.772e-06 3.772e-06 3.772e-06 0.00% Castro::FluxRegCrseInit 10 2.878e-06 2.878e-06 2.878e-06 0.00% AmrLevel::checkPointPre() 3 2.497e-06 2.497e-06 2.497e-06 0.00% Castro::FluxRegFineAdd() 10 2.28e-06 2.28e-06 2.28e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.972e-06 1.972e-06 1.972e-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 5339 KiB 9037 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1043 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1519 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7620 KiB 14 MiB MLMG::prepareForSolve() 660 660 3540 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 209 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 175 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7515 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 16 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2195 B 2048 KiB Gravity::solve_for_phi() 80 80 566 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 94 KiB 2048 KiB BndryData::define() 1056 1056 323 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 206 KiB 671 KiB Castro::estTimeStep() 21 21 2986 B 480 KiB VisMF::Write(FabArray) 656 656 3421 B 320 KiB Castro::normalize_species() 62 62 6489 B 320 KiB amrex::average_down 1054 1054 1596 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1162 B 257 KiB amrex::Dot() 1343 1343 3423 B 160 KiB FabArray::norminf() 1129 1129 3337 B 160 KiB check_for_negative_density() 10 10 296 B 160 KiB Castro::initData() 1 1 50 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3456 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 306 B 9648 B MLCellLinOp::applyBC() 8596 8596 220 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3928 B 6144 B StateData::FillBoundary(geom) 1992 1992 45 B 2912 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 364 B 1248 B MLCGSolver::bicgstab 405 405 94 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 568 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 40 KiB 8192 KiB VisMF::Write(FabArray) 744 744 409 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3456 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 305 B 9648 B MLCellLinOp::applyBC() 4298 4298 218 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3928 B 6144 B Gravity::get_new_grav_vector() 3 3 2901 B 3072 B StateData::FillBoundary(geom) 1992 1992 45 B 2912 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 82 82 617 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 295 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 25 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): 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-34-g9e8f8d60eca3) finalized Initializing AMReX (v2024-34-g9e8f8d60eca3)... Initializing CUDA... CUDA initialized with 1 device. AMReX (v2024-34-g9e8f8d60eca3) initialized Starting run at 09:11:13 UTC on 2024-03-26. Successfully read inputs file ... Castro git describe: 24.03-26-g5707c0c2f AMReX git describe: v2024-34-g9e8f8d60e 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.499333433 Restart time = 0.07283909 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.067951001 [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.055469516 [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.067947978 [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.071730228 [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.069175727 [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.027223329 seconds Ending run at 09:11:14 UTC on 2024-03-26. Run time = 0.433369271 Run time without initialization = 0.359910672 Average number of zones advanced per microsecond: 3.642 Average number of zones advanced per microsecond per rank: 3.642 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4334 ... 0.4334 ... 0.4334 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1432 0.1432 0.1432 33.03% VisMF::Read() 3 0.06164 0.06164 0.06164 14.22% MLCellLinOp::applyBC() 1910 0.03516 0.03516 0.03516 8.11% VisMF::Write(FabArray) 1 0.02446 0.02446 0.02446 5.64% MLPoisson::Fsmooth() 1440 0.01466 0.01466 0.01466 3.38% StateData::FillBoundary(geom) 160 0.01293 0.01293 0.01293 2.98% FillBoundary_nowait() 1730 0.01291 0.01291 0.01291 2.98% amrex::Dot() 484 0.009124 0.009124 0.009124 2.11% Castro::normalize_species() 30 0.009122 0.009122 0.009122 2.10% FabArray::norminf() 465 0.008555 0.008555 0.008555 1.97% Castro::computeTemp() 30 0.006657 0.006657 0.006657 1.54% FabArray::setVal() 501 0.006518 0.006518 0.006518 1.50% FabArray::ParallelCopy_nowait() 380 0.006163 0.006163 0.006163 1.42% FabArray::Saxpy() 597 0.005786 0.005786 0.005786 1.33% MLCellLinOp::defineAuxData() 6 0.005622 0.005622 0.005622 1.30% amrex::Copy() 221 0.005432 0.005432 0.005432 1.25% Castro::enforce_min_density() 30 0.00525 0.00525 0.00525 1.21% Amr::restart() 1 0.004884 0.004884 0.004884 1.13% StateDataPhysBCFunct::() 20 0.004629 0.004629 0.004629 1.07% Gravity::fill_multipole_BCs() 6 0.004537 0.004537 0.004537 1.05% MLPoisson::Fapply() 464 0.004436 0.004436 0.004436 1.02% FabArray::Xpay() 325 0.003431 0.003431 0.003431 0.79% MLMG::addInterpCorrection() 180 0.003096 0.003096 0.003096 0.71% Castro::estTimeStep() 10 0.003072 0.003072 0.003072 0.71% amrex::average_down 180 0.002746 0.002746 0.002746 0.63% Amr::writePlotFile() 1 0.002584 0.002584 0.002584 0.60% BndryData::define() 6 0.002127 0.002127 0.002127 0.49% Castro::reset_internal_energy(MultiFab) 30 0.002059 0.002059 0.002059 0.48% Castro::construct_new_gravity_source() 5 0.001599 0.001599 0.001599 0.37% Castro::reset_internal_energy(Fab) 240 0.001597 0.001597 0.001597 0.37% amrex::Add() 36 0.001544 0.001544 0.001544 0.36% Castro::subcycle_advance_ctu() 5 0.001248 0.001248 0.001248 0.29% Castro::construct_old_gravity_source() 5 0.001158 0.001158 0.001158 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009639 0.0009639 0.0009639 0.22% check_for_negative_density() 5 0.0009065 0.0009065 0.0009065 0.21% MLCellLinOp::setLevelBC() 6 0.0008635 0.0008635 0.0008635 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008544 0.0008544 0.0008544 0.20% MLCGSolver::bicgstab 36 0.0007578 0.0007578 0.0007578 0.17% MLCellLinOp::prepareForSolve() 6 0.0007508 0.0007508 0.0007508 0.17% FabArray::mult() 22 0.0006994 0.0006994 0.0006994 0.16% FabArray::setDomainBndry() 20 0.0006855 0.0006855 0.0006855 0.16% MultiFab::contains_nan() 10 0.0006621 0.0006621 0.0006621 0.15% MLCellLinOp::compGrad() 6 0.0006018 0.0006018 0.0006018 0.14% MLMG::prepareForSolve() 6 0.0005518 0.0005518 0.0005518 0.13% MLCellLinOp::smooth() 720 0.0005392 0.0005392 0.0005392 0.12% Amr::InitAmr() 1 0.000457 0.000457 0.000457 0.11% Castro::enforce_speed_limit() 30 0.0004372 0.0004372 0.0004372 0.10% FabArrayBase::CPC::define() 244 0.0004326 0.0004326 0.0004326 0.10% FabArrayBase::getCPC() 632 0.0003757 0.0003757 0.0003757 0.09% FabArray::FillBoundary() 1730 0.0003417 0.0003417 0.0003417 0.08% Gravity::get_old_grav_vector() 5 0.0002995 0.0002995 0.0002995 0.07% main() 1 0.0002687 0.0002687 0.0002687 0.06% FabArrayBase::getFB() 1730 0.0002633 0.0002633 0.0002633 0.06% Gravity::get_new_grav_vector() 5 0.0002332 0.0002332 0.0002332 0.05% MultiFab::max() 6 0.0002103 0.0002103 0.0002103 0.05% AmrLevel::FillPatch() 20 0.0002036 0.0002036 0.0002036 0.05% MLCellLinOp::apply() 464 0.0002018 0.0002018 0.0002018 0.05% MLCellLinOp::defineBC() 6 0.0001553 0.0001553 0.0001553 0.04% Amr::coarseTimeStep() 5 0.0001533 0.0001533 0.0001533 0.04% MLCGSolver::ParallelAllReduce 798 0.0001404 0.0001404 0.0001404 0.03% Castro::construct_new_source() 25 0.0001345 0.0001345 0.0001345 0.03% MLLinOp::defineGrids() 6 0.0001114 0.0001114 0.0001114 0.03% FabArray::ParallelCopy() 380 0.0001113 0.0001113 0.0001113 0.03% FillPatchIterator::Initialize 20 0.0001067 0.0001067 0.0001067 0.02% MLMG::mgVcycle() 36 0.0001006 0.0001006 0.0001006 0.02% Amr::timeStep() 5 9.455e-05 9.455e-05 9.455e-05 0.02% Castro::create_source_corrector() 5 8.905e-05 8.905e-05 8.905e-05 0.02% Castro::do_new_sources() 5 8.498e-05 8.498e-05 8.498e-05 0.02% MLCellLinOp::correctionResidual() 180 8.041e-05 8.041e-05 8.041e-05 0.02% AmrLevel::restart() 1 7.698e-05 7.698e-05 7.698e-05 0.02% Gravity::update_max_rhs() 6 6.818e-05 6.818e-05 6.818e-05 0.02% StateData::restartDoit() 4 6.745e-05 6.745e-05 6.745e-05 0.02% Castro::finalize_do_advance() 5 6.72e-05 6.72e-05 6.72e-05 0.02% FabArrayBase::FB::FB() 26 5.67e-05 5.67e-05 5.67e-05 0.01% Castro::advance() 5 5.633e-05 5.633e-05 5.633e-05 0.01% MLMG:computeResOfCorrection() 180 5.459e-05 5.459e-05 5.459e-05 0.01% Gravity::solve_for_phi() 5 5.332e-05 5.332e-05 5.332e-05 0.01% MLMG::mgVcycle_down::0 36 4.31e-05 4.31e-05 4.31e-05 0.01% MLMG::actualBottomSolve() 36 3.832e-05 3.832e-05 3.832e-05 0.01% Castro::initialize_advance() 5 3.717e-05 3.717e-05 3.717e-05 0.01% MLMG::solve() 6 3.716e-05 3.716e-05 3.716e-05 0.01% MLMG::mgVcycle_down::1 36 3.608e-05 3.608e-05 3.608e-05 0.01% Castro::buildMetrics() 1 3.56e-05 3.56e-05 3.56e-05 0.01% Castro::construct_old_source() 25 3.521e-05 3.521e-05 3.521e-05 0.01% Castro::clean_state() 30 3.458e-05 3.458e-05 3.458e-05 0.01% MLMG::mgVcycle_down::2 36 3.418e-05 3.418e-05 3.418e-05 0.01% MLMG::mgVcycle_down::4 36 3.181e-05 3.181e-05 3.181e-05 0.01% MLMG::mgVcycle_down::3 36 3.122e-05 3.122e-05 3.122e-05 0.01% Castro::finalize_advance() 5 3.106e-05 3.106e-05 3.106e-05 0.01% Castro::initialize_do_advance() 5 3.022e-05 3.022e-05 3.022e-05 0.01% Amr::writeSmallPlotFile() 1 3.003e-05 3.003e-05 3.003e-05 0.01% Castro::post_restart() 1 2.945e-05 2.945e-05 2.945e-05 0.01% MLMG::mgVcycle_up::4 36 2.851e-05 2.851e-05 2.851e-05 0.01% Castro::post_timestep() 5 2.741e-05 2.741e-05 2.741e-05 0.01% Castro::swap_state_time_levels() 5 2.581e-05 2.581e-05 2.581e-05 0.01% MLMG::oneIter() 36 2.507e-05 2.507e-05 2.507e-05 0.01% MLCellLinOp::solutionResidual() 42 2.482e-05 2.482e-05 2.482e-05 0.01% Castro::initMFs() 1 2.401e-05 2.401e-05 2.401e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.395e-05 2.395e-05 2.395e-05 0.01% Castro::do_advance_ctu() 5 2.386e-05 2.386e-05 2.386e-05 0.01% MLPoisson::define() 6 2.263e-05 2.263e-05 2.263e-05 0.01% MLMG::mgVcycle_up::3 36 2.247e-05 2.247e-05 2.247e-05 0.01% MLMG::mgVcycle_up::2 36 2.049e-05 2.049e-05 2.049e-05 0.00% MLMG::mgVcycle_up::0 36 2.03e-05 2.03e-05 2.03e-05 0.00% MLMG::mgVcycle_up::1 36 1.974e-05 1.974e-05 1.974e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.639e-05 1.639e-05 1.639e-05 0.00% MLMG::ResNormInf() 42 1.631e-05 1.631e-05 1.631e-05 0.00% makeSFC 30 1.572e-05 1.572e-05 1.572e-05 0.00% FillPatchSingleLevel 20 1.554e-05 1.554e-05 1.554e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.531e-05 1.531e-05 1.531e-05 0.00% MLMG::computeResidual() 36 1.49e-05 1.49e-05 1.49e-05 0.00% MLMG::mgVcycle_bottom 36 1.466e-05 1.466e-05 1.466e-05 0.00% Castro::construct_new_gravity() 5 1.265e-05 1.265e-05 1.265e-05 0.00% Castro::do_old_sources() 5 1.186e-05 1.186e-05 1.186e-05 0.00% DistributionMapping::Distribute() 31 1.029e-05 1.029e-05 1.029e-05 0.00% MLPoisson::prepareForSolve() 6 9.452e-06 9.452e-06 9.452e-06 0.00% Amr::initSubcycle() 1 9.129e-06 9.129e-06 9.129e-06 0.00% Gravity::actual_multilevel_solve() 1 8.178e-06 8.178e-06 8.178e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.934e-06 7.934e-06 7.934e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 7.394e-06 7.394e-06 7.394e-06 0.00% MLLinOp::define() 6 6.518e-06 6.518e-06 6.518e-06 0.00% Castro::apply_source_to_state() 10 6.228e-06 6.228e-06 6.228e-06 0.00% Castro::check_for_nan() 10 6.076e-06 6.076e-06 6.076e-06 0.00% Castro::construct_old_gravity() 5 5.428e-06 5.428e-06 5.428e-06 0.00% Gravity::swapTimeLevels() 5 4.653e-06 4.653e-06 4.653e-06 0.00% MLMG::computeMLResidual() 6 3.81e-06 3.81e-06 3.81e-06 0.00% MLMG::getGradSolution() 6 3.41e-06 3.41e-06 3.41e-06 0.00% Castro::computeNewDt() 5 3.383e-06 3.383e-06 3.383e-06 0.00% Castro::expand_state() 5 3.352e-06 3.352e-06 3.352e-06 0.00% Amr::init() 1 3.126e-06 3.126e-06 3.126e-06 0.00% MLMG::MLRhsNormInf() 6 2.378e-06 2.378e-06 2.378e-06 0.00% MLMG::MLResNormInf() 6 2.273e-06 2.273e-06 2.273e-06 0.00% Castro::retry_advance_ctu() 5 2.177e-06 2.177e-06 2.177e-06 0.00% Gravity::set_mass_offset() 6 2.035e-06 2.035e-06 2.035e-06 0.00% Castro::FluxRegCrseInit 5 1.759e-06 1.759e-06 1.759e-06 0.00% Castro::FluxRegFineAdd() 5 1.519e-06 1.519e-06 1.519e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.073e-06 1.073e-06 1.073e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4334 0.4334 0.4334 100.00% Amr::coarseTimeStep() 5 0.3324 0.3324 0.3324 76.70% Amr::timeStep() 5 0.3302 0.3302 0.3302 76.18% Castro::advance() 5 0.3259 0.3259 0.3259 75.20% Castro::subcycle_advance_ctu() 5 0.3192 0.3192 0.3192 73.66% Castro::do_advance_ctu() 5 0.318 0.318 0.318 73.37% Castro::construct_ctu_hydro_source() 5 0.1482 0.1482 0.1482 34.20% Castro::construct_new_gravity() 5 0.1338 0.1338 0.1338 30.87% Gravity::solve_phi_with_mlmg() 6 0.131 0.131 0.131 30.24% Gravity::actual_solve_with_mlmg() 6 0.1262 0.1262 0.1262 29.13% Gravity::solve_for_phi() 5 0.1259 0.1259 0.1259 29.04% MLMG::solve() 6 0.1142 0.1142 0.1142 26.35% MLMG::oneIter() 36 0.1066 0.1066 0.1066 24.58% MLMG::mgVcycle() 36 0.105 0.105 0.105 24.22% Amr::init() 1 0.07289 0.07289 0.07289 16.82% Amr::restart() 1 0.07288 0.07288 0.07288 16.82% AmrLevel::restart() 1 0.06202 0.06202 0.06202 14.31% StateData::restartDoit() 4 0.06193 0.06193 0.06193 14.29% VisMF::Read() 3 0.06164 0.06164 0.06164 14.22% MLCellLinOp::smooth() 720 0.05243 0.05243 0.05243 12.10% MLCellLinOp::applyBC() 1910 0.04873 0.04873 0.04873 11.24% MLMG::mgVcycle_bottom 36 0.03123 0.03123 0.03123 7.21% MLMG::actualBottomSolve() 36 0.03122 0.03122 0.03122 7.20% MLCGSolver::bicgstab 36 0.03086 0.03086 0.03086 7.12% Amr::writePlotFile() 1 0.02731 0.02731 0.02731 6.30% Castro::clean_state() 30 0.02516 0.02516 0.02516 5.80% VisMF::Write(FabArray) 1 0.02446 0.02446 0.02446 5.64% AmrLevel::FillPatch() 20 0.02255 0.02255 0.02255 5.20% FillPatchIterator::Initialize 20 0.02045 0.02045 0.02045 4.72% FillPatchIterator::FillFromLevel0() 20 0.01966 0.01966 0.01966 4.54% FillPatchSingleLevel 20 0.01963 0.01963 0.01963 4.53% StateDataPhysBCFunct::() 20 0.01756 0.01756 0.01756 4.05% MLCellLinOp::apply() 464 0.01584 0.01584 0.01584 3.66% MLMG::mgVcycle_down::0 36 0.01497 0.01497 0.01497 3.45% MLPoisson::Fsmooth() 1440 0.01466 0.01466 0.01466 3.38% FabArray::FillBoundary() 1730 0.01357 0.01357 0.01357 3.13% FillBoundary_nowait() 1730 0.01323 0.01323 0.01323 3.05% StateData::FillBoundary(geom) 160 0.01293 0.01293 0.01293 2.98% MLMG::mgVcycle_up::0 36 0.01121 0.01121 0.01121 2.59% Castro::computeTemp() 30 0.01031 0.01031 0.01031 2.38% Castro::initialize_do_advance() 5 0.01023 0.01023 0.01023 2.36% Castro::do_old_sources() 5 0.009812 0.009812 0.009812 2.26% MLPoisson::define() 6 0.009457 0.009457 0.009457 2.18% amrex::Dot() 484 0.009124 0.009124 0.009124 2.11% Castro::normalize_species() 30 0.009122 0.009122 0.009122 2.10% MLMG:computeResOfCorrection() 180 0.008812 0.008812 0.008812 2.03% MLCellLinOp::correctionResidual() 180 0.008758 0.008758 0.008758 2.02% FabArray::norminf() 465 0.008555 0.008555 0.008555 1.97% Gravity::get_new_grav_vector() 5 0.007821 0.007821 0.007821 1.80% Castro::construct_old_gravity() 5 0.007692 0.007692 0.007692 1.77% Gravity::get_old_grav_vector() 5 0.007686 0.007686 0.007686 1.77% MLMG::mgVcycle_down::1 36 0.007335 0.007335 0.007335 1.69% Castro::do_new_sources() 5 0.006698 0.006698 0.006698 1.55% MLMG::mgVcycle_down::2 36 0.006697 0.006697 0.006697 1.55% FabArray::ParallelCopy() 380 0.006667 0.006667 0.006667 1.54% FabArray::ParallelCopy_nowait() 380 0.006556 0.006556 0.006556 1.51% FabArray::setVal() 501 0.006518 0.006518 0.006518 1.50% MLMG::mgVcycle_down::3 36 0.006486 0.006486 0.006486 1.50% MLCellLinOp::defineAuxData() 6 0.006424 0.006424 0.006424 1.48% MLMG::mgVcycle_down::4 36 0.006412 0.006412 0.006412 1.48% Castro::initialize_advance() 5 0.006303 0.006303 0.006303 1.45% Castro::post_restart() 1 0.005787 0.005787 0.005787 1.34% FabArray::Saxpy() 597 0.005786 0.005786 0.005786 1.33% Castro::expand_state() 5 0.005577 0.005577 0.005577 1.29% MLCGSolver::ParallelAllReduce 798 0.005532 0.005532 0.005532 1.28% amrex::Copy() 221 0.005432 0.005432 0.005432 1.25% Gravity::multilevel_solve_for_new_phi() 1 0.005409 0.005409 0.005409 1.25% Gravity::actual_multilevel_solve() 1 0.005393 0.005393 0.005393 1.24% MLMG::addInterpCorrection() 180 0.005374 0.005374 0.005374 1.24% Castro::enforce_min_density() 30 0.00525 0.00525 0.00525 1.21% MLMG::mgVcycle_up::1 36 0.005233 0.005233 0.005233 1.21% MLMG::mgVcycle_up::4 36 0.005183 0.005183 0.005183 1.20% MLMG::mgVcycle_up::2 36 0.005117 0.005117 0.005117 1.18% amrex::average_down 180 0.005077 0.005077 0.005077 1.17% MLMG::mgVcycle_up::3 36 0.005001 0.005001 0.005001 1.15% Gravity::fill_multipole_BCs() 6 0.004665 0.004665 0.004665 1.08% MLPoisson::Fapply() 464 0.004436 0.004436 0.004436 1.02% Castro::post_timestep() 5 0.004187 0.004187 0.004187 0.97% Castro::reset_internal_energy(MultiFab) 30 0.003656 0.003656 0.003656 0.84% MLCellLinOp::solutionResidual() 42 0.003602 0.003602 0.003602 0.83% FabArray::Xpay() 325 0.003431 0.003431 0.003431 0.79% Castro::estTimeStep() 10 0.003072 0.003072 0.003072 0.71% MLMG::prepareForSolve() 6 0.002867 0.002867 0.002867 0.66% MLCellLinOp::defineBC() 6 0.002859 0.002859 0.002859 0.66% MLMG::computeResidual() 36 0.002804 0.002804 0.002804 0.65% BndryData::define() 6 0.002704 0.002704 0.002704 0.62% Castro::computeNewDt() 5 0.002087 0.002087 0.002087 0.48% Castro::construct_new_source() 25 0.001733 0.001733 0.001733 0.40% Castro::construct_new_gravity_source() 5 0.001599 0.001599 0.001599 0.37% Castro::reset_internal_energy(Fab) 240 0.001597 0.001597 0.001597 0.37% amrex::Add() 36 0.001544 0.001544 0.001544 0.36% Castro::construct_old_source() 25 0.001193 0.001193 0.001193 0.28% Castro::construct_old_gravity_source() 5 0.001158 0.001158 0.001158 0.27% Castro::finalize_do_advance() 5 0.001055 0.001055 0.001055 0.24% MLMG::ResNormInf() 42 0.0009808 0.0009808 0.0009808 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009639 0.0009639 0.0009639 0.22% Castro::apply_source_to_state() 10 0.0009635 0.0009635 0.0009635 0.22% check_for_negative_density() 5 0.0009065 0.0009065 0.0009065 0.21% MLMG::getGradSolution() 6 0.0008915 0.0008915 0.0008915 0.21% MLCellLinOp::compGrad() 6 0.0008881 0.0008881 0.0008881 0.20% MLCellLinOp::setLevelBC() 6 0.0008635 0.0008635 0.0008635 0.20% MLMG::computeMLResidual() 6 0.000816 0.000816 0.000816 0.19% FabArrayBase::getCPC() 632 0.0008084 0.0008084 0.0008084 0.19% MLPoisson::prepareForSolve() 6 0.0007603 0.0007603 0.0007603 0.18% MLCellLinOp::prepareForSolve() 6 0.0007508 0.0007508 0.0007508 0.17% Gravity::update_max_rhs() 6 0.0007273 0.0007273 0.0007273 0.17% FabArray::mult() 22 0.0006994 0.0006994 0.0006994 0.16% FabArray::setDomainBndry() 20 0.0006855 0.0006855 0.0006855 0.16% Castro::check_for_nan() 10 0.0006682 0.0006682 0.0006682 0.15% MultiFab::contains_nan() 10 0.0006621 0.0006621 0.0006621 0.15% Amr::InitAmr() 1 0.0004661 0.0004661 0.0004661 0.11% Castro::enforce_speed_limit() 30 0.0004372 0.0004372 0.0004372 0.10% FabArrayBase::CPC::define() 244 0.0004326 0.0004326 0.0004326 0.10% FabArrayBase::getFB() 1730 0.00032 0.00032 0.00032 0.07% Castro::finalize_advance() 5 0.0003027 0.0003027 0.0003027 0.07% Gravity::swapTimeLevels() 5 0.0002481 0.0002481 0.0002481 0.06% MultiFab::max() 6 0.0002103 0.0002103 0.0002103 0.05% MLMG::MLResNormInf() 6 0.0001906 0.0001906 0.0001906 0.04% Castro::buildMetrics() 1 0.000169 0.000169 0.000169 0.04% MLLinOp::define() 6 0.0001515 0.0001515 0.0001515 0.03% MLLinOp::defineGrids() 6 0.000145 0.000145 0.000145 0.03% MLMG::MLRhsNormInf() 6 0.0001211 0.0001211 0.0001211 0.03% Castro::create_source_corrector() 5 8.905e-05 8.905e-05 8.905e-05 0.02% FabArrayBase::FB::FB() 26 5.67e-05 5.67e-05 5.67e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.254e-05 3.254e-05 3.254e-05 0.01% Amr::writeSmallPlotFile() 1 3.003e-05 3.003e-05 3.003e-05 0.01% Castro::swap_state_time_levels() 5 2.581e-05 2.581e-05 2.581e-05 0.01% makeSFC 30 2.461e-05 2.461e-05 2.461e-05 0.01% Castro::initMFs() 1 2.401e-05 2.401e-05 2.401e-05 0.01% DistributionMapping::Distribute() 31 1.029e-05 1.029e-05 1.029e-05 0.00% Amr::initSubcycle() 1 9.129e-06 9.129e-06 9.129e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 8.794e-06 8.794e-06 8.794e-06 0.00% Castro::retry_advance_ctu() 5 2.177e-06 2.177e-06 2.177e-06 0.00% Gravity::set_mass_offset() 6 2.035e-06 2.035e-06 2.035e-06 0.00% Castro::FluxRegCrseInit 5 1.759e-06 1.759e-06 1.759e-06 0.00% Castro::FluxRegFineAdd() 5 1.519e-06 1.519e-06 1.519e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.073e-06 1.073e-06 1.073e-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 10 MiB 9037 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1015 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1669 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 6396 KiB 14 MiB MLMG::prepareForSolve() 361 361 3234 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 183 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 184 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6383 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 16 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3329 B 2048 KiB Gravity::solve_for_phi() 40 40 593 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 298 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 191 KiB 671 KiB Castro::estTimeStep() 10 10 3367 B 480 KiB VisMF::Write(FabArray) 112 112 1260 B 320 KiB Castro::normalize_species() 30 30 6851 B 320 KiB amrex::average_down 469 469 1382 B 257 KiB MLMG::addInterpCorrection() 468 468 1064 B 257 KiB amrex::Dot() 592 592 3105 B 160 KiB FabArray::norminf() 501 501 3045 B 160 KiB check_for_negative_density() 5 5 335 B 160 KiB MultiFab::max() 6 6 76 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3133 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 258 B 9648 B MLCellLinOp::applyBC() 3820 3820 203 B 9344 B amrex::Copy() 56 56 5826 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 40 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 335 B 1248 B MLCGSolver::bicgstab 180 180 85 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1199 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 83 KiB 8192 KiB VisMF::Write(FabArray) 120 120 155 KiB 3584 KiB VisMF::Read() 24 24 216 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3133 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 258 B 9648 B MLCellLinOp::applyBC() 1910 1910 201 B 9328 B amrex::Copy() 56 56 5826 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2507 B 3072 B StateData::FillBoundary(geom) 960 960 41 B 3024 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B MLMG::prepareForSolve() 7 7 789 B 1648 B amrex::average_down 37 37 459 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 501 501 8 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2180 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (v2024-34-g9e8f8d60eca3) finalized