Initializing AMReX (24.05-5-ga72fb5173b30)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-5-ga72fb5173b30) initialized Starting run at 09:16:03 UTC on 2024-05-07. Successfully read inputs file ... Castro git describe: 24.05-6-g4c1fa8f29 AMReX git describe: 24.05-5-ga72fb5173 Microphysics git describe: 24.05-3-gca9e5320 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.044159897 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024327315 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.064754266 [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.067466289 [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.070394673 [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.06771097 [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.061565567 [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.065815593 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.051907826 [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.06860659 [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.068445917 [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.05137565 [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.056952164 [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.043054343 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.023442491 seconds Ending run at 09:16:04 UTC on 2024-05-07. Run time = 0.881421987 Run time without initialization = 0.762157019 Average number of zones advanced per microsecond: 3.440 Average number of zones advanced per microsecond per rank: 3.440 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.8815 ... 0.8815 ... 0.8815 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2561 0.2561 0.2561 29.05% VisMF::Write(FabArray) 11 0.176 0.176 0.176 19.96% MLCellLinOp::applyBC() 4298 0.07932 0.07932 0.07932 9.00% MLPoisson::Fsmooth() 3240 0.03271 0.03271 0.03271 3.71% FillBoundary_nowait() 3893 0.03062 0.03062 0.03062 3.47% StateData::FillBoundary(geom) 328 0.02594 0.02594 0.02594 2.94% Amr::checkPoint() 3 0.02229 0.02229 0.02229 2.53% amrex::Dot() 1100 0.02084 0.02084 0.02084 2.36% FabArray::norminf() 1048 0.01939 0.01939 0.01939 2.20% Castro::normalize_species() 62 0.01859 0.01859 0.01859 2.11% Castro::computeTemp() 63 0.01569 0.01569 0.01569 1.78% FabArray::ParallelCopy_nowait() 851 0.0135 0.0135 0.0135 1.53% FabArray::setVal() 1054 0.01328 0.01328 0.01328 1.51% StateDataPhysBCFunct::() 41 0.01317 0.01317 0.01317 1.49% FabArray::Saxpy() 1353 0.01281 0.01281 0.01281 1.45% Castro::enforce_min_density() 62 0.01113 0.01113 0.01113 1.26% amrex::Copy() 469 0.01088 0.01088 0.01088 1.23% MLCellLinOp::defineAuxData() 11 0.01044 0.01044 0.01044 1.18% MLPoisson::Fapply() 1047 0.01009 0.01009 0.01009 1.14% Gravity::fill_multipole_BCs() 11 0.009068 0.009068 0.009068 1.03% FabArray::Xpay() 730 0.007664 0.007664 0.007664 0.87% MLMG::addInterpCorrection() 405 0.006921 0.006921 0.006921 0.79% amrex::average_down 405 0.006029 0.006029 0.006029 0.68% Castro::estTimeStep() 21 0.005959 0.005959 0.005959 0.68% Castro::reset_internal_energy(MultiFab) 63 0.004772 0.004772 0.004772 0.54% BndryData::define() 11 0.003907 0.003907 0.003907 0.44% amrex::Add() 81 0.00356 0.00356 0.00356 0.40% Castro::construct_new_gravity_source() 10 0.003169 0.003169 0.003169 0.36% Castro::construct_old_gravity_source() 10 0.002551 0.002551 0.002551 0.29% Amr::writePlotFile() 2 0.002071 0.002071 0.002071 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001827 0.001827 0.001827 0.21% MLCGSolver::bicgstab 81 0.001707 0.001707 0.001707 0.19% Castro::enforce_speed_limit() 62 0.001704 0.001704 0.001704 0.19% check_for_negative_density() 10 0.001648 0.001648 0.001648 0.19% Castro::reset_internal_energy(Fab) 504 0.001634 0.001634 0.001634 0.19% MLCellLinOp::setLevelBC() 11 0.001595 0.001595 0.001595 0.18% Gravity::actual_solve_with_mlmg() 11 0.001553 0.001553 0.001553 0.18% Castro::initData() 1 0.001425 0.001425 0.001425 0.16% FabArray::mult() 43 0.001381 0.001381 0.001381 0.16% FabArray::setDomainBndry() 41 0.001374 0.001374 0.001374 0.16% MLCellLinOp::prepareForSolve() 11 0.001304 0.001304 0.001304 0.15% MultiFab::contains_nan() 20 0.00126 0.00126 0.00126 0.14% MLCellLinOp::smooth() 1620 0.001066 0.001066 0.001066 0.12% MLCellLinOp::compGrad() 11 0.001049 0.001049 0.001049 0.12% MLMG::prepareForSolve() 11 0.0009726 0.0009726 0.0009726 0.11% FabArrayBase::getCPC() 1313 0.000788 0.000788 0.000788 0.09% FabArray::FillBoundary() 3893 0.0007851 0.0007851 0.0007851 0.09% Gravity::get_new_grav_vector() 11 0.0005961 0.0005961 0.0005961 0.07% Gravity::get_old_grav_vector() 10 0.0004858 0.0004858 0.0004858 0.06% AmrLevel::FillPatch() 41 0.0004246 0.0004246 0.0004246 0.05% MLCellLinOp::apply() 1047 0.0004184 0.0004184 0.0004184 0.05% Amr::coarseTimeStep() 10 0.0003334 0.0003334 0.0003334 0.04% MLCGSolver::ParallelAllReduce 1809 0.0003182 0.0003182 0.0003182 0.04% main() 1 0.0002765 0.0002765 0.0002765 0.03% MLCellLinOp::defineBC() 11 0.0002617 0.0002617 0.0002617 0.03% FabArray::ParallelCopy() 851 0.0002464 0.0002464 0.0002464 0.03% FillPatchIterator::Initialize 41 0.00024 0.00024 0.00024 0.03% MLMG::mgVcycle() 81 0.0001899 0.0001899 0.0001899 0.02% Castro::subcycle_advance_ctu() 10 0.0001849 0.0001849 0.0001849 0.02% MLCellLinOp::correctionResidual() 405 0.0001744 0.0001744 0.0001744 0.02% Amr::timeStep() 10 0.0001585 0.0001585 0.0001585 0.02% Castro::construct_new_source() 50 0.0001558 0.0001558 0.0001558 0.02% Castro::advance() 10 0.0001262 0.0001262 0.0001262 0.01% StateData::checkPoint() 12 0.0001175 0.0001175 0.0001175 0.01% MLMG:computeResOfCorrection() 405 0.0001156 0.0001156 0.0001156 0.01% Gravity::solve_for_phi() 10 0.0001052 0.0001052 0.0001052 0.01% MLMG::actualBottomSolve() 81 8.725e-05 8.725e-05 8.725e-05 0.01% Castro::initialize_advance() 10 8.618e-05 8.618e-05 8.618e-05 0.01% MLMG::mgVcycle_down::0 81 8.085e-05 8.085e-05 8.085e-05 0.01% MLMG::mgVcycle_down::1 81 7.378e-05 7.378e-05 7.378e-05 0.01% MLMG::mgVcycle_down::2 81 7.368e-05 7.368e-05 7.368e-05 0.01% MLMG::solve() 11 7.366e-05 7.366e-05 7.366e-05 0.01% MLMG::mgVcycle_down::4 81 6.99e-05 6.99e-05 6.99e-05 0.01% AmrLevel::checkPoint() 3 6.831e-05 6.831e-05 6.831e-05 0.01% Castro::clean_state() 62 6.794e-05 6.794e-05 6.794e-05 0.01% MLMG::mgVcycle_down::3 81 6.663e-05 6.663e-05 6.663e-05 0.01% Castro::initialize_do_advance() 10 6.547e-05 6.547e-05 6.547e-05 0.01% MLMG::oneIter() 81 5.468e-05 5.468e-05 5.468e-05 0.01% MLMG::mgVcycle_up::4 81 5.367e-05 5.367e-05 5.367e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.901e-05 4.901e-05 4.901e-05 0.01% MLMG::mgVcycle_up::1 81 4.795e-05 4.795e-05 4.795e-05 0.01% MLMG::mgVcycle_up::3 81 4.671e-05 4.671e-05 4.671e-05 0.01% MLMG::mgVcycle_up::0 81 4.632e-05 4.632e-05 4.632e-05 0.01% Castro::do_advance_ctu() 10 4.628e-05 4.628e-05 4.628e-05 0.01% Castro::finalize_do_advance() 10 4.503e-05 4.503e-05 4.503e-05 0.01% MLCellLinOp::solutionResidual() 92 4.486e-05 4.486e-05 4.486e-05 0.01% MLMG::mgVcycle_up::2 81 4.349e-05 4.349e-05 4.349e-05 0.00% FillPatchSingleLevel 41 3.739e-05 3.739e-05 3.739e-05 0.00% MLMG::ResNormInf() 92 3.395e-05 3.395e-05 3.395e-05 0.00% MLMG::computeResidual() 81 3.193e-05 3.193e-05 3.193e-05 0.00% Amr::defBaseLevel() 1 3.089e-05 3.089e-05 3.089e-05 0.00% MLMG::mgVcycle_bottom 81 2.961e-05 2.961e-05 2.961e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.847e-05 2.847e-05 2.847e-05 0.00% MLPoisson::define() 11 2.362e-05 2.362e-05 2.362e-05 0.00% Castro::do_old_sources() 10 2.272e-05 2.272e-05 2.272e-05 0.00% Castro::construct_new_gravity() 10 2.244e-05 2.244e-05 2.244e-05 0.00% Amr::FinalizeInit() 1 1.961e-05 1.961e-05 1.961e-05 0.00% Castro::construct_old_source() 50 1.861e-05 1.861e-05 1.861e-05 0.00% Castro::do_new_sources() 10 1.83e-05 1.83e-05 1.83e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.774e-05 1.774e-05 1.774e-05 0.00% Gravity::actual_multilevel_solve() 1 1.445e-05 1.445e-05 1.445e-05 0.00% Castro::construct_old_gravity() 10 1.35e-05 1.35e-05 1.35e-05 0.00% Castro::check_for_nan() 20 1.137e-05 1.137e-05 1.137e-05 0.00% Castro::computeNewDt() 9 1.134e-05 1.134e-05 1.134e-05 0.00% Castro::apply_source_to_state() 20 1.123e-05 1.123e-05 1.123e-05 0.00% MLMG::computeMLResidual() 11 1.096e-05 1.096e-05 1.096e-05 0.00% Castro::post_timestep() 10 7.841e-06 7.841e-06 7.841e-06 0.00% MLPoisson::prepareForSolve() 11 7.047e-06 7.047e-06 7.047e-06 0.00% MLMG::getGradSolution() 11 6.748e-06 6.748e-06 6.748e-06 0.00% Amr::InitializeInit() 1 5.852e-06 5.852e-06 5.852e-06 0.00% Castro::expand_state() 10 5.821e-06 5.821e-06 5.821e-06 0.00% Castro::post_init() 1 3.818e-06 3.818e-06 3.818e-06 0.00% Castro::computeInitialDt() 2 3.001e-06 3.001e-06 3.001e-06 0.00% Amr::init() 1 2.322e-06 2.322e-06 2.322e-06 0.00% Amr::initialInit() 1 9.27e-07 9.27e-07 9.27e-07 0.00% Other 4703 0.003308 0.003308 0.003308 0.38% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8814 0.8814 0.8814 100.00% Amr::coarseTimeStep() 10 0.7385 0.7385 0.7385 83.78% Amr::timeStep() 10 0.6259 0.6259 0.6259 71.01% Castro::advance() 10 0.6159 0.6159 0.6159 69.87% Castro::subcycle_advance_ctu() 10 0.6014 0.6014 0.6014 68.23% Castro::do_advance_ctu() 10 0.6012 0.6012 0.6012 68.21% Gravity::solve_phi_with_mlmg() 11 0.2891 0.2891 0.2891 32.80% Gravity::actual_solve_with_mlmg() 11 0.2796 0.2796 0.2796 31.72% Castro::construct_ctu_hydro_source() 10 0.266 0.266 0.266 30.18% Castro::construct_new_gravity() 10 0.2646 0.2646 0.2646 30.02% MLMG::solve() 11 0.2575 0.2575 0.2575 29.21% Gravity::solve_for_phi() 10 0.248 0.248 0.248 28.13% MLMG::oneIter() 81 0.2422 0.2422 0.2422 27.48% MLMG::mgVcycle() 81 0.2386 0.2386 0.2386 27.07% VisMF::Write(FabArray) 11 0.176 0.176 0.176 19.96% Amr::checkPoint() 3 0.1532 0.1532 0.1532 17.38% AmrLevel::checkPoint() 3 0.1309 0.1309 0.1309 14.85% StateData::checkPoint() 12 0.1308 0.1308 0.1308 14.84% MLCellLinOp::smooth() 1620 0.1196 0.1196 0.1196 13.56% Amr::init() 1 0.1186 0.1186 0.1186 13.46% MLCellLinOp::applyBC() 4298 0.1115 0.1115 0.1115 12.65% MLMG::mgVcycle_bottom 81 0.07105 0.07105 0.07105 8.06% MLMG::actualBottomSolve() 81 0.07102 0.07102 0.07102 8.06% MLCGSolver::bicgstab 81 0.07022 0.07022 0.07022 7.97% Castro::clean_state() 62 0.05279 0.05279 0.05279 5.99% Amr::initialInit() 1 0.04998 0.04998 0.04998 5.67% AmrLevel::FillPatch() 41 0.04925 0.04925 0.04925 5.59% Amr::writePlotFile() 2 0.04789 0.04789 0.04789 5.43% Amr::FinalizeInit() 1 0.04541 0.04541 0.04541 5.15% FillPatchIterator::Initialize 41 0.04494 0.04494 0.04494 5.10% Castro::post_init() 1 0.04413 0.04413 0.04413 5.01% FillPatchIterator::FillFromLevel0() 41 0.04333 0.04333 0.04333 4.92% FillPatchSingleLevel 41 0.04328 0.04328 0.04328 4.91% Gravity::multilevel_solve_for_new_phi() 1 0.04155 0.04155 0.04155 4.71% Gravity::actual_multilevel_solve() 1 0.04154 0.04154 0.04154 4.71% StateDataPhysBCFunct::() 41 0.03912 0.03912 0.03912 4.44% MLCellLinOp::apply() 1047 0.03569 0.03569 0.03569 4.05% MLMG::mgVcycle_down::0 81 0.0343 0.0343 0.0343 3.89% MLPoisson::Fsmooth() 3240 0.03271 0.03271 0.03271 3.71% FabArray::FillBoundary() 3893 0.03215 0.03215 0.03215 3.65% FillBoundary_nowait() 3893 0.03137 0.03137 0.03137 3.56% MLMG::mgVcycle_up::0 81 0.02596 0.02596 0.02596 2.95% StateData::FillBoundary(geom) 328 0.02594 0.02594 0.02594 2.94% Castro::computeTemp() 63 0.02209 0.02209 0.02209 2.51% Castro::initialize_do_advance() 10 0.02086 0.02086 0.02086 2.37% amrex::Dot() 1100 0.02084 0.02084 0.02084 2.36% MLMG:computeResOfCorrection() 405 0.02007 0.02007 0.02007 2.28% MLCellLinOp::correctionResidual() 405 0.01995 0.01995 0.01995 2.26% FabArray::norminf() 1048 0.01939 0.01939 0.01939 2.20% Castro::do_old_sources() 10 0.01887 0.01887 0.01887 2.14% Gravity::get_new_grav_vector() 11 0.01874 0.01874 0.01874 2.13% Castro::normalize_species() 62 0.01859 0.01859 0.01859 2.11% MLPoisson::define() 11 0.01736 0.01736 0.01736 1.97% MLMG::mgVcycle_down::1 81 0.01631 0.01631 0.01631 1.85% Castro::construct_old_gravity() 10 0.01543 0.01543 0.01543 1.75% Gravity::get_old_grav_vector() 10 0.01541 0.01541 0.01541 1.75% MLMG::mgVcycle_down::2 81 0.01515 0.01515 0.01515 1.72% MLMG::mgVcycle_down::3 81 0.01473 0.01473 0.01473 1.67% MLMG::mgVcycle_down::4 81 0.01463 0.01463 0.01463 1.66% FabArray::ParallelCopy() 851 0.01453 0.01453 0.01453 1.65% FabArray::ParallelCopy_nowait() 851 0.01429 0.01429 0.01429 1.62% Castro::initialize_advance() 10 0.01371 0.01371 0.01371 1.56% FabArray::setVal() 1054 0.01328 0.01328 0.01328 1.51% FabArray::Saxpy() 1353 0.01281 0.01281 0.01281 1.45% MLCGSolver::ParallelAllReduce 1809 0.0125 0.0125 0.0125 1.42% Castro::do_new_sources() 10 0.01216 0.01216 0.01216 1.38% MLMG::addInterpCorrection() 405 0.01213 0.01213 0.01213 1.38% Castro::expand_state() 10 0.01194 0.01194 0.01194 1.35% MLCellLinOp::defineAuxData() 11 0.01191 0.01191 0.01191 1.35% MLMG::mgVcycle_up::1 81 0.01177 0.01177 0.01177 1.34% MLMG::mgVcycle_up::4 81 0.01172 0.01172 0.01172 1.33% MLMG::mgVcycle_up::2 81 0.0115 0.0115 0.0115 1.30% MLMG::mgVcycle_up::3 81 0.01129 0.01129 0.01129 1.28% amrex::average_down 405 0.01123 0.01123 0.01123 1.27% Castro::enforce_min_density() 62 0.01113 0.01113 0.01113 1.26% amrex::Copy() 469 0.01088 0.01088 0.01088 1.23% MLPoisson::Fapply() 1047 0.01009 0.01009 0.01009 1.14% Castro::post_timestep() 10 0.009903 0.009903 0.009903 1.12% Gravity::fill_multipole_BCs() 11 0.009303 0.009303 0.009303 1.06% MLCellLinOp::solutionResidual() 92 0.007679 0.007679 0.007679 0.87% FabArray::Xpay() 730 0.007664 0.007664 0.007664 0.87% MLMG::computeResidual() 81 0.006434 0.006434 0.006434 0.73% Castro::reset_internal_energy(MultiFab) 63 0.006406 0.006406 0.006406 0.73% Castro::estTimeStep() 21 0.005959 0.005959 0.005959 0.68% MLCellLinOp::defineBC() 11 0.005184 0.005184 0.005184 0.59% MLMG::prepareForSolve() 11 0.005118 0.005118 0.005118 0.58% BndryData::define() 11 0.004922 0.004922 0.004922 0.56% Amr::InitializeInit() 1 0.004566 0.004566 0.004566 0.52% Amr::defBaseLevel() 1 0.00456 0.00456 0.00456 0.52% Castro::initData() 1 0.00389 0.00389 0.00389 0.44% amrex::Add() 81 0.00356 0.00356 0.00356 0.40% Castro::construct_new_source() 50 0.003325 0.003325 0.003325 0.38% Castro::construct_new_gravity_source() 10 0.003169 0.003169 0.003169 0.36% Castro::construct_old_source() 50 0.002569 0.002569 0.002569 0.29% Castro::construct_old_gravity_source() 10 0.002551 0.002551 0.002551 0.29% Castro::computeNewDt() 9 0.002485 0.002485 0.002485 0.28% Castro::finalize_do_advance() 10 0.002322 0.002322 0.002322 0.26% MLMG::ResNormInf() 92 0.00213 0.00213 0.00213 0.24% Castro::apply_source_to_state() 20 0.001887 0.001887 0.001887 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001827 0.001827 0.001827 0.21% Castro::enforce_speed_limit() 62 0.001704 0.001704 0.001704 0.19% check_for_negative_density() 10 0.001648 0.001648 0.001648 0.19% Castro::reset_internal_energy(Fab) 504 0.001634 0.001634 0.001634 0.19% MLCellLinOp::setLevelBC() 11 0.001595 0.001595 0.001595 0.18% MLMG::getGradSolution() 11 0.001566 0.001566 0.001566 0.18% MLCellLinOp::compGrad() 11 0.001559 0.001559 0.001559 0.18% FabArrayBase::getCPC() 1313 0.001449 0.001449 0.001449 0.16% FabArray::mult() 43 0.001381 0.001381 0.001381 0.16% FabArray::setDomainBndry() 41 0.001374 0.001374 0.001374 0.16% MLPoisson::prepareForSolve() 11 0.001311 0.001311 0.001311 0.15% MLCellLinOp::prepareForSolve() 11 0.001304 0.001304 0.001304 0.15% MLMG::computeMLResidual() 11 0.001288 0.001288 0.001288 0.15% Castro::check_for_nan() 20 0.001271 0.001271 0.001271 0.14% MultiFab::contains_nan() 20 0.00126 0.00126 0.00126 0.14% Castro::computeInitialDt() 2 0.00121 0.00121 0.00121 0.14% Other 4703 0.007813 0.007813 0.007813 0.89% -------------------------------------------------------------------------------------------- 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 5448 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 1080 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1515 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7614 KiB 14 MiB MLMG::prepareForSolve() 660 660 3593 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 220 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 179 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 2251 B 2048 KiB Gravity::solve_for_phi() 80 80 575 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 96 KiB 2048 KiB BndryData::define() 1056 1056 328 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 209 KiB 671 KiB Castro::estTimeStep() 21 21 3293 B 480 KiB VisMF::Write(FabArray) 656 656 3475 B 320 KiB Castro::normalize_species() 62 62 6870 B 320 KiB amrex::average_down 1054 1054 1608 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1181 B 257 KiB amrex::Dot() 1343 1343 3488 B 160 KiB FabArray::norminf() 1129 1129 3399 B 160 KiB check_for_negative_density() 10 10 299 B 160 KiB Castro::initData() 1 1 52 B 160 KiB MultiFab::max() 11 11 59 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3506 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 45 B 10 KiB FillBoundary_nowait() 751 751 302 B 9648 B MLCellLinOp::applyBC() 8596 8596 224 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3922 B 6144 B StateData::FillBoundary(geom) 1992 1992 52 B 5376 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 370 B 1248 B MLCGSolver::bicgstab 405 405 96 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 600 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 63 KiB 8192 KiB VisMF::Write(FabArray) 744 744 435 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3506 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 45 B 10 KiB FillBoundary_nowait() 751 751 301 B 9648 B MLCellLinOp::applyBC() 4298 4298 222 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3922 B 6144 B StateData::FillBoundary(geom) 1992 1992 53 B 5376 B Gravity::get_new_grav_vector() 3 3 2900 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 82 82 617 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 299 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 25 B 400 B FabArray::norminf() 1129 1129 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): 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-5-ga72fb5173b30) finalized Initializing AMReX (24.05-5-ga72fb5173b30)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-5-ga72fb5173b30) initialized Starting run at 09:16:04 UTC on 2024-05-07. Successfully read inputs file ... Castro git describe: 24.05-6-g4c1fa8f29 AMReX git describe: 24.05-5-ga72fb5173 Microphysics git describe: 24.05-3-gca9e5320 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.516995704 Restart time = 0.07153914 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.070092113 [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.062735526 [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.073224097 [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.071010018 [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.055137309 [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.065664747 seconds Ending run at 09:16:05 UTC on 2024-05-07. Run time = 0.470507675 Run time without initialization = 0.398298797 Average number of zones advanced per microsecond: 3.291 Average number of zones advanced per microsecond per rank: 3.291 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4705 ... 0.4705 ... 0.4705 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1410 0.1410 0.1410 29.97% VisMF::Read() 3 0.06029 0.06029 0.06029 12.81% Amr::writePlotFile() 1 0.04154 0.04154 0.04154 8.83% MLCellLinOp::applyBC() 1910 0.03498 0.03498 0.03498 7.43% VisMF::Write(FabArray) 1 0.02396 0.02396 0.02396 5.09% MLPoisson::Fsmooth() 1440 0.01456 0.01456 0.01456 3.09% FillBoundary_nowait() 1730 0.01311 0.01311 0.01311 2.79% StateData::FillBoundary(geom) 160 0.01256 0.01256 0.01256 2.67% Castro::normalize_species() 30 0.009967 0.009967 0.009967 2.12% amrex::Dot() 484 0.008986 0.008986 0.008986 1.91% FabArray::norminf() 465 0.008475 0.008475 0.008475 1.80% Castro::computeTemp() 30 0.007387 0.007387 0.007387 1.57% FabArray::setVal() 501 0.006493 0.006493 0.006493 1.38% FabArray::ParallelCopy_nowait() 380 0.006082 0.006082 0.006082 1.29% FabArray::Saxpy() 597 0.005764 0.005764 0.005764 1.23% MLCellLinOp::defineAuxData() 6 0.005616 0.005616 0.005616 1.19% amrex::Copy() 221 0.005454 0.005454 0.005454 1.16% Castro::enforce_min_density() 30 0.005275 0.005275 0.005275 1.12% StateDataPhysBCFunct::() 20 0.005156 0.005156 0.005156 1.10% Gravity::fill_multipole_BCs() 6 0.005151 0.005151 0.005151 1.09% Amr::restart() 1 0.004886 0.004886 0.004886 1.04% MLPoisson::Fapply() 464 0.0044 0.0044 0.0044 0.94% FabArray::Xpay() 325 0.003431 0.003431 0.003431 0.73% Castro::estTimeStep() 10 0.003154 0.003154 0.003154 0.67% MLMG::addInterpCorrection() 180 0.003061 0.003061 0.003061 0.65% amrex::average_down 180 0.002665 0.002665 0.002665 0.57% BndryData::define() 6 0.002122 0.002122 0.002122 0.45% Castro::reset_internal_energy(MultiFab) 30 0.001933 0.001933 0.001933 0.41% Castro::construct_new_gravity_source() 5 0.001843 0.001843 0.001843 0.39% amrex::Add() 36 0.001543 0.001543 0.001543 0.33% Castro::construct_old_gravity_source() 5 0.001534 0.001534 0.001534 0.33% Castro::subcycle_advance_ctu() 5 0.001322 0.001322 0.001322 0.28% Castro::enforce_speed_limit() 30 0.001195 0.001195 0.001195 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009729 0.0009729 0.0009729 0.21% MLCellLinOp::setLevelBC() 6 0.0008645 0.0008645 0.0008645 0.18% Gravity::actual_solve_with_mlmg() 6 0.000857 0.000857 0.000857 0.18% Castro::reset_internal_energy(Fab) 240 0.0008527 0.0008527 0.0008527 0.18% check_for_negative_density() 5 0.0008357 0.0008357 0.0008357 0.18% MLCellLinOp::prepareForSolve() 6 0.0007453 0.0007453 0.0007453 0.16% MLCGSolver::bicgstab 36 0.0007024 0.0007024 0.0007024 0.15% FabArray::setDomainBndry() 20 0.0007021 0.0007021 0.0007021 0.15% FabArray::mult() 22 0.0006892 0.0006892 0.0006892 0.15% MLCellLinOp::compGrad() 6 0.0005958 0.0005958 0.0005958 0.13% MLMG::prepareForSolve() 6 0.0005557 0.0005557 0.0005557 0.12% MLCellLinOp::smooth() 720 0.0004749 0.0004749 0.0004749 0.10% FabArrayBase::getCPC() 632 0.0003613 0.0003613 0.0003613 0.08% FabArray::FillBoundary() 1730 0.0003393 0.0003393 0.0003393 0.07% Gravity::get_old_grav_vector() 5 0.0002956 0.0002956 0.0002956 0.06% main() 1 0.0002768 0.0002768 0.0002768 0.06% Gravity::get_new_grav_vector() 5 0.0002332 0.0002332 0.0002332 0.05% AmrLevel::FillPatch() 20 0.0002018 0.0002018 0.0002018 0.04% MLCellLinOp::apply() 464 0.000191 0.000191 0.000191 0.04% Amr::coarseTimeStep() 5 0.0001555 0.0001555 0.0001555 0.03% MLCellLinOp::defineBC() 6 0.0001462 0.0001462 0.0001462 0.03% MLCGSolver::ParallelAllReduce 798 0.0001338 0.0001338 0.0001338 0.03% FabArray::ParallelCopy() 380 0.0001122 0.0001122 0.0001122 0.02% FillPatchIterator::Initialize 20 0.0001043 0.0001043 0.0001043 0.02% Castro::construct_new_source() 25 0.0001029 0.0001029 0.0001029 0.02% Amr::timeStep() 5 9.996e-05 9.996e-05 9.996e-05 0.02% MLMG::mgVcycle() 36 7.675e-05 7.675e-05 7.675e-05 0.02% Castro::finalize_do_advance() 5 7.608e-05 7.608e-05 7.608e-05 0.02% MLCellLinOp::correctionResidual() 180 7.516e-05 7.516e-05 7.516e-05 0.02% AmrLevel::restart() 1 7.282e-05 7.282e-05 7.282e-05 0.02% Gravity::update_max_rhs() 6 6.467e-05 6.467e-05 6.467e-05 0.01% StateData::restartDoit() 4 6.368e-05 6.368e-05 6.368e-05 0.01% Castro::advance() 5 6.071e-05 6.071e-05 6.071e-05 0.01% Castro::post_timestep() 5 5.614e-05 5.614e-05 5.614e-05 0.01% Castro::initialize_do_advance() 5 5.123e-05 5.123e-05 5.123e-05 0.01% Gravity::solve_for_phi() 5 5.044e-05 5.044e-05 5.044e-05 0.01% MLMG:computeResOfCorrection() 180 4.455e-05 4.455e-05 4.455e-05 0.01% MLMG::actualBottomSolve() 36 3.991e-05 3.991e-05 3.991e-05 0.01% Castro::initialize_advance() 5 3.69e-05 3.69e-05 3.69e-05 0.01% Castro::do_new_sources() 5 3.643e-05 3.643e-05 3.643e-05 0.01% MLMG::mgVcycle_down::0 36 3.555e-05 3.555e-05 3.555e-05 0.01% Castro::clean_state() 30 3.517e-05 3.517e-05 3.517e-05 0.01% Castro::construct_old_source() 25 3.443e-05 3.443e-05 3.443e-05 0.01% MLMG::solve() 6 3.378e-05 3.378e-05 3.378e-05 0.01% MLMG::mgVcycle_down::1 36 3.105e-05 3.105e-05 3.105e-05 0.01% MLMG::mgVcycle_down::2 36 2.95e-05 2.95e-05 2.95e-05 0.01% MLMG::mgVcycle_down::4 36 2.759e-05 2.759e-05 2.759e-05 0.01% MLMG::mgVcycle_down::3 36 2.611e-05 2.611e-05 2.611e-05 0.01% Castro::do_advance_ctu() 5 2.469e-05 2.469e-05 2.469e-05 0.01% MLMG::mgVcycle_up::4 36 2.445e-05 2.445e-05 2.445e-05 0.01% MLMG::oneIter() 36 2.43e-05 2.43e-05 2.43e-05 0.01% Castro::post_restart() 1 2.326e-05 2.326e-05 2.326e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.188e-05 2.188e-05 2.188e-05 0.00% MLCellLinOp::solutionResidual() 42 2.07e-05 2.07e-05 2.07e-05 0.00% MLMG::mgVcycle_up::3 36 1.983e-05 1.983e-05 1.983e-05 0.00% MLMG::mgVcycle_up::0 36 1.935e-05 1.935e-05 1.935e-05 0.00% MLPoisson::define() 6 1.863e-05 1.863e-05 1.863e-05 0.00% MLMG::mgVcycle_up::2 36 1.805e-05 1.805e-05 1.805e-05 0.00% MLMG::mgVcycle_up::1 36 1.765e-05 1.765e-05 1.765e-05 0.00% MLMG::ResNormInf() 42 1.752e-05 1.752e-05 1.752e-05 0.00% FillPatchSingleLevel 20 1.708e-05 1.708e-05 1.708e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.62e-05 1.62e-05 1.62e-05 0.00% Gravity::actual_multilevel_solve() 1 1.585e-05 1.585e-05 1.585e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.506e-05 1.506e-05 1.506e-05 0.00% MLMG::computeResidual() 36 1.446e-05 1.446e-05 1.446e-05 0.00% MLMG::mgVcycle_bottom 36 1.418e-05 1.418e-05 1.418e-05 0.00% Castro::construct_new_gravity() 5 1.248e-05 1.248e-05 1.248e-05 0.00% Castro::do_old_sources() 5 1.063e-05 1.063e-05 1.063e-05 0.00% Castro::expand_state() 5 8.858e-06 8.858e-06 8.858e-06 0.00% Castro::apply_source_to_state() 10 6.418e-06 6.418e-06 6.418e-06 0.00% Castro::construct_old_gravity() 5 5.961e-06 5.961e-06 5.961e-06 0.00% MLMG::computeMLResidual() 6 4.529e-06 4.529e-06 4.529e-06 0.00% MLPoisson::prepareForSolve() 6 3.757e-06 3.757e-06 3.757e-06 0.00% MLMG::getGradSolution() 6 3.626e-06 3.626e-06 3.626e-06 0.00% Castro::computeNewDt() 5 3.247e-06 3.247e-06 3.247e-06 0.00% Amr::init() 1 8.05e-07 8.05e-07 8.05e-07 0.00% Other 2170 0.002529 0.002529 0.002529 0.54% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4705 0.4705 0.4705 100.00% Amr::coarseTimeStep() 5 0.3323 0.3323 0.3323 70.63% Amr::timeStep() 5 0.33 0.33 0.33 70.13% Castro::advance() 5 0.3255 0.3255 0.3255 69.17% Castro::subcycle_advance_ctu() 5 0.3179 0.3179 0.3179 67.57% Castro::do_advance_ctu() 5 0.3166 0.3166 0.3166 67.28% Castro::construct_ctu_hydro_source() 5 0.1458 0.1458 0.1458 31.00% Castro::construct_new_gravity() 5 0.1335 0.1335 0.1335 28.37% Gravity::solve_phi_with_mlmg() 6 0.1308 0.1308 0.1308 27.79% Gravity::solve_for_phi() 5 0.1255 0.1255 0.1255 26.67% Gravity::actual_solve_with_mlmg() 6 0.1254 0.1254 0.1254 26.65% MLMG::solve() 6 0.1133 0.1133 0.1133 24.09% MLMG::oneIter() 36 0.1057 0.1057 0.1057 22.47% MLMG::mgVcycle() 36 0.1042 0.1042 0.1042 22.14% Amr::init() 1 0.0716 0.0716 0.0716 15.22% Amr::restart() 1 0.0716 0.0716 0.0716 15.22% Amr::writePlotFile() 1 0.06577 0.06577 0.06577 13.98% AmrLevel::restart() 1 0.06065 0.06065 0.06065 12.89% StateData::restartDoit() 4 0.06057 0.06057 0.06057 12.87% VisMF::Read() 3 0.06029 0.06029 0.06029 12.81% MLCellLinOp::smooth() 720 0.05232 0.05232 0.05232 11.12% MLCellLinOp::applyBC() 1910 0.04875 0.04875 0.04875 10.36% MLMG::mgVcycle_bottom 36 0.03087 0.03087 0.03087 6.56% MLMG::actualBottomSolve() 36 0.03085 0.03085 0.03085 6.56% MLCGSolver::bicgstab 36 0.03049 0.03049 0.03049 6.48% Castro::clean_state() 30 0.02664 0.02664 0.02664 5.66% VisMF::Write(FabArray) 1 0.02396 0.02396 0.02396 5.09% AmrLevel::FillPatch() 20 0.02272 0.02272 0.02272 4.83% FillPatchIterator::Initialize 20 0.02061 0.02061 0.02061 4.38% FillPatchIterator::FillFromLevel0() 20 0.0198 0.0198 0.0198 4.21% FillPatchSingleLevel 20 0.01978 0.01978 0.01978 4.20% StateDataPhysBCFunct::() 20 0.01771 0.01771 0.01771 3.76% MLCellLinOp::apply() 464 0.01577 0.01577 0.01577 3.35% MLMG::mgVcycle_down::0 36 0.015 0.015 0.015 3.19% MLPoisson::Fsmooth() 1440 0.01456 0.01456 0.01456 3.09% FabArray::FillBoundary() 1730 0.01377 0.01377 0.01377 2.93% FillBoundary_nowait() 1730 0.01344 0.01344 0.01344 2.86% StateData::FillBoundary(geom) 160 0.01256 0.01256 0.01256 2.67% MLMG::mgVcycle_up::0 36 0.01127 0.01127 0.01127 2.40% Castro::initialize_do_advance() 5 0.01063 0.01063 0.01063 2.26% Castro::computeTemp() 30 0.01017 0.01017 0.01017 2.16% Castro::do_old_sources() 5 0.01016 0.01016 0.01016 2.16% Castro::normalize_species() 30 0.009967 0.009967 0.009967 2.12% MLPoisson::define() 6 0.009427 0.009427 0.009427 2.00% amrex::Dot() 484 0.008986 0.008986 0.008986 1.91% MLMG:computeResOfCorrection() 180 0.008729 0.008729 0.008729 1.86% MLCellLinOp::correctionResidual() 180 0.008685 0.008685 0.008685 1.85% FabArray::norminf() 465 0.008475 0.008475 0.008475 1.80% Gravity::get_new_grav_vector() 5 0.007854 0.007854 0.007854 1.67% Castro::construct_old_gravity() 5 0.007589 0.007589 0.007589 1.61% Gravity::get_old_grav_vector() 5 0.007583 0.007583 0.007583 1.61% Castro::do_new_sources() 5 0.007383 0.007383 0.007383 1.57% MLMG::mgVcycle_down::1 36 0.007244 0.007244 0.007244 1.54% Castro::initialize_advance() 5 0.007164 0.007164 0.007164 1.52% FabArray::ParallelCopy() 380 0.00658 0.00658 0.00658 1.40% MLMG::mgVcycle_down::2 36 0.006571 0.006571 0.006571 1.40% FabArray::setVal() 501 0.006493 0.006493 0.006493 1.38% FabArray::ParallelCopy_nowait() 380 0.006468 0.006468 0.006468 1.37% MLMG::mgVcycle_down::3 36 0.006466 0.006466 0.006466 1.37% MLCellLinOp::defineAuxData() 6 0.006418 0.006418 0.006418 1.36% MLMG::mgVcycle_down::4 36 0.006378 0.006378 0.006378 1.36% Castro::post_restart() 1 0.00587 0.00587 0.00587 1.25% Castro::expand_state() 5 0.005792 0.005792 0.005792 1.23% FabArray::Saxpy() 597 0.005764 0.005764 0.005764 1.23% Gravity::multilevel_solve_for_new_phi() 1 0.005509 0.005509 0.005509 1.17% Gravity::actual_multilevel_solve() 1 0.005493 0.005493 0.005493 1.17% amrex::Copy() 221 0.005454 0.005454 0.005454 1.16% MLCGSolver::ParallelAllReduce 798 0.00543 0.00543 0.00543 1.15% MLMG::addInterpCorrection() 180 0.005313 0.005313 0.005313 1.13% Gravity::fill_multipole_BCs() 6 0.005275 0.005275 0.005275 1.12% Castro::enforce_min_density() 30 0.005275 0.005275 0.005275 1.12% MLMG::mgVcycle_up::1 36 0.005165 0.005165 0.005165 1.10% MLMG::mgVcycle_up::4 36 0.005157 0.005157 0.005157 1.10% MLMG::mgVcycle_up::2 36 0.005016 0.005016 0.005016 1.07% MLMG::mgVcycle_up::3 36 0.004956 0.004956 0.004956 1.05% amrex::average_down 180 0.004943 0.004943 0.004943 1.05% MLPoisson::Fapply() 464 0.0044 0.0044 0.0044 0.94% Castro::post_timestep() 5 0.004383 0.004383 0.004383 0.93% MLCellLinOp::solutionResidual() 42 0.003625 0.003625 0.003625 0.77% FabArray::Xpay() 325 0.003431 0.003431 0.003431 0.73% Castro::estTimeStep() 10 0.003154 0.003154 0.003154 0.67% MLCellLinOp::defineBC() 6 0.002842 0.002842 0.002842 0.60% MLMG::prepareForSolve() 6 0.002827 0.002827 0.002827 0.60% MLMG::computeResidual() 36 0.002826 0.002826 0.002826 0.60% Castro::reset_internal_energy(MultiFab) 30 0.002786 0.002786 0.002786 0.59% BndryData::define() 6 0.002696 0.002696 0.002696 0.57% Castro::computeNewDt() 5 0.002217 0.002217 0.002217 0.47% Castro::construct_new_source() 25 0.001946 0.001946 0.001946 0.41% Castro::construct_new_gravity_source() 5 0.001843 0.001843 0.001843 0.39% Castro::construct_old_source() 25 0.001568 0.001568 0.001568 0.33% amrex::Add() 36 0.001543 0.001543 0.001543 0.33% Castro::construct_old_gravity_source() 5 0.001534 0.001534 0.001534 0.33% Castro::enforce_speed_limit() 30 0.001195 0.001195 0.001195 0.25% Castro::finalize_do_advance() 5 0.001016 0.001016 0.001016 0.22% MLMG::ResNormInf() 42 0.0009871 0.0009871 0.0009871 0.21% Castro::apply_source_to_state() 10 0.000973 0.000973 0.000973 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009729 0.0009729 0.0009729 0.21% MLMG::getGradSolution() 6 0.0008875 0.0008875 0.0008875 0.19% MLCellLinOp::compGrad() 6 0.0008839 0.0008839 0.0008839 0.19% MLCellLinOp::setLevelBC() 6 0.0008645 0.0008645 0.0008645 0.18% Castro::reset_internal_energy(Fab) 240 0.0008527 0.0008527 0.0008527 0.18% check_for_negative_density() 5 0.0008357 0.0008357 0.0008357 0.18% MLMG::computeMLResidual() 6 0.0008183 0.0008183 0.0008183 0.17% FabArrayBase::getCPC() 632 0.0007894 0.0007894 0.0007894 0.17% MLPoisson::prepareForSolve() 6 0.0007491 0.0007491 0.0007491 0.16% MLCellLinOp::prepareForSolve() 6 0.0007453 0.0007453 0.0007453 0.16% Gravity::update_max_rhs() 6 0.0007109 0.0007109 0.0007109 0.15% FabArray::setDomainBndry() 20 0.0007021 0.0007021 0.0007021 0.15% FabArray::mult() 22 0.0006892 0.0006892 0.0006892 0.15% Other 2170 0.004444 0.004444 0.004444 0.94% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 10 MiB 9037 MiB Castro::initMFs() 48 48 58 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 953 KiB 39 MiB Castro::initialize_do_advance() 40 40 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1510 KiB 28 MiB Castro::initialize_advance() 40 40 16 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6512 KiB 14 MiB MLMG::prepareForSolve() 361 361 2957 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 167 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 170 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6500 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 18 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3005 B 2048 KiB Gravity::solve_for_phi() 40 40 545 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 23 KiB 2048 KiB BndryData::define() 576 576 272 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 175 KiB 671 KiB Castro::estTimeStep() 10 10 3154 B 480 KiB VisMF::Write(FabArray) 112 112 1170 B 320 KiB Castro::normalize_species() 30 30 6898 B 320 KiB amrex::average_down 469 469 1309 B 257 KiB MLMG::addInterpCorrection() 468 468 970 B 257 KiB amrex::Dot() 592 592 2821 B 160 KiB FabArray::norminf() 501 501 2783 B 160 KiB check_for_negative_density() 5 5 284 B 160 KiB MultiFab::max() 6 6 67 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 27 B 20 KiB MLPoisson::Fsmooth() 60 60 2865 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 41 B 10 KiB FillBoundary_nowait() 336 336 240 B 9648 B MLCellLinOp::applyBC() 3820 3820 186 B 9344 B amrex::Copy() 56 56 5819 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 40 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 306 B 1248 B MLCGSolver::bicgstab 180 180 78 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1052 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 76 KiB 8192 KiB VisMF::Write(FabArray) 120 120 140 KiB 3584 KiB VisMF::Read() 24 24 195 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 2865 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 41 B 10 KiB FillBoundary_nowait() 336 336 240 B 9648 B MLCellLinOp::applyBC() 1910 1910 184 B 9328 B amrex::Copy() 56 56 5819 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2558 B 3072 B StateData::FillBoundary(geom) 960 960 40 B 3024 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B MLMG::prepareForSolve() 7 7 776 B 1648 B amrex::average_down 37 37 472 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 20 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-5-ga72fb5173b30) finalized