Initializing AMReX (24.05-3-gc3616816b46a)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-3-gc3616816b46a) initialized Starting run at 07:58:14 UTC on 2024-05-06. Successfully read inputs file ... Castro git describe: 24.05 AMReX git describe: 24.05-3-gc3616816b Microphysics git describe: 24.05 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.045003051 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024982674 seconds [Level 0 step 1] ADVANCE at time 0 with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.069803044 [STEP 1] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.06915748 [STEP 2] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.075176115 [STEP 3] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE at time 0.0001431784233 with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.067225519 [STEP 4] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE at time 0.0001957547666 with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.06009337 [STEP 5] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.051366773 secs. [Level 0 step 6] ADVANCE at time 0.0002509599271 with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.068816023 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.071785052 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.066565297 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.058417507 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.063457731 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.042880379 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.024170008 seconds Ending run at 07:58:15 UTC on 2024-05-06. Run time = 0.914004572 Run time without initialization = 0.789517619 Average number of zones advanced per microsecond: 3.320 Average number of zones advanced per microsecond per rank: 3.320 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.914 ... 0.914 ... 0.914 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2927 0.2927 0.2927 32.02% VisMF::Write(FabArray) 11 0.1729 0.1729 0.1729 18.92% MLCellLinOp::applyBC() 4351 0.0792 0.0792 0.0792 8.67% MLPoisson::Fsmooth() 3280 0.03299 0.03299 0.03299 3.61% FillBoundary_nowait() 3941 0.03133 0.03133 0.03133 3.43% StateData::FillBoundary(geom) 328 0.0255 0.0255 0.0255 2.79% amrex::Dot() 1114 0.02097 0.02097 0.02097 2.29% FabArray::norminf() 1061 0.01944 0.01944 0.01944 2.13% Castro::normalize_species() 62 0.01881 0.01881 0.01881 2.06% Castro::computeTemp() 63 0.01742 0.01742 0.01742 1.91% StateDataPhysBCFunct::() 41 0.01682 0.01682 0.01682 1.84% FabArray::ParallelCopy_nowait() 861 0.01361 0.01361 0.01361 1.49% FabArray::setVal() 1062 0.0133 0.0133 0.0133 1.45% FabArray::Saxpy() 1370 0.01297 0.01297 0.01297 1.42% Amr::checkPoint() 3 0.0129 0.0129 0.0129 1.41% amrex::Copy() 472 0.01085 0.01085 0.01085 1.19% Castro::enforce_min_density() 62 0.01071 0.01071 0.01071 1.17% MLPoisson::Fapply() 1060 0.01012 0.01012 0.01012 1.11% MLCellLinOp::defineAuxData() 11 0.0101 0.0101 0.0101 1.10% Gravity::fill_multipole_BCs() 11 0.00956 0.00956 0.00956 1.05% FabArray::Xpay() 739 0.007756 0.007756 0.007756 0.85% MLMG::addInterpCorrection() 410 0.0069 0.0069 0.0069 0.75% amrex::average_down 410 0.006076 0.006076 0.006076 0.66% Castro::estTimeStep() 21 0.00598 0.00598 0.00598 0.65% Castro::reset_internal_energy(MultiFab) 63 0.005295 0.005295 0.005295 0.58% BndryData::define() 11 0.00393 0.00393 0.00393 0.43% amrex::Add() 82 0.003611 0.003611 0.003611 0.40% Castro::construct_new_gravity_source() 10 0.003392 0.003392 0.003392 0.37% Castro::enforce_speed_limit() 62 0.003088 0.003088 0.003088 0.34% Castro::construct_old_gravity_source() 10 0.002764 0.002764 0.002764 0.30% Amr::writePlotFile() 2 0.002039 0.002039 0.002039 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001732 0.001732 0.001732 0.19% check_for_negative_density() 10 0.001644 0.001644 0.001644 0.18% Castro::reset_internal_energy(Fab) 504 0.001607 0.001607 0.001607 0.18% MLCellLinOp::setLevelBC() 11 0.001587 0.001587 0.001587 0.17% MLCGSolver::bicgstab 82 0.001569 0.001569 0.001569 0.17% Gravity::actual_solve_with_mlmg() 11 0.001553 0.001553 0.001553 0.17% Castro::initData() 1 0.001501 0.001501 0.001501 0.16% FabArray::mult() 43 0.00137 0.00137 0.00137 0.15% FabArray::setDomainBndry() 41 0.001353 0.001353 0.001353 0.15% MLCellLinOp::prepareForSolve() 11 0.001296 0.001296 0.001296 0.14% MultiFab::contains_nan() 20 0.00126 0.00126 0.00126 0.14% MLCellLinOp::smooth() 1640 0.001134 0.001134 0.001134 0.12% MLCellLinOp::compGrad() 11 0.001048 0.001048 0.001048 0.11% MLMG::prepareForSolve() 11 0.0009489 0.0009489 0.0009489 0.10% FabArrayBase::getCPC() 1323 0.000804 0.000804 0.000804 0.09% FabArray::FillBoundary() 3941 0.0007421 0.0007421 0.0007421 0.08% Gravity::get_new_grav_vector() 11 0.000604 0.000604 0.000604 0.07% Gravity::get_old_grav_vector() 10 0.0004844 0.0004844 0.0004844 0.05% MLCellLinOp::apply() 1060 0.0004326 0.0004326 0.0004326 0.05% AmrLevel::FillPatch() 41 0.000416 0.000416 0.000416 0.05% MLCGSolver::ParallelAllReduce 1832 0.0003243 0.0003243 0.0003243 0.04% Amr::coarseTimeStep() 10 0.0003166 0.0003166 0.0003166 0.03% MLCellLinOp::defineBC() 11 0.000286 0.000286 0.000286 0.03% main() 1 0.0002743 0.0002743 0.0002743 0.03% FabArray::ParallelCopy() 861 0.0002589 0.0002589 0.0002589 0.03% FillPatchIterator::Initialize 41 0.0002228 0.0002228 0.0002228 0.02% Castro::subcycle_advance_ctu() 10 0.0001945 0.0001945 0.0001945 0.02% MLMG::mgVcycle() 82 0.0001828 0.0001828 0.0001828 0.02% MLCellLinOp::correctionResidual() 410 0.000163 0.000163 0.000163 0.02% Amr::timeStep() 10 0.000154 0.000154 0.000154 0.02% StateData::checkPoint() 12 0.000141 0.000141 0.000141 0.02% MLMG:computeResOfCorrection() 410 0.0001134 0.0001134 0.0001134 0.01% Castro::construct_new_source() 50 0.0001087 0.0001087 0.0001087 0.01% Gravity::solve_for_phi() 10 0.0001036 0.0001036 0.0001036 0.01% Castro::advance() 10 0.0001029 0.0001029 0.0001029 0.01% Castro::initialize_advance() 10 8.348e-05 8.348e-05 8.348e-05 0.01% MLMG::mgVcycle_down::0 82 7.936e-05 7.936e-05 7.936e-05 0.01% MLMG::actualBottomSolve() 82 7.806e-05 7.806e-05 7.806e-05 0.01% AmrLevel::checkPoint() 3 7.416e-05 7.416e-05 7.416e-05 0.01% MLMG::mgVcycle_down::1 82 7.15e-05 7.15e-05 7.15e-05 0.01% MLMG::mgVcycle_down::2 82 6.919e-05 6.919e-05 6.919e-05 0.01% MLMG::solve() 11 6.822e-05 6.822e-05 6.822e-05 0.01% Castro::clean_state() 62 6.717e-05 6.717e-05 6.717e-05 0.01% MLMG::mgVcycle_down::4 82 6.438e-05 6.438e-05 6.438e-05 0.01% MLMG::mgVcycle_down::3 82 6.234e-05 6.234e-05 6.234e-05 0.01% Castro::initialize_do_advance() 10 5.83e-05 5.83e-05 5.83e-05 0.01% MLMG::oneIter() 82 5.122e-05 5.122e-05 5.122e-05 0.01% MLMG::mgVcycle_up::4 82 4.981e-05 4.981e-05 4.981e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.958e-05 4.958e-05 4.958e-05 0.01% MLMG::mgVcycle_up::0 82 4.699e-05 4.699e-05 4.699e-05 0.01% Castro::do_advance_ctu() 10 4.692e-05 4.692e-05 4.692e-05 0.01% MLMG::mgVcycle_up::3 82 4.557e-05 4.557e-05 4.557e-05 0.00% Castro::finalize_do_advance() 10 4.552e-05 4.552e-05 4.552e-05 0.00% MLMG::mgVcycle_up::1 82 4.389e-05 4.389e-05 4.389e-05 0.00% MLMG::mgVcycle_up::2 82 4.361e-05 4.361e-05 4.361e-05 0.00% MLCellLinOp::solutionResidual() 93 4.317e-05 4.317e-05 4.317e-05 0.00% FillPatchSingleLevel 41 3.706e-05 3.706e-05 3.706e-05 0.00% Amr::defBaseLevel() 1 3.339e-05 3.339e-05 3.339e-05 0.00% Castro::post_timestep() 10 3.317e-05 3.317e-05 3.317e-05 0.00% MLMG::ResNormInf() 93 3.13e-05 3.13e-05 3.13e-05 0.00% MLMG::computeResidual() 82 3.116e-05 3.116e-05 3.116e-05 0.00% MLMG::mgVcycle_bottom 82 3.082e-05 3.082e-05 3.082e-05 0.00% MLPoisson::define() 11 2.548e-05 2.548e-05 2.548e-05 0.00% Castro::construct_new_gravity() 10 2.252e-05 2.252e-05 2.252e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.218e-05 2.218e-05 2.218e-05 0.00% Castro::do_old_sources() 10 2.17e-05 2.17e-05 2.17e-05 0.00% Amr::FinalizeInit() 1 2.028e-05 2.028e-05 2.028e-05 0.00% Castro::construct_old_source() 50 1.915e-05 1.915e-05 1.915e-05 0.00% Castro::do_new_sources() 10 1.768e-05 1.768e-05 1.768e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.66e-05 1.66e-05 1.66e-05 0.00% Gravity::actual_multilevel_solve() 1 1.405e-05 1.405e-05 1.405e-05 0.00% Castro::construct_old_gravity() 10 1.277e-05 1.277e-05 1.277e-05 0.00% MLMG::computeMLResidual() 11 1.219e-05 1.219e-05 1.219e-05 0.00% Castro::apply_source_to_state() 20 1.181e-05 1.181e-05 1.181e-05 0.00% Castro::check_for_nan() 20 1.094e-05 1.094e-05 1.094e-05 0.00% Castro::computeNewDt() 9 1.092e-05 1.092e-05 1.092e-05 0.00% MLMG::getGradSolution() 11 6.276e-06 6.276e-06 6.276e-06 0.00% Castro::expand_state() 10 6.254e-06 6.254e-06 6.254e-06 0.00% MLPoisson::prepareForSolve() 11 6.234e-06 6.234e-06 6.234e-06 0.00% Amr::InitializeInit() 1 5.741e-06 5.741e-06 5.741e-06 0.00% Castro::post_init() 1 4.094e-06 4.094e-06 4.094e-06 0.00% Amr::init() 1 2.116e-06 2.116e-06 2.116e-06 0.00% Amr::initialInit() 1 1.07e-06 1.07e-06 1.07e-06 0.00% Other 4753 0.003263 0.003263 0.003263 0.36% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.914 0.914 0.914 100.00% Amr::coarseTimeStep() 10 0.7651 0.7651 0.7651 83.71% Amr::timeStep() 10 0.6672 0.6672 0.6672 72.99% Castro::advance() 10 0.6558 0.6558 0.6558 71.75% Castro::subcycle_advance_ctu() 10 0.6413 0.6413 0.6413 70.16% Castro::do_advance_ctu() 10 0.6411 0.6411 0.6411 70.14% Castro::construct_ctu_hydro_source() 10 0.3029 0.3029 0.3029 33.14% Gravity::solve_phi_with_mlmg() 11 0.2905 0.2905 0.2905 31.78% Gravity::actual_solve_with_mlmg() 11 0.2805 0.2805 0.2805 30.69% Castro::construct_new_gravity() 10 0.2643 0.2643 0.2643 28.92% MLMG::solve() 11 0.2588 0.2588 0.2588 28.32% Gravity::solve_for_phi() 10 0.2463 0.2463 0.2463 26.95% MLMG::oneIter() 82 0.2436 0.2436 0.2436 26.65% MLMG::mgVcycle() 82 0.2399 0.2399 0.2399 26.25% VisMF::Write(FabArray) 11 0.1729 0.1729 0.1729 18.92% Amr::checkPoint() 3 0.1394 0.1394 0.1394 15.25% AmrLevel::checkPoint() 3 0.1264 0.1264 0.1264 13.83% StateData::checkPoint() 12 0.1263 0.1263 0.1263 13.82% Amr::init() 1 0.1238 0.1238 0.1238 13.55% MLCellLinOp::smooth() 1640 0.1204 0.1204 0.1204 13.18% MLCellLinOp::applyBC() 4351 0.112 0.112 0.112 12.25% MLMG::mgVcycle_bottom 82 0.0712 0.0712 0.0712 7.79% MLMG::actualBottomSolve() 82 0.07117 0.07117 0.07117 7.79% MLCGSolver::bicgstab 82 0.07038 0.07038 0.07038 7.70% Castro::clean_state() 62 0.05594 0.05594 0.05594 6.12% Amr::initialInit() 1 0.05372 0.05372 0.05372 5.88% AmrLevel::FillPatch() 41 0.05243 0.05243 0.05243 5.74% Amr::writePlotFile() 2 0.04927 0.04927 0.04927 5.39% Amr::FinalizeInit() 1 0.04844 0.04844 0.04844 5.30% FillPatchIterator::Initialize 41 0.04814 0.04814 0.04814 5.27% Castro::post_init() 1 0.047 0.047 0.047 5.14% FillPatchIterator::FillFromLevel0() 41 0.04656 0.04656 0.04656 5.09% FillPatchSingleLevel 41 0.04651 0.04651 0.04651 5.09% Gravity::multilevel_solve_for_new_phi() 1 0.04461 0.04461 0.04461 4.88% Gravity::actual_multilevel_solve() 1 0.04459 0.04459 0.04459 4.88% StateDataPhysBCFunct::() 41 0.04232 0.04232 0.04232 4.63% MLCellLinOp::apply() 1060 0.03571 0.03571 0.03571 3.91% MLMG::mgVcycle_down::0 82 0.03474 0.03474 0.03474 3.80% MLPoisson::Fsmooth() 3280 0.03299 0.03299 0.03299 3.61% FabArray::FillBoundary() 3941 0.03276 0.03276 0.03276 3.58% FillBoundary_nowait() 3941 0.03202 0.03202 0.03202 3.50% MLMG::mgVcycle_up::0 82 0.02632 0.02632 0.02632 2.88% StateData::FillBoundary(geom) 328 0.0255 0.0255 0.0255 2.79% Castro::computeTemp() 63 0.02432 0.02432 0.02432 2.66% Castro::initialize_do_advance() 10 0.02198 0.02198 0.02198 2.41% amrex::Dot() 1114 0.02097 0.02097 0.02097 2.29% MLMG:computeResOfCorrection() 410 0.0202 0.0202 0.0202 2.21% MLCellLinOp::correctionResidual() 410 0.02008 0.02008 0.02008 2.20% Gravity::get_new_grav_vector() 11 0.01993 0.01993 0.01993 2.18% FabArray::norminf() 1061 0.01944 0.01944 0.01944 2.13% Castro::do_old_sources() 10 0.01921 0.01921 0.01921 2.10% Castro::normalize_species() 62 0.01881 0.01881 0.01881 2.06% MLPoisson::define() 11 0.01696 0.01696 0.01696 1.86% Castro::construct_old_gravity() 10 0.01652 0.01652 0.01652 1.81% Gravity::get_old_grav_vector() 10 0.01651 0.01651 0.01651 1.81% MLMG::mgVcycle_down::1 82 0.01632 0.01632 0.01632 1.79% MLMG::mgVcycle_down::2 82 0.01518 0.01518 0.01518 1.66% MLMG::mgVcycle_down::3 82 0.01478 0.01478 0.01478 1.62% MLMG::mgVcycle_down::4 82 0.01471 0.01471 0.01471 1.61% FabArray::ParallelCopy() 861 0.01469 0.01469 0.01469 1.61% FabArray::ParallelCopy_nowait() 861 0.01443 0.01443 0.01443 1.58% Castro::initialize_advance() 10 0.01383 0.01383 0.01383 1.51% FabArray::setVal() 1062 0.0133 0.0133 0.0133 1.45% FabArray::Saxpy() 1370 0.01297 0.01297 0.01297 1.42% Castro::do_new_sources() 10 0.01271 0.01271 0.01271 1.39% MLCGSolver::ParallelAllReduce 1832 0.01259 0.01259 0.01259 1.38% Castro::expand_state() 10 0.01255 0.01255 0.01255 1.37% MLMG::addInterpCorrection() 410 0.01215 0.01215 0.01215 1.33% MLMG::mgVcycle_up::1 82 0.01181 0.01181 0.01181 1.29% MLMG::mgVcycle_up::4 82 0.01177 0.01177 0.01177 1.29% MLMG::mgVcycle_up::2 82 0.01154 0.01154 0.01154 1.26% MLCellLinOp::defineAuxData() 11 0.01149 0.01149 0.01149 1.26% amrex::average_down 410 0.01136 0.01136 0.01136 1.24% MLMG::mgVcycle_up::3 82 0.01136 0.01136 0.01136 1.24% Castro::post_timestep() 10 0.01119 0.01119 0.01119 1.22% amrex::Copy() 472 0.01085 0.01085 0.01085 1.19% Castro::enforce_min_density() 62 0.01071 0.01071 0.01071 1.17% MLPoisson::Fapply() 1060 0.01012 0.01012 0.01012 1.11% Gravity::fill_multipole_BCs() 11 0.009789 0.009789 0.009789 1.07% FabArray::Xpay() 739 0.007756 0.007756 0.007756 0.85% MLCellLinOp::solutionResidual() 93 0.007715 0.007715 0.007715 0.84% Castro::reset_internal_energy(MultiFab) 63 0.006902 0.006902 0.006902 0.76% MLMG::computeResidual() 82 0.006461 0.006461 0.006461 0.71% Castro::estTimeStep() 21 0.00598 0.00598 0.00598 0.65% Amr::InitializeInit() 1 0.005272 0.005272 0.005272 0.58% Amr::defBaseLevel() 1 0.005267 0.005267 0.005267 0.58% MLCellLinOp::defineBC() 11 0.005208 0.005208 0.005208 0.57% MLMG::prepareForSolve() 11 0.005062 0.005062 0.005062 0.55% BndryData::define() 11 0.004922 0.004922 0.004922 0.54% Castro::initData() 1 0.004581 0.004581 0.004581 0.50% amrex::Add() 82 0.003611 0.003611 0.003611 0.40% Castro::construct_new_source() 50 0.0035 0.0035 0.0035 0.38% Castro::construct_new_gravity_source() 10 0.003392 0.003392 0.003392 0.37% Castro::enforce_speed_limit() 62 0.003088 0.003088 0.003088 0.34% Castro::construct_old_source() 50 0.002783 0.002783 0.002783 0.30% Castro::construct_old_gravity_source() 10 0.002764 0.002764 0.002764 0.30% Castro::computeNewDt() 9 0.002565 0.002565 0.002565 0.28% Castro::finalize_do_advance() 10 0.002482 0.002482 0.002482 0.27% MLMG::ResNormInf() 93 0.002147 0.002147 0.002147 0.23% Castro::apply_source_to_state() 20 0.001878 0.001878 0.001878 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001732 0.001732 0.001732 0.19% check_for_negative_density() 10 0.001644 0.001644 0.001644 0.18% Castro::reset_internal_energy(Fab) 504 0.001607 0.001607 0.001607 0.18% MLCellLinOp::setLevelBC() 11 0.001587 0.001587 0.001587 0.17% MLMG::getGradSolution() 11 0.001564 0.001564 0.001564 0.17% MLCellLinOp::compGrad() 11 0.001558 0.001558 0.001558 0.17% FabArrayBase::getCPC() 1323 0.001468 0.001468 0.001468 0.16% FabArray::mult() 43 0.00137 0.00137 0.00137 0.15% FabArray::setDomainBndry() 41 0.001353 0.001353 0.001353 0.15% MLPoisson::prepareForSolve() 11 0.001302 0.001302 0.001302 0.14% MLMG::computeMLResidual() 11 0.001297 0.001297 0.001297 0.14% MLCellLinOp::prepareForSolve() 11 0.001296 0.001296 0.001296 0.14% Castro::check_for_nan() 20 0.001271 0.001271 0.001271 0.14% MultiFab::contains_nan() 20 0.00126 0.00126 0.00126 0.14% Other 4753 0.009105 0.009105 0.009105 1.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 5309 KiB 9037 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1101 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1506 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7620 KiB 14 MiB MLMG::prepareForSolve() 660 660 3483 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 226 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 185 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7517 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2140 B 2048 KiB Gravity::solve_for_phi() 80 80 551 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 99 KiB 2048 KiB BndryData::define() 1056 1056 318 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 202 KiB 671 KiB Castro::estTimeStep() 21 21 3186 B 480 KiB VisMF::Write(FabArray) 656 656 3351 B 320 KiB Castro::normalize_species() 62 62 6703 B 320 KiB amrex::average_down 1067 1067 1583 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1146 B 257 KiB amrex::Dot() 1360 1360 3385 B 160 KiB FabArray::norminf() 1143 1143 3284 B 160 KiB check_for_negative_density() 10 10 287 B 160 KiB Castro::initData() 1 1 48 B 160 KiB MultiFab::max() 11 11 56 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3401 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 298 B 9648 B MLCellLinOp::applyBC() 8702 8702 216 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3912 B 6144 B StateData::FillBoundary(geom) 1992 1992 61 B 4480 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 359 B 1248 B MLCGSolver::bicgstab 410 410 92 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 533 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 40 KiB 8192 KiB VisMF::Write(FabArray) 744 744 410 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3401 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 297 B 9648 B MLCellLinOp::applyBC() 4351 4351 214 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3912 B 6144 B StateData::FillBoundary(geom) 1992 1992 62 B 4480 B Gravity::get_new_grav_vector() 3 3 2893 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 83 83 617 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 290 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 B 400 B FabArray::norminf() 1143 1143 9 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2105 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.05-3-gc3616816b46a) finalized Initializing AMReX (24.05-3-gc3616816b46a)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-3-gc3616816b46a) initialized Starting run at 07:58:15 UTC on 2024-05-06. Successfully read inputs file ... Castro git describe: 24.05 AMReX git describe: 24.05-3-gc3616816b Microphysics git describe: 24.05 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.517338084 Restart time = 0.073064356 seconds. [Level 0 step 6] ADVANCE at time 0.0002509599271 with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.069135817 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.054676975 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.06887404 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.074270554 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.066511135 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.035804306 seconds Ending run at 07:58:16 UTC on 2024-05-06. Run time = 0.443376927 Run time without initialization = 0.369683723 Average number of zones advanced per microsecond: 3.546 Average number of zones advanced per microsecond per rank: 3.546 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4434 ... 0.4434 ... 0.4434 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1433 0.1433 0.1433 32.32% VisMF::Read() 3 0.06174 0.06174 0.06174 13.92% MLCellLinOp::applyBC() 1910 0.03515 0.03515 0.03515 7.93% VisMF::Write(FabArray) 1 0.02444 0.02444 0.02444 5.51% MLPoisson::Fsmooth() 1440 0.01459 0.01459 0.01459 3.29% FillBoundary_nowait() 1730 0.01304 0.01304 0.01304 2.94% StateData::FillBoundary(geom) 160 0.01246 0.01246 0.01246 2.81% Amr::writePlotFile() 1 0.01119 0.01119 0.01119 2.52% amrex::Dot() 484 0.009027 0.009027 0.009027 2.04% Castro::normalize_species() 30 0.009022 0.009022 0.009022 2.03% FabArray::norminf() 465 0.008479 0.008479 0.008479 1.91% Castro::computeTemp() 30 0.007126 0.007126 0.007126 1.61% FabArray::setVal() 501 0.006549 0.006549 0.006549 1.48% FabArray::ParallelCopy_nowait() 380 0.006153 0.006153 0.006153 1.39% FabArray::Saxpy() 597 0.005789 0.005789 0.005789 1.31% Castro::enforce_min_density() 30 0.005645 0.005645 0.005645 1.27% MLCellLinOp::defineAuxData() 6 0.005515 0.005515 0.005515 1.24% amrex::Copy() 221 0.005451 0.005451 0.005451 1.23% Gravity::fill_multipole_BCs() 6 0.005082 0.005082 0.005082 1.15% Amr::restart() 1 0.004912 0.004912 0.004912 1.11% StateDataPhysBCFunct::() 20 0.004845 0.004845 0.004845 1.09% MLPoisson::Fapply() 464 0.004437 0.004437 0.004437 1.00% Castro::estTimeStep() 10 0.003685 0.003685 0.003685 0.83% FabArray::Xpay() 325 0.00346 0.00346 0.00346 0.78% MLMG::addInterpCorrection() 180 0.003089 0.003089 0.003089 0.70% amrex::average_down 180 0.002723 0.002723 0.002723 0.61% BndryData::define() 6 0.002173 0.002173 0.002173 0.49% Castro::reset_internal_energy(MultiFab) 30 0.002056 0.002056 0.002056 0.46% Castro::construct_new_gravity_source() 5 0.00188 0.00188 0.00188 0.42% amrex::Add() 36 0.001546 0.001546 0.001546 0.35% Castro::construct_old_gravity_source() 5 0.001535 0.001535 0.001535 0.35% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000987 0.000987 0.000987 0.22% MLCellLinOp::setLevelBC() 6 0.0008807 0.0008807 0.0008807 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008473 0.0008473 0.0008473 0.19% Castro::reset_internal_energy(Fab) 240 0.0008463 0.0008463 0.0008463 0.19% check_for_negative_density() 5 0.0008375 0.0008375 0.0008375 0.19% MLCellLinOp::prepareForSolve() 6 0.0007411 0.0007411 0.0007411 0.17% MLCGSolver::bicgstab 36 0.0006959 0.0006959 0.0006959 0.16% FabArray::mult() 22 0.0006913 0.0006913 0.0006913 0.16% FabArray::setDomainBndry() 20 0.0006795 0.0006795 0.0006795 0.15% Castro::subcycle_advance_ctu() 5 0.0006774 0.0006774 0.0006774 0.15% Castro::initialize_do_advance() 5 0.0006391 0.0006391 0.0006391 0.14% MLCellLinOp::compGrad() 6 0.0005918 0.0005918 0.0005918 0.13% MLMG::prepareForSolve() 6 0.0005574 0.0005574 0.0005574 0.13% MLCellLinOp::smooth() 720 0.0004876 0.0004876 0.0004876 0.11% FabArrayBase::getCPC() 632 0.0003771 0.0003771 0.0003771 0.09% FabArray::FillBoundary() 1730 0.0003217 0.0003217 0.0003217 0.07% Gravity::get_old_grav_vector() 5 0.0002966 0.0002966 0.0002966 0.07% main() 1 0.0002601 0.0002601 0.0002601 0.06% Gravity::get_new_grav_vector() 5 0.0002336 0.0002336 0.0002336 0.05% AmrLevel::FillPatch() 20 0.0002015 0.0002015 0.0002015 0.05% MLCellLinOp::apply() 464 0.0001969 0.0001969 0.0001969 0.04% Amr::coarseTimeStep() 5 0.0001598 0.0001598 0.0001598 0.04% MLCellLinOp::defineBC() 6 0.0001477 0.0001477 0.0001477 0.03% MLCGSolver::ParallelAllReduce 798 0.0001422 0.0001422 0.0001422 0.03% Castro::construct_new_source() 25 0.0001249 0.0001249 0.0001249 0.03% FabArray::ParallelCopy() 380 0.0001174 0.0001174 0.0001174 0.03% FillPatchIterator::Initialize 20 0.0001111 0.0001111 0.0001111 0.03% Amr::timeStep() 5 8.688e-05 8.688e-05 8.688e-05 0.02% MLMG::mgVcycle() 36 8.158e-05 8.158e-05 8.158e-05 0.02% Castro::finalize_do_advance() 5 7.553e-05 7.553e-05 7.553e-05 0.02% AmrLevel::restart() 1 7.237e-05 7.237e-05 7.237e-05 0.02% MLCellLinOp::correctionResidual() 180 6.96e-05 6.96e-05 6.96e-05 0.02% Castro::do_new_sources() 5 6.659e-05 6.659e-05 6.659e-05 0.02% StateData::restartDoit() 4 6.494e-05 6.494e-05 6.494e-05 0.01% Gravity::update_max_rhs() 6 6.38e-05 6.38e-05 6.38e-05 0.01% Castro::advance() 5 6.251e-05 6.251e-05 6.251e-05 0.01% Gravity::solve_for_phi() 5 5.077e-05 5.077e-05 5.077e-05 0.01% MLMG:computeResOfCorrection() 180 4.982e-05 4.982e-05 4.982e-05 0.01% MLMG::actualBottomSolve() 36 3.9e-05 3.9e-05 3.9e-05 0.01% Castro::initialize_advance() 5 3.68e-05 3.68e-05 3.68e-05 0.01% Castro::construct_old_source() 25 3.613e-05 3.613e-05 3.613e-05 0.01% Castro::do_old_sources() 5 3.528e-05 3.528e-05 3.528e-05 0.01% MLMG::mgVcycle_down::0 36 3.475e-05 3.475e-05 3.475e-05 0.01% Castro::post_timestep() 5 3.417e-05 3.417e-05 3.417e-05 0.01% Castro::clean_state() 30 3.327e-05 3.327e-05 3.327e-05 0.01% MLMG::solve() 6 3.31e-05 3.31e-05 3.31e-05 0.01% MLMG::mgVcycle_down::1 36 3.11e-05 3.11e-05 3.11e-05 0.01% MLMG::mgVcycle_down::2 36 2.837e-05 2.837e-05 2.837e-05 0.01% MLMG::mgVcycle_down::4 36 2.774e-05 2.774e-05 2.774e-05 0.01% MLMG::mgVcycle_down::3 36 2.572e-05 2.572e-05 2.572e-05 0.01% MLMG::mgVcycle_up::4 36 2.405e-05 2.405e-05 2.405e-05 0.01% Castro::do_advance_ctu() 5 2.377e-05 2.377e-05 2.377e-05 0.01% MLMG::oneIter() 36 2.361e-05 2.361e-05 2.361e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.336e-05 2.336e-05 2.336e-05 0.01% Castro::post_restart() 1 2.147e-05 2.147e-05 2.147e-05 0.00% MLCellLinOp::solutionResidual() 42 2.105e-05 2.105e-05 2.105e-05 0.00% MLMG::mgVcycle_up::3 36 2.067e-05 2.067e-05 2.067e-05 0.00% MLMG::mgVcycle_up::0 36 2.043e-05 2.043e-05 2.043e-05 0.00% MLMG::mgVcycle_up::2 36 1.932e-05 1.932e-05 1.932e-05 0.00% MLPoisson::define() 6 1.923e-05 1.923e-05 1.923e-05 0.00% MLMG::mgVcycle_up::1 36 1.834e-05 1.834e-05 1.834e-05 0.00% FillPatchSingleLevel 20 1.738e-05 1.738e-05 1.738e-05 0.00% MLMG::ResNormInf() 42 1.689e-05 1.689e-05 1.689e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.606e-05 1.606e-05 1.606e-05 0.00% Gravity::actual_multilevel_solve() 1 1.586e-05 1.586e-05 1.586e-05 0.00% MLMG::mgVcycle_bottom 36 1.455e-05 1.455e-05 1.455e-05 0.00% MLMG::computeResidual() 36 1.443e-05 1.443e-05 1.443e-05 0.00% Castro::construct_new_gravity() 5 1.278e-05 1.278e-05 1.278e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.256e-05 1.256e-05 1.256e-05 0.00% Castro::expand_state() 5 9.723e-06 9.723e-06 9.723e-06 0.00% Castro::apply_source_to_state() 10 6.033e-06 6.033e-06 6.033e-06 0.00% Castro::check_for_nan() 10 5.843e-06 5.843e-06 5.843e-06 0.00% Castro::construct_old_gravity() 5 5.68e-06 5.68e-06 5.68e-06 0.00% MLMG::computeMLResidual() 6 4.317e-06 4.317e-06 4.317e-06 0.00% Castro::computeNewDt() 5 3.92e-06 3.92e-06 3.92e-06 0.00% MLMG::getGradSolution() 6 3.389e-06 3.389e-06 3.389e-06 0.00% MLPoisson::prepareForSolve() 6 3.353e-06 3.353e-06 3.353e-06 0.00% Amr::init() 1 7.91e-07 7.91e-07 7.91e-07 0.00% Other 2190 0.002915 0.002915 0.002915 0.66% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4434 0.4434 0.4434 100.00% Amr::coarseTimeStep() 5 0.3336 0.3336 0.3336 75.24% Amr::timeStep() 5 0.3314 0.3314 0.3314 74.73% Castro::advance() 5 0.3273 0.3273 0.3273 73.80% Castro::subcycle_advance_ctu() 5 0.3201 0.3201 0.3201 72.19% Castro::do_advance_ctu() 5 0.3194 0.3194 0.3194 72.04% Castro::construct_ctu_hydro_source() 5 0.1483 0.1483 0.1483 33.44% Castro::construct_new_gravity() 5 0.1338 0.1338 0.1338 30.18% Gravity::solve_phi_with_mlmg() 6 0.1311 0.1311 0.1311 29.57% Gravity::solve_for_phi() 5 0.1258 0.1258 0.1258 28.38% Gravity::actual_solve_with_mlmg() 6 0.1258 0.1258 0.1258 28.37% MLMG::solve() 6 0.1138 0.1138 0.1138 25.67% MLMG::oneIter() 36 0.1062 0.1062 0.1062 23.94% MLMG::mgVcycle() 36 0.1046 0.1046 0.1046 23.59% Amr::init() 1 0.07311 0.07311 0.07311 16.49% Amr::restart() 1 0.07311 0.07311 0.07311 16.49% AmrLevel::restart() 1 0.06211 0.06211 0.06211 14.01% StateData::restartDoit() 4 0.06203 0.06203 0.06203 13.99% VisMF::Read() 3 0.06174 0.06174 0.06174 13.92% MLCellLinOp::smooth() 720 0.05242 0.05242 0.05242 11.82% MLCellLinOp::applyBC() 1910 0.04882 0.04882 0.04882 11.01% Amr::writePlotFile() 1 0.03589 0.03589 0.03589 8.09% MLMG::mgVcycle_bottom 36 0.03097 0.03097 0.03097 6.98% MLMG::actualBottomSolve() 36 0.03096 0.03096 0.03096 6.98% MLCGSolver::bicgstab 36 0.03059 0.03059 0.03059 6.90% Castro::clean_state() 30 0.0252 0.0252 0.0252 5.68% VisMF::Write(FabArray) 1 0.02444 0.02444 0.02444 5.51% AmrLevel::FillPatch() 20 0.02231 0.02231 0.02231 5.03% FillPatchIterator::Initialize 20 0.02021 0.02021 0.02021 4.56% FillPatchIterator::FillFromLevel0() 20 0.01941 0.01941 0.01941 4.38% FillPatchSingleLevel 20 0.01939 0.01939 0.01939 4.37% StateDataPhysBCFunct::() 20 0.0173 0.0173 0.0173 3.90% MLCellLinOp::apply() 464 0.01582 0.01582 0.01582 3.57% MLMG::mgVcycle_down::0 36 0.01502 0.01502 0.01502 3.39% MLPoisson::Fsmooth() 1440 0.01459 0.01459 0.01459 3.29% FabArray::FillBoundary() 1730 0.01366 0.01366 0.01366 3.08% FillBoundary_nowait() 1730 0.01334 0.01334 0.01334 3.01% StateData::FillBoundary(geom) 160 0.01246 0.01246 0.01246 2.81% MLMG::mgVcycle_up::0 36 0.01129 0.01129 0.01129 2.55% Castro::initialize_do_advance() 5 0.01089 0.01089 0.01089 2.46% Castro::computeTemp() 30 0.01003 0.01003 0.01003 2.26% Castro::do_old_sources() 5 0.00952 0.00952 0.00952 2.15% MLPoisson::define() 6 0.009377 0.009377 0.009377 2.11% amrex::Dot() 484 0.009027 0.009027 0.009027 2.04% Castro::normalize_species() 30 0.009022 0.009022 0.009022 2.03% MLMG:computeResOfCorrection() 180 0.008789 0.008789 0.008789 1.98% MLCellLinOp::correctionResidual() 180 0.00874 0.00874 0.00874 1.97% FabArray::norminf() 465 0.008479 0.008479 0.008479 1.91% Gravity::get_new_grav_vector() 5 0.007873 0.007873 0.007873 1.78% Castro::construct_old_gravity() 5 0.00766 0.00766 0.00766 1.73% Gravity::get_old_grav_vector() 5 0.007655 0.007655 0.007655 1.73% MLMG::mgVcycle_down::1 36 0.007238 0.007238 0.007238 1.63% Castro::do_new_sources() 5 0.00705 0.00705 0.00705 1.59% Castro::initialize_advance() 5 0.006792 0.006792 0.006792 1.53% FabArray::ParallelCopy() 380 0.006665 0.006665 0.006665 1.50% MLMG::mgVcycle_down::2 36 0.006625 0.006625 0.006625 1.49% FabArray::setVal() 501 0.006549 0.006549 0.006549 1.48% FabArray::ParallelCopy_nowait() 380 0.006547 0.006547 0.006547 1.48% MLMG::mgVcycle_down::3 36 0.006487 0.006487 0.006487 1.46% MLMG::mgVcycle_down::4 36 0.006465 0.006465 0.006465 1.46% MLCellLinOp::defineAuxData() 6 0.006331 0.006331 0.006331 1.43% Castro::post_restart() 1 0.005903 0.005903 0.005903 1.33% FabArray::Saxpy() 597 0.005789 0.005789 0.005789 1.31% Castro::enforce_min_density() 30 0.005645 0.005645 0.005645 1.27% Gravity::multilevel_solve_for_new_phi() 1 0.005522 0.005522 0.005522 1.25% Gravity::actual_multilevel_solve() 1 0.005506 0.005506 0.005506 1.24% MLCGSolver::ParallelAllReduce 798 0.005464 0.005464 0.005464 1.23% amrex::Copy() 221 0.005451 0.005451 0.005451 1.23% Castro::expand_state() 5 0.005435 0.005435 0.005435 1.23% MLMG::addInterpCorrection() 180 0.005374 0.005374 0.005374 1.21% Gravity::fill_multipole_BCs() 6 0.005205 0.005205 0.005205 1.17% MLMG::mgVcycle_up::4 36 0.005205 0.005205 0.005205 1.17% MLMG::mgVcycle_up::1 36 0.005148 0.005148 0.005148 1.16% MLMG::mgVcycle_up::2 36 0.005071 0.005071 0.005071 1.14% amrex::average_down 180 0.005029 0.005029 0.005029 1.13% MLMG::mgVcycle_up::3 36 0.004992 0.004992 0.004992 1.13% MLPoisson::Fapply() 464 0.004437 0.004437 0.004437 1.00% Castro::post_timestep() 5 0.004038 0.004038 0.004038 0.91% Castro::estTimeStep() 10 0.003685 0.003685 0.003685 0.83% MLCellLinOp::solutionResidual() 42 0.00365 0.00365 0.00365 0.82% FabArray::Xpay() 325 0.00346 0.00346 0.00346 0.78% Castro::reset_internal_energy(MultiFab) 30 0.002902 0.002902 0.002902 0.65% MLCellLinOp::defineBC() 6 0.002896 0.002896 0.002896 0.65% MLMG::computeResidual() 36 0.002849 0.002849 0.002849 0.64% MLMG::prepareForSolve() 6 0.00284 0.00284 0.00284 0.64% BndryData::define() 6 0.002748 0.002748 0.002748 0.62% Castro::computeNewDt() 5 0.00208 0.00208 0.00208 0.47% Castro::construct_new_source() 25 0.002005 0.002005 0.002005 0.45% Castro::construct_new_gravity_source() 5 0.00188 0.00188 0.00188 0.42% Castro::finalize_do_advance() 5 0.001685 0.001685 0.001685 0.38% Castro::construct_old_source() 25 0.001571 0.001571 0.001571 0.35% amrex::Add() 36 0.001546 0.001546 0.001546 0.35% Castro::construct_old_gravity_source() 5 0.001535 0.001535 0.001535 0.35% MLMG::ResNormInf() 42 0.0009872 0.0009872 0.0009872 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000987 0.000987 0.000987 0.22% Castro::apply_source_to_state() 10 0.0009632 0.0009632 0.0009632 0.22% MLMG::getGradSolution() 6 0.0008819 0.0008819 0.0008819 0.20% MLCellLinOp::setLevelBC() 6 0.0008807 0.0008807 0.0008807 0.20% MLCellLinOp::compGrad() 6 0.0008785 0.0008785 0.0008785 0.20% Castro::reset_internal_energy(Fab) 240 0.0008463 0.0008463 0.0008463 0.19% check_for_negative_density() 5 0.0008375 0.0008375 0.0008375 0.19% MLMG::computeMLResidual() 6 0.0008199 0.0008199 0.0008199 0.18% FabArrayBase::getCPC() 632 0.0007978 0.0007978 0.0007978 0.18% MLPoisson::prepareForSolve() 6 0.0007445 0.0007445 0.0007445 0.17% MLCellLinOp::prepareForSolve() 6 0.0007411 0.0007411 0.0007411 0.17% Gravity::update_max_rhs() 6 0.0007314 0.0007314 0.0007314 0.16% FabArray::mult() 22 0.0006913 0.0006913 0.0006913 0.16% FabArray::setDomainBndry() 20 0.0006795 0.0006795 0.0006795 0.15% Castro::check_for_nan() 10 0.0006615 0.0006615 0.0006615 0.15% Other 2190 0.004131 0.004131 0.004131 0.93% -------------------------------------------------------------------------------------------- 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 10 MiB 9037 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 973 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1631 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 6422 KiB 14 MiB MLMG::prepareForSolve() 361 361 3151 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 179 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 181 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6409 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 18 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3283 B 2048 KiB Gravity::solve_for_phi() 40 40 580 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 290 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 186 KiB 671 KiB Castro::estTimeStep() 10 10 3942 B 480 KiB VisMF::Write(FabArray) 112 112 1227 B 320 KiB Castro::normalize_species() 30 30 6622 B 320 KiB amrex::average_down 469 469 1356 B 257 KiB MLMG::addInterpCorrection() 468 468 1026 B 257 KiB amrex::Dot() 592 592 3002 B 160 KiB FabArray::norminf() 501 501 2953 B 160 KiB check_for_negative_density() 5 5 302 B 160 KiB MultiFab::max() 6 6 72 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3053 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 253 B 9648 B MLCellLinOp::applyBC() 3820 3820 198 B 9344 B amrex::Copy() 56 56 5818 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 40 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 326 B 1248 B MLCGSolver::bicgstab 180 180 83 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1148 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 82 KiB 8192 KiB VisMF::Write(FabArray) 120 120 153 KiB 3584 KiB VisMF::Read() 24 24 212 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3053 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 253 B 9648 B MLCellLinOp::applyBC() 1910 1910 196 B 9328 B amrex::Copy() 56 56 5818 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2516 B 3072 B StateData::FillBoundary(geom) 960 960 40 B 3024 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B MLMG::prepareForSolve() 7 7 784 B 1648 B amrex::average_down 37 37 461 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 501 501 8 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2105 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.05-3-gc3616816b46a) finalized