Initializing AMReX (24.06-13-gdad25a49a99c)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-13-gdad25a49a99c) initialized Starting run at 09:17:57 UTC on 2024-06-13. Successfully read inputs file ... Castro git describe: 24.06-8-gf5603db9e AMReX git describe: 24.06-13-gdad25a49a Microphysics git describe: 24.06-6-ge56bbf10 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.050629815 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028809982 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.061851278 [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.052141247 [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.074736124 [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.076098149 [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.070514027 [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.054882042 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.070997193 [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.074520332 [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.076321124 [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.0537665 [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.052990425 [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.048754333 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.027581355 seconds Ending run at 09:17:58 UTC on 2024-06-13. Run time = 0.937816422 Run time without initialization = 0.805348118 Average number of zones advanced per microsecond: 3.255 Average number of zones advanced per microsecond per rank: 3.255 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9378 ... 0.9378 ... 0.9378 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2680 0.2680 0.2680 28.57% VisMF::Write(FabArray) 11 0.2018 0.2018 0.2018 21.52% MLCellLinOp::applyBC() 4298 0.08292 0.08292 0.08292 8.84% MLPoisson::Fsmooth() 3240 0.03491 0.03491 0.03491 3.72% FillBoundary_nowait() 3893 0.03377 0.03377 0.03377 3.60% StateData::FillBoundary(geom) 328 0.0269 0.0269 0.0269 2.87% amrex::Dot() 1100 0.02209 0.02209 0.02209 2.36% Castro::normalize_species() 62 0.02186 0.02186 0.02186 2.33% FabArray::norminf() 1048 0.02059 0.02059 0.02059 2.20% Castro::computeTemp() 63 0.01627 0.01627 0.01627 1.74% Amr::checkPoint() 3 0.01595 0.01595 0.01595 1.70% FabArray::ParallelCopy_nowait() 851 0.014 0.014 0.014 1.49% FabArray::setVal() 1054 0.01385 0.01385 0.01385 1.48% FabArray::Saxpy() 1353 0.01349 0.01349 0.01349 1.44% Castro::enforce_min_density() 62 0.01338 0.01338 0.01338 1.43% StateDataPhysBCFunct::() 41 0.0123 0.0123 0.0123 1.31% amrex::Copy() 469 0.01112 0.01112 0.01112 1.19% MLPoisson::Fapply() 1047 0.01066 0.01066 0.01066 1.14% MLCellLinOp::defineAuxData() 11 0.01052 0.01052 0.01052 1.12% Gravity::fill_multipole_BCs() 11 0.009479 0.009479 0.009479 1.01% FabArray::Xpay() 730 0.008171 0.008171 0.008171 0.87% MLMG::addInterpCorrection() 405 0.007145 0.007145 0.007145 0.76% amrex::average_down 405 0.006393 0.006393 0.006393 0.68% Castro::estTimeStep() 21 0.005259 0.005259 0.005259 0.56% Castro::reset_internal_energy(MultiFab) 63 0.005163 0.005163 0.005163 0.55% BndryData::define() 11 0.00411 0.00411 0.00411 0.44% Castro::enforce_speed_limit() 62 0.003866 0.003866 0.003866 0.41% amrex::Add() 81 0.00374 0.00374 0.00374 0.40% Castro::construct_new_gravity_source() 10 0.003419 0.003419 0.003419 0.36% Castro::construct_old_gravity_source() 10 0.002774 0.002774 0.002774 0.30% Amr::writePlotFile() 2 0.001948 0.001948 0.001948 0.21% check_for_negative_density() 10 0.00186 0.00186 0.00186 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001838 0.001838 0.001838 0.20% Castro::initData() 1 0.001769 0.001769 0.001769 0.19% Castro::reset_internal_energy(Fab) 504 0.001744 0.001744 0.001744 0.19% MLCellLinOp::setLevelBC() 11 0.001646 0.001646 0.001646 0.18% MLCGSolver::bicgstab 81 0.00161 0.00161 0.00161 0.17% Gravity::actual_solve_with_mlmg() 11 0.00154 0.00154 0.00154 0.16% FabArray::setDomainBndry() 41 0.001438 0.001438 0.001438 0.15% FabArray::mult() 43 0.001408 0.001408 0.001408 0.15% MLCellLinOp::prepareForSolve() 11 0.001345 0.001345 0.001345 0.14% MultiFab::contains_nan() 20 0.001298 0.001298 0.001298 0.14% MLCellLinOp::smooth() 1620 0.001122 0.001122 0.001122 0.12% MLCellLinOp::compGrad() 11 0.00112 0.00112 0.00112 0.12% MLMG::prepareForSolve() 11 0.0009551 0.0009551 0.0009551 0.10% FabArrayBase::getCPC() 1313 0.0007981 0.0007981 0.0007981 0.09% FabArray::FillBoundary() 3893 0.0007694 0.0007694 0.0007694 0.08% Gravity::get_new_grav_vector() 11 0.0006087 0.0006087 0.0006087 0.06% Gravity::get_old_grav_vector() 10 0.0004871 0.0004871 0.0004871 0.05% MLCellLinOp::apply() 1047 0.0004206 0.0004206 0.0004206 0.04% AmrLevel::FillPatch() 41 0.0004106 0.0004106 0.0004106 0.04% Amr::coarseTimeStep() 10 0.0003262 0.0003262 0.0003262 0.03% MLCGSolver::ParallelAllReduce 1809 0.0003044 0.0003044 0.0003044 0.03% main() 1 0.0002939 0.0002939 0.0002939 0.03% MLCellLinOp::defineBC() 11 0.0002705 0.0002705 0.0002705 0.03% FabArray::ParallelCopy() 851 0.0002393 0.0002393 0.0002393 0.03% FillPatchIterator::Initialize 41 0.0002078 0.0002078 0.0002078 0.02% MLMG::mgVcycle() 81 0.0001991 0.0001991 0.0001991 0.02% Castro::subcycle_advance_ctu() 10 0.000179 0.000179 0.000179 0.02% MLCellLinOp::correctionResidual() 405 0.0001645 0.0001645 0.0001645 0.02% Amr::timeStep() 10 0.0001493 0.0001493 0.0001493 0.02% Castro::post_timestep() 10 0.0001351 0.0001351 0.0001351 0.01% StateData::checkPoint() 12 0.0001283 0.0001283 0.0001283 0.01% MLMG:computeResOfCorrection() 405 0.0001271 0.0001271 0.0001271 0.01% Gravity::solve_for_phi() 10 0.0001003 0.0001003 0.0001003 0.01% MLMG::actualBottomSolve() 81 8.189e-05 8.189e-05 8.189e-05 0.01% Castro::initialize_advance() 10 8.118e-05 8.118e-05 8.118e-05 0.01% MLMG::mgVcycle_down::0 81 7.967e-05 7.967e-05 7.967e-05 0.01% MLMG::solve() 11 7.141e-05 7.141e-05 7.141e-05 0.01% MLMG::mgVcycle_down::1 81 7.113e-05 7.113e-05 7.113e-05 0.01% MLMG::mgVcycle_down::2 81 7.054e-05 7.054e-05 7.054e-05 0.01% MLMG::mgVcycle_down::4 81 6.794e-05 6.794e-05 6.794e-05 0.01% Castro::clean_state() 62 6.722e-05 6.722e-05 6.722e-05 0.01% MLMG::mgVcycle_down::3 81 6.515e-05 6.515e-05 6.515e-05 0.01% AmrLevel::checkPoint() 3 6.478e-05 6.478e-05 6.478e-05 0.01% Castro::initialize_do_advance() 10 5.795e-05 5.795e-05 5.795e-05 0.01% MLMG::mgVcycle_up::4 81 5.324e-05 5.324e-05 5.324e-05 0.01% MLMG::oneIter() 81 4.939e-05 4.939e-05 4.939e-05 0.01% Castro::construct_new_source() 50 4.862e-05 4.862e-05 4.862e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.636e-05 4.636e-05 4.636e-05 0.00% Castro::do_advance_ctu() 10 4.521e-05 4.521e-05 4.521e-05 0.00% MLMG::mgVcycle_up::0 81 4.518e-05 4.518e-05 4.518e-05 0.00% MLMG::mgVcycle_up::3 81 4.491e-05 4.491e-05 4.491e-05 0.00% MLMG::mgVcycle_up::1 81 4.481e-05 4.481e-05 4.481e-05 0.00% MLCellLinOp::solutionResidual() 92 4.472e-05 4.472e-05 4.472e-05 0.00% MLMG::mgVcycle_up::2 81 4.287e-05 4.287e-05 4.287e-05 0.00% Castro::finalize_do_advance() 10 4.266e-05 4.266e-05 4.266e-05 0.00% FillPatchSingleLevel 41 3.92e-05 3.92e-05 3.92e-05 0.00% MLMG::computeResidual() 81 3.33e-05 3.33e-05 3.33e-05 0.00% MLPoisson::define() 11 3.063e-05 3.063e-05 3.063e-05 0.00% Amr::defBaseLevel() 1 3.054e-05 3.054e-05 3.054e-05 0.00% MLMG::mgVcycle_bottom 81 3.053e-05 3.053e-05 3.053e-05 0.00% MLMG::ResNormInf() 92 2.905e-05 2.905e-05 2.905e-05 0.00% Castro::construct_new_gravity() 10 2.832e-05 2.832e-05 2.832e-05 0.00% Castro::advance() 10 2.515e-05 2.515e-05 2.515e-05 0.00% Castro::do_old_sources() 10 2.449e-05 2.449e-05 2.449e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.274e-05 2.274e-05 2.274e-05 0.00% Amr::FinalizeInit() 1 1.933e-05 1.933e-05 1.933e-05 0.00% Castro::construct_old_source() 50 1.877e-05 1.877e-05 1.877e-05 0.00% Castro::do_new_sources() 10 1.866e-05 1.866e-05 1.866e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.669e-05 1.669e-05 1.669e-05 0.00% Castro::computeNewDt() 9 1.364e-05 1.364e-05 1.364e-05 0.00% Castro::apply_source_to_state() 20 1.121e-05 1.121e-05 1.121e-05 0.00% Castro::check_for_nan() 20 1.108e-05 1.108e-05 1.108e-05 0.00% Castro::construct_old_gravity() 10 1.044e-05 1.044e-05 1.044e-05 0.00% Castro::post_init() 1 9.911e-06 9.911e-06 9.911e-06 0.00% MLMG::getGradSolution() 11 9.754e-06 9.754e-06 9.754e-06 0.00% Amr::InitializeInit() 1 9.575e-06 9.575e-06 9.575e-06 0.00% MLMG::computeMLResidual() 11 9.336e-06 9.336e-06 9.336e-06 0.00% Gravity::actual_multilevel_solve() 1 8.632e-06 8.632e-06 8.632e-06 0.00% MLPoisson::prepareForSolve() 11 7.765e-06 7.765e-06 7.765e-06 0.00% Castro::expand_state() 10 5.942e-06 5.942e-06 5.942e-06 0.00% Amr::init() 1 2.765e-06 2.765e-06 2.765e-06 0.00% Amr::initialInit() 1 1.353e-06 1.353e-06 1.353e-06 0.00% Castro::post_regrid() 1 1.351e-06 1.351e-06 1.351e-06 0.00% Other 4704 0.003243 0.003243 0.003243 0.35% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9378 0.9378 0.9378 100.00% Amr::coarseTimeStep() 10 0.7775 0.7775 0.7775 82.90% Amr::timeStep() 10 0.661 0.661 0.661 70.48% Castro::advance() 10 0.6488 0.6488 0.6488 69.18% Castro::subcycle_advance_ctu() 10 0.6344 0.6344 0.6344 67.64% Castro::do_advance_ctu() 10 0.6342 0.6342 0.6342 67.62% Gravity::solve_phi_with_mlmg() 11 0.3049 0.3049 0.3049 32.51% Gravity::actual_solve_with_mlmg() 11 0.2949 0.2949 0.2949 31.45% Castro::construct_new_gravity() 10 0.2795 0.2795 0.2795 29.80% Castro::construct_ctu_hydro_source() 10 0.2793 0.2793 0.2793 29.78% MLMG::solve() 11 0.2724 0.2724 0.2724 29.05% Gravity::solve_for_phi() 10 0.2629 0.2629 0.2629 28.03% MLMG::oneIter() 81 0.2565 0.2565 0.2565 27.35% MLMG::mgVcycle() 81 0.2527 0.2527 0.2527 26.94% VisMF::Write(FabArray) 11 0.2018 0.2018 0.2018 21.52% Amr::checkPoint() 3 0.1639 0.1639 0.1639 17.48% AmrLevel::checkPoint() 3 0.1479 0.1479 0.1479 15.78% StateData::checkPoint() 12 0.1479 0.1479 0.1479 15.77% Amr::init() 1 0.1319 0.1319 0.1319 14.06% MLCellLinOp::smooth() 1620 0.1272 0.1272 0.1272 13.56% MLCellLinOp::applyBC() 4298 0.1182 0.1182 0.1182 12.60% MLMG::mgVcycle_bottom 81 0.07494 0.07494 0.07494 7.99% MLMG::actualBottomSolve() 81 0.07491 0.07491 0.07491 7.99% MLCGSolver::bicgstab 81 0.07407 0.07407 0.07407 7.90% Castro::clean_state() 62 0.06135 0.06135 0.06135 6.54% Amr::writePlotFile() 2 0.05655 0.05655 0.05655 6.03% Amr::initialInit() 1 0.05231 0.05231 0.05231 5.58% AmrLevel::FillPatch() 41 0.04937 0.04937 0.04937 5.26% Amr::FinalizeInit() 1 0.0466 0.0466 0.0466 4.97% FillPatchIterator::Initialize 41 0.04505 0.04505 0.04505 4.80% Castro::post_init() 1 0.04493 0.04493 0.04493 4.79% FillPatchIterator::FillFromLevel0() 41 0.04341 0.04341 0.04341 4.63% FillPatchSingleLevel 41 0.04336 0.04336 0.04336 4.62% Gravity::multilevel_solve_for_new_phi() 1 0.04245 0.04245 0.04245 4.53% Gravity::actual_multilevel_solve() 1 0.04243 0.04243 0.04243 4.52% StateDataPhysBCFunct::() 41 0.0392 0.0392 0.0392 4.18% MLCellLinOp::apply() 1047 0.03756 0.03756 0.03756 4.01% MLMG::mgVcycle_down::0 81 0.03671 0.03671 0.03671 3.91% FabArray::FillBoundary() 3893 0.03524 0.03524 0.03524 3.76% MLPoisson::Fsmooth() 3240 0.03491 0.03491 0.03491 3.72% FillBoundary_nowait() 3893 0.03447 0.03447 0.03447 3.68% MLMG::mgVcycle_up::0 81 0.02779 0.02779 0.02779 2.96% StateData::FillBoundary(geom) 328 0.0269 0.0269 0.0269 2.87% Castro::computeTemp() 63 0.02318 0.02318 0.02318 2.47% Castro::initialize_do_advance() 10 0.0226 0.0226 0.0226 2.41% amrex::Dot() 1100 0.02209 0.02209 0.02209 2.36% Castro::normalize_species() 62 0.02186 0.02186 0.02186 2.33% MLMG:computeResOfCorrection() 405 0.02129 0.02129 0.02129 2.27% MLCellLinOp::correctionResidual() 405 0.02116 0.02116 0.02116 2.26% Castro::do_old_sources() 10 0.0206 0.0206 0.0206 2.20% FabArray::norminf() 1048 0.02059 0.02059 0.02059 2.20% Gravity::get_new_grav_vector() 11 0.01861 0.01861 0.01861 1.98% MLPoisson::define() 11 0.01768 0.01768 0.01768 1.88% MLMG::mgVcycle_down::1 81 0.01721 0.01721 0.01721 1.84% MLMG::mgVcycle_down::2 81 0.01597 0.01597 0.01597 1.70% Castro::construct_old_gravity() 10 0.01582 0.01582 0.01582 1.69% Gravity::get_old_grav_vector() 10 0.01581 0.01581 0.01581 1.69% MLMG::mgVcycle_down::3 81 0.01559 0.01559 0.01559 1.66% MLMG::mgVcycle_down::4 81 0.01543 0.01543 0.01543 1.65% FabArray::ParallelCopy() 851 0.01505 0.01505 0.01505 1.60% FabArray::ParallelCopy_nowait() 851 0.01481 0.01481 0.01481 1.58% FabArray::setVal() 1054 0.01385 0.01385 0.01385 1.48% Castro::initialize_advance() 10 0.01379 0.01379 0.01379 1.47% FabArray::Saxpy() 1353 0.01349 0.01349 0.01349 1.44% Castro::do_new_sources() 10 0.01346 0.01346 0.01346 1.44% Castro::enforce_min_density() 62 0.01338 0.01338 0.01338 1.43% MLCGSolver::ParallelAllReduce 1809 0.01321 0.01321 0.01321 1.41% MLMG::addInterpCorrection() 405 0.01259 0.01259 0.01259 1.34% MLMG::mgVcycle_up::1 81 0.01244 0.01244 0.01244 1.33% MLMG::mgVcycle_up::4 81 0.01232 0.01232 0.01232 1.31% MLMG::mgVcycle_up::2 81 0.01216 0.01216 0.01216 1.30% Castro::expand_state() 10 0.01214 0.01214 0.01214 1.29% Castro::post_timestep() 10 0.01203 0.01203 0.01203 1.28% MLCellLinOp::defineAuxData() 11 0.01197 0.01197 0.01197 1.28% MLMG::mgVcycle_up::3 81 0.01192 0.01192 0.01192 1.27% amrex::average_down 405 0.01187 0.01187 0.01187 1.27% amrex::Copy() 469 0.01112 0.01112 0.01112 1.19% MLPoisson::Fapply() 1047 0.01066 0.01066 0.01066 1.14% Gravity::fill_multipole_BCs() 11 0.009718 0.009718 0.009718 1.04% FabArray::Xpay() 730 0.008171 0.008171 0.008171 0.87% MLCellLinOp::solutionResidual() 92 0.008026 0.008026 0.008026 0.86% Castro::reset_internal_energy(MultiFab) 63 0.006907 0.006907 0.006907 0.74% MLMG::computeResidual() 81 0.006729 0.006729 0.006729 0.72% Amr::InitializeInit() 1 0.005709 0.005709 0.005709 0.61% Amr::defBaseLevel() 1 0.005699 0.005699 0.005699 0.61% MLCellLinOp::defineBC() 11 0.005432 0.005432 0.005432 0.58% MLMG::prepareForSolve() 11 0.00529 0.00529 0.00529 0.56% Castro::estTimeStep() 21 0.005259 0.005259 0.005259 0.56% BndryData::define() 11 0.005162 0.005162 0.005162 0.55% Castro::initData() 1 0.005005 0.005005 0.005005 0.53% Castro::enforce_speed_limit() 62 0.003866 0.003866 0.003866 0.41% amrex::Add() 81 0.00374 0.00374 0.00374 0.40% Castro::construct_new_source() 50 0.003468 0.003468 0.003468 0.37% Castro::construct_new_gravity_source() 10 0.003419 0.003419 0.003419 0.36% Castro::construct_old_source() 50 0.002793 0.002793 0.002793 0.30% Castro::construct_old_gravity_source() 10 0.002774 0.002774 0.002774 0.30% MLMG::ResNormInf() 92 0.002258 0.002258 0.002258 0.24% Castro::computeNewDt() 9 0.002207 0.002207 0.002207 0.24% Castro::finalize_do_advance() 10 0.001992 0.001992 0.001992 0.21% Castro::apply_source_to_state() 20 0.001897 0.001897 0.001897 0.20% check_for_negative_density() 10 0.00186 0.00186 0.00186 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001838 0.001838 0.001838 0.20% Castro::reset_internal_energy(Fab) 504 0.001744 0.001744 0.001744 0.19% MLMG::getGradSolution() 11 0.001665 0.001665 0.001665 0.18% MLCellLinOp::compGrad() 11 0.001656 0.001656 0.001656 0.18% MLCellLinOp::setLevelBC() 11 0.001646 0.001646 0.001646 0.18% FabArrayBase::getCPC() 1313 0.001476 0.001476 0.001476 0.16% FabArray::setDomainBndry() 41 0.001438 0.001438 0.001438 0.15% FabArray::mult() 43 0.001408 0.001408 0.001408 0.15% MLPoisson::prepareForSolve() 11 0.001353 0.001353 0.001353 0.14% MLCellLinOp::prepareForSolve() 11 0.001345 0.001345 0.001345 0.14% MLMG::computeMLResidual() 11 0.00134 0.00134 0.00134 0.14% Castro::check_for_nan() 20 0.001309 0.001309 0.001309 0.14% MultiFab::contains_nan() 20 0.001298 0.001298 0.001298 0.14% Castro::post_regrid() 1 0.001238 0.001238 0.001238 0.13% Other 4704 0.008151 0.008151 0.008151 0.87% -------------------------------------------------------------------------------------------- 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 5504 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 1019 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1693 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7624 KiB 14 MiB MLMG::prepareForSolve() 660 660 3573 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 206 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 172 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7513 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2112 B 2048 KiB Gravity::solve_for_phi() 80 80 573 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 92 KiB 2048 KiB BndryData::define() 1056 1056 326 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 208 KiB 671 KiB Castro::estTimeStep() 21 21 2730 B 480 KiB VisMF::Write(FabArray) 656 656 3528 B 320 KiB Castro::normalize_species() 62 62 7599 B 320 KiB amrex::average_down 1054 1054 1602 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1154 B 257 KiB amrex::Dot() 1343 1343 3480 B 160 KiB FabArray::norminf() 1129 1129 3396 B 160 KiB check_for_negative_density() 10 10 318 B 160 KiB Castro::initData() 1 1 50 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3488 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 43 B 10 KiB FillBoundary_nowait() 751 751 316 B 9648 B MLCellLinOp::applyBC() 8596 8596 220 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3914 B 6144 B StateData::FillBoundary(geom) 1992 1992 43 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 368 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 622 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 484 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3488 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 43 B 10 KiB FillBoundary_nowait() 751 751 315 B 9648 B MLCellLinOp::applyBC() 4298 4298 218 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3914 B 6144 B Gravity::get_new_grav_vector() 3 3 2903 B 3072 B StateData::FillBoundary(geom) 1992 1992 44 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 82 82 617 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 297 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 25 B 400 B FabArray::norminf() 1129 1129 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): 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-13-gdad25a49a99c) finalized Initializing AMReX (24.06-13-gdad25a49a99c)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-13-gdad25a49a99c) initialized Starting run at 09:17:58 UTC on 2024-06-13. Successfully read inputs file ... Castro git describe: 24.06-8-gf5603db9e AMReX git describe: 24.06-13-gdad25a49a Microphysics git describe: 24.06-6-ge56bbf10 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.522718752 Restart time = 0.072195794 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.069094748 [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.064408765 [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.080155283 [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.078553642 [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.057319643 [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.028988919 seconds Ending run at 09:17:59 UTC on 2024-06-13. Run time = 0.451700949 Run time without initialization = 0.378939887 Average number of zones advanced per microsecond: 3.459 Average number of zones advanced per microsecond per rank: 3.459 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4517 ... 0.4517 ... 0.4517 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1480 0.1480 0.1480 32.76% VisMF::Read() 3 0.06075 0.06075 0.06075 13.45% MLCellLinOp::applyBC() 1910 0.03767 0.03767 0.03767 8.34% VisMF::Write(FabArray) 1 0.02651 0.02651 0.02651 5.87% MLPoisson::Fsmooth() 1440 0.01592 0.01592 0.01592 3.53% FillBoundary_nowait() 1730 0.01498 0.01498 0.01498 3.32% StateData::FillBoundary(geom) 160 0.01294 0.01294 0.01294 2.86% amrex::Dot() 484 0.009722 0.009722 0.009722 2.15% FabArray::norminf() 465 0.009182 0.009182 0.009182 2.03% Castro::normalize_species() 30 0.008828 0.008828 0.008828 1.95% Castro::computeTemp() 30 0.006937 0.006937 0.006937 1.54% FabArray::setVal() 501 0.006914 0.006914 0.006914 1.53% Castro::enforce_min_density() 30 0.006827 0.006827 0.006827 1.51% FabArray::ParallelCopy_nowait() 380 0.006467 0.006467 0.006467 1.43% FabArray::Saxpy() 597 0.006124 0.006124 0.006124 1.36% MLCellLinOp::defineAuxData() 6 0.005813 0.005813 0.005813 1.29% amrex::Copy() 221 0.005652 0.005652 0.005652 1.25% Gravity::fill_multipole_BCs() 6 0.00545 0.00545 0.00545 1.21% StateDataPhysBCFunct::() 20 0.005421 0.005421 0.005421 1.20% Amr::restart() 1 0.004795 0.004795 0.004795 1.06% MLPoisson::Fapply() 464 0.004776 0.004776 0.004776 1.06% FabArray::Xpay() 325 0.003682 0.003682 0.003682 0.82% MLMG::addInterpCorrection() 180 0.003315 0.003315 0.003315 0.73% Castro::estTimeStep() 10 0.003148 0.003148 0.003148 0.70% amrex::average_down 180 0.002895 0.002895 0.002895 0.64% Amr::writePlotFile() 1 0.002312 0.002312 0.002312 0.51% BndryData::define() 6 0.002269 0.002269 0.002269 0.50% Castro::reset_internal_energy(MultiFab) 30 0.00221 0.00221 0.00221 0.49% Castro::construct_new_gravity_source() 5 0.001772 0.001772 0.001772 0.39% amrex::Add() 36 0.001653 0.001653 0.001653 0.37% Castro::construct_old_gravity_source() 5 0.001367 0.001367 0.001367 0.30% Castro::enforce_speed_limit() 30 0.001282 0.001282 0.001282 0.28% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001021 0.001021 0.001021 0.23% check_for_negative_density() 5 0.0009943 0.0009943 0.0009943 0.22% MLCellLinOp::setLevelBC() 6 0.0009332 0.0009332 0.0009332 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008291 0.0008291 0.0008291 0.18% Castro::reset_internal_energy(Fab) 240 0.0008058 0.0008058 0.0008058 0.18% MLCellLinOp::prepareForSolve() 6 0.0007777 0.0007777 0.0007777 0.17% MLCGSolver::bicgstab 36 0.0007359 0.0007359 0.0007359 0.16% FabArray::setDomainBndry() 20 0.0007229 0.0007229 0.0007229 0.16% FabArray::mult() 22 0.0007182 0.0007182 0.0007182 0.16% MLCellLinOp::compGrad() 6 0.0006411 0.0006411 0.0006411 0.14% MLMG::prepareForSolve() 6 0.0005689 0.0005689 0.0005689 0.13% MLCellLinOp::smooth() 720 0.0005061 0.0005061 0.0005061 0.11% FabArrayBase::getCPC() 632 0.0003745 0.0003745 0.0003745 0.08% FabArray::FillBoundary() 1730 0.0003546 0.0003546 0.0003546 0.08% Gravity::get_old_grav_vector() 5 0.0003208 0.0003208 0.0003208 0.07% main() 1 0.0002745 0.0002745 0.0002745 0.06% Gravity::get_new_grav_vector() 5 0.0002647 0.0002647 0.0002647 0.06% AmrLevel::FillPatch() 20 0.0002087 0.0002087 0.0002087 0.05% MLCellLinOp::apply() 464 0.0001936 0.0001936 0.0001936 0.04% Amr::coarseTimeStep() 5 0.0001529 0.0001529 0.0001529 0.03% MLCellLinOp::defineBC() 6 0.0001507 0.0001507 0.0001507 0.03% Castro::subcycle_advance_ctu() 5 0.0001352 0.0001352 0.0001352 0.03% MLCGSolver::ParallelAllReduce 798 0.0001313 0.0001313 0.0001313 0.03% FabArray::ParallelCopy() 380 0.0001103 0.0001103 0.0001103 0.02% FillPatchIterator::Initialize 20 0.0001011 0.0001011 0.0001011 0.02% MLMG::mgVcycle() 36 9.025e-05 9.025e-05 9.025e-05 0.02% Castro::do_advance_ctu() 5 8.804e-05 8.804e-05 8.804e-05 0.02% Amr::timeStep() 5 8.09e-05 8.09e-05 8.09e-05 0.02% MLCellLinOp::correctionResidual() 180 7.868e-05 7.868e-05 7.868e-05 0.02% AmrLevel::restart() 1 7.298e-05 7.298e-05 7.298e-05 0.02% Castro::initialize_do_advance() 5 6.946e-05 6.946e-05 6.946e-05 0.02% StateData::restartDoit() 4 6.672e-05 6.672e-05 6.672e-05 0.01% Castro::advance() 5 6.364e-05 6.364e-05 6.364e-05 0.01% Castro::post_timestep() 5 6.302e-05 6.302e-05 6.302e-05 0.01% Gravity::update_max_rhs() 6 6.197e-05 6.197e-05 6.197e-05 0.01% MLMG:computeResOfCorrection() 180 5.257e-05 5.257e-05 5.257e-05 0.01% Gravity::solve_for_phi() 5 4.802e-05 4.802e-05 4.802e-05 0.01% Castro::finalize_do_advance() 5 4.401e-05 4.401e-05 4.401e-05 0.01% MLMG::actualBottomSolve() 36 4.059e-05 4.059e-05 4.059e-05 0.01% MLMG::mgVcycle_down::0 36 3.811e-05 3.811e-05 3.811e-05 0.01% MLMG::mgVcycle_down::1 36 3.563e-05 3.563e-05 3.563e-05 0.01% MLMG::solve() 6 3.495e-05 3.495e-05 3.495e-05 0.01% Castro::initialize_advance() 5 3.476e-05 3.476e-05 3.476e-05 0.01% MLMG::mgVcycle_down::2 36 3.298e-05 3.298e-05 3.298e-05 0.01% MLMG::mgVcycle_down::4 36 3.251e-05 3.251e-05 3.251e-05 0.01% Castro::clean_state() 30 3.247e-05 3.247e-05 3.247e-05 0.01% MLMG::mgVcycle_down::3 36 3.125e-05 3.125e-05 3.125e-05 0.01% Castro::post_restart() 1 2.853e-05 2.853e-05 2.853e-05 0.01% Castro::construct_old_source() 25 2.79e-05 2.79e-05 2.79e-05 0.01% MLMG::mgVcycle_up::4 36 2.643e-05 2.643e-05 2.643e-05 0.01% MLPoisson::define() 6 2.368e-05 2.368e-05 2.368e-05 0.01% MLMG::oneIter() 36 2.27e-05 2.27e-05 2.27e-05 0.01% MLCellLinOp::solutionResidual() 42 2.115e-05 2.115e-05 2.115e-05 0.00% MLMG::mgVcycle_up::3 36 2.111e-05 2.111e-05 2.111e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.105e-05 2.105e-05 2.105e-05 0.00% MLMG::mgVcycle_up::2 36 1.981e-05 1.981e-05 1.981e-05 0.00% MLMG::mgVcycle_up::0 36 1.974e-05 1.974e-05 1.974e-05 0.00% MLMG::mgVcycle_up::1 36 1.901e-05 1.901e-05 1.901e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.87e-05 1.87e-05 1.87e-05 0.00% FillPatchSingleLevel 20 1.716e-05 1.716e-05 1.716e-05 0.00% MLMG::ResNormInf() 42 1.651e-05 1.651e-05 1.651e-05 0.00% MLMG::computeResidual() 36 1.536e-05 1.536e-05 1.536e-05 0.00% MLMG::mgVcycle_bottom 36 1.391e-05 1.391e-05 1.391e-05 0.00% Castro::construct_new_gravity() 5 1.252e-05 1.252e-05 1.252e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.217e-05 1.217e-05 1.217e-05 0.00% Castro::construct_new_source() 25 1.093e-05 1.093e-05 1.093e-05 0.00% Castro::do_old_sources() 5 1.09e-05 1.09e-05 1.09e-05 0.00% Castro::do_new_sources() 5 9.605e-06 9.605e-06 9.605e-06 0.00% Castro::expand_state() 5 8.61e-06 8.61e-06 8.61e-06 0.00% Gravity::actual_multilevel_solve() 1 8.547e-06 8.547e-06 8.547e-06 0.00% Castro::construct_old_gravity() 5 6.441e-06 6.441e-06 6.441e-06 0.00% Castro::apply_source_to_state() 10 6.236e-06 6.236e-06 6.236e-06 0.00% MLPoisson::prepareForSolve() 6 4.314e-06 4.314e-06 4.314e-06 0.00% MLMG::computeMLResidual() 6 3.839e-06 3.839e-06 3.839e-06 0.00% MLMG::getGradSolution() 6 3.197e-06 3.197e-06 3.197e-06 0.00% Castro::computeNewDt() 5 2.923e-06 2.923e-06 2.923e-06 0.00% Amr::init() 1 9.4e-07 9.4e-07 9.4e-07 0.00% Other 2170 0.002502 0.002502 0.002502 0.55% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4517 0.4517 0.4517 100.00% Amr::coarseTimeStep() 5 0.3497 0.3497 0.3497 77.41% Amr::timeStep() 5 0.3476 0.3476 0.3476 76.94% Castro::advance() 5 0.3413 0.3413 0.3413 75.56% Castro::subcycle_advance_ctu() 5 0.3344 0.3344 0.3344 74.02% Castro::do_advance_ctu() 5 0.3342 0.3342 0.3342 73.99% Castro::construct_ctu_hydro_source() 5 0.1536 0.1536 0.1536 34.00% Castro::construct_new_gravity() 5 0.1441 0.1441 0.1441 31.90% Gravity::solve_phi_with_mlmg() 6 0.1415 0.1415 0.1415 31.33% Gravity::solve_for_phi() 5 0.136 0.136 0.136 30.11% Gravity::actual_solve_with_mlmg() 6 0.1358 0.1358 0.1358 30.06% MLMG::solve() 6 0.1233 0.1233 0.1233 27.29% MLMG::oneIter() 36 0.1152 0.1152 0.1152 25.49% MLMG::mgVcycle() 36 0.1135 0.1135 0.1135 25.12% Amr::init() 1 0.07225 0.07225 0.07225 15.99% Amr::restart() 1 0.07224 0.07224 0.07224 15.99% AmrLevel::restart() 1 0.06111 0.06111 0.06111 13.53% StateData::restartDoit() 4 0.06104 0.06104 0.06104 13.51% VisMF::Read() 3 0.06075 0.06075 0.06075 13.45% MLCellLinOp::smooth() 720 0.0573 0.0573 0.0573 12.68% MLCellLinOp::applyBC() 1910 0.05332 0.05332 0.05332 11.80% MLMG::mgVcycle_bottom 36 0.03329 0.03329 0.03329 7.37% MLMG::actualBottomSolve() 36 0.03327 0.03327 0.03327 7.37% MLCGSolver::bicgstab 36 0.03289 0.03289 0.03289 7.28% Amr::writePlotFile() 1 0.02909 0.02909 0.02909 6.44% Castro::clean_state() 30 0.02692 0.02692 0.02692 5.96% VisMF::Write(FabArray) 1 0.02651 0.02651 0.02651 5.87% AmrLevel::FillPatch() 20 0.02344 0.02344 0.02344 5.19% FillPatchIterator::Initialize 20 0.02129 0.02129 0.02129 4.71% FillPatchIterator::FillFromLevel0() 20 0.02047 0.02047 0.02047 4.53% FillPatchSingleLevel 20 0.02045 0.02045 0.02045 4.53% StateDataPhysBCFunct::() 20 0.01836 0.01836 0.01836 4.06% MLCellLinOp::apply() 464 0.01711 0.01711 0.01711 3.79% MLMG::mgVcycle_down::0 36 0.01663 0.01663 0.01663 3.68% MLPoisson::Fsmooth() 1440 0.01592 0.01592 0.01592 3.53% FabArray::FillBoundary() 1730 0.01565 0.01565 0.01565 3.46% FillBoundary_nowait() 1730 0.0153 0.0153 0.0153 3.39% StateData::FillBoundary(geom) 160 0.01294 0.01294 0.01294 2.86% MLMG::mgVcycle_up::0 36 0.01242 0.01242 0.01242 2.75% Castro::initialize_do_advance() 5 0.01139 0.01139 0.01139 2.52% Castro::computeTemp() 30 0.009952 0.009952 0.009952 2.20% MLPoisson::define() 6 0.009814 0.009814 0.009814 2.17% amrex::Dot() 484 0.009722 0.009722 0.009722 2.15% MLMG:computeResOfCorrection() 180 0.009588 0.009588 0.009588 2.12% MLCellLinOp::correctionResidual() 180 0.009535 0.009535 0.009535 2.11% FabArray::norminf() 465 0.009182 0.009182 0.009182 2.03% Castro::do_old_sources() 5 0.009042 0.009042 0.009042 2.00% Castro::normalize_species() 30 0.008828 0.008828 0.008828 1.95% Gravity::get_new_grav_vector() 5 0.007958 0.007958 0.007958 1.76% MLMG::mgVcycle_down::1 36 0.007852 0.007852 0.007852 1.74% Castro::construct_old_gravity() 5 0.007752 0.007752 0.007752 1.72% Gravity::get_old_grav_vector() 5 0.007745 0.007745 0.007745 1.71% MLMG::mgVcycle_down::2 36 0.007182 0.007182 0.007182 1.59% FabArray::ParallelCopy() 380 0.006977 0.006977 0.006977 1.54% MLMG::mgVcycle_down::3 36 0.006977 0.006977 0.006977 1.54% MLMG::mgVcycle_down::4 36 0.006935 0.006935 0.006935 1.54% FabArray::setVal() 501 0.006914 0.006914 0.006914 1.53% FabArray::ParallelCopy_nowait() 380 0.006867 0.006867 0.006867 1.52% Castro::enforce_min_density() 30 0.006827 0.006827 0.006827 1.51% MLCellLinOp::defineAuxData() 6 0.00662 0.00662 0.00662 1.47% Castro::initialize_advance() 5 0.006587 0.006587 0.006587 1.46% Castro::do_new_sources() 5 0.00652 0.00652 0.00652 1.44% Castro::expand_state() 5 0.006203 0.006203 0.006203 1.37% Castro::post_timestep() 5 0.006154 0.006154 0.006154 1.36% Castro::post_restart() 1 0.006136 0.006136 0.006136 1.36% FabArray::Saxpy() 597 0.006124 0.006124 0.006124 1.36% MLCGSolver::ParallelAllReduce 798 0.005873 0.005873 0.005873 1.30% MLMG::addInterpCorrection() 180 0.005753 0.005753 0.005753 1.27% Gravity::multilevel_solve_for_new_phi() 1 0.005726 0.005726 0.005726 1.27% Gravity::actual_multilevel_solve() 1 0.005707 0.005707 0.005707 1.26% amrex::Copy() 221 0.005652 0.005652 0.005652 1.25% MLMG::mgVcycle_up::1 36 0.005647 0.005647 0.005647 1.25% MLMG::mgVcycle_up::4 36 0.005592 0.005592 0.005592 1.24% Gravity::fill_multipole_BCs() 6 0.005589 0.005589 0.005589 1.24% MLMG::mgVcycle_up::2 36 0.00548 0.00548 0.00548 1.21% MLMG::mgVcycle_up::3 36 0.005385 0.005385 0.005385 1.19% amrex::average_down 180 0.005365 0.005365 0.005365 1.19% MLPoisson::Fapply() 464 0.004776 0.004776 0.004776 1.06% MLCellLinOp::solutionResidual() 42 0.003872 0.003872 0.003872 0.86% FabArray::Xpay() 325 0.003682 0.003682 0.003682 0.82% Castro::estTimeStep() 10 0.003148 0.003148 0.003148 0.70% MLCellLinOp::defineBC() 6 0.003036 0.003036 0.003036 0.67% MLMG::computeResidual() 36 0.003027 0.003027 0.003027 0.67% Castro::reset_internal_energy(MultiFab) 30 0.003016 0.003016 0.003016 0.67% MLMG::prepareForSolve() 6 0.002996 0.002996 0.002996 0.66% BndryData::define() 6 0.002885 0.002885 0.002885 0.64% Castro::computeNewDt() 5 0.001946 0.001946 0.001946 0.43% Castro::construct_new_source() 25 0.001783 0.001783 0.001783 0.39% Castro::construct_new_gravity_source() 5 0.001772 0.001772 0.001772 0.39% amrex::Add() 36 0.001653 0.001653 0.001653 0.37% Castro::construct_old_source() 25 0.001395 0.001395 0.001395 0.31% Castro::construct_old_gravity_source() 5 0.001367 0.001367 0.001367 0.30% Castro::enforce_speed_limit() 30 0.001282 0.001282 0.001282 0.28% Castro::finalize_do_advance() 5 0.001249 0.001249 0.001249 0.28% MLMG::ResNormInf() 42 0.001063 0.001063 0.001063 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001021 0.001021 0.001021 0.23% check_for_negative_density() 5 0.0009943 0.0009943 0.0009943 0.22% Castro::apply_source_to_state() 10 0.0009723 0.0009723 0.0009723 0.22% MLMG::getGradSolution() 6 0.000949 0.000949 0.000949 0.21% MLCellLinOp::compGrad() 6 0.0009458 0.0009458 0.0009458 0.21% MLCellLinOp::setLevelBC() 6 0.0009332 0.0009332 0.0009332 0.21% MLMG::computeMLResidual() 6 0.0008645 0.0008645 0.0008645 0.19% Castro::reset_internal_energy(Fab) 240 0.0008058 0.0008058 0.0008058 0.18% FabArrayBase::getCPC() 632 0.0008023 0.0008023 0.0008023 0.18% MLPoisson::prepareForSolve() 6 0.000782 0.000782 0.000782 0.17% MLCellLinOp::prepareForSolve() 6 0.0007777 0.0007777 0.0007777 0.17% Gravity::update_max_rhs() 6 0.0007731 0.0007731 0.0007731 0.17% FabArray::setDomainBndry() 20 0.0007229 0.0007229 0.0007229 0.16% FabArray::mult() 22 0.0007182 0.0007182 0.0007182 0.16% Other 2170 0.004474 0.004474 0.004474 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 11 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 1041 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1732 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 6463 KiB 14 MiB MLMG::prepareForSolve() 361 361 3351 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 178 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 180 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6450 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3419 B 2048 KiB Gravity::solve_for_phi() 40 40 615 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 308 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 198 KiB 671 KiB Castro::estTimeStep() 10 10 3334 B 480 KiB VisMF::Write(FabArray) 112 112 1305 B 320 KiB Castro::normalize_species() 30 30 6359 B 320 KiB amrex::average_down 469 469 1421 B 257 KiB MLMG::addInterpCorrection() 468 468 1087 B 257 KiB amrex::Dot() 592 592 3176 B 160 KiB FabArray::norminf() 501 501 3144 B 160 KiB check_for_negative_density() 5 5 354 B 160 KiB MultiFab::max() 6 6 84 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3248 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 289 B 9648 B MLCellLinOp::applyBC() 3820 3820 209 B 9344 B amrex::Copy() 56 56 5923 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 43 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 347 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 1356 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 81 KiB 8192 KiB VisMF::Write(FabArray) 120 120 166 KiB 3584 KiB VisMF::Read() 24 24 203 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3248 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 289 B 9648 B MLCellLinOp::applyBC() 1910 1910 208 B 9328 B amrex::Copy() 56 56 5923 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2535 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B StateData::FillBoundary(geom) 960 960 43 B 2784 B MLMG::prepareForSolve() 7 7 804 B 1648 B amrex::average_down 37 37 469 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-13-gdad25a49a99c) finalized