Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-24-g27ef4ea56945) initialized Starting run at 07:36:56 UTC on 2023-04-17. Successfully read inputs file ... Castro git describe: 23.04-15-g519fc5457 AMReX git describe: 23.04-24-g27ef4ea56 Microphysics git describe: 23.04-4-gabda4ae3 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.057315975 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033026519 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.046866051 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.049179039 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.048869975 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.048406852 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.074504117 [STEP 5] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.057144249 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.073170305 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.055849152 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.047221753 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.04597343 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.062405148 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.05691849 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033238574 seconds Ending run at 07:36:57 UTC on 2023-04-17. Run time = 0.838977936 Run time without initialization = 0.700420768 Average number of zones advanced per microsecond: 3.743 Average number of zones advanced per microsecond per rank: 3.743 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.839 ... 0.839 ... 0.839 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2307 0.2307 0.2307 27.49% Castro::construct_ctu_hydro_source() 10 0.1955 0.1955 0.1955 23.30% MLCellLinOp::applyBC() 4433 0.07552 0.07552 0.07552 9.00% MLPoisson::Fsmooth() 3280 0.03163 0.03163 0.03163 3.77% FillBoundary_nowait() 4023 0.03104 0.03104 0.03104 3.70% StateData::FillBoundary(geom) 328 0.02369 0.02369 0.02369 2.82% amrex::Dot() 1114 0.02003 0.02003 0.02003 2.39% StateDataPhysBCFunct::() 41 0.01628 0.01628 0.01628 1.94% amrex::Copy() 1029 0.01465 0.01465 0.01465 1.75% Castro::computeTemp() 63 0.01438 0.01438 0.01438 1.71% Castro::normalize_species() 62 0.01437 0.01437 0.01437 1.71% FabArray::norminf() 743 0.01403 0.01403 0.01403 1.67% FabArray::ParallelCopy_nowait() 861 0.01309 0.01309 0.01309 1.56% FabArray::setVal() 1144 0.01288 0.01288 0.01288 1.53% MLPoisson::Fapply() 1142 0.01017 0.01017 0.01017 1.21% MLCellLinOp::defineAuxData() 11 0.009338 0.009338 0.009338 1.11% Castro::enforce_min_density() 62 0.008315 0.008315 0.008315 0.99% FabArray::Saxpy() 813 0.008028 0.008028 0.008028 0.96% FabArray::Xpay() 821 0.0079 0.0079 0.0079 0.94% Castro::estTimeStep() 21 0.006842 0.006842 0.006842 0.82% MLMG::addInterpCorrection() 410 0.006728 0.006728 0.006728 0.80% Gravity::fill_multipole_BCs() 11 0.006642 0.006642 0.006642 0.79% amrex::average_down 410 0.005848 0.005848 0.005848 0.70% Castro::reset_internal_energy(MultiFab) 63 0.004607 0.004607 0.004607 0.55% FabArray::LinComb() 557 0.004407 0.004407 0.004407 0.53% amrex::Add() 164 0.004339 0.004339 0.004339 0.52% Amr::checkPoint() 3 0.004045 0.004045 0.004045 0.48% BndryData::define() 11 0.003537 0.003537 0.003537 0.42% Castro::construct_new_gravity_source() 10 0.003326 0.003326 0.003326 0.40% Castro::construct_old_gravity_source() 10 0.002887 0.002887 0.002887 0.34% Castro::do_advance_ctu() 10 0.002566 0.002566 0.002566 0.31% Amr::writePlotFile() 2 0.002434 0.002434 0.002434 0.29% MLCGSolver::bicgstab 82 0.002214 0.002214 0.002214 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001665 0.001665 0.001665 0.20% Castro::reset_internal_energy(Fab) 504 0.001481 0.001481 0.001481 0.18% Gravity::actual_solve_with_mlmg() 11 0.001465 0.001465 0.001465 0.17% MLCellLinOp::setLevelBC() 11 0.001359 0.001359 0.001359 0.16% FabArray::mult() 43 0.001307 0.001307 0.001307 0.16% FabArray::setDomainBndry() 41 0.001279 0.001279 0.001279 0.15% Castro::initData() 1 0.001256 0.001256 0.001256 0.15% MultiFab::contains_nan() 20 0.001195 0.001195 0.001195 0.14% MLCellLinOp::prepareForSolve() 11 0.001108 0.001108 0.001108 0.13% MLCellLinOp::smooth() 1640 0.001069 0.001069 0.001069 0.13% Castro::enforce_speed_limit() 62 0.0009777 0.0009777 0.0009777 0.12% MLCellLinOp::compGrad() 11 0.0008919 0.0008919 0.0008919 0.11% MLMG::prepareForSolve() 11 0.0008636 0.0008636 0.0008636 0.10% FabArray::FillBoundary() 4023 0.0008178 0.0008178 0.0008178 0.10% FabArrayBase::getCPC() 1323 0.0007313 0.0007313 0.0007313 0.09% FabArrayBase::CPC::define() 454 0.0006636 0.0006636 0.0006636 0.08% Gravity::get_new_grav_vector() 11 0.0006343 0.0006343 0.0006343 0.08% FabArrayBase::getFB() 4023 0.0005896 0.0005896 0.0005896 0.07% Gravity::get_old_grav_vector() 10 0.0005436 0.0005436 0.0005436 0.06% Amr::InitAmr() 1 0.0004819 0.0004819 0.0004819 0.06% MLCellLinOp::apply() 1142 0.0004816 0.0004816 0.0004816 0.06% Amr::coarseTimeStep() 10 0.0003941 0.0003941 0.0003941 0.05% MLMG::mgVcycle() 82 0.0003726 0.0003726 0.0003726 0.04% MLLinOp::defineGrids() 11 0.0003574 0.0003574 0.0003574 0.04% MLCGSolver::ParallelAllReduce 1514 0.0002999 0.0002999 0.0002999 0.04% main() 1 0.000288 0.000288 0.000288 0.03% MultiFab::max() 11 0.0002736 0.0002736 0.0002736 0.03% FabArray::ParallelCopy() 861 0.0002435 0.0002435 0.0002435 0.03% FillPatchIterator::Initialize 41 0.0002354 0.0002354 0.0002354 0.03% MLCellLinOp::correctionResidual() 492 0.0002213 0.0002213 0.0002213 0.03% Castro::subcycle_advance_ctu() 10 0.0002178 0.0002178 0.0002178 0.03% MLCellLinOp::defineBC() 11 0.0002125 0.0002125 0.0002125 0.03% Amr::timeStep() 10 0.00016 0.00016 0.00016 0.02% StateData::checkPoint() 12 0.0001414 0.0001414 0.0001414 0.02% Castro::create_source_corrector() 10 0.0001411 0.0001411 0.0001411 0.02% Gravity::update_max_rhs() 11 0.0001226 0.0001226 0.0001226 0.01% MLMG:computeResOfCorrection() 410 0.0001181 0.0001181 0.0001181 0.01% Gravity::solve_for_phi() 10 0.0001109 0.0001109 0.0001109 0.01% MLMG::actualBottomSolve() 82 9.019e-05 9.019e-05 9.019e-05 0.01% MLMG::mgVcycle_down::0 82 8.801e-05 8.801e-05 8.801e-05 0.01% Castro::Castro() 1 8.72e-05 8.72e-05 8.72e-05 0.01% FabArrayBase::FB::FB() 56 8.666e-05 8.666e-05 8.666e-05 0.01% MLMG::mgVcycle_down::2 82 7.778e-05 7.778e-05 7.778e-05 0.01% AmrLevel::checkPoint() 3 7.762e-05 7.762e-05 7.762e-05 0.01% Castro::expand_state() 10 7.762e-05 7.762e-05 7.762e-05 0.01% MLMG::mgVcycle_down::1 82 7.64e-05 7.64e-05 7.64e-05 0.01% MLMG::solve() 11 7.438e-05 7.438e-05 7.438e-05 0.01% MLMG::mgVcycle_down::3 82 7.291e-05 7.291e-05 7.291e-05 0.01% Castro::clean_state() 62 7.238e-05 7.238e-05 7.238e-05 0.01% Castro::initialize_advance() 10 7.181e-05 7.181e-05 7.181e-05 0.01% MLMG::mgVcycle_down::4 82 7.117e-05 7.117e-05 7.117e-05 0.01% Castro::construct_new_source() 50 6.219e-05 6.219e-05 6.219e-05 0.01% Castro::advance() 10 5.942e-05 5.942e-05 5.942e-05 0.01% MLMG::mgVcycle_up::4 82 5.892e-05 5.892e-05 5.892e-05 0.01% Castro::finalize_advance() 10 5.887e-05 5.887e-05 5.887e-05 0.01% MLMG::oneIter() 82 5.357e-05 5.357e-05 5.357e-05 0.01% MLMG::mgVcycle_up::0 82 5.197e-05 5.197e-05 5.197e-05 0.01% Castro::initialize_do_advance() 10 5.187e-05 5.187e-05 5.187e-05 0.01% MLCellLinOp::solutionResidual() 93 5.046e-05 5.046e-05 5.046e-05 0.01% MLMG::mgVcycle_up::1 82 4.76e-05 4.76e-05 4.76e-05 0.01% MLMG::mgVcycle_up::3 82 4.723e-05 4.723e-05 4.723e-05 0.01% MLMG::mgVcycle_up::2 82 4.645e-05 4.645e-05 4.645e-05 0.01% Castro::swap_state_time_levels() 10 4.038e-05 4.038e-05 4.038e-05 0.00% Castro::finalize_do_advance() 10 3.662e-05 3.662e-05 3.662e-05 0.00% StateData::define() 4 3.353e-05 3.353e-05 3.353e-05 0.00% MLMG::computeResidual() 82 3.338e-05 3.338e-05 3.338e-05 0.00% Castro::enforce_consistent_e() 1 3.252e-05 3.252e-05 3.252e-05 0.00% MLMG::ResNormInf() 93 3.163e-05 3.163e-05 3.163e-05 0.00% FillPatchSingleLevel 41 2.96e-05 2.96e-05 2.96e-05 0.00% MLMG::mgVcycle_bottom 82 2.842e-05 2.842e-05 2.842e-05 0.00% Castro::construct_new_gravity() 10 2.452e-05 2.452e-05 2.452e-05 0.00% Amr::writeSmallPlotFile() 1 2.424e-05 2.424e-05 2.424e-05 0.00% Castro::initMFs() 1 2.395e-05 2.395e-05 2.395e-05 0.00% makeSFC 55 2.334e-05 2.334e-05 2.334e-05 0.00% MLPoisson::define() 11 2.187e-05 2.187e-05 2.187e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.114e-05 2.114e-05 2.114e-05 0.00% Amr::FinalizeInit() 1 1.97e-05 1.97e-05 1.97e-05 0.00% Amr::defBaseLevel() 1 1.929e-05 1.929e-05 1.929e-05 0.00% Castro::construct_old_source() 50 1.879e-05 1.879e-05 1.879e-05 0.00% Castro::buildMetrics() 1 1.711e-05 1.711e-05 1.711e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.7e-05 1.7e-05 1.7e-05 0.00% Castro::do_new_sources() 10 1.644e-05 1.644e-05 1.644e-05 0.00% DistributionMapping::Distribute() 56 1.6e-05 1.6e-05 1.6e-05 0.00% Castro::do_old_sources() 10 1.464e-05 1.464e-05 1.464e-05 0.00% MLPoisson::prepareForSolve() 11 1.421e-05 1.421e-05 1.421e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.396e-05 1.396e-05 1.396e-05 0.00% MLMG::computeMLResidual() 11 1.265e-05 1.265e-05 1.265e-05 0.00% Castro::apply_source_to_state() 20 1.068e-05 1.068e-05 1.068e-05 0.00% MLLinOp::define() 11 1.038e-05 1.038e-05 1.038e-05 0.00% Castro::check_for_nan() 20 1.037e-05 1.037e-05 1.037e-05 0.00% Castro::construct_old_gravity() 10 9.489e-06 9.489e-06 9.489e-06 0.00% AmrLevel::AmrLevel(dm) 1 9.32e-06 9.32e-06 9.32e-06 0.00% Castro::computeNewDt() 9 8.406e-06 8.406e-06 8.406e-06 0.00% Amr::initSubcycle() 1 8.379e-06 8.379e-06 8.379e-06 0.00% Gravity::swapTimeLevels() 10 7.939e-06 7.939e-06 7.939e-06 0.00% Gravity::actual_multilevel_solve() 1 7.575e-06 7.575e-06 7.575e-06 0.00% Castro::post_timestep() 10 7.183e-06 7.183e-06 7.183e-06 0.00% MLMG::getGradSolution() 11 6.029e-06 6.029e-06 6.029e-06 0.00% Gravity::set_mass_offset() 11 4.543e-06 4.543e-06 4.543e-06 0.00% Amr::InitializeInit() 1 4.482e-06 4.482e-06 4.482e-06 0.00% AmrLevel::checkPointPost() 3 4.409e-06 4.409e-06 4.409e-06 0.00% Castro::post_init() 1 4.262e-06 4.262e-06 4.262e-06 0.00% MLMG::MLRhsNormInf() 11 4.03e-06 4.03e-06 4.03e-06 0.00% Castro::retry_advance_ctu() 10 3.722e-06 3.722e-06 3.722e-06 0.00% MLMG::MLResNormInf() 11 3.522e-06 3.522e-06 3.522e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.963e-06 2.963e-06 2.963e-06 0.00% Castro::FluxRegCrseInit 10 2.924e-06 2.924e-06 2.924e-06 0.00% Castro::computeInitialDt() 2 2.569e-06 2.569e-06 2.569e-06 0.00% Amr::init() 1 2.06e-06 2.06e-06 2.06e-06 0.00% Castro::FluxRegFineAdd() 10 1.957e-06 1.957e-06 1.957e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.764e-06 1.764e-06 1.764e-06 0.00% AmrLevel::checkPointPre() 3 1.503e-06 1.503e-06 1.503e-06 0.00% Amr::initialInit() 1 9.2e-07 9.2e-07 9.2e-07 0.00% Castro::post_regrid() 1 7.57e-07 7.57e-07 7.57e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.839 0.839 0.839 100.00% Amr::coarseTimeStep() 10 0.667 0.667 0.667 79.50% Amr::timeStep() 10 0.5477 0.5477 0.5477 65.28% Castro::advance() 10 0.5401 0.5401 0.5401 64.38% Castro::subcycle_advance_ctu() 10 0.5291 0.5291 0.5291 63.06% Castro::do_advance_ctu() 10 0.5288 0.5288 0.5288 63.03% Gravity::solve_phi_with_mlmg() 11 0.2786 0.2786 0.2786 33.20% Gravity::actual_solve_with_mlmg() 11 0.2714 0.2714 0.2714 32.35% Castro::construct_new_gravity() 10 0.2544 0.2544 0.2544 30.32% MLMG::solve() 11 0.2515 0.2515 0.2515 29.97% Gravity::solve_for_phi() 10 0.239 0.239 0.239 28.48% MLMG::oneIter() 82 0.2374 0.2374 0.2374 28.29% MLMG::mgVcycle() 82 0.2337 0.2337 0.2337 27.86% VisMF::Write(FabArray) 11 0.2307 0.2307 0.2307 27.49% Castro::construct_ctu_hydro_source() 10 0.1955 0.1955 0.1955 23.30% Amr::checkPoint() 3 0.1715 0.1715 0.1715 20.44% AmrLevel::checkPoint() 3 0.1675 0.1675 0.1675 19.96% StateData::checkPoint() 12 0.1674 0.1674 0.1674 19.95% Amr::init() 1 0.1379 0.1379 0.1379 16.44% MLCellLinOp::smooth() 1640 0.1152 0.1152 0.1152 13.74% MLCellLinOp::applyBC() 4433 0.1081 0.1081 0.1081 12.88% MLMG::mgVcycle_bottom 82 0.07204 0.07204 0.07204 8.59% MLMG::actualBottomSolve() 82 0.07202 0.07202 0.07202 8.58% MLCGSolver::bicgstab 82 0.07133 0.07133 0.07133 8.50% Amr::writePlotFile() 2 0.06639 0.06639 0.06639 7.91% Amr::initialInit() 1 0.04747 0.04747 0.04747 5.66% FillPatchIterator::Initialize 41 0.04555 0.04555 0.04555 5.43% FillPatchSingleLevel 41 0.04404 0.04404 0.04404 5.25% Amr::FinalizeInit() 1 0.04342 0.04342 0.04342 5.18% Castro::clean_state() 62 0.04335 0.04335 0.04335 5.17% Castro::post_init() 1 0.04201 0.04201 0.04201 5.01% Gravity::multilevel_solve_for_new_phi() 1 0.03999 0.03999 0.03999 4.77% Gravity::actual_multilevel_solve() 1 0.03997 0.03997 0.03997 4.76% StateDataPhysBCFunct::() 41 0.03997 0.03997 0.03997 4.76% MLCellLinOp::apply() 1142 0.03569 0.03569 0.03569 4.25% MLMG::mgVcycle_down::0 82 0.03357 0.03357 0.03357 4.00% FabArray::FillBoundary() 4023 0.03253 0.03253 0.03253 3.88% FillBoundary_nowait() 4023 0.03172 0.03172 0.03172 3.78% MLPoisson::Fsmooth() 3280 0.03163 0.03163 0.03163 3.77% MLMG::mgVcycle_up::0 82 0.02539 0.02539 0.02539 3.03% StateData::FillBoundary(geom) 328 0.02369 0.02369 0.02369 2.82% Castro::initialize_do_advance() 10 0.02233 0.02233 0.02233 2.66% MLCellLinOp::correctionResidual() 492 0.02183 0.02183 0.02183 2.60% Castro::computeTemp() 63 0.02047 0.02047 0.02047 2.44% amrex::Dot() 1114 0.02003 0.02003 0.02003 2.39% MLMG:computeResOfCorrection() 410 0.01923 0.01923 0.01923 2.29% Gravity::get_new_grav_vector() 11 0.0171 0.0171 0.0171 2.04% MLPoisson::define() 11 0.0158 0.0158 0.0158 1.88% MLMG::mgVcycle_down::1 82 0.01547 0.01547 0.01547 1.84% Castro::construct_old_gravity() 10 0.01501 0.01501 0.01501 1.79% Gravity::get_old_grav_vector() 10 0.015 0.015 0.015 1.79% amrex::Copy() 1029 0.01465 0.01465 0.01465 1.75% Castro::expand_state() 10 0.0146 0.0146 0.0146 1.74% MLMG::mgVcycle_down::2 82 0.01445 0.01445 0.01445 1.72% Castro::normalize_species() 62 0.01437 0.01437 0.01437 1.71% FabArray::ParallelCopy() 861 0.01412 0.01412 0.01412 1.68% MLMG::mgVcycle_down::3 82 0.0141 0.0141 0.0141 1.68% FabArray::norminf() 743 0.01403 0.01403 0.01403 1.67% MLMG::mgVcycle_down::4 82 0.01393 0.01393 0.01393 1.66% FabArray::ParallelCopy_nowait() 861 0.01388 0.01388 0.01388 1.65% FabArray::setVal() 1144 0.01288 0.01288 0.01288 1.53% Castro::do_new_sources() 10 0.01238 0.01238 0.01238 1.48% MLCGSolver::ParallelAllReduce 1514 0.01204 0.01204 0.01204 1.43% MLMG::addInterpCorrection() 410 0.01174 0.01174 0.01174 1.40% MLMG::mgVcycle_up::4 82 0.01133 0.01133 0.01133 1.35% MLMG::mgVcycle_up::1 82 0.01125 0.01125 0.01125 1.34% MLMG::mgVcycle_up::2 82 0.01101 0.01101 0.01101 1.31% amrex::average_down 410 0.01091 0.01091 0.01091 1.30% MLMG::mgVcycle_up::3 82 0.0108 0.0108 0.0108 1.29% Castro::do_old_sources() 10 0.01066 0.01066 0.01066 1.27% MLCellLinOp::defineAuxData() 11 0.01064 0.01064 0.01064 1.27% Castro::initialize_advance() 10 0.01045 0.01045 0.01045 1.25% MLPoisson::Fapply() 1142 0.01017 0.01017 0.01017 1.21% Castro::enforce_min_density() 62 0.008315 0.008315 0.008315 0.99% FabArray::Saxpy() 813 0.008028 0.008028 0.008028 0.96% FabArray::Xpay() 821 0.0079 0.0079 0.0079 0.94% Castro::post_timestep() 10 0.00743 0.00743 0.00743 0.89% MLCellLinOp::solutionResidual() 93 0.007089 0.007089 0.007089 0.84% Gravity::fill_multipole_BCs() 11 0.006898 0.006898 0.006898 0.82% Castro::estTimeStep() 21 0.006842 0.006842 0.006842 0.82% MLMG::computeResidual() 82 0.006127 0.006127 0.006127 0.73% Castro::reset_internal_energy(MultiFab) 63 0.006088 0.006088 0.006088 0.73% MLCellLinOp::defineBC() 11 0.004713 0.004713 0.004713 0.56% MLMG::prepareForSolve() 11 0.004573 0.004573 0.004573 0.55% BndryData::define() 11 0.0045 0.0045 0.0045 0.54% FabArray::LinComb() 557 0.004407 0.004407 0.004407 0.53% amrex::Add() 164 0.004339 0.004339 0.004339 0.52% Amr::InitializeInit() 1 0.004046 0.004046 0.004046 0.48% Amr::defBaseLevel() 1 0.004041 0.004041 0.004041 0.48% Castro::computeNewDt() 9 0.003952 0.003952 0.003952 0.47% Castro::initData() 1 0.003533 0.003533 0.003533 0.42% Castro::construct_new_source() 50 0.003388 0.003388 0.003388 0.40% Castro::construct_new_gravity_source() 10 0.003326 0.003326 0.003326 0.40% Castro::construct_old_source() 50 0.002906 0.002906 0.002906 0.35% Castro::construct_old_gravity_source() 10 0.002887 0.002887 0.002887 0.34% MLMG::ResNormInf() 93 0.002065 0.002065 0.002065 0.25% Castro::apply_source_to_state() 20 0.001817 0.001817 0.001817 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001665 0.001665 0.001665 0.20% Castro::reset_internal_energy(Fab) 504 0.001481 0.001481 0.001481 0.18% FabArrayBase::getCPC() 1323 0.001395 0.001395 0.001395 0.17% MLMG::getGradSolution() 11 0.001368 0.001368 0.001368 0.16% MLCellLinOp::compGrad() 11 0.001362 0.001362 0.001362 0.16% MLCellLinOp::setLevelBC() 11 0.001359 0.001359 0.001359 0.16% FabArray::mult() 43 0.001307 0.001307 0.001307 0.16% FabArray::setDomainBndry() 41 0.001279 0.001279 0.001279 0.15% Castro::check_for_nan() 20 0.001205 0.001205 0.001205 0.14% MultiFab::contains_nan() 20 0.001195 0.001195 0.001195 0.14% Castro::post_regrid() 1 0.001173 0.001173 0.001173 0.14% MLPoisson::prepareForSolve() 11 0.001122 0.001122 0.001122 0.13% MLCellLinOp::prepareForSolve() 11 0.001108 0.001108 0.001108 0.13% MLMG::computeMLResidual() 11 0.001008 0.001008 0.001008 0.12% Castro::enforce_speed_limit() 62 0.0009777 0.0009777 0.0009777 0.12% Castro::computeInitialDt() 2 0.0009706 0.0009706 0.0009706 0.12% Gravity::update_max_rhs() 11 0.0008354 0.0008354 0.0008354 0.10% FabArrayBase::getFB() 4023 0.0006762 0.0006762 0.0006762 0.08% FabArrayBase::CPC::define() 454 0.0006636 0.0006636 0.0006636 0.08% Castro::finalize_advance() 10 0.000573 0.000573 0.000573 0.07% Amr::InitAmr() 1 0.0004903 0.0004903 0.0004903 0.06% Castro::Castro() 1 0.0004417 0.0004417 0.0004417 0.05% Gravity::swapTimeLevels() 10 0.00043 0.00043 0.00043 0.05% MLLinOp::define() 11 0.0004217 0.0004217 0.0004217 0.05% MLLinOp::defineGrids() 11 0.0004114 0.0004114 0.0004114 0.05% MLMG::MLResNormInf() 11 0.0002831 0.0002831 0.0002831 0.03% MultiFab::max() 11 0.0002736 0.0002736 0.0002736 0.03% MLMG::MLRhsNormInf() 11 0.0002238 0.0002238 0.0002238 0.03% Castro::buildMetrics() 1 0.0001583 0.0001583 0.0001583 0.02% Castro::create_source_corrector() 10 0.0001411 0.0001411 0.0001411 0.02% FabArrayBase::FB::FB() 56 8.666e-05 8.666e-05 8.666e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.22e-05 5.22e-05 5.22e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.285e-05 4.285e-05 4.285e-05 0.01% Castro::swap_state_time_levels() 10 4.038e-05 4.038e-05 4.038e-05 0.00% makeSFC 55 3.823e-05 3.823e-05 3.823e-05 0.00% Castro::finalize_do_advance() 10 3.662e-05 3.662e-05 3.662e-05 0.00% StateData::define() 4 3.353e-05 3.353e-05 3.353e-05 0.00% Castro::enforce_consistent_e() 1 3.252e-05 3.252e-05 3.252e-05 0.00% Amr::writeSmallPlotFile() 1 2.424e-05 2.424e-05 2.424e-05 0.00% Castro::initMFs() 1 2.395e-05 2.395e-05 2.395e-05 0.00% DistributionMapping::Distribute() 56 1.6e-05 1.6e-05 1.6e-05 0.00% Amr::initSubcycle() 1 8.379e-06 8.379e-06 8.379e-06 0.00% Gravity::set_mass_offset() 11 4.543e-06 4.543e-06 4.543e-06 0.00% AmrLevel::checkPointPost() 3 4.409e-06 4.409e-06 4.409e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.064e-06 4.064e-06 4.064e-06 0.00% Castro::retry_advance_ctu() 10 3.722e-06 3.722e-06 3.722e-06 0.00% Castro::FluxRegCrseInit 10 2.924e-06 2.924e-06 2.924e-06 0.00% Castro::FluxRegFineAdd() 10 1.957e-06 1.957e-06 1.957e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.764e-06 1.764e-06 1.764e-06 0.00% AmrLevel::checkPointPre() 3 1.503e-06 1.503e-06 1.503e-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 97 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 110 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1231 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2221 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7613 KiB 14 MiB MLMG::prepareForSolve() 660 660 3687 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 211 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 183 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7522 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 13 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1904 B 2048 KiB Gravity::solve_for_phi() 80 80 582 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 97 KiB 2048 KiB BndryData::define() 1056 1056 336 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 213 KiB 671 KiB Castro::estTimeStep() 21 21 3089 B 480 KiB VisMF::Write(FabArray) 656 656 3495 B 320 KiB Castro::normalize_species() 62 62 5572 B 320 KiB amrex::average_down 1067 1067 1291 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1192 B 257 KiB amrex::Dot() 1360 1360 3519 B 160 KiB FabArray::norminf() 907 907 2477 B 160 KiB Castro::do_advance_ctu() 10 10 453 B 160 KiB MultiFab::max() 11 11 48 B 160 KiB Castro::initData() 1 1 28 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3605 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 47 B 10 KiB FillBoundary_nowait() 760 760 324 B 9648 B MLCellLinOp::applyBC() 8866 8866 233 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3845 B 6144 B StateData::FillBoundary(geom) 1992 1992 61 B 2976 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 123 B 1472 B MLCellLinOp::defineBC() 66 66 379 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 644 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 52 KiB 8192 KiB VisMF::Write(FabArray) 744 744 638 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3605 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 47 B 10 KiB FillBoundary_nowait() 760 760 323 B 9648 B MLCellLinOp::applyBC() 4433 4433 232 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3845 B 6144 B Gravity::get_new_grav_vector() 3 3 2899 B 3072 B StateData::FillBoundary(geom) 1992 1992 62 B 2976 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 307 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 907 907 18 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2459 [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.04-24-g27ef4ea56945) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-24-g27ef4ea56945) initialized Starting run at 07:36:58 UTC on 2023-04-17. Successfully read inputs file ... Castro git describe: 23.04-15-g519fc5457 AMReX git describe: 23.04-24-g27ef4ea56 Microphysics git describe: 23.04-4-gabda4ae3 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.463539416 Restart time = 0.085611566 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.050796536 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.067311554 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.063622705 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.065739468 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.070973271 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.039793854 seconds Ending run at 07:36:58 UTC on 2023-04-17. Run time = 0.444925425 Run time without initialization = 0.358714874 Average number of zones advanced per microsecond: 3.654 Average number of zones advanced per microsecond per rank: 3.654 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.445 ... 0.445 ... 0.445 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1356 0.1356 0.1356 30.47% Amr::restart() 1 0.04189 0.04189 0.04189 9.41% VisMF::Read() 3 0.04009 0.04009 0.04009 9.01% VisMF::Write(FabArray) 1 0.03814 0.03814 0.03814 8.57% MLCellLinOp::applyBC() 1946 0.03228 0.03228 0.03228 7.25% MLPoisson::Fsmooth() 1440 0.01357 0.01357 0.01357 3.05% FillBoundary_nowait() 1766 0.01269 0.01269 0.01269 2.85% StateData::FillBoundary(geom) 160 0.01162 0.01162 0.01162 2.61% Castro::normalize_species() 30 0.009019 0.009019 0.009019 2.03% amrex::Dot() 484 0.008428 0.008428 0.008428 1.89% amrex::Copy() 463 0.006784 0.006784 0.006784 1.52% Castro::enforce_min_density() 30 0.006524 0.006524 0.006524 1.47% Castro::computeTemp() 30 0.006098 0.006098 0.006098 1.37% FabArray::setVal() 537 0.00607 0.00607 0.00607 1.36% FabArray::norminf() 326 0.005971 0.005971 0.005971 1.34% FabArray::ParallelCopy_nowait() 380 0.00586 0.00586 0.00586 1.32% StateDataPhysBCFunct::() 20 0.005677 0.005677 0.005677 1.28% MLCellLinOp::defineAuxData() 6 0.004984 0.004984 0.004984 1.12% MLPoisson::Fapply() 500 0.004279 0.004279 0.004279 0.96% FabArray::Saxpy() 355 0.003547 0.003547 0.003547 0.80% FabArray::Xpay() 361 0.00339 0.00339 0.00339 0.76% Gravity::fill_multipole_BCs() 6 0.003128 0.003128 0.003128 0.70% MLMG::addInterpCorrection() 180 0.002922 0.002922 0.002922 0.66% Castro::estTimeStep() 10 0.002764 0.002764 0.002764 0.62% amrex::average_down 180 0.002523 0.002523 0.002523 0.57% Castro::reset_internal_energy(MultiFab) 30 0.002306 0.002306 0.002306 0.52% BndryData::define() 6 0.00192 0.00192 0.00192 0.43% FabArray::LinComb() 242 0.001846 0.001846 0.001846 0.41% amrex::Add() 72 0.001834 0.001834 0.001834 0.41% Castro::construct_new_gravity_source() 5 0.001828 0.001828 0.001828 0.41% Castro::do_advance_ctu() 5 0.001793 0.001793 0.001793 0.40% Castro::enforce_speed_limit() 30 0.001784 0.001784 0.001784 0.40% Amr::writePlotFile() 1 0.001502 0.001502 0.001502 0.34% Castro::construct_old_gravity_source() 5 0.001459 0.001459 0.001459 0.33% MLCGSolver::bicgstab 36 0.0009705 0.0009705 0.0009705 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008849 0.0008849 0.0008849 0.20% Castro::create_source_corrector() 5 0.0008821 0.0008821 0.0008821 0.20% Gravity::actual_solve_with_mlmg() 6 0.0007781 0.0007781 0.0007781 0.17% MLCellLinOp::setLevelBC() 6 0.0007237 0.0007237 0.0007237 0.16% Castro::reset_internal_energy(Fab) 240 0.0006467 0.0006467 0.0006467 0.15% FabArray::setDomainBndry() 20 0.0006411 0.0006411 0.0006411 0.14% FabArray::mult() 22 0.0006375 0.0006375 0.0006375 0.14% MultiFab::contains_nan() 10 0.0005958 0.0005958 0.0005958 0.13% MLCellLinOp::prepareForSolve() 6 0.0005878 0.0005878 0.0005878 0.13% MLCellLinOp::smooth() 720 0.0004803 0.0004803 0.0004803 0.11% MLCellLinOp::compGrad() 6 0.0004791 0.0004791 0.0004791 0.11% MLMG::prepareForSolve() 6 0.0004746 0.0004746 0.0004746 0.11% FabArrayBase::CPC::define() 244 0.0004021 0.0004021 0.0004021 0.09% Amr::InitAmr() 1 0.0004007 0.0004007 0.0004007 0.09% FabArray::FillBoundary() 1766 0.0003804 0.0003804 0.0003804 0.09% FabArrayBase::getCPC() 632 0.0003577 0.0003577 0.0003577 0.08% main() 1 0.0003233 0.0003233 0.0003233 0.07% Gravity::get_old_grav_vector() 5 0.0002982 0.0002982 0.0002982 0.07% Gravity::get_new_grav_vector() 5 0.00027 0.00027 0.00027 0.06% FabArrayBase::getFB() 1766 0.0002537 0.0002537 0.0002537 0.06% MLCellLinOp::apply() 500 0.0002058 0.0002058 0.0002058 0.05% MLLinOp::defineGrids() 6 0.0001715 0.0001715 0.0001715 0.04% Castro::construct_new_source() 25 0.0001661 0.0001661 0.0001661 0.04% MLMG::mgVcycle() 36 0.000165 0.000165 0.000165 0.04% Amr::coarseTimeStep() 5 0.0001647 0.0001647 0.0001647 0.04% MultiFab::max() 6 0.0001382 0.0001382 0.0001382 0.03% MLCGSolver::ParallelAllReduce 659 0.0001324 0.0001324 0.0001324 0.03% FillPatchIterator::Initialize 20 0.0001176 0.0001176 0.0001176 0.03% MLCellLinOp::defineBC() 6 0.0001149 0.0001149 0.0001149 0.03% FabArray::ParallelCopy() 380 0.0001082 0.0001082 0.0001082 0.02% MLCellLinOp::correctionResidual() 216 9.781e-05 9.781e-05 9.781e-05 0.02% Castro::post_timestep() 5 9.111e-05 9.111e-05 9.111e-05 0.02% Castro::initialize_do_advance() 5 8.667e-05 8.667e-05 8.667e-05 0.02% Amr::timeStep() 5 8.119e-05 8.119e-05 8.119e-05 0.02% AmrLevel::restart() 1 7.307e-05 7.307e-05 7.307e-05 0.02% Castro::construct_old_source() 25 7.197e-05 7.197e-05 7.197e-05 0.02% Gravity::update_max_rhs() 6 6.034e-05 6.034e-05 6.034e-05 0.01% FabArrayBase::FB::FB() 26 5.86e-05 5.86e-05 5.86e-05 0.01% StateData::restartDoit() 4 5.851e-05 5.851e-05 5.851e-05 0.01% Castro::initialize_advance() 5 5.687e-05 5.687e-05 5.687e-05 0.01% Castro::advance() 5 5.239e-05 5.239e-05 5.239e-05 0.01% Castro::subcycle_advance_ctu() 5 5.119e-05 5.119e-05 5.119e-05 0.01% Gravity::solve_for_phi() 5 5.058e-05 5.058e-05 5.058e-05 0.01% Castro::expand_state() 5 4.71e-05 4.71e-05 4.71e-05 0.01% MLMG:computeResOfCorrection() 180 4.692e-05 4.692e-05 4.692e-05 0.01% MLMG::mgVcycle_down::0 36 4.142e-05 4.142e-05 4.142e-05 0.01% MLMG::actualBottomSolve() 36 4.114e-05 4.114e-05 4.114e-05 0.01% Castro::construct_old_gravity() 5 4.081e-05 4.081e-05 4.081e-05 0.01% MLMG::mgVcycle_down::1 36 3.648e-05 3.648e-05 3.648e-05 0.01% Amr::writeSmallPlotFile() 1 3.609e-05 3.609e-05 3.609e-05 0.01% MLMG::solve() 6 3.513e-05 3.513e-05 3.513e-05 0.01% Castro::clean_state() 30 3.427e-05 3.427e-05 3.427e-05 0.01% MLMG::mgVcycle_down::2 36 3.373e-05 3.373e-05 3.373e-05 0.01% MLMG::mgVcycle_down::4 36 3.323e-05 3.323e-05 3.323e-05 0.01% MLMG::mgVcycle_down::3 36 3.205e-05 3.205e-05 3.205e-05 0.01% Castro::finalize_advance() 5 2.864e-05 2.864e-05 2.864e-05 0.01% MLMG::mgVcycle_up::4 36 2.863e-05 2.863e-05 2.863e-05 0.01% Castro::buildMetrics() 1 2.648e-05 2.648e-05 2.648e-05 0.01% Castro::initMFs() 1 2.548e-05 2.548e-05 2.548e-05 0.01% MLMG::oneIter() 36 2.468e-05 2.468e-05 2.468e-05 0.01% MLMG::mgVcycle_up::0 36 2.393e-05 2.393e-05 2.393e-05 0.01% Castro::swap_state_time_levels() 5 2.37e-05 2.37e-05 2.37e-05 0.01% MLCellLinOp::solutionResidual() 42 2.32e-05 2.32e-05 2.32e-05 0.01% MLMG::mgVcycle_up::3 36 2.161e-05 2.161e-05 2.161e-05 0.00% MLMG::mgVcycle_up::2 36 2.051e-05 2.051e-05 2.051e-05 0.00% Castro::post_restart() 1 1.991e-05 1.991e-05 1.991e-05 0.00% MLMG::mgVcycle_up::1 36 1.966e-05 1.966e-05 1.966e-05 0.00% Castro::finalize_do_advance() 5 1.94e-05 1.94e-05 1.94e-05 0.00% MLMG::ResNormInf() 42 1.721e-05 1.721e-05 1.721e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.549e-05 1.549e-05 1.549e-05 0.00% MLPoisson::define() 6 1.456e-05 1.456e-05 1.456e-05 0.00% FillPatchSingleLevel 20 1.435e-05 1.435e-05 1.435e-05 0.00% MLMG::computeResidual() 36 1.433e-05 1.433e-05 1.433e-05 0.00% MLMG::mgVcycle_bottom 36 1.34e-05 1.34e-05 1.34e-05 0.00% makeSFC 30 1.254e-05 1.254e-05 1.254e-05 0.00% Castro::construct_new_gravity() 5 1.245e-05 1.245e-05 1.245e-05 0.00% Castro::check_for_nan() 10 1.195e-05 1.195e-05 1.195e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.131e-05 1.131e-05 1.131e-05 0.00% MLPoisson::prepareForSolve() 6 1.048e-05 1.048e-05 1.048e-05 0.00% Castro::do_new_sources() 5 9.706e-06 9.706e-06 9.706e-06 0.00% MLMG::computeMLResidual() 6 8.619e-06 8.619e-06 8.619e-06 0.00% Amr::initSubcycle() 1 8.617e-06 8.617e-06 8.617e-06 0.00% DistributionMapping::Distribute() 31 8.535e-06 8.535e-06 8.535e-06 0.00% Castro::do_old_sources() 5 8.188e-06 8.188e-06 8.188e-06 0.00% Gravity::actual_multilevel_solve() 1 7.83e-06 7.83e-06 7.83e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.797e-06 7.797e-06 7.797e-06 0.00% MLLinOp::define() 6 5.505e-06 5.505e-06 5.505e-06 0.00% Castro::apply_source_to_state() 10 5.289e-06 5.289e-06 5.289e-06 0.00% Gravity::swapTimeLevels() 5 3.8e-06 3.8e-06 3.8e-06 0.00% Castro::computeNewDt() 5 3.428e-06 3.428e-06 3.428e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.159e-06 3.159e-06 3.159e-06 0.00% MLMG::getGradSolution() 6 3.149e-06 3.149e-06 3.149e-06 0.00% Gravity::set_mass_offset() 6 2.581e-06 2.581e-06 2.581e-06 0.00% MLMG::MLRhsNormInf() 6 2.28e-06 2.28e-06 2.28e-06 0.00% MLMG::MLResNormInf() 6 2.099e-06 2.099e-06 2.099e-06 0.00% Castro::retry_advance_ctu() 5 1.68e-06 1.68e-06 1.68e-06 0.00% Castro::FluxRegCrseInit 5 1.386e-06 1.386e-06 1.386e-06 0.00% Castro::FluxRegFineAdd() 5 1.178e-06 1.178e-06 1.178e-06 0.00% Amr::init() 1 1.146e-06 1.146e-06 1.146e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.26e-07 9.26e-07 9.26e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4449 0.4449 0.4449 100.00% Amr::coarseTimeStep() 5 0.3186 0.3186 0.3186 71.60% Amr::timeStep() 5 0.3165 0.3165 0.3165 71.13% Castro::advance() 5 0.3112 0.3112 0.3112 69.94% Castro::subcycle_advance_ctu() 5 0.3039 0.3039 0.3039 68.30% Castro::do_advance_ctu() 5 0.3039 0.3039 0.3039 68.29% Castro::construct_ctu_hydro_source() 5 0.1356 0.1356 0.1356 30.47% Castro::construct_new_gravity() 5 0.1262 0.1262 0.1262 28.37% Gravity::solve_phi_with_mlmg() 6 0.1214 0.1214 0.1214 27.28% Gravity::solve_for_phi() 5 0.1184 0.1184 0.1184 26.61% Gravity::actual_solve_with_mlmg() 6 0.118 0.118 0.118 26.52% MLMG::solve() 6 0.1073 0.1073 0.1073 24.11% MLMG::oneIter() 36 0.1006 0.1006 0.1006 22.60% MLMG::mgVcycle() 36 0.09902 0.09902 0.09902 22.25% Amr::init() 1 0.08567 0.08567 0.08567 19.25% Amr::restart() 1 0.08567 0.08567 0.08567 19.25% MLCellLinOp::smooth() 720 0.04873 0.04873 0.04873 10.95% MLCellLinOp::applyBC() 1946 0.04566 0.04566 0.04566 10.26% AmrLevel::restart() 1 0.04028 0.04028 0.04028 9.05% StateData::restartDoit() 4 0.0402 0.0402 0.0402 9.03% VisMF::Read() 3 0.04009 0.04009 0.04009 9.01% Amr::writePlotFile() 1 0.0399 0.0399 0.0399 8.97% VisMF::Write(FabArray) 1 0.03814 0.03814 0.03814 8.57% MLMG::mgVcycle_bottom 36 0.03045 0.03045 0.03045 6.84% MLMG::actualBottomSolve() 36 0.03044 0.03044 0.03044 6.84% MLCGSolver::bicgstab 36 0.03015 0.03015 0.03015 6.78% Castro::clean_state() 30 0.02641 0.02641 0.02641 5.94% FillPatchIterator::Initialize 20 0.02009 0.02009 0.02009 4.51% FillPatchSingleLevel 20 0.01933 0.01933 0.01933 4.34% StateDataPhysBCFunct::() 20 0.0173 0.0173 0.0173 3.89% MLCellLinOp::apply() 500 0.01521 0.01521 0.01521 3.42% MLMG::mgVcycle_down::0 36 0.01403 0.01403 0.01403 3.15% MLPoisson::Fsmooth() 1440 0.01357 0.01357 0.01357 3.05% FabArray::FillBoundary() 1766 0.01338 0.01338 0.01338 3.01% FillBoundary_nowait() 1766 0.013 0.013 0.013 2.92% StateData::FillBoundary(geom) 160 0.01162 0.01162 0.01162 2.61% MLMG::mgVcycle_up::0 36 0.01064 0.01064 0.01064 2.39% Castro::initialize_do_advance() 5 0.009921 0.009921 0.009921 2.23% MLCellLinOp::correctionResidual() 216 0.009244 0.009244 0.009244 2.08% Castro::computeTemp() 30 0.00905 0.00905 0.00905 2.03% Castro::normalize_species() 30 0.009019 0.009019 0.009019 2.03% MLPoisson::define() 6 0.008503 0.008503 0.008503 1.91% amrex::Dot() 484 0.008428 0.008428 0.008428 1.89% MLMG:computeResOfCorrection() 180 0.008112 0.008112 0.008112 1.82% Castro::do_new_sources() 5 0.007755 0.007755 0.007755 1.74% Gravity::get_new_grav_vector() 5 0.007733 0.007733 0.007733 1.74% Castro::construct_old_gravity() 5 0.007496 0.007496 0.007496 1.68% Gravity::get_old_grav_vector() 5 0.007455 0.007455 0.007455 1.68% Castro::initialize_advance() 5 0.006949 0.006949 0.006949 1.56% amrex::Copy() 463 0.006784 0.006784 0.006784 1.52% MLMG::mgVcycle_down::1 36 0.00665 0.00665 0.00665 1.49% Castro::enforce_min_density() 30 0.006524 0.006524 0.006524 1.47% FabArray::ParallelCopy() 380 0.006348 0.006348 0.006348 1.43% FabArray::ParallelCopy_nowait() 380 0.00624 0.00624 0.00624 1.40% MLMG::mgVcycle_down::2 36 0.006146 0.006146 0.006146 1.38% FabArray::setVal() 537 0.00607 0.00607 0.00607 1.36% MLMG::mgVcycle_down::3 36 0.006006 0.006006 0.006006 1.35% FabArray::norminf() 326 0.005971 0.005971 0.005971 1.34% MLMG::mgVcycle_down::4 36 0.005937 0.005937 0.005937 1.33% Castro::do_old_sources() 5 0.005904 0.005904 0.005904 1.33% MLCellLinOp::defineAuxData() 6 0.005694 0.005694 0.005694 1.28% Castro::expand_state() 5 0.005636 0.005636 0.005636 1.27% Castro::post_timestep() 5 0.005225 0.005225 0.005225 1.17% MLCGSolver::ParallelAllReduce 659 0.005092 0.005092 0.005092 1.14% MLMG::addInterpCorrection() 180 0.005079 0.005079 0.005079 1.14% MLMG::mgVcycle_up::4 36 0.004849 0.004849 0.004849 1.09% MLMG::mgVcycle_up::1 36 0.004812 0.004812 0.004812 1.08% MLMG::mgVcycle_up::2 36 0.004712 0.004712 0.004712 1.06% amrex::average_down 180 0.0047 0.0047 0.0047 1.06% MLMG::mgVcycle_up::3 36 0.004624 0.004624 0.004624 1.04% MLPoisson::Fapply() 500 0.004279 0.004279 0.004279 0.96% FabArray::Saxpy() 355 0.003547 0.003547 0.003547 0.80% FabArray::Xpay() 361 0.00339 0.00339 0.00339 0.76% Castro::post_restart() 1 0.003319 0.003319 0.003319 0.75% Gravity::fill_multipole_BCs() 6 0.003249 0.003249 0.003249 0.73% Gravity::multilevel_solve_for_new_phi() 1 0.003213 0.003213 0.003213 0.72% Gravity::actual_multilevel_solve() 1 0.003197 0.003197 0.003197 0.72% MLCellLinOp::solutionResidual() 42 0.003162 0.003162 0.003162 0.71% Castro::reset_internal_energy(MultiFab) 30 0.002952 0.002952 0.002952 0.66% Castro::estTimeStep() 10 0.002764 0.002764 0.002764 0.62% MLMG::computeResidual() 36 0.002623 0.002623 0.002623 0.59% MLCellLinOp::defineBC() 6 0.002589 0.002589 0.002589 0.58% BndryData::define() 6 0.002474 0.002474 0.002474 0.56% MLMG::prepareForSolve() 6 0.002454 0.002454 0.002454 0.55% Castro::construct_new_source() 25 0.001994 0.001994 0.001994 0.45% Castro::computeNewDt() 5 0.001922 0.001922 0.001922 0.43% FabArray::LinComb() 242 0.001846 0.001846 0.001846 0.41% amrex::Add() 72 0.001834 0.001834 0.001834 0.41% Castro::construct_new_gravity_source() 5 0.001828 0.001828 0.001828 0.41% Castro::enforce_speed_limit() 30 0.001784 0.001784 0.001784 0.40% Castro::construct_old_source() 25 0.001531 0.001531 0.001531 0.34% Castro::construct_old_gravity_source() 5 0.001459 0.001459 0.001459 0.33% Castro::apply_source_to_state() 10 0.0009184 0.0009184 0.0009184 0.21% MLMG::ResNormInf() 42 0.0009037 0.0009037 0.0009037 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008849 0.0008849 0.0008849 0.20% Castro::create_source_corrector() 5 0.0008821 0.0008821 0.0008821 0.20% FabArrayBase::getCPC() 632 0.0007598 0.0007598 0.0007598 0.17% MLMG::getGradSolution() 6 0.0007402 0.0007402 0.0007402 0.17% MLCellLinOp::compGrad() 6 0.000737 0.000737 0.000737 0.17% MLCellLinOp::setLevelBC() 6 0.0007237 0.0007237 0.0007237 0.16% Castro::reset_internal_energy(Fab) 240 0.0006467 0.0006467 0.0006467 0.15% FabArray::setDomainBndry() 20 0.0006411 0.0006411 0.0006411 0.14% FabArray::mult() 22 0.0006375 0.0006375 0.0006375 0.14% Castro::check_for_nan() 10 0.0006077 0.0006077 0.0006077 0.14% MLPoisson::prepareForSolve() 6 0.0005982 0.0005982 0.0005982 0.13% MultiFab::contains_nan() 10 0.0005958 0.0005958 0.0005958 0.13% MLCellLinOp::prepareForSolve() 6 0.0005878 0.0005878 0.0005878 0.13% MLMG::computeMLResidual() 6 0.0005627 0.0005627 0.0005627 0.13% Gravity::update_max_rhs() 6 0.0004402 0.0004402 0.0004402 0.10% Amr::InitAmr() 1 0.0004093 0.0004093 0.0004093 0.09% FabArrayBase::CPC::define() 244 0.0004021 0.0004021 0.0004021 0.09% FabArrayBase::getFB() 1766 0.0003123 0.0003123 0.0003123 0.07% Castro::finalize_advance() 5 0.0002807 0.0002807 0.0002807 0.06% Gravity::swapTimeLevels() 5 0.0002191 0.0002191 0.0002191 0.05% MLLinOp::define() 6 0.0002055 0.0002055 0.0002055 0.05% MLLinOp::defineGrids() 6 0.0002 0.0002 0.0002 0.04% Castro::buildMetrics() 1 0.0001581 0.0001581 0.0001581 0.04% MLMG::MLResNormInf() 6 0.00015 0.00015 0.00015 0.03% MultiFab::max() 6 0.0001382 0.0001382 0.0001382 0.03% MLMG::MLRhsNormInf() 6 0.0001191 0.0001191 0.0001191 0.03% FabArrayBase::FB::FB() 26 5.86e-05 5.86e-05 5.86e-05 0.01% Amr::writeSmallPlotFile() 1 3.609e-05 3.609e-05 3.609e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.749e-05 2.749e-05 2.749e-05 0.01% Castro::initMFs() 1 2.548e-05 2.548e-05 2.548e-05 0.01% Castro::swap_state_time_levels() 5 2.37e-05 2.37e-05 2.37e-05 0.01% makeSFC 30 1.97e-05 1.97e-05 1.97e-05 0.00% Castro::finalize_do_advance() 5 1.94e-05 1.94e-05 1.94e-05 0.00% Amr::initSubcycle() 1 8.617e-06 8.617e-06 8.617e-06 0.00% DistributionMapping::Distribute() 31 8.535e-06 8.535e-06 8.535e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.534e-06 4.534e-06 4.534e-06 0.00% Gravity::set_mass_offset() 6 2.581e-06 2.581e-06 2.581e-06 0.00% Castro::retry_advance_ctu() 5 1.68e-06 1.68e-06 1.68e-06 0.00% Castro::FluxRegCrseInit 5 1.386e-06 1.386e-06 1.386e-06 0.00% Castro::FluxRegFineAdd() 5 1.178e-06 1.178e-06 1.178e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.26e-07 9.26e-07 9.26e-07 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 178 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 138 MiB 692 MiB Castro::initMFs() 48 48 55 MiB 68 MiB StateData::restartDoit() 32 32 48 MiB 55 MiB Castro::swap_state_time_levels() 32 32 44 MiB 55 MiB Castro::initialize_do_advance() 40 40 26 MiB 39 MiB FillPatchIterator::Initialize 160 160 978 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2516 KiB 28 MiB Castro::initialize_advance() 40 40 16 MiB 23 MiB Castro::buildMetrics() 32 32 12 MiB 15 MiB Castro::post_restart() 48 48 6162 KiB 14 MiB MLMG::prepareForSolve() 361 361 2960 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 173 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 177 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6158 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 10 KiB 2053 KiB Gravity::update_max_rhs() 48 48 1909 B 2048 KiB Gravity::solve_for_phi() 40 40 543 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 14 KiB 2048 KiB BndryData::define() 576 576 272 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 174 KiB 671 KiB Castro::estTimeStep() 10 10 2892 B 480 KiB VisMF::Write(FabArray) 112 112 1142 B 320 KiB Castro::normalize_species() 30 30 6599 B 320 KiB amrex::average_down 469 469 1043 B 257 KiB MLMG::addInterpCorrection() 468 468 968 B 257 KiB amrex::Dot() 592 592 2786 B 160 KiB FabArray::norminf() 398 398 1983 B 160 KiB Castro::do_advance_ctu() 5 5 527 B 160 KiB MultiFab::max() 6 6 47 B 160 KiB FabArray::setVal() 66 66 16 KiB 23 KiB MultiFab::contains_nan() 10 10 26 B 20 KiB MLPoisson::Fsmooth() 60 60 2879 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 247 B 9648 B MLCellLinOp::applyBC() 3892 3892 188 B 9344 B amrex::Copy() 56 56 5437 B 8464 B MLCellLinOp::prepareForSolve() 36 36 2 B 7792 B StateData::FillBoundary(geom) 960 960 44 B 2880 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 98 B 1472 B MLCellLinOp::defineBC() 36 36 306 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1197 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 98 KiB 8192 KiB VisMF::Write(FabArray) 120 120 270 KiB 3584 KiB VisMF::Read() 24 24 175 KiB 3000 KiB FabArray::setVal() 66 66 16 KiB 23 KiB MLPoisson::Fsmooth() 60 60 2879 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 247 B 9648 B MLCellLinOp::applyBC() 1946 1946 187 B 9328 B amrex::Copy() 56 56 5437 B 8464 B MLCellLinOp::prepareForSolve() 36 36 2 B 7792 B Gravity::get_old_grav_vector() 3 3 2436 B 3072 B StateData::FillBoundary(geom) 960 960 44 B 2880 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 466 B 1296 B amrex::average_down 37 37 205 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 20 B 400 B FabArray::norminf() 398 398 14 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2459 [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.04-24-g27ef4ea56945) finalized