Initializing AMReX (24.06-23-g463bdf493cd7)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-23-g463bdf493cd7) initialized Starting run at 07:55:54 UTC on 2024-06-25. Successfully read inputs file ... Castro git describe: 24.06-24-g9eb8f82be AMReX git describe: 24.06-23-g463bdf493 Microphysics git describe: 24.06-32-ge27c00f6 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.048913681 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.027481993 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.069084729 [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.051638825 [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.075746165 [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.075390826 [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.052673661 [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.055763998 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.055458872 [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.075148967 [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.081595895 [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.069439427 [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.053968358 [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.047228398 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.026385689 seconds Ending run at 07:55:54 UTC on 2024-06-25. Run time = 0.922444952 Run time without initialization = 0.790184724 Average number of zones advanced per microsecond: 3.318 Average number of zones advanced per microsecond per rank: 3.318 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9225 ... 0.9225 ... 0.9225 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2621 0.2621 0.2621 28.41% VisMF::Write(FabArray) 11 0.1969 0.1969 0.1969 21.35% MLCellLinOp::applyBC() 4351 0.08404 0.08404 0.08404 9.11% MLPoisson::Fsmooth() 3280 0.03564 0.03564 0.03564 3.86% FillBoundary_nowait() 3941 0.03307 0.03307 0.03307 3.58% StateData::FillBoundary(geom) 328 0.02744 0.02744 0.02744 2.97% Castro::normalize_species() 62 0.02388 0.02388 0.02388 2.59% amrex::Dot() 1114 0.02259 0.02259 0.02259 2.45% FabArray::norminf() 1061 0.02217 0.02217 0.02217 2.40% Castro::computeTemp() 63 0.01542 0.01542 0.01542 1.67% FabArray::ParallelCopy_nowait() 861 0.0141 0.0141 0.0141 1.53% FabArray::setVal() 1062 0.01403 0.01403 0.01403 1.52% FabArray::Saxpy() 1370 0.01383 0.01383 0.01383 1.50% StateDataPhysBCFunct::() 41 0.01219 0.01219 0.01219 1.32% amrex::Copy() 472 0.01122 0.01122 0.01122 1.22% Castro::enforce_min_density() 62 0.01113 0.01113 0.01113 1.21% MLPoisson::Fapply() 1060 0.01078 0.01078 0.01078 1.17% MLCellLinOp::defineAuxData() 11 0.0106 0.0106 0.0106 1.15% Gravity::fill_multipole_BCs() 11 0.009631 0.009631 0.009631 1.04% FabArray::Xpay() 739 0.008265 0.008265 0.008265 0.90% MLMG::addInterpCorrection() 410 0.007224 0.007224 0.007224 0.78% Amr::checkPoint() 3 0.00655 0.00655 0.00655 0.71% amrex::average_down 410 0.006499 0.006499 0.006499 0.70% Castro::estTimeStep() 21 0.005458 0.005458 0.005458 0.59% Castro::reset_internal_energy(MultiFab) 63 0.00506 0.00506 0.00506 0.55% BndryData::define() 11 0.004201 0.004201 0.004201 0.46% amrex::Add() 82 0.003771 0.003771 0.003771 0.41% Castro::construct_new_gravity_source() 10 0.00361 0.00361 0.00361 0.39% Castro::enforce_speed_limit() 62 0.003586 0.003586 0.003586 0.39% Castro::construct_old_gravity_source() 10 0.002994 0.002994 0.002994 0.32% Castro::reset_internal_energy(Fab) 504 0.001878 0.001878 0.001878 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001837 0.001837 0.001837 0.20% check_for_negative_density() 10 0.001833 0.001833 0.001833 0.20% Amr::writePlotFile() 2 0.001791 0.001791 0.001791 0.19% Castro::initData() 1 0.001743 0.001743 0.001743 0.19% MLCGSolver::bicgstab 82 0.001665 0.001665 0.001665 0.18% MLCellLinOp::setLevelBC() 11 0.001658 0.001658 0.001658 0.18% Gravity::actual_solve_with_mlmg() 11 0.00157 0.00157 0.00157 0.17% FabArray::setDomainBndry() 41 0.001445 0.001445 0.001445 0.16% FabArray::mult() 43 0.001419 0.001419 0.001419 0.15% MLCellLinOp::prepareForSolve() 11 0.001367 0.001367 0.001367 0.15% MultiFab::contains_nan() 20 0.001325 0.001325 0.001325 0.14% MLCellLinOp::smooth() 1640 0.00114 0.00114 0.00114 0.12% MLCellLinOp::compGrad() 11 0.001103 0.001103 0.001103 0.12% MLMG::prepareForSolve() 11 0.0009698 0.0009698 0.0009698 0.11% FabArray::FillBoundary() 3941 0.0007989 0.0007989 0.0007989 0.09% FabArrayBase::getCPC() 1323 0.0007885 0.0007885 0.0007885 0.09% Gravity::get_new_grav_vector() 11 0.0006052 0.0006052 0.0006052 0.07% Gravity::get_old_grav_vector() 10 0.0004994 0.0004994 0.0004994 0.05% AmrLevel::FillPatch() 41 0.0004323 0.0004323 0.0004323 0.05% MLCellLinOp::apply() 1060 0.0004244 0.0004244 0.0004244 0.05% Amr::coarseTimeStep() 10 0.0003631 0.0003631 0.0003631 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003162 0.0003162 0.0003162 0.03% main() 1 0.0003034 0.0003034 0.0003034 0.03% MLCellLinOp::defineBC() 11 0.0002733 0.0002733 0.0002733 0.03% FabArray::ParallelCopy() 861 0.0002402 0.0002402 0.0002402 0.03% FillPatchIterator::Initialize 41 0.0002191 0.0002191 0.0002191 0.02% MLMG::mgVcycle() 82 0.0002002 0.0002002 0.0002002 0.02% Castro::subcycle_advance_ctu() 10 0.0001749 0.0001749 0.0001749 0.02% MLCellLinOp::correctionResidual() 410 0.000174 0.000174 0.000174 0.02% Castro::construct_new_source() 50 0.0001734 0.0001734 0.0001734 0.02% Amr::timeStep() 10 0.0001587 0.0001587 0.0001587 0.02% StateData::checkPoint() 12 0.0001356 0.0001356 0.0001356 0.01% MLMG:computeResOfCorrection() 410 0.00012 0.00012 0.00012 0.01% Gravity::solve_for_phi() 10 0.0001039 0.0001039 0.0001039 0.01% Castro::post_timestep() 10 8.854e-05 8.854e-05 8.854e-05 0.01% MLMG::actualBottomSolve() 82 8.527e-05 8.527e-05 8.527e-05 0.01% Castro::initialize_advance() 10 8.026e-05 8.026e-05 8.026e-05 0.01% MLMG::mgVcycle_down::0 82 8.002e-05 8.002e-05 8.002e-05 0.01% MLMG::mgVcycle_down::1 82 7.835e-05 7.835e-05 7.835e-05 0.01% MLMG::solve() 11 7.726e-05 7.726e-05 7.726e-05 0.01% MLMG::mgVcycle_down::2 82 7.645e-05 7.645e-05 7.645e-05 0.01% MLMG::mgVcycle_down::3 82 7.401e-05 7.401e-05 7.401e-05 0.01% MLMG::mgVcycle_down::4 82 7.283e-05 7.283e-05 7.283e-05 0.01% Castro::clean_state() 62 6.85e-05 6.85e-05 6.85e-05 0.01% AmrLevel::checkPoint() 3 6.528e-05 6.528e-05 6.528e-05 0.01% MLMG::mgVcycle_up::4 82 6.329e-05 6.329e-05 6.329e-05 0.01% Castro::initialize_do_advance() 10 5.726e-05 5.726e-05 5.726e-05 0.01% MLMG::oneIter() 82 5.342e-05 5.342e-05 5.342e-05 0.01% Castro::advance() 10 5.103e-05 5.103e-05 5.103e-05 0.01% Castro::do_advance_ctu() 10 5.006e-05 5.006e-05 5.006e-05 0.01% MLMG::computeResidual() 82 4.983e-05 4.983e-05 4.983e-05 0.01% MLMG::mgVcycle_up::3 82 4.973e-05 4.973e-05 4.973e-05 0.01% MLMG::mgVcycle_up::1 82 4.839e-05 4.839e-05 4.839e-05 0.01% MLMG::mgVcycle_up::2 82 4.763e-05 4.763e-05 4.763e-05 0.01% MLMG::mgVcycle_up::0 82 4.711e-05 4.711e-05 4.711e-05 0.01% Castro::finalize_do_advance() 10 4.657e-05 4.657e-05 4.657e-05 0.01% MLCellLinOp::solutionResidual() 93 4.529e-05 4.529e-05 4.529e-05 0.00% FillPatchIterator::FillFromLevel0() 41 4.512e-05 4.512e-05 4.512e-05 0.00% Amr::defBaseLevel() 1 3.76e-05 3.76e-05 3.76e-05 0.00% FillPatchSingleLevel 41 3.734e-05 3.734e-05 3.734e-05 0.00% MLMG::mgVcycle_bottom 82 3.298e-05 3.298e-05 3.298e-05 0.00% MLPoisson::define() 11 3.234e-05 3.234e-05 3.234e-05 0.00% MLMG::ResNormInf() 93 2.915e-05 2.915e-05 2.915e-05 0.00% Castro::construct_new_gravity() 10 2.419e-05 2.419e-05 2.419e-05 0.00% Castro::do_old_sources() 10 2.381e-05 2.381e-05 2.381e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.249e-05 2.249e-05 2.249e-05 0.00% Amr::FinalizeInit() 1 2.002e-05 2.002e-05 2.002e-05 0.00% Castro::construct_old_source() 50 1.937e-05 1.937e-05 1.937e-05 0.00% Castro::do_new_sources() 10 1.902e-05 1.902e-05 1.902e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.692e-05 1.692e-05 1.692e-05 0.00% Castro::construct_old_gravity() 10 1.451e-05 1.451e-05 1.451e-05 0.00% Castro::apply_source_to_state() 20 1.248e-05 1.248e-05 1.248e-05 0.00% Castro::check_for_nan() 20 1.226e-05 1.226e-05 1.226e-05 0.00% Castro::post_init() 1 1.146e-05 1.146e-05 1.146e-05 0.00% MLMG::computeMLResidual() 11 1.035e-05 1.035e-05 1.035e-05 0.00% Gravity::actual_multilevel_solve() 1 9.41e-06 9.41e-06 9.41e-06 0.00% Castro::computeNewDt() 9 9.327e-06 9.327e-06 9.327e-06 0.00% MLPoisson::prepareForSolve() 11 7.314e-06 7.314e-06 7.314e-06 0.00% Amr::InitializeInit() 1 7.224e-06 7.224e-06 7.224e-06 0.00% Castro::expand_state() 10 5.841e-06 5.841e-06 5.841e-06 0.00% MLMG::getGradSolution() 11 5.725e-06 5.725e-06 5.725e-06 0.00% Amr::init() 1 2.93e-06 2.93e-06 2.93e-06 0.00% Amr::initialInit() 1 1.961e-06 1.961e-06 1.961e-06 0.00% Castro::post_regrid() 1 1.217e-06 1.217e-06 1.217e-06 0.00% Other 4752 0.003285 0.003285 0.003285 0.36% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9225 0.9225 0.9225 100.00% Amr::coarseTimeStep() 10 0.7636 0.7636 0.7636 82.77% Amr::timeStep() 10 0.657 0.657 0.657 71.22% Castro::advance() 10 0.6451 0.6451 0.6451 69.93% Castro::subcycle_advance_ctu() 10 0.6297 0.6297 0.6297 68.27% Castro::do_advance_ctu() 10 0.6296 0.6296 0.6296 68.25% Gravity::solve_phi_with_mlmg() 11 0.3096 0.3096 0.3096 33.56% Gravity::actual_solve_with_mlmg() 11 0.2995 0.2995 0.2995 32.47% Castro::construct_new_gravity() 10 0.281 0.281 0.281 30.46% MLMG::solve() 11 0.2768 0.2768 0.2768 30.01% Castro::construct_ctu_hydro_source() 10 0.2743 0.2743 0.2743 29.73% Gravity::solve_for_phi() 10 0.2646 0.2646 0.2646 28.68% MLMG::oneIter() 82 0.2606 0.2606 0.2606 28.25% MLMG::mgVcycle() 82 0.2568 0.2568 0.2568 27.84% VisMF::Write(FabArray) 11 0.1969 0.1969 0.1969 21.35% Amr::checkPoint() 3 0.1521 0.1521 0.1521 16.48% AmrLevel::checkPoint() 3 0.1455 0.1455 0.1455 15.77% StateData::checkPoint() 12 0.1454 0.1454 0.1454 15.77% Amr::init() 1 0.1316 0.1316 0.1316 14.27% MLCellLinOp::smooth() 1640 0.1282 0.1282 0.1282 13.90% MLCellLinOp::applyBC() 4351 0.1186 0.1186 0.1186 12.86% MLMG::mgVcycle_bottom 82 0.07759 0.07759 0.07759 8.41% MLMG::actualBottomSolve() 82 0.07756 0.07756 0.07756 8.41% MLCGSolver::bicgstab 82 0.07669 0.07669 0.07669 8.31% Castro::clean_state() 62 0.06019 0.06019 0.06019 6.53% Amr::initialInit() 1 0.05507 0.05507 0.05507 5.97% Amr::writePlotFile() 2 0.05398 0.05398 0.05398 5.85% AmrLevel::FillPatch() 41 0.04987 0.04987 0.04987 5.41% Amr::FinalizeInit() 1 0.04961 0.04961 0.04961 5.38% Castro::post_init() 1 0.04811 0.04811 0.04811 5.22% FillPatchIterator::Initialize 41 0.04553 0.04553 0.04553 4.94% Gravity::multilevel_solve_for_new_phi() 1 0.04549 0.04549 0.04549 4.93% Gravity::actual_multilevel_solve() 1 0.04547 0.04547 0.04547 4.93% FillPatchIterator::FillFromLevel0() 41 0.04387 0.04387 0.04387 4.76% FillPatchSingleLevel 41 0.04382 0.04382 0.04382 4.75% StateDataPhysBCFunct::() 41 0.03963 0.03963 0.03963 4.30% MLCellLinOp::apply() 1060 0.03789 0.03789 0.03789 4.11% MLMG::mgVcycle_down::0 82 0.03658 0.03658 0.03658 3.96% MLPoisson::Fsmooth() 3280 0.03564 0.03564 0.03564 3.86% FabArray::FillBoundary() 3941 0.03458 0.03458 0.03458 3.75% FillBoundary_nowait() 3941 0.03378 0.03378 0.03378 3.66% MLMG::mgVcycle_up::0 82 0.02771 0.02771 0.02771 3.00% StateData::FillBoundary(geom) 328 0.02744 0.02744 0.02744 2.97% Castro::normalize_species() 62 0.02388 0.02388 0.02388 2.59% amrex::Dot() 1114 0.02259 0.02259 0.02259 2.45% Castro::computeTemp() 63 0.02236 0.02236 0.02236 2.42% FabArray::norminf() 1061 0.02217 0.02217 0.02217 2.40% MLMG:computeResOfCorrection() 410 0.02136 0.02136 0.02136 2.32% MLCellLinOp::correctionResidual() 410 0.02124 0.02124 0.02124 2.30% Castro::initialize_do_advance() 10 0.02108 0.02108 0.02108 2.29% Castro::do_old_sources() 10 0.01884 0.01884 0.01884 2.04% Gravity::get_new_grav_vector() 11 0.01862 0.01862 0.01862 2.02% MLPoisson::define() 11 0.01785 0.01785 0.01785 1.94% MLMG::mgVcycle_down::1 82 0.01742 0.01742 0.01742 1.89% MLMG::mgVcycle_down::2 82 0.01626 0.01626 0.01626 1.76% Castro::construct_old_gravity() 10 0.01588 0.01588 0.01588 1.72% Gravity::get_old_grav_vector() 10 0.01587 0.01587 0.01587 1.72% MLMG::mgVcycle_down::3 82 0.0158 0.0158 0.0158 1.71% MLMG::mgVcycle_down::4 82 0.01564 0.01564 0.01564 1.70% Castro::do_new_sources() 10 0.01536 0.01536 0.01536 1.67% FabArray::ParallelCopy() 861 0.01516 0.01516 0.01516 1.64% FabArray::ParallelCopy_nowait() 861 0.01492 0.01492 0.01492 1.62% Castro::initialize_advance() 10 0.01462 0.01462 0.01462 1.58% FabArray::setVal() 1062 0.01403 0.01403 0.01403 1.52% FabArray::Saxpy() 1370 0.01383 0.01383 0.01383 1.50% MLCGSolver::ParallelAllReduce 1832 0.0135 0.0135 0.0135 1.46% MLMG::addInterpCorrection() 410 0.0127 0.0127 0.0127 1.38% MLMG::mgVcycle_up::1 82 0.01255 0.01255 0.01255 1.36% Castro::expand_state() 10 0.01255 0.01255 0.01255 1.36% MLMG::mgVcycle_up::4 82 0.01248 0.01248 0.01248 1.35% MLMG::mgVcycle_up::2 82 0.01232 0.01232 0.01232 1.34% MLMG::mgVcycle_up::3 82 0.01226 0.01226 0.01226 1.33% MLCellLinOp::defineAuxData() 11 0.01205 0.01205 0.01205 1.31% amrex::average_down 410 0.01203 0.01203 0.01203 1.30% Castro::post_timestep() 10 0.01175 0.01175 0.01175 1.27% amrex::Copy() 472 0.01122 0.01122 0.01122 1.22% Castro::enforce_min_density() 62 0.01113 0.01113 0.01113 1.21% MLPoisson::Fapply() 1060 0.01078 0.01078 0.01078 1.17% Gravity::fill_multipole_BCs() 11 0.009876 0.009876 0.009876 1.07% FabArray::Xpay() 739 0.008265 0.008265 0.008265 0.90% MLCellLinOp::solutionResidual() 93 0.008128 0.008128 0.008128 0.88% Castro::reset_internal_energy(MultiFab) 63 0.006939 0.006939 0.006939 0.75% MLMG::computeResidual() 82 0.006839 0.006839 0.006839 0.74% MLCellLinOp::defineBC() 11 0.005521 0.005521 0.005521 0.60% Amr::InitializeInit() 1 0.005458 0.005458 0.005458 0.59% Castro::estTimeStep() 21 0.005458 0.005458 0.005458 0.59% Amr::defBaseLevel() 1 0.005451 0.005451 0.005451 0.59% MLMG::prepareForSolve() 11 0.005367 0.005367 0.005367 0.58% BndryData::define() 11 0.005248 0.005248 0.005248 0.57% Castro::initData() 1 0.004734 0.004734 0.004734 0.51% Castro::construct_new_source() 50 0.003783 0.003783 0.003783 0.41% amrex::Add() 82 0.003771 0.003771 0.003771 0.41% Castro::construct_new_gravity_source() 10 0.00361 0.00361 0.00361 0.39% Castro::enforce_speed_limit() 62 0.003586 0.003586 0.003586 0.39% Castro::construct_old_source() 50 0.003013 0.003013 0.003013 0.33% Castro::construct_old_gravity_source() 10 0.002994 0.002994 0.002994 0.32% Castro::computeNewDt() 9 0.002424 0.002424 0.002424 0.26% MLMG::ResNormInf() 93 0.002284 0.002284 0.002284 0.25% Castro::finalize_do_advance() 10 0.002088 0.002088 0.002088 0.23% Castro::apply_source_to_state() 20 0.002056 0.002056 0.002056 0.22% Castro::reset_internal_energy(Fab) 504 0.001878 0.001878 0.001878 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001837 0.001837 0.001837 0.20% check_for_negative_density() 10 0.001833 0.001833 0.001833 0.20% MLCellLinOp::setLevelBC() 11 0.001658 0.001658 0.001658 0.18% MLMG::getGradSolution() 11 0.00164 0.00164 0.00164 0.18% MLCellLinOp::compGrad() 11 0.001634 0.001634 0.001634 0.18% FabArrayBase::getCPC() 1323 0.001473 0.001473 0.001473 0.16% FabArray::setDomainBndry() 41 0.001445 0.001445 0.001445 0.16% FabArray::mult() 43 0.001419 0.001419 0.001419 0.15% MLPoisson::prepareForSolve() 11 0.001375 0.001375 0.001375 0.15% MLCellLinOp::prepareForSolve() 11 0.001367 0.001367 0.001367 0.15% MLMG::computeMLResidual() 11 0.001349 0.001349 0.001349 0.15% Castro::check_for_nan() 20 0.001337 0.001337 0.001337 0.14% MultiFab::contains_nan() 20 0.001325 0.001325 0.001325 0.14% Castro::post_regrid() 1 0.00121 0.00121 0.00121 0.13% Other 4752 0.008141 0.008141 0.008141 0.88% -------------------------------------------------------------------------------------------- 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 6206 KiB 9037 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1055 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1645 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7621 KiB 14 MiB MLMG::prepareForSolve() 660 660 3691 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 209 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 176 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7515 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2212 B 2048 KiB Gravity::solve_for_phi() 80 80 586 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 100 KiB 2048 KiB BndryData::define() 1056 1056 337 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 214 KiB 671 KiB Castro::estTimeStep() 21 21 2879 B 480 KiB VisMF::Write(FabArray) 656 656 3525 B 320 KiB Castro::normalize_species() 62 62 8441 B 320 KiB amrex::average_down 1067 1067 1634 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1184 B 257 KiB amrex::Dot() 1360 1360 3617 B 160 KiB FabArray::norminf() 1143 1143 3731 B 160 KiB check_for_negative_density() 10 10 318 B 160 KiB Castro::initData() 1 1 51 B 160 KiB MultiFab::max() 11 11 58 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3603 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 313 B 9648 B MLCellLinOp::applyBC() 8702 8702 227 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3915 B 6144 B StateData::FillBoundary(geom) 1992 1992 44 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 380 B 1248 B MLCGSolver::bicgstab 410 410 100 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 637 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 39 KiB 8192 KiB VisMF::Write(FabArray) 744 744 477 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3603 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 313 B 9648 B MLCellLinOp::applyBC() 4351 4351 225 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3915 B 6144 B Gravity::get_new_grav_vector() 3 3 2891 B 3072 B StateData::FillBoundary(geom) 1992 1992 45 B 3024 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 307 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 26 B 400 B FabArray::norminf() 1143 1143 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.06-23-g463bdf493cd7) finalized Initializing AMReX (24.06-23-g463bdf493cd7)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-23-g463bdf493cd7) initialized Starting run at 07:55:55 UTC on 2024-06-25. Successfully read inputs file ... Castro git describe: 24.06-24-g9eb8f82be AMReX git describe: 24.06-23-g463bdf493 Microphysics git describe: 24.06-32-ge27c00f6 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.512590864 Restart time = 0.075277045 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.067728553 [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.050681903 [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.075697101 [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.07684605 [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.069516563 [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.029954814 seconds Ending run at 07:55:56 UTC on 2024-06-25. Run time = 0.4468194 Run time without initialization = 0.37092582 Average number of zones advanced per microsecond: 3.534 Average number of zones advanced per microsecond per rank: 3.534 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4469 ... 0.4469 ... 0.4469 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1367 0.1367 0.1367 30.60% VisMF::Read() 3 0.06315 0.06315 0.06315 14.13% MLCellLinOp::applyBC() 1910 0.03794 0.03794 0.03794 8.49% VisMF::Write(FabArray) 1 0.02738 0.02738 0.02738 6.13% MLPoisson::Fsmooth() 1440 0.01578 0.01578 0.01578 3.53% FillBoundary_nowait() 1730 0.01431 0.01431 0.01431 3.20% StateData::FillBoundary(geom) 160 0.01322 0.01322 0.01322 2.96% Castro::normalize_species() 30 0.01224 0.01224 0.01224 2.74% amrex::Dot() 484 0.009792 0.009792 0.009792 2.19% FabArray::norminf() 465 0.009195 0.009195 0.009195 2.06% Castro::computeTemp() 30 0.007578 0.007578 0.007578 1.70% FabArray::setVal() 501 0.006932 0.006932 0.006932 1.55% FabArray::ParallelCopy_nowait() 380 0.006388 0.006388 0.006388 1.43% FabArray::Saxpy() 597 0.006161 0.006161 0.006161 1.38% MLCellLinOp::defineAuxData() 6 0.00585 0.00585 0.00585 1.31% Castro::enforce_min_density() 30 0.00573 0.00573 0.00573 1.28% amrex::Copy() 221 0.00565 0.00565 0.00565 1.26% Gravity::fill_multipole_BCs() 6 0.005634 0.005634 0.005634 1.26% Amr::restart() 1 0.005399 0.005399 0.005399 1.21% StateDataPhysBCFunct::() 20 0.005253 0.005253 0.005253 1.18% MLPoisson::Fapply() 464 0.004811 0.004811 0.004811 1.08% FabArray::Xpay() 325 0.003689 0.003689 0.003689 0.83% MLMG::addInterpCorrection() 180 0.003282 0.003282 0.003282 0.73% amrex::average_down 180 0.002928 0.002928 0.002928 0.66% Castro::estTimeStep() 10 0.00281 0.00281 0.00281 0.63% Amr::writePlotFile() 1 0.002392 0.002392 0.002392 0.54% BndryData::define() 6 0.00229 0.00229 0.00229 0.51% Castro::reset_internal_energy(MultiFab) 30 0.002149 0.002149 0.002149 0.48% Castro::construct_new_gravity_source() 5 0.001851 0.001851 0.001851 0.41% amrex::Add() 36 0.001644 0.001644 0.001644 0.37% Castro::construct_old_gravity_source() 5 0.001539 0.001539 0.001539 0.34% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001025 0.001025 0.001025 0.23% check_for_negative_density() 5 0.0009408 0.0009408 0.0009408 0.21% MLCellLinOp::setLevelBC() 6 0.0009235 0.0009235 0.0009235 0.21% Castro::reset_internal_energy(Fab) 240 0.0008583 0.0008583 0.0008583 0.19% Gravity::actual_solve_with_mlmg() 6 0.0008461 0.0008461 0.0008461 0.19% MLCellLinOp::prepareForSolve() 6 0.0007865 0.0007865 0.0007865 0.18% MLCGSolver::bicgstab 36 0.0007283 0.0007283 0.0007283 0.16% FabArray::setDomainBndry() 20 0.0007216 0.0007216 0.0007216 0.16% FabArray::mult() 22 0.0007157 0.0007157 0.0007157 0.16% MLCellLinOp::compGrad() 6 0.0006328 0.0006328 0.0006328 0.14% MLMG::prepareForSolve() 6 0.0005753 0.0005753 0.0005753 0.13% MLCellLinOp::smooth() 720 0.0005252 0.0005252 0.0005252 0.12% FabArrayBase::getCPC() 632 0.0003972 0.0003972 0.0003972 0.09% Gravity::get_old_grav_vector() 5 0.0003794 0.0003794 0.0003794 0.08% Gravity::get_new_grav_vector() 5 0.0003639 0.0003639 0.0003639 0.08% FabArray::FillBoundary() 1730 0.0003464 0.0003464 0.0003464 0.08% main() 1 0.0002811 0.0002811 0.0002811 0.06% Amr::coarseTimeStep() 5 0.0002538 0.0002538 0.0002538 0.06% AmrLevel::FillPatch() 20 0.0002123 0.0002123 0.0002123 0.05% MLCellLinOp::apply() 464 0.000188 0.000188 0.000188 0.04% MLCellLinOp::defineBC() 6 0.0001578 0.0001578 0.0001578 0.04% MLCGSolver::ParallelAllReduce 798 0.0001339 0.0001339 0.0001339 0.03% Castro::subcycle_advance_ctu() 5 0.0001333 0.0001333 0.0001333 0.03% FabArray::ParallelCopy() 380 0.0001056 0.0001056 0.0001056 0.02% FillPatchIterator::Initialize 20 0.0001039 0.0001039 0.0001039 0.02% MLMG::mgVcycle() 36 9.814e-05 9.814e-05 9.814e-05 0.02% Castro::advance() 5 9.507e-05 9.507e-05 9.507e-05 0.02% Castro::finalize_do_advance() 5 9.21e-05 9.21e-05 9.21e-05 0.02% Amr::timeStep() 5 8.07e-05 8.07e-05 8.07e-05 0.02% AmrLevel::restart() 1 7.481e-05 7.481e-05 7.481e-05 0.02% MLCellLinOp::correctionResidual() 180 7.453e-05 7.453e-05 7.453e-05 0.02% Castro::construct_new_source() 25 7.393e-05 7.393e-05 7.393e-05 0.02% StateData::restartDoit() 4 6.946e-05 6.946e-05 6.946e-05 0.02% Castro::initialize_do_advance() 5 6.753e-05 6.753e-05 6.753e-05 0.02% Gravity::update_max_rhs() 6 6.258e-05 6.258e-05 6.258e-05 0.01% MLMG:computeResOfCorrection() 180 5.444e-05 5.444e-05 5.444e-05 0.01% Gravity::solve_for_phi() 5 4.929e-05 4.929e-05 4.929e-05 0.01% Castro::do_advance_ctu() 5 4.629e-05 4.629e-05 4.629e-05 0.01% MLMG::actualBottomSolve() 36 3.813e-05 3.813e-05 3.813e-05 0.01% MLMG::mgVcycle_down::0 36 3.71e-05 3.71e-05 3.71e-05 0.01% MLMG::mgVcycle_down::1 36 3.643e-05 3.643e-05 3.643e-05 0.01% MLMG::solve() 6 3.638e-05 3.638e-05 3.638e-05 0.01% Castro::initialize_advance() 5 3.496e-05 3.496e-05 3.496e-05 0.01% MLMG::mgVcycle_down::2 36 3.428e-05 3.428e-05 3.428e-05 0.01% MLMG::mgVcycle_down::4 36 3.329e-05 3.329e-05 3.329e-05 0.01% Castro::clean_state() 30 3.302e-05 3.302e-05 3.302e-05 0.01% MLMG::mgVcycle_down::3 36 3.204e-05 3.204e-05 3.204e-05 0.01% Castro::post_restart() 1 3.023e-05 3.023e-05 3.023e-05 0.01% Castro::construct_old_source() 25 2.842e-05 2.842e-05 2.842e-05 0.01% MLMG::mgVcycle_up::4 36 2.783e-05 2.783e-05 2.783e-05 0.01% MLPoisson::define() 6 2.595e-05 2.595e-05 2.595e-05 0.01% MLMG::oneIter() 36 2.459e-05 2.459e-05 2.459e-05 0.01% MLMG::mgVcycle_up::3 36 2.423e-05 2.423e-05 2.423e-05 0.01% MLMG::mgVcycle_up::0 36 2.226e-05 2.226e-05 2.226e-05 0.00% MLMG::mgVcycle_up::2 36 2.218e-05 2.218e-05 2.218e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.192e-05 2.192e-05 2.192e-05 0.00% MLMG::mgVcycle_up::1 36 2.153e-05 2.153e-05 2.153e-05 0.00% MLCellLinOp::solutionResidual() 42 2.138e-05 2.138e-05 2.138e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.634e-05 1.634e-05 1.634e-05 0.00% FillPatchSingleLevel 20 1.632e-05 1.632e-05 1.632e-05 0.00% MLMG::ResNormInf() 42 1.61e-05 1.61e-05 1.61e-05 0.00% MLMG::mgVcycle_bottom 36 1.533e-05 1.533e-05 1.533e-05 0.00% MLMG::computeResidual() 36 1.437e-05 1.437e-05 1.437e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.356e-05 1.356e-05 1.356e-05 0.00% Castro::construct_new_gravity() 5 1.147e-05 1.147e-05 1.147e-05 0.00% Castro::do_old_sources() 5 1.092e-05 1.092e-05 1.092e-05 0.00% Castro::do_new_sources() 5 1.04e-05 1.04e-05 1.04e-05 0.00% Gravity::actual_multilevel_solve() 1 8.273e-06 8.273e-06 8.273e-06 0.00% Castro::apply_source_to_state() 10 5.876e-06 5.876e-06 5.876e-06 0.00% Castro::check_for_nan() 10 5.872e-06 5.872e-06 5.872e-06 0.00% Castro::construct_old_gravity() 5 5.848e-06 5.848e-06 5.848e-06 0.00% Castro::post_timestep() 5 5.717e-06 5.717e-06 5.717e-06 0.00% Castro::computeNewDt() 5 4.257e-06 4.257e-06 4.257e-06 0.00% MLMG::computeMLResidual() 6 4.095e-06 4.095e-06 4.095e-06 0.00% MLPoisson::prepareForSolve() 6 3.915e-06 3.915e-06 3.915e-06 0.00% MLMG::getGradSolution() 6 2.984e-06 2.984e-06 2.984e-06 0.00% Castro::expand_state() 5 2.869e-06 2.869e-06 2.869e-06 0.00% Amr::init() 1 9.61e-07 9.61e-07 9.61e-07 0.00% Other 2190 0.003093 0.003093 0.003093 0.69% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4468 0.4468 0.4468 100.00% Amr::coarseTimeStep() 5 0.3407 0.3407 0.3407 76.25% Amr::timeStep() 5 0.3388 0.3388 0.3388 75.81% Castro::advance() 5 0.3329 0.3329 0.3329 74.51% Castro::subcycle_advance_ctu() 5 0.3258 0.3258 0.3258 72.92% Castro::do_advance_ctu() 5 0.3257 0.3257 0.3257 72.89% Castro::construct_new_gravity() 5 0.1442 0.1442 0.1442 32.27% Castro::construct_ctu_hydro_source() 5 0.1424 0.1424 0.1424 31.87% Gravity::solve_phi_with_mlmg() 6 0.1414 0.1414 0.1414 31.64% Gravity::solve_for_phi() 5 0.1358 0.1358 0.1358 30.40% Gravity::actual_solve_with_mlmg() 6 0.1355 0.1355 0.1355 30.32% MLMG::solve() 6 0.1229 0.1229 0.1229 27.50% MLMG::oneIter() 36 0.1147 0.1147 0.1147 25.67% MLMG::mgVcycle() 36 0.1131 0.1131 0.1131 25.30% Amr::init() 1 0.07532 0.07532 0.07532 16.86% Amr::restart() 1 0.07532 0.07532 0.07532 16.86% AmrLevel::restart() 1 0.06352 0.06352 0.06352 14.22% StateData::restartDoit() 4 0.06345 0.06345 0.06345 14.20% VisMF::Read() 3 0.06315 0.06315 0.06315 14.13% MLCellLinOp::smooth() 720 0.05682 0.05682 0.05682 12.71% MLCellLinOp::applyBC() 1910 0.05293 0.05293 0.05293 11.85% MLMG::mgVcycle_bottom 36 0.03344 0.03344 0.03344 7.48% MLMG::actualBottomSolve() 36 0.03343 0.03343 0.03343 7.48% MLCGSolver::bicgstab 36 0.03305 0.03305 0.03305 7.40% Amr::writePlotFile() 1 0.03004 0.03004 0.03004 6.72% Castro::clean_state() 30 0.02915 0.02915 0.02915 6.52% VisMF::Write(FabArray) 1 0.02738 0.02738 0.02738 6.13% AmrLevel::FillPatch() 20 0.02355 0.02355 0.02355 5.27% FillPatchIterator::Initialize 20 0.02141 0.02141 0.02141 4.79% FillPatchIterator::FillFromLevel0() 20 0.02058 0.02058 0.02058 4.61% FillPatchSingleLevel 20 0.02056 0.02056 0.02056 4.60% StateDataPhysBCFunct::() 20 0.01848 0.01848 0.01848 4.13% MLCellLinOp::apply() 464 0.01711 0.01711 0.01711 3.83% MLMG::mgVcycle_down::0 36 0.01626 0.01626 0.01626 3.64% MLPoisson::Fsmooth() 1440 0.01578 0.01578 0.01578 3.53% FabArray::FillBoundary() 1730 0.01499 0.01499 0.01499 3.36% FillBoundary_nowait() 1730 0.01465 0.01465 0.01465 3.28% StateData::FillBoundary(geom) 160 0.01322 0.01322 0.01322 2.96% Castro::normalize_species() 30 0.01224 0.01224 0.01224 2.74% MLMG::mgVcycle_up::0 36 0.01216 0.01216 0.01216 2.72% Castro::initialize_do_advance() 5 0.01129 0.01129 0.01129 2.53% Castro::computeTemp() 30 0.01059 0.01059 0.01059 2.37% Castro::do_old_sources() 5 0.01017 0.01017 0.01017 2.28% MLPoisson::define() 6 0.009921 0.009921 0.009921 2.22% amrex::Dot() 484 0.009792 0.009792 0.009792 2.19% MLMG:computeResOfCorrection() 180 0.009541 0.009541 0.009541 2.14% MLCellLinOp::correctionResidual() 180 0.009486 0.009486 0.009486 2.12% FabArray::norminf() 465 0.009195 0.009195 0.009195 2.06% Gravity::get_new_grav_vector() 5 0.008259 0.008259 0.008259 1.85% Castro::do_new_sources() 5 0.00795 0.00795 0.00795 1.78% Castro::construct_old_gravity() 5 0.007912 0.007912 0.007912 1.77% Gravity::get_old_grav_vector() 5 0.007906 0.007906 0.007906 1.77% MLMG::mgVcycle_down::1 36 0.007859 0.007859 0.007859 1.76% MLMG::mgVcycle_down::2 36 0.007236 0.007236 0.007236 1.62% MLMG::mgVcycle_down::3 36 0.007011 0.007011 0.007011 1.57% MLMG::mgVcycle_down::4 36 0.006937 0.006937 0.006937 1.55% FabArray::setVal() 501 0.006932 0.006932 0.006932 1.55% FabArray::ParallelCopy() 380 0.006892 0.006892 0.006892 1.54% FabArray::ParallelCopy_nowait() 380 0.006787 0.006787 0.006787 1.52% Castro::initialize_advance() 5 0.006704 0.006704 0.006704 1.50% MLCellLinOp::defineAuxData() 6 0.006691 0.006691 0.006691 1.50% Castro::post_restart() 1 0.006197 0.006197 0.006197 1.39% FabArray::Saxpy() 597 0.006161 0.006161 0.006161 1.38% Castro::expand_state() 5 0.006151 0.006151 0.006151 1.38% MLCGSolver::ParallelAllReduce 798 0.0059 0.0059 0.0059 1.32% Gravity::multilevel_solve_for_new_phi() 1 0.005811 0.005811 0.005811 1.30% Gravity::actual_multilevel_solve() 1 0.005795 0.005795 0.005795 1.30% Gravity::fill_multipole_BCs() 6 0.005766 0.005766 0.005766 1.29% Castro::post_timestep() 5 0.005741 0.005741 0.005741 1.28% Castro::enforce_min_density() 30 0.00573 0.00573 0.00573 1.28% MLMG::addInterpCorrection() 180 0.005691 0.005691 0.005691 1.27% amrex::Copy() 221 0.00565 0.00565 0.00565 1.26% MLMG::mgVcycle_up::1 36 0.005627 0.005627 0.005627 1.26% MLMG::mgVcycle_up::4 36 0.005588 0.005588 0.005588 1.25% MLMG::mgVcycle_up::2 36 0.005479 0.005479 0.005479 1.23% MLMG::mgVcycle_up::3 36 0.005359 0.005359 0.005359 1.20% amrex::average_down 180 0.005346 0.005346 0.005346 1.20% MLPoisson::Fapply() 464 0.004811 0.004811 0.004811 1.08% MLCellLinOp::solutionResidual() 42 0.003875 0.003875 0.003875 0.87% FabArray::Xpay() 325 0.003689 0.003689 0.003689 0.83% MLCellLinOp::defineBC() 6 0.003061 0.003061 0.003061 0.68% MLMG::computeResidual() 36 0.003023 0.003023 0.003023 0.68% MLMG::prepareForSolve() 6 0.003015 0.003015 0.003015 0.67% Castro::reset_internal_energy(MultiFab) 30 0.003007 0.003007 0.003007 0.67% BndryData::define() 6 0.002903 0.002903 0.002903 0.65% Castro::estTimeStep() 10 0.00281 0.00281 0.00281 0.63% Castro::construct_new_source() 25 0.001925 0.001925 0.001925 0.43% Castro::construct_new_gravity_source() 5 0.001851 0.001851 0.001851 0.41% Castro::computeNewDt() 5 0.0017 0.0017 0.0017 0.38% amrex::Add() 36 0.001644 0.001644 0.001644 0.37% Castro::construct_old_source() 25 0.001567 0.001567 0.001567 0.35% Castro::construct_old_gravity_source() 5 0.001539 0.001539 0.001539 0.34% Castro::finalize_do_advance() 5 0.001207 0.001207 0.001207 0.27% MLMG::ResNormInf() 42 0.001065 0.001065 0.001065 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001025 0.001025 0.001025 0.23% Castro::apply_source_to_state() 10 0.0009761 0.0009761 0.0009761 0.22% MLMG::getGradSolution() 6 0.0009451 0.0009451 0.0009451 0.21% MLCellLinOp::compGrad() 6 0.0009421 0.0009421 0.0009421 0.21% check_for_negative_density() 5 0.0009408 0.0009408 0.0009408 0.21% MLCellLinOp::setLevelBC() 6 0.0009235 0.0009235 0.0009235 0.21% MLMG::computeMLResidual() 6 0.0008695 0.0008695 0.0008695 0.19% Castro::reset_internal_energy(Fab) 240 0.0008583 0.0008583 0.0008583 0.19% FabArrayBase::getCPC() 632 0.0008273 0.0008273 0.0008273 0.19% MLPoisson::prepareForSolve() 6 0.0007905 0.0007905 0.0007905 0.18% MLCellLinOp::prepareForSolve() 6 0.0007865 0.0007865 0.0007865 0.18% Gravity::update_max_rhs() 6 0.0007479 0.0007479 0.0007479 0.17% FabArray::setDomainBndry() 20 0.0007216 0.0007216 0.0007216 0.16% FabArray::mult() 22 0.0007157 0.0007157 0.0007157 0.16% Castro::check_for_nan() 10 0.0006845 0.0006845 0.0006845 0.15% Other 2190 0.004392 0.004392 0.004392 0.98% -------------------------------------------------------------------------------------------- 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 1047 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1807 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 6399 KiB 14 MiB MLMG::prepareForSolve() 361 361 3376 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 183 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 189 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6386 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3340 B 2048 KiB Gravity::solve_for_phi() 40 40 621 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 311 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 199 KiB 671 KiB Castro::estTimeStep() 10 10 2981 B 480 KiB VisMF::Write(FabArray) 112 112 1316 B 320 KiB Castro::normalize_species() 30 30 8930 B 320 KiB amrex::average_down 469 469 1417 B 257 KiB MLMG::addInterpCorrection() 468 468 1081 B 257 KiB amrex::Dot() 592 592 3235 B 160 KiB FabArray::norminf() 501 501 3183 B 160 KiB check_for_negative_density() 5 5 338 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 3272 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 278 B 9648 B MLCellLinOp::applyBC() 3820 3820 211 B 9344 B amrex::Copy() 56 56 5880 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 40 B 2464 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCellLinOp::defineBC() 36 36 349 B 1248 B MLCGSolver::bicgstab 180 180 89 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1359 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 175 KiB 3584 KiB VisMF::Read() 24 24 213 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3272 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 277 B 9648 B MLCellLinOp::applyBC() 1910 1910 210 B 9328 B amrex::Copy() 56 56 5880 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2510 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B StateData::FillBoundary(geom) 960 960 41 B 2464 B MLMG::prepareForSolve() 7 7 800 B 1648 B amrex::average_down 37 37 465 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.06-23-g463bdf493cd7) finalized