Initializing AMReX (v2024-27-ga9b452ab5e8b)... Initializing CUDA... CUDA initialized with 1 device. AMReX (v2024-27-ga9b452ab5e8b) initialized Starting run at 08:40:48 UTC on 2024-03-21. Successfully read inputs file ... Castro git describe: 24.03-25-g09bde5fae AMReX git describe: v2024-27-ga9b452ab5 Microphysics git describe: 24.03-20-gb934b16f 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.046240102 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025435791 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.063355517 [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.049905598 [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.077478639 [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.077249686 [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.06762588 [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.05314732 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.066268439 [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.074556683 [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.074503511 [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.059932911 [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.069271656 [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.045203636 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025373916 seconds Ending run at 08:40:48 UTC on 2024-03-21. Run time = 0.931422466 Run time without initialization = 0.804543681 Average number of zones advanced per microsecond: 3.258 Average number of zones advanced per microsecond per rank: 3.258 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9315 ... 0.9315 ... 0.9315 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2922 0.2922 0.2922 31.38% VisMF::Write(FabArray) 11 0.1858 0.1858 0.1858 19.95% MLCellLinOp::applyBC() 4351 0.08161 0.08161 0.08161 8.76% MLPoisson::Fsmooth() 3280 0.03398 0.03398 0.03398 3.65% FillBoundary_nowait() 3941 0.03112 0.03112 0.03112 3.34% StateData::FillBoundary(geom) 328 0.02697 0.02697 0.02697 2.90% amrex::Dot() 1114 0.02181 0.02181 0.02181 2.34% Castro::normalize_species() 62 0.02166 0.02166 0.02166 2.33% FabArray::norminf() 1061 0.02019 0.02019 0.02019 2.17% Castro::computeTemp() 63 0.01584 0.01584 0.01584 1.70% FabArray::ParallelCopy_nowait() 861 0.01386 0.01386 0.01386 1.49% FabArray::setVal() 1062 0.01367 0.01367 0.01367 1.47% FabArray::Saxpy() 1370 0.01333 0.01333 0.01333 1.43% Castro::enforce_min_density() 62 0.01226 0.01226 0.01226 1.32% StateDataPhysBCFunct::() 41 0.01187 0.01187 0.01187 1.27% amrex::Copy() 472 0.01102 0.01102 0.01102 1.18% MLPoisson::Fapply() 1060 0.01055 0.01055 0.01055 1.13% MLCellLinOp::defineAuxData() 11 0.01041 0.01041 0.01041 1.12% Castro::reset_internal_energy(MultiFab) 63 0.01037 0.01037 0.01037 1.11% Gravity::fill_multipole_BCs() 11 0.0089 0.0089 0.0089 0.96% FabArray::Xpay() 739 0.007959 0.007959 0.007959 0.85% MLMG::addInterpCorrection() 410 0.007068 0.007068 0.007068 0.76% Amr::checkPoint() 3 0.006977 0.006977 0.006977 0.75% amrex::average_down 410 0.006239 0.006239 0.006239 0.67% Castro::estTimeStep() 21 0.00531 0.00531 0.00531 0.57% BndryData::define() 11 0.004067 0.004067 0.004067 0.44% amrex::Add() 82 0.003673 0.003673 0.003673 0.39% Castro::construct_new_gravity_source() 10 0.003463 0.003463 0.003463 0.37% Castro::construct_old_gravity_source() 10 0.002797 0.002797 0.002797 0.30% Castro::enforce_speed_limit() 62 0.002477 0.002477 0.002477 0.27% Amr::writePlotFile() 2 0.002149 0.002149 0.002149 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001822 0.001822 0.001822 0.20% Castro::reset_internal_energy(Fab) 504 0.001809 0.001809 0.001809 0.19% check_for_negative_density() 10 0.001779 0.001779 0.001779 0.19% MLCGSolver::bicgstab 82 0.001635 0.001635 0.001635 0.18% MLCellLinOp::setLevelBC() 11 0.001617 0.001617 0.001617 0.17% Gravity::actual_solve_with_mlmg() 11 0.00154 0.00154 0.00154 0.17% Castro::initData() 1 0.00152 0.00152 0.00152 0.16% FabArray::mult() 43 0.001396 0.001396 0.001396 0.15% FabArray::setDomainBndry() 41 0.001381 0.001381 0.001381 0.15% MLCellLinOp::prepareForSolve() 11 0.001317 0.001317 0.001317 0.14% MultiFab::contains_nan() 20 0.001288 0.001288 0.001288 0.14% MLCellLinOp::smooth() 1640 0.001109 0.001109 0.001109 0.12% MLCellLinOp::compGrad() 11 0.001088 0.001088 0.001088 0.12% MLMG::prepareForSolve() 11 0.0009564 0.0009564 0.0009564 0.10% FabArray::FillBoundary() 3941 0.0007913 0.0007913 0.0007913 0.08% FabArrayBase::getCPC() 1323 0.0007595 0.0007595 0.0007595 0.08% FabArrayBase::CPC::define() 454 0.0006448 0.0006448 0.0006448 0.07% FabArrayBase::getFB() 3941 0.0006207 0.0006207 0.0006207 0.07% Gravity::get_new_grav_vector() 11 0.000615 0.000615 0.000615 0.07% Amr::InitAmr() 1 0.0005458 0.0005458 0.0005458 0.06% Gravity::get_old_grav_vector() 10 0.0004926 0.0004926 0.0004926 0.05% MLCellLinOp::apply() 1060 0.0004483 0.0004483 0.0004483 0.05% AmrLevel::FillPatch() 41 0.0004101 0.0004101 0.0004101 0.04% Amr::coarseTimeStep() 10 0.0003508 0.0003508 0.0003508 0.04% MultiFab::max() 11 0.0003335 0.0003335 0.0003335 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003177 0.0003177 0.0003177 0.03% main() 1 0.0002788 0.0002788 0.0002788 0.03% MLCellLinOp::defineBC() 11 0.0002761 0.0002761 0.0002761 0.03% FabArray::ParallelCopy() 861 0.0002389 0.0002389 0.0002389 0.03% FillPatchIterator::Initialize 41 0.0002157 0.0002157 0.0002157 0.02% Castro::subcycle_advance_ctu() 10 0.0001955 0.0001955 0.0001955 0.02% MLMG::mgVcycle() 82 0.0001863 0.0001863 0.0001863 0.02% MLCellLinOp::correctionResidual() 410 0.0001798 0.0001798 0.0001798 0.02% Castro::create_source_corrector() 10 0.0001728 0.0001728 0.0001728 0.02% MLLinOp::defineGrids() 11 0.0001709 0.0001709 0.0001709 0.02% Amr::timeStep() 10 0.0001484 0.0001484 0.0001484 0.02% StateData::checkPoint() 12 0.0001376 0.0001376 0.0001376 0.01% Gravity::update_max_rhs() 11 0.0001304 0.0001304 0.0001304 0.01% MLMG:computeResOfCorrection() 410 0.0001076 0.0001076 0.0001076 0.01% Gravity::solve_for_phi() 10 0.0001064 0.0001064 0.0001064 0.01% Castro::advance() 10 0.0001002 0.0001002 0.0001002 0.01% Castro::Castro() 1 8.744e-05 8.744e-05 8.744e-05 0.01% MLMG::mgVcycle_down::0 82 8.659e-05 8.659e-05 8.659e-05 0.01% FabArrayBase::FB::FB() 56 8.354e-05 8.354e-05 8.354e-05 0.01% MLMG::actualBottomSolve() 82 8.341e-05 8.341e-05 8.341e-05 0.01% Castro::construct_new_source() 50 8.222e-05 8.222e-05 8.222e-05 0.01% MLMG::mgVcycle_down::1 82 8.046e-05 8.046e-05 8.046e-05 0.01% Castro::initialize_advance() 10 8.007e-05 8.007e-05 8.007e-05 0.01% MLMG::mgVcycle_down::2 82 7.369e-05 7.369e-05 7.369e-05 0.01% Castro::finalize_advance() 10 7.348e-05 7.348e-05 7.348e-05 0.01% MLMG::solve() 11 7.202e-05 7.202e-05 7.202e-05 0.01% Castro::clean_state() 62 7.017e-05 7.017e-05 7.017e-05 0.01% MLMG::mgVcycle_down::4 82 6.835e-05 6.835e-05 6.835e-05 0.01% MLMG::mgVcycle_down::3 82 6.696e-05 6.696e-05 6.696e-05 0.01% Castro::enforce_consistent_e() 1 6.681e-05 6.681e-05 6.681e-05 0.01% AmrLevel::checkPoint() 3 6.606e-05 6.606e-05 6.606e-05 0.01% Castro::initialize_do_advance() 10 6.224e-05 6.224e-05 6.224e-05 0.01% MLMG::mgVcycle_up::4 82 5.851e-05 5.851e-05 5.851e-05 0.01% MLMG::mgVcycle_up::0 82 5.22e-05 5.22e-05 5.22e-05 0.01% MLMG::oneIter() 82 5.078e-05 5.078e-05 5.078e-05 0.01% MLCellLinOp::solutionResidual() 93 5.044e-05 5.044e-05 5.044e-05 0.01% MLMG::mgVcycle_up::3 82 4.892e-05 4.892e-05 4.892e-05 0.01% Castro::do_new_sources() 10 4.846e-05 4.846e-05 4.846e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.783e-05 4.783e-05 4.783e-05 0.01% MLMG::mgVcycle_up::1 82 4.754e-05 4.754e-05 4.754e-05 0.01% MLMG::mgVcycle_up::2 82 4.63e-05 4.63e-05 4.63e-05 0.00% Castro::do_advance_ctu() 10 4.394e-05 4.394e-05 4.394e-05 0.00% Castro::finalize_do_advance() 10 4.377e-05 4.377e-05 4.377e-05 0.00% StateData::define() 4 4.213e-05 4.213e-05 4.213e-05 0.00% Castro::post_timestep() 10 4.128e-05 4.128e-05 4.128e-05 0.00% Castro::swap_state_time_levels() 10 3.549e-05 3.549e-05 3.549e-05 0.00% Amr::writeSmallPlotFile() 1 3.539e-05 3.539e-05 3.539e-05 0.00% MLMG::mgVcycle_bottom 82 3.438e-05 3.438e-05 3.438e-05 0.00% MLMG::computeResidual() 82 3.386e-05 3.386e-05 3.386e-05 0.00% FillPatchSingleLevel 41 3.314e-05 3.314e-05 3.314e-05 0.00% MLMG::ResNormInf() 93 3.191e-05 3.191e-05 3.191e-05 0.00% Castro::buildMetrics() 1 3.083e-05 3.083e-05 3.083e-05 0.00% Castro::initMFs() 1 3.06e-05 3.06e-05 3.06e-05 0.00% MLPoisson::define() 11 3.025e-05 3.025e-05 3.025e-05 0.00% Amr::defBaseLevel() 1 2.762e-05 2.762e-05 2.762e-05 0.00% Castro::computeNewDt() 9 2.715e-05 2.715e-05 2.715e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.641e-05 2.641e-05 2.641e-05 0.00% makeSFC 55 2.55e-05 2.55e-05 2.55e-05 0.00% Castro::construct_new_gravity() 10 2.359e-05 2.359e-05 2.359e-05 0.00% Castro::do_old_sources() 10 2.22e-05 2.22e-05 2.22e-05 0.00% Amr::FinalizeInit() 1 1.993e-05 1.993e-05 1.993e-05 0.00% Castro::construct_old_source() 50 1.885e-05 1.885e-05 1.885e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.711e-05 1.711e-05 1.711e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.7e-05 1.7e-05 1.7e-05 0.00% DistributionMapping::Distribute() 56 1.645e-05 1.645e-05 1.645e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.387e-05 1.387e-05 1.387e-05 0.00% Castro::apply_source_to_state() 20 1.366e-05 1.366e-05 1.366e-05 0.00% MLPoisson::prepareForSolve() 11 1.316e-05 1.316e-05 1.316e-05 0.00% Castro::check_for_nan() 20 1.246e-05 1.246e-05 1.246e-05 0.00% Castro::construct_old_gravity() 10 1.211e-05 1.211e-05 1.211e-05 0.00% MLMG::computeMLResidual() 11 1.141e-05 1.141e-05 1.141e-05 0.00% MLLinOp::define() 11 1.12e-05 1.12e-05 1.12e-05 0.00% Castro::post_init() 1 1.089e-05 1.089e-05 1.089e-05 0.00% Gravity::swapTimeLevels() 10 1.042e-05 1.042e-05 1.042e-05 0.00% Amr::initSubcycle() 1 1.012e-05 1.012e-05 1.012e-05 0.00% Gravity::actual_multilevel_solve() 1 7.899e-06 7.899e-06 7.899e-06 0.00% AmrLevel::checkPointPost() 3 7.016e-06 7.016e-06 7.016e-06 0.00% MLMG::getGradSolution() 11 6.141e-06 6.141e-06 6.141e-06 0.00% Castro::expand_state() 10 5.44e-06 5.44e-06 5.44e-06 0.00% Castro::retry_advance_ctu() 10 4.622e-06 4.622e-06 4.622e-06 0.00% Gravity::set_mass_offset() 11 4.412e-06 4.412e-06 4.412e-06 0.00% Amr::InitializeInit() 1 4.189e-06 4.189e-06 4.189e-06 0.00% MLMG::MLRhsNormInf() 11 4.076e-06 4.076e-06 4.076e-06 0.00% MLMG::MLResNormInf() 11 3.511e-06 3.511e-06 3.511e-06 0.00% Amr::initialInit() 1 3.424e-06 3.424e-06 3.424e-06 0.00% Castro::FluxRegCrseInit 10 3.227e-06 3.227e-06 3.227e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.12e-06 3.12e-06 3.12e-06 0.00% Castro::computeInitialDt() 2 2.851e-06 2.851e-06 2.851e-06 0.00% AmrLevel::checkPointPre() 3 2.498e-06 2.498e-06 2.498e-06 0.00% Amr::init() 1 2.478e-06 2.478e-06 2.478e-06 0.00% Castro::FluxRegFineAdd() 10 2.394e-06 2.394e-06 2.394e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.992e-06 1.992e-06 1.992e-06 0.00% Castro::post_regrid() 1 1.224e-06 1.224e-06 1.224e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9314 0.9314 0.9314 100.00% Amr::coarseTimeStep() 10 0.7789 0.7789 0.7789 83.62% Amr::timeStep() 10 0.677 0.677 0.677 72.68% Castro::advance() 10 0.664 0.664 0.664 71.28% Castro::subcycle_advance_ctu() 10 0.6496 0.6496 0.6496 69.74% Castro::do_advance_ctu() 10 0.6494 0.6494 0.6494 69.72% Castro::construct_ctu_hydro_source() 10 0.304 0.304 0.304 32.64% Gravity::solve_phi_with_mlmg() 11 0.2975 0.2975 0.2975 31.94% Gravity::actual_solve_with_mlmg() 11 0.2882 0.2882 0.2882 30.94% Castro::construct_new_gravity() 10 0.2691 0.2691 0.2691 28.89% MLMG::solve() 11 0.2659 0.2659 0.2659 28.55% Gravity::solve_for_phi() 10 0.2524 0.2524 0.2524 27.10% MLMG::oneIter() 82 0.2504 0.2504 0.2504 26.88% MLMG::mgVcycle() 82 0.2466 0.2466 0.2466 26.48% VisMF::Write(FabArray) 11 0.1858 0.1858 0.1858 19.95% Amr::checkPoint() 3 0.1447 0.1447 0.1447 15.54% AmrLevel::checkPoint() 3 0.1377 0.1377 0.1377 14.79% StateData::checkPoint() 12 0.1377 0.1377 0.1377 14.78% Amr::init() 1 0.1262 0.1262 0.1262 13.55% MLCellLinOp::smooth() 1640 0.1229 0.1229 0.1229 13.20% MLCellLinOp::applyBC() 4351 0.1142 0.1142 0.1142 12.26% MLMG::mgVcycle_bottom 82 0.07404 0.07404 0.07404 7.95% MLMG::actualBottomSolve() 82 0.07401 0.07401 0.07401 7.95% MLCGSolver::bicgstab 82 0.07319 0.07319 0.07319 7.86% Castro::clean_state() 62 0.06343 0.06343 0.06343 6.81% Amr::initialInit() 1 0.0544 0.0544 0.0544 5.84% Amr::writePlotFile() 2 0.05096 0.05096 0.05096 5.47% Amr::FinalizeInit() 1 0.04904 0.04904 0.04904 5.26% AmrLevel::FillPatch() 41 0.04891 0.04891 0.04891 5.25% Castro::post_init() 1 0.04789 0.04789 0.04789 5.14% Gravity::multilevel_solve_for_new_phi() 1 0.04554 0.04554 0.04554 4.89% Gravity::actual_multilevel_solve() 1 0.04552 0.04552 0.04552 4.89% FillPatchIterator::Initialize 41 0.04459 0.04459 0.04459 4.79% FillPatchIterator::FillFromLevel0() 41 0.04299 0.04299 0.04299 4.62% FillPatchSingleLevel 41 0.04295 0.04295 0.04295 4.61% StateDataPhysBCFunct::() 41 0.03885 0.03885 0.03885 4.17% MLCellLinOp::apply() 1060 0.03685 0.03685 0.03685 3.96% MLMG::mgVcycle_down::0 82 0.03504 0.03504 0.03504 3.76% MLPoisson::Fsmooth() 3280 0.03398 0.03398 0.03398 3.65% FabArray::FillBoundary() 3941 0.03261 0.03261 0.03261 3.50% FillBoundary_nowait() 3941 0.03182 0.03182 0.03182 3.42% Castro::computeTemp() 63 0.02802 0.02802 0.02802 3.01% StateData::FillBoundary(geom) 328 0.02697 0.02697 0.02697 2.90% MLMG::mgVcycle_up::0 82 0.02649 0.02649 0.02649 2.84% Castro::initialize_do_advance() 10 0.02442 0.02442 0.02442 2.62% amrex::Dot() 1114 0.02181 0.02181 0.02181 2.34% Castro::normalize_species() 62 0.02166 0.02166 0.02166 2.33% MLMG:computeResOfCorrection() 410 0.02075 0.02075 0.02075 2.23% MLCellLinOp::correctionResidual() 410 0.02064 0.02064 0.02064 2.22% FabArray::norminf() 1061 0.02019 0.02019 0.02019 2.17% Castro::do_old_sources() 10 0.01935 0.01935 0.01935 2.08% Gravity::get_new_grav_vector() 11 0.01853 0.01853 0.01853 1.99% MLPoisson::define() 11 0.01748 0.01748 0.01748 1.88% MLMG::mgVcycle_down::1 82 0.0169 0.0169 0.0169 1.81% MLMG::mgVcycle_down::2 82 0.01569 0.01569 0.01569 1.68% Castro::construct_old_gravity() 10 0.01539 0.01539 0.01539 1.65% Gravity::get_old_grav_vector() 10 0.01538 0.01538 0.01538 1.65% MLMG::mgVcycle_down::3 82 0.01528 0.01528 0.01528 1.64% MLMG::mgVcycle_down::4 82 0.01518 0.01518 0.01518 1.63% FabArray::ParallelCopy() 861 0.01487 0.01487 0.01487 1.60% FabArray::ParallelCopy_nowait() 861 0.01463 0.01463 0.01463 1.57% Castro::do_new_sources() 10 0.01426 0.01426 0.01426 1.53% FabArray::setVal() 1062 0.01367 0.01367 0.01367 1.47% Castro::initialize_advance() 10 0.01363 0.01363 0.01363 1.46% FabArray::Saxpy() 1370 0.01333 0.01333 0.01333 1.43% MLCGSolver::ParallelAllReduce 1832 0.01307 0.01307 0.01307 1.40% Castro::post_timestep() 10 0.01289 0.01289 0.01289 1.38% MLMG::addInterpCorrection() 410 0.01243 0.01243 0.01243 1.33% Castro::enforce_min_density() 62 0.01226 0.01226 0.01226 1.32% MLMG::mgVcycle_up::1 82 0.0122 0.0122 0.0122 1.31% Castro::reset_internal_energy(MultiFab) 63 0.01218 0.01218 0.01218 1.31% MLMG::mgVcycle_up::4 82 0.01205 0.01205 0.01205 1.29% Castro::expand_state() 10 0.01194 0.01194 0.01194 1.28% MLMG::mgVcycle_up::2 82 0.01193 0.01193 0.01193 1.28% MLCellLinOp::defineAuxData() 11 0.01183 0.01183 0.01183 1.27% amrex::average_down 410 0.01168 0.01168 0.01168 1.25% MLMG::mgVcycle_up::3 82 0.01167 0.01167 0.01167 1.25% amrex::Copy() 472 0.01102 0.01102 0.01102 1.18% MLPoisson::Fapply() 1060 0.01055 0.01055 0.01055 1.13% Gravity::fill_multipole_BCs() 11 0.009156 0.009156 0.009156 0.98% FabArray::Xpay() 739 0.007959 0.007959 0.007959 0.85% MLCellLinOp::solutionResidual() 93 0.007774 0.007774 0.007774 0.83% MLMG::computeResidual() 82 0.006515 0.006515 0.006515 0.70% MLCellLinOp::defineBC() 11 0.005381 0.005381 0.005381 0.58% Amr::InitializeInit() 1 0.005358 0.005358 0.005358 0.58% Amr::defBaseLevel() 1 0.005353 0.005353 0.005353 0.57% Castro::estTimeStep() 21 0.00531 0.00531 0.00531 0.57% MLMG::prepareForSolve() 11 0.005214 0.005214 0.005214 0.56% BndryData::define() 11 0.005105 0.005105 0.005105 0.55% Castro::initData() 1 0.004671 0.004671 0.004671 0.50% amrex::Add() 82 0.003673 0.003673 0.003673 0.39% Castro::construct_new_source() 50 0.003546 0.003546 0.003546 0.38% Castro::construct_new_gravity_source() 10 0.003463 0.003463 0.003463 0.37% Castro::construct_old_source() 50 0.002816 0.002816 0.002816 0.30% Castro::construct_old_gravity_source() 10 0.002797 0.002797 0.002797 0.30% Castro::enforce_speed_limit() 62 0.002477 0.002477 0.002477 0.27% Castro::computeNewDt() 9 0.002434 0.002434 0.002434 0.26% MLMG::ResNormInf() 93 0.002203 0.002203 0.002203 0.24% Castro::finalize_do_advance() 10 0.001951 0.001951 0.001951 0.21% Castro::apply_source_to_state() 20 0.001886 0.001886 0.001886 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001822 0.001822 0.001822 0.20% Castro::reset_internal_energy(Fab) 504 0.001809 0.001809 0.001809 0.19% check_for_negative_density() 10 0.001779 0.001779 0.001779 0.19% MLCellLinOp::setLevelBC() 11 0.001617 0.001617 0.001617 0.17% MLMG::getGradSolution() 11 0.001602 0.001602 0.001602 0.17% MLCellLinOp::compGrad() 11 0.001596 0.001596 0.001596 0.17% FabArrayBase::getCPC() 1323 0.001404 0.001404 0.001404 0.15% FabArray::mult() 43 0.001396 0.001396 0.001396 0.15% FabArray::setDomainBndry() 41 0.001381 0.001381 0.001381 0.15% MLPoisson::prepareForSolve() 11 0.00133 0.00133 0.00133 0.14% MLCellLinOp::prepareForSolve() 11 0.001317 0.001317 0.001317 0.14% MLMG::computeMLResidual() 11 0.001305 0.001305 0.001305 0.14% Castro::check_for_nan() 20 0.0013 0.0013 0.0013 0.14% MultiFab::contains_nan() 20 0.001288 0.001288 0.001288 0.14% Gravity::update_max_rhs() 11 0.001017 0.001017 0.001017 0.11% Castro::computeInitialDt() 2 0.0009985 0.0009985 0.0009985 0.11% Castro::post_regrid() 1 0.000821 0.000821 0.000821 0.09% FabArrayBase::getFB() 3941 0.0007042 0.0007042 0.0007042 0.08% FabArrayBase::CPC::define() 454 0.0006448 0.0006448 0.0006448 0.07% Castro::finalize_advance() 10 0.0006314 0.0006314 0.0006314 0.07% Castro::Castro() 1 0.0005913 0.0005913 0.0005913 0.06% Amr::InitAmr() 1 0.0005559 0.0005559 0.0005559 0.06% Gravity::swapTimeLevels() 10 0.0004935 0.0004935 0.0004935 0.05% MultiFab::max() 11 0.0003335 0.0003335 0.0003335 0.04% MLMG::MLResNormInf() 11 0.0003322 0.0003322 0.0003322 0.04% Castro::buildMetrics() 1 0.0002981 0.0002981 0.0002981 0.03% MLLinOp::define() 11 0.0002385 0.0002385 0.0002385 0.03% MLMG::MLRhsNormInf() 11 0.0002353 0.0002353 0.0002353 0.03% MLLinOp::defineGrids() 11 0.0002273 0.0002273 0.0002273 0.02% Castro::create_source_corrector() 10 0.0001728 0.0001728 0.0001728 0.02% FabArrayBase::FB::FB() 56 8.354e-05 8.354e-05 8.354e-05 0.01% Castro::enforce_consistent_e() 1 6.681e-05 6.681e-05 6.681e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.924e-05 5.924e-05 5.924e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.433e-05 5.433e-05 5.433e-05 0.01% StateData::define() 4 4.213e-05 4.213e-05 4.213e-05 0.00% makeSFC 55 4.046e-05 4.046e-05 4.046e-05 0.00% Castro::swap_state_time_levels() 10 3.549e-05 3.549e-05 3.549e-05 0.00% Amr::writeSmallPlotFile() 1 3.539e-05 3.539e-05 3.539e-05 0.00% Castro::initMFs() 1 3.06e-05 3.06e-05 3.06e-05 0.00% DistributionMapping::Distribute() 56 1.645e-05 1.645e-05 1.645e-05 0.00% Amr::initSubcycle() 1 1.012e-05 1.012e-05 1.012e-05 0.00% AmrLevel::checkPointPost() 3 7.016e-06 7.016e-06 7.016e-06 0.00% Castro::retry_advance_ctu() 10 4.622e-06 4.622e-06 4.622e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.609e-06 4.609e-06 4.609e-06 0.00% Gravity::set_mass_offset() 11 4.412e-06 4.412e-06 4.412e-06 0.00% Castro::FluxRegCrseInit 10 3.227e-06 3.227e-06 3.227e-06 0.00% AmrLevel::checkPointPre() 3 2.498e-06 2.498e-06 2.498e-06 0.00% Castro::FluxRegFineAdd() 10 2.394e-06 2.394e-06 2.394e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.992e-06 1.992e-06 1.992e-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 5557 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 1018 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1526 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 3511 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 206 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 169 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7518 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 16 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2114 B 2048 KiB Gravity::solve_for_phi() 80 80 554 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 99 KiB 2048 KiB BndryData::define() 1056 1056 321 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 204 KiB 671 KiB Castro::estTimeStep() 21 21 2764 B 480 KiB VisMF::Write(FabArray) 656 656 3349 B 320 KiB Castro::normalize_species() 62 62 7578 B 320 KiB amrex::average_down 1067 1067 1593 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1149 B 257 KiB amrex::Dot() 1360 1360 3461 B 160 KiB FabArray::norminf() 1143 1143 3350 B 160 KiB check_for_negative_density() 10 10 306 B 160 KiB Castro::initData() 1 1 50 B 160 KiB MultiFab::max() 11 11 55 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3427 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 292 B 9648 B MLCellLinOp::applyBC() 8702 8702 219 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3929 B 6144 B StateData::FillBoundary(geom) 1992 1992 43 B 2560 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 361 B 1248 B MLCGSolver::bicgstab 410 410 94 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 585 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 420 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3427 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 292 B 9648 B MLCellLinOp::applyBC() 4351 4351 218 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3929 B 6144 B Gravity::get_new_grav_vector() 3 3 2894 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 44 B 2656 B amrex::average_down 83 83 617 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 292 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 1143 1143 9 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2180 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (v2024-27-ga9b452ab5e8b) finalized Initializing AMReX (v2024-27-ga9b452ab5e8b)... Initializing CUDA... CUDA initialized with 1 device. AMReX (v2024-27-ga9b452ab5e8b) initialized Starting run at 08:40:49 UTC on 2024-03-21. Successfully read inputs file ... Castro git describe: 24.03-25-g09bde5fae AMReX git describe: v2024-27-ga9b452ab5 Microphysics git describe: 24.03-20-gb934b16f reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.515682484 Restart time = 0.071468254 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.068814322 [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.048874027 [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.074141298 [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.077936303 [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.067938563 [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.027546054 seconds Ending run at 08:40:50 UTC on 2024-03-21. Run time = 0.437780191 Run time without initialization = 0.365673468 Average number of zones advanced per microsecond: 3.584 Average number of zones advanced per microsecond per rank: 3.584 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4378 ... 0.4378 ... 0.4378 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1430 0.1430 0.1430 32.67% VisMF::Read() 3 0.06021 0.06021 0.06021 13.75% MLCellLinOp::applyBC() 1910 0.03566 0.03566 0.03566 8.15% VisMF::Write(FabArray) 1 0.0249 0.0249 0.0249 5.69% MLPoisson::Fsmooth() 1440 0.01485 0.01485 0.01485 3.39% StateData::FillBoundary(geom) 160 0.01313 0.01313 0.01313 3.00% FillBoundary_nowait() 1730 0.01309 0.01309 0.01309 2.99% Castro::normalize_species() 30 0.01081 0.01081 0.01081 2.47% amrex::Dot() 484 0.009352 0.009352 0.009352 2.14% FabArray::norminf() 465 0.008768 0.008768 0.008768 2.00% Castro::computeTemp() 30 0.008007 0.008007 0.008007 1.83% Castro::enforce_min_density() 30 0.006963 0.006963 0.006963 1.59% FabArray::setVal() 501 0.006647 0.006647 0.006647 1.52% FabArray::ParallelCopy_nowait() 380 0.006235 0.006235 0.006235 1.42% FabArray::Saxpy() 597 0.005909 0.005909 0.005909 1.35% MLCellLinOp::defineAuxData() 6 0.005638 0.005638 0.005638 1.29% amrex::Copy() 221 0.005475 0.005475 0.005475 1.25% StateDataPhysBCFunct::() 20 0.004955 0.004955 0.004955 1.13% Amr::restart() 1 0.00488 0.00488 0.00488 1.11% Gravity::fill_multipole_BCs() 6 0.00483 0.00483 0.00483 1.10% MLPoisson::Fapply() 464 0.004566 0.004566 0.004566 1.04% FabArray::Xpay() 325 0.003521 0.003521 0.003521 0.80% MLMG::addInterpCorrection() 180 0.003152 0.003152 0.003152 0.72% amrex::average_down 180 0.002773 0.002773 0.002773 0.63% Castro::estTimeStep() 10 0.002771 0.002771 0.002771 0.63% Amr::writePlotFile() 1 0.002485 0.002485 0.002485 0.57% BndryData::define() 6 0.002227 0.002227 0.002227 0.51% Castro::construct_new_gravity_source() 5 0.001737 0.001737 0.001737 0.40% amrex::Add() 36 0.001557 0.001557 0.001557 0.36% Castro::reset_internal_energy(MultiFab) 30 0.001547 0.001547 0.001547 0.35% Castro::construct_old_gravity_source() 5 0.001425 0.001425 0.001425 0.33% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009945 0.0009945 0.0009945 0.23% check_for_negative_density() 5 0.0009599 0.0009599 0.0009599 0.22% MLCellLinOp::setLevelBC() 6 0.0008964 0.0008964 0.0008964 0.20% Castro::reset_internal_energy(Fab) 240 0.000839 0.000839 0.000839 0.19% Gravity::actual_solve_with_mlmg() 6 0.0008355 0.0008355 0.0008355 0.19% MLCellLinOp::prepareForSolve() 6 0.0007594 0.0007594 0.0007594 0.17% MLCGSolver::bicgstab 36 0.0007131 0.0007131 0.0007131 0.16% FabArray::setDomainBndry() 20 0.0007052 0.0007052 0.0007052 0.16% FabArray::mult() 22 0.0007021 0.0007021 0.0007021 0.16% MultiFab::contains_nan() 10 0.0006715 0.0006715 0.0006715 0.15% MLCellLinOp::compGrad() 6 0.0006204 0.0006204 0.0006204 0.14% Castro::enforce_speed_limit() 30 0.0005901 0.0005901 0.0005901 0.13% MLMG::prepareForSolve() 6 0.0005635 0.0005635 0.0005635 0.13% MLCellLinOp::smooth() 720 0.0004766 0.0004766 0.0004766 0.11% Amr::InitAmr() 1 0.0004669 0.0004669 0.0004669 0.11% FabArrayBase::CPC::define() 244 0.0004223 0.0004223 0.0004223 0.10% FabArrayBase::getCPC() 632 0.0003727 0.0003727 0.0003727 0.09% FabArray::FillBoundary() 1730 0.0003522 0.0003522 0.0003522 0.08% Gravity::get_old_grav_vector() 5 0.0003255 0.0003255 0.0003255 0.07% Gravity::get_new_grav_vector() 5 0.0002829 0.0002829 0.0002829 0.06% main() 1 0.000264 0.000264 0.000264 0.06% FabArrayBase::getFB() 1730 0.0002599 0.0002599 0.0002599 0.06% MultiFab::max() 6 0.0002062 0.0002062 0.0002062 0.05% AmrLevel::FillPatch() 20 0.000198 0.000198 0.000198 0.05% MLCellLinOp::apply() 464 0.0001834 0.0001834 0.0001834 0.04% MLCellLinOp::defineBC() 6 0.0001603 0.0001603 0.0001603 0.04% Amr::coarseTimeStep() 5 0.0001557 0.0001557 0.0001557 0.04% MLCGSolver::ParallelAllReduce 798 0.0001392 0.0001392 0.0001392 0.03% Castro::subcycle_advance_ctu() 5 0.0001388 0.0001388 0.0001388 0.03% Castro::create_source_corrector() 5 0.0001177 0.0001177 0.0001177 0.03% FillPatchIterator::Initialize 20 0.0001085 0.0001085 0.0001085 0.02% FabArray::ParallelCopy() 380 0.0001059 0.0001059 0.0001059 0.02% MLLinOp::defineGrids() 6 0.0001038 0.0001038 0.0001038 0.02% Castro::construct_new_source() 25 8.777e-05 8.777e-05 8.777e-05 0.02% MLMG::mgVcycle() 36 8.714e-05 8.714e-05 8.714e-05 0.02% Amr::timeStep() 5 8.459e-05 8.459e-05 8.459e-05 0.02% Castro::finalize_do_advance() 5 7.819e-05 7.819e-05 7.819e-05 0.02% MLCellLinOp::correctionResidual() 180 7.684e-05 7.684e-05 7.684e-05 0.02% StateData::restartDoit() 4 7.296e-05 7.296e-05 7.296e-05 0.02% AmrLevel::restart() 1 7.128e-05 7.128e-05 7.128e-05 0.02% Gravity::update_max_rhs() 6 6.591e-05 6.591e-05 6.591e-05 0.02% Castro::advance() 5 5.891e-05 5.891e-05 5.891e-05 0.01% FabArrayBase::FB::FB() 26 5.704e-05 5.704e-05 5.704e-05 0.01% Castro::post_timestep() 5 5.26e-05 5.26e-05 5.26e-05 0.01% Gravity::solve_for_phi() 5 5.138e-05 5.138e-05 5.138e-05 0.01% MLMG:computeResOfCorrection() 180 5.008e-05 5.008e-05 5.008e-05 0.01% Castro::do_advance_ctu() 5 4.46e-05 4.46e-05 4.46e-05 0.01% MLMG::mgVcycle_down::0 36 4.154e-05 4.154e-05 4.154e-05 0.01% MLMG::actualBottomSolve() 36 3.713e-05 3.713e-05 3.713e-05 0.01% Castro::initialize_advance() 5 3.574e-05 3.574e-05 3.574e-05 0.01% MLMG::mgVcycle_down::1 36 3.472e-05 3.472e-05 3.472e-05 0.01% MLMG::solve() 6 3.406e-05 3.406e-05 3.406e-05 0.01% MLMG::mgVcycle_down::2 36 3.383e-05 3.383e-05 3.383e-05 0.01% MLMG::mgVcycle_down::4 36 3.229e-05 3.229e-05 3.229e-05 0.01% Amr::writeSmallPlotFile() 1 3.167e-05 3.167e-05 3.167e-05 0.01% MLMG::mgVcycle_down::3 36 3.147e-05 3.147e-05 3.147e-05 0.01% Castro::post_restart() 1 3.145e-05 3.145e-05 3.145e-05 0.01% Castro::do_new_sources() 5 3.133e-05 3.133e-05 3.133e-05 0.01% Castro::finalize_advance() 5 3.08e-05 3.08e-05 3.08e-05 0.01% Castro::clean_state() 30 3.07e-05 3.07e-05 3.07e-05 0.01% Castro::initialize_do_advance() 5 2.986e-05 2.986e-05 2.986e-05 0.01% Castro::buildMetrics() 1 2.836e-05 2.836e-05 2.836e-05 0.01% Castro::construct_old_source() 25 2.807e-05 2.807e-05 2.807e-05 0.01% MLMG::mgVcycle_up::4 36 2.797e-05 2.797e-05 2.797e-05 0.01% MLCellLinOp::solutionResidual() 42 2.47e-05 2.47e-05 2.47e-05 0.01% Castro::initMFs() 1 2.428e-05 2.428e-05 2.428e-05 0.01% Castro::swap_state_time_levels() 5 2.405e-05 2.405e-05 2.405e-05 0.01% MLMG::mgVcycle_up::3 36 2.391e-05 2.391e-05 2.391e-05 0.01% MLMG::oneIter() 36 2.351e-05 2.351e-05 2.351e-05 0.01% MLMG::mgVcycle_up::0 36 2.309e-05 2.309e-05 2.309e-05 0.01% MLMG::mgVcycle_up::2 36 2.289e-05 2.289e-05 2.289e-05 0.01% MLMG::mgVcycle_up::1 36 2.168e-05 2.168e-05 2.168e-05 0.00% MLPoisson::define() 6 2.165e-05 2.165e-05 2.165e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.148e-05 2.148e-05 2.148e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.743e-05 1.743e-05 1.743e-05 0.00% MLMG::ResNormInf() 42 1.665e-05 1.665e-05 1.665e-05 0.00% MLMG::mgVcycle_bottom 36 1.609e-05 1.609e-05 1.609e-05 0.00% FillPatchSingleLevel 20 1.54e-05 1.54e-05 1.54e-05 0.00% makeSFC 30 1.517e-05 1.517e-05 1.517e-05 0.00% MLMG::computeResidual() 36 1.493e-05 1.493e-05 1.493e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.431e-05 1.431e-05 1.431e-05 0.00% Castro::construct_new_gravity() 5 1.242e-05 1.242e-05 1.242e-05 0.00% Castro::do_old_sources() 5 1.22e-05 1.22e-05 1.22e-05 0.00% Amr::initSubcycle() 1 1.017e-05 1.017e-05 1.017e-05 0.00% MLPoisson::prepareForSolve() 6 1.002e-05 1.002e-05 1.002e-05 0.00% DistributionMapping::Distribute() 31 1e-05 1e-05 1e-05 0.00% Gravity::actual_multilevel_solve() 1 8.588e-06 8.588e-06 8.588e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.267e-06 7.267e-06 7.267e-06 0.00% MLMG::getGradSolution() 6 6.63e-06 6.63e-06 6.63e-06 0.00% Castro::apply_source_to_state() 10 6.328e-06 6.328e-06 6.328e-06 0.00% MLLinOp::define() 6 6.1e-06 6.1e-06 6.1e-06 0.00% Castro::check_for_nan() 10 5.66e-06 5.66e-06 5.66e-06 0.00% Castro::construct_old_gravity() 5 5.008e-06 5.008e-06 5.008e-06 0.00% MLMG::computeMLResidual() 6 4.766e-06 4.766e-06 4.766e-06 0.00% Gravity::swapTimeLevels() 5 4.135e-06 4.135e-06 4.135e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.107e-06 4.107e-06 4.107e-06 0.00% Castro::computeNewDt() 5 3.714e-06 3.714e-06 3.714e-06 0.00% Amr::init() 1 3.317e-06 3.317e-06 3.317e-06 0.00% Castro::expand_state() 5 3.279e-06 3.279e-06 3.279e-06 0.00% Castro::retry_advance_ctu() 5 2.585e-06 2.585e-06 2.585e-06 0.00% Gravity::set_mass_offset() 6 2.439e-06 2.439e-06 2.439e-06 0.00% MLMG::MLResNormInf() 6 2.288e-06 2.288e-06 2.288e-06 0.00% MLMG::MLRhsNormInf() 6 2.256e-06 2.256e-06 2.256e-06 0.00% Castro::FluxRegCrseInit 5 1.775e-06 1.775e-06 1.775e-06 0.00% Castro::FluxRegFineAdd() 5 1.406e-06 1.406e-06 1.406e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.06e-06 1.06e-06 1.06e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4378 0.4378 0.4378 100.00% Amr::coarseTimeStep() 5 0.3379 0.3379 0.3379 77.17% Amr::timeStep() 5 0.3359 0.3359 0.3359 76.71% Castro::advance() 5 0.3309 0.3309 0.3309 75.58% Castro::subcycle_advance_ctu() 5 0.3228 0.3228 0.3228 73.74% Castro::do_advance_ctu() 5 0.3227 0.3227 0.3227 73.70% Castro::construct_ctu_hydro_source() 5 0.1488 0.1488 0.1488 33.99% Castro::construct_new_gravity() 5 0.1362 0.1362 0.1362 31.11% Gravity::solve_phi_with_mlmg() 6 0.1334 0.1334 0.1334 30.46% Gravity::actual_solve_with_mlmg() 6 0.1283 0.1283 0.1283 29.30% Gravity::solve_for_phi() 5 0.1281 0.1281 0.1281 29.26% MLMG::solve() 6 0.116 0.116 0.116 26.50% MLMG::oneIter() 36 0.1083 0.1083 0.1083 24.74% MLMG::mgVcycle() 36 0.1067 0.1067 0.1067 24.38% Amr::init() 1 0.07152 0.07152 0.07152 16.34% Amr::restart() 1 0.07152 0.07152 0.07152 16.34% AmrLevel::restart() 1 0.06058 0.06058 0.06058 13.84% StateData::restartDoit() 4 0.06051 0.06051 0.06051 13.82% VisMF::Read() 3 0.06021 0.06021 0.06021 13.75% MLCellLinOp::smooth() 720 0.05312 0.05312 0.05312 12.13% MLCellLinOp::applyBC() 1910 0.04943 0.04943 0.04943 11.29% MLMG::mgVcycle_bottom 36 0.03195 0.03195 0.03195 7.30% MLMG::actualBottomSolve() 36 0.03193 0.03193 0.03193 7.29% MLCGSolver::bicgstab 36 0.03156 0.03156 0.03156 7.21% Castro::clean_state() 30 0.02879 0.02879 0.02879 6.58% Amr::writePlotFile() 1 0.02765 0.02765 0.02765 6.31% VisMF::Write(FabArray) 1 0.0249 0.0249 0.0249 5.69% AmrLevel::FillPatch() 20 0.0231 0.0231 0.0231 5.28% FillPatchIterator::Initialize 20 0.02099 0.02099 0.02099 4.79% FillPatchIterator::FillFromLevel0() 20 0.02018 0.02018 0.02018 4.61% FillPatchSingleLevel 20 0.02016 0.02016 0.02016 4.60% StateDataPhysBCFunct::() 20 0.01809 0.01809 0.01809 4.13% MLCellLinOp::apply() 464 0.01609 0.01609 0.01609 3.68% MLMG::mgVcycle_down::0 36 0.01516 0.01516 0.01516 3.46% MLPoisson::Fsmooth() 1440 0.01485 0.01485 0.01485 3.39% FabArray::FillBoundary() 1730 0.01376 0.01376 0.01376 3.14% FillBoundary_nowait() 1730 0.01341 0.01341 0.01341 3.06% StateData::FillBoundary(geom) 160 0.01313 0.01313 0.01313 3.00% MLMG::mgVcycle_up::0 36 0.01133 0.01133 0.01133 2.59% Castro::initialize_do_advance() 5 0.01113 0.01113 0.01113 2.54% Castro::normalize_species() 30 0.01081 0.01081 0.01081 2.47% Castro::computeTemp() 30 0.01039 0.01039 0.01039 2.37% MLPoisson::define() 6 0.009586 0.009586 0.009586 2.19% amrex::Dot() 484 0.009352 0.009352 0.009352 2.14% Castro::do_old_sources() 5 0.009253 0.009253 0.009253 2.11% MLMG:computeResOfCorrection() 180 0.008958 0.008958 0.008958 2.05% MLCellLinOp::correctionResidual() 180 0.008908 0.008908 0.008908 2.03% FabArray::norminf() 465 0.008768 0.008768 0.008768 2.00% Gravity::get_new_grav_vector() 5 0.007999 0.007999 0.007999 1.83% Castro::construct_old_gravity() 5 0.007996 0.007996 0.007996 1.83% Gravity::get_old_grav_vector() 5 0.007991 0.007991 0.007991 1.83% Castro::do_new_sources() 5 0.007744 0.007744 0.007744 1.77% Castro::initialize_advance() 5 0.007707 0.007707 0.007707 1.76% MLMG::mgVcycle_down::1 36 0.007392 0.007392 0.007392 1.69% Castro::enforce_min_density() 30 0.006963 0.006963 0.006963 1.59% MLMG::mgVcycle_down::2 36 0.006817 0.006817 0.006817 1.56% FabArray::ParallelCopy() 380 0.006734 0.006734 0.006734 1.54% FabArray::setVal() 501 0.006647 0.006647 0.006647 1.52% MLMG::mgVcycle_down::3 36 0.006643 0.006643 0.006643 1.52% FabArray::ParallelCopy_nowait() 380 0.006628 0.006628 0.006628 1.51% MLMG::mgVcycle_down::4 36 0.006583 0.006583 0.006583 1.50% MLCellLinOp::defineAuxData() 6 0.006443 0.006443 0.006443 1.47% FabArray::Saxpy() 597 0.005909 0.005909 0.005909 1.35% Castro::post_restart() 1 0.005868 0.005868 0.005868 1.34% Castro::expand_state() 5 0.005782 0.005782 0.005782 1.32% MLCGSolver::ParallelAllReduce 798 0.00566 0.00566 0.00566 1.29% Gravity::multilevel_solve_for_new_phi() 1 0.005489 0.005489 0.005489 1.25% amrex::Copy() 221 0.005475 0.005475 0.005475 1.25% Gravity::actual_multilevel_solve() 1 0.005472 0.005472 0.005472 1.25% MLMG::addInterpCorrection() 180 0.00547 0.00547 0.00547 1.25% MLMG::mgVcycle_up::4 36 0.005266 0.005266 0.005266 1.20% MLMG::mgVcycle_up::1 36 0.005255 0.005255 0.005255 1.20% MLMG::mgVcycle_up::2 36 0.00517 0.00517 0.00517 1.18% amrex::average_down 180 0.005134 0.005134 0.005134 1.17% MLMG::mgVcycle_up::3 36 0.005074 0.005074 0.005074 1.16% Gravity::fill_multipole_BCs() 6 0.004957 0.004957 0.004957 1.13% Castro::post_timestep() 5 0.004874 0.004874 0.004874 1.11% MLPoisson::Fapply() 464 0.004566 0.004566 0.004566 1.04% MLCellLinOp::solutionResidual() 42 0.00364 0.00364 0.00364 0.83% FabArray::Xpay() 325 0.003521 0.003521 0.003521 0.80% MLCellLinOp::defineBC() 6 0.002979 0.002979 0.002979 0.68% MLMG::prepareForSolve() 6 0.002913 0.002913 0.002913 0.67% MLMG::computeResidual() 36 0.00285 0.00285 0.00285 0.65% BndryData::define() 6 0.002819 0.002819 0.002819 0.64% Castro::estTimeStep() 10 0.002771 0.002771 0.002771 0.63% Castro::reset_internal_energy(MultiFab) 30 0.002386 0.002386 0.002386 0.55% Castro::computeNewDt() 5 0.001837 0.001837 0.001837 0.42% Castro::construct_new_source() 25 0.001825 0.001825 0.001825 0.42% Castro::construct_new_gravity_source() 5 0.001737 0.001737 0.001737 0.40% amrex::Add() 36 0.001557 0.001557 0.001557 0.36% Castro::construct_old_source() 25 0.001453 0.001453 0.001453 0.33% Castro::construct_old_gravity_source() 5 0.001425 0.001425 0.001425 0.33% Castro::finalize_do_advance() 5 0.001015 0.001015 0.001015 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009945 0.0009945 0.0009945 0.23% MLMG::ResNormInf() 42 0.0009938 0.0009938 0.0009938 0.23% Castro::apply_source_to_state() 10 0.0009619 0.0009619 0.0009619 0.22% check_for_negative_density() 5 0.0009599 0.0009599 0.0009599 0.22% MLMG::getGradSolution() 6 0.0009148 0.0009148 0.0009148 0.21% MLCellLinOp::compGrad() 6 0.0009081 0.0009081 0.0009081 0.21% MLCellLinOp::setLevelBC() 6 0.0008964 0.0008964 0.0008964 0.20% Castro::reset_internal_energy(Fab) 240 0.000839 0.000839 0.000839 0.19% MLMG::computeMLResidual() 6 0.0008098 0.0008098 0.0008098 0.18% FabArrayBase::getCPC() 632 0.000795 0.000795 0.000795 0.18% MLPoisson::prepareForSolve() 6 0.0007694 0.0007694 0.0007694 0.18% MLCellLinOp::prepareForSolve() 6 0.0007594 0.0007594 0.0007594 0.17% Gravity::update_max_rhs() 6 0.000719 0.000719 0.000719 0.16% FabArray::setDomainBndry() 20 0.0007052 0.0007052 0.0007052 0.16% FabArray::mult() 22 0.0007021 0.0007021 0.0007021 0.16% Castro::check_for_nan() 10 0.0006772 0.0006772 0.0006772 0.15% MultiFab::contains_nan() 10 0.0006715 0.0006715 0.0006715 0.15% Castro::enforce_speed_limit() 30 0.0005901 0.0005901 0.0005901 0.13% Amr::InitAmr() 1 0.000477 0.000477 0.000477 0.11% FabArrayBase::CPC::define() 244 0.0004223 0.0004223 0.0004223 0.10% FabArrayBase::getFB() 1730 0.0003169 0.0003169 0.0003169 0.07% Castro::finalize_advance() 5 0.0003085 0.0003085 0.0003085 0.07% Gravity::swapTimeLevels() 5 0.0002507 0.0002507 0.0002507 0.06% MultiFab::max() 6 0.0002062 0.0002062 0.0002062 0.05% MLMG::MLResNormInf() 6 0.0001922 0.0001922 0.0001922 0.04% Castro::buildMetrics() 1 0.0001615 0.0001615 0.0001615 0.04% MLLinOp::define() 6 0.0001422 0.0001422 0.0001422 0.03% MLLinOp::defineGrids() 6 0.0001361 0.0001361 0.0001361 0.03% MLMG::MLRhsNormInf() 6 0.0001239 0.0001239 0.0001239 0.03% Castro::create_source_corrector() 5 0.0001177 0.0001177 0.0001177 0.03% FabArrayBase::FB::FB() 26 5.704e-05 5.704e-05 5.704e-05 0.01% Amr::writeSmallPlotFile() 1 3.167e-05 3.167e-05 3.167e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.127e-05 3.127e-05 3.127e-05 0.01% Castro::initMFs() 1 2.428e-05 2.428e-05 2.428e-05 0.01% Castro::swap_state_time_levels() 5 2.405e-05 2.405e-05 2.405e-05 0.01% makeSFC 30 2.4e-05 2.4e-05 2.4e-05 0.01% Amr::initSubcycle() 1 1.017e-05 1.017e-05 1.017e-05 0.00% DistributionMapping::Distribute() 31 1e-05 1e-05 1e-05 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.274e-06 5.274e-06 5.274e-06 0.00% Castro::retry_advance_ctu() 5 2.585e-06 2.585e-06 2.585e-06 0.00% Gravity::set_mass_offset() 6 2.439e-06 2.439e-06 2.439e-06 0.00% Castro::FluxRegCrseInit 5 1.775e-06 1.775e-06 1.775e-06 0.00% Castro::FluxRegFineAdd() 5 1.406e-06 1.406e-06 1.406e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.06e-06 1.06e-06 1.06e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 11 MiB 9037 MiB Castro::initMFs() 48 48 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 1030 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1681 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 6433 KiB 14 MiB MLMG::prepareForSolve() 361 361 3253 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 189 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 187 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6419 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 18 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3263 B 2048 KiB Gravity::solve_for_phi() 40 40 598 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 300 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 192 KiB 671 KiB Castro::estTimeStep() 10 10 3012 B 480 KiB VisMF::Write(FabArray) 112 112 1271 B 320 KiB Castro::normalize_species() 30 30 8045 B 320 KiB amrex::average_down 469 469 1381 B 257 KiB MLMG::addInterpCorrection() 468 468 1068 B 257 KiB amrex::Dot() 592 592 3152 B 160 KiB FabArray::norminf() 501 501 3094 B 160 KiB check_for_negative_density() 5 5 351 B 160 KiB MultiFab::max() 6 6 73 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3151 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 259 B 9648 B MLCellLinOp::applyBC() 3820 3820 203 B 9344 B amrex::Copy() 56 56 5857 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 38 B 2480 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 337 B 1248 B MLCGSolver::bicgstab 180 180 86 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1206 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 158 KiB 3584 KiB VisMF::Read() 24 24 208 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3151 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 260 B 9648 B MLCellLinOp::applyBC() 1910 1910 202 B 9328 B amrex::Copy() 56 56 5857 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2523 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 39 B 2560 B MLMG::prepareForSolve() 7 7 793 B 1648 B amrex::average_down 37 37 462 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 501 501 9 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-27-ga9b452ab5e8b) finalized