Initializing AMReX (24.07-27-g3e4a2d58f789)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.07-27-g3e4a2d58f789) initialized Starting run at 07:40:18 UTC on 2024-07-23. Successfully read inputs file ... Castro git describe: 24.07-18-g56f51f6c1 AMReX git describe: 24.07-27-g3e4a2d58f Microphysics git describe: 24.07-31-g4c8331df 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.0494491 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.027268518 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.062965328 [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.057297222 [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.060942392 [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.060776747 [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.082549092 [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.048833649 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.073184557 [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.064702117 [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.062712894 [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.057011519 [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.082940535 [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.046871318 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.02706708 seconds Ending run at 07:40:19 UTC on 2024-07-23. Run time = 0.91983675 Run time without initialization = 0.788461627 Average number of zones advanced per microsecond: 3.325 Average number of zones advanced per microsecond per rank: 3.325 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9199 ... 0.9199 ... 0.9199 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2635 0.2635 0.2635 28.65% VisMF::Write(FabArray) 11 0.1914 0.1914 0.1914 20.81% MLCellLinOp::applyBC() 4351 0.08402 0.08402 0.08402 9.13% MLPoisson::Fsmooth() 3280 0.0423 0.0423 0.0423 4.60% FillBoundary_nowait() 3941 0.03422 0.03422 0.03422 3.72% StateData::FillBoundary(geom) 328 0.02746 0.02746 0.02746 2.99% amrex::Dot() 1114 0.02241 0.02241 0.02241 2.44% Castro::reset_internal_energy(MultiFab) 63 0.02136 0.02136 0.02136 2.32% FabArray::norminf() 1061 0.02086 0.02086 0.02086 2.27% Castro::computeTemp() 63 0.01775 0.01775 0.01775 1.93% FabArray::ParallelCopy_nowait() 861 0.01418 0.01418 0.01418 1.54% FabArray::setVal() 1062 0.01403 0.01403 0.01403 1.52% FabArray::Saxpy() 1370 0.01364 0.01364 0.01364 1.48% amrex::Copy() 472 0.01125 0.01125 0.01125 1.22% MLPoisson::Fapply() 1060 0.01087 0.01087 0.01087 1.18% MLCellLinOp::defineAuxData() 11 0.01058 0.01058 0.01058 1.15% StateDataPhysBCFunct::() 41 0.01019 0.01019 0.01019 1.11% Castro::normalize_species() 62 0.009836 0.009836 0.009836 1.07% Gravity::fill_multipole_BCs() 11 0.008465 0.008465 0.008465 0.92% FabArray::Xpay() 739 0.00822 0.00822 0.00822 0.89% MLMG::addInterpCorrection() 410 0.00737 0.00737 0.00737 0.80% Castro::enforce_min_density() 62 0.007044 0.007044 0.007044 0.77% amrex::average_down 410 0.006454 0.006454 0.006454 0.70% Amr::checkPoint() 3 0.005758 0.005758 0.005758 0.63% Castro::estTimeStep() 21 0.005127 0.005127 0.005127 0.56% BndryData::define() 11 0.004164 0.004164 0.004164 0.45% Castro::reset_internal_energy(Fab) 504 0.004045 0.004045 0.004045 0.44% amrex::Add() 82 0.003805 0.003805 0.003805 0.41% Castro::construct_new_gravity_source() 10 0.00359 0.00359 0.00359 0.39% Castro::construct_old_gravity_source() 10 0.002944 0.002944 0.002944 0.32% Castro::initData() 1 0.001961 0.001961 0.001961 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001832 0.001832 0.001832 0.20% Amr::writePlotFile() 2 0.001799 0.001799 0.001799 0.20% MLCellLinOp::setLevelBC() 11 0.001734 0.001734 0.001734 0.19% MLCGSolver::bicgstab 82 0.001624 0.001624 0.001624 0.18% Gravity::actual_solve_with_mlmg() 11 0.001551 0.001551 0.001551 0.17% FabArray::setDomainBndry() 41 0.001462 0.001462 0.001462 0.16% FabArray::mult() 43 0.001421 0.001421 0.001421 0.15% MLCellLinOp::prepareForSolve() 11 0.001346 0.001346 0.001346 0.15% check_for_negative_density() 10 0.001335 0.001335 0.001335 0.15% MultiFab::contains_nan() 20 0.001298 0.001298 0.001298 0.14% Castro::subcycle_advance_ctu() 10 0.001295 0.001295 0.001295 0.14% MLCellLinOp::compGrad() 11 0.001119 0.001119 0.001119 0.12% MLCellLinOp::smooth() 1640 0.001078 0.001078 0.001078 0.12% FabArrayBase::getCPC() 1323 0.0007983 0.0007983 0.0007983 0.09% FabArray::FillBoundary() 3941 0.0007838 0.0007838 0.0007838 0.09% MLMG::prepareForSolve() 11 0.0006936 0.0006936 0.0006936 0.08% Gravity::get_new_grav_vector() 11 0.0006275 0.0006275 0.0006275 0.07% Gravity::get_old_grav_vector() 10 0.0004851 0.0004851 0.0004851 0.05% AmrLevel::FillPatch() 41 0.0004062 0.0004062 0.0004062 0.04% MLCellLinOp::apply() 1060 0.0003951 0.0003951 0.0003951 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003406 0.0003406 0.0003406 0.04% Amr::coarseTimeStep() 10 0.0003211 0.0003211 0.0003211 0.03% main() 1 0.0002899 0.0002899 0.0002899 0.03% MLCellLinOp::defineBC() 11 0.0002691 0.0002691 0.0002691 0.03% FabArray::ParallelCopy() 861 0.0002584 0.0002584 0.0002584 0.03% FillPatchIterator::Initialize 41 0.0002181 0.0002181 0.0002181 0.02% MLMG::mgVcycle() 82 0.0001893 0.0001893 0.0001893 0.02% MLCellLinOp::correctionResidual() 410 0.0001677 0.0001677 0.0001677 0.02% Amr::timeStep() 10 0.0001571 0.0001571 0.0001571 0.02% Castro::do_advance_ctu() 10 0.0001556 0.0001556 0.0001556 0.02% Castro::construct_new_source() 50 0.0001468 0.0001468 0.0001468 0.02% Castro::finalize_do_advance() 10 0.0001378 0.0001378 0.0001378 0.01% Gravity::solve_for_phi() 10 0.0001132 0.0001132 0.0001132 0.01% MLMG:computeResOfCorrection() 410 0.0001113 0.0001113 0.0001113 0.01% StateData::checkPoint() 12 0.0001113 0.0001113 0.0001113 0.01% Castro::advance() 10 0.0001004 0.0001004 0.0001004 0.01% MLMG::actualBottomSolve() 82 8.882e-05 8.882e-05 8.882e-05 0.01% MLMG::mgVcycle_down::0 82 8.846e-05 8.846e-05 8.846e-05 0.01% Castro::initialize_do_advance() 10 8.29e-05 8.29e-05 8.29e-05 0.01% MLMG::mgVcycle_down::1 82 7.656e-05 7.656e-05 7.656e-05 0.01% Castro::initialize_advance() 10 7.587e-05 7.587e-05 7.587e-05 0.01% MLMG::mgVcycle_down::2 82 7.58e-05 7.58e-05 7.58e-05 0.01% Castro::construct_old_source() 50 7.212e-05 7.212e-05 7.212e-05 0.01% MLMG::mgVcycle_down::4 82 7.135e-05 7.135e-05 7.135e-05 0.01% MLMG::solve() 11 6.956e-05 6.956e-05 6.956e-05 0.01% MLMG::mgVcycle_down::3 82 6.848e-05 6.848e-05 6.848e-05 0.01% AmrLevel::checkPoint() 3 6.346e-05 6.346e-05 6.346e-05 0.01% Castro::clean_state() 62 6.224e-05 6.224e-05 6.224e-05 0.01% MLMG::mgVcycle_up::4 82 5.673e-05 5.673e-05 5.673e-05 0.01% MLMG::oneIter() 82 5.404e-05 5.404e-05 5.404e-05 0.01% MLMG::mgVcycle_up::2 82 5.13e-05 5.13e-05 5.13e-05 0.01% MLMG::mgVcycle_up::0 82 5.041e-05 5.041e-05 5.041e-05 0.01% MLMG::mgVcycle_up::3 82 4.985e-05 4.985e-05 4.985e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.779e-05 4.779e-05 4.779e-05 0.01% MLMG::mgVcycle_up::1 82 4.724e-05 4.724e-05 4.724e-05 0.01% MLCellLinOp::solutionResidual() 93 4.481e-05 4.481e-05 4.481e-05 0.00% FillPatchSingleLevel 41 3.768e-05 3.768e-05 3.768e-05 0.00% MLMG::ResNormInf() 93 3.41e-05 3.41e-05 3.41e-05 0.00% MLMG::computeResidual() 82 3.281e-05 3.281e-05 3.281e-05 0.00% MLMG::mgVcycle_bottom 82 3.271e-05 3.271e-05 3.271e-05 0.00% Castro::construct_new_gravity() 10 2.821e-05 2.821e-05 2.821e-05 0.00% Amr::defBaseLevel() 1 2.414e-05 2.414e-05 2.414e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.194e-05 2.194e-05 2.194e-05 0.00% Castro::do_old_sources() 10 2.181e-05 2.181e-05 2.181e-05 0.00% Castro::do_new_sources() 10 1.958e-05 1.958e-05 1.958e-05 0.00% Amr::FinalizeInit() 1 1.92e-05 1.92e-05 1.92e-05 0.00% MLPoisson::define() 11 1.89e-05 1.89e-05 1.89e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.696e-05 1.696e-05 1.696e-05 0.00% MLPoisson::prepareForSolve() 11 1.333e-05 1.333e-05 1.333e-05 0.00% Castro::apply_source_to_state() 20 1.169e-05 1.169e-05 1.169e-05 0.00% Castro::check_for_nan() 20 1.102e-05 1.102e-05 1.102e-05 0.00% Castro::construct_old_gravity() 10 1.045e-05 1.045e-05 1.045e-05 0.00% Castro::post_init() 1 1.023e-05 1.023e-05 1.023e-05 0.00% MLMG::computeMLResidual() 11 9.413e-06 9.413e-06 9.413e-06 0.00% Gravity::actual_multilevel_solve() 1 8.659e-06 8.659e-06 8.659e-06 0.00% Castro::post_timestep() 10 7.62e-06 7.62e-06 7.62e-06 0.00% Castro::computeNewDt() 9 6.585e-06 6.585e-06 6.585e-06 0.00% MLMG::getGradSolution() 11 6.041e-06 6.041e-06 6.041e-06 0.00% Amr::InitializeInit() 1 5.986e-06 5.986e-06 5.986e-06 0.00% Castro::expand_state() 10 5.734e-06 5.734e-06 5.734e-06 0.00% Amr::init() 1 2.866e-06 2.866e-06 2.866e-06 0.00% Amr::initialInit() 1 1.254e-06 1.254e-06 1.254e-06 0.00% Other 4815 0.003098 0.003098 0.003098 0.34% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9198 0.9198 0.9198 100.00% Amr::coarseTimeStep() 10 0.7612 0.7612 0.7612 82.75% Amr::timeStep() 10 0.6622 0.6622 0.6622 71.98% Castro::advance() 10 0.6519 0.6519 0.6519 70.87% Castro::subcycle_advance_ctu() 10 0.6373 0.6373 0.6373 69.28% Castro::do_advance_ctu() 10 0.636 0.636 0.636 69.14% Gravity::solve_phi_with_mlmg() 11 0.3146 0.3146 0.3146 34.20% Gravity::actual_solve_with_mlmg() 11 0.3056 0.3056 0.3056 33.23% Castro::construct_new_gravity() 10 0.2862 0.2862 0.2862 31.11% MLMG::solve() 11 0.283 0.283 0.283 30.76% Castro::construct_ctu_hydro_source() 10 0.2747 0.2747 0.2747 29.86% Gravity::solve_for_phi() 10 0.2696 0.2696 0.2696 29.31% MLMG::oneIter() 82 0.2671 0.2671 0.2671 29.03% MLMG::mgVcycle() 82 0.2632 0.2632 0.2632 28.61% VisMF::Write(FabArray) 11 0.1914 0.1914 0.1914 20.81% Amr::checkPoint() 3 0.1453 0.1453 0.1453 15.80% AmrLevel::checkPoint() 3 0.1395 0.1395 0.1395 15.17% StateData::checkPoint() 12 0.1395 0.1395 0.1395 15.16% MLCellLinOp::smooth() 1640 0.1358 0.1358 0.1358 14.76% Amr::init() 1 0.1308 0.1308 0.1308 14.22% MLCellLinOp::applyBC() 4351 0.1198 0.1198 0.1198 13.02% MLMG::mgVcycle_bottom 82 0.07603 0.07603 0.07603 8.27% MLMG::actualBottomSolve() 82 0.076 0.076 0.076 8.26% MLCGSolver::bicgstab 82 0.07513 0.07513 0.07513 8.17% Castro::clean_state() 62 0.05934 0.05934 0.05934 6.45% Amr::writePlotFile() 2 0.05444 0.05444 0.05444 5.92% Amr::initialInit() 1 0.05397 0.05397 0.05397 5.87% Amr::FinalizeInit() 1 0.04878 0.04878 0.04878 5.30% Castro::post_init() 1 0.04787 0.04787 0.04787 5.20% AmrLevel::FillPatch() 41 0.04786 0.04786 0.04786 5.20% Gravity::multilevel_solve_for_new_phi() 1 0.04542 0.04542 0.04542 4.94% Gravity::actual_multilevel_solve() 1 0.0454 0.0454 0.0454 4.94% FillPatchIterator::Initialize 41 0.04354 0.04354 0.04354 4.73% Castro::computeTemp() 63 0.04316 0.04316 0.04316 4.69% MLPoisson::Fsmooth() 3280 0.0423 0.0423 0.0423 4.60% FillPatchIterator::FillFromLevel0() 41 0.04186 0.04186 0.04186 4.55% FillPatchSingleLevel 41 0.04182 0.04182 0.04182 4.55% MLCellLinOp::apply() 1060 0.03812 0.03812 0.03812 4.14% StateDataPhysBCFunct::() 41 0.03765 0.03765 0.03765 4.09% MLMG::mgVcycle_down::0 82 0.03721 0.03721 0.03721 4.04% FabArray::FillBoundary() 3941 0.03575 0.03575 0.03575 3.89% FillBoundary_nowait() 3941 0.03496 0.03496 0.03496 3.80% MLMG::mgVcycle_up::0 82 0.02819 0.02819 0.02819 3.06% StateData::FillBoundary(geom) 328 0.02746 0.02746 0.02746 2.99% Castro::reset_internal_energy(MultiFab) 63 0.0254 0.0254 0.0254 2.76% amrex::Dot() 1114 0.02241 0.02241 0.02241 2.44% MLMG:computeResOfCorrection() 410 0.02152 0.02152 0.02152 2.34% Castro::initialize_do_advance() 10 0.02146 0.02146 0.02146 2.33% MLCellLinOp::correctionResidual() 410 0.02141 0.02141 0.02141 2.33% FabArray::norminf() 1061 0.02086 0.02086 0.02086 2.27% Castro::do_old_sources() 10 0.0199 0.0199 0.0199 2.16% MLMG::mgVcycle_up::4 82 0.01952 0.01952 0.01952 2.12% Gravity::get_new_grav_vector() 11 0.01853 0.01853 0.01853 2.01% MLPoisson::define() 11 0.01775 0.01775 0.01775 1.93% MLMG::mgVcycle_down::1 82 0.01738 0.01738 0.01738 1.89% MLMG::mgVcycle_down::2 82 0.01621 0.01621 0.01621 1.76% Castro::construct_old_gravity() 10 0.01597 0.01597 0.01597 1.74% Gravity::get_old_grav_vector() 10 0.01596 0.01596 0.01596 1.74% MLMG::mgVcycle_down::3 82 0.01571 0.01571 0.01571 1.71% MLMG::mgVcycle_down::4 82 0.01565 0.01565 0.01565 1.70% FabArray::ParallelCopy() 861 0.01527 0.01527 0.01527 1.66% FabArray::ParallelCopy_nowait() 861 0.01501 0.01501 0.01501 1.63% Castro::do_new_sources() 10 0.01455 0.01455 0.01455 1.58% FabArray::setVal() 1062 0.01403 0.01403 0.01403 1.52% Castro::initialize_advance() 10 0.01384 0.01384 0.01384 1.50% FabArray::Saxpy() 1370 0.01364 0.01364 0.01364 1.48% MLCGSolver::ParallelAllReduce 1832 0.01342 0.01342 0.01342 1.46% MLMG::addInterpCorrection() 410 0.01294 0.01294 0.01294 1.41% MLMG::mgVcycle_up::1 82 0.01268 0.01268 0.01268 1.38% MLMG::mgVcycle_up::2 82 0.01232 0.01232 0.01232 1.34% MLMG::mgVcycle_up::3 82 0.0121 0.0121 0.0121 1.32% MLCellLinOp::defineAuxData() 11 0.01203 0.01203 0.01203 1.31% amrex::average_down 410 0.01202 0.01202 0.01202 1.31% amrex::Copy() 472 0.01125 0.01125 0.01125 1.22% MLPoisson::Fapply() 1060 0.01087 0.01087 0.01087 1.18% Castro::expand_state() 10 0.01077 0.01077 0.01077 1.17% Castro::post_timestep() 10 0.01014 0.01014 0.01014 1.10% Castro::normalize_species() 62 0.009836 0.009836 0.009836 1.07% Gravity::fill_multipole_BCs() 11 0.008711 0.008711 0.008711 0.95% FabArray::Xpay() 739 0.00822 0.00822 0.00822 0.89% MLCellLinOp::solutionResidual() 93 0.008174 0.008174 0.008174 0.89% Castro::enforce_min_density() 62 0.007044 0.007044 0.007044 0.77% MLMG::computeResidual() 82 0.0068 0.0068 0.0068 0.74% MLCellLinOp::defineBC() 11 0.005465 0.005465 0.005465 0.59% BndryData::define() 11 0.005196 0.005196 0.005196 0.56% Amr::InitializeInit() 1 0.005193 0.005193 0.005193 0.56% Amr::defBaseLevel() 1 0.005187 0.005187 0.005187 0.56% Castro::estTimeStep() 21 0.005127 0.005127 0.005127 0.56% MLMG::prepareForSolve() 11 0.005077 0.005077 0.005077 0.55% Castro::initData() 1 0.004508 0.004508 0.004508 0.49% Castro::reset_internal_energy(Fab) 504 0.004045 0.004045 0.004045 0.44% amrex::Add() 82 0.003805 0.003805 0.003805 0.41% Castro::construct_new_source() 50 0.003737 0.003737 0.003737 0.41% Castro::construct_new_gravity_source() 10 0.00359 0.00359 0.00359 0.39% Castro::construct_old_source() 50 0.003016 0.003016 0.003016 0.33% Castro::construct_old_gravity_source() 10 0.002944 0.002944 0.002944 0.32% MLMG::ResNormInf() 93 0.002296 0.002296 0.002296 0.25% Castro::computeNewDt() 9 0.002233 0.002233 0.002233 0.24% Castro::finalize_do_advance() 10 0.002117 0.002117 0.002117 0.23% Castro::apply_source_to_state() 20 0.001903 0.001903 0.001903 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001832 0.001832 0.001832 0.20% MLCellLinOp::setLevelBC() 11 0.001734 0.001734 0.001734 0.19% MLMG::getGradSolution() 11 0.001655 0.001655 0.001655 0.18% MLCellLinOp::compGrad() 11 0.001649 0.001649 0.001649 0.18% FabArrayBase::getCPC() 1323 0.001483 0.001483 0.001483 0.16% FabArray::setDomainBndry() 41 0.001462 0.001462 0.001462 0.16% FabArray::mult() 43 0.001421 0.001421 0.001421 0.15% MLMG::computeMLResidual() 11 0.001417 0.001417 0.001417 0.15% MLPoisson::prepareForSolve() 11 0.001359 0.001359 0.001359 0.15% MLCellLinOp::prepareForSolve() 11 0.001346 0.001346 0.001346 0.15% check_for_negative_density() 10 0.001335 0.001335 0.001335 0.15% Castro::check_for_nan() 20 0.001309 0.001309 0.001309 0.14% MultiFab::contains_nan() 20 0.001298 0.001298 0.001298 0.14% Other 4815 0.008456 0.008456 0.008456 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 6529 KiB 9037 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 976 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1664 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() 649 649 3787 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 209 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 177 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7522 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 15 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2179 B 2048 KiB Gravity::solve_for_phi() 80 80 599 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 100 KiB 2048 KiB BndryData::define() 1056 1056 345 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 219 KiB 671 KiB Castro::estTimeStep() 21 21 2663 B 480 KiB VisMF::Write(FabArray) 656 656 3486 B 320 KiB Castro::normalize_species() 62 62 3470 B 320 KiB amrex::average_down 1067 1067 1643 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1204 B 257 KiB amrex::Dot() 1360 1360 3603 B 160 KiB FabArray::norminf() 1143 1143 3513 B 160 KiB check_for_negative_density() 10 10 230 B 160 KiB Castro::initData() 1 1 52 B 160 KiB MultiFab::max() 11 11 58 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3699 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 326 B 9648 B MLCellLinOp::applyBC() 8702 8702 227 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3955 B 6144 B StateData::FillBoundary(geom) 1992 1992 37 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 389 B 1248 B MLCGSolver::bicgstab 410 410 98 B 1216 B MLPoisson::Fapply() 11 11 310 B 1024 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 663 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 40 KiB 8192 KiB VisMF::Write(FabArray) 744 744 463 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3699 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 325 B 9648 B MLCellLinOp::applyBC() 4351 4351 226 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3955 B 6144 B Gravity::get_new_grav_vector() 3 3 2894 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 37 B 2640 B amrex::average_down 83 83 618 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLPoisson::Fapply() 11 11 310 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 26 B 400 B FabArray::norminf() 1143 1143 10 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2109 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.07-27-g3e4a2d58f789) finalized Initializing AMReX (24.07-27-g3e4a2d58f789)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.07-27-g3e4a2d58f789) initialized Starting run at 07:40:19 UTC on 2024-07-23. Successfully read inputs file ... Castro git describe: 24.07-18-g56f51f6c1 AMReX git describe: 24.07-27-g3e4a2d58f Microphysics git describe: 24.07-31-g4c8331df reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.504753807 Restart time = 0.073270282 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.068711813 [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.051790987 [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.059075768 [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.076658669 [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.081397093 [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.038080786 seconds Ending run at 07:40:20 UTC on 2024-07-23. Run time = 0.449929381 Run time without initialization = 0.376215732 Average number of zones advanced per microsecond: 3.484 Average number of zones advanced per microsecond per rank: 3.484 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.45 ... 0.45 ... 0.45 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1335 0.1335 0.1335 29.66% VisMF::Read() 3 0.06175 0.06175 0.06175 13.72% MLCellLinOp::applyBC() 1910 0.03743 0.03743 0.03743 8.32% VisMF::Write(FabArray) 1 0.03551 0.03551 0.03551 7.89% MLPoisson::Fsmooth() 1440 0.01562 0.01562 0.01562 3.47% FillBoundary_nowait() 1730 0.01472 0.01472 0.01472 3.27% StateData::FillBoundary(geom) 160 0.01317 0.01317 0.01317 2.93% amrex::Dot() 484 0.0097 0.0097 0.0097 2.16% Castro::reset_internal_energy(MultiFab) 30 0.009158 0.009158 0.009158 2.04% FabArray::norminf() 465 0.00908 0.00908 0.00908 2.02% Castro::computeTemp() 30 0.008784 0.008784 0.008784 1.95% FabArray::setVal() 501 0.006902 0.006902 0.006902 1.53% FabArray::ParallelCopy_nowait() 380 0.00642 0.00642 0.00642 1.43% FabArray::Saxpy() 597 0.006145 0.006145 0.006145 1.37% StateDataPhysBCFunct::() 20 0.005991 0.005991 0.005991 1.33% Castro::normalize_species() 30 0.005924 0.005924 0.005924 1.32% MLCellLinOp::defineAuxData() 6 0.005773 0.005773 0.005773 1.28% amrex::Copy() 221 0.005659 0.005659 0.005659 1.26% Gravity::fill_multipole_BCs() 6 0.005082 0.005082 0.005082 1.13% Castro::enforce_min_density() 30 0.005056 0.005056 0.005056 1.12% Amr::restart() 1 0.005043 0.005043 0.005043 1.12% MLPoisson::Fapply() 464 0.004821 0.004821 0.004821 1.07% FabArray::Xpay() 325 0.003665 0.003665 0.003665 0.81% MLMG::addInterpCorrection() 180 0.003247 0.003247 0.003247 0.72% amrex::average_down 180 0.003029 0.003029 0.003029 0.67% Castro::estTimeStep() 10 0.002871 0.002871 0.002871 0.64% Amr::writePlotFile() 1 0.002383 0.002383 0.002383 0.53% BndryData::define() 6 0.002258 0.002258 0.002258 0.50% Castro::construct_new_gravity_source() 5 0.001836 0.001836 0.001836 0.41% amrex::Add() 36 0.001665 0.001665 0.001665 0.37% Castro::construct_old_gravity_source() 5 0.001514 0.001514 0.001514 0.34% Castro::reset_internal_energy(Fab) 240 0.001057 0.001057 0.001057 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001012 0.001012 0.001012 0.22% check_for_negative_density() 5 0.0009542 0.0009542 0.0009542 0.21% MLCellLinOp::setLevelBC() 6 0.0009203 0.0009203 0.0009203 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008367 0.0008367 0.0008367 0.19% MLCellLinOp::prepareForSolve() 6 0.0007759 0.0007759 0.0007759 0.17% MLCGSolver::bicgstab 36 0.0007507 0.0007507 0.0007507 0.17% FabArray::setDomainBndry() 20 0.0007291 0.0007291 0.0007291 0.16% FabArray::mult() 22 0.0007249 0.0007249 0.0007249 0.16% MLCellLinOp::compGrad() 6 0.0006338 0.0006338 0.0006338 0.14% MLCellLinOp::smooth() 720 0.0005049 0.0005049 0.0005049 0.11% MLMG::prepareForSolve() 6 0.0003929 0.0003929 0.0003929 0.09% FabArrayBase::getCPC() 632 0.0003692 0.0003692 0.0003692 0.08% main() 1 0.0003555 0.0003555 0.0003555 0.08% FabArray::FillBoundary() 1730 0.0003442 0.0003442 0.0003442 0.08% Gravity::get_old_grav_vector() 5 0.0003402 0.0003402 0.0003402 0.08% Gravity::get_new_grav_vector() 5 0.0002353 0.0002353 0.0002353 0.05% AmrLevel::FillPatch() 20 0.0001961 0.0001961 0.0001961 0.04% Amr::coarseTimeStep() 5 0.0001884 0.0001884 0.0001884 0.04% MLCellLinOp::apply() 464 0.000185 0.000185 0.000185 0.04% Castro::subcycle_advance_ctu() 5 0.0001795 0.0001795 0.0001795 0.04% MLCellLinOp::defineBC() 6 0.0001514 0.0001514 0.0001514 0.03% MLCGSolver::ParallelAllReduce 798 0.000147 0.000147 0.000147 0.03% Castro::construct_new_source() 25 0.0001372 0.0001372 0.0001372 0.03% FabArray::ParallelCopy() 380 0.0001149 0.0001149 0.0001149 0.03% FillPatchIterator::Initialize 20 0.0001047 0.0001047 0.0001047 0.02% MLMG::mgVcycle() 36 8.579e-05 8.579e-05 8.579e-05 0.02% Amr::timeStep() 5 8.445e-05 8.445e-05 8.445e-05 0.02% MLCellLinOp::correctionResidual() 180 7.847e-05 7.847e-05 7.847e-05 0.02% Castro::initialize_do_advance() 5 7.543e-05 7.543e-05 7.543e-05 0.02% StateData::restartDoit() 4 6.938e-05 6.938e-05 6.938e-05 0.02% AmrLevel::restart() 1 6.691e-05 6.691e-05 6.691e-05 0.01% Castro::finalize_do_advance() 5 6.58e-05 6.58e-05 6.58e-05 0.01% Gravity::update_max_rhs() 6 6.282e-05 6.282e-05 6.282e-05 0.01% Castro::do_advance_ctu() 5 5.213e-05 5.213e-05 5.213e-05 0.01% MLMG:computeResOfCorrection() 180 5.037e-05 5.037e-05 5.037e-05 0.01% Gravity::solve_for_phi() 5 4.823e-05 4.823e-05 4.823e-05 0.01% MLMG::mgVcycle_down::0 36 4.082e-05 4.082e-05 4.082e-05 0.01% MLMG::actualBottomSolve() 36 3.87e-05 3.87e-05 3.87e-05 0.01% MLMG::mgVcycle_down::1 36 3.692e-05 3.692e-05 3.692e-05 0.01% Castro::advance() 5 3.652e-05 3.652e-05 3.652e-05 0.01% Castro::initialize_advance() 5 3.646e-05 3.646e-05 3.646e-05 0.01% MLMG::solve() 6 3.453e-05 3.453e-05 3.453e-05 0.01% MLMG::mgVcycle_down::2 36 3.386e-05 3.386e-05 3.386e-05 0.01% MLMG::mgVcycle_down::4 36 3.282e-05 3.282e-05 3.282e-05 0.01% MLMG::mgVcycle_down::3 36 3.15e-05 3.15e-05 3.15e-05 0.01% Castro::clean_state() 30 2.931e-05 2.931e-05 2.931e-05 0.01% Castro::construct_old_source() 25 2.848e-05 2.848e-05 2.848e-05 0.01% Castro::post_restart() 1 2.785e-05 2.785e-05 2.785e-05 0.01% Castro::construct_old_gravity() 5 2.769e-05 2.769e-05 2.769e-05 0.01% MLMG::mgVcycle_up::4 36 2.638e-05 2.638e-05 2.638e-05 0.01% MLMG::oneIter() 36 2.522e-05 2.522e-05 2.522e-05 0.01% MLMG::mgVcycle_up::2 36 2.489e-05 2.489e-05 2.489e-05 0.01% MLMG::mgVcycle_up::3 36 2.291e-05 2.291e-05 2.291e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.199e-05 2.199e-05 2.199e-05 0.00% MLMG::mgVcycle_up::0 36 2.176e-05 2.176e-05 2.176e-05 0.00% MLCellLinOp::solutionResidual() 42 2.097e-05 2.097e-05 2.097e-05 0.00% MLMG::mgVcycle_up::1 36 2.089e-05 2.089e-05 2.089e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.731e-05 1.731e-05 1.731e-05 0.00% FillPatchSingleLevel 20 1.629e-05 1.629e-05 1.629e-05 0.00% MLMG::ResNormInf() 42 1.611e-05 1.611e-05 1.611e-05 0.00% MLMG::mgVcycle_bottom 36 1.431e-05 1.431e-05 1.431e-05 0.00% MLMG::computeResidual() 36 1.422e-05 1.422e-05 1.422e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.275e-05 1.275e-05 1.275e-05 0.00% MLPoisson::define() 6 1.21e-05 1.21e-05 1.21e-05 0.00% Castro::construct_new_gravity() 5 1.189e-05 1.189e-05 1.189e-05 0.00% Castro::do_old_sources() 5 1.143e-05 1.143e-05 1.143e-05 0.00% MLPoisson::prepareForSolve() 6 1.034e-05 1.034e-05 1.034e-05 0.00% Castro::do_new_sources() 5 9.253e-06 9.253e-06 9.253e-06 0.00% Castro::expand_state() 5 8.868e-06 8.868e-06 8.868e-06 0.00% Gravity::actual_multilevel_solve() 1 8.683e-06 8.683e-06 8.683e-06 0.00% Castro::apply_source_to_state() 10 6.21e-06 6.21e-06 6.21e-06 0.00% Castro::post_timestep() 5 5.061e-06 5.061e-06 5.061e-06 0.00% MLMG::computeMLResidual() 6 3.925e-06 3.925e-06 3.925e-06 0.00% Castro::computeNewDt() 5 3.751e-06 3.751e-06 3.751e-06 0.00% MLMG::getGradSolution() 6 3.302e-06 3.302e-06 3.302e-06 0.00% Amr::init() 1 1.067e-06 1.067e-06 1.067e-06 0.00% Other 2200 0.002375 0.002375 0.002375 0.53% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4499 0.4499 0.4499 99.99% Amr::coarseTimeStep() 5 0.3378 0.3378 0.3378 75.07% Amr::timeStep() 5 0.3359 0.3359 0.3359 74.65% Castro::advance() 5 0.3293 0.3293 0.3293 73.17% Castro::subcycle_advance_ctu() 5 0.3224 0.3224 0.3224 71.65% Castro::do_advance_ctu() 5 0.3223 0.3223 0.3223 71.61% Castro::construct_new_gravity() 5 0.1429 0.1429 0.1429 31.76% Gravity::solve_phi_with_mlmg() 6 0.1401 0.1401 0.1401 31.13% Castro::construct_ctu_hydro_source() 5 0.1401 0.1401 0.1401 31.13% Gravity::solve_for_phi() 5 0.1347 0.1347 0.1347 29.94% Gravity::actual_solve_with_mlmg() 6 0.1347 0.1347 0.1347 29.94% MLMG::solve() 6 0.1223 0.1223 0.1223 27.18% MLMG::oneIter() 36 0.1143 0.1143 0.1143 25.41% MLMG::mgVcycle() 36 0.1126 0.1126 0.1126 25.03% Amr::init() 1 0.07333 0.07333 0.07333 16.30% Amr::restart() 1 0.07333 0.07333 0.07333 16.30% AmrLevel::restart() 1 0.06212 0.06212 0.06212 13.81% StateData::restartDoit() 4 0.06205 0.06205 0.06205 13.79% VisMF::Read() 3 0.06175 0.06175 0.06175 13.72% MLCellLinOp::smooth() 720 0.05662 0.05662 0.05662 12.58% MLCellLinOp::applyBC() 1910 0.05283 0.05283 0.05283 11.74% Amr::writePlotFile() 1 0.03816 0.03816 0.03816 8.48% VisMF::Write(FabArray) 1 0.03551 0.03551 0.03551 7.89% MLMG::mgVcycle_bottom 36 0.03322 0.03322 0.03322 7.38% MLMG::actualBottomSolve() 36 0.0332 0.0332 0.0332 7.38% MLCGSolver::bicgstab 36 0.03283 0.03283 0.03283 7.30% Castro::clean_state() 30 0.03014 0.03014 0.03014 6.70% AmrLevel::FillPatch() 20 0.02423 0.02423 0.02423 5.38% FillPatchIterator::Initialize 20 0.0221 0.0221 0.0221 4.91% FillPatchIterator::FillFromLevel0() 20 0.02127 0.02127 0.02127 4.73% FillPatchSingleLevel 20 0.02125 0.02125 0.02125 4.72% StateDataPhysBCFunct::() 20 0.01916 0.01916 0.01916 4.26% Castro::computeTemp() 30 0.019 0.019 0.019 4.22% MLCellLinOp::apply() 464 0.01704 0.01704 0.01704 3.79% MLMG::mgVcycle_down::0 36 0.01647 0.01647 0.01647 3.66% MLPoisson::Fsmooth() 1440 0.01562 0.01562 0.01562 3.47% FabArray::FillBoundary() 1730 0.01541 0.01541 0.01541 3.42% FillBoundary_nowait() 1730 0.01506 0.01506 0.01506 3.35% StateData::FillBoundary(geom) 160 0.01317 0.01317 0.01317 2.93% MLMG::mgVcycle_up::0 36 0.01224 0.01224 0.01224 2.72% Castro::initialize_do_advance() 5 0.01197 0.01197 0.01197 2.66% Castro::reset_internal_energy(MultiFab) 30 0.01022 0.01022 0.01022 2.27% Castro::do_old_sources() 5 0.009794 0.009794 0.009794 2.18% MLPoisson::define() 6 0.009752 0.009752 0.009752 2.17% amrex::Dot() 484 0.0097 0.0097 0.0097 2.16% MLMG:computeResOfCorrection() 180 0.00949 0.00949 0.00949 2.11% MLCellLinOp::correctionResidual() 180 0.009439 0.009439 0.009439 2.10% FabArray::norminf() 465 0.00908 0.00908 0.00908 2.02% Castro::construct_old_gravity() 5 0.008078 0.008078 0.008078 1.80% Gravity::get_old_grav_vector() 5 0.00805 0.00805 0.00805 1.79% Gravity::get_new_grav_vector() 5 0.008039 0.008039 0.008039 1.79% MLMG::mgVcycle_down::1 36 0.007852 0.007852 0.007852 1.74% Castro::do_new_sources() 5 0.007681 0.007681 0.007681 1.71% MLMG::mgVcycle_down::2 36 0.007134 0.007134 0.007134 1.59% MLMG::mgVcycle_down::3 36 0.006946 0.006946 0.006946 1.54% FabArray::ParallelCopy() 380 0.006929 0.006929 0.006929 1.54% FabArray::setVal() 501 0.006902 0.006902 0.006902 1.53% MLMG::mgVcycle_down::4 36 0.006892 0.006892 0.006892 1.53% FabArray::ParallelCopy_nowait() 380 0.006814 0.006814 0.006814 1.51% Castro::expand_state() 5 0.006722 0.006722 0.006722 1.49% MLCellLinOp::defineAuxData() 6 0.006577 0.006577 0.006577 1.46% Castro::post_timestep() 5 0.006563 0.006563 0.006563 1.46% Castro::initialize_advance() 5 0.006484 0.006484 0.006484 1.44% FabArray::Saxpy() 597 0.006145 0.006145 0.006145 1.37% Castro::post_restart() 1 0.00596 0.00596 0.00596 1.32% Castro::normalize_species() 30 0.005924 0.005924 0.005924 1.32% MLCGSolver::ParallelAllReduce 798 0.005864 0.005864 0.005864 1.30% amrex::Copy() 221 0.005659 0.005659 0.005659 1.26% MLMG::addInterpCorrection() 180 0.005652 0.005652 0.005652 1.26% Gravity::multilevel_solve_for_new_phi() 1 0.00558 0.00558 0.00558 1.24% Gravity::actual_multilevel_solve() 1 0.005563 0.005563 0.005563 1.24% MLMG::mgVcycle_up::1 36 0.005545 0.005545 0.005545 1.23% MLMG::mgVcycle_up::4 36 0.005542 0.005542 0.005542 1.23% amrex::average_down 180 0.005486 0.005486 0.005486 1.22% MLMG::mgVcycle_up::2 36 0.005418 0.005418 0.005418 1.20% MLMG::mgVcycle_up::3 36 0.005306 0.005306 0.005306 1.18% Gravity::fill_multipole_BCs() 6 0.005215 0.005215 0.005215 1.16% Castro::enforce_min_density() 30 0.005056 0.005056 0.005056 1.12% MLPoisson::Fapply() 464 0.004821 0.004821 0.004821 1.07% MLCellLinOp::solutionResidual() 42 0.003878 0.003878 0.003878 0.86% FabArray::Xpay() 325 0.003665 0.003665 0.003665 0.81% MLCellLinOp::defineBC() 6 0.003027 0.003027 0.003027 0.67% MLMG::computeResidual() 36 0.00301 0.00301 0.00301 0.67% BndryData::define() 6 0.002875 0.002875 0.002875 0.64% Castro::estTimeStep() 10 0.002871 0.002871 0.002871 0.64% MLMG::prepareForSolve() 6 0.002835 0.002835 0.002835 0.63% Castro::construct_new_source() 25 0.001973 0.001973 0.001973 0.44% Castro::construct_new_gravity_source() 5 0.001836 0.001836 0.001836 0.41% Castro::computeNewDt() 5 0.001705 0.001705 0.001705 0.38% amrex::Add() 36 0.001665 0.001665 0.001665 0.37% Castro::construct_old_source() 25 0.001543 0.001543 0.001543 0.34% Castro::construct_old_gravity_source() 5 0.001514 0.001514 0.001514 0.34% Castro::finalize_do_advance() 5 0.001236 0.001236 0.001236 0.27% Castro::reset_internal_energy(Fab) 240 0.001057 0.001057 0.001057 0.23% MLMG::ResNormInf() 42 0.001051 0.001051 0.001051 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001012 0.001012 0.001012 0.22% Castro::apply_source_to_state() 10 0.0009766 0.0009766 0.0009766 0.22% check_for_negative_density() 5 0.0009542 0.0009542 0.0009542 0.21% MLMG::getGradSolution() 6 0.0009417 0.0009417 0.0009417 0.21% MLCellLinOp::compGrad() 6 0.0009384 0.0009384 0.0009384 0.21% MLCellLinOp::setLevelBC() 6 0.0009203 0.0009203 0.0009203 0.20% MLMG::computeMLResidual() 6 0.0008866 0.0008866 0.0008866 0.20% FabArrayBase::getCPC() 632 0.0008024 0.0008024 0.0008024 0.18% MLPoisson::prepareForSolve() 6 0.0007863 0.0007863 0.0007863 0.17% MLCellLinOp::prepareForSolve() 6 0.0007759 0.0007759 0.0007759 0.17% Gravity::update_max_rhs() 6 0.0007425 0.0007425 0.0007425 0.16% FabArray::setDomainBndry() 20 0.0007291 0.0007291 0.0007291 0.16% FabArray::mult() 22 0.0007249 0.0007249 0.0007249 0.16% Other 2200 0.00434 0.00434 0.00434 0.96% -------------------------------------------------------------------------------------------- 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 12 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 1094 KiB 39 MiB Castro::initialize_do_advance() 40 40 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2313 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 6437 KiB 14 MiB MLMG::prepareForSolve() 354 354 3340 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 185 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 182 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6424 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 18 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3286 B 2048 KiB Gravity::solve_for_phi() 40 40 612 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 307 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 197 KiB 671 KiB Castro::estTimeStep() 10 10 3045 B 480 KiB VisMF::Write(FabArray) 112 112 2436 B 320 KiB Castro::normalize_species() 30 30 4275 B 320 KiB amrex::average_down 469 469 1485 B 257 KiB MLMG::addInterpCorrection() 468 468 1078 B 257 KiB amrex::Dot() 592 592 3185 B 160 KiB FabArray::norminf() 501 501 3123 B 160 KiB check_for_negative_density() 5 5 341 B 160 KiB MultiFab::max() 6 6 75 B 160 KiB FabArray::setVal() 67 67 21 KiB 28 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3237 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 284 B 9648 B MLCellLinOp::applyBC() 3820 3820 209 B 9344 B amrex::Copy() 56 56 5897 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 44 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 345 B 1248 B MLCGSolver::bicgstab 180 180 87 B 1216 B MLPoisson::Fapply() 6 6 272 B 1024 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1366 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 225 KiB 3584 KiB VisMF::Read() 24 24 206 KiB 3000 KiB FabArray::setVal() 67 67 21 KiB 28 KiB MLPoisson::Fsmooth() 60 60 3237 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 284 B 9648 B MLCellLinOp::applyBC() 1910 1910 208 B 9328 B amrex::Copy() 56 56 5897 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2522 B 3072 B StateData::FillBoundary(geom) 960 960 44 B 3024 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B amrex::average_down 37 37 468 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLPoisson::Fapply() 6 6 272 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 501 501 9 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2109 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.07-27-g3e4a2d58f789) finalized