Initializing AMReX (24.04-24-gb752027c1aeb)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-24-gb752027c1aeb) initialized Starting run at 07:48:18 UTC on 2024-04-22. Successfully read inputs file ... Castro git describe: 24.04-17-g4ef6d25ac AMReX git describe: 24.04-24-gb752027c1 Microphysics git describe: 24.04-9-g4ad225b7 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.045255267 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.0250125 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.067260217 [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.051833172 [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.076800706 [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.080357647 [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.073869326 [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.044763146 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.062569352 [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.07795037 [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.073794448 [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.066066259 [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.067877383 [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.043415642 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025064097 seconds Ending run at 07:48:19 UTC on 2024-04-22. Run time = 0.93751712 Run time without initialization = 0.812342866 Average number of zones advanced per microsecond: 3.227 Average number of zones advanced per microsecond per rank: 3.227 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9376 ... 0.9376 ... 0.9376 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.3085 0.3085 0.3085 32.91% VisMF::Write(FabArray) 11 0.1749 0.1749 0.1749 18.66% MLCellLinOp::applyBC() 4351 0.08122 0.08122 0.08122 8.66% MLPoisson::Fsmooth() 3280 0.03383 0.03383 0.03383 3.61% FillBoundary_nowait() 3941 0.03094 0.03094 0.03094 3.30% StateData::FillBoundary(geom) 328 0.02726 0.02726 0.02726 2.91% amrex::Dot() 1114 0.02181 0.02181 0.02181 2.33% Castro::normalize_species() 62 0.02163 0.02163 0.02163 2.31% FabArray::setVal() 1062 0.02025 0.02025 0.02025 2.16% FabArray::norminf() 1061 0.02019 0.02019 0.02019 2.15% Castro::computeTemp() 63 0.01478 0.01478 0.01478 1.58% FabArray::ParallelCopy_nowait() 861 0.01377 0.01377 0.01377 1.47% FabArray::Saxpy() 1370 0.01333 0.01333 0.01333 1.42% Castro::enforce_min_density() 62 0.01255 0.01255 0.01255 1.34% StateDataPhysBCFunct::() 41 0.01151 0.01151 0.01151 1.23% amrex::Copy() 472 0.01098 0.01098 0.01098 1.17% MLPoisson::Fapply() 1060 0.01045 0.01045 0.01045 1.11% MLCellLinOp::defineAuxData() 11 0.01037 0.01037 0.01037 1.11% Gravity::fill_multipole_BCs() 11 0.009547 0.009547 0.009547 1.02% FabArray::Xpay() 739 0.007983 0.007983 0.007983 0.85% MLMG::addInterpCorrection() 410 0.007019 0.007019 0.007019 0.75% amrex::average_down 410 0.006279 0.006279 0.006279 0.67% Amr::checkPoint() 3 0.005982 0.005982 0.005982 0.64% Castro::reset_internal_energy(MultiFab) 63 0.005943 0.005943 0.005943 0.63% Castro::estTimeStep() 21 0.005728 0.005728 0.005728 0.61% BndryData::define() 11 0.004094 0.004094 0.004094 0.44% amrex::Add() 82 0.003617 0.003617 0.003617 0.39% Castro::construct_new_gravity_source() 10 0.003317 0.003317 0.003317 0.35% Castro::enforce_speed_limit() 62 0.003144 0.003144 0.003144 0.34% Castro::construct_old_gravity_source() 10 0.002836 0.002836 0.002836 0.30% Amr::writePlotFile() 2 0.002194 0.002194 0.002194 0.23% Castro::reset_internal_energy(Fab) 504 0.001788 0.001788 0.001788 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001786 0.001786 0.001786 0.19% check_for_negative_density() 10 0.001783 0.001783 0.001783 0.19% MLCGSolver::bicgstab 82 0.001618 0.001618 0.001618 0.17% MLCellLinOp::setLevelBC() 11 0.001616 0.001616 0.001616 0.17% Gravity::actual_solve_with_mlmg() 11 0.001549 0.001549 0.001549 0.17% Castro::initData() 1 0.001488 0.001488 0.001488 0.16% FabArray::setDomainBndry() 41 0.001407 0.001407 0.001407 0.15% FabArray::mult() 43 0.001389 0.001389 0.001389 0.15% MLCellLinOp::prepareForSolve() 11 0.001319 0.001319 0.001319 0.14% MultiFab::contains_nan() 20 0.00127 0.00127 0.00127 0.14% MLCellLinOp::smooth() 1640 0.001113 0.001113 0.001113 0.12% MLCellLinOp::compGrad() 11 0.001112 0.001112 0.001112 0.12% MLMG::prepareForSolve() 11 0.0009636 0.0009636 0.0009636 0.10% FabArrayBase::getCPC() 1323 0.0007769 0.0007769 0.0007769 0.08% FabArray::FillBoundary() 3941 0.0007556 0.0007556 0.0007556 0.08% Gravity::get_new_grav_vector() 11 0.0006124 0.0006124 0.0006124 0.07% Gravity::get_old_grav_vector() 10 0.000492 0.000492 0.000492 0.05% MLCellLinOp::apply() 1060 0.0004318 0.0004318 0.0004318 0.05% AmrLevel::FillPatch() 41 0.0004121 0.0004121 0.0004121 0.04% Amr::coarseTimeStep() 10 0.0003847 0.0003847 0.0003847 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003138 0.0003138 0.0003138 0.03% main() 1 0.0002813 0.0002813 0.0002813 0.03% MLCellLinOp::defineBC() 11 0.0002574 0.0002574 0.0002574 0.03% FabArray::ParallelCopy() 861 0.0002468 0.0002468 0.0002468 0.03% FillPatchIterator::Initialize 41 0.0002157 0.0002157 0.0002157 0.02% MLMG::mgVcycle() 82 0.0001886 0.0001886 0.0001886 0.02% MLCellLinOp::correctionResidual() 410 0.0001755 0.0001755 0.0001755 0.02% Castro::subcycle_advance_ctu() 10 0.0001748 0.0001748 0.0001748 0.02% Amr::timeStep() 10 0.0001651 0.0001651 0.0001651 0.02% MLMG:computeResOfCorrection() 410 0.0001134 0.0001134 0.0001134 0.01% StateData::checkPoint() 12 0.0001112 0.0001112 0.0001112 0.01% Gravity::solve_for_phi() 10 0.0001065 0.0001065 0.0001065 0.01% MLMG::mgVcycle_down::0 82 9.01e-05 9.01e-05 9.01e-05 0.01% MLMG::actualBottomSolve() 82 8.188e-05 8.188e-05 8.188e-05 0.01% Castro::initialize_advance() 10 8.105e-05 8.105e-05 8.105e-05 0.01% Castro::clean_state() 62 7.727e-05 7.727e-05 7.727e-05 0.01% MLMG::solve() 11 7.395e-05 7.395e-05 7.395e-05 0.01% Castro::advance() 10 7.057e-05 7.057e-05 7.057e-05 0.01% MLMG::mgVcycle_down::1 82 7e-05 7e-05 7e-05 0.01% MLMG::mgVcycle_down::2 82 6.861e-05 6.861e-05 6.861e-05 0.01% Castro::post_timestep() 10 6.591e-05 6.591e-05 6.591e-05 0.01% MLMG::mgVcycle_down::4 82 6.535e-05 6.535e-05 6.535e-05 0.01% MLMG::mgVcycle_down::3 82 6.247e-05 6.247e-05 6.247e-05 0.01% AmrLevel::checkPoint() 3 6.027e-05 6.027e-05 6.027e-05 0.01% Castro::initialize_do_advance() 10 5.781e-05 5.781e-05 5.781e-05 0.01% MLMG::oneIter() 82 5.596e-05 5.596e-05 5.596e-05 0.01% Castro::construct_new_source() 50 5.262e-05 5.262e-05 5.262e-05 0.01% MLMG::mgVcycle_up::4 82 4.952e-05 4.952e-05 4.952e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.821e-05 4.821e-05 4.821e-05 0.01% Castro::do_advance_ctu() 10 4.786e-05 4.786e-05 4.786e-05 0.01% MLMG::mgVcycle_up::3 82 4.725e-05 4.725e-05 4.725e-05 0.01% Castro::finalize_do_advance() 10 4.709e-05 4.709e-05 4.709e-05 0.01% MLMG::mgVcycle_up::0 82 4.697e-05 4.697e-05 4.697e-05 0.01% MLMG::mgVcycle_up::2 82 4.498e-05 4.498e-05 4.498e-05 0.00% MLCellLinOp::solutionResidual() 93 4.338e-05 4.338e-05 4.338e-05 0.00% MLMG::mgVcycle_up::1 82 4.232e-05 4.232e-05 4.232e-05 0.00% FillPatchSingleLevel 41 3.705e-05 3.705e-05 3.705e-05 0.00% MLMG::computeResidual() 82 3.693e-05 3.693e-05 3.693e-05 0.00% MLMG::ResNormInf() 93 3.542e-05 3.542e-05 3.542e-05 0.00% Amr::defBaseLevel() 1 3.027e-05 3.027e-05 3.027e-05 0.00% MLMG::mgVcycle_bottom 82 3.013e-05 3.013e-05 3.013e-05 0.00% Castro::construct_new_gravity() 10 2.922e-05 2.922e-05 2.922e-05 0.00% MLPoisson::define() 11 2.626e-05 2.626e-05 2.626e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.237e-05 2.237e-05 2.237e-05 0.00% Castro::do_new_sources() 10 2.08e-05 2.08e-05 2.08e-05 0.00% Castro::do_old_sources() 10 2.071e-05 2.071e-05 2.071e-05 0.00% Amr::FinalizeInit() 1 1.977e-05 1.977e-05 1.977e-05 0.00% Castro::construct_old_source() 50 1.859e-05 1.859e-05 1.859e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.746e-05 1.746e-05 1.746e-05 0.00% Castro::apply_source_to_state() 20 1.567e-05 1.567e-05 1.567e-05 0.00% Gravity::actual_multilevel_solve() 1 1.428e-05 1.428e-05 1.428e-05 0.00% Castro::construct_old_gravity() 10 1.081e-05 1.081e-05 1.081e-05 0.00% Castro::check_for_nan() 20 1.046e-05 1.046e-05 1.046e-05 0.00% MLMG::computeMLResidual() 11 1.03e-05 1.03e-05 1.03e-05 0.00% MLPoisson::prepareForSolve() 11 6.529e-06 6.529e-06 6.529e-06 0.00% MLMG::getGradSolution() 11 6.176e-06 6.176e-06 6.176e-06 0.00% Castro::computeNewDt() 9 6.03e-06 6.03e-06 6.03e-06 0.00% Castro::expand_state() 10 5.978e-06 5.978e-06 5.978e-06 0.00% Amr::InitializeInit() 1 5.601e-06 5.601e-06 5.601e-06 0.00% Castro::post_init() 1 3.865e-06 3.865e-06 3.865e-06 0.00% Amr::init() 1 2.976e-06 2.976e-06 2.976e-06 0.00% Amr::initialInit() 1 1.16e-06 1.16e-06 1.16e-06 0.00% Other 4753 0.003245 0.003245 0.003245 0.35% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9375 0.9375 0.9375 100.00% Amr::coarseTimeStep() 10 0.787 0.787 0.787 83.94% Amr::timeStep() 10 0.695 0.695 0.695 74.13% Castro::advance() 10 0.6833 0.6833 0.6833 72.88% Castro::subcycle_advance_ctu() 10 0.6689 0.6689 0.6689 71.34% Castro::do_advance_ctu() 10 0.6687 0.6687 0.6687 71.32% Castro::construct_ctu_hydro_source() 10 0.3195 0.3195 0.3195 34.08% Gravity::solve_phi_with_mlmg() 11 0.3036 0.3036 0.3036 32.38% Gravity::actual_solve_with_mlmg() 11 0.2936 0.2936 0.2936 31.31% Castro::construct_new_gravity() 10 0.2751 0.2751 0.2751 29.34% MLMG::solve() 11 0.2714 0.2714 0.2714 28.95% Gravity::solve_for_phi() 10 0.2588 0.2588 0.2588 27.60% MLMG::oneIter() 82 0.2559 0.2559 0.2559 27.29% MLMG::mgVcycle() 82 0.2522 0.2522 0.2522 26.90% VisMF::Write(FabArray) 11 0.1749 0.1749 0.1749 18.66% Amr::checkPoint() 3 0.1336 0.1336 0.1336 14.25% AmrLevel::checkPoint() 3 0.1276 0.1276 0.1276 13.61% StateData::checkPoint() 12 0.1275 0.1275 0.1275 13.60% Amr::init() 1 0.1245 0.1245 0.1245 13.28% MLCellLinOp::smooth() 1640 0.1224 0.1224 0.1224 13.05% MLCellLinOp::applyBC() 4351 0.1136 0.1136 0.1136 12.12% MLMG::mgVcycle_bottom 82 0.07389 0.07389 0.07389 7.88% MLMG::actualBottomSolve() 82 0.07386 0.07386 0.07386 7.88% MLCGSolver::bicgstab 82 0.07304 0.07304 0.07304 7.79% Castro::clean_state() 62 0.05898 0.05898 0.05898 6.29% Amr::initialInit() 1 0.05407 0.05407 0.05407 5.77% Amr::writePlotFile() 2 0.05022 0.05022 0.05022 5.36% Amr::FinalizeInit() 1 0.0491 0.0491 0.0491 5.24% AmrLevel::FillPatch() 41 0.0489 0.0489 0.0489 5.22% Castro::post_init() 1 0.04753 0.04753 0.04753 5.07% Gravity::multilevel_solve_for_new_phi() 1 0.04523 0.04523 0.04523 4.82% Gravity::actual_multilevel_solve() 1 0.04521 0.04521 0.04521 4.82% FillPatchIterator::Initialize 41 0.0446 0.0446 0.0446 4.76% FillPatchIterator::FillFromLevel0() 41 0.04297 0.04297 0.04297 4.58% FillPatchSingleLevel 41 0.04292 0.04292 0.04292 4.58% MLMG::mgVcycle_down::0 82 0.04176 0.04176 0.04176 4.45% StateDataPhysBCFunct::() 41 0.03877 0.03877 0.03877 4.13% MLCellLinOp::apply() 1060 0.03653 0.03653 0.03653 3.90% MLPoisson::Fsmooth() 3280 0.03383 0.03383 0.03383 3.61% FabArray::FillBoundary() 3941 0.03237 0.03237 0.03237 3.45% FillBoundary_nowait() 3941 0.03162 0.03162 0.03162 3.37% StateData::FillBoundary(geom) 328 0.02726 0.02726 0.02726 2.91% MLMG::mgVcycle_up::0 82 0.02634 0.02634 0.02634 2.81% Castro::computeTemp() 63 0.02251 0.02251 0.02251 2.40% Castro::initialize_do_advance() 10 0.02229 0.02229 0.02229 2.38% amrex::Dot() 1114 0.02181 0.02181 0.02181 2.33% Castro::normalize_species() 62 0.02163 0.02163 0.02163 2.31% MLMG:computeResOfCorrection() 410 0.02058 0.02058 0.02058 2.19% MLCellLinOp::correctionResidual() 410 0.02046 0.02046 0.02046 2.18% FabArray::setVal() 1062 0.02025 0.02025 0.02025 2.16% FabArray::norminf() 1061 0.02019 0.02019 0.02019 2.15% Castro::do_old_sources() 10 0.01973 0.01973 0.01973 2.10% Gravity::get_new_grav_vector() 11 0.01817 0.01817 0.01817 1.94% MLPoisson::define() 11 0.0174 0.0174 0.0174 1.86% MLMG::mgVcycle_down::1 82 0.01673 0.01673 0.01673 1.78% Castro::construct_old_gravity() 10 0.0158 0.0158 0.0158 1.69% Gravity::get_old_grav_vector() 10 0.01579 0.01579 0.01579 1.68% MLMG::mgVcycle_down::2 82 0.01557 0.01557 0.01557 1.66% MLMG::mgVcycle_down::3 82 0.01521 0.01521 0.01521 1.62% MLMG::mgVcycle_down::4 82 0.01509 0.01509 0.01509 1.61% FabArray::ParallelCopy() 861 0.01481 0.01481 0.01481 1.58% FabArray::ParallelCopy_nowait() 861 0.01456 0.01456 0.01456 1.55% Castro::initialize_advance() 10 0.0137 0.0137 0.0137 1.46% FabArray::Saxpy() 1370 0.01333 0.01333 0.01333 1.42% Castro::do_new_sources() 10 0.0132 0.0132 0.0132 1.41% MLCGSolver::ParallelAllReduce 1832 0.01302 0.01302 0.01302 1.39% Castro::enforce_min_density() 62 0.01255 0.01255 0.01255 1.34% MLMG::addInterpCorrection() 410 0.01233 0.01233 0.01233 1.32% Castro::expand_state() 10 0.01213 0.01213 0.01213 1.29% MLMG::mgVcycle_up::1 82 0.01206 0.01206 0.01206 1.29% MLMG::mgVcycle_up::4 82 0.01199 0.01199 0.01199 1.28% MLMG::mgVcycle_up::2 82 0.01178 0.01178 0.01178 1.26% MLCellLinOp::defineAuxData() 11 0.01177 0.01177 0.01177 1.26% amrex::average_down 410 0.01165 0.01165 0.01165 1.24% MLMG::mgVcycle_up::3 82 0.01158 0.01158 0.01158 1.24% Castro::post_timestep() 10 0.01155 0.01155 0.01155 1.23% amrex::Copy() 472 0.01098 0.01098 0.01098 1.17% MLPoisson::Fapply() 1060 0.01045 0.01045 0.01045 1.11% Gravity::fill_multipole_BCs() 11 0.009778 0.009778 0.009778 1.04% FabArray::Xpay() 739 0.007983 0.007983 0.007983 0.85% MLCellLinOp::solutionResidual() 93 0.007808 0.007808 0.007808 0.83% Castro::reset_internal_energy(MultiFab) 63 0.007731 0.007731 0.007731 0.82% MLMG::computeResidual() 82 0.006564 0.006564 0.006564 0.70% Castro::estTimeStep() 21 0.005728 0.005728 0.005728 0.61% MLCellLinOp::defineBC() 11 0.005364 0.005364 0.005364 0.57% MLMG::prepareForSolve() 11 0.005181 0.005181 0.005181 0.55% BndryData::define() 11 0.005107 0.005107 0.005107 0.54% Amr::InitializeInit() 1 0.004968 0.004968 0.004968 0.53% Amr::defBaseLevel() 1 0.004963 0.004963 0.004963 0.53% Castro::initData() 1 0.004262 0.004262 0.004262 0.45% amrex::Add() 82 0.003617 0.003617 0.003617 0.39% Castro::construct_new_source() 50 0.00337 0.00337 0.00337 0.36% Castro::construct_new_gravity_source() 10 0.003317 0.003317 0.003317 0.35% Castro::enforce_speed_limit() 62 0.003144 0.003144 0.003144 0.34% Castro::construct_old_source() 50 0.002854 0.002854 0.002854 0.30% Castro::construct_old_gravity_source() 10 0.002836 0.002836 0.002836 0.30% Castro::computeNewDt() 9 0.002592 0.002592 0.002592 0.28% MLMG::ResNormInf() 93 0.002182 0.002182 0.002182 0.23% Castro::finalize_do_advance() 10 0.002111 0.002111 0.002111 0.23% Castro::apply_source_to_state() 20 0.001879 0.001879 0.001879 0.20% Castro::reset_internal_energy(Fab) 504 0.001788 0.001788 0.001788 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001786 0.001786 0.001786 0.19% check_for_negative_density() 10 0.001783 0.001783 0.001783 0.19% MLMG::getGradSolution() 11 0.001626 0.001626 0.001626 0.17% MLCellLinOp::compGrad() 11 0.001619 0.001619 0.001619 0.17% MLCellLinOp::setLevelBC() 11 0.001616 0.001616 0.001616 0.17% FabArrayBase::getCPC() 1323 0.001419 0.001419 0.001419 0.15% FabArray::setDomainBndry() 41 0.001407 0.001407 0.001407 0.15% FabArray::mult() 43 0.001389 0.001389 0.001389 0.15% MLPoisson::prepareForSolve() 11 0.001326 0.001326 0.001326 0.14% MLCellLinOp::prepareForSolve() 11 0.001319 0.001319 0.001319 0.14% MLMG::computeMLResidual() 11 0.001291 0.001291 0.001291 0.14% Castro::check_for_nan() 20 0.00128 0.00128 0.00128 0.14% MultiFab::contains_nan() 20 0.00127 0.00127 0.00127 0.14% Other 4753 0.009284 0.009284 0.009284 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 5683 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 1014 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1492 KiB 28 MiB Castro::initialize_advance() 80 80 17 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7617 KiB 14 MiB MLMG::prepareForSolve() 660 660 3561 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 201 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 172 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7519 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2061 B 2048 KiB Gravity::solve_for_phi() 80 80 564 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 98 KiB 2048 KiB BndryData::define() 1056 1056 325 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 207 KiB 671 KiB Castro::estTimeStep() 21 21 2971 B 480 KiB VisMF::Write(FabArray) 656 656 3310 B 320 KiB Castro::normalize_species() 62 62 7519 B 320 KiB amrex::average_down 1067 1067 1584 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1137 B 257 KiB amrex::Dot() 1360 1360 3441 B 160 KiB FabArray::norminf() 1143 1143 3335 B 160 KiB check_for_negative_density() 10 10 305 B 160 KiB Castro::initData() 1 1 49 B 160 KiB MultiFab::max() 11 11 55 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3479 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 287 B 9648 B MLCellLinOp::applyBC() 8702 8702 216 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3954 B 6144 B StateData::FillBoundary(geom) 1992 1992 40 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 366 B 1248 B MLCGSolver::bicgstab 410 410 94 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 552 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 406 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3479 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 287 B 9648 B MLCellLinOp::applyBC() 4351 4351 214 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3954 B 6144 B Gravity::get_new_grav_vector() 3 3 2896 B 3072 B StateData::FillBoundary(geom) 1992 1992 41 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 296 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 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.04-24-gb752027c1aeb) finalized Initializing AMReX (24.04-24-gb752027c1aeb)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-24-gb752027c1aeb) initialized Starting run at 07:48:19 UTC on 2024-04-22. Successfully read inputs file ... Castro git describe: 24.04-17-g4ef6d25ac AMReX git describe: 24.04-24-gb752027c1 Microphysics git describe: 24.04-9-g4ad225b7 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.520131709 Restart time = 0.071108086 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.07270039 [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.048589249 [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.072654887 [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.080044903 [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.070515925 [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.059233437 seconds Ending run at 07:48:20 UTC on 2024-04-22. Run time = 0.476032336 Run time without initialization = 0.40429104 Average number of zones advanced per microsecond: 3.242 Average number of zones advanced per microsecond per rank: 3.242 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4761 ... 0.4761 ... 0.4761 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1472 0.1472 0.1472 30.92% VisMF::Read() 3 0.05989 0.05989 0.05989 12.58% MLCellLinOp::applyBC() 1910 0.03591 0.03591 0.03591 7.54% VisMF::Write(FabArray) 1 0.03257 0.03257 0.03257 6.84% Amr::writePlotFile() 1 0.02651 0.02651 0.02651 5.57% MLPoisson::Fsmooth() 1440 0.01491 0.01491 0.01491 3.13% FillBoundary_nowait() 1730 0.013 0.013 0.013 2.73% StateData::FillBoundary(geom) 160 0.01295 0.01295 0.01295 2.72% Castro::normalize_species() 30 0.01192 0.01192 0.01192 2.50% amrex::Dot() 484 0.00937 0.00937 0.00937 1.97% FabArray::norminf() 465 0.008784 0.008784 0.008784 1.85% Castro::computeTemp() 30 0.007765 0.007765 0.007765 1.63% FabArray::setVal() 501 0.006668 0.006668 0.006668 1.40% FabArray::ParallelCopy_nowait() 380 0.006229 0.006229 0.006229 1.31% Castro::enforce_min_density() 30 0.006032 0.006032 0.006032 1.27% FabArray::Saxpy() 597 0.005917 0.005917 0.005917 1.24% MLCellLinOp::defineAuxData() 6 0.005778 0.005778 0.005778 1.21% amrex::Copy() 221 0.005507 0.005507 0.005507 1.16% Gravity::fill_multipole_BCs() 6 0.005325 0.005325 0.005325 1.12% StateDataPhysBCFunct::() 20 0.005292 0.005292 0.005292 1.11% Amr::restart() 1 0.004795 0.004795 0.004795 1.01% MLPoisson::Fapply() 464 0.004547 0.004547 0.004547 0.96% FabArray::Xpay() 325 0.00354 0.00354 0.00354 0.74% MLMG::addInterpCorrection() 180 0.003129 0.003129 0.003129 0.66% Castro::estTimeStep() 10 0.003098 0.003098 0.003098 0.65% amrex::average_down 180 0.002775 0.002775 0.002775 0.58% Castro::reset_internal_energy(MultiFab) 30 0.002346 0.002346 0.002346 0.49% BndryData::define() 6 0.00224 0.00224 0.00224 0.47% Castro::construct_new_gravity_source() 5 0.001746 0.001746 0.001746 0.37% amrex::Add() 36 0.001561 0.001561 0.001561 0.33% Castro::construct_old_gravity_source() 5 0.001457 0.001457 0.001457 0.31% Castro::enforce_speed_limit() 30 0.00124 0.00124 0.00124 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009966 0.0009966 0.0009966 0.21% MLCellLinOp::setLevelBC() 6 0.0009269 0.0009269 0.0009269 0.19% check_for_negative_density() 5 0.0009214 0.0009214 0.0009214 0.19% Castro::reset_internal_energy(Fab) 240 0.0008625 0.0008625 0.0008625 0.18% Gravity::actual_solve_with_mlmg() 6 0.0008424 0.0008424 0.0008424 0.18% MLCellLinOp::prepareForSolve() 6 0.000767 0.000767 0.000767 0.16% FabArray::mult() 22 0.0007053 0.0007053 0.0007053 0.15% FabArray::setDomainBndry() 20 0.0007053 0.0007053 0.0007053 0.15% MLCGSolver::bicgstab 36 0.0007027 0.0007027 0.0007027 0.15% MLCellLinOp::compGrad() 6 0.0006051 0.0006051 0.0006051 0.13% MLMG::prepareForSolve() 6 0.0005561 0.0005561 0.0005561 0.12% MLCellLinOp::smooth() 720 0.0004714 0.0004714 0.0004714 0.10% Gravity::get_old_grav_vector() 5 0.000377 0.000377 0.000377 0.08% FabArrayBase::getCPC() 632 0.0003657 0.0003657 0.0003657 0.08% main() 1 0.0003402 0.0003402 0.0003402 0.07% FabArray::FillBoundary() 1730 0.0003367 0.0003367 0.0003367 0.07% Gravity::get_new_grav_vector() 5 0.0003085 0.0003085 0.0003085 0.06% AmrLevel::FillPatch() 20 0.0002007 0.0002007 0.0002007 0.04% MLCellLinOp::apply() 464 0.000182 0.000182 0.000182 0.04% Amr::coarseTimeStep() 5 0.0001814 0.0001814 0.0001814 0.04% MLCellLinOp::defineBC() 6 0.0001462 0.0001462 0.0001462 0.03% MLCGSolver::ParallelAllReduce 798 0.0001318 0.0001318 0.0001318 0.03% Castro::subcycle_advance_ctu() 5 0.0001314 0.0001314 0.0001314 0.03% FabArray::ParallelCopy() 380 0.0001106 0.0001106 0.0001106 0.02% FillPatchIterator::Initialize 20 0.0001077 0.0001077 0.0001077 0.02% MLMG::mgVcycle() 36 8.465e-05 8.465e-05 8.465e-05 0.02% Amr::timeStep() 5 8.434e-05 8.434e-05 8.434e-05 0.02% MLCellLinOp::correctionResidual() 180 7.575e-05 7.575e-05 7.575e-05 0.02% AmrLevel::restart() 1 7.144e-05 7.144e-05 7.144e-05 0.02% StateData::restartDoit() 4 6.707e-05 6.707e-05 6.707e-05 0.01% Castro::initialize_do_advance() 5 6.668e-05 6.668e-05 6.668e-05 0.01% Castro::post_timestep() 5 6.595e-05 6.595e-05 6.595e-05 0.01% Gravity::update_max_rhs() 6 6.315e-05 6.315e-05 6.315e-05 0.01% Gravity::solve_for_phi() 5 5.103e-05 5.103e-05 5.103e-05 0.01% MLMG:computeResOfCorrection() 180 4.934e-05 4.934e-05 4.934e-05 0.01% Castro::finalize_do_advance() 5 4.565e-05 4.565e-05 4.565e-05 0.01% Castro::do_advance_ctu() 5 4.433e-05 4.433e-05 4.433e-05 0.01% MLMG::actualBottomSolve() 36 3.711e-05 3.711e-05 3.711e-05 0.01% Castro::advance() 5 3.579e-05 3.579e-05 3.579e-05 0.01% Castro::initialize_advance() 5 3.568e-05 3.568e-05 3.568e-05 0.01% MLMG::solve() 6 3.436e-05 3.436e-05 3.436e-05 0.01% MLMG::mgVcycle_down::0 36 3.375e-05 3.375e-05 3.375e-05 0.01% Castro::clean_state() 30 3.36e-05 3.36e-05 3.36e-05 0.01% Castro::construct_new_source() 25 3.285e-05 3.285e-05 3.285e-05 0.01% MLMG::mgVcycle_down::1 36 3.238e-05 3.238e-05 3.238e-05 0.01% MLMG::mgVcycle_down::2 36 2.921e-05 2.921e-05 2.921e-05 0.01% Castro::do_new_sources() 5 2.878e-05 2.878e-05 2.878e-05 0.01% Castro::construct_old_source() 25 2.779e-05 2.779e-05 2.779e-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.674e-05 2.674e-05 2.674e-05 0.01% MLMG::oneIter() 36 2.438e-05 2.438e-05 2.438e-05 0.01% MLMG::mgVcycle_up::4 36 2.368e-05 2.368e-05 2.368e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.165e-05 2.165e-05 2.165e-05 0.00% Castro::post_restart() 1 2.121e-05 2.121e-05 2.121e-05 0.00% MLCellLinOp::solutionResidual() 42 2.116e-05 2.116e-05 2.116e-05 0.00% MLMG::mgVcycle_up::3 36 2.003e-05 2.003e-05 2.003e-05 0.00% MLPoisson::define() 6 1.974e-05 1.974e-05 1.974e-05 0.00% MLMG::mgVcycle_up::0 36 1.887e-05 1.887e-05 1.887e-05 0.00% MLMG::mgVcycle_up::2 36 1.837e-05 1.837e-05 1.837e-05 0.00% MLMG::mgVcycle_up::1 36 1.729e-05 1.729e-05 1.729e-05 0.00% MLMG::ResNormInf() 42 1.712e-05 1.712e-05 1.712e-05 0.00% FillPatchSingleLevel 20 1.676e-05 1.676e-05 1.676e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.561e-05 1.561e-05 1.561e-05 0.00% Gravity::actual_multilevel_solve() 1 1.491e-05 1.491e-05 1.491e-05 0.00% MLMG::computeResidual() 36 1.483e-05 1.483e-05 1.483e-05 0.00% MLMG::mgVcycle_bottom 36 1.363e-05 1.363e-05 1.363e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.36e-05 1.36e-05 1.36e-05 0.00% Castro::construct_new_gravity() 5 1.239e-05 1.239e-05 1.239e-05 0.00% Castro::do_old_sources() 5 1.16e-05 1.16e-05 1.16e-05 0.00% Castro::expand_state() 5 9.142e-06 9.142e-06 9.142e-06 0.00% Castro::apply_source_to_state() 10 6.512e-06 6.512e-06 6.512e-06 0.00% Castro::construct_old_gravity() 5 5.409e-06 5.409e-06 5.409e-06 0.00% MLMG::computeMLResidual() 6 4.347e-06 4.347e-06 4.347e-06 0.00% MLPoisson::prepareForSolve() 6 3.59e-06 3.59e-06 3.59e-06 0.00% Castro::computeNewDt() 5 3.402e-06 3.402e-06 3.402e-06 0.00% MLMG::getGradSolution() 6 3.303e-06 3.303e-06 3.303e-06 0.00% Amr::init() 1 9.05e-07 9.05e-07 9.05e-07 0.00% Other 2170 0.002509 0.002509 0.002509 0.53% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.476 0.476 0.476 99.99% Amr::coarseTimeStep() 5 0.3447 0.3447 0.3447 72.40% Amr::timeStep() 5 0.3426 0.3426 0.3426 71.97% Castro::advance() 5 0.3365 0.3365 0.3365 70.69% Castro::subcycle_advance_ctu() 5 0.3284 0.3284 0.3284 68.97% Castro::do_advance_ctu() 5 0.3282 0.3282 0.3282 68.94% Castro::construct_ctu_hydro_source() 5 0.153 0.153 0.153 32.13% Castro::construct_new_gravity() 5 0.137 0.137 0.137 28.78% Gravity::solve_phi_with_mlmg() 6 0.1341 0.1341 0.1341 28.17% Gravity::solve_for_phi() 5 0.1288 0.1288 0.1288 27.06% Gravity::actual_solve_with_mlmg() 6 0.1285 0.1285 0.1285 27.00% MLMG::solve() 6 0.1161 0.1161 0.1161 24.40% MLMG::oneIter() 36 0.1084 0.1084 0.1084 22.76% MLMG::mgVcycle() 36 0.1068 0.1068 0.1068 22.43% Amr::init() 1 0.07115 0.07115 0.07115 14.95% Amr::restart() 1 0.07115 0.07115 0.07115 14.95% AmrLevel::restart() 1 0.06027 0.06027 0.06027 12.66% StateData::restartDoit() 4 0.06019 0.06019 0.06019 12.64% VisMF::Read() 3 0.05989 0.05989 0.05989 12.58% Amr::writePlotFile() 1 0.05935 0.05935 0.05935 12.47% MLCellLinOp::smooth() 720 0.05326 0.05326 0.05326 11.19% MLCellLinOp::applyBC() 1910 0.04955 0.04955 0.04955 10.41% VisMF::Write(FabArray) 1 0.03257 0.03257 0.03257 6.84% MLMG::mgVcycle_bottom 36 0.03195 0.03195 0.03195 6.71% MLMG::actualBottomSolve() 36 0.03194 0.03194 0.03194 6.71% MLCGSolver::bicgstab 36 0.03156 0.03156 0.03156 6.63% Castro::clean_state() 30 0.0302 0.0302 0.0302 6.34% AmrLevel::FillPatch() 20 0.02327 0.02327 0.02327 4.89% FillPatchIterator::Initialize 20 0.02115 0.02115 0.02115 4.44% FillPatchIterator::FillFromLevel0() 20 0.02034 0.02034 0.02034 4.27% FillPatchSingleLevel 20 0.02032 0.02032 0.02032 4.27% StateDataPhysBCFunct::() 20 0.01824 0.01824 0.01824 3.83% MLCellLinOp::apply() 464 0.01611 0.01611 0.01611 3.38% MLMG::mgVcycle_down::0 36 0.01517 0.01517 0.01517 3.19% MLPoisson::Fsmooth() 1440 0.01491 0.01491 0.01491 3.13% FabArray::FillBoundary() 1730 0.01365 0.01365 0.01365 2.87% FillBoundary_nowait() 1730 0.01331 0.01331 0.01331 2.80% StateData::FillBoundary(geom) 160 0.01295 0.01295 0.01295 2.72% Castro::normalize_species() 30 0.01192 0.01192 0.01192 2.50% MLMG::mgVcycle_up::0 36 0.01133 0.01133 0.01133 2.38% Castro::initialize_do_advance() 5 0.01103 0.01103 0.01103 2.32% Castro::computeTemp() 30 0.01097 0.01097 0.01097 2.30% MLPoisson::define() 6 0.009726 0.009726 0.009726 2.04% amrex::Dot() 484 0.00937 0.00937 0.00937 1.97% Castro::do_old_sources() 5 0.009314 0.009314 0.009314 1.96% MLMG:computeResOfCorrection() 180 0.008936 0.008936 0.008936 1.88% MLCellLinOp::correctionResidual() 180 0.008887 0.008887 0.008887 1.87% FabArray::norminf() 465 0.008784 0.008784 0.008784 1.85% Gravity::get_new_grav_vector() 5 0.008083 0.008083 0.008083 1.70% Castro::construct_old_gravity() 5 0.008059 0.008059 0.008059 1.69% Gravity::get_old_grav_vector() 5 0.008054 0.008054 0.008054 1.69% Castro::do_new_sources() 5 0.008052 0.008052 0.008052 1.69% Castro::initialize_advance() 5 0.007849 0.007849 0.007849 1.65% MLMG::mgVcycle_down::1 36 0.007392 0.007392 0.007392 1.55% MLMG::mgVcycle_down::2 36 0.006841 0.006841 0.006841 1.44% FabArray::ParallelCopy() 380 0.006716 0.006716 0.006716 1.41% FabArray::setVal() 501 0.006668 0.006668 0.006668 1.40% MLMG::mgVcycle_down::3 36 0.006654 0.006654 0.006654 1.40% FabArray::ParallelCopy_nowait() 380 0.006605 0.006605 0.006605 1.39% MLMG::mgVcycle_down::4 36 0.006585 0.006585 0.006585 1.38% MLCellLinOp::defineAuxData() 6 0.006579 0.006579 0.006579 1.38% Castro::enforce_min_density() 30 0.006032 0.006032 0.006032 1.27% Castro::post_timestep() 5 0.005985 0.005985 0.005985 1.26% Castro::expand_state() 5 0.005919 0.005919 0.005919 1.24% FabArray::Saxpy() 597 0.005917 0.005917 0.005917 1.24% Castro::post_restart() 1 0.005899 0.005899 0.005899 1.24% MLCGSolver::ParallelAllReduce 798 0.00565 0.00565 0.00565 1.19% Gravity::multilevel_solve_for_new_phi() 1 0.005527 0.005527 0.005527 1.16% Gravity::actual_multilevel_solve() 1 0.005511 0.005511 0.005511 1.16% amrex::Copy() 221 0.005507 0.005507 0.005507 1.16% Gravity::fill_multipole_BCs() 6 0.00545 0.00545 0.00545 1.14% MLMG::addInterpCorrection() 180 0.005442 0.005442 0.005442 1.14% MLMG::mgVcycle_up::4 36 0.00529 0.00529 0.00529 1.11% MLMG::mgVcycle_up::1 36 0.005267 0.005267 0.005267 1.11% MLMG::mgVcycle_up::2 36 0.005145 0.005145 0.005145 1.08% amrex::average_down 180 0.00512 0.00512 0.00512 1.08% MLMG::mgVcycle_up::3 36 0.005068 0.005068 0.005068 1.06% MLPoisson::Fapply() 464 0.004547 0.004547 0.004547 0.96% MLCellLinOp::solutionResidual() 42 0.003705 0.003705 0.003705 0.78% FabArray::Xpay() 325 0.00354 0.00354 0.00354 0.74% Castro::reset_internal_energy(MultiFab) 30 0.003209 0.003209 0.003209 0.67% Castro::estTimeStep() 10 0.003098 0.003098 0.003098 0.65% MLCellLinOp::defineBC() 6 0.002985 0.002985 0.002985 0.63% MLMG::prepareForSolve() 6 0.002903 0.002903 0.002903 0.61% MLMG::computeResidual() 36 0.00288 0.00288 0.00288 0.61% BndryData::define() 6 0.002839 0.002839 0.002839 0.60% Castro::computeNewDt() 5 0.001878 0.001878 0.001878 0.39% Castro::construct_new_source() 25 0.001779 0.001779 0.001779 0.37% Castro::construct_new_gravity_source() 5 0.001746 0.001746 0.001746 0.37% amrex::Add() 36 0.001561 0.001561 0.001561 0.33% Castro::construct_old_source() 25 0.001484 0.001484 0.001484 0.31% Castro::construct_old_gravity_source() 5 0.001457 0.001457 0.001457 0.31% Castro::finalize_do_advance() 5 0.001269 0.001269 0.001269 0.27% Castro::enforce_speed_limit() 30 0.00124 0.00124 0.00124 0.26% MLMG::ResNormInf() 42 0.0009995 0.0009995 0.0009995 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009966 0.0009966 0.0009966 0.21% Castro::apply_source_to_state() 10 0.0009604 0.0009604 0.0009604 0.20% MLCellLinOp::setLevelBC() 6 0.0009269 0.0009269 0.0009269 0.19% check_for_negative_density() 5 0.0009214 0.0009214 0.0009214 0.19% MLMG::getGradSolution() 6 0.0009 0.0009 0.0009 0.19% MLCellLinOp::compGrad() 6 0.0008967 0.0008967 0.0008967 0.19% Castro::reset_internal_energy(Fab) 240 0.0008625 0.0008625 0.0008625 0.18% MLMG::computeMLResidual() 6 0.0008438 0.0008438 0.0008438 0.18% FabArrayBase::getCPC() 632 0.0007781 0.0007781 0.0007781 0.16% MLPoisson::prepareForSolve() 6 0.0007706 0.0007706 0.0007706 0.16% MLCellLinOp::prepareForSolve() 6 0.000767 0.000767 0.000767 0.16% Gravity::update_max_rhs() 6 0.0007238 0.0007238 0.0007238 0.15% FabArray::mult() 22 0.0007053 0.0007053 0.0007053 0.15% FabArray::setDomainBndry() 20 0.0007053 0.0007053 0.0007053 0.15% Other 2170 0.004397 0.004397 0.004397 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 11 MiB 9037 MiB Castro::initMFs() 48 48 58 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 959 KiB 39 MiB Castro::initialize_do_advance() 40 40 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2010 KiB 28 MiB Castro::initialize_advance() 40 40 16 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6531 KiB 14 MiB MLMG::prepareForSolve() 361 361 2995 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 175 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 173 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6519 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 18 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3024 B 2048 KiB Gravity::solve_for_phi() 40 40 553 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 23 KiB 2048 KiB BndryData::define() 576 576 276 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 177 KiB 671 KiB Castro::estTimeStep() 10 10 3116 B 480 KiB VisMF::Write(FabArray) 112 112 2313 B 320 KiB Castro::normalize_species() 30 30 8161 B 320 KiB amrex::average_down 469 469 1317 B 257 KiB MLMG::addInterpCorrection() 468 468 980 B 257 KiB amrex::Dot() 592 592 2902 B 160 KiB FabArray::norminf() 501 501 2851 B 160 KiB check_for_negative_density() 5 5 310 B 160 KiB MultiFab::max() 6 6 67 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 27 B 20 KiB MLPoisson::Fsmooth() 60 60 2901 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 41 B 10 KiB FillBoundary_nowait() 336 336 235 B 9648 B MLCellLinOp::applyBC() 3820 3820 188 B 9344 B amrex::Copy() 56 56 5868 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 36 B 2352 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 310 B 1248 B MLCGSolver::bicgstab 180 180 79 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1056 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 76 KiB 8192 KiB VisMF::Write(FabArray) 120 120 191 KiB 3584 KiB VisMF::Read() 24 24 192 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 2901 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 41 B 10 KiB FillBoundary_nowait() 336 336 235 B 9648 B MLCellLinOp::applyBC() 1910 1910 186 B 9328 B amrex::Copy() 56 56 5868 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2571 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 37 B 2352 B MLMG::prepareForSolve() 7 7 780 B 1648 B amrex::average_down 37 37 472 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 21 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.04-24-gb752027c1aeb) finalized