Initializing AMReX (24.01-9-g03f59365ab29)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-9-g03f59365ab29) initialized Starting run at 10:36:33 UTC on 2024-01-16. Successfully read inputs file ... Castro git describe: 24.01-11-g44d0e551d AMReX git describe: 24.01-9-g03f59365a Microphysics git describe: 24.01-9-ga4d7ab4d reading extern runtime parameters ... 3 Species: C12 O16 Mg24 Successfully read inputs file ... INITIAL GRIDS Level 0 8 grids 262144 cells 100 % of domain smallest grid: 32 x 32 x 32 biggest grid: 32 x 32 x 32 CHECKPOINT: file = dustcollapse-restart_chk00000 checkPoint() time = 0.045539894 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.0254976 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.066635317 [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.069630088 [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.082702861 [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.072538873 [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.053499057 [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.045366754 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.076599299 [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.07783999 [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.068721443 [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.065215807 [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.078439308 [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.04457032 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025230614 seconds Ending run at 10:36:34 UTC on 2024-01-16. Run time = 0.954112529 Run time without initialization = 0.827671026 Average number of zones advanced per microsecond: 3.167 Average number of zones advanced per microsecond per rank: 3.167 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9541 ... 0.9541 ... 0.9541 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.3270 0.3270 0.3270 34.27% VisMF::Write(FabArray) 11 0.1777 0.1777 0.1777 18.62% MLCellLinOp::applyBC() 4351 0.08079 0.08079 0.08079 8.47% MLPoisson::Fsmooth() 3280 0.03421 0.03421 0.03421 3.58% FillBoundary_nowait() 3941 0.03122 0.03122 0.03122 3.27% StateData::FillBoundary(geom) 328 0.02699 0.02699 0.02699 2.83% amrex::Dot() 1114 0.02182 0.02182 0.02182 2.29% Castro::normalize_species() 62 0.02174 0.02174 0.02174 2.28% FabArray::norminf() 1061 0.02018 0.02018 0.02018 2.12% Castro::computeTemp() 63 0.01746 0.01746 0.01746 1.83% Castro::enforce_min_density() 62 0.014 0.014 0.014 1.47% FabArray::ParallelCopy_nowait() 861 0.01357 0.01357 0.01357 1.42% FabArray::setVal() 1062 0.01332 0.01332 0.01332 1.40% FabArray::Saxpy() 1370 0.0133 0.0133 0.0133 1.39% StateDataPhysBCFunct::() 41 0.01091 0.01091 0.01091 1.14% amrex::Copy() 472 0.01085 0.01085 0.01085 1.14% MLCellLinOp::defineAuxData() 11 0.01054 0.01054 0.01054 1.10% MLPoisson::Fapply() 1060 0.0104 0.0104 0.0104 1.09% Gravity::fill_multipole_BCs() 11 0.009513 0.009513 0.009513 1.00% FabArray::Xpay() 739 0.007867 0.007867 0.007867 0.82% MLMG::addInterpCorrection() 410 0.007123 0.007123 0.007123 0.75% amrex::average_down 410 0.006298 0.006298 0.006298 0.66% Castro::estTimeStep() 21 0.006102 0.006102 0.006102 0.64% Amr::checkPoint() 3 0.005916 0.005916 0.005916 0.62% Castro::reset_internal_energy(MultiFab) 63 0.005021 0.005021 0.005021 0.53% BndryData::define() 11 0.003971 0.003971 0.003971 0.42% amrex::Add() 82 0.003599 0.003599 0.003599 0.38% Castro::construct_new_gravity_source() 10 0.003491 0.003491 0.003491 0.37% Castro::construct_old_gravity_source() 10 0.002985 0.002985 0.002985 0.31% check_for_negative_density() 10 0.002247 0.002247 0.002247 0.24% Amr::writePlotFile() 2 0.002114 0.002114 0.002114 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001797 0.001797 0.001797 0.19% MLCGSolver::bicgstab 82 0.001674 0.001674 0.001674 0.18% Gravity::actual_solve_with_mlmg() 11 0.001623 0.001623 0.001623 0.17% MLCellLinOp::setLevelBC() 11 0.001597 0.001597 0.001597 0.17% Castro::reset_internal_energy(Fab) 504 0.001583 0.001583 0.001583 0.17% Castro::initData() 1 0.001568 0.001568 0.001568 0.16% Castro::enforce_speed_limit() 62 0.00149 0.00149 0.00149 0.16% FabArray::mult() 43 0.001387 0.001387 0.001387 0.15% MLCellLinOp::prepareForSolve() 11 0.00138 0.00138 0.00138 0.14% FabArray::setDomainBndry() 41 0.001351 0.001351 0.001351 0.14% MultiFab::contains_nan() 20 0.001302 0.001302 0.001302 0.14% MLCellLinOp::smooth() 1640 0.001118 0.001118 0.001118 0.12% MLCellLinOp::compGrad() 11 0.001084 0.001084 0.001084 0.11% MLMG::prepareForSolve() 11 0.001029 0.001029 0.001029 0.11% FabArray::FillBoundary() 3941 0.0008243 0.0008243 0.0008243 0.09% FabArrayBase::getCPC() 1323 0.0008229 0.0008229 0.0008229 0.09% FabArrayBase::CPC::define() 454 0.0007049 0.0007049 0.0007049 0.07% Amr::InitAmr() 1 0.0006501 0.0006501 0.0006501 0.07% Gravity::get_new_grav_vector() 11 0.000606 0.000606 0.000606 0.06% FabArrayBase::getFB() 3941 0.0006041 0.0006041 0.0006041 0.06% Gravity::get_old_grav_vector() 10 0.0004833 0.0004833 0.0004833 0.05% MLCellLinOp::apply() 1060 0.0004243 0.0004243 0.0004243 0.04% AmrLevel::FillPatch() 41 0.0004049 0.0004049 0.0004049 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003466 0.0003466 0.0003466 0.04% Amr::coarseTimeStep() 10 0.0003463 0.0003463 0.0003463 0.04% main() 1 0.0003406 0.0003406 0.0003406 0.04% MultiFab::max() 11 0.0003284 0.0003284 0.0003284 0.03% MLCellLinOp::defineBC() 11 0.0002911 0.0002911 0.0002911 0.03% FabArray::ParallelCopy() 861 0.000248 0.000248 0.000248 0.03% FillPatchIterator::Initialize 41 0.0002249 0.0002249 0.0002249 0.02% MLMG::mgVcycle() 82 0.0002069 0.0002069 0.0002069 0.02% Castro::subcycle_advance_ctu() 10 0.0001837 0.0001837 0.0001837 0.02% Castro::create_source_corrector() 10 0.0001836 0.0001836 0.0001836 0.02% MLLinOp::defineGrids() 11 0.0001758 0.0001758 0.0001758 0.02% Amr::timeStep() 10 0.0001679 0.0001679 0.0001679 0.02% MLCellLinOp::correctionResidual() 410 0.0001633 0.0001633 0.0001633 0.02% StateData::checkPoint() 12 0.0001386 0.0001386 0.0001386 0.01% Gravity::solve_for_phi() 10 0.0001319 0.0001319 0.0001319 0.01% Gravity::update_max_rhs() 11 0.0001312 0.0001312 0.0001312 0.01% MLMG:computeResOfCorrection() 410 0.000115 0.000115 0.000115 0.01% FabArrayBase::FB::FB() 56 0.0001062 0.0001062 0.0001062 0.01% Castro::Castro() 1 9.942e-05 9.942e-05 9.942e-05 0.01% MLMG::mgVcycle_down::0 82 9.776e-05 9.776e-05 9.776e-05 0.01% MLMG::actualBottomSolve() 82 9.659e-05 9.659e-05 9.659e-05 0.01% MLMG::mgVcycle_down::1 82 9.344e-05 9.344e-05 9.344e-05 0.01% MLMG::mgVcycle_down::2 82 8.309e-05 8.309e-05 8.309e-05 0.01% Castro::initialize_advance() 10 7.953e-05 7.953e-05 7.953e-05 0.01% MLMG::mgVcycle_down::4 82 7.861e-05 7.861e-05 7.861e-05 0.01% MLMG::mgVcycle_down::3 82 7.68e-05 7.68e-05 7.68e-05 0.01% AmrLevel::checkPoint() 3 7.639e-05 7.639e-05 7.639e-05 0.01% Castro::construct_new_source() 50 7.557e-05 7.557e-05 7.557e-05 0.01% Castro::clean_state() 62 7.394e-05 7.394e-05 7.394e-05 0.01% MLMG::solve() 11 7.075e-05 7.075e-05 7.075e-05 0.01% Castro::enforce_consistent_e() 1 7.041e-05 7.041e-05 7.041e-05 0.01% Castro::advance() 10 6.796e-05 6.796e-05 6.796e-05 0.01% Castro::post_timestep() 10 6.696e-05 6.696e-05 6.696e-05 0.01% Castro::finalize_advance() 10 6.512e-05 6.512e-05 6.512e-05 0.01% Castro::initialize_do_advance() 10 6.235e-05 6.235e-05 6.235e-05 0.01% MLMG::mgVcycle_up::4 82 5.985e-05 5.985e-05 5.985e-05 0.01% MLMG::mgVcycle_up::0 82 5.726e-05 5.726e-05 5.726e-05 0.01% Castro::do_advance_ctu() 10 5.312e-05 5.312e-05 5.312e-05 0.01% MLMG::oneIter() 82 5.259e-05 5.259e-05 5.259e-05 0.01% MLCellLinOp::solutionResidual() 93 5.083e-05 5.083e-05 5.083e-05 0.01% MLMG::mgVcycle_up::3 82 5.081e-05 5.081e-05 5.081e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.065e-05 5.065e-05 5.065e-05 0.01% MLMG::mgVcycle_up::1 82 4.897e-05 4.897e-05 4.897e-05 0.01% MLMG::mgVcycle_up::2 82 4.851e-05 4.851e-05 4.851e-05 0.01% Castro::finalize_do_advance() 10 4.417e-05 4.417e-05 4.417e-05 0.00% StateData::define() 4 4.084e-05 4.084e-05 4.084e-05 0.00% MLMG::mgVcycle_bottom 82 3.735e-05 3.735e-05 3.735e-05 0.00% MLMG::ResNormInf() 93 3.627e-05 3.627e-05 3.627e-05 0.00% Castro::swap_state_time_levels() 10 3.577e-05 3.577e-05 3.577e-05 0.00% FillPatchSingleLevel 41 3.505e-05 3.505e-05 3.505e-05 0.00% Amr::writeSmallPlotFile() 1 3.289e-05 3.289e-05 3.289e-05 0.00% Castro::initMFs() 1 3.151e-05 3.151e-05 3.151e-05 0.00% MLMG::computeResidual() 82 3.091e-05 3.091e-05 3.091e-05 0.00% Castro::construct_new_gravity() 10 3.078e-05 3.078e-05 3.078e-05 0.00% Castro::buildMetrics() 1 2.672e-05 2.672e-05 2.672e-05 0.00% makeSFC 55 2.606e-05 2.606e-05 2.606e-05 0.00% Amr::defBaseLevel() 1 2.574e-05 2.574e-05 2.574e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.481e-05 2.481e-05 2.481e-05 0.00% MLPoisson::define() 11 2.148e-05 2.148e-05 2.148e-05 0.00% Castro::do_old_sources() 10 2.142e-05 2.142e-05 2.142e-05 0.00% Amr::FinalizeInit() 1 1.944e-05 1.944e-05 1.944e-05 0.00% Castro::construct_old_source() 50 1.905e-05 1.905e-05 1.905e-05 0.00% Castro::do_new_sources() 10 1.851e-05 1.851e-05 1.851e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.846e-05 1.846e-05 1.846e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.75e-05 1.75e-05 1.75e-05 0.00% DistributionMapping::Distribute() 56 1.747e-05 1.747e-05 1.747e-05 0.00% MLPoisson::prepareForSolve() 11 1.472e-05 1.472e-05 1.472e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.444e-05 1.444e-05 1.444e-05 0.00% Castro::apply_source_to_state() 20 1.429e-05 1.429e-05 1.429e-05 0.00% MLLinOp::define() 11 1.341e-05 1.341e-05 1.341e-05 0.00% MLMG::computeMLResidual() 11 1.286e-05 1.286e-05 1.286e-05 0.00% Castro::construct_old_gravity() 10 1.218e-05 1.218e-05 1.218e-05 0.00% Castro::check_for_nan() 20 1.071e-05 1.071e-05 1.071e-05 0.00% Castro::post_init() 1 1.018e-05 1.018e-05 1.018e-05 0.00% Amr::initSubcycle() 1 9.746e-06 9.746e-06 9.746e-06 0.00% Gravity::swapTimeLevels() 10 9.282e-06 9.282e-06 9.282e-06 0.00% Gravity::actual_multilevel_solve() 1 7.744e-06 7.744e-06 7.744e-06 0.00% MLMG::getGradSolution() 11 6.422e-06 6.422e-06 6.422e-06 0.00% Castro::computeNewDt() 9 6.39e-06 6.39e-06 6.39e-06 0.00% Castro::expand_state() 10 5.905e-06 5.905e-06 5.905e-06 0.00% Amr::InitializeInit() 1 5.033e-06 5.033e-06 5.033e-06 0.00% Castro::retry_advance_ctu() 10 4.872e-06 4.872e-06 4.872e-06 0.00% AmrLevel::checkPointPost() 3 4.849e-06 4.849e-06 4.849e-06 0.00% MLMG::MLRhsNormInf() 11 4.075e-06 4.075e-06 4.075e-06 0.00% Gravity::set_mass_offset() 11 3.912e-06 3.912e-06 3.912e-06 0.00% MLMG::MLResNormInf() 11 3.775e-06 3.775e-06 3.775e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.188e-06 3.188e-06 3.188e-06 0.00% Castro::FluxRegCrseInit 10 2.931e-06 2.931e-06 2.931e-06 0.00% Castro::computeInitialDt() 2 2.747e-06 2.747e-06 2.747e-06 0.00% Amr::init() 1 2.724e-06 2.724e-06 2.724e-06 0.00% AmrLevel::checkPointPre() 3 2.263e-06 2.263e-06 2.263e-06 0.00% Castro::FluxRegFineAdd() 10 2.217e-06 2.217e-06 2.217e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.847e-06 1.847e-06 1.847e-06 0.00% Castro::post_regrid() 1 1.131e-06 1.131e-06 1.131e-06 0.00% Amr::initialInit() 1 1.055e-06 1.055e-06 1.055e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9541 0.9541 0.9541 100.00% Amr::coarseTimeStep() 10 0.8022 0.8022 0.8022 84.07% Amr::timeStep() 10 0.7084 0.7084 0.7084 74.25% Castro::advance() 10 0.6972 0.6972 0.6972 73.07% Castro::subcycle_advance_ctu() 10 0.6839 0.6839 0.6839 71.68% Castro::do_advance_ctu() 10 0.6837 0.6837 0.6837 71.66% Castro::construct_ctu_hydro_source() 10 0.3389 0.3389 0.3389 35.52% Gravity::solve_phi_with_mlmg() 11 0.2975 0.2975 0.2975 31.18% Gravity::actual_solve_with_mlmg() 11 0.2875 0.2875 0.2875 30.13% Castro::construct_new_gravity() 10 0.2685 0.2685 0.2685 28.14% MLMG::solve() 11 0.2651 0.2651 0.2651 27.78% Gravity::solve_for_phi() 10 0.2523 0.2523 0.2523 26.44% MLMG::oneIter() 82 0.2496 0.2496 0.2496 26.15% MLMG::mgVcycle() 82 0.2459 0.2459 0.2459 25.77% VisMF::Write(FabArray) 11 0.1777 0.1777 0.1777 18.62% Amr::checkPoint() 3 0.1356 0.1356 0.1356 14.21% AmrLevel::checkPoint() 3 0.1297 0.1297 0.1297 13.59% StateData::checkPoint() 12 0.1296 0.1296 0.1296 13.58% Amr::init() 1 0.1256 0.1256 0.1256 13.17% MLCellLinOp::smooth() 1640 0.1227 0.1227 0.1227 12.86% MLCellLinOp::applyBC() 4351 0.1135 0.1135 0.1135 11.90% MLMG::mgVcycle_bottom 82 0.07384 0.07384 0.07384 7.74% MLMG::actualBottomSolve() 82 0.0738 0.0738 0.0738 7.73% MLCGSolver::bicgstab 82 0.07304 0.07304 0.07304 7.66% Castro::clean_state() 62 0.06034 0.06034 0.06034 6.32% Amr::initialInit() 1 0.05449 0.05449 0.05449 5.71% Amr::writePlotFile() 2 0.05084 0.05084 0.05084 5.33% Amr::FinalizeInit() 1 0.04937 0.04937 0.04937 5.17% Castro::post_init() 1 0.04789 0.04789 0.04789 5.02% AmrLevel::FillPatch() 41 0.04788 0.04788 0.04788 5.02% Gravity::multilevel_solve_for_new_phi() 1 0.04563 0.04563 0.04563 4.78% Gravity::actual_multilevel_solve() 1 0.04561 0.04561 0.04561 4.78% FillPatchIterator::Initialize 41 0.0436 0.0436 0.0436 4.57% FillPatchIterator::FillFromLevel0() 41 0.04203 0.04203 0.04203 4.40% FillPatchSingleLevel 41 0.04198 0.04198 0.04198 4.40% StateDataPhysBCFunct::() 41 0.03789 0.03789 0.03789 3.97% MLCellLinOp::apply() 1060 0.03646 0.03646 0.03646 3.82% MLMG::mgVcycle_down::0 82 0.03484 0.03484 0.03484 3.65% MLPoisson::Fsmooth() 3280 0.03421 0.03421 0.03421 3.58% FabArray::FillBoundary() 3941 0.03276 0.03276 0.03276 3.43% FillBoundary_nowait() 3941 0.03193 0.03193 0.03193 3.35% StateData::FillBoundary(geom) 328 0.02699 0.02699 0.02699 2.83% MLMG::mgVcycle_up::0 82 0.02634 0.02634 0.02634 2.76% Castro::computeTemp() 63 0.02406 0.02406 0.02406 2.52% amrex::Dot() 1114 0.02182 0.02182 0.02182 2.29% Castro::normalize_species() 62 0.02174 0.02174 0.02174 2.28% Castro::initialize_do_advance() 10 0.02122 0.02122 0.02122 2.22% MLMG:computeResOfCorrection() 410 0.02058 0.02058 0.02058 2.16% MLCellLinOp::correctionResidual() 410 0.02046 0.02046 0.02046 2.14% FabArray::norminf() 1061 0.02018 0.02018 0.02018 2.12% Castro::do_old_sources() 10 0.02012 0.02012 0.02012 2.11% Gravity::get_new_grav_vector() 11 0.01804 0.01804 0.01804 1.89% MLPoisson::define() 11 0.01758 0.01758 0.01758 1.84% MLMG::mgVcycle_down::1 82 0.01682 0.01682 0.01682 1.76% Castro::do_new_sources() 10 0.01587 0.01587 0.01587 1.66% MLMG::mgVcycle_down::2 82 0.01571 0.01571 0.01571 1.65% Castro::construct_old_gravity() 10 0.01562 0.01562 0.01562 1.64% Gravity::get_old_grav_vector() 10 0.01561 0.01561 0.01561 1.64% MLMG::mgVcycle_down::3 82 0.01528 0.01528 0.01528 1.60% MLMG::mgVcycle_down::4 82 0.0151 0.0151 0.0151 1.58% FabArray::ParallelCopy() 861 0.01464 0.01464 0.01464 1.53% FabArray::ParallelCopy_nowait() 861 0.01439 0.01439 0.01439 1.51% Castro::enforce_min_density() 62 0.014 0.014 0.014 1.47% FabArray::setVal() 1062 0.01332 0.01332 0.01332 1.40% FabArray::Saxpy() 1370 0.0133 0.0133 0.0133 1.39% MLCGSolver::ParallelAllReduce 1832 0.01308 0.01308 0.01308 1.37% Castro::initialize_advance() 10 0.01267 0.01267 0.01267 1.33% MLMG::addInterpCorrection() 410 0.01237 0.01237 0.01237 1.30% MLMG::mgVcycle_up::1 82 0.01218 0.01218 0.01218 1.28% MLMG::mgVcycle_up::4 82 0.01203 0.01203 0.01203 1.26% MLCellLinOp::defineAuxData() 11 0.012 0.012 0.012 1.26% MLMG::mgVcycle_up::2 82 0.01195 0.01195 0.01195 1.25% amrex::average_down 410 0.01163 0.01163 0.01163 1.22% MLMG::mgVcycle_up::3 82 0.01162 0.01162 0.01162 1.22% Castro::expand_state() 10 0.01144 0.01144 0.01144 1.20% Castro::post_timestep() 10 0.01102 0.01102 0.01102 1.15% amrex::Copy() 472 0.01085 0.01085 0.01085 1.14% MLPoisson::Fapply() 1060 0.0104 0.0104 0.0104 1.09% Gravity::fill_multipole_BCs() 11 0.009752 0.009752 0.009752 1.02% FabArray::Xpay() 739 0.007867 0.007867 0.007867 0.82% MLCellLinOp::solutionResidual() 93 0.007703 0.007703 0.007703 0.81% Castro::reset_internal_energy(MultiFab) 63 0.006604 0.006604 0.006604 0.69% MLMG::computeResidual() 82 0.006394 0.006394 0.006394 0.67% Castro::estTimeStep() 21 0.006102 0.006102 0.006102 0.64% MLCellLinOp::defineBC() 11 0.005306 0.005306 0.005306 0.56% MLMG::prepareForSolve() 11 0.005296 0.005296 0.005296 0.56% Amr::InitializeInit() 1 0.005122 0.005122 0.005122 0.54% Amr::defBaseLevel() 1 0.005117 0.005117 0.005117 0.54% BndryData::define() 11 0.005015 0.005015 0.005015 0.53% Castro::initData() 1 0.004422 0.004422 0.004422 0.46% amrex::Add() 82 0.003599 0.003599 0.003599 0.38% Castro::construct_new_source() 50 0.003566 0.003566 0.003566 0.37% Castro::construct_new_gravity_source() 10 0.003491 0.003491 0.003491 0.37% Castro::construct_old_source() 50 0.003004 0.003004 0.003004 0.31% Castro::construct_old_gravity_source() 10 0.002985 0.002985 0.002985 0.31% Castro::computeNewDt() 9 0.002587 0.002587 0.002587 0.27% Castro::finalize_do_advance() 10 0.002485 0.002485 0.002485 0.26% check_for_negative_density() 10 0.002247 0.002247 0.002247 0.24% MLMG::ResNormInf() 93 0.002193 0.002193 0.002193 0.23% Castro::apply_source_to_state() 20 0.001872 0.001872 0.001872 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001797 0.001797 0.001797 0.19% MLCellLinOp::setLevelBC() 11 0.001597 0.001597 0.001597 0.17% MLMG::getGradSolution() 11 0.00159 0.00159 0.00159 0.17% MLCellLinOp::compGrad() 11 0.001584 0.001584 0.001584 0.17% Castro::reset_internal_energy(Fab) 504 0.001583 0.001583 0.001583 0.17% FabArrayBase::getCPC() 1323 0.001528 0.001528 0.001528 0.16% Castro::enforce_speed_limit() 62 0.00149 0.00149 0.00149 0.16% MLPoisson::prepareForSolve() 11 0.001395 0.001395 0.001395 0.15% FabArray::mult() 43 0.001387 0.001387 0.001387 0.15% MLCellLinOp::prepareForSolve() 11 0.00138 0.00138 0.00138 0.14% MLMG::computeMLResidual() 11 0.001353 0.001353 0.001353 0.14% FabArray::setDomainBndry() 41 0.001351 0.001351 0.001351 0.14% Castro::check_for_nan() 20 0.001312 0.001312 0.001312 0.14% MultiFab::contains_nan() 20 0.001302 0.001302 0.001302 0.14% Castro::post_regrid() 1 0.001171 0.001171 0.001171 0.12% Castro::computeInitialDt() 2 0.001084 0.001084 0.001084 0.11% Gravity::update_max_rhs() 11 0.0009775 0.0009775 0.0009775 0.10% FabArrayBase::getFB() 3941 0.0007103 0.0007103 0.0007103 0.07% FabArrayBase::CPC::define() 454 0.0007049 0.0007049 0.0007049 0.07% Amr::InitAmr() 1 0.0006598 0.0006598 0.0006598 0.07% Castro::Castro() 1 0.0006055 0.0006055 0.0006055 0.06% Castro::finalize_advance() 10 0.0005969 0.0005969 0.0005969 0.06% Gravity::swapTimeLevels() 10 0.0004634 0.0004634 0.0004634 0.05% MLMG::MLResNormInf() 11 0.0003385 0.0003385 0.0003385 0.04% MultiFab::max() 11 0.0003284 0.0003284 0.0003284 0.03% Castro::buildMetrics() 1 0.000301 0.000301 0.000301 0.03% MLLinOp::define() 11 0.0002477 0.0002477 0.0002477 0.03% MLLinOp::defineGrids() 11 0.0002343 0.0002343 0.0002343 0.02% MLMG::MLRhsNormInf() 11 0.0002234 0.0002234 0.0002234 0.02% Castro::create_source_corrector() 10 0.0001836 0.0001836 0.0001836 0.02% FabArrayBase::FB::FB() 56 0.0001062 0.0001062 0.0001062 0.01% Castro::enforce_consistent_e() 1 7.041e-05 7.041e-05 7.041e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.93e-05 5.93e-05 5.93e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.667e-05 5.667e-05 5.667e-05 0.01% makeSFC 55 4.223e-05 4.223e-05 4.223e-05 0.00% StateData::define() 4 4.084e-05 4.084e-05 4.084e-05 0.00% Castro::swap_state_time_levels() 10 3.577e-05 3.577e-05 3.577e-05 0.00% Amr::writeSmallPlotFile() 1 3.289e-05 3.289e-05 3.289e-05 0.00% Castro::initMFs() 1 3.151e-05 3.151e-05 3.151e-05 0.00% DistributionMapping::Distribute() 56 1.747e-05 1.747e-05 1.747e-05 0.00% Amr::initSubcycle() 1 9.746e-06 9.746e-06 9.746e-06 0.00% Castro::retry_advance_ctu() 10 4.872e-06 4.872e-06 4.872e-06 0.00% AmrLevel::checkPointPost() 3 4.849e-06 4.849e-06 4.849e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.489e-06 4.489e-06 4.489e-06 0.00% Gravity::set_mass_offset() 11 3.912e-06 3.912e-06 3.912e-06 0.00% Castro::FluxRegCrseInit 10 2.931e-06 2.931e-06 2.931e-06 0.00% AmrLevel::checkPointPre() 3 2.263e-06 2.263e-06 2.263e-06 0.00% Castro::FluxRegFineAdd() 10 2.217e-06 2.217e-06 2.217e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.847e-06 1.847e-06 1.847e-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 84 MiB 9042 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 962 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1487 KiB 28 MiB Castro::initialize_advance() 80 80 17 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7615 KiB 14 MiB MLMG::prepareForSolve() 660 660 3416 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 196 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 167 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7518 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1977 B 2048 KiB Gravity::solve_for_phi() 80 80 540 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 97 KiB 2048 KiB BndryData::define() 1056 1056 312 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 199 KiB 671 KiB Castro::estTimeStep() 21 21 3119 B 480 KiB VisMF::Write(FabArray) 656 656 3245 B 320 KiB Castro::normalize_species() 62 62 7422 B 320 KiB amrex::average_down 1067 1067 1216 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1094 B 257 KiB amrex::Dot() 1360 1360 3383 B 160 KiB FabArray::norminf() 1143 1143 3272 B 160 KiB check_for_negative_density() 10 10 373 B 160 KiB Castro::initData() 1 1 51 B 160 KiB MultiFab::max() 11 11 53 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3334 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 287 B 9648 B MLCellLinOp::applyBC() 8702 8702 210 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3940 B 6144 B StateData::FillBoundary(geom) 1992 1992 39 B 2464 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 352 B 1248 B MLCGSolver::bicgstab 410 410 92 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 514 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 39 KiB 8192 KiB VisMF::Write(FabArray) 744 744 406 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3334 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 287 B 9648 B MLCellLinOp::applyBC() 4351 4351 208 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3940 B 6144 B Gravity::get_new_grav_vector() 3 3 2897 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 39 B 2464 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 284 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 B 400 B FabArray::norminf() 1143 1143 9 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2189 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.01-9-g03f59365ab29) finalized Initializing AMReX (24.01-9-g03f59365ab29)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-9-g03f59365ab29) initialized Starting run at 10:36:35 UTC on 2024-01-16. Successfully read inputs file ... Castro git describe: 24.01-11-g44d0e551d AMReX git describe: 24.01-9-g03f59365a Microphysics git describe: 24.01-9-ga4d7ab4d reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.516801902 Restart time = 0.072231124 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.073268785 [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.062004635 [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.075943446 [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.074734811 [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.051058943 [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.035540896 seconds Ending run at 10:36:35 UTC on 2024-01-16. Run time = 0.446089626 Run time without initialization = 0.373177969 Average number of zones advanced per microsecond: 3.512 Average number of zones advanced per microsecond per rank: 3.512 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4461 ... 0.4461 ... 0.4461 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1459 0.1459 0.1459 32.71% VisMF::Read() 3 0.06081 0.06081 0.06081 13.63% MLCellLinOp::applyBC() 1910 0.03502 0.03502 0.03502 7.85% VisMF::Write(FabArray) 1 0.03289 0.03289 0.03289 7.37% MLPoisson::Fsmooth() 1440 0.01489 0.01489 0.01489 3.34% StateData::FillBoundary(geom) 160 0.01296 0.01296 0.01296 2.90% FillBoundary_nowait() 1730 0.0128 0.0128 0.0128 2.87% amrex::Dot() 484 0.009362 0.009362 0.009362 2.10% FabArray::norminf() 465 0.008966 0.008966 0.008966 2.01% Castro::normalize_species() 30 0.008961 0.008961 0.008961 2.01% Castro::computeTemp() 30 0.007001 0.007001 0.007001 1.57% FabArray::setVal() 501 0.006464 0.006464 0.006464 1.45% Castro::enforce_min_density() 30 0.006297 0.006297 0.006297 1.41% FabArray::ParallelCopy_nowait() 380 0.006092 0.006092 0.006092 1.37% FabArray::Saxpy() 597 0.005854 0.005854 0.005854 1.31% Gravity::fill_multipole_BCs() 6 0.005707 0.005707 0.005707 1.28% MLCellLinOp::defineAuxData() 6 0.005672 0.005672 0.005672 1.27% amrex::Copy() 221 0.005398 0.005398 0.005398 1.21% Amr::restart() 1 0.004766 0.004766 0.004766 1.07% StateDataPhysBCFunct::() 20 0.004629 0.004629 0.004629 1.04% MLPoisson::Fapply() 464 0.00451 0.00451 0.00451 1.01% FabArray::Xpay() 325 0.003469 0.003469 0.003469 0.78% MLMG::addInterpCorrection() 180 0.003154 0.003154 0.003154 0.71% Castro::estTimeStep() 10 0.002816 0.002816 0.002816 0.63% amrex::average_down 180 0.00276 0.00276 0.00276 0.62% Amr::writePlotFile() 1 0.002491 0.002491 0.002491 0.56% BndryData::define() 6 0.002155 0.002155 0.002155 0.48% Castro::reset_internal_energy(MultiFab) 30 0.002123 0.002123 0.002123 0.48% Castro::construct_new_gravity_source() 5 0.001756 0.001756 0.001756 0.39% amrex::Add() 36 0.001542 0.001542 0.001542 0.35% Castro::construct_old_gravity_source() 5 0.001516 0.001516 0.001516 0.34% Castro::enforce_speed_limit() 30 0.001188 0.001188 0.001188 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009837 0.0009837 0.0009837 0.22% check_for_negative_density() 5 0.0009548 0.0009548 0.0009548 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008797 0.0008797 0.0008797 0.20% MLCellLinOp::setLevelBC() 6 0.0008724 0.0008724 0.0008724 0.20% Castro::reset_internal_energy(Fab) 240 0.0007745 0.0007745 0.0007745 0.17% MLCellLinOp::prepareForSolve() 6 0.0007594 0.0007594 0.0007594 0.17% MLCGSolver::bicgstab 36 0.0007317 0.0007317 0.0007317 0.16% FabArray::mult() 22 0.0006831 0.0006831 0.0006831 0.15% FabArray::setDomainBndry() 20 0.0006811 0.0006811 0.0006811 0.15% MultiFab::contains_nan() 10 0.000652 0.000652 0.000652 0.15% MLCellLinOp::compGrad() 6 0.0005939 0.0005939 0.0005939 0.13% MLMG::prepareForSolve() 6 0.0005606 0.0005606 0.0005606 0.13% MLCellLinOp::smooth() 720 0.000502 0.000502 0.000502 0.11% Amr::InitAmr() 1 0.0004865 0.0004865 0.0004865 0.11% FabArrayBase::CPC::define() 244 0.0004129 0.0004129 0.0004129 0.09% FabArray::FillBoundary() 1730 0.0003775 0.0003775 0.0003775 0.08% FabArrayBase::getCPC() 632 0.000357 0.000357 0.000357 0.08% main() 1 0.000352 0.000352 0.000352 0.08% Gravity::get_old_grav_vector() 5 0.0003189 0.0003189 0.0003189 0.07% Amr::coarseTimeStep() 5 0.00029 0.00029 0.00029 0.06% Gravity::get_new_grav_vector() 5 0.000262 0.000262 0.000262 0.06% FabArrayBase::getFB() 1730 0.0002575 0.0002575 0.0002575 0.06% MultiFab::max() 6 0.0002124 0.0002124 0.0002124 0.05% AmrLevel::FillPatch() 20 0.0001992 0.0001992 0.0001992 0.04% MLCellLinOp::apply() 464 0.0001877 0.0001877 0.0001877 0.04% MLCGSolver::ParallelAllReduce 798 0.0001575 0.0001575 0.0001575 0.04% MLCellLinOp::defineBC() 6 0.0001562 0.0001562 0.0001562 0.04% Castro::subcycle_advance_ctu() 5 0.0001214 0.0001214 0.0001214 0.03% FillPatchIterator::Initialize 20 0.0001147 0.0001147 0.0001147 0.03% Castro::do_advance_ctu() 5 0.000113 0.000113 0.000113 0.03% FabArray::ParallelCopy() 380 0.0001079 0.0001079 0.0001079 0.02% MLMG::mgVcycle() 36 9.717e-05 9.717e-05 9.717e-05 0.02% MLLinOp::defineGrids() 6 9.336e-05 9.336e-05 9.336e-05 0.02% Amr::timeStep() 5 8.752e-05 8.752e-05 8.752e-05 0.02% Castro::create_source_corrector() 5 8.444e-05 8.444e-05 8.444e-05 0.02% AmrLevel::restart() 1 7.836e-05 7.836e-05 7.836e-05 0.02% MLCellLinOp::correctionResidual() 180 7.188e-05 7.188e-05 7.188e-05 0.02% Castro::initialize_do_advance() 5 6.775e-05 6.775e-05 6.775e-05 0.02% StateData::restartDoit() 4 6.608e-05 6.608e-05 6.608e-05 0.01% Gravity::update_max_rhs() 6 6.601e-05 6.601e-05 6.601e-05 0.01% FabArrayBase::FB::FB() 26 6.09e-05 6.09e-05 6.09e-05 0.01% Castro::advance() 5 5.536e-05 5.536e-05 5.536e-05 0.01% Castro::construct_new_source() 25 5.382e-05 5.382e-05 5.382e-05 0.01% Gravity::solve_for_phi() 5 5.362e-05 5.362e-05 5.362e-05 0.01% MLMG:computeResOfCorrection() 180 5.201e-05 5.201e-05 5.201e-05 0.01% MLMG::mgVcycle_down::0 36 4.72e-05 4.72e-05 4.72e-05 0.01% MLMG::actualBottomSolve() 36 4.309e-05 4.309e-05 4.309e-05 0.01% Castro::finalize_do_advance() 5 4.18e-05 4.18e-05 4.18e-05 0.01% MLMG::mgVcycle_down::1 36 3.823e-05 3.823e-05 3.823e-05 0.01% MLMG::mgVcycle_down::3 36 3.611e-05 3.611e-05 3.611e-05 0.01% Amr::writeSmallPlotFile() 1 3.567e-05 3.567e-05 3.567e-05 0.01% Castro::initialize_advance() 5 3.523e-05 3.523e-05 3.523e-05 0.01% MLMG::solve() 6 3.498e-05 3.498e-05 3.498e-05 0.01% MLMG::mgVcycle_down::2 36 3.44e-05 3.44e-05 3.44e-05 0.01% MLMG::mgVcycle_down::4 36 3.359e-05 3.359e-05 3.359e-05 0.01% Castro::post_timestep() 5 3.328e-05 3.328e-05 3.328e-05 0.01% Castro::clean_state() 30 3.219e-05 3.219e-05 3.219e-05 0.01% MLMG::mgVcycle_up::4 36 3.098e-05 3.098e-05 3.098e-05 0.01% Castro::post_restart() 1 2.972e-05 2.972e-05 2.972e-05 0.01% Castro::finalize_advance() 5 2.926e-05 2.926e-05 2.926e-05 0.01% Castro::buildMetrics() 1 2.903e-05 2.903e-05 2.903e-05 0.01% Castro::construct_old_source() 25 2.702e-05 2.702e-05 2.702e-05 0.01% Castro::initMFs() 1 2.56e-05 2.56e-05 2.56e-05 0.01% MLMG::oneIter() 36 2.434e-05 2.434e-05 2.434e-05 0.01% Castro::swap_state_time_levels() 5 2.426e-05 2.426e-05 2.426e-05 0.01% MLMG::mgVcycle_up::0 36 2.361e-05 2.361e-05 2.361e-05 0.01% MLMG::mgVcycle_up::3 36 2.325e-05 2.325e-05 2.325e-05 0.01% MLCellLinOp::solutionResidual() 42 2.219e-05 2.219e-05 2.219e-05 0.00% MLMG::mgVcycle_up::2 36 2.139e-05 2.139e-05 2.139e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.092e-05 2.092e-05 2.092e-05 0.00% MLMG::mgVcycle_up::1 36 2.027e-05 2.027e-05 2.027e-05 0.00% MLMG::ResNormInf() 42 1.932e-05 1.932e-05 1.932e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.757e-05 1.757e-05 1.757e-05 0.00% MLPoisson::define() 6 1.553e-05 1.553e-05 1.553e-05 0.00% MLMG::mgVcycle_bottom 36 1.551e-05 1.551e-05 1.551e-05 0.00% FillPatchSingleLevel 20 1.515e-05 1.515e-05 1.515e-05 0.00% MLMG::computeResidual() 36 1.461e-05 1.461e-05 1.461e-05 0.00% makeSFC 30 1.422e-05 1.422e-05 1.422e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.351e-05 1.351e-05 1.351e-05 0.00% Castro::construct_new_gravity() 5 1.345e-05 1.345e-05 1.345e-05 0.00% Castro::do_old_sources() 5 1.165e-05 1.165e-05 1.165e-05 0.00% MLPoisson::prepareForSolve() 6 1.039e-05 1.039e-05 1.039e-05 0.00% DistributionMapping::Distribute() 31 1.016e-05 1.016e-05 1.016e-05 0.00% Castro::do_new_sources() 5 1.002e-05 1.002e-05 1.002e-05 0.00% MLMG::computeMLResidual() 6 9.641e-06 9.641e-06 9.641e-06 0.00% Gravity::actual_multilevel_solve() 1 8.619e-06 8.619e-06 8.619e-06 0.00% Amr::initSubcycle() 1 8.546e-06 8.546e-06 8.546e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.465e-06 7.465e-06 7.465e-06 0.00% MLLinOp::define() 6 6.204e-06 6.204e-06 6.204e-06 0.00% Castro::construct_old_gravity() 5 6.089e-06 6.089e-06 6.089e-06 0.00% Castro::check_for_nan() 10 5.904e-06 5.904e-06 5.904e-06 0.00% Castro::apply_source_to_state() 10 5.876e-06 5.876e-06 5.876e-06 0.00% Gravity::swapTimeLevels() 5 4.286e-06 4.286e-06 4.286e-06 0.00% Castro::computeNewDt() 5 4.1e-06 4.1e-06 4.1e-06 0.00% MLMG::getGradSolution() 6 3.624e-06 3.624e-06 3.624e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.327e-06 3.327e-06 3.327e-06 0.00% Castro::expand_state() 5 3.114e-06 3.114e-06 3.114e-06 0.00% MLMG::MLResNormInf() 6 2.45e-06 2.45e-06 2.45e-06 0.00% Gravity::set_mass_offset() 6 2.384e-06 2.384e-06 2.384e-06 0.00% MLMG::MLRhsNormInf() 6 2.194e-06 2.194e-06 2.194e-06 0.00% Castro::retry_advance_ctu() 5 1.856e-06 1.856e-06 1.856e-06 0.00% Amr::init() 1 1.79e-06 1.79e-06 1.79e-06 0.00% Castro::FluxRegCrseInit 5 1.341e-06 1.341e-06 1.341e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.152e-06 1.152e-06 1.152e-06 0.00% Castro::FluxRegFineAdd() 5 1.136e-06 1.136e-06 1.136e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4461 0.4461 0.4461 100.00% Amr::coarseTimeStep() 5 0.3373 0.3373 0.3373 75.61% Amr::timeStep() 5 0.3351 0.3351 0.3351 75.11% Castro::advance() 5 0.3292 0.3292 0.3292 73.79% Castro::subcycle_advance_ctu() 5 0.3222 0.3222 0.3222 72.22% Castro::do_advance_ctu() 5 0.3221 0.3221 0.3221 72.19% Castro::construct_ctu_hydro_source() 5 0.1514 0.1514 0.1514 33.95% Castro::construct_new_gravity() 5 0.1356 0.1356 0.1356 30.39% Gravity::solve_phi_with_mlmg() 6 0.1331 0.1331 0.1331 29.85% Gravity::solve_for_phi() 5 0.1276 0.1276 0.1276 28.60% Gravity::actual_solve_with_mlmg() 6 0.1272 0.1272 0.1272 28.51% MLMG::solve() 6 0.1151 0.1151 0.1151 25.79% MLMG::oneIter() 36 0.1075 0.1075 0.1075 24.09% MLMG::mgVcycle() 36 0.1059 0.1059 0.1059 23.73% Amr::init() 1 0.0723 0.0723 0.0723 16.21% Amr::restart() 1 0.07229 0.07229 0.07229 16.20% AmrLevel::restart() 1 0.06116 0.06116 0.06116 13.71% StateData::restartDoit() 4 0.06108 0.06108 0.06108 13.69% VisMF::Read() 3 0.06081 0.06081 0.06081 13.63% MLCellLinOp::smooth() 720 0.05252 0.05252 0.05252 11.77% MLCellLinOp::applyBC() 1910 0.04852 0.04852 0.04852 10.88% Amr::writePlotFile() 1 0.03563 0.03563 0.03563 7.99% VisMF::Write(FabArray) 1 0.03289 0.03289 0.03289 7.37% MLMG::mgVcycle_bottom 36 0.03197 0.03197 0.03197 7.17% MLMG::actualBottomSolve() 36 0.03195 0.03195 0.03195 7.16% MLCGSolver::bicgstab 36 0.03162 0.03162 0.03162 7.09% Castro::clean_state() 30 0.02638 0.02638 0.02638 5.91% AmrLevel::FillPatch() 20 0.02252 0.02252 0.02252 5.05% FillPatchIterator::Initialize 20 0.02043 0.02043 0.02043 4.58% FillPatchIterator::FillFromLevel0() 20 0.01964 0.01964 0.01964 4.40% FillPatchSingleLevel 20 0.01961 0.01961 0.01961 4.40% StateDataPhysBCFunct::() 20 0.01759 0.01759 0.01759 3.94% MLCellLinOp::apply() 464 0.0158 0.0158 0.0158 3.54% MLPoisson::Fsmooth() 1440 0.01489 0.01489 0.01489 3.34% MLMG::mgVcycle_down::0 36 0.01484 0.01484 0.01484 3.33% FabArray::FillBoundary() 1730 0.0135 0.0135 0.0135 3.03% FillBoundary_nowait() 1730 0.01312 0.01312 0.01312 2.94% StateData::FillBoundary(geom) 160 0.01296 0.01296 0.01296 2.90% MLMG::mgVcycle_up::0 36 0.01112 0.01112 0.01112 2.49% Castro::initialize_do_advance() 5 0.01068 0.01068 0.01068 2.39% Castro::computeTemp() 30 0.009899 0.009899 0.009899 2.22% MLPoisson::define() 6 0.009502 0.009502 0.009502 2.13% amrex::Dot() 484 0.009362 0.009362 0.009362 2.10% Castro::do_old_sources() 5 0.009023 0.009023 0.009023 2.02% FabArray::norminf() 465 0.008966 0.008966 0.008966 2.01% Castro::normalize_species() 30 0.008961 0.008961 0.008961 2.01% MLMG:computeResOfCorrection() 180 0.008835 0.008835 0.008835 1.98% MLCellLinOp::correctionResidual() 180 0.008783 0.008783 0.008783 1.97% Gravity::get_new_grav_vector() 5 0.007883 0.007883 0.007883 1.77% Castro::construct_old_gravity() 5 0.007521 0.007521 0.007521 1.69% Gravity::get_old_grav_vector() 5 0.007515 0.007515 0.007515 1.68% MLMG::mgVcycle_down::1 36 0.007343 0.007343 0.007343 1.65% MLMG::mgVcycle_down::2 36 0.006729 0.006729 0.006729 1.51% Castro::initialize_advance() 5 0.006648 0.006648 0.006648 1.49% FabArray::ParallelCopy() 380 0.006581 0.006581 0.006581 1.48% MLMG::mgVcycle_down::3 36 0.006581 0.006581 0.006581 1.48% MLMG::mgVcycle_down::4 36 0.00655 0.00655 0.00655 1.47% FabArray::ParallelCopy_nowait() 380 0.006473 0.006473 0.006473 1.45% FabArray::setVal() 501 0.006464 0.006464 0.006464 1.45% MLCellLinOp::defineAuxData() 6 0.006451 0.006451 0.006451 1.45% Castro::enforce_min_density() 30 0.006297 0.006297 0.006297 1.41% Castro::do_new_sources() 5 0.006294 0.006294 0.006294 1.41% Castro::post_restart() 1 0.006189 0.006189 0.006189 1.39% FabArray::Saxpy() 597 0.005854 0.005854 0.005854 1.31% Gravity::fill_multipole_BCs() 6 0.005831 0.005831 0.005831 1.31% Castro::post_timestep() 5 0.005812 0.005812 0.005812 1.30% Gravity::multilevel_solve_for_new_phi() 1 0.005811 0.005811 0.005811 1.30% Gravity::actual_multilevel_solve() 1 0.005794 0.005794 0.005794 1.30% Castro::expand_state() 5 0.005758 0.005758 0.005758 1.29% MLCGSolver::ParallelAllReduce 798 0.005706 0.005706 0.005706 1.28% MLMG::addInterpCorrection() 180 0.005418 0.005418 0.005418 1.21% amrex::Copy() 221 0.005398 0.005398 0.005398 1.21% MLMG::mgVcycle_up::4 36 0.005274 0.005274 0.005274 1.18% MLMG::mgVcycle_up::1 36 0.005221 0.005221 0.005221 1.17% MLMG::mgVcycle_up::2 36 0.005118 0.005118 0.005118 1.15% amrex::average_down 180 0.005065 0.005065 0.005065 1.14% MLMG::mgVcycle_up::3 36 0.005039 0.005039 0.005039 1.13% MLPoisson::Fapply() 464 0.00451 0.00451 0.00451 1.01% MLCellLinOp::solutionResidual() 42 0.003567 0.003567 0.003567 0.80% FabArray::Xpay() 325 0.003469 0.003469 0.003469 0.78% MLCellLinOp::defineBC() 6 0.002904 0.002904 0.002904 0.65% Castro::reset_internal_energy(MultiFab) 30 0.002898 0.002898 0.002898 0.65% MLMG::prepareForSolve() 6 0.002884 0.002884 0.002884 0.65% Castro::estTimeStep() 10 0.002816 0.002816 0.002816 0.63% MLMG::computeResidual() 36 0.002788 0.002788 0.002788 0.62% BndryData::define() 6 0.002748 0.002748 0.002748 0.62% Castro::computeNewDt() 5 0.001902 0.001902 0.001902 0.43% Castro::construct_new_source() 25 0.00181 0.00181 0.00181 0.41% Castro::construct_new_gravity_source() 5 0.001756 0.001756 0.001756 0.39% Castro::construct_old_source() 25 0.001543 0.001543 0.001543 0.35% amrex::Add() 36 0.001542 0.001542 0.001542 0.35% Castro::construct_old_gravity_source() 5 0.001516 0.001516 0.001516 0.34% Castro::enforce_speed_limit() 30 0.001188 0.001188 0.001188 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009837 0.0009837 0.0009837 0.22% MLMG::ResNormInf() 42 0.0009811 0.0009811 0.0009811 0.22% Castro::apply_source_to_state() 10 0.0009615 0.0009615 0.0009615 0.22% Castro::finalize_do_advance() 5 0.0009596 0.0009596 0.0009596 0.22% check_for_negative_density() 5 0.0009548 0.0009548 0.0009548 0.21% MLMG::getGradSolution() 6 0.000877 0.000877 0.000877 0.20% MLCellLinOp::compGrad() 6 0.0008733 0.0008733 0.0008733 0.20% MLCellLinOp::setLevelBC() 6 0.0008724 0.0008724 0.0008724 0.20% MLMG::computeMLResidual() 6 0.000804 0.000804 0.000804 0.18% Castro::reset_internal_energy(Fab) 240 0.0007745 0.0007745 0.0007745 0.17% FabArrayBase::getCPC() 632 0.0007699 0.0007699 0.0007699 0.17% MLPoisson::prepareForSolve() 6 0.0007698 0.0007698 0.0007698 0.17% MLCellLinOp::prepareForSolve() 6 0.0007594 0.0007594 0.0007594 0.17% Gravity::update_max_rhs() 6 0.0007155 0.0007155 0.0007155 0.16% FabArray::mult() 22 0.0006831 0.0006831 0.0006831 0.15% FabArray::setDomainBndry() 20 0.0006811 0.0006811 0.0006811 0.15% Castro::check_for_nan() 10 0.0006579 0.0006579 0.0006579 0.15% MultiFab::contains_nan() 10 0.000652 0.000652 0.000652 0.15% Amr::InitAmr() 1 0.0004951 0.0004951 0.0004951 0.11% FabArrayBase::CPC::define() 244 0.0004129 0.0004129 0.0004129 0.09% FabArrayBase::getFB() 1730 0.0003184 0.0003184 0.0003184 0.07% Castro::finalize_advance() 5 0.0002977 0.0002977 0.0002977 0.07% Gravity::swapTimeLevels() 5 0.0002326 0.0002326 0.0002326 0.05% MultiFab::max() 6 0.0002124 0.0002124 0.0002124 0.05% MLMG::MLResNormInf() 6 0.00019 0.00019 0.00019 0.04% Castro::buildMetrics() 1 0.0001523 0.0001523 0.0001523 0.03% MLLinOp::define() 6 0.0001311 0.0001311 0.0001311 0.03% MLLinOp::defineGrids() 6 0.0001249 0.0001249 0.0001249 0.03% MLMG::MLRhsNormInf() 6 0.0001191 0.0001191 0.0001191 0.03% Castro::create_source_corrector() 5 8.444e-05 8.444e-05 8.444e-05 0.02% FabArrayBase::FB::FB() 26 6.09e-05 6.09e-05 6.09e-05 0.01% Amr::writeSmallPlotFile() 1 3.567e-05 3.567e-05 3.567e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.038e-05 3.038e-05 3.038e-05 0.01% Castro::initMFs() 1 2.56e-05 2.56e-05 2.56e-05 0.01% Castro::swap_state_time_levels() 5 2.426e-05 2.426e-05 2.426e-05 0.01% makeSFC 30 2.292e-05 2.292e-05 2.292e-05 0.01% DistributionMapping::Distribute() 31 1.016e-05 1.016e-05 1.016e-05 0.00% Amr::initSubcycle() 1 8.546e-06 8.546e-06 8.546e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.784e-06 4.784e-06 4.784e-06 0.00% Gravity::set_mass_offset() 6 2.384e-06 2.384e-06 2.384e-06 0.00% Castro::retry_advance_ctu() 5 1.856e-06 1.856e-06 1.856e-06 0.00% Castro::FluxRegCrseInit 5 1.341e-06 1.341e-06 1.341e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.152e-06 1.152e-06 1.152e-06 0.00% Castro::FluxRegFineAdd() 5 1.136e-06 1.136e-06 1.136e-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 187 MiB 9042 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 996 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2162 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 6445 KiB 14 MiB MLMG::prepareForSolve() 361 361 3165 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 174 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 180 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6432 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 21 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3182 B 2048 KiB Gravity::solve_for_phi() 40 40 584 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 292 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 187 KiB 671 KiB Castro::estTimeStep() 10 10 3014 B 480 KiB VisMF::Write(FabArray) 112 112 2342 B 320 KiB Castro::normalize_species() 30 30 6534 B 320 KiB amrex::average_down 469 469 1093 B 257 KiB MLMG::addInterpCorrection() 468 468 1021 B 257 KiB amrex::Dot() 592 592 3094 B 160 KiB FabArray::norminf() 501 501 3106 B 160 KiB check_for_negative_density() 5 5 343 B 160 KiB MultiFab::max() 6 6 74 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3068 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 249 B 9648 B MLCellLinOp::applyBC() 3820 3820 197 B 9344 B amrex::Copy() 56 56 5538 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 38 B 2560 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 328 B 1248 B MLCGSolver::bicgstab 180 180 85 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1151 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 206 KiB 3584 KiB VisMF::Read() 24 24 205 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3068 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 249 B 9648 B MLCellLinOp::applyBC() 1910 1910 195 B 9328 B amrex::Copy() 56 56 5538 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2529 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 38 B 2560 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 492 B 1296 B amrex::average_down 37 37 201 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 501 501 8 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2189 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.01-9-g03f59365ab29) finalized