Initializing AMReX (24.04-24-gb752027c1aeb)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-24-gb752027c1aeb) initialized Starting run at 07:50:43 UTC on 2024-04-24. Successfully read inputs file ... Castro git describe: 24.04-19-g9935adf51 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.046338809 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025770657 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.066067237 [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.075937677 [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.07580385 [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.05472398 [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.069768268 [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.046701716 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.06815831 [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.077906554 [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.078634983 [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.060096665 [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.081837133 [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.04373477 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025713541 seconds Ending run at 07:50:44 UTC on 2024-04-24. Run time = 0.953605332 Run time without initialization = 0.825770281 Average number of zones advanced per microsecond: 3.175 Average number of zones advanced per microsecond per rank: 3.175 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9536 ... 0.9536 ... 0.9536 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.3187 0.3187 0.3187 33.42% VisMF::Write(FabArray) 11 0.1795 0.1795 0.1795 18.82% MLCellLinOp::applyBC() 4351 0.08228 0.08228 0.08228 8.63% MLPoisson::Fsmooth() 3280 0.0342 0.0342 0.0342 3.59% FillBoundary_nowait() 3941 0.03108 0.03108 0.03108 3.26% StateData::FillBoundary(geom) 328 0.02733 0.02733 0.02733 2.87% Castro::normalize_species() 62 0.02259 0.02259 0.02259 2.37% amrex::Dot() 1114 0.02204 0.02204 0.02204 2.31% FabArray::norminf() 1061 0.02037 0.02037 0.02037 2.14% Castro::computeTemp() 63 0.0163 0.0163 0.0163 1.71% FabArray::ParallelCopy_nowait() 861 0.01398 0.01398 0.01398 1.47% FabArray::setVal() 1062 0.0137 0.0137 0.0137 1.44% FabArray::Saxpy() 1370 0.01343 0.01343 0.01343 1.41% Castro::enforce_min_density() 62 0.01311 0.01311 0.01311 1.38% StateDataPhysBCFunct::() 41 0.0125 0.0125 0.0125 1.31% amrex::Copy() 472 0.01104 0.01104 0.01104 1.16% MLCellLinOp::defineAuxData() 11 0.01067 0.01067 0.01067 1.12% MLPoisson::Fapply() 1060 0.01055 0.01055 0.01055 1.11% Gravity::fill_multipole_BCs() 11 0.009663 0.009663 0.009663 1.01% FabArray::Xpay() 739 0.008034 0.008034 0.008034 0.84% MLMG::addInterpCorrection() 410 0.007136 0.007136 0.007136 0.75% Castro::estTimeStep() 21 0.006552 0.006552 0.006552 0.69% amrex::average_down 410 0.006329 0.006329 0.006329 0.66% Amr::checkPoint() 3 0.006061 0.006061 0.006061 0.64% Castro::reset_internal_energy(MultiFab) 63 0.00504 0.00504 0.00504 0.53% BndryData::define() 11 0.004105 0.004105 0.004105 0.43% amrex::Add() 82 0.003619 0.003619 0.003619 0.38% Castro::construct_new_gravity_source() 10 0.003588 0.003588 0.003588 0.38% Castro::construct_old_gravity_source() 10 0.003012 0.003012 0.003012 0.32% Castro::enforce_speed_limit() 62 0.002479 0.002479 0.002479 0.26% Amr::writePlotFile() 2 0.002189 0.002189 0.002189 0.23% check_for_negative_density() 10 0.002142 0.002142 0.002142 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001829 0.001829 0.001829 0.19% Castro::reset_internal_energy(Fab) 504 0.00181 0.00181 0.00181 0.19% MLCGSolver::bicgstab 82 0.001637 0.001637 0.001637 0.17% MLCellLinOp::setLevelBC() 11 0.001621 0.001621 0.001621 0.17% Castro::initData() 1 0.001579 0.001579 0.001579 0.17% Gravity::actual_solve_with_mlmg() 11 0.001552 0.001552 0.001552 0.16% FabArray::setDomainBndry() 41 0.001443 0.001443 0.001443 0.15% FabArray::mult() 43 0.001396 0.001396 0.001396 0.15% MLCellLinOp::prepareForSolve() 11 0.001336 0.001336 0.001336 0.14% MultiFab::contains_nan() 20 0.001282 0.001282 0.001282 0.13% MLCellLinOp::compGrad() 11 0.001101 0.001101 0.001101 0.12% MLCellLinOp::smooth() 1640 0.001087 0.001087 0.001087 0.11% MLMG::prepareForSolve() 11 0.0009883 0.0009883 0.0009883 0.10% FabArrayBase::getCPC() 1323 0.0007917 0.0007917 0.0007917 0.08% FabArray::FillBoundary() 3941 0.0007791 0.0007791 0.0007791 0.08% Gravity::get_new_grav_vector() 11 0.0006109 0.0006109 0.0006109 0.06% Gravity::get_old_grav_vector() 10 0.0004805 0.0004805 0.0004805 0.05% MLCellLinOp::apply() 1060 0.0004257 0.0004257 0.0004257 0.04% AmrLevel::FillPatch() 41 0.0004161 0.0004161 0.0004161 0.04% Amr::coarseTimeStep() 10 0.0003596 0.0003596 0.0003596 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003142 0.0003142 0.0003142 0.03% main() 1 0.0002832 0.0002832 0.0002832 0.03% MLCellLinOp::defineBC() 11 0.0002667 0.0002667 0.0002667 0.03% FabArray::ParallelCopy() 861 0.0002536 0.0002536 0.0002536 0.03% FillPatchIterator::Initialize 41 0.0002238 0.0002238 0.0002238 0.02% Castro::subcycle_advance_ctu() 10 0.0002123 0.0002123 0.0002123 0.02% MLMG::mgVcycle() 82 0.0001964 0.0001964 0.0001964 0.02% MLCellLinOp::correctionResidual() 410 0.0001717 0.0001717 0.0001717 0.02% Amr::timeStep() 10 0.0001504 0.0001504 0.0001504 0.02% Castro::advance() 10 0.000123 0.000123 0.000123 0.01% Gravity::solve_for_phi() 10 0.0001201 0.0001201 0.0001201 0.01% StateData::checkPoint() 12 0.0001146 0.0001146 0.0001146 0.01% MLMG:computeResOfCorrection() 410 0.0001076 0.0001076 0.0001076 0.01% MLMG::actualBottomSolve() 82 8.619e-05 8.619e-05 8.619e-05 0.01% Castro::clean_state() 62 8.24e-05 8.24e-05 8.24e-05 0.01% MLMG::solve() 11 8.179e-05 8.179e-05 8.179e-05 0.01% MLMG::mgVcycle_down::0 82 8.061e-05 8.061e-05 8.061e-05 0.01% AmrLevel::checkPoint() 3 7.91e-05 7.91e-05 7.91e-05 0.01% Castro::initialize_advance() 10 7.778e-05 7.778e-05 7.778e-05 0.01% Castro::construct_new_source() 50 7.77e-05 7.77e-05 7.77e-05 0.01% MLMG::mgVcycle_down::1 82 7.186e-05 7.186e-05 7.186e-05 0.01% MLMG::mgVcycle_down::2 82 7.043e-05 7.043e-05 7.043e-05 0.01% MLMG::mgVcycle_down::4 82 6.588e-05 6.588e-05 6.588e-05 0.01% MLMG::mgVcycle_down::3 82 6.37e-05 6.37e-05 6.37e-05 0.01% Castro::initialize_do_advance() 10 5.692e-05 5.692e-05 5.692e-05 0.01% MLMG::oneIter() 82 5.311e-05 5.311e-05 5.311e-05 0.01% MLMG::mgVcycle_up::4 82 5.251e-05 5.251e-05 5.251e-05 0.01% Castro::do_advance_ctu() 10 4.923e-05 4.923e-05 4.923e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.893e-05 4.893e-05 4.893e-05 0.01% MLMG::mgVcycle_up::0 82 4.889e-05 4.889e-05 4.889e-05 0.01% Castro::post_timestep() 10 4.746e-05 4.746e-05 4.746e-05 0.00% MLMG::mgVcycle_up::3 82 4.66e-05 4.66e-05 4.66e-05 0.00% MLCellLinOp::solutionResidual() 93 4.656e-05 4.656e-05 4.656e-05 0.00% MLMG::mgVcycle_up::1 82 4.656e-05 4.656e-05 4.656e-05 0.00% MLMG::mgVcycle_up::2 82 4.508e-05 4.508e-05 4.508e-05 0.00% Castro::finalize_do_advance() 10 4.468e-05 4.468e-05 4.468e-05 0.00% MLMG::mgVcycle_bottom 82 3.864e-05 3.864e-05 3.864e-05 0.00% FillPatchSingleLevel 41 3.665e-05 3.665e-05 3.665e-05 0.00% MLMG::ResNormInf() 93 3.623e-05 3.623e-05 3.623e-05 0.00% MLMG::computeResidual() 82 3.437e-05 3.437e-05 3.437e-05 0.00% Castro::construct_new_gravity() 10 3.206e-05 3.206e-05 3.206e-05 0.00% Amr::defBaseLevel() 1 3.035e-05 3.035e-05 3.035e-05 0.00% MLPoisson::define() 11 2.477e-05 2.477e-05 2.477e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.255e-05 2.255e-05 2.255e-05 0.00% Castro::do_old_sources() 10 2.186e-05 2.186e-05 2.186e-05 0.00% Castro::construct_old_source() 50 2.029e-05 2.029e-05 2.029e-05 0.00% Amr::FinalizeInit() 1 1.908e-05 1.908e-05 1.908e-05 0.00% Castro::do_new_sources() 10 1.883e-05 1.883e-05 1.883e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.848e-05 1.848e-05 1.848e-05 0.00% Gravity::actual_multilevel_solve() 1 1.581e-05 1.581e-05 1.581e-05 0.00% Castro::apply_source_to_state() 20 1.189e-05 1.189e-05 1.189e-05 0.00% MLMG::computeMLResidual() 11 1.143e-05 1.143e-05 1.143e-05 0.00% Castro::check_for_nan() 20 1.115e-05 1.115e-05 1.115e-05 0.00% Castro::construct_old_gravity() 10 1.078e-05 1.078e-05 1.078e-05 0.00% MLPoisson::prepareForSolve() 11 6.63e-06 6.63e-06 6.63e-06 0.00% Castro::computeNewDt() 9 6.391e-06 6.391e-06 6.391e-06 0.00% MLMG::getGradSolution() 11 6.114e-06 6.114e-06 6.114e-06 0.00% Castro::expand_state() 10 6.023e-06 6.023e-06 6.023e-06 0.00% Amr::InitializeInit() 1 5.461e-06 5.461e-06 5.461e-06 0.00% Castro::post_init() 1 5.069e-06 5.069e-06 5.069e-06 0.00% Amr::init() 1 2.66e-06 2.66e-06 2.66e-06 0.00% Amr::initialInit() 1 1.27e-06 1.27e-06 1.27e-06 0.00% Other 4753 0.003332 0.003332 0.003332 0.35% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9536 0.9536 0.9536 100.00% Amr::coarseTimeStep() 10 0.7998 0.7998 0.7998 83.87% Amr::timeStep() 10 0.7054 0.7054 0.7054 73.97% Castro::advance() 10 0.6942 0.6942 0.6942 72.80% Castro::subcycle_advance_ctu() 10 0.6797 0.6797 0.6797 71.27% Castro::do_advance_ctu() 10 0.6794 0.6794 0.6794 71.25% Castro::construct_ctu_hydro_source() 10 0.3307 0.3307 0.3307 34.68% Gravity::solve_phi_with_mlmg() 11 0.3003 0.3003 0.3003 31.49% Gravity::actual_solve_with_mlmg() 11 0.2902 0.2902 0.2902 30.43% Castro::construct_new_gravity() 10 0.2712 0.2712 0.2712 28.44% MLMG::solve() 11 0.2675 0.2675 0.2675 28.05% Gravity::solve_for_phi() 10 0.255 0.255 0.255 26.74% MLMG::oneIter() 82 0.2518 0.2518 0.2518 26.40% MLMG::mgVcycle() 82 0.2481 0.2481 0.2481 26.02% VisMF::Write(FabArray) 11 0.1795 0.1795 0.1795 18.82% Amr::checkPoint() 3 0.1369 0.1369 0.1369 14.35% AmrLevel::checkPoint() 3 0.1308 0.1308 0.1308 13.72% StateData::checkPoint() 12 0.1307 0.1307 0.1307 13.71% Amr::init() 1 0.1272 0.1272 0.1272 13.33% MLCellLinOp::smooth() 1640 0.1237 0.1237 0.1237 12.97% MLCellLinOp::applyBC() 4351 0.1148 0.1148 0.1148 12.04% MLMG::mgVcycle_bottom 82 0.07461 0.07461 0.07461 7.82% MLMG::actualBottomSolve() 82 0.07457 0.07457 0.07457 7.82% MLCGSolver::bicgstab 82 0.07375 0.07375 0.07375 7.73% Castro::clean_state() 62 0.06051 0.06051 0.06051 6.35% Amr::initialInit() 1 0.05493 0.05493 0.05493 5.76% Amr::writePlotFile() 2 0.05162 0.05162 0.05162 5.41% AmrLevel::FillPatch() 41 0.05006 0.05006 0.05006 5.25% Amr::FinalizeInit() 1 0.04996 0.04996 0.04996 5.24% Castro::post_init() 1 0.04842 0.04842 0.04842 5.08% FillPatchIterator::Initialize 41 0.04575 0.04575 0.04575 4.80% Gravity::multilevel_solve_for_new_phi() 1 0.04575 0.04575 0.04575 4.80% Gravity::actual_multilevel_solve() 1 0.04573 0.04573 0.04573 4.80% FillPatchIterator::FillFromLevel0() 41 0.04408 0.04408 0.04408 4.62% FillPatchSingleLevel 41 0.04403 0.04403 0.04403 4.62% StateDataPhysBCFunct::() 41 0.03983 0.03983 0.03983 4.18% MLCellLinOp::apply() 1060 0.03692 0.03692 0.03692 3.87% MLMG::mgVcycle_down::0 82 0.0351 0.0351 0.0351 3.68% MLPoisson::Fsmooth() 3280 0.0342 0.0342 0.0342 3.59% FabArray::FillBoundary() 3941 0.03257 0.03257 0.03257 3.42% FillBoundary_nowait() 3941 0.03179 0.03179 0.03179 3.33% StateData::FillBoundary(geom) 328 0.02733 0.02733 0.02733 2.87% MLMG::mgVcycle_up::0 82 0.02661 0.02661 0.02661 2.79% Castro::computeTemp() 63 0.02315 0.02315 0.02315 2.43% Castro::normalize_species() 62 0.02259 0.02259 0.02259 2.37% amrex::Dot() 1114 0.02204 0.02204 0.02204 2.31% Castro::initialize_do_advance() 10 0.02184 0.02184 0.02184 2.29% MLMG:computeResOfCorrection() 410 0.02076 0.02076 0.02076 2.18% MLCellLinOp::correctionResidual() 410 0.02066 0.02066 0.02066 2.17% Castro::do_old_sources() 10 0.02061 0.02061 0.02061 2.16% FabArray::norminf() 1061 0.02037 0.02037 0.02037 2.14% Gravity::get_new_grav_vector() 11 0.01845 0.01845 0.01845 1.93% MLPoisson::define() 11 0.01783 0.01783 0.01783 1.87% MLMG::mgVcycle_down::1 82 0.01698 0.01698 0.01698 1.78% Castro::construct_old_gravity() 10 0.01595 0.01595 0.01595 1.67% Gravity::get_old_grav_vector() 10 0.01594 0.01594 0.01594 1.67% MLMG::mgVcycle_down::2 82 0.01574 0.01574 0.01574 1.65% MLMG::mgVcycle_down::3 82 0.01537 0.01537 0.01537 1.61% Castro::do_new_sources() 10 0.01533 0.01533 0.01533 1.61% MLMG::mgVcycle_down::4 82 0.01526 0.01526 0.01526 1.60% FabArray::ParallelCopy() 861 0.01504 0.01504 0.01504 1.58% FabArray::ParallelCopy_nowait() 861 0.01478 0.01478 0.01478 1.55% Castro::initialize_advance() 10 0.01383 0.01383 0.01383 1.45% FabArray::setVal() 1062 0.0137 0.0137 0.0137 1.44% FabArray::Saxpy() 1370 0.01343 0.01343 0.01343 1.41% MLCGSolver::ParallelAllReduce 1832 0.01317 0.01317 0.01317 1.38% Castro::enforce_min_density() 62 0.01311 0.01311 0.01311 1.38% MLMG::addInterpCorrection() 410 0.01256 0.01256 0.01256 1.32% Castro::expand_state() 10 0.01236 0.01236 0.01236 1.30% MLMG::mgVcycle_up::1 82 0.01227 0.01227 0.01227 1.29% MLMG::mgVcycle_up::4 82 0.01216 0.01216 0.01216 1.28% MLCellLinOp::defineAuxData() 11 0.01214 0.01214 0.01214 1.27% MLMG::mgVcycle_up::2 82 0.012 0.012 0.012 1.26% MLMG::mgVcycle_up::3 82 0.01181 0.01181 0.01181 1.24% amrex::average_down 410 0.01177 0.01177 0.01177 1.23% amrex::Copy() 472 0.01104 0.01104 0.01104 1.16% Castro::post_timestep() 10 0.01101 0.01101 0.01101 1.15% MLPoisson::Fapply() 1060 0.01055 0.01055 0.01055 1.11% Gravity::fill_multipole_BCs() 11 0.0099 0.0099 0.0099 1.04% FabArray::Xpay() 739 0.008034 0.008034 0.008034 0.84% MLCellLinOp::solutionResidual() 93 0.007881 0.007881 0.007881 0.83% Castro::reset_internal_energy(MultiFab) 63 0.00685 0.00685 0.00685 0.72% MLMG::computeResidual() 82 0.006601 0.006601 0.006601 0.69% Castro::estTimeStep() 21 0.006552 0.006552 0.006552 0.69% MLCellLinOp::defineBC() 11 0.005408 0.005408 0.005408 0.57% MLMG::prepareForSolve() 11 0.005292 0.005292 0.005292 0.55% BndryData::define() 11 0.005141 0.005141 0.005141 0.54% Amr::InitializeInit() 1 0.004962 0.004962 0.004962 0.52% Amr::defBaseLevel() 1 0.004956 0.004956 0.004956 0.52% Castro::initData() 1 0.004268 0.004268 0.004268 0.45% Castro::construct_new_source() 50 0.003666 0.003666 0.003666 0.38% amrex::Add() 82 0.003619 0.003619 0.003619 0.38% Castro::construct_new_gravity_source() 10 0.003588 0.003588 0.003588 0.38% Castro::construct_old_source() 50 0.003032 0.003032 0.003032 0.32% Castro::construct_old_gravity_source() 10 0.003012 0.003012 0.003012 0.32% Castro::finalize_do_advance() 10 0.002821 0.002821 0.002821 0.30% Castro::computeNewDt() 9 0.002768 0.002768 0.002768 0.29% Castro::enforce_speed_limit() 62 0.002479 0.002479 0.002479 0.26% MLMG::ResNormInf() 93 0.002202 0.002202 0.002202 0.23% check_for_negative_density() 10 0.002142 0.002142 0.002142 0.22% Castro::apply_source_to_state() 20 0.001882 0.001882 0.001882 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001829 0.001829 0.001829 0.19% Castro::reset_internal_energy(Fab) 504 0.00181 0.00181 0.00181 0.19% MLMG::getGradSolution() 11 0.001641 0.001641 0.001641 0.17% MLCellLinOp::compGrad() 11 0.001635 0.001635 0.001635 0.17% MLCellLinOp::setLevelBC() 11 0.001621 0.001621 0.001621 0.17% FabArrayBase::getCPC() 1323 0.001477 0.001477 0.001477 0.15% FabArray::setDomainBndry() 41 0.001443 0.001443 0.001443 0.15% FabArray::mult() 43 0.001396 0.001396 0.001396 0.15% MLPoisson::prepareForSolve() 11 0.001342 0.001342 0.001342 0.14% MLCellLinOp::prepareForSolve() 11 0.001336 0.001336 0.001336 0.14% MLMG::computeMLResidual() 11 0.001325 0.001325 0.001325 0.14% Castro::check_for_nan() 20 0.001293 0.001293 0.001293 0.14% MultiFab::contains_nan() 20 0.001282 0.001282 0.001282 0.13% Other 4753 0.009331 0.009331 0.009331 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 5552 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 1023 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1511 KiB 28 MiB Castro::initialize_advance() 80 80 17 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7616 KiB 14 MiB MLMG::prepareForSolve() 660 660 3451 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 201 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 171 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7520 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2047 B 2048 KiB Gravity::solve_for_phi() 80 80 547 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 98 KiB 2048 KiB BndryData::define() 1056 1056 315 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 201 KiB 671 KiB Castro::estTimeStep() 21 21 3355 B 480 KiB VisMF::Write(FabArray) 656 656 3253 B 320 KiB Castro::normalize_species() 62 62 7715 B 320 KiB amrex::average_down 1067 1067 1583 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1128 B 257 KiB amrex::Dot() 1360 1360 3413 B 160 KiB FabArray::norminf() 1143 1143 3303 B 160 KiB check_for_negative_density() 10 10 351 B 160 KiB Castro::initData() 1 1 50 B 160 KiB MultiFab::max() 11 11 55 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3368 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 283 B 9648 B MLCellLinOp::applyBC() 8702 8702 214 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3939 B 6144 B StateData::FillBoundary(geom) 1992 1992 44 B 2928 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 355 B 1248 B MLCGSolver::bicgstab 410 410 93 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 527 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 38 KiB 8192 KiB VisMF::Write(FabArray) 744 744 412 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3368 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 283 B 9648 B MLCellLinOp::applyBC() 4351 4351 212 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3939 B 6144 B Gravity::get_new_grav_vector() 3 3 2898 B 3072 B StateData::FillBoundary(geom) 1992 1992 45 B 2928 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 287 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 B 400 B FabArray::norminf() 1143 1143 9 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2105 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.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:50:44 UTC on 2024-04-24. Successfully read inputs file ... Castro git describe: 24.04-19-g9935adf51 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.51687834 Restart time = 0.071806872 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.069676147 [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.052623006 [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.080402475 [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.078681804 [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.056719695 [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.077601703 seconds Ending run at 07:50:45 UTC on 2024-04-24. Run time = 0.488609476 Run time without initialization = 0.416159702 Average number of zones advanced per microsecond: 3.150 Average number of zones advanced per microsecond per rank: 3.150 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4887 ... 0.4887 ... 0.4887 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1436 0.1436 0.1436 29.38% VisMF::Read() 3 0.06047 0.06047 0.06047 12.38% Amr::writePlotFile() 1 0.05217 0.05217 0.05217 10.68% MLCellLinOp::applyBC() 1910 0.03688 0.03688 0.03688 7.55% VisMF::Write(FabArray) 1 0.02525 0.02525 0.02525 5.17% MLPoisson::Fsmooth() 1440 0.01519 0.01519 0.01519 3.11% StateData::FillBoundary(geom) 160 0.01381 0.01381 0.01381 2.83% FillBoundary_nowait() 1730 0.01308 0.01308 0.01308 2.68% amrex::Dot() 484 0.009524 0.009524 0.009524 1.95% Castro::normalize_species() 30 0.00902 0.00902 0.00902 1.85% FabArray::norminf() 465 0.008901 0.008901 0.008901 1.82% FabArray::setVal() 501 0.006767 0.006767 0.006767 1.38% Castro::computeTemp() 30 0.006467 0.006467 0.006467 1.32% FabArray::ParallelCopy_nowait() 380 0.006369 0.006369 0.006369 1.30% FabArray::Saxpy() 597 0.006069 0.006069 0.006069 1.24% MLCellLinOp::defineAuxData() 6 0.005882 0.005882 0.005882 1.20% amrex::Copy() 221 0.005572 0.005572 0.005572 1.14% StateDataPhysBCFunct::() 20 0.005275 0.005275 0.005275 1.08% Gravity::fill_multipole_BCs() 6 0.00521 0.00521 0.00521 1.07% Amr::restart() 1 0.004875 0.004875 0.004875 1.00% MLPoisson::Fapply() 464 0.004607 0.004607 0.004607 0.94% Castro::enforce_min_density() 30 0.004102 0.004102 0.004102 0.84% FabArray::Xpay() 325 0.003596 0.003596 0.003596 0.74% MLMG::addInterpCorrection() 180 0.00318 0.00318 0.00318 0.65% amrex::average_down 180 0.002855 0.002855 0.002855 0.58% Castro::estTimeStep() 10 0.002672 0.002672 0.002672 0.55% Castro::enforce_speed_limit() 30 0.002415 0.002415 0.002415 0.49% BndryData::define() 6 0.002307 0.002307 0.002307 0.47% Castro::construct_new_gravity_source() 5 0.00177 0.00177 0.00177 0.36% amrex::Add() 36 0.001549 0.001549 0.001549 0.32% Castro::reset_internal_energy(MultiFab) 30 0.001502 0.001502 0.001502 0.31% Castro::construct_old_gravity_source() 5 0.001415 0.001415 0.001415 0.29% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001031 0.001031 0.001031 0.21% check_for_negative_density() 5 0.0009403 0.0009403 0.0009403 0.19% MLCellLinOp::setLevelBC() 6 0.0009186 0.0009186 0.0009186 0.19% Gravity::actual_solve_with_mlmg() 6 0.0008661 0.0008661 0.0008661 0.18% Castro::reset_internal_energy(Fab) 240 0.0008484 0.0008484 0.0008484 0.17% MLCellLinOp::prepareForSolve() 6 0.0007816 0.0007816 0.0007816 0.16% MLCGSolver::bicgstab 36 0.0007327 0.0007327 0.0007327 0.15% FabArray::setDomainBndry() 20 0.0007099 0.0007099 0.0007099 0.15% FabArray::mult() 22 0.0006983 0.0006983 0.0006983 0.14% MLCellLinOp::compGrad() 6 0.0006093 0.0006093 0.0006093 0.12% MLMG::prepareForSolve() 6 0.0005768 0.0005768 0.0005768 0.12% MLCellLinOp::smooth() 720 0.0005162 0.0005162 0.0005162 0.11% FabArrayBase::getCPC() 632 0.0003847 0.0003847 0.0003847 0.08% FabArray::FillBoundary() 1730 0.0003481 0.0003481 0.0003481 0.07% Gravity::get_old_grav_vector() 5 0.0003265 0.0003265 0.0003265 0.07% main() 1 0.0002687 0.0002687 0.0002687 0.05% Gravity::get_new_grav_vector() 5 0.0002605 0.0002605 0.0002605 0.05% AmrLevel::FillPatch() 20 0.0002075 0.0002075 0.0002075 0.04% MLCellLinOp::apply() 464 0.0001975 0.0001975 0.0001975 0.04% Amr::coarseTimeStep() 5 0.0001962 0.0001962 0.0001962 0.04% MLCellLinOp::defineBC() 6 0.0001522 0.0001522 0.0001522 0.03% MLCGSolver::ParallelAllReduce 798 0.0001383 0.0001383 0.0001383 0.03% FabArray::ParallelCopy() 380 0.0001317 0.0001317 0.0001317 0.03% Castro::subcycle_advance_ctu() 5 0.0001207 0.0001207 0.0001207 0.02% FillPatchIterator::Initialize 20 0.0001095 0.0001095 0.0001095 0.02% Amr::timeStep() 5 9.336e-05 9.336e-05 9.336e-05 0.02% MLMG::mgVcycle() 36 8.86e-05 8.86e-05 8.86e-05 0.02% Castro::do_advance_ctu() 5 8.834e-05 8.834e-05 8.834e-05 0.02% AmrLevel::restart() 1 8.354e-05 8.354e-05 8.354e-05 0.02% Castro::finalize_do_advance() 5 8.321e-05 8.321e-05 8.321e-05 0.02% MLCellLinOp::correctionResidual() 180 7.868e-05 7.868e-05 7.868e-05 0.02% StateData::restartDoit() 4 6.854e-05 6.854e-05 6.854e-05 0.01% Gravity::update_max_rhs() 6 6.223e-05 6.223e-05 6.223e-05 0.01% Castro::do_new_sources() 5 5.613e-05 5.613e-05 5.613e-05 0.01% Gravity::solve_for_phi() 5 5.31e-05 5.31e-05 5.31e-05 0.01% Castro::construct_new_source() 25 5.247e-05 5.247e-05 5.247e-05 0.01% MLMG:computeResOfCorrection() 180 4.788e-05 4.788e-05 4.788e-05 0.01% MLMG::actualBottomSolve() 36 3.869e-05 3.869e-05 3.869e-05 0.01% MLMG::solve() 6 3.649e-05 3.649e-05 3.649e-05 0.01% MLMG::mgVcycle_down::0 36 3.603e-05 3.603e-05 3.603e-05 0.01% Castro::initialize_advance() 5 3.551e-05 3.551e-05 3.551e-05 0.01% Castro::clean_state() 30 3.521e-05 3.521e-05 3.521e-05 0.01% Castro::advance() 5 3.452e-05 3.452e-05 3.452e-05 0.01% MLMG::mgVcycle_down::1 36 3.391e-05 3.391e-05 3.391e-05 0.01% Castro::post_timestep() 5 3.303e-05 3.303e-05 3.303e-05 0.01% MLMG::mgVcycle_down::2 36 3.099e-05 3.099e-05 3.099e-05 0.01% MLMG::mgVcycle_down::4 36 2.984e-05 2.984e-05 2.984e-05 0.01% Castro::initialize_do_advance() 5 2.896e-05 2.896e-05 2.896e-05 0.01% MLMG::mgVcycle_down::3 36 2.843e-05 2.843e-05 2.843e-05 0.01% Castro::construct_old_source() 25 2.822e-05 2.822e-05 2.822e-05 0.01% MLMG::mgVcycle_up::3 36 2.46e-05 2.46e-05 2.46e-05 0.01% MLMG::oneIter() 36 2.427e-05 2.427e-05 2.427e-05 0.00% MLMG::mgVcycle_up::4 36 2.379e-05 2.379e-05 2.379e-05 0.00% Castro::post_restart() 1 2.34e-05 2.34e-05 2.34e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.299e-05 2.299e-05 2.299e-05 0.00% MLCellLinOp::solutionResidual() 42 2.172e-05 2.172e-05 2.172e-05 0.00% MLMG::mgVcycle_up::0 36 1.895e-05 1.895e-05 1.895e-05 0.00% MLMG::mgVcycle_up::2 36 1.848e-05 1.848e-05 1.848e-05 0.00% MLPoisson::define() 6 1.755e-05 1.755e-05 1.755e-05 0.00% MLMG::ResNormInf() 42 1.754e-05 1.754e-05 1.754e-05 0.00% MLMG::mgVcycle_up::1 36 1.696e-05 1.696e-05 1.696e-05 0.00% FillPatchSingleLevel 20 1.68e-05 1.68e-05 1.68e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.605e-05 1.605e-05 1.605e-05 0.00% MLMG::computeResidual() 36 1.537e-05 1.537e-05 1.537e-05 0.00% MLMG::mgVcycle_bottom 36 1.493e-05 1.493e-05 1.493e-05 0.00% Gravity::actual_multilevel_solve() 1 1.492e-05 1.492e-05 1.492e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.416e-05 1.416e-05 1.416e-05 0.00% Castro::construct_new_gravity() 5 1.322e-05 1.322e-05 1.322e-05 0.00% Castro::do_old_sources() 5 1.145e-05 1.145e-05 1.145e-05 0.00% Castro::expand_state() 5 8.067e-06 8.067e-06 8.067e-06 0.00% Castro::apply_source_to_state() 10 6.056e-06 6.056e-06 6.056e-06 0.00% Castro::construct_old_gravity() 5 5.708e-06 5.708e-06 5.708e-06 0.00% MLMG::computeMLResidual() 6 4.596e-06 4.596e-06 4.596e-06 0.00% MLPoisson::prepareForSolve() 6 3.719e-06 3.719e-06 3.719e-06 0.00% Castro::computeNewDt() 5 3.598e-06 3.598e-06 3.598e-06 0.00% MLMG::getGradSolution() 6 3.249e-06 3.249e-06 3.249e-06 0.00% Amr::init() 1 1.035e-06 1.035e-06 1.035e-06 0.00% Other 2170 0.002549 0.002549 0.002549 0.52% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4886 0.4886 0.4886 100.00% Amr::coarseTimeStep() 5 0.3383 0.3383 0.3383 69.23% Amr::timeStep() 5 0.3364 0.3364 0.3364 68.84% Castro::advance() 5 0.3313 0.3313 0.3313 67.80% Castro::subcycle_advance_ctu() 5 0.324 0.324 0.324 66.30% Castro::do_advance_ctu() 5 0.3239 0.3239 0.3239 66.28% Castro::construct_ctu_hydro_source() 5 0.1492 0.1492 0.1492 30.53% Castro::construct_new_gravity() 5 0.1396 0.1396 0.1396 28.58% Gravity::solve_phi_with_mlmg() 6 0.1367 0.1367 0.1367 27.98% Gravity::solve_for_phi() 5 0.1314 0.1314 0.1314 26.89% Gravity::actual_solve_with_mlmg() 6 0.1312 0.1312 0.1312 26.86% MLMG::solve() 6 0.1186 0.1186 0.1186 24.27% MLMG::oneIter() 36 0.1107 0.1107 0.1107 22.65% MLMG::mgVcycle() 36 0.1091 0.1091 0.1091 22.32% Amr::writePlotFile() 1 0.07769 0.07769 0.07769 15.90% Amr::init() 1 0.07186 0.07186 0.07186 14.70% Amr::restart() 1 0.07186 0.07186 0.07186 14.70% AmrLevel::restart() 1 0.06085 0.06085 0.06085 12.45% StateData::restartDoit() 4 0.06076 0.06076 0.06076 12.43% VisMF::Read() 3 0.06047 0.06047 0.06047 12.38% MLCellLinOp::smooth() 720 0.05438 0.05438 0.05438 11.13% MLCellLinOp::applyBC() 1910 0.05064 0.05064 0.05064 10.36% MLMG::mgVcycle_bottom 36 0.03263 0.03263 0.03263 6.68% MLMG::actualBottomSolve() 36 0.03261 0.03261 0.03261 6.67% MLCGSolver::bicgstab 36 0.03223 0.03223 0.03223 6.60% VisMF::Write(FabArray) 1 0.02525 0.02525 0.02525 5.17% Castro::clean_state() 30 0.02439 0.02439 0.02439 4.99% AmrLevel::FillPatch() 20 0.02415 0.02415 0.02415 4.94% FillPatchIterator::Initialize 20 0.02202 0.02202 0.02202 4.51% FillPatchIterator::FillFromLevel0() 20 0.0212 0.0212 0.0212 4.34% FillPatchSingleLevel 20 0.02118 0.02118 0.02118 4.33% StateDataPhysBCFunct::() 20 0.01908 0.01908 0.01908 3.90% MLCellLinOp::apply() 464 0.01648 0.01648 0.01648 3.37% MLMG::mgVcycle_down::0 36 0.01539 0.01539 0.01539 3.15% MLPoisson::Fsmooth() 1440 0.01519 0.01519 0.01519 3.11% StateData::FillBoundary(geom) 160 0.01381 0.01381 0.01381 2.83% FabArray::FillBoundary() 1730 0.01376 0.01376 0.01376 2.82% FillBoundary_nowait() 1730 0.01341 0.01341 0.01341 2.74% MLMG::mgVcycle_up::0 36 0.01146 0.01146 0.01146 2.34% Castro::initialize_do_advance() 5 0.01052 0.01052 0.01052 2.15% MLPoisson::define() 6 0.009951 0.009951 0.009951 2.04% amrex::Dot() 484 0.009524 0.009524 0.009524 1.95% Castro::do_old_sources() 5 0.009297 0.009297 0.009297 1.90% MLMG:computeResOfCorrection() 180 0.009128 0.009128 0.009128 1.87% MLCellLinOp::correctionResidual() 180 0.00908 0.00908 0.00908 1.86% Castro::normalize_species() 30 0.00902 0.00902 0.00902 1.85% FabArray::norminf() 465 0.008901 0.008901 0.008901 1.82% Castro::computeTemp() 30 0.008817 0.008817 0.008817 1.80% Gravity::get_new_grav_vector() 5 0.008103 0.008103 0.008103 1.66% Castro::construct_old_gravity() 5 0.00796 0.00796 0.00796 1.63% Gravity::get_old_grav_vector() 5 0.007954 0.007954 0.007954 1.63% MLMG::mgVcycle_down::1 36 0.00764 0.00764 0.00764 1.56% MLMG::mgVcycle_down::2 36 0.006987 0.006987 0.006987 1.43% Castro::initialize_advance() 5 0.006976 0.006976 0.006976 1.43% FabArray::ParallelCopy() 380 0.006898 0.006898 0.006898 1.41% MLMG::mgVcycle_down::3 36 0.006803 0.006803 0.006803 1.39% FabArray::setVal() 501 0.006767 0.006767 0.006767 1.38% FabArray::ParallelCopy_nowait() 380 0.006766 0.006766 0.006766 1.38% MLMG::mgVcycle_down::4 36 0.006752 0.006752 0.006752 1.38% MLCellLinOp::defineAuxData() 6 0.006726 0.006726 0.006726 1.38% Castro::expand_state() 5 0.006424 0.006424 0.006424 1.31% FabArray::Saxpy() 597 0.006069 0.006069 0.006069 1.24% Castro::post_restart() 1 0.00593 0.00593 0.00593 1.21% MLCGSolver::ParallelAllReduce 798 0.00575 0.00575 0.00575 1.18% Castro::do_new_sources() 5 0.00569 0.00569 0.00569 1.16% MLMG::addInterpCorrection() 180 0.005581 0.005581 0.005581 1.14% amrex::Copy() 221 0.005572 0.005572 0.005572 1.14% Gravity::multilevel_solve_for_new_phi() 1 0.005559 0.005559 0.005559 1.14% Gravity::actual_multilevel_solve() 1 0.005543 0.005543 0.005543 1.13% MLMG::mgVcycle_up::1 36 0.005417 0.005417 0.005417 1.11% MLMG::mgVcycle_up::4 36 0.005401 0.005401 0.005401 1.11% Gravity::fill_multipole_BCs() 6 0.005341 0.005341 0.005341 1.09% MLMG::mgVcycle_up::2 36 0.005312 0.005312 0.005312 1.09% amrex::average_down 180 0.00527 0.00527 0.00527 1.08% MLMG::mgVcycle_up::3 36 0.005218 0.005218 0.005218 1.07% Castro::post_timestep() 5 0.004975 0.004975 0.004975 1.02% MLPoisson::Fapply() 464 0.004607 0.004607 0.004607 0.94% Castro::enforce_min_density() 30 0.004102 0.004102 0.004102 0.84% MLCellLinOp::solutionResidual() 42 0.003755 0.003755 0.003755 0.77% FabArray::Xpay() 325 0.003596 0.003596 0.003596 0.74% MLCellLinOp::defineBC() 6 0.003061 0.003061 0.003061 0.63% MLMG::prepareForSolve() 6 0.002995 0.002995 0.002995 0.61% MLMG::computeResidual() 36 0.002922 0.002922 0.002922 0.60% BndryData::define() 6 0.002909 0.002909 0.002909 0.60% Castro::estTimeStep() 10 0.002672 0.002672 0.002672 0.55% Castro::enforce_speed_limit() 30 0.002415 0.002415 0.002415 0.49% Castro::reset_internal_energy(MultiFab) 30 0.002351 0.002351 0.002351 0.48% Castro::construct_new_source() 25 0.001823 0.001823 0.001823 0.37% Castro::construct_new_gravity_source() 5 0.00177 0.00177 0.00177 0.36% Castro::computeNewDt() 5 0.001705 0.001705 0.001705 0.35% amrex::Add() 36 0.001549 0.001549 0.001549 0.32% Castro::construct_old_source() 25 0.001443 0.001443 0.001443 0.30% Castro::construct_old_gravity_source() 5 0.001415 0.001415 0.001415 0.29% Castro::finalize_do_advance() 5 0.001053 0.001053 0.001053 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001031 0.001031 0.001031 0.21% MLMG::ResNormInf() 42 0.001007 0.001007 0.001007 0.21% Castro::apply_source_to_state() 10 0.0009654 0.0009654 0.0009654 0.20% check_for_negative_density() 5 0.0009403 0.0009403 0.0009403 0.19% MLCellLinOp::setLevelBC() 6 0.0009186 0.0009186 0.0009186 0.19% MLMG::getGradSolution() 6 0.0009081 0.0009081 0.0009081 0.19% MLCellLinOp::compGrad() 6 0.0009049 0.0009049 0.0009049 0.19% MLMG::computeMLResidual() 6 0.0008532 0.0008532 0.0008532 0.17% Castro::reset_internal_energy(Fab) 240 0.0008484 0.0008484 0.0008484 0.17% FabArrayBase::getCPC() 632 0.0008123 0.0008123 0.0008123 0.17% MLPoisson::prepareForSolve() 6 0.0007853 0.0007853 0.0007853 0.16% MLCellLinOp::prepareForSolve() 6 0.0007816 0.0007816 0.0007816 0.16% Gravity::update_max_rhs() 6 0.0007295 0.0007295 0.0007295 0.15% FabArray::setDomainBndry() 20 0.0007099 0.0007099 0.0007099 0.15% FabArray::mult() 22 0.0006983 0.0006983 0.0006983 0.14% Other 2170 0.004475 0.004475 0.004475 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 10 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 994 KiB 39 MiB Castro::initialize_do_advance() 40 40 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1530 KiB 28 MiB Castro::initialize_advance() 40 40 15 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6549 KiB 14 MiB MLMG::prepareForSolve() 361 361 2979 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 169 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 169 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6538 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 17 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2976 B 2048 KiB Gravity::solve_for_phi() 40 40 549 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 23 KiB 2048 KiB BndryData::define() 576 576 275 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 176 KiB 671 KiB Castro::estTimeStep() 10 10 2606 B 480 KiB VisMF::Write(FabArray) 112 112 1166 B 320 KiB Castro::normalize_species() 30 30 6007 B 320 KiB amrex::average_down 469 469 1328 B 257 KiB MLMG::addInterpCorrection() 468 468 977 B 257 KiB amrex::Dot() 592 592 2873 B 160 KiB FabArray::norminf() 501 501 2816 B 160 KiB check_for_negative_density() 5 5 309 B 160 KiB MultiFab::max() 6 6 65 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 27 B 20 KiB MLPoisson::Fsmooth() 60 60 2886 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 40 B 10 KiB FillBoundary_nowait() 336 336 230 B 9648 B MLCellLinOp::applyBC() 3820 3820 187 B 9344 B amrex::Copy() 56 56 5852 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 39 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 308 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 1016 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 75 KiB 8192 KiB VisMF::Write(FabArray) 120 120 143 KiB 3584 KiB VisMF::Read() 24 24 188 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 2886 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 40 B 10 KiB FillBoundary_nowait() 336 336 230 B 9648 B MLCellLinOp::applyBC() 1910 1910 185 B 9328 B amrex::Copy() 56 56 5852 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2576 B 3072 B StateData::FillBoundary(geom) 960 960 39 B 3024 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B MLMG::prepareForSolve() 7 7 781 B 1648 B amrex::average_down 37 37 477 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