Initializing AMReX (24.05-1-g1735fd5c65d6)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-1-g1735fd5c65d6) initialized Starting run at 08:14:11 UTC on 2024-05-02. Successfully read inputs file ... Castro git describe: 24.05 AMReX git describe: 24.05-1-g1735fd5c6 Microphysics git describe: 24.05 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.046576164 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.026082355 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.066599384 [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.051322377 [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.077751238 [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.077823495 [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.065187029 [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.04635885 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.049527758 [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.046992785 [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.074754428 [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.078444903 [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.070736599 [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.076199613 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025699925 seconds Ending run at 08:14:12 UTC on 2024-05-02. Run time = 0.936098765 Run time without initialization = 0.808066652 Average number of zones advanced per microsecond: 3.244 Average number of zones advanced per microsecond per rank: 3.244 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9361 ... 0.9361 ... 0.9361 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2756 0.2756 0.2756 29.44% VisMF::Write(FabArray) 11 0.181 0.181 0.181 19.33% MLCellLinOp::applyBC() 4351 0.08185 0.08185 0.08185 8.74% Amr::checkPoint() 3 0.03732 0.03732 0.03732 3.99% MLPoisson::Fsmooth() 3280 0.03427 0.03427 0.03427 3.66% FillBoundary_nowait() 3941 0.03116 0.03116 0.03116 3.33% StateData::FillBoundary(geom) 328 0.02744 0.02744 0.02744 2.93% amrex::Dot() 1114 0.02209 0.02209 0.02209 2.36% FabArray::norminf() 1061 0.0204 0.0204 0.0204 2.18% Castro::normalize_species() 62 0.02009 0.02009 0.02009 2.15% Castro::computeTemp() 63 0.01556 0.01556 0.01556 1.66% FabArray::ParallelCopy_nowait() 861 0.01394 0.01394 0.01394 1.49% FabArray::setVal() 1062 0.01376 0.01376 0.01376 1.47% FabArray::Saxpy() 1370 0.01348 0.01348 0.01348 1.44% Castro::enforce_min_density() 62 0.01128 0.01128 0.01128 1.20% amrex::Copy() 472 0.01105 0.01105 0.01105 1.18% StateDataPhysBCFunct::() 41 0.01099 0.01099 0.01099 1.17% MLPoisson::Fapply() 1060 0.01058 0.01058 0.01058 1.13% MLCellLinOp::defineAuxData() 11 0.01048 0.01048 0.01048 1.12% Gravity::fill_multipole_BCs() 11 0.009525 0.009525 0.009525 1.02% FabArray::Xpay() 739 0.008052 0.008052 0.008052 0.86% MLMG::addInterpCorrection() 410 0.007129 0.007129 0.007129 0.76% amrex::average_down 410 0.006267 0.006267 0.006267 0.67% Castro::estTimeStep() 21 0.005775 0.005775 0.005775 0.62% Castro::reset_internal_energy(MultiFab) 63 0.005024 0.005024 0.005024 0.54% BndryData::define() 11 0.004087 0.004087 0.004087 0.44% Castro::construct_new_gravity_source() 10 0.003652 0.003652 0.003652 0.39% Castro::enforce_speed_limit() 62 0.003645 0.003645 0.003645 0.39% amrex::Add() 82 0.003634 0.003634 0.003634 0.39% Castro::construct_old_gravity_source() 10 0.002981 0.002981 0.002981 0.32% Amr::writePlotFile() 2 0.002119 0.002119 0.002119 0.23% check_for_negative_density() 10 0.001913 0.001913 0.001913 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00182 0.00182 0.00182 0.19% Castro::reset_internal_energy(Fab) 504 0.001743 0.001743 0.001743 0.19% MLCellLinOp::setLevelBC() 11 0.001639 0.001639 0.001639 0.18% MLCGSolver::bicgstab 82 0.001614 0.001614 0.001614 0.17% Gravity::actual_solve_with_mlmg() 11 0.001551 0.001551 0.001551 0.17% Castro::initData() 1 0.001539 0.001539 0.001539 0.16% FabArray::mult() 43 0.001416 0.001416 0.001416 0.15% FabArray::setDomainBndry() 41 0.001394 0.001394 0.001394 0.15% MLCellLinOp::prepareForSolve() 11 0.001332 0.001332 0.001332 0.14% MultiFab::contains_nan() 20 0.001283 0.001283 0.001283 0.14% MLCellLinOp::smooth() 1640 0.001138 0.001138 0.001138 0.12% MLCellLinOp::compGrad() 11 0.001071 0.001071 0.001071 0.11% MLMG::prepareForSolve() 11 0.0009638 0.0009638 0.0009638 0.10% FabArrayBase::getCPC() 1323 0.000791 0.000791 0.000791 0.08% FabArray::FillBoundary() 3941 0.0007542 0.0007542 0.0007542 0.08% Gravity::get_new_grav_vector() 11 0.0006171 0.0006171 0.0006171 0.07% Gravity::get_old_grav_vector() 10 0.0004785 0.0004785 0.0004785 0.05% MLCellLinOp::apply() 1060 0.0004297 0.0004297 0.0004297 0.05% AmrLevel::FillPatch() 41 0.0004132 0.0004132 0.0004132 0.04% Amr::coarseTimeStep() 10 0.000363 0.000363 0.000363 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003154 0.0003154 0.0003154 0.03% main() 1 0.0003113 0.0003113 0.0003113 0.03% MLCellLinOp::defineBC() 11 0.0002684 0.0002684 0.0002684 0.03% FabArray::ParallelCopy() 861 0.0002599 0.0002599 0.0002599 0.03% FillPatchIterator::Initialize 41 0.000213 0.000213 0.000213 0.02% MLMG::mgVcycle() 82 0.0001894 0.0001894 0.0001894 0.02% Castro::subcycle_advance_ctu() 10 0.0001871 0.0001871 0.0001871 0.02% MLCellLinOp::correctionResidual() 410 0.0001675 0.0001675 0.0001675 0.02% Amr::timeStep() 10 0.0001517 0.0001517 0.0001517 0.02% Castro::advance() 10 0.0001249 0.0001249 0.0001249 0.01% MLMG:computeResOfCorrection() 410 0.0001187 0.0001187 0.0001187 0.01% Gravity::solve_for_phi() 10 0.000114 0.000114 0.000114 0.01% StateData::checkPoint() 12 0.0001135 0.0001135 0.0001135 0.01% Castro::construct_new_source() 50 0.0001131 0.0001131 0.0001131 0.01% MLMG::actualBottomSolve() 82 8.648e-05 8.648e-05 8.648e-05 0.01% MLMG::mgVcycle_down::0 82 7.855e-05 7.855e-05 7.855e-05 0.01% Castro::clean_state() 62 7.807e-05 7.807e-05 7.807e-05 0.01% Castro::initialize_advance() 10 7.797e-05 7.797e-05 7.797e-05 0.01% MLMG::mgVcycle_down::2 82 7.225e-05 7.225e-05 7.225e-05 0.01% AmrLevel::checkPoint() 3 7.085e-05 7.085e-05 7.085e-05 0.01% MLMG::mgVcycle_down::1 82 7.055e-05 7.055e-05 7.055e-05 0.01% MLMG::solve() 11 6.773e-05 6.773e-05 6.773e-05 0.01% MLMG::mgVcycle_down::4 82 6.343e-05 6.343e-05 6.343e-05 0.01% MLMG::mgVcycle_down::3 82 6.161e-05 6.161e-05 6.161e-05 0.01% Castro::do_advance_ctu() 10 6.03e-05 6.03e-05 6.03e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.844e-05 5.844e-05 5.844e-05 0.01% Castro::initialize_do_advance() 10 5.83e-05 5.83e-05 5.83e-05 0.01% MLMG::oneIter() 82 5.374e-05 5.374e-05 5.374e-05 0.01% MLMG::mgVcycle_up::4 82 5.076e-05 5.076e-05 5.076e-05 0.01% MLMG::mgVcycle_up::0 82 4.78e-05 4.78e-05 4.78e-05 0.01% MLMG::mgVcycle_up::3 82 4.598e-05 4.598e-05 4.598e-05 0.00% Castro::finalize_do_advance() 10 4.554e-05 4.554e-05 4.554e-05 0.00% MLMG::mgVcycle_up::1 82 4.33e-05 4.33e-05 4.33e-05 0.00% MLCellLinOp::solutionResidual() 93 4.318e-05 4.318e-05 4.318e-05 0.00% MLMG::mgVcycle_up::2 82 4.217e-05 4.217e-05 4.217e-05 0.00% FillPatchSingleLevel 41 3.653e-05 3.653e-05 3.653e-05 0.00% Amr::defBaseLevel() 1 3.407e-05 3.407e-05 3.407e-05 0.00% MLMG::mgVcycle_bottom 82 3.338e-05 3.338e-05 3.338e-05 0.00% MLMG::computeResidual() 82 3.322e-05 3.322e-05 3.322e-05 0.00% MLMG::ResNormInf() 93 2.947e-05 2.947e-05 2.947e-05 0.00% Castro::construct_new_gravity() 10 2.803e-05 2.803e-05 2.803e-05 0.00% MLPoisson::define() 11 2.473e-05 2.473e-05 2.473e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.301e-05 2.301e-05 2.301e-05 0.00% Castro::do_old_sources() 10 2.058e-05 2.058e-05 2.058e-05 0.00% Amr::FinalizeInit() 1 1.907e-05 1.907e-05 1.907e-05 0.00% Castro::construct_old_source() 50 1.879e-05 1.879e-05 1.879e-05 0.00% Castro::do_new_sources() 10 1.803e-05 1.803e-05 1.803e-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.467e-05 1.467e-05 1.467e-05 0.00% Castro::apply_source_to_state() 20 1.415e-05 1.415e-05 1.415e-05 0.00% Castro::check_for_nan() 20 1.116e-05 1.116e-05 1.116e-05 0.00% Castro::post_timestep() 10 1.1e-05 1.1e-05 1.1e-05 0.00% MLMG::computeMLResidual() 11 1.083e-05 1.083e-05 1.083e-05 0.00% Castro::construct_old_gravity() 10 1.022e-05 1.022e-05 1.022e-05 0.00% Castro::computeNewDt() 9 7.226e-06 7.226e-06 7.226e-06 0.00% MLMG::getGradSolution() 11 6.286e-06 6.286e-06 6.286e-06 0.00% MLPoisson::prepareForSolve() 11 6.116e-06 6.116e-06 6.116e-06 0.00% Amr::InitializeInit() 1 6.065e-06 6.065e-06 6.065e-06 0.00% Castro::expand_state() 10 5.876e-06 5.876e-06 5.876e-06 0.00% Castro::post_init() 1 4.347e-06 4.347e-06 4.347e-06 0.00% Amr::init() 1 3.024e-06 3.024e-06 3.024e-06 0.00% Amr::initialInit() 1 1.121e-06 1.121e-06 1.121e-06 0.00% Other 4753 0.003305 0.003305 0.003305 0.35% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9361 0.9361 0.9361 100.00% Amr::coarseTimeStep() 10 0.7821 0.7821 0.7821 83.55% Amr::timeStep() 10 0.6558 0.6558 0.6558 70.05% Castro::advance() 10 0.646 0.646 0.646 69.00% Castro::subcycle_advance_ctu() 10 0.6312 0.6312 0.6312 67.42% Castro::do_advance_ctu() 10 0.631 0.631 0.631 67.40% Gravity::solve_phi_with_mlmg() 11 0.2997 0.2997 0.2997 32.02% Gravity::actual_solve_with_mlmg() 11 0.2897 0.2897 0.2897 30.95% Castro::construct_ctu_hydro_source() 10 0.2868 0.2868 0.2868 30.63% Castro::construct_new_gravity() 10 0.2708 0.2708 0.2708 28.92% MLMG::solve() 11 0.2673 0.2673 0.2673 28.56% Gravity::solve_for_phi() 10 0.2544 0.2544 0.2544 27.18% MLMG::oneIter() 82 0.2517 0.2517 0.2517 26.88% MLMG::mgVcycle() 82 0.248 0.248 0.248 26.49% VisMF::Write(FabArray) 11 0.181 0.181 0.181 19.33% Amr::checkPoint() 3 0.1693 0.1693 0.1693 18.08% AmrLevel::checkPoint() 3 0.1319 0.1319 0.1319 14.09% StateData::checkPoint() 12 0.1319 0.1319 0.1319 14.09% Amr::init() 1 0.1273 0.1273 0.1273 13.60% MLCellLinOp::smooth() 1640 0.1235 0.1235 0.1235 13.19% MLCellLinOp::applyBC() 4351 0.1145 0.1145 0.1145 12.23% MLMG::mgVcycle_bottom 82 0.07468 0.07468 0.07468 7.98% MLMG::actualBottomSolve() 82 0.07465 0.07465 0.07465 7.97% MLCGSolver::bicgstab 82 0.07382 0.07382 0.07382 7.89% Castro::clean_state() 62 0.05642 0.05642 0.05642 6.03% Amr::initialInit() 1 0.05451 0.05451 0.05451 5.82% Amr::writePlotFile() 2 0.0519 0.0519 0.0519 5.54% Amr::FinalizeInit() 1 0.04941 0.04941 0.04941 5.28% AmrLevel::FillPatch() 41 0.04857 0.04857 0.04857 5.19% Castro::post_init() 1 0.04798 0.04798 0.04798 5.12% Gravity::multilevel_solve_for_new_phi() 1 0.04573 0.04573 0.04573 4.88% Gravity::actual_multilevel_solve() 1 0.04571 0.04571 0.04571 4.88% FillPatchIterator::Initialize 41 0.04425 0.04425 0.04425 4.73% FillPatchIterator::FillFromLevel0() 41 0.04264 0.04264 0.04264 4.55% FillPatchSingleLevel 41 0.04258 0.04258 0.04258 4.55% StateDataPhysBCFunct::() 41 0.03843 0.03843 0.03843 4.10% MLCellLinOp::apply() 1060 0.0369 0.0369 0.0369 3.94% MLMG::mgVcycle_down::0 82 0.03504 0.03504 0.03504 3.74% MLPoisson::Fsmooth() 3280 0.03427 0.03427 0.03427 3.66% FabArray::FillBoundary() 3941 0.03262 0.03262 0.03262 3.48% FillBoundary_nowait() 3941 0.03186 0.03186 0.03186 3.40% StateData::FillBoundary(geom) 328 0.02744 0.02744 0.02744 2.93% MLMG::mgVcycle_up::0 82 0.02661 0.02661 0.02661 2.84% Castro::computeTemp() 63 0.02233 0.02233 0.02233 2.39% amrex::Dot() 1114 0.02209 0.02209 0.02209 2.36% Castro::initialize_do_advance() 10 0.02193 0.02193 0.02193 2.34% MLMG:computeResOfCorrection() 410 0.02078 0.02078 0.02078 2.22% MLCellLinOp::correctionResidual() 410 0.02066 0.02066 0.02066 2.21% FabArray::norminf() 1061 0.0204 0.0204 0.0204 2.18% Castro::normalize_species() 62 0.02009 0.02009 0.02009 2.15% Castro::do_old_sources() 10 0.01929 0.01929 0.01929 2.06% Gravity::get_new_grav_vector() 11 0.01813 0.01813 0.01813 1.94% MLPoisson::define() 11 0.01756 0.01756 0.01756 1.88% MLMG::mgVcycle_down::1 82 0.01693 0.01693 0.01693 1.81% Castro::construct_old_gravity() 10 0.01591 0.01591 0.01591 1.70% Gravity::get_old_grav_vector() 10 0.0159 0.0159 0.0159 1.70% MLMG::mgVcycle_down::2 82 0.01576 0.01576 0.01576 1.68% MLMG::mgVcycle_down::3 82 0.01533 0.01533 0.01533 1.64% MLMG::mgVcycle_down::4 82 0.01527 0.01527 0.01527 1.63% FabArray::ParallelCopy() 861 0.015 0.015 0.015 1.60% FabArray::ParallelCopy_nowait() 861 0.01474 0.01474 0.01474 1.57% Castro::initialize_advance() 10 0.01405 0.01405 0.01405 1.50% FabArray::setVal() 1062 0.01376 0.01376 0.01376 1.47% FabArray::Saxpy() 1370 0.01348 0.01348 0.01348 1.44% MLCGSolver::ParallelAllReduce 1832 0.01317 0.01317 0.01317 1.41% Castro::do_new_sources() 10 0.01309 0.01309 0.01309 1.40% MLMG::addInterpCorrection() 410 0.01254 0.01254 0.01254 1.34% MLMG::mgVcycle_up::1 82 0.01225 0.01225 0.01225 1.31% MLMG::mgVcycle_up::4 82 0.01218 0.01218 0.01218 1.30% MLMG::mgVcycle_up::2 82 0.01196 0.01196 0.01196 1.28% MLCellLinOp::defineAuxData() 11 0.0119 0.0119 0.0119 1.27% MLMG::mgVcycle_up::3 82 0.01175 0.01175 0.01175 1.26% amrex::average_down 410 0.01173 0.01173 0.01173 1.25% Castro::expand_state() 10 0.01171 0.01171 0.01171 1.25% Castro::enforce_min_density() 62 0.01128 0.01128 0.01128 1.20% amrex::Copy() 472 0.01105 0.01105 0.01105 1.18% MLPoisson::Fapply() 1060 0.01058 0.01058 0.01058 1.13% Gravity::fill_multipole_BCs() 11 0.009764 0.009764 0.009764 1.04% Castro::post_timestep() 10 0.009671 0.009671 0.009671 1.03% FabArray::Xpay() 739 0.008052 0.008052 0.008052 0.86% MLCellLinOp::solutionResidual() 93 0.007906 0.007906 0.007906 0.84% Castro::reset_internal_energy(MultiFab) 63 0.006767 0.006767 0.006767 0.72% MLMG::computeResidual() 82 0.006621 0.006621 0.006621 0.71% Castro::estTimeStep() 21 0.005775 0.005775 0.005775 0.62% MLCellLinOp::defineBC() 11 0.005393 0.005393 0.005393 0.58% MLMG::prepareForSolve() 11 0.005229 0.005229 0.005229 0.56% BndryData::define() 11 0.005125 0.005125 0.005125 0.55% Amr::InitializeInit() 1 0.005095 0.005095 0.005095 0.54% Amr::defBaseLevel() 1 0.005089 0.005089 0.005089 0.54% Castro::initData() 1 0.004374 0.004374 0.004374 0.47% Castro::construct_new_source() 50 0.003765 0.003765 0.003765 0.40% Castro::construct_new_gravity_source() 10 0.003652 0.003652 0.003652 0.39% Castro::enforce_speed_limit() 62 0.003645 0.003645 0.003645 0.39% amrex::Add() 82 0.003634 0.003634 0.003634 0.39% Castro::construct_old_source() 50 0.003 0.003 0.003 0.32% Castro::construct_old_gravity_source() 10 0.002981 0.002981 0.002981 0.32% Castro::computeNewDt() 9 0.00265 0.00265 0.00265 0.28% Castro::finalize_do_advance() 10 0.002221 0.002221 0.002221 0.24% MLMG::ResNormInf() 93 0.002213 0.002213 0.002213 0.24% check_for_negative_density() 10 0.001913 0.001913 0.001913 0.20% Castro::apply_source_to_state() 20 0.001878 0.001878 0.001878 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00182 0.00182 0.00182 0.19% Castro::reset_internal_energy(Fab) 504 0.001743 0.001743 0.001743 0.19% MLCellLinOp::setLevelBC() 11 0.001639 0.001639 0.001639 0.18% MLMG::getGradSolution() 11 0.001593 0.001593 0.001593 0.17% MLCellLinOp::compGrad() 11 0.001586 0.001586 0.001586 0.17% FabArrayBase::getCPC() 1323 0.001441 0.001441 0.001441 0.15% FabArray::mult() 43 0.001416 0.001416 0.001416 0.15% FabArray::setDomainBndry() 41 0.001394 0.001394 0.001394 0.15% MLPoisson::prepareForSolve() 11 0.001338 0.001338 0.001338 0.14% MLCellLinOp::prepareForSolve() 11 0.001332 0.001332 0.001332 0.14% MLMG::computeMLResidual() 11 0.001329 0.001329 0.001329 0.14% Castro::check_for_nan() 20 0.001294 0.001294 0.001294 0.14% MultiFab::contains_nan() 20 0.001283 0.001283 0.001283 0.14% Other 4753 0.009177 0.009177 0.009177 0.98% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 5568 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 999 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1548 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7617 KiB 14 MiB MLMG::prepareForSolve() 660 660 3513 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 201 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 174 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7519 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2068 B 2048 KiB Gravity::solve_for_phi() 80 80 556 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 99 KiB 2048 KiB BndryData::define() 1056 1056 321 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 204 KiB 671 KiB Castro::estTimeStep() 21 21 3009 B 480 KiB VisMF::Write(FabArray) 656 656 3324 B 320 KiB Castro::normalize_species() 62 62 6988 B 320 KiB amrex::average_down 1067 1067 1590 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1153 B 257 KiB amrex::Dot() 1360 1360 3484 B 160 KiB FabArray::norminf() 1143 1143 3368 B 160 KiB check_for_negative_density() 10 10 321 B 160 KiB Castro::initData() 1 1 49 B 160 KiB MultiFab::max() 11 11 56 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3429 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 290 B 9648 B MLCellLinOp::applyBC() 8702 8702 217 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3900 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 362 B 1248 B MLCGSolver::bicgstab 410 410 95 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 560 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 39 KiB 8192 KiB VisMF::Write(FabArray) 744 744 425 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3429 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 289 B 9648 B MLCellLinOp::applyBC() 4351 4351 215 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3900 B 6144 B Gravity::get_new_grav_vector() 3 3 2894 B 3072 B StateData::FillBoundary(geom) 1992 1992 38 B 2928 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 83 83 617 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 292 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 1143 1143 9 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2105 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.05-1-g1735fd5c65d6) finalized Initializing AMReX (24.05-1-g1735fd5c65d6)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-1-g1735fd5c65d6) initialized Starting run at 08:14:13 UTC on 2024-05-02. Successfully read inputs file ... Castro git describe: 24.05 AMReX git describe: 24.05-1-g1735fd5c6 Microphysics git describe: 24.05 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.513117516 Restart time = 0.077183693 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.067503697 [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.049089814 [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.072319201 [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.079733098 [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.067239447 [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.027603096 seconds Ending run at 08:14:13 UTC on 2024-05-02. Run time = 0.441896544 Run time without initialization = 0.363901546 Average number of zones advanced per microsecond: 3.602 Average number of zones advanced per microsecond per rank: 3.602 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4419 ... 0.4419 ... 0.4419 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1399 0.1399 0.1399 31.65% VisMF::Read() 3 0.06468 0.06468 0.06468 14.64% MLCellLinOp::applyBC() 1910 0.03569 0.03569 0.03569 8.08% VisMF::Write(FabArray) 1 0.02495 0.02495 0.02495 5.65% MLPoisson::Fsmooth() 1440 0.01491 0.01491 0.01491 3.37% StateData::FillBoundary(geom) 160 0.01361 0.01361 0.01361 3.08% FillBoundary_nowait() 1730 0.013 0.013 0.013 2.94% Castro::normalize_species() 30 0.01035 0.01035 0.01035 2.34% amrex::Dot() 484 0.009356 0.009356 0.009356 2.12% FabArray::norminf() 465 0.008756 0.008756 0.008756 1.98% Castro::computeTemp() 30 0.007614 0.007614 0.007614 1.72% Castro::enforce_min_density() 30 0.007532 0.007532 0.007532 1.70% FabArray::setVal() 501 0.006629 0.006629 0.006629 1.50% FabArray::ParallelCopy_nowait() 380 0.006225 0.006225 0.006225 1.41% Amr::restart() 1 0.006031 0.006031 0.006031 1.36% FabArray::Saxpy() 597 0.005919 0.005919 0.005919 1.34% MLCellLinOp::defineAuxData() 6 0.005681 0.005681 0.005681 1.29% amrex::Copy() 221 0.005517 0.005517 0.005517 1.25% Gravity::fill_multipole_BCs() 6 0.005503 0.005503 0.005503 1.25% StateDataPhysBCFunct::() 20 0.005026 0.005026 0.005026 1.14% MLPoisson::Fapply() 464 0.004538 0.004538 0.004538 1.03% FabArray::Xpay() 325 0.003546 0.003546 0.003546 0.80% Castro::estTimeStep() 10 0.003173 0.003173 0.003173 0.72% MLMG::addInterpCorrection() 180 0.003117 0.003117 0.003117 0.71% amrex::average_down 180 0.002741 0.002741 0.002741 0.62% Amr::writePlotFile() 1 0.002473 0.002473 0.002473 0.56% BndryData::define() 6 0.002245 0.002245 0.002245 0.51% Castro::reset_internal_energy(MultiFab) 30 0.002001 0.002001 0.002001 0.45% Castro::construct_new_gravity_source() 5 0.001657 0.001657 0.001657 0.38% amrex::Add() 36 0.001547 0.001547 0.001547 0.35% Castro::construct_old_gravity_source() 5 0.001445 0.001445 0.001445 0.33% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009714 0.0009714 0.0009714 0.22% check_for_negative_density() 5 0.0009425 0.0009425 0.0009425 0.21% MLCellLinOp::setLevelBC() 6 0.0008926 0.0008926 0.0008926 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008494 0.0008494 0.0008494 0.19% Castro::reset_internal_energy(Fab) 240 0.0008335 0.0008335 0.0008335 0.19% MLCellLinOp::prepareForSolve() 6 0.0007615 0.0007615 0.0007615 0.17% FabArray::setDomainBndry() 20 0.0007158 0.0007158 0.0007158 0.16% MLCGSolver::bicgstab 36 0.0007111 0.0007111 0.0007111 0.16% FabArray::mult() 22 0.0006955 0.0006955 0.0006955 0.16% MLCellLinOp::compGrad() 6 0.000596 0.000596 0.000596 0.13% MLMG::prepareForSolve() 6 0.0005595 0.0005595 0.0005595 0.13% MLCellLinOp::smooth() 720 0.0004913 0.0004913 0.0004913 0.11% FabArrayBase::getCPC() 632 0.0003744 0.0003744 0.0003744 0.08% FabArray::FillBoundary() 1730 0.000323 0.000323 0.000323 0.07% Gravity::get_old_grav_vector() 5 0.000321 0.000321 0.000321 0.07% main() 1 0.0002832 0.0002832 0.0002832 0.06% Gravity::get_new_grav_vector() 5 0.0002655 0.0002655 0.0002655 0.06% AmrLevel::FillPatch() 20 0.0002047 0.0002047 0.0002047 0.05% MLCellLinOp::apply() 464 0.0001946 0.0001946 0.0001946 0.04% Amr::coarseTimeStep() 5 0.000168 0.000168 0.000168 0.04% MLCellLinOp::defineBC() 6 0.0001437 0.0001437 0.0001437 0.03% MLCGSolver::ParallelAllReduce 798 0.0001341 0.0001341 0.0001341 0.03% FabArray::ParallelCopy() 380 0.0001188 0.0001188 0.0001188 0.03% FillPatchIterator::Initialize 20 0.0001083 0.0001083 0.0001083 0.02% Castro::subcycle_advance_ctu() 5 0.0001068 0.0001068 0.0001068 0.02% Castro::do_advance_ctu() 5 8.756e-05 8.756e-05 8.756e-05 0.02% Castro::advance() 5 8.599e-05 8.599e-05 8.599e-05 0.02% Amr::timeStep() 5 8.385e-05 8.385e-05 8.385e-05 0.02% AmrLevel::restart() 1 8.147e-05 8.147e-05 8.147e-05 0.02% MLMG::mgVcycle() 36 8.134e-05 8.134e-05 8.134e-05 0.02% StateData::restartDoit() 4 7.789e-05 7.789e-05 7.789e-05 0.02% Castro::construct_new_source() 25 7.528e-05 7.528e-05 7.528e-05 0.02% MLCellLinOp::correctionResidual() 180 7.275e-05 7.275e-05 7.275e-05 0.02% Castro::initialize_do_advance() 5 6.714e-05 6.714e-05 6.714e-05 0.02% Gravity::update_max_rhs() 6 6.249e-05 6.249e-05 6.249e-05 0.01% Gravity::solve_for_phi() 5 4.955e-05 4.955e-05 4.955e-05 0.01% MLMG:computeResOfCorrection() 180 4.919e-05 4.919e-05 4.919e-05 0.01% Castro::initialize_advance() 5 4.438e-05 4.438e-05 4.438e-05 0.01% Castro::finalize_do_advance() 5 4.418e-05 4.418e-05 4.418e-05 0.01% Castro::post_timestep() 5 3.627e-05 3.627e-05 3.627e-05 0.01% MLMG::actualBottomSolve() 36 3.608e-05 3.608e-05 3.608e-05 0.01% MLMG::mgVcycle_down::0 36 3.526e-05 3.526e-05 3.526e-05 0.01% MLMG::solve() 6 3.405e-05 3.405e-05 3.405e-05 0.01% Castro::clean_state() 30 3.266e-05 3.266e-05 3.266e-05 0.01% MLMG::mgVcycle_down::1 36 3.213e-05 3.213e-05 3.213e-05 0.01% MLMG::mgVcycle_down::2 36 2.947e-05 2.947e-05 2.947e-05 0.01% Castro::do_new_sources() 5 2.935e-05 2.935e-05 2.935e-05 0.01% Castro::construct_old_source() 25 2.807e-05 2.807e-05 2.807e-05 0.01% MLMG::oneIter() 36 2.699e-05 2.699e-05 2.699e-05 0.01% MLMG::mgVcycle_down::4 36 2.685e-05 2.685e-05 2.685e-05 0.01% MLMG::mgVcycle_down::3 36 2.622e-05 2.622e-05 2.622e-05 0.01% MLMG::mgVcycle_up::4 36 2.414e-05 2.414e-05 2.414e-05 0.01% MLPoisson::define() 6 2.241e-05 2.241e-05 2.241e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.174e-05 2.174e-05 2.174e-05 0.00% Castro::post_restart() 1 2.091e-05 2.091e-05 2.091e-05 0.00% MLCellLinOp::solutionResidual() 42 2.052e-05 2.052e-05 2.052e-05 0.00% MLMG::mgVcycle_up::3 36 2.034e-05 2.034e-05 2.034e-05 0.00% MLMG::mgVcycle_up::0 36 1.954e-05 1.954e-05 1.954e-05 0.00% MLMG::mgVcycle_up::2 36 1.913e-05 1.913e-05 1.913e-05 0.00% MLMG::mgVcycle_up::1 36 1.816e-05 1.816e-05 1.816e-05 0.00% Gravity::actual_multilevel_solve() 1 1.742e-05 1.742e-05 1.742e-05 0.00% FillPatchSingleLevel 20 1.686e-05 1.686e-05 1.686e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.618e-05 1.618e-05 1.618e-05 0.00% MLMG::ResNormInf() 42 1.541e-05 1.541e-05 1.541e-05 0.00% MLMG::computeResidual() 36 1.415e-05 1.415e-05 1.415e-05 0.00% MLMG::mgVcycle_bottom 36 1.381e-05 1.381e-05 1.381e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.332e-05 1.332e-05 1.332e-05 0.00% Castro::construct_new_gravity() 5 1.2e-05 1.2e-05 1.2e-05 0.00% Castro::do_old_sources() 5 1.12e-05 1.12e-05 1.12e-05 0.00% Castro::expand_state() 5 8.513e-06 8.513e-06 8.513e-06 0.00% Castro::construct_old_gravity() 5 6.394e-06 6.394e-06 6.394e-06 0.00% Castro::apply_source_to_state() 10 6.264e-06 6.264e-06 6.264e-06 0.00% Castro::check_for_nan() 10 6.153e-06 6.153e-06 6.153e-06 0.00% MLMG::computeMLResidual() 6 4.406e-06 4.406e-06 4.406e-06 0.00% Castro::computeNewDt() 5 3.652e-06 3.652e-06 3.652e-06 0.00% MLPoisson::prepareForSolve() 6 3.386e-06 3.386e-06 3.386e-06 0.00% MLMG::getGradSolution() 6 3.208e-06 3.208e-06 3.208e-06 0.00% Amr::init() 1 1.112e-06 1.112e-06 1.112e-06 0.00% Other 2190 0.003095 0.003095 0.003095 0.70% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4419 0.4419 0.4419 99.99% Amr::coarseTimeStep() 5 0.336 0.336 0.336 76.04% Amr::timeStep() 5 0.3338 0.3338 0.3338 75.54% Castro::advance() 5 0.3283 0.3283 0.3283 74.29% Castro::subcycle_advance_ctu() 5 0.3202 0.3202 0.3202 72.46% Castro::do_advance_ctu() 5 0.3201 0.3201 0.3201 72.44% Castro::construct_ctu_hydro_source() 5 0.1454 0.1454 0.1454 32.91% Castro::construct_new_gravity() 5 0.1368 0.1368 0.1368 30.96% Gravity::solve_phi_with_mlmg() 6 0.1338 0.1338 0.1338 30.28% Gravity::solve_for_phi() 5 0.1285 0.1285 0.1285 29.08% Gravity::actual_solve_with_mlmg() 6 0.1281 0.1281 0.1281 28.98% MLMG::solve() 6 0.1159 0.1159 0.1159 26.22% MLMG::oneIter() 36 0.1081 0.1081 0.1081 24.46% MLMG::mgVcycle() 36 0.1065 0.1065 0.1065 24.10% Amr::init() 1 0.07723 0.07723 0.07723 17.48% Amr::restart() 1 0.07723 0.07723 0.07723 17.48% AmrLevel::restart() 1 0.06507 0.06507 0.06507 14.72% StateData::restartDoit() 4 0.06498 0.06498 0.06498 14.70% VisMF::Read() 3 0.06468 0.06468 0.06468 14.64% MLCellLinOp::smooth() 720 0.05309 0.05309 0.05309 12.01% MLCellLinOp::applyBC() 1910 0.04932 0.04932 0.04932 11.16% MLMG::mgVcycle_bottom 36 0.03192 0.03192 0.03192 7.22% MLMG::actualBottomSolve() 36 0.03191 0.03191 0.03191 7.22% MLCGSolver::bicgstab 36 0.03154 0.03154 0.03154 7.14% Castro::clean_state() 30 0.02883 0.02883 0.02883 6.52% Amr::writePlotFile() 1 0.02769 0.02769 0.02769 6.27% VisMF::Write(FabArray) 1 0.02495 0.02495 0.02495 5.65% AmrLevel::FillPatch() 20 0.02367 0.02367 0.02367 5.36% FillPatchIterator::Initialize 20 0.02154 0.02154 0.02154 4.87% FillPatchIterator::FillFromLevel0() 20 0.02072 0.02072 0.02072 4.69% FillPatchSingleLevel 20 0.0207 0.0207 0.0207 4.68% StateDataPhysBCFunct::() 20 0.01863 0.01863 0.01863 4.22% MLCellLinOp::apply() 464 0.01608 0.01608 0.01608 3.64% MLMG::mgVcycle_down::0 36 0.01504 0.01504 0.01504 3.40% MLPoisson::Fsmooth() 1440 0.01491 0.01491 0.01491 3.37% FabArray::FillBoundary() 1730 0.01363 0.01363 0.01363 3.08% StateData::FillBoundary(geom) 160 0.01361 0.01361 0.01361 3.08% FillBoundary_nowait() 1730 0.0133 0.0133 0.0133 3.01% Castro::initialize_do_advance() 5 0.01167 0.01167 0.01167 2.64% MLMG::mgVcycle_up::0 36 0.01133 0.01133 0.01133 2.56% Castro::computeTemp() 30 0.01045 0.01045 0.01045 2.36% Castro::normalize_species() 30 0.01035 0.01035 0.01035 2.34% MLPoisson::define() 6 0.009599 0.009599 0.009599 2.17% Castro::do_old_sources() 5 0.009541 0.009541 0.009541 2.16% amrex::Dot() 484 0.009356 0.009356 0.009356 2.12% MLMG:computeResOfCorrection() 180 0.008917 0.008917 0.008917 2.02% MLCellLinOp::correctionResidual() 180 0.008868 0.008868 0.008868 2.01% FabArray::norminf() 465 0.008756 0.008756 0.008756 1.98% Castro::construct_old_gravity() 5 0.008203 0.008203 0.008203 1.86% Gravity::get_old_grav_vector() 5 0.008197 0.008197 0.008197 1.85% Gravity::get_new_grav_vector() 5 0.008193 0.008193 0.008193 1.85% Castro::initialize_advance() 5 0.007688 0.007688 0.007688 1.74% Castro::enforce_min_density() 30 0.007532 0.007532 0.007532 1.70% MLMG::mgVcycle_down::1 36 0.007394 0.007394 0.007394 1.67% MLMG::mgVcycle_down::2 36 0.006777 0.006777 0.006777 1.53% Castro::do_new_sources() 5 0.006739 0.006739 0.006739 1.52% FabArray::ParallelCopy() 380 0.006733 0.006733 0.006733 1.52% MLMG::mgVcycle_down::3 36 0.006631 0.006631 0.006631 1.50% FabArray::setVal() 501 0.006629 0.006629 0.006629 1.50% FabArray::ParallelCopy_nowait() 380 0.006615 0.006615 0.006615 1.50% MLMG::mgVcycle_down::4 36 0.00656 0.00656 0.00656 1.48% MLCellLinOp::defineAuxData() 6 0.006471 0.006471 0.006471 1.46% Castro::post_restart() 1 0.005949 0.005949 0.005949 1.35% Castro::expand_state() 5 0.005923 0.005923 0.005923 1.34% FabArray::Saxpy() 597 0.005919 0.005919 0.005919 1.34% MLCGSolver::ParallelAllReduce 798 0.005635 0.005635 0.005635 1.28% Gravity::fill_multipole_BCs() 6 0.005627 0.005627 0.005627 1.27% Gravity::multilevel_solve_for_new_phi() 1 0.005578 0.005578 0.005578 1.26% Gravity::actual_multilevel_solve() 1 0.005562 0.005562 0.005562 1.26% amrex::Copy() 221 0.005517 0.005517 0.005517 1.25% MLMG::addInterpCorrection() 180 0.005448 0.005448 0.005448 1.23% Castro::post_timestep() 5 0.005419 0.005419 0.005419 1.23% MLMG::mgVcycle_up::1 36 0.00528 0.00528 0.00528 1.19% MLMG::mgVcycle_up::4 36 0.005271 0.005271 0.005271 1.19% MLMG::mgVcycle_up::2 36 0.005156 0.005156 0.005156 1.17% amrex::average_down 180 0.005096 0.005096 0.005096 1.15% MLMG::mgVcycle_up::3 36 0.005084 0.005084 0.005084 1.15% MLPoisson::Fapply() 464 0.004538 0.004538 0.004538 1.03% MLCellLinOp::solutionResidual() 42 0.003687 0.003687 0.003687 0.83% FabArray::Xpay() 325 0.003546 0.003546 0.003546 0.80% Castro::estTimeStep() 10 0.003173 0.003173 0.003173 0.72% MLCellLinOp::defineBC() 6 0.002975 0.002975 0.002975 0.67% MLMG::prepareForSolve() 6 0.002892 0.002892 0.002892 0.65% MLMG::computeResidual() 36 0.002866 0.002866 0.002866 0.65% Castro::reset_internal_energy(MultiFab) 30 0.002835 0.002835 0.002835 0.64% BndryData::define() 6 0.002831 0.002831 0.002831 0.64% Castro::computeNewDt() 5 0.002062 0.002062 0.002062 0.47% Castro::construct_new_source() 25 0.001733 0.001733 0.001733 0.39% Castro::construct_new_gravity_source() 5 0.001657 0.001657 0.001657 0.38% amrex::Add() 36 0.001547 0.001547 0.001547 0.35% Castro::construct_old_source() 25 0.001473 0.001473 0.001473 0.33% Castro::construct_old_gravity_source() 5 0.001445 0.001445 0.001445 0.33% Castro::finalize_do_advance() 5 0.001159 0.001159 0.001159 0.26% MLMG::ResNormInf() 42 0.0009981 0.0009981 0.0009981 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009714 0.0009714 0.0009714 0.22% Castro::apply_source_to_state() 10 0.0009616 0.0009616 0.0009616 0.22% check_for_negative_density() 5 0.0009425 0.0009425 0.0009425 0.21% MLCellLinOp::setLevelBC() 6 0.0008926 0.0008926 0.0008926 0.20% MLMG::getGradSolution() 6 0.0008879 0.0008879 0.0008879 0.20% MLCellLinOp::compGrad() 6 0.0008847 0.0008847 0.0008847 0.20% MLMG::computeMLResidual() 6 0.0008401 0.0008401 0.0008401 0.19% Castro::reset_internal_energy(Fab) 240 0.0008335 0.0008335 0.0008335 0.19% FabArrayBase::getCPC() 632 0.0007943 0.0007943 0.0007943 0.18% MLPoisson::prepareForSolve() 6 0.0007649 0.0007649 0.0007649 0.17% MLCellLinOp::prepareForSolve() 6 0.0007615 0.0007615 0.0007615 0.17% Gravity::update_max_rhs() 6 0.0007278 0.0007278 0.0007278 0.16% FabArray::setDomainBndry() 20 0.0007158 0.0007158 0.0007158 0.16% FabArray::mult() 22 0.0006955 0.0006955 0.0006955 0.16% Castro::check_for_nan() 10 0.0006662 0.0006662 0.0006662 0.15% Other 2190 0.004315 0.004315 0.004315 0.98% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 13 MiB 9037 MiB Castro::initMFs() 48 48 56 MiB 68 MiB Castro::swap_state_time_levels() 32 32 45 MiB 55 MiB StateData::restartDoit() 32 32 51 MiB 55 MiB FillPatchIterator::Initialize 160 160 1029 KiB 39 MiB Castro::initialize_do_advance() 40 40 27 MiB 39 MiB ResizeRandomSeed 1 1 29 MiB 30 MiB Amr::writePlotFile() 8 8 1646 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 6254 KiB 14 MiB MLMG::prepareForSolve() 361 361 3171 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 189 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 187 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6241 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3232 B 2048 KiB Gravity::solve_for_phi() 40 40 586 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 292 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 188 KiB 671 KiB Castro::estTimeStep() 10 10 3354 B 480 KiB VisMF::Write(FabArray) 112 112 1235 B 320 KiB Castro::normalize_species() 30 30 7523 B 320 KiB amrex::average_down 469 469 1344 B 257 KiB MLMG::addInterpCorrection() 468 468 1038 B 257 KiB amrex::Dot() 592 592 3078 B 160 KiB FabArray::norminf() 501 501 3020 B 160 KiB check_for_negative_density() 5 5 337 B 160 KiB MultiFab::max() 6 6 72 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3073 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 250 B 9648 B MLCellLinOp::applyBC() 3820 3820 198 B 9344 B amrex::Copy() 56 56 5708 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 40 B 2496 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 328 B 1248 B MLCGSolver::bicgstab 180 180 84 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1361 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 101 KiB 8192 KiB VisMF::Write(FabArray) 120 120 156 KiB 3584 KiB VisMF::Read() 24 24 219 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3073 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 250 B 9648 B MLCellLinOp::applyBC() 1910 1910 197 B 9328 B amrex::Copy() 56 56 5708 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2453 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 40 B 2496 B MLMG::prepareForSolve() 7 7 772 B 1648 B amrex::average_down 37 37 451 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 501 501 8 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2105 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.05-1-g1735fd5c65d6) finalized