Initializing AMReX (24.05-26-ge6c93bf22695)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-26-ge6c93bf22695) initialized Starting run at 08:03:47 UTC on 2024-05-23. Successfully read inputs file ... Castro git describe: 24.05-13-gf7309fc71 AMReX git describe: 24.05-26-ge6c93bf22 Microphysics git describe: 24.05-12-g0dd7c3c7 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.044391727 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024635422 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.072115795 [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.051206446 [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.077703869 [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.074002198 [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.057675463 [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.050050658 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.052318282 [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.067156324 [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.077410916 [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.066590194 [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.061332864 [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.074414362 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.0241217 seconds Ending run at 08:03:48 UTC on 2024-05-23. Run time = 0.930375986 Run time without initialization = 0.806709709 Average number of zones advanced per microsecond: 3.250 Average number of zones advanced per microsecond per rank: 3.250 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9304 ... 0.9304 ... 0.9304 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2816 0.2816 0.2816 30.26% VisMF::Write(FabArray) 11 0.177 0.177 0.177 19.03% MLCellLinOp::applyBC() 4351 0.07959 0.07959 0.07959 8.55% Amr::checkPoint() 3 0.03796 0.03796 0.03796 4.08% MLPoisson::Fsmooth() 3280 0.03325 0.03325 0.03325 3.57% FillBoundary_nowait() 3941 0.0311 0.0311 0.0311 3.34% StateData::FillBoundary(geom) 328 0.02636 0.02636 0.02636 2.83% Castro::normalize_species() 62 0.02116 0.02116 0.02116 2.27% amrex::Dot() 1114 0.02105 0.02105 0.02105 2.26% FabArray::norminf() 1061 0.01963 0.01963 0.01963 2.11% Castro::computeTemp() 63 0.01522 0.01522 0.01522 1.64% FabArray::ParallelCopy_nowait() 861 0.01357 0.01357 0.01357 1.46% FabArray::setVal() 1062 0.0134 0.0134 0.0134 1.44% FabArray::Saxpy() 1370 0.01302 0.01302 0.01302 1.40% StateDataPhysBCFunct::() 41 0.01293 0.01293 0.01293 1.39% Castro::enforce_min_density() 62 0.01163 0.01163 0.01163 1.25% amrex::Copy() 472 0.01085 0.01085 0.01085 1.17% MLPoisson::Fapply() 1060 0.01023 0.01023 0.01023 1.10% MLCellLinOp::defineAuxData() 11 0.01006 0.01006 0.01006 1.08% Gravity::fill_multipole_BCs() 11 0.009499 0.009499 0.009499 1.02% FabArray::Xpay() 739 0.007775 0.007775 0.007775 0.84% MLMG::addInterpCorrection() 410 0.007013 0.007013 0.007013 0.75% amrex::average_down 410 0.006106 0.006106 0.006106 0.66% Castro::estTimeStep() 21 0.005985 0.005985 0.005985 0.64% Castro::reset_internal_energy(MultiFab) 63 0.005089 0.005089 0.005089 0.55% BndryData::define() 11 0.003856 0.003856 0.003856 0.41% Castro::construct_new_gravity_source() 10 0.003655 0.003655 0.003655 0.39% amrex::Add() 82 0.003636 0.003636 0.003636 0.39% Castro::construct_old_gravity_source() 10 0.002966 0.002966 0.002966 0.32% Amr::writePlotFile() 2 0.002098 0.002098 0.002098 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001746 0.001746 0.001746 0.19% MLCGSolver::bicgstab 82 0.001694 0.001694 0.001694 0.18% Castro::reset_internal_energy(Fab) 504 0.001665 0.001665 0.001665 0.18% check_for_negative_density() 10 0.001664 0.001664 0.001664 0.18% Castro::enforce_speed_limit() 62 0.001662 0.001662 0.001662 0.18% MLCellLinOp::setLevelBC() 11 0.001576 0.001576 0.001576 0.17% Gravity::actual_solve_with_mlmg() 11 0.001532 0.001532 0.001532 0.16% Castro::initData() 1 0.001474 0.001474 0.001474 0.16% FabArray::mult() 43 0.001375 0.001375 0.001375 0.15% FabArray::setDomainBndry() 41 0.00135 0.00135 0.00135 0.15% MLCellLinOp::prepareForSolve() 11 0.001291 0.001291 0.001291 0.14% MultiFab::contains_nan() 20 0.001276 0.001276 0.001276 0.14% MLCellLinOp::smooth() 1640 0.001104 0.001104 0.001104 0.12% MLCellLinOp::compGrad() 11 0.001059 0.001059 0.001059 0.11% MLMG::prepareForSolve() 11 0.0009462 0.0009462 0.0009462 0.10% FabArrayBase::getCPC() 1323 0.0007853 0.0007853 0.0007853 0.08% FabArray::FillBoundary() 3941 0.0007705 0.0007705 0.0007705 0.08% Gravity::get_new_grav_vector() 11 0.0005992 0.0005992 0.0005992 0.06% Gravity::get_old_grav_vector() 10 0.0004896 0.0004896 0.0004896 0.05% MLCellLinOp::apply() 1060 0.0004331 0.0004331 0.0004331 0.05% AmrLevel::FillPatch() 41 0.000423 0.000423 0.000423 0.05% Amr::coarseTimeStep() 10 0.0003145 0.0003145 0.0003145 0.03% main() 1 0.0003126 0.0003126 0.0003126 0.03% MLCGSolver::ParallelAllReduce 1832 0.0003074 0.0003074 0.0003074 0.03% MLCellLinOp::defineBC() 11 0.0002609 0.0002609 0.0002609 0.03% FabArray::ParallelCopy() 861 0.0002508 0.0002508 0.0002508 0.03% FillPatchIterator::Initialize 41 0.0002232 0.0002232 0.0002232 0.02% MLMG::mgVcycle() 82 0.0002118 0.0002118 0.0002118 0.02% Castro::subcycle_advance_ctu() 10 0.0001851 0.0001851 0.0001851 0.02% MLCellLinOp::correctionResidual() 410 0.0001679 0.0001679 0.0001679 0.02% Amr::timeStep() 10 0.000156 0.000156 0.000156 0.02% StateData::checkPoint() 12 0.0001324 0.0001324 0.0001324 0.01% MLMG:computeResOfCorrection() 410 0.0001105 0.0001105 0.0001105 0.01% Gravity::solve_for_phi() 10 0.0001034 0.0001034 0.0001034 0.01% Castro::advance() 10 0.0001023 0.0001023 0.0001023 0.01% AmrLevel::checkPoint() 3 9.124e-05 9.124e-05 9.124e-05 0.01% Castro::initialize_advance() 10 8.848e-05 8.848e-05 8.848e-05 0.01% MLMG::actualBottomSolve() 82 8.373e-05 8.373e-05 8.373e-05 0.01% Castro::construct_new_source() 50 7.948e-05 7.948e-05 7.948e-05 0.01% MLMG::mgVcycle_down::0 82 7.648e-05 7.648e-05 7.648e-05 0.01% MLMG::solve() 11 7.456e-05 7.456e-05 7.456e-05 0.01% MLMG::mgVcycle_down::1 82 6.993e-05 6.993e-05 6.993e-05 0.01% Castro::clean_state() 62 6.992e-05 6.992e-05 6.992e-05 0.01% MLMG::mgVcycle_down::2 82 6.662e-05 6.662e-05 6.662e-05 0.01% MLMG::mgVcycle_down::4 82 6.286e-05 6.286e-05 6.286e-05 0.01% Castro::initialize_do_advance() 10 6.036e-05 6.036e-05 6.036e-05 0.01% MLMG::mgVcycle_down::3 82 6e-05 6e-05 6e-05 0.01% MLMG::oneIter() 82 5.964e-05 5.964e-05 5.964e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.756e-05 5.756e-05 5.756e-05 0.01% MLMG::mgVcycle_up::4 82 5.467e-05 5.467e-05 5.467e-05 0.01% Castro::do_advance_ctu() 10 5.216e-05 5.216e-05 5.216e-05 0.01% MLMG::mgVcycle_up::0 82 5.006e-05 5.006e-05 5.006e-05 0.01% MLMG::mgVcycle_up::3 82 4.8e-05 4.8e-05 4.8e-05 0.01% Castro::finalize_do_advance() 10 4.784e-05 4.784e-05 4.784e-05 0.01% MLCellLinOp::solutionResidual() 93 4.639e-05 4.639e-05 4.639e-05 0.00% MLMG::mgVcycle_up::2 82 4.598e-05 4.598e-05 4.598e-05 0.00% MLMG::mgVcycle_up::1 82 4.532e-05 4.532e-05 4.532e-05 0.00% FillPatchSingleLevel 41 4.2e-05 4.2e-05 4.2e-05 0.00% Castro::post_timestep() 10 3.673e-05 3.673e-05 3.673e-05 0.00% MLMG::computeResidual() 82 3.307e-05 3.307e-05 3.307e-05 0.00% MLMG::mgVcycle_bottom 82 3.226e-05 3.226e-05 3.226e-05 0.00% Amr::defBaseLevel() 1 3.131e-05 3.131e-05 3.131e-05 0.00% MLMG::ResNormInf() 93 2.821e-05 2.821e-05 2.821e-05 0.00% Castro::do_old_sources() 10 2.572e-05 2.572e-05 2.572e-05 0.00% MLPoisson::define() 11 2.497e-05 2.497e-05 2.497e-05 0.00% Castro::construct_new_gravity() 10 2.472e-05 2.472e-05 2.472e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 2.328e-05 2.328e-05 2.328e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.26e-05 2.26e-05 2.26e-05 0.00% Amr::FinalizeInit() 1 1.959e-05 1.959e-05 1.959e-05 0.00% Castro::do_new_sources() 10 1.956e-05 1.956e-05 1.956e-05 0.00% Castro::construct_old_source() 50 1.874e-05 1.874e-05 1.874e-05 0.00% Castro::computeNewDt() 9 1.406e-05 1.406e-05 1.406e-05 0.00% Castro::apply_source_to_state() 20 1.313e-05 1.313e-05 1.313e-05 0.00% Castro::check_for_nan() 20 1.221e-05 1.221e-05 1.221e-05 0.00% Castro::construct_old_gravity() 10 1.199e-05 1.199e-05 1.199e-05 0.00% MLMG::computeMLResidual() 11 1.144e-05 1.144e-05 1.144e-05 0.00% Gravity::actual_multilevel_solve() 1 8.049e-06 8.049e-06 8.049e-06 0.00% MLPoisson::prepareForSolve() 11 7.014e-06 7.014e-06 7.014e-06 0.00% MLMG::getGradSolution() 11 6.209e-06 6.209e-06 6.209e-06 0.00% Castro::expand_state() 10 5.896e-06 5.896e-06 5.896e-06 0.00% Amr::InitializeInit() 1 5.778e-06 5.778e-06 5.778e-06 0.00% Castro::post_init() 1 3.798e-06 3.798e-06 3.798e-06 0.00% Amr::init() 1 2.528e-06 2.528e-06 2.528e-06 0.00% Castro::post_regrid() 1 9.56e-07 9.56e-07 9.56e-07 0.00% Amr::initialInit() 1 9.4e-07 9.4e-07 9.4e-07 0.00% Other 4752 0.003454 0.003454 0.003454 0.37% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9304 0.9304 0.9304 100.00% Amr::coarseTimeStep() 10 0.7824 0.7824 0.7824 84.09% Amr::timeStep() 10 0.6541 0.6541 0.6541 70.30% Castro::advance() 10 0.6433 0.6433 0.6433 69.15% Castro::subcycle_advance_ctu() 10 0.6295 0.6295 0.6295 67.66% Castro::do_advance_ctu() 10 0.6293 0.6293 0.6293 67.64% Gravity::solve_phi_with_mlmg() 11 0.2916 0.2916 0.2916 31.34% Castro::construct_ctu_hydro_source() 10 0.2916 0.2916 0.2916 31.34% Gravity::actual_solve_with_mlmg() 11 0.2816 0.2816 0.2816 30.27% Castro::construct_new_gravity() 10 0.2633 0.2633 0.2633 28.30% MLMG::solve() 11 0.2601 0.2601 0.2601 27.95% Gravity::solve_for_phi() 10 0.2472 0.2472 0.2472 26.57% MLMG::oneIter() 82 0.2447 0.2447 0.2447 26.30% MLMG::mgVcycle() 82 0.241 0.241 0.241 25.91% VisMF::Write(FabArray) 11 0.177 0.177 0.177 19.03% Amr::checkPoint() 3 0.169 0.169 0.169 18.16% AmrLevel::checkPoint() 3 0.131 0.131 0.131 14.08% StateData::checkPoint() 12 0.1309 0.1309 0.1309 14.07% Amr::init() 1 0.1228 0.1228 0.1228 13.20% MLCellLinOp::smooth() 1640 0.1207 0.1207 0.1207 12.97% MLCellLinOp::applyBC() 4351 0.1122 0.1122 0.1122 12.06% MLMG::mgVcycle_bottom 82 0.07181 0.07181 0.07181 7.72% MLMG::actualBottomSolve() 82 0.07178 0.07178 0.07178 7.71% MLCGSolver::bicgstab 82 0.07097 0.07097 0.07097 7.63% Castro::clean_state() 62 0.05558 0.05558 0.05558 5.97% Amr::initialInit() 1 0.05364 0.05364 0.05364 5.77% AmrLevel::FillPatch() 41 0.04939 0.04939 0.04939 5.31% Amr::writePlotFile() 2 0.04887 0.04887 0.04887 5.25% Amr::FinalizeInit() 1 0.04864 0.04864 0.04864 5.23% Castro::post_init() 1 0.04717 0.04717 0.04717 5.07% FillPatchIterator::Initialize 41 0.04508 0.04508 0.04508 4.85% Gravity::multilevel_solve_for_new_phi() 1 0.04479 0.04479 0.04479 4.81% Gravity::actual_multilevel_solve() 1 0.04476 0.04476 0.04476 4.81% FillPatchIterator::FillFromLevel0() 41 0.04351 0.04351 0.04351 4.68% FillPatchSingleLevel 41 0.04345 0.04345 0.04345 4.67% StateDataPhysBCFunct::() 41 0.03929 0.03929 0.03929 4.22% MLCellLinOp::apply() 1060 0.03601 0.03601 0.03601 3.87% MLMG::mgVcycle_down::0 82 0.0346 0.0346 0.0346 3.72% MLPoisson::Fsmooth() 3280 0.03325 0.03325 0.03325 3.57% FabArray::FillBoundary() 3941 0.03258 0.03258 0.03258 3.50% FillBoundary_nowait() 3941 0.03181 0.03181 0.03181 3.42% StateData::FillBoundary(geom) 328 0.02636 0.02636 0.02636 2.83% MLMG::mgVcycle_up::0 82 0.02629 0.02629 0.02629 2.83% Castro::initialize_do_advance() 10 0.02203 0.02203 0.02203 2.37% Castro::computeTemp() 63 0.02197 0.02197 0.02197 2.36% Castro::normalize_species() 62 0.02116 0.02116 0.02116 2.27% amrex::Dot() 1114 0.02105 0.02105 0.02105 2.26% MLMG:computeResOfCorrection() 410 0.02027 0.02027 0.02027 2.18% MLCellLinOp::correctionResidual() 410 0.02016 0.02016 0.02016 2.17% FabArray::norminf() 1061 0.01963 0.01963 0.01963 2.11% Castro::do_old_sources() 10 0.01918 0.01918 0.01918 2.06% Gravity::get_new_grav_vector() 11 0.01805 0.01805 0.01805 1.94% MLPoisson::define() 11 0.01684 0.01684 0.01684 1.81% MLMG::mgVcycle_down::1 82 0.01644 0.01644 0.01644 1.77% Castro::construct_old_gravity() 10 0.01536 0.01536 0.01536 1.65% Gravity::get_old_grav_vector() 10 0.01535 0.01535 0.01535 1.65% MLMG::mgVcycle_down::2 82 0.01527 0.01527 0.01527 1.64% MLMG::mgVcycle_down::3 82 0.01487 0.01487 0.01487 1.60% MLMG::mgVcycle_down::4 82 0.0147 0.0147 0.0147 1.58% FabArray::ParallelCopy() 861 0.01462 0.01462 0.01462 1.57% Castro::do_new_sources() 10 0.01458 0.01458 0.01458 1.57% FabArray::ParallelCopy_nowait() 861 0.01437 0.01437 0.01437 1.54% FabArray::setVal() 1062 0.0134 0.0134 0.0134 1.44% Castro::initialize_advance() 10 0.01309 0.01309 0.01309 1.41% FabArray::Saxpy() 1370 0.01302 0.01302 0.01302 1.40% Castro::expand_state() 10 0.01265 0.01265 0.01265 1.36% MLCGSolver::ParallelAllReduce 1832 0.01257 0.01257 0.01257 1.35% MLMG::addInterpCorrection() 410 0.01229 0.01229 0.01229 1.32% MLMG::mgVcycle_up::1 82 0.01191 0.01191 0.01191 1.28% MLMG::mgVcycle_up::4 82 0.01182 0.01182 0.01182 1.27% MLMG::mgVcycle_up::2 82 0.01172 0.01172 0.01172 1.26% Castro::enforce_min_density() 62 0.01163 0.01163 0.01163 1.25% MLCellLinOp::defineAuxData() 11 0.01146 0.01146 0.01146 1.23% MLMG::mgVcycle_up::3 82 0.0114 0.0114 0.0114 1.22% amrex::average_down 410 0.01133 0.01133 0.01133 1.22% amrex::Copy() 472 0.01085 0.01085 0.01085 1.17% Castro::post_timestep() 10 0.01057 0.01057 0.01057 1.14% MLPoisson::Fapply() 1060 0.01023 0.01023 0.01023 1.10% Gravity::fill_multipole_BCs() 11 0.009729 0.009729 0.009729 1.05% FabArray::Xpay() 739 0.007775 0.007775 0.007775 0.84% MLCellLinOp::solutionResidual() 93 0.007753 0.007753 0.007753 0.83% Castro::reset_internal_energy(MultiFab) 63 0.006754 0.006754 0.006754 0.73% MLMG::computeResidual() 82 0.006491 0.006491 0.006491 0.70% Castro::estTimeStep() 21 0.005985 0.005985 0.005985 0.64% MLCellLinOp::defineBC() 11 0.005113 0.005113 0.005113 0.55% MLMG::prepareForSolve() 11 0.005071 0.005071 0.005071 0.55% Amr::InitializeInit() 1 0.004998 0.004998 0.004998 0.54% Amr::defBaseLevel() 1 0.004992 0.004992 0.004992 0.54% BndryData::define() 11 0.004852 0.004852 0.004852 0.52% Castro::initData() 1 0.00428 0.00428 0.00428 0.46% Castro::construct_new_source() 50 0.003734 0.003734 0.003734 0.40% Castro::construct_new_gravity_source() 10 0.003655 0.003655 0.003655 0.39% amrex::Add() 82 0.003636 0.003636 0.003636 0.39% Castro::construct_old_source() 50 0.002985 0.002985 0.002985 0.32% Castro::construct_old_gravity_source() 10 0.002966 0.002966 0.002966 0.32% Castro::computeNewDt() 9 0.002718 0.002718 0.002718 0.29% Castro::finalize_do_advance() 10 0.002352 0.002352 0.002352 0.25% MLMG::ResNormInf() 93 0.002178 0.002178 0.002178 0.23% Castro::apply_source_to_state() 20 0.001882 0.001882 0.001882 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001746 0.001746 0.001746 0.19% Castro::reset_internal_energy(Fab) 504 0.001665 0.001665 0.001665 0.18% check_for_negative_density() 10 0.001664 0.001664 0.001664 0.18% Castro::enforce_speed_limit() 62 0.001662 0.001662 0.001662 0.18% MLMG::getGradSolution() 11 0.001577 0.001577 0.001577 0.17% MLCellLinOp::setLevelBC() 11 0.001576 0.001576 0.001576 0.17% MLCellLinOp::compGrad() 11 0.00157 0.00157 0.00157 0.17% FabArrayBase::getCPC() 1323 0.001443 0.001443 0.001443 0.16% FabArray::mult() 43 0.001375 0.001375 0.001375 0.15% FabArray::setDomainBndry() 41 0.00135 0.00135 0.00135 0.15% MLMG::computeMLResidual() 11 0.001306 0.001306 0.001306 0.14% MLPoisson::prepareForSolve() 11 0.001298 0.001298 0.001298 0.14% MLCellLinOp::prepareForSolve() 11 0.001291 0.001291 0.001291 0.14% Castro::check_for_nan() 20 0.001288 0.001288 0.001288 0.14% MultiFab::contains_nan() 20 0.001276 0.001276 0.001276 0.14% Castro::post_regrid() 1 0.001189 0.001189 0.001189 0.13% Other 4752 0.008201 0.008201 0.008201 0.88% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 5548 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 1051 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1466 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7615 KiB 14 MiB MLMG::prepareForSolve() 660 660 3439 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 201 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 169 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7518 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2115 B 2048 KiB Gravity::solve_for_phi() 80 80 543 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 98 KiB 2048 KiB BndryData::define() 1056 1056 314 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 200 KiB 671 KiB Castro::estTimeStep() 21 21 3134 B 480 KiB VisMF::Write(FabArray) 656 656 3292 B 320 KiB Castro::normalize_species() 62 62 7414 B 320 KiB amrex::average_down 1067 1067 1562 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1134 B 257 KiB amrex::Dot() 1360 1360 3346 B 160 KiB FabArray::norminf() 1143 1143 3259 B 160 KiB check_for_negative_density() 10 10 286 B 160 KiB Castro::initData() 1 1 48 B 160 KiB MultiFab::max() 11 11 55 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3357 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 291 B 9648 B MLCellLinOp::applyBC() 8702 8702 214 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3885 B 6144 B StateData::FillBoundary(geom) 1992 1992 48 B 3072 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 354 B 1248 B MLCGSolver::bicgstab 410 410 92 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 624 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 415 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3357 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 291 B 9648 B MLCellLinOp::applyBC() 4351 4351 212 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3885 B 6144 B Gravity::get_new_grav_vector() 3 3 2896 B 3072 B StateData::FillBoundary(geom) 1992 1992 48 B 3072 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 286 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-26-ge6c93bf22695) finalized Initializing AMReX (24.05-26-ge6c93bf22695)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-26-ge6c93bf22695) initialized Starting run at 08:03:49 UTC on 2024-05-23. Successfully read inputs file ... Castro git describe: 24.05-13-gf7309fc71 AMReX git describe: 24.05-26-ge6c93bf22 Microphysics git describe: 24.05-12-g0dd7c3c7 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.506416075 Restart time = 0.073522073 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.076513569 [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.062317041 [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.078829866 [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.079825851 [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.060791909 [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.026962218 seconds Ending run at 08:03:49 UTC on 2024-05-23. Run time = 0.459820147 Run time without initialization = 0.385654538 Average number of zones advanced per microsecond: 3.399 Average number of zones advanced per microsecond per rank: 3.399 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4599 ... 0.4599 ... 0.4599 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1398 0.1398 0.1398 30.39% VisMF::Read() 3 0.06194 0.06194 0.06194 13.47% MLCellLinOp::applyBC() 1910 0.03858 0.03858 0.03858 8.39% StateData::FillBoundary(geom) 160 0.03266 0.03266 0.03266 7.10% VisMF::Write(FabArray) 1 0.02419 0.02419 0.02419 5.26% MLPoisson::Fsmooth() 1440 0.01594 0.01594 0.01594 3.47% FillBoundary_nowait() 1730 0.01325 0.01325 0.01325 2.88% amrex::Dot() 484 0.009666 0.009666 0.009666 2.10% Castro::normalize_species() 30 0.009345 0.009345 0.009345 2.03% FabArray::norminf() 465 0.009017 0.009017 0.009017 1.96% FabArray::setVal() 501 0.006977 0.006977 0.006977 1.52% FabArray::ParallelCopy_nowait() 380 0.006714 0.006714 0.006714 1.46% Castro::computeTemp() 30 0.006482 0.006482 0.006482 1.41% MLCellLinOp::defineAuxData() 6 0.006136 0.006136 0.006136 1.33% FabArray::Saxpy() 597 0.006113 0.006113 0.006113 1.33% amrex::Copy() 221 0.00564 0.00564 0.00564 1.23% Castro::enforce_min_density() 30 0.005 0.005 0.005 1.09% Amr::restart() 1 0.004962 0.004962 0.004962 1.08% Gravity::fill_multipole_BCs() 6 0.004946 0.004946 0.004946 1.08% MLPoisson::Fapply() 464 0.004817 0.004817 0.004817 1.05% Castro::estTimeStep() 10 0.003785 0.003785 0.003785 0.82% FabArray::Xpay() 325 0.003601 0.003601 0.003601 0.78% MLMG::addInterpCorrection() 180 0.003408 0.003408 0.003408 0.74% amrex::average_down 180 0.003061 0.003061 0.003061 0.67% StateDataPhysBCFunct::() 20 0.002872 0.002872 0.002872 0.62% Amr::writePlotFile() 1 0.002601 0.002601 0.002601 0.57% BndryData::define() 6 0.002266 0.002266 0.002266 0.49% Castro::reset_internal_energy(MultiFab) 30 0.002003 0.002003 0.002003 0.44% Castro::construct_new_gravity_source() 5 0.001859 0.001859 0.001859 0.40% Castro::construct_old_gravity_source() 5 0.001571 0.001571 0.001571 0.34% amrex::Add() 36 0.001545 0.001545 0.001545 0.34% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001084 0.001084 0.001084 0.24% Castro::reset_internal_energy(Fab) 240 0.00104 0.00104 0.00104 0.23% MLCellLinOp::setLevelBC() 6 0.0009018 0.0009018 0.0009018 0.20% MLCGSolver::bicgstab 36 0.0008941 0.0008941 0.0008941 0.19% check_for_negative_density() 5 0.0008623 0.0008623 0.0008623 0.19% Gravity::actual_solve_with_mlmg() 6 0.0008587 0.0008587 0.0008587 0.19% MLCellLinOp::prepareForSolve() 6 0.0008185 0.0008185 0.0008185 0.18% Castro::initialize_do_advance() 5 0.0008112 0.0008112 0.0008112 0.18% FabArray::mult() 22 0.0007198 0.0007198 0.0007198 0.16% FabArray::setDomainBndry() 20 0.0007116 0.0007116 0.0007116 0.15% Castro::subcycle_advance_ctu() 5 0.0006849 0.0006849 0.0006849 0.15% MLCellLinOp::smooth() 720 0.0006689 0.0006689 0.0006689 0.15% MLMG::prepareForSolve() 6 0.0006359 0.0006359 0.0006359 0.14% MLCellLinOp::compGrad() 6 0.0006134 0.0006134 0.0006134 0.13% FabArrayBase::getCPC() 632 0.0004181 0.0004181 0.0004181 0.09% FabArray::FillBoundary() 1730 0.0003787 0.0003787 0.0003787 0.08% Gravity::get_old_grav_vector() 5 0.0002997 0.0002997 0.0002997 0.07% main() 1 0.000259 0.000259 0.000259 0.06% MLCellLinOp::apply() 464 0.0002457 0.0002457 0.0002457 0.05% Gravity::get_new_grav_vector() 5 0.0002389 0.0002389 0.0002389 0.05% AmrLevel::FillPatch() 20 0.0002356 0.0002356 0.0002356 0.05% Amr::coarseTimeStep() 5 0.0001612 0.0001612 0.0001612 0.04% MLCellLinOp::defineBC() 6 0.0001477 0.0001477 0.0001477 0.03% MLCGSolver::ParallelAllReduce 798 0.000136 0.000136 0.000136 0.03% FabArray::ParallelCopy() 380 0.000128 0.000128 0.000128 0.03% FillPatchIterator::Initialize 20 0.0001253 0.0001253 0.0001253 0.03% MLMG::mgVcycle() 36 0.0001092 0.0001092 0.0001092 0.02% MLCellLinOp::correctionResidual() 180 9.521e-05 9.521e-05 9.521e-05 0.02% Amr::timeStep() 5 9.435e-05 9.435e-05 9.435e-05 0.02% Castro::construct_new_source() 25 7.937e-05 7.937e-05 7.937e-05 0.02% Castro::finalize_do_advance() 5 7.791e-05 7.791e-05 7.791e-05 0.02% AmrLevel::restart() 1 7.401e-05 7.401e-05 7.401e-05 0.02% Gravity::update_max_rhs() 6 7.225e-05 7.225e-05 7.225e-05 0.02% Castro::do_new_sources() 5 7.051e-05 7.051e-05 7.051e-05 0.02% StateData::restartDoit() 4 6.827e-05 6.827e-05 6.827e-05 0.01% Castro::advance() 5 6.701e-05 6.701e-05 6.701e-05 0.01% Gravity::solve_for_phi() 5 6.041e-05 6.041e-05 6.041e-05 0.01% MLMG:computeResOfCorrection() 180 5.526e-05 5.526e-05 5.526e-05 0.01% MLMG::actualBottomSolve() 36 4.574e-05 4.574e-05 4.574e-05 0.01% Castro::initialize_advance() 5 4.282e-05 4.282e-05 4.282e-05 0.01% MLMG::mgVcycle_down::1 36 4.25e-05 4.25e-05 4.25e-05 0.01% Castro::clean_state() 30 4.212e-05 4.212e-05 4.212e-05 0.01% MLMG::solve() 6 4.204e-05 4.204e-05 4.204e-05 0.01% Castro::do_old_sources() 5 4.113e-05 4.113e-05 4.113e-05 0.01% MLMG::mgVcycle_down::2 36 4.051e-05 4.051e-05 4.051e-05 0.01% MLMG::mgVcycle_down::0 36 4.018e-05 4.018e-05 4.018e-05 0.01% MLMG::mgVcycle_down::4 36 3.909e-05 3.909e-05 3.909e-05 0.01% Castro::construct_old_source() 25 3.827e-05 3.827e-05 3.827e-05 0.01% MLMG::mgVcycle_down::3 36 3.784e-05 3.784e-05 3.784e-05 0.01% Castro::post_timestep() 5 3.499e-05 3.499e-05 3.499e-05 0.01% Castro::do_advance_ctu() 5 3.065e-05 3.065e-05 3.065e-05 0.01% MLMG::oneIter() 36 3.005e-05 3.005e-05 3.005e-05 0.01% MLMG::mgVcycle_up::4 36 2.824e-05 2.824e-05 2.824e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.579e-05 2.579e-05 2.579e-05 0.01% MLMG::mgVcycle_up::3 36 2.578e-05 2.578e-05 2.578e-05 0.01% MLMG::mgVcycle_up::2 36 2.46e-05 2.46e-05 2.46e-05 0.01% MLMG::mgVcycle_up::0 36 2.459e-05 2.459e-05 2.459e-05 0.01% Gravity::multilevel_solve_for_new_phi() 1 2.401e-05 2.401e-05 2.401e-05 0.01% MLMG::mgVcycle_up::1 36 2.341e-05 2.341e-05 2.341e-05 0.01% MLCellLinOp::solutionResidual() 42 2.299e-05 2.299e-05 2.299e-05 0.00% Castro::post_restart() 1 2.253e-05 2.253e-05 2.253e-05 0.00% FillPatchSingleLevel 20 2.147e-05 2.147e-05 2.147e-05 0.00% MLPoisson::define() 6 1.905e-05 1.905e-05 1.905e-05 0.00% MLMG::ResNormInf() 42 1.781e-05 1.781e-05 1.781e-05 0.00% MLMG::mgVcycle_bottom 36 1.652e-05 1.652e-05 1.652e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.542e-05 1.542e-05 1.542e-05 0.00% MLMG::computeResidual() 36 1.465e-05 1.465e-05 1.465e-05 0.00% Castro::construct_new_gravity() 5 1.355e-05 1.355e-05 1.355e-05 0.00% Castro::expand_state() 5 1.069e-05 1.069e-05 1.069e-05 0.00% Gravity::actual_multilevel_solve() 1 9.528e-06 9.528e-06 9.528e-06 0.00% MLMG::getGradSolution() 6 8.002e-06 8.002e-06 8.002e-06 0.00% Castro::apply_source_to_state() 10 7.093e-06 7.093e-06 7.093e-06 0.00% Castro::check_for_nan() 10 6.663e-06 6.663e-06 6.663e-06 0.00% Castro::construct_old_gravity() 5 6.259e-06 6.259e-06 6.259e-06 0.00% MLMG::computeMLResidual() 6 4.772e-06 4.772e-06 4.772e-06 0.00% MLPoisson::prepareForSolve() 6 3.893e-06 3.893e-06 3.893e-06 0.00% Castro::computeNewDt() 5 3.619e-06 3.619e-06 3.619e-06 0.00% Amr::init() 1 8.41e-07 8.41e-07 8.41e-07 0.00% Other 2190 0.00318 0.00318 0.00318 0.69% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4598 0.4598 0.4598 100.00% Amr::coarseTimeStep() 5 0.3584 0.3584 0.3584 77.94% Amr::timeStep() 5 0.3561 0.3561 0.3561 77.43% Castro::advance() 5 0.3521 0.3521 0.3521 76.57% Castro::subcycle_advance_ctu() 5 0.3451 0.3451 0.3451 75.05% Castro::do_advance_ctu() 5 0.3444 0.3444 0.3444 74.90% Castro::construct_new_gravity() 5 0.1512 0.1512 0.1512 32.89% Castro::construct_ctu_hydro_source() 5 0.1446 0.1446 0.1446 31.45% Gravity::solve_phi_with_mlmg() 6 0.1415 0.1415 0.1415 30.77% Gravity::actual_solve_with_mlmg() 6 0.1363 0.1363 0.1363 29.64% Gravity::solve_for_phi() 5 0.1361 0.1361 0.1361 29.59% MLMG::solve() 6 0.1234 0.1234 0.1234 26.82% MLMG::oneIter() 36 0.1152 0.1152 0.1152 25.05% MLMG::mgVcycle() 36 0.1136 0.1136 0.1136 24.71% Amr::init() 1 0.07357 0.07357 0.07357 16.00% Amr::restart() 1 0.07357 0.07357 0.07357 16.00% AmrLevel::restart() 1 0.06233 0.06233 0.06233 13.55% StateData::restartDoit() 4 0.06225 0.06225 0.06225 13.54% VisMF::Read() 3 0.06194 0.06194 0.06194 13.47% MLCellLinOp::smooth() 720 0.05666 0.05666 0.05666 12.32% MLCellLinOp::applyBC() 1910 0.05259 0.05259 0.05259 11.44% AmrLevel::FillPatch() 20 0.04068 0.04068 0.04068 8.85% FillPatchIterator::Initialize 20 0.03849 0.03849 0.03849 8.37% FillPatchIterator::FillFromLevel0() 20 0.03765 0.03765 0.03765 8.19% FillPatchSingleLevel 20 0.03762 0.03762 0.03762 8.18% StateDataPhysBCFunct::() 20 0.03553 0.03553 0.03553 7.73% MLMG::mgVcycle_bottom 36 0.03356 0.03356 0.03356 7.30% MLMG::actualBottomSolve() 36 0.03354 0.03354 0.03354 7.29% MLCGSolver::bicgstab 36 0.03314 0.03314 0.03314 7.21% StateData::FillBoundary(geom) 160 0.03266 0.03266 0.03266 7.10% Amr::writePlotFile() 1 0.02705 0.02705 0.02705 5.88% Castro::clean_state() 30 0.02447 0.02447 0.02447 5.32% VisMF::Write(FabArray) 1 0.02419 0.02419 0.02419 5.26% MLCellLinOp::apply() 464 0.01729 0.01729 0.01729 3.76% MLPoisson::Fsmooth() 1440 0.01594 0.01594 0.01594 3.47% MLMG::mgVcycle_down::0 36 0.01572 0.01572 0.01572 3.42% Castro::construct_old_gravity() 5 0.01504 0.01504 0.01504 3.27% Gravity::get_old_grav_vector() 5 0.01503 0.01503 0.01503 3.27% Gravity::get_new_grav_vector() 5 0.01503 0.01503 0.01503 3.27% FabArray::FillBoundary() 1730 0.014 0.014 0.014 3.04% FillBoundary_nowait() 1730 0.01362 0.01362 0.01362 2.96% Castro::do_old_sources() 5 0.01224 0.01224 0.01224 2.66% Castro::initialize_do_advance() 5 0.01212 0.01212 0.01212 2.64% MLMG::mgVcycle_up::0 36 0.01178 0.01178 0.01178 2.56% MLPoisson::define() 6 0.01025 0.01025 0.01025 2.23% amrex::Dot() 484 0.009666 0.009666 0.009666 2.10% Castro::computeTemp() 30 0.009524 0.009524 0.009524 2.07% MLMG:computeResOfCorrection() 180 0.009472 0.009472 0.009472 2.06% MLCellLinOp::correctionResidual() 180 0.009417 0.009417 0.009417 2.05% Castro::normalize_species() 30 0.009345 0.009345 0.009345 2.03% FabArray::norminf() 465 0.009017 0.009017 0.009017 1.96% MLMG::mgVcycle_down::1 36 0.007994 0.007994 0.007994 1.74% MLMG::mgVcycle_down::2 36 0.007377 0.007377 0.007377 1.60% FabArray::ParallelCopy() 380 0.007259 0.007259 0.007259 1.58% MLMG::mgVcycle_down::3 36 0.007214 0.007214 0.007214 1.57% MLMG::mgVcycle_down::4 36 0.007185 0.007185 0.007185 1.56% FabArray::ParallelCopy_nowait() 380 0.007131 0.007131 0.007131 1.55% Castro::expand_state() 5 0.007057 0.007057 0.007057 1.53% MLCellLinOp::defineAuxData() 6 0.007036 0.007036 0.007036 1.53% Castro::do_new_sources() 5 0.006983 0.006983 0.006983 1.52% FabArray::setVal() 501 0.006977 0.006977 0.006977 1.52% Castro::initialize_advance() 5 0.006601 0.006601 0.006601 1.44% FabArray::Saxpy() 597 0.006113 0.006113 0.006113 1.33% Castro::post_restart() 1 0.00608 0.00608 0.00608 1.32% MLMG::addInterpCorrection() 180 0.006007 0.006007 0.006007 1.31% MLCGSolver::ParallelAllReduce 798 0.00582 0.00582 0.00582 1.27% MLMG::mgVcycle_up::4 36 0.005759 0.005759 0.005759 1.25% MLMG::mgVcycle_up::1 36 0.005742 0.005742 0.005742 1.25% Gravity::multilevel_solve_for_new_phi() 1 0.005689 0.005689 0.005689 1.24% Gravity::actual_multilevel_solve() 1 0.005665 0.005665 0.005665 1.23% amrex::average_down 180 0.005645 0.005645 0.005645 1.23% MLMG::mgVcycle_up::2 36 0.005642 0.005642 0.005642 1.23% amrex::Copy() 221 0.00564 0.00564 0.00564 1.23% MLMG::mgVcycle_up::3 36 0.00553 0.00553 0.00553 1.20% Gravity::fill_multipole_BCs() 6 0.005074 0.005074 0.005074 1.10% Castro::enforce_min_density() 30 0.005 0.005 0.005 1.09% MLPoisson::Fapply() 464 0.004817 0.004817 0.004817 1.05% Castro::post_timestep() 5 0.00387 0.00387 0.00387 0.84% MLCellLinOp::solutionResidual() 42 0.003836 0.003836 0.003836 0.83% Castro::estTimeStep() 10 0.003785 0.003785 0.003785 0.82% FabArray::Xpay() 325 0.003601 0.003601 0.003601 0.78% MLMG::prepareForSolve() 6 0.003116 0.003116 0.003116 0.68% MLCellLinOp::defineBC() 6 0.003055 0.003055 0.003055 0.66% Castro::reset_internal_energy(MultiFab) 30 0.003043 0.003043 0.003043 0.66% MLMG::computeResidual() 36 0.002972 0.002972 0.002972 0.65% BndryData::define() 6 0.002907 0.002907 0.002907 0.63% Castro::computeNewDt() 5 0.002191 0.002191 0.002191 0.48% Castro::construct_new_source() 25 0.001938 0.001938 0.001938 0.42% Castro::construct_new_gravity_source() 5 0.001859 0.001859 0.001859 0.40% Castro::finalize_do_advance() 5 0.001676 0.001676 0.001676 0.36% Castro::construct_old_source() 25 0.00161 0.00161 0.00161 0.35% Castro::construct_old_gravity_source() 5 0.001571 0.001571 0.001571 0.34% amrex::Add() 36 0.001545 0.001545 0.001545 0.34% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001084 0.001084 0.001084 0.24% Castro::reset_internal_energy(Fab) 240 0.00104 0.00104 0.00104 0.23% MLMG::ResNormInf() 42 0.001022 0.001022 0.001022 0.22% Castro::apply_source_to_state() 10 0.0009804 0.0009804 0.0009804 0.21% MLMG::getGradSolution() 6 0.0009305 0.0009305 0.0009305 0.20% MLCellLinOp::compGrad() 6 0.0009225 0.0009225 0.0009225 0.20% MLCellLinOp::setLevelBC() 6 0.0009018 0.0009018 0.0009018 0.20% MLMG::computeMLResidual() 6 0.0008828 0.0008828 0.0008828 0.19% FabArrayBase::getCPC() 632 0.0008741 0.0008741 0.0008741 0.19% check_for_negative_density() 5 0.0008623 0.0008623 0.0008623 0.19% MLPoisson::prepareForSolve() 6 0.0008224 0.0008224 0.0008224 0.18% MLCellLinOp::prepareForSolve() 6 0.0008185 0.0008185 0.0008185 0.18% Gravity::update_max_rhs() 6 0.0007592 0.0007592 0.0007592 0.17% FabArray::mult() 22 0.0007198 0.0007198 0.0007198 0.16% FabArray::setDomainBndry() 20 0.0007116 0.0007116 0.0007116 0.15% Castro::check_for_nan() 10 0.0006927 0.0006927 0.0006927 0.15% Other 2190 0.004461 0.004461 0.004461 0.97% -------------------------------------------------------------------------------------------- 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 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 1520 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1559 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 6459 KiB 14 MiB MLMG::prepareForSolve() 361 361 3292 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 337 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 335 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6446 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 17 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3276 B 2048 KiB Gravity::solve_for_phi() 40 40 605 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 303 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 195 KiB 671 KiB Castro::estTimeStep() 10 10 3925 B 480 KiB VisMF::Write(FabArray) 112 112 1245 B 320 KiB Castro::normalize_species() 30 30 6612 B 320 KiB amrex::average_down 469 469 1394 B 257 KiB MLMG::addInterpCorrection() 468 468 1073 B 257 KiB amrex::Dot() 592 592 3082 B 160 KiB FabArray::norminf() 501 501 3011 B 160 KiB check_for_negative_density() 5 5 299 B 160 KiB MultiFab::max() 6 6 71 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3189 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 246 B 9648 B MLCellLinOp::applyBC() 3820 3820 204 B 9344 B amrex::Copy() 56 56 5874 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 26 B 3584 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCellLinOp::defineBC() 36 36 341 B 1248 B MLCGSolver::bicgstab 180 180 86 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1171 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 80 KiB 8192 KiB VisMF::Write(FabArray) 120 120 144 KiB 3584 KiB VisMF::Read() 24 24 205 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3189 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 246 B 9648 B MLCellLinOp::applyBC() 1910 1910 202 B 9328 B amrex::Copy() 56 56 5874 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 27 B 3584 B Gravity::get_old_grav_vector() 3 3 2532 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B MLMG::prepareForSolve() 7 7 799 B 1648 B amrex::average_down 37 37 462 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): 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-26-ge6c93bf22695) finalized