Initializing AMReX (24.05-22-g9cc3de83ca40)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-22-g9cc3de83ca40) initialized Starting run at 07:53:56 UTC on 2024-05-21. Successfully read inputs file ... Castro git describe: 24.05-11-g097ac6684 AMReX git describe: 24.05-22-g9cc3de83c Microphysics git describe: 24.05-9-gd99de4ab 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.045682065 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024994393 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.067669058 [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.052290016 [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.07795664 [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.07469259 [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.063653814 [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.044840049 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.065335649 [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.074445365 [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.074474809 [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.059061522 [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.069429832 [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.074645795 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.024768118 seconds Ending run at 07:53:57 UTC on 2024-05-21. Run time = 0.950421626 Run time without initialization = 0.82401532 Average number of zones advanced per microsecond: 3.181 Average number of zones advanced per microsecond per rank: 3.181 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9505 ... 0.9505 ... 0.9505 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2868 0.2868 0.2868 30.17% VisMF::Write(FabArray) 11 0.1749 0.1749 0.1749 18.40% MLCellLinOp::applyBC() 4351 0.08221 0.08221 0.08221 8.65% Amr::checkPoint() 3 0.03742 0.03742 0.03742 3.94% MLPoisson::Fsmooth() 3280 0.03436 0.03436 0.03436 3.62% FillBoundary_nowait() 3941 0.03116 0.03116 0.03116 3.28% StateData::FillBoundary(geom) 328 0.02702 0.02702 0.02702 2.84% amrex::Dot() 1114 0.02215 0.02215 0.02215 2.33% Castro::normalize_species() 62 0.0219 0.0219 0.0219 2.30% FabArray::norminf() 1061 0.02048 0.02048 0.02048 2.15% Castro::computeTemp() 63 0.01749 0.01749 0.01749 1.84% FabArray::ParallelCopy_nowait() 861 0.01404 0.01404 0.01404 1.48% FabArray::setVal() 1062 0.01382 0.01382 0.01382 1.45% FabArray::Saxpy() 1370 0.01348 0.01348 0.01348 1.42% StateDataPhysBCFunct::() 41 0.01325 0.01325 0.01325 1.39% Castro::enforce_min_density() 62 0.01311 0.01311 0.01311 1.38% amrex::Copy() 472 0.01108 0.01108 0.01108 1.17% MLPoisson::Fapply() 1060 0.0107 0.0107 0.0107 1.13% MLCellLinOp::defineAuxData() 11 0.01067 0.01067 0.01067 1.12% Gravity::fill_multipole_BCs() 11 0.009567 0.009567 0.009567 1.01% FabArray::Xpay() 739 0.008053 0.008053 0.008053 0.85% MLMG::addInterpCorrection() 410 0.007213 0.007213 0.007213 0.76% amrex::average_down 410 0.006348 0.006348 0.006348 0.67% Castro::estTimeStep() 21 0.00634 0.00634 0.00634 0.67% Castro::reset_internal_energy(MultiFab) 63 0.00548 0.00548 0.00548 0.58% BndryData::define() 11 0.004214 0.004214 0.004214 0.44% amrex::Add() 82 0.003639 0.003639 0.003639 0.38% Castro::construct_new_gravity_source() 10 0.003445 0.003445 0.003445 0.36% Castro::construct_old_gravity_source() 10 0.002894 0.002894 0.002894 0.30% Castro::enforce_speed_limit() 62 0.00267 0.00267 0.00267 0.28% Amr::writePlotFile() 2 0.00215 0.00215 0.00215 0.23% check_for_negative_density() 10 0.001927 0.001927 0.001927 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001858 0.001858 0.001858 0.20% Castro::reset_internal_energy(Fab) 504 0.001817 0.001817 0.001817 0.19% MLCellLinOp::setLevelBC() 11 0.001662 0.001662 0.001662 0.17% MLCGSolver::bicgstab 82 0.00161 0.00161 0.00161 0.17% Castro::initData() 1 0.001579 0.001579 0.001579 0.17% Gravity::actual_solve_with_mlmg() 11 0.001554 0.001554 0.001554 0.16% FabArray::setDomainBndry() 41 0.001428 0.001428 0.001428 0.15% FabArray::mult() 43 0.001396 0.001396 0.001396 0.15% MLCellLinOp::prepareForSolve() 11 0.001369 0.001369 0.001369 0.14% MultiFab::contains_nan() 20 0.001295 0.001295 0.001295 0.14% MLCellLinOp::compGrad() 11 0.001072 0.001072 0.001072 0.11% MLCellLinOp::smooth() 1640 0.001071 0.001071 0.001071 0.11% MLMG::prepareForSolve() 11 0.0009592 0.0009592 0.0009592 0.10% FabArray::FillBoundary() 3941 0.000848 0.000848 0.000848 0.09% FabArrayBase::getCPC() 1323 0.0007835 0.0007835 0.0007835 0.08% Gravity::get_new_grav_vector() 11 0.0006088 0.0006088 0.0006088 0.06% Gravity::get_old_grav_vector() 10 0.0004821 0.0004821 0.0004821 0.05% MLCellLinOp::apply() 1060 0.0004333 0.0004333 0.0004333 0.05% AmrLevel::FillPatch() 41 0.000419 0.000419 0.000419 0.04% Amr::coarseTimeStep() 10 0.0003966 0.0003966 0.0003966 0.04% main() 1 0.0003416 0.0003416 0.0003416 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003113 0.0003113 0.0003113 0.03% MLCellLinOp::defineBC() 11 0.0002679 0.0002679 0.0002679 0.03% FabArray::ParallelCopy() 861 0.0002556 0.0002556 0.0002556 0.03% FillPatchIterator::Initialize 41 0.0002173 0.0002173 0.0002173 0.02% MLMG::mgVcycle() 82 0.0002169 0.0002169 0.0002169 0.02% Castro::subcycle_advance_ctu() 10 0.000186 0.000186 0.000186 0.02% Castro::construct_new_source() 50 0.0001724 0.0001724 0.0001724 0.02% MLCellLinOp::correctionResidual() 410 0.0001629 0.0001629 0.0001629 0.02% Amr::timeStep() 10 0.0001488 0.0001488 0.0001488 0.02% Gravity::solve_for_phi() 10 0.0001201 0.0001201 0.0001201 0.01% MLMG:computeResOfCorrection() 410 0.0001136 0.0001136 0.0001136 0.01% StateData::checkPoint() 12 0.0001101 0.0001101 0.0001101 0.01% Castro::post_timestep() 10 8.854e-05 8.854e-05 8.854e-05 0.01% MLMG::actualBottomSolve() 82 8.486e-05 8.486e-05 8.486e-05 0.01% Castro::clean_state() 62 7.834e-05 7.834e-05 7.834e-05 0.01% Castro::initialize_advance() 10 7.79e-05 7.79e-05 7.79e-05 0.01% MLMG::mgVcycle_down::0 82 7.653e-05 7.653e-05 7.653e-05 0.01% Castro::advance() 10 7.358e-05 7.358e-05 7.358e-05 0.01% MLMG::solve() 11 7.186e-05 7.186e-05 7.186e-05 0.01% MLMG::mgVcycle_down::1 82 6.925e-05 6.925e-05 6.925e-05 0.01% MLMG::mgVcycle_down::2 82 6.753e-05 6.753e-05 6.753e-05 0.01% MLMG::mgVcycle_down::4 82 6.456e-05 6.456e-05 6.456e-05 0.01% AmrLevel::checkPoint() 3 6.299e-05 6.299e-05 6.299e-05 0.01% MLMG::mgVcycle_down::3 82 6.241e-05 6.241e-05 6.241e-05 0.01% Castro::initialize_do_advance() 10 6.135e-05 6.135e-05 6.135e-05 0.01% MLMG::oneIter() 82 5.768e-05 5.768e-05 5.768e-05 0.01% MLMG::mgVcycle_up::4 82 5.326e-05 5.326e-05 5.326e-05 0.01% Castro::do_advance_ctu() 10 5.115e-05 5.115e-05 5.115e-05 0.01% MLMG::mgVcycle_up::0 82 4.741e-05 4.741e-05 4.741e-05 0.00% MLMG::mgVcycle_up::3 82 4.692e-05 4.692e-05 4.692e-05 0.00% MLMG::mgVcycle_up::1 82 4.614e-05 4.614e-05 4.614e-05 0.00% FillPatchIterator::FillFromLevel0() 41 4.599e-05 4.599e-05 4.599e-05 0.00% MLMG::mgVcycle_up::2 82 4.559e-05 4.559e-05 4.559e-05 0.00% MLCellLinOp::solutionResidual() 93 4.533e-05 4.533e-05 4.533e-05 0.00% Castro::finalize_do_advance() 10 4.5e-05 4.5e-05 4.5e-05 0.00% MLMG::computeResidual() 82 3.525e-05 3.525e-05 3.525e-05 0.00% FillPatchSingleLevel 41 3.507e-05 3.507e-05 3.507e-05 0.00% Amr::defBaseLevel() 1 3.494e-05 3.494e-05 3.494e-05 0.00% MLMG::mgVcycle_bottom 82 3.223e-05 3.223e-05 3.223e-05 0.00% MLMG::ResNormInf() 93 2.783e-05 2.783e-05 2.783e-05 0.00% Castro::construct_new_gravity() 10 2.783e-05 2.783e-05 2.783e-05 0.00% MLPoisson::define() 11 2.483e-05 2.483e-05 2.483e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 2.351e-05 2.351e-05 2.351e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.237e-05 2.237e-05 2.237e-05 0.00% Castro::do_old_sources() 10 1.954e-05 1.954e-05 1.954e-05 0.00% Castro::construct_old_source() 50 1.899e-05 1.899e-05 1.899e-05 0.00% Amr::FinalizeInit() 1 1.817e-05 1.817e-05 1.817e-05 0.00% Castro::do_new_sources() 10 1.805e-05 1.805e-05 1.805e-05 0.00% Castro::check_for_nan() 20 1.161e-05 1.161e-05 1.161e-05 0.00% Castro::apply_source_to_state() 20 1.141e-05 1.141e-05 1.141e-05 0.00% MLMG::computeMLResidual() 11 1.04e-05 1.04e-05 1.04e-05 0.00% Castro::construct_old_gravity() 10 1.036e-05 1.036e-05 1.036e-05 0.00% Gravity::actual_multilevel_solve() 1 8.311e-06 8.311e-06 8.311e-06 0.00% Castro::computeNewDt() 9 6.864e-06 6.864e-06 6.864e-06 0.00% MLPoisson::prepareForSolve() 11 6.527e-06 6.527e-06 6.527e-06 0.00% Castro::expand_state() 10 6.258e-06 6.258e-06 6.258e-06 0.00% MLMG::getGradSolution() 11 5.737e-06 5.737e-06 5.737e-06 0.00% Amr::InitializeInit() 1 5.549e-06 5.549e-06 5.549e-06 0.00% Castro::post_init() 1 4.428e-06 4.428e-06 4.428e-06 0.00% Amr::init() 1 3.108e-06 3.108e-06 3.108e-06 0.00% Amr::initialInit() 1 1.132e-06 1.132e-06 1.132e-06 0.00% Other 4753 0.003359 0.003359 0.003359 0.35% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9504 0.9504 0.9504 100.00% Amr::coarseTimeStep() 10 0.799 0.799 0.799 84.06% Amr::timeStep() 10 0.6754 0.6754 0.6754 71.06% Castro::advance() 10 0.6632 0.6632 0.6632 69.78% Castro::subcycle_advance_ctu() 10 0.6497 0.6497 0.6497 68.36% Castro::do_advance_ctu() 10 0.6495 0.6495 0.6495 68.34% Gravity::solve_phi_with_mlmg() 11 0.3013 0.3013 0.3013 31.70% Castro::construct_ctu_hydro_source() 10 0.2989 0.2989 0.2989 31.45% Gravity::actual_solve_with_mlmg() 11 0.2913 0.2913 0.2913 30.65% Castro::construct_new_gravity() 10 0.2725 0.2725 0.2725 28.67% MLMG::solve() 11 0.2685 0.2685 0.2685 28.25% Gravity::solve_for_phi() 10 0.256 0.256 0.256 26.93% MLMG::oneIter() 82 0.2528 0.2528 0.2528 26.59% MLMG::mgVcycle() 82 0.2491 0.2491 0.2491 26.21% VisMF::Write(FabArray) 11 0.1749 0.1749 0.1749 18.40% Amr::checkPoint() 3 0.1653 0.1653 0.1653 17.40% AmrLevel::checkPoint() 3 0.1279 0.1279 0.1279 13.46% StateData::checkPoint() 12 0.1278 0.1278 0.1278 13.45% Amr::init() 1 0.1256 0.1256 0.1256 13.22% MLCellLinOp::smooth() 1640 0.1238 0.1238 0.1238 13.03% MLCellLinOp::applyBC() 4351 0.115 0.115 0.115 12.10% MLMG::mgVcycle_bottom 82 0.07498 0.07498 0.07498 7.89% MLMG::actualBottomSolve() 82 0.07494 0.07494 0.07494 7.88% MLCGSolver::bicgstab 82 0.07411 0.07411 0.07411 7.80% Castro::clean_state() 62 0.06146 0.06146 0.06146 6.47% Amr::initialInit() 1 0.05483 0.05483 0.05483 5.77% AmrLevel::FillPatch() 41 0.0504 0.0504 0.0504 5.30% Amr::writePlotFile() 2 0.0499 0.0499 0.0499 5.25% Amr::FinalizeInit() 1 0.04973 0.04973 0.04973 5.23% Castro::post_init() 1 0.04855 0.04855 0.04855 5.11% FillPatchIterator::Initialize 41 0.04607 0.04607 0.04607 4.85% Gravity::multilevel_solve_for_new_phi() 1 0.04582 0.04582 0.04582 4.82% Gravity::actual_multilevel_solve() 1 0.0458 0.0458 0.0458 4.82% FillPatchIterator::FillFromLevel0() 41 0.04443 0.04443 0.04443 4.67% FillPatchSingleLevel 41 0.04438 0.04438 0.04438 4.67% StateDataPhysBCFunct::() 41 0.04027 0.04027 0.04027 4.24% MLCellLinOp::apply() 1060 0.03716 0.03716 0.03716 3.91% MLMG::mgVcycle_down::0 82 0.03527 0.03527 0.03527 3.71% MLPoisson::Fsmooth() 3280 0.03436 0.03436 0.03436 3.62% FabArray::FillBoundary() 3941 0.03276 0.03276 0.03276 3.45% FillBoundary_nowait() 3941 0.03191 0.03191 0.03191 3.36% StateData::FillBoundary(geom) 328 0.02702 0.02702 0.02702 2.84% MLMG::mgVcycle_up::0 82 0.02669 0.02669 0.02669 2.81% Castro::computeTemp() 63 0.02478 0.02478 0.02478 2.61% Castro::initialize_do_advance() 10 0.0227 0.0227 0.0227 2.39% amrex::Dot() 1114 0.02215 0.02215 0.02215 2.33% Castro::normalize_species() 62 0.0219 0.0219 0.0219 2.30% Castro::do_old_sources() 10 0.02088 0.02088 0.02088 2.20% MLMG:computeResOfCorrection() 410 0.02086 0.02086 0.02086 2.20% MLCellLinOp::correctionResidual() 410 0.02075 0.02075 0.02075 2.18% FabArray::norminf() 1061 0.02048 0.02048 0.02048 2.15% Gravity::get_new_grav_vector() 11 0.01877 0.01877 0.01877 1.97% MLPoisson::define() 11 0.01793 0.01793 0.01793 1.89% MLMG::mgVcycle_down::1 82 0.01701 0.01701 0.01701 1.79% MLMG::mgVcycle_down::2 82 0.01583 0.01583 0.01583 1.67% Castro::construct_old_gravity() 10 0.01565 0.01565 0.01565 1.65% Gravity::get_old_grav_vector() 10 0.01564 0.01564 0.01564 1.65% MLMG::mgVcycle_down::3 82 0.01542 0.01542 0.01542 1.62% Castro::do_new_sources() 10 0.01539 0.01539 0.01539 1.62% MLMG::mgVcycle_down::4 82 0.01532 0.01532 0.01532 1.61% FabArray::ParallelCopy() 861 0.01509 0.01509 0.01509 1.59% FabArray::ParallelCopy_nowait() 861 0.01484 0.01484 0.01484 1.56% FabArray::setVal() 1062 0.01382 0.01382 0.01382 1.45% FabArray::Saxpy() 1370 0.01348 0.01348 0.01348 1.42% MLCGSolver::ParallelAllReduce 1832 0.01324 0.01324 0.01324 1.39% Castro::enforce_min_density() 62 0.01311 0.01311 0.01311 1.38% Castro::initialize_advance() 10 0.01283 0.01283 0.01283 1.35% MLMG::addInterpCorrection() 410 0.0127 0.0127 0.0127 1.34% Castro::expand_state() 10 0.01263 0.01263 0.01263 1.33% MLMG::mgVcycle_up::1 82 0.01229 0.01229 0.01229 1.29% MLMG::mgVcycle_up::4 82 0.01225 0.01225 0.01225 1.29% MLCellLinOp::defineAuxData() 11 0.01211 0.01211 0.01211 1.27% Castro::post_timestep() 10 0.01207 0.01207 0.01207 1.27% MLMG::mgVcycle_up::2 82 0.01202 0.01202 0.01202 1.26% amrex::average_down 410 0.01188 0.01188 0.01188 1.25% MLMG::mgVcycle_up::3 82 0.01179 0.01179 0.01179 1.24% amrex::Copy() 472 0.01108 0.01108 0.01108 1.17% MLPoisson::Fapply() 1060 0.0107 0.0107 0.0107 1.13% Gravity::fill_multipole_BCs() 11 0.009807 0.009807 0.009807 1.03% FabArray::Xpay() 739 0.008053 0.008053 0.008053 0.85% MLCellLinOp::solutionResidual() 93 0.007927 0.007927 0.007927 0.83% Castro::reset_internal_energy(MultiFab) 63 0.007297 0.007297 0.007297 0.77% MLMG::computeResidual() 82 0.006638 0.006638 0.006638 0.70% Castro::estTimeStep() 21 0.00634 0.00634 0.00634 0.67% MLCellLinOp::defineBC() 11 0.005538 0.005538 0.005538 0.58% MLMG::prepareForSolve() 11 0.005295 0.005295 0.005295 0.56% BndryData::define() 11 0.005271 0.005271 0.005271 0.55% Amr::InitializeInit() 1 0.005093 0.005093 0.005093 0.54% Amr::defBaseLevel() 1 0.005087 0.005087 0.005087 0.54% Castro::initData() 1 0.004373 0.004373 0.004373 0.46% amrex::Add() 82 0.003639 0.003639 0.003639 0.38% Castro::construct_new_source() 50 0.003618 0.003618 0.003618 0.38% Castro::construct_new_gravity_source() 10 0.003445 0.003445 0.003445 0.36% Castro::computeNewDt() 9 0.002919 0.002919 0.002919 0.31% Castro::construct_old_source() 50 0.002913 0.002913 0.002913 0.31% Castro::construct_old_gravity_source() 10 0.002894 0.002894 0.002894 0.30% Castro::enforce_speed_limit() 62 0.00267 0.00267 0.00267 0.28% Castro::finalize_do_advance() 10 0.002525 0.002525 0.002525 0.27% MLMG::ResNormInf() 93 0.002193 0.002193 0.002193 0.23% check_for_negative_density() 10 0.001927 0.001927 0.001927 0.20% Castro::apply_source_to_state() 20 0.00188 0.00188 0.00188 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001858 0.001858 0.001858 0.20% Castro::reset_internal_energy(Fab) 504 0.001817 0.001817 0.001817 0.19% MLCellLinOp::setLevelBC() 11 0.001662 0.001662 0.001662 0.17% MLMG::getGradSolution() 11 0.001604 0.001604 0.001604 0.17% MLCellLinOp::compGrad() 11 0.001599 0.001599 0.001599 0.17% FabArrayBase::getCPC() 1323 0.001449 0.001449 0.001449 0.15% FabArray::setDomainBndry() 41 0.001428 0.001428 0.001428 0.15% FabArray::mult() 43 0.001396 0.001396 0.001396 0.15% MLPoisson::prepareForSolve() 11 0.001376 0.001376 0.001376 0.14% MLCellLinOp::prepareForSolve() 11 0.001369 0.001369 0.001369 0.14% MLMG::computeMLResidual() 11 0.001335 0.001335 0.001335 0.14% Castro::check_for_nan() 20 0.001307 0.001307 0.001307 0.14% MultiFab::contains_nan() 20 0.001295 0.001295 0.001295 0.14% Other 4753 0.008933 0.008933 0.008933 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 5697 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 1040 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1464 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 3475 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 205 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 168 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7522 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2040 B 2048 KiB Gravity::solve_for_phi() 80 80 551 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 98 KiB 2048 KiB BndryData::define() 1056 1056 318 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 202 KiB 671 KiB Castro::estTimeStep() 21 21 3254 B 480 KiB VisMF::Write(FabArray) 656 656 3292 B 320 KiB Castro::normalize_species() 62 62 7505 B 320 KiB amrex::average_down 1067 1067 1590 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1147 B 257 KiB amrex::Dot() 1360 1360 3446 B 160 KiB FabArray::norminf() 1143 1143 3334 B 160 KiB check_for_negative_density() 10 10 319 B 160 KiB Castro::initData() 1 1 50 B 160 KiB MultiFab::max() 11 11 55 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3392 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 285 B 9648 B MLCellLinOp::applyBC() 8702 8702 215 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3913 B 6144 B StateData::FillBoundary(geom) 1992 1992 48 B 3968 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 358 B 1248 B MLCGSolver::bicgstab 410 410 94 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 503 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 399 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3392 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 285 B 9648 B MLCellLinOp::applyBC() 4351 4351 214 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3913 B 6144 B StateData::FillBoundary(geom) 1992 1992 48 B 3968 B Gravity::get_new_grav_vector() 3 3 2897 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 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 289 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-22-g9cc3de83ca40) finalized Initializing AMReX (24.05-22-g9cc3de83ca40)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-22-g9cc3de83ca40) initialized Starting run at 07:53:58 UTC on 2024-05-21. Successfully read inputs file ... Castro git describe: 24.05-11-g097ac6684 AMReX git describe: 24.05-22-g9cc3de83c Microphysics git describe: 24.05-9-gd99de4ab reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.507524538 Restart time = 0.073114153 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.072867228 [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.053204877 [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.077290402 [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.072962569 [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.070244349 [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.036673995 seconds Ending run at 07:53:58 UTC on 2024-05-21. Run time = 0.4576161 Run time without initialization = 0.383801936 Average number of zones advanced per microsecond: 3.415 Average number of zones advanced per microsecond per rank: 3.415 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4577 ... 0.4577 ... 0.4577 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1494 0.1494 0.1494 32.64% VisMF::Read() 3 0.06148 0.06148 0.06148 13.43% MLCellLinOp::applyBC() 1910 0.0362 0.0362 0.0362 7.91% VisMF::Write(FabArray) 1 0.03387 0.03387 0.03387 7.40% MLPoisson::Fsmooth() 1440 0.0151 0.0151 0.0151 3.30% StateData::FillBoundary(geom) 160 0.01334 0.01334 0.01334 2.92% FillBoundary_nowait() 1730 0.01305 0.01305 0.01305 2.85% Castro::normalize_species() 30 0.01092 0.01092 0.01092 2.39% amrex::Dot() 484 0.009367 0.009367 0.009367 2.05% FabArray::norminf() 465 0.008829 0.008829 0.008829 1.93% Castro::computeTemp() 30 0.007596 0.007596 0.007596 1.66% FabArray::setVal() 501 0.006727 0.006727 0.006727 1.47% FabArray::ParallelCopy_nowait() 380 0.006292 0.006292 0.006292 1.37% FabArray::Saxpy() 597 0.005985 0.005985 0.005985 1.31% Castro::enforce_min_density() 30 0.005739 0.005739 0.005739 1.25% MLCellLinOp::defineAuxData() 6 0.005686 0.005686 0.005686 1.24% amrex::Copy() 221 0.005512 0.005512 0.005512 1.20% Gravity::fill_multipole_BCs() 6 0.005453 0.005453 0.005453 1.19% Amr::restart() 1 0.005029 0.005029 0.005029 1.10% StateDataPhysBCFunct::() 20 0.004898 0.004898 0.004898 1.07% MLPoisson::Fapply() 464 0.004616 0.004616 0.004616 1.01% FabArray::Xpay() 325 0.003557 0.003557 0.003557 0.78% MLMG::addInterpCorrection() 180 0.003143 0.003143 0.003143 0.69% Castro::estTimeStep() 10 0.003135 0.003135 0.003135 0.69% amrex::average_down 180 0.00278 0.00278 0.00278 0.61% Amr::writePlotFile() 1 0.002653 0.002653 0.002653 0.58% BndryData::define() 6 0.00225 0.00225 0.00225 0.49% Castro::reset_internal_energy(MultiFab) 30 0.002022 0.002022 0.002022 0.44% Castro::construct_new_gravity_source() 5 0.001899 0.001899 0.001899 0.41% amrex::Add() 36 0.001549 0.001549 0.001549 0.34% Castro::enforce_speed_limit() 30 0.001542 0.001542 0.001542 0.34% Castro::construct_old_gravity_source() 5 0.001523 0.001523 0.001523 0.33% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001003 0.001003 0.001003 0.22% check_for_negative_density() 5 0.0009449 0.0009449 0.0009449 0.21% MLCellLinOp::setLevelBC() 6 0.0009366 0.0009366 0.0009366 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008451 0.0008451 0.0008451 0.18% Castro::reset_internal_energy(Fab) 240 0.0008236 0.0008236 0.0008236 0.18% MLCellLinOp::prepareForSolve() 6 0.0007751 0.0007751 0.0007751 0.17% MLCGSolver::bicgstab 36 0.0007369 0.0007369 0.0007369 0.16% FabArray::setDomainBndry() 20 0.0007138 0.0007138 0.0007138 0.16% FabArray::mult() 22 0.0006963 0.0006963 0.0006963 0.15% MLCellLinOp::compGrad() 6 0.0006112 0.0006112 0.0006112 0.13% MLMG::prepareForSolve() 6 0.0005594 0.0005594 0.0005594 0.12% MLCellLinOp::smooth() 720 0.0005417 0.0005417 0.0005417 0.12% FabArrayBase::getCPC() 632 0.0003896 0.0003896 0.0003896 0.09% main() 1 0.0003802 0.0003802 0.0003802 0.08% FabArray::FillBoundary() 1730 0.0003682 0.0003682 0.0003682 0.08% Gravity::get_old_grav_vector() 5 0.0003161 0.0003161 0.0003161 0.07% Gravity::get_new_grav_vector() 5 0.0002855 0.0002855 0.0002855 0.06% AmrLevel::FillPatch() 20 0.0002037 0.0002037 0.0002037 0.04% MLCellLinOp::apply() 464 0.0002028 0.0002028 0.0002028 0.04% Amr::coarseTimeStep() 5 0.0001863 0.0001863 0.0001863 0.04% MLCGSolver::ParallelAllReduce 798 0.000152 0.000152 0.000152 0.03% MLCellLinOp::defineBC() 6 0.0001479 0.0001479 0.0001479 0.03% FabArray::ParallelCopy() 380 0.0001256 0.0001256 0.0001256 0.03% FillPatchIterator::Initialize 20 0.0001091 0.0001091 0.0001091 0.02% Castro::construct_new_source() 25 9.886e-05 9.886e-05 9.886e-05 0.02% MLMG::mgVcycle() 36 9.809e-05 9.809e-05 9.809e-05 0.02% Castro::subcycle_advance_ctu() 5 9.602e-05 9.602e-05 9.602e-05 0.02% Amr::timeStep() 5 8.642e-05 8.642e-05 8.642e-05 0.02% MLCellLinOp::correctionResidual() 180 7.487e-05 7.487e-05 7.487e-05 0.02% AmrLevel::restart() 1 7.473e-05 7.473e-05 7.473e-05 0.02% Castro::initialize_do_advance() 5 6.949e-05 6.949e-05 6.949e-05 0.02% StateData::restartDoit() 4 6.893e-05 6.893e-05 6.893e-05 0.02% Castro::do_advance_ctu() 5 6.757e-05 6.757e-05 6.757e-05 0.01% Gravity::update_max_rhs() 6 6.405e-05 6.405e-05 6.405e-05 0.01% Castro::finalize_do_advance() 5 6.376e-05 6.376e-05 6.376e-05 0.01% Castro::advance() 5 6.145e-05 6.145e-05 6.145e-05 0.01% Castro::do_new_sources() 5 5.705e-05 5.705e-05 5.705e-05 0.01% MLMG:computeResOfCorrection() 180 5.074e-05 5.074e-05 5.074e-05 0.01% Gravity::solve_for_phi() 5 5.057e-05 5.057e-05 5.057e-05 0.01% MLMG::mgVcycle_down::0 36 3.809e-05 3.809e-05 3.809e-05 0.01% MLMG::solve() 6 3.751e-05 3.751e-05 3.751e-05 0.01% Castro::initialize_advance() 5 3.714e-05 3.714e-05 3.714e-05 0.01% Castro::post_timestep() 5 3.677e-05 3.677e-05 3.677e-05 0.01% MLMG::actualBottomSolve() 36 3.606e-05 3.606e-05 3.606e-05 0.01% Castro::clean_state() 30 3.56e-05 3.56e-05 3.56e-05 0.01% MLMG::mgVcycle_down::1 36 3.495e-05 3.495e-05 3.495e-05 0.01% MLMG::mgVcycle_down::2 36 3.214e-05 3.214e-05 3.214e-05 0.01% MLMG::mgVcycle_down::4 36 3.119e-05 3.119e-05 3.119e-05 0.01% MLMG::mgVcycle_down::3 36 2.998e-05 2.998e-05 2.998e-05 0.01% Castro::construct_old_source() 25 2.826e-05 2.826e-05 2.826e-05 0.01% MLMG::oneIter() 36 2.731e-05 2.731e-05 2.731e-05 0.01% MLMG::mgVcycle_up::4 36 2.713e-05 2.713e-05 2.713e-05 0.01% Gravity::multilevel_solve_for_new_phi() 1 2.501e-05 2.501e-05 2.501e-05 0.01% MLMG::mgVcycle_up::3 36 2.38e-05 2.38e-05 2.38e-05 0.01% MLMG::mgVcycle_up::0 36 2.316e-05 2.316e-05 2.316e-05 0.01% Castro::post_restart() 1 2.203e-05 2.203e-05 2.203e-05 0.00% MLMG::mgVcycle_up::2 36 2.197e-05 2.197e-05 2.197e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.174e-05 2.174e-05 2.174e-05 0.00% MLCellLinOp::solutionResidual() 42 2.111e-05 2.111e-05 2.111e-05 0.00% MLMG::mgVcycle_up::1 36 2.097e-05 2.097e-05 2.097e-05 0.00% MLPoisson::define() 6 1.761e-05 1.761e-05 1.761e-05 0.00% FillPatchSingleLevel 20 1.601e-05 1.601e-05 1.601e-05 0.00% MLMG::ResNormInf() 42 1.6e-05 1.6e-05 1.6e-05 0.00% MLMG::mgVcycle_bottom 36 1.562e-05 1.562e-05 1.562e-05 0.00% MLMG::computeResidual() 36 1.416e-05 1.416e-05 1.416e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.398e-05 1.398e-05 1.398e-05 0.00% Castro::construct_new_gravity() 5 1.204e-05 1.204e-05 1.204e-05 0.00% Castro::do_old_sources() 5 1.081e-05 1.081e-05 1.081e-05 0.00% Castro::expand_state() 5 9.789e-06 9.789e-06 9.789e-06 0.00% Gravity::actual_multilevel_solve() 1 8.374e-06 8.374e-06 8.374e-06 0.00% MLMG::getGradSolution() 6 8.068e-06 8.068e-06 8.068e-06 0.00% Castro::apply_source_to_state() 10 6.59e-06 6.59e-06 6.59e-06 0.00% Castro::construct_old_gravity() 5 5.681e-06 5.681e-06 5.681e-06 0.00% MLMG::computeMLResidual() 6 4.157e-06 4.157e-06 4.157e-06 0.00% MLPoisson::prepareForSolve() 6 3.53e-06 3.53e-06 3.53e-06 0.00% Castro::computeNewDt() 5 3.501e-06 3.501e-06 3.501e-06 0.00% Amr::init() 1 8.7e-07 8.7e-07 8.7e-07 0.00% Other 2170 0.002613 0.002613 0.002613 0.57% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4576 0.4576 0.4576 99.99% Amr::coarseTimeStep() 5 0.3467 0.3467 0.3467 75.76% Amr::timeStep() 5 0.3447 0.3447 0.3447 75.31% Castro::advance() 5 0.3389 0.3389 0.3389 74.04% Castro::subcycle_advance_ctu() 5 0.3313 0.3313 0.3313 72.38% Castro::do_advance_ctu() 5 0.3312 0.3312 0.3312 72.36% Castro::construct_ctu_hydro_source() 5 0.1549 0.1549 0.1549 33.84% Castro::construct_new_gravity() 5 0.1382 0.1382 0.1382 30.19% Gravity::solve_phi_with_mlmg() 6 0.1354 0.1354 0.1354 29.58% Gravity::solve_for_phi() 5 0.1299 0.1299 0.1299 28.38% Gravity::actual_solve_with_mlmg() 6 0.1297 0.1297 0.1297 28.33% MLMG::solve() 6 0.1173 0.1173 0.1173 25.64% MLMG::oneIter() 36 0.1094 0.1094 0.1094 23.91% MLMG::mgVcycle() 36 0.1079 0.1079 0.1079 23.57% Amr::init() 1 0.07316 0.07316 0.07316 15.99% Amr::restart() 1 0.07316 0.07316 0.07316 15.99% AmrLevel::restart() 1 0.06185 0.06185 0.06185 13.51% StateData::restartDoit() 4 0.06177 0.06177 0.06177 13.50% VisMF::Read() 3 0.06148 0.06148 0.06148 13.43% MLCellLinOp::smooth() 720 0.05376 0.05376 0.05376 11.75% MLCellLinOp::applyBC() 1910 0.04999 0.04999 0.04999 10.92% Amr::writePlotFile() 1 0.03679 0.03679 0.03679 8.04% VisMF::Write(FabArray) 1 0.03387 0.03387 0.03387 7.40% MLMG::mgVcycle_bottom 36 0.03224 0.03224 0.03224 7.05% MLMG::actualBottomSolve() 36 0.03223 0.03223 0.03223 7.04% MLCGSolver::bicgstab 36 0.03186 0.03186 0.03186 6.96% Castro::clean_state() 30 0.02867 0.02867 0.02867 6.27% AmrLevel::FillPatch() 20 0.02327 0.02327 0.02327 5.09% FillPatchIterator::Initialize 20 0.02115 0.02115 0.02115 4.62% FillPatchIterator::FillFromLevel0() 20 0.02033 0.02033 0.02033 4.44% FillPatchSingleLevel 20 0.02031 0.02031 0.02031 4.44% StateDataPhysBCFunct::() 20 0.01824 0.01824 0.01824 3.99% MLCellLinOp::apply() 464 0.0164 0.0164 0.0164 3.58% MLMG::mgVcycle_down::0 36 0.01523 0.01523 0.01523 3.33% MLPoisson::Fsmooth() 1440 0.0151 0.0151 0.0151 3.30% FabArray::FillBoundary() 1730 0.01379 0.01379 0.01379 3.01% FillBoundary_nowait() 1730 0.01342 0.01342 0.01342 2.93% StateData::FillBoundary(geom) 160 0.01334 0.01334 0.01334 2.92% MLMG::mgVcycle_up::0 36 0.01134 0.01134 0.01134 2.48% Castro::initialize_do_advance() 5 0.01099 0.01099 0.01099 2.40% Castro::normalize_species() 30 0.01092 0.01092 0.01092 2.39% Castro::computeTemp() 30 0.01044 0.01044 0.01044 2.28% Castro::do_old_sources() 5 0.009654 0.009654 0.009654 2.11% MLPoisson::define() 6 0.009648 0.009648 0.009648 2.11% amrex::Dot() 484 0.009367 0.009367 0.009367 2.05% MLMG:computeResOfCorrection() 180 0.009056 0.009056 0.009056 1.98% MLCellLinOp::correctionResidual() 180 0.009005 0.009005 0.009005 1.97% FabArray::norminf() 465 0.008829 0.008829 0.008829 1.93% Gravity::get_new_grav_vector() 5 0.008137 0.008137 0.008137 1.78% Castro::construct_old_gravity() 5 0.007908 0.007908 0.007908 1.73% Gravity::get_old_grav_vector() 5 0.007903 0.007903 0.007903 1.73% Castro::do_new_sources() 5 0.007742 0.007742 0.007742 1.69% MLMG::mgVcycle_down::1 36 0.007517 0.007517 0.007517 1.64% Castro::initialize_advance() 5 0.007199 0.007199 0.007199 1.57% MLMG::mgVcycle_down::2 36 0.006904 0.006904 0.006904 1.51% FabArray::ParallelCopy() 380 0.006816 0.006816 0.006816 1.49% FabArray::setVal() 501 0.006727 0.006727 0.006727 1.47% MLMG::mgVcycle_down::3 36 0.006727 0.006727 0.006727 1.47% FabArray::ParallelCopy_nowait() 380 0.006691 0.006691 0.006691 1.46% MLMG::mgVcycle_down::4 36 0.006674 0.006674 0.006674 1.46% MLCellLinOp::defineAuxData() 6 0.006503 0.006503 0.006503 1.42% Castro::post_restart() 1 0.00609 0.00609 0.00609 1.33% FabArray::Saxpy() 597 0.005985 0.005985 0.005985 1.31% Castro::expand_state() 5 0.005822 0.005822 0.005822 1.27% Castro::enforce_min_density() 30 0.005739 0.005739 0.005739 1.25% Castro::post_timestep() 5 0.005716 0.005716 0.005716 1.25% Gravity::multilevel_solve_for_new_phi() 1 0.005716 0.005716 0.005716 1.25% Gravity::actual_multilevel_solve() 1 0.005691 0.005691 0.005691 1.24% MLCGSolver::ParallelAllReduce 798 0.005664 0.005664 0.005664 1.24% Gravity::fill_multipole_BCs() 6 0.005579 0.005579 0.005579 1.22% amrex::Copy() 221 0.005512 0.005512 0.005512 1.20% MLMG::addInterpCorrection() 180 0.005507 0.005507 0.005507 1.20% MLMG::mgVcycle_up::4 36 0.005394 0.005394 0.005394 1.18% MLMG::mgVcycle_up::1 36 0.00534 0.00534 0.00534 1.17% MLMG::mgVcycle_up::2 36 0.005246 0.005246 0.005246 1.15% amrex::average_down 180 0.00518 0.00518 0.00518 1.13% MLMG::mgVcycle_up::3 36 0.00516 0.00516 0.00516 1.13% MLPoisson::Fapply() 464 0.004616 0.004616 0.004616 1.01% MLCellLinOp::solutionResidual() 42 0.003758 0.003758 0.003758 0.82% FabArray::Xpay() 325 0.003557 0.003557 0.003557 0.78% Castro::estTimeStep() 10 0.003135 0.003135 0.003135 0.69% MLCellLinOp::defineBC() 6 0.002992 0.002992 0.002992 0.65% MLMG::prepareForSolve() 6 0.002939 0.002939 0.002939 0.64% MLMG::computeResidual() 36 0.002919 0.002919 0.002919 0.64% Castro::reset_internal_energy(MultiFab) 30 0.002846 0.002846 0.002846 0.62% BndryData::define() 6 0.002844 0.002844 0.002844 0.62% Castro::construct_new_source() 25 0.001998 0.001998 0.001998 0.44% Castro::computeNewDt() 5 0.001904 0.001904 0.001904 0.42% Castro::construct_new_gravity_source() 5 0.001899 0.001899 0.001899 0.41% Castro::construct_old_source() 25 0.001551 0.001551 0.001551 0.34% amrex::Add() 36 0.001549 0.001549 0.001549 0.34% Castro::enforce_speed_limit() 30 0.001542 0.001542 0.001542 0.34% Castro::construct_old_gravity_source() 5 0.001523 0.001523 0.001523 0.33% Castro::finalize_do_advance() 5 0.001299 0.001299 0.001299 0.28% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001003 0.001003 0.001003 0.22% MLMG::ResNormInf() 42 0.001 0.001 0.001 0.22% Castro::apply_source_to_state() 10 0.00097 0.00097 0.00097 0.21% check_for_negative_density() 5 0.0009449 0.0009449 0.0009449 0.21% MLCellLinOp::setLevelBC() 6 0.0009366 0.0009366 0.0009366 0.20% MLMG::getGradSolution() 6 0.000915 0.000915 0.000915 0.20% MLCellLinOp::compGrad() 6 0.0009069 0.0009069 0.0009069 0.20% MLMG::computeMLResidual() 6 0.000857 0.000857 0.000857 0.19% Castro::reset_internal_energy(Fab) 240 0.0008236 0.0008236 0.0008236 0.18% FabArrayBase::getCPC() 632 0.0008072 0.0008072 0.0008072 0.18% MLPoisson::prepareForSolve() 6 0.0007786 0.0007786 0.0007786 0.17% MLCellLinOp::prepareForSolve() 6 0.0007751 0.0007751 0.0007751 0.17% Gravity::update_max_rhs() 6 0.0007265 0.0007265 0.0007265 0.16% FabArray::setDomainBndry() 20 0.0007138 0.0007138 0.0007138 0.16% FabArray::mult() 22 0.0006963 0.0006963 0.0006963 0.15% Other 2170 0.004505 0.004505 0.004505 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 11 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 995 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2172 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 6457 KiB 14 MiB MLMG::prepareForSolve() 361 361 3147 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 179 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 182 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6444 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 19 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3161 B 2048 KiB Gravity::solve_for_phi() 40 40 580 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 290 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 186 KiB 671 KiB Castro::estTimeStep() 10 10 3238 B 480 KiB VisMF::Write(FabArray) 112 112 2349 B 320 KiB Castro::normalize_species() 30 30 7769 B 320 KiB amrex::average_down 469 469 1353 B 257 KiB MLMG::addInterpCorrection() 468 468 1023 B 257 KiB amrex::Dot() 592 592 3016 B 160 KiB FabArray::norminf() 501 501 2976 B 160 KiB check_for_negative_density() 5 5 331 B 160 KiB MultiFab::max() 6 6 70 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 28 B 20 KiB MLPoisson::Fsmooth() 60 60 3048 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 246 B 9648 B MLCellLinOp::applyBC() 3820 3820 197 B 9344 B amrex::Copy() 56 56 5861 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 35 B 2656 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 326 B 1248 B MLCGSolver::bicgstab 180 180 83 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1148 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 80 KiB 8192 KiB VisMF::Write(FabArray) 120 120 207 KiB 3584 KiB VisMF::Read() 24 24 203 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3048 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 245 B 9648 B MLCellLinOp::applyBC() 1910 1910 196 B 9328 B amrex::Copy() 56 56 5861 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2536 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 36 B 2656 B MLMG::prepareForSolve() 7 7 787 B 1648 B amrex::average_down 37 37 463 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-22-g9cc3de83ca40) finalized