Initializing AMReX (24.02-15-g392d06817072)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-15-g392d06817072) initialized Starting run at 10:11:20 UTC on 2024-02-14. Successfully read inputs file ... Castro git describe: 24.02-19-g1bdc65076 AMReX git describe: 24.02-15-g392d06817 Microphysics git describe: 24.02-16-g53d26219 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.045846825 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025238547 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.067389649 [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.048648425 [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.071800647 [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.077994871 [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.067548313 [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.045567166 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.065817924 [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.072044033 [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.075504984 [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.061183416 [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.069868839 [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.043954116 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025199281 seconds Ending run at 10:11:21 UTC on 2024-02-14. Run time = 0.920115769 Run time without initialization = 0.793225663 Average number of zones advanced per microsecond: 3.305 Average number of zones advanced per microsecond per rank: 3.305 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9201 ... 0.9201 ... 0.9201 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2962 0.2962 0.2962 32.19% VisMF::Write(FabArray) 11 0.1773 0.1773 0.1773 19.27% MLCellLinOp::applyBC() 4351 0.0813 0.0813 0.0813 8.84% MLPoisson::Fsmooth() 3280 0.03389 0.03389 0.03389 3.68% FillBoundary_nowait() 3941 0.03233 0.03233 0.03233 3.51% StateData::FillBoundary(geom) 328 0.02772 0.02772 0.02772 3.01% amrex::Dot() 1114 0.0217 0.0217 0.0217 2.36% FabArray::norminf() 1061 0.02019 0.02019 0.02019 2.19% Castro::normalize_species() 62 0.01905 0.01905 0.01905 2.07% Castro::computeTemp() 63 0.01655 0.01655 0.01655 1.80% FabArray::ParallelCopy_nowait() 861 0.01378 0.01378 0.01378 1.50% FabArray::setVal() 1062 0.01343 0.01343 0.01343 1.46% FabArray::Saxpy() 1370 0.01323 0.01323 0.01323 1.44% Castro::enforce_min_density() 62 0.0127 0.0127 0.0127 1.38% amrex::Copy() 472 0.01092 0.01092 0.01092 1.19% MLPoisson::Fapply() 1060 0.01046 0.01046 0.01046 1.14% StateDataPhysBCFunct::() 41 0.01045 0.01045 0.01045 1.14% MLCellLinOp::defineAuxData() 11 0.01039 0.01039 0.01039 1.13% Gravity::fill_multipole_BCs() 11 0.009106 0.009106 0.009106 0.99% FabArray::Xpay() 739 0.007997 0.007997 0.007997 0.87% MLMG::addInterpCorrection() 410 0.007042 0.007042 0.007042 0.77% amrex::average_down 410 0.006269 0.006269 0.006269 0.68% Castro::estTimeStep() 21 0.006045 0.006045 0.006045 0.66% Amr::checkPoint() 3 0.005916 0.005916 0.005916 0.64% Castro::reset_internal_energy(MultiFab) 63 0.004901 0.004901 0.004901 0.53% BndryData::define() 11 0.004067 0.004067 0.004067 0.44% amrex::Add() 82 0.00365 0.00365 0.00365 0.40% Castro::construct_new_gravity_source() 10 0.003481 0.003481 0.003481 0.38% Castro::construct_old_gravity_source() 10 0.002974 0.002974 0.002974 0.32% Castro::enforce_speed_limit() 62 0.002688 0.002688 0.002688 0.29% Amr::writePlotFile() 2 0.002057 0.002057 0.002057 0.22% check_for_negative_density() 10 0.001913 0.001913 0.001913 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.0018 0.0018 0.0018 0.20% Castro::reset_internal_energy(Fab) 504 0.001674 0.001674 0.001674 0.18% MLCellLinOp::setLevelBC() 11 0.001613 0.001613 0.001613 0.18% Gravity::actual_solve_with_mlmg() 11 0.0016 0.0016 0.0016 0.17% MLCGSolver::bicgstab 82 0.001598 0.001598 0.001598 0.17% Castro::initData() 1 0.001547 0.001547 0.001547 0.17% FabArray::setDomainBndry() 41 0.001379 0.001379 0.001379 0.15% FabArray::mult() 43 0.001377 0.001377 0.001377 0.15% MLCellLinOp::prepareForSolve() 11 0.001361 0.001361 0.001361 0.15% MultiFab::contains_nan() 20 0.001295 0.001295 0.001295 0.14% MLCellLinOp::compGrad() 11 0.0011 0.0011 0.0011 0.12% MLCellLinOp::smooth() 1640 0.001069 0.001069 0.001069 0.12% MLMG::prepareForSolve() 11 0.0009798 0.0009798 0.0009798 0.11% FabArray::FillBoundary() 3941 0.0008674 0.0008674 0.0008674 0.09% FabArrayBase::getCPC() 1323 0.000808 0.000808 0.000808 0.09% FabArrayBase::CPC::define() 454 0.0006851 0.0006851 0.0006851 0.07% Gravity::get_new_grav_vector() 11 0.0006204 0.0006204 0.0006204 0.07% FabArrayBase::getFB() 3941 0.000619 0.000619 0.000619 0.07% Amr::InitAmr() 1 0.0005566 0.0005566 0.0005566 0.06% Gravity::get_old_grav_vector() 10 0.0004903 0.0004903 0.0004903 0.05% MLCellLinOp::apply() 1060 0.0004592 0.0004592 0.0004592 0.05% AmrLevel::FillPatch() 41 0.0004224 0.0004224 0.0004224 0.05% Amr::coarseTimeStep() 10 0.0004108 0.0004108 0.0004108 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003466 0.0003466 0.0003466 0.04% MultiFab::max() 11 0.0003363 0.0003363 0.0003363 0.04% main() 1 0.0003295 0.0003295 0.0003295 0.04% MLCellLinOp::defineBC() 11 0.0002797 0.0002797 0.0002797 0.03% FabArray::ParallelCopy() 861 0.0002575 0.0002575 0.0002575 0.03% FillPatchIterator::Initialize 41 0.000221 0.000221 0.000221 0.02% MLMG::mgVcycle() 82 0.0002015 0.0002015 0.0002015 0.02% Castro::create_source_corrector() 10 0.0001796 0.0001796 0.0001796 0.02% Castro::subcycle_advance_ctu() 10 0.0001775 0.0001775 0.0001775 0.02% MLCellLinOp::correctionResidual() 410 0.0001737 0.0001737 0.0001737 0.02% Amr::timeStep() 10 0.0001686 0.0001686 0.0001686 0.02% MLLinOp::defineGrids() 11 0.000166 0.000166 0.000166 0.02% Gravity::update_max_rhs() 11 0.0001401 0.0001401 0.0001401 0.02% StateData::checkPoint() 12 0.0001341 0.0001341 0.0001341 0.01% MLMG:computeResOfCorrection() 410 0.0001214 0.0001214 0.0001214 0.01% Gravity::solve_for_phi() 10 0.0001157 0.0001157 0.0001157 0.01% Castro::initialize_advance() 10 9.628e-05 9.628e-05 9.628e-05 0.01% FabArrayBase::FB::FB() 56 9.598e-05 9.598e-05 9.598e-05 0.01% MLMG::actualBottomSolve() 82 9.081e-05 9.081e-05 9.081e-05 0.01% Castro::advance() 10 9.069e-05 9.069e-05 9.069e-05 0.01% MLMG::mgVcycle_down::0 82 8.988e-05 8.988e-05 8.988e-05 0.01% Castro::Castro() 1 8.486e-05 8.486e-05 8.486e-05 0.01% MLMG::mgVcycle_down::2 82 8.042e-05 8.042e-05 8.042e-05 0.01% AmrLevel::checkPoint() 3 8.035e-05 8.035e-05 8.035e-05 0.01% MLMG::mgVcycle_down::1 82 7.835e-05 7.835e-05 7.835e-05 0.01% MLMG::mgVcycle_down::4 82 7.637e-05 7.637e-05 7.637e-05 0.01% Castro::clean_state() 62 7.585e-05 7.585e-05 7.585e-05 0.01% MLMG::solve() 11 7.432e-05 7.432e-05 7.432e-05 0.01% MLMG::mgVcycle_down::3 82 7.329e-05 7.329e-05 7.329e-05 0.01% Castro::finalize_advance() 10 6.877e-05 6.877e-05 6.877e-05 0.01% Castro::enforce_consistent_e() 1 6.684e-05 6.684e-05 6.684e-05 0.01% Castro::post_timestep() 10 6.634e-05 6.634e-05 6.634e-05 0.01% Castro::initialize_do_advance() 10 6.287e-05 6.287e-05 6.287e-05 0.01% MLMG::mgVcycle_up::4 82 6.176e-05 6.176e-05 6.176e-05 0.01% Castro::do_new_sources() 10 5.665e-05 5.665e-05 5.665e-05 0.01% MLMG::mgVcycle_up::0 82 5.189e-05 5.189e-05 5.189e-05 0.01% Castro::do_advance_ctu() 10 5.179e-05 5.179e-05 5.179e-05 0.01% MLMG::mgVcycle_up::3 82 5.038e-05 5.038e-05 5.038e-05 0.01% MLMG::oneIter() 82 5.019e-05 5.019e-05 5.019e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.935e-05 4.935e-05 4.935e-05 0.01% MLCellLinOp::solutionResidual() 93 4.929e-05 4.929e-05 4.929e-05 0.01% Castro::finalize_do_advance() 10 4.699e-05 4.699e-05 4.699e-05 0.01% MLMG::mgVcycle_up::1 82 4.69e-05 4.69e-05 4.69e-05 0.01% Castro::construct_new_source() 50 4.682e-05 4.682e-05 4.682e-05 0.01% MLMG::mgVcycle_up::2 82 4.622e-05 4.622e-05 4.622e-05 0.01% StateData::define() 4 3.86e-05 3.86e-05 3.86e-05 0.00% Castro::swap_state_time_levels() 10 3.847e-05 3.847e-05 3.847e-05 0.00% MLMG::ResNormInf() 93 3.473e-05 3.473e-05 3.473e-05 0.00% FillPatchSingleLevel 41 3.386e-05 3.386e-05 3.386e-05 0.00% MLMG::mgVcycle_bottom 82 3.342e-05 3.342e-05 3.342e-05 0.00% Amr::defBaseLevel() 1 3.286e-05 3.286e-05 3.286e-05 0.00% MLMG::computeResidual() 82 3.238e-05 3.238e-05 3.238e-05 0.00% Amr::writeSmallPlotFile() 1 3.15e-05 3.15e-05 3.15e-05 0.00% Castro::construct_new_gravity() 10 3.15e-05 3.15e-05 3.15e-05 0.00% Castro::initMFs() 1 3.107e-05 3.107e-05 3.107e-05 0.00% MLPoisson::define() 11 2.606e-05 2.606e-05 2.606e-05 0.00% makeSFC 55 2.543e-05 2.543e-05 2.543e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.451e-05 2.451e-05 2.451e-05 0.00% Castro::buildMetrics() 1 2.357e-05 2.357e-05 2.357e-05 0.00% Castro::do_old_sources() 10 2.221e-05 2.221e-05 2.221e-05 0.00% Amr::FinalizeInit() 1 2.091e-05 2.091e-05 2.091e-05 0.00% Castro::construct_old_source() 50 1.867e-05 1.867e-05 1.867e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.794e-05 1.794e-05 1.794e-05 0.00% DistributionMapping::Distribute() 56 1.614e-05 1.614e-05 1.614e-05 0.00% MLPoisson::prepareForSolve() 11 1.561e-05 1.561e-05 1.561e-05 0.00% MLLinOp::define() 11 1.524e-05 1.524e-05 1.524e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.294e-05 1.294e-05 1.294e-05 0.00% Castro::check_for_nan() 20 1.276e-05 1.276e-05 1.276e-05 0.00% Castro::apply_source_to_state() 20 1.232e-05 1.232e-05 1.232e-05 0.00% Castro::construct_old_gravity() 10 1.226e-05 1.226e-05 1.226e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.141e-05 1.141e-05 1.141e-05 0.00% Amr::initSubcycle() 1 1.086e-05 1.086e-05 1.086e-05 0.00% Castro::post_init() 1 1.017e-05 1.017e-05 1.017e-05 0.00% Gravity::swapTimeLevels() 10 9.289e-06 9.289e-06 9.289e-06 0.00% MLMG::computeMLResidual() 11 8.82e-06 8.82e-06 8.82e-06 0.00% Gravity::actual_multilevel_solve() 1 7.984e-06 7.984e-06 7.984e-06 0.00% Castro::computeNewDt() 9 6.614e-06 6.614e-06 6.614e-06 0.00% MLMG::getGradSolution() 11 6.18e-06 6.18e-06 6.18e-06 0.00% Castro::expand_state() 10 5.823e-06 5.823e-06 5.823e-06 0.00% Amr::InitializeInit() 1 4.639e-06 4.639e-06 4.639e-06 0.00% AmrLevel::checkPointPost() 3 4.55e-06 4.55e-06 4.55e-06 0.00% Castro::retry_advance_ctu() 10 4.407e-06 4.407e-06 4.407e-06 0.00% Gravity::set_mass_offset() 11 4.13e-06 4.13e-06 4.13e-06 0.00% MLMG::MLRhsNormInf() 11 3.983e-06 3.983e-06 3.983e-06 0.00% MLMG::MLResNormInf() 11 3.708e-06 3.708e-06 3.708e-06 0.00% Castro::FluxRegCrseInit 10 3.681e-06 3.681e-06 3.681e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.388e-06 3.388e-06 3.388e-06 0.00% Castro::computeInitialDt() 2 2.89e-06 2.89e-06 2.89e-06 0.00% Castro::FluxRegFineAdd() 10 2.589e-06 2.589e-06 2.589e-06 0.00% Amr::init() 1 2.557e-06 2.557e-06 2.557e-06 0.00% AmrLevel::checkPointPre() 3 2.245e-06 2.245e-06 2.245e-06 0.00% MLLinOp::makeSubCommunicator() 11 2e-06 2e-06 2e-06 0.00% Castro::post_regrid() 1 1.169e-06 1.169e-06 1.169e-06 0.00% Amr::initialInit() 1 1.101e-06 1.101e-06 1.101e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9201 0.9201 0.9201 100.00% Amr::coarseTimeStep() 10 0.7678 0.7678 0.7678 83.44% Amr::timeStep() 10 0.6743 0.6743 0.6743 73.29% Castro::advance() 10 0.6641 0.6641 0.6641 72.17% Castro::subcycle_advance_ctu() 10 0.6494 0.6494 0.6494 70.57% Castro::do_advance_ctu() 10 0.6492 0.6492 0.6492 70.55% Castro::construct_ctu_hydro_source() 10 0.3079 0.3079 0.3079 33.46% Gravity::solve_phi_with_mlmg() 11 0.2983 0.2983 0.2983 32.41% Gravity::actual_solve_with_mlmg() 11 0.2887 0.2887 0.2887 31.37% Castro::construct_new_gravity() 10 0.2692 0.2692 0.2692 29.26% MLMG::solve() 11 0.2664 0.2664 0.2664 28.95% Gravity::solve_for_phi() 10 0.2527 0.2527 0.2527 27.47% MLMG::oneIter() 82 0.2507 0.2507 0.2507 27.24% MLMG::mgVcycle() 82 0.247 0.247 0.247 26.84% VisMF::Write(FabArray) 11 0.1773 0.1773 0.1773 19.27% Amr::checkPoint() 3 0.1355 0.1355 0.1355 14.72% AmrLevel::checkPoint() 3 0.1296 0.1296 0.1296 14.08% StateData::checkPoint() 12 0.1295 0.1295 0.1295 14.07% Amr::init() 1 0.1262 0.1262 0.1262 13.71% MLCellLinOp::smooth() 1640 0.1238 0.1238 0.1238 13.45% MLCellLinOp::applyBC() 4351 0.1152 0.1152 0.1152 12.52% MLMG::mgVcycle_bottom 82 0.07364 0.07364 0.07364 8.00% MLMG::actualBottomSolve() 82 0.07361 0.07361 0.07361 8.00% MLCGSolver::bicgstab 82 0.07279 0.07279 0.07279 7.91% Castro::clean_state() 62 0.05666 0.05666 0.05666 6.16% Amr::initialInit() 1 0.05496 0.05496 0.05496 5.97% Amr::writePlotFile() 2 0.05055 0.05055 0.05055 5.49% Amr::FinalizeInit() 1 0.0499 0.0499 0.0499 5.42% Castro::post_init() 1 0.04834 0.04834 0.04834 5.25% AmrLevel::FillPatch() 41 0.04833 0.04833 0.04833 5.25% Gravity::multilevel_solve_for_new_phi() 1 0.04596 0.04596 0.04596 5.00% Gravity::actual_multilevel_solve() 1 0.04595 0.04595 0.04595 4.99% FillPatchIterator::Initialize 41 0.04399 0.04399 0.04399 4.78% FillPatchIterator::FillFromLevel0() 41 0.04239 0.04239 0.04239 4.61% FillPatchSingleLevel 41 0.04234 0.04234 0.04234 4.60% StateDataPhysBCFunct::() 41 0.03817 0.03817 0.03817 4.15% MLCellLinOp::apply() 1060 0.03681 0.03681 0.03681 4.00% MLMG::mgVcycle_down::0 82 0.03566 0.03566 0.03566 3.88% FabArray::FillBoundary() 3941 0.03392 0.03392 0.03392 3.69% MLPoisson::Fsmooth() 3280 0.03389 0.03389 0.03389 3.68% FillBoundary_nowait() 3941 0.03305 0.03305 0.03305 3.59% StateData::FillBoundary(geom) 328 0.02772 0.02772 0.02772 3.01% MLMG::mgVcycle_up::0 82 0.02712 0.02712 0.02712 2.95% Castro::computeTemp() 63 0.02313 0.02313 0.02313 2.51% amrex::Dot() 1114 0.0217 0.0217 0.0217 2.36% Castro::initialize_do_advance() 10 0.02132 0.02132 0.02132 2.32% MLMG:computeResOfCorrection() 410 0.02077 0.02077 0.02077 2.26% MLCellLinOp::correctionResidual() 410 0.02065 0.02065 0.02065 2.24% FabArray::norminf() 1061 0.02019 0.02019 0.02019 2.19% Castro::normalize_species() 62 0.01905 0.01905 0.01905 2.07% Castro::do_old_sources() 10 0.01898 0.01898 0.01898 2.06% Gravity::get_new_grav_vector() 11 0.01837 0.01837 0.01837 2.00% MLPoisson::define() 11 0.01748 0.01748 0.01748 1.90% MLMG::mgVcycle_down::1 82 0.0168 0.0168 0.0168 1.83% Castro::construct_old_gravity() 10 0.01569 0.01569 0.01569 1.70% Gravity::get_old_grav_vector() 10 0.01567 0.01567 0.01567 1.70% MLMG::mgVcycle_down::2 82 0.01559 0.01559 0.01559 1.69% MLMG::mgVcycle_down::3 82 0.01522 0.01522 0.01522 1.65% MLMG::mgVcycle_down::4 82 0.0151 0.0151 0.0151 1.64% FabArray::ParallelCopy() 861 0.01485 0.01485 0.01485 1.61% FabArray::ParallelCopy_nowait() 861 0.01459 0.01459 0.01459 1.59% Castro::initialize_advance() 10 0.014 0.014 0.014 1.52% FabArray::setVal() 1062 0.01343 0.01343 0.01343 1.46% FabArray::Saxpy() 1370 0.01323 0.01323 0.01323 1.44% MLCGSolver::ParallelAllReduce 1832 0.01307 0.01307 0.01307 1.42% Castro::do_new_sources() 10 0.01275 0.01275 0.01275 1.39% Castro::enforce_min_density() 62 0.0127 0.0127 0.0127 1.38% MLMG::addInterpCorrection() 410 0.01238 0.01238 0.01238 1.35% MLMG::mgVcycle_up::1 82 0.01212 0.01212 0.01212 1.32% MLMG::mgVcycle_up::4 82 0.01207 0.01207 0.01207 1.31% MLCellLinOp::defineAuxData() 11 0.01185 0.01185 0.01185 1.29% MLMG::mgVcycle_up::2 82 0.01184 0.01184 0.01184 1.29% amrex::average_down 410 0.01164 0.01164 0.01164 1.26% MLMG::mgVcycle_up::3 82 0.0116 0.0116 0.0116 1.26% Castro::expand_state() 10 0.01151 0.01151 0.01151 1.25% amrex::Copy() 472 0.01092 0.01092 0.01092 1.19% MLPoisson::Fapply() 1060 0.01046 0.01046 0.01046 1.14% Castro::post_timestep() 10 0.01008 0.01008 0.01008 1.10% Gravity::fill_multipole_BCs() 11 0.009343 0.009343 0.009343 1.02% FabArray::Xpay() 739 0.007997 0.007997 0.007997 0.87% MLCellLinOp::solutionResidual() 93 0.007856 0.007856 0.007856 0.85% Castro::reset_internal_energy(MultiFab) 63 0.006576 0.006576 0.006576 0.71% MLMG::computeResidual() 82 0.006509 0.006509 0.006509 0.71% Castro::estTimeStep() 21 0.006045 0.006045 0.006045 0.66% MLCellLinOp::defineBC() 11 0.005369 0.005369 0.005369 0.58% MLMG::prepareForSolve() 11 0.005252 0.005252 0.005252 0.57% BndryData::define() 11 0.005089 0.005089 0.005089 0.55% Amr::InitializeInit() 1 0.00506 0.00506 0.00506 0.55% Amr::defBaseLevel() 1 0.005055 0.005055 0.005055 0.55% Castro::initData() 1 0.004397 0.004397 0.004397 0.48% amrex::Add() 82 0.00365 0.00365 0.00365 0.40% Castro::construct_new_source() 50 0.003528 0.003528 0.003528 0.38% Castro::construct_new_gravity_source() 10 0.003481 0.003481 0.003481 0.38% Castro::construct_old_source() 50 0.002993 0.002993 0.002993 0.33% Castro::construct_old_gravity_source() 10 0.002974 0.002974 0.002974 0.32% Castro::enforce_speed_limit() 62 0.002688 0.002688 0.002688 0.29% Castro::computeNewDt() 9 0.002651 0.002651 0.002651 0.29% Castro::finalize_do_advance() 10 0.002372 0.002372 0.002372 0.26% MLMG::ResNormInf() 93 0.00226 0.00226 0.00226 0.25% check_for_negative_density() 10 0.001913 0.001913 0.001913 0.21% Castro::apply_source_to_state() 20 0.001867 0.001867 0.001867 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.0018 0.0018 0.0018 0.20% Castro::reset_internal_energy(Fab) 504 0.001674 0.001674 0.001674 0.18% MLCellLinOp::setLevelBC() 11 0.001613 0.001613 0.001613 0.18% MLMG::getGradSolution() 11 0.00161 0.00161 0.00161 0.17% MLCellLinOp::compGrad() 11 0.001604 0.001604 0.001604 0.17% FabArrayBase::getCPC() 1323 0.001493 0.001493 0.001493 0.16% MLMG::computeMLResidual() 11 0.001389 0.001389 0.001389 0.15% FabArray::setDomainBndry() 41 0.001379 0.001379 0.001379 0.15% FabArray::mult() 43 0.001377 0.001377 0.001377 0.15% MLPoisson::prepareForSolve() 11 0.001377 0.001377 0.001377 0.15% MLCellLinOp::prepareForSolve() 11 0.001361 0.001361 0.001361 0.15% Castro::check_for_nan() 20 0.001308 0.001308 0.001308 0.14% MultiFab::contains_nan() 20 0.001295 0.001295 0.001295 0.14% Castro::post_regrid() 1 0.001254 0.001254 0.001254 0.14% Castro::computeInitialDt() 2 0.001078 0.001078 0.001078 0.12% Gravity::update_max_rhs() 11 0.001022 0.001022 0.001022 0.11% FabArrayBase::getFB() 3941 0.0007149 0.0007149 0.0007149 0.08% FabArrayBase::CPC::define() 454 0.0006851 0.0006851 0.0006851 0.07% Castro::finalize_advance() 10 0.0006098 0.0006098 0.0006098 0.07% Castro::Castro() 1 0.0005711 0.0005711 0.0005711 0.06% Amr::InitAmr() 1 0.0005675 0.0005675 0.0005675 0.06% Gravity::swapTimeLevels() 10 0.0004528 0.0004528 0.0004528 0.05% MLMG::MLResNormInf() 11 0.0003472 0.0003472 0.0003472 0.04% MultiFab::max() 11 0.0003363 0.0003363 0.0003363 0.04% Castro::buildMetrics() 1 0.0002836 0.0002836 0.0002836 0.03% MLLinOp::define() 11 0.0002367 0.0002367 0.0002367 0.03% MLMG::MLRhsNormInf() 11 0.0002348 0.0002348 0.0002348 0.03% MLLinOp::defineGrids() 11 0.0002214 0.0002214 0.0002214 0.02% Castro::create_source_corrector() 10 0.0001796 0.0001796 0.0001796 0.02% FabArrayBase::FB::FB() 56 9.598e-05 9.598e-05 9.598e-05 0.01% Castro::enforce_consistent_e() 1 6.684e-05 6.684e-05 6.684e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.343e-05 5.343e-05 5.343e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.002e-05 5.002e-05 5.002e-05 0.01% makeSFC 55 4.049e-05 4.049e-05 4.049e-05 0.00% StateData::define() 4 3.86e-05 3.86e-05 3.86e-05 0.00% Castro::swap_state_time_levels() 10 3.847e-05 3.847e-05 3.847e-05 0.00% Amr::writeSmallPlotFile() 1 3.15e-05 3.15e-05 3.15e-05 0.00% Castro::initMFs() 1 3.107e-05 3.107e-05 3.107e-05 0.00% DistributionMapping::Distribute() 56 1.614e-05 1.614e-05 1.614e-05 0.00% Amr::initSubcycle() 1 1.086e-05 1.086e-05 1.086e-05 0.00% AmrLevel::checkPointPost() 3 4.55e-06 4.55e-06 4.55e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.469e-06 4.469e-06 4.469e-06 0.00% Castro::retry_advance_ctu() 10 4.407e-06 4.407e-06 4.407e-06 0.00% Gravity::set_mass_offset() 11 4.13e-06 4.13e-06 4.13e-06 0.00% Castro::FluxRegCrseInit 10 3.681e-06 3.681e-06 3.681e-06 0.00% Castro::FluxRegFineAdd() 10 2.589e-06 2.589e-06 2.589e-06 0.00% AmrLevel::checkPointPre() 3 2.245e-06 2.245e-06 2.245e-06 0.00% MLLinOp::makeSubCommunicator() 11 2e-06 2e-06 2e-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 89 MiB 9042 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1005 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1535 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7618 KiB 14 MiB MLMG::prepareForSolve() 660 660 3560 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 207 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 174 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7516 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 16 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2137 B 2048 KiB Gravity::solve_for_phi() 80 80 561 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 102 KiB 2048 KiB BndryData::define() 1056 1056 325 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 207 KiB 671 KiB Castro::estTimeStep() 21 21 3202 B 480 KiB VisMF::Write(FabArray) 656 656 3356 B 320 KiB Castro::normalize_species() 62 62 6741 B 320 KiB amrex::average_down 1067 1067 1252 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1157 B 257 KiB amrex::Dot() 1360 1360 3474 B 160 KiB FabArray::norminf() 1143 1143 3390 B 160 KiB check_for_negative_density() 10 10 326 B 160 KiB Castro::initData() 1 1 51 B 160 KiB MultiFab::max() 11 11 56 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3475 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 309 B 9648 B MLCellLinOp::applyBC() 8702 8702 221 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3932 B 6144 B StateData::FillBoundary(geom) 1992 1992 37 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 367 B 1248 B MLCGSolver::bicgstab 410 410 95 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 574 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 40 KiB 8192 KiB VisMF::Write(FabArray) 744 744 420 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3475 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 309 B 9648 B MLCellLinOp::applyBC() 4351 4351 220 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3932 B 6144 B Gravity::get_new_grav_vector() 3 3 2890 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 37 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 296 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 1143 1143 9 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2167 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.02-15-g392d06817072) finalized Initializing AMReX (24.02-15-g392d06817072)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-15-g392d06817072) initialized Starting run at 10:11:22 UTC on 2024-02-14. Successfully read inputs file ... Castro git describe: 24.02-19-g1bdc65076 AMReX git describe: 24.02-15-g392d06817 Microphysics git describe: 24.02-16-g53d26219 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.505853553 Restart time = 0.134430615 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.06907931 [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.049416129 [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.074458388 [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.079608972 [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.072187124 [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.028894915 seconds Ending run at 10:11:23 UTC on 2024-02-14. Run time = 0.509320309 Run time without initialization = 0.37420818 Average number of zones advanced per microsecond: 3.503 Average number of zones advanced per microsecond per rank: 3.503 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.5093 ... 0.5093 ... 0.5093 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1489 0.1489 0.1489 29.23% Amr::restart() 1 0.06562 0.06562 0.06562 12.88% VisMF::Read() 3 0.0619 0.0619 0.0619 12.15% MLCellLinOp::applyBC() 1910 0.03558 0.03558 0.03558 6.99% VisMF::Write(FabArray) 1 0.02626 0.02626 0.02626 5.16% MLPoisson::Fsmooth() 1440 0.01494 0.01494 0.01494 2.93% FillBoundary_nowait() 1730 0.01375 0.01375 0.01375 2.70% StateData::FillBoundary(geom) 160 0.01351 0.01351 0.01351 2.65% Castro::normalize_species() 30 0.009907 0.009907 0.009907 1.95% amrex::Dot() 484 0.009292 0.009292 0.009292 1.82% FabArray::norminf() 465 0.008751 0.008751 0.008751 1.72% Castro::computeTemp() 30 0.007925 0.007925 0.007925 1.56% FabArray::setVal() 501 0.006595 0.006595 0.006595 1.29% StateDataPhysBCFunct::() 20 0.006301 0.006301 0.006301 1.24% Castro::enforce_min_density() 30 0.006263 0.006263 0.006263 1.23% FabArray::ParallelCopy_nowait() 380 0.006218 0.006218 0.006218 1.22% FabArray::Saxpy() 597 0.005898 0.005898 0.005898 1.16% MLCellLinOp::defineAuxData() 6 0.005728 0.005728 0.005728 1.12% Gravity::fill_multipole_BCs() 6 0.005552 0.005552 0.005552 1.09% amrex::Copy() 221 0.005461 0.005461 0.005461 1.07% MLPoisson::Fapply() 464 0.004586 0.004586 0.004586 0.90% FabArray::Xpay() 325 0.003517 0.003517 0.003517 0.69% Castro::estTimeStep() 10 0.003181 0.003181 0.003181 0.62% MLMG::addInterpCorrection() 180 0.003125 0.003125 0.003125 0.61% amrex::average_down 180 0.00274 0.00274 0.00274 0.54% Amr::writePlotFile() 1 0.00253 0.00253 0.00253 0.50% BndryData::define() 6 0.002198 0.002198 0.002198 0.43% Castro::construct_new_gravity_source() 5 0.001812 0.001812 0.001812 0.36% amrex::Add() 36 0.001585 0.001585 0.001585 0.31% Castro::reset_internal_energy(MultiFab) 30 0.001486 0.001486 0.001486 0.29% Castro::construct_old_gravity_source() 5 0.001442 0.001442 0.001442 0.28% check_for_negative_density() 5 0.001026 0.001026 0.001026 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009882 0.0009882 0.0009882 0.19% MLCellLinOp::setLevelBC() 6 0.000888 0.000888 0.000888 0.17% Gravity::actual_solve_with_mlmg() 6 0.0008689 0.0008689 0.0008689 0.17% Castro::reset_internal_energy(Fab) 240 0.0008589 0.0008589 0.0008589 0.17% MLCellLinOp::prepareForSolve() 6 0.0007623 0.0007623 0.0007623 0.15% FabArray::setDomainBndry() 20 0.0007099 0.0007099 0.0007099 0.14% FabArray::mult() 22 0.0006963 0.0006963 0.0006963 0.14% MLCGSolver::bicgstab 36 0.0006844 0.0006844 0.0006844 0.13% MultiFab::contains_nan() 10 0.0006711 0.0006711 0.0006711 0.13% MLCellLinOp::compGrad() 6 0.0006123 0.0006123 0.0006123 0.12% MLMG::prepareForSolve() 6 0.0005626 0.0005626 0.0005626 0.11% Amr::InitAmr() 1 0.0005074 0.0005074 0.0005074 0.10% MLCellLinOp::smooth() 720 0.0004812 0.0004812 0.0004812 0.09% Castro::enforce_speed_limit() 30 0.0004585 0.0004585 0.0004585 0.09% FabArrayBase::CPC::define() 244 0.0004197 0.0004197 0.0004197 0.08% FabArrayBase::getCPC() 632 0.0003905 0.0003905 0.0003905 0.08% FabArray::FillBoundary() 1730 0.0003742 0.0003742 0.0003742 0.07% Gravity::get_old_grav_vector() 5 0.0003489 0.0003489 0.0003489 0.07% Gravity::get_new_grav_vector() 5 0.000292 0.000292 0.000292 0.06% main() 1 0.0002796 0.0002796 0.0002796 0.05% FabArrayBase::getFB() 1730 0.0002715 0.0002715 0.0002715 0.05% Amr::coarseTimeStep() 5 0.0002357 0.0002357 0.0002357 0.05% MultiFab::max() 6 0.0002098 0.0002098 0.0002098 0.04% AmrLevel::FillPatch() 20 0.0002069 0.0002069 0.0002069 0.04% MLCellLinOp::apply() 464 0.0001869 0.0001869 0.0001869 0.04% MLCellLinOp::defineBC() 6 0.0001478 0.0001478 0.0001478 0.03% MLCGSolver::ParallelAllReduce 798 0.0001477 0.0001477 0.0001477 0.03% FabArray::ParallelCopy() 380 0.0001147 0.0001147 0.0001147 0.02% MLLinOp::defineGrids() 6 0.0001084 0.0001084 0.0001084 0.02% FillPatchIterator::Initialize 20 0.0001069 0.0001069 0.0001069 0.02% Castro::create_source_corrector() 5 0.000104 0.000104 0.000104 0.02% Amr::timeStep() 5 9.34e-05 9.34e-05 9.34e-05 0.02% Castro::subcycle_advance_ctu() 5 9.238e-05 9.238e-05 9.238e-05 0.02% MLMG::mgVcycle() 36 9.17e-05 9.17e-05 9.17e-05 0.02% Castro::finalize_do_advance() 5 8.875e-05 8.875e-05 8.875e-05 0.02% AmrLevel::restart() 1 7.495e-05 7.495e-05 7.495e-05 0.01% MLCellLinOp::correctionResidual() 180 7.269e-05 7.269e-05 7.269e-05 0.01% Gravity::solve_for_phi() 5 6.763e-05 6.763e-05 6.763e-05 0.01% StateData::restartDoit() 4 6.716e-05 6.716e-05 6.716e-05 0.01% Gravity::update_max_rhs() 6 6.692e-05 6.692e-05 6.692e-05 0.01% FabArrayBase::FB::FB() 26 6.547e-05 6.547e-05 6.547e-05 0.01% Castro::advance() 5 5.558e-05 5.558e-05 5.558e-05 0.01% MLMG:computeResOfCorrection() 180 5.473e-05 5.473e-05 5.473e-05 0.01% Castro::do_new_sources() 5 5.299e-05 5.299e-05 5.299e-05 0.01% Castro::construct_new_source() 25 5.168e-05 5.168e-05 5.168e-05 0.01% Castro::do_advance_ctu() 5 4.53e-05 4.53e-05 4.53e-05 0.01% MLMG::actualBottomSolve() 36 3.997e-05 3.997e-05 3.997e-05 0.01% MLMG::mgVcycle_down::0 36 3.97e-05 3.97e-05 3.97e-05 0.01% MLMG::mgVcycle_down::2 36 3.728e-05 3.728e-05 3.728e-05 0.01% Castro::initialize_advance() 5 3.685e-05 3.685e-05 3.685e-05 0.01% Castro::finalize_advance() 5 3.679e-05 3.679e-05 3.679e-05 0.01% Castro::clean_state() 30 3.649e-05 3.649e-05 3.649e-05 0.01% MLMG::mgVcycle_down::1 36 3.615e-05 3.615e-05 3.615e-05 0.01% MLMG::solve() 6 3.473e-05 3.473e-05 3.473e-05 0.01% MLMG::mgVcycle_down::4 36 3.264e-05 3.264e-05 3.264e-05 0.01% MLMG::mgVcycle_down::3 36 3.205e-05 3.205e-05 3.205e-05 0.01% Castro::post_restart() 1 3.122e-05 3.122e-05 3.122e-05 0.01% Amr::writeSmallPlotFile() 1 3.071e-05 3.071e-05 3.071e-05 0.01% Castro::initialize_do_advance() 5 3.064e-05 3.064e-05 3.064e-05 0.01% MLMG::mgVcycle_up::4 36 2.822e-05 2.822e-05 2.822e-05 0.01% Castro::buildMetrics() 1 2.743e-05 2.743e-05 2.743e-05 0.01% Castro::post_timestep() 5 2.741e-05 2.741e-05 2.741e-05 0.01% Castro::construct_old_source() 25 2.581e-05 2.581e-05 2.581e-05 0.01% Castro::initMFs() 1 2.545e-05 2.545e-05 2.545e-05 0.00% Castro::swap_state_time_levels() 5 2.522e-05 2.522e-05 2.522e-05 0.00% MLMG::mgVcycle_up::0 36 2.305e-05 2.305e-05 2.305e-05 0.00% MLCellLinOp::solutionResidual() 42 2.271e-05 2.271e-05 2.271e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.231e-05 2.231e-05 2.231e-05 0.00% MLMG::oneIter() 36 2.227e-05 2.227e-05 2.227e-05 0.00% MLMG::mgVcycle_up::3 36 2.21e-05 2.21e-05 2.21e-05 0.00% MLMG::mgVcycle_up::2 36 2.09e-05 2.09e-05 2.09e-05 0.00% MLMG::mgVcycle_up::1 36 2.001e-05 2.001e-05 2.001e-05 0.00% Castro::construct_new_gravity() 5 1.949e-05 1.949e-05 1.949e-05 0.00% MLPoisson::define() 6 1.89e-05 1.89e-05 1.89e-05 0.00% MLMG::ResNormInf() 42 1.861e-05 1.861e-05 1.861e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.676e-05 1.676e-05 1.676e-05 0.00% FillPatchSingleLevel 20 1.517e-05 1.517e-05 1.517e-05 0.00% MLMG::computeResidual() 36 1.506e-05 1.506e-05 1.506e-05 0.00% MLMG::mgVcycle_bottom 36 1.479e-05 1.479e-05 1.479e-05 0.00% makeSFC 30 1.454e-05 1.454e-05 1.454e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.448e-05 1.448e-05 1.448e-05 0.00% Amr::initSubcycle() 1 1.205e-05 1.205e-05 1.205e-05 0.00% MLPoisson::prepareForSolve() 6 1.197e-05 1.197e-05 1.197e-05 0.00% Castro::do_old_sources() 5 1.182e-05 1.182e-05 1.182e-05 0.00% DistributionMapping::Distribute() 31 9.555e-06 9.555e-06 9.555e-06 0.00% Gravity::actual_multilevel_solve() 1 7.958e-06 7.958e-06 7.958e-06 0.00% MLLinOp::define() 6 7.714e-06 7.714e-06 7.714e-06 0.00% Castro::check_for_nan() 10 7.517e-06 7.517e-06 7.517e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.068e-06 7.068e-06 7.068e-06 0.00% Castro::construct_old_gravity() 5 6.771e-06 6.771e-06 6.771e-06 0.00% Castro::apply_source_to_state() 10 5.981e-06 5.981e-06 5.981e-06 0.00% MLMG::computeMLResidual() 6 4.627e-06 4.627e-06 4.627e-06 0.00% Gravity::swapTimeLevels() 5 4.208e-06 4.208e-06 4.208e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.991e-06 3.991e-06 3.991e-06 0.00% MLMG::getGradSolution() 6 3.25e-06 3.25e-06 3.25e-06 0.00% Castro::computeNewDt() 5 3.205e-06 3.205e-06 3.205e-06 0.00% Castro::expand_state() 5 2.952e-06 2.952e-06 2.952e-06 0.00% Gravity::set_mass_offset() 6 2.735e-06 2.735e-06 2.735e-06 0.00% MLMG::MLResNormInf() 6 2.555e-06 2.555e-06 2.555e-06 0.00% MLMG::MLRhsNormInf() 6 2.269e-06 2.269e-06 2.269e-06 0.00% Castro::retry_advance_ctu() 5 2.208e-06 2.208e-06 2.208e-06 0.00% Castro::FluxRegCrseInit 5 1.557e-06 1.557e-06 1.557e-06 0.00% Amr::init() 1 1.373e-06 1.373e-06 1.373e-06 0.00% Castro::FluxRegFineAdd() 5 1.342e-06 1.342e-06 1.342e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.162e-06 1.162e-06 1.162e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.5093 0.5093 0.5093 100.00% Amr::coarseTimeStep() 5 0.345 0.345 0.345 67.73% Amr::timeStep() 5 0.3427 0.3427 0.3427 67.29% Castro::advance() 5 0.3373 0.3373 0.3373 66.21% Castro::subcycle_advance_ctu() 5 0.3299 0.3299 0.3299 64.76% Castro::do_advance_ctu() 5 0.3298 0.3298 0.3298 64.74% Castro::construct_ctu_hydro_source() 5 0.1544 0.1544 0.1544 30.31% Castro::construct_new_gravity() 5 0.1377 0.1377 0.1377 27.04% Gravity::solve_phi_with_mlmg() 6 0.1347 0.1347 0.1347 26.44% Amr::init() 1 0.1345 0.1345 0.1345 26.40% Amr::restart() 1 0.1345 0.1345 0.1345 26.40% Gravity::solve_for_phi() 5 0.1289 0.1289 0.1289 25.31% Gravity::actual_solve_with_mlmg() 6 0.1289 0.1289 0.1289 25.30% MLMG::solve() 6 0.1166 0.1166 0.1166 22.88% MLMG::oneIter() 36 0.1088 0.1088 0.1088 21.35% MLMG::mgVcycle() 36 0.1072 0.1072 0.1072 21.04% AmrLevel::restart() 1 0.06228 0.06228 0.06228 12.23% StateData::restartDoit() 4 0.0622 0.0622 0.0622 12.21% VisMF::Read() 3 0.0619 0.0619 0.0619 12.15% MLCellLinOp::smooth() 720 0.05384 0.05384 0.05384 10.57% MLCellLinOp::applyBC() 1910 0.05004 0.05004 0.05004 9.83% MLMG::mgVcycle_bottom 36 0.03172 0.03172 0.03172 6.23% MLMG::actualBottomSolve() 36 0.0317 0.0317 0.0317 6.22% MLCGSolver::bicgstab 36 0.03133 0.03133 0.03133 6.15% Amr::writePlotFile() 1 0.02905 0.02905 0.02905 5.70% Castro::clean_state() 30 0.02694 0.02694 0.02694 5.29% VisMF::Write(FabArray) 1 0.02626 0.02626 0.02626 5.16% AmrLevel::FillPatch() 20 0.02486 0.02486 0.02486 4.88% FillPatchIterator::Initialize 20 0.02275 0.02275 0.02275 4.47% FillPatchIterator::FillFromLevel0() 20 0.02193 0.02193 0.02193 4.31% FillPatchSingleLevel 20 0.02191 0.02191 0.02191 4.30% StateDataPhysBCFunct::() 20 0.01981 0.01981 0.01981 3.89% MLCellLinOp::apply() 464 0.01612 0.01612 0.01612 3.17% MLMG::mgVcycle_down::0 36 0.01539 0.01539 0.01539 3.02% MLPoisson::Fsmooth() 1440 0.01494 0.01494 0.01494 2.93% FabArray::FillBoundary() 1730 0.01446 0.01446 0.01446 2.84% FillBoundary_nowait() 1730 0.01409 0.01409 0.01409 2.77% StateData::FillBoundary(geom) 160 0.01351 0.01351 0.01351 2.65% MLMG::mgVcycle_up::0 36 0.0117 0.0117 0.0117 2.30% Castro::initialize_do_advance() 5 0.01139 0.01139 0.01139 2.24% Castro::computeTemp() 30 0.01027 0.01027 0.01027 2.02% Castro::normalize_species() 30 0.009907 0.009907 0.009907 1.95% MLPoisson::define() 6 0.009634 0.009634 0.009634 1.89% amrex::Dot() 484 0.009292 0.009292 0.009292 1.82% MLMG:computeResOfCorrection() 180 0.00901 0.00901 0.00901 1.77% MLCellLinOp::correctionResidual() 180 0.008955 0.008955 0.008955 1.76% Castro::do_old_sources() 5 0.0089 0.0089 0.0089 1.75% FabArray::norminf() 465 0.008751 0.008751 0.008751 1.72% Gravity::get_new_grav_vector() 5 0.00871 0.00871 0.00871 1.71% Castro::construct_old_gravity() 5 0.00863 0.00863 0.00863 1.69% Gravity::get_old_grav_vector() 5 0.008623 0.008623 0.008623 1.69% MLMG::mgVcycle_down::1 36 0.007641 0.007641 0.007641 1.50% Castro::initialize_advance() 5 0.007029 0.007029 0.007029 1.38% Castro::do_new_sources() 5 0.006934 0.006934 0.006934 1.36% MLMG::mgVcycle_down::2 36 0.006754 0.006754 0.006754 1.33% FabArray::ParallelCopy() 380 0.006737 0.006737 0.006737 1.32% FabArray::ParallelCopy_nowait() 380 0.006622 0.006622 0.006622 1.30% FabArray::setVal() 501 0.006595 0.006595 0.006595 1.29% MLMG::mgVcycle_down::3 36 0.006591 0.006591 0.006591 1.29% MLMG::mgVcycle_down::4 36 0.006566 0.006566 0.006566 1.29% MLCellLinOp::defineAuxData() 6 0.006537 0.006537 0.006537 1.28% Castro::post_restart() 1 0.00639 0.00639 0.00639 1.25% Castro::enforce_min_density() 30 0.006263 0.006263 0.006263 1.23% Castro::expand_state() 5 0.006045 0.006045 0.006045 1.19% Gravity::multilevel_solve_for_new_phi() 1 0.006002 0.006002 0.006002 1.18% Gravity::actual_multilevel_solve() 1 0.005985 0.005985 0.005985 1.18% FabArray::Saxpy() 597 0.005898 0.005898 0.005898 1.16% Gravity::fill_multipole_BCs() 6 0.00568 0.00568 0.00568 1.12% MLCGSolver::ParallelAllReduce 798 0.005641 0.005641 0.005641 1.11% amrex::Copy() 221 0.005461 0.005461 0.005461 1.07% MLMG::addInterpCorrection() 180 0.005439 0.005439 0.005439 1.07% Castro::post_timestep() 5 0.005403 0.005403 0.005403 1.06% MLMG::mgVcycle_up::1 36 0.005263 0.005263 0.005263 1.03% MLMG::mgVcycle_up::4 36 0.005261 0.005261 0.005261 1.03% MLMG::mgVcycle_up::2 36 0.005137 0.005137 0.005137 1.01% amrex::average_down 180 0.005083 0.005083 0.005083 1.00% MLMG::mgVcycle_up::3 36 0.005048 0.005048 0.005048 0.99% MLPoisson::Fapply() 464 0.004586 0.004586 0.004586 0.90% MLCellLinOp::solutionResidual() 42 0.003672 0.003672 0.003672 0.72% FabArray::Xpay() 325 0.003517 0.003517 0.003517 0.69% Castro::estTimeStep() 10 0.003181 0.003181 0.003181 0.62% MLCellLinOp::defineBC() 6 0.002931 0.002931 0.002931 0.58% MLMG::prepareForSolve() 6 0.002915 0.002915 0.002915 0.57% MLMG::computeResidual() 36 0.002838 0.002838 0.002838 0.56% BndryData::define() 6 0.002783 0.002783 0.002783 0.55% Castro::reset_internal_energy(MultiFab) 30 0.002345 0.002345 0.002345 0.46% Castro::computeNewDt() 5 0.001992 0.001992 0.001992 0.39% Castro::construct_new_source() 25 0.001863 0.001863 0.001863 0.37% Castro::construct_new_gravity_source() 5 0.001812 0.001812 0.001812 0.36% amrex::Add() 36 0.001585 0.001585 0.001585 0.31% Castro::construct_old_source() 25 0.001468 0.001468 0.001468 0.29% Castro::construct_old_gravity_source() 5 0.001442 0.001442 0.001442 0.28% Castro::finalize_do_advance() 5 0.001281 0.001281 0.001281 0.25% MLMG::ResNormInf() 42 0.001029 0.001029 0.001029 0.20% check_for_negative_density() 5 0.001026 0.001026 0.001026 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009882 0.0009882 0.0009882 0.19% Castro::apply_source_to_state() 10 0.0009711 0.0009711 0.0009711 0.19% MLMG::getGradSolution() 6 0.0008965 0.0008965 0.0008965 0.18% MLCellLinOp::compGrad() 6 0.0008933 0.0008933 0.0008933 0.18% MLCellLinOp::setLevelBC() 6 0.000888 0.000888 0.000888 0.17% Castro::reset_internal_energy(Fab) 240 0.0008589 0.0008589 0.0008589 0.17% MLMG::computeMLResidual() 6 0.0008538 0.0008538 0.0008538 0.17% FabArrayBase::getCPC() 632 0.0008102 0.0008102 0.0008102 0.16% MLPoisson::prepareForSolve() 6 0.0007743 0.0007743 0.0007743 0.15% MLCellLinOp::prepareForSolve() 6 0.0007623 0.0007623 0.0007623 0.15% Gravity::update_max_rhs() 6 0.000734 0.000734 0.000734 0.14% FabArray::setDomainBndry() 20 0.0007099 0.0007099 0.0007099 0.14% FabArray::mult() 22 0.0006963 0.0006963 0.0006963 0.14% Castro::check_for_nan() 10 0.0006787 0.0006787 0.0006787 0.13% MultiFab::contains_nan() 10 0.0006711 0.0006711 0.0006711 0.13% Amr::InitAmr() 1 0.0005194 0.0005194 0.0005194 0.10% Castro::enforce_speed_limit() 30 0.0004585 0.0004585 0.0004585 0.09% FabArrayBase::CPC::define() 244 0.0004197 0.0004197 0.0004197 0.08% FabArrayBase::getFB() 1730 0.000337 0.000337 0.000337 0.07% Castro::finalize_advance() 5 0.0003052 0.0003052 0.0003052 0.06% Gravity::swapTimeLevels() 5 0.0002357 0.0002357 0.0002357 0.05% MultiFab::max() 6 0.0002098 0.0002098 0.0002098 0.04% MLMG::MLResNormInf() 6 0.0001993 0.0001993 0.0001993 0.04% Castro::buildMetrics() 1 0.0001563 0.0001563 0.0001563 0.03% MLLinOp::define() 6 0.000147 0.000147 0.000147 0.03% MLLinOp::defineGrids() 6 0.0001393 0.0001393 0.0001393 0.03% MLMG::MLRhsNormInf() 6 0.0001254 0.0001254 0.0001254 0.02% Castro::create_source_corrector() 5 0.000104 0.000104 0.000104 0.02% FabArrayBase::FB::FB() 26 6.547e-05 6.547e-05 6.547e-05 0.01% Amr::writeSmallPlotFile() 1 3.071e-05 3.071e-05 3.071e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.981e-05 2.981e-05 2.981e-05 0.01% Castro::initMFs() 1 2.545e-05 2.545e-05 2.545e-05 0.00% Castro::swap_state_time_levels() 5 2.522e-05 2.522e-05 2.522e-05 0.00% makeSFC 30 2.275e-05 2.275e-05 2.275e-05 0.00% Amr::initSubcycle() 1 1.205e-05 1.205e-05 1.205e-05 0.00% DistributionMapping::Distribute() 31 9.555e-06 9.555e-06 9.555e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.336e-06 5.336e-06 5.336e-06 0.00% Gravity::set_mass_offset() 6 2.735e-06 2.735e-06 2.735e-06 0.00% Castro::retry_advance_ctu() 5 2.208e-06 2.208e-06 2.208e-06 0.00% Castro::FluxRegCrseInit 5 1.557e-06 1.557e-06 1.557e-06 0.00% Castro::FluxRegFineAdd() 5 1.342e-06 1.342e-06 1.342e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.162e-06 1.162e-06 1.162e-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 156 MiB 9042 MiB Castro::initMFs() 48 48 50 MiB 68 MiB Castro::swap_state_time_levels() 32 32 40 MiB 55 MiB StateData::restartDoit() 32 32 46 MiB 55 MiB FillPatchIterator::Initialize 160 160 941 KiB 39 MiB Castro::initialize_do_advance() 40 40 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1521 KiB 28 MiB Castro::initialize_advance() 40 40 15 MiB 23 MiB Castro::buildMetrics() 32 32 11 MiB 15 MiB Castro::post_restart() 48 48 5665 KiB 14 MiB MLMG::prepareForSolve() 361 361 2809 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 175 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 175 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 5653 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 18 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2861 B 2048 KiB Gravity::solve_for_phi() 40 40 517 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 24 KiB 2048 KiB BndryData::define() 576 576 259 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 166 KiB 671 KiB Castro::estTimeStep() 10 10 2974 B 480 KiB VisMF::Write(FabArray) 112 112 2002 B 320 KiB Castro::normalize_species() 30 30 6324 B 320 KiB amrex::average_down 469 469 971 B 257 KiB MLMG::addInterpCorrection() 468 468 921 B 257 KiB amrex::Dot() 592 592 2691 B 160 KiB FabArray::norminf() 501 501 2652 B 160 KiB check_for_negative_density() 5 5 314 B 160 KiB MultiFab::max() 6 6 64 B 160 KiB FabArray::setVal() 66 66 15 KiB 23 KiB MultiFab::contains_nan() 10 10 26 B 20 KiB MLPoisson::Fsmooth() 60 60 2721 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 38 B 10 KiB FillBoundary_nowait() 336 336 236 B 9648 B MLCellLinOp::applyBC() 3820 3820 176 B 9344 B amrex::Copy() 56 56 4898 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 40 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 291 B 1248 B MLCGSolver::bicgstab 180 180 74 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 989 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 72 KiB 8192 KiB VisMF::Write(FabArray) 120 120 136 KiB 3584 KiB VisMF::Read() 24 24 184 KiB 3000 KiB FabArray::setVal() 66 66 15 KiB 23 KiB MLPoisson::Fsmooth() 60 60 2721 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 38 B 10 KiB FillBoundary_nowait() 336 336 235 B 9648 B MLCellLinOp::applyBC() 1910 1910 175 B 9328 B amrex::Copy() 56 56 4898 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2221 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 40 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 434 B 1296 B amrex::average_down 37 37 179 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 19 B 400 B FabArray::norminf() 501 501 7 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2167 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.02-15-g392d06817072) finalized