Initializing AMReX (24.05-32-g28b010126a1b)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-32-g28b010126a1b) initialized Starting run at 07:54:03 UTC on 2024-05-29. Successfully read inputs file ... Castro git describe: 24.05-15-g7893b5c6d AMReX git describe: 24.05-32-g28b010126 Microphysics git describe: 24.05-22-g7b1458be 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.04569027 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.02538496 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.069751777 [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.074992248 [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.076627045 [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.073819877 [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.066192861 [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.045198113 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.072654419 [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.076136229 [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.062228522 [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.059643815 [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.071610378 [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.043128889 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.024555349 seconds Ending run at 07:54:04 UTC on 2024-05-29. Run time = 0.943677938 Run time without initialization = 0.817168521 Average number of zones advanced per microsecond: 3.208 Average number of zones advanced per microsecond per rank: 3.208 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9437 ... 0.9437 ... 0.9437 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.3137 0.3137 0.3137 33.24% VisMF::Write(FabArray) 11 0.1754 0.1754 0.1754 18.59% MLCellLinOp::applyBC() 4351 0.08102 0.08102 0.08102 8.59% FillBoundary_nowait() 3941 0.03735 0.03735 0.03735 3.96% MLPoisson::Fsmooth() 3280 0.03386 0.03386 0.03386 3.59% StateData::FillBoundary(geom) 328 0.02692 0.02692 0.02692 2.85% amrex::Dot() 1114 0.02177 0.02177 0.02177 2.31% Castro::normalize_species() 62 0.0204 0.0204 0.0204 2.16% FabArray::norminf() 1061 0.02034 0.02034 0.02034 2.16% Castro::computeTemp() 63 0.01695 0.01695 0.01695 1.80% FabArray::ParallelCopy_nowait() 861 0.01387 0.01387 0.01387 1.47% FabArray::setVal() 1062 0.01363 0.01363 0.01363 1.44% FabArray::Saxpy() 1370 0.01329 0.01329 0.01329 1.41% Castro::enforce_min_density() 62 0.01268 0.01268 0.01268 1.34% amrex::Copy() 472 0.01101 0.01101 0.01101 1.17% MLPoisson::Fapply() 1060 0.01046 0.01046 0.01046 1.11% StateDataPhysBCFunct::() 41 0.01038 0.01038 0.01038 1.10% MLCellLinOp::defineAuxData() 11 0.01031 0.01031 0.01031 1.09% Gravity::fill_multipole_BCs() 11 0.009367 0.009367 0.009367 0.99% FabArray::Xpay() 739 0.007939 0.007939 0.007939 0.84% MLMG::addInterpCorrection() 410 0.00706 0.00706 0.00706 0.75% Castro::estTimeStep() 21 0.006437 0.006437 0.006437 0.68% amrex::average_down 410 0.006232 0.006232 0.006232 0.66% Amr::checkPoint() 3 0.006 0.006 0.006 0.64% Castro::reset_internal_energy(MultiFab) 63 0.004956 0.004956 0.004956 0.53% Castro::enforce_speed_limit() 62 0.004148 0.004148 0.004148 0.44% BndryData::define() 11 0.004043 0.004043 0.004043 0.43% Castro::construct_new_gravity_source() 10 0.003653 0.003653 0.003653 0.39% amrex::Add() 82 0.0036 0.0036 0.0036 0.38% Castro::construct_old_gravity_source() 10 0.002957 0.002957 0.002957 0.31% Amr::writePlotFile() 2 0.002118 0.002118 0.002118 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001801 0.001801 0.001801 0.19% check_for_negative_density() 10 0.001797 0.001797 0.001797 0.19% Castro::reset_internal_energy(Fab) 504 0.001786 0.001786 0.001786 0.19% MLCellLinOp::setLevelBC() 11 0.001607 0.001607 0.001607 0.17% MLCGSolver::bicgstab 82 0.0016 0.0016 0.0016 0.17% Gravity::actual_solve_with_mlmg() 11 0.001544 0.001544 0.001544 0.16% Castro::initData() 1 0.001523 0.001523 0.001523 0.16% FabArray::setDomainBndry() 41 0.001391 0.001391 0.001391 0.15% FabArray::mult() 43 0.001383 0.001383 0.001383 0.15% MLCellLinOp::prepareForSolve() 11 0.001319 0.001319 0.001319 0.14% MultiFab::contains_nan() 20 0.00129 0.00129 0.00129 0.14% MLCellLinOp::smooth() 1640 0.001195 0.001195 0.001195 0.13% MLCellLinOp::compGrad() 11 0.001096 0.001096 0.001096 0.12% MLMG::prepareForSolve() 11 0.0009433 0.0009433 0.0009433 0.10% FabArray::FillBoundary() 3941 0.0007993 0.0007993 0.0007993 0.08% FabArrayBase::getCPC() 1323 0.0007945 0.0007945 0.0007945 0.08% Gravity::get_new_grav_vector() 11 0.0006053 0.0006053 0.0006053 0.06% Gravity::get_old_grav_vector() 10 0.0004771 0.0004771 0.0004771 0.05% MLCellLinOp::apply() 1060 0.000428 0.000428 0.000428 0.05% AmrLevel::FillPatch() 41 0.0004071 0.0004071 0.0004071 0.04% Amr::coarseTimeStep() 10 0.0003346 0.0003346 0.0003346 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003123 0.0003123 0.0003123 0.03% main() 1 0.0002995 0.0002995 0.0002995 0.03% MLCellLinOp::defineBC() 11 0.0002629 0.0002629 0.0002629 0.03% FabArray::ParallelCopy() 861 0.0002543 0.0002543 0.0002543 0.03% FillPatchIterator::Initialize 41 0.0002216 0.0002216 0.0002216 0.02% MLMG::mgVcycle() 82 0.0001967 0.0001967 0.0001967 0.02% Castro::subcycle_advance_ctu() 10 0.000181 0.000181 0.000181 0.02% MLCellLinOp::correctionResidual() 410 0.0001664 0.0001664 0.0001664 0.02% Amr::timeStep() 10 0.0001542 0.0001542 0.0001542 0.02% MLMG:computeResOfCorrection() 410 0.0001242 0.0001242 0.0001242 0.01% Gravity::solve_for_phi() 10 0.0001101 0.0001101 0.0001101 0.01% Castro::construct_new_source() 50 0.0001086 0.0001086 0.0001086 0.01% StateData::checkPoint() 12 0.0001086 0.0001086 0.0001086 0.01% Castro::post_timestep() 10 9.107e-05 9.107e-05 9.107e-05 0.01% MLMG::actualBottomSolve() 82 8.312e-05 8.312e-05 8.312e-05 0.01% Castro::initialize_advance() 10 7.748e-05 7.748e-05 7.748e-05 0.01% MLMG::mgVcycle_down::0 82 7.533e-05 7.533e-05 7.533e-05 0.01% MLMG::solve() 11 7.378e-05 7.378e-05 7.378e-05 0.01% Castro::clean_state() 62 7.081e-05 7.081e-05 7.081e-05 0.01% MLMG::mgVcycle_down::2 82 6.925e-05 6.925e-05 6.925e-05 0.01% MLMG::mgVcycle_down::1 82 6.746e-05 6.746e-05 6.746e-05 0.01% MLMG::mgVcycle_down::4 82 6.427e-05 6.427e-05 6.427e-05 0.01% MLMG::mgVcycle_down::3 82 6.197e-05 6.197e-05 6.197e-05 0.01% AmrLevel::checkPoint() 3 6.158e-05 6.158e-05 6.158e-05 0.01% Castro::initialize_do_advance() 10 6.113e-05 6.113e-05 6.113e-05 0.01% MLMG::oneIter() 82 5.615e-05 5.615e-05 5.615e-05 0.01% MLMG::mgVcycle_up::4 82 5.38e-05 5.38e-05 5.38e-05 0.01% Castro::advance() 10 5.078e-05 5.078e-05 5.078e-05 0.01% Castro::do_advance_ctu() 10 4.885e-05 4.885e-05 4.885e-05 0.01% MLMG::mgVcycle_up::0 82 4.881e-05 4.881e-05 4.881e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.858e-05 4.858e-05 4.858e-05 0.01% Castro::finalize_do_advance() 10 4.757e-05 4.757e-05 4.757e-05 0.01% MLMG::mgVcycle_up::3 82 4.702e-05 4.702e-05 4.702e-05 0.00% MLMG::mgVcycle_up::2 82 4.612e-05 4.612e-05 4.612e-05 0.00% MLMG::mgVcycle_up::1 82 4.549e-05 4.549e-05 4.549e-05 0.00% MLCellLinOp::solutionResidual() 93 4.29e-05 4.29e-05 4.29e-05 0.00% FillPatchSingleLevel 41 3.586e-05 3.586e-05 3.586e-05 0.00% Amr::defBaseLevel() 1 3.258e-05 3.258e-05 3.258e-05 0.00% MLMG::mgVcycle_bottom 82 3.183e-05 3.183e-05 3.183e-05 0.00% MLMG::ResNormInf() 93 3.126e-05 3.126e-05 3.126e-05 0.00% MLMG::computeResidual() 82 3.046e-05 3.046e-05 3.046e-05 0.00% Castro::construct_new_gravity() 10 2.84e-05 2.84e-05 2.84e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.382e-05 2.382e-05 2.382e-05 0.00% MLPoisson::define() 11 2.38e-05 2.38e-05 2.38e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 2.236e-05 2.236e-05 2.236e-05 0.00% Castro::do_new_sources() 10 2.074e-05 2.074e-05 2.074e-05 0.00% Amr::FinalizeInit() 1 1.958e-05 1.958e-05 1.958e-05 0.00% Castro::do_old_sources() 10 1.947e-05 1.947e-05 1.947e-05 0.00% Castro::construct_old_source() 50 1.936e-05 1.936e-05 1.936e-05 0.00% Castro::check_for_nan() 20 1.17e-05 1.17e-05 1.17e-05 0.00% Castro::apply_source_to_state() 20 1.115e-05 1.115e-05 1.115e-05 0.00% Castro::construct_old_gravity() 10 1.059e-05 1.059e-05 1.059e-05 0.00% Gravity::actual_multilevel_solve() 1 8.665e-06 8.665e-06 8.665e-06 0.00% MLMG::computeMLResidual() 11 8.363e-06 8.363e-06 8.363e-06 0.00% Castro::computeNewDt() 9 6.84e-06 6.84e-06 6.84e-06 0.00% MLPoisson::prepareForSolve() 11 6.442e-06 6.442e-06 6.442e-06 0.00% Amr::InitializeInit() 1 5.918e-06 5.918e-06 5.918e-06 0.00% Castro::expand_state() 10 5.914e-06 5.914e-06 5.914e-06 0.00% MLMG::getGradSolution() 11 5.896e-06 5.896e-06 5.896e-06 0.00% Castro::post_init() 1 4.283e-06 4.283e-06 4.283e-06 0.00% Amr::init() 1 2.509e-06 2.509e-06 2.509e-06 0.00% Amr::initialInit() 1 1.076e-06 1.076e-06 1.076e-06 0.00% Other 4753 0.003359 0.003359 0.003359 0.36% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9437 0.9437 0.9437 100.00% Amr::coarseTimeStep() 10 0.7924 0.7924 0.7924 83.96% Amr::timeStep() 10 0.7002 0.7002 0.7002 74.20% Castro::advance() 10 0.6884 0.6884 0.6884 72.94% Castro::subcycle_advance_ctu() 10 0.6737 0.6737 0.6737 71.38% Castro::do_advance_ctu() 10 0.6735 0.6735 0.6735 71.36% Castro::construct_ctu_hydro_source() 10 0.3247 0.3247 0.3247 34.41% Gravity::solve_phi_with_mlmg() 11 0.3032 0.3032 0.3032 32.13% Gravity::actual_solve_with_mlmg() 11 0.2934 0.2934 0.2934 31.09% Castro::construct_new_gravity() 10 0.2742 0.2742 0.2742 29.05% MLMG::solve() 11 0.2713 0.2713 0.2713 28.75% Gravity::solve_for_phi() 10 0.258 0.258 0.258 27.34% MLMG::oneIter() 82 0.2558 0.2558 0.2558 27.11% MLMG::mgVcycle() 82 0.2522 0.2522 0.2522 26.72% VisMF::Write(FabArray) 11 0.1754 0.1754 0.1754 18.59% Amr::checkPoint() 3 0.1342 0.1342 0.1342 14.22% AmrLevel::checkPoint() 3 0.1282 0.1282 0.1282 13.58% StateData::checkPoint() 12 0.1281 0.1281 0.1281 13.57% Amr::init() 1 0.1258 0.1258 0.1258 13.33% MLCellLinOp::smooth() 1640 0.1219 0.1219 0.1219 12.92% MLCellLinOp::applyBC() 4351 0.1199 0.1199 0.1199 12.71% MLMG::mgVcycle_bottom 82 0.07391 0.07391 0.07391 7.83% MLMG::actualBottomSolve() 82 0.07388 0.07388 0.07388 7.83% MLCGSolver::bicgstab 82 0.07306 0.07306 0.07306 7.74% Castro::clean_state() 62 0.05989 0.05989 0.05989 6.35% Amr::initialInit() 1 0.05452 0.05452 0.05452 5.78% Amr::writePlotFile() 2 0.05008 0.05008 0.05008 5.31% Amr::FinalizeInit() 1 0.0493 0.0493 0.0493 5.22% Castro::post_init() 1 0.04805 0.04805 0.04805 5.09% AmrLevel::FillPatch() 41 0.04742 0.04742 0.04742 5.03% Gravity::multilevel_solve_for_new_phi() 1 0.04566 0.04566 0.04566 4.84% Gravity::actual_multilevel_solve() 1 0.04563 0.04563 0.04563 4.84% MLCellLinOp::apply() 1060 0.04346 0.04346 0.04346 4.60% FillPatchIterator::Initialize 41 0.04312 0.04312 0.04312 4.57% MLMG::mgVcycle_down::0 82 0.04167 0.04167 0.04167 4.42% FillPatchIterator::FillFromLevel0() 41 0.0415 0.0415 0.0415 4.40% FillPatchSingleLevel 41 0.04146 0.04146 0.04146 4.39% FabArray::FillBoundary() 3941 0.03889 0.03889 0.03889 4.12% FillBoundary_nowait() 3941 0.03809 0.03809 0.03809 4.04% StateDataPhysBCFunct::() 41 0.0373 0.0373 0.0373 3.95% MLPoisson::Fsmooth() 3280 0.03386 0.03386 0.03386 3.59% MLMG:computeResOfCorrection() 410 0.02751 0.02751 0.02751 2.92% MLCellLinOp::correctionResidual() 410 0.02739 0.02739 0.02739 2.90% StateData::FillBoundary(geom) 328 0.02692 0.02692 0.02692 2.85% MLMG::mgVcycle_up::0 82 0.02618 0.02618 0.02618 2.77% Castro::computeTemp() 63 0.02369 0.02369 0.02369 2.51% amrex::Dot() 1114 0.02177 0.02177 0.02177 2.31% Castro::initialize_do_advance() 10 0.02108 0.02108 0.02108 2.23% Castro::normalize_species() 62 0.0204 0.0204 0.0204 2.16% FabArray::norminf() 1061 0.02034 0.02034 0.02034 2.16% Castro::do_old_sources() 10 0.01978 0.01978 0.01978 2.10% Gravity::get_new_grav_vector() 11 0.01812 0.01812 0.01812 1.92% MLPoisson::define() 11 0.01732 0.01732 0.01732 1.83% MLMG::mgVcycle_down::1 82 0.01674 0.01674 0.01674 1.77% MLMG::mgVcycle_down::2 82 0.01554 0.01554 0.01554 1.65% Castro::construct_old_gravity() 10 0.01543 0.01543 0.01543 1.63% Gravity::get_old_grav_vector() 10 0.01542 0.01542 0.01542 1.63% MLMG::mgVcycle_down::3 82 0.01518 0.01518 0.01518 1.61% MLMG::mgVcycle_down::4 82 0.01511 0.01511 0.01511 1.60% FabArray::ParallelCopy() 861 0.01495 0.01495 0.01495 1.58% FabArray::ParallelCopy_nowait() 861 0.01469 0.01469 0.01469 1.56% Castro::do_new_sources() 10 0.01465 0.01465 0.01465 1.55% Castro::initialize_advance() 10 0.01403 0.01403 0.01403 1.49% FabArray::setVal() 1062 0.01363 0.01363 0.01363 1.44% FabArray::Saxpy() 1370 0.01329 0.01329 0.01329 1.41% MLCGSolver::ParallelAllReduce 1832 0.01301 0.01301 0.01301 1.38% Castro::enforce_min_density() 62 0.01268 0.01268 0.01268 1.34% MLMG::addInterpCorrection() 410 0.01247 0.01247 0.01247 1.32% MLMG::mgVcycle_up::1 82 0.01208 0.01208 0.01208 1.28% MLMG::mgVcycle_up::4 82 0.01207 0.01207 0.01207 1.28% MLMG::mgVcycle_up::2 82 0.01187 0.01187 0.01187 1.26% MLCellLinOp::defineAuxData() 11 0.01172 0.01172 0.01172 1.24% Castro::post_timestep() 10 0.01172 0.01172 0.01172 1.24% amrex::average_down 410 0.01165 0.01165 0.01165 1.23% MLMG::mgVcycle_up::3 82 0.0116 0.0116 0.0116 1.23% Castro::expand_state() 10 0.01129 0.01129 0.01129 1.20% amrex::Copy() 472 0.01101 0.01101 0.01101 1.17% MLPoisson::Fapply() 1060 0.01046 0.01046 0.01046 1.11% Gravity::fill_multipole_BCs() 11 0.009597 0.009597 0.009597 1.02% FabArray::Xpay() 739 0.007939 0.007939 0.007939 0.84% MLCellLinOp::solutionResidual() 93 0.007803 0.007803 0.007803 0.83% Castro::reset_internal_energy(MultiFab) 63 0.006742 0.006742 0.006742 0.71% MLMG::computeResidual() 82 0.006539 0.006539 0.006539 0.69% Castro::estTimeStep() 21 0.006437 0.006437 0.006437 0.68% MLCellLinOp::defineBC() 11 0.005336 0.005336 0.005336 0.57% Amr::InitializeInit() 1 0.005224 0.005224 0.005224 0.55% Amr::defBaseLevel() 1 0.005218 0.005218 0.005218 0.55% MLMG::prepareForSolve() 11 0.005166 0.005166 0.005166 0.55% BndryData::define() 11 0.005073 0.005073 0.005073 0.54% Castro::initData() 1 0.004541 0.004541 0.004541 0.48% Castro::enforce_speed_limit() 62 0.004148 0.004148 0.004148 0.44% Castro::construct_new_source() 50 0.003762 0.003762 0.003762 0.40% Castro::construct_new_gravity_source() 10 0.003653 0.003653 0.003653 0.39% amrex::Add() 82 0.0036 0.0036 0.0036 0.38% Castro::construct_old_source() 50 0.002977 0.002977 0.002977 0.32% Castro::construct_old_gravity_source() 10 0.002957 0.002957 0.002957 0.31% Castro::finalize_do_advance() 10 0.002668 0.002668 0.002668 0.28% Castro::computeNewDt() 9 0.002603 0.002603 0.002603 0.28% MLMG::ResNormInf() 93 0.00217 0.00217 0.00217 0.23% Castro::apply_source_to_state() 20 0.001879 0.001879 0.001879 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001801 0.001801 0.001801 0.19% check_for_negative_density() 10 0.001797 0.001797 0.001797 0.19% Castro::reset_internal_energy(Fab) 504 0.001786 0.001786 0.001786 0.19% MLMG::getGradSolution() 11 0.001611 0.001611 0.001611 0.17% MLCellLinOp::setLevelBC() 11 0.001607 0.001607 0.001607 0.17% MLCellLinOp::compGrad() 11 0.001605 0.001605 0.001605 0.17% FabArrayBase::getCPC() 1323 0.001464 0.001464 0.001464 0.16% FabArray::setDomainBndry() 41 0.001391 0.001391 0.001391 0.15% FabArray::mult() 43 0.001383 0.001383 0.001383 0.15% MLPoisson::prepareForSolve() 11 0.001326 0.001326 0.001326 0.14% MLCellLinOp::prepareForSolve() 11 0.001319 0.001319 0.001319 0.14% MLMG::computeMLResidual() 11 0.001303 0.001303 0.001303 0.14% Castro::check_for_nan() 20 0.001301 0.001301 0.001301 0.14% MultiFab::contains_nan() 20 0.00129 0.00129 0.00129 0.14% Other 4753 0.009055 0.009055 0.009055 0.96% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 5667 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 961 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1480 KiB 28 MiB Castro::initialize_advance() 80 80 17 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7616 KiB 14 MiB MLMG::prepareForSolve() 660 660 3537 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 199 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 167 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7520 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2070 B 2048 KiB Gravity::solve_for_phi() 80 80 559 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 98 KiB 2048 KiB BndryData::define() 1056 1056 323 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 205 KiB 671 KiB Castro::estTimeStep() 21 21 3328 B 480 KiB VisMF::Write(FabArray) 656 656 3298 B 320 KiB Castro::normalize_species() 62 62 7043 B 320 KiB amrex::average_down 1067 1067 1586 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1137 B 257 KiB amrex::Dot() 1360 1360 3414 B 160 KiB FabArray::norminf() 1143 1143 3339 B 160 KiB check_for_negative_density() 10 10 305 B 160 KiB Castro::initData() 1 1 49 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 3455 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 350 B 9648 B MLCellLinOp::applyBC() 8702 8702 214 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3945 B 6144 B StateData::FillBoundary(geom) 1992 1992 35 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 364 B 1248 B MLCGSolver::bicgstab 410 410 93 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 544 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 38 KiB 8192 KiB VisMF::Write(FabArray) 744 744 406 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3455 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 350 B 9648 B MLCellLinOp::applyBC() 4351 4351 212 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3945 B 6144 B Gravity::get_new_grav_vector() 3 3 2896 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 36 B 2640 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 294 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): 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-32-g28b010126a1b) finalized Initializing AMReX (24.05-32-g28b010126a1b)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-32-g28b010126a1b) initialized Starting run at 07:54:05 UTC on 2024-05-29. Successfully read inputs file ... Castro git describe: 24.05-15-g7893b5c6d AMReX git describe: 24.05-32-g28b010126 Microphysics git describe: 24.05-22-g7b1458be reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.533118457 Restart time = 0.085433097 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.06939088 [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.068029783 [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.078770922 [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.067797818 [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.067048999 [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.02889262 seconds Ending run at 07:54:05 UTC on 2024-05-29. Run time = 0.466529623 Run time without initialization = 0.380429536 Average number of zones advanced per microsecond: 3.445 Average number of zones advanced per microsecond per rank: 3.445 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4666 ... 0.4666 ... 0.4666 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1476 0.1476 0.1476 31.63% VisMF::Read() 3 0.0741 0.0741 0.0741 15.88% MLCellLinOp::applyBC() 1910 0.03592 0.03592 0.03592 7.70% VisMF::Write(FabArray) 1 0.02619 0.02619 0.02619 5.61% MLPoisson::Fsmooth() 1440 0.01503 0.01503 0.01503 3.22% FillBoundary_nowait() 1730 0.01294 0.01294 0.01294 2.77% StateData::FillBoundary(geom) 160 0.01294 0.01294 0.01294 2.77% StateDataPhysBCFunct::() 20 0.01187 0.01187 0.01187 2.54% Castro::normalize_species() 30 0.01169 0.01169 0.01169 2.51% amrex::Dot() 484 0.00937 0.00937 0.00937 2.01% FabArray::norminf() 465 0.00881 0.00881 0.00881 1.89% Castro::computeTemp() 30 0.007732 0.007732 0.007732 1.66% FabArray::setVal() 501 0.006728 0.006728 0.006728 1.44% Castro::enforce_min_density() 30 0.006441 0.006441 0.006441 1.38% FabArray::ParallelCopy_nowait() 380 0.006261 0.006261 0.006261 1.34% FabArray::Saxpy() 597 0.005988 0.005988 0.005988 1.28% MLCellLinOp::defineAuxData() 6 0.005691 0.005691 0.005691 1.22% amrex::Copy() 221 0.00563 0.00563 0.00563 1.21% Gravity::fill_multipole_BCs() 6 0.005316 0.005316 0.005316 1.14% Amr::restart() 1 0.00491 0.00491 0.00491 1.05% MLPoisson::Fapply() 464 0.004569 0.004569 0.004569 0.98% FabArray::Xpay() 325 0.003557 0.003557 0.003557 0.76% Castro::estTimeStep() 10 0.003204 0.003204 0.003204 0.69% MLMG::addInterpCorrection() 180 0.00318 0.00318 0.00318 0.68% amrex::average_down 180 0.002804 0.002804 0.002804 0.60% Amr::writePlotFile() 1 0.002548 0.002548 0.002548 0.55% BndryData::define() 6 0.002244 0.002244 0.002244 0.48% Castro::construct_new_gravity_source() 5 0.001915 0.001915 0.001915 0.41% amrex::Add() 36 0.001554 0.001554 0.001554 0.33% Castro::reset_internal_energy(MultiFab) 30 0.001549 0.001549 0.001549 0.33% Castro::construct_old_gravity_source() 5 0.001456 0.001456 0.001456 0.31% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000992 0.000992 0.000992 0.21% check_for_negative_density() 5 0.0009413 0.0009413 0.0009413 0.20% Castro::reset_internal_energy(Fab) 240 0.0009149 0.0009149 0.0009149 0.20% MLCellLinOp::setLevelBC() 6 0.0008947 0.0008947 0.0008947 0.19% Gravity::actual_solve_with_mlmg() 6 0.0008457 0.0008457 0.0008457 0.18% MLCellLinOp::prepareForSolve() 6 0.0007757 0.0007757 0.0007757 0.17% MLCGSolver::bicgstab 36 0.0007149 0.0007149 0.0007149 0.15% FabArray::setDomainBndry() 20 0.0007082 0.0007082 0.0007082 0.15% FabArray::mult() 22 0.0006959 0.0006959 0.0006959 0.15% MLCellLinOp::compGrad() 6 0.0006031 0.0006031 0.0006031 0.13% MLMG::prepareForSolve() 6 0.0005633 0.0005633 0.0005633 0.12% MLCellLinOp::smooth() 720 0.0005321 0.0005321 0.0005321 0.11% FabArrayBase::getCPC() 632 0.0003787 0.0003787 0.0003787 0.08% FabArray::FillBoundary() 1730 0.0003451 0.0003451 0.0003451 0.07% Gravity::get_old_grav_vector() 5 0.0003421 0.0003421 0.0003421 0.07% Gravity::get_new_grav_vector() 5 0.0003088 0.0003088 0.0003088 0.07% main() 1 0.0002851 0.0002851 0.0002851 0.06% AmrLevel::FillPatch() 20 0.0002395 0.0002395 0.0002395 0.05% Amr::coarseTimeStep() 5 0.0002085 0.0002085 0.0002085 0.04% MLCellLinOp::apply() 464 0.000189 0.000189 0.000189 0.04% MLCellLinOp::defineBC() 6 0.00015 0.00015 0.00015 0.03% MLCGSolver::ParallelAllReduce 798 0.0001387 0.0001387 0.0001387 0.03% FabArray::ParallelCopy() 380 0.000115 0.000115 0.000115 0.02% FillPatchIterator::Initialize 20 0.0001123 0.0001123 0.0001123 0.02% Castro::subcycle_advance_ctu() 5 9.714e-05 9.714e-05 9.714e-05 0.02% MLMG::mgVcycle() 36 8.935e-05 8.935e-05 8.935e-05 0.02% Amr::timeStep() 5 8.719e-05 8.719e-05 8.719e-05 0.02% Castro::advance() 5 8.197e-05 8.197e-05 8.197e-05 0.02% Castro::do_advance_ctu() 5 7.416e-05 7.416e-05 7.416e-05 0.02% MLCellLinOp::correctionResidual() 180 7.13e-05 7.13e-05 7.13e-05 0.02% AmrLevel::restart() 1 7.079e-05 7.079e-05 7.079e-05 0.02% Castro::finalize_do_advance() 5 6.99e-05 6.99e-05 6.99e-05 0.01% Castro::construct_new_source() 25 6.435e-05 6.435e-05 6.435e-05 0.01% StateData::restartDoit() 4 6.412e-05 6.412e-05 6.412e-05 0.01% Gravity::update_max_rhs() 6 6.368e-05 6.368e-05 6.368e-05 0.01% MLMG:computeResOfCorrection() 180 5.072e-05 5.072e-05 5.072e-05 0.01% Gravity::solve_for_phi() 5 5.035e-05 5.035e-05 5.035e-05 0.01% Castro::construct_old_source() 25 4.958e-05 4.958e-05 4.958e-05 0.01% Castro::clean_state() 30 4.107e-05 4.107e-05 4.107e-05 0.01% MLMG::solve() 6 3.986e-05 3.986e-05 3.986e-05 0.01% MLMG::actualBottomSolve() 36 3.963e-05 3.963e-05 3.963e-05 0.01% Castro::post_timestep() 5 3.724e-05 3.724e-05 3.724e-05 0.01% Castro::initialize_advance() 5 3.72e-05 3.72e-05 3.72e-05 0.01% MLMG::mgVcycle_down::0 36 3.538e-05 3.538e-05 3.538e-05 0.01% Castro::do_old_sources() 5 3.23e-05 3.23e-05 3.23e-05 0.01% MLMG::mgVcycle_down::1 36 3.196e-05 3.196e-05 3.196e-05 0.01% MLMG::mgVcycle_up::4 36 2.961e-05 2.961e-05 2.961e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.926e-05 2.926e-05 2.926e-05 0.01% Castro::initialize_do_advance() 5 2.92e-05 2.92e-05 2.92e-05 0.01% MLMG::mgVcycle_down::2 36 2.91e-05 2.91e-05 2.91e-05 0.01% MLMG::mgVcycle_down::4 36 2.804e-05 2.804e-05 2.804e-05 0.01% MLMG::mgVcycle_down::3 36 2.678e-05 2.678e-05 2.678e-05 0.01% MLMG::oneIter() 36 2.555e-05 2.555e-05 2.555e-05 0.01% Gravity::multilevel_solve_for_new_phi() 1 2.483e-05 2.483e-05 2.483e-05 0.01% FillPatchSingleLevel 20 2.439e-05 2.439e-05 2.439e-05 0.01% Castro::post_restart() 1 2.255e-05 2.255e-05 2.255e-05 0.00% MLMG::mgVcycle_up::3 36 2.136e-05 2.136e-05 2.136e-05 0.00% MLMG::mgVcycle_up::0 36 2.1e-05 2.1e-05 2.1e-05 0.00% MLCellLinOp::solutionResidual() 42 2.061e-05 2.061e-05 2.061e-05 0.00% MLMG::mgVcycle_up::2 36 1.954e-05 1.954e-05 1.954e-05 0.00% Castro::do_new_sources() 5 1.931e-05 1.931e-05 1.931e-05 0.00% MLMG::mgVcycle_up::1 36 1.848e-05 1.848e-05 1.848e-05 0.00% MLPoisson::define() 6 1.833e-05 1.833e-05 1.833e-05 0.00% MLMG::ResNormInf() 42 1.654e-05 1.654e-05 1.654e-05 0.00% Castro::construct_new_gravity() 5 1.627e-05 1.627e-05 1.627e-05 0.00% MLMG::mgVcycle_bottom 36 1.585e-05 1.585e-05 1.585e-05 0.00% MLMG::computeResidual() 36 1.399e-05 1.399e-05 1.399e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.331e-05 1.331e-05 1.331e-05 0.00% Castro::apply_source_to_state() 10 1.003e-05 1.003e-05 1.003e-05 0.00% Gravity::actual_multilevel_solve() 1 8.766e-06 8.766e-06 8.766e-06 0.00% Castro::expand_state() 5 8.178e-06 8.178e-06 8.178e-06 0.00% MLMG::getGradSolution() 6 7.421e-06 7.421e-06 7.421e-06 0.00% Castro::check_for_nan() 10 6.439e-06 6.439e-06 6.439e-06 0.00% Castro::construct_old_gravity() 5 5.333e-06 5.333e-06 5.333e-06 0.00% MLMG::computeMLResidual() 6 4.34e-06 4.34e-06 4.34e-06 0.00% MLPoisson::prepareForSolve() 6 3.694e-06 3.694e-06 3.694e-06 0.00% Castro::computeNewDt() 5 3.077e-06 3.077e-06 3.077e-06 0.00% Amr::init() 1 8.8e-07 8.8e-07 8.8e-07 0.00% Other 2190 0.00302 0.00302 0.00302 0.65% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4665 0.4665 0.4665 100.00% Amr::coarseTimeStep() 5 0.3512 0.3512 0.3512 75.28% Amr::timeStep() 5 0.349 0.349 0.349 74.80% Castro::advance() 5 0.3433 0.3433 0.3433 73.58% Castro::subcycle_advance_ctu() 5 0.3355 0.3355 0.3355 71.91% Castro::do_advance_ctu() 5 0.3354 0.3354 0.3354 71.88% Castro::construct_ctu_hydro_source() 5 0.1531 0.1531 0.1531 32.81% Castro::construct_new_gravity() 5 0.1443 0.1443 0.1443 30.93% Gravity::solve_phi_with_mlmg() 6 0.1345 0.1345 0.1345 28.84% Gravity::solve_for_phi() 5 0.1292 0.1292 0.1292 27.69% Gravity::actual_solve_with_mlmg() 6 0.129 0.129 0.129 27.64% MLMG::solve() 6 0.1167 0.1167 0.1167 25.01% MLMG::oneIter() 36 0.1089 0.1089 0.1089 23.33% MLMG::mgVcycle() 36 0.1073 0.1073 0.1073 22.99% Amr::init() 1 0.0855 0.0855 0.0855 18.32% Amr::restart() 1 0.08549 0.08549 0.08549 18.32% AmrLevel::restart() 1 0.07445 0.07445 0.07445 15.96% StateData::restartDoit() 4 0.07438 0.07438 0.07438 15.94% VisMF::Read() 3 0.0741 0.0741 0.0741 15.88% MLCellLinOp::smooth() 720 0.05337 0.05337 0.05337 11.44% MLCellLinOp::applyBC() 1910 0.04954 0.04954 0.04954 10.62% MLMG::mgVcycle_bottom 36 0.03212 0.03212 0.03212 6.88% MLMG::actualBottomSolve() 36 0.0321 0.0321 0.0321 6.88% MLCGSolver::bicgstab 36 0.03173 0.03173 0.03173 6.80% AmrLevel::FillPatch() 20 0.03 0.03 0.03 6.43% Amr::writePlotFile() 1 0.029 0.029 0.029 6.22% Castro::clean_state() 30 0.02886 0.02886 0.02886 6.18% FillPatchIterator::Initialize 20 0.02773 0.02773 0.02773 5.94% FillPatchIterator::FillFromLevel0() 20 0.02691 0.02691 0.02691 5.77% FillPatchSingleLevel 20 0.02688 0.02688 0.02688 5.76% VisMF::Write(FabArray) 1 0.02619 0.02619 0.02619 5.61% StateDataPhysBCFunct::() 20 0.0248 0.0248 0.0248 5.32% MLCellLinOp::apply() 464 0.0162 0.0162 0.0162 3.47% MLMG::mgVcycle_down::0 36 0.01514 0.01514 0.01514 3.24% MLPoisson::Fsmooth() 1440 0.01503 0.01503 0.01503 3.22% Gravity::get_new_grav_vector() 5 0.01499 0.01499 0.01499 3.21% FabArray::FillBoundary() 1730 0.01362 0.01362 0.01362 2.92% FillBoundary_nowait() 1730 0.01327 0.01327 0.01327 2.84% StateData::FillBoundary(geom) 160 0.01294 0.01294 0.01294 2.77% Castro::normalize_species() 30 0.01169 0.01169 0.01169 2.51% MLMG::mgVcycle_up::0 36 0.01128 0.01128 0.01128 2.42% Castro::initialize_do_advance() 5 0.01087 0.01087 0.01087 2.33% Castro::computeTemp() 30 0.0102 0.0102 0.0102 2.19% MLPoisson::define() 6 0.009638 0.009638 0.009638 2.07% Castro::do_old_sources() 5 0.009417 0.009417 0.009417 2.02% amrex::Dot() 484 0.00937 0.00937 0.00937 2.01% MLMG:computeResOfCorrection() 180 0.008994 0.008994 0.008994 1.93% MLCellLinOp::correctionResidual() 180 0.008943 0.008943 0.008943 1.92% FabArray::norminf() 465 0.00881 0.00881 0.00881 1.89% Castro::do_new_sources() 5 0.008025 0.008025 0.008025 1.72% Castro::construct_old_gravity() 5 0.007879 0.007879 0.007879 1.69% Gravity::get_old_grav_vector() 5 0.007874 0.007874 0.007874 1.69% MLMG::mgVcycle_down::1 36 0.007483 0.007483 0.007483 1.60% Castro::initialize_advance() 5 0.007394 0.007394 0.007394 1.58% MLMG::mgVcycle_down::2 36 0.006843 0.006843 0.006843 1.47% FabArray::ParallelCopy() 380 0.006767 0.006767 0.006767 1.45% FabArray::setVal() 501 0.006728 0.006728 0.006728 1.44% MLMG::mgVcycle_down::3 36 0.006701 0.006701 0.006701 1.44% FabArray::ParallelCopy_nowait() 380 0.006653 0.006653 0.006653 1.43% MLMG::mgVcycle_down::4 36 0.006623 0.006623 0.006623 1.42% MLCellLinOp::defineAuxData() 6 0.006502 0.006502 0.006502 1.39% Castro::enforce_min_density() 30 0.006441 0.006441 0.006441 1.38% FabArray::Saxpy() 597 0.005988 0.005988 0.005988 1.28% Castro::post_restart() 1 0.005948 0.005948 0.005948 1.27% Castro::expand_state() 5 0.005877 0.005877 0.005877 1.26% MLCGSolver::ParallelAllReduce 798 0.005638 0.005638 0.005638 1.21% amrex::Copy() 221 0.00563 0.00563 0.00563 1.21% Castro::post_timestep() 5 0.005625 0.005625 0.005625 1.21% Gravity::multilevel_solve_for_new_phi() 1 0.005579 0.005579 0.005579 1.20% Gravity::actual_multilevel_solve() 1 0.005554 0.005554 0.005554 1.19% MLMG::addInterpCorrection() 180 0.005523 0.005523 0.005523 1.18% Gravity::fill_multipole_BCs() 6 0.005446 0.005446 0.005446 1.17% MLMG::mgVcycle_up::1 36 0.005339 0.005339 0.005339 1.14% MLMG::mgVcycle_up::4 36 0.005336 0.005336 0.005336 1.14% MLMG::mgVcycle_up::2 36 0.005205 0.005205 0.005205 1.12% amrex::average_down 180 0.005181 0.005181 0.005181 1.11% MLMG::mgVcycle_up::3 36 0.005118 0.005118 0.005118 1.10% MLPoisson::Fapply() 464 0.004569 0.004569 0.004569 0.98% MLCellLinOp::solutionResidual() 42 0.003704 0.003704 0.003704 0.79% FabArray::Xpay() 325 0.003557 0.003557 0.003557 0.76% Castro::estTimeStep() 10 0.003204 0.003204 0.003204 0.69% MLCellLinOp::defineBC() 6 0.002986 0.002986 0.002986 0.64% MLMG::prepareForSolve() 6 0.002949 0.002949 0.002949 0.63% MLMG::computeResidual() 36 0.002888 0.002888 0.002888 0.62% BndryData::define() 6 0.002836 0.002836 0.002836 0.61% Castro::reset_internal_energy(MultiFab) 30 0.002464 0.002464 0.002464 0.53% Castro::computeNewDt() 5 0.002035 0.002035 0.002035 0.44% Castro::construct_new_source() 25 0.001979 0.001979 0.001979 0.42% Castro::construct_new_gravity_source() 5 0.001915 0.001915 0.001915 0.41% amrex::Add() 36 0.001554 0.001554 0.001554 0.33% Castro::construct_old_source() 25 0.001505 0.001505 0.001505 0.32% Castro::construct_old_gravity_source() 5 0.001456 0.001456 0.001456 0.31% Castro::finalize_do_advance() 5 0.001242 0.001242 0.001242 0.27% MLMG::ResNormInf() 42 0.001003 0.001003 0.001003 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000992 0.000992 0.000992 0.21% Castro::apply_source_to_state() 10 0.0009779 0.0009779 0.0009779 0.21% check_for_negative_density() 5 0.0009413 0.0009413 0.0009413 0.20% Castro::reset_internal_energy(Fab) 240 0.0009149 0.0009149 0.0009149 0.20% MLMG::getGradSolution() 6 0.0009012 0.0009012 0.0009012 0.19% MLCellLinOp::setLevelBC() 6 0.0008947 0.0008947 0.0008947 0.19% MLCellLinOp::compGrad() 6 0.0008938 0.0008938 0.0008938 0.19% MLMG::computeMLResidual() 6 0.0008337 0.0008337 0.0008337 0.18% FabArrayBase::getCPC() 632 0.0008026 0.0008026 0.0008026 0.17% MLPoisson::prepareForSolve() 6 0.0007794 0.0007794 0.0007794 0.17% MLCellLinOp::prepareForSolve() 6 0.0007757 0.0007757 0.0007757 0.17% Gravity::update_max_rhs() 6 0.0007258 0.0007258 0.0007258 0.16% FabArray::setDomainBndry() 20 0.0007082 0.0007082 0.0007082 0.15% FabArray::mult() 22 0.0006959 0.0006959 0.0006959 0.15% Castro::check_for_nan() 10 0.0006682 0.0006682 0.0006682 0.14% Other 2190 0.004247 0.004247 0.004247 0.91% -------------------------------------------------------------------------------------------- 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 56 MiB 68 MiB Castro::swap_state_time_levels() 32 32 45 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1124 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1658 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 6279 KiB 14 MiB MLMG::prepareForSolve() 361 361 3070 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 175 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 329 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6267 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 19 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3099 B 2048 KiB Gravity::solve_for_phi() 40 40 566 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 24 KiB 2048 KiB BndryData::define() 576 576 283 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 182 KiB 671 KiB Castro::estTimeStep() 10 10 3200 B 480 KiB VisMF::Write(FabArray) 112 112 2206 B 320 KiB Castro::normalize_species() 30 30 8167 B 320 KiB amrex::average_down 469 469 1321 B 257 KiB MLMG::addInterpCorrection() 468 468 1005 B 257 KiB amrex::Dot() 592 592 2971 B 160 KiB FabArray::norminf() 501 501 2921 B 160 KiB check_for_negative_density() 5 5 324 B 160 KiB MultiFab::max() 6 6 68 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 28 B 20 KiB MLPoisson::Fsmooth() 60 60 2974 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 42 B 10 KiB FillBoundary_nowait() 336 336 239 B 9648 B MLCellLinOp::applyBC() 3820 3820 192 B 9344 B amrex::Copy() 56 56 5720 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 38 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 318 B 1248 B MLCGSolver::bicgstab 180 180 82 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1142 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 79 KiB 8192 KiB VisMF::Write(FabArray) 120 120 147 KiB 3584 KiB VisMF::Read() 24 24 197 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 2974 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 42 B 10 KiB FillBoundary_nowait() 336 336 238 B 9648 B MLCellLinOp::applyBC() 1910 1910 191 B 9328 B amrex::Copy() 56 56 5720 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2465 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 38 B 2688 B MLMG::prepareForSolve() 7 7 766 B 1648 B amrex::average_down 37 37 454 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 21 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-32-g28b010126a1b) finalized