Initializing AMReX (24.03-7-g155f1f4c3f4f)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.03-7-g155f1f4c3f4f) initialized Starting run at 09:11:52 UTC on 2024-03-12. Successfully read inputs file ... Castro git describe: 24.03-3-gfbd880fa0 AMReX git describe: 24.03-7-g155f1f4c3 Microphysics git describe: 24.03-6-g95cb860c 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.044270097 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.02445174 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.066460742 [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.048835864 [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.070528845 [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.077931545 [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.065269155 [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.043742705 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.067333516 [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.070012618 [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.069311428 [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.059860059 [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.065978007 [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.042069608 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.023976394 seconds Ending run at 09:11:52 UTC on 2024-03-12. Run time = 0.895328919 Run time without initialization = 0.771992611 Average number of zones advanced per microsecond: 3.396 Average number of zones advanced per microsecond per rank: 3.396 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.8954 ... 0.8954 ... 0.8954 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2766 0.2766 0.2766 30.89% VisMF::Write(FabArray) 11 0.1699 0.1699 0.1699 18.97% MLCellLinOp::applyBC() 4351 0.07979 0.07979 0.07979 8.91% MLPoisson::Fsmooth() 3280 0.03318 0.03318 0.03318 3.71% FillBoundary_nowait() 3941 0.0322 0.0322 0.0322 3.60% FabArray::norminf() 1061 0.02607 0.02607 0.02607 2.91% StateData::FillBoundary(geom) 328 0.02534 0.02534 0.02534 2.83% amrex::Dot() 1114 0.02099 0.02099 0.02099 2.34% Castro::normalize_species() 62 0.01999 0.01999 0.01999 2.23% StateDataPhysBCFunct::() 41 0.01578 0.01578 0.01578 1.76% Castro::computeTemp() 63 0.01479 0.01479 0.01479 1.65% FabArray::ParallelCopy_nowait() 861 0.01351 0.01351 0.01351 1.51% FabArray::setVal() 1062 0.01337 0.01337 0.01337 1.49% FabArray::Saxpy() 1370 0.0129 0.0129 0.0129 1.44% Castro::enforce_min_density() 62 0.01157 0.01157 0.01157 1.29% amrex::Copy() 472 0.01082 0.01082 0.01082 1.21% MLCellLinOp::defineAuxData() 11 0.01025 0.01025 0.01025 1.14% MLPoisson::Fapply() 1060 0.01015 0.01015 0.01015 1.13% Gravity::fill_multipole_BCs() 11 0.008743 0.008743 0.008743 0.98% FabArray::Xpay() 739 0.007753 0.007753 0.007753 0.87% MLMG::addInterpCorrection() 410 0.007081 0.007081 0.007081 0.79% amrex::average_down 410 0.006165 0.006165 0.006165 0.69% Amr::checkPoint() 3 0.005988 0.005988 0.005988 0.67% Castro::estTimeStep() 21 0.00559 0.00559 0.00559 0.62% Castro::reset_internal_energy(MultiFab) 63 0.004899 0.004899 0.004899 0.55% Castro::enforce_speed_limit() 62 0.003966 0.003966 0.003966 0.44% BndryData::define() 11 0.003866 0.003866 0.003866 0.43% amrex::Add() 82 0.003654 0.003654 0.003654 0.41% Castro::construct_new_gravity_source() 10 0.003499 0.003499 0.003499 0.39% Castro::construct_old_gravity_source() 10 0.002895 0.002895 0.002895 0.32% Amr::writePlotFile() 2 0.002212 0.002212 0.002212 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001752 0.001752 0.001752 0.20% MLCGSolver::bicgstab 82 0.001744 0.001744 0.001744 0.19% Castro::reset_internal_energy(Fab) 504 0.00168 0.00168 0.00168 0.19% Castro::initData() 1 0.001664 0.001664 0.001664 0.19% check_for_negative_density() 10 0.0016 0.0016 0.0016 0.18% Gravity::actual_solve_with_mlmg() 11 0.00158 0.00158 0.00158 0.18% MLCellLinOp::setLevelBC() 11 0.001575 0.001575 0.001575 0.18% FabArray::mult() 43 0.001375 0.001375 0.001375 0.15% FabArray::setDomainBndry() 41 0.001345 0.001345 0.001345 0.15% MLCellLinOp::prepareForSolve() 11 0.001294 0.001294 0.001294 0.14% MultiFab::contains_nan() 20 0.001256 0.001256 0.001256 0.14% MLCellLinOp::smooth() 1640 0.001196 0.001196 0.001196 0.13% MLCellLinOp::compGrad() 11 0.001082 0.001082 0.001082 0.12% MLMG::prepareForSolve() 11 0.0009911 0.0009911 0.0009911 0.11% FabArrayBase::getCPC() 1323 0.000807 0.000807 0.000807 0.09% FabArray::FillBoundary() 3941 0.0007709 0.0007709 0.0007709 0.09% FabArrayBase::CPC::define() 454 0.000671 0.000671 0.000671 0.07% Gravity::get_new_grav_vector() 11 0.000619 0.000619 0.000619 0.07% FabArrayBase::getFB() 3941 0.0006176 0.0006176 0.0006176 0.07% Amr::InitAmr() 1 0.0005142 0.0005142 0.0005142 0.06% Gravity::get_old_grav_vector() 10 0.0004879 0.0004879 0.0004879 0.05% MLCellLinOp::apply() 1060 0.0004617 0.0004617 0.0004617 0.05% AmrLevel::FillPatch() 41 0.0004124 0.0004124 0.0004124 0.05% main() 1 0.0003441 0.0003441 0.0003441 0.04% MultiFab::max() 11 0.0003324 0.0003324 0.0003324 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003311 0.0003311 0.0003311 0.04% Amr::coarseTimeStep() 10 0.0003266 0.0003266 0.0003266 0.04% MLCellLinOp::defineBC() 11 0.0002737 0.0002737 0.0002737 0.03% FabArray::ParallelCopy() 861 0.0002472 0.0002472 0.0002472 0.03% FillPatchIterator::Initialize 41 0.000229 0.000229 0.000229 0.03% MLMG::mgVcycle() 82 0.0002041 0.0002041 0.0002041 0.02% MLCellLinOp::correctionResidual() 410 0.0001789 0.0001789 0.0001789 0.02% MLLinOp::defineGrids() 11 0.0001732 0.0001732 0.0001732 0.02% Castro::create_source_corrector() 10 0.0001667 0.0001667 0.0001667 0.02% Castro::subcycle_advance_ctu() 10 0.0001626 0.0001626 0.0001626 0.02% Amr::timeStep() 10 0.0001581 0.0001581 0.0001581 0.02% Gravity::update_max_rhs() 11 0.0001281 0.0001281 0.0001281 0.01% MLMG:computeResOfCorrection() 410 0.0001169 0.0001169 0.0001169 0.01% Gravity::solve_for_phi() 10 0.0001163 0.0001163 0.0001163 0.01% StateData::checkPoint() 12 0.000116 0.000116 0.000116 0.01% Castro::construct_new_source() 50 9.631e-05 9.631e-05 9.631e-05 0.01% MLMG::actualBottomSolve() 82 9.595e-05 9.595e-05 9.595e-05 0.01% Castro::Castro() 1 9.183e-05 9.183e-05 9.183e-05 0.01% MLMG::mgVcycle_down::0 82 9.049e-05 9.049e-05 9.049e-05 0.01% FabArrayBase::FB::FB() 56 8.62e-05 8.62e-05 8.62e-05 0.01% Castro::post_timestep() 10 8.441e-05 8.441e-05 8.441e-05 0.01% MLMG::mgVcycle_down::3 82 8.409e-05 8.409e-05 8.409e-05 0.01% Castro::initialize_advance() 10 8.029e-05 8.029e-05 8.029e-05 0.01% MLMG::mgVcycle_down::1 82 7.993e-05 7.993e-05 7.993e-05 0.01% Castro::advance() 10 7.951e-05 7.951e-05 7.951e-05 0.01% MLMG::mgVcycle_down::2 82 7.914e-05 7.914e-05 7.914e-05 0.01% MLMG::solve() 11 7.432e-05 7.432e-05 7.432e-05 0.01% MLMG::mgVcycle_down::4 82 7.412e-05 7.412e-05 7.412e-05 0.01% Castro::clean_state() 62 7.224e-05 7.224e-05 7.224e-05 0.01% Castro::enforce_consistent_e() 1 6.466e-05 6.466e-05 6.466e-05 0.01% MLMG::mgVcycle_up::4 82 6.455e-05 6.455e-05 6.455e-05 0.01% AmrLevel::checkPoint() 3 6.408e-05 6.408e-05 6.408e-05 0.01% Castro::finalize_advance() 10 6.351e-05 6.351e-05 6.351e-05 0.01% Castro::initialize_do_advance() 10 5.886e-05 5.886e-05 5.886e-05 0.01% MLMG::mgVcycle_up::0 82 5.201e-05 5.201e-05 5.201e-05 0.01% MLMG::oneIter() 82 5.188e-05 5.188e-05 5.188e-05 0.01% MLMG::mgVcycle_up::3 82 5.103e-05 5.103e-05 5.103e-05 0.01% MLMG::mgVcycle_up::1 82 4.979e-05 4.979e-05 4.979e-05 0.01% MLCellLinOp::solutionResidual() 93 4.963e-05 4.963e-05 4.963e-05 0.01% MLMG::mgVcycle_up::2 82 4.863e-05 4.863e-05 4.863e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.86e-05 4.86e-05 4.86e-05 0.01% Castro::do_advance_ctu() 10 4.672e-05 4.672e-05 4.672e-05 0.01% Castro::do_new_sources() 10 4.616e-05 4.616e-05 4.616e-05 0.01% Castro::finalize_do_advance() 10 4.424e-05 4.424e-05 4.424e-05 0.00% StateData::define() 4 4.334e-05 4.334e-05 4.334e-05 0.00% FillPatchSingleLevel 41 4.316e-05 4.316e-05 4.316e-05 0.00% Castro::swap_state_time_levels() 10 3.805e-05 3.805e-05 3.805e-05 0.00% MLMG::ResNormInf() 93 3.751e-05 3.751e-05 3.751e-05 0.00% Amr::writeSmallPlotFile() 1 3.623e-05 3.623e-05 3.623e-05 0.00% MLMG::mgVcycle_bottom 82 3.408e-05 3.408e-05 3.408e-05 0.00% MLMG::computeResidual() 82 3.393e-05 3.393e-05 3.393e-05 0.00% Castro::initMFs() 1 3.39e-05 3.39e-05 3.39e-05 0.00% Amr::defBaseLevel() 1 3.303e-05 3.303e-05 3.303e-05 0.00% Castro::construct_new_gravity() 10 2.995e-05 2.995e-05 2.995e-05 0.00% makeSFC 55 2.669e-05 2.669e-05 2.669e-05 0.00% Castro::buildMetrics() 1 2.427e-05 2.427e-05 2.427e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.398e-05 2.398e-05 2.398e-05 0.00% Castro::do_old_sources() 10 2.253e-05 2.253e-05 2.253e-05 0.00% MLPoisson::define() 11 2.051e-05 2.051e-05 2.051e-05 0.00% Castro::construct_old_source() 50 1.994e-05 1.994e-05 1.994e-05 0.00% Amr::FinalizeInit() 1 1.977e-05 1.977e-05 1.977e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.783e-05 1.783e-05 1.783e-05 0.00% DistributionMapping::Distribute() 56 1.647e-05 1.647e-05 1.647e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.456e-05 1.456e-05 1.456e-05 0.00% Castro::check_for_nan() 20 1.417e-05 1.417e-05 1.417e-05 0.00% MLMG::computeMLResidual() 11 1.385e-05 1.385e-05 1.385e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.282e-05 1.282e-05 1.282e-05 0.00% MLPoisson::prepareForSolve() 11 1.263e-05 1.263e-05 1.263e-05 0.00% Castro::apply_source_to_state() 20 1.228e-05 1.228e-05 1.228e-05 0.00% MLLinOp::define() 11 1.182e-05 1.182e-05 1.182e-05 0.00% Amr::InitializeInit() 1 1.134e-05 1.134e-05 1.134e-05 0.00% Castro::construct_old_gravity() 10 1.041e-05 1.041e-05 1.041e-05 0.00% Amr::initSubcycle() 1 9.806e-06 9.806e-06 9.806e-06 0.00% Castro::post_init() 1 9.727e-06 9.727e-06 9.727e-06 0.00% Gravity::swapTimeLevels() 10 8.839e-06 8.839e-06 8.839e-06 0.00% Gravity::actual_multilevel_solve() 1 8.735e-06 8.735e-06 8.735e-06 0.00% Castro::computeNewDt() 9 6.7e-06 6.7e-06 6.7e-06 0.00% MLMG::getGradSolution() 11 6.09e-06 6.09e-06 6.09e-06 0.00% Castro::expand_state() 10 5.91e-06 5.91e-06 5.91e-06 0.00% AmrLevel::checkPointPost() 3 5.86e-06 5.86e-06 5.86e-06 0.00% Castro::retry_advance_ctu() 10 5.255e-06 5.255e-06 5.255e-06 0.00% Gravity::set_mass_offset() 11 4.419e-06 4.419e-06 4.419e-06 0.00% MLMG::MLRhsNormInf() 11 4.214e-06 4.214e-06 4.214e-06 0.00% MLMG::MLResNormInf() 11 3.469e-06 3.469e-06 3.469e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.13e-06 3.13e-06 3.13e-06 0.00% Castro::FluxRegCrseInit 10 2.957e-06 2.957e-06 2.957e-06 0.00% Castro::computeInitialDt() 2 2.838e-06 2.838e-06 2.838e-06 0.00% AmrLevel::checkPointPre() 3 2.735e-06 2.735e-06 2.735e-06 0.00% Amr::init() 1 2.409e-06 2.409e-06 2.409e-06 0.00% Castro::FluxRegFineAdd() 10 2.2e-06 2.2e-06 2.2e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.124e-06 2.124e-06 2.124e-06 0.00% Castro::post_regrid() 1 1.347e-06 1.347e-06 1.347e-06 0.00% Amr::initialInit() 1 1.054e-06 1.054e-06 1.054e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8953 0.8953 0.8953 100.00% Amr::coarseTimeStep() 10 0.7477 0.7477 0.7477 83.51% Amr::timeStep() 10 0.6582 0.6582 0.6582 73.51% Castro::advance() 10 0.6473 0.6473 0.6473 72.30% Castro::subcycle_advance_ctu() 10 0.6332 0.6332 0.6332 70.72% Castro::do_advance_ctu() 10 0.6331 0.6331 0.6331 70.71% Gravity::solve_phi_with_mlmg() 11 0.299 0.299 0.299 33.40% Gravity::actual_solve_with_mlmg() 11 0.2898 0.2898 0.2898 32.37% Castro::construct_ctu_hydro_source() 10 0.2872 0.2872 0.2872 32.08% Castro::construct_new_gravity() 10 0.2713 0.2713 0.2713 30.31% MLMG::solve() 11 0.268 0.268 0.268 29.93% Gravity::solve_for_phi() 10 0.2547 0.2547 0.2547 28.44% MLMG::oneIter() 82 0.2527 0.2527 0.2527 28.22% MLMG::mgVcycle() 82 0.249 0.249 0.249 27.80% VisMF::Write(FabArray) 11 0.1699 0.1699 0.1699 18.97% Amr::checkPoint() 3 0.1302 0.1302 0.1302 14.54% AmrLevel::checkPoint() 3 0.1242 0.1242 0.1242 13.87% StateData::checkPoint() 12 0.1242 0.1242 0.1242 13.87% Amr::init() 1 0.1226 0.1226 0.1226 13.70% MLCellLinOp::smooth() 1640 0.1219 0.1219 0.1219 13.62% MLCellLinOp::applyBC() 4351 0.1135 0.1135 0.1135 12.67% MLMG::mgVcycle_bottom 82 0.0781 0.0781 0.0781 8.72% MLMG::actualBottomSolve() 82 0.07807 0.07807 0.07807 8.72% MLCGSolver::bicgstab 82 0.07725 0.07725 0.07725 8.63% Castro::clean_state() 62 0.05617 0.05617 0.05617 6.27% Amr::initialInit() 1 0.05378 0.05378 0.05378 6.01% AmrLevel::FillPatch() 41 0.05114 0.05114 0.05114 5.71% Amr::FinalizeInit() 1 0.04867 0.04867 0.04867 5.44% Amr::writePlotFile() 2 0.0486 0.0486 0.0486 5.43% Castro::post_init() 1 0.04725 0.04725 0.04725 5.28% FillPatchIterator::Initialize 41 0.04685 0.04685 0.04685 5.23% FillPatchIterator::FillFromLevel0() 41 0.04528 0.04528 0.04528 5.06% FillPatchSingleLevel 41 0.04523 0.04523 0.04523 5.05% Gravity::multilevel_solve_for_new_phi() 1 0.04476 0.04476 0.04476 5.00% Gravity::actual_multilevel_solve() 1 0.04474 0.04474 0.04474 5.00% StateDataPhysBCFunct::() 41 0.04112 0.04112 0.04112 4.59% MLCellLinOp::apply() 1060 0.03602 0.03602 0.03602 4.02% MLMG::mgVcycle_down::0 82 0.03537 0.03537 0.03537 3.95% FabArray::FillBoundary() 3941 0.03367 0.03367 0.03367 3.76% MLPoisson::Fsmooth() 3280 0.03318 0.03318 0.03318 3.71% FillBoundary_nowait() 3941 0.0329 0.0329 0.0329 3.67% MLMG::mgVcycle_up::0 82 0.02688 0.02688 0.02688 3.00% FabArray::norminf() 1061 0.02607 0.02607 0.02607 2.91% StateData::FillBoundary(geom) 328 0.02534 0.02534 0.02534 2.83% Castro::initialize_do_advance() 10 0.02237 0.02237 0.02237 2.50% Castro::computeTemp() 63 0.02137 0.02137 0.02137 2.39% amrex::Dot() 1114 0.02099 0.02099 0.02099 2.34% MLMG:computeResOfCorrection() 410 0.02041 0.02041 0.02041 2.28% MLCellLinOp::correctionResidual() 410 0.0203 0.0203 0.0203 2.27% Castro::normalize_species() 62 0.01999 0.01999 0.01999 2.23% Castro::do_old_sources() 10 0.0196 0.0196 0.0196 2.19% Gravity::get_new_grav_vector() 11 0.0187 0.0187 0.0187 2.09% MLPoisson::define() 11 0.01706 0.01706 0.01706 1.91% MLMG::mgVcycle_down::1 82 0.01648 0.01648 0.01648 1.84% Castro::construct_old_gravity() 10 0.01622 0.01622 0.01622 1.81% Gravity::get_old_grav_vector() 10 0.01621 0.01621 0.01621 1.81% MLMG::mgVcycle_down::2 82 0.01531 0.01531 0.01531 1.71% MLMG::mgVcycle_down::3 82 0.01491 0.01491 0.01491 1.67% MLMG::mgVcycle_down::4 82 0.01475 0.01475 0.01475 1.65% FabArray::ParallelCopy() 861 0.01458 0.01458 0.01458 1.63% FabArray::ParallelCopy_nowait() 861 0.01433 0.01433 0.01433 1.60% Castro::initialize_advance() 10 0.01343 0.01343 0.01343 1.50% FabArray::setVal() 1062 0.01337 0.01337 0.01337 1.49% Castro::do_new_sources() 10 0.01328 0.01328 0.01328 1.48% FabArray::Saxpy() 1370 0.0129 0.0129 0.0129 1.44% MLCGSolver::ParallelAllReduce 1832 0.01261 0.01261 0.01261 1.41% Castro::expand_state() 10 0.01261 0.01261 0.01261 1.41% MLMG::addInterpCorrection() 410 0.01237 0.01237 0.01237 1.38% MLMG::mgVcycle_up::1 82 0.01195 0.01195 0.01195 1.33% MLMG::mgVcycle_up::4 82 0.01189 0.01189 0.01189 1.33% MLCellLinOp::defineAuxData() 11 0.01167 0.01167 0.01167 1.30% MLMG::mgVcycle_up::2 82 0.01166 0.01166 0.01166 1.30% Castro::enforce_min_density() 62 0.01157 0.01157 0.01157 1.29% MLMG::mgVcycle_up::3 82 0.01145 0.01145 0.01145 1.28% amrex::average_down 410 0.01139 0.01139 0.01139 1.27% amrex::Copy() 472 0.01082 0.01082 0.01082 1.21% Castro::post_timestep() 10 0.01071 0.01071 0.01071 1.20% MLPoisson::Fapply() 1060 0.01015 0.01015 0.01015 1.13% Gravity::fill_multipole_BCs() 11 0.008979 0.008979 0.008979 1.00% FabArray::Xpay() 739 0.007753 0.007753 0.007753 0.87% MLCellLinOp::solutionResidual() 93 0.00768 0.00768 0.00768 0.86% Castro::reset_internal_energy(MultiFab) 63 0.006578 0.006578 0.006578 0.73% MLMG::computeResidual() 82 0.006468 0.006468 0.006468 0.72% Castro::estTimeStep() 21 0.00559 0.00559 0.00559 0.62% MLMG::prepareForSolve() 11 0.005131 0.005131 0.005131 0.57% MLCellLinOp::defineBC() 11 0.005125 0.005125 0.005125 0.57% Amr::InitializeInit() 1 0.005111 0.005111 0.005111 0.57% Amr::defBaseLevel() 1 0.005099 0.005099 0.005099 0.57% BndryData::define() 11 0.004852 0.004852 0.004852 0.54% Castro::initData() 1 0.00441 0.00441 0.00441 0.49% Castro::enforce_speed_limit() 62 0.003966 0.003966 0.003966 0.44% amrex::Add() 82 0.003654 0.003654 0.003654 0.41% Castro::construct_new_source() 50 0.003596 0.003596 0.003596 0.40% Castro::construct_new_gravity_source() 10 0.003499 0.003499 0.003499 0.39% Castro::construct_old_source() 50 0.002915 0.002915 0.002915 0.33% Castro::construct_old_gravity_source() 10 0.002895 0.002895 0.002895 0.32% Castro::computeNewDt() 9 0.00254 0.00254 0.00254 0.28% MLMG::ResNormInf() 93 0.002168 0.002168 0.002168 0.24% Castro::finalize_do_advance() 10 0.002071 0.002071 0.002071 0.23% Castro::apply_source_to_state() 20 0.001878 0.001878 0.001878 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001752 0.001752 0.001752 0.20% Castro::reset_internal_energy(Fab) 504 0.00168 0.00168 0.00168 0.19% check_for_negative_density() 10 0.0016 0.0016 0.0016 0.18% MLMG::getGradSolution() 11 0.001591 0.001591 0.001591 0.18% MLCellLinOp::compGrad() 11 0.001585 0.001585 0.001585 0.18% MLCellLinOp::setLevelBC() 11 0.001575 0.001575 0.001575 0.18% FabArrayBase::getCPC() 1323 0.001478 0.001478 0.001478 0.17% FabArray::mult() 43 0.001375 0.001375 0.001375 0.15% FabArray::setDomainBndry() 41 0.001345 0.001345 0.001345 0.15% MLPoisson::prepareForSolve() 11 0.001307 0.001307 0.001307 0.15% MLCellLinOp::prepareForSolve() 11 0.001294 0.001294 0.001294 0.14% Castro::check_for_nan() 20 0.00127 0.00127 0.00127 0.14% MLMG::computeMLResidual() 11 0.00126 0.00126 0.00126 0.14% MultiFab::contains_nan() 20 0.001256 0.001256 0.001256 0.14% Castro::post_regrid() 1 0.001122 0.001122 0.001122 0.13% Castro::computeInitialDt() 2 0.001032 0.001032 0.001032 0.12% Gravity::update_max_rhs() 11 0.000986 0.000986 0.000986 0.11% FabArrayBase::getFB() 3941 0.0007038 0.0007038 0.0007038 0.08% FabArrayBase::CPC::define() 454 0.000671 0.000671 0.000671 0.07% Castro::finalize_advance() 10 0.0006049 0.0006049 0.0006049 0.07% Castro::Castro() 1 0.0005955 0.0005955 0.0005955 0.07% Amr::InitAmr() 1 0.000524 0.000524 0.000524 0.06% Gravity::swapTimeLevels() 10 0.0004701 0.0004701 0.0004701 0.05% MultiFab::max() 11 0.0003324 0.0003324 0.0003324 0.04% MLMG::MLResNormInf() 11 0.0003197 0.0003197 0.0003197 0.04% Castro::buildMetrics() 1 0.0002975 0.0002975 0.0002975 0.03% MLLinOp::define() 11 0.0002437 0.0002437 0.0002437 0.03% MLLinOp::defineGrids() 11 0.0002319 0.0002319 0.0002319 0.03% MLMG::MLRhsNormInf() 11 0.0002304 0.0002304 0.0002304 0.03% Castro::create_source_corrector() 10 0.0001667 0.0001667 0.0001667 0.02% FabArrayBase::FB::FB() 56 8.62e-05 8.62e-05 8.62e-05 0.01% Castro::enforce_consistent_e() 1 6.466e-05 6.466e-05 6.466e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.656e-05 5.656e-05 5.656e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.616e-05 5.616e-05 5.616e-05 0.01% StateData::define() 4 4.334e-05 4.334e-05 4.334e-05 0.00% makeSFC 55 4.2e-05 4.2e-05 4.2e-05 0.00% Castro::swap_state_time_levels() 10 3.805e-05 3.805e-05 3.805e-05 0.00% Amr::writeSmallPlotFile() 1 3.623e-05 3.623e-05 3.623e-05 0.00% Castro::initMFs() 1 3.39e-05 3.39e-05 3.39e-05 0.00% DistributionMapping::Distribute() 56 1.647e-05 1.647e-05 1.647e-05 0.00% Amr::initSubcycle() 1 9.806e-06 9.806e-06 9.806e-06 0.00% AmrLevel::checkPointPost() 3 5.86e-06 5.86e-06 5.86e-06 0.00% Castro::retry_advance_ctu() 10 5.255e-06 5.255e-06 5.255e-06 0.00% Gravity::set_mass_offset() 11 4.419e-06 4.419e-06 4.419e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.288e-06 4.288e-06 4.288e-06 0.00% Castro::FluxRegCrseInit 10 2.957e-06 2.957e-06 2.957e-06 0.00% AmrLevel::checkPointPre() 3 2.735e-06 2.735e-06 2.735e-06 0.00% Castro::FluxRegFineAdd() 10 2.2e-06 2.2e-06 2.2e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.124e-06 2.124e-06 2.124e-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 5411 KiB 9037 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1115 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1510 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 3682 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 216 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 185 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7515 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 16 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2133 B 2048 KiB Gravity::solve_for_phi() 80 80 581 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 102 KiB 2048 KiB BndryData::define() 1056 1056 336 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 214 KiB 671 KiB Castro::estTimeStep() 21 21 3043 B 480 KiB VisMF::Write(FabArray) 656 656 3409 B 320 KiB Castro::normalize_species() 62 62 7271 B 320 KiB amrex::average_down 1067 1067 1608 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1181 B 257 KiB amrex::Dot() 1360 1360 3465 B 160 KiB FabArray::norminf() 1143 1143 4562 B 160 KiB check_for_negative_density() 10 10 286 B 160 KiB Castro::initData() 1 1 52 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3596 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 316 B 9648 B MLCellLinOp::applyBC() 8702 8702 223 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3950 B 6144 B StateData::FillBoundary(geom) 1992 1992 57 B 4096 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 379 B 1248 B MLCGSolver::bicgstab 410 410 104 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 750 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 408 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3596 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 316 B 9648 B MLCellLinOp::applyBC() 4351 4351 222 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3950 B 6144 B StateData::FillBoundary(geom) 1992 1992 58 B 4096 B Gravity::get_new_grav_vector() 3 3 2889 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 83 83 617 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 306 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 28 B 400 B FabArray::norminf() 1143 1143 10 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2180 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.03-7-g155f1f4c3f4f) finalized Initializing AMReX (24.03-7-g155f1f4c3f4f)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.03-7-g155f1f4c3f4f) initialized Starting run at 09:11:53 UTC on 2024-03-12. Successfully read inputs file ... Castro git describe: 24.03-3-gfbd880fa0 AMReX git describe: 24.03-7-g155f1f4c3 Microphysics git describe: 24.03-6-g95cb860c reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.496081071 Restart time = 0.071036412 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.068507083 [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.050813364 [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.078390236 [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.077411185 [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.058692941 [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.026267393 seconds Ending run at 09:11:54 UTC on 2024-03-12. Run time = 0.432226589 Run time without initialization = 0.360512911 Average number of zones advanced per microsecond: 3.636 Average number of zones advanced per microsecond per rank: 3.636 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4323 ... 0.4323 ... 0.4323 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1333 0.1333 0.1333 30.84% VisMF::Read() 3 0.05992 0.05992 0.05992 13.86% MLCellLinOp::applyBC() 1910 0.0348 0.0348 0.0348 8.05% VisMF::Write(FabArray) 1 0.02359 0.02359 0.02359 5.46% StateDataPhysBCFunct::() 20 0.01579 0.01579 0.01579 3.65% MLPoisson::Fsmooth() 1440 0.01458 0.01458 0.01458 3.37% FillBoundary_nowait() 1730 0.01299 0.01299 0.01299 3.01% Castro::normalize_species() 30 0.01091 0.01091 0.01091 2.52% StateData::FillBoundary(geom) 160 0.01081 0.01081 0.01081 2.50% amrex::Dot() 484 0.008968 0.008968 0.008968 2.07% FabArray::norminf() 465 0.008472 0.008472 0.008472 1.96% Castro::computeTemp() 30 0.006599 0.006599 0.006599 1.53% FabArray::setVal() 501 0.006541 0.006541 0.006541 1.51% FabArray::ParallelCopy_nowait() 380 0.006211 0.006211 0.006211 1.44% FabArray::Saxpy() 597 0.005745 0.005745 0.005745 1.33% amrex::Copy() 221 0.005481 0.005481 0.005481 1.27% MLCellLinOp::defineAuxData() 6 0.005474 0.005474 0.005474 1.27% Castro::enforce_min_density() 30 0.005261 0.005261 0.005261 1.22% Amr::restart() 1 0.00487 0.00487 0.00487 1.13% Gravity::fill_multipole_BCs() 6 0.004635 0.004635 0.004635 1.07% MLPoisson::Fapply() 464 0.004429 0.004429 0.004429 1.02% FabArray::Xpay() 325 0.003431 0.003431 0.003431 0.79% Castro::estTimeStep() 10 0.00335 0.00335 0.00335 0.78% MLMG::addInterpCorrection() 180 0.003118 0.003118 0.003118 0.72% amrex::average_down 180 0.002735 0.002735 0.002735 0.63% Amr::writePlotFile() 1 0.002524 0.002524 0.002524 0.58% BndryData::define() 6 0.002124 0.002124 0.002124 0.49% Castro::reset_internal_energy(MultiFab) 30 0.002086 0.002086 0.002086 0.48% Castro::construct_new_gravity_source() 5 0.001907 0.001907 0.001907 0.44% Castro::subcycle_advance_ctu() 5 0.001895 0.001895 0.001895 0.44% Castro::construct_old_gravity_source() 5 0.001585 0.001585 0.001585 0.37% amrex::Add() 36 0.001551 0.001551 0.001551 0.36% Castro::reset_internal_energy(Fab) 240 0.0009793 0.0009793 0.0009793 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009554 0.0009554 0.0009554 0.22% check_for_negative_density() 5 0.0008765 0.0008765 0.0008765 0.20% MLCellLinOp::setLevelBC() 6 0.0008575 0.0008575 0.0008575 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008439 0.0008439 0.0008439 0.20% MLCGSolver::bicgstab 36 0.0007685 0.0007685 0.0007685 0.18% MLCellLinOp::prepareForSolve() 6 0.0007457 0.0007457 0.0007457 0.17% FabArray::mult() 22 0.0006987 0.0006987 0.0006987 0.16% FabArray::setDomainBndry() 20 0.0006883 0.0006883 0.0006883 0.16% MultiFab::contains_nan() 10 0.0006495 0.0006495 0.0006495 0.15% MLCellLinOp::compGrad() 6 0.0005912 0.0005912 0.0005912 0.14% MLMG::prepareForSolve() 6 0.0005684 0.0005684 0.0005684 0.13% MLCellLinOp::smooth() 720 0.0005168 0.0005168 0.0005168 0.12% Castro::enforce_speed_limit() 30 0.0004891 0.0004891 0.0004891 0.11% Amr::InitAmr() 1 0.0004799 0.0004799 0.0004799 0.11% FabArrayBase::CPC::define() 244 0.0004195 0.0004195 0.0004195 0.10% FabArrayBase::getCPC() 632 0.0003752 0.0003752 0.0003752 0.09% FabArray::FillBoundary() 1730 0.0003392 0.0003392 0.0003392 0.08% Gravity::get_old_grav_vector() 5 0.0003041 0.0003041 0.0003041 0.07% main() 1 0.0002922 0.0002922 0.0002922 0.07% FabArrayBase::getFB() 1730 0.0002592 0.0002592 0.0002592 0.06% Gravity::get_new_grav_vector() 5 0.0002351 0.0002351 0.0002351 0.05% MultiFab::max() 6 0.0002091 0.0002091 0.0002091 0.05% AmrLevel::FillPatch() 20 0.0002028 0.0002028 0.0002028 0.05% MLCellLinOp::apply() 464 0.0001937 0.0001937 0.0001937 0.04% Amr::coarseTimeStep() 5 0.0001536 0.0001536 0.0001536 0.04% MLCellLinOp::defineBC() 6 0.000147 0.000147 0.000147 0.03% MLCGSolver::ParallelAllReduce 798 0.0001367 0.0001367 0.0001367 0.03% FillPatchIterator::Initialize 20 0.0001113 0.0001113 0.0001113 0.03% Amr::timeStep() 5 0.00011 0.00011 0.00011 0.03% FabArray::ParallelCopy() 380 0.0001096 0.0001096 0.0001096 0.03% Castro::construct_new_source() 25 0.0001094 0.0001094 0.0001094 0.03% MLLinOp::defineGrids() 6 0.0001014 0.0001014 0.0001014 0.02% Castro::finalize_do_advance() 5 9.962e-05 9.962e-05 9.962e-05 0.02% MLMG::mgVcycle() 36 9.126e-05 9.126e-05 9.126e-05 0.02% Castro::create_source_corrector() 5 9.074e-05 9.074e-05 9.074e-05 0.02% MLCellLinOp::correctionResidual() 180 7.69e-05 7.69e-05 7.69e-05 0.02% AmrLevel::restart() 1 7.164e-05 7.164e-05 7.164e-05 0.02% Castro::construct_old_source() 25 6.964e-05 6.964e-05 6.964e-05 0.02% Gravity::update_max_rhs() 6 6.761e-05 6.761e-05 6.761e-05 0.02% StateData::restartDoit() 4 6.655e-05 6.655e-05 6.655e-05 0.02% Castro::do_new_sources() 5 5.973e-05 5.973e-05 5.973e-05 0.01% Castro::advance() 5 5.835e-05 5.835e-05 5.835e-05 0.01% FabArrayBase::FB::FB() 26 5.686e-05 5.686e-05 5.686e-05 0.01% Castro::post_timestep() 5 5.506e-05 5.506e-05 5.506e-05 0.01% MLMG:computeResOfCorrection() 180 5.349e-05 5.349e-05 5.349e-05 0.01% Castro::finalize_advance() 5 5.301e-05 5.301e-05 5.301e-05 0.01% Castro::initialize_do_advance() 5 5.229e-05 5.229e-05 5.229e-05 0.01% Gravity::solve_for_phi() 5 5.135e-05 5.135e-05 5.135e-05 0.01% MLMG::mgVcycle_down::0 36 4.339e-05 4.339e-05 4.339e-05 0.01% MLMG::actualBottomSolve() 36 4.07e-05 4.07e-05 4.07e-05 0.01% Castro::initialize_advance() 5 4.051e-05 4.051e-05 4.051e-05 0.01% Castro::do_old_sources() 5 3.821e-05 3.821e-05 3.821e-05 0.01% MLMG::solve() 6 3.762e-05 3.762e-05 3.762e-05 0.01% MLMG::mgVcycle_down::1 36 3.52e-05 3.52e-05 3.52e-05 0.01% Castro::clean_state() 30 3.445e-05 3.445e-05 3.445e-05 0.01% MLMG::mgVcycle_down::2 36 3.349e-05 3.349e-05 3.349e-05 0.01% MLMG::mgVcycle_down::4 36 3.284e-05 3.284e-05 3.284e-05 0.01% Amr::writeSmallPlotFile() 1 3.19e-05 3.19e-05 3.19e-05 0.01% MLMG::mgVcycle_down::3 36 3.164e-05 3.164e-05 3.164e-05 0.01% Castro::buildMetrics() 1 3.033e-05 3.033e-05 3.033e-05 0.01% MLMG::mgVcycle_up::4 36 2.742e-05 2.742e-05 2.742e-05 0.01% Castro::post_restart() 1 2.709e-05 2.709e-05 2.709e-05 0.01% Castro::swap_state_time_levels() 5 2.653e-05 2.653e-05 2.653e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.449e-05 2.449e-05 2.449e-05 0.01% MLMG::mgVcycle_up::3 36 2.367e-05 2.367e-05 2.367e-05 0.01% Castro::initMFs() 1 2.348e-05 2.348e-05 2.348e-05 0.01% MLMG::oneIter() 36 2.347e-05 2.347e-05 2.347e-05 0.01% MLMG::mgVcycle_up::0 36 2.247e-05 2.247e-05 2.247e-05 0.01% Castro::do_advance_ctu() 5 2.244e-05 2.244e-05 2.244e-05 0.01% MLMG::mgVcycle_up::2 36 2.232e-05 2.232e-05 2.232e-05 0.01% MLCellLinOp::solutionResidual() 42 2.222e-05 2.222e-05 2.222e-05 0.01% MLMG::mgVcycle_up::1 36 2.218e-05 2.218e-05 2.218e-05 0.01% MLMG::ResNormInf() 42 1.673e-05 1.673e-05 1.673e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.664e-05 1.664e-05 1.664e-05 0.00% MLMG::mgVcycle_bottom 36 1.523e-05 1.523e-05 1.523e-05 0.00% MLMG::computeResidual() 36 1.522e-05 1.522e-05 1.522e-05 0.00% FillPatchSingleLevel 20 1.518e-05 1.518e-05 1.518e-05 0.00% makeSFC 30 1.488e-05 1.488e-05 1.488e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.382e-05 1.382e-05 1.382e-05 0.00% Castro::construct_new_gravity() 5 1.352e-05 1.352e-05 1.352e-05 0.00% MLPoisson::define() 6 1.228e-05 1.228e-05 1.228e-05 0.00% Amr::initSubcycle() 1 1.03e-05 1.03e-05 1.03e-05 0.00% DistributionMapping::Distribute() 31 9.511e-06 9.511e-06 9.511e-06 0.00% MLPoisson::prepareForSolve() 6 8.687e-06 8.687e-06 8.687e-06 0.00% Gravity::actual_multilevel_solve() 1 8.403e-06 8.403e-06 8.403e-06 0.00% MLMG::computeMLResidual() 6 8.369e-06 8.369e-06 8.369e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.804e-06 7.804e-06 7.804e-06 0.00% MLLinOp::define() 6 6.718e-06 6.718e-06 6.718e-06 0.00% Castro::apply_source_to_state() 10 6.312e-06 6.312e-06 6.312e-06 0.00% Castro::check_for_nan() 10 5.935e-06 5.935e-06 5.935e-06 0.00% Castro::construct_old_gravity() 5 5.456e-06 5.456e-06 5.456e-06 0.00% Castro::retry_advance_ctu() 5 4.783e-06 4.783e-06 4.783e-06 0.00% Gravity::swapTimeLevels() 5 4.472e-06 4.472e-06 4.472e-06 0.00% Castro::computeNewDt() 5 3.688e-06 3.688e-06 3.688e-06 0.00% MLMG::getGradSolution() 6 3.088e-06 3.088e-06 3.088e-06 0.00% Castro::FluxRegCrseInit 5 2.999e-06 2.999e-06 2.999e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.983e-06 2.983e-06 2.983e-06 0.00% Castro::expand_state() 5 2.967e-06 2.967e-06 2.967e-06 0.00% Castro::FluxRegFineAdd() 5 2.494e-06 2.494e-06 2.494e-06 0.00% MLMG::MLRhsNormInf() 6 2.369e-06 2.369e-06 2.369e-06 0.00% MLMG::MLResNormInf() 6 2.366e-06 2.366e-06 2.366e-06 0.00% Gravity::set_mass_offset() 6 2.246e-06 2.246e-06 2.246e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.043e-06 1.043e-06 1.043e-06 0.00% Amr::init() 1 8.74e-07 8.74e-07 8.74e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4323 0.4323 0.4323 100.00% Amr::coarseTimeStep() 5 0.334 0.334 0.334 77.26% Amr::timeStep() 5 0.3315 0.3315 0.3315 76.70% Castro::advance() 5 0.3274 0.3274 0.3274 75.73% Castro::subcycle_advance_ctu() 5 0.3196 0.3196 0.3196 73.94% Castro::do_advance_ctu() 5 0.3177 0.3177 0.3177 73.50% Castro::construct_ctu_hydro_source() 5 0.1382 0.1382 0.1382 31.97% Castro::construct_new_gravity() 5 0.1364 0.1364 0.1364 31.56% Gravity::solve_phi_with_mlmg() 6 0.1302 0.1302 0.1302 30.13% Gravity::actual_solve_with_mlmg() 6 0.1253 0.1253 0.1253 29.00% Gravity::solve_for_phi() 5 0.1251 0.1251 0.1251 28.93% MLMG::solve() 6 0.1135 0.1135 0.1135 26.26% MLMG::oneIter() 36 0.1059 0.1059 0.1059 24.50% MLMG::mgVcycle() 36 0.1043 0.1043 0.1043 24.14% Amr::init() 1 0.07111 0.07111 0.07111 16.45% Amr::restart() 1 0.07111 0.07111 0.07111 16.45% AmrLevel::restart() 1 0.06029 0.06029 0.06029 13.95% StateData::restartDoit() 4 0.06021 0.06021 0.06021 13.93% VisMF::Read() 3 0.05992 0.05992 0.05992 13.86% MLCellLinOp::smooth() 720 0.05217 0.05217 0.05217 12.07% MLCellLinOp::applyBC() 1910 0.04845 0.04845 0.04845 11.21% AmrLevel::FillPatch() 20 0.03169 0.03169 0.03169 7.33% MLMG::mgVcycle_bottom 36 0.03092 0.03092 0.03092 7.15% MLMG::actualBottomSolve() 36 0.0309 0.0309 0.0309 7.15% MLCGSolver::bicgstab 36 0.03053 0.03053 0.03053 7.06% FillPatchIterator::Initialize 20 0.02959 0.02959 0.02959 6.85% FillPatchIterator::FillFromLevel0() 20 0.02879 0.02879 0.02879 6.66% FillPatchSingleLevel 20 0.02877 0.02877 0.02877 6.65% StateDataPhysBCFunct::() 20 0.02661 0.02661 0.02661 6.16% Amr::writePlotFile() 1 0.02637 0.02637 0.02637 6.10% Castro::clean_state() 30 0.02636 0.02636 0.02636 6.10% VisMF::Write(FabArray) 1 0.02359 0.02359 0.02359 5.46% MLCellLinOp::apply() 464 0.01572 0.01572 0.01572 3.64% MLMG::mgVcycle_down::0 36 0.01499 0.01499 0.01499 3.47% MLPoisson::Fsmooth() 1440 0.01458 0.01458 0.01458 3.37% FabArray::FillBoundary() 1730 0.01365 0.01365 0.01365 3.16% FillBoundary_nowait() 1730 0.01331 0.01331 0.01331 3.08% Castro::do_old_sources() 5 0.01158 0.01158 0.01158 2.68% Castro::initialize_do_advance() 5 0.01156 0.01156 0.01156 2.68% MLMG::mgVcycle_up::0 36 0.01124 0.01124 0.01124 2.60% Gravity::get_new_grav_vector() 5 0.01124 0.01124 0.01124 2.60% Castro::normalize_species() 30 0.01091 0.01091 0.01091 2.52% StateData::FillBoundary(geom) 160 0.01081 0.01081 0.01081 2.50% Castro::construct_old_gravity() 5 0.01048 0.01048 0.01048 2.43% Gravity::get_old_grav_vector() 5 0.01048 0.01048 0.01048 2.42% Castro::computeTemp() 30 0.009664 0.009664 0.009664 2.24% MLPoisson::define() 6 0.009251 0.009251 0.009251 2.14% amrex::Dot() 484 0.008968 0.008968 0.008968 2.07% MLMG:computeResOfCorrection() 180 0.00877 0.00877 0.00877 2.03% MLCellLinOp::correctionResidual() 180 0.008717 0.008717 0.008717 2.02% FabArray::norminf() 465 0.008472 0.008472 0.008472 1.96% Castro::do_new_sources() 5 0.007782 0.007782 0.007782 1.80% Castro::initialize_advance() 5 0.007328 0.007328 0.007328 1.70% MLMG::mgVcycle_down::1 36 0.007239 0.007239 0.007239 1.67% Castro::expand_state() 5 0.006977 0.006977 0.006977 1.61% FabArray::ParallelCopy() 380 0.006717 0.006717 0.006717 1.55% MLMG::mgVcycle_down::2 36 0.006622 0.006622 0.006622 1.53% FabArray::ParallelCopy_nowait() 380 0.006608 0.006608 0.006608 1.53% FabArray::setVal() 501 0.006541 0.006541 0.006541 1.51% MLMG::mgVcycle_down::3 36 0.006462 0.006462 0.006462 1.49% MLMG::mgVcycle_down::4 36 0.00643 0.00643 0.00643 1.49% MLCellLinOp::defineAuxData() 6 0.006246 0.006246 0.006246 1.44% Castro::post_restart() 1 0.005766 0.005766 0.005766 1.33% FabArray::Saxpy() 597 0.005745 0.005745 0.005745 1.33% amrex::Copy() 221 0.005481 0.005481 0.005481 1.27% MLCGSolver::ParallelAllReduce 798 0.005426 0.005426 0.005426 1.26% MLMG::addInterpCorrection() 180 0.00541 0.00541 0.00541 1.25% Gravity::multilevel_solve_for_new_phi() 1 0.005391 0.005391 0.005391 1.25% Gravity::actual_multilevel_solve() 1 0.005374 0.005374 0.005374 1.24% Castro::enforce_min_density() 30 0.005261 0.005261 0.005261 1.22% MLMG::mgVcycle_up::1 36 0.005164 0.005164 0.005164 1.19% MLMG::mgVcycle_up::4 36 0.005152 0.005152 0.005152 1.19% MLMG::mgVcycle_up::2 36 0.005053 0.005053 0.005053 1.17% amrex::average_down 180 0.005018 0.005018 0.005018 1.16% MLMG::mgVcycle_up::3 36 0.004977 0.004977 0.004977 1.15% Gravity::fill_multipole_BCs() 6 0.004761 0.004761 0.004761 1.10% MLPoisson::Fapply() 464 0.004429 0.004429 0.004429 1.02% Castro::post_timestep() 5 0.004055 0.004055 0.004055 0.94% MLCellLinOp::solutionResidual() 42 0.003568 0.003568 0.003568 0.83% FabArray::Xpay() 325 0.003431 0.003431 0.003431 0.79% Castro::estTimeStep() 10 0.00335 0.00335 0.00335 0.78% Castro::reset_internal_energy(MultiFab) 30 0.003065 0.003065 0.003065 0.71% MLMG::prepareForSolve() 6 0.002865 0.002865 0.002865 0.66% MLCellLinOp::defineBC() 6 0.002853 0.002853 0.002853 0.66% MLMG::computeResidual() 36 0.002783 0.002783 0.002783 0.64% BndryData::define() 6 0.002706 0.002706 0.002706 0.63% Castro::computeNewDt() 5 0.002268 0.002268 0.002268 0.52% Castro::construct_new_source() 25 0.002017 0.002017 0.002017 0.47% Castro::construct_new_gravity_source() 5 0.001907 0.001907 0.001907 0.44% Castro::construct_old_source() 25 0.001654 0.001654 0.001654 0.38% Castro::construct_old_gravity_source() 5 0.001585 0.001585 0.001585 0.37% amrex::Add() 36 0.001551 0.001551 0.001551 0.36% Castro::finalize_do_advance() 5 0.001185 0.001185 0.001185 0.27% MLMG::ResNormInf() 42 0.0009818 0.0009818 0.0009818 0.23% Castro::reset_internal_energy(Fab) 240 0.0009793 0.0009793 0.0009793 0.23% Castro::apply_source_to_state() 10 0.0009659 0.0009659 0.0009659 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009554 0.0009554 0.0009554 0.22% check_for_negative_density() 5 0.0008765 0.0008765 0.0008765 0.20% MLMG::getGradSolution() 6 0.0008761 0.0008761 0.0008761 0.20% MLCellLinOp::compGrad() 6 0.000873 0.000873 0.000873 0.20% MLCellLinOp::setLevelBC() 6 0.0008575 0.0008575 0.0008575 0.20% MLMG::computeMLResidual() 6 0.0008089 0.0008089 0.0008089 0.19% FabArrayBase::getCPC() 632 0.0007947 0.0007947 0.0007947 0.18% MLPoisson::prepareForSolve() 6 0.0007544 0.0007544 0.0007544 0.17% MLCellLinOp::prepareForSolve() 6 0.0007457 0.0007457 0.0007457 0.17% Gravity::update_max_rhs() 6 0.0007326 0.0007326 0.0007326 0.17% FabArray::mult() 22 0.0006987 0.0006987 0.0006987 0.16% FabArray::setDomainBndry() 20 0.0006883 0.0006883 0.0006883 0.16% Castro::check_for_nan() 10 0.0006555 0.0006555 0.0006555 0.15% MultiFab::contains_nan() 10 0.0006495 0.0006495 0.0006495 0.15% Amr::InitAmr() 1 0.0004902 0.0004902 0.0004902 0.11% Castro::enforce_speed_limit() 30 0.0004891 0.0004891 0.0004891 0.11% FabArrayBase::CPC::define() 244 0.0004195 0.0004195 0.0004195 0.10% Castro::finalize_advance() 5 0.0003785 0.0003785 0.0003785 0.09% FabArrayBase::getFB() 1730 0.000316 0.000316 0.000316 0.07% Gravity::swapTimeLevels() 5 0.0002479 0.0002479 0.0002479 0.06% MultiFab::max() 6 0.0002091 0.0002091 0.0002091 0.05% MLMG::MLResNormInf() 6 0.0001889 0.0001889 0.0001889 0.04% Castro::buildMetrics() 1 0.0001609 0.0001609 0.0001609 0.04% MLLinOp::define() 6 0.0001399 0.0001399 0.0001399 0.03% MLLinOp::defineGrids() 6 0.0001332 0.0001332 0.0001332 0.03% MLMG::MLRhsNormInf() 6 0.0001206 0.0001206 0.0001206 0.03% Castro::create_source_corrector() 5 9.074e-05 9.074e-05 9.074e-05 0.02% FabArrayBase::FB::FB() 26 5.686e-05 5.686e-05 5.686e-05 0.01% Amr::writeSmallPlotFile() 1 3.19e-05 3.19e-05 3.19e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.071e-05 3.071e-05 3.071e-05 0.01% Castro::swap_state_time_levels() 5 2.653e-05 2.653e-05 2.653e-05 0.01% Castro::initMFs() 1 2.348e-05 2.348e-05 2.348e-05 0.01% makeSFC 30 2.29e-05 2.29e-05 2.29e-05 0.01% Amr::initSubcycle() 1 1.03e-05 1.03e-05 1.03e-05 0.00% DistributionMapping::Distribute() 31 9.511e-06 9.511e-06 9.511e-06 0.00% Castro::retry_advance_ctu() 5 4.783e-06 4.783e-06 4.783e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.471e-06 4.471e-06 4.471e-06 0.00% Castro::FluxRegCrseInit 5 2.999e-06 2.999e-06 2.999e-06 0.00% Castro::FluxRegFineAdd() 5 2.494e-06 2.494e-06 2.494e-06 0.00% Gravity::set_mass_offset() 6 2.246e-06 2.246e-06 2.246e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.043e-06 1.043e-06 1.043e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 10 MiB 9037 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1380 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1618 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 6423 KiB 14 MiB MLMG::prepareForSolve() 361 361 3222 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 250 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 266 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6410 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 17 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3365 B 2048 KiB Gravity::solve_for_phi() 40 40 591 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 297 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 190 KiB 671 KiB Castro::estTimeStep() 10 10 3649 B 480 KiB VisMF::Write(FabArray) 112 112 1249 B 320 KiB Castro::normalize_species() 30 30 8221 B 320 KiB amrex::average_down 469 469 1371 B 257 KiB MLMG::addInterpCorrection() 468 468 1064 B 257 KiB amrex::Dot() 592 592 3064 B 160 KiB FabArray::norminf() 501 501 3019 B 160 KiB check_for_negative_density() 5 5 324 B 160 KiB MultiFab::max() 6 6 75 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3121 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 261 B 9648 B MLCellLinOp::applyBC() 3820 3820 202 B 9344 B amrex::Copy() 56 56 5845 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 110 B 4576 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 334 B 1248 B MLCGSolver::bicgstab 180 180 85 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1206 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 83 KiB 8192 KiB VisMF::Write(FabArray) 120 120 150 KiB 3584 KiB VisMF::Read() 24 24 211 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3121 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 261 B 9648 B MLCellLinOp::applyBC() 1910 1910 201 B 9328 B amrex::Copy() 56 56 5845 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 110 B 4576 B Gravity::get_old_grav_vector() 3 3 2515 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B MLMG::prepareForSolve() 7 7 790 B 1648 B amrex::average_down 37 37 463 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 501 501 8 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2180 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.03-7-g155f1f4c3f4f) finalized