Initializing AMReX (23.11-10-g15a0bb9a8c1b)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.11-10-g15a0bb9a8c1b) initialized Starting run at 08:53:34 UTC on 2023-11-15. Successfully read inputs file ... Castro git describe: 23.11-6-gb720d68fa AMReX git describe: 23.11-10-g15a0bb9a8 Microphysics git describe: 23.11-6-g2383aa27 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.051290487 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028659172 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.051084299 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.051650545 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.072493951 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.077364948 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.052565116 [STEP 5] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.061600585 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.049286711 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.066435985 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.084424897 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.074198292 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.052579784 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.049220551 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028768425 seconds Ending run at 08:53:35 UTC on 2023-11-15. Run time = 0.908470296 Run time without initialization = 0.772369273 Average number of zones advanced per microsecond: 3.394 Average number of zones advanced per microsecond per rank: 3.394 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9085 ... 0.9085 ... 0.9085 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2528 0.2528 0.2528 27.82% VisMF::Write(FabArray) 11 0.1992 0.1992 0.1992 21.92% MLCellLinOp::applyBC() 4433 0.08038 0.08038 0.08038 8.85% MLPoisson::Fsmooth() 3280 0.0333 0.0333 0.0333 3.66% FillBoundary_nowait() 4023 0.03043 0.03043 0.03043 3.35% StateData::FillBoundary(geom) 328 0.0269 0.0269 0.0269 2.96% Castro::normalize_species() 62 0.02144 0.02144 0.02144 2.36% amrex::Dot() 1114 0.02111 0.02111 0.02111 2.32% Amr::checkPoint() 3 0.01759 0.01759 0.01759 1.94% Castro::computeTemp() 63 0.01641 0.01641 0.01641 1.81% amrex::Copy() 1029 0.01522 0.01522 0.01522 1.68% FabArray::norminf() 743 0.01475 0.01475 0.01475 1.62% FabArray::setVal() 1144 0.01359 0.01359 0.01359 1.50% FabArray::ParallelCopy_nowait() 861 0.01354 0.01354 0.01354 1.49% Castro::enforce_min_density() 62 0.01188 0.01188 0.01188 1.31% StateDataPhysBCFunct::() 41 0.01157 0.01157 0.01157 1.27% MLPoisson::Fapply() 1142 0.01073 0.01073 0.01073 1.18% MLCellLinOp::defineAuxData() 11 0.01024 0.01024 0.01024 1.13% Gravity::fill_multipole_BCs() 11 0.009209 0.009209 0.009209 1.01% FabArray::Saxpy() 813 0.008486 0.008486 0.008486 0.93% FabArray::Xpay() 821 0.00834 0.00834 0.00834 0.92% MLMG::addInterpCorrection() 410 0.006869 0.006869 0.006869 0.76% amrex::average_down 410 0.006214 0.006214 0.006214 0.68% Castro::estTimeStep() 21 0.005747 0.005747 0.005747 0.63% Castro::reset_internal_energy(MultiFab) 63 0.005228 0.005228 0.005228 0.58% FabArray::LinComb() 557 0.004684 0.004684 0.004684 0.52% amrex::Add() 164 0.004461 0.004461 0.004461 0.49% BndryData::define() 11 0.003927 0.003927 0.003927 0.43% Castro::enforce_speed_limit() 62 0.003386 0.003386 0.003386 0.37% Castro::construct_new_gravity_source() 10 0.003256 0.003256 0.003256 0.36% Castro::construct_old_gravity_source() 10 0.002759 0.002759 0.002759 0.30% Amr::writePlotFile() 2 0.002264 0.002264 0.002264 0.25% MLCGSolver::bicgstab 82 0.002238 0.002238 0.002238 0.25% check_for_negative_density() 10 0.002028 0.002028 0.002028 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001767 0.001767 0.001767 0.19% Castro::reset_internal_energy(Fab) 504 0.001632 0.001632 0.001632 0.18% Gravity::actual_solve_with_mlmg() 11 0.001566 0.001566 0.001566 0.17% MLCellLinOp::setLevelBC() 11 0.001538 0.001538 0.001538 0.17% Castro::initData() 1 0.001509 0.001509 0.001509 0.17% FabArray::mult() 43 0.001357 0.001357 0.001357 0.15% FabArray::setDomainBndry() 41 0.001338 0.001338 0.001338 0.15% MLCellLinOp::prepareForSolve() 11 0.001312 0.001312 0.001312 0.14% MultiFab::contains_nan() 20 0.001264 0.001264 0.001264 0.14% MLCellLinOp::smooth() 1640 0.001066 0.001066 0.001066 0.12% MLCellLinOp::compGrad() 11 0.001061 0.001061 0.001061 0.12% MLMG::prepareForSolve() 11 0.0009685 0.0009685 0.0009685 0.11% FabArray::FillBoundary() 4023 0.0009034 0.0009034 0.0009034 0.10% FabArrayBase::getCPC() 1323 0.0007622 0.0007622 0.0007622 0.08% FabArrayBase::CPC::define() 454 0.0006714 0.0006714 0.0006714 0.07% FabArrayBase::getFB() 4023 0.0006526 0.0006526 0.0006526 0.07% Gravity::get_new_grav_vector() 11 0.0006028 0.0006028 0.0006028 0.07% Amr::InitAmr() 1 0.0005344 0.0005344 0.0005344 0.06% Gravity::get_old_grav_vector() 10 0.0004977 0.0004977 0.0004977 0.05% MLCellLinOp::apply() 1142 0.0004766 0.0004766 0.0004766 0.05% Amr::coarseTimeStep() 10 0.0003935 0.0003935 0.0003935 0.04% AmrLevel::FillPatch() 41 0.0003787 0.0003787 0.0003787 0.04% main() 1 0.0003454 0.0003454 0.0003454 0.04% MultiFab::max() 11 0.0003266 0.0003266 0.0003266 0.04% MLCGSolver::ParallelAllReduce 1514 0.0003076 0.0003076 0.0003076 0.03% MLCellLinOp::defineBC() 11 0.0002657 0.0002657 0.0002657 0.03% FabArray::ParallelCopy() 861 0.000249 0.000249 0.000249 0.03% Castro::subcycle_advance_ctu() 10 0.0002385 0.0002385 0.0002385 0.03% MLCellLinOp::correctionResidual() 492 0.0002269 0.0002269 0.0002269 0.02% FillPatchIterator::Initialize 41 0.0002239 0.0002239 0.0002239 0.02% MLMG::mgVcycle() 82 0.0001982 0.0001982 0.0001982 0.02% Amr::timeStep() 10 0.0001623 0.0001623 0.0001623 0.02% Castro::create_source_corrector() 10 0.0001599 0.0001599 0.0001599 0.02% MLLinOp::defineGrids() 11 0.0001583 0.0001583 0.0001583 0.02% Gravity::solve_for_phi() 10 0.0001546 0.0001546 0.0001546 0.02% Gravity::update_max_rhs() 11 0.0001425 0.0001425 0.0001425 0.02% StateData::checkPoint() 12 0.0001369 0.0001369 0.0001369 0.02% MLMG:computeResOfCorrection() 410 0.0001208 0.0001208 0.0001208 0.01% Castro::construct_new_source() 50 0.0001015 0.0001015 0.0001015 0.01% Castro::Castro() 1 9.514e-05 9.514e-05 9.514e-05 0.01% MLMG::mgVcycle_down::0 82 9.411e-05 9.411e-05 9.411e-05 0.01% Castro::advance() 10 9.298e-05 9.298e-05 9.298e-05 0.01% FabArrayBase::FB::FB() 56 9.278e-05 9.278e-05 9.278e-05 0.01% MLMG::actualBottomSolve() 82 8.842e-05 8.842e-05 8.842e-05 0.01% MLMG::mgVcycle_down::1 82 7.764e-05 7.764e-05 7.764e-05 0.01% MLMG::mgVcycle_down::2 82 7.618e-05 7.618e-05 7.618e-05 0.01% Castro::initialize_advance() 10 7.577e-05 7.577e-05 7.577e-05 0.01% AmrLevel::checkPoint() 3 7.535e-05 7.535e-05 7.535e-05 0.01% Castro::clean_state() 62 7.458e-05 7.458e-05 7.458e-05 0.01% MLMG::solve() 11 7.255e-05 7.255e-05 7.255e-05 0.01% MLMG::mgVcycle_down::4 82 7.203e-05 7.203e-05 7.203e-05 0.01% Castro::enforce_consistent_e() 1 7.02e-05 7.02e-05 7.02e-05 0.01% MLMG::mgVcycle_down::3 82 6.93e-05 6.93e-05 6.93e-05 0.01% MLMG::oneIter() 82 6.298e-05 6.298e-05 6.298e-05 0.01% Castro::finalize_advance() 10 6.248e-05 6.248e-05 6.248e-05 0.01% Castro::initialize_do_advance() 10 5.971e-05 5.971e-05 5.971e-05 0.01% MLMG::mgVcycle_up::4 82 5.951e-05 5.951e-05 5.951e-05 0.01% MLCellLinOp::solutionResidual() 93 5.05e-05 5.05e-05 5.05e-05 0.01% MLMG::mgVcycle_up::0 82 5.017e-05 5.017e-05 5.017e-05 0.01% MLMG::mgVcycle_up::3 82 4.843e-05 4.843e-05 4.843e-05 0.01% Castro::do_advance_ctu() 10 4.767e-05 4.767e-05 4.767e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.638e-05 4.638e-05 4.638e-05 0.01% MLMG::mgVcycle_up::1 82 4.599e-05 4.599e-05 4.599e-05 0.01% Castro::do_new_sources() 10 4.572e-05 4.572e-05 4.572e-05 0.01% MLMG::mgVcycle_up::2 82 4.483e-05 4.483e-05 4.483e-05 0.00% StateData::define() 4 4.293e-05 4.293e-05 4.293e-05 0.00% Castro::finalize_do_advance() 10 4.244e-05 4.244e-05 4.244e-05 0.00% Castro::swap_state_time_levels() 10 3.738e-05 3.738e-05 3.738e-05 0.00% MLMG::mgVcycle_bottom 82 3.504e-05 3.504e-05 3.504e-05 0.00% MLMG::ResNormInf() 93 3.488e-05 3.488e-05 3.488e-05 0.00% FillPatchSingleLevel 41 3.479e-05 3.479e-05 3.479e-05 0.00% MLMG::computeResidual() 82 3.469e-05 3.469e-05 3.469e-05 0.00% Castro::initMFs() 1 3.267e-05 3.267e-05 3.267e-05 0.00% Gravity::solve_phi_with_mlmg() 11 3.112e-05 3.112e-05 3.112e-05 0.00% Amr::writeSmallPlotFile() 1 3.084e-05 3.084e-05 3.084e-05 0.00% Castro::buildMetrics() 1 2.789e-05 2.789e-05 2.789e-05 0.00% Castro::construct_new_gravity() 10 2.722e-05 2.722e-05 2.722e-05 0.00% MLPoisson::define() 11 2.68e-05 2.68e-05 2.68e-05 0.00% Amr::defBaseLevel() 1 2.656e-05 2.656e-05 2.656e-05 0.00% makeSFC 55 2.61e-05 2.61e-05 2.61e-05 0.00% AmrLevel::AmrLevel(dm) 1 2.222e-05 2.222e-05 2.222e-05 0.00% Castro::do_old_sources() 10 2.21e-05 2.21e-05 2.21e-05 0.00% Amr::FinalizeInit() 1 2.141e-05 2.141e-05 2.141e-05 0.00% Castro::construct_old_source() 50 1.973e-05 1.973e-05 1.973e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.809e-05 1.809e-05 1.809e-05 0.00% DistributionMapping::Distribute() 56 1.529e-05 1.529e-05 1.529e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.518e-05 1.518e-05 1.518e-05 0.00% MLPoisson::prepareForSolve() 11 1.445e-05 1.445e-05 1.445e-05 0.00% MLMG::computeMLResidual() 11 1.441e-05 1.441e-05 1.441e-05 0.00% Castro::check_for_nan() 20 1.3e-05 1.3e-05 1.3e-05 0.00% Castro::apply_source_to_state() 20 1.173e-05 1.173e-05 1.173e-05 0.00% Castro::post_init() 1 1.145e-05 1.145e-05 1.145e-05 0.00% Castro::construct_old_gravity() 10 1.132e-05 1.132e-05 1.132e-05 0.00% MLLinOp::define() 11 1.015e-05 1.015e-05 1.015e-05 0.00% Amr::initSubcycle() 1 9.662e-06 9.662e-06 9.662e-06 0.00% Gravity::swapTimeLevels() 10 8.841e-06 8.841e-06 8.841e-06 0.00% Gravity::actual_multilevel_solve() 1 8.746e-06 8.746e-06 8.746e-06 0.00% Castro::post_timestep() 10 8.27e-06 8.27e-06 8.27e-06 0.00% MLMG::getGradSolution() 11 7.041e-06 7.041e-06 7.041e-06 0.00% Castro::computeNewDt() 9 6.294e-06 6.294e-06 6.294e-06 0.00% Castro::expand_state() 10 5.735e-06 5.735e-06 5.735e-06 0.00% Amr::InitializeInit() 1 5.47e-06 5.47e-06 5.47e-06 0.00% AmrLevel::checkPointPost() 3 4.867e-06 4.867e-06 4.867e-06 0.00% Castro::retry_advance_ctu() 10 4.278e-06 4.278e-06 4.278e-06 0.00% Gravity::set_mass_offset() 11 4.188e-06 4.188e-06 4.188e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.061e-06 4.061e-06 4.061e-06 0.00% MLMG::MLRhsNormInf() 11 4.036e-06 4.036e-06 4.036e-06 0.00% MLMG::MLResNormInf() 11 3.55e-06 3.55e-06 3.55e-06 0.00% Castro::FluxRegCrseInit 10 3.373e-06 3.373e-06 3.373e-06 0.00% Castro::computeInitialDt() 2 3.246e-06 3.246e-06 3.246e-06 0.00% Amr::init() 1 2.428e-06 2.428e-06 2.428e-06 0.00% Castro::FluxRegFineAdd() 10 2.331e-06 2.331e-06 2.331e-06 0.00% AmrLevel::checkPointPre() 3 2.327e-06 2.327e-06 2.327e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.07e-06 2.07e-06 2.07e-06 0.00% Castro::post_regrid() 1 1.251e-06 1.251e-06 1.251e-06 0.00% Amr::initialInit() 1 1.213e-06 1.213e-06 1.213e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9085 0.9085 0.9085 100.00% Amr::coarseTimeStep() 10 0.7434 0.7434 0.7434 81.82% Amr::timeStep() 10 0.6287 0.6287 0.6287 69.21% Castro::advance() 10 0.6174 0.6174 0.6174 67.95% Castro::subcycle_advance_ctu() 10 0.6024 0.6024 0.6024 66.30% Castro::do_advance_ctu() 10 0.6021 0.6021 0.6021 66.28% Gravity::solve_phi_with_mlmg() 11 0.2946 0.2946 0.2946 32.43% Gravity::actual_solve_with_mlmg() 11 0.285 0.285 0.285 31.37% Castro::construct_new_gravity() 10 0.2651 0.2651 0.2651 29.18% Castro::construct_ctu_hydro_source() 10 0.2638 0.2638 0.2638 29.03% MLMG::solve() 11 0.2632 0.2632 0.2632 28.97% Gravity::solve_for_phi() 10 0.2491 0.2491 0.2491 27.41% MLMG::oneIter() 82 0.248 0.248 0.248 27.30% MLMG::mgVcycle() 82 0.2443 0.2443 0.2443 26.89% VisMF::Write(FabArray) 11 0.1992 0.1992 0.1992 21.92% Amr::checkPoint() 3 0.1622 0.1622 0.1622 17.86% AmrLevel::checkPoint() 3 0.1446 0.1446 0.1446 15.92% StateData::checkPoint() 12 0.1446 0.1446 0.1446 15.91% Amr::init() 1 0.1354 0.1354 0.1354 14.90% MLCellLinOp::smooth() 1640 0.1197 0.1197 0.1197 13.18% MLCellLinOp::applyBC() 4433 0.1125 0.1125 0.1125 12.38% MLMG::mgVcycle_bottom 82 0.0763 0.0763 0.0763 8.40% MLMG::actualBottomSolve() 82 0.07626 0.07626 0.07626 8.39% MLCGSolver::bicgstab 82 0.07554 0.07554 0.07554 8.32% Castro::clean_state() 62 0.05901 0.05901 0.05901 6.50% Amr::writePlotFile() 2 0.05754 0.05754 0.05754 6.33% Amr::initialInit() 1 0.05534 0.05534 0.05534 6.09% Amr::FinalizeInit() 1 0.04999 0.04999 0.04999 5.50% Castro::post_init() 1 0.04845 0.04845 0.04845 5.33% AmrLevel::FillPatch() 41 0.0484 0.0484 0.0484 5.33% Gravity::multilevel_solve_for_new_phi() 1 0.04607 0.04607 0.04607 5.07% Gravity::actual_multilevel_solve() 1 0.04605 0.04605 0.04605 5.07% FillPatchIterator::Initialize 41 0.04414 0.04414 0.04414 4.86% FillPatchIterator::FillFromLevel0() 41 0.04258 0.04258 0.04258 4.69% FillPatchSingleLevel 41 0.04254 0.04254 0.04254 4.68% StateDataPhysBCFunct::() 41 0.03848 0.03848 0.03848 4.23% MLCellLinOp::apply() 1142 0.03779 0.03779 0.03779 4.16% MLMG::mgVcycle_down::0 82 0.03402 0.03402 0.03402 3.74% MLPoisson::Fsmooth() 3280 0.0333 0.0333 0.0333 3.66% FabArray::FillBoundary() 4023 0.03208 0.03208 0.03208 3.53% FillBoundary_nowait() 4023 0.03117 0.03117 0.03117 3.43% StateData::FillBoundary(geom) 328 0.0269 0.0269 0.0269 2.96% MLMG::mgVcycle_up::0 82 0.02567 0.02567 0.02567 2.83% Castro::computeTemp() 63 0.02327 0.02327 0.02327 2.56% MLCellLinOp::correctionResidual() 492 0.02289 0.02289 0.02289 2.52% Castro::initialize_do_advance() 10 0.022 0.022 0.022 2.42% Castro::normalize_species() 62 0.02144 0.02144 0.02144 2.36% amrex::Dot() 1114 0.02111 0.02111 0.02111 2.32% MLMG:computeResOfCorrection() 410 0.02014 0.02014 0.02014 2.22% Castro::do_old_sources() 10 0.0189 0.0189 0.0189 2.08% Gravity::get_new_grav_vector() 11 0.01801 0.01801 0.01801 1.98% MLPoisson::define() 11 0.01709 0.01709 0.01709 1.88% MLMG::mgVcycle_down::1 82 0.01647 0.01647 0.01647 1.81% Castro::construct_old_gravity() 10 0.0155 0.0155 0.0155 1.71% Gravity::get_old_grav_vector() 10 0.01549 0.01549 0.01549 1.71% MLMG::mgVcycle_down::2 82 0.01532 0.01532 0.01532 1.69% amrex::Copy() 1029 0.01522 0.01522 0.01522 1.68% MLMG::mgVcycle_down::3 82 0.01491 0.01491 0.01491 1.64% MLMG::mgVcycle_down::4 82 0.01475 0.01475 0.01475 1.62% FabArray::norminf() 743 0.01475 0.01475 0.01475 1.62% FabArray::ParallelCopy() 861 0.01458 0.01458 0.01458 1.61% FabArray::ParallelCopy_nowait() 861 0.01433 0.01433 0.01433 1.58% Castro::initialize_advance() 10 0.0143 0.0143 0.0143 1.57% Castro::do_new_sources() 10 0.01366 0.01366 0.01366 1.50% FabArray::setVal() 1144 0.01359 0.01359 0.01359 1.50% MLCGSolver::ParallelAllReduce 1514 0.01263 0.01263 0.01263 1.39% MLMG::addInterpCorrection() 410 0.01211 0.01211 0.01211 1.33% Castro::expand_state() 10 0.01201 0.01201 0.01201 1.32% MLMG::mgVcycle_up::1 82 0.01188 0.01188 0.01188 1.31% Castro::enforce_min_density() 62 0.01188 0.01188 0.01188 1.31% MLMG::mgVcycle_up::4 82 0.01178 0.01178 0.01178 1.30% MLMG::mgVcycle_up::2 82 0.01165 0.01165 0.01165 1.28% MLCellLinOp::defineAuxData() 11 0.01162 0.01162 0.01162 1.28% amrex::average_down 410 0.01153 0.01153 0.01153 1.27% MLMG::mgVcycle_up::3 82 0.01138 0.01138 0.01138 1.25% Castro::post_timestep() 10 0.01122 0.01122 0.01122 1.23% MLPoisson::Fapply() 1142 0.01073 0.01073 0.01073 1.18% Gravity::fill_multipole_BCs() 11 0.009438 0.009438 0.009438 1.04% FabArray::Saxpy() 813 0.008486 0.008486 0.008486 0.93% FabArray::Xpay() 821 0.00834 0.00834 0.00834 0.92% MLCellLinOp::solutionResidual() 93 0.007585 0.007585 0.007585 0.83% Castro::reset_internal_energy(MultiFab) 63 0.006859 0.006859 0.006859 0.76% MLMG::computeResidual() 82 0.006289 0.006289 0.006289 0.69% Castro::estTimeStep() 21 0.005747 0.005747 0.005747 0.63% Amr::InitializeInit() 1 0.005347 0.005347 0.005347 0.59% Amr::defBaseLevel() 1 0.005341 0.005341 0.005341 0.59% MLCellLinOp::defineBC() 11 0.005219 0.005219 0.005219 0.57% MLMG::prepareForSolve() 11 0.005088 0.005088 0.005088 0.56% BndryData::define() 11 0.004953 0.004953 0.004953 0.55% FabArray::LinComb() 557 0.004684 0.004684 0.004684 0.52% Castro::initData() 1 0.004656 0.004656 0.004656 0.51% amrex::Add() 164 0.004461 0.004461 0.004461 0.49% Castro::enforce_speed_limit() 62 0.003386 0.003386 0.003386 0.37% Castro::construct_new_source() 50 0.003358 0.003358 0.003358 0.37% Castro::construct_new_gravity_source() 10 0.003256 0.003256 0.003256 0.36% Castro::construct_old_source() 50 0.002778 0.002778 0.002778 0.31% Castro::construct_old_gravity_source() 10 0.002759 0.002759 0.002759 0.30% Castro::computeNewDt() 9 0.002539 0.002539 0.002539 0.28% Castro::finalize_do_advance() 10 0.002198 0.002198 0.002198 0.24% MLMG::ResNormInf() 93 0.002184 0.002184 0.002184 0.24% check_for_negative_density() 10 0.002028 0.002028 0.002028 0.22% Castro::apply_source_to_state() 20 0.001864 0.001864 0.001864 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001767 0.001767 0.001767 0.19% Castro::reset_internal_energy(Fab) 504 0.001632 0.001632 0.001632 0.18% MLMG::getGradSolution() 11 0.001558 0.001558 0.001558 0.17% MLCellLinOp::compGrad() 11 0.001551 0.001551 0.001551 0.17% MLCellLinOp::setLevelBC() 11 0.001538 0.001538 0.001538 0.17% FabArrayBase::getCPC() 1323 0.001434 0.001434 0.001434 0.16% FabArray::mult() 43 0.001357 0.001357 0.001357 0.15% MLMG::computeMLResidual() 11 0.001345 0.001345 0.001345 0.15% FabArray::setDomainBndry() 41 0.001338 0.001338 0.001338 0.15% MLPoisson::prepareForSolve() 11 0.001327 0.001327 0.001327 0.15% MLCellLinOp::prepareForSolve() 11 0.001312 0.001312 0.001312 0.14% Castro::check_for_nan() 20 0.001277 0.001277 0.001277 0.14% MultiFab::contains_nan() 20 0.001264 0.001264 0.001264 0.14% Castro::post_regrid() 1 0.001241 0.001241 0.001241 0.14% Castro::computeInitialDt() 2 0.001063 0.001063 0.001063 0.12% Gravity::update_max_rhs() 11 0.001006 0.001006 0.001006 0.11% FabArrayBase::getFB() 4023 0.0007454 0.0007454 0.0007454 0.08% FabArrayBase::CPC::define() 454 0.0006714 0.0006714 0.0006714 0.07% Castro::finalize_advance() 10 0.0005891 0.0005891 0.0005891 0.06% Castro::Castro() 1 0.0005882 0.0005882 0.0005882 0.06% Amr::InitAmr() 1 0.0005441 0.0005441 0.0005441 0.06% Gravity::swapTimeLevels() 10 0.0004364 0.0004364 0.0004364 0.05% MLMG::MLResNormInf() 11 0.0003301 0.0003301 0.0003301 0.04% MultiFab::max() 11 0.0003266 0.0003266 0.0003266 0.04% Castro::buildMetrics() 1 0.0002912 0.0002912 0.0002912 0.03% MLLinOp::define() 11 0.0002256 0.0002256 0.0002256 0.02% MLMG::MLRhsNormInf() 11 0.0002191 0.0002191 0.0002191 0.02% MLLinOp::defineGrids() 11 0.0002154 0.0002154 0.0002154 0.02% Castro::create_source_corrector() 10 0.0001599 0.0001599 0.0001599 0.02% FabArrayBase::FB::FB() 56 9.278e-05 9.278e-05 9.278e-05 0.01% Castro::enforce_consistent_e() 1 7.02e-05 7.02e-05 7.02e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.515e-05 6.515e-05 6.515e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.5e-05 5.5e-05 5.5e-05 0.01% StateData::define() 4 4.293e-05 4.293e-05 4.293e-05 0.00% makeSFC 55 3.982e-05 3.982e-05 3.982e-05 0.00% Castro::swap_state_time_levels() 10 3.738e-05 3.738e-05 3.738e-05 0.00% Castro::initMFs() 1 3.267e-05 3.267e-05 3.267e-05 0.00% Amr::writeSmallPlotFile() 1 3.084e-05 3.084e-05 3.084e-05 0.00% DistributionMapping::Distribute() 56 1.529e-05 1.529e-05 1.529e-05 0.00% Amr::initSubcycle() 1 9.662e-06 9.662e-06 9.662e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.629e-06 5.629e-06 5.629e-06 0.00% AmrLevel::checkPointPost() 3 4.867e-06 4.867e-06 4.867e-06 0.00% Castro::retry_advance_ctu() 10 4.278e-06 4.278e-06 4.278e-06 0.00% Gravity::set_mass_offset() 11 4.188e-06 4.188e-06 4.188e-06 0.00% Castro::FluxRegCrseInit 10 3.373e-06 3.373e-06 3.373e-06 0.00% Castro::FluxRegFineAdd() 10 2.331e-06 2.331e-06 2.331e-06 0.00% AmrLevel::checkPointPre() 3 2.327e-06 2.327e-06 2.327e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.07e-06 2.07e-06 2.07e-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 147 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 132 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1037 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1774 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7620 KiB 14 MiB MLMG::prepareForSolve() 660 660 3563 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 205 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 174 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7513 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2117 B 2048 KiB Gravity::solve_for_phi() 80 80 560 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 103 KiB 2048 KiB BndryData::define() 1056 1056 325 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 207 KiB 671 KiB Castro::estTimeStep() 21 21 3075 B 480 KiB VisMF::Write(FabArray) 656 656 3379 B 320 KiB Castro::normalize_species() 62 62 7689 B 320 KiB amrex::average_down 1067 1067 1253 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1133 B 257 KiB amrex::Dot() 1360 1360 3422 B 160 KiB FabArray::norminf() 907 907 2397 B 160 KiB check_for_negative_density() 10 10 313 B 160 KiB Castro::initData() 1 1 51 B 160 KiB MultiFab::max() 11 11 55 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3478 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 292 B 9648 B MLCellLinOp::applyBC() 8866 8866 220 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3895 B 6144 B StateData::FillBoundary(geom) 1992 1992 42 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 121 B 1472 B MLCellLinOp::defineBC() 66 66 367 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 589 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 40 KiB 8192 KiB VisMF::Write(FabArray) 744 744 498 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3478 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 292 B 9648 B MLCellLinOp::applyBC() 4433 4433 219 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3895 B 6144 B Gravity::get_new_grav_vector() 3 3 2886 B 3072 B StateData::FillBoundary(geom) 1992 1992 43 B 3024 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 270 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 296 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 907 907 17 B 272 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): 2528 [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 (23.11-10-g15a0bb9a8c1b) finalized Initializing AMReX (23.11-10-g15a0bb9a8c1b)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.11-10-g15a0bb9a8c1b) initialized Starting run at 08:53:36 UTC on 2023-11-15. Successfully read inputs file ... Castro git describe: 23.11-6-gb720d68fa AMReX git describe: 23.11-10-g15a0bb9a8 Microphysics git describe: 23.11-6-g2383aa27 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.502878906 Restart time = 0.073268518 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.052955749 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.04886423 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.073885641 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.074162837 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.064096078 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.031548289 seconds Ending run at 08:53:36 UTC on 2023-11-15. Run time = 0.419911566 Run time without initialization = 0.345987821 Average number of zones advanced per microsecond: 3.788 Average number of zones advanced per microsecond per rank: 3.788 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4199 ... 0.4199 ... 0.4199 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1206 0.1206 0.1206 28.71% VisMF::Read() 3 0.0616 0.0616 0.0616 14.67% MLCellLinOp::applyBC() 1946 0.03517 0.03517 0.03517 8.38% VisMF::Write(FabArray) 1 0.02907 0.02907 0.02907 6.92% MLPoisson::Fsmooth() 1440 0.01442 0.01442 0.01442 3.43% StateData::FillBoundary(geom) 160 0.01322 0.01322 0.01322 3.15% FillBoundary_nowait() 1766 0.01273 0.01273 0.01273 3.03% Castro::normalize_species() 30 0.009564 0.009564 0.009564 2.28% amrex::Dot() 484 0.009121 0.009121 0.009121 2.17% amrex::Copy() 463 0.00734 0.00734 0.00734 1.75% Castro::computeTemp() 30 0.007324 0.007324 0.007324 1.74% FabArray::norminf() 326 0.00675 0.00675 0.00675 1.61% FabArray::setVal() 537 0.00663 0.00663 0.00663 1.58% FabArray::ParallelCopy_nowait() 380 0.006167 0.006167 0.006167 1.47% Castro::enforce_min_density() 30 0.006069 0.006069 0.006069 1.45% MLCellLinOp::defineAuxData() 6 0.005524 0.005524 0.005524 1.32% Gravity::fill_multipole_BCs() 6 0.00551 0.00551 0.00551 1.31% Amr::restart() 1 0.004921 0.004921 0.004921 1.17% StateDataPhysBCFunct::() 20 0.004818 0.004818 0.004818 1.15% MLPoisson::Fapply() 500 0.004675 0.004675 0.004675 1.11% FabArray::Saxpy() 355 0.003829 0.003829 0.003829 0.91% FabArray::Xpay() 361 0.003685 0.003685 0.003685 0.88% Castro::estTimeStep() 10 0.00324 0.00324 0.00324 0.77% MLMG::addInterpCorrection() 180 0.003111 0.003111 0.003111 0.74% amrex::average_down 180 0.002765 0.002765 0.002765 0.66% Amr::writePlotFile() 1 0.002332 0.002332 0.002332 0.56% Castro::reset_internal_energy(MultiFab) 30 0.002197 0.002197 0.002197 0.52% BndryData::define() 6 0.002105 0.002105 0.002105 0.50% FabArray::LinComb() 242 0.002041 0.002041 0.002041 0.49% amrex::Add() 72 0.00192 0.00192 0.00192 0.46% Castro::enforce_speed_limit() 30 0.001889 0.001889 0.001889 0.45% Castro::construct_new_gravity_source() 5 0.00178 0.00178 0.00178 0.42% Castro::construct_old_gravity_source() 5 0.001441 0.001441 0.001441 0.34% check_for_negative_density() 5 0.001141 0.001141 0.001141 0.27% MLCGSolver::bicgstab 36 0.0009839 0.0009839 0.0009839 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000971 0.000971 0.000971 0.23% Gravity::actual_solve_with_mlmg() 6 0.0008538 0.0008538 0.0008538 0.20% MLCellLinOp::setLevelBC() 6 0.0008417 0.0008417 0.0008417 0.20% Castro::reset_internal_energy(Fab) 240 0.0008089 0.0008089 0.0008089 0.19% MLCellLinOp::prepareForSolve() 6 0.0007425 0.0007425 0.0007425 0.18% FabArray::setDomainBndry() 20 0.0007117 0.0007117 0.0007117 0.17% FabArray::mult() 22 0.0006927 0.0006927 0.0006927 0.16% MultiFab::contains_nan() 10 0.000653 0.000653 0.000653 0.16% MLCellLinOp::compGrad() 6 0.0005911 0.0005911 0.0005911 0.14% MLMG::prepareForSolve() 6 0.0005428 0.0005428 0.0005428 0.13% MLCellLinOp::smooth() 720 0.0004749 0.0004749 0.0004749 0.11% Amr::InitAmr() 1 0.0004304 0.0004304 0.0004304 0.10% FabArrayBase::CPC::define() 244 0.0004103 0.0004103 0.0004103 0.10% FabArray::FillBoundary() 1766 0.00039 0.00039 0.00039 0.09% FabArrayBase::getCPC() 632 0.0003615 0.0003615 0.0003615 0.09% main() 1 0.0003228 0.0003228 0.0003228 0.08% Gravity::get_old_grav_vector() 5 0.0003199 0.0003199 0.0003199 0.08% FabArrayBase::getFB() 1766 0.0002847 0.0002847 0.0002847 0.07% Gravity::get_new_grav_vector() 5 0.0002673 0.0002673 0.0002673 0.06% MLCellLinOp::apply() 500 0.0002046 0.0002046 0.0002046 0.05% MultiFab::max() 6 0.0002042 0.0002042 0.0002042 0.05% Amr::coarseTimeStep() 5 0.0001843 0.0001843 0.0001843 0.04% AmrLevel::FillPatch() 20 0.0001791 0.0001791 0.0001791 0.04% MLCellLinOp::defineBC() 6 0.0001399 0.0001399 0.0001399 0.03% Castro::subcycle_advance_ctu() 5 0.0001373 0.0001373 0.0001373 0.03% MLCGSolver::ParallelAllReduce 659 0.0001313 0.0001313 0.0001313 0.03% FillPatchIterator::Initialize 20 0.0001269 0.0001269 0.0001269 0.03% FabArray::ParallelCopy() 380 0.0001163 0.0001163 0.0001163 0.03% MLCellLinOp::correctionResidual() 216 0.0001002 0.0001002 0.0001002 0.02% MLLinOp::defineGrids() 6 8.87e-05 8.87e-05 8.87e-05 0.02% Castro::advance() 5 8.543e-05 8.543e-05 8.543e-05 0.02% MLMG::mgVcycle() 36 8.503e-05 8.503e-05 8.503e-05 0.02% Castro::create_source_corrector() 5 8.328e-05 8.328e-05 8.328e-05 0.02% AmrLevel::restart() 1 8.239e-05 8.239e-05 8.239e-05 0.02% Amr::timeStep() 5 8.211e-05 8.211e-05 8.211e-05 0.02% StateData::restartDoit() 4 7.226e-05 7.226e-05 7.226e-05 0.02% Castro::finalize_do_advance() 5 7.14e-05 7.14e-05 7.14e-05 0.02% Castro::initialize_do_advance() 5 6.551e-05 6.551e-05 6.551e-05 0.02% Gravity::solve_for_phi() 5 6.494e-05 6.494e-05 6.494e-05 0.02% Gravity::update_max_rhs() 6 6.387e-05 6.387e-05 6.387e-05 0.02% Castro::initialize_advance() 5 5.928e-05 5.928e-05 5.928e-05 0.01% FabArrayBase::FB::FB() 26 5.907e-05 5.907e-05 5.907e-05 0.01% MLMG:computeResOfCorrection() 180 5.473e-05 5.473e-05 5.473e-05 0.01% MLMG::mgVcycle_down::0 36 4.897e-05 4.897e-05 4.897e-05 0.01% Castro::do_advance_ctu() 5 4.543e-05 4.543e-05 4.543e-05 0.01% MLMG::actualBottomSolve() 36 4.046e-05 4.046e-05 4.046e-05 0.01% MLMG::mgVcycle_down::3 36 3.559e-05 3.559e-05 3.559e-05 0.01% MLMG::mgVcycle_down::4 36 3.55e-05 3.55e-05 3.55e-05 0.01% MLMG::mgVcycle_down::1 36 3.524e-05 3.524e-05 3.524e-05 0.01% Castro::clean_state() 30 3.403e-05 3.403e-05 3.403e-05 0.01% Amr::writeSmallPlotFile() 1 3.388e-05 3.388e-05 3.388e-05 0.01% MLMG::solve() 6 3.243e-05 3.243e-05 3.243e-05 0.01% MLMG::mgVcycle_down::2 36 3.224e-05 3.224e-05 3.224e-05 0.01% Castro::post_restart() 1 3.122e-05 3.122e-05 3.122e-05 0.01% Castro::finalize_advance() 5 3.107e-05 3.107e-05 3.107e-05 0.01% Castro::do_new_sources() 5 2.89e-05 2.89e-05 2.89e-05 0.01% Castro::buildMetrics() 1 2.842e-05 2.842e-05 2.842e-05 0.01% Castro::construct_new_source() 25 2.818e-05 2.818e-05 2.818e-05 0.01% MLMG::oneIter() 36 2.786e-05 2.786e-05 2.786e-05 0.01% Castro::construct_old_source() 25 2.67e-05 2.67e-05 2.67e-05 0.01% MLMG::mgVcycle_up::4 36 2.638e-05 2.638e-05 2.638e-05 0.01% Castro::initMFs() 1 2.488e-05 2.488e-05 2.488e-05 0.01% Castro::swap_state_time_levels() 5 2.39e-05 2.39e-05 2.39e-05 0.01% MLCellLinOp::solutionResidual() 42 2.239e-05 2.239e-05 2.239e-05 0.01% MLMG::mgVcycle_up::0 36 2.205e-05 2.205e-05 2.205e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.135e-05 2.135e-05 2.135e-05 0.01% MLMG::mgVcycle_up::3 36 2.06e-05 2.06e-05 2.06e-05 0.00% MLMG::mgVcycle_up::2 36 1.989e-05 1.989e-05 1.989e-05 0.00% MLMG::mgVcycle_up::1 36 1.952e-05 1.952e-05 1.952e-05 0.00% MLMG::ResNormInf() 42 1.829e-05 1.829e-05 1.829e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.702e-05 1.702e-05 1.702e-05 0.00% MLMG::mgVcycle_bottom 36 1.602e-05 1.602e-05 1.602e-05 0.00% Castro::construct_new_gravity() 5 1.524e-05 1.524e-05 1.524e-05 0.00% FillPatchSingleLevel 20 1.508e-05 1.508e-05 1.508e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.475e-05 1.475e-05 1.475e-05 0.00% MLMG::computeResidual() 36 1.385e-05 1.385e-05 1.385e-05 0.00% MLPoisson::define() 6 1.381e-05 1.381e-05 1.381e-05 0.00% makeSFC 30 1.283e-05 1.283e-05 1.283e-05 0.00% Castro::do_old_sources() 5 1.142e-05 1.142e-05 1.142e-05 0.00% MLPoisson::prepareForSolve() 6 9.74e-06 9.74e-06 9.74e-06 0.00% MLMG::computeMLResidual() 6 9.382e-06 9.382e-06 9.382e-06 0.00% DistributionMapping::Distribute() 31 8.936e-06 8.936e-06 8.936e-06 0.00% Gravity::actual_multilevel_solve() 1 8.428e-06 8.428e-06 8.428e-06 0.00% Amr::initSubcycle() 1 8.394e-06 8.394e-06 8.394e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.298e-06 7.298e-06 7.298e-06 0.00% Castro::check_for_nan() 10 7.027e-06 7.027e-06 7.027e-06 0.00% MLLinOp::define() 6 6.02e-06 6.02e-06 6.02e-06 0.00% Castro::construct_old_gravity() 5 5.859e-06 5.859e-06 5.859e-06 0.00% Castro::apply_source_to_state() 10 5.815e-06 5.815e-06 5.815e-06 0.00% Castro::post_timestep() 5 4.856e-06 4.856e-06 4.856e-06 0.00% Gravity::swapTimeLevels() 5 4.02e-06 4.02e-06 4.02e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.233e-06 3.233e-06 3.233e-06 0.00% Castro::computeNewDt() 5 3.095e-06 3.095e-06 3.095e-06 0.00% MLMG::getGradSolution() 6 3.061e-06 3.061e-06 3.061e-06 0.00% Castro::expand_state() 5 3.025e-06 3.025e-06 3.025e-06 0.00% MLMG::MLResNormInf() 6 2.329e-06 2.329e-06 2.329e-06 0.00% Gravity::set_mass_offset() 6 2.234e-06 2.234e-06 2.234e-06 0.00% Castro::retry_advance_ctu() 5 2.092e-06 2.092e-06 2.092e-06 0.00% MLMG::MLRhsNormInf() 6 2.022e-06 2.022e-06 2.022e-06 0.00% Castro::FluxRegCrseInit 5 1.501e-06 1.501e-06 1.501e-06 0.00% Castro::FluxRegFineAdd() 5 1.24e-06 1.24e-06 1.24e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.163e-06 1.163e-06 1.163e-06 0.00% Amr::init() 1 1.137e-06 1.137e-06 1.137e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4199 0.4199 0.4199 100.00% Amr::coarseTimeStep() 5 0.3141 0.3141 0.3141 74.81% Amr::timeStep() 5 0.3119 0.3119 0.3119 74.27% Castro::advance() 5 0.3061 0.3061 0.3061 72.90% Castro::subcycle_advance_ctu() 5 0.2984 0.2984 0.2984 71.06% Castro::do_advance_ctu() 5 0.2983 0.2983 0.2983 71.03% Castro::construct_new_gravity() 5 0.1353 0.1353 0.1353 32.23% Gravity::solve_phi_with_mlmg() 6 0.1329 0.1329 0.1329 31.65% Gravity::solve_for_phi() 5 0.1273 0.1273 0.1273 30.32% Gravity::actual_solve_with_mlmg() 6 0.1272 0.1272 0.1272 30.28% Castro::construct_ctu_hydro_source() 5 0.1268 0.1268 0.1268 30.18% MLMG::solve() 6 0.1153 0.1153 0.1153 27.46% MLMG::oneIter() 36 0.1079 0.1079 0.1079 25.69% MLMG::mgVcycle() 36 0.1063 0.1063 0.1063 25.31% Amr::init() 1 0.07333 0.07333 0.07333 17.46% Amr::restart() 1 0.07333 0.07333 0.07333 17.46% AmrLevel::restart() 1 0.06197 0.06197 0.06197 14.76% StateData::restartDoit() 4 0.06188 0.06188 0.06188 14.74% VisMF::Read() 3 0.0616 0.0616 0.0616 14.67% MLCellLinOp::smooth() 720 0.0516 0.0516 0.0516 12.29% MLCellLinOp::applyBC() 1946 0.04864 0.04864 0.04864 11.58% MLMG::mgVcycle_bottom 36 0.03342 0.03342 0.03342 7.96% MLMG::actualBottomSolve() 36 0.0334 0.0334 0.0334 7.95% MLCGSolver::bicgstab 36 0.03308 0.03308 0.03308 7.88% Amr::writePlotFile() 1 0.03166 0.03166 0.03166 7.54% VisMF::Write(FabArray) 1 0.02907 0.02907 0.02907 6.92% Castro::clean_state() 30 0.02789 0.02789 0.02789 6.64% AmrLevel::FillPatch() 20 0.02302 0.02302 0.02302 5.48% FillPatchIterator::Initialize 20 0.02094 0.02094 0.02094 4.99% FillPatchIterator::FillFromLevel0() 20 0.0201 0.0201 0.0201 4.79% FillPatchSingleLevel 20 0.02008 0.02008 0.02008 4.78% StateDataPhysBCFunct::() 20 0.01804 0.01804 0.01804 4.30% MLCellLinOp::apply() 500 0.01653 0.01653 0.01653 3.94% MLMG::mgVcycle_down::0 36 0.01468 0.01468 0.01468 3.50% MLPoisson::Fsmooth() 1440 0.01442 0.01442 0.01442 3.43% FabArray::FillBoundary() 1766 0.01346 0.01346 0.01346 3.21% StateData::FillBoundary(geom) 160 0.01322 0.01322 0.01322 3.15% FillBoundary_nowait() 1766 0.01307 0.01307 0.01307 3.11% MLMG::mgVcycle_up::0 36 0.01095 0.01095 0.01095 2.61% Castro::initialize_do_advance() 5 0.01092 0.01092 0.01092 2.60% Castro::computeTemp() 30 0.01033 0.01033 0.01033 2.46% MLCellLinOp::correctionResidual() 216 0.00994 0.00994 0.00994 2.37% Castro::normalize_species() 30 0.009564 0.009564 0.009564 2.28% Castro::do_old_sources() 5 0.009305 0.009305 0.009305 2.22% MLPoisson::define() 6 0.009256 0.009256 0.009256 2.20% amrex::Dot() 484 0.009121 0.009121 0.009121 2.17% MLMG:computeResOfCorrection() 180 0.008741 0.008741 0.008741 2.08% Gravity::get_new_grav_vector() 5 0.007899 0.007899 0.007899 1.88% Castro::construct_old_gravity() 5 0.00782 0.00782 0.00782 1.86% Gravity::get_old_grav_vector() 5 0.007814 0.007814 0.007814 1.86% amrex::Copy() 463 0.00734 0.00734 0.00734 1.75% Castro::initialize_advance() 5 0.007312 0.007312 0.007312 1.74% MLMG::mgVcycle_down::1 36 0.007292 0.007292 0.007292 1.74% FabArray::norminf() 326 0.00675 0.00675 0.00675 1.61% FabArray::ParallelCopy() 380 0.006677 0.006677 0.006677 1.59% MLMG::mgVcycle_down::2 36 0.006643 0.006643 0.006643 1.58% FabArray::setVal() 537 0.00663 0.00663 0.00663 1.58% FabArray::ParallelCopy_nowait() 380 0.006561 0.006561 0.006561 1.56% MLMG::mgVcycle_down::3 36 0.006479 0.006479 0.006479 1.54% MLMG::mgVcycle_down::4 36 0.006379 0.006379 0.006379 1.52% Castro::do_new_sources() 5 0.00637 0.00637 0.00637 1.52% MLCellLinOp::defineAuxData() 6 0.006293 0.006293 0.006293 1.50% Castro::post_restart() 1 0.006261 0.006261 0.006261 1.49% Castro::enforce_min_density() 30 0.006069 0.006069 0.006069 1.45% Castro::expand_state() 5 0.006039 0.006039 0.006039 1.44% Gravity::multilevel_solve_for_new_phi() 1 0.005876 0.005876 0.005876 1.40% Gravity::actual_multilevel_solve() 1 0.005859 0.005859 0.005859 1.40% Castro::post_timestep() 5 0.005704 0.005704 0.005704 1.36% Gravity::fill_multipole_BCs() 6 0.005633 0.005633 0.005633 1.34% MLCGSolver::ParallelAllReduce 659 0.005519 0.005519 0.005519 1.31% MLMG::addInterpCorrection() 180 0.005416 0.005416 0.005416 1.29% MLMG::mgVcycle_up::4 36 0.005192 0.005192 0.005192 1.24% MLMG::mgVcycle_up::1 36 0.005159 0.005159 0.005159 1.23% amrex::average_down 180 0.005117 0.005117 0.005117 1.22% MLMG::mgVcycle_up::2 36 0.005055 0.005055 0.005055 1.20% MLMG::mgVcycle_up::3 36 0.00496 0.00496 0.00496 1.18% MLPoisson::Fapply() 500 0.004675 0.004675 0.004675 1.11% FabArray::Saxpy() 355 0.003829 0.003829 0.003829 0.91% FabArray::Xpay() 361 0.003685 0.003685 0.003685 0.88% MLCellLinOp::solutionResidual() 42 0.003509 0.003509 0.003509 0.84% Castro::estTimeStep() 10 0.00324 0.00324 0.00324 0.77% Castro::reset_internal_energy(MultiFab) 30 0.003006 0.003006 0.003006 0.72% MLCellLinOp::defineBC() 6 0.002826 0.002826 0.002826 0.67% MLMG::prepareForSolve() 6 0.002816 0.002816 0.002816 0.67% MLMG::computeResidual() 36 0.002741 0.002741 0.002741 0.65% BndryData::define() 6 0.002686 0.002686 0.002686 0.64% Castro::computeNewDt() 5 0.002047 0.002047 0.002047 0.49% FabArray::LinComb() 242 0.002041 0.002041 0.002041 0.49% amrex::Add() 72 0.00192 0.00192 0.00192 0.46% Castro::enforce_speed_limit() 30 0.001889 0.001889 0.001889 0.45% Castro::construct_new_source() 25 0.001808 0.001808 0.001808 0.43% Castro::construct_new_gravity_source() 5 0.00178 0.00178 0.00178 0.42% Castro::construct_old_source() 25 0.001468 0.001468 0.001468 0.35% Castro::construct_old_gravity_source() 5 0.001441 0.001441 0.001441 0.34% Castro::finalize_do_advance() 5 0.001267 0.001267 0.001267 0.30% check_for_negative_density() 5 0.001141 0.001141 0.001141 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000971 0.000971 0.000971 0.23% MLMG::ResNormInf() 42 0.0009619 0.0009619 0.0009619 0.23% Castro::apply_source_to_state() 10 0.0009572 0.0009572 0.0009572 0.23% MLMG::getGradSolution() 6 0.0008749 0.0008749 0.0008749 0.21% MLCellLinOp::compGrad() 6 0.0008719 0.0008719 0.0008719 0.21% MLCellLinOp::setLevelBC() 6 0.0008417 0.0008417 0.0008417 0.20% Castro::reset_internal_energy(Fab) 240 0.0008089 0.0008089 0.0008089 0.19% MLMG::computeMLResidual() 6 0.0007905 0.0007905 0.0007905 0.19% FabArrayBase::getCPC() 632 0.0007718 0.0007718 0.0007718 0.18% MLPoisson::prepareForSolve() 6 0.0007522 0.0007522 0.0007522 0.18% MLCellLinOp::prepareForSolve() 6 0.0007425 0.0007425 0.0007425 0.18% Gravity::update_max_rhs() 6 0.0007218 0.0007218 0.0007218 0.17% FabArray::setDomainBndry() 20 0.0007117 0.0007117 0.0007117 0.17% FabArray::mult() 22 0.0006927 0.0006927 0.0006927 0.16% Castro::check_for_nan() 10 0.00066 0.00066 0.00066 0.16% MultiFab::contains_nan() 10 0.000653 0.000653 0.000653 0.16% Amr::InitAmr() 1 0.0004388 0.0004388 0.0004388 0.10% FabArrayBase::CPC::define() 244 0.0004103 0.0004103 0.0004103 0.10% FabArrayBase::getFB() 1766 0.0003437 0.0003437 0.0003437 0.08% Castro::finalize_advance() 5 0.0002956 0.0002956 0.0002956 0.07% Gravity::swapTimeLevels() 5 0.0002291 0.0002291 0.0002291 0.05% MultiFab::max() 6 0.0002042 0.0002042 0.0002042 0.05% MLMG::MLResNormInf() 6 0.0001894 0.0001894 0.0001894 0.05% Castro::buildMetrics() 1 0.0001521 0.0001521 0.0001521 0.04% MLLinOp::define() 6 0.0001236 0.0001236 0.0001236 0.03% MLMG::MLRhsNormInf() 6 0.0001205 0.0001205 0.0001205 0.03% MLLinOp::defineGrids() 6 0.0001176 0.0001176 0.0001176 0.03% Castro::create_source_corrector() 5 8.328e-05 8.328e-05 8.328e-05 0.02% FabArrayBase::FB::FB() 26 5.907e-05 5.907e-05 5.907e-05 0.01% Amr::writeSmallPlotFile() 1 3.388e-05 3.388e-05 3.388e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.772e-05 2.772e-05 2.772e-05 0.01% Castro::initMFs() 1 2.488e-05 2.488e-05 2.488e-05 0.01% Castro::swap_state_time_levels() 5 2.39e-05 2.39e-05 2.39e-05 0.01% makeSFC 30 2.043e-05 2.043e-05 2.043e-05 0.00% DistributionMapping::Distribute() 31 8.936e-06 8.936e-06 8.936e-06 0.00% Amr::initSubcycle() 1 8.394e-06 8.394e-06 8.394e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.572e-06 4.572e-06 4.572e-06 0.00% Gravity::set_mass_offset() 6 2.234e-06 2.234e-06 2.234e-06 0.00% Castro::retry_advance_ctu() 5 2.092e-06 2.092e-06 2.092e-06 0.00% Castro::FluxRegCrseInit 5 1.501e-06 1.501e-06 1.501e-06 0.00% Castro::FluxRegFineAdd() 5 1.24e-06 1.24e-06 1.24e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.163e-06 1.163e-06 1.163e-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 211 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 132 MiB 692 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 45 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1087 KiB 39 MiB Castro::initialize_do_advance() 40 40 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2040 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 6358 KiB 14 MiB MLMG::prepareForSolve() 361 361 3370 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 192 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 192 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6344 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 22 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3418 B 2048 KiB Gravity::solve_for_phi() 40 40 619 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 28 KiB 2048 KiB BndryData::define() 576 576 310 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 199 KiB 671 KiB Castro::estTimeStep() 10 10 3700 B 480 KiB VisMF::Write(FabArray) 112 112 2338 B 320 KiB Castro::normalize_species() 30 30 7406 B 320 KiB amrex::average_down 469 469 1181 B 257 KiB MLMG::addInterpCorrection() 468 468 1088 B 257 KiB amrex::Dot() 592 592 3182 B 160 KiB FabArray::norminf() 398 398 2375 B 160 KiB check_for_negative_density() 5 5 375 B 160 KiB MultiFab::max() 6 6 76 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3269 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 263 B 9648 B MLCellLinOp::applyBC() 3892 3892 210 B 9344 B amrex::Copy() 56 56 5615 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 41 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 114 B 1472 B MLCellLinOp::defineBC() 36 36 349 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1275 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 88 KiB 8192 KiB VisMF::Write(FabArray) 120 120 190 KiB 3584 KiB VisMF::Read() 24 24 220 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3269 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 263 B 9648 B MLCellLinOp::applyBC() 1946 1946 209 B 9328 B amrex::Copy() 56 56 5615 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2487 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 41 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 505 B 1296 B amrex::average_down 37 37 210 B 1296 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() 398 398 16 B 272 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): 2528 [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 (23.11-10-g15a0bb9a8c1b) finalized