Initializing AMReX (24.04-6-g771c439170bf)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-6-g771c439170bf) initialized Starting run at 08:02:14 UTC on 2024-04-04. Successfully read inputs file ... Castro git describe: 24.04-2-ga882a0395 AMReX git describe: 24.04-6-g771c43917 Microphysics git describe: 24.04-1-gab9345c2 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.044337363 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024133526 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.076152321 [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.079414135 [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.077690395 [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.059815751 [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.05585975 [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.049982216 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.056508116 [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.077036925 [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.077166886 [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.051389213 [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.05626537 [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.065615218 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.024008825 seconds Ending run at 08:02:15 UTC on 2024-04-04. Run time = 0.930694787 Run time without initialization = 0.807669556 Average number of zones advanced per microsecond: 3.246 Average number of zones advanced per microsecond per rank: 3.246 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9307 ... 0.9307 ... 0.9307 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2802 0.2802 0.2802 30.10% VisMF::Write(FabArray) 11 0.1756 0.1756 0.1756 18.86% MLCellLinOp::applyBC() 4298 0.08187 0.08187 0.08187 8.80% StateData::FillBoundary(geom) 328 0.03829 0.03829 0.03829 4.11% MLPoisson::Fsmooth() 3240 0.03376 0.03376 0.03376 3.63% FillBoundary_nowait() 3893 0.03045 0.03045 0.03045 3.27% Amr::checkPoint() 3 0.02979 0.02979 0.02979 3.20% amrex::Dot() 1100 0.0214 0.0214 0.0214 2.30% FabArray::norminf() 1048 0.01974 0.01974 0.01974 2.12% Castro::normalize_species() 62 0.01669 0.01669 0.01669 1.79% Castro::computeTemp() 63 0.01495 0.01495 0.01495 1.61% FabArray::ParallelCopy_nowait() 851 0.01406 0.01406 0.01406 1.51% FabArray::setVal() 1054 0.01385 0.01385 0.01385 1.49% FabArray::Saxpy() 1353 0.01316 0.01316 0.01316 1.41% amrex::Copy() 469 0.01132 0.01132 0.01132 1.22% Castro::enforce_min_density() 62 0.01128 0.01128 0.01128 1.21% MLCellLinOp::defineAuxData() 11 0.01069 0.01069 0.01069 1.15% MLPoisson::Fapply() 1047 0.01031 0.01031 0.01031 1.11% Gravity::fill_multipole_BCs() 11 0.009257 0.009257 0.009257 0.99% StateDataPhysBCFunct::() 41 0.008171 0.008171 0.008171 0.88% FabArray::Xpay() 730 0.007847 0.007847 0.007847 0.84% MLMG::addInterpCorrection() 405 0.007105 0.007105 0.007105 0.76% amrex::average_down 405 0.006267 0.006267 0.006267 0.67% Castro::estTimeStep() 21 0.005543 0.005543 0.005543 0.60% Castro::reset_internal_energy(MultiFab) 63 0.00469 0.00469 0.00469 0.50% BndryData::define() 11 0.004104 0.004104 0.004104 0.44% amrex::Add() 81 0.003579 0.003579 0.003579 0.38% Castro::construct_new_gravity_source() 10 0.003557 0.003557 0.003557 0.38% Castro::enforce_speed_limit() 62 0.003269 0.003269 0.003269 0.35% Castro::construct_old_gravity_source() 10 0.003025 0.003025 0.003025 0.33% Castro::reset_internal_energy(Fab) 504 0.002298 0.002298 0.002298 0.25% Amr::writePlotFile() 2 0.002137 0.002137 0.002137 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001871 0.001871 0.001871 0.20% MLCGSolver::bicgstab 81 0.001818 0.001818 0.001818 0.20% check_for_negative_density() 10 0.001663 0.001663 0.001663 0.18% FabArray::setDomainBndry() 41 0.001641 0.001641 0.001641 0.18% Gravity::actual_solve_with_mlmg() 11 0.001621 0.001621 0.001621 0.17% MLCellLinOp::setLevelBC() 11 0.001618 0.001618 0.001618 0.17% Castro::initData() 1 0.001431 0.001431 0.001431 0.15% FabArray::mult() 43 0.001407 0.001407 0.001407 0.15% MLCellLinOp::smooth() 1620 0.001384 0.001384 0.001384 0.15% MLCellLinOp::prepareForSolve() 11 0.001346 0.001346 0.001346 0.14% MultiFab::contains_nan() 20 0.001305 0.001305 0.001305 0.14% MLCellLinOp::compGrad() 11 0.001086 0.001086 0.001086 0.12% MLMG::prepareForSolve() 11 0.001017 0.001017 0.001017 0.11% FabArrayBase::getCPC() 1313 0.0008538 0.0008538 0.0008538 0.09% FabArray::FillBoundary() 3893 0.0008171 0.0008171 0.0008171 0.09% AmrLevel::FillPatch() 41 0.0007116 0.0007116 0.0007116 0.08% FabArrayBase::CPC::define() 454 0.0007107 0.0007107 0.0007107 0.08% FabArrayBase::getFB() 3893 0.0006863 0.0006863 0.0006863 0.07% Gravity::get_new_grav_vector() 11 0.0006429 0.0006429 0.0006429 0.07% Gravity::get_old_grav_vector() 10 0.000609 0.000609 0.000609 0.07% Amr::InitAmr() 1 0.0005455 0.0005455 0.0005455 0.06% MLCellLinOp::apply() 1047 0.0004653 0.0004653 0.0004653 0.05% Amr::coarseTimeStep() 10 0.0004573 0.0004573 0.0004573 0.05% MultiFab::max() 11 0.0003569 0.0003569 0.0003569 0.04% MLCGSolver::ParallelAllReduce 1809 0.0003425 0.0003425 0.0003425 0.04% FillPatchIterator::Initialize 41 0.00033 0.00033 0.00033 0.04% MLCellLinOp::defineBC() 11 0.0002849 0.0002849 0.0002849 0.03% FabArray::ParallelCopy() 851 0.0002804 0.0002804 0.0002804 0.03% main() 1 0.0002802 0.0002802 0.0002802 0.03% MLMG::mgVcycle() 81 0.0002208 0.0002208 0.0002208 0.02% Gravity::update_max_rhs() 11 0.0002018 0.0002018 0.0002018 0.02% Amr::timeStep() 10 0.0001986 0.0001986 0.0001986 0.02% MLCellLinOp::correctionResidual() 405 0.0001899 0.0001899 0.0001899 0.02% Castro::create_source_corrector() 10 0.0001872 0.0001872 0.0001872 0.02% MLLinOp::defineGrids() 11 0.0001802 0.0001802 0.0001802 0.02% Castro::subcycle_advance_ctu() 10 0.0001683 0.0001683 0.0001683 0.02% StateData::checkPoint() 12 0.0001574 0.0001574 0.0001574 0.02% Castro::construct_new_source() 50 0.0001566 0.0001566 0.0001566 0.02% Castro::initialize_advance() 10 0.0001344 0.0001344 0.0001344 0.01% Castro::clean_state() 62 0.0001293 0.0001293 0.0001293 0.01% AmrLevel::checkPoint() 3 0.0001226 0.0001226 0.0001226 0.01% MLMG:computeResOfCorrection() 405 0.0001149 0.0001149 0.0001149 0.01% Gravity::solve_for_phi() 10 0.0001141 0.0001141 0.0001141 0.01% Castro::finalize_advance() 10 0.0001008 0.0001008 0.0001008 0.01% Castro::initialize_do_advance() 10 9.684e-05 9.684e-05 9.684e-05 0.01% Castro::Castro() 1 9.148e-05 9.148e-05 9.148e-05 0.01% MLMG::actualBottomSolve() 81 9.107e-05 9.107e-05 9.107e-05 0.01% MLMG::mgVcycle_down::0 81 9.106e-05 9.106e-05 9.106e-05 0.01% FabArrayBase::FB::FB() 56 8.888e-05 8.888e-05 8.888e-05 0.01% MLMG::mgVcycle_down::2 81 8.763e-05 8.763e-05 8.763e-05 0.01% MLMG::mgVcycle_down::1 81 8.757e-05 8.757e-05 8.757e-05 0.01% MLMG::mgVcycle_down::4 81 8.464e-05 8.464e-05 8.464e-05 0.01% MLMG::solve() 11 8.273e-05 8.273e-05 8.273e-05 0.01% MLMG::mgVcycle_down::3 81 8.129e-05 8.129e-05 8.129e-05 0.01% Castro::post_timestep() 10 7.537e-05 7.537e-05 7.537e-05 0.01% Castro::finalize_do_advance() 10 7.19e-05 7.19e-05 7.19e-05 0.01% Castro::enforce_consistent_e() 1 6.85e-05 6.85e-05 6.85e-05 0.01% MLMG::oneIter() 81 6.372e-05 6.372e-05 6.372e-05 0.01% Castro::do_advance_ctu() 10 6.365e-05 6.365e-05 6.365e-05 0.01% MLMG::mgVcycle_up::4 81 6.262e-05 6.262e-05 6.262e-05 0.01% FillPatchIterator::FillFromLevel0() 41 6.121e-05 6.121e-05 6.121e-05 0.01% Castro::advance() 10 5.85e-05 5.85e-05 5.85e-05 0.01% FillPatchSingleLevel 41 5.747e-05 5.747e-05 5.747e-05 0.01% MLMG::mgVcycle_up::0 81 5.524e-05 5.524e-05 5.524e-05 0.01% MLMG::mgVcycle_up::3 81 5.383e-05 5.383e-05 5.383e-05 0.01% MLMG::mgVcycle_up::1 81 5.253e-05 5.253e-05 5.253e-05 0.01% MLMG::mgVcycle_up::2 81 5.141e-05 5.141e-05 5.141e-05 0.01% MLCellLinOp::solutionResidual() 92 4.838e-05 4.838e-05 4.838e-05 0.01% Castro::swap_state_time_levels() 10 4.302e-05 4.302e-05 4.302e-05 0.00% Castro::do_old_sources() 10 4.139e-05 4.139e-05 4.139e-05 0.00% StateData::define() 4 3.898e-05 3.898e-05 3.898e-05 0.00% MLMG::mgVcycle_bottom 81 3.504e-05 3.504e-05 3.504e-05 0.00% MLMG::computeResidual() 81 3.466e-05 3.466e-05 3.466e-05 0.00% Castro::do_new_sources() 10 3.441e-05 3.441e-05 3.441e-05 0.00% MLMG::ResNormInf() 92 3.37e-05 3.37e-05 3.37e-05 0.00% Amr::writeSmallPlotFile() 1 3.288e-05 3.288e-05 3.288e-05 0.00% Amr::defBaseLevel() 1 3.28e-05 3.28e-05 3.28e-05 0.00% Castro::construct_old_source() 50 3.19e-05 3.19e-05 3.19e-05 0.00% makeSFC 55 2.806e-05 2.806e-05 2.806e-05 0.00% MLPoisson::define() 11 2.742e-05 2.742e-05 2.742e-05 0.00% Castro::buildMetrics() 1 2.691e-05 2.691e-05 2.691e-05 0.00% Castro::initMFs() 1 2.686e-05 2.686e-05 2.686e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.62e-05 2.62e-05 2.62e-05 0.00% Castro::construct_new_gravity() 10 2.528e-05 2.528e-05 2.528e-05 0.00% Amr::FinalizeInit() 1 2.083e-05 2.083e-05 2.083e-05 0.00% Castro::apply_source_to_state() 20 1.951e-05 1.951e-05 1.951e-05 0.00% Gravity::swapTimeLevels() 10 1.854e-05 1.854e-05 1.854e-05 0.00% DistributionMapping::Distribute() 56 1.848e-05 1.848e-05 1.848e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.667e-05 1.667e-05 1.667e-05 0.00% Castro::check_for_nan() 20 1.622e-05 1.622e-05 1.622e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.547e-05 1.547e-05 1.547e-05 0.00% Gravity::actual_multilevel_solve() 1 1.494e-05 1.494e-05 1.494e-05 0.00% Castro::construct_old_gravity() 10 1.477e-05 1.477e-05 1.477e-05 0.00% Castro::computeNewDt() 9 1.378e-05 1.378e-05 1.378e-05 0.00% MLLinOp::define() 11 1.338e-05 1.338e-05 1.338e-05 0.00% Amr::initSubcycle() 1 1.037e-05 1.037e-05 1.037e-05 0.00% MLMG::computeMLResidual() 11 9.642e-06 9.642e-06 9.642e-06 0.00% Castro::expand_state() 10 9.576e-06 9.576e-06 9.576e-06 0.00% AmrLevel::checkPointPost() 3 8.861e-06 8.861e-06 8.861e-06 0.00% AmrLevel::AmrLevel(dm) 1 8.088e-06 8.088e-06 8.088e-06 0.00% MLMG::getGradSolution() 11 7.244e-06 7.244e-06 7.244e-06 0.00% MLPoisson::prepareForSolve() 11 7.207e-06 7.207e-06 7.207e-06 0.00% Castro::retry_advance_ctu() 10 6.142e-06 6.142e-06 6.142e-06 0.00% Gravity::set_mass_offset() 11 5.89e-06 5.89e-06 5.89e-06 0.00% Amr::InitializeInit() 1 5.54e-06 5.54e-06 5.54e-06 0.00% AmrLevel::checkPointPre() 3 4.69e-06 4.69e-06 4.69e-06 0.00% Castro::FluxRegFineAdd() 10 4.478e-06 4.478e-06 4.478e-06 0.00% MLMG::MLRhsNormInf() 11 4.44e-06 4.44e-06 4.44e-06 0.00% Castro::FluxRegCrseInit 10 4.411e-06 4.411e-06 4.411e-06 0.00% Castro::post_init() 1 4.32e-06 4.32e-06 4.32e-06 0.00% MLMG::MLResNormInf() 11 3.899e-06 3.899e-06 3.899e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.437e-06 3.437e-06 3.437e-06 0.00% Castro::computeInitialDt() 2 2.905e-06 2.905e-06 2.905e-06 0.00% Amr::init() 1 2.554e-06 2.554e-06 2.554e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.246e-06 2.246e-06 2.246e-06 0.00% Castro::post_regrid() 1 1.49e-06 1.49e-06 1.49e-06 0.00% Amr::initialInit() 1 1.149e-06 1.149e-06 1.149e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9307 0.9307 0.9307 100.00% Amr::coarseTimeStep() 10 0.7834 0.7834 0.7834 84.17% Amr::timeStep() 10 0.6642 0.6642 0.6642 71.36% Castro::advance() 10 0.6541 0.6541 0.6541 70.27% Castro::subcycle_advance_ctu() 10 0.6403 0.6403 0.6403 68.79% Castro::do_advance_ctu() 10 0.6401 0.6401 0.6401 68.78% Gravity::solve_phi_with_mlmg() 11 0.2972 0.2972 0.2972 31.93% Castro::construct_ctu_hydro_source() 10 0.2903 0.2903 0.2903 31.19% Gravity::actual_solve_with_mlmg() 11 0.2875 0.2875 0.2875 30.89% Castro::construct_new_gravity() 10 0.2719 0.2719 0.2719 29.22% MLMG::solve() 11 0.2647 0.2647 0.2647 28.44% Gravity::solve_for_phi() 10 0.253 0.253 0.253 27.19% MLMG::oneIter() 81 0.249 0.249 0.249 26.76% MLMG::mgVcycle() 81 0.2454 0.2454 0.2454 26.36% VisMF::Write(FabArray) 11 0.1756 0.1756 0.1756 18.86% Amr::checkPoint() 3 0.1601 0.1601 0.1601 17.20% AmrLevel::checkPoint() 3 0.1303 0.1303 0.1303 14.00% StateData::checkPoint() 12 0.1301 0.1301 0.1301 13.98% MLCellLinOp::smooth() 1620 0.1227 0.1227 0.1227 13.18% Amr::init() 1 0.1224 0.1224 0.1224 13.15% MLCellLinOp::applyBC() 4298 0.1139 0.1139 0.1139 12.24% MLMG::mgVcycle_bottom 81 0.07311 0.07311 0.07311 7.85% MLMG::actualBottomSolve() 81 0.07307 0.07307 0.07307 7.85% MLCGSolver::bicgstab 81 0.07225 0.07225 0.07225 7.76% AmrLevel::FillPatch() 41 0.05766 0.05766 0.05766 6.20% Amr::initialInit() 1 0.05378 0.05378 0.05378 5.78% FillPatchIterator::Initialize 41 0.05282 0.05282 0.05282 5.68% Castro::clean_state() 62 0.05243 0.05243 0.05243 5.63% FillPatchIterator::FillFromLevel0() 41 0.05085 0.05085 0.05085 5.46% FillPatchSingleLevel 41 0.05079 0.05079 0.05079 5.46% Amr::FinalizeInit() 1 0.04893 0.04893 0.04893 5.26% Amr::writePlotFile() 2 0.04826 0.04826 0.04826 5.19% Castro::post_init() 1 0.04751 0.04751 0.04751 5.10% StateDataPhysBCFunct::() 41 0.04646 0.04646 0.04646 4.99% Gravity::multilevel_solve_for_new_phi() 1 0.0446 0.0446 0.0446 4.79% Gravity::actual_multilevel_solve() 1 0.04458 0.04458 0.04458 4.79% StateData::FillBoundary(geom) 328 0.03829 0.03829 0.03829 4.11% MLCellLinOp::apply() 1047 0.03664 0.03664 0.03664 3.94% MLMG::mgVcycle_down::0 81 0.03457 0.03457 0.03457 3.71% MLPoisson::Fsmooth() 3240 0.03376 0.03376 0.03376 3.63% FabArray::FillBoundary() 3893 0.03204 0.03204 0.03204 3.44% FillBoundary_nowait() 3893 0.03122 0.03122 0.03122 3.35% MLMG::mgVcycle_up::0 81 0.02631 0.02631 0.02631 2.83% Castro::computeTemp() 63 0.02194 0.02194 0.02194 2.36% Castro::initialize_do_advance() 10 0.02178 0.02178 0.02178 2.34% amrex::Dot() 1100 0.0214 0.0214 0.0214 2.30% Gravity::get_new_grav_vector() 11 0.02137 0.02137 0.02137 2.30% MLMG:computeResOfCorrection() 405 0.0205 0.0205 0.0205 2.20% MLCellLinOp::correctionResidual() 405 0.02038 0.02038 0.02038 2.19% Castro::construct_old_gravity() 10 0.02027 0.02027 0.02027 2.18% Gravity::get_old_grav_vector() 10 0.02026 0.02026 0.02026 2.18% Castro::do_old_sources() 10 0.02024 0.02024 0.02024 2.17% FabArray::norminf() 1048 0.01974 0.01974 0.01974 2.12% MLPoisson::define() 11 0.01794 0.01794 0.01794 1.93% MLMG::mgVcycle_down::1 81 0.01688 0.01688 0.01688 1.81% Castro::normalize_species() 62 0.01669 0.01669 0.01669 1.79% MLMG::mgVcycle_down::2 81 0.01574 0.01574 0.01574 1.69% MLMG::mgVcycle_down::3 81 0.01533 0.01533 0.01533 1.65% MLMG::mgVcycle_down::4 81 0.01521 0.01521 0.01521 1.63% FabArray::ParallelCopy() 851 0.01519 0.01519 0.01519 1.63% FabArray::ParallelCopy_nowait() 851 0.01491 0.01491 0.01491 1.60% FabArray::setVal() 1054 0.01385 0.01385 0.01385 1.49% FabArray::Saxpy() 1353 0.01316 0.01316 0.01316 1.41% Castro::initialize_advance() 10 0.01301 0.01301 0.01301 1.40% MLCGSolver::ParallelAllReduce 1809 0.01286 0.01286 0.01286 1.38% MLMG::addInterpCorrection() 405 0.01255 0.01255 0.01255 1.35% Castro::do_new_sources() 10 0.01229 0.01229 0.01229 1.32% Castro::expand_state() 10 0.01224 0.01224 0.01224 1.31% MLCellLinOp::defineAuxData() 11 0.01223 0.01223 0.01223 1.31% MLMG::mgVcycle_up::1 81 0.0122 0.0122 0.0122 1.31% MLMG::mgVcycle_up::4 81 0.01215 0.01215 0.01215 1.31% MLMG::mgVcycle_up::2 81 0.01194 0.01194 0.01194 1.28% amrex::average_down 405 0.01174 0.01174 0.01174 1.26% MLMG::mgVcycle_up::3 81 0.01173 0.01173 0.01173 1.26% amrex::Copy() 469 0.01132 0.01132 0.01132 1.22% Castro::enforce_min_density() 62 0.01128 0.01128 0.01128 1.21% MLPoisson::Fapply() 1047 0.01031 0.01031 0.01031 1.11% Castro::post_timestep() 10 0.009945 0.009945 0.009945 1.07% Gravity::fill_multipole_BCs() 11 0.009491 0.009491 0.009491 1.02% FabArray::Xpay() 730 0.007847 0.007847 0.007847 0.84% MLCellLinOp::solutionResidual() 92 0.007837 0.007837 0.007837 0.84% Castro::reset_internal_energy(MultiFab) 63 0.006987 0.006987 0.006987 0.75% MLMG::computeResidual() 81 0.00655 0.00655 0.00655 0.70% Castro::estTimeStep() 21 0.005543 0.005543 0.005543 0.60% MLCellLinOp::defineBC() 11 0.005428 0.005428 0.005428 0.58% MLMG::prepareForSolve() 11 0.00527 0.00527 0.00527 0.57% BndryData::define() 11 0.005143 0.005143 0.005143 0.55% Amr::InitializeInit() 1 0.004847 0.004847 0.004847 0.52% Amr::defBaseLevel() 1 0.004841 0.004841 0.004841 0.52% Castro::initData() 1 0.004155 0.004155 0.004155 0.45% Castro::construct_new_source() 50 0.003714 0.003714 0.003714 0.40% amrex::Add() 81 0.003579 0.003579 0.003579 0.38% Castro::construct_new_gravity_source() 10 0.003557 0.003557 0.003557 0.38% Castro::enforce_speed_limit() 62 0.003269 0.003269 0.003269 0.35% Castro::construct_old_source() 50 0.003057 0.003057 0.003057 0.33% Castro::construct_old_gravity_source() 10 0.003025 0.003025 0.003025 0.33% Castro::computeNewDt() 9 0.002363 0.002363 0.002363 0.25% Castro::reset_internal_energy(Fab) 504 0.002298 0.002298 0.002298 0.25% Castro::finalize_do_advance() 10 0.002297 0.002297 0.002297 0.25% MLMG::ResNormInf() 92 0.002162 0.002162 0.002162 0.23% Castro::apply_source_to_state() 20 0.001936 0.001936 0.001936 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001871 0.001871 0.001871 0.20% check_for_negative_density() 10 0.001663 0.001663 0.001663 0.18% FabArray::setDomainBndry() 41 0.001641 0.001641 0.001641 0.18% MLMG::getGradSolution() 11 0.00162 0.00162 0.00162 0.17% MLCellLinOp::setLevelBC() 11 0.001618 0.001618 0.001618 0.17% MLCellLinOp::compGrad() 11 0.001613 0.001613 0.001613 0.17% FabArrayBase::getCPC() 1313 0.001564 0.001564 0.001564 0.17% FabArray::mult() 43 0.001407 0.001407 0.001407 0.15% MLPoisson::prepareForSolve() 11 0.001353 0.001353 0.001353 0.15% MLCellLinOp::prepareForSolve() 11 0.001346 0.001346 0.001346 0.14% MLMG::computeMLResidual() 11 0.001331 0.001331 0.001331 0.14% Castro::check_for_nan() 20 0.001321 0.001321 0.001321 0.14% MultiFab::contains_nan() 20 0.001305 0.001305 0.001305 0.14% Gravity::update_max_rhs() 11 0.001157 0.001157 0.001157 0.12% Castro::post_regrid() 1 0.001131 0.001131 0.001131 0.12% Castro::computeInitialDt() 2 0.0009704 0.0009704 0.0009704 0.10% FabArrayBase::getFB() 3893 0.0007752 0.0007752 0.0007752 0.08% FabArrayBase::CPC::define() 454 0.0007107 0.0007107 0.0007107 0.08% Castro::finalize_advance() 10 0.0007101 0.0007101 0.0007101 0.08% Castro::Castro() 1 0.0006015 0.0006015 0.0006015 0.06% Amr::InitAmr() 1 0.0005559 0.0005559 0.0005559 0.06% Gravity::swapTimeLevels() 10 0.0005452 0.0005452 0.0005452 0.06% MultiFab::max() 11 0.0003569 0.0003569 0.0003569 0.04% MLMG::MLResNormInf() 11 0.0003312 0.0003312 0.0003312 0.04% Castro::buildMetrics() 1 0.000304 0.000304 0.000304 0.03% MLLinOp::define() 11 0.0002567 0.0002567 0.0002567 0.03% MLLinOp::defineGrids() 11 0.0002434 0.0002434 0.0002434 0.03% MLMG::MLRhsNormInf() 11 0.0002316 0.0002316 0.0002316 0.02% Castro::create_source_corrector() 10 0.0001872 0.0001872 0.0001872 0.02% FabArrayBase::FB::FB() 56 8.888e-05 8.888e-05 8.888e-05 0.01% Castro::enforce_consistent_e() 1 6.85e-05 6.85e-05 6.85e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 6.086e-05 6.086e-05 6.086e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.706e-05 4.706e-05 4.706e-05 0.01% makeSFC 55 4.539e-05 4.539e-05 4.539e-05 0.00% Castro::swap_state_time_levels() 10 4.302e-05 4.302e-05 4.302e-05 0.00% StateData::define() 4 3.898e-05 3.898e-05 3.898e-05 0.00% Amr::writeSmallPlotFile() 1 3.288e-05 3.288e-05 3.288e-05 0.00% Castro::initMFs() 1 2.686e-05 2.686e-05 2.686e-05 0.00% DistributionMapping::Distribute() 56 1.848e-05 1.848e-05 1.848e-05 0.00% Amr::initSubcycle() 1 1.037e-05 1.037e-05 1.037e-05 0.00% AmrLevel::checkPointPost() 3 8.861e-06 8.861e-06 8.861e-06 0.00% Castro::retry_advance_ctu() 10 6.142e-06 6.142e-06 6.142e-06 0.00% Gravity::set_mass_offset() 11 5.89e-06 5.89e-06 5.89e-06 0.00% AmrLevel::checkPointPre() 3 4.69e-06 4.69e-06 4.69e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.58e-06 4.58e-06 4.58e-06 0.00% Castro::FluxRegFineAdd() 10 4.478e-06 4.478e-06 4.478e-06 0.00% Castro::FluxRegCrseInit 10 4.411e-06 4.411e-06 4.411e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.246e-06 2.246e-06 2.246e-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 5391 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 1132 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1445 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7615 KiB 14 MiB MLMG::prepareForSolve() 660 660 3497 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 238 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 222 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7520 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2337 B 2048 KiB Gravity::solve_for_phi() 80 80 556 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 98 KiB 2048 KiB BndryData::define() 1056 1056 320 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 204 KiB 671 KiB Castro::estTimeStep() 21 21 2890 B 480 KiB VisMF::Write(FabArray) 656 656 3339 B 320 KiB Castro::normalize_species() 62 62 5822 B 320 KiB amrex::average_down 1054 1054 1587 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1140 B 257 KiB amrex::Dot() 1343 1343 3379 B 160 KiB FabArray::norminf() 1129 1129 3265 B 160 KiB check_for_negative_density() 10 10 285 B 160 KiB Castro::initData() 1 1 51 B 160 KiB MultiFab::max() 11 11 58 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3413 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 43 B 10 KiB FillBoundary_nowait() 751 751 282 B 9648 B MLCellLinOp::applyBC() 8596 8596 216 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3900 B 6144 B StateData::FillBoundary(geom) 1992 1992 31 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 360 B 1248 B MLCGSolver::bicgstab 405 405 93 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 548 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 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3413 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 282 B 9648 B MLCellLinOp::applyBC() 4298 4298 214 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3900 B 6144 B Gravity::get_new_grav_vector() 3 3 2898 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 32 B 2640 B amrex::average_down 82 82 617 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 291 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 24 B 400 B FabArray::norminf() 1129 1129 9 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 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 (24.04-6-g771c439170bf) finalized Initializing AMReX (24.04-6-g771c439170bf)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-6-g771c439170bf) initialized Starting run at 08:02:16 UTC on 2024-04-04. Successfully read inputs file ... Castro git describe: 24.04-2-ga882a0395 AMReX git describe: 24.04-6-g771c43917 Microphysics git describe: 24.04-1-gab9345c2 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.522042234 Restart time = 0.071560169 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.076109384 [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.069652747 [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.079392294 [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.075207018 [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.06249923 [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.026970515 seconds Ending run at 08:02:16 UTC on 2024-04-04. Run time = 0.462439249 Run time without initialization = 0.390246664 Average number of zones advanced per microsecond: 3.359 Average number of zones advanced per microsecond per rank: 3.359 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4625 ... 0.4625 ... 0.4625 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1440 0.1440 0.1440 31.13% VisMF::Read() 3 0.0601 0.0601 0.0601 13.00% MLCellLinOp::applyBC() 1910 0.03864 0.03864 0.03864 8.36% StateData::FillBoundary(geom) 160 0.03299 0.03299 0.03299 7.13% VisMF::Write(FabArray) 1 0.02413 0.02413 0.02413 5.22% MLPoisson::Fsmooth() 1440 0.01574 0.01574 0.01574 3.40% FillBoundary_nowait() 1730 0.01339 0.01339 0.01339 2.89% amrex::Dot() 484 0.009675 0.009675 0.009675 2.09% Castro::normalize_species() 30 0.009526 0.009526 0.009526 2.06% FabArray::norminf() 465 0.008994 0.008994 0.008994 1.94% Castro::computeTemp() 30 0.00727 0.00727 0.00727 1.57% FabArray::setVal() 501 0.006981 0.006981 0.006981 1.51% FabArray::ParallelCopy_nowait() 380 0.006751 0.006751 0.006751 1.46% FabArray::Saxpy() 597 0.006162 0.006162 0.006162 1.33% MLCellLinOp::defineAuxData() 6 0.006134 0.006134 0.006134 1.33% amrex::Copy() 221 0.00568 0.00568 0.00568 1.23% Castro::enforce_min_density() 30 0.005146 0.005146 0.005146 1.11% Amr::restart() 1 0.00485 0.00485 0.00485 1.05% MLPoisson::Fapply() 464 0.004777 0.004777 0.004777 1.03% Gravity::fill_multipole_BCs() 6 0.004169 0.004169 0.004169 0.90% FabArray::Xpay() 325 0.00362 0.00362 0.00362 0.78% MLMG::addInterpCorrection() 180 0.00344 0.00344 0.00344 0.74% Castro::estTimeStep() 10 0.003228 0.003228 0.003228 0.70% amrex::average_down 180 0.003046 0.003046 0.003046 0.66% Amr::writePlotFile() 1 0.002657 0.002657 0.002657 0.57% BndryData::define() 6 0.002298 0.002298 0.002298 0.50% StateDataPhysBCFunct::() 20 0.00216 0.00216 0.00216 0.47% Castro::construct_new_gravity_source() 5 0.001841 0.001841 0.001841 0.40% Castro::construct_old_gravity_source() 5 0.00166 0.00166 0.00166 0.36% amrex::Add() 36 0.001549 0.001549 0.001549 0.33% Castro::reset_internal_energy(MultiFab) 30 0.001518 0.001518 0.001518 0.33% Castro::enforce_speed_limit() 30 0.001229 0.001229 0.001229 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001078 0.001078 0.001078 0.23% MLCGSolver::bicgstab 36 0.001005 0.001005 0.001005 0.22% Castro::reset_internal_energy(Fab) 240 0.0009009 0.0009009 0.0009009 0.19% MLCellLinOp::setLevelBC() 6 0.0008913 0.0008913 0.0008913 0.19% check_for_negative_density() 5 0.0008691 0.0008691 0.0008691 0.19% Gravity::actual_solve_with_mlmg() 6 0.0008571 0.0008571 0.0008571 0.19% MLCellLinOp::smooth() 720 0.0008374 0.0008374 0.0008374 0.18% Castro::finalize_do_advance() 5 0.0008247 0.0008247 0.0008247 0.18% MLCellLinOp::prepareForSolve() 6 0.0008179 0.0008179 0.0008179 0.18% FabArray::setDomainBndry() 20 0.0007342 0.0007342 0.0007342 0.16% FabArray::mult() 22 0.0007113 0.0007113 0.0007113 0.15% MultiFab::contains_nan() 10 0.0006917 0.0006917 0.0006917 0.15% Castro::subcycle_advance_ctu() 5 0.000678 0.000678 0.000678 0.15% MLMG::prepareForSolve() 6 0.0006328 0.0006328 0.0006328 0.14% MLCellLinOp::compGrad() 6 0.0006066 0.0006066 0.0006066 0.13% Amr::InitAmr() 1 0.0004709 0.0004709 0.0004709 0.10% FabArrayBase::CPC::define() 244 0.000459 0.000459 0.000459 0.10% FabArrayBase::getCPC() 632 0.0004219 0.0004219 0.0004219 0.09% FabArray::FillBoundary() 1730 0.0003864 0.0003864 0.0003864 0.08% Gravity::get_old_grav_vector() 5 0.0003076 0.0003076 0.0003076 0.07% FabArrayBase::getFB() 1730 0.0003022 0.0003022 0.0003022 0.07% main() 1 0.0002508 0.0002508 0.0002508 0.05% MLCellLinOp::apply() 464 0.0002493 0.0002493 0.0002493 0.05% Gravity::get_new_grav_vector() 5 0.00024 0.00024 0.00024 0.05% AmrLevel::FillPatch() 20 0.0002311 0.0002311 0.0002311 0.05% MultiFab::max() 6 0.0002146 0.0002146 0.0002146 0.05% Castro::construct_new_source() 25 0.0001926 0.0001926 0.0001926 0.04% Amr::coarseTimeStep() 5 0.0001708 0.0001708 0.0001708 0.04% MLCGSolver::ParallelAllReduce 798 0.0001488 0.0001488 0.0001488 0.03% MLCellLinOp::defineBC() 6 0.0001456 0.0001456 0.0001456 0.03% FabArray::ParallelCopy() 380 0.0001378 0.0001378 0.0001378 0.03% Castro::do_new_sources() 5 0.0001305 0.0001305 0.0001305 0.03% FillPatchIterator::Initialize 20 0.000122 0.000122 0.000122 0.03% Castro::post_timestep() 5 0.0001219 0.0001219 0.0001219 0.03% MLMG::mgVcycle() 36 0.0001192 0.0001192 0.0001192 0.03% MLCellLinOp::correctionResidual() 180 0.0001092 0.0001092 0.0001092 0.02% Amr::timeStep() 5 9.958e-05 9.958e-05 9.958e-05 0.02% MLLinOp::defineGrids() 6 9.877e-05 9.877e-05 9.877e-05 0.02% Castro::create_source_corrector() 5 9.395e-05 9.395e-05 9.395e-05 0.02% AmrLevel::restart() 1 7.984e-05 7.984e-05 7.984e-05 0.02% Castro::initialize_do_advance() 5 7.666e-05 7.666e-05 7.666e-05 0.02% Gravity::update_max_rhs() 6 7.264e-05 7.264e-05 7.264e-05 0.02% FabArrayBase::FB::FB() 26 7.225e-05 7.225e-05 7.225e-05 0.02% Castro::construct_old_source() 25 6.679e-05 6.679e-05 6.679e-05 0.01% StateData::restartDoit() 4 6.661e-05 6.661e-05 6.661e-05 0.01% Castro::advance() 5 5.788e-05 5.788e-05 5.788e-05 0.01% Gravity::solve_for_phi() 5 5.521e-05 5.521e-05 5.521e-05 0.01% MLMG:computeResOfCorrection() 180 5.218e-05 5.218e-05 5.218e-05 0.01% MLMG::mgVcycle_down::1 36 4.983e-05 4.983e-05 4.983e-05 0.01% Castro::construct_old_gravity() 5 4.869e-05 4.869e-05 4.869e-05 0.01% MLMG::mgVcycle_down::0 36 4.843e-05 4.843e-05 4.843e-05 0.01% MLMG::actualBottomSolve() 36 4.835e-05 4.835e-05 4.835e-05 0.01% MLMG::mgVcycle_down::2 36 4.733e-05 4.733e-05 4.733e-05 0.01% MLMG::mgVcycle_down::4 36 4.626e-05 4.626e-05 4.626e-05 0.01% Castro::initialize_advance() 5 4.526e-05 4.526e-05 4.526e-05 0.01% MLMG::mgVcycle_down::3 36 4.504e-05 4.504e-05 4.504e-05 0.01% Castro::clean_state() 30 4.378e-05 4.378e-05 4.378e-05 0.01% MLMG::solve() 6 4.376e-05 4.376e-05 4.376e-05 0.01% Castro::finalize_advance() 5 3.639e-05 3.639e-05 3.639e-05 0.01% Castro::swap_state_time_levels() 5 3.448e-05 3.448e-05 3.448e-05 0.01% Castro::do_advance_ctu() 5 3.162e-05 3.162e-05 3.162e-05 0.01% Castro::buildMetrics() 1 3.112e-05 3.112e-05 3.112e-05 0.01% MLMG::mgVcycle_up::4 36 3.107e-05 3.107e-05 3.107e-05 0.01% MLMG::oneIter() 36 3.023e-05 3.023e-05 3.023e-05 0.01% MLMG::mgVcycle_up::3 36 2.929e-05 2.929e-05 2.929e-05 0.01% Amr::writeSmallPlotFile() 1 2.874e-05 2.874e-05 2.874e-05 0.01% MLMG::mgVcycle_up::0 36 2.856e-05 2.856e-05 2.856e-05 0.01% MLMG::mgVcycle_up::2 36 2.756e-05 2.756e-05 2.756e-05 0.01% MLCellLinOp::solutionResidual() 42 2.741e-05 2.741e-05 2.741e-05 0.01% MLMG::mgVcycle_up::1 36 2.71e-05 2.71e-05 2.71e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.552e-05 2.552e-05 2.552e-05 0.01% Castro::initMFs() 1 2.52e-05 2.52e-05 2.52e-05 0.01% Castro::post_restart() 1 2.331e-05 2.331e-05 2.331e-05 0.01% MLPoisson::define() 6 2.155e-05 2.155e-05 2.155e-05 0.00% FillPatchSingleLevel 20 2.114e-05 2.114e-05 2.114e-05 0.00% MLMG::ResNormInf() 42 1.843e-05 1.843e-05 1.843e-05 0.00% Gravity::actual_multilevel_solve() 1 1.686e-05 1.686e-05 1.686e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.665e-05 1.665e-05 1.665e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.642e-05 1.642e-05 1.642e-05 0.00% MLMG::mgVcycle_bottom 36 1.606e-05 1.606e-05 1.606e-05 0.00% makeSFC 30 1.516e-05 1.516e-05 1.516e-05 0.00% MLMG::computeResidual() 36 1.509e-05 1.509e-05 1.509e-05 0.00% Castro::do_old_sources() 5 1.388e-05 1.388e-05 1.388e-05 0.00% Castro::construct_new_gravity() 5 1.373e-05 1.373e-05 1.373e-05 0.00% DistributionMapping::Distribute() 31 1.012e-05 1.012e-05 1.012e-05 0.00% Amr::initSubcycle() 1 1.011e-05 1.011e-05 1.011e-05 0.00% Castro::apply_source_to_state() 10 7.618e-06 7.618e-06 7.618e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.293e-06 7.293e-06 7.293e-06 0.00% MLLinOp::define() 6 6.918e-06 6.918e-06 6.918e-06 0.00% Castro::check_for_nan() 10 6.609e-06 6.609e-06 6.609e-06 0.00% Gravity::swapTimeLevels() 5 5.883e-06 5.883e-06 5.883e-06 0.00% MLMG::computeMLResidual() 6 4.444e-06 4.444e-06 4.444e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.326e-06 4.326e-06 4.326e-06 0.00% Castro::computeNewDt() 5 4.298e-06 4.298e-06 4.298e-06 0.00% MLPoisson::prepareForSolve() 6 4.074e-06 4.074e-06 4.074e-06 0.00% MLMG::getGradSolution() 6 4.042e-06 4.042e-06 4.042e-06 0.00% Castro::expand_state() 5 3.429e-06 3.429e-06 3.429e-06 0.00% Gravity::set_mass_offset() 6 2.57e-06 2.57e-06 2.57e-06 0.00% Castro::retry_advance_ctu() 5 2.37e-06 2.37e-06 2.37e-06 0.00% MLMG::MLRhsNormInf() 6 2.281e-06 2.281e-06 2.281e-06 0.00% MLMG::MLResNormInf() 6 2.203e-06 2.203e-06 2.203e-06 0.00% Castro::FluxRegCrseInit 5 1.949e-06 1.949e-06 1.949e-06 0.00% Castro::FluxRegFineAdd() 5 1.601e-06 1.601e-06 1.601e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.019e-06 1.019e-06 1.019e-06 0.00% Amr::init() 1 8.85e-07 8.85e-07 8.85e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4625 0.4625 0.4625 100.00% Amr::coarseTimeStep() 5 0.363 0.363 0.363 78.50% Amr::timeStep() 5 0.3606 0.3606 0.3606 77.97% Castro::advance() 5 0.3557 0.3557 0.3557 76.90% Castro::subcycle_advance_ctu() 5 0.3488 0.3488 0.3488 75.41% Castro::do_advance_ctu() 5 0.3481 0.3481 0.3481 75.26% Castro::construct_new_gravity() 5 0.1505 0.1505 0.1505 32.54% Castro::construct_ctu_hydro_source() 5 0.1487 0.1487 0.1487 32.15% Gravity::solve_phi_with_mlmg() 6 0.1412 0.1412 0.1412 30.53% Gravity::actual_solve_with_mlmg() 6 0.1368 0.1368 0.1368 29.58% Gravity::solve_for_phi() 5 0.1358 0.1358 0.1358 29.36% MLMG::solve() 6 0.1238 0.1238 0.1238 26.78% MLMG::oneIter() 36 0.1157 0.1157 0.1157 25.01% MLMG::mgVcycle() 36 0.1141 0.1141 0.1141 24.67% Amr::init() 1 0.07161 0.07161 0.07161 15.48% Amr::restart() 1 0.07161 0.07161 0.07161 15.48% AmrLevel::restart() 1 0.06049 0.06049 0.06049 13.08% StateData::restartDoit() 4 0.0604 0.0604 0.0604 13.06% VisMF::Read() 3 0.0601 0.0601 0.0601 13.00% MLCellLinOp::smooth() 720 0.05681 0.05681 0.05681 12.28% MLCellLinOp::applyBC() 1910 0.05279 0.05279 0.05279 11.41% AmrLevel::FillPatch() 20 0.04033 0.04033 0.04033 8.72% FillPatchIterator::Initialize 20 0.03813 0.03813 0.03813 8.25% FillPatchIterator::FillFromLevel0() 20 0.03727 0.03727 0.03727 8.06% FillPatchSingleLevel 20 0.03725 0.03725 0.03725 8.05% StateDataPhysBCFunct::() 20 0.03515 0.03515 0.03515 7.60% MLMG::mgVcycle_bottom 36 0.03371 0.03371 0.03371 7.29% MLMG::actualBottomSolve() 36 0.03369 0.03369 0.03369 7.29% MLCGSolver::bicgstab 36 0.03329 0.03329 0.03329 7.20% StateData::FillBoundary(geom) 160 0.03299 0.03299 0.03299 7.13% Amr::writePlotFile() 1 0.02706 0.02706 0.02706 5.85% Castro::clean_state() 30 0.02563 0.02563 0.02563 5.54% VisMF::Write(FabArray) 1 0.02413 0.02413 0.02413 5.22% MLCellLinOp::apply() 464 0.01727 0.01727 0.01727 3.74% MLMG::mgVcycle_down::0 36 0.01586 0.01586 0.01586 3.43% MLPoisson::Fsmooth() 1440 0.01574 0.01574 0.01574 3.40% Castro::construct_old_gravity() 5 0.01499 0.01499 0.01499 3.24% Gravity::get_old_grav_vector() 5 0.01494 0.01494 0.01494 3.23% Gravity::get_new_grav_vector() 5 0.0146 0.0146 0.0146 3.16% FabArray::FillBoundary() 1730 0.01415 0.01415 0.01415 3.06% FillBoundary_nowait() 1730 0.01376 0.01376 0.01376 2.98% Castro::initialize_do_advance() 5 0.01205 0.01205 0.01205 2.61% MLMG::mgVcycle_up::0 36 0.01189 0.01189 0.01189 2.57% Castro::do_old_sources() 5 0.01179 0.01179 0.01179 2.55% MLPoisson::define() 6 0.01027 0.01027 0.01027 2.22% Castro::computeTemp() 30 0.009689 0.009689 0.009689 2.10% amrex::Dot() 484 0.009675 0.009675 0.009675 2.09% Castro::normalize_species() 30 0.009526 0.009526 0.009526 2.06% MLMG:computeResOfCorrection() 180 0.009505 0.009505 0.009505 2.06% MLCellLinOp::correctionResidual() 180 0.009453 0.009453 0.009453 2.04% FabArray::norminf() 465 0.008994 0.008994 0.008994 1.94% MLMG::mgVcycle_down::1 36 0.007992 0.007992 0.007992 1.73% Castro::do_new_sources() 5 0.007745 0.007745 0.007745 1.67% MLMG::mgVcycle_down::2 36 0.007402 0.007402 0.007402 1.60% FabArray::ParallelCopy() 380 0.007311 0.007311 0.007311 1.58% Castro::expand_state() 5 0.007238 0.007238 0.007238 1.57% MLMG::mgVcycle_down::3 36 0.007229 0.007229 0.007229 1.56% MLMG::mgVcycle_down::4 36 0.007175 0.007175 0.007175 1.55% FabArray::ParallelCopy_nowait() 380 0.007173 0.007173 0.007173 1.55% MLCellLinOp::defineAuxData() 6 0.007035 0.007035 0.007035 1.52% FabArray::setVal() 501 0.006981 0.006981 0.006981 1.51% Castro::initialize_advance() 5 0.006525 0.006525 0.006525 1.41% FabArray::Saxpy() 597 0.006162 0.006162 0.006162 1.33% Castro::post_restart() 1 0.006074 0.006074 0.006074 1.31% MLMG::addInterpCorrection() 180 0.006063 0.006063 0.006063 1.31% MLCGSolver::ParallelAllReduce 798 0.005848 0.005848 0.005848 1.26% MLMG::mgVcycle_up::1 36 0.005765 0.005765 0.005765 1.25% MLMG::mgVcycle_up::4 36 0.005736 0.005736 0.005736 1.24% Gravity::multilevel_solve_for_new_phi() 1 0.005691 0.005691 0.005691 1.23% amrex::Copy() 221 0.00568 0.00568 0.00568 1.23% Gravity::actual_multilevel_solve() 1 0.005675 0.005675 0.005675 1.23% MLMG::mgVcycle_up::2 36 0.005655 0.005655 0.005655 1.22% amrex::average_down 180 0.005652 0.005652 0.005652 1.22% MLMG::mgVcycle_up::3 36 0.005542 0.005542 0.005542 1.20% Castro::enforce_min_density() 30 0.005146 0.005146 0.005146 1.11% Castro::post_timestep() 5 0.004854 0.004854 0.004854 1.05% MLPoisson::Fapply() 464 0.004777 0.004777 0.004777 1.03% Gravity::fill_multipole_BCs() 6 0.004296 0.004296 0.004296 0.93% MLCellLinOp::solutionResidual() 42 0.003835 0.003835 0.003835 0.83% FabArray::Xpay() 325 0.00362 0.00362 0.00362 0.78% Castro::estTimeStep() 10 0.003228 0.003228 0.003228 0.70% MLMG::prepareForSolve() 6 0.003134 0.003134 0.003134 0.68% MLCellLinOp::defineBC() 6 0.003079 0.003079 0.003079 0.67% MLMG::computeResidual() 36 0.002991 0.002991 0.002991 0.65% BndryData::define() 6 0.002933 0.002933 0.002933 0.63% Castro::reset_internal_energy(MultiFab) 30 0.002419 0.002419 0.002419 0.52% Castro::computeNewDt() 5 0.00224 0.00224 0.00224 0.48% Castro::construct_new_source() 25 0.002034 0.002034 0.002034 0.44% Castro::construct_new_gravity_source() 5 0.001841 0.001841 0.001841 0.40% Castro::finalize_do_advance() 5 0.001817 0.001817 0.001817 0.39% Castro::construct_old_source() 25 0.001727 0.001727 0.001727 0.37% Castro::construct_old_gravity_source() 5 0.00166 0.00166 0.00166 0.36% amrex::Add() 36 0.001549 0.001549 0.001549 0.33% Castro::enforce_speed_limit() 30 0.001229 0.001229 0.001229 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001078 0.001078 0.001078 0.23% MLMG::ResNormInf() 42 0.001021 0.001021 0.001021 0.22% Castro::apply_source_to_state() 10 0.0009859 0.0009859 0.0009859 0.21% MLMG::getGradSolution() 6 0.0009196 0.0009196 0.0009196 0.20% MLCellLinOp::compGrad() 6 0.0009156 0.0009156 0.0009156 0.20% Castro::reset_internal_energy(Fab) 240 0.0009009 0.0009009 0.0009009 0.19% MLCellLinOp::setLevelBC() 6 0.0008913 0.0008913 0.0008913 0.19% FabArrayBase::getCPC() 632 0.0008809 0.0008809 0.0008809 0.19% check_for_negative_density() 5 0.0008691 0.0008691 0.0008691 0.19% MLMG::computeMLResidual() 6 0.0008637 0.0008637 0.0008637 0.19% MLPoisson::prepareForSolve() 6 0.000822 0.000822 0.000822 0.18% MLCellLinOp::prepareForSolve() 6 0.0008179 0.0008179 0.0008179 0.18% Gravity::update_max_rhs() 6 0.000756 0.000756 0.000756 0.16% FabArray::setDomainBndry() 20 0.0007342 0.0007342 0.0007342 0.16% FabArray::mult() 22 0.0007113 0.0007113 0.0007113 0.15% Castro::check_for_nan() 10 0.0006983 0.0006983 0.0006983 0.15% MultiFab::contains_nan() 10 0.0006917 0.0006917 0.0006917 0.15% Amr::InitAmr() 1 0.000481 0.000481 0.000481 0.10% FabArrayBase::CPC::define() 244 0.000459 0.000459 0.000459 0.10% FabArrayBase::getFB() 1730 0.0003744 0.0003744 0.0003744 0.08% Castro::finalize_advance() 5 0.0003223 0.0003223 0.0003223 0.07% Gravity::swapTimeLevels() 5 0.0002597 0.0002597 0.0002597 0.06% MultiFab::max() 6 0.0002146 0.0002146 0.0002146 0.05% MLMG::MLResNormInf() 6 0.0001961 0.0001961 0.0001961 0.04% Castro::buildMetrics() 1 0.0001715 0.0001715 0.0001715 0.04% MLLinOp::define() 6 0.000138 0.000138 0.000138 0.03% MLLinOp::defineGrids() 6 0.0001311 0.0001311 0.0001311 0.03% MLMG::MLRhsNormInf() 6 0.0001264 0.0001264 0.0001264 0.03% Castro::create_source_corrector() 5 9.395e-05 9.395e-05 9.395e-05 0.02% FabArrayBase::FB::FB() 26 7.225e-05 7.225e-05 7.225e-05 0.02% Castro::swap_state_time_levels() 5 3.448e-05 3.448e-05 3.448e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.133e-05 3.133e-05 3.133e-05 0.01% Amr::writeSmallPlotFile() 1 2.874e-05 2.874e-05 2.874e-05 0.01% Castro::initMFs() 1 2.52e-05 2.52e-05 2.52e-05 0.01% makeSFC 30 2.404e-05 2.404e-05 2.404e-05 0.01% DistributionMapping::Distribute() 31 1.012e-05 1.012e-05 1.012e-05 0.00% Amr::initSubcycle() 1 1.011e-05 1.011e-05 1.011e-05 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.567e-06 5.567e-06 5.567e-06 0.00% Gravity::set_mass_offset() 6 2.57e-06 2.57e-06 2.57e-06 0.00% Castro::retry_advance_ctu() 5 2.37e-06 2.37e-06 2.37e-06 0.00% Castro::FluxRegCrseInit 5 1.949e-06 1.949e-06 1.949e-06 0.00% Castro::FluxRegFineAdd() 5 1.601e-06 1.601e-06 1.601e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.019e-06 1.019e-06 1.019e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 10 MiB 9037 MiB Castro::initMFs() 48 48 58 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 1516 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1550 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 6497 KiB 14 MiB MLMG::prepareForSolve() 361 361 3286 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 333 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 323 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6484 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3239 B 2048 KiB Gravity::solve_for_phi() 40 40 600 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 302 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 194 KiB 671 KiB Castro::estTimeStep() 10 10 3321 B 480 KiB VisMF::Write(FabArray) 112 112 1217 B 320 KiB Castro::normalize_species() 30 30 6701 B 320 KiB amrex::average_down 469 469 1385 B 257 KiB MLMG::addInterpCorrection() 468 468 1082 B 257 KiB amrex::Dot() 592 592 3063 B 160 KiB FabArray::norminf() 501 501 2977 B 160 KiB check_for_negative_density() 5 5 300 B 160 KiB MultiFab::max() 6 6 72 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3183 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 248 B 9648 B MLCellLinOp::applyBC() 3820 3820 202 B 9344 B amrex::Copy() 56 56 5904 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B StateData::FillBoundary(geom) 960 960 22 B 1440 B MLCellLinOp::defineBC() 36 36 340 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 1100 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 77 KiB 8192 KiB VisMF::Write(FabArray) 120 120 144 KiB 3584 KiB VisMF::Read() 24 24 198 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3183 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 248 B 9648 B MLCellLinOp::applyBC() 1910 1910 200 B 9328 B amrex::Copy() 56 56 5904 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2546 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B MLMG::prepareForSolve() 7 7 801 B 1648 B amrex::average_down 37 37 465 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B StateData::FillBoundary(geom) 960 960 22 B 1440 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 (24.04-6-g771c439170bf) finalized