Initializing AMReX (24.07-16-gdcb9cc0383dc)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.07-16-gdcb9cc0383dc) initialized Starting run at 07:35:40 UTC on 2024-07-16. Successfully read inputs file ... Castro git describe: 24.07-15-gb4b35ba86 AMReX git describe: 24.07-16-gdcb9cc038 Microphysics git describe: 24.07-18-g8fd0d4ae 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.049764761 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.027820714 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.065018675 [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.061804461 [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.078380349 [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.088826445 [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.060112323 [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.050076908 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.060928863 [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.058860974 [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.0775508 [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.080687147 [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.063124495 [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.047691264 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.026784807 seconds Ending run at 07:35:40 UTC on 2024-07-16. Run time = 0.949758744 Run time without initialization = 0.820603263 Average number of zones advanced per microsecond: 3.195 Average number of zones advanced per microsecond per rank: 3.195 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9498 ... 0.9498 ... 0.9498 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2812 0.2812 0.2812 29.60% VisMF::Write(FabArray) 11 0.1939 0.1939 0.1939 20.41% MLCellLinOp::applyBC() 4298 0.08414 0.08414 0.08414 8.86% MLPoisson::Fsmooth() 3240 0.0352 0.0352 0.0352 3.71% FillBoundary_nowait() 3893 0.03274 0.03274 0.03274 3.45% StateData::FillBoundary(geom) 328 0.02829 0.02829 0.02829 2.98% amrex::Dot() 1100 0.02258 0.02258 0.02258 2.38% FabArray::ParallelCopy_nowait() 851 0.02099 0.02099 0.02099 2.21% FabArray::norminf() 1048 0.02096 0.02096 0.02096 2.21% Castro::reset_internal_energy(MultiFab) 63 0.02085 0.02085 0.02085 2.20% Castro::computeTemp() 63 0.02026 0.02026 0.02026 2.13% FabArray::setVal() 1054 0.01406 0.01406 0.01406 1.48% FabArray::Saxpy() 1353 0.01362 0.01362 0.01362 1.43% Castro::normalize_species() 62 0.0125 0.0125 0.0125 1.32% amrex::Copy() 469 0.01127 0.01127 0.01127 1.19% MLCellLinOp::defineAuxData() 11 0.0109 0.0109 0.0109 1.15% MLPoisson::Fapply() 1047 0.01081 0.01081 0.01081 1.14% Castro::enforce_min_density() 62 0.01078 0.01078 0.01078 1.13% StateDataPhysBCFunct::() 41 0.01076 0.01076 0.01076 1.13% FabArray::Xpay() 730 0.008189 0.008189 0.008189 0.86% Gravity::fill_multipole_BCs() 11 0.007871 0.007871 0.007871 0.83% MLMG::addInterpCorrection() 405 0.007276 0.007276 0.007276 0.77% amrex::average_down 405 0.006507 0.006507 0.006507 0.69% Amr::checkPoint() 3 0.005964 0.005964 0.005964 0.63% Castro::estTimeStep() 21 0.005124 0.005124 0.005124 0.54% BndryData::define() 11 0.004218 0.004218 0.004218 0.44% amrex::Add() 81 0.003751 0.003751 0.003751 0.39% Castro::construct_new_gravity_source() 10 0.003729 0.003729 0.003729 0.39% Castro::construct_old_gravity_source() 10 0.00318 0.00318 0.00318 0.33% Castro::reset_internal_energy(Fab) 504 0.002713 0.002713 0.002713 0.29% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001907 0.001907 0.001907 0.20% check_for_negative_density() 10 0.001894 0.001894 0.001894 0.20% Amr::writePlotFile() 2 0.001844 0.001844 0.001844 0.19% Castro::subcycle_advance_ctu() 10 0.001691 0.001691 0.001691 0.18% MLCellLinOp::setLevelBC() 11 0.00166 0.00166 0.00166 0.17% Castro::initData() 1 0.001629 0.001629 0.001629 0.17% MLCGSolver::bicgstab 81 0.001602 0.001602 0.001602 0.17% Gravity::actual_solve_with_mlmg() 11 0.001551 0.001551 0.001551 0.16% FabArray::setDomainBndry() 41 0.001465 0.001465 0.001465 0.15% FabArray::mult() 43 0.001432 0.001432 0.001432 0.15% MLCellLinOp::prepareForSolve() 11 0.001372 0.001372 0.001372 0.14% MultiFab::contains_nan() 20 0.001316 0.001316 0.001316 0.14% MLCellLinOp::smooth() 1620 0.00112 0.00112 0.00112 0.12% MLCellLinOp::compGrad() 11 0.001113 0.001113 0.001113 0.12% Castro::construct_new_source() 50 0.001104 0.001104 0.001104 0.12% MLMG::prepareForSolve() 11 0.0009746 0.0009746 0.0009746 0.10% FabArrayBase::getCPC() 1313 0.0008166 0.0008166 0.0008166 0.09% FabArray::FillBoundary() 3893 0.000783 0.000783 0.000783 0.08% Gravity::get_new_grav_vector() 11 0.0006276 0.0006276 0.0006276 0.07% Gravity::get_old_grav_vector() 10 0.0004907 0.0004907 0.0004907 0.05% AmrLevel::FillPatch() 41 0.0004254 0.0004254 0.0004254 0.04% MLCellLinOp::apply() 1047 0.0004143 0.0004143 0.0004143 0.04% Amr::coarseTimeStep() 10 0.0003964 0.0003964 0.0003964 0.04% main() 1 0.0003351 0.0003351 0.0003351 0.04% MLCGSolver::ParallelAllReduce 1809 0.0003305 0.0003305 0.0003305 0.03% MLCellLinOp::defineBC() 11 0.0002734 0.0002734 0.0002734 0.03% FabArray::ParallelCopy() 851 0.0002546 0.0002546 0.0002546 0.03% FillPatchIterator::Initialize 41 0.0002247 0.0002247 0.0002247 0.02% MLMG::mgVcycle() 81 0.000195 0.000195 0.000195 0.02% Castro::do_advance_ctu() 10 0.00017 0.00017 0.00017 0.02% Amr::timeStep() 10 0.0001618 0.0001618 0.0001618 0.02% MLCellLinOp::correctionResidual() 405 0.0001608 0.0001608 0.0001608 0.02% Gravity::solve_for_phi() 10 0.0001538 0.0001538 0.0001538 0.02% Castro::finalize_do_advance() 10 0.0001241 0.0001241 0.0001241 0.01% Castro::advance() 10 0.0001235 0.0001235 0.0001235 0.01% MLMG:computeResOfCorrection() 405 0.0001191 0.0001191 0.0001191 0.01% Castro::initialize_do_advance() 10 0.0001162 0.0001162 0.0001162 0.01% StateData::checkPoint() 12 0.0001134 0.0001134 0.0001134 0.01% Castro::do_new_sources() 10 8.897e-05 8.897e-05 8.897e-05 0.01% MLMG::actualBottomSolve() 81 8.472e-05 8.472e-05 8.472e-05 0.01% Castro::initialize_advance() 10 8.148e-05 8.148e-05 8.148e-05 0.01% MLMG::mgVcycle_down::0 81 8.107e-05 8.107e-05 8.107e-05 0.01% MLMG::mgVcycle_down::2 81 7.689e-05 7.689e-05 7.689e-05 0.01% MLMG::mgVcycle_down::1 81 7.547e-05 7.547e-05 7.547e-05 0.01% MLMG::solve() 11 7.341e-05 7.341e-05 7.341e-05 0.01% MLMG::mgVcycle_down::4 81 7.295e-05 7.295e-05 7.295e-05 0.01% MLMG::mgVcycle_down::3 81 7.03e-05 7.03e-05 7.03e-05 0.01% Castro::clean_state() 62 6.375e-05 6.375e-05 6.375e-05 0.01% AmrLevel::checkPoint() 3 6.18e-05 6.18e-05 6.18e-05 0.01% MLMG::mgVcycle_up::4 81 5.411e-05 5.411e-05 5.411e-05 0.01% MLMG::oneIter() 81 5.326e-05 5.326e-05 5.326e-05 0.01% MLMG::mgVcycle_up::1 81 4.913e-05 4.913e-05 4.913e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.906e-05 4.906e-05 4.906e-05 0.01% MLMG::mgVcycle_up::2 81 4.872e-05 4.872e-05 4.872e-05 0.01% MLMG::mgVcycle_up::3 81 4.868e-05 4.868e-05 4.868e-05 0.01% MLMG::mgVcycle_up::0 81 4.799e-05 4.799e-05 4.799e-05 0.01% Castro::construct_old_source() 50 4.525e-05 4.525e-05 4.525e-05 0.00% Amr::defBaseLevel() 1 4.458e-05 4.458e-05 4.458e-05 0.00% Castro::do_old_sources() 10 4.437e-05 4.437e-05 4.437e-05 0.00% MLCellLinOp::solutionResidual() 92 4.401e-05 4.401e-05 4.401e-05 0.00% FillPatchSingleLevel 41 3.789e-05 3.789e-05 3.789e-05 0.00% MLMG::ResNormInf() 92 3.623e-05 3.623e-05 3.623e-05 0.00% MLMG::computeResidual() 81 3.522e-05 3.522e-05 3.522e-05 0.00% MLMG::mgVcycle_bottom 81 3.444e-05 3.444e-05 3.444e-05 0.00% MLPoisson::define() 11 2.75e-05 2.75e-05 2.75e-05 0.00% Castro::construct_new_gravity() 10 2.706e-05 2.706e-05 2.706e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.395e-05 2.395e-05 2.395e-05 0.00% Amr::FinalizeInit() 1 2.108e-05 2.108e-05 2.108e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.848e-05 1.848e-05 1.848e-05 0.00% Castro::apply_source_to_state() 20 1.731e-05 1.731e-05 1.731e-05 0.00% MLPoisson::prepareForSolve() 11 1.349e-05 1.349e-05 1.349e-05 0.00% Castro::construct_old_gravity() 10 1.191e-05 1.191e-05 1.191e-05 0.00% MLMG::computeMLResidual() 11 1.173e-05 1.173e-05 1.173e-05 0.00% Castro::check_for_nan() 20 1.141e-05 1.141e-05 1.141e-05 0.00% Castro::post_init() 1 1.08e-05 1.08e-05 1.08e-05 0.00% Castro::post_timestep() 10 9.628e-06 9.628e-06 9.628e-06 0.00% Gravity::actual_multilevel_solve() 1 9.287e-06 9.287e-06 9.287e-06 0.00% Castro::computeNewDt() 9 6.667e-06 6.667e-06 6.667e-06 0.00% MLMG::getGradSolution() 11 6.291e-06 6.291e-06 6.291e-06 0.00% Castro::expand_state() 10 5.911e-06 5.911e-06 5.911e-06 0.00% Amr::InitializeInit() 1 5.723e-06 5.723e-06 5.723e-06 0.00% Amr::init() 1 3.059e-06 3.059e-06 3.059e-06 0.00% Amr::initialInit() 1 1.114e-06 1.114e-06 1.114e-06 0.00% Other 4767 0.003248 0.003248 0.003248 0.34% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9498 0.9498 0.9498 100.00% Amr::coarseTimeStep() 10 0.7935 0.7935 0.7935 83.55% Amr::timeStep() 10 0.6925 0.6925 0.6925 72.91% Castro::advance() 10 0.6807 0.6807 0.6807 71.67% Castro::subcycle_advance_ctu() 10 0.6662 0.6662 0.6662 70.14% Castro::do_advance_ctu() 10 0.6645 0.6645 0.6645 69.96% Gravity::solve_phi_with_mlmg() 11 0.3062 0.3062 0.3062 32.24% Gravity::actual_solve_with_mlmg() 11 0.2978 0.2978 0.2978 31.36% Castro::construct_ctu_hydro_source() 10 0.2953 0.2953 0.2953 31.09% Castro::construct_new_gravity() 10 0.2888 0.2888 0.2888 30.41% MLMG::solve() 11 0.2747 0.2747 0.2747 28.92% Gravity::solve_for_phi() 10 0.2641 0.2641 0.2641 27.80% MLMG::oneIter() 81 0.2586 0.2586 0.2586 27.23% MLMG::mgVcycle() 81 0.2548 0.2548 0.2548 26.83% VisMF::Write(FabArray) 11 0.1939 0.1939 0.1939 20.41% Amr::checkPoint() 3 0.1477 0.1477 0.1477 15.55% AmrLevel::checkPoint() 3 0.1417 0.1417 0.1417 14.92% StateData::checkPoint() 12 0.1417 0.1417 0.1417 14.91% Amr::init() 1 0.1285 0.1285 0.1285 13.53% MLCellLinOp::smooth() 1620 0.1275 0.1275 0.1275 13.42% MLCellLinOp::applyBC() 4298 0.1184 0.1184 0.1184 12.46% MLMG::mgVcycle_bottom 81 0.07629 0.07629 0.07629 8.03% MLMG::actualBottomSolve() 81 0.07626 0.07626 0.07626 8.03% MLCGSolver::bicgstab 81 0.07541 0.07541 0.07541 7.94% Castro::clean_state() 62 0.06666 0.06666 0.06666 7.02% AmrLevel::FillPatch() 41 0.05621 0.05621 0.05621 5.92% Amr::writePlotFile() 2 0.05474 0.05474 0.05474 5.76% FillPatchIterator::Initialize 41 0.05182 0.05182 0.05182 5.46% Amr::initialInit() 1 0.0508 0.0508 0.0508 5.35% FillPatchIterator::FillFromLevel0() 41 0.05013 0.05013 0.05013 5.28% FillPatchSingleLevel 41 0.05008 0.05008 0.05008 5.27% Amr::FinalizeInit() 1 0.04605 0.04605 0.04605 4.85% Castro::post_init() 1 0.04513 0.04513 0.04513 4.75% Castro::computeTemp() 63 0.04382 0.04382 0.04382 4.61% Gravity::multilevel_solve_for_new_phi() 1 0.04266 0.04266 0.04266 4.49% Gravity::actual_multilevel_solve() 1 0.04264 0.04264 0.04264 4.49% StateDataPhysBCFunct::() 41 0.03905 0.03905 0.03905 4.11% MLCellLinOp::apply() 1047 0.03789 0.03789 0.03789 3.99% MLMG::mgVcycle_down::0 81 0.0362 0.0362 0.0362 3.81% MLPoisson::Fsmooth() 3240 0.0352 0.0352 0.0352 3.71% FabArray::FillBoundary() 3893 0.03423 0.03423 0.03423 3.60% FillBoundary_nowait() 3893 0.03345 0.03345 0.03345 3.52% StateData::FillBoundary(geom) 328 0.02829 0.02829 0.02829 2.98% MLMG::mgVcycle_up::0 81 0.02763 0.02763 0.02763 2.91% Gravity::get_new_grav_vector() 11 0.02672 0.02672 0.02672 2.81% Castro::reset_internal_energy(MultiFab) 63 0.02356 0.02356 0.02356 2.48% amrex::Dot() 1100 0.02258 0.02258 0.02258 2.38% Castro::initialize_do_advance() 10 0.02217 0.02217 0.02217 2.33% FabArray::ParallelCopy() 851 0.02207 0.02207 0.02207 2.32% FabArray::ParallelCopy_nowait() 851 0.02182 0.02182 0.02182 2.30% MLMG:computeResOfCorrection() 405 0.02133 0.02133 0.02133 2.25% MLCellLinOp::correctionResidual() 405 0.02122 0.02122 0.02122 2.23% FabArray::norminf() 1048 0.02096 0.02096 0.02096 2.21% Castro::do_old_sources() 10 0.02029 0.02029 0.02029 2.14% Castro::do_new_sources() 10 0.01836 0.01836 0.01836 1.93% MLPoisson::define() 11 0.01825 0.01825 0.01825 1.92% MLMG::mgVcycle_down::1 81 0.01734 0.01734 0.01734 1.83% Castro::construct_old_gravity() 10 0.01626 0.01626 0.01626 1.71% Gravity::get_old_grav_vector() 10 0.01625 0.01625 0.01625 1.71% MLMG::mgVcycle_down::2 81 0.0162 0.0162 0.0162 1.71% MLMG::mgVcycle_down::3 81 0.0158 0.0158 0.0158 1.66% MLMG::mgVcycle_down::4 81 0.01575 0.01575 0.01575 1.66% FabArray::setVal() 1054 0.01406 0.01406 0.01406 1.48% Castro::initialize_advance() 10 0.01376 0.01376 0.01376 1.45% FabArray::Saxpy() 1353 0.01362 0.01362 0.01362 1.43% MLCGSolver::ParallelAllReduce 1809 0.01352 0.01352 0.01352 1.42% MLMG::addInterpCorrection() 405 0.01278 0.01278 0.01278 1.35% MLMG::mgVcycle_up::1 81 0.01259 0.01259 0.01259 1.33% Castro::normalize_species() 62 0.0125 0.0125 0.0125 1.32% MLMG::mgVcycle_up::4 81 0.0125 0.0125 0.0125 1.32% MLCellLinOp::defineAuxData() 11 0.01241 0.01241 0.01241 1.31% MLMG::mgVcycle_up::2 81 0.01229 0.01229 0.01229 1.29% amrex::average_down 405 0.01208 0.01208 0.01208 1.27% MLMG::mgVcycle_up::3 81 0.01207 0.01207 0.01207 1.27% Castro::post_timestep() 10 0.01161 0.01161 0.01161 1.22% amrex::Copy() 469 0.01127 0.01127 0.01127 1.19% MLPoisson::Fapply() 1047 0.01081 0.01081 0.01081 1.14% Castro::enforce_min_density() 62 0.01078 0.01078 0.01078 1.13% Castro::expand_state() 10 0.01043 0.01043 0.01043 1.10% FabArray::Xpay() 730 0.008189 0.008189 0.008189 0.86% Gravity::fill_multipole_BCs() 11 0.008131 0.008131 0.008131 0.86% MLCellLinOp::solutionResidual() 92 0.008035 0.008035 0.008035 0.85% MLMG::computeResidual() 81 0.006723 0.006723 0.006723 0.71% MLCellLinOp::defineBC() 11 0.005565 0.005565 0.005565 0.59% MLMG::prepareForSolve() 11 0.0054 0.0054 0.0054 0.57% BndryData::define() 11 0.005291 0.005291 0.005291 0.56% Castro::estTimeStep() 21 0.005124 0.005124 0.005124 0.54% Castro::construct_new_source() 50 0.004833 0.004833 0.004833 0.51% Amr::InitializeInit() 1 0.004748 0.004748 0.004748 0.50% Amr::defBaseLevel() 1 0.004742 0.004742 0.004742 0.50% Castro::initData() 1 0.004014 0.004014 0.004014 0.42% amrex::Add() 81 0.003751 0.003751 0.003751 0.39% Castro::construct_new_gravity_source() 10 0.003729 0.003729 0.003729 0.39% Castro::construct_old_source() 50 0.003225 0.003225 0.003225 0.34% Castro::construct_old_gravity_source() 10 0.00318 0.00318 0.00318 0.33% Castro::reset_internal_energy(Fab) 504 0.002713 0.002713 0.002713 0.29% MLMG::ResNormInf() 92 0.002272 0.002272 0.002272 0.24% Castro::finalize_do_advance() 10 0.002219 0.002219 0.002219 0.23% Castro::computeNewDt() 9 0.002058 0.002058 0.002058 0.22% Castro::apply_source_to_state() 20 0.001914 0.001914 0.001914 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001907 0.001907 0.001907 0.20% check_for_negative_density() 10 0.001894 0.001894 0.001894 0.20% MLMG::getGradSolution() 11 0.001662 0.001662 0.001662 0.17% MLCellLinOp::setLevelBC() 11 0.00166 0.00166 0.00166 0.17% MLCellLinOp::compGrad() 11 0.001656 0.001656 0.001656 0.17% FabArrayBase::getCPC() 1313 0.001496 0.001496 0.001496 0.16% FabArray::setDomainBndry() 41 0.001465 0.001465 0.001465 0.15% FabArray::mult() 43 0.001432 0.001432 0.001432 0.15% MLPoisson::prepareForSolve() 11 0.001385 0.001385 0.001385 0.15% MLCellLinOp::prepareForSolve() 11 0.001372 0.001372 0.001372 0.14% MLMG::computeMLResidual() 11 0.001359 0.001359 0.001359 0.14% Castro::check_for_nan() 20 0.001327 0.001327 0.001327 0.14% MultiFab::contains_nan() 20 0.001316 0.001316 0.001316 0.14% Other 4767 0.008755 0.008755 0.008755 0.92% -------------------------------------------------------------------------------------------- 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 5964 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 1028 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1620 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7610 KiB 14 MiB MLMG::prepareForSolve() 660 660 3558 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 291 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 175 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7527 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 13 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2183 B 2048 KiB Gravity::solve_for_phi() 80 80 568 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 91 KiB 2048 KiB BndryData::define() 1056 1056 325 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 207 KiB 671 KiB Castro::estTimeStep() 21 21 2614 B 480 KiB VisMF::Write(FabArray) 656 656 3424 B 320 KiB Castro::normalize_species() 62 62 4276 B 320 KiB amrex::average_down 1054 1054 1607 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1153 B 257 KiB amrex::Dot() 1343 1343 3511 B 160 KiB FabArray::norminf() 1129 1129 3412 B 160 KiB check_for_negative_density() 10 10 319 B 160 KiB Castro::initData() 1 1 52 B 160 KiB MultiFab::max() 11 11 59 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3472 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 121 B 10 KiB FillBoundary_nowait() 751 751 300 B 9648 B MLCellLinOp::applyBC() 8596 8596 220 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3940 B 6144 B StateData::FillBoundary(geom) 1992 1992 37 B 3776 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 366 B 1248 B MLCGSolver::bicgstab 405 405 95 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 659 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 38 KiB 8192 KiB VisMF::Write(FabArray) 744 744 455 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3472 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 121 B 10 KiB FillBoundary_nowait() 751 751 300 B 9648 B MLCellLinOp::applyBC() 4298 4298 218 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3940 B 6144 B StateData::FillBoundary(geom) 1992 1992 37 B 3776 B Gravity::get_new_grav_vector() 3 3 2910 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 82 82 618 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 296 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 25 B 400 B FabArray::norminf() 1129 1129 10 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): 2109 [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.07-16-gdcb9cc0383dc) finalized Initializing AMReX (24.07-16-gdcb9cc0383dc)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.07-16-gdcb9cc0383dc) initialized Starting run at 07:35:41 UTC on 2024-07-16. Successfully read inputs file ... Castro git describe: 24.07-15-gb4b35ba86 AMReX git describe: 24.07-16-gdcb9cc038 Microphysics git describe: 24.07-18-g8fd0d4ae reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.533399117 Restart time = 0.074043893 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.070205635 [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.051581412 [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.060007641 [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.079645198 [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.088580377 [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.031089032 seconds Ending run at 07:35:42 UTC on 2024-07-16. Run time = 0.456177922 Run time without initialization = 0.381547276 Average number of zones advanced per microsecond: 3.435 Average number of zones advanced per microsecond per rank: 3.435 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4562 ... 0.4562 ... 0.4562 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1366 0.1366 0.1366 29.94% VisMF::Read() 3 0.06229 0.06229 0.06229 13.65% MLCellLinOp::applyBC() 1910 0.03765 0.03765 0.03765 8.25% VisMF::Write(FabArray) 1 0.02851 0.02851 0.02851 6.25% FillBoundary_nowait() 1730 0.02117 0.02117 0.02117 4.64% MLPoisson::Fsmooth() 1440 0.01592 0.01592 0.01592 3.49% StateData::FillBoundary(geom) 160 0.01377 0.01377 0.01377 3.02% amrex::Dot() 484 0.009776 0.009776 0.009776 2.14% FabArray::norminf() 465 0.009171 0.009171 0.009171 2.01% Castro::reset_internal_energy(MultiFab) 30 0.008659 0.008659 0.008659 1.90% Castro::computeTemp() 30 0.008577 0.008577 0.008577 1.88% Castro::normalize_species() 30 0.007256 0.007256 0.007256 1.59% FabArray::setVal() 501 0.006962 0.006962 0.006962 1.53% FabArray::ParallelCopy_nowait() 380 0.006443 0.006443 0.006443 1.41% FabArray::Saxpy() 597 0.006161 0.006161 0.006161 1.35% MLCellLinOp::defineAuxData() 6 0.005955 0.005955 0.005955 1.31% StateDataPhysBCFunct::() 20 0.005939 0.005939 0.005939 1.30% amrex::Copy() 221 0.005668 0.005668 0.005668 1.24% Castro::enforce_min_density() 30 0.005454 0.005454 0.005454 1.20% Amr::restart() 1 0.005074 0.005074 0.005074 1.11% Gravity::fill_multipole_BCs() 6 0.005043 0.005043 0.005043 1.11% MLPoisson::Fapply() 464 0.004828 0.004828 0.004828 1.06% FabArray::Xpay() 325 0.003671 0.003671 0.003671 0.80% MLMG::addInterpCorrection() 180 0.003334 0.003334 0.003334 0.73% amrex::average_down 180 0.002994 0.002994 0.002994 0.66% Castro::estTimeStep() 10 0.002593 0.002593 0.002593 0.57% Amr::writePlotFile() 1 0.002405 0.002405 0.002405 0.53% BndryData::define() 6 0.002318 0.002318 0.002318 0.51% Castro::construct_new_gravity_source() 5 0.001926 0.001926 0.001926 0.42% amrex::Add() 36 0.001648 0.001648 0.001648 0.36% Castro::construct_old_gravity_source() 5 0.001541 0.001541 0.001541 0.34% Castro::reset_internal_energy(Fab) 240 0.001282 0.001282 0.001282 0.28% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.00105 0.00105 0.00105 0.23% check_for_negative_density() 5 0.0009758 0.0009758 0.0009758 0.21% MLCellLinOp::setLevelBC() 6 0.0009234 0.0009234 0.0009234 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008633 0.0008633 0.0008633 0.19% MLCellLinOp::prepareForSolve() 6 0.0007918 0.0007918 0.0007918 0.17% FabArray::setDomainBndry() 20 0.0007343 0.0007343 0.0007343 0.16% MLCGSolver::bicgstab 36 0.0007305 0.0007305 0.0007305 0.16% FabArray::mult() 22 0.0007215 0.0007215 0.0007215 0.16% MLCellLinOp::compGrad() 6 0.0006666 0.0006666 0.0006666 0.15% MLMG::prepareForSolve() 6 0.0005821 0.0005821 0.0005821 0.13% MLCellLinOp::smooth() 720 0.0005253 0.0005253 0.0005253 0.12% FabArrayBase::getCPC() 632 0.0004059 0.0004059 0.0004059 0.09% FabArray::FillBoundary() 1730 0.0003521 0.0003521 0.0003521 0.08% Gravity::get_old_grav_vector() 5 0.000334 0.000334 0.000334 0.07% main() 1 0.0002817 0.0002817 0.0002817 0.06% Gravity::get_new_grav_vector() 5 0.0002463 0.0002463 0.0002463 0.05% AmrLevel::FillPatch() 20 0.0002304 0.0002304 0.0002304 0.05% MLCellLinOp::apply() 464 0.0001905 0.0001905 0.0001905 0.04% Amr::coarseTimeStep() 5 0.0001676 0.0001676 0.0001676 0.04% MLCellLinOp::defineBC() 6 0.0001495 0.0001495 0.0001495 0.03% MLCGSolver::ParallelAllReduce 798 0.0001483 0.0001483 0.0001483 0.03% Castro::subcycle_advance_ctu() 5 0.0001435 0.0001435 0.0001435 0.03% FabArray::ParallelCopy() 380 0.0001227 0.0001227 0.0001227 0.03% FillPatchIterator::Initialize 20 0.0001094 0.0001094 0.0001094 0.02% MLMG::mgVcycle() 36 8.831e-05 8.831e-05 8.831e-05 0.02% Amr::timeStep() 5 8.385e-05 8.385e-05 8.385e-05 0.02% MLCellLinOp::correctionResidual() 180 7.549e-05 7.549e-05 7.549e-05 0.02% AmrLevel::restart() 1 7.528e-05 7.528e-05 7.528e-05 0.02% StateData::restartDoit() 4 6.942e-05 6.942e-05 6.942e-05 0.02% Gravity::update_max_rhs() 6 6.899e-05 6.899e-05 6.899e-05 0.02% Castro::initialize_do_advance() 5 6.718e-05 6.718e-05 6.718e-05 0.01% MLMG:computeResOfCorrection() 180 5.694e-05 5.694e-05 5.694e-05 0.01% Gravity::solve_for_phi() 5 5.522e-05 5.522e-05 5.522e-05 0.01% MLMG::mgVcycle_down::0 36 5.243e-05 5.243e-05 5.243e-05 0.01% Castro::finalize_do_advance() 5 4.41e-05 4.41e-05 4.41e-05 0.01% MLMG::actualBottomSolve() 36 4.15e-05 4.15e-05 4.15e-05 0.01% Castro::construct_new_source() 25 4.039e-05 4.039e-05 4.039e-05 0.01% Castro::initialize_advance() 5 3.681e-05 3.681e-05 3.681e-05 0.01% MLMG::mgVcycle_down::1 36 3.587e-05 3.587e-05 3.587e-05 0.01% Castro::advance() 5 3.557e-05 3.557e-05 3.557e-05 0.01% MLMG::solve() 6 3.504e-05 3.504e-05 3.504e-05 0.01% MLMG::mgVcycle_down::2 36 3.386e-05 3.386e-05 3.386e-05 0.01% Castro::clean_state() 30 3.234e-05 3.234e-05 3.234e-05 0.01% MLMG::mgVcycle_down::4 36 3.201e-05 3.201e-05 3.201e-05 0.01% MLMG::mgVcycle_down::3 36 3.106e-05 3.106e-05 3.106e-05 0.01% Castro::construct_old_source() 25 2.904e-05 2.904e-05 2.904e-05 0.01% MLMG::mgVcycle_up::4 36 2.814e-05 2.814e-05 2.814e-05 0.01% Castro::construct_old_gravity() 5 2.778e-05 2.778e-05 2.778e-05 0.01% Castro::post_restart() 1 2.732e-05 2.732e-05 2.732e-05 0.01% Castro::do_advance_ctu() 5 2.508e-05 2.508e-05 2.508e-05 0.01% MLMG::oneIter() 36 2.445e-05 2.445e-05 2.445e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.43e-05 2.43e-05 2.43e-05 0.01% MLMG::mgVcycle_up::3 36 2.317e-05 2.317e-05 2.317e-05 0.01% MLMG::mgVcycle_up::2 36 2.152e-05 2.152e-05 2.152e-05 0.00% MLMG::mgVcycle_up::0 36 2.115e-05 2.115e-05 2.115e-05 0.00% MLCellLinOp::solutionResidual() 42 2.096e-05 2.096e-05 2.096e-05 0.00% MLMG::mgVcycle_up::1 36 2.093e-05 2.093e-05 2.093e-05 0.00% MLPoisson::define() 6 2.049e-05 2.049e-05 2.049e-05 0.00% MLMG::ResNormInf() 42 1.743e-05 1.743e-05 1.743e-05 0.00% Castro::construct_new_gravity() 5 1.695e-05 1.695e-05 1.695e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.669e-05 1.669e-05 1.669e-05 0.00% Castro::do_old_sources() 5 1.649e-05 1.649e-05 1.649e-05 0.00% MLMG::mgVcycle_bottom 36 1.641e-05 1.641e-05 1.641e-05 0.00% FillPatchSingleLevel 20 1.584e-05 1.584e-05 1.584e-05 0.00% MLMG::computeResidual() 36 1.484e-05 1.484e-05 1.484e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.351e-05 1.351e-05 1.351e-05 0.00% MLPoisson::prepareForSolve() 6 9.912e-06 9.912e-06 9.912e-06 0.00% Castro::do_new_sources() 5 9.541e-06 9.541e-06 9.541e-06 0.00% Castro::expand_state() 5 8.88e-06 8.88e-06 8.88e-06 0.00% Gravity::actual_multilevel_solve() 1 8.162e-06 8.162e-06 8.162e-06 0.00% Castro::post_timestep() 5 6.476e-06 6.476e-06 6.476e-06 0.00% Castro::apply_source_to_state() 10 5.871e-06 5.871e-06 5.871e-06 0.00% MLMG::computeMLResidual() 6 4.345e-06 4.345e-06 4.345e-06 0.00% Castro::computeNewDt() 5 3.985e-06 3.985e-06 3.985e-06 0.00% MLMG::getGradSolution() 6 3.31e-06 3.31e-06 3.31e-06 0.00% Amr::init() 1 8.09e-07 8.09e-07 8.09e-07 0.00% Other 2200 0.002541 0.002541 0.002541 0.56% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4562 0.4562 0.4562 100.00% Amr::coarseTimeStep() 5 0.3502 0.3502 0.3502 76.76% Amr::timeStep() 5 0.3484 0.3484 0.3484 76.37% Castro::advance() 5 0.3428 0.3428 0.3428 75.14% Castro::subcycle_advance_ctu() 5 0.3358 0.3358 0.3358 73.61% Castro::do_advance_ctu() 5 0.3357 0.3357 0.3357 73.58% Castro::construct_new_gravity() 5 0.1512 0.1512 0.1512 33.13% Gravity::solve_phi_with_mlmg() 6 0.148 0.148 0.148 32.44% Castro::construct_ctu_hydro_source() 5 0.1434 0.1434 0.1434 31.44% Gravity::actual_solve_with_mlmg() 6 0.1427 0.1427 0.1427 31.27% Gravity::solve_for_phi() 5 0.1424 0.1424 0.1424 31.22% MLMG::solve() 6 0.1298 0.1298 0.1298 28.46% MLMG::oneIter() 36 0.1216 0.1216 0.1216 26.67% MLMG::mgVcycle() 36 0.12 0.12 0.12 26.30% Amr::init() 1 0.07411 0.07411 0.07411 16.24% Amr::restart() 1 0.07411 0.07411 0.07411 16.24% MLCellLinOp::smooth() 720 0.06361 0.06361 0.06361 13.94% AmrLevel::restart() 1 0.06265 0.06265 0.06265 13.73% StateData::restartDoit() 4 0.06257 0.06257 0.06257 13.72% VisMF::Read() 3 0.06229 0.06229 0.06229 13.65% MLCellLinOp::applyBC() 1910 0.0595 0.0595 0.0595 13.04% MLMG::mgVcycle_bottom 36 0.03339 0.03339 0.03339 7.32% MLMG::actualBottomSolve() 36 0.03337 0.03337 0.03337 7.31% MLCGSolver::bicgstab 36 0.03298 0.03298 0.03298 7.23% Castro::clean_state() 30 0.03139 0.03139 0.03139 6.88% Amr::writePlotFile() 1 0.03119 0.03119 0.03119 6.84% VisMF::Write(FabArray) 1 0.02851 0.02851 0.02851 6.25% AmrLevel::FillPatch() 20 0.02484 0.02484 0.02484 5.44% MLMG::mgVcycle_down::0 36 0.02326 0.02326 0.02326 5.10% FillPatchIterator::Initialize 20 0.02267 0.02267 0.02267 4.97% FabArray::FillBoundary() 1730 0.02185 0.02185 0.02185 4.79% FillPatchIterator::FillFromLevel0() 20 0.02182 0.02182 0.02182 4.78% FillPatchSingleLevel 20 0.0218 0.0218 0.0218 4.78% FillBoundary_nowait() 1730 0.0215 0.0215 0.0215 4.71% StateDataPhysBCFunct::() 20 0.01971 0.01971 0.01971 4.32% Castro::computeTemp() 30 0.01852 0.01852 0.01852 4.06% MLCellLinOp::apply() 464 0.01705 0.01705 0.01705 3.74% MLPoisson::Fsmooth() 1440 0.01592 0.01592 0.01592 3.49% StateData::FillBoundary(geom) 160 0.01377 0.01377 0.01377 3.02% Castro::initialize_do_advance() 5 0.01289 0.01289 0.01289 2.82% MLMG::mgVcycle_up::0 36 0.01221 0.01221 0.01221 2.68% Castro::do_old_sources() 5 0.01072 0.01072 0.01072 2.35% MLPoisson::define() 6 0.01006 0.01006 0.01006 2.20% Castro::reset_internal_energy(MultiFab) 30 0.009941 0.009941 0.009941 2.18% amrex::Dot() 484 0.009776 0.009776 0.009776 2.14% MLMG:computeResOfCorrection() 180 0.009528 0.009528 0.009528 2.09% MLCellLinOp::correctionResidual() 180 0.009471 0.009471 0.009471 2.08% FabArray::norminf() 465 0.009171 0.009171 0.009171 2.01% Gravity::get_new_grav_vector() 5 0.008605 0.008605 0.008605 1.89% Castro::construct_old_gravity() 5 0.008297 0.008297 0.008297 1.82% Gravity::get_old_grav_vector() 5 0.008269 0.008269 0.008269 1.81% MLMG::mgVcycle_down::1 36 0.00786 0.00786 0.00786 1.72% Castro::do_new_sources() 5 0.007618 0.007618 0.007618 1.67% Castro::normalize_species() 30 0.007256 0.007256 0.007256 1.59% MLMG::mgVcycle_down::2 36 0.007178 0.007178 0.007178 1.57% MLMG::mgVcycle_down::3 36 0.007015 0.007015 0.007015 1.54% FabArray::ParallelCopy() 380 0.006987 0.006987 0.006987 1.53% FabArray::setVal() 501 0.006962 0.006962 0.006962 1.53% MLMG::mgVcycle_down::4 36 0.00693 0.00693 0.00693 1.52% FabArray::ParallelCopy_nowait() 380 0.006865 0.006865 0.006865 1.50% MLCellLinOp::defineAuxData() 6 0.006811 0.006811 0.006811 1.49% Castro::expand_state() 5 0.006709 0.006709 0.006709 1.47% Castro::initialize_advance() 5 0.006618 0.006618 0.006618 1.45% Castro::post_restart() 1 0.006187 0.006187 0.006187 1.36% FabArray::Saxpy() 597 0.006161 0.006161 0.006161 1.35% MLCGSolver::ParallelAllReduce 798 0.005901 0.005901 0.005901 1.29% Gravity::multilevel_solve_for_new_phi() 1 0.005798 0.005798 0.005798 1.27% Gravity::actual_multilevel_solve() 1 0.005781 0.005781 0.005781 1.27% MLMG::addInterpCorrection() 180 0.005775 0.005775 0.005775 1.27% amrex::Copy() 221 0.005668 0.005668 0.005668 1.24% MLMG::mgVcycle_up::1 36 0.005613 0.005613 0.005613 1.23% MLMG::mgVcycle_up::4 36 0.0056 0.0056 0.0056 1.23% Castro::post_timestep() 5 0.00555 0.00555 0.00555 1.22% amrex::average_down 180 0.005469 0.005469 0.005469 1.20% MLMG::mgVcycle_up::2 36 0.005456 0.005456 0.005456 1.20% Castro::enforce_min_density() 30 0.005454 0.005454 0.005454 1.20% MLMG::mgVcycle_up::3 36 0.005379 0.005379 0.005379 1.18% Gravity::fill_multipole_BCs() 6 0.00518 0.00518 0.00518 1.14% MLPoisson::Fapply() 464 0.004828 0.004828 0.004828 1.06% MLCellLinOp::solutionResidual() 42 0.00386 0.00386 0.00386 0.85% FabArray::Xpay() 325 0.003671 0.003671 0.003671 0.80% MLCellLinOp::defineBC() 6 0.00309 0.00309 0.00309 0.68% MLMG::prepareForSolve() 6 0.003077 0.003077 0.003077 0.67% MLMG::computeResidual() 36 0.003006 0.003006 0.003006 0.66% BndryData::define() 6 0.00294 0.00294 0.00294 0.64% Castro::estTimeStep() 10 0.002593 0.002593 0.002593 0.57% Castro::construct_new_source() 25 0.001966 0.001966 0.001966 0.43% Castro::construct_new_gravity_source() 5 0.001926 0.001926 0.001926 0.42% amrex::Add() 36 0.001648 0.001648 0.001648 0.36% Castro::computeNewDt() 5 0.001601 0.001601 0.001601 0.35% Castro::construct_old_source() 25 0.00157 0.00157 0.00157 0.34% Castro::construct_old_gravity_source() 5 0.001541 0.001541 0.001541 0.34% Castro::reset_internal_energy(Fab) 240 0.001282 0.001282 0.001282 0.28% MLMG::ResNormInf() 42 0.001066 0.001066 0.001066 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.00105 0.00105 0.00105 0.23% Castro::finalize_do_advance() 5 0.00104 0.00104 0.00104 0.23% check_for_negative_density() 5 0.0009758 0.0009758 0.0009758 0.21% MLMG::getGradSolution() 6 0.0009727 0.0009727 0.0009727 0.21% Castro::apply_source_to_state() 10 0.000972 0.000972 0.000972 0.21% MLCellLinOp::compGrad() 6 0.0009694 0.0009694 0.0009694 0.21% MLCellLinOp::setLevelBC() 6 0.0009234 0.0009234 0.0009234 0.20% MLMG::computeMLResidual() 6 0.0008733 0.0008733 0.0008733 0.19% FabArrayBase::getCPC() 632 0.0008498 0.0008498 0.0008498 0.19% MLPoisson::prepareForSolve() 6 0.0008017 0.0008017 0.0008017 0.18% MLCellLinOp::prepareForSolve() 6 0.0007918 0.0007918 0.0007918 0.17% Gravity::update_max_rhs() 6 0.0007537 0.0007537 0.0007537 0.17% FabArray::setDomainBndry() 20 0.0007343 0.0007343 0.0007343 0.16% FabArray::mult() 22 0.0007215 0.0007215 0.0007215 0.16% Other 2200 0.004515 0.004515 0.004515 0.99% -------------------------------------------------------------------------------------------- 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 12 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 1086 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1841 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 6444 KiB 14 MiB MLMG::prepareForSolve() 361 361 3496 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 188 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 193 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6431 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 18 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3290 B 2048 KiB Gravity::solve_for_phi() 40 40 638 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 321 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 206 KiB 671 KiB Castro::estTimeStep() 10 10 2707 B 480 KiB VisMF::Write(FabArray) 112 112 2276 B 320 KiB Castro::normalize_species() 30 30 5160 B 320 KiB amrex::average_down 469 469 1422 B 257 KiB MLMG::addInterpCorrection() 468 468 1074 B 257 KiB amrex::Dot() 592 592 3162 B 160 KiB FabArray::norminf() 501 501 3110 B 160 KiB check_for_negative_density() 5 5 344 B 160 KiB MultiFab::max() 6 6 76 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3391 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 416 B 9648 B MLCellLinOp::applyBC() 3820 3820 207 B 9344 B amrex::Copy() 56 56 5929 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 2 B 1616 B MLCellLinOp::defineBC() 36 36 361 B 1248 B MLCGSolver::bicgstab 180 180 87 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1372 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 80 KiB 8192 KiB VisMF::Write(FabArray) 120 120 169 KiB 3584 KiB VisMF::Read() 24 24 205 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3391 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 416 B 9648 B MLCellLinOp::applyBC() 1910 1910 206 B 9328 B amrex::Copy() 56 56 5929 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2525 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 814 B 1648 B amrex::average_down 37 37 467 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 501 501 9 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2109 [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.07-16-gdcb9cc0383dc) finalized