Initializing AMReX (24.05-18-g8eff86d32d17)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-18-g8eff86d32d17) initialized Starting run at 07:58:45 UTC on 2024-05-15. Successfully read inputs file ... Castro git describe: 24.05-8-g16ad4929f AMReX git describe: 24.05-18-g8eff86d32 Microphysics git describe: 24.05-5-g87839b75 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.045173965 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024743202 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.067315297 [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.074446267 [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.080576588 [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.075815974 [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.062563559 [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.044575718 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.072728041 [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.074360925 [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.061684862 [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.059515471 [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.082325658 [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.069408077 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.024795867 seconds Ending run at 07:58:46 UTC on 2024-05-15. Run time = 0.976232143 Run time without initialization = 0.85087083 Average number of zones advanced per microsecond: 3.081 Average number of zones advanced per microsecond per rank: 3.081 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9763 ... 0.9763 ... 0.9763 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.3135 0.3135 0.3135 32.12% VisMF::Write(FabArray) 11 0.174 0.174 0.174 17.82% MLCellLinOp::applyBC() 4351 0.08154 0.08154 0.08154 8.35% MLPoisson::Fsmooth() 3280 0.03413 0.03413 0.03413 3.50% StateData::FillBoundary(geom) 328 0.03395 0.03395 0.03395 3.48% Amr::checkPoint() 3 0.03204 0.03204 0.03204 3.28% FillBoundary_nowait() 3941 0.03115 0.03115 0.03115 3.19% Castro::normalize_species() 62 0.02286 0.02286 0.02286 2.34% amrex::Dot() 1114 0.02185 0.02185 0.02185 2.24% FabArray::norminf() 1061 0.02028 0.02028 0.02028 2.08% Castro::computeTemp() 63 0.01881 0.01881 0.01881 1.93% FabArray::ParallelCopy_nowait() 861 0.01393 0.01393 0.01393 1.43% FabArray::setVal() 1062 0.01372 0.01372 0.01372 1.41% Castro::enforce_min_density() 62 0.01342 0.01342 0.01342 1.37% FabArray::Saxpy() 1370 0.01336 0.01336 0.01336 1.37% StateDataPhysBCFunct::() 41 0.01224 0.01224 0.01224 1.25% amrex::Copy() 472 0.01102 0.01102 0.01102 1.13% MLPoisson::Fapply() 1060 0.01057 0.01057 0.01057 1.08% MLCellLinOp::defineAuxData() 11 0.01039 0.01039 0.01039 1.06% Gravity::fill_multipole_BCs() 11 0.009773 0.009773 0.009773 1.00% FabArray::Xpay() 739 0.008002 0.008002 0.008002 0.82% MLMG::addInterpCorrection() 410 0.007117 0.007117 0.007117 0.73% Castro::estTimeStep() 21 0.006386 0.006386 0.006386 0.65% amrex::average_down 410 0.006305 0.006305 0.006305 0.65% Castro::reset_internal_energy(MultiFab) 63 0.004928 0.004928 0.004928 0.50% BndryData::define() 11 0.004096 0.004096 0.004096 0.42% amrex::Add() 82 0.00362 0.00362 0.00362 0.37% Castro::construct_new_gravity_source() 10 0.003447 0.003447 0.003447 0.35% Castro::construct_old_gravity_source() 10 0.00332 0.00332 0.00332 0.34% Amr::writePlotFile() 2 0.002192 0.002192 0.002192 0.22% check_for_negative_density() 10 0.002086 0.002086 0.002086 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001828 0.001828 0.001828 0.19% Castro::reset_internal_energy(Fab) 504 0.001821 0.001821 0.001821 0.19% MLCGSolver::bicgstab 82 0.001679 0.001679 0.001679 0.17% Castro::enforce_speed_limit() 62 0.001672 0.001672 0.001672 0.17% MLCellLinOp::setLevelBC() 11 0.001621 0.001621 0.001621 0.17% Castro::initData() 1 0.001589 0.001589 0.001589 0.16% Gravity::actual_solve_with_mlmg() 11 0.001544 0.001544 0.001544 0.16% FabArray::setDomainBndry() 41 0.001424 0.001424 0.001424 0.15% FabArray::mult() 43 0.001384 0.001384 0.001384 0.14% MLCellLinOp::prepareForSolve() 11 0.001342 0.001342 0.001342 0.14% MultiFab::contains_nan() 20 0.001265 0.001265 0.001265 0.13% MLCellLinOp::smooth() 1640 0.001216 0.001216 0.001216 0.12% MLCellLinOp::compGrad() 11 0.001059 0.001059 0.001059 0.11% MLMG::prepareForSolve() 11 0.000966 0.000966 0.000966 0.10% FabArray::FillBoundary() 3941 0.0008079 0.0008079 0.0008079 0.08% FabArrayBase::getCPC() 1323 0.0007873 0.0007873 0.0007873 0.08% Gravity::get_new_grav_vector() 11 0.0006073 0.0006073 0.0006073 0.06% Gravity::get_old_grav_vector() 10 0.0004939 0.0004939 0.0004939 0.05% MLCellLinOp::apply() 1060 0.0004908 0.0004908 0.0004908 0.05% AmrLevel::FillPatch() 41 0.0004105 0.0004105 0.0004105 0.04% Amr::coarseTimeStep() 10 0.0003954 0.0003954 0.0003954 0.04% main() 1 0.0003192 0.0003192 0.0003192 0.03% MLCGSolver::ParallelAllReduce 1832 0.0003143 0.0003143 0.0003143 0.03% FabArray::ParallelCopy() 861 0.0002698 0.0002698 0.0002698 0.03% MLCellLinOp::defineBC() 11 0.0002594 0.0002594 0.0002594 0.03% FillPatchIterator::Initialize 41 0.0002307 0.0002307 0.0002307 0.02% Castro::subcycle_advance_ctu() 10 0.0002064 0.0002064 0.0002064 0.02% MLMG::mgVcycle() 82 0.0002003 0.0002003 0.0002003 0.02% MLCellLinOp::correctionResidual() 410 0.0001866 0.0001866 0.0001866 0.02% Amr::timeStep() 10 0.0001465 0.0001465 0.0001465 0.02% StateData::checkPoint() 12 0.0001267 0.0001267 0.0001267 0.01% Castro::advance() 10 0.0001257 0.0001257 0.0001257 0.01% MLMG:computeResOfCorrection() 410 0.0001147 0.0001147 0.0001147 0.01% Gravity::solve_for_phi() 10 0.0001059 0.0001059 0.0001059 0.01% AmrLevel::checkPoint() 3 8.931e-05 8.931e-05 8.931e-05 0.01% MLMG::actualBottomSolve() 82 8.397e-05 8.397e-05 8.397e-05 0.01% Castro::initialize_advance() 10 8.157e-05 8.157e-05 8.157e-05 0.01% MLMG::mgVcycle_down::0 82 7.903e-05 7.903e-05 7.903e-05 0.01% Castro::clean_state() 62 7.639e-05 7.639e-05 7.639e-05 0.01% MLMG::solve() 11 7.414e-05 7.414e-05 7.414e-05 0.01% MLMG::mgVcycle_down::1 82 7.159e-05 7.159e-05 7.159e-05 0.01% MLMG::mgVcycle_down::2 82 7.061e-05 7.061e-05 7.061e-05 0.01% MLMG::mgVcycle_down::4 82 6.631e-05 6.631e-05 6.631e-05 0.01% MLMG::mgVcycle_down::3 82 6.329e-05 6.329e-05 6.329e-05 0.01% MLMG::oneIter() 82 6.163e-05 6.163e-05 6.163e-05 0.01% Castro::initialize_do_advance() 10 6.009e-05 6.009e-05 6.009e-05 0.01% MLMG::mgVcycle_up::4 82 5.627e-05 5.627e-05 5.627e-05 0.01% Castro::construct_new_source() 50 5.071e-05 5.071e-05 5.071e-05 0.01% MLMG::mgVcycle_up::0 82 5.067e-05 5.067e-05 5.067e-05 0.01% Castro::do_advance_ctu() 10 4.974e-05 4.974e-05 4.974e-05 0.01% MLMG::mgVcycle_up::3 82 4.876e-05 4.876e-05 4.876e-05 0.00% FillPatchIterator::FillFromLevel0() 41 4.851e-05 4.851e-05 4.851e-05 0.00% MLCellLinOp::solutionResidual() 93 4.822e-05 4.822e-05 4.822e-05 0.00% MLMG::mgVcycle_up::1 82 4.672e-05 4.672e-05 4.672e-05 0.00% MLMG::mgVcycle_up::2 82 4.621e-05 4.621e-05 4.621e-05 0.00% Castro::finalize_do_advance() 10 4.301e-05 4.301e-05 4.301e-05 0.00% FillPatchSingleLevel 41 3.656e-05 3.656e-05 3.656e-05 0.00% Amr::defBaseLevel() 1 3.578e-05 3.578e-05 3.578e-05 0.00% MLMG::computeResidual() 82 3.406e-05 3.406e-05 3.406e-05 0.00% MLMG::mgVcycle_bottom 82 3.275e-05 3.275e-05 3.275e-05 0.00% MLMG::ResNormInf() 93 3.085e-05 3.085e-05 3.085e-05 0.00% MLPoisson::define() 11 2.79e-05 2.79e-05 2.79e-05 0.00% Castro::construct_new_gravity() 10 2.458e-05 2.458e-05 2.458e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 2.383e-05 2.383e-05 2.383e-05 0.00% Castro::do_old_sources() 10 2.367e-05 2.367e-05 2.367e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.283e-05 2.283e-05 2.283e-05 0.00% Castro::construct_old_source() 50 1.991e-05 1.991e-05 1.991e-05 0.00% Amr::FinalizeInit() 1 1.926e-05 1.926e-05 1.926e-05 0.00% Castro::do_new_sources() 10 1.78e-05 1.78e-05 1.78e-05 0.00% Castro::construct_old_gravity() 10 1.235e-05 1.235e-05 1.235e-05 0.00% Castro::apply_source_to_state() 20 1.209e-05 1.209e-05 1.209e-05 0.00% Castro::check_for_nan() 20 1.168e-05 1.168e-05 1.168e-05 0.00% MLMG::computeMLResidual() 11 1.138e-05 1.138e-05 1.138e-05 0.00% Gravity::actual_multilevel_solve() 1 8.85e-06 8.85e-06 8.85e-06 0.00% Castro::post_timestep() 10 7.663e-06 7.663e-06 7.663e-06 0.00% Castro::computeNewDt() 9 7.345e-06 7.345e-06 7.345e-06 0.00% MLPoisson::prepareForSolve() 11 7.051e-06 7.051e-06 7.051e-06 0.00% MLMG::getGradSolution() 11 6.372e-06 6.372e-06 6.372e-06 0.00% Castro::expand_state() 10 6.336e-06 6.336e-06 6.336e-06 0.00% Amr::InitializeInit() 1 6.336e-06 6.336e-06 6.336e-06 0.00% Castro::post_init() 1 6.13e-06 6.13e-06 6.13e-06 0.00% Amr::init() 1 2.419e-06 2.419e-06 2.419e-06 0.00% Amr::initialInit() 1 1.124e-06 1.124e-06 1.124e-06 0.00% Other 4753 0.003355 0.003355 0.003355 0.34% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9762 0.9762 0.9762 100.00% Amr::coarseTimeStep() 10 0.8258 0.8258 0.8258 84.59% Amr::timeStep() 10 0.708 0.708 0.708 72.53% Castro::advance() 10 0.6967 0.6967 0.6967 71.36% Castro::subcycle_advance_ctu() 10 0.6831 0.6831 0.6831 69.97% Castro::do_advance_ctu() 10 0.6828 0.6828 0.6828 69.94% Castro::construct_ctu_hydro_source() 10 0.3256 0.3256 0.3256 33.35% Gravity::solve_phi_with_mlmg() 11 0.2991 0.2991 0.2991 30.64% Gravity::actual_solve_with_mlmg() 11 0.2889 0.2889 0.2889 29.59% Castro::construct_new_gravity() 10 0.2702 0.2702 0.2702 27.68% MLMG::solve() 11 0.2667 0.2667 0.2667 27.31% Gravity::solve_for_phi() 10 0.2541 0.2541 0.2541 26.02% MLMG::oneIter() 82 0.251 0.251 0.251 25.71% MLMG::mgVcycle() 82 0.2473 0.2473 0.2473 25.33% VisMF::Write(FabArray) 11 0.174 0.174 0.174 17.82% Amr::checkPoint() 3 0.1593 0.1593 0.1593 16.32% AmrLevel::checkPoint() 3 0.1273 0.1273 0.1273 13.04% StateData::checkPoint() 12 0.1272 0.1272 0.1272 13.03% Amr::init() 1 0.1246 0.1246 0.1246 12.77% MLCellLinOp::smooth() 1640 0.1233 0.1233 0.1233 12.63% MLCellLinOp::applyBC() 4351 0.1142 0.1142 0.1142 11.70% MLMG::mgVcycle_bottom 82 0.07425 0.07425 0.07425 7.61% MLMG::actualBottomSolve() 82 0.07421 0.07421 0.07421 7.60% MLCGSolver::bicgstab 82 0.07338 0.07338 0.07338 7.52% Castro::clean_state() 62 0.0625 0.0625 0.0625 6.40% AmrLevel::FillPatch() 41 0.0564 0.0564 0.0564 5.78% Amr::initialInit() 1 0.0546 0.0546 0.0546 5.59% FillPatchIterator::Initialize 41 0.05206 0.05206 0.05206 5.33% FillPatchIterator::FillFromLevel0() 41 0.0504 0.0504 0.0504 5.16% FillPatchSingleLevel 41 0.05035 0.05035 0.05035 5.16% Amr::writePlotFile() 2 0.04967 0.04967 0.04967 5.09% Amr::FinalizeInit() 1 0.04934 0.04934 0.04934 5.05% Castro::post_init() 1 0.04793 0.04793 0.04793 4.91% StateDataPhysBCFunct::() 41 0.04618 0.04618 0.04618 4.73% Gravity::multilevel_solve_for_new_phi() 1 0.04551 0.04551 0.04551 4.66% Gravity::actual_multilevel_solve() 1 0.04548 0.04548 0.04548 4.66% MLCellLinOp::apply() 1060 0.03681 0.03681 0.03681 3.77% MLMG::mgVcycle_down::0 82 0.035 0.035 0.035 3.58% MLPoisson::Fsmooth() 3280 0.03413 0.03413 0.03413 3.50% StateData::FillBoundary(geom) 328 0.03395 0.03395 0.03395 3.48% FabArray::FillBoundary() 3941 0.03269 0.03269 0.03269 3.35% FillBoundary_nowait() 3941 0.03188 0.03188 0.03188 3.27% MLMG::mgVcycle_up::0 82 0.02665 0.02665 0.02665 2.73% Castro::computeTemp() 63 0.02556 0.02556 0.02556 2.62% Castro::construct_old_gravity() 10 0.02305 0.02305 0.02305 2.36% Gravity::get_old_grav_vector() 10 0.02304 0.02304 0.02304 2.36% Castro::normalize_species() 62 0.02286 0.02286 0.02286 2.34% Castro::initialize_do_advance() 10 0.02243 0.02243 0.02243 2.30% amrex::Dot() 1114 0.02185 0.02185 0.02185 2.24% Castro::do_old_sources() 10 0.02137 0.02137 0.02137 2.19% MLMG:computeResOfCorrection() 410 0.02067 0.02067 0.02067 2.12% MLCellLinOp::correctionResidual() 410 0.02055 0.02055 0.02055 2.11% FabArray::norminf() 1061 0.02028 0.02028 0.02028 2.08% Gravity::get_new_grav_vector() 11 0.01814 0.01814 0.01814 1.86% MLPoisson::define() 11 0.01749 0.01749 0.01749 1.79% MLMG::mgVcycle_down::1 82 0.01688 0.01688 0.01688 1.73% Castro::do_new_sources() 10 0.01637 0.01637 0.01637 1.68% MLMG::mgVcycle_down::2 82 0.01575 0.01575 0.01575 1.61% MLMG::mgVcycle_down::3 82 0.01532 0.01532 0.01532 1.57% MLMG::mgVcycle_down::4 82 0.01524 0.01524 0.01524 1.56% FabArray::ParallelCopy() 861 0.01501 0.01501 0.01501 1.54% FabArray::ParallelCopy_nowait() 861 0.01474 0.01474 0.01474 1.51% FabArray::setVal() 1062 0.01372 0.01372 0.01372 1.41% Castro::enforce_min_density() 62 0.01342 0.01342 0.01342 1.37% FabArray::Saxpy() 1370 0.01336 0.01336 0.01336 1.37% MLCGSolver::ParallelAllReduce 1832 0.01306 0.01306 0.01306 1.34% Castro::initialize_advance() 10 0.01291 0.01291 0.01291 1.32% MLMG::addInterpCorrection() 410 0.01251 0.01251 0.01251 1.28% Castro::expand_state() 10 0.01225 0.01225 0.01225 1.25% MLMG::mgVcycle_up::1 82 0.0122 0.0122 0.0122 1.25% MLMG::mgVcycle_up::4 82 0.01216 0.01216 0.01216 1.25% MLMG::mgVcycle_up::2 82 0.01198 0.01198 0.01198 1.23% MLCellLinOp::defineAuxData() 11 0.01183 0.01183 0.01183 1.21% amrex::average_down 410 0.01179 0.01179 0.01179 1.21% MLMG::mgVcycle_up::3 82 0.01171 0.01171 0.01171 1.20% Castro::post_timestep() 10 0.01118 0.01118 0.01118 1.15% amrex::Copy() 472 0.01102 0.01102 0.01102 1.13% MLPoisson::Fapply() 1060 0.01057 0.01057 0.01057 1.08% Gravity::fill_multipole_BCs() 11 0.01001 0.01001 0.01001 1.02% FabArray::Xpay() 739 0.008002 0.008002 0.008002 0.82% MLCellLinOp::solutionResidual() 93 0.007891 0.007891 0.007891 0.81% Castro::reset_internal_energy(MultiFab) 63 0.006749 0.006749 0.006749 0.69% MLMG::computeResidual() 82 0.006605 0.006605 0.006605 0.68% Castro::estTimeStep() 21 0.006386 0.006386 0.006386 0.65% MLCellLinOp::defineBC() 11 0.005389 0.005389 0.005389 0.55% Amr::InitializeInit() 1 0.005255 0.005255 0.005255 0.54% Amr::defBaseLevel() 1 0.005248 0.005248 0.005248 0.54% MLMG::prepareForSolve() 11 0.005214 0.005214 0.005214 0.53% BndryData::define() 11 0.005129 0.005129 0.005129 0.53% Castro::initData() 1 0.004539 0.004539 0.004539 0.46% amrex::Add() 82 0.00362 0.00362 0.00362 0.37% Castro::construct_new_source() 50 0.003498 0.003498 0.003498 0.36% Castro::construct_new_gravity_source() 10 0.003447 0.003447 0.003447 0.35% Castro::construct_old_source() 50 0.00334 0.00334 0.00334 0.34% Castro::construct_old_gravity_source() 10 0.00332 0.00332 0.00332 0.34% Castro::finalize_do_advance() 10 0.002889 0.002889 0.002889 0.30% Castro::computeNewDt() 9 0.002809 0.002809 0.002809 0.29% MLMG::ResNormInf() 93 0.002194 0.002194 0.002194 0.22% check_for_negative_density() 10 0.002086 0.002086 0.002086 0.21% Castro::apply_source_to_state() 20 0.001884 0.001884 0.001884 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001828 0.001828 0.001828 0.19% Castro::reset_internal_energy(Fab) 504 0.001821 0.001821 0.001821 0.19% Castro::enforce_speed_limit() 62 0.001672 0.001672 0.001672 0.17% MLCellLinOp::setLevelBC() 11 0.001621 0.001621 0.001621 0.17% MLMG::getGradSolution() 11 0.001579 0.001579 0.001579 0.16% MLCellLinOp::compGrad() 11 0.001573 0.001573 0.001573 0.16% FabArrayBase::getCPC() 1323 0.001456 0.001456 0.001456 0.15% FabArray::setDomainBndry() 41 0.001424 0.001424 0.001424 0.15% FabArray::mult() 43 0.001384 0.001384 0.001384 0.14% MLPoisson::prepareForSolve() 11 0.001349 0.001349 0.001349 0.14% MLCellLinOp::prepareForSolve() 11 0.001342 0.001342 0.001342 0.14% MLMG::computeMLResidual() 11 0.001331 0.001331 0.001331 0.14% Castro::check_for_nan() 20 0.001276 0.001276 0.001276 0.13% MultiFab::contains_nan() 20 0.001265 0.001265 0.001265 0.13% Other 4753 0.008939 0.008939 0.008939 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 5388 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 1059 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1418 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7616 KiB 14 MiB MLMG::prepareForSolve() 660 660 3359 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 193 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 242 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7521 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1982 B 2048 KiB Gravity::solve_for_phi() 80 80 532 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 95 KiB 2048 KiB BndryData::define() 1056 1056 307 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 195 KiB 671 KiB Castro::estTimeStep() 21 21 3193 B 480 KiB VisMF::Write(FabArray) 656 656 3179 B 320 KiB Castro::normalize_species() 62 62 7633 B 320 KiB amrex::average_down 1067 1067 1549 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1102 B 257 KiB amrex::Dot() 1360 1360 3310 B 160 KiB FabArray::norminf() 1143 1143 3209 B 160 KiB check_for_negative_density() 10 10 344 B 160 KiB Castro::initData() 1 1 48 B 160 KiB MultiFab::max() 11 11 53 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 25 B 20 KiB MLPoisson::Fsmooth() 132 132 3279 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 278 B 9648 B MLCellLinOp::applyBC() 8702 8702 208 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3925 B 6144 B StateData::FillBoundary(geom) 1992 1992 41 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 346 B 1248 B MLCGSolver::bicgstab 410 410 90 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 526 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 388 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3279 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 277 B 9648 B MLCellLinOp::applyBC() 4351 4351 206 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3925 B 6144 B Gravity::get_new_grav_vector() 3 3 2902 B 3072 B StateData::FillBoundary(geom) 1992 1992 42 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 279 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.05-18-g8eff86d32d17) finalized Initializing AMReX (24.05-18-g8eff86d32d17)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-18-g8eff86d32d17) initialized Starting run at 07:58:47 UTC on 2024-05-15. Successfully read inputs file ... Castro git describe: 24.05-8-g16ad4929f AMReX git describe: 24.05-18-g8eff86d32 Microphysics git describe: 24.05-5-g87839b75 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.530709456 Restart time = 0.069931929 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.072836387 [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.057897125 [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.073527889 [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.078312976 [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.067877826 [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.027158064 seconds Ending run at 07:58:48 UTC on 2024-05-15. Run time = 0.448634242 Run time without initialization = 0.378032605 Average number of zones advanced per microsecond: 3.467 Average number of zones advanced per microsecond per rank: 3.467 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4487 ... 0.4487 ... 0.4487 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1541 0.1541 0.1541 34.34% VisMF::Read() 3 0.05859 0.05859 0.05859 13.06% MLCellLinOp::applyBC() 1910 0.03573 0.03573 0.03573 7.96% VisMF::Write(FabArray) 1 0.02449 0.02449 0.02449 5.46% MLPoisson::Fsmooth() 1440 0.01494 0.01494 0.01494 3.33% StateData::FillBoundary(geom) 160 0.01339 0.01339 0.01339 2.98% FillBoundary_nowait() 1730 0.01288 0.01288 0.01288 2.87% Castro::normalize_species() 30 0.01051 0.01051 0.01051 2.34% amrex::Dot() 484 0.009344 0.009344 0.009344 2.08% FabArray::norminf() 465 0.008761 0.008761 0.008761 1.95% Castro::computeTemp() 30 0.007902 0.007902 0.007902 1.76% FabArray::setVal() 501 0.006685 0.006685 0.006685 1.49% Castro::enforce_min_density() 30 0.006408 0.006408 0.006408 1.43% FabArray::ParallelCopy_nowait() 380 0.006263 0.006263 0.006263 1.40% FabArray::Saxpy() 597 0.00595 0.00595 0.00595 1.33% MLCellLinOp::defineAuxData() 6 0.005685 0.005685 0.005685 1.27% amrex::Copy() 221 0.005511 0.005511 0.005511 1.23% Gravity::fill_multipole_BCs() 6 0.005332 0.005332 0.005332 1.19% StateDataPhysBCFunct::() 20 0.004994 0.004994 0.004994 1.11% Amr::restart() 1 0.004929 0.004929 0.004929 1.10% MLPoisson::Fapply() 464 0.00456 0.00456 0.00456 1.02% FabArray::Xpay() 325 0.003544 0.003544 0.003544 0.79% Castro::estTimeStep() 10 0.003306 0.003306 0.003306 0.74% MLMG::addInterpCorrection() 180 0.003148 0.003148 0.003148 0.70% amrex::average_down 180 0.002752 0.002752 0.002752 0.61% Amr::writePlotFile() 1 0.002489 0.002489 0.002489 0.55% BndryData::define() 6 0.00225 0.00225 0.00225 0.50% Castro::reset_internal_energy(MultiFab) 30 0.002098 0.002098 0.002098 0.47% Castro::construct_new_gravity_source() 5 0.001773 0.001773 0.001773 0.40% amrex::Add() 36 0.001548 0.001548 0.001548 0.34% Castro::construct_old_gravity_source() 5 0.001524 0.001524 0.001524 0.34% Castro::enforce_speed_limit() 30 0.001105 0.001105 0.001105 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009972 0.0009972 0.0009972 0.22% check_for_negative_density() 5 0.0009286 0.0009286 0.0009286 0.21% MLCellLinOp::setLevelBC() 6 0.0009045 0.0009045 0.0009045 0.20% Castro::reset_internal_energy(Fab) 240 0.0008728 0.0008728 0.0008728 0.19% Gravity::actual_solve_with_mlmg() 6 0.0008472 0.0008472 0.0008472 0.19% MLCellLinOp::prepareForSolve() 6 0.0007662 0.0007662 0.0007662 0.17% FabArray::setDomainBndry() 20 0.0007114 0.0007114 0.0007114 0.16% MLCGSolver::bicgstab 36 0.0007067 0.0007067 0.0007067 0.16% FabArray::mult() 22 0.0006982 0.0006982 0.0006982 0.16% MLCellLinOp::compGrad() 6 0.0006132 0.0006132 0.0006132 0.14% MLMG::prepareForSolve() 6 0.0005518 0.0005518 0.0005518 0.12% MLCellLinOp::smooth() 720 0.0004791 0.0004791 0.0004791 0.11% Gravity::get_old_grav_vector() 5 0.0003808 0.0003808 0.0003808 0.08% FabArrayBase::getCPC() 632 0.0003722 0.0003722 0.0003722 0.08% FabArray::FillBoundary() 1730 0.0003442 0.0003442 0.0003442 0.08% Gravity::get_new_grav_vector() 5 0.00029 0.00029 0.00029 0.06% main() 1 0.0002733 0.0002733 0.0002733 0.06% AmrLevel::FillPatch() 20 0.0002019 0.0002019 0.0002019 0.04% MLCellLinOp::apply() 464 0.0001892 0.0001892 0.0001892 0.04% Amr::coarseTimeStep() 5 0.0001791 0.0001791 0.0001791 0.04% MLCellLinOp::defineBC() 6 0.0001467 0.0001467 0.0001467 0.03% Castro::subcycle_advance_ctu() 5 0.0001329 0.0001329 0.0001329 0.03% MLCGSolver::ParallelAllReduce 798 0.0001296 0.0001296 0.0001296 0.03% FillPatchIterator::Initialize 20 0.0001186 0.0001186 0.0001186 0.03% FabArray::ParallelCopy() 380 0.0001116 0.0001116 0.0001116 0.02% Castro::construct_new_source() 25 0.0001106 0.0001106 0.0001106 0.02% MLMG::mgVcycle() 36 9.3e-05 9.3e-05 9.3e-05 0.02% Castro::do_advance_ctu() 5 9.234e-05 9.234e-05 9.234e-05 0.02% Amr::timeStep() 5 8.853e-05 8.853e-05 8.853e-05 0.02% MLCellLinOp::correctionResidual() 180 7.116e-05 7.116e-05 7.116e-05 0.02% AmrLevel::restart() 1 7.113e-05 7.113e-05 7.113e-05 0.02% Castro::initialize_do_advance() 5 6.788e-05 6.788e-05 6.788e-05 0.02% Gravity::update_max_rhs() 6 6.255e-05 6.255e-05 6.255e-05 0.01% StateData::restartDoit() 4 6.146e-05 6.146e-05 6.146e-05 0.01% Castro::advance() 5 6.119e-05 6.119e-05 6.119e-05 0.01% Gravity::solve_for_phi() 5 4.906e-05 4.906e-05 4.906e-05 0.01% MLMG:computeResOfCorrection() 180 4.651e-05 4.651e-05 4.651e-05 0.01% Castro::finalize_do_advance() 5 4.381e-05 4.381e-05 4.381e-05 0.01% Castro::do_new_sources() 5 3.857e-05 3.857e-05 3.857e-05 0.01% MLMG::actualBottomSolve() 36 3.618e-05 3.618e-05 3.618e-05 0.01% Castro::initialize_advance() 5 3.599e-05 3.599e-05 3.599e-05 0.01% MLMG::solve() 6 3.559e-05 3.559e-05 3.559e-05 0.01% Castro::clean_state() 30 3.458e-05 3.458e-05 3.458e-05 0.01% MLMG::mgVcycle_down::0 36 3.419e-05 3.419e-05 3.419e-05 0.01% MLMG::mgVcycle_down::1 36 3.136e-05 3.136e-05 3.136e-05 0.01% Castro::post_timestep() 5 2.959e-05 2.959e-05 2.959e-05 0.01% MLMG::mgVcycle_down::2 36 2.859e-05 2.859e-05 2.859e-05 0.01% MLMG::mgVcycle_down::4 36 2.731e-05 2.731e-05 2.731e-05 0.01% Castro::construct_old_source() 25 2.667e-05 2.667e-05 2.667e-05 0.01% MLMG::oneIter() 36 2.661e-05 2.661e-05 2.661e-05 0.01% Gravity::multilevel_solve_for_new_phi() 1 2.6e-05 2.6e-05 2.6e-05 0.01% MLMG::mgVcycle_down::3 36 2.596e-05 2.596e-05 2.596e-05 0.01% MLMG::mgVcycle_up::4 36 2.531e-05 2.531e-05 2.531e-05 0.01% Castro::post_restart() 1 2.24e-05 2.24e-05 2.24e-05 0.00% MLMG::mgVcycle_up::3 36 2.147e-05 2.147e-05 2.147e-05 0.00% MLCellLinOp::solutionResidual() 42 2.105e-05 2.105e-05 2.105e-05 0.00% MLMG::mgVcycle_up::0 36 2.075e-05 2.075e-05 2.075e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.069e-05 2.069e-05 2.069e-05 0.00% MLMG::mgVcycle_up::2 36 1.972e-05 1.972e-05 1.972e-05 0.00% MLPoisson::define() 6 1.963e-05 1.963e-05 1.963e-05 0.00% MLMG::mgVcycle_up::1 36 1.91e-05 1.91e-05 1.91e-05 0.00% FillPatchSingleLevel 20 1.555e-05 1.555e-05 1.555e-05 0.00% MLMG::ResNormInf() 42 1.536e-05 1.536e-05 1.536e-05 0.00% MLMG::computeResidual() 36 1.486e-05 1.486e-05 1.486e-05 0.00% MLMG::mgVcycle_bottom 36 1.414e-05 1.414e-05 1.414e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.255e-05 1.255e-05 1.255e-05 0.00% Castro::construct_new_gravity() 5 1.224e-05 1.224e-05 1.224e-05 0.00% Castro::do_old_sources() 5 1.096e-05 1.096e-05 1.096e-05 0.00% Castro::expand_state() 5 1.004e-05 1.004e-05 1.004e-05 0.00% Gravity::actual_multilevel_solve() 1 8.673e-06 8.673e-06 8.673e-06 0.00% MLMG::getGradSolution() 6 8.401e-06 8.401e-06 8.401e-06 0.00% Castro::apply_source_to_state() 10 5.698e-06 5.698e-06 5.698e-06 0.00% Castro::construct_old_gravity() 5 5.578e-06 5.578e-06 5.578e-06 0.00% MLMG::computeMLResidual() 6 4.503e-06 4.503e-06 4.503e-06 0.00% MLPoisson::prepareForSolve() 6 3.534e-06 3.534e-06 3.534e-06 0.00% Castro::computeNewDt() 5 3.406e-06 3.406e-06 3.406e-06 0.00% Amr::init() 1 9.88e-07 9.88e-07 9.88e-07 0.00% Other 2170 0.00252 0.00252 0.00252 0.56% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4487 0.4487 0.4487 99.99% Amr::coarseTimeStep() 5 0.3506 0.3506 0.3506 78.14% Amr::timeStep() 5 0.3485 0.3485 0.3485 77.67% Castro::advance() 5 0.3425 0.3425 0.3425 76.33% Castro::subcycle_advance_ctu() 5 0.3358 0.3358 0.3358 74.85% Castro::do_advance_ctu() 5 0.3357 0.3357 0.3357 74.82% Castro::construct_ctu_hydro_source() 5 0.1597 0.1597 0.1597 35.60% Castro::construct_new_gravity() 5 0.1367 0.1367 0.1367 30.47% Gravity::solve_phi_with_mlmg() 6 0.1339 0.1339 0.1339 29.84% Gravity::solve_for_phi() 5 0.1286 0.1286 0.1286 28.65% Gravity::actual_solve_with_mlmg() 6 0.1283 0.1283 0.1283 28.59% MLMG::solve() 6 0.116 0.116 0.116 25.85% MLMG::oneIter() 36 0.1082 0.1082 0.1082 24.11% MLMG::mgVcycle() 36 0.1066 0.1066 0.1066 23.76% Amr::init() 1 0.07 0.07 0.07 15.60% Amr::restart() 1 0.07 0.07 0.07 15.60% AmrLevel::restart() 1 0.05895 0.05895 0.05895 13.14% StateData::restartDoit() 4 0.05887 0.05887 0.05887 13.12% VisMF::Read() 3 0.05859 0.05859 0.05859 13.06% MLCellLinOp::smooth() 720 0.05302 0.05302 0.05302 11.82% MLCellLinOp::applyBC() 1910 0.04928 0.04928 0.04928 10.98% MLMG::mgVcycle_bottom 36 0.03196 0.03196 0.03196 7.12% MLMG::actualBottomSolve() 36 0.03194 0.03194 0.03194 7.12% MLCGSolver::bicgstab 36 0.03157 0.03157 0.03157 7.04% Castro::clean_state() 30 0.02893 0.02893 0.02893 6.45% Amr::writePlotFile() 1 0.02724 0.02724 0.02724 6.07% VisMF::Write(FabArray) 1 0.02449 0.02449 0.02449 5.46% AmrLevel::FillPatch() 20 0.02343 0.02343 0.02343 5.22% FillPatchIterator::Initialize 20 0.0213 0.0213 0.0213 4.75% FillPatchIterator::FillFromLevel0() 20 0.02047 0.02047 0.02047 4.56% FillPatchSingleLevel 20 0.02045 0.02045 0.02045 4.56% StateDataPhysBCFunct::() 20 0.01839 0.01839 0.01839 4.10% MLCellLinOp::apply() 464 0.01614 0.01614 0.01614 3.60% MLMG::mgVcycle_down::0 36 0.01505 0.01505 0.01505 3.35% MLPoisson::Fsmooth() 1440 0.01494 0.01494 0.01494 3.33% FabArray::FillBoundary() 1730 0.01354 0.01354 0.01354 3.02% StateData::FillBoundary(geom) 160 0.01339 0.01339 0.01339 2.98% FillBoundary_nowait() 1730 0.0132 0.0132 0.0132 2.94% MLMG::mgVcycle_up::0 36 0.01121 0.01121 0.01121 2.50% Castro::initialize_do_advance() 5 0.01097 0.01097 0.01097 2.45% Castro::computeTemp() 30 0.01087 0.01087 0.01087 2.42% Castro::normalize_species() 30 0.01051 0.01051 0.01051 2.34% Castro::do_old_sources() 5 0.01009 0.01009 0.01009 2.25% MLPoisson::define() 6 0.009637 0.009637 0.009637 2.15% amrex::Dot() 484 0.009344 0.009344 0.009344 2.08% MLMG:computeResOfCorrection() 180 0.008957 0.008957 0.008957 2.00% MLCellLinOp::correctionResidual() 180 0.00891 0.00891 0.00891 1.99% FabArray::norminf() 465 0.008761 0.008761 0.008761 1.95% Castro::do_new_sources() 5 0.008169 0.008169 0.008169 1.82% Castro::construct_old_gravity() 5 0.008059 0.008059 0.008059 1.80% Gravity::get_old_grav_vector() 5 0.008053 0.008053 0.008053 1.79% Gravity::get_new_grav_vector() 5 0.008017 0.008017 0.008017 1.79% MLMG::mgVcycle_down::1 36 0.007404 0.007404 0.007404 1.65% MLMG::mgVcycle_down::2 36 0.006797 0.006797 0.006797 1.51% FabArray::ParallelCopy() 380 0.006762 0.006762 0.006762 1.51% FabArray::setVal() 501 0.006685 0.006685 0.006685 1.49% MLMG::mgVcycle_down::3 36 0.006663 0.006663 0.006663 1.48% FabArray::ParallelCopy_nowait() 380 0.00665 0.00665 0.00665 1.48% MLMG::mgVcycle_down::4 36 0.00659 0.00659 0.00659 1.47% MLCellLinOp::defineAuxData() 6 0.006488 0.006488 0.006488 1.45% Castro::enforce_min_density() 30 0.006408 0.006408 0.006408 1.43% Castro::initialize_advance() 5 0.006301 0.006301 0.006301 1.40% Castro::expand_state() 5 0.005983 0.005983 0.005983 1.33% FabArray::Saxpy() 597 0.00595 0.00595 0.00595 1.33% Castro::post_restart() 1 0.00594 0.00594 0.00594 1.32% Castro::post_timestep() 5 0.005897 0.005897 0.005897 1.31% MLCGSolver::ParallelAllReduce 798 0.005629 0.005629 0.005629 1.25% Gravity::multilevel_solve_for_new_phi() 1 0.005563 0.005563 0.005563 1.24% Gravity::actual_multilevel_solve() 1 0.005537 0.005537 0.005537 1.23% amrex::Copy() 221 0.005511 0.005511 0.005511 1.23% MLMG::addInterpCorrection() 180 0.005484 0.005484 0.005484 1.22% Gravity::fill_multipole_BCs() 6 0.005458 0.005458 0.005458 1.22% MLMG::mgVcycle_up::4 36 0.005309 0.005309 0.005309 1.18% MLMG::mgVcycle_up::1 36 0.005277 0.005277 0.005277 1.18% MLMG::mgVcycle_up::2 36 0.005174 0.005174 0.005174 1.15% amrex::average_down 180 0.005127 0.005127 0.005127 1.14% MLMG::mgVcycle_up::3 36 0.005102 0.005102 0.005102 1.14% MLPoisson::Fapply() 464 0.00456 0.00456 0.00456 1.02% MLCellLinOp::solutionResidual() 42 0.003701 0.003701 0.003701 0.82% FabArray::Xpay() 325 0.003544 0.003544 0.003544 0.79% Castro::estTimeStep() 10 0.003306 0.003306 0.003306 0.74% MLCellLinOp::defineBC() 6 0.002994 0.002994 0.002994 0.67% Castro::reset_internal_energy(MultiFab) 30 0.002971 0.002971 0.002971 0.66% MLMG::prepareForSolve() 6 0.002913 0.002913 0.002913 0.65% MLMG::computeResidual() 36 0.002878 0.002878 0.002878 0.64% BndryData::define() 6 0.002848 0.002848 0.002848 0.63% Castro::computeNewDt() 5 0.001957 0.001957 0.001957 0.44% Castro::construct_new_source() 25 0.001884 0.001884 0.001884 0.42% Castro::construct_new_gravity_source() 5 0.001773 0.001773 0.001773 0.40% Castro::construct_old_source() 25 0.001551 0.001551 0.001551 0.35% amrex::Add() 36 0.001548 0.001548 0.001548 0.34% Castro::construct_old_gravity_source() 5 0.001524 0.001524 0.001524 0.34% Castro::finalize_do_advance() 5 0.001396 0.001396 0.001396 0.31% Castro::enforce_speed_limit() 30 0.001105 0.001105 0.001105 0.25% MLMG::ResNormInf() 42 0.0009976 0.0009976 0.0009976 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009972 0.0009972 0.0009972 0.22% Castro::apply_source_to_state() 10 0.0009632 0.0009632 0.0009632 0.21% check_for_negative_density() 5 0.0009286 0.0009286 0.0009286 0.21% MLMG::getGradSolution() 6 0.0009148 0.0009148 0.0009148 0.20% MLCellLinOp::compGrad() 6 0.0009064 0.0009064 0.0009064 0.20% MLCellLinOp::setLevelBC() 6 0.0009045 0.0009045 0.0009045 0.20% Castro::reset_internal_energy(Fab) 240 0.0008728 0.0008728 0.0008728 0.19% MLMG::computeMLResidual() 6 0.0008423 0.0008423 0.0008423 0.19% FabArrayBase::getCPC() 632 0.0007899 0.0007899 0.0007899 0.18% MLPoisson::prepareForSolve() 6 0.0007697 0.0007697 0.0007697 0.17% MLCellLinOp::prepareForSolve() 6 0.0007662 0.0007662 0.0007662 0.17% Gravity::update_max_rhs() 6 0.0007244 0.0007244 0.0007244 0.16% FabArray::setDomainBndry() 20 0.0007114 0.0007114 0.0007114 0.16% FabArray::mult() 22 0.0006982 0.0006982 0.0006982 0.16% Other 2170 0.004402 0.004402 0.004402 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 10 MiB 9037 MiB Castro::initMFs() 48 48 58 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 1030 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1614 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 6488 KiB 14 MiB MLMG::prepareForSolve() 361 361 3174 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 186 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 182 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6476 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 19 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3217 B 2048 KiB Gravity::solve_for_phi() 40 40 585 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 292 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 188 KiB 671 KiB Castro::estTimeStep() 10 10 3528 B 480 KiB VisMF::Write(FabArray) 112 112 1234 B 320 KiB Castro::normalize_species() 30 30 7632 B 320 KiB amrex::average_down 469 469 1364 B 257 KiB MLMG::addInterpCorrection() 468 468 1039 B 257 KiB amrex::Dot() 592 592 3077 B 160 KiB FabArray::norminf() 501 501 3022 B 160 KiB check_for_negative_density() 5 5 332 B 160 KiB MultiFab::max() 6 6 72 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3074 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 247 B 9648 B MLCellLinOp::applyBC() 3820 3820 199 B 9344 B amrex::Copy() 56 56 5888 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 37 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 329 B 1248 B MLCGSolver::bicgstab 180 180 84 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1080 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 82 KiB 8192 KiB VisMF::Write(FabArray) 120 120 152 KiB 3584 KiB VisMF::Read() 24 24 198 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3074 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 247 B 9648 B MLCellLinOp::applyBC() 1910 1910 197 B 9328 B amrex::Copy() 56 56 5888 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2547 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 37 B 2832 B MLMG::prepareForSolve() 7 7 791 B 1648 B amrex::average_down 37 37 464 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 22 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.05-18-g8eff86d32d17) finalized