Initializing AMReX (24.04-18-ge293ff685199)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-18-ge293ff685199) initialized Starting run at 08:53:49 UTC on 2024-04-16. Successfully read inputs file ... Castro git describe: 24.04-14-g3d76cd5a0 AMReX git describe: 24.04-18-ge293ff685 Microphysics git describe: 24.04-7-gd4312a6c 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.045781278 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025276326 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.065664505 [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.050730419 [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.076161076 [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.080418276 [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.071852315 [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.045395668 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.071781715 [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.074374138 [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.065836472 [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.063477933 [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.068463999 [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.074262767 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025556933 seconds Ending run at 08:53:50 UTC on 2024-04-16. Run time = 0.961548847 Run time without initialization = 0.834628948 Average number of zones advanced per microsecond: 3.141 Average number of zones advanced per microsecond per rank: 3.141 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9616 ... 0.9616 ... 0.9616 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.3024 0.3024 0.3024 31.45% VisMF::Write(FabArray) 11 0.1774 0.1774 0.1774 18.44% MLCellLinOp::applyBC() 4351 0.08199 0.08199 0.08199 8.53% Amr::checkPoint() 3 0.03632 0.03632 0.03632 3.78% MLPoisson::Fsmooth() 3280 0.03418 0.03418 0.03418 3.55% FillBoundary_nowait() 3941 0.03121 0.03121 0.03121 3.25% StateData::FillBoundary(geom) 328 0.02675 0.02675 0.02675 2.78% Castro::normalize_species() 62 0.02242 0.02242 0.02242 2.33% amrex::Dot() 1114 0.0219 0.0219 0.0219 2.28% FabArray::norminf() 1061 0.02028 0.02028 0.02028 2.11% Castro::computeTemp() 63 0.01637 0.01637 0.01637 1.70% FabArray::ParallelCopy_nowait() 861 0.01388 0.01388 0.01388 1.44% FabArray::setVal() 1062 0.0137 0.0137 0.0137 1.42% FabArray::Saxpy() 1370 0.01338 0.01338 0.01338 1.39% StateDataPhysBCFunct::() 41 0.01268 0.01268 0.01268 1.32% Castro::enforce_min_density() 62 0.0119 0.0119 0.0119 1.24% amrex::Copy() 472 0.01102 0.01102 0.01102 1.15% MLCellLinOp::defineAuxData() 11 0.01074 0.01074 0.01074 1.12% MLPoisson::Fapply() 1060 0.01053 0.01053 0.01053 1.09% Gravity::fill_multipole_BCs() 11 0.009514 0.009514 0.009514 0.99% FabArray::Xpay() 739 0.008004 0.008004 0.008004 0.83% MLMG::addInterpCorrection() 410 0.007083 0.007083 0.007083 0.74% amrex::average_down 410 0.006269 0.006269 0.006269 0.65% Castro::estTimeStep() 21 0.005892 0.005892 0.005892 0.61% Castro::reset_internal_energy(MultiFab) 63 0.00493 0.00493 0.00493 0.51% BndryData::define() 11 0.004119 0.004119 0.004119 0.43% amrex::Add() 82 0.003648 0.003648 0.003648 0.38% Castro::construct_new_gravity_source() 10 0.003529 0.003529 0.003529 0.37% Castro::construct_old_gravity_source() 10 0.003001 0.003001 0.003001 0.31% Castro::enforce_speed_limit() 62 0.002535 0.002535 0.002535 0.26% Amr::writePlotFile() 2 0.002194 0.002194 0.002194 0.23% check_for_negative_density() 10 0.0019 0.0019 0.0019 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001858 0.001858 0.001858 0.19% Castro::reset_internal_energy(Fab) 504 0.00177 0.00177 0.00177 0.18% MLCellLinOp::setLevelBC() 11 0.001625 0.001625 0.001625 0.17% MLCGSolver::bicgstab 82 0.001588 0.001588 0.001588 0.17% Castro::initData() 1 0.001572 0.001572 0.001572 0.16% Gravity::actual_solve_with_mlmg() 11 0.001523 0.001523 0.001523 0.16% FabArray::setDomainBndry() 41 0.001429 0.001429 0.001429 0.15% FabArray::mult() 43 0.001406 0.001406 0.001406 0.15% MLCellLinOp::prepareForSolve() 11 0.001338 0.001338 0.001338 0.14% MultiFab::contains_nan() 20 0.001294 0.001294 0.001294 0.13% MLCellLinOp::smooth() 1640 0.001095 0.001095 0.001095 0.11% MLCellLinOp::compGrad() 11 0.001089 0.001089 0.001089 0.11% MLMG::prepareForSolve() 11 0.0009717 0.0009717 0.0009717 0.10% FabArrayBase::getCPC() 1323 0.0007861 0.0007861 0.0007861 0.08% FabArray::FillBoundary() 3941 0.0007664 0.0007664 0.0007664 0.08% FabArrayBase::CPC::define() 454 0.0006601 0.0006601 0.0006601 0.07% FabArrayBase::getFB() 3941 0.0006259 0.0006259 0.0006259 0.07% Gravity::get_new_grav_vector() 11 0.00061 0.00061 0.00061 0.06% Amr::InitAmr() 1 0.0005994 0.0005994 0.0005994 0.06% Gravity::get_old_grav_vector() 10 0.0004823 0.0004823 0.0004823 0.05% MLCellLinOp::apply() 1060 0.0004336 0.0004336 0.0004336 0.05% AmrLevel::FillPatch() 41 0.0004186 0.0004186 0.0004186 0.04% MultiFab::max() 11 0.0003372 0.0003372 0.0003372 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003012 0.0003012 0.0003012 0.03% Amr::coarseTimeStep() 10 0.0003001 0.0003001 0.0003001 0.03% main() 1 0.0002834 0.0002834 0.0002834 0.03% MLCellLinOp::defineBC() 11 0.0002637 0.0002637 0.0002637 0.03% FabArray::ParallelCopy() 861 0.0002491 0.0002491 0.0002491 0.03% FillPatchIterator::Initialize 41 0.0002167 0.0002167 0.0002167 0.02% MLMG::mgVcycle() 82 0.0001904 0.0001904 0.0001904 0.02% MLLinOp::defineGrids() 11 0.0001822 0.0001822 0.0001822 0.02% Castro::create_source_corrector() 10 0.0001777 0.0001777 0.0001777 0.02% Castro::subcycle_advance_ctu() 10 0.0001719 0.0001719 0.0001719 0.02% MLCellLinOp::correctionResidual() 410 0.0001658 0.0001658 0.0001658 0.02% Amr::timeStep() 10 0.0001518 0.0001518 0.0001518 0.02% Gravity::update_max_rhs() 11 0.0001248 0.0001248 0.0001248 0.01% Gravity::solve_for_phi() 10 0.0001166 0.0001166 0.0001166 0.01% MLMG:computeResOfCorrection() 410 0.0001154 0.0001154 0.0001154 0.01% StateData::checkPoint() 12 0.0001106 0.0001106 0.0001106 0.01% FabArrayBase::FB::FB() 56 9.038e-05 9.038e-05 9.038e-05 0.01% Castro::Castro() 1 8.842e-05 8.842e-05 8.842e-05 0.01% Castro::advance() 10 8.729e-05 8.729e-05 8.729e-05 0.01% MLMG::actualBottomSolve() 82 8.473e-05 8.473e-05 8.473e-05 0.01% MLMG::mgVcycle_down::0 82 8.033e-05 8.033e-05 8.033e-05 0.01% Castro::construct_new_source() 50 8.032e-05 8.032e-05 8.032e-05 0.01% Castro::clean_state() 62 7.942e-05 7.942e-05 7.942e-05 0.01% Castro::initialize_advance() 10 7.764e-05 7.764e-05 7.764e-05 0.01% MLMG::solve() 11 7.743e-05 7.743e-05 7.743e-05 0.01% MLMG::mgVcycle_down::1 82 7.458e-05 7.458e-05 7.458e-05 0.01% MLMG::mgVcycle_down::2 82 7.325e-05 7.325e-05 7.325e-05 0.01% Castro::finalize_advance() 10 7.288e-05 7.288e-05 7.288e-05 0.01% MLMG::mgVcycle_down::4 82 7.077e-05 7.077e-05 7.077e-05 0.01% MLMG::mgVcycle_down::3 82 6.846e-05 6.846e-05 6.846e-05 0.01% Castro::enforce_consistent_e() 1 6.832e-05 6.832e-05 6.832e-05 0.01% AmrLevel::checkPoint() 3 6.277e-05 6.277e-05 6.277e-05 0.01% Castro::initialize_do_advance() 10 5.883e-05 5.883e-05 5.883e-05 0.01% MLMG::oneIter() 82 5.321e-05 5.321e-05 5.321e-05 0.01% Castro::do_advance_ctu() 10 5.014e-05 5.014e-05 5.014e-05 0.01% MLMG::mgVcycle_up::4 82 4.998e-05 4.998e-05 4.998e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.87e-05 4.87e-05 4.87e-05 0.01% MLMG::mgVcycle_up::0 82 4.661e-05 4.661e-05 4.661e-05 0.00% MLMG::mgVcycle_up::1 82 4.624e-05 4.624e-05 4.624e-05 0.00% Castro::finalize_do_advance() 10 4.611e-05 4.611e-05 4.611e-05 0.00% StateData::define() 4 4.546e-05 4.546e-05 4.546e-05 0.00% MLCellLinOp::solutionResidual() 93 4.353e-05 4.353e-05 4.353e-05 0.00% MLMG::mgVcycle_up::3 82 4.349e-05 4.349e-05 4.349e-05 0.00% MLMG::mgVcycle_up::2 82 4.211e-05 4.211e-05 4.211e-05 0.00% Castro::initMFs() 1 3.955e-05 3.955e-05 3.955e-05 0.00% Castro::swap_state_time_levels() 10 3.845e-05 3.845e-05 3.845e-05 0.00% FillPatchSingleLevel 41 3.643e-05 3.643e-05 3.643e-05 0.00% Castro::post_timestep() 10 3.634e-05 3.634e-05 3.634e-05 0.00% Amr::writeSmallPlotFile() 1 3.461e-05 3.461e-05 3.461e-05 0.00% Amr::defBaseLevel() 1 3.332e-05 3.332e-05 3.332e-05 0.00% MLMG::computeResidual() 82 3.256e-05 3.256e-05 3.256e-05 0.00% MLMG::mgVcycle_bottom 82 3.247e-05 3.247e-05 3.247e-05 0.00% MLMG::ResNormInf() 93 3.204e-05 3.204e-05 3.204e-05 0.00% Castro::construct_new_gravity() 10 3.029e-05 3.029e-05 3.029e-05 0.00% Castro::buildMetrics() 1 2.61e-05 2.61e-05 2.61e-05 0.00% makeSFC 55 2.584e-05 2.584e-05 2.584e-05 0.00% MLPoisson::define() 11 2.42e-05 2.42e-05 2.42e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.358e-05 2.358e-05 2.358e-05 0.00% Castro::do_old_sources() 10 2.05e-05 2.05e-05 2.05e-05 0.00% Castro::do_new_sources() 10 1.905e-05 1.905e-05 1.905e-05 0.00% Amr::FinalizeInit() 1 1.887e-05 1.887e-05 1.887e-05 0.00% Castro::construct_old_source() 50 1.854e-05 1.854e-05 1.854e-05 0.00% DistributionMapping::Distribute() 56 1.783e-05 1.783e-05 1.783e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.727e-05 1.727e-05 1.727e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.621e-05 1.621e-05 1.621e-05 0.00% Gravity::actual_multilevel_solve() 1 1.5e-05 1.5e-05 1.5e-05 0.00% MLLinOp::define() 11 1.427e-05 1.427e-05 1.427e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.231e-05 1.231e-05 1.231e-05 0.00% Castro::check_for_nan() 20 1.177e-05 1.177e-05 1.177e-05 0.00% Castro::apply_source_to_state() 20 1.163e-05 1.163e-05 1.163e-05 0.00% MLMG::computeMLResidual() 11 1.078e-05 1.078e-05 1.078e-05 0.00% Amr::initSubcycle() 1 1.064e-05 1.064e-05 1.064e-05 0.00% Castro::construct_old_gravity() 10 1.02e-05 1.02e-05 1.02e-05 0.00% Gravity::swapTimeLevels() 10 8.583e-06 8.583e-06 8.583e-06 0.00% MLPoisson::prepareForSolve() 11 6.705e-06 6.705e-06 6.705e-06 0.00% Castro::computeNewDt() 9 6.584e-06 6.584e-06 6.584e-06 0.00% MLMG::getGradSolution() 11 5.971e-06 5.971e-06 5.971e-06 0.00% Castro::expand_state() 10 5.718e-06 5.718e-06 5.718e-06 0.00% Amr::InitializeInit() 1 5.595e-06 5.595e-06 5.595e-06 0.00% AmrLevel::checkPointPost() 3 4.895e-06 4.895e-06 4.895e-06 0.00% Castro::post_init() 1 4.582e-06 4.582e-06 4.582e-06 0.00% MLMG::MLResNormInf() 11 4.156e-06 4.156e-06 4.156e-06 0.00% Gravity::set_mass_offset() 11 4.149e-06 4.149e-06 4.149e-06 0.00% Castro::retry_advance_ctu() 10 4.095e-06 4.095e-06 4.095e-06 0.00% MLMG::MLRhsNormInf() 11 3.934e-06 3.934e-06 3.934e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.604e-06 3.604e-06 3.604e-06 0.00% Castro::computeInitialDt() 2 2.871e-06 2.871e-06 2.871e-06 0.00% Castro::FluxRegCrseInit 10 2.743e-06 2.743e-06 2.743e-06 0.00% AmrLevel::checkPointPre() 3 2.641e-06 2.641e-06 2.641e-06 0.00% Amr::init() 1 2.332e-06 2.332e-06 2.332e-06 0.00% Castro::FluxRegFineAdd() 10 2.101e-06 2.101e-06 2.101e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.012e-06 2.012e-06 2.012e-06 0.00% Castro::post_regrid() 1 1.185e-06 1.185e-06 1.185e-06 0.00% Amr::initialInit() 1 8.54e-07 8.54e-07 8.54e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9616 0.9616 0.9616 100.00% Amr::coarseTimeStep() 10 0.8088 0.8088 0.8088 84.11% Amr::timeStep() 10 0.6855 0.6855 0.6855 71.29% Castro::advance() 10 0.6743 0.6743 0.6743 70.12% Castro::subcycle_advance_ctu() 10 0.6599 0.6599 0.6599 68.62% Castro::do_advance_ctu() 10 0.6597 0.6597 0.6597 68.61% Castro::construct_ctu_hydro_source() 10 0.3133 0.3133 0.3133 32.59% Gravity::solve_phi_with_mlmg() 11 0.2995 0.2995 0.2995 31.15% Gravity::actual_solve_with_mlmg() 11 0.2895 0.2895 0.2895 30.11% Castro::construct_new_gravity() 10 0.2706 0.2706 0.2706 28.14% MLMG::solve() 11 0.2668 0.2668 0.2668 27.75% Gravity::solve_for_phi() 10 0.2544 0.2544 0.2544 26.45% MLMG::oneIter() 82 0.2511 0.2511 0.2511 26.11% MLMG::mgVcycle() 82 0.2474 0.2474 0.2474 25.73% VisMF::Write(FabArray) 11 0.1774 0.1774 0.1774 18.44% Amr::checkPoint() 3 0.1656 0.1656 0.1656 17.22% AmrLevel::checkPoint() 3 0.1293 0.1293 0.1293 13.44% StateData::checkPoint() 12 0.1292 0.1292 0.1292 13.44% Amr::init() 1 0.1262 0.1262 0.1262 13.12% MLCellLinOp::smooth() 1640 0.1234 0.1234 0.1234 12.84% MLCellLinOp::applyBC() 4351 0.1147 0.1147 0.1147 11.93% MLMG::mgVcycle_bottom 82 0.07427 0.07427 0.07427 7.72% MLMG::actualBottomSolve() 82 0.07424 0.07424 0.07424 7.72% MLCGSolver::bicgstab 82 0.07341 0.07341 0.07341 7.63% Castro::clean_state() 62 0.05901 0.05901 0.05901 6.14% Amr::initialInit() 1 0.05499 0.05499 0.05499 5.72% Amr::writePlotFile() 2 0.05098 0.05098 0.05098 5.30% Amr::FinalizeInit() 1 0.04973 0.04973 0.04973 5.17% AmrLevel::FillPatch() 41 0.04958 0.04958 0.04958 5.16% Castro::post_init() 1 0.04859 0.04859 0.04859 5.05% Gravity::multilevel_solve_for_new_phi() 1 0.04558 0.04558 0.04558 4.74% Gravity::actual_multilevel_solve() 1 0.04556 0.04556 0.04556 4.74% FillPatchIterator::Initialize 41 0.04526 0.04526 0.04526 4.71% FillPatchIterator::FillFromLevel0() 41 0.04362 0.04362 0.04362 4.54% FillPatchSingleLevel 41 0.04357 0.04357 0.04357 4.53% StateDataPhysBCFunct::() 41 0.03942 0.03942 0.03942 4.10% MLCellLinOp::apply() 1060 0.03698 0.03698 0.03698 3.85% MLMG::mgVcycle_down::0 82 0.03514 0.03514 0.03514 3.65% MLPoisson::Fsmooth() 3280 0.03418 0.03418 0.03418 3.55% FabArray::FillBoundary() 3941 0.03269 0.03269 0.03269 3.40% FillBoundary_nowait() 3941 0.03193 0.03193 0.03193 3.32% StateData::FillBoundary(geom) 328 0.02675 0.02675 0.02675 2.78% MLMG::mgVcycle_up::0 82 0.02649 0.02649 0.02649 2.75% Castro::computeTemp() 63 0.02307 0.02307 0.02307 2.40% Castro::normalize_species() 62 0.02242 0.02242 0.02242 2.33% amrex::Dot() 1114 0.0219 0.0219 0.0219 2.28% Castro::initialize_do_advance() 10 0.02166 0.02166 0.02166 2.25% Castro::do_old_sources() 10 0.021 0.021 0.021 2.18% MLMG:computeResOfCorrection() 410 0.02077 0.02077 0.02077 2.16% MLCellLinOp::correctionResidual() 410 0.02065 0.02065 0.02065 2.15% FabArray::norminf() 1061 0.02028 0.02028 0.02028 2.11% Gravity::get_new_grav_vector() 11 0.01882 0.01882 0.01882 1.96% MLPoisson::define() 11 0.01791 0.01791 0.01791 1.86% MLMG::mgVcycle_down::1 82 0.01693 0.01693 0.01693 1.76% MLMG::mgVcycle_down::2 82 0.01577 0.01577 0.01577 1.64% Castro::construct_old_gravity() 10 0.0155 0.0155 0.0155 1.61% Gravity::get_old_grav_vector() 10 0.01549 0.01549 0.01549 1.61% MLMG::mgVcycle_down::3 82 0.01534 0.01534 0.01534 1.60% MLMG::mgVcycle_down::4 82 0.0152 0.0152 0.0152 1.58% FabArray::ParallelCopy() 861 0.01492 0.01492 0.01492 1.55% FabArray::ParallelCopy_nowait() 861 0.01467 0.01467 0.01467 1.53% Castro::do_new_sources() 10 0.01417 0.01417 0.01417 1.47% FabArray::setVal() 1062 0.0137 0.0137 0.0137 1.42% Castro::initialize_advance() 10 0.01368 0.01368 0.01368 1.42% FabArray::Saxpy() 1370 0.01338 0.01338 0.01338 1.39% MLCGSolver::ParallelAllReduce 1832 0.01308 0.01308 0.01308 1.36% MLMG::addInterpCorrection() 410 0.01244 0.01244 0.01244 1.29% MLMG::mgVcycle_up::1 82 0.01222 0.01222 0.01222 1.27% MLCellLinOp::defineAuxData() 11 0.0122 0.0122 0.0122 1.27% MLMG::mgVcycle_up::4 82 0.01214 0.01214 0.01214 1.26% Castro::expand_state() 10 0.012 0.012 0.012 1.25% MLMG::mgVcycle_up::2 82 0.01198 0.01198 0.01198 1.25% Castro::enforce_min_density() 62 0.0119 0.0119 0.0119 1.24% amrex::average_down 410 0.01173 0.01173 0.01173 1.22% MLMG::mgVcycle_up::3 82 0.01172 0.01172 0.01172 1.22% Castro::post_timestep() 10 0.01112 0.01112 0.01112 1.16% amrex::Copy() 472 0.01102 0.01102 0.01102 1.15% MLPoisson::Fapply() 1060 0.01053 0.01053 0.01053 1.09% Gravity::fill_multipole_BCs() 11 0.009754 0.009754 0.009754 1.01% FabArray::Xpay() 739 0.008004 0.008004 0.008004 0.83% MLCellLinOp::solutionResidual() 93 0.007893 0.007893 0.007893 0.82% Castro::reset_internal_energy(MultiFab) 63 0.0067 0.0067 0.0067 0.70% MLMG::computeResidual() 82 0.006618 0.006618 0.006618 0.69% Castro::estTimeStep() 21 0.005892 0.005892 0.005892 0.61% MLCellLinOp::defineBC() 11 0.005434 0.005434 0.005434 0.57% MLMG::prepareForSolve() 11 0.005271 0.005271 0.005271 0.55% Amr::InitializeInit() 1 0.005263 0.005263 0.005263 0.55% Amr::defBaseLevel() 1 0.005258 0.005258 0.005258 0.55% BndryData::define() 11 0.00517 0.00517 0.00517 0.54% Castro::initData() 1 0.004561 0.004561 0.004561 0.47% amrex::Add() 82 0.003648 0.003648 0.003648 0.38% Castro::construct_new_source() 50 0.00361 0.00361 0.00361 0.38% Castro::construct_new_gravity_source() 10 0.003529 0.003529 0.003529 0.37% Castro::construct_old_source() 50 0.00302 0.00302 0.00302 0.31% Castro::construct_old_gravity_source() 10 0.003001 0.003001 0.003001 0.31% Castro::enforce_speed_limit() 62 0.002535 0.002535 0.002535 0.26% Castro::computeNewDt() 9 0.002439 0.002439 0.002439 0.25% Castro::finalize_do_advance() 10 0.00243 0.00243 0.00243 0.25% MLMG::ResNormInf() 93 0.002206 0.002206 0.002206 0.23% check_for_negative_density() 10 0.0019 0.0019 0.0019 0.20% Castro::apply_source_to_state() 20 0.001878 0.001878 0.001878 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001858 0.001858 0.001858 0.19% Castro::reset_internal_energy(Fab) 504 0.00177 0.00177 0.00177 0.18% MLCellLinOp::setLevelBC() 11 0.001625 0.001625 0.001625 0.17% MLMG::getGradSolution() 11 0.001614 0.001614 0.001614 0.17% MLCellLinOp::compGrad() 11 0.001608 0.001608 0.001608 0.17% FabArrayBase::getCPC() 1323 0.001446 0.001446 0.001446 0.15% FabArray::setDomainBndry() 41 0.001429 0.001429 0.001429 0.15% FabArray::mult() 43 0.001406 0.001406 0.001406 0.15% MLPoisson::prepareForSolve() 11 0.001345 0.001345 0.001345 0.14% MLCellLinOp::prepareForSolve() 11 0.001338 0.001338 0.001338 0.14% MLMG::computeMLResidual() 11 0.001319 0.001319 0.001319 0.14% Castro::check_for_nan() 20 0.001306 0.001306 0.001306 0.14% MultiFab::contains_nan() 20 0.001294 0.001294 0.001294 0.13% Castro::computeInitialDt() 2 0.001079 0.001079 0.001079 0.11% Gravity::update_max_rhs() 11 0.001002 0.001002 0.001002 0.10% Castro::post_regrid() 1 0.0007992 0.0007992 0.0007992 0.08% FabArrayBase::getFB() 3941 0.0007163 0.0007163 0.0007163 0.07% FabArrayBase::CPC::define() 454 0.0006601 0.0006601 0.0006601 0.07% Castro::finalize_advance() 10 0.0006294 0.0006294 0.0006294 0.07% Amr::InitAmr() 1 0.00061 0.00061 0.00061 0.06% Castro::Castro() 1 0.0006013 0.0006013 0.0006013 0.06% Gravity::swapTimeLevels() 10 0.0004821 0.0004821 0.0004821 0.05% MultiFab::max() 11 0.0003372 0.0003372 0.0003372 0.04% MLMG::MLResNormInf() 11 0.000334 0.000334 0.000334 0.03% Castro::buildMetrics() 1 0.0002858 0.0002858 0.0002858 0.03% MLLinOp::define() 11 0.0002573 0.0002573 0.0002573 0.03% MLLinOp::defineGrids() 11 0.000243 0.000243 0.000243 0.03% MLMG::MLRhsNormInf() 11 0.0002324 0.0002324 0.0002324 0.02% Castro::create_source_corrector() 10 0.0001777 0.0001777 0.0001777 0.02% FabArrayBase::FB::FB() 56 9.038e-05 9.038e-05 9.038e-05 0.01% Castro::enforce_consistent_e() 1 6.832e-05 6.832e-05 6.832e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.876e-05 5.876e-05 5.876e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.776e-05 5.776e-05 5.776e-05 0.01% StateData::define() 4 4.546e-05 4.546e-05 4.546e-05 0.00% makeSFC 55 4.256e-05 4.256e-05 4.256e-05 0.00% Castro::initMFs() 1 3.955e-05 3.955e-05 3.955e-05 0.00% Castro::swap_state_time_levels() 10 3.845e-05 3.845e-05 3.845e-05 0.00% Amr::writeSmallPlotFile() 1 3.461e-05 3.461e-05 3.461e-05 0.00% DistributionMapping::Distribute() 56 1.783e-05 1.783e-05 1.783e-05 0.00% Amr::initSubcycle() 1 1.064e-05 1.064e-05 1.064e-05 0.00% AmrLevel::checkPointPost() 3 4.895e-06 4.895e-06 4.895e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.725e-06 4.725e-06 4.725e-06 0.00% Gravity::set_mass_offset() 11 4.149e-06 4.149e-06 4.149e-06 0.00% Castro::retry_advance_ctu() 10 4.095e-06 4.095e-06 4.095e-06 0.00% Castro::FluxRegCrseInit 10 2.743e-06 2.743e-06 2.743e-06 0.00% AmrLevel::checkPointPre() 3 2.641e-06 2.641e-06 2.641e-06 0.00% Castro::FluxRegFineAdd() 10 2.101e-06 2.101e-06 2.101e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.012e-06 2.012e-06 2.012e-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 5643 KiB 9037 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 998 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1478 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7614 KiB 14 MiB MLMG::prepareForSolve() 660 660 3412 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 203 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 165 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7521 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2023 B 2048 KiB Gravity::solve_for_phi() 80 80 541 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 96 KiB 2048 KiB BndryData::define() 1056 1056 312 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 199 KiB 671 KiB Castro::estTimeStep() 21 21 2989 B 480 KiB VisMF::Write(FabArray) 656 656 3285 B 320 KiB Castro::normalize_species() 62 62 7599 B 320 KiB amrex::average_down 1067 1067 1562 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1117 B 257 KiB amrex::Dot() 1360 1360 3367 B 160 KiB FabArray::norminf() 1143 1143 3265 B 160 KiB check_for_negative_density() 10 10 311 B 160 KiB Castro::initData() 1 1 49 B 160 KiB MultiFab::max() 11 11 54 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3331 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 283 B 9648 B MLCellLinOp::applyBC() 8702 8702 212 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3912 B 6144 B StateData::FillBoundary(geom) 1992 1992 46 B 4416 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 351 B 1248 B MLCGSolver::bicgstab 410 410 92 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 542 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 38 KiB 8192 KiB VisMF::Write(FabArray) 744 744 402 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3331 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 282 B 9648 B MLCellLinOp::applyBC() 4351 4351 210 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3912 B 6144 B StateData::FillBoundary(geom) 1992 1992 47 B 4416 B Gravity::get_new_grav_vector() 3 3 2900 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 83 83 617 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 284 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 B 400 B FabArray::norminf() 1143 1143 9 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2105 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.04-18-ge293ff685199) finalized Initializing AMReX (24.04-18-ge293ff685199)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-18-ge293ff685199) initialized Starting run at 08:53:51 UTC on 2024-04-16. Successfully read inputs file ... Castro git describe: 24.04-14-g3d76cd5a0 AMReX git describe: 24.04-18-ge293ff685 Microphysics git describe: 24.04-7-gd4312a6c reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.517163425 Restart time = 0.071758994 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.069748808 [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.048920487 [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.07499961 [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.076312718 [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.068840502 [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.027613149 seconds Ending run at 08:53:51 UTC on 2024-04-16. Run time = 0.439258553 Run time without initialization = 0.366856978 Average number of zones advanced per microsecond: 3.573 Average number of zones advanced per microsecond per rank: 3.573 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4393 ... 0.4393 ... 0.4393 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1437 0.1437 0.1437 32.71% VisMF::Read() 3 0.06044 0.06044 0.06044 13.76% MLCellLinOp::applyBC() 1910 0.03578 0.03578 0.03578 8.14% VisMF::Write(FabArray) 1 0.02491 0.02491 0.02491 5.67% MLPoisson::Fsmooth() 1440 0.01486 0.01486 0.01486 3.38% StateData::FillBoundary(geom) 160 0.01327 0.01327 0.01327 3.02% FillBoundary_nowait() 1730 0.01286 0.01286 0.01286 2.93% Castro::normalize_species() 30 0.0105 0.0105 0.0105 2.39% amrex::Dot() 484 0.009304 0.009304 0.009304 2.12% FabArray::norminf() 465 0.008735 0.008735 0.008735 1.99% Castro::computeTemp() 30 0.007216 0.007216 0.007216 1.64% FabArray::setVal() 501 0.006656 0.006656 0.006656 1.52% Castro::enforce_min_density() 30 0.006269 0.006269 0.006269 1.43% FabArray::ParallelCopy_nowait() 380 0.006196 0.006196 0.006196 1.41% FabArray::Saxpy() 597 0.005943 0.005943 0.005943 1.35% MLCellLinOp::defineAuxData() 6 0.005796 0.005796 0.005796 1.32% amrex::Copy() 221 0.005525 0.005525 0.005525 1.26% Gravity::fill_multipole_BCs() 6 0.005312 0.005312 0.005312 1.21% StateDataPhysBCFunct::() 20 0.005109 0.005109 0.005109 1.16% Amr::restart() 1 0.004876 0.004876 0.004876 1.11% MLPoisson::Fapply() 464 0.004523 0.004523 0.004523 1.03% FabArray::Xpay() 325 0.003529 0.003529 0.003529 0.80% Castro::estTimeStep() 10 0.003209 0.003209 0.003209 0.73% MLMG::addInterpCorrection() 180 0.003103 0.003103 0.003103 0.71% amrex::average_down 180 0.002758 0.002758 0.002758 0.63% Amr::writePlotFile() 1 0.002539 0.002539 0.002539 0.58% BndryData::define() 6 0.002223 0.002223 0.002223 0.51% Castro::reset_internal_energy(MultiFab) 30 0.00211 0.00211 0.00211 0.48% Castro::construct_new_gravity_source() 5 0.001889 0.001889 0.001889 0.43% amrex::Add() 36 0.001549 0.001549 0.001549 0.35% Castro::construct_old_gravity_source() 5 0.001537 0.001537 0.001537 0.35% Castro::enforce_speed_limit() 30 0.001192 0.001192 0.001192 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000992 0.000992 0.000992 0.23% check_for_negative_density() 5 0.0009437 0.0009437 0.0009437 0.21% MLCellLinOp::setLevelBC() 6 0.0008813 0.0008813 0.0008813 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008432 0.0008432 0.0008432 0.19% Castro::reset_internal_energy(Fab) 240 0.0008287 0.0008287 0.0008287 0.19% MLCellLinOp::prepareForSolve() 6 0.0007526 0.0007526 0.0007526 0.17% FabArray::setDomainBndry() 20 0.0007101 0.0007101 0.0007101 0.16% FabArray::mult() 22 0.0007033 0.0007033 0.0007033 0.16% MLCGSolver::bicgstab 36 0.0007029 0.0007029 0.0007029 0.16% MultiFab::contains_nan() 10 0.0006665 0.0006665 0.0006665 0.15% MLCellLinOp::compGrad() 6 0.0006054 0.0006054 0.0006054 0.14% MLMG::prepareForSolve() 6 0.0005566 0.0005566 0.0005566 0.13% MLCellLinOp::smooth() 720 0.0004819 0.0004819 0.0004819 0.11% Amr::InitAmr() 1 0.0004777 0.0004777 0.0004777 0.11% FabArrayBase::CPC::define() 244 0.0004209 0.0004209 0.0004209 0.10% FabArrayBase::getCPC() 632 0.0003646 0.0003646 0.0003646 0.08% FabArray::FillBoundary() 1730 0.0003379 0.0003379 0.0003379 0.08% Gravity::get_old_grav_vector() 5 0.0003253 0.0003253 0.0003253 0.07% FabArrayBase::getFB() 1730 0.0002633 0.0002633 0.0002633 0.06% Gravity::get_new_grav_vector() 5 0.0002626 0.0002626 0.0002626 0.06% main() 1 0.0002625 0.0002625 0.0002625 0.06% MultiFab::max() 6 0.0002071 0.0002071 0.0002071 0.05% AmrLevel::FillPatch() 20 0.0001997 0.0001997 0.0001997 0.05% MLCellLinOp::apply() 464 0.0001818 0.0001818 0.0001818 0.04% Amr::coarseTimeStep() 5 0.0001519 0.0001519 0.0001519 0.03% MLCellLinOp::defineBC() 6 0.0001501 0.0001501 0.0001501 0.03% MLCGSolver::ParallelAllReduce 798 0.0001336 0.0001336 0.0001336 0.03% FabArray::ParallelCopy() 380 0.0001114 0.0001114 0.0001114 0.03% FillPatchIterator::Initialize 20 0.0001084 0.0001084 0.0001084 0.02% Castro::create_source_corrector() 5 0.0001039 0.0001039 0.0001039 0.02% Castro::construct_new_source() 25 0.000103 0.000103 0.000103 0.02% MLLinOp::defineGrids() 6 0.0001004 0.0001004 0.0001004 0.02% Castro::subcycle_advance_ctu() 5 9.488e-05 9.488e-05 9.488e-05 0.02% MLMG::mgVcycle() 36 9.015e-05 9.015e-05 9.015e-05 0.02% Amr::timeStep() 5 8.508e-05 8.508e-05 8.508e-05 0.02% AmrLevel::restart() 1 7.221e-05 7.221e-05 7.221e-05 0.02% MLCellLinOp::correctionResidual() 180 6.876e-05 6.876e-05 6.876e-05 0.02% StateData::restartDoit() 4 6.857e-05 6.857e-05 6.857e-05 0.02% Castro::initialize_do_advance() 5 6.428e-05 6.428e-05 6.428e-05 0.01% Castro::finalize_do_advance() 5 6.298e-05 6.298e-05 6.298e-05 0.01% Gravity::update_max_rhs() 6 6.106e-05 6.106e-05 6.106e-05 0.01% FabArrayBase::FB::FB() 26 5.884e-05 5.884e-05 5.884e-05 0.01% Castro::advance() 5 5.854e-05 5.854e-05 5.854e-05 0.01% Gravity::solve_for_phi() 5 4.933e-05 4.933e-05 4.933e-05 0.01% MLMG:computeResOfCorrection() 180 4.694e-05 4.694e-05 4.694e-05 0.01% Castro::do_advance_ctu() 5 4.372e-05 4.372e-05 4.372e-05 0.01% MLMG::actualBottomSolve() 36 3.869e-05 3.869e-05 3.869e-05 0.01% MLMG::mgVcycle_down::0 36 3.671e-05 3.671e-05 3.671e-05 0.01% Castro::initialize_advance() 5 3.589e-05 3.589e-05 3.589e-05 0.01% MLMG::solve() 6 3.531e-05 3.531e-05 3.531e-05 0.01% MLMG::mgVcycle_down::1 36 3.447e-05 3.447e-05 3.447e-05 0.01% Castro::clean_state() 30 3.418e-05 3.418e-05 3.418e-05 0.01% MLMG::mgVcycle_down::2 36 3.277e-05 3.277e-05 3.277e-05 0.01% Amr::writeSmallPlotFile() 1 3.247e-05 3.247e-05 3.247e-05 0.01% Castro::post_timestep() 5 3.222e-05 3.222e-05 3.222e-05 0.01% Castro::finalize_advance() 5 3.084e-05 3.084e-05 3.084e-05 0.01% MLMG::mgVcycle_down::4 36 2.99e-05 2.99e-05 2.99e-05 0.01% MLMG::mgVcycle_down::3 36 2.926e-05 2.926e-05 2.926e-05 0.01% Castro::do_new_sources() 5 2.869e-05 2.869e-05 2.869e-05 0.01% Castro::buildMetrics() 1 2.869e-05 2.869e-05 2.869e-05 0.01% Castro::construct_old_source() 25 2.817e-05 2.817e-05 2.817e-05 0.01% Castro::swap_state_time_levels() 5 2.483e-05 2.483e-05 2.483e-05 0.01% MLMG::mgVcycle_up::4 36 2.437e-05 2.437e-05 2.437e-05 0.01% MLMG::oneIter() 36 2.364e-05 2.364e-05 2.364e-05 0.01% Castro::initMFs() 1 2.33e-05 2.33e-05 2.33e-05 0.01% MLMG::mgVcycle_up::3 36 2.145e-05 2.145e-05 2.145e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.106e-05 2.106e-05 2.106e-05 0.00% Castro::post_restart() 1 2.1e-05 2.1e-05 2.1e-05 0.00% MLCellLinOp::solutionResidual() 42 2.014e-05 2.014e-05 2.014e-05 0.00% MLMG::mgVcycle_up::0 36 1.949e-05 1.949e-05 1.949e-05 0.00% MLMG::mgVcycle_up::2 36 1.946e-05 1.946e-05 1.946e-05 0.00% MLMG::mgVcycle_up::1 36 1.897e-05 1.897e-05 1.897e-05 0.00% MLPoisson::define() 6 1.808e-05 1.808e-05 1.808e-05 0.00% Gravity::actual_multilevel_solve() 1 1.678e-05 1.678e-05 1.678e-05 0.00% MLMG::ResNormInf() 42 1.65e-05 1.65e-05 1.65e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.603e-05 1.603e-05 1.603e-05 0.00% FillPatchSingleLevel 20 1.585e-05 1.585e-05 1.585e-05 0.00% makeSFC 30 1.562e-05 1.562e-05 1.562e-05 0.00% MLMG::computeResidual() 36 1.445e-05 1.445e-05 1.445e-05 0.00% MLMG::mgVcycle_bottom 36 1.411e-05 1.411e-05 1.411e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.395e-05 1.395e-05 1.395e-05 0.00% Castro::construct_new_gravity() 5 1.178e-05 1.178e-05 1.178e-05 0.00% Castro::do_old_sources() 5 1.107e-05 1.107e-05 1.107e-05 0.00% DistributionMapping::Distribute() 31 9.935e-06 9.935e-06 9.935e-06 0.00% Amr::initSubcycle() 1 9.752e-06 9.752e-06 9.752e-06 0.00% Castro::expand_state() 5 8.742e-06 8.742e-06 8.742e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 8.147e-06 8.147e-06 8.147e-06 0.00% Castro::check_for_nan() 10 6.666e-06 6.666e-06 6.666e-06 0.00% MLLinOp::define() 6 6.578e-06 6.578e-06 6.578e-06 0.00% Castro::apply_source_to_state() 10 6.364e-06 6.364e-06 6.364e-06 0.00% Castro::construct_old_gravity() 5 5.657e-06 5.657e-06 5.657e-06 0.00% Gravity::swapTimeLevels() 5 4.742e-06 4.742e-06 4.742e-06 0.00% MLMG::computeMLResidual() 6 4.496e-06 4.496e-06 4.496e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.788e-06 3.788e-06 3.788e-06 0.00% Castro::computeNewDt() 5 3.669e-06 3.669e-06 3.669e-06 0.00% MLPoisson::prepareForSolve() 6 3.545e-06 3.545e-06 3.545e-06 0.00% MLMG::getGradSolution() 6 3.325e-06 3.325e-06 3.325e-06 0.00% MLMG::MLResNormInf() 6 2.554e-06 2.554e-06 2.554e-06 0.00% Gravity::set_mass_offset() 6 2.421e-06 2.421e-06 2.421e-06 0.00% MLMG::MLRhsNormInf() 6 2.281e-06 2.281e-06 2.281e-06 0.00% Castro::retry_advance_ctu() 5 1.843e-06 1.843e-06 1.843e-06 0.00% Castro::FluxRegCrseInit 5 1.556e-06 1.556e-06 1.556e-06 0.00% Castro::FluxRegFineAdd() 5 1.168e-06 1.168e-06 1.168e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.072e-06 1.072e-06 1.072e-06 0.00% Amr::init() 1 8.3e-07 8.3e-07 8.3e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4393 0.4393 0.4393 100.00% Amr::coarseTimeStep() 5 0.339 0.339 0.339 77.16% Amr::timeStep() 5 0.3368 0.3368 0.3368 76.68% Castro::advance() 5 0.3311 0.3311 0.3311 75.37% Castro::subcycle_advance_ctu() 5 0.3236 0.3236 0.3236 73.67% Castro::do_advance_ctu() 5 0.3235 0.3235 0.3235 73.65% Castro::construct_ctu_hydro_source() 5 0.1492 0.1492 0.1492 33.95% Castro::construct_new_gravity() 5 0.1364 0.1364 0.1364 31.04% Gravity::solve_phi_with_mlmg() 6 0.1336 0.1336 0.1336 30.40% Gravity::solve_for_phi() 5 0.1282 0.1282 0.1282 29.19% Gravity::actual_solve_with_mlmg() 6 0.128 0.128 0.128 29.14% MLMG::solve() 6 0.1157 0.1157 0.1157 26.33% MLMG::oneIter() 36 0.1079 0.1079 0.1079 24.56% MLMG::mgVcycle() 36 0.1063 0.1063 0.1063 24.20% Amr::init() 1 0.07181 0.07181 0.07181 16.35% Amr::restart() 1 0.0718 0.0718 0.0718 16.35% AmrLevel::restart() 1 0.06081 0.06081 0.06081 13.84% StateData::restartDoit() 4 0.06073 0.06073 0.06073 13.83% VisMF::Read() 3 0.06044 0.06044 0.06044 13.76% MLCellLinOp::smooth() 720 0.05296 0.05296 0.05296 12.06% MLCellLinOp::applyBC() 1910 0.04929 0.04929 0.04929 11.22% MLMG::mgVcycle_bottom 36 0.03186 0.03186 0.03186 7.25% MLMG::actualBottomSolve() 36 0.03185 0.03185 0.03185 7.25% MLCGSolver::bicgstab 36 0.03148 0.03148 0.03148 7.17% Castro::clean_state() 30 0.02815 0.02815 0.02815 6.41% Amr::writePlotFile() 1 0.02771 0.02771 0.02771 6.31% VisMF::Write(FabArray) 1 0.02491 0.02491 0.02491 5.67% AmrLevel::FillPatch() 20 0.02339 0.02339 0.02339 5.33% FillPatchIterator::Initialize 20 0.02128 0.02128 0.02128 4.85% FillPatchIterator::FillFromLevel0() 20 0.02047 0.02047 0.02047 4.66% FillPatchSingleLevel 20 0.02044 0.02044 0.02044 4.65% StateDataPhysBCFunct::() 20 0.01838 0.01838 0.01838 4.18% MLCellLinOp::apply() 464 0.01609 0.01609 0.01609 3.66% MLMG::mgVcycle_down::0 36 0.01502 0.01502 0.01502 3.42% MLPoisson::Fsmooth() 1440 0.01486 0.01486 0.01486 3.38% FabArray::FillBoundary() 1730 0.01352 0.01352 0.01352 3.08% StateData::FillBoundary(geom) 160 0.01327 0.01327 0.01327 3.02% FillBoundary_nowait() 1730 0.01318 0.01318 0.01318 3.00% Castro::initialize_do_advance() 5 0.01124 0.01124 0.01124 2.56% MLMG::mgVcycle_up::0 36 0.01122 0.01122 0.01122 2.56% Castro::normalize_species() 30 0.0105 0.0105 0.0105 2.39% Castro::computeTemp() 30 0.01016 0.01016 0.01016 2.31% Castro::do_old_sources() 5 0.009797 0.009797 0.009797 2.23% MLPoisson::define() 6 0.009715 0.009715 0.009715 2.21% amrex::Dot() 484 0.009304 0.009304 0.009304 2.12% MLMG:computeResOfCorrection() 180 0.008914 0.008914 0.008914 2.03% MLCellLinOp::correctionResidual() 180 0.008867 0.008867 0.008867 2.02% FabArray::norminf() 465 0.008735 0.008735 0.008735 1.99% Gravity::get_new_grav_vector() 5 0.008004 0.008004 0.008004 1.82% Castro::construct_old_gravity() 5 0.007812 0.007812 0.007812 1.78% Gravity::get_old_grav_vector() 5 0.007807 0.007807 0.007807 1.78% MLMG::mgVcycle_down::1 36 0.007417 0.007417 0.007417 1.69% Castro::do_new_sources() 5 0.007345 0.007345 0.007345 1.67% Castro::initialize_advance() 5 0.007099 0.007099 0.007099 1.62% MLMG::mgVcycle_down::2 36 0.00682 0.00682 0.00682 1.55% FabArray::ParallelCopy() 380 0.006698 0.006698 0.006698 1.52% FabArray::setVal() 501 0.006656 0.006656 0.006656 1.52% MLMG::mgVcycle_down::3 36 0.006632 0.006632 0.006632 1.51% MLCellLinOp::defineAuxData() 6 0.006597 0.006597 0.006597 1.50% FabArray::ParallelCopy_nowait() 380 0.006586 0.006586 0.006586 1.50% MLMG::mgVcycle_down::4 36 0.00655 0.00655 0.00655 1.49% Castro::enforce_min_density() 30 0.006269 0.006269 0.006269 1.43% Castro::expand_state() 5 0.006115 0.006115 0.006115 1.39% FabArray::Saxpy() 597 0.005943 0.005943 0.005943 1.35% Castro::post_restart() 1 0.005931 0.005931 0.005931 1.35% Castro::post_timestep() 5 0.005648 0.005648 0.005648 1.29% MLCGSolver::ParallelAllReduce 798 0.005614 0.005614 0.005614 1.28% Gravity::multilevel_solve_for_new_phi() 1 0.005555 0.005555 0.005555 1.26% Gravity::actual_multilevel_solve() 1 0.005539 0.005539 0.005539 1.26% amrex::Copy() 221 0.005525 0.005525 0.005525 1.26% Gravity::fill_multipole_BCs() 6 0.005438 0.005438 0.005438 1.24% MLMG::addInterpCorrection() 180 0.005399 0.005399 0.005399 1.23% MLMG::mgVcycle_up::1 36 0.005262 0.005262 0.005262 1.20% MLMG::mgVcycle_up::4 36 0.005262 0.005262 0.005262 1.20% MLMG::mgVcycle_up::2 36 0.005132 0.005132 0.005132 1.17% amrex::average_down 180 0.005108 0.005108 0.005108 1.16% MLMG::mgVcycle_up::3 36 0.005059 0.005059 0.005059 1.15% MLPoisson::Fapply() 464 0.004523 0.004523 0.004523 1.03% MLCellLinOp::solutionResidual() 42 0.003691 0.003691 0.003691 0.84% FabArray::Xpay() 325 0.003529 0.003529 0.003529 0.80% Castro::estTimeStep() 10 0.003209 0.003209 0.003209 0.73% MLCellLinOp::defineBC() 6 0.002959 0.002959 0.002959 0.67% Castro::reset_internal_energy(MultiFab) 30 0.002939 0.002939 0.002939 0.67% MLMG::prepareForSolve() 6 0.002888 0.002888 0.002888 0.66% MLMG::computeResidual() 36 0.002879 0.002879 0.002879 0.66% BndryData::define() 6 0.002809 0.002809 0.002809 0.64% Castro::construct_new_source() 25 0.001992 0.001992 0.001992 0.45% Castro::computeNewDt() 5 0.001969 0.001969 0.001969 0.45% Castro::construct_new_gravity_source() 5 0.001889 0.001889 0.001889 0.43% Castro::construct_old_source() 25 0.001565 0.001565 0.001565 0.36% amrex::Add() 36 0.001549 0.001549 0.001549 0.35% Castro::construct_old_gravity_source() 5 0.001537 0.001537 0.001537 0.35% Castro::finalize_do_advance() 5 0.001307 0.001307 0.001307 0.30% Castro::enforce_speed_limit() 30 0.001192 0.001192 0.001192 0.27% MLMG::ResNormInf() 42 0.0009989 0.0009989 0.0009989 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000992 0.000992 0.000992 0.23% Castro::apply_source_to_state() 10 0.0009704 0.0009704 0.0009704 0.22% check_for_negative_density() 5 0.0009437 0.0009437 0.0009437 0.21% MLMG::getGradSolution() 6 0.0008963 0.0008963 0.0008963 0.20% MLCellLinOp::compGrad() 6 0.000893 0.000893 0.000893 0.20% MLCellLinOp::setLevelBC() 6 0.0008813 0.0008813 0.0008813 0.20% MLMG::computeMLResidual() 6 0.0008311 0.0008311 0.0008311 0.19% Castro::reset_internal_energy(Fab) 240 0.0008287 0.0008287 0.0008287 0.19% FabArrayBase::getCPC() 632 0.0007855 0.0007855 0.0007855 0.18% MLPoisson::prepareForSolve() 6 0.0007562 0.0007562 0.0007562 0.17% MLCellLinOp::prepareForSolve() 6 0.0007526 0.0007526 0.0007526 0.17% Gravity::update_max_rhs() 6 0.0007263 0.0007263 0.0007263 0.17% FabArray::setDomainBndry() 20 0.0007101 0.0007101 0.0007101 0.16% FabArray::mult() 22 0.0007033 0.0007033 0.0007033 0.16% Castro::check_for_nan() 10 0.0006732 0.0006732 0.0006732 0.15% MultiFab::contains_nan() 10 0.0006665 0.0006665 0.0006665 0.15% Amr::InitAmr() 1 0.0004874 0.0004874 0.0004874 0.11% FabArrayBase::CPC::define() 244 0.0004209 0.0004209 0.0004209 0.10% FabArrayBase::getFB() 1730 0.0003221 0.0003221 0.0003221 0.07% Castro::finalize_advance() 5 0.0003101 0.0003101 0.0003101 0.07% Gravity::swapTimeLevels() 5 0.0002537 0.0002537 0.0002537 0.06% MultiFab::max() 6 0.0002071 0.0002071 0.0002071 0.05% MLMG::MLResNormInf() 6 0.0001925 0.0001925 0.0001925 0.04% Castro::buildMetrics() 1 0.0001619 0.0001619 0.0001619 0.04% MLLinOp::define() 6 0.0001404 0.0001404 0.0001404 0.03% MLLinOp::defineGrids() 6 0.0001338 0.0001338 0.0001338 0.03% MLMG::MLRhsNormInf() 6 0.0001227 0.0001227 0.0001227 0.03% Castro::create_source_corrector() 5 0.0001039 0.0001039 0.0001039 0.02% FabArrayBase::FB::FB() 26 5.884e-05 5.884e-05 5.884e-05 0.01% Amr::writeSmallPlotFile() 1 3.247e-05 3.247e-05 3.247e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.239e-05 3.239e-05 3.239e-05 0.01% Castro::swap_state_time_levels() 5 2.483e-05 2.483e-05 2.483e-05 0.01% makeSFC 30 2.424e-05 2.424e-05 2.424e-05 0.01% Castro::initMFs() 1 2.33e-05 2.33e-05 2.33e-05 0.01% DistributionMapping::Distribute() 31 9.935e-06 9.935e-06 9.935e-06 0.00% Amr::initSubcycle() 1 9.752e-06 9.752e-06 9.752e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.098e-06 5.098e-06 5.098e-06 0.00% Gravity::set_mass_offset() 6 2.421e-06 2.421e-06 2.421e-06 0.00% Castro::retry_advance_ctu() 5 1.843e-06 1.843e-06 1.843e-06 0.00% Castro::FluxRegCrseInit 5 1.556e-06 1.556e-06 1.556e-06 0.00% Castro::FluxRegFineAdd() 5 1.168e-06 1.168e-06 1.168e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.072e-06 1.072e-06 1.072e-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 11 MiB 9037 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1060 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1677 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 6432 KiB 14 MiB MLMG::prepareForSolve() 361 361 3231 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 184 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 186 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6419 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3295 B 2048 KiB Gravity::solve_for_phi() 40 40 596 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 298 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 191 KiB 671 KiB Castro::estTimeStep() 10 10 3463 B 480 KiB VisMF::Write(FabArray) 112 112 1285 B 320 KiB Castro::normalize_species() 30 30 7774 B 320 KiB amrex::average_down 469 469 1376 B 257 KiB MLMG::addInterpCorrection() 468 468 1052 B 257 KiB amrex::Dot() 592 592 3127 B 160 KiB FabArray::norminf() 501 501 3076 B 160 KiB check_for_negative_density() 5 5 345 B 160 KiB MultiFab::max() 6 6 73 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3130 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 252 B 9648 B MLCellLinOp::applyBC() 3820 3820 203 B 9344 B amrex::Copy() 56 56 5856 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 41 B 2592 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 334 B 1248 B MLCGSolver::bicgstab 180 180 86 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1173 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 157 KiB 3584 KiB VisMF::Read() 24 24 209 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3130 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 252 B 9648 B MLCellLinOp::applyBC() 1910 1910 202 B 9328 B amrex::Copy() 56 56 5856 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2525 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B StateData::FillBoundary(geom) 960 960 41 B 2592 B MLMG::prepareForSolve() 7 7 791 B 1648 B amrex::average_down 37 37 462 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 501 501 9 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2105 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.04-18-ge293ff685199) finalized