Initializing CUDA... CUDA initialized with 1 device. AMReX (23.03-30-gd781598bc94b) initialized Starting run at 08:57:56 UTC on 2023-03-31. Successfully read inputs file ... Castro git describe: 23.03-19-gf4ff573dd AMReX git describe: 23.03-30-gd781598bc Microphysics git describe: 23.03-24-g6e65f17a 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.056257769 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.032310335 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.045481339 [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.048289489 [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.050067114 [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.067092321 [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.065948399 [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.055736801 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.067260909 [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.057912716 [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.046407782 [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.046311482 [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.048905511 [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.055822502 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.032253429 seconds Ending run at 08:57:57 UTC on 2023-03-31. Run time = 0.828969931 Run time without initialization = 0.688141942 Average number of zones advanced per microsecond: 3.809 Average number of zones advanced per microsecond per rank: 3.809 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.829 ... 0.829 ... 0.829 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2256 0.2256 0.2256 27.21% Castro::construct_ctu_hydro_source() 10 0.1887 0.1887 0.1887 22.76% MLCellLinOp::applyBC() 4433 0.07498 0.07498 0.07498 9.04% MLPoisson::Fsmooth() 3280 0.03149 0.03149 0.03149 3.80% FillBoundary_nowait() 4023 0.03106 0.03106 0.03106 3.75% StateData::FillBoundary(geom) 328 0.02381 0.02381 0.02381 2.87% amrex::Dot() 1114 0.02003 0.02003 0.02003 2.42% StateDataPhysBCFunct::() 41 0.01978 0.01978 0.01978 2.39% Castro::computeTemp() 63 0.01513 0.01513 0.01513 1.82% amrex::Copy() 1029 0.01457 0.01457 0.01457 1.76% Castro::normalize_species() 62 0.01418 0.01418 0.01418 1.71% FabArray::norminf() 743 0.01396 0.01396 0.01396 1.68% FabArray::ParallelCopy_nowait() 861 0.01308 0.01308 0.01308 1.58% FabArray::setVal() 1144 0.01281 0.01281 0.01281 1.55% MLPoisson::Fapply() 1142 0.01007 0.01007 0.01007 1.21% MLCellLinOp::defineAuxData() 11 0.009466 0.009466 0.009466 1.14% Castro::enforce_min_density() 62 0.008569 0.008569 0.008569 1.03% FabArray::Saxpy() 813 0.007978 0.007978 0.007978 0.96% FabArray::Xpay() 821 0.007882 0.007882 0.007882 0.95% MLMG::addInterpCorrection() 410 0.00667 0.00667 0.00667 0.80% Gravity::fill_multipole_BCs() 11 0.006515 0.006515 0.006515 0.79% amrex::average_down 410 0.005868 0.005868 0.005868 0.71% Castro::estTimeStep() 21 0.005783 0.005783 0.005783 0.70% Castro::reset_internal_energy(MultiFab) 63 0.004544 0.004544 0.004544 0.55% FabArray::LinComb() 557 0.004386 0.004386 0.004386 0.53% amrex::Add() 164 0.004333 0.004333 0.004333 0.52% Amr::checkPoint() 3 0.003967 0.003967 0.003967 0.48% BndryData::define() 11 0.003565 0.003565 0.003565 0.43% Castro::construct_new_gravity_source() 10 0.003301 0.003301 0.003301 0.40% Castro::construct_old_gravity_source() 10 0.002815 0.002815 0.002815 0.34% Amr::writePlotFile() 2 0.002378 0.002378 0.002378 0.29% Castro::do_advance_ctu() 10 0.002343 0.002343 0.002343 0.28% MLCGSolver::bicgstab 82 0.00221 0.00221 0.00221 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00166 0.00166 0.00166 0.20% Gravity::actual_solve_with_mlmg() 11 0.001469 0.001469 0.001469 0.18% Castro::reset_internal_energy(Fab) 504 0.001388 0.001388 0.001388 0.17% MLCellLinOp::setLevelBC() 11 0.001365 0.001365 0.001365 0.16% FabArray::mult() 43 0.00132 0.00132 0.00132 0.16% Castro::initData() 1 0.001283 0.001283 0.001283 0.15% FabArray::setDomainBndry() 41 0.001282 0.001282 0.001282 0.15% MultiFab::contains_nan() 20 0.0012 0.0012 0.0012 0.14% MLCellLinOp::smooth() 1640 0.001113 0.001113 0.001113 0.13% MLCellLinOp::prepareForSolve() 11 0.001106 0.001106 0.001106 0.13% Castro::enforce_speed_limit() 62 0.001013 0.001013 0.001013 0.12% MLCellLinOp::compGrad() 11 0.0009042 0.0009042 0.0009042 0.11% MLMG::prepareForSolve() 11 0.0008917 0.0008917 0.0008917 0.11% FabArray::FillBoundary() 4023 0.0008698 0.0008698 0.0008698 0.10% FabArrayBase::getCPC() 1323 0.0007264 0.0007264 0.0007264 0.09% FabArrayBase::CPC::define() 454 0.0006841 0.0006841 0.0006841 0.08% Gravity::get_new_grav_vector() 11 0.0006288 0.0006288 0.0006288 0.08% FabArrayBase::getFB() 4023 0.0006049 0.0006049 0.0006049 0.07% Gravity::get_old_grav_vector() 10 0.0005398 0.0005398 0.0005398 0.07% Amr::InitAmr() 1 0.0004928 0.0004928 0.0004928 0.06% MLCellLinOp::apply() 1142 0.0004828 0.0004828 0.0004828 0.06% Amr::coarseTimeStep() 10 0.000373 0.000373 0.000373 0.04% MLMG::mgVcycle() 82 0.0003555 0.0003555 0.0003555 0.04% MLLinOp::defineGrids() 11 0.0003341 0.0003341 0.0003341 0.04% MLCGSolver::ParallelAllReduce 1514 0.0003264 0.0003264 0.0003264 0.04% main() 1 0.0002852 0.0002852 0.0002852 0.03% MultiFab::max() 11 0.0002578 0.0002578 0.0002578 0.03% FabArray::ParallelCopy() 861 0.0002499 0.0002499 0.0002499 0.03% FillPatchIterator::Initialize 41 0.000236 0.000236 0.000236 0.03% MLCellLinOp::correctionResidual() 492 0.0002285 0.0002285 0.0002285 0.03% MLCellLinOp::defineBC() 11 0.0002145 0.0002145 0.0002145 0.03% Castro::create_source_corrector() 10 0.000209 0.000209 0.000209 0.03% Castro::subcycle_advance_ctu() 10 0.0001841 0.0001841 0.0001841 0.02% Amr::timeStep() 10 0.0001686 0.0001686 0.0001686 0.02% StateData::checkPoint() 12 0.0001363 0.0001363 0.0001363 0.02% Gravity::update_max_rhs() 11 0.0001341 0.0001341 0.0001341 0.02% Gravity::solve_for_phi() 10 0.0001128 0.0001128 0.0001128 0.01% MLMG:computeResOfCorrection() 410 0.0001114 0.0001114 0.0001114 0.01% FabArrayBase::FB::FB() 56 8.813e-05 8.813e-05 8.813e-05 0.01% MLMG::mgVcycle_down::0 82 8.805e-05 8.805e-05 8.805e-05 0.01% MLMG::actualBottomSolve() 82 8.766e-05 8.766e-05 8.766e-05 0.01% Castro::Castro() 1 8.408e-05 8.408e-05 8.408e-05 0.01% AmrLevel::checkPoint() 3 7.693e-05 7.693e-05 7.693e-05 0.01% Castro::expand_state() 10 7.6e-05 7.6e-05 7.6e-05 0.01% MLMG::solve() 11 7.453e-05 7.453e-05 7.453e-05 0.01% Castro::clean_state() 62 7.303e-05 7.303e-05 7.303e-05 0.01% MLMG::mgVcycle_down::1 82 7.291e-05 7.291e-05 7.291e-05 0.01% MLMG::mgVcycle_down::2 82 7.056e-05 7.056e-05 7.056e-05 0.01% Castro::initialize_advance() 10 7.046e-05 7.046e-05 7.046e-05 0.01% MLMG::mgVcycle_down::3 82 6.662e-05 6.662e-05 6.662e-05 0.01% MLMG::mgVcycle_down::4 82 6.577e-05 6.577e-05 6.577e-05 0.01% Castro::advance() 10 6.368e-05 6.368e-05 6.368e-05 0.01% MLMG::mgVcycle_up::4 82 6.157e-05 6.157e-05 6.157e-05 0.01% Castro::finalize_advance() 10 5.703e-05 5.703e-05 5.703e-05 0.01% MLMG::oneIter() 82 5.659e-05 5.659e-05 5.659e-05 0.01% MLMG::mgVcycle_up::0 82 5.588e-05 5.588e-05 5.588e-05 0.01% MLMG::mgVcycle_up::1 82 5.301e-05 5.301e-05 5.301e-05 0.01% Castro::initialize_do_advance() 10 5.234e-05 5.234e-05 5.234e-05 0.01% MLMG::mgVcycle_up::2 82 5.23e-05 5.23e-05 5.23e-05 0.01% MLMG::mgVcycle_up::3 82 5.167e-05 5.167e-05 5.167e-05 0.01% MLCellLinOp::solutionResidual() 93 5.082e-05 5.082e-05 5.082e-05 0.01% Castro::swap_state_time_levels() 10 3.891e-05 3.891e-05 3.891e-05 0.00% Castro::finalize_do_advance() 10 3.58e-05 3.58e-05 3.58e-05 0.00% Castro::enforce_consistent_e() 1 3.425e-05 3.425e-05 3.425e-05 0.00% StateData::define() 4 3.402e-05 3.402e-05 3.402e-05 0.00% MLMG::mgVcycle_bottom 82 3.362e-05 3.362e-05 3.362e-05 0.00% MLMG::ResNormInf() 93 3.35e-05 3.35e-05 3.35e-05 0.00% MLMG::computeResidual() 82 3.101e-05 3.101e-05 3.101e-05 0.00% FillPatchSingleLevel 41 2.95e-05 2.95e-05 2.95e-05 0.00% Amr::writeSmallPlotFile() 1 2.471e-05 2.471e-05 2.471e-05 0.00% Castro::construct_new_gravity() 10 2.459e-05 2.459e-05 2.459e-05 0.00% MLPoisson::define() 11 2.398e-05 2.398e-05 2.398e-05 0.00% Castro::initMFs() 1 2.39e-05 2.39e-05 2.39e-05 0.00% makeSFC 55 2.306e-05 2.306e-05 2.306e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.156e-05 2.156e-05 2.156e-05 0.00% Amr::defBaseLevel() 1 2.038e-05 2.038e-05 2.038e-05 0.00% Amr::FinalizeInit() 1 1.917e-05 1.917e-05 1.917e-05 0.00% Castro::construct_old_source() 50 1.852e-05 1.852e-05 1.852e-05 0.00% Castro::buildMetrics() 1 1.85e-05 1.85e-05 1.85e-05 0.00% Castro::construct_new_source() 50 1.83e-05 1.83e-05 1.83e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.636e-05 1.636e-05 1.636e-05 0.00% DistributionMapping::Distribute() 56 1.631e-05 1.631e-05 1.631e-05 0.00% Castro::do_new_sources() 10 1.606e-05 1.606e-05 1.606e-05 0.00% Castro::do_old_sources() 10 1.531e-05 1.531e-05 1.531e-05 0.00% MLPoisson::prepareForSolve() 11 1.465e-05 1.465e-05 1.465e-05 0.00% MLMG::computeMLResidual() 11 1.404e-05 1.404e-05 1.404e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.397e-05 1.397e-05 1.397e-05 0.00% Castro::check_for_nan() 20 1.056e-05 1.056e-05 1.056e-05 0.00% MLLinOp::define() 11 1.019e-05 1.019e-05 1.019e-05 0.00% Castro::apply_source_to_state() 20 9.647e-06 9.647e-06 9.647e-06 0.00% AmrLevel::AmrLevel(dm) 1 9.556e-06 9.556e-06 9.556e-06 0.00% Castro::construct_old_gravity() 10 9.448e-06 9.448e-06 9.448e-06 0.00% Gravity::swapTimeLevels() 10 8.88e-06 8.88e-06 8.88e-06 0.00% Amr::initSubcycle() 1 8.496e-06 8.496e-06 8.496e-06 0.00% Castro::post_timestep() 10 8.176e-06 8.176e-06 8.176e-06 0.00% Gravity::actual_multilevel_solve() 1 7.668e-06 7.668e-06 7.668e-06 0.00% Castro::computeNewDt() 9 7.507e-06 7.507e-06 7.507e-06 0.00% MLMG::getGradSolution() 11 5.978e-06 5.978e-06 5.978e-06 0.00% AmrLevel::checkPointPost() 3 5.287e-06 5.287e-06 5.287e-06 0.00% Amr::InitializeInit() 1 5.16e-06 5.16e-06 5.16e-06 0.00% MLMG::MLResNormInf() 11 3.864e-06 3.864e-06 3.864e-06 0.00% Gravity::set_mass_offset() 11 3.809e-06 3.809e-06 3.809e-06 0.00% MLMG::MLRhsNormInf() 11 3.801e-06 3.801e-06 3.801e-06 0.00% Castro::retry_advance_ctu() 10 3.692e-06 3.692e-06 3.692e-06 0.00% Castro::post_init() 1 3.654e-06 3.654e-06 3.654e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.952e-06 2.952e-06 2.952e-06 0.00% Castro::FluxRegCrseInit 10 2.643e-06 2.643e-06 2.643e-06 0.00% Castro::computeInitialDt() 2 2.619e-06 2.619e-06 2.619e-06 0.00% Amr::init() 1 2.271e-06 2.271e-06 2.271e-06 0.00% Castro::FluxRegFineAdd() 10 2.119e-06 2.119e-06 2.119e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.866e-06 1.866e-06 1.866e-06 0.00% AmrLevel::checkPointPre() 3 1.596e-06 1.596e-06 1.596e-06 0.00% Amr::initialInit() 1 1.155e-06 1.155e-06 1.155e-06 0.00% Castro::post_regrid() 1 9.01e-07 9.01e-07 9.01e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.829 0.829 0.829 100.00% Amr::coarseTimeStep() 10 0.6557 0.6557 0.6557 79.09% Amr::timeStep() 10 0.5396 0.5396 0.5396 65.09% Castro::advance() 10 0.5322 0.5322 0.5322 64.20% Castro::subcycle_advance_ctu() 10 0.5218 0.5218 0.5218 62.94% Castro::do_advance_ctu() 10 0.5216 0.5216 0.5216 62.92% Gravity::solve_phi_with_mlmg() 11 0.2776 0.2776 0.2776 33.49% Gravity::actual_solve_with_mlmg() 11 0.2707 0.2707 0.2707 32.65% Castro::construct_new_gravity() 10 0.2539 0.2539 0.2539 30.63% MLMG::solve() 11 0.2505 0.2505 0.2505 30.22% Gravity::solve_for_phi() 10 0.2383 0.2383 0.2383 28.74% MLMG::oneIter() 82 0.2365 0.2365 0.2365 28.52% MLMG::mgVcycle() 82 0.2328 0.2328 0.2328 28.08% VisMF::Write(FabArray) 11 0.2256 0.2256 0.2256 27.21% Castro::construct_ctu_hydro_source() 10 0.1887 0.1887 0.1887 22.76% Amr::checkPoint() 3 0.168 0.168 0.168 20.26% AmrLevel::checkPoint() 3 0.164 0.164 0.164 19.78% StateData::checkPoint() 12 0.1639 0.1639 0.1639 19.77% Amr::init() 1 0.1402 0.1402 0.1402 16.91% MLCellLinOp::smooth() 1640 0.1147 0.1147 0.1147 13.84% MLCellLinOp::applyBC() 4433 0.1076 0.1076 0.1076 12.98% MLMG::mgVcycle_bottom 82 0.07182 0.07182 0.07182 8.66% MLMG::actualBottomSolve() 82 0.07178 0.07178 0.07178 8.66% MLCGSolver::bicgstab 82 0.07111 0.07111 0.07111 8.58% Amr::writePlotFile() 2 0.06469 0.06469 0.06469 7.80% Amr::initialInit() 1 0.05151 0.05151 0.05151 6.21% FillPatchIterator::Initialize 41 0.04917 0.04917 0.04917 5.93% FillPatchSingleLevel 41 0.04765 0.04765 0.04765 5.75% Amr::FinalizeInit() 1 0.04728 0.04728 0.04728 5.70% Castro::post_init() 1 0.04588 0.04588 0.04588 5.53% Castro::clean_state() 62 0.04406 0.04406 0.04406 5.32% StateDataPhysBCFunct::() 41 0.04358 0.04358 0.04358 5.26% Gravity::multilevel_solve_for_new_phi() 1 0.03981 0.03981 0.03981 4.80% Gravity::actual_multilevel_solve() 1 0.0398 0.0398 0.0398 4.80% MLCellLinOp::apply() 1142 0.03559 0.03559 0.03559 4.29% MLMG::mgVcycle_down::0 82 0.03352 0.03352 0.03352 4.04% FabArray::FillBoundary() 4023 0.03262 0.03262 0.03262 3.93% FillBoundary_nowait() 4023 0.03175 0.03175 0.03175 3.83% MLPoisson::Fsmooth() 3280 0.03149 0.03149 0.03149 3.80% MLMG::mgVcycle_up::0 82 0.02542 0.02542 0.02542 3.07% StateData::FillBoundary(geom) 328 0.02381 0.02381 0.02381 2.87% Castro::initialize_do_advance() 10 0.0224 0.0224 0.0224 2.70% MLCellLinOp::correctionResidual() 492 0.02179 0.02179 0.02179 2.63% Gravity::get_new_grav_vector() 11 0.02142 0.02142 0.02142 2.58% Castro::computeTemp() 63 0.02106 0.02106 0.02106 2.54% amrex::Dot() 1114 0.02003 0.02003 0.02003 2.42% MLMG:computeResOfCorrection() 410 0.01918 0.01918 0.01918 2.31% MLPoisson::define() 11 0.01594 0.01594 0.01594 1.92% MLMG::mgVcycle_down::1 82 0.01537 0.01537 0.01537 1.85% Castro::construct_old_gravity() 10 0.0151 0.0151 0.0151 1.82% Gravity::get_old_grav_vector() 10 0.01509 0.01509 0.01509 1.82% amrex::Copy() 1029 0.01457 0.01457 0.01457 1.76% MLMG::mgVcycle_down::2 82 0.01432 0.01432 0.01432 1.73% Castro::normalize_species() 62 0.01418 0.01418 0.01418 1.71% FabArray::ParallelCopy() 861 0.01412 0.01412 0.01412 1.70% MLMG::mgVcycle_down::3 82 0.01399 0.01399 0.01399 1.69% FabArray::norminf() 743 0.01396 0.01396 0.01396 1.68% FabArray::ParallelCopy_nowait() 861 0.01387 0.01387 0.01387 1.67% MLMG::mgVcycle_down::4 82 0.01384 0.01384 0.01384 1.67% Castro::expand_state() 10 0.01378 0.01378 0.01378 1.66% Castro::do_new_sources() 10 0.01281 0.01281 0.01281 1.55% FabArray::setVal() 1144 0.01281 0.01281 0.01281 1.55% MLCGSolver::ParallelAllReduce 1514 0.01207 0.01207 0.01207 1.46% MLMG::addInterpCorrection() 410 0.0117 0.0117 0.0117 1.41% MLMG::mgVcycle_up::4 82 0.0113 0.0113 0.0113 1.36% MLMG::mgVcycle_up::1 82 0.0112 0.0112 0.0112 1.35% MLMG::mgVcycle_up::2 82 0.01094 0.01094 0.01094 1.32% amrex::average_down 410 0.01093 0.01093 0.01093 1.32% MLCellLinOp::defineAuxData() 11 0.01078 0.01078 0.01078 1.30% MLMG::mgVcycle_up::3 82 0.01073 0.01073 0.01073 1.29% Castro::do_old_sources() 10 0.01067 0.01067 0.01067 1.29% MLPoisson::Fapply() 1142 0.01007 0.01007 0.01007 1.21% Castro::initialize_advance() 10 0.009761 0.009761 0.009761 1.18% Castro::enforce_min_density() 62 0.008569 0.008569 0.008569 1.03% FabArray::Saxpy() 813 0.007978 0.007978 0.007978 0.96% FabArray::Xpay() 821 0.007882 0.007882 0.007882 0.95% Castro::post_timestep() 10 0.007194 0.007194 0.007194 0.87% MLCellLinOp::solutionResidual() 93 0.007068 0.007068 0.007068 0.85% Gravity::fill_multipole_BCs() 11 0.00677 0.00677 0.00677 0.82% MLMG::computeResidual() 82 0.006105 0.006105 0.006105 0.74% Castro::reset_internal_energy(MultiFab) 63 0.005933 0.005933 0.005933 0.72% Castro::estTimeStep() 21 0.005783 0.005783 0.005783 0.70% MLCellLinOp::defineBC() 11 0.004736 0.004736 0.004736 0.57% MLMG::prepareForSolve() 11 0.004575 0.004575 0.004575 0.55% BndryData::define() 11 0.004521 0.004521 0.004521 0.55% FabArray::LinComb() 557 0.004386 0.004386 0.004386 0.53% amrex::Add() 164 0.004333 0.004333 0.004333 0.52% Amr::InitializeInit() 1 0.004224 0.004224 0.004224 0.51% Amr::defBaseLevel() 1 0.004219 0.004219 0.004219 0.51% Castro::initData() 1 0.003722 0.003722 0.003722 0.45% Castro::computeNewDt() 9 0.003383 0.003383 0.003383 0.41% Castro::construct_new_source() 50 0.00332 0.00332 0.00332 0.40% Castro::construct_new_gravity_source() 10 0.003301 0.003301 0.003301 0.40% Castro::construct_old_source() 50 0.002833 0.002833 0.002833 0.34% Castro::construct_old_gravity_source() 10 0.002815 0.002815 0.002815 0.34% MLMG::ResNormInf() 93 0.002061 0.002061 0.002061 0.25% Castro::apply_source_to_state() 20 0.001818 0.001818 0.001818 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00166 0.00166 0.00166 0.20% FabArrayBase::getCPC() 1323 0.001411 0.001411 0.001411 0.17% Castro::reset_internal_energy(Fab) 504 0.001388 0.001388 0.001388 0.17% MLMG::getGradSolution() 11 0.001375 0.001375 0.001375 0.17% MLCellLinOp::compGrad() 11 0.001369 0.001369 0.001369 0.17% MLCellLinOp::setLevelBC() 11 0.001365 0.001365 0.001365 0.16% FabArray::mult() 43 0.00132 0.00132 0.00132 0.16% FabArray::setDomainBndry() 41 0.001282 0.001282 0.001282 0.15% Castro::check_for_nan() 20 0.001211 0.001211 0.001211 0.15% MultiFab::contains_nan() 20 0.0012 0.0012 0.0012 0.14% Castro::post_regrid() 1 0.001148 0.001148 0.001148 0.14% MLPoisson::prepareForSolve() 11 0.001121 0.001121 0.001121 0.14% MLCellLinOp::prepareForSolve() 11 0.001106 0.001106 0.001106 0.13% Castro::enforce_speed_limit() 62 0.001013 0.001013 0.001013 0.12% MLMG::computeMLResidual() 11 0.001008 0.001008 0.001008 0.12% Castro::computeInitialDt() 2 0.0009119 0.0009119 0.0009119 0.11% Gravity::update_max_rhs() 11 0.0008569 0.0008569 0.0008569 0.10% FabArrayBase::getFB() 4023 0.000693 0.000693 0.000693 0.08% FabArrayBase::CPC::define() 454 0.0006841 0.0006841 0.0006841 0.08% Castro::finalize_advance() 10 0.0005837 0.0005837 0.0005837 0.07% Amr::InitAmr() 1 0.0005013 0.0005013 0.0005013 0.06% Gravity::swapTimeLevels() 10 0.0004319 0.0004319 0.0004319 0.05% Castro::Castro() 1 0.0004283 0.0004283 0.0004283 0.05% MLLinOp::define() 11 0.000398 0.000398 0.000398 0.05% MLLinOp::defineGrids() 11 0.0003879 0.0003879 0.0003879 0.05% MLMG::MLResNormInf() 11 0.0002918 0.0002918 0.0002918 0.04% MultiFab::max() 11 0.0002578 0.0002578 0.0002578 0.03% MLMG::MLRhsNormInf() 11 0.0002167 0.0002167 0.0002167 0.03% Castro::create_source_corrector() 10 0.000209 0.000209 0.000209 0.03% Castro::buildMetrics() 1 0.0001603 0.0001603 0.0001603 0.02% FabArrayBase::FB::FB() 56 8.813e-05 8.813e-05 8.813e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.193e-05 5.193e-05 5.193e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.357e-05 4.357e-05 4.357e-05 0.01% Castro::swap_state_time_levels() 10 3.891e-05 3.891e-05 3.891e-05 0.00% makeSFC 55 3.796e-05 3.796e-05 3.796e-05 0.00% Castro::finalize_do_advance() 10 3.58e-05 3.58e-05 3.58e-05 0.00% Castro::enforce_consistent_e() 1 3.425e-05 3.425e-05 3.425e-05 0.00% StateData::define() 4 3.402e-05 3.402e-05 3.402e-05 0.00% Amr::writeSmallPlotFile() 1 2.471e-05 2.471e-05 2.471e-05 0.00% Castro::initMFs() 1 2.39e-05 2.39e-05 2.39e-05 0.00% DistributionMapping::Distribute() 56 1.631e-05 1.631e-05 1.631e-05 0.00% Amr::initSubcycle() 1 8.496e-06 8.496e-06 8.496e-06 0.00% AmrLevel::checkPointPost() 3 5.287e-06 5.287e-06 5.287e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.36e-06 4.36e-06 4.36e-06 0.00% Gravity::set_mass_offset() 11 3.809e-06 3.809e-06 3.809e-06 0.00% Castro::retry_advance_ctu() 10 3.692e-06 3.692e-06 3.692e-06 0.00% Castro::FluxRegCrseInit 10 2.643e-06 2.643e-06 2.643e-06 0.00% Castro::FluxRegFineAdd() 10 2.119e-06 2.119e-06 2.119e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.866e-06 1.866e-06 1.866e-06 0.00% AmrLevel::checkPointPre() 3 1.596e-06 1.596e-06 1.596e-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 98 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 104 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 1261 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2190 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7615 KiB 14 MiB MLMG::prepareForSolve() 660 660 3718 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 267 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 186 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7520 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1963 B 2048 KiB Gravity::solve_for_phi() 80 80 587 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 98 KiB 2048 KiB BndryData::define() 1056 1056 339 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 215 KiB 671 KiB Castro::estTimeStep() 21 21 2757 B 480 KiB VisMF::Write(FabArray) 656 656 3572 B 320 KiB Castro::normalize_species() 62 62 5567 B 320 KiB amrex::average_down 1067 1067 1308 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1211 B 257 KiB amrex::Dot() 1360 1360 3567 B 160 KiB FabArray::norminf() 907 907 2493 B 160 KiB Castro::do_advance_ctu() 10 10 419 B 160 KiB MultiFab::max() 11 11 48 B 160 KiB Castro::initData() 1 1 29 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3635 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 47 B 10 KiB FillBoundary_nowait() 760 760 328 B 9648 B MLCellLinOp::applyBC() 8866 8866 235 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3837 B 6144 B StateData::FillBoundary(geom) 1992 1992 60 B 2880 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 124 B 1472 B MLCellLinOp::defineBC() 66 66 382 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 663 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 52 KiB 8192 KiB VisMF::Write(FabArray) 744 744 629 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3635 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 47 B 10 KiB FillBoundary_nowait() 760 760 328 B 9648 B MLCellLinOp::applyBC() 4433 4433 233 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3837 B 6144 B Gravity::get_new_grav_vector() 3 3 2897 B 3072 B StateData::FillBoundary(geom) 1992 1992 61 B 2880 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 309 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 26 B 400 B FabArray::norminf() 907 907 18 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2459 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.03-30-gd781598bc94b) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.03-30-gd781598bc94b) initialized Starting run at 08:57:57 UTC on 2023-03-31. Successfully read inputs file ... Castro git describe: 23.03-19-gf4ff573dd AMReX git describe: 23.03-30-gd781598bc Microphysics git describe: 23.03-24-g6e65f17a reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.473447022 Restart time = 0.045729961 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.047661947 [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.047175013 [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.046544364 [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.059541138 [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.068727706 [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.032148446 seconds Ending run at 08:57:58 UTC on 2023-03-31. Run time = 0.348559532 Run time without initialization = 0.302212973 Average number of zones advanced per microsecond: 4.337 Average number of zones advanced per microsecond per rank: 4.337 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3486 ... 0.3486 ... 0.3486 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.0923 0.0923 0.0923 26.46% VisMF::Read() 3 0.03952 0.03952 0.03952 11.34% MLCellLinOp::applyBC() 1946 0.03239 0.03239 0.03239 9.29% VisMF::Write(FabArray) 1 0.03059 0.03059 0.03059 8.78% MLPoisson::Fsmooth() 1440 0.01356 0.01356 0.01356 3.89% FillBoundary_nowait() 1766 0.01274 0.01274 0.01274 3.65% StateData::FillBoundary(geom) 160 0.01145 0.01145 0.01145 3.29% amrex::Dot() 484 0.008505 0.008505 0.008505 2.44% amrex::Copy() 463 0.006841 0.006841 0.006841 1.96% Castro::normalize_species() 30 0.006396 0.006396 0.006396 1.83% FabArray::setVal() 537 0.006066 0.006066 0.006066 1.74% FabArray::norminf() 326 0.006011 0.006011 0.006011 1.72% StateDataPhysBCFunct::() 20 0.006008 0.006008 0.006008 1.72% FabArray::ParallelCopy_nowait() 380 0.005983 0.005983 0.005983 1.72% Castro::enforce_min_density() 30 0.005874 0.005874 0.005874 1.69% Castro::computeTemp() 30 0.005442 0.005442 0.005442 1.56% MLCellLinOp::defineAuxData() 6 0.005013 0.005013 0.005013 1.44% MLPoisson::Fapply() 500 0.004296 0.004296 0.004296 1.23% FabArray::Saxpy() 355 0.003553 0.003553 0.003553 1.02% Gravity::fill_multipole_BCs() 6 0.003418 0.003418 0.003418 0.98% Castro::estTimeStep() 10 0.003413 0.003413 0.003413 0.98% FabArray::Xpay() 361 0.00339 0.00339 0.00339 0.97% MLMG::addInterpCorrection() 180 0.002888 0.002888 0.002888 0.83% amrex::average_down 180 0.002537 0.002537 0.002537 0.73% Amr::restart() 1 0.002476 0.002476 0.002476 0.71% Castro::reset_internal_energy(MultiFab) 30 0.002467 0.002467 0.002467 0.71% BndryData::define() 6 0.001912 0.001912 0.001912 0.55% FabArray::LinComb() 242 0.001864 0.001864 0.001864 0.53% amrex::Add() 72 0.001845 0.001845 0.001845 0.53% Castro::construct_new_gravity_source() 5 0.00169 0.00169 0.00169 0.48% Amr::writePlotFile() 1 0.001408 0.001408 0.001408 0.40% Castro::construct_old_gravity_source() 5 0.001353 0.001353 0.001353 0.39% Castro::do_advance_ctu() 5 0.001254 0.001254 0.001254 0.36% MLCGSolver::bicgstab 36 0.0009519 0.0009519 0.0009519 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000888 0.000888 0.000888 0.25% Gravity::actual_solve_with_mlmg() 6 0.0007702 0.0007702 0.0007702 0.22% MLCellLinOp::setLevelBC() 6 0.0007277 0.0007277 0.0007277 0.21% FabArray::mult() 22 0.0006397 0.0006397 0.0006397 0.18% FabArray::setDomainBndry() 20 0.0006316 0.0006316 0.0006316 0.18% Castro::reset_internal_energy(Fab) 240 0.0006218 0.0006218 0.0006218 0.18% MultiFab::contains_nan() 10 0.0005904 0.0005904 0.0005904 0.17% MLCellLinOp::prepareForSolve() 6 0.0005859 0.0005859 0.0005859 0.17% Castro::enforce_speed_limit() 30 0.0005215 0.0005215 0.0005215 0.15% MLCellLinOp::smooth() 720 0.0004992 0.0004992 0.0004992 0.14% MLCellLinOp::compGrad() 6 0.0004853 0.0004853 0.0004853 0.14% MLMG::prepareForSolve() 6 0.0004824 0.0004824 0.0004824 0.14% Amr::InitAmr() 1 0.0004237 0.0004237 0.0004237 0.12% FabArrayBase::CPC::define() 244 0.0004236 0.0004236 0.0004236 0.12% FabArray::FillBoundary() 1766 0.0003688 0.0003688 0.0003688 0.11% FabArrayBase::getCPC() 632 0.000347 0.000347 0.000347 0.10% Gravity::get_old_grav_vector() 5 0.0002965 0.0002965 0.0002965 0.09% main() 1 0.0002933 0.0002933 0.0002933 0.08% Gravity::get_new_grav_vector() 5 0.0002746 0.0002746 0.0002746 0.08% FabArrayBase::getFB() 1766 0.0002544 0.0002544 0.0002544 0.07% MLCellLinOp::apply() 500 0.0002107 0.0002107 0.0002107 0.06% MLLinOp::defineGrids() 6 0.0001728 0.0001728 0.0001728 0.05% MLMG::mgVcycle() 36 0.0001634 0.0001634 0.0001634 0.05% Amr::coarseTimeStep() 5 0.0001606 0.0001606 0.0001606 0.05% MLCGSolver::ParallelAllReduce 659 0.0001398 0.0001398 0.0001398 0.04% MultiFab::max() 6 0.0001343 0.0001343 0.0001343 0.04% MLCellLinOp::defineBC() 6 0.0001234 0.0001234 0.0001234 0.04% FabArray::ParallelCopy() 380 0.0001159 0.0001159 0.0001159 0.03% FillPatchIterator::Initialize 20 0.0001149 0.0001149 0.0001149 0.03% Castro::create_source_corrector() 5 0.0001133 0.0001133 0.0001133 0.03% MLCellLinOp::correctionResidual() 216 9.676e-05 9.676e-05 9.676e-05 0.03% Amr::timeStep() 5 8.097e-05 8.097e-05 8.097e-05 0.02% AmrLevel::restart() 1 7.767e-05 7.767e-05 7.767e-05 0.02% Castro::subcycle_advance_ctu() 5 7.573e-05 7.573e-05 7.573e-05 0.02% StateData::restartDoit() 4 6.696e-05 6.696e-05 6.696e-05 0.02% Gravity::update_max_rhs() 6 6.06e-05 6.06e-05 6.06e-05 0.02% FabArrayBase::FB::FB() 26 6.003e-05 6.003e-05 6.003e-05 0.02% Gravity::solve_for_phi() 5 5.263e-05 5.263e-05 5.263e-05 0.02% MLMG:computeResOfCorrection() 180 5.135e-05 5.135e-05 5.135e-05 0.01% Castro::expand_state() 5 4.711e-05 4.711e-05 4.711e-05 0.01% MLMG::actualBottomSolve() 36 4.074e-05 4.074e-05 4.074e-05 0.01% MLMG::mgVcycle_down::0 36 4.059e-05 4.059e-05 4.059e-05 0.01% Castro::clean_state() 30 3.565e-05 3.565e-05 3.565e-05 0.01% MLMG::mgVcycle_down::1 36 3.475e-05 3.475e-05 3.475e-05 0.01% MLMG::solve() 6 3.464e-05 3.464e-05 3.464e-05 0.01% Castro::initialize_advance() 5 3.441e-05 3.441e-05 3.441e-05 0.01% MLMG::mgVcycle_down::4 36 3.278e-05 3.278e-05 3.278e-05 0.01% MLMG::mgVcycle_down::2 36 3.256e-05 3.256e-05 3.256e-05 0.01% MLMG::mgVcycle_down::3 36 3.119e-05 3.119e-05 3.119e-05 0.01% MLMG::mgVcycle_up::4 36 2.908e-05 2.908e-05 2.908e-05 0.01% Castro::finalize_advance() 5 2.775e-05 2.775e-05 2.775e-05 0.01% Castro::initMFs() 1 2.752e-05 2.752e-05 2.752e-05 0.01% Castro::buildMetrics() 1 2.738e-05 2.738e-05 2.738e-05 0.01% Castro::initialize_do_advance() 5 2.613e-05 2.613e-05 2.613e-05 0.01% MLMG::oneIter() 36 2.54e-05 2.54e-05 2.54e-05 0.01% Amr::writeSmallPlotFile() 1 2.473e-05 2.473e-05 2.473e-05 0.01% Castro::swap_state_time_levels() 5 2.424e-05 2.424e-05 2.424e-05 0.01% MLMG::mgVcycle_up::0 36 2.423e-05 2.423e-05 2.423e-05 0.01% MLMG::mgVcycle_up::3 36 2.337e-05 2.337e-05 2.337e-05 0.01% MLMG::mgVcycle_up::2 36 2.224e-05 2.224e-05 2.224e-05 0.01% MLMG::mgVcycle_up::1 36 2.173e-05 2.173e-05 2.173e-05 0.01% MLCellLinOp::solutionResidual() 42 2.133e-05 2.133e-05 2.133e-05 0.01% Castro::post_restart() 1 2.03e-05 2.03e-05 2.03e-05 0.01% Castro::finalize_do_advance() 5 1.856e-05 1.856e-05 1.856e-05 0.01% MLMG::ResNormInf() 42 1.705e-05 1.705e-05 1.705e-05 0.00% MLPoisson::define() 6 1.672e-05 1.672e-05 1.672e-05 0.00% MLMG::mgVcycle_bottom 36 1.625e-05 1.625e-05 1.625e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.621e-05 1.621e-05 1.621e-05 0.00% Castro::advance() 5 1.473e-05 1.473e-05 1.473e-05 0.00% FillPatchSingleLevel 20 1.417e-05 1.417e-05 1.417e-05 0.00% MLMG::computeResidual() 36 1.295e-05 1.295e-05 1.295e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.29e-05 1.29e-05 1.29e-05 0.00% makeSFC 30 1.28e-05 1.28e-05 1.28e-05 0.00% Castro::construct_new_gravity() 5 1.26e-05 1.26e-05 1.26e-05 0.00% Castro::construct_old_source() 25 1.183e-05 1.183e-05 1.183e-05 0.00% MLPoisson::prepareForSolve() 6 1.061e-05 1.061e-05 1.061e-05 0.00% MLMG::computeMLResidual() 6 1.05e-05 1.05e-05 1.05e-05 0.00% Castro::construct_new_source() 25 9.694e-06 9.694e-06 9.694e-06 0.00% DistributionMapping::Distribute() 31 9.472e-06 9.472e-06 9.472e-06 0.00% Amr::initSubcycle() 1 8.74e-06 8.74e-06 8.74e-06 0.00% Gravity::actual_multilevel_solve() 1 8.617e-06 8.617e-06 8.617e-06 0.00% Castro::do_new_sources() 5 8.494e-06 8.494e-06 8.494e-06 0.00% Castro::do_old_sources() 5 8.47e-06 8.47e-06 8.47e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.57e-06 7.57e-06 7.57e-06 0.00% Castro::check_for_nan() 10 5.792e-06 5.792e-06 5.792e-06 0.00% Castro::construct_old_gravity() 5 5.465e-06 5.465e-06 5.465e-06 0.00% Castro::apply_source_to_state() 10 5.222e-06 5.222e-06 5.222e-06 0.00% MLLinOp::define() 6 5.206e-06 5.206e-06 5.206e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.99e-06 4.99e-06 4.99e-06 0.00% Castro::post_timestep() 5 4.828e-06 4.828e-06 4.828e-06 0.00% Gravity::swapTimeLevels() 5 4.124e-06 4.124e-06 4.124e-06 0.00% Castro::computeNewDt() 5 3.54e-06 3.54e-06 3.54e-06 0.00% MLMG::getGradSolution() 6 3.076e-06 3.076e-06 3.076e-06 0.00% MLMG::MLResNormInf() 6 2.513e-06 2.513e-06 2.513e-06 0.00% MLMG::MLRhsNormInf() 6 2.171e-06 2.171e-06 2.171e-06 0.00% Gravity::set_mass_offset() 6 1.97e-06 1.97e-06 1.97e-06 0.00% Castro::retry_advance_ctu() 5 1.718e-06 1.718e-06 1.718e-06 0.00% Castro::FluxRegCrseInit 5 1.68e-06 1.68e-06 1.68e-06 0.00% Amr::init() 1 1.241e-06 1.241e-06 1.241e-06 0.00% Castro::FluxRegFineAdd() 5 1.142e-06 1.142e-06 1.142e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.127e-06 1.127e-06 1.127e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3486 0.3486 0.3486 99.99% Amr::coarseTimeStep() 5 0.2698 0.2698 0.2698 77.40% Amr::timeStep() 5 0.267 0.267 0.267 76.60% Castro::advance() 5 0.2634 0.2634 0.2634 75.56% Castro::subcycle_advance_ctu() 5 0.2572 0.2572 0.2572 73.78% Castro::do_advance_ctu() 5 0.2571 0.2571 0.2571 73.76% Castro::construct_new_gravity() 5 0.1269 0.1269 0.1269 36.40% Gravity::solve_phi_with_mlmg() 6 0.1222 0.1222 0.1222 35.06% Gravity::solve_for_phi() 5 0.1192 0.1192 0.1192 34.19% Gravity::actual_solve_with_mlmg() 6 0.1185 0.1185 0.1185 34.00% MLMG::solve() 6 0.1077 0.1077 0.1077 30.90% MLMG::oneIter() 36 0.101 0.101 0.101 28.97% MLMG::mgVcycle() 36 0.09943 0.09943 0.09943 28.52% Castro::construct_ctu_hydro_source() 5 0.09225 0.09225 0.09225 26.46% MLCellLinOp::smooth() 720 0.04883 0.04883 0.04883 14.01% MLCellLinOp::applyBC() 1946 0.04581 0.04581 0.04581 13.14% Amr::init() 1 0.04577 0.04577 0.04577 13.13% Amr::restart() 1 0.04577 0.04577 0.04577 13.13% AmrLevel::restart() 1 0.03973 0.03973 0.03973 11.40% StateData::restartDoit() 4 0.03964 0.03964 0.03964 11.37% VisMF::Read() 3 0.03952 0.03952 0.03952 11.34% Amr::writePlotFile() 1 0.03224 0.03224 0.03224 9.25% MLMG::mgVcycle_bottom 36 0.03059 0.03059 0.03059 8.78% VisMF::Write(FabArray) 1 0.03059 0.03059 0.03059 8.78% MLMG::actualBottomSolve() 36 0.03058 0.03058 0.03058 8.77% MLCGSolver::bicgstab 36 0.03028 0.03028 0.03028 8.69% Castro::clean_state() 30 0.02136 0.02136 0.02136 6.13% FillPatchIterator::Initialize 20 0.02024 0.02024 0.02024 5.81% FillPatchSingleLevel 20 0.0195 0.0195 0.0195 5.59% StateDataPhysBCFunct::() 20 0.01746 0.01746 0.01746 5.01% MLCellLinOp::apply() 500 0.01528 0.01528 0.01528 4.38% MLMG::mgVcycle_down::0 36 0.01409 0.01409 0.01409 4.04% MLPoisson::Fsmooth() 1440 0.01356 0.01356 0.01356 3.89% FabArray::FillBoundary() 1766 0.01342 0.01342 0.01342 3.85% FillBoundary_nowait() 1766 0.01305 0.01305 0.01305 3.74% StateData::FillBoundary(geom) 160 0.01145 0.01145 0.01145 3.29% MLMG::mgVcycle_up::0 36 0.01068 0.01068 0.01068 3.06% Castro::initialize_do_advance() 5 0.009918 0.009918 0.009918 2.85% MLCellLinOp::correctionResidual() 216 0.009276 0.009276 0.009276 2.66% MLPoisson::define() 6 0.008544 0.008544 0.008544 2.45% Castro::computeTemp() 30 0.008531 0.008531 0.008531 2.45% amrex::Dot() 484 0.008505 0.008505 0.008505 2.44% MLMG:computeResOfCorrection() 180 0.008163 0.008163 0.008163 2.34% Gravity::get_new_grav_vector() 5 0.007593 0.007593 0.007593 2.18% Castro::construct_old_gravity() 5 0.007165 0.007165 0.007165 2.06% Gravity::get_old_grav_vector() 5 0.00716 0.00716 0.00716 2.05% amrex::Copy() 463 0.006841 0.006841 0.006841 1.96% MLMG::mgVcycle_down::1 36 0.006643 0.006643 0.006643 1.91% Castro::do_new_sources() 5 0.006555 0.006555 0.006555 1.88% FabArray::ParallelCopy() 380 0.006485 0.006485 0.006485 1.86% Castro::normalize_species() 30 0.006396 0.006396 0.006396 1.83% FabArray::ParallelCopy_nowait() 380 0.006369 0.006369 0.006369 1.83% MLMG::mgVcycle_down::2 36 0.006189 0.006189 0.006189 1.78% FabArray::setVal() 537 0.006066 0.006066 0.006066 1.74% MLMG::mgVcycle_down::3 36 0.006035 0.006035 0.006035 1.73% FabArray::norminf() 326 0.006011 0.006011 0.006011 1.72% MLMG::mgVcycle_down::4 36 0.005975 0.005975 0.005975 1.71% Castro::expand_state() 5 0.005948 0.005948 0.005948 1.71% Castro::initialize_advance() 5 0.005904 0.005904 0.005904 1.69% Castro::enforce_min_density() 30 0.005874 0.005874 0.005874 1.69% MLCellLinOp::defineAuxData() 6 0.005738 0.005738 0.005738 1.65% MLCGSolver::ParallelAllReduce 659 0.005132 0.005132 0.005132 1.47% MLMG::addInterpCorrection() 180 0.005119 0.005119 0.005119 1.47% Castro::do_old_sources() 5 0.004936 0.004936 0.004936 1.42% MLMG::mgVcycle_up::4 36 0.004876 0.004876 0.004876 1.40% MLMG::mgVcycle_up::1 36 0.004819 0.004819 0.004819 1.38% amrex::average_down 180 0.00477 0.00477 0.00477 1.37% MLMG::mgVcycle_up::2 36 0.004726 0.004726 0.004726 1.36% MLMG::mgVcycle_up::3 36 0.004651 0.004651 0.004651 1.33% MLPoisson::Fapply() 500 0.004296 0.004296 0.004296 1.23% Gravity::fill_multipole_BCs() 6 0.003603 0.003603 0.003603 1.03% Castro::post_timestep() 5 0.00357 0.00357 0.00357 1.02% FabArray::Saxpy() 355 0.003553 0.003553 0.003553 1.02% Castro::estTimeStep() 10 0.003413 0.003413 0.003413 0.98% Castro::post_restart() 1 0.003397 0.003397 0.003397 0.97% FabArray::Xpay() 361 0.00339 0.00339 0.00339 0.97% Gravity::multilevel_solve_for_new_phi() 1 0.003287 0.003287 0.003287 0.94% Gravity::actual_multilevel_solve() 1 0.003271 0.003271 0.003271 0.94% MLCellLinOp::solutionResidual() 42 0.003187 0.003187 0.003187 0.91% Castro::reset_internal_energy(MultiFab) 30 0.003089 0.003089 0.003089 0.89% MLMG::computeResidual() 36 0.00264 0.00264 0.00264 0.76% Castro::computeNewDt() 5 0.002608 0.002608 0.002608 0.75% MLCellLinOp::defineBC() 6 0.002582 0.002582 0.002582 0.74% BndryData::define() 6 0.002459 0.002459 0.002459 0.71% MLMG::prepareForSolve() 6 0.002455 0.002455 0.002455 0.70% FabArray::LinComb() 242 0.001864 0.001864 0.001864 0.53% amrex::Add() 72 0.001845 0.001845 0.001845 0.53% Castro::construct_new_source() 25 0.0017 0.0017 0.0017 0.49% Castro::construct_new_gravity_source() 5 0.00169 0.00169 0.00169 0.48% Castro::construct_old_source() 25 0.001365 0.001365 0.001365 0.39% Castro::construct_old_gravity_source() 5 0.001353 0.001353 0.001353 0.39% Castro::apply_source_to_state() 10 0.000916 0.000916 0.000916 0.26% MLMG::ResNormInf() 42 0.0009125 0.0009125 0.0009125 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000888 0.000888 0.000888 0.25% FabArrayBase::getCPC() 632 0.0007705 0.0007705 0.0007705 0.22% MLMG::getGradSolution() 6 0.0007512 0.0007512 0.0007512 0.22% MLCellLinOp::compGrad() 6 0.0007481 0.0007481 0.0007481 0.21% MLCellLinOp::setLevelBC() 6 0.0007277 0.0007277 0.0007277 0.21% FabArray::mult() 22 0.0006397 0.0006397 0.0006397 0.18% FabArray::setDomainBndry() 20 0.0006316 0.0006316 0.0006316 0.18% Castro::reset_internal_energy(Fab) 240 0.0006218 0.0006218 0.0006218 0.18% MLPoisson::prepareForSolve() 6 0.0005965 0.0005965 0.0005965 0.17% Castro::check_for_nan() 10 0.0005962 0.0005962 0.0005962 0.17% MultiFab::contains_nan() 10 0.0005904 0.0005904 0.0005904 0.17% MLCellLinOp::prepareForSolve() 6 0.0005859 0.0005859 0.0005859 0.17% MLMG::computeMLResidual() 6 0.0005705 0.0005705 0.0005705 0.16% Castro::enforce_speed_limit() 30 0.0005215 0.0005215 0.0005215 0.15% Gravity::update_max_rhs() 6 0.0004337 0.0004337 0.0004337 0.12% Amr::InitAmr() 1 0.0004325 0.0004325 0.0004325 0.12% FabArrayBase::CPC::define() 244 0.0004236 0.0004236 0.0004236 0.12% FabArrayBase::getFB() 1766 0.0003144 0.0003144 0.0003144 0.09% Castro::finalize_advance() 5 0.0002842 0.0002842 0.0002842 0.08% Gravity::swapTimeLevels() 5 0.0002199 0.0002199 0.0002199 0.06% MLLinOp::define() 6 0.000207 0.000207 0.000207 0.06% MLLinOp::defineGrids() 6 0.0002018 0.0002018 0.0002018 0.06% MLMG::MLResNormInf() 6 0.000151 0.000151 0.000151 0.04% Castro::buildMetrics() 1 0.000145 0.000145 0.000145 0.04% MultiFab::max() 6 0.0001343 0.0001343 0.0001343 0.04% MLMG::MLRhsNormInf() 6 0.0001143 0.0001143 0.0001143 0.03% Castro::create_source_corrector() 5 0.0001133 0.0001133 0.0001133 0.03% FabArrayBase::FB::FB() 26 6.003e-05 6.003e-05 6.003e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.787e-05 2.787e-05 2.787e-05 0.01% Castro::initMFs() 1 2.752e-05 2.752e-05 2.752e-05 0.01% Amr::writeSmallPlotFile() 1 2.473e-05 2.473e-05 2.473e-05 0.01% Castro::swap_state_time_levels() 5 2.424e-05 2.424e-05 2.424e-05 0.01% makeSFC 30 2.03e-05 2.03e-05 2.03e-05 0.01% Castro::finalize_do_advance() 5 1.856e-05 1.856e-05 1.856e-05 0.01% DistributionMapping::Distribute() 31 9.472e-06 9.472e-06 9.472e-06 0.00% Amr::initSubcycle() 1 8.74e-06 8.74e-06 8.74e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 6.953e-06 6.953e-06 6.953e-06 0.00% Gravity::set_mass_offset() 6 1.97e-06 1.97e-06 1.97e-06 0.00% Castro::retry_advance_ctu() 5 1.718e-06 1.718e-06 1.718e-06 0.00% Castro::FluxRegCrseInit 5 1.68e-06 1.68e-06 1.68e-06 0.00% Castro::FluxRegFineAdd() 5 1.142e-06 1.142e-06 1.142e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.127e-06 1.127e-06 1.127e-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 237 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 123 MiB 692 MiB Castro::initMFs() 48 48 59 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 28 MiB 39 MiB FillPatchIterator::Initialize 160 160 1288 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2583 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 6638 KiB 14 MiB MLMG::prepareForSolve() 361 361 3794 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 212 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 222 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6633 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 16 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2403 B 2048 KiB Gravity::solve_for_phi() 40 40 698 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 19 KiB 2048 KiB BndryData::define() 576 576 348 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 223 KiB 671 KiB Castro::estTimeStep() 10 10 3584 B 480 KiB VisMF::Write(FabArray) 112 112 1404 B 320 KiB Castro::normalize_species() 30 30 5959 B 320 KiB amrex::average_down 469 469 1303 B 257 KiB MLMG::addInterpCorrection() 468 468 1253 B 257 KiB amrex::Dot() 592 592 3595 B 160 KiB FabArray::norminf() 398 398 2551 B 160 KiB Castro::do_advance_ctu() 5 5 553 B 160 KiB MultiFab::max() 6 6 59 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 33 B 20 KiB MLPoisson::Fsmooth() 60 60 3690 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 55 B 10 KiB FillBoundary_nowait() 336 336 317 B 9648 B MLCellLinOp::applyBC() 3892 3892 241 B 9344 B amrex::Copy() 56 56 5933 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 61 B 2880 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 126 B 1472 B MLCellLinOp::defineBC() 36 36 392 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1584 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 125 KiB 8192 KiB VisMF::Write(FabArray) 120 120 268 KiB 3584 KiB VisMF::Read() 24 24 222 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3690 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 55 B 10 KiB FillBoundary_nowait() 336 336 317 B 9648 B MLCellLinOp::applyBC() 1946 1946 239 B 9328 B amrex::Copy() 56 56 5933 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2613 B 3072 B StateData::FillBoundary(geom) 960 960 62 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 552 B 1296 B amrex::average_down 37 37 220 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 26 B 400 B FabArray::norminf() 398 398 18 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2459 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.03-30-gd781598bc94b) finalized