Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-41-gcf6b46bd95a3) initialized Starting run at 06:26:32 UTC on 2023-05-01. Successfully read inputs file ... Castro git describe: 23.04-24-g81e05558c AMReX git describe: 23.04-41-gcf6b46bd9 Microphysics git describe: 23.04-10-gac4fffe4 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.06063662 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034585119 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.045919564 [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.04978824 [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.060851836 [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.059400418 [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.066375677 [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.058775139 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.068661077 [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.067286789 [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.065568751 [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.058390602 [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.063131059 [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.058950159 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033919907 seconds Ending run at 06:26:33 UTC on 2023-05-01. Run time = 0.901617785 Run time without initialization = 0.757672771 Average number of zones advanced per microsecond: 3.460 Average number of zones advanced per microsecond per rank: 3.460 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9016 ... 0.9016 ... 0.9016 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2407 0.2407 0.2407 26.70% Castro::construct_ctu_hydro_source() 10 0.2381 0.2381 0.2381 26.40% MLCellLinOp::applyBC() 4433 0.07758 0.07758 0.07758 8.60% MLPoisson::Fsmooth() 3280 0.03259 0.03259 0.03259 3.61% FillBoundary_nowait() 4023 0.03133 0.03133 0.03133 3.47% StateData::FillBoundary(geom) 328 0.02523 0.02523 0.02523 2.80% amrex::Dot() 1114 0.02055 0.02055 0.02055 2.28% Castro::computeTemp() 63 0.01539 0.01539 0.01539 1.71% Castro::normalize_species() 62 0.01507 0.01507 0.01507 1.67% amrex::Copy() 1029 0.01487 0.01487 0.01487 1.65% FabArray::norminf() 743 0.01445 0.01445 0.01445 1.60% Castro::enforce_min_density() 62 0.01436 0.01436 0.01436 1.59% FabArray::ParallelCopy_nowait() 861 0.01341 0.01341 0.01341 1.49% FabArray::setVal() 1144 0.01312 0.01312 0.01312 1.46% StateDataPhysBCFunct::() 41 0.01125 0.01125 0.01125 1.25% MLPoisson::Fapply() 1142 0.01041 0.01041 0.01041 1.15% MLCellLinOp::defineAuxData() 11 0.01001 0.01001 0.01001 1.11% FabArray::Saxpy() 813 0.008198 0.008198 0.008198 0.91% FabArray::Xpay() 821 0.008047 0.008047 0.008047 0.89% Gravity::fill_multipole_BCs() 11 0.006696 0.006696 0.006696 0.74% MLMG::addInterpCorrection() 410 0.006671 0.006671 0.006671 0.74% amrex::average_down 410 0.005994 0.005994 0.005994 0.66% Castro::estTimeStep() 21 0.005163 0.005163 0.005163 0.57% FabArray::LinComb() 557 0.004527 0.004527 0.004527 0.50% amrex::Add() 164 0.004374 0.004374 0.004374 0.49% Castro::reset_internal_energy(MultiFab) 63 0.004286 0.004286 0.004286 0.48% Castro::do_advance_ctu() 10 0.003797 0.003797 0.003797 0.42% BndryData::define() 11 0.003718 0.003718 0.003718 0.41% Amr::checkPoint() 3 0.003547 0.003547 0.003547 0.39% Castro::construct_new_gravity_source() 10 0.003296 0.003296 0.003296 0.37% Castro::construct_old_gravity_source() 10 0.002643 0.002643 0.002643 0.29% Amr::writePlotFile() 2 0.002121 0.002121 0.002121 0.24% MLCGSolver::bicgstab 82 0.002106 0.002106 0.002106 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001719 0.001719 0.001719 0.19% Castro::reset_internal_energy(Fab) 504 0.00162 0.00162 0.00162 0.18% Gravity::actual_solve_with_mlmg() 11 0.001476 0.001476 0.001476 0.16% MLCellLinOp::setLevelBC() 11 0.001408 0.001408 0.001408 0.16% FabArray::mult() 43 0.001324 0.001324 0.001324 0.15% Castro::initData() 1 0.001317 0.001317 0.001317 0.15% FabArray::setDomainBndry() 41 0.001308 0.001308 0.001308 0.15% MultiFab::contains_nan() 20 0.001205 0.001205 0.001205 0.13% MLCellLinOp::prepareForSolve() 11 0.001127 0.001127 0.001127 0.13% Castro::enforce_speed_limit() 62 0.001094 0.001094 0.001094 0.12% MLCellLinOp::smooth() 1640 0.001023 0.001023 0.001023 0.11% MLCellLinOp::compGrad() 11 0.0009236 0.0009236 0.0009236 0.10% MLMG::prepareForSolve() 11 0.0008792 0.0008792 0.0008792 0.10% FabArray::FillBoundary() 4023 0.0007963 0.0007963 0.0007963 0.09% Castro::subcycle_advance_ctu() 10 0.0007711 0.0007711 0.0007711 0.09% FabArrayBase::getCPC() 1323 0.0007514 0.0007514 0.0007514 0.08% FabArrayBase::CPC::define() 454 0.0006956 0.0006956 0.0006956 0.08% Gravity::get_new_grav_vector() 11 0.0006319 0.0006319 0.0006319 0.07% FabArrayBase::getFB() 4023 0.0005736 0.0005736 0.0005736 0.06% Gravity::get_old_grav_vector() 10 0.0005582 0.0005582 0.0005582 0.06% Amr::InitAmr() 1 0.000477 0.000477 0.000477 0.05% MLCellLinOp::apply() 1142 0.0004299 0.0004299 0.0004299 0.05% MLLinOp::defineGrids() 11 0.0003624 0.0003624 0.0003624 0.04% Amr::coarseTimeStep() 10 0.0003454 0.0003454 0.0003454 0.04% MLMG::mgVcycle() 82 0.000333 0.000333 0.000333 0.04% main() 1 0.0002922 0.0002922 0.0002922 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002919 0.0002919 0.0002919 0.03% MultiFab::max() 11 0.0002648 0.0002648 0.0002648 0.03% FillPatchIterator::Initialize 41 0.0002493 0.0002493 0.0002493 0.03% FabArray::ParallelCopy() 861 0.0002383 0.0002383 0.0002383 0.03% MLCellLinOp::defineBC() 11 0.0002185 0.0002185 0.0002185 0.02% MLCellLinOp::correctionResidual() 492 0.0002093 0.0002093 0.0002093 0.02% Castro::create_source_corrector() 10 0.0001564 0.0001564 0.0001564 0.02% Amr::timeStep() 10 0.0001521 0.0001521 0.0001521 0.02% StateData::checkPoint() 12 0.0001342 0.0001342 0.0001342 0.01% Gravity::update_max_rhs() 11 0.0001186 0.0001186 0.0001186 0.01% MLMG:computeResOfCorrection() 410 0.0001169 0.0001169 0.0001169 0.01% Gravity::solve_for_phi() 10 0.0001033 0.0001033 0.0001033 0.01% FabArrayBase::FB::FB() 56 8.854e-05 8.854e-05 8.854e-05 0.01% MLMG::actualBottomSolve() 82 8.663e-05 8.663e-05 8.663e-05 0.01% Castro::Castro() 1 8.553e-05 8.553e-05 8.553e-05 0.01% MLMG::mgVcycle_down::0 82 8.521e-05 8.521e-05 8.521e-05 0.01% Castro::expand_state() 10 8.004e-05 8.004e-05 8.004e-05 0.01% MLMG::mgVcycle_down::2 82 7.695e-05 7.695e-05 7.695e-05 0.01% MLMG::mgVcycle_down::1 82 7.648e-05 7.648e-05 7.648e-05 0.01% AmrLevel::checkPoint() 3 7.533e-05 7.533e-05 7.533e-05 0.01% MLMG::solve() 11 7.238e-05 7.238e-05 7.238e-05 0.01% Castro::clean_state() 62 7.222e-05 7.222e-05 7.222e-05 0.01% MLMG::mgVcycle_down::3 82 7.115e-05 7.115e-05 7.115e-05 0.01% MLMG::mgVcycle_down::4 82 7.06e-05 7.06e-05 7.06e-05 0.01% Castro::initialize_advance() 10 7.015e-05 7.015e-05 7.015e-05 0.01% Castro::advance() 10 6.277e-05 6.277e-05 6.277e-05 0.01% Castro::finalize_advance() 10 6.004e-05 6.004e-05 6.004e-05 0.01% MLMG::mgVcycle_up::4 82 5.828e-05 5.828e-05 5.828e-05 0.01% MLMG::oneIter() 82 5.405e-05 5.405e-05 5.405e-05 0.01% MLMG::mgVcycle_up::0 82 5.258e-05 5.258e-05 5.258e-05 0.01% Castro::initialize_do_advance() 10 5.192e-05 5.192e-05 5.192e-05 0.01% MLMG::mgVcycle_up::1 82 4.872e-05 4.872e-05 4.872e-05 0.01% MLMG::mgVcycle_up::3 82 4.795e-05 4.795e-05 4.795e-05 0.01% MLCellLinOp::solutionResidual() 93 4.743e-05 4.743e-05 4.743e-05 0.01% MLMG::mgVcycle_up::2 82 4.603e-05 4.603e-05 4.603e-05 0.01% Castro::construct_new_source() 50 4.554e-05 4.554e-05 4.554e-05 0.01% Castro::swap_state_time_levels() 10 3.726e-05 3.726e-05 3.726e-05 0.00% Castro::finalize_do_advance() 10 3.67e-05 3.67e-05 3.67e-05 0.00% Castro::enforce_consistent_e() 1 3.358e-05 3.358e-05 3.358e-05 0.00% StateData::define() 4 3.301e-05 3.301e-05 3.301e-05 0.00% MLMG::ResNormInf() 93 3.272e-05 3.272e-05 3.272e-05 0.00% MLMG::mgVcycle_bottom 82 3.115e-05 3.115e-05 3.115e-05 0.00% MLMG::computeResidual() 82 3.067e-05 3.067e-05 3.067e-05 0.00% FillPatchSingleLevel 41 2.964e-05 2.964e-05 2.964e-05 0.00% Amr::writeSmallPlotFile() 1 2.531e-05 2.531e-05 2.531e-05 0.00% makeSFC 55 2.495e-05 2.495e-05 2.495e-05 0.00% Castro::initMFs() 1 2.453e-05 2.453e-05 2.453e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.448e-05 2.448e-05 2.448e-05 0.00% Castro::construct_new_gravity() 10 2.297e-05 2.297e-05 2.297e-05 0.00% MLPoisson::define() 11 2.159e-05 2.159e-05 2.159e-05 0.00% Amr::defBaseLevel() 1 1.92e-05 1.92e-05 1.92e-05 0.00% Amr::FinalizeInit() 1 1.87e-05 1.87e-05 1.87e-05 0.00% Castro::construct_old_source() 50 1.776e-05 1.776e-05 1.776e-05 0.00% Castro::buildMetrics() 1 1.747e-05 1.747e-05 1.747e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.723e-05 1.723e-05 1.723e-05 0.00% Castro::do_new_sources() 10 1.618e-05 1.618e-05 1.618e-05 0.00% DistributionMapping::Distribute() 56 1.568e-05 1.568e-05 1.568e-05 0.00% Castro::do_old_sources() 10 1.441e-05 1.441e-05 1.441e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.432e-05 1.432e-05 1.432e-05 0.00% MLPoisson::prepareForSolve() 11 1.414e-05 1.414e-05 1.414e-05 0.00% MLMG::computeMLResidual() 11 1.316e-05 1.316e-05 1.316e-05 0.00% MLLinOp::define() 11 1.086e-05 1.086e-05 1.086e-05 0.00% Castro::check_for_nan() 20 1.079e-05 1.079e-05 1.079e-05 0.00% Castro::apply_source_to_state() 20 1.011e-05 1.011e-05 1.011e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.004e-05 1.004e-05 1.004e-05 0.00% Castro::construct_old_gravity() 10 9.569e-06 9.569e-06 9.569e-06 0.00% Amr::initSubcycle() 1 8.642e-06 8.642e-06 8.642e-06 0.00% Gravity::actual_multilevel_solve() 1 8.579e-06 8.579e-06 8.579e-06 0.00% Castro::post_timestep() 10 8.131e-06 8.131e-06 8.131e-06 0.00% Gravity::swapTimeLevels() 10 8.108e-06 8.108e-06 8.108e-06 0.00% Castro::computeNewDt() 9 7.084e-06 7.084e-06 7.084e-06 0.00% MLMG::getGradSolution() 11 6.482e-06 6.482e-06 6.482e-06 0.00% Amr::InitializeInit() 1 4.808e-06 4.808e-06 4.808e-06 0.00% Castro::post_init() 1 4.396e-06 4.396e-06 4.396e-06 0.00% Gravity::set_mass_offset() 11 4.264e-06 4.264e-06 4.264e-06 0.00% AmrLevel::checkPointPost() 3 4.226e-06 4.226e-06 4.226e-06 0.00% MLMG::MLResNormInf() 11 4.056e-06 4.056e-06 4.056e-06 0.00% MLMG::MLRhsNormInf() 11 3.921e-06 3.921e-06 3.921e-06 0.00% Castro::retry_advance_ctu() 10 3.575e-06 3.575e-06 3.575e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.873e-06 2.873e-06 2.873e-06 0.00% Amr::init() 1 2.804e-06 2.804e-06 2.804e-06 0.00% Castro::computeInitialDt() 2 2.636e-06 2.636e-06 2.636e-06 0.00% Castro::FluxRegCrseInit 10 2.516e-06 2.516e-06 2.516e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.885e-06 1.885e-06 1.885e-06 0.00% Castro::FluxRegFineAdd() 10 1.77e-06 1.77e-06 1.77e-06 0.00% AmrLevel::checkPointPre() 3 1.684e-06 1.684e-06 1.684e-06 0.00% Castro::post_regrid() 1 1.081e-06 1.081e-06 1.081e-06 0.00% Amr::initialInit() 1 9.42e-07 9.42e-07 9.42e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9016 0.9016 0.9016 100.00% Amr::coarseTimeStep() 10 0.7235 0.7235 0.7235 80.24% Amr::timeStep() 10 0.6022 0.6022 0.6022 66.79% Castro::advance() 10 0.5945 0.5945 0.5945 65.93% Castro::subcycle_advance_ctu() 10 0.5823 0.5823 0.5823 64.58% Castro::do_advance_ctu() 10 0.5815 0.5815 0.5815 64.49% Gravity::solve_phi_with_mlmg() 11 0.2851 0.2851 0.2851 31.62% Gravity::actual_solve_with_mlmg() 11 0.2779 0.2779 0.2779 30.83% Castro::construct_new_gravity() 10 0.2603 0.2603 0.2603 28.87% MLMG::solve() 11 0.2569 0.2569 0.2569 28.49% Gravity::solve_for_phi() 10 0.245 0.245 0.245 27.17% MLMG::oneIter() 82 0.2426 0.2426 0.2426 26.91% VisMF::Write(FabArray) 11 0.2407 0.2407 0.2407 26.70% MLMG::mgVcycle() 82 0.2389 0.2389 0.2389 26.50% Castro::construct_ctu_hydro_source() 10 0.2381 0.2381 0.2381 26.40% Amr::checkPoint() 3 0.1785 0.1785 0.1785 19.80% AmrLevel::checkPoint() 3 0.1749 0.1749 0.1749 19.40% StateData::checkPoint() 12 0.1749 0.1749 0.1749 19.39% Amr::init() 1 0.1433 0.1433 0.1433 15.90% MLCellLinOp::smooth() 1640 0.1179 0.1179 0.1179 13.07% MLCellLinOp::applyBC() 4433 0.1104 0.1104 0.1104 12.24% MLMG::mgVcycle_bottom 82 0.07381 0.07381 0.07381 8.19% MLMG::actualBottomSolve() 82 0.07378 0.07378 0.07378 8.18% MLCGSolver::bicgstab 82 0.07309 0.07309 0.07309 8.11% Amr::writePlotFile() 2 0.06865 0.06865 0.06865 7.61% Castro::clean_state() 62 0.05112 0.05112 0.05112 5.67% Amr::initialInit() 1 0.04798 0.04798 0.04798 5.32% Amr::FinalizeInit() 1 0.04392 0.04392 0.04392 4.87% Castro::post_init() 1 0.04255 0.04255 0.04255 4.72% FillPatchIterator::Initialize 41 0.04212 0.04212 0.04212 4.67% Gravity::multilevel_solve_for_new_phi() 1 0.04057 0.04057 0.04057 4.50% FillPatchSingleLevel 41 0.04056 0.04056 0.04056 4.50% Gravity::actual_multilevel_solve() 1 0.04055 0.04055 0.04055 4.50% StateDataPhysBCFunct::() 41 0.03648 0.03648 0.03648 4.05% MLCellLinOp::apply() 1142 0.03647 0.03647 0.03647 4.05% MLMG::mgVcycle_down::0 82 0.03406 0.03406 0.03406 3.78% FabArray::FillBoundary() 4023 0.03279 0.03279 0.03279 3.64% MLPoisson::Fsmooth() 3280 0.03259 0.03259 0.03259 3.61% FillBoundary_nowait() 4023 0.03199 0.03199 0.03199 3.55% MLMG::mgVcycle_up::0 82 0.02573 0.02573 0.02573 2.85% StateData::FillBoundary(geom) 328 0.02523 0.02523 0.02523 2.80% MLCellLinOp::correctionResidual() 492 0.02224 0.02224 0.02224 2.47% Castro::computeTemp() 63 0.0213 0.0213 0.0213 2.36% amrex::Dot() 1114 0.02055 0.02055 0.02055 2.28% Castro::initialize_do_advance() 10 0.02021 0.02021 0.02021 2.24% MLMG:computeResOfCorrection() 410 0.01961 0.01961 0.01961 2.17% Gravity::get_new_grav_vector() 11 0.01702 0.01702 0.01702 1.89% MLPoisson::define() 11 0.01676 0.01676 0.01676 1.86% MLMG::mgVcycle_down::1 82 0.0159 0.0159 0.0159 1.76% Castro::construct_old_gravity() 10 0.01512 0.01512 0.01512 1.68% Gravity::get_old_grav_vector() 10 0.01511 0.01511 0.01511 1.68% Castro::normalize_species() 62 0.01507 0.01507 0.01507 1.67% amrex::Copy() 1029 0.01487 0.01487 0.01487 1.65% MLMG::mgVcycle_down::2 82 0.01483 0.01483 0.01483 1.64% MLMG::mgVcycle_down::3 82 0.01449 0.01449 0.01449 1.61% FabArray::ParallelCopy() 861 0.01446 0.01446 0.01446 1.60% FabArray::norminf() 743 0.01445 0.01445 0.01445 1.60% Castro::enforce_min_density() 62 0.01436 0.01436 0.01436 1.59% MLMG::mgVcycle_down::4 82 0.01426 0.01426 0.01426 1.58% FabArray::ParallelCopy_nowait() 861 0.01422 0.01422 0.01422 1.58% Castro::do_new_sources() 10 0.01329 0.01329 0.01329 1.47% FabArray::setVal() 1144 0.01312 0.01312 0.01312 1.46% MLCGSolver::ParallelAllReduce 1514 0.01228 0.01228 0.01228 1.36% Castro::do_old_sources() 10 0.01204 0.01204 0.01204 1.34% MLMG::addInterpCorrection() 410 0.01184 0.01184 0.01184 1.31% MLMG::mgVcycle_up::1 82 0.01162 0.01162 0.01162 1.29% Castro::initialize_advance() 10 0.01155 0.01155 0.01155 1.28% MLMG::mgVcycle_up::4 82 0.01147 0.01147 0.01147 1.27% MLCellLinOp::defineAuxData() 11 0.01139 0.01139 0.01139 1.26% MLMG::mgVcycle_up::2 82 0.01132 0.01132 0.01132 1.26% Castro::expand_state() 10 0.01127 0.01127 0.01127 1.25% amrex::average_down 410 0.01122 0.01122 0.01122 1.24% MLMG::mgVcycle_up::3 82 0.01105 0.01105 0.01105 1.23% MLPoisson::Fapply() 1142 0.01041 0.01041 0.01041 1.15% FabArray::Saxpy() 813 0.008198 0.008198 0.008198 0.91% FabArray::Xpay() 821 0.008047 0.008047 0.008047 0.89% Castro::post_timestep() 10 0.00761 0.00761 0.00761 0.84% MLCellLinOp::solutionResidual() 93 0.007169 0.007169 0.007169 0.80% Gravity::fill_multipole_BCs() 11 0.006953 0.006953 0.006953 0.77% MLMG::computeResidual() 82 0.006186 0.006186 0.006186 0.69% Castro::reset_internal_energy(MultiFab) 63 0.005906 0.005906 0.005906 0.66% Castro::estTimeStep() 21 0.005163 0.005163 0.005163 0.57% MLCellLinOp::defineBC() 11 0.004916 0.004916 0.004916 0.55% BndryData::define() 11 0.004698 0.004698 0.004698 0.52% MLMG::prepareForSolve() 11 0.004685 0.004685 0.004685 0.52% FabArray::LinComb() 557 0.004527 0.004527 0.004527 0.50% amrex::Add() 164 0.004374 0.004374 0.004374 0.49% Amr::InitializeInit() 1 0.004056 0.004056 0.004056 0.45% Amr::defBaseLevel() 1 0.004051 0.004051 0.004051 0.45% Castro::initData() 1 0.003556 0.003556 0.003556 0.39% Castro::construct_new_source() 50 0.003341 0.003341 0.003341 0.37% Castro::construct_new_gravity_source() 10 0.003296 0.003296 0.003296 0.37% Castro::construct_old_source() 50 0.002661 0.002661 0.002661 0.30% Castro::construct_old_gravity_source() 10 0.002643 0.002643 0.002643 0.29% Castro::computeNewDt() 9 0.002395 0.002395 0.002395 0.27% MLMG::ResNormInf() 93 0.002094 0.002094 0.002094 0.23% Castro::apply_source_to_state() 20 0.001823 0.001823 0.001823 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001719 0.001719 0.001719 0.19% Castro::reset_internal_energy(Fab) 504 0.00162 0.00162 0.00162 0.18% FabArrayBase::getCPC() 1323 0.001447 0.001447 0.001447 0.16% MLMG::getGradSolution() 11 0.001417 0.001417 0.001417 0.16% MLCellLinOp::compGrad() 11 0.001411 0.001411 0.001411 0.16% MLCellLinOp::setLevelBC() 11 0.001408 0.001408 0.001408 0.16% FabArray::mult() 43 0.001324 0.001324 0.001324 0.15% FabArray::setDomainBndry() 41 0.001308 0.001308 0.001308 0.15% Castro::check_for_nan() 20 0.001216 0.001216 0.001216 0.13% MultiFab::contains_nan() 20 0.001205 0.001205 0.001205 0.13% MLPoisson::prepareForSolve() 11 0.001141 0.001141 0.001141 0.13% Castro::post_regrid() 1 0.001136 0.001136 0.001136 0.13% MLCellLinOp::prepareForSolve() 11 0.001127 0.001127 0.001127 0.13% Castro::enforce_speed_limit() 62 0.001094 0.001094 0.001094 0.12% MLMG::computeMLResidual() 11 0.001027 0.001027 0.001027 0.11% Castro::computeInitialDt() 2 0.0009472 0.0009472 0.0009472 0.11% Gravity::update_max_rhs() 11 0.000828 0.000828 0.000828 0.09% FabArrayBase::CPC::define() 454 0.0006956 0.0006956 0.0006956 0.08% FabArrayBase::getFB() 4023 0.0006621 0.0006621 0.0006621 0.07% Castro::finalize_advance() 10 0.0005872 0.0005872 0.0005872 0.07% Amr::InitAmr() 1 0.0004856 0.0004856 0.0004856 0.05% Gravity::swapTimeLevels() 10 0.0004404 0.0004404 0.0004404 0.05% Castro::Castro() 1 0.0004296 0.0004296 0.0004296 0.05% MLLinOp::define() 11 0.0004289 0.0004289 0.0004289 0.05% MLLinOp::defineGrids() 11 0.000418 0.000418 0.000418 0.05% MLMG::MLResNormInf() 11 0.0002855 0.0002855 0.0002855 0.03% MultiFab::max() 11 0.0002648 0.0002648 0.0002648 0.03% MLMG::MLRhsNormInf() 11 0.0002194 0.0002194 0.0002194 0.02% Castro::buildMetrics() 1 0.0001569 0.0001569 0.0001569 0.02% Castro::create_source_corrector() 10 0.0001564 0.0001564 0.0001564 0.02% FabArrayBase::FB::FB() 56 8.854e-05 8.854e-05 8.854e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.375e-05 5.375e-05 5.375e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.305e-05 4.305e-05 4.305e-05 0.00% makeSFC 55 3.943e-05 3.943e-05 3.943e-05 0.00% Castro::swap_state_time_levels() 10 3.726e-05 3.726e-05 3.726e-05 0.00% Castro::finalize_do_advance() 10 3.67e-05 3.67e-05 3.67e-05 0.00% Castro::enforce_consistent_e() 1 3.358e-05 3.358e-05 3.358e-05 0.00% StateData::define() 4 3.301e-05 3.301e-05 3.301e-05 0.00% Amr::writeSmallPlotFile() 1 2.531e-05 2.531e-05 2.531e-05 0.00% Castro::initMFs() 1 2.453e-05 2.453e-05 2.453e-05 0.00% DistributionMapping::Distribute() 56 1.568e-05 1.568e-05 1.568e-05 0.00% Amr::initSubcycle() 1 8.642e-06 8.642e-06 8.642e-06 0.00% Gravity::set_mass_offset() 11 4.264e-06 4.264e-06 4.264e-06 0.00% AmrLevel::checkPointPost() 3 4.226e-06 4.226e-06 4.226e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.072e-06 4.072e-06 4.072e-06 0.00% Castro::retry_advance_ctu() 10 3.575e-06 3.575e-06 3.575e-06 0.00% Castro::FluxRegCrseInit 10 2.516e-06 2.516e-06 2.516e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.885e-06 1.885e-06 1.885e-06 0.00% Castro::FluxRegFineAdd() 10 1.77e-06 1.77e-06 1.77e-06 0.00% AmrLevel::checkPointPre() 3 1.684e-06 1.684e-06 1.684e-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 92 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 125 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 997 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2148 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7611 KiB 14 MiB MLMG::prepareForSolve() 660 660 3505 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 196 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 171 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7527 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1760 B 2048 KiB Gravity::solve_for_phi() 80 80 555 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 92 KiB 2048 KiB BndryData::define() 1056 1056 320 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 203 KiB 671 KiB Castro::estTimeStep() 21 21 2716 B 480 KiB VisMF::Write(FabArray) 656 656 3332 B 320 KiB Castro::normalize_species() 62 62 5435 B 320 KiB amrex::average_down 1067 1067 1244 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1137 B 257 KiB amrex::Dot() 1360 1360 3362 B 160 KiB FabArray::norminf() 907 907 2372 B 160 KiB Castro::do_advance_ctu() 10 10 649 B 160 KiB MultiFab::max() 11 11 45 B 160 KiB Castro::initData() 1 1 26 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3427 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 304 B 9648 B MLCellLinOp::applyBC() 8866 8866 220 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3856 B 6144 B StateData::FillBoundary(geom) 1992 1992 44 B 2976 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 118 B 1472 B MLCellLinOp::defineBC() 66 66 360 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 564 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 48 KiB 8192 KiB VisMF::Write(FabArray) 744 744 619 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3427 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 304 B 9648 B MLCellLinOp::applyBC() 4433 4433 219 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3856 B 6144 B Gravity::get_new_grav_vector() 3 3 2909 B 3072 B StateData::FillBoundary(geom) 1992 1992 44 B 2976 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 292 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 B 400 B FabArray::norminf() 907 907 17 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): 2424 [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-41-gcf6b46bd95a3) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-41-gcf6b46bd95a3) initialized Starting run at 06:26:33 UTC on 2023-05-01. Successfully read inputs file ... Castro git describe: 23.04-24-g81e05558c AMReX git describe: 23.04-41-gcf6b46bd9 Microphysics git describe: 23.04-10-gac4fffe4 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.485055012 Restart time = 0.044440264 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.049509202 [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.050399856 [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.059975889 [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.067228764 [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.070267891 [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.03350091 seconds Ending run at 06:26:34 UTC on 2023-05-01. Run time = 0.376332303 Run time without initialization = 0.331290461 Average number of zones advanced per microsecond: 3.956 Average number of zones advanced per microsecond per rank: 3.956 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3764 ... 0.3764 ... 0.3764 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1124 0.1124 0.1124 29.86% VisMF::Read() 3 0.03814 0.03814 0.03814 10.13% MLCellLinOp::applyBC() 1946 0.03416 0.03416 0.03416 9.08% VisMF::Write(FabArray) 1 0.03212 0.03212 0.03212 8.53% MLPoisson::Fsmooth() 1440 0.01419 0.01419 0.01419 3.77% FillBoundary_nowait() 1766 0.0128 0.0128 0.0128 3.40% StateData::FillBoundary(geom) 160 0.01236 0.01236 0.01236 3.28% amrex::Dot() 484 0.008878 0.008878 0.008878 2.36% Castro::enforce_min_density() 30 0.007849 0.007849 0.007849 2.09% Castro::normalize_species() 30 0.007115 0.007115 0.007115 1.89% amrex::Copy() 463 0.007055 0.007055 0.007055 1.87% FabArray::norminf() 326 0.006321 0.006321 0.006321 1.68% FabArray::setVal() 537 0.006288 0.006288 0.006288 1.67% FabArray::ParallelCopy_nowait() 380 0.006119 0.006119 0.006119 1.63% MLCellLinOp::defineAuxData() 6 0.005369 0.005369 0.005369 1.43% StateDataPhysBCFunct::() 20 0.005252 0.005252 0.005252 1.40% Castro::computeTemp() 30 0.005225 0.005225 0.005225 1.39% MLPoisson::Fapply() 500 0.004507 0.004507 0.004507 1.20% FabArray::Saxpy() 355 0.003676 0.003676 0.003676 0.98% FabArray::Xpay() 361 0.00352 0.00352 0.00352 0.94% Gravity::fill_multipole_BCs() 6 0.003337 0.003337 0.003337 0.89% MLMG::addInterpCorrection() 180 0.002927 0.002927 0.002927 0.78% amrex::average_down 180 0.002641 0.002641 0.002641 0.70% Castro::estTimeStep() 10 0.002563 0.002563 0.002563 0.68% Amr::restart() 1 0.00255 0.00255 0.00255 0.68% Castro::reset_internal_energy(MultiFab) 30 0.002424 0.002424 0.002424 0.64% BndryData::define() 6 0.002079 0.002079 0.002079 0.55% FabArray::LinComb() 242 0.00195 0.00195 0.00195 0.52% amrex::Add() 72 0.001857 0.001857 0.001857 0.49% Castro::construct_new_gravity_source() 5 0.001751 0.001751 0.001751 0.47% Castro::do_advance_ctu() 5 0.001632 0.001632 0.001632 0.43% Castro::construct_old_gravity_source() 5 0.00137 0.00137 0.00137 0.36% Amr::writePlotFile() 1 0.001215 0.001215 0.001215 0.32% MLCGSolver::bicgstab 36 0.0009693 0.0009693 0.0009693 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009225 0.0009225 0.0009225 0.25% Gravity::actual_solve_with_mlmg() 6 0.0008094 0.0008094 0.0008094 0.22% MLCellLinOp::setLevelBC() 6 0.0007476 0.0007476 0.0007476 0.20% Castro::enforce_speed_limit() 30 0.0007215 0.0007215 0.0007215 0.19% Castro::reset_internal_energy(Fab) 240 0.000713 0.000713 0.000713 0.19% FabArray::mult() 22 0.0006546 0.0006546 0.0006546 0.17% FabArray::setDomainBndry() 20 0.0006447 0.0006447 0.0006447 0.17% MLCellLinOp::prepareForSolve() 6 0.0006112 0.0006112 0.0006112 0.16% MultiFab::contains_nan() 10 0.0006008 0.0006008 0.0006008 0.16% MLMG::prepareForSolve() 6 0.0004931 0.0004931 0.0004931 0.13% MLCellLinOp::compGrad() 6 0.0004924 0.0004924 0.0004924 0.13% MLCellLinOp::smooth() 720 0.0004729 0.0004729 0.0004729 0.13% FabArrayBase::CPC::define() 244 0.0004507 0.0004507 0.0004507 0.12% Amr::InitAmr() 1 0.0004125 0.0004125 0.0004125 0.11% FabArray::FillBoundary() 1766 0.0003594 0.0003594 0.0003594 0.10% FabArrayBase::getCPC() 632 0.000354 0.000354 0.000354 0.09% Gravity::get_new_grav_vector() 5 0.0003362 0.0003362 0.0003362 0.09% Gravity::get_old_grav_vector() 5 0.0003122 0.0003122 0.0003122 0.08% main() 1 0.0002778 0.0002778 0.0002778 0.07% FabArrayBase::getFB() 1766 0.0002495 0.0002495 0.0002495 0.07% MLCellLinOp::apply() 500 0.0001972 0.0001972 0.0001972 0.05% Amr::coarseTimeStep() 5 0.0001743 0.0001743 0.0001743 0.05% MLMG::mgVcycle() 36 0.0001594 0.0001594 0.0001594 0.04% MLLinOp::defineGrids() 6 0.0001498 0.0001498 0.0001498 0.04% MultiFab::max() 6 0.0001382 0.0001382 0.0001382 0.04% MLCGSolver::ParallelAllReduce 659 0.0001305 0.0001305 0.0001305 0.03% FillPatchIterator::Initialize 20 0.0001194 0.0001194 0.0001194 0.03% Castro::create_source_corrector() 5 0.000118 0.000118 0.000118 0.03% MLCellLinOp::defineBC() 6 0.0001179 0.0001179 0.0001179 0.03% FabArray::ParallelCopy() 380 0.0001098 0.0001098 0.0001098 0.03% MLCellLinOp::correctionResidual() 216 9.672e-05 9.672e-05 9.672e-05 0.03% Amr::timeStep() 5 9.159e-05 9.159e-05 9.159e-05 0.02% Castro::subcycle_advance_ctu() 5 7.783e-05 7.783e-05 7.783e-05 0.02% AmrLevel::restart() 1 7.588e-05 7.588e-05 7.588e-05 0.02% StateData::restartDoit() 4 6.275e-05 6.275e-05 6.275e-05 0.02% Gravity::update_max_rhs() 6 6.202e-05 6.202e-05 6.202e-05 0.02% Gravity::solve_for_phi() 5 6.108e-05 6.108e-05 6.108e-05 0.02% FabArrayBase::FB::FB() 26 6.072e-05 6.072e-05 6.072e-05 0.02% MLMG:computeResOfCorrection() 180 5.32e-05 5.32e-05 5.32e-05 0.01% MLMG::mgVcycle_down::3 36 4.954e-05 4.954e-05 4.954e-05 0.01% Castro::expand_state() 5 4.933e-05 4.933e-05 4.933e-05 0.01% MLMG::actualBottomSolve() 36 3.943e-05 3.943e-05 3.943e-05 0.01% MLMG::mgVcycle_down::0 36 3.854e-05 3.854e-05 3.854e-05 0.01% Castro::clean_state() 30 3.829e-05 3.829e-05 3.829e-05 0.01% Castro::construct_new_source() 25 3.659e-05 3.659e-05 3.659e-05 0.01% MLMG::mgVcycle_down::1 36 3.551e-05 3.551e-05 3.551e-05 0.01% Castro::initialize_advance() 5 3.49e-05 3.49e-05 3.49e-05 0.01% MLMG::mgVcycle_down::2 36 3.47e-05 3.47e-05 3.47e-05 0.01% MLMG::mgVcycle_down::4 36 3.442e-05 3.442e-05 3.442e-05 0.01% MLMG::solve() 6 3.401e-05 3.401e-05 3.401e-05 0.01% Castro::finalize_advance() 5 3.043e-05 3.043e-05 3.043e-05 0.01% MLMG::mgVcycle_up::4 36 2.847e-05 2.847e-05 2.847e-05 0.01% Castro::initialize_do_advance() 5 2.745e-05 2.745e-05 2.745e-05 0.01% Castro::initMFs() 1 2.72e-05 2.72e-05 2.72e-05 0.01% Castro::buildMetrics() 1 2.625e-05 2.625e-05 2.625e-05 0.01% MLMG::oneIter() 36 2.594e-05 2.594e-05 2.594e-05 0.01% Amr::writeSmallPlotFile() 1 2.58e-05 2.58e-05 2.58e-05 0.01% Castro::swap_state_time_levels() 5 2.403e-05 2.403e-05 2.403e-05 0.01% MLMG::mgVcycle_up::3 36 2.216e-05 2.216e-05 2.216e-05 0.01% MLMG::mgVcycle_up::2 36 2.197e-05 2.197e-05 2.197e-05 0.01% MLCellLinOp::solutionResidual() 42 2.188e-05 2.188e-05 2.188e-05 0.01% MLMG::mgVcycle_up::0 36 2.186e-05 2.186e-05 2.186e-05 0.01% MLMG::mgVcycle_up::1 36 2.117e-05 2.117e-05 2.117e-05 0.01% Castro::finalize_do_advance() 5 2.069e-05 2.069e-05 2.069e-05 0.01% Castro::post_restart() 1 1.989e-05 1.989e-05 1.989e-05 0.01% MLMG::ResNormInf() 42 1.653e-05 1.653e-05 1.653e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.641e-05 1.641e-05 1.641e-05 0.00% MLMG::mgVcycle_bottom 36 1.473e-05 1.473e-05 1.473e-05 0.00% MLPoisson::define() 6 1.472e-05 1.472e-05 1.472e-05 0.00% Castro::advance() 5 1.461e-05 1.461e-05 1.461e-05 0.00% FillPatchSingleLevel 20 1.429e-05 1.429e-05 1.429e-05 0.00% makeSFC 30 1.419e-05 1.419e-05 1.419e-05 0.00% Castro::construct_new_gravity() 5 1.41e-05 1.41e-05 1.41e-05 0.00% MLMG::computeResidual() 36 1.301e-05 1.301e-05 1.301e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.296e-05 1.296e-05 1.296e-05 0.00% Castro::construct_old_source() 25 1.03e-05 1.03e-05 1.03e-05 0.00% MLMG::computeMLResidual() 6 9.737e-06 9.737e-06 9.737e-06 0.00% MLPoisson::prepareForSolve() 6 9.487e-06 9.487e-06 9.487e-06 0.00% Castro::do_new_sources() 5 9.374e-06 9.374e-06 9.374e-06 0.00% Amr::initSubcycle() 1 9.02e-06 9.02e-06 9.02e-06 0.00% DistributionMapping::Distribute() 31 8.918e-06 8.918e-06 8.918e-06 0.00% Castro::do_old_sources() 5 8.349e-06 8.349e-06 8.349e-06 0.00% Gravity::actual_multilevel_solve() 1 7.586e-06 7.586e-06 7.586e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.133e-06 7.133e-06 7.133e-06 0.00% Castro::check_for_nan() 10 6.012e-06 6.012e-06 6.012e-06 0.00% MLLinOp::define() 6 5.905e-06 5.905e-06 5.905e-06 0.00% Castro::apply_source_to_state() 10 5.815e-06 5.815e-06 5.815e-06 0.00% Castro::construct_old_gravity() 5 5.674e-06 5.674e-06 5.674e-06 0.00% Castro::post_timestep() 5 4.471e-06 4.471e-06 4.471e-06 0.00% Gravity::swapTimeLevels() 5 4.133e-06 4.133e-06 4.133e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.498e-06 3.498e-06 3.498e-06 0.00% MLMG::getGradSolution() 6 3.428e-06 3.428e-06 3.428e-06 0.00% Castro::computeNewDt() 5 3.279e-06 3.279e-06 3.279e-06 0.00% Castro::FluxRegCrseInit 5 2.802e-06 2.802e-06 2.802e-06 0.00% MLMG::MLResNormInf() 6 2.344e-06 2.344e-06 2.344e-06 0.00% Gravity::set_mass_offset() 6 2.317e-06 2.317e-06 2.317e-06 0.00% MLMG::MLRhsNormInf() 6 2.293e-06 2.293e-06 2.293e-06 0.00% Castro::retry_advance_ctu() 5 1.904e-06 1.904e-06 1.904e-06 0.00% Castro::FluxRegFineAdd() 5 1.227e-06 1.227e-06 1.227e-06 0.00% Amr::init() 1 1.053e-06 1.053e-06 1.053e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.003e-06 1.003e-06 1.003e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3763 0.3763 0.3763 100.00% Amr::coarseTimeStep() 5 0.2975 0.2975 0.2975 79.06% Amr::timeStep() 5 0.2956 0.2956 0.2956 78.53% Castro::advance() 5 0.2917 0.2917 0.2917 77.51% Castro::subcycle_advance_ctu() 5 0.2843 0.2843 0.2843 75.53% Castro::do_advance_ctu() 5 0.2842 0.2842 0.2842 75.51% Castro::construct_new_gravity() 5 0.132 0.132 0.132 35.07% Gravity::solve_phi_with_mlmg() 6 0.1271 0.1271 0.1271 33.76% Gravity::solve_for_phi() 5 0.124 0.124 0.124 32.95% Gravity::actual_solve_with_mlmg() 6 0.1235 0.1235 0.1235 32.81% Castro::construct_ctu_hydro_source() 5 0.1124 0.1124 0.1124 29.86% MLMG::solve() 6 0.1121 0.1121 0.1121 29.78% MLMG::oneIter() 36 0.1051 0.1051 0.1051 27.93% MLMG::mgVcycle() 36 0.1036 0.1036 0.1036 27.52% MLCellLinOp::smooth() 720 0.05081 0.05081 0.05081 13.50% MLCellLinOp::applyBC() 1946 0.04763 0.04763 0.04763 12.66% Amr::init() 1 0.04448 0.04448 0.04448 11.82% Amr::restart() 1 0.04448 0.04448 0.04448 11.82% AmrLevel::restart() 1 0.03833 0.03833 0.03833 10.19% StateData::restartDoit() 4 0.03825 0.03825 0.03825 10.16% VisMF::Read() 3 0.03814 0.03814 0.03814 10.13% Amr::writePlotFile() 1 0.03359 0.03359 0.03359 8.92% VisMF::Write(FabArray) 1 0.03212 0.03212 0.03212 8.53% MLMG::mgVcycle_bottom 36 0.03211 0.03211 0.03211 8.53% MLMG::actualBottomSolve() 36 0.0321 0.0321 0.0321 8.53% MLCGSolver::bicgstab 36 0.03179 0.03179 0.03179 8.45% Castro::clean_state() 30 0.02408 0.02408 0.02408 6.40% FillPatchIterator::Initialize 20 0.02043 0.02043 0.02043 5.43% FillPatchSingleLevel 20 0.01966 0.01966 0.01966 5.22% StateDataPhysBCFunct::() 20 0.01761 0.01761 0.01761 4.68% MLCellLinOp::apply() 500 0.01591 0.01591 0.01591 4.23% MLMG::mgVcycle_down::0 36 0.01449 0.01449 0.01449 3.85% MLPoisson::Fsmooth() 1440 0.01419 0.01419 0.01419 3.77% FabArray::FillBoundary() 1766 0.01347 0.01347 0.01347 3.58% FillBoundary_nowait() 1766 0.01311 0.01311 0.01311 3.48% StateData::FillBoundary(geom) 160 0.01236 0.01236 0.01236 3.28% MLMG::mgVcycle_up::0 36 0.01089 0.01089 0.01089 2.89% Castro::initialize_do_advance() 5 0.01022 0.01022 0.01022 2.72% MLCellLinOp::correctionResidual() 216 0.00963 0.00963 0.00963 2.56% MLPoisson::define() 6 0.009084 0.009084 0.009084 2.41% amrex::Dot() 484 0.008878 0.008878 0.008878 2.36% MLMG:computeResOfCorrection() 180 0.008445 0.008445 0.008445 2.24% Castro::computeTemp() 30 0.008361 0.008361 0.008361 2.22% Gravity::get_new_grav_vector() 5 0.007872 0.007872 0.007872 2.09% Castro::enforce_min_density() 30 0.007849 0.007849 0.007849 2.09% Castro::construct_old_gravity() 5 0.007606 0.007606 0.007606 2.02% Gravity::get_old_grav_vector() 5 0.007601 0.007601 0.007601 2.02% Castro::initialize_advance() 5 0.007154 0.007154 0.007154 1.90% Castro::normalize_species() 30 0.007115 0.007115 0.007115 1.89% amrex::Copy() 463 0.007055 0.007055 0.007055 1.87% MLMG::mgVcycle_down::1 36 0.006881 0.006881 0.006881 1.83% FabArray::ParallelCopy() 380 0.006638 0.006638 0.006638 1.76% FabArray::ParallelCopy_nowait() 380 0.006528 0.006528 0.006528 1.73% MLMG::mgVcycle_down::2 36 0.006487 0.006487 0.006487 1.72% MLMG::mgVcycle_down::3 36 0.006359 0.006359 0.006359 1.69% FabArray::norminf() 326 0.006321 0.006321 0.006321 1.68% FabArray::setVal() 537 0.006288 0.006288 0.006288 1.67% MLMG::mgVcycle_down::4 36 0.006255 0.006255 0.006255 1.66% MLCellLinOp::defineAuxData() 6 0.006125 0.006125 0.006125 1.63% Castro::do_new_sources() 5 0.006063 0.006063 0.006063 1.61% Castro::expand_state() 5 0.00592 0.00592 0.00592 1.57% Castro::do_old_sources() 5 0.005532 0.005532 0.005532 1.47% MLCGSolver::ParallelAllReduce 659 0.005335 0.005335 0.005335 1.42% MLMG::addInterpCorrection() 180 0.005196 0.005196 0.005196 1.38% MLMG::mgVcycle_up::1 36 0.005014 0.005014 0.005014 1.33% MLMG::mgVcycle_up::4 36 0.005002 0.005002 0.005002 1.33% MLMG::mgVcycle_up::2 36 0.004978 0.004978 0.004978 1.32% amrex::average_down 180 0.004971 0.004971 0.004971 1.32% MLMG::mgVcycle_up::3 36 0.004932 0.004932 0.004932 1.31% MLPoisson::Fapply() 500 0.004507 0.004507 0.004507 1.20% Castro::post_timestep() 5 0.003751 0.003751 0.003751 1.00% FabArray::Saxpy() 355 0.003676 0.003676 0.003676 0.98% FabArray::Xpay() 361 0.00352 0.00352 0.00352 0.94% Gravity::fill_multipole_BCs() 6 0.003471 0.003471 0.003471 0.92% Castro::post_restart() 1 0.003428 0.003428 0.003428 0.91% Gravity::multilevel_solve_for_new_phi() 1 0.003319 0.003319 0.003319 0.88% Gravity::actual_multilevel_solve() 1 0.003302 0.003302 0.003302 0.88% MLCellLinOp::solutionResidual() 42 0.003263 0.003263 0.003263 0.87% Castro::reset_internal_energy(MultiFab) 30 0.003137 0.003137 0.003137 0.83% MLCellLinOp::defineBC() 6 0.002759 0.002759 0.002759 0.73% MLMG::computeResidual() 36 0.002707 0.002707 0.002707 0.72% BndryData::define() 6 0.002641 0.002641 0.002641 0.70% MLMG::prepareForSolve() 6 0.002574 0.002574 0.002574 0.68% Castro::estTimeStep() 10 0.002563 0.002563 0.002563 0.68% FabArray::LinComb() 242 0.00195 0.00195 0.00195 0.52% amrex::Add() 72 0.001857 0.001857 0.001857 0.49% Castro::computeNewDt() 5 0.001801 0.001801 0.001801 0.48% Castro::construct_new_source() 25 0.001788 0.001788 0.001788 0.48% Castro::construct_new_gravity_source() 5 0.001751 0.001751 0.001751 0.47% Castro::construct_old_source() 25 0.00138 0.00138 0.00138 0.37% Castro::construct_old_gravity_source() 5 0.00137 0.00137 0.00137 0.36% MLMG::ResNormInf() 42 0.000936 0.000936 0.000936 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009225 0.0009225 0.0009225 0.25% Castro::apply_source_to_state() 10 0.0009201 0.0009201 0.0009201 0.24% FabArrayBase::getCPC() 632 0.0008047 0.0008047 0.0008047 0.21% MLMG::getGradSolution() 6 0.0007731 0.0007731 0.0007731 0.21% MLCellLinOp::compGrad() 6 0.0007697 0.0007697 0.0007697 0.20% MLCellLinOp::setLevelBC() 6 0.0007476 0.0007476 0.0007476 0.20% Castro::enforce_speed_limit() 30 0.0007215 0.0007215 0.0007215 0.19% Castro::reset_internal_energy(Fab) 240 0.000713 0.000713 0.000713 0.19% FabArray::mult() 22 0.0006546 0.0006546 0.0006546 0.17% FabArray::setDomainBndry() 20 0.0006447 0.0006447 0.0006447 0.17% MLPoisson::prepareForSolve() 6 0.0006207 0.0006207 0.0006207 0.16% MLCellLinOp::prepareForSolve() 6 0.0006112 0.0006112 0.0006112 0.16% Castro::check_for_nan() 10 0.0006068 0.0006068 0.0006068 0.16% MultiFab::contains_nan() 10 0.0006008 0.0006008 0.0006008 0.16% MLMG::computeMLResidual() 6 0.0005792 0.0005792 0.0005792 0.15% FabArrayBase::CPC::define() 244 0.0004507 0.0004507 0.0004507 0.12% Gravity::update_max_rhs() 6 0.0004458 0.0004458 0.0004458 0.12% Amr::InitAmr() 1 0.0004215 0.0004215 0.0004215 0.11% FabArrayBase::getFB() 1766 0.0003102 0.0003102 0.0003102 0.08% Castro::finalize_advance() 5 0.000294 0.000294 0.000294 0.08% Gravity::swapTimeLevels() 5 0.0002313 0.0002313 0.0002313 0.06% MLLinOp::define() 6 0.0001856 0.0001856 0.0001856 0.05% MLLinOp::defineGrids() 6 0.0001797 0.0001797 0.0001797 0.05% MLMG::MLResNormInf() 6 0.0001526 0.0001526 0.0001526 0.04% Castro::buildMetrics() 1 0.0001449 0.0001449 0.0001449 0.04% MultiFab::max() 6 0.0001382 0.0001382 0.0001382 0.04% MLMG::MLRhsNormInf() 6 0.0001182 0.0001182 0.0001182 0.03% Castro::create_source_corrector() 5 0.000118 0.000118 0.000118 0.03% FabArrayBase::FB::FB() 26 6.072e-05 6.072e-05 6.072e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.893e-05 2.893e-05 2.893e-05 0.01% Castro::initMFs() 1 2.72e-05 2.72e-05 2.72e-05 0.01% Amr::writeSmallPlotFile() 1 2.58e-05 2.58e-05 2.58e-05 0.01% Castro::swap_state_time_levels() 5 2.403e-05 2.403e-05 2.403e-05 0.01% makeSFC 30 2.18e-05 2.18e-05 2.18e-05 0.01% Castro::finalize_do_advance() 5 2.069e-05 2.069e-05 2.069e-05 0.01% Amr::initSubcycle() 1 9.02e-06 9.02e-06 9.02e-06 0.00% DistributionMapping::Distribute() 31 8.918e-06 8.918e-06 8.918e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.809e-06 4.809e-06 4.809e-06 0.00% Castro::FluxRegCrseInit 5 2.802e-06 2.802e-06 2.802e-06 0.00% Gravity::set_mass_offset() 6 2.317e-06 2.317e-06 2.317e-06 0.00% Castro::retry_advance_ctu() 5 1.904e-06 1.904e-06 1.904e-06 0.00% Castro::FluxRegFineAdd() 5 1.227e-06 1.227e-06 1.227e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.003e-06 1.003e-06 1.003e-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 223 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 143 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB FillPatchIterator::Initialize 160 160 1185 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2508 KiB 28 MiB Castro::initialize_advance() 40 40 18 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6734 KiB 14 MiB MLMG::prepareForSolve() 361 361 3656 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 209 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 212 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6730 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2288 B 2048 KiB Gravity::solve_for_phi() 40 40 673 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 17 KiB 2048 KiB BndryData::define() 576 576 336 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 215 KiB 671 KiB Castro::estTimeStep() 10 10 3193 B 480 KiB VisMF::Write(FabArray) 112 112 1303 B 320 KiB Castro::normalize_species() 30 30 6142 B 320 KiB amrex::average_down 469 469 1263 B 257 KiB MLMG::addInterpCorrection() 468 468 1177 B 257 KiB amrex::Dot() 592 592 3467 B 160 KiB FabArray::norminf() 398 398 2472 B 160 KiB Castro::do_advance_ctu() 5 5 674 B 160 KiB MultiFab::max() 6 6 56 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3555 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 52 B 10 KiB FillBoundary_nowait() 336 336 295 B 9648 B MLCellLinOp::applyBC() 3892 3892 232 B 9344 B amrex::Copy() 56 56 6004 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 47 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 122 B 1472 B MLCellLinOp::defineBC() 36 36 377 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1370 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 118 KiB 8192 KiB VisMF::Write(FabArray) 120 120 263 KiB 3584 KiB VisMF::Read() 24 24 198 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3555 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 52 B 10 KiB FillBoundary_nowait() 336 336 295 B 9648 B MLCellLinOp::applyBC() 1946 1946 231 B 9328 B amrex::Copy() 56 56 6004 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2657 B 3072 B StateData::FillBoundary(geom) 960 960 48 B 2880 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 544 B 1296 B amrex::average_down 37 37 224 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 25 B 400 B FabArray::norminf() 398 398 17 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): 2424 [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-41-gcf6b46bd95a3) finalized