Initializing AMReX (23.12-21-gef38229189e3)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.12-21-gef38229189e3) initialized Starting run at 08:33:21 UTC on 2023-12-19. Successfully read inputs file ... Castro git describe: 23.12-12-ge65b3b9c2 AMReX git describe: 23.12-21-gef3822918 Microphysics git describe: 23.12-7-g4d7d0299 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.043665848 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.023984223 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.066513235 [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.071490394 [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.077590394 [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.064036885 [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.059482797 [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.043379948 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.049751414 [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.066446436 [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.071263152 [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.061010236 [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.058281261 [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.041687411 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.023987075 seconds Ending run at 08:33:22 UTC on 2023-12-19. Run time = 0.8778364 Run time without initialization = 0.755576211 Average number of zones advanced per microsecond: 3.469 Average number of zones advanced per microsecond per rank: 3.469 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8779 ... 0.8779 ... 0.8779 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2693 0.2693 0.2693 30.68% VisMF::Write(FabArray) 11 0.1683 0.1683 0.1683 19.17% MLCellLinOp::applyBC() 4433 0.07992 0.07992 0.07992 9.10% MLPoisson::Fsmooth() 3280 0.03313 0.03313 0.03313 3.77% FillBoundary_nowait() 4023 0.03067 0.03067 0.03067 3.49% StateData::FillBoundary(geom) 328 0.02561 0.02561 0.02561 2.92% Castro::normalize_species() 62 0.02112 0.02112 0.02112 2.41% amrex::Dot() 1114 0.02072 0.02072 0.02072 2.36% FabArray::norminf() 1061 0.01916 0.01916 0.01916 2.18% Castro::computeTemp() 63 0.01553 0.01553 0.01553 1.77% FabArray::setVal() 1144 0.01345 0.01345 0.01345 1.53% FabArray::ParallelCopy_nowait() 861 0.01317 0.01317 0.01317 1.50% StateDataPhysBCFunct::() 41 0.01287 0.01287 0.01287 1.47% FabArray::Saxpy() 1370 0.01286 0.01286 0.01286 1.47% Castro::enforce_min_density() 62 0.01114 0.01114 0.01114 1.27% amrex::Copy() 472 0.01062 0.01062 0.01062 1.21% MLPoisson::Fapply() 1142 0.0106 0.0106 0.0106 1.21% MLCellLinOp::defineAuxData() 11 0.0102 0.0102 0.0102 1.16% Gravity::fill_multipole_BCs() 11 0.009164 0.009164 0.009164 1.04% FabArray::Xpay() 821 0.008269 0.008269 0.008269 0.94% MLMG::addInterpCorrection() 410 0.006893 0.006893 0.006893 0.79% amrex::average_down 410 0.006097 0.006097 0.006097 0.69% Castro::estTimeStep() 21 0.00589 0.00589 0.00589 0.67% Castro::reset_internal_energy(MultiFab) 63 0.005823 0.005823 0.005823 0.66% Amr::checkPoint() 3 0.005817 0.005817 0.005817 0.66% amrex::Add() 164 0.004386 0.004386 0.004386 0.50% BndryData::define() 11 0.003742 0.003742 0.003742 0.43% Castro::construct_new_gravity_source() 10 0.003366 0.003366 0.003366 0.38% Castro::enforce_speed_limit() 62 0.003126 0.003126 0.003126 0.36% Castro::construct_old_gravity_source() 10 0.003061 0.003061 0.003061 0.35% Amr::writePlotFile() 2 0.002088 0.002088 0.002088 0.24% MLCGSolver::bicgstab 82 0.001911 0.001911 0.001911 0.22% check_for_negative_density() 10 0.001748 0.001748 0.001748 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00173 0.00173 0.00173 0.20% Gravity::actual_solve_with_mlmg() 11 0.001608 0.001608 0.001608 0.18% Castro::reset_internal_energy(Fab) 504 0.001594 0.001594 0.001594 0.18% MLCellLinOp::setLevelBC() 11 0.001547 0.001547 0.001547 0.18% Castro::initData() 1 0.001381 0.001381 0.001381 0.16% FabArray::mult() 43 0.001353 0.001353 0.001353 0.15% FabArray::setDomainBndry() 41 0.001336 0.001336 0.001336 0.15% MLCellLinOp::prepareForSolve() 11 0.001333 0.001333 0.001333 0.15% MultiFab::contains_nan() 20 0.001254 0.001254 0.001254 0.14% MLCellLinOp::smooth() 1640 0.001172 0.001172 0.001172 0.13% MLCellLinOp::compGrad() 11 0.001053 0.001053 0.001053 0.12% MLMG::prepareForSolve() 11 0.0009784 0.0009784 0.0009784 0.11% FabArray::FillBoundary() 4023 0.0008306 0.0008306 0.0008306 0.09% FabArrayBase::getCPC() 1323 0.0007936 0.0007936 0.0007936 0.09% FabArrayBase::CPC::define() 454 0.0007023 0.0007023 0.0007023 0.08% FabArrayBase::getFB() 4023 0.0006238 0.0006238 0.0006238 0.07% Gravity::get_new_grav_vector() 11 0.0005949 0.0005949 0.0005949 0.07% Amr::InitAmr() 1 0.0004893 0.0004893 0.0004893 0.06% Gravity::get_old_grav_vector() 10 0.0004767 0.0004767 0.0004767 0.05% MLCellLinOp::apply() 1142 0.0004642 0.0004642 0.0004642 0.05% AmrLevel::FillPatch() 41 0.0004035 0.0004035 0.0004035 0.05% MLCGSolver::ParallelAllReduce 1832 0.0003469 0.0003469 0.0003469 0.04% Amr::coarseTimeStep() 10 0.0003426 0.0003426 0.0003426 0.04% MultiFab::max() 11 0.0003237 0.0003237 0.0003237 0.04% main() 1 0.0003113 0.0003113 0.0003113 0.04% MLCellLinOp::defineBC() 11 0.0002918 0.0002918 0.0002918 0.03% FabArray::ParallelCopy() 861 0.0002476 0.0002476 0.0002476 0.03% MLCellLinOp::correctionResidual() 492 0.0002129 0.0002129 0.0002129 0.02% FillPatchIterator::Initialize 41 0.0002122 0.0002122 0.0002122 0.02% Castro::subcycle_advance_ctu() 10 0.0001971 0.0001971 0.0001971 0.02% MLMG::mgVcycle() 82 0.0001911 0.0001911 0.0001911 0.02% MLLinOp::defineGrids() 11 0.0001725 0.0001725 0.0001725 0.02% Amr::timeStep() 10 0.0001658 0.0001658 0.0001658 0.02% Castro::create_source_corrector() 10 0.0001622 0.0001622 0.0001622 0.02% StateData::checkPoint() 12 0.0001379 0.0001379 0.0001379 0.02% Gravity::update_max_rhs() 11 0.0001242 0.0001242 0.0001242 0.01% Gravity::solve_for_phi() 10 0.0001196 0.0001196 0.0001196 0.01% MLMG:computeResOfCorrection() 410 0.0001161 0.0001161 0.0001161 0.01% Castro::advance() 10 0.0001039 0.0001039 0.0001039 0.01% MLMG::actualBottomSolve() 82 9.672e-05 9.672e-05 9.672e-05 0.01% FabArrayBase::FB::FB() 56 9.183e-05 9.183e-05 9.183e-05 0.01% MLMG::mgVcycle_down::0 82 9.118e-05 9.118e-05 9.118e-05 0.01% Castro::Castro() 1 8.921e-05 8.921e-05 8.921e-05 0.01% MLMG::mgVcycle_down::1 82 8.801e-05 8.801e-05 8.801e-05 0.01% MLMG::mgVcycle_down::2 82 8.362e-05 8.362e-05 8.362e-05 0.01% MLMG::mgVcycle_down::4 82 8.045e-05 8.045e-05 8.045e-05 0.01% Castro::clean_state() 62 8.039e-05 8.039e-05 8.039e-05 0.01% AmrLevel::checkPoint() 3 7.872e-05 7.872e-05 7.872e-05 0.01% MLMG::mgVcycle_down::3 82 7.737e-05 7.737e-05 7.737e-05 0.01% Castro::initialize_advance() 10 7.54e-05 7.54e-05 7.54e-05 0.01% MLMG::solve() 11 7.37e-05 7.37e-05 7.37e-05 0.01% Castro::construct_new_source() 50 7.364e-05 7.364e-05 7.364e-05 0.01% Castro::enforce_consistent_e() 1 6.982e-05 6.982e-05 6.982e-05 0.01% Castro::finalize_advance() 10 6.639e-05 6.639e-05 6.639e-05 0.01% MLMG::mgVcycle_up::4 82 6.072e-05 6.072e-05 6.072e-05 0.01% Castro::initialize_do_advance() 10 5.971e-05 5.971e-05 5.971e-05 0.01% MLMG::mgVcycle_up::0 82 5.59e-05 5.59e-05 5.59e-05 0.01% MLMG::oneIter() 82 5.378e-05 5.378e-05 5.378e-05 0.01% MLMG::mgVcycle_up::3 82 5.305e-05 5.305e-05 5.305e-05 0.01% MLMG::mgVcycle_up::1 82 5.175e-05 5.175e-05 5.175e-05 0.01% MLCellLinOp::solutionResidual() 93 5.085e-05 5.085e-05 5.085e-05 0.01% MLMG::mgVcycle_up::2 82 5.07e-05 5.07e-05 5.07e-05 0.01% Castro::do_advance_ctu() 10 4.839e-05 4.839e-05 4.839e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.686e-05 4.686e-05 4.686e-05 0.01% Castro::swap_state_time_levels() 10 4.426e-05 4.426e-05 4.426e-05 0.01% StateData::define() 4 4.244e-05 4.244e-05 4.244e-05 0.00% Castro::finalize_do_advance() 10 4.134e-05 4.134e-05 4.134e-05 0.00% Castro::post_timestep() 10 4.097e-05 4.097e-05 4.097e-05 0.00% MLMG::mgVcycle_bottom 82 3.873e-05 3.873e-05 3.873e-05 0.00% Amr::defBaseLevel() 1 3.776e-05 3.776e-05 3.776e-05 0.00% FillPatchSingleLevel 41 3.712e-05 3.712e-05 3.712e-05 0.00% Castro::construct_new_gravity() 10 3.53e-05 3.53e-05 3.53e-05 0.00% MLMG::ResNormInf() 93 3.131e-05 3.131e-05 3.131e-05 0.00% Castro::initMFs() 1 3.089e-05 3.089e-05 3.089e-05 0.00% Amr::writeSmallPlotFile() 1 3.058e-05 3.058e-05 3.058e-05 0.00% MLMG::computeResidual() 82 3.035e-05 3.035e-05 3.035e-05 0.00% makeSFC 55 2.654e-05 2.654e-05 2.654e-05 0.00% Castro::buildMetrics() 1 2.406e-05 2.406e-05 2.406e-05 0.00% Amr::FinalizeInit() 1 2.285e-05 2.285e-05 2.285e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.26e-05 2.26e-05 2.26e-05 0.00% Castro::do_old_sources() 10 2.247e-05 2.247e-05 2.247e-05 0.00% MLPoisson::define() 11 2.189e-05 2.189e-05 2.189e-05 0.00% Castro::construct_old_source() 50 1.944e-05 1.944e-05 1.944e-05 0.00% Castro::do_new_sources() 10 1.884e-05 1.884e-05 1.884e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.869e-05 1.869e-05 1.869e-05 0.00% DistributionMapping::Distribute() 56 1.833e-05 1.833e-05 1.833e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.788e-05 1.788e-05 1.788e-05 0.00% MLPoisson::prepareForSolve() 11 1.472e-05 1.472e-05 1.472e-05 0.00% MLMG::computeMLResidual() 11 1.447e-05 1.447e-05 1.447e-05 0.00% MLLinOp::define() 11 1.432e-05 1.432e-05 1.432e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.417e-05 1.417e-05 1.417e-05 0.00% Castro::check_for_nan() 20 1.292e-05 1.292e-05 1.292e-05 0.00% Amr::initSubcycle() 1 1.182e-05 1.182e-05 1.182e-05 0.00% Castro::apply_source_to_state() 20 1.107e-05 1.107e-05 1.107e-05 0.00% Castro::construct_old_gravity() 10 1.087e-05 1.087e-05 1.087e-05 0.00% Castro::post_init() 1 1.026e-05 1.026e-05 1.026e-05 0.00% Gravity::swapTimeLevels() 10 8.355e-06 8.355e-06 8.355e-06 0.00% Gravity::actual_multilevel_solve() 1 8.008e-06 8.008e-06 8.008e-06 0.00% MLMG::getGradSolution() 11 6.334e-06 6.334e-06 6.334e-06 0.00% Castro::computeNewDt() 9 5.77e-06 5.77e-06 5.77e-06 0.00% Castro::expand_state() 10 5.612e-06 5.612e-06 5.612e-06 0.00% AmrLevel::checkPointPost() 3 5.333e-06 5.333e-06 5.333e-06 0.00% Amr::InitializeInit() 1 4.652e-06 4.652e-06 4.652e-06 0.00% Castro::retry_advance_ctu() 10 4.33e-06 4.33e-06 4.33e-06 0.00% MLMG::MLRhsNormInf() 11 4.181e-06 4.181e-06 4.181e-06 0.00% MLMG::MLResNormInf() 11 3.977e-06 3.977e-06 3.977e-06 0.00% Gravity::set_mass_offset() 11 3.915e-06 3.915e-06 3.915e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.249e-06 3.249e-06 3.249e-06 0.00% Castro::computeInitialDt() 2 3.125e-06 3.125e-06 3.125e-06 0.00% Castro::FluxRegCrseInit 10 2.655e-06 2.655e-06 2.655e-06 0.00% Amr::init() 1 2.602e-06 2.602e-06 2.602e-06 0.00% AmrLevel::checkPointPre() 3 2.189e-06 2.189e-06 2.189e-06 0.00% Castro::FluxRegFineAdd() 10 2.131e-06 2.131e-06 2.131e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.065e-06 2.065e-06 2.065e-06 0.00% Castro::post_regrid() 1 1.187e-06 1.187e-06 1.187e-06 0.00% Amr::initialInit() 1 1.072e-06 1.072e-06 1.072e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8778 0.8778 0.8778 100.00% Amr::coarseTimeStep() 10 0.7313 0.7313 0.7313 83.31% Amr::timeStep() 10 0.6425 0.6425 0.6425 73.19% Castro::advance() 10 0.6312 0.6312 0.6312 71.90% Castro::subcycle_advance_ctu() 10 0.6165 0.6165 0.6165 70.22% Castro::do_advance_ctu() 10 0.6163 0.6163 0.6163 70.20% Gravity::solve_phi_with_mlmg() 11 0.2923 0.2923 0.2923 33.30% Gravity::actual_solve_with_mlmg() 11 0.2827 0.2827 0.2827 32.20% Castro::construct_ctu_hydro_source() 10 0.2796 0.2796 0.2796 31.86% Castro::construct_new_gravity() 10 0.2636 0.2636 0.2636 30.03% MLMG::solve() 11 0.2611 0.2611 0.2611 29.74% Gravity::solve_for_phi() 10 0.2477 0.2477 0.2477 28.22% MLMG::oneIter() 82 0.246 0.246 0.246 28.02% MLMG::mgVcycle() 82 0.2424 0.2424 0.2424 27.61% VisMF::Write(FabArray) 11 0.1683 0.1683 0.1683 19.17% Amr::checkPoint() 3 0.1289 0.1289 0.1289 14.68% AmrLevel::checkPoint() 3 0.123 0.123 0.123 14.01% StateData::checkPoint() 12 0.123 0.123 0.123 14.01% Amr::init() 1 0.1216 0.1216 0.1216 13.86% MLCellLinOp::smooth() 1640 0.1197 0.1197 0.1197 13.63% MLCellLinOp::applyBC() 4433 0.1121 0.1121 0.1121 12.77% MLMG::mgVcycle_bottom 82 0.07498 0.07498 0.07498 8.54% MLMG::actualBottomSolve() 82 0.07494 0.07494 0.07494 8.54% MLCGSolver::bicgstab 82 0.07421 0.07421 0.07421 8.45% Castro::clean_state() 62 0.05739 0.05739 0.05739 6.54% Amr::initialInit() 1 0.05386 0.05386 0.05386 6.14% Amr::FinalizeInit() 1 0.04878 0.04878 0.04878 5.56% AmrLevel::FillPatch() 41 0.04834 0.04834 0.04834 5.51% Amr::writePlotFile() 2 0.04809 0.04809 0.04809 5.48% Castro::post_init() 1 0.04728 0.04728 0.04728 5.39% Gravity::multilevel_solve_for_new_phi() 1 0.04504 0.04504 0.04504 5.13% Gravity::actual_multilevel_solve() 1 0.04502 0.04502 0.04502 5.13% FillPatchIterator::Initialize 41 0.04411 0.04411 0.04411 5.02% FillPatchIterator::FillFromLevel0() 41 0.04256 0.04256 0.04256 4.85% FillPatchSingleLevel 41 0.04251 0.04251 0.04251 4.84% StateDataPhysBCFunct::() 41 0.03848 0.03848 0.03848 4.38% MLCellLinOp::apply() 1142 0.03732 0.03732 0.03732 4.25% MLMG::mgVcycle_down::0 82 0.03427 0.03427 0.03427 3.90% MLPoisson::Fsmooth() 3280 0.03313 0.03313 0.03313 3.77% FabArray::FillBoundary() 4023 0.03221 0.03221 0.03221 3.67% FillBoundary_nowait() 4023 0.03138 0.03138 0.03138 3.58% MLMG::mgVcycle_up::0 82 0.0257 0.0257 0.0257 2.93% StateData::FillBoundary(geom) 328 0.02561 0.02561 0.02561 2.92% Castro::computeTemp() 63 0.02294 0.02294 0.02294 2.61% Castro::initialize_do_advance() 10 0.02273 0.02273 0.02273 2.59% MLCellLinOp::correctionResidual() 492 0.02269 0.02269 0.02269 2.58% Castro::normalize_species() 62 0.02112 0.02112 0.02112 2.41% amrex::Dot() 1114 0.02072 0.02072 0.02072 2.36% MLMG:computeResOfCorrection() 410 0.01996 0.01996 0.01996 2.27% Castro::do_old_sources() 10 0.01959 0.01959 0.01959 2.23% FabArray::norminf() 1061 0.01916 0.01916 0.01916 2.18% Gravity::get_new_grav_vector() 11 0.0177 0.0177 0.0177 2.02% MLPoisson::define() 11 0.01692 0.01692 0.01692 1.93% MLMG::mgVcycle_down::1 82 0.01631 0.01631 0.01631 1.86% MLMG::mgVcycle_down::2 82 0.01513 0.01513 0.01513 1.72% Castro::construct_old_gravity() 10 0.0151 0.0151 0.0151 1.72% Gravity::get_old_grav_vector() 10 0.01509 0.01509 0.01509 1.72% MLMG::mgVcycle_down::3 82 0.01481 0.01481 0.01481 1.69% MLMG::mgVcycle_down::4 82 0.01463 0.01463 0.01463 1.67% FabArray::ParallelCopy() 861 0.01423 0.01423 0.01423 1.62% Castro::initialize_advance() 10 0.01401 0.01401 0.01401 1.60% FabArray::ParallelCopy_nowait() 861 0.01399 0.01399 0.01399 1.59% FabArray::setVal() 1144 0.01345 0.01345 0.01345 1.53% FabArray::Saxpy() 1370 0.01286 0.01286 0.01286 1.47% Castro::expand_state() 10 0.01254 0.01254 0.01254 1.43% MLCGSolver::ParallelAllReduce 1832 0.01248 0.01248 0.01248 1.42% Castro::do_new_sources() 10 0.01228 0.01228 0.01228 1.40% MLMG::addInterpCorrection() 410 0.01199 0.01199 0.01199 1.37% MLMG::mgVcycle_up::1 82 0.01182 0.01182 0.01182 1.35% MLMG::mgVcycle_up::4 82 0.01171 0.01171 0.01171 1.33% MLCellLinOp::defineAuxData() 11 0.01162 0.01162 0.01162 1.32% MLMG::mgVcycle_up::2 82 0.01156 0.01156 0.01156 1.32% MLMG::mgVcycle_up::3 82 0.01131 0.01131 0.01131 1.29% amrex::average_down 410 0.01124 0.01124 0.01124 1.28% Castro::post_timestep() 10 0.0112 0.0112 0.0112 1.28% Castro::enforce_min_density() 62 0.01114 0.01114 0.01114 1.27% amrex::Copy() 472 0.01062 0.01062 0.01062 1.21% MLPoisson::Fapply() 1142 0.0106 0.0106 0.0106 1.21% Gravity::fill_multipole_BCs() 11 0.009394 0.009394 0.009394 1.07% FabArray::Xpay() 821 0.008269 0.008269 0.008269 0.94% MLCellLinOp::solutionResidual() 93 0.007519 0.007519 0.007519 0.86% Castro::reset_internal_energy(MultiFab) 63 0.007417 0.007417 0.007417 0.84% MLMG::computeResidual() 82 0.006229 0.006229 0.006229 0.71% Castro::estTimeStep() 21 0.00589 0.00589 0.00589 0.67% MLMG::prepareForSolve() 11 0.005093 0.005093 0.005093 0.58% Amr::InitializeInit() 1 0.005083 0.005083 0.005083 0.58% Amr::defBaseLevel() 1 0.005079 0.005079 0.005079 0.58% MLCellLinOp::defineBC() 11 0.005031 0.005031 0.005031 0.57% BndryData::define() 11 0.004739 0.004739 0.004739 0.54% Castro::initData() 1 0.004408 0.004408 0.004408 0.50% amrex::Add() 164 0.004386 0.004386 0.004386 0.50% Castro::construct_new_source() 50 0.00344 0.00344 0.00344 0.39% Castro::construct_new_gravity_source() 10 0.003366 0.003366 0.003366 0.38% Castro::enforce_speed_limit() 62 0.003126 0.003126 0.003126 0.36% Castro::construct_old_source() 50 0.003081 0.003081 0.003081 0.35% Castro::construct_old_gravity_source() 10 0.003061 0.003061 0.003061 0.35% Castro::computeNewDt() 9 0.002538 0.002538 0.002538 0.29% Castro::finalize_do_advance() 10 0.002346 0.002346 0.002346 0.27% MLMG::ResNormInf() 93 0.00212 0.00212 0.00212 0.24% Castro::apply_source_to_state() 20 0.001863 0.001863 0.001863 0.21% check_for_negative_density() 10 0.001748 0.001748 0.001748 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00173 0.00173 0.00173 0.20% Castro::reset_internal_energy(Fab) 504 0.001594 0.001594 0.001594 0.18% MLCellLinOp::setLevelBC() 11 0.001547 0.001547 0.001547 0.18% MLMG::getGradSolution() 11 0.001547 0.001547 0.001547 0.18% MLCellLinOp::compGrad() 11 0.00154 0.00154 0.00154 0.18% FabArrayBase::getCPC() 1323 0.001496 0.001496 0.001496 0.17% FabArray::mult() 43 0.001353 0.001353 0.001353 0.15% MLPoisson::prepareForSolve() 11 0.001347 0.001347 0.001347 0.15% FabArray::setDomainBndry() 41 0.001336 0.001336 0.001336 0.15% MLMG::computeMLResidual() 11 0.001335 0.001335 0.001335 0.15% MLCellLinOp::prepareForSolve() 11 0.001333 0.001333 0.001333 0.15% Castro::check_for_nan() 20 0.001267 0.001267 0.001267 0.14% MultiFab::contains_nan() 20 0.001254 0.001254 0.001254 0.14% Castro::post_regrid() 1 0.001186 0.001186 0.001186 0.14% Castro::computeInitialDt() 2 0.001056 0.001056 0.001056 0.12% Gravity::update_max_rhs() 11 0.0009511 0.0009511 0.0009511 0.11% FabArrayBase::getFB() 4023 0.0007156 0.0007156 0.0007156 0.08% FabArrayBase::CPC::define() 454 0.0007023 0.0007023 0.0007023 0.08% Castro::finalize_advance() 10 0.0005874 0.0005874 0.0005874 0.07% Castro::Castro() 1 0.000567 0.000567 0.000567 0.06% Amr::InitAmr() 1 0.0005011 0.0005011 0.0005011 0.06% Gravity::swapTimeLevels() 10 0.000427 0.000427 0.000427 0.05% MLMG::MLResNormInf() 11 0.0003314 0.0003314 0.0003314 0.04% MultiFab::max() 11 0.0003237 0.0003237 0.0003237 0.04% Castro::buildMetrics() 1 0.0002783 0.0002783 0.0002783 0.03% MLLinOp::define() 11 0.0002467 0.0002467 0.0002467 0.03% MLLinOp::defineGrids() 11 0.0002324 0.0002324 0.0002324 0.03% MLMG::MLRhsNormInf() 11 0.0002223 0.0002223 0.0002223 0.03% Castro::create_source_corrector() 10 0.0001622 0.0001622 0.0001622 0.02% FabArrayBase::FB::FB() 56 9.183e-05 9.183e-05 9.183e-05 0.01% Castro::enforce_consistent_e() 1 6.982e-05 6.982e-05 6.982e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.113e-05 6.113e-05 6.113e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.786e-05 5.786e-05 5.786e-05 0.01% Castro::swap_state_time_levels() 10 4.426e-05 4.426e-05 4.426e-05 0.01% makeSFC 55 4.37e-05 4.37e-05 4.37e-05 0.00% StateData::define() 4 4.244e-05 4.244e-05 4.244e-05 0.00% Castro::initMFs() 1 3.089e-05 3.089e-05 3.089e-05 0.00% Amr::writeSmallPlotFile() 1 3.058e-05 3.058e-05 3.058e-05 0.00% DistributionMapping::Distribute() 56 1.833e-05 1.833e-05 1.833e-05 0.00% Amr::initSubcycle() 1 1.182e-05 1.182e-05 1.182e-05 0.00% AmrLevel::checkPointPost() 3 5.333e-06 5.333e-06 5.333e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.414e-06 4.414e-06 4.414e-06 0.00% Castro::retry_advance_ctu() 10 4.33e-06 4.33e-06 4.33e-06 0.00% Gravity::set_mass_offset() 11 3.915e-06 3.915e-06 3.915e-06 0.00% Castro::FluxRegCrseInit 10 2.655e-06 2.655e-06 2.655e-06 0.00% AmrLevel::checkPointPre() 3 2.189e-06 2.189e-06 2.189e-06 0.00% Castro::FluxRegFineAdd() 10 2.131e-06 2.131e-06 2.131e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.065e-06 2.065e-06 2.065e-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 1090 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1528 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7620 KiB 14 MiB MLMG::prepareForSolve() 660 660 3657 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 209 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 176 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7514 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2097 B 2048 KiB Gravity::solve_for_phi() 80 80 577 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 104 KiB 2048 KiB BndryData::define() 1056 1056 334 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 212 KiB 671 KiB Castro::estTimeStep() 21 21 3270 B 480 KiB VisMF::Write(FabArray) 656 656 3463 B 320 KiB Castro::normalize_species() 62 62 7835 B 320 KiB amrex::average_down 1067 1067 1268 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1149 B 257 KiB amrex::Dot() 1360 1360 3471 B 160 KiB FabArray::norminf() 1143 1143 3371 B 160 KiB check_for_negative_density() 10 10 312 B 160 KiB Castro::initData() 1 1 55 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3571 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 305 B 9648 B MLCellLinOp::applyBC() 8866 8866 223 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3936 B 6144 B StateData::FillBoundary(geom) 1992 1992 49 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 492 492 107 B 1280 B MLCellLinOp::defineBC() 66 66 377 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 592 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 42 KiB 8192 KiB VisMF::Write(FabArray) 744 744 410 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3571 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 305 B 9648 B MLCellLinOp::applyBC() 4433 4433 222 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3936 B 6144 B Gravity::get_new_grav_vector() 3 3 2885 B 3072 B StateData::FillBoundary(geom) 1992 1992 50 B 3024 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 270 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 304 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 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): 12056 Free GPU global memory (MB): 2189 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.12-21-gef38229189e3) finalized Initializing AMReX (23.12-21-gef38229189e3)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.12-21-gef38229189e3) initialized Starting run at 08:33:22 UTC on 2023-12-19. Successfully read inputs file ... Castro git describe: 23.12-12-ge65b3b9c2 AMReX git describe: 23.12-21-gef3822918 Microphysics git describe: 23.12-7-g4d7d0299 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.504773062 Restart time = 0.072523846 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.070935577 [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.055970486 [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.069039196 [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.071188048 [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.067710543 [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.034722176 seconds Ending run at 08:33:23 UTC on 2023-12-19. Run time = 0.44322471 Run time without initialization = 0.370092184 Average number of zones advanced per microsecond: 3.542 Average number of zones advanced per microsecond per rank: 3.542 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4433 ... 0.4433 ... 0.4433 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1429 0.1429 0.1429 32.23% VisMF::Read() 3 0.06109 0.06109 0.06109 13.78% MLCellLinOp::applyBC() 1946 0.03506 0.03506 0.03506 7.91% VisMF::Write(FabArray) 1 0.03204 0.03204 0.03204 7.23% MLPoisson::Fsmooth() 1440 0.01441 0.01441 0.01441 3.25% FillBoundary_nowait() 1766 0.01304 0.01304 0.01304 2.94% StateData::FillBoundary(geom) 160 0.01244 0.01244 0.01244 2.81% Castro::normalize_species() 30 0.01085 0.01085 0.01085 2.45% amrex::Dot() 484 0.009069 0.009069 0.009069 2.05% FabArray::norminf() 465 0.008742 0.008742 0.008742 1.97% Castro::computeTemp() 30 0.007196 0.007196 0.007196 1.62% FabArray::setVal() 537 0.006588 0.006588 0.006588 1.49% FabArray::ParallelCopy_nowait() 380 0.006036 0.006036 0.006036 1.36% Castro::enforce_min_density() 30 0.005863 0.005863 0.005863 1.32% FabArray::Saxpy() 597 0.005704 0.005704 0.005704 1.29% MLCellLinOp::defineAuxData() 6 0.005475 0.005475 0.005475 1.24% Gravity::fill_multipole_BCs() 6 0.005419 0.005419 0.005419 1.22% amrex::Copy() 221 0.005312 0.005312 0.005312 1.20% StateDataPhysBCFunct::() 20 0.004881 0.004881 0.004881 1.10% Amr::restart() 1 0.004769 0.004769 0.004769 1.08% MLPoisson::Fapply() 500 0.004668 0.004668 0.004668 1.05% FabArray::Xpay() 361 0.003673 0.003673 0.003673 0.83% Castro::estTimeStep() 10 0.003291 0.003291 0.003291 0.74% MLMG::addInterpCorrection() 180 0.003089 0.003089 0.003089 0.70% amrex::average_down 180 0.002672 0.002672 0.002672 0.60% Amr::writePlotFile() 1 0.002527 0.002527 0.002527 0.57% Castro::reset_internal_energy(MultiFab) 30 0.002341 0.002341 0.002341 0.53% BndryData::define() 6 0.002031 0.002031 0.002031 0.46% amrex::Add() 72 0.001899 0.001899 0.001899 0.43% Castro::construct_new_gravity_source() 5 0.001673 0.001673 0.001673 0.38% Castro::construct_old_gravity_source() 5 0.001513 0.001513 0.001513 0.34% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009473 0.0009473 0.0009473 0.21% Gravity::actual_solve_with_mlmg() 6 0.000869 0.000869 0.000869 0.20% MLCellLinOp::setLevelBC() 6 0.0008574 0.0008574 0.0008574 0.19% check_for_negative_density() 5 0.0008505 0.0008505 0.0008505 0.19% Castro::reset_internal_energy(Fab) 240 0.0008437 0.0008437 0.0008437 0.19% MLCGSolver::bicgstab 36 0.0008154 0.0008154 0.0008154 0.18% MLCellLinOp::prepareForSolve() 6 0.0007407 0.0007407 0.0007407 0.17% FabArray::mult() 22 0.0006801 0.0006801 0.0006801 0.15% FabArray::setDomainBndry() 20 0.0006758 0.0006758 0.0006758 0.15% MultiFab::contains_nan() 10 0.000655 0.000655 0.000655 0.15% Castro::subcycle_advance_ctu() 5 0.0006488 0.0006488 0.0006488 0.15% MLCellLinOp::compGrad() 6 0.0005787 0.0005787 0.0005787 0.13% MLMG::prepareForSolve() 6 0.0005536 0.0005536 0.0005536 0.12% MLCellLinOp::smooth() 720 0.0005175 0.0005175 0.0005175 0.12% Amr::InitAmr() 1 0.0004344 0.0004344 0.0004344 0.10% Castro::enforce_speed_limit() 30 0.0004239 0.0004239 0.0004239 0.10% FabArrayBase::CPC::define() 244 0.0004202 0.0004202 0.0004202 0.09% FabArrayBase::getCPC() 632 0.0003872 0.0003872 0.0003872 0.09% FabArray::FillBoundary() 1766 0.0003813 0.0003813 0.0003813 0.09% main() 1 0.000356 0.000356 0.000356 0.08% FabArrayBase::getFB() 1766 0.0002929 0.0002929 0.0002929 0.07% Gravity::get_old_grav_vector() 5 0.0002889 0.0002889 0.0002889 0.07% Gravity::get_new_grav_vector() 5 0.0002418 0.0002418 0.0002418 0.05% MLCellLinOp::apply() 500 0.0002118 0.0002118 0.0002118 0.05% MultiFab::max() 6 0.000206 0.000206 0.000206 0.05% AmrLevel::FillPatch() 20 0.0001946 0.0001946 0.0001946 0.04% Amr::coarseTimeStep() 5 0.0001781 0.0001781 0.0001781 0.04% MLCellLinOp::defineBC() 6 0.0001535 0.0001535 0.0001535 0.03% MLCGSolver::ParallelAllReduce 798 0.0001445 0.0001445 0.0001445 0.03% Castro::construct_new_source() 25 0.0001297 0.0001297 0.0001297 0.03% FabArray::ParallelCopy() 380 0.0001108 0.0001108 0.0001108 0.02% FillPatchIterator::Initialize 20 0.0001035 0.0001035 0.0001035 0.02% MLLinOp::defineGrids() 6 9.98e-05 9.98e-05 9.98e-05 0.02% MLMG::mgVcycle() 36 9.134e-05 9.134e-05 9.134e-05 0.02% Amr::timeStep() 5 9.097e-05 9.097e-05 9.097e-05 0.02% Castro::create_source_corrector() 5 9.072e-05 9.072e-05 9.072e-05 0.02% MLCellLinOp::correctionResidual() 216 8.806e-05 8.806e-05 8.806e-05 0.02% AmrLevel::restart() 1 8.328e-05 8.328e-05 8.328e-05 0.02% Castro::do_new_sources() 5 7.807e-05 7.807e-05 7.807e-05 0.02% StateData::restartDoit() 4 6.742e-05 6.742e-05 6.742e-05 0.02% Gravity::update_max_rhs() 6 6.455e-05 6.455e-05 6.455e-05 0.01% FabArrayBase::FB::FB() 26 5.95e-05 5.95e-05 5.95e-05 0.01% Castro::advance() 5 5.808e-05 5.808e-05 5.808e-05 0.01% Gravity::solve_for_phi() 5 5.339e-05 5.339e-05 5.339e-05 0.01% MLMG:computeResOfCorrection() 180 5.141e-05 5.141e-05 5.141e-05 0.01% Castro::initialize_do_advance() 5 4.89e-05 4.89e-05 4.89e-05 0.01% Castro::finalize_do_advance() 5 4.494e-05 4.494e-05 4.494e-05 0.01% MLMG::actualBottomSolve() 36 4.3e-05 4.3e-05 4.3e-05 0.01% MLMG::mgVcycle_down::0 36 3.932e-05 3.932e-05 3.932e-05 0.01% Castro::post_timestep() 5 3.758e-05 3.758e-05 3.758e-05 0.01% MLMG::mgVcycle_down::1 36 3.662e-05 3.662e-05 3.662e-05 0.01% Castro::finalize_advance() 5 3.545e-05 3.545e-05 3.545e-05 0.01% MLMG::solve() 6 3.517e-05 3.517e-05 3.517e-05 0.01% Amr::writeSmallPlotFile() 1 3.505e-05 3.505e-05 3.505e-05 0.01% MLMG::mgVcycle_down::2 36 3.501e-05 3.501e-05 3.501e-05 0.01% Castro::initialize_advance() 5 3.48e-05 3.48e-05 3.48e-05 0.01% MLMG::mgVcycle_down::4 36 3.455e-05 3.455e-05 3.455e-05 0.01% Castro::construct_old_source() 25 3.339e-05 3.339e-05 3.339e-05 0.01% MLMG::mgVcycle_down::3 36 3.325e-05 3.325e-05 3.325e-05 0.01% FillPatchIterator::FillFromLevel0() 20 3.272e-05 3.272e-05 3.272e-05 0.01% Castro::clean_state() 30 3.219e-05 3.219e-05 3.219e-05 0.01% Castro::post_restart() 1 2.882e-05 2.882e-05 2.882e-05 0.01% MLMG::mgVcycle_up::4 36 2.739e-05 2.739e-05 2.739e-05 0.01% Castro::buildMetrics() 1 2.688e-05 2.688e-05 2.688e-05 0.01% Castro::initMFs() 1 2.408e-05 2.408e-05 2.408e-05 0.01% Castro::do_advance_ctu() 5 2.393e-05 2.393e-05 2.393e-05 0.01% MLMG::oneIter() 36 2.367e-05 2.367e-05 2.367e-05 0.01% Castro::swap_state_time_levels() 5 2.348e-05 2.348e-05 2.348e-05 0.01% MLCellLinOp::solutionResidual() 42 2.236e-05 2.236e-05 2.236e-05 0.01% MLMG::mgVcycle_up::3 36 2.227e-05 2.227e-05 2.227e-05 0.01% MLMG::mgVcycle_up::0 36 2.209e-05 2.209e-05 2.209e-05 0.00% MLMG::mgVcycle_up::2 36 2.106e-05 2.106e-05 2.106e-05 0.00% MLMG::mgVcycle_up::1 36 2.002e-05 2.002e-05 2.002e-05 0.00% Castro::construct_new_gravity() 5 1.822e-05 1.822e-05 1.822e-05 0.00% MLMG::ResNormInf() 42 1.705e-05 1.705e-05 1.705e-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.594e-05 1.594e-05 1.594e-05 0.00% FillPatchSingleLevel 20 1.523e-05 1.523e-05 1.523e-05 0.00% makeSFC 30 1.5e-05 1.5e-05 1.5e-05 0.00% MLPoisson::define() 6 1.446e-05 1.446e-05 1.446e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.389e-05 1.389e-05 1.389e-05 0.00% MLMG::computeResidual() 36 1.329e-05 1.329e-05 1.329e-05 0.00% Castro::do_old_sources() 5 1.151e-05 1.151e-05 1.151e-05 0.00% MLPoisson::prepareForSolve() 6 1.059e-05 1.059e-05 1.059e-05 0.00% MLMG::computeMLResidual() 6 9.627e-06 9.627e-06 9.627e-06 0.00% DistributionMapping::Distribute() 31 9.415e-06 9.415e-06 9.415e-06 0.00% Amr::initSubcycle() 1 9.067e-06 9.067e-06 9.067e-06 0.00% Gravity::actual_multilevel_solve() 1 8.107e-06 8.107e-06 8.107e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.09e-06 7.09e-06 7.09e-06 0.00% MLLinOp::define() 6 6.567e-06 6.567e-06 6.567e-06 0.00% Castro::check_for_nan() 10 6.3e-06 6.3e-06 6.3e-06 0.00% Castro::apply_source_to_state() 10 5.917e-06 5.917e-06 5.917e-06 0.00% Castro::construct_old_gravity() 5 5.905e-06 5.905e-06 5.905e-06 0.00% Gravity::swapTimeLevels() 5 4.057e-06 4.057e-06 4.057e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.277e-06 3.277e-06 3.277e-06 0.00% MLMG::getGradSolution() 6 3.148e-06 3.148e-06 3.148e-06 0.00% Castro::expand_state() 5 3.106e-06 3.106e-06 3.106e-06 0.00% Castro::computeNewDt() 5 3.048e-06 3.048e-06 3.048e-06 0.00% MLMG::MLResNormInf() 6 2.543e-06 2.543e-06 2.543e-06 0.00% Gravity::set_mass_offset() 6 2.17e-06 2.17e-06 2.17e-06 0.00% MLMG::MLRhsNormInf() 6 2.101e-06 2.101e-06 2.101e-06 0.00% Castro::retry_advance_ctu() 5 2.07e-06 2.07e-06 2.07e-06 0.00% Castro::FluxRegCrseInit 5 1.459e-06 1.459e-06 1.459e-06 0.00% Castro::FluxRegFineAdd() 5 1.281e-06 1.281e-06 1.281e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.107e-06 1.107e-06 1.107e-06 0.00% Amr::init() 1 1.056e-06 1.056e-06 1.056e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4432 0.4432 0.4432 99.99% Amr::coarseTimeStep() 5 0.335 0.335 0.335 75.58% Amr::timeStep() 5 0.3331 0.3331 0.3331 75.14% Castro::advance() 5 0.3277 0.3277 0.3277 73.94% Castro::subcycle_advance_ctu() 5 0.3205 0.3205 0.3205 72.31% Castro::do_advance_ctu() 5 0.3199 0.3199 0.3199 72.16% Castro::construct_ctu_hydro_source() 5 0.1478 0.1478 0.1478 33.34% Castro::construct_new_gravity() 5 0.1348 0.1348 0.1348 30.41% Gravity::solve_phi_with_mlmg() 6 0.1324 0.1324 0.1324 29.86% Gravity::solve_for_phi() 5 0.1268 0.1268 0.1268 28.60% Gravity::actual_solve_with_mlmg() 6 0.1267 0.1267 0.1267 28.58% MLMG::solve() 6 0.115 0.115 0.115 25.93% MLMG::oneIter() 36 0.1075 0.1075 0.1075 24.25% MLMG::mgVcycle() 36 0.1059 0.1059 0.1059 23.90% Amr::init() 1 0.07257 0.07257 0.07257 16.37% Amr::restart() 1 0.07257 0.07257 0.07257 16.37% AmrLevel::restart() 1 0.06145 0.06145 0.06145 13.86% StateData::restartDoit() 4 0.06136 0.06136 0.06136 13.84% VisMF::Read() 3 0.06109 0.06109 0.06109 13.78% MLCellLinOp::smooth() 720 0.05184 0.05184 0.05184 11.70% MLCellLinOp::applyBC() 1946 0.04884 0.04884 0.04884 11.02% Amr::writePlotFile() 1 0.03482 0.03482 0.03482 7.85% MLMG::mgVcycle_bottom 36 0.03304 0.03304 0.03304 7.45% MLMG::actualBottomSolve() 36 0.03302 0.03302 0.03302 7.45% MLCGSolver::bicgstab 36 0.0327 0.0327 0.0327 7.38% VisMF::Write(FabArray) 1 0.03204 0.03204 0.03204 7.23% Castro::clean_state() 30 0.02755 0.02755 0.02755 6.21% AmrLevel::FillPatch() 20 0.02225 0.02225 0.02225 5.02% FillPatchIterator::Initialize 20 0.02017 0.02017 0.02017 4.55% FillPatchIterator::FillFromLevel0() 20 0.01939 0.01939 0.01939 4.37% FillPatchSingleLevel 20 0.01936 0.01936 0.01936 4.37% StateDataPhysBCFunct::() 20 0.01732 0.01732 0.01732 3.91% MLCellLinOp::apply() 500 0.01653 0.01653 0.01653 3.73% MLMG::mgVcycle_down::0 36 0.01481 0.01481 0.01481 3.34% MLPoisson::Fsmooth() 1440 0.01441 0.01441 0.01441 3.25% FabArray::FillBoundary() 1766 0.01378 0.01378 0.01378 3.11% FillBoundary_nowait() 1766 0.0134 0.0134 0.0134 3.02% StateData::FillBoundary(geom) 160 0.01244 0.01244 0.01244 2.81% MLMG::mgVcycle_up::0 36 0.01113 0.01113 0.01113 2.51% Castro::normalize_species() 30 0.01085 0.01085 0.01085 2.45% Castro::initialize_do_advance() 5 0.01059 0.01059 0.01059 2.39% Castro::computeTemp() 30 0.01038 0.01038 0.01038 2.34% MLCellLinOp::correctionResidual() 216 0.009937 0.009937 0.009937 2.24% Castro::do_old_sources() 5 0.009915 0.009915 0.009915 2.24% MLPoisson::define() 6 0.009166 0.009166 0.009166 2.07% amrex::Dot() 484 0.009069 0.009069 0.009069 2.05% MLMG:computeResOfCorrection() 180 0.008744 0.008744 0.008744 1.97% FabArray::norminf() 465 0.008742 0.008742 0.008742 1.97% Gravity::get_new_grav_vector() 5 0.007889 0.007889 0.007889 1.78% Castro::construct_old_gravity() 5 0.007475 0.007475 0.007475 1.69% Gravity::get_old_grav_vector() 5 0.00747 0.00747 0.00747 1.69% Castro::do_new_sources() 5 0.007288 0.007288 0.007288 1.64% MLMG::mgVcycle_down::1 36 0.007173 0.007173 0.007173 1.62% Castro::initialize_advance() 5 0.006872 0.006872 0.006872 1.55% MLMG::mgVcycle_down::2 36 0.006614 0.006614 0.006614 1.49% FabArray::setVal() 537 0.006588 0.006588 0.006588 1.49% FabArray::ParallelCopy() 380 0.006548 0.006548 0.006548 1.48% MLMG::mgVcycle_down::3 36 0.006498 0.006498 0.006498 1.47% FabArray::ParallelCopy_nowait() 380 0.006437 0.006437 0.006437 1.45% MLMG::mgVcycle_down::4 36 0.006373 0.006373 0.006373 1.44% MLCellLinOp::defineAuxData() 6 0.006253 0.006253 0.006253 1.41% Castro::post_restart() 1 0.006184 0.006184 0.006184 1.40% Castro::enforce_min_density() 30 0.005863 0.005863 0.005863 1.32% Gravity::multilevel_solve_for_new_phi() 1 0.005811 0.005811 0.005811 1.31% Gravity::actual_multilevel_solve() 1 0.005794 0.005794 0.005794 1.31% FabArray::Saxpy() 597 0.005704 0.005704 0.005704 1.29% Gravity::fill_multipole_BCs() 6 0.00555 0.00555 0.00555 1.25% Castro::expand_state() 5 0.005545 0.005545 0.005545 1.25% MLCGSolver::ParallelAllReduce 798 0.005535 0.005535 0.005535 1.25% MLMG::addInterpCorrection() 180 0.005325 0.005325 0.005325 1.20% amrex::Copy() 221 0.005312 0.005312 0.005312 1.20% Castro::post_timestep() 5 0.005216 0.005216 0.005216 1.18% MLMG::mgVcycle_up::4 36 0.005173 0.005173 0.005173 1.17% MLMG::mgVcycle_up::1 36 0.005109 0.005109 0.005109 1.15% MLMG::mgVcycle_up::2 36 0.004997 0.004997 0.004997 1.13% amrex::average_down 180 0.004964 0.004964 0.004964 1.12% MLMG::mgVcycle_up::3 36 0.004919 0.004919 0.004919 1.11% MLPoisson::Fapply() 500 0.004668 0.004668 0.004668 1.05% FabArray::Xpay() 361 0.003673 0.003673 0.003673 0.83% MLCellLinOp::solutionResidual() 42 0.003519 0.003519 0.003519 0.79% Castro::estTimeStep() 10 0.003291 0.003291 0.003291 0.74% Castro::reset_internal_energy(MultiFab) 30 0.003185 0.003185 0.003185 0.72% MLMG::prepareForSolve() 6 0.002818 0.002818 0.002818 0.64% MLCellLinOp::defineBC() 6 0.00276 0.00276 0.00276 0.62% MLMG::computeResidual() 36 0.002748 0.002748 0.002748 0.62% BndryData::define() 6 0.002607 0.002607 0.002607 0.59% amrex::Add() 72 0.001899 0.001899 0.001899 0.43% Castro::construct_new_source() 25 0.001803 0.001803 0.001803 0.41% Castro::computeNewDt() 5 0.001779 0.001779 0.001779 0.40% Castro::construct_new_gravity_source() 5 0.001673 0.001673 0.001673 0.38% Castro::finalize_do_advance() 5 0.00156 0.00156 0.00156 0.35% Castro::construct_old_source() 25 0.001546 0.001546 0.001546 0.35% Castro::construct_old_gravity_source() 5 0.001513 0.001513 0.001513 0.34% Castro::apply_source_to_state() 10 0.0009621 0.0009621 0.0009621 0.22% MLMG::ResNormInf() 42 0.0009616 0.0009616 0.0009616 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009473 0.0009473 0.0009473 0.21% MLMG::getGradSolution() 6 0.0008606 0.0008606 0.0008606 0.19% MLCellLinOp::setLevelBC() 6 0.0008574 0.0008574 0.0008574 0.19% MLCellLinOp::compGrad() 6 0.0008574 0.0008574 0.0008574 0.19% check_for_negative_density() 5 0.0008505 0.0008505 0.0008505 0.19% Castro::reset_internal_energy(Fab) 240 0.0008437 0.0008437 0.0008437 0.19% FabArrayBase::getCPC() 632 0.0008073 0.0008073 0.0008073 0.18% MLMG::computeMLResidual() 6 0.0007938 0.0007938 0.0007938 0.18% MLPoisson::prepareForSolve() 6 0.0007513 0.0007513 0.0007513 0.17% MLCellLinOp::prepareForSolve() 6 0.0007407 0.0007407 0.0007407 0.17% Gravity::update_max_rhs() 6 0.0007023 0.0007023 0.0007023 0.16% FabArray::mult() 22 0.0006801 0.0006801 0.0006801 0.15% FabArray::setDomainBndry() 20 0.0006758 0.0006758 0.0006758 0.15% Castro::check_for_nan() 10 0.0006613 0.0006613 0.0006613 0.15% MultiFab::contains_nan() 10 0.000655 0.000655 0.000655 0.15% Amr::InitAmr() 1 0.0004435 0.0004435 0.0004435 0.10% Castro::enforce_speed_limit() 30 0.0004239 0.0004239 0.0004239 0.10% FabArrayBase::CPC::define() 244 0.0004202 0.0004202 0.0004202 0.09% FabArrayBase::getFB() 1766 0.0003524 0.0003524 0.0003524 0.08% Castro::finalize_advance() 5 0.0002947 0.0002947 0.0002947 0.07% Gravity::swapTimeLevels() 5 0.0002251 0.0002251 0.0002251 0.05% MultiFab::max() 6 0.000206 0.000206 0.000206 0.05% MLMG::MLResNormInf() 6 0.0001876 0.0001876 0.0001876 0.04% Castro::buildMetrics() 1 0.0001462 0.0001462 0.0001462 0.03% MLLinOp::define() 6 0.0001377 0.0001377 0.0001377 0.03% MLLinOp::defineGrids() 6 0.0001311 0.0001311 0.0001311 0.03% MLMG::MLRhsNormInf() 6 0.0001193 0.0001193 0.0001193 0.03% Castro::create_source_corrector() 5 9.072e-05 9.072e-05 9.072e-05 0.02% FabArrayBase::FB::FB() 26 5.95e-05 5.95e-05 5.95e-05 0.01% Amr::writeSmallPlotFile() 1 3.505e-05 3.505e-05 3.505e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.021e-05 3.021e-05 3.021e-05 0.01% Castro::initMFs() 1 2.408e-05 2.408e-05 2.408e-05 0.01% Castro::swap_state_time_levels() 5 2.348e-05 2.348e-05 2.348e-05 0.01% makeSFC 30 2.312e-05 2.312e-05 2.312e-05 0.01% DistributionMapping::Distribute() 31 9.415e-06 9.415e-06 9.415e-06 0.00% Amr::initSubcycle() 1 9.067e-06 9.067e-06 9.067e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.573e-06 4.573e-06 4.573e-06 0.00% Gravity::set_mass_offset() 6 2.17e-06 2.17e-06 2.17e-06 0.00% Castro::retry_advance_ctu() 5 2.07e-06 2.07e-06 2.07e-06 0.00% Castro::FluxRegCrseInit 5 1.459e-06 1.459e-06 1.459e-06 0.00% Castro::FluxRegFineAdd() 5 1.281e-06 1.281e-06 1.281e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.107e-06 1.107e-06 1.107e-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 177 MiB 9042 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 979 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2123 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 6433 KiB 14 MiB MLMG::prepareForSolve() 361 361 3183 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 174 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 182 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6420 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 21 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3144 B 2048 KiB Gravity::solve_for_phi() 40 40 584 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 293 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 188 KiB 671 KiB Castro::estTimeStep() 10 10 3535 B 480 KiB VisMF::Write(FabArray) 112 112 2364 B 320 KiB Castro::normalize_species() 30 30 7972 B 320 KiB amrex::average_down 469 469 1076 B 257 KiB MLMG::addInterpCorrection() 468 468 1016 B 257 KiB amrex::Dot() 592 592 3009 B 160 KiB FabArray::norminf() 501 501 3026 B 160 KiB check_for_negative_density() 5 5 307 B 160 KiB MultiFab::max() 6 6 72 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3086 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 254 B 9648 B MLCellLinOp::applyBC() 3892 3892 194 B 9344 B amrex::Copy() 56 56 5541 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 39 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 216 216 93 B 1280 B MLCellLinOp::defineBC() 36 36 329 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1100 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 84 KiB 8192 KiB VisMF::Write(FabArray) 120 120 201 KiB 3584 KiB VisMF::Read() 24 24 207 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3086 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 254 B 9648 B MLCellLinOp::applyBC() 1946 1946 193 B 9328 B amrex::Copy() 56 56 5541 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2517 B 3072 B StateData::FillBoundary(geom) 960 960 39 B 3024 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 493 B 1296 B amrex::average_down 37 37 202 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 501 501 8 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2189 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.12-21-gef38229189e3) finalized