Initializing AMReX (24.06-3-g0a691f6f4804)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-3-g0a691f6f4804) initialized Starting run at 07:59:52 UTC on 2024-06-07. Successfully read inputs file ... Castro git describe: 24.06-8-gf5603db9e AMReX git describe: 24.06-3-g0a691f6f4 Microphysics git describe: 24.06-6-ge56bbf10 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.048749451 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.027246748 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.069755443 [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.072861462 [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.077852962 [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.069596292 [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.074387567 [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.069032276 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.075634356 [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.079158088 [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.060906883 [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.061966329 [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.085283344 [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.116011263 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.027694769 seconds Ending run at 07:59:53 UTC on 2024-06-07. Run time = 1.072180684 Run time without initialization = 0.940813195 Average number of zones advanced per microsecond: 2.786 Average number of zones advanced per microsecond per rank: 2.786 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 1.072 ... 1.072 ... 1.072 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.3204 0.3204 0.3204 29.88% VisMF::Write(FabArray) 11 0.2808 0.2808 0.2808 26.18% MLCellLinOp::applyBC() 4351 0.08411 0.08411 0.08411 7.84% MLPoisson::Fsmooth() 3280 0.03541 0.03541 0.03541 3.30% FillBoundary_nowait() 3941 0.03319 0.03319 0.03319 3.10% StateData::FillBoundary(geom) 328 0.02719 0.02719 0.02719 2.54% amrex::Dot() 1114 0.02244 0.02244 0.02244 2.09% Castro::normalize_species() 62 0.02127 0.02127 0.02127 1.98% FabArray::norminf() 1061 0.02106 0.02106 0.02106 1.96% FabArray::Saxpy() 1370 0.02055 0.02055 0.02055 1.92% Castro::computeTemp() 63 0.01769 0.01769 0.01769 1.65% Castro::enforce_min_density() 62 0.01423 0.01423 0.01423 1.33% FabArray::ParallelCopy_nowait() 861 0.01416 0.01416 0.01416 1.32% FabArray::setVal() 1062 0.01402 0.01402 0.01402 1.31% StateDataPhysBCFunct::() 41 0.01248 0.01248 0.01248 1.16% amrex::Copy() 472 0.0112 0.0112 0.0112 1.04% MLPoisson::Fapply() 1060 0.01083 0.01083 0.01083 1.01% MLCellLinOp::defineAuxData() 11 0.01067 0.01067 0.01067 1.00% Gravity::fill_multipole_BCs() 11 0.009926 0.009926 0.009926 0.93% FabArray::Xpay() 739 0.008207 0.008207 0.008207 0.77% MLMG::addInterpCorrection() 410 0.007354 0.007354 0.007354 0.69% Castro::estTimeStep() 21 0.006663 0.006663 0.006663 0.62% amrex::average_down 410 0.00648 0.00648 0.00648 0.60% Amr::checkPoint() 3 0.005703 0.005703 0.005703 0.53% Castro::reset_internal_energy(MultiFab) 63 0.004767 0.004767 0.004767 0.44% BndryData::define() 11 0.004123 0.004123 0.004123 0.38% amrex::Add() 82 0.003783 0.003783 0.003783 0.35% Castro::construct_new_gravity_source() 10 0.003597 0.003597 0.003597 0.34% Castro::construct_old_gravity_source() 10 0.00303 0.00303 0.00303 0.28% Castro::enforce_speed_limit() 62 0.002524 0.002524 0.002524 0.24% check_for_negative_density() 10 0.002104 0.002104 0.002104 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001868 0.001868 0.001868 0.17% Amr::writePlotFile() 2 0.001828 0.001828 0.001828 0.17% Castro::reset_internal_energy(Fab) 504 0.001792 0.001792 0.001792 0.17% Castro::initData() 1 0.001716 0.001716 0.001716 0.16% MLCellLinOp::setLevelBC() 11 0.001656 0.001656 0.001656 0.15% MLCGSolver::bicgstab 82 0.001633 0.001633 0.001633 0.15% Gravity::actual_solve_with_mlmg() 11 0.001542 0.001542 0.001542 0.14% FabArray::setDomainBndry() 41 0.001421 0.001421 0.001421 0.13% FabArray::mult() 43 0.00141 0.00141 0.00141 0.13% MLCellLinOp::prepareForSolve() 11 0.001346 0.001346 0.001346 0.13% MLCellLinOp::smooth() 1640 0.00116 0.00116 0.00116 0.11% MLCellLinOp::compGrad() 11 0.00112 0.00112 0.00112 0.10% MLMG::prepareForSolve() 11 0.000965 0.000965 0.000965 0.09% FabArray::FillBoundary() 3941 0.0008067 0.0008067 0.0008067 0.08% FabArrayBase::getCPC() 1323 0.000783 0.000783 0.000783 0.07% Gravity::get_new_grav_vector() 11 0.0006278 0.0006278 0.0006278 0.06% Gravity::get_old_grav_vector() 10 0.0004835 0.0004835 0.0004835 0.05% MLCellLinOp::apply() 1060 0.0004289 0.0004289 0.0004289 0.04% AmrLevel::FillPatch() 41 0.0004091 0.0004091 0.0004091 0.04% Amr::coarseTimeStep() 10 0.000361 0.000361 0.000361 0.03% MLCGSolver::ParallelAllReduce 1832 0.0003203 0.0003203 0.0003203 0.03% main() 1 0.000297 0.000297 0.000297 0.03% MLCellLinOp::defineBC() 11 0.0002665 0.0002665 0.0002665 0.02% FabArray::ParallelCopy() 861 0.0002492 0.0002492 0.0002492 0.02% FillPatchIterator::Initialize 41 0.0002176 0.0002176 0.0002176 0.02% MLMG::mgVcycle() 82 0.0002016 0.0002016 0.0002016 0.02% Castro::subcycle_advance_ctu() 10 0.0001796 0.0001796 0.0001796 0.02% MLCellLinOp::correctionResidual() 410 0.0001655 0.0001655 0.0001655 0.02% Amr::timeStep() 10 0.0001529 0.0001529 0.0001529 0.01% Castro::construct_new_source() 50 0.0001358 0.0001358 0.0001358 0.01% MLMG:computeResOfCorrection() 410 0.0001137 0.0001137 0.0001137 0.01% StateData::checkPoint() 12 0.0001083 0.0001083 0.0001083 0.01% Gravity::solve_for_phi() 10 0.0001061 0.0001061 0.0001061 0.01% Castro::advance() 10 9.357e-05 9.357e-05 9.357e-05 0.01% MLMG::actualBottomSolve() 82 8.432e-05 8.432e-05 8.432e-05 0.01% Castro::initialize_advance() 10 8.234e-05 8.234e-05 8.234e-05 0.01% MLMG::mgVcycle_down::0 82 8.134e-05 8.134e-05 8.134e-05 0.01% MLMG::mgVcycle_down::1 82 7.329e-05 7.329e-05 7.329e-05 0.01% Castro::post_timestep() 10 7.133e-05 7.133e-05 7.133e-05 0.01% MLMG::mgVcycle_down::2 82 7.106e-05 7.106e-05 7.106e-05 0.01% Castro::clean_state() 62 7.06e-05 7.06e-05 7.06e-05 0.01% MLMG::solve() 11 7.026e-05 7.026e-05 7.026e-05 0.01% MLMG::mgVcycle_down::4 82 6.753e-05 6.753e-05 6.753e-05 0.01% MLMG::mgVcycle_down::3 82 6.542e-05 6.542e-05 6.542e-05 0.01% Amr::defBaseLevel() 1 6.062e-05 6.062e-05 6.062e-05 0.01% AmrLevel::checkPoint() 3 6.013e-05 6.013e-05 6.013e-05 0.01% Castro::initialize_do_advance() 10 5.966e-05 5.966e-05 5.966e-05 0.01% MLMG::mgVcycle_up::4 82 5.801e-05 5.801e-05 5.801e-05 0.01% MLMG::oneIter() 82 5.612e-05 5.612e-05 5.612e-05 0.01% MLMG::mgVcycle_up::0 82 5.502e-05 5.502e-05 5.502e-05 0.01% MLMG::mgVcycle_up::2 82 5.322e-05 5.322e-05 5.322e-05 0.00% Castro::finalize_do_advance() 10 5.289e-05 5.289e-05 5.289e-05 0.00% FillPatchIterator::FillFromLevel0() 41 5.049e-05 5.049e-05 5.049e-05 0.00% MLMG::mgVcycle_up::3 82 4.935e-05 4.935e-05 4.935e-05 0.00% MLMG::mgVcycle_up::1 82 4.833e-05 4.833e-05 4.833e-05 0.00% Castro::do_advance_ctu() 10 4.545e-05 4.545e-05 4.545e-05 0.00% MLCellLinOp::solutionResidual() 93 4.412e-05 4.412e-05 4.412e-05 0.00% FillPatchSingleLevel 41 3.667e-05 3.667e-05 3.667e-05 0.00% MLMG::mgVcycle_bottom 82 3.39e-05 3.39e-05 3.39e-05 0.00% MLMG::ResNormInf() 93 3.087e-05 3.087e-05 3.087e-05 0.00% MLMG::computeResidual() 82 3.043e-05 3.043e-05 3.043e-05 0.00% Castro::construct_new_gravity() 10 2.791e-05 2.791e-05 2.791e-05 0.00% Castro::do_old_sources() 10 2.608e-05 2.608e-05 2.608e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.201e-05 2.201e-05 2.201e-05 0.00% MLPoisson::define() 11 2.043e-05 2.043e-05 2.043e-05 0.00% Castro::do_new_sources() 10 2.025e-05 2.025e-05 2.025e-05 0.00% Castro::construct_old_source() 50 1.922e-05 1.922e-05 1.922e-05 0.00% Amr::FinalizeInit() 1 1.876e-05 1.876e-05 1.876e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.784e-05 1.784e-05 1.784e-05 0.00% Gravity::actual_multilevel_solve() 1 1.441e-05 1.441e-05 1.441e-05 0.00% Castro::apply_source_to_state() 20 1.326e-05 1.326e-05 1.326e-05 0.00% Castro::check_for_nan() 20 1.142e-05 1.142e-05 1.142e-05 0.00% Castro::construct_old_gravity() 10 1.107e-05 1.107e-05 1.107e-05 0.00% MLMG::computeMLResidual() 11 8.786e-06 8.786e-06 8.786e-06 0.00% Castro::computeNewDt() 9 6.433e-06 6.433e-06 6.433e-06 0.00% MLPoisson::prepareForSolve() 11 6.342e-06 6.342e-06 6.342e-06 0.00% Castro::expand_state() 10 6.199e-06 6.199e-06 6.199e-06 0.00% MLMG::getGradSolution() 11 5.972e-06 5.972e-06 5.972e-06 0.00% Amr::InitializeInit() 1 5.743e-06 5.743e-06 5.743e-06 0.00% Castro::post_init() 1 3.971e-06 3.971e-06 3.971e-06 0.00% Amr::init() 1 2.652e-06 2.652e-06 2.652e-06 0.00% Amr::initialInit() 1 1.004e-06 1.004e-06 1.004e-06 0.00% Other 4773 0.004507 0.004507 0.004507 0.42% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 1.072 1.072 1.072 100.00% Amr::coarseTimeStep() 10 0.9129 0.9129 0.9129 85.14% Amr::timeStep() 10 0.7238 0.7238 0.7238 67.50% Castro::advance() 10 0.7122 0.7122 0.7122 66.43% Castro::subcycle_advance_ctu() 10 0.6981 0.6981 0.6981 65.11% Castro::do_advance_ctu() 10 0.698 0.698 0.698 65.09% Castro::construct_ctu_hydro_source() 10 0.3327 0.3327 0.3327 31.03% Gravity::solve_phi_with_mlmg() 11 0.3155 0.3155 0.3155 29.43% Gravity::actual_solve_with_mlmg() 11 0.3051 0.3051 0.3051 28.46% Castro::construct_new_gravity() 10 0.2871 0.2871 0.2871 26.78% MLMG::solve() 11 0.2825 0.2825 0.2825 26.34% VisMF::Write(FabArray) 11 0.2808 0.2808 0.2808 26.18% Gravity::solve_for_phi() 10 0.2704 0.2704 0.2704 25.22% MLMG::oneIter() 82 0.2664 0.2664 0.2664 24.84% MLMG::mgVcycle() 82 0.2625 0.2625 0.2625 24.48% Amr::checkPoint() 3 0.234 0.234 0.234 21.82% AmrLevel::checkPoint() 3 0.2282 0.2282 0.2282 21.29% StateData::checkPoint() 12 0.2282 0.2282 0.2282 21.28% Amr::init() 1 0.1307 0.1307 0.1307 12.19% MLCellLinOp::smooth() 1640 0.1281 0.1281 0.1281 11.95% MLCellLinOp::applyBC() 4351 0.1188 0.1188 0.1188 11.08% MLMG::mgVcycle_bottom 82 0.08323 0.08323 0.08323 7.76% MLMG::actualBottomSolve() 82 0.0832 0.0832 0.0832 7.76% MLCGSolver::bicgstab 82 0.08235 0.08235 0.08235 7.68% Castro::clean_state() 62 0.06163 0.06163 0.06163 5.75% Amr::writePlotFile() 2 0.05506 0.05506 0.05506 5.13% Amr::initialInit() 1 0.05459 0.05459 0.05459 5.09% AmrLevel::FillPatch() 41 0.04983 0.04983 0.04983 4.65% Amr::FinalizeInit() 1 0.04961 0.04961 0.04961 4.63% Castro::post_init() 1 0.04807 0.04807 0.04807 4.48% Gravity::multilevel_solve_for_new_phi() 1 0.0456 0.0456 0.0456 4.25% Gravity::actual_multilevel_solve() 1 0.04558 0.04558 0.04558 4.25% FillPatchIterator::Initialize 41 0.04551 0.04551 0.04551 4.24% FillPatchIterator::FillFromLevel0() 41 0.04387 0.04387 0.04387 4.09% FillPatchSingleLevel 41 0.04382 0.04382 0.04382 4.09% StateDataPhysBCFunct::() 41 0.03967 0.03967 0.03967 3.70% MLCellLinOp::apply() 1060 0.03801 0.03801 0.03801 3.54% MLMG::mgVcycle_down::0 82 0.03651 0.03651 0.03651 3.41% MLPoisson::Fsmooth() 3280 0.03541 0.03541 0.03541 3.30% FabArray::FillBoundary() 3941 0.03469 0.03469 0.03469 3.24% FillBoundary_nowait() 3941 0.03388 0.03388 0.03388 3.16% MLMG::mgVcycle_up::0 82 0.02784 0.02784 0.02784 2.60% StateData::FillBoundary(geom) 328 0.02719 0.02719 0.02719 2.54% Castro::computeTemp() 63 0.02425 0.02425 0.02425 2.26% Castro::initialize_do_advance() 10 0.02289 0.02289 0.02289 2.13% amrex::Dot() 1114 0.02244 0.02244 0.02244 2.09% MLMG:computeResOfCorrection() 410 0.02138 0.02138 0.02138 1.99% Castro::normalize_species() 62 0.02127 0.02127 0.02127 1.98% MLCellLinOp::correctionResidual() 410 0.02127 0.02127 0.02127 1.98% FabArray::norminf() 1061 0.02106 0.02106 0.02106 1.96% Castro::do_old_sources() 10 0.02057 0.02057 0.02057 1.92% FabArray::Saxpy() 1370 0.02055 0.02055 0.02055 1.92% Gravity::get_new_grav_vector() 11 0.01872 0.01872 0.01872 1.75% MLPoisson::define() 11 0.01782 0.01782 0.01782 1.66% MLMG::mgVcycle_down::1 82 0.01741 0.01741 0.01741 1.62% MLMG::mgVcycle_down::2 82 0.01619 0.01619 0.01619 1.51% Castro::construct_old_gravity() 10 0.016 0.016 0.016 1.49% Gravity::get_old_grav_vector() 10 0.01599 0.01599 0.01599 1.49% MLMG::mgVcycle_down::3 82 0.01578 0.01578 0.01578 1.47% MLMG::mgVcycle_down::4 82 0.01567 0.01567 0.01567 1.46% FabArray::ParallelCopy() 861 0.01521 0.01521 0.01521 1.42% FabArray::ParallelCopy_nowait() 861 0.01496 0.01496 0.01496 1.40% Castro::do_new_sources() 10 0.01489 0.01489 0.01489 1.39% Castro::enforce_min_density() 62 0.01423 0.01423 0.01423 1.33% FabArray::setVal() 1062 0.01402 0.01402 0.01402 1.31% MLCGSolver::ParallelAllReduce 1832 0.01343 0.01343 0.01343 1.25% Castro::initialize_advance() 10 0.01337 0.01337 0.01337 1.25% MLMG::addInterpCorrection() 410 0.0129 0.0129 0.0129 1.20% MLMG::mgVcycle_up::1 82 0.01263 0.01263 0.01263 1.18% MLMG::mgVcycle_up::4 82 0.01257 0.01257 0.01257 1.17% MLMG::mgVcycle_up::2 82 0.01235 0.01235 0.01235 1.15% Castro::expand_state() 10 0.01226 0.01226 0.01226 1.14% MLMG::mgVcycle_up::3 82 0.01213 0.01213 0.01213 1.13% MLCellLinOp::defineAuxData() 11 0.01213 0.01213 0.01213 1.13% amrex::average_down 410 0.01203 0.01203 0.01203 1.12% Castro::post_timestep() 10 0.01137 0.01137 0.01137 1.06% amrex::Copy() 472 0.0112 0.0112 0.0112 1.04% MLPoisson::Fapply() 1060 0.01083 0.01083 0.01083 1.01% Gravity::fill_multipole_BCs() 11 0.01018 0.01018 0.01018 0.95% FabArray::Xpay() 739 0.008207 0.008207 0.008207 0.77% MLCellLinOp::solutionResidual() 93 0.008078 0.008078 0.008078 0.75% MLMG::computeResidual() 82 0.006794 0.006794 0.006794 0.63% Castro::estTimeStep() 21 0.006663 0.006663 0.006663 0.62% Castro::reset_internal_energy(MultiFab) 63 0.006558 0.006558 0.006558 0.61% MLCellLinOp::defineBC() 11 0.005439 0.005439 0.005439 0.51% MLMG::prepareForSolve() 11 0.00535 0.00535 0.00535 0.50% BndryData::define() 11 0.005173 0.005173 0.005173 0.48% Amr::InitializeInit() 1 0.004984 0.004984 0.004984 0.46% Amr::defBaseLevel() 1 0.004978 0.004978 0.004978 0.46% Castro::initData() 1 0.004247 0.004247 0.004247 0.40% amrex::Add() 82 0.003783 0.003783 0.003783 0.35% Castro::construct_new_source() 50 0.003732 0.003732 0.003732 0.35% Castro::construct_new_gravity_source() 10 0.003597 0.003597 0.003597 0.34% Castro::construct_old_source() 50 0.003049 0.003049 0.003049 0.28% Castro::construct_old_gravity_source() 10 0.00303 0.00303 0.00303 0.28% Castro::computeNewDt() 9 0.002888 0.002888 0.002888 0.27% Castro::finalize_do_advance() 10 0.002818 0.002818 0.002818 0.26% Castro::enforce_speed_limit() 62 0.002524 0.002524 0.002524 0.24% MLMG::ResNormInf() 93 0.002302 0.002302 0.002302 0.21% check_for_negative_density() 10 0.002104 0.002104 0.002104 0.20% Castro::apply_source_to_state() 20 0.001893 0.001893 0.001893 0.18% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001868 0.001868 0.001868 0.17% Castro::reset_internal_energy(Fab) 504 0.001792 0.001792 0.001792 0.17% MLCellLinOp::setLevelBC() 11 0.001656 0.001656 0.001656 0.15% MLMG::getGradSolution() 11 0.001653 0.001653 0.001653 0.15% MLCellLinOp::compGrad() 11 0.001647 0.001647 0.001647 0.15% FabArrayBase::getCPC() 1323 0.001443 0.001443 0.001443 0.13% FabArray::setDomainBndry() 41 0.001421 0.001421 0.001421 0.13% FabArray::mult() 43 0.00141 0.00141 0.00141 0.13% MLPoisson::prepareForSolve() 11 0.001353 0.001353 0.001353 0.13% MLCellLinOp::prepareForSolve() 11 0.001346 0.001346 0.001346 0.13% MLMG::computeMLResidual() 11 0.001323 0.001323 0.001323 0.12% Castro::check_for_nan() 20 0.001316 0.001316 0.001316 0.12% Other 4773 0.01056 0.01056 0.01056 0.99% -------------------------------------------------------------------------------------------- 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 5095 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 901 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1444 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7613 KiB 14 MiB MLMG::prepareForSolve() 660 660 3241 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 181 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 152 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7528 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 16 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1862 B 2048 KiB Gravity::solve_for_phi() 80 80 516 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 87 KiB 2048 KiB BndryData::define() 1056 1056 296 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 188 KiB 671 KiB Castro::estTimeStep() 21 21 3035 B 480 KiB VisMF::Write(FabArray) 656 656 2995 B 320 KiB Castro::normalize_species() 62 62 6466 B 320 KiB amrex::average_down 1067 1067 1487 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1034 B 257 KiB amrex::Dot() 1360 1360 3085 B 160 KiB FabArray::norminf() 1143 1143 3024 B 160 KiB check_for_negative_density() 10 10 315 B 160 KiB Castro::initData() 1 1 45 B 160 KiB MultiFab::max() 11 11 51 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 24 B 20 KiB MLPoisson::Fsmooth() 132 132 3166 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 37 B 10 KiB FillBoundary_nowait() 760 760 271 B 9648 B MLCellLinOp::applyBC() 8702 8702 196 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3877 B 6144 B StateData::FillBoundary(geom) 1992 1992 37 B 2928 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 333 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 518 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 34 KiB 8192 KiB VisMF::Write(FabArray) 744 744 400 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3166 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 37 B 10 KiB FillBoundary_nowait() 760 760 271 B 9648 B MLCellLinOp::applyBC() 4351 4351 194 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3877 B 6144 B Gravity::get_new_grav_vector() 3 3 2918 B 3072 B StateData::FillBoundary(geom) 1992 1992 37 B 2928 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 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 MLMG::prepareForSolve() 11 11 270 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): 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.06-3-g0a691f6f4804) finalized Initializing AMReX (24.06-3-g0a691f6f4804)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-3-g0a691f6f4804) initialized Starting run at 07:59:53 UTC on 2024-06-07. Successfully read inputs file ... Castro git describe: 24.06-8-gf5603db9e AMReX git describe: 24.06-3-g0a691f6f4 Microphysics git describe: 24.06-6-ge56bbf10 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.564875822 Restart time = 0.071589143 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.067266688 [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.053632728 [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.08237051 [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.076878074 [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.064095363 [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.029426536 seconds Ending run at 07:59:54 UTC on 2024-06-07. Run time = 0.446223494 Run time without initialization = 0.374081764 Average number of zones advanced per microsecond: 3.504 Average number of zones advanced per microsecond per rank: 3.504 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4463 ... 0.4463 ... 0.4463 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1420 0.1420 0.1420 31.82% VisMF::Read() 3 0.0599 0.0599 0.0599 13.42% MLCellLinOp::applyBC() 1910 0.03745 0.03745 0.03745 8.39% VisMF::Write(FabArray) 1 0.02684 0.02684 0.02684 6.02% MLPoisson::Fsmooth() 1440 0.01579 0.01579 0.01579 3.54% FillBoundary_nowait() 1730 0.01458 0.01458 0.01458 3.27% StateData::FillBoundary(geom) 160 0.01338 0.01338 0.01338 3.00% amrex::Dot() 484 0.009762 0.009762 0.009762 2.19% Castro::normalize_species() 30 0.00955 0.00955 0.00955 2.14% FabArray::norminf() 465 0.009247 0.009247 0.009247 2.07% Castro::computeTemp() 30 0.008367 0.008367 0.008367 1.88% FabArray::setVal() 501 0.006915 0.006915 0.006915 1.55% FabArray::ParallelCopy_nowait() 380 0.006492 0.006492 0.006492 1.45% FabArray::Saxpy() 597 0.006151 0.006151 0.006151 1.38% MLCellLinOp::defineAuxData() 6 0.006066 0.006066 0.006066 1.36% Castro::enforce_min_density() 30 0.005807 0.005807 0.005807 1.30% amrex::Copy() 221 0.005646 0.005646 0.005646 1.27% Gravity::fill_multipole_BCs() 6 0.005636 0.005636 0.005636 1.26% StateDataPhysBCFunct::() 20 0.00533 0.00533 0.00533 1.19% Amr::restart() 1 0.004913 0.004913 0.004913 1.10% MLPoisson::Fapply() 464 0.004765 0.004765 0.004765 1.07% FabArray::Xpay() 325 0.00368 0.00368 0.00368 0.82% MLMG::addInterpCorrection() 180 0.003255 0.003255 0.003255 0.73% Castro::estTimeStep() 10 0.003157 0.003157 0.003157 0.71% amrex::average_down 180 0.002924 0.002924 0.002924 0.66% Amr::writePlotFile() 1 0.002402 0.002402 0.002402 0.54% BndryData::define() 6 0.002292 0.002292 0.002292 0.51% Castro::reset_internal_energy(MultiFab) 30 0.002065 0.002065 0.002065 0.46% Castro::construct_new_gravity_source() 5 0.001918 0.001918 0.001918 0.43% amrex::Add() 36 0.001668 0.001668 0.001668 0.37% Castro::construct_old_gravity_source() 5 0.001596 0.001596 0.001596 0.36% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.00104 0.00104 0.00104 0.23% MLCellLinOp::setLevelBC() 6 0.000917 0.000917 0.000917 0.21% Castro::reset_internal_energy(Fab) 240 0.000842 0.000842 0.000842 0.19% Gravity::actual_solve_with_mlmg() 6 0.0008361 0.0008361 0.0008361 0.19% MLCellLinOp::prepareForSolve() 6 0.0007955 0.0007955 0.0007955 0.18% MLCGSolver::bicgstab 36 0.0007404 0.0007404 0.0007404 0.17% FabArray::setDomainBndry() 20 0.0007337 0.0007337 0.0007337 0.16% FabArray::mult() 22 0.0007272 0.0007272 0.0007272 0.16% check_for_negative_density() 5 0.0007014 0.0007014 0.0007014 0.16% MLCellLinOp::compGrad() 6 0.0006362 0.0006362 0.0006362 0.14% MLMG::prepareForSolve() 6 0.0005638 0.0005638 0.0005638 0.13% MLCellLinOp::smooth() 720 0.0005384 0.0005384 0.0005384 0.12% FabArrayBase::getCPC() 632 0.0003901 0.0003901 0.0003901 0.09% FabArray::FillBoundary() 1730 0.0003508 0.0003508 0.0003508 0.08% Gravity::get_old_grav_vector() 5 0.000331 0.000331 0.000331 0.07% Gravity::get_new_grav_vector() 5 0.000271 0.000271 0.000271 0.06% main() 1 0.0002547 0.0002547 0.0002547 0.06% AmrLevel::FillPatch() 20 0.0002005 0.0002005 0.0002005 0.04% MLCellLinOp::apply() 464 0.0001889 0.0001889 0.0001889 0.04% Amr::coarseTimeStep() 5 0.0001672 0.0001672 0.0001672 0.04% MLCellLinOp::defineBC() 6 0.0001496 0.0001496 0.0001496 0.03% MLCGSolver::ParallelAllReduce 798 0.0001364 0.0001364 0.0001364 0.03% Castro::subcycle_advance_ctu() 5 0.0001212 0.0001212 0.0001212 0.03% FabArray::ParallelCopy() 380 0.0001162 0.0001162 0.0001162 0.03% FillPatchIterator::Initialize 20 0.0001053 0.0001053 0.0001053 0.02% MLMG::mgVcycle() 36 9.462e-05 9.462e-05 9.462e-05 0.02% Castro::construct_new_source() 25 8.776e-05 8.776e-05 8.776e-05 0.02% Castro::advance() 5 8.462e-05 8.462e-05 8.462e-05 0.02% Amr::timeStep() 5 8.238e-05 8.238e-05 8.238e-05 0.02% MLCellLinOp::correctionResidual() 180 7.51e-05 7.51e-05 7.51e-05 0.02% AmrLevel::restart() 1 7.083e-05 7.083e-05 7.083e-05 0.02% Castro::initialize_do_advance() 5 6.815e-05 6.815e-05 6.815e-05 0.02% StateData::restartDoit() 4 6.549e-05 6.549e-05 6.549e-05 0.01% Gravity::update_max_rhs() 6 6.4e-05 6.4e-05 6.4e-05 0.01% Castro::finalize_do_advance() 5 6.303e-05 6.303e-05 6.303e-05 0.01% MLMG:computeResOfCorrection() 180 5.008e-05 5.008e-05 5.008e-05 0.01% Gravity::solve_for_phi() 5 4.851e-05 4.851e-05 4.851e-05 0.01% Castro::do_advance_ctu() 5 4.396e-05 4.396e-05 4.396e-05 0.01% MLMG::mgVcycle_up::0 36 3.879e-05 3.879e-05 3.879e-05 0.01% MLMG::actualBottomSolve() 36 3.837e-05 3.837e-05 3.837e-05 0.01% MLMG::solve() 6 3.646e-05 3.646e-05 3.646e-05 0.01% MLMG::mgVcycle_down::1 36 3.59e-05 3.59e-05 3.59e-05 0.01% Castro::initialize_advance() 5 3.558e-05 3.558e-05 3.558e-05 0.01% MLMG::mgVcycle_down::2 36 3.514e-05 3.514e-05 3.514e-05 0.01% MLMG::mgVcycle_down::0 36 3.5e-05 3.5e-05 3.5e-05 0.01% Castro::clean_state() 30 3.403e-05 3.403e-05 3.403e-05 0.01% MLMG::mgVcycle_down::4 36 3.328e-05 3.328e-05 3.328e-05 0.01% MLMG::mgVcycle_down::3 36 3.151e-05 3.151e-05 3.151e-05 0.01% MLMG::mgVcycle_up::4 36 3.112e-05 3.112e-05 3.112e-05 0.01% Castro::construct_old_source() 25 2.859e-05 2.859e-05 2.859e-05 0.01% MLMG::oneIter() 36 2.478e-05 2.478e-05 2.478e-05 0.01% MLMG::mgVcycle_up::1 36 2.439e-05 2.439e-05 2.439e-05 0.01% MLMG::mgVcycle_up::3 36 2.397e-05 2.397e-05 2.397e-05 0.01% Castro::post_restart() 1 2.249e-05 2.249e-05 2.249e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.225e-05 2.225e-05 2.225e-05 0.00% MLMG::mgVcycle_up::2 36 2.193e-05 2.193e-05 2.193e-05 0.00% MLCellLinOp::solutionResidual() 42 2.039e-05 2.039e-05 2.039e-05 0.00% FillPatchSingleLevel 20 1.727e-05 1.727e-05 1.727e-05 0.00% MLMG::ResNormInf() 42 1.665e-05 1.665e-05 1.665e-05 0.00% Castro::expand_state() 5 1.662e-05 1.662e-05 1.662e-05 0.00% Gravity::actual_multilevel_solve() 1 1.612e-05 1.612e-05 1.612e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.576e-05 1.576e-05 1.576e-05 0.00% MLMG::computeResidual() 36 1.39e-05 1.39e-05 1.39e-05 0.00% MLMG::mgVcycle_bottom 36 1.388e-05 1.388e-05 1.388e-05 0.00% MLPoisson::define() 6 1.316e-05 1.316e-05 1.316e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.271e-05 1.271e-05 1.271e-05 0.00% Castro::construct_new_gravity() 5 1.169e-05 1.169e-05 1.169e-05 0.00% Castro::do_old_sources() 5 1.093e-05 1.093e-05 1.093e-05 0.00% Castro::do_new_sources() 5 1.003e-05 1.003e-05 1.003e-05 0.00% Castro::check_for_nan() 10 6.282e-06 6.282e-06 6.282e-06 0.00% Castro::apply_source_to_state() 10 5.839e-06 5.839e-06 5.839e-06 0.00% Castro::construct_old_gravity() 5 5.279e-06 5.279e-06 5.279e-06 0.00% Castro::post_timestep() 5 4.115e-06 4.115e-06 4.115e-06 0.00% MLMG::computeMLResidual() 6 4.039e-06 4.039e-06 4.039e-06 0.00% MLPoisson::prepareForSolve() 6 3.707e-06 3.707e-06 3.707e-06 0.00% Castro::computeNewDt() 5 3.497e-06 3.497e-06 3.497e-06 0.00% MLMG::getGradSolution() 6 3.313e-06 3.313e-06 3.313e-06 0.00% Amr::init() 1 9.07e-07 9.07e-07 9.07e-07 0.00% Other 2190 0.003151 0.003151 0.003151 0.71% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4462 0.4462 0.4462 100.00% Amr::coarseTimeStep() 5 0.3444 0.3444 0.3444 77.18% Amr::timeStep() 5 0.3423 0.3423 0.3423 76.72% Castro::advance() 5 0.337 0.337 0.337 75.52% Castro::subcycle_advance_ctu() 5 0.3293 0.3293 0.3293 73.79% Castro::do_advance_ctu() 5 0.3292 0.3292 0.3292 73.76% Castro::construct_ctu_hydro_source() 5 0.1473 0.1473 0.1473 33.01% Castro::construct_new_gravity() 5 0.1441 0.1441 0.1441 32.29% Gravity::solve_phi_with_mlmg() 6 0.1415 0.1415 0.1415 31.70% Gravity::solve_for_phi() 5 0.1358 0.1358 0.1358 30.44% Gravity::actual_solve_with_mlmg() 6 0.1356 0.1356 0.1356 30.38% MLMG::solve() 6 0.1227 0.1227 0.1227 27.51% MLMG::oneIter() 36 0.1146 0.1146 0.1146 25.67% MLMG::mgVcycle() 36 0.1129 0.1129 0.1129 25.30% Amr::init() 1 0.07165 0.07165 0.07165 16.06% Amr::restart() 1 0.07165 0.07165 0.07165 16.06% AmrLevel::restart() 1 0.06027 0.06027 0.06027 13.50% StateData::restartDoit() 4 0.06019 0.06019 0.06019 13.49% VisMF::Read() 3 0.0599 0.0599 0.0599 13.42% MLCellLinOp::smooth() 720 0.05666 0.05666 0.05666 12.70% MLCellLinOp::applyBC() 1910 0.05271 0.05271 0.05271 11.81% MLMG::mgVcycle_bottom 36 0.03337 0.03337 0.03337 7.48% MLMG::actualBottomSolve() 36 0.03336 0.03336 0.03336 7.48% MLCGSolver::bicgstab 36 0.03298 0.03298 0.03298 7.39% Amr::writePlotFile() 1 0.02951 0.02951 0.02951 6.61% Castro::clean_state() 30 0.02733 0.02733 0.02733 6.13% VisMF::Write(FabArray) 1 0.02684 0.02684 0.02684 6.02% AmrLevel::FillPatch() 20 0.02381 0.02381 0.02381 5.34% FillPatchIterator::Initialize 20 0.02168 0.02168 0.02168 4.86% FillPatchIterator::FillFromLevel0() 20 0.02084 0.02084 0.02084 4.67% FillPatchSingleLevel 20 0.02082 0.02082 0.02082 4.67% StateDataPhysBCFunct::() 20 0.01871 0.01871 0.01871 4.19% MLCellLinOp::apply() 464 0.01702 0.01702 0.01702 3.81% MLMG::mgVcycle_down::0 36 0.01644 0.01644 0.01644 3.68% MLPoisson::Fsmooth() 1440 0.01579 0.01579 0.01579 3.54% FabArray::FillBoundary() 1730 0.01526 0.01526 0.01526 3.42% FillBoundary_nowait() 1730 0.01491 0.01491 0.01491 3.34% StateData::FillBoundary(geom) 160 0.01338 0.01338 0.01338 3.00% MLMG::mgVcycle_up::0 36 0.01217 0.01217 0.01217 2.73% Castro::computeTemp() 30 0.01127 0.01127 0.01127 2.53% Castro::initialize_do_advance() 5 0.01116 0.01116 0.01116 2.50% MLPoisson::define() 6 0.01013 0.01013 0.01013 2.27% Castro::do_old_sources() 5 0.009845 0.009845 0.009845 2.21% amrex::Dot() 484 0.009762 0.009762 0.009762 2.19% Castro::normalize_species() 30 0.00955 0.00955 0.00955 2.14% MLMG:computeResOfCorrection() 180 0.009517 0.009517 0.009517 2.13% MLCellLinOp::correctionResidual() 180 0.009467 0.009467 0.009467 2.12% FabArray::norminf() 465 0.009247 0.009247 0.009247 2.07% Castro::construct_old_gravity() 5 0.008161 0.008161 0.008161 1.83% Gravity::get_old_grav_vector() 5 0.008155 0.008155 0.008155 1.83% Gravity::get_new_grav_vector() 5 0.00813 0.00813 0.00813 1.82% MLMG::mgVcycle_down::1 36 0.007824 0.007824 0.007824 1.75% Castro::initialize_advance() 5 0.007325 0.007325 0.007325 1.64% MLMG::mgVcycle_down::2 36 0.007168 0.007168 0.007168 1.61% FabArray::ParallelCopy() 380 0.007021 0.007021 0.007021 1.57% MLMG::mgVcycle_down::3 36 0.00696 0.00696 0.00696 1.56% MLCellLinOp::defineAuxData() 6 0.006923 0.006923 0.006923 1.55% FabArray::setVal() 501 0.006915 0.006915 0.006915 1.55% FabArray::ParallelCopy_nowait() 380 0.006905 0.006905 0.006905 1.55% MLMG::mgVcycle_down::4 36 0.006897 0.006897 0.006897 1.55% Castro::do_new_sources() 5 0.006754 0.006754 0.006754 1.51% Castro::post_restart() 1 0.006275 0.006275 0.006275 1.41% FabArray::Saxpy() 597 0.006151 0.006151 0.006151 1.38% Castro::expand_state() 5 0.006081 0.006081 0.006081 1.36% Gravity::multilevel_solve_for_new_phi() 1 0.005902 0.005902 0.005902 1.32% Gravity::actual_multilevel_solve() 1 0.005887 0.005887 0.005887 1.32% MLCGSolver::ParallelAllReduce 798 0.00588 0.00588 0.00588 1.32% Castro::enforce_min_density() 30 0.005807 0.005807 0.005807 1.30% Gravity::fill_multipole_BCs() 6 0.005769 0.005769 0.005769 1.29% MLMG::addInterpCorrection() 180 0.005708 0.005708 0.005708 1.28% amrex::Copy() 221 0.005646 0.005646 0.005646 1.27% MLMG::mgVcycle_up::1 36 0.005599 0.005599 0.005599 1.25% MLMG::mgVcycle_up::4 36 0.005562 0.005562 0.005562 1.25% MLMG::mgVcycle_up::2 36 0.005446 0.005446 0.005446 1.22% amrex::average_down 180 0.005397 0.005397 0.005397 1.21% MLMG::mgVcycle_up::3 36 0.005348 0.005348 0.005348 1.20% Castro::post_timestep() 5 0.005247 0.005247 0.005247 1.18% MLPoisson::Fapply() 464 0.004765 0.004765 0.004765 1.07% MLCellLinOp::solutionResidual() 42 0.003857 0.003857 0.003857 0.86% FabArray::Xpay() 325 0.00368 0.00368 0.00368 0.82% Castro::estTimeStep() 10 0.003157 0.003157 0.003157 0.71% MLCellLinOp::defineBC() 6 0.003059 0.003059 0.003059 0.69% MLMG::computeResidual() 36 0.003026 0.003026 0.003026 0.68% MLMG::prepareForSolve() 6 0.003019 0.003019 0.003019 0.68% BndryData::define() 6 0.00291 0.00291 0.00291 0.65% Castro::reset_internal_energy(MultiFab) 30 0.002907 0.002907 0.002907 0.65% Castro::construct_new_source() 25 0.002006 0.002006 0.002006 0.45% Castro::construct_new_gravity_source() 5 0.001918 0.001918 0.001918 0.43% Castro::computeNewDt() 5 0.00189 0.00189 0.00189 0.42% amrex::Add() 36 0.001668 0.001668 0.001668 0.37% Castro::construct_old_source() 25 0.001624 0.001624 0.001624 0.36% Castro::construct_old_gravity_source() 5 0.001596 0.001596 0.001596 0.36% Castro::finalize_do_advance() 5 0.001333 0.001333 0.001333 0.30% MLMG::ResNormInf() 42 0.001104 0.001104 0.001104 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.00104 0.00104 0.00104 0.23% Castro::apply_source_to_state() 10 0.0009661 0.0009661 0.0009661 0.22% MLMG::getGradSolution() 6 0.0009448 0.0009448 0.0009448 0.21% MLCellLinOp::compGrad() 6 0.0009415 0.0009415 0.0009415 0.21% MLCellLinOp::setLevelBC() 6 0.000917 0.000917 0.000917 0.21% MLMG::computeMLResidual() 6 0.0008482 0.0008482 0.0008482 0.19% FabArrayBase::getCPC() 632 0.0008472 0.0008472 0.0008472 0.19% Castro::reset_internal_energy(Fab) 240 0.000842 0.000842 0.000842 0.19% MLPoisson::prepareForSolve() 6 0.0007992 0.0007992 0.0007992 0.18% MLCellLinOp::prepareForSolve() 6 0.0007955 0.0007955 0.0007955 0.18% Gravity::update_max_rhs() 6 0.0007623 0.0007623 0.0007623 0.17% FabArray::setDomainBndry() 20 0.0007337 0.0007337 0.0007337 0.16% FabArray::mult() 22 0.0007272 0.0007272 0.0007272 0.16% check_for_negative_density() 5 0.0007014 0.0007014 0.0007014 0.16% Castro::check_for_nan() 10 0.0006836 0.0006836 0.0006836 0.15% Other 2190 0.004438 0.004438 0.004438 0.99% -------------------------------------------------------------------------------------------- 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 1052 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1775 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 6462 KiB 14 MiB MLMG::prepareForSolve() 361 361 3377 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 189 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 186 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6449 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 21 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3410 B 2048 KiB Gravity::solve_for_phi() 40 40 622 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 311 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 200 KiB 671 KiB Castro::estTimeStep() 10 10 3388 B 480 KiB VisMF::Write(FabArray) 112 112 1315 B 320 KiB Castro::normalize_species() 30 30 6969 B 320 KiB amrex::average_down 469 469 1431 B 257 KiB MLMG::addInterpCorrection() 468 468 1093 B 257 KiB amrex::Dot() 592 592 3233 B 160 KiB FabArray::norminf() 501 501 3204 B 160 KiB check_for_negative_density() 5 5 251 B 160 KiB MultiFab::max() 6 6 75 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3273 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 285 B 9648 B MLCellLinOp::applyBC() 3820 3820 212 B 9344 B amrex::Copy() 56 56 5934 B 8816 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 39 B 2592 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCellLinOp::defineBC() 36 36 349 B 1248 B MLCGSolver::bicgstab 180 180 89 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1349 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 169 KiB 3584 KiB VisMF::Read() 24 24 203 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3273 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 285 B 9648 B MLCellLinOp::applyBC() 1910 1910 210 B 9328 B amrex::Copy() 56 56 5934 B 8816 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2536 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B StateData::FillBoundary(geom) 960 960 39 B 2592 B MLMG::prepareForSolve() 7 7 806 B 1648 B amrex::average_down 37 37 470 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): 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.06-3-g0a691f6f4804) finalized