Initializing AMReX (24.06-3-g0a691f6f4804)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-3-g0a691f6f4804) initialized Starting run at 08:59:33 UTC on 2024-06-03. Successfully read inputs file ... Castro git describe: 24.06 AMReX git describe: 24.06-3-g0a691f6f4 Microphysics git describe: 24.06 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.044360013 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024788168 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.065337168 [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.052228395 [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.072934774 [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.073098724 [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.06793542 [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.044394605 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.058253281 [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.071488769 [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.072218053 [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.064167401 [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.061793523 [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.043598788 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.024481794 seconds Ending run at 08:59:34 UTC on 2024-06-03. Run time = 0.89613075 Run time without initialization = 0.772562487 Average number of zones advanced per microsecond: 3.393 Average number of zones advanced per microsecond per rank: 3.393 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.8962 ... 0.8962 ... 0.8962 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2733 0.2733 0.2733 30.50% VisMF::Write(FabArray) 11 0.1731 0.1731 0.1731 19.31% MLCellLinOp::applyBC() 4351 0.08055 0.08055 0.08055 8.99% StateData::FillBoundary(geom) 328 0.03381 0.03381 0.03381 3.77% MLPoisson::Fsmooth() 3280 0.03336 0.03336 0.03336 3.72% FillBoundary_nowait() 3941 0.03144 0.03144 0.03144 3.51% amrex::Dot() 1114 0.02128 0.02128 0.02128 2.37% Castro::normalize_species() 62 0.01995 0.01995 0.01995 2.23% FabArray::norminf() 1061 0.01974 0.01974 0.01974 2.20% Castro::computeTemp() 63 0.0159 0.0159 0.0159 1.77% FabArray::ParallelCopy_nowait() 861 0.01349 0.01349 0.01349 1.51% FabArray::setVal() 1062 0.01338 0.01338 0.01338 1.49% FabArray::Saxpy() 1370 0.01299 0.01299 0.01299 1.45% StateDataPhysBCFunct::() 41 0.01227 0.01227 0.01227 1.37% Castro::enforce_min_density() 62 0.01202 0.01202 0.01202 1.34% amrex::Copy() 472 0.0109 0.0109 0.0109 1.22% MLPoisson::Fapply() 1060 0.01025 0.01025 0.01025 1.14% MLCellLinOp::defineAuxData() 11 0.01015 0.01015 0.01015 1.13% Gravity::fill_multipole_BCs() 11 0.009311 0.009311 0.009311 1.04% FabArray::Xpay() 739 0.007789 0.007789 0.007789 0.87% MLMG::addInterpCorrection() 410 0.006941 0.006941 0.006941 0.77% amrex::average_down 410 0.006208 0.006208 0.006208 0.69% Castro::reset_internal_energy(MultiFab) 63 0.006114 0.006114 0.006114 0.68% Amr::checkPoint() 3 0.00598 0.00598 0.00598 0.67% Castro::estTimeStep() 21 0.005542 0.005542 0.005542 0.62% BndryData::define() 11 0.003891 0.003891 0.003891 0.43% amrex::Add() 82 0.003646 0.003646 0.003646 0.41% Castro::construct_new_gravity_source() 10 0.003328 0.003328 0.003328 0.37% Castro::construct_old_gravity_source() 10 0.003016 0.003016 0.003016 0.34% Castro::enforce_speed_limit() 62 0.002891 0.002891 0.002891 0.32% Amr::writePlotFile() 2 0.002078 0.002078 0.002078 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001773 0.001773 0.001773 0.20% check_for_negative_density() 10 0.001674 0.001674 0.001674 0.19% Castro::reset_internal_energy(Fab) 504 0.001624 0.001624 0.001624 0.18% MLCGSolver::bicgstab 82 0.001624 0.001624 0.001624 0.18% MLCellLinOp::setLevelBC() 11 0.00156 0.00156 0.00156 0.17% Gravity::actual_solve_with_mlmg() 11 0.001548 0.001548 0.001548 0.17% Castro::initData() 1 0.001497 0.001497 0.001497 0.17% FabArray::mult() 43 0.001384 0.001384 0.001384 0.15% FabArray::setDomainBndry() 41 0.001362 0.001362 0.001362 0.15% MLCellLinOp::prepareForSolve() 11 0.001311 0.001311 0.001311 0.15% MultiFab::contains_nan() 20 0.001291 0.001291 0.001291 0.14% MLCellLinOp::smooth() 1640 0.001128 0.001128 0.001128 0.13% MLCellLinOp::compGrad() 11 0.001074 0.001074 0.001074 0.12% MLMG::prepareForSolve() 11 0.0009478 0.0009478 0.0009478 0.11% FabArray::FillBoundary() 3941 0.0007865 0.0007865 0.0007865 0.09% FabArrayBase::getCPC() 1323 0.0007738 0.0007738 0.0007738 0.09% Gravity::get_new_grav_vector() 11 0.0006011 0.0006011 0.0006011 0.07% Gravity::get_old_grav_vector() 10 0.0004853 0.0004853 0.0004853 0.05% AmrLevel::FillPatch() 41 0.0004278 0.0004278 0.0004278 0.05% MLCellLinOp::apply() 1060 0.0004077 0.0004077 0.0004077 0.05% Amr::coarseTimeStep() 10 0.0003397 0.0003397 0.0003397 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003131 0.0003131 0.0003131 0.03% main() 1 0.0002731 0.0002731 0.0002731 0.03% MLCellLinOp::defineBC() 11 0.0002673 0.0002673 0.0002673 0.03% FabArray::ParallelCopy() 861 0.0002474 0.0002474 0.0002474 0.03% FillPatchIterator::Initialize 41 0.0002226 0.0002226 0.0002226 0.02% MLMG::mgVcycle() 82 0.0002092 0.0002092 0.0002092 0.02% Castro::subcycle_advance_ctu() 10 0.0002084 0.0002084 0.0002084 0.02% Amr::timeStep() 10 0.000166 0.000166 0.000166 0.02% MLCellLinOp::correctionResidual() 410 0.0001652 0.0001652 0.0001652 0.02% Gravity::update_max_rhs() 11 0.000127 0.000127 0.000127 0.01% MLMG:computeResOfCorrection() 410 0.000121 0.000121 0.000121 0.01% Castro::construct_new_source() 50 0.0001166 0.0001166 0.0001166 0.01% StateData::checkPoint() 12 0.0001146 0.0001146 0.0001146 0.01% Gravity::solve_for_phi() 10 0.000105 0.000105 0.000105 0.01% Castro::advance() 10 9.393e-05 9.393e-05 9.393e-05 0.01% Castro::initialize_advance() 10 8.449e-05 8.449e-05 8.449e-05 0.01% MLMG::mgVcycle_down::0 82 8.237e-05 8.237e-05 8.237e-05 0.01% MLMG::actualBottomSolve() 82 7.926e-05 7.926e-05 7.926e-05 0.01% MLMG::solve() 11 7.798e-05 7.798e-05 7.798e-05 0.01% MLMG::mgVcycle_down::1 82 7.618e-05 7.618e-05 7.618e-05 0.01% MLMG::mgVcycle_down::2 82 7.376e-05 7.376e-05 7.376e-05 0.01% Castro::initialize_do_advance() 10 7.238e-05 7.238e-05 7.238e-05 0.01% Castro::clean_state() 62 7.228e-05 7.228e-05 7.228e-05 0.01% MLMG::mgVcycle_down::4 82 7.156e-05 7.156e-05 7.156e-05 0.01% MLMG::mgVcycle_down::3 82 6.834e-05 6.834e-05 6.834e-05 0.01% Castro::post_timestep() 10 6.633e-05 6.633e-05 6.633e-05 0.01% AmrLevel::checkPoint() 3 6.225e-05 6.225e-05 6.225e-05 0.01% MLMG::mgVcycle_up::4 82 5.436e-05 5.436e-05 5.436e-05 0.01% MLMG::oneIter() 82 5.405e-05 5.405e-05 5.405e-05 0.01% Castro::finalize_do_advance() 10 5.264e-05 5.264e-05 5.264e-05 0.01% Castro::do_advance_ctu() 10 5.24e-05 5.24e-05 5.24e-05 0.01% MLMG::mgVcycle_up::0 82 4.847e-05 4.847e-05 4.847e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.719e-05 4.719e-05 4.719e-05 0.01% MLMG::mgVcycle_up::3 82 4.571e-05 4.571e-05 4.571e-05 0.01% MLMG::mgVcycle_up::1 82 4.546e-05 4.546e-05 4.546e-05 0.01% MLCellLinOp::solutionResidual() 93 4.435e-05 4.435e-05 4.435e-05 0.00% MLMG::mgVcycle_up::2 82 4.321e-05 4.321e-05 4.321e-05 0.00% FillPatchSingleLevel 41 3.564e-05 3.564e-05 3.564e-05 0.00% MLMG::mgVcycle_bottom 82 3.142e-05 3.142e-05 3.142e-05 0.00% MLMG::computeResidual() 82 3.133e-05 3.133e-05 3.133e-05 0.00% MLMG::ResNormInf() 93 3.018e-05 3.018e-05 3.018e-05 0.00% Amr::defBaseLevel() 1 2.886e-05 2.886e-05 2.886e-05 0.00% MLPoisson::define() 11 2.591e-05 2.591e-05 2.591e-05 0.00% Castro::construct_new_gravity() 10 2.537e-05 2.537e-05 2.537e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.358e-05 2.358e-05 2.358e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 2.354e-05 2.354e-05 2.354e-05 0.00% Castro::do_new_sources() 10 2.241e-05 2.241e-05 2.241e-05 0.00% Amr::FinalizeInit() 1 2.056e-05 2.056e-05 2.056e-05 0.00% Castro::do_old_sources() 10 1.979e-05 1.979e-05 1.979e-05 0.00% Castro::construct_old_source() 50 1.899e-05 1.899e-05 1.899e-05 0.00% Castro::apply_source_to_state() 20 1.561e-05 1.561e-05 1.561e-05 0.00% Castro::check_for_nan() 20 1.26e-05 1.26e-05 1.26e-05 0.00% MLMG::computeMLResidual() 11 1.075e-05 1.075e-05 1.075e-05 0.00% Castro::construct_old_gravity() 10 9.986e-06 9.986e-06 9.986e-06 0.00% Gravity::actual_multilevel_solve() 1 8.539e-06 8.539e-06 8.539e-06 0.00% MLPoisson::prepareForSolve() 11 7.467e-06 7.467e-06 7.467e-06 0.00% Castro::computeNewDt() 9 6.601e-06 6.601e-06 6.601e-06 0.00% MLMG::getGradSolution() 11 6.496e-06 6.496e-06 6.496e-06 0.00% Castro::expand_state() 10 6.327e-06 6.327e-06 6.327e-06 0.00% Amr::InitializeInit() 1 6.186e-06 6.186e-06 6.186e-06 0.00% Castro::post_init() 1 4.785e-06 4.785e-06 4.785e-06 0.00% Amr::init() 1 2.673e-06 2.673e-06 2.673e-06 0.00% Amr::initialInit() 1 1.043e-06 1.043e-06 1.043e-06 0.00% Other 4742 0.00338 0.00338 0.00338 0.38% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8961 0.8961 0.8961 100.00% Amr::coarseTimeStep() 10 0.7479 0.7479 0.7479 83.45% Amr::timeStep() 10 0.6563 0.6563 0.6563 73.24% Castro::advance() 10 0.6466 0.6466 0.6466 72.15% Castro::subcycle_advance_ctu() 10 0.6326 0.6326 0.6326 70.59% Castro::do_advance_ctu() 10 0.6324 0.6324 0.6324 70.57% Gravity::solve_phi_with_mlmg() 11 0.2933 0.2933 0.2933 32.73% Castro::construct_ctu_hydro_source() 10 0.2849 0.2849 0.2849 31.79% Gravity::actual_solve_with_mlmg() 11 0.2835 0.2835 0.2835 31.63% Castro::construct_new_gravity() 10 0.2734 0.2734 0.2734 30.50% MLMG::solve() 11 0.2618 0.2618 0.2618 29.21% Gravity::solve_for_phi() 10 0.2491 0.2491 0.2491 27.80% MLMG::oneIter() 82 0.2463 0.2463 0.2463 27.49% MLMG::mgVcycle() 82 0.2426 0.2426 0.2426 27.08% VisMF::Write(FabArray) 11 0.1731 0.1731 0.1731 19.31% Amr::checkPoint() 3 0.1325 0.1325 0.1325 14.78% AmrLevel::checkPoint() 3 0.1265 0.1265 0.1265 14.11% StateData::checkPoint() 12 0.1264 0.1264 0.1264 14.11% Amr::init() 1 0.1229 0.1229 0.1229 13.71% MLCellLinOp::smooth() 1640 0.1219 0.1219 0.1219 13.60% MLCellLinOp::applyBC() 4351 0.1135 0.1135 0.1135 12.66% MLMG::mgVcycle_bottom 82 0.07211 0.07211 0.07211 8.05% MLMG::actualBottomSolve() 82 0.07208 0.07208 0.07208 8.04% MLCGSolver::bicgstab 82 0.07128 0.07128 0.07128 7.95% Castro::clean_state() 62 0.05761 0.05761 0.05761 6.43% AmrLevel::FillPatch() 41 0.05618 0.05618 0.05618 6.27% Amr::initialInit() 1 0.05362 0.05362 0.05362 5.98% FillPatchIterator::Initialize 41 0.05185 0.05185 0.05185 5.79% FillPatchIterator::FillFromLevel0() 41 0.05026 0.05026 0.05026 5.61% FillPatchSingleLevel 41 0.05021 0.05021 0.05021 5.60% Amr::writePlotFile() 2 0.04938 0.04938 0.04938 5.51% Amr::FinalizeInit() 1 0.04839 0.04839 0.04839 5.40% Castro::post_init() 1 0.04697 0.04697 0.04697 5.24% StateDataPhysBCFunct::() 41 0.04608 0.04608 0.04608 5.14% Gravity::multilevel_solve_for_new_phi() 1 0.04459 0.04459 0.04459 4.98% Gravity::actual_multilevel_solve() 1 0.04457 0.04457 0.04457 4.97% MLCellLinOp::apply() 1060 0.03622 0.03622 0.03622 4.04% MLMG::mgVcycle_down::0 82 0.03503 0.03503 0.03503 3.91% StateData::FillBoundary(geom) 328 0.03381 0.03381 0.03381 3.77% MLPoisson::Fsmooth() 3280 0.03336 0.03336 0.03336 3.72% FabArray::FillBoundary() 3941 0.03294 0.03294 0.03294 3.68% FillBoundary_nowait() 3941 0.03215 0.03215 0.03215 3.59% MLMG::mgVcycle_up::0 82 0.02646 0.02646 0.02646 2.95% Gravity::get_new_grav_vector() 11 0.02599 0.02599 0.02599 2.90% Castro::computeTemp() 63 0.02364 0.02364 0.02364 2.64% Castro::initialize_do_advance() 10 0.02208 0.02208 0.02208 2.46% amrex::Dot() 1114 0.02128 0.02128 0.02128 2.37% MLMG:computeResOfCorrection() 410 0.0204 0.0204 0.0204 2.28% MLCellLinOp::correctionResidual() 410 0.02028 0.02028 0.02028 2.26% Castro::normalize_species() 62 0.01995 0.01995 0.01995 2.23% Castro::do_old_sources() 10 0.01984 0.01984 0.01984 2.21% FabArray::norminf() 1061 0.01974 0.01974 0.01974 2.20% MLPoisson::define() 11 0.017 0.017 0.017 1.90% MLMG::mgVcycle_down::1 82 0.01659 0.01659 0.01659 1.85% Castro::construct_old_gravity() 10 0.01559 0.01559 0.01559 1.74% Gravity::get_old_grav_vector() 10 0.01558 0.01558 0.01558 1.74% MLMG::mgVcycle_down::2 82 0.0154 0.0154 0.0154 1.72% MLMG::mgVcycle_down::3 82 0.01502 0.01502 0.01502 1.68% MLMG::mgVcycle_down::4 82 0.01486 0.01486 0.01486 1.66% FabArray::ParallelCopy() 861 0.01453 0.01453 0.01453 1.62% FabArray::ParallelCopy_nowait() 861 0.01428 0.01428 0.01428 1.59% Castro::do_new_sources() 10 0.01339 0.01339 0.01339 1.49% FabArray::setVal() 1062 0.01338 0.01338 0.01338 1.49% Castro::initialize_advance() 10 0.01324 0.01324 0.01324 1.48% FabArray::Saxpy() 1370 0.01299 0.01299 0.01299 1.45% MLCGSolver::ParallelAllReduce 1832 0.01273 0.01273 0.01273 1.42% MLMG::addInterpCorrection() 410 0.01214 0.01214 0.01214 1.35% Castro::enforce_min_density() 62 0.01202 0.01202 0.01202 1.34% MLMG::mgVcycle_up::1 82 0.01197 0.01197 0.01197 1.34% MLMG::mgVcycle_up::4 82 0.01187 0.01187 0.01187 1.32% Castro::expand_state() 10 0.01178 0.01178 0.01178 1.31% MLMG::mgVcycle_up::2 82 0.01167 0.01167 0.01167 1.30% MLCellLinOp::defineAuxData() 11 0.01156 0.01156 0.01156 1.29% MLMG::mgVcycle_up::3 82 0.01146 0.01146 0.01146 1.28% amrex::average_down 410 0.01144 0.01144 0.01144 1.28% amrex::Copy() 472 0.0109 0.0109 0.0109 1.22% MLPoisson::Fapply() 1060 0.01025 0.01025 0.01025 1.14% Castro::post_timestep() 10 0.009591 0.009591 0.009591 1.07% Gravity::fill_multipole_BCs() 11 0.009548 0.009548 0.009548 1.07% MLCellLinOp::solutionResidual() 93 0.007801 0.007801 0.007801 0.87% FabArray::Xpay() 739 0.007789 0.007789 0.007789 0.87% Castro::reset_internal_energy(MultiFab) 63 0.007738 0.007738 0.007738 0.86% MLMG::computeResidual() 82 0.006539 0.006539 0.006539 0.73% Castro::estTimeStep() 21 0.005542 0.005542 0.005542 0.62% Amr::InitializeInit() 1 0.005227 0.005227 0.005227 0.58% Amr::defBaseLevel() 1 0.00522 0.00522 0.00522 0.58% MLCellLinOp::defineBC() 11 0.005165 0.005165 0.005165 0.58% MLMG::prepareForSolve() 11 0.00511 0.00511 0.00511 0.57% BndryData::define() 11 0.004898 0.004898 0.004898 0.55% Castro::initData() 1 0.004545 0.004545 0.004545 0.51% amrex::Add() 82 0.003646 0.003646 0.003646 0.41% Castro::construct_new_source() 50 0.003444 0.003444 0.003444 0.38% Castro::construct_new_gravity_source() 10 0.003328 0.003328 0.003328 0.37% Castro::construct_old_source() 50 0.003035 0.003035 0.003035 0.34% Castro::construct_old_gravity_source() 10 0.003016 0.003016 0.003016 0.34% Castro::enforce_speed_limit() 62 0.002891 0.002891 0.002891 0.32% Castro::computeNewDt() 9 0.002402 0.002402 0.002402 0.27% Castro::finalize_do_advance() 10 0.002229 0.002229 0.002229 0.25% MLMG::ResNormInf() 93 0.002178 0.002178 0.002178 0.24% Castro::apply_source_to_state() 20 0.001888 0.001888 0.001888 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001773 0.001773 0.001773 0.20% check_for_negative_density() 10 0.001674 0.001674 0.001674 0.19% Castro::reset_internal_energy(Fab) 504 0.001624 0.001624 0.001624 0.18% MLMG::getGradSolution() 11 0.001591 0.001591 0.001591 0.18% MLCellLinOp::compGrad() 11 0.001584 0.001584 0.001584 0.18% MLCellLinOp::setLevelBC() 11 0.00156 0.00156 0.00156 0.17% FabArrayBase::getCPC() 1323 0.00143 0.00143 0.00143 0.16% FabArray::mult() 43 0.001384 0.001384 0.001384 0.15% FabArray::setDomainBndry() 41 0.001362 0.001362 0.001362 0.15% MLPoisson::prepareForSolve() 11 0.001318 0.001318 0.001318 0.15% MLCellLinOp::prepareForSolve() 11 0.001311 0.001311 0.001311 0.15% MLMG::computeMLResidual() 11 0.001304 0.001304 0.001304 0.15% Castro::check_for_nan() 20 0.001303 0.001303 0.001303 0.15% MultiFab::contains_nan() 20 0.001291 0.001291 0.001291 0.14% Gravity::update_max_rhs() 11 0.001189 0.001189 0.001189 0.13% Other 4742 0.008315 0.008315 0.008315 0.93% -------------------------------------------------------------------------------------------- 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 5678 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 1132 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1539 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7622 KiB 14 MiB MLMG::prepareForSolve() 660 660 3593 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 300 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 178 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7514 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2607 B 2048 KiB Gravity::solve_for_phi() 80 80 568 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 101 KiB 2048 KiB BndryData::define() 1056 1056 328 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 209 KiB 671 KiB Castro::estTimeStep() 21 21 3014 B 480 KiB VisMF::Write(FabArray) 656 656 3448 B 320 KiB Castro::normalize_species() 62 62 7253 B 320 KiB amrex::average_down 1067 1067 1603 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1175 B 257 KiB amrex::Dot() 1360 1360 3506 B 160 KiB FabArray::norminf() 1143 1143 3403 B 160 KiB check_for_negative_density() 10 10 298 B 160 KiB Castro::initData() 1 1 51 B 160 KiB MultiFab::max() 11 11 93 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3508 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 306 B 9648 B MLCellLinOp::applyBC() 8702 8702 223 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3940 B 6144 B StateData::FillBoundary(geom) 1992 1992 55 B 3648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 370 B 1248 B MLCGSolver::bicgstab 410 410 96 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 566 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 41 KiB 8192 KiB VisMF::Write(FabArray) 744 744 418 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3508 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 305 B 9648 B MLCellLinOp::applyBC() 4351 4351 222 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3940 B 6144 B StateData::FillBoundary(geom) 1992 1992 56 B 3648 B Gravity::get_new_grav_vector() 3 3 2889 B 3072 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 299 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 1143 1143 10 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2105 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.06-3-g0a691f6f4804) finalized Initializing AMReX (24.06-3-g0a691f6f4804)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-3-g0a691f6f4804) initialized Starting run at 08:59:34 UTC on 2024-06-03. Successfully read inputs file ... Castro git describe: 24.06 AMReX git describe: 24.06-3-g0a691f6f4 Microphysics git describe: 24.06 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.499535658 Restart time = 0.071240642 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.070980759 [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.068621148 [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.07513515 [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.068455978 [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.058399335 [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.034512578 seconds Ending run at 08:59:35 UTC on 2024-06-03. Run time = 0.448460342 Run time without initialization = 0.376589283 Average number of zones advanced per microsecond: 3.481 Average number of zones advanced per microsecond per rank: 3.481 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4485 ... 0.4485 ... 0.4485 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1496 0.1496 0.1496 33.37% VisMF::Read() 3 0.06003 0.06003 0.06003 13.38% MLCellLinOp::applyBC() 1910 0.03501 0.03501 0.03501 7.81% VisMF::Write(FabArray) 1 0.03177 0.03177 0.03177 7.08% MLPoisson::Fsmooth() 1440 0.01456 0.01456 0.01456 3.25% FillBoundary_nowait() 1730 0.01293 0.01293 0.01293 2.88% StateData::FillBoundary(geom) 160 0.01292 0.01292 0.01292 2.88% Castro::normalize_species() 30 0.009481 0.009481 0.009481 2.11% amrex::Dot() 484 0.009063 0.009063 0.009063 2.02% FabArray::norminf() 465 0.008546 0.008546 0.008546 1.91% Castro::computeTemp() 30 0.006878 0.006878 0.006878 1.53% FabArray::setVal() 501 0.006529 0.006529 0.006529 1.46% Castro::enforce_min_density() 30 0.006179 0.006179 0.006179 1.38% FabArray::ParallelCopy_nowait() 380 0.006036 0.006036 0.006036 1.35% FabArray::Saxpy() 597 0.005764 0.005764 0.005764 1.29% MLCellLinOp::defineAuxData() 6 0.005463 0.005463 0.005463 1.22% amrex::Copy() 221 0.005428 0.005428 0.005428 1.21% StateDataPhysBCFunct::() 20 0.005242 0.005242 0.005242 1.17% Gravity::fill_multipole_BCs() 6 0.00509 0.00509 0.00509 1.13% Amr::restart() 1 0.00487 0.00487 0.00487 1.09% MLPoisson::Fapply() 464 0.004405 0.004405 0.004405 0.98% Castro::reset_internal_energy(MultiFab) 30 0.00395 0.00395 0.00395 0.88% Castro::estTimeStep() 10 0.00355 0.00355 0.00355 0.79% FabArray::Xpay() 325 0.00342 0.00342 0.00342 0.76% MLMG::addInterpCorrection() 180 0.003059 0.003059 0.003059 0.68% amrex::average_down 180 0.002686 0.002686 0.002686 0.60% Amr::writePlotFile() 1 0.002573 0.002573 0.002573 0.57% BndryData::define() 6 0.002128 0.002128 0.002128 0.47% Castro::construct_new_gravity_source() 5 0.001889 0.001889 0.001889 0.42% amrex::Add() 36 0.001544 0.001544 0.001544 0.34% Castro::construct_old_gravity_source() 5 0.001539 0.001539 0.001539 0.34% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009651 0.0009651 0.0009651 0.22% MLCellLinOp::setLevelBC() 6 0.0008552 0.0008552 0.0008552 0.19% Gravity::actual_solve_with_mlmg() 6 0.0008497 0.0008497 0.0008497 0.19% check_for_negative_density() 5 0.0008438 0.0008438 0.0008438 0.19% Castro::reset_internal_energy(Fab) 240 0.000785 0.000785 0.000785 0.18% MLCellLinOp::prepareForSolve() 6 0.0007539 0.0007539 0.0007539 0.17% MLCGSolver::bicgstab 36 0.0007049 0.0007049 0.0007049 0.16% FabArray::setDomainBndry() 20 0.0006945 0.0006945 0.0006945 0.15% FabArray::mult() 22 0.0006911 0.0006911 0.0006911 0.15% MLCellLinOp::compGrad() 6 0.0006054 0.0006054 0.0006054 0.13% MLMG::prepareForSolve() 6 0.0005461 0.0005461 0.0005461 0.12% MLCellLinOp::smooth() 720 0.0005045 0.0005045 0.0005045 0.11% FabArrayBase::getCPC() 632 0.0003688 0.0003688 0.0003688 0.08% Gravity::get_old_grav_vector() 5 0.0003365 0.0003365 0.0003365 0.08% FabArray::FillBoundary() 1730 0.0003264 0.0003264 0.0003264 0.07% main() 1 0.0003183 0.0003183 0.0003183 0.07% Gravity::get_new_grav_vector() 5 0.0003113 0.0003113 0.0003113 0.07% AmrLevel::FillPatch() 20 0.0002051 0.0002051 0.0002051 0.05% MLCellLinOp::apply() 464 0.000189 0.000189 0.000189 0.04% Amr::coarseTimeStep() 5 0.0001526 0.0001526 0.0001526 0.03% MLCellLinOp::defineBC() 6 0.000144 0.000144 0.000144 0.03% MLCGSolver::ParallelAllReduce 798 0.0001282 0.0001282 0.0001282 0.03% FillPatchIterator::Initialize 20 0.0001093 0.0001093 0.0001093 0.02% FabArray::ParallelCopy() 380 0.0001088 0.0001088 0.0001088 0.02% Castro::subcycle_advance_ctu() 5 9.664e-05 9.664e-05 9.664e-05 0.02% Castro::advance() 5 8.707e-05 8.707e-05 8.707e-05 0.02% MLMG::mgVcycle() 36 8.665e-05 8.665e-05 8.665e-05 0.02% Amr::timeStep() 5 8.538e-05 8.538e-05 8.538e-05 0.02% MLCellLinOp::correctionResidual() 180 7.83e-05 7.83e-05 7.83e-05 0.02% Castro::construct_new_source() 25 7.615e-05 7.615e-05 7.615e-05 0.02% AmrLevel::restart() 1 7.09e-05 7.09e-05 7.09e-05 0.02% Castro::initialize_do_advance() 5 6.974e-05 6.974e-05 6.974e-05 0.02% Castro::finalize_do_advance() 5 6.668e-05 6.668e-05 6.668e-05 0.01% Castro::do_advance_ctu() 5 6.578e-05 6.578e-05 6.578e-05 0.01% Gravity::update_max_rhs() 6 6.265e-05 6.265e-05 6.265e-05 0.01% StateData::restartDoit() 4 6.176e-05 6.176e-05 6.176e-05 0.01% MLMG:computeResOfCorrection() 180 5.146e-05 5.146e-05 5.146e-05 0.01% Castro::construct_old_source() 25 5.076e-05 5.076e-05 5.076e-05 0.01% Gravity::solve_for_phi() 5 4.877e-05 4.877e-05 4.877e-05 0.01% Castro::initialize_advance() 5 3.72e-05 3.72e-05 3.72e-05 0.01% MLMG::actualBottomSolve() 36 3.703e-05 3.703e-05 3.703e-05 0.01% MLMG::mgVcycle_down::0 36 3.526e-05 3.526e-05 3.526e-05 0.01% MLMG::solve() 6 3.44e-05 3.44e-05 3.44e-05 0.01% Castro::clean_state() 30 3.366e-05 3.366e-05 3.366e-05 0.01% MLMG::mgVcycle_down::1 36 3.226e-05 3.226e-05 3.226e-05 0.01% Castro::post_timestep() 5 3.102e-05 3.102e-05 3.102e-05 0.01% MLMG::mgVcycle_down::2 36 2.969e-05 2.969e-05 2.969e-05 0.01% MLMG::mgVcycle_down::4 36 2.821e-05 2.821e-05 2.821e-05 0.01% MLMG::mgVcycle_down::3 36 2.695e-05 2.695e-05 2.695e-05 0.01% MLMG::mgVcycle_up::4 36 2.406e-05 2.406e-05 2.406e-05 0.01% MLMG::oneIter() 36 2.387e-05 2.387e-05 2.387e-05 0.01% Gravity::multilevel_solve_for_new_phi() 1 2.38e-05 2.38e-05 2.38e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.237e-05 2.237e-05 2.237e-05 0.00% Castro::post_restart() 1 2.109e-05 2.109e-05 2.109e-05 0.00% MLCellLinOp::solutionResidual() 42 2.021e-05 2.021e-05 2.021e-05 0.00% MLMG::mgVcycle_up::3 36 1.976e-05 1.976e-05 1.976e-05 0.00% MLMG::mgVcycle_up::0 36 1.889e-05 1.889e-05 1.889e-05 0.00% MLPoisson::define() 6 1.774e-05 1.774e-05 1.774e-05 0.00% MLMG::mgVcycle_up::2 36 1.721e-05 1.721e-05 1.721e-05 0.00% MLMG::mgVcycle_up::1 36 1.695e-05 1.695e-05 1.695e-05 0.00% FillPatchSingleLevel 20 1.639e-05 1.639e-05 1.639e-05 0.00% MLMG::ResNormInf() 42 1.53e-05 1.53e-05 1.53e-05 0.00% MLMG::mgVcycle_bottom 36 1.399e-05 1.399e-05 1.399e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.393e-05 1.393e-05 1.393e-05 0.00% MLMG::computeResidual() 36 1.342e-05 1.342e-05 1.342e-05 0.00% Castro::construct_new_gravity() 5 1.152e-05 1.152e-05 1.152e-05 0.00% Castro::do_old_sources() 5 1.122e-05 1.122e-05 1.122e-05 0.00% Castro::do_new_sources() 5 9.825e-06 9.825e-06 9.825e-06 0.00% Castro::expand_state() 5 8.902e-06 8.902e-06 8.902e-06 0.00% Gravity::actual_multilevel_solve() 1 8.462e-06 8.462e-06 8.462e-06 0.00% MLMG::getGradSolution() 6 8.333e-06 8.333e-06 8.333e-06 0.00% Castro::check_for_nan() 10 5.915e-06 5.915e-06 5.915e-06 0.00% Castro::apply_source_to_state() 10 5.873e-06 5.873e-06 5.873e-06 0.00% Castro::construct_old_gravity() 5 5.326e-06 5.326e-06 5.326e-06 0.00% MLMG::computeMLResidual() 6 4.032e-06 4.032e-06 4.032e-06 0.00% MLPoisson::prepareForSolve() 6 3.575e-06 3.575e-06 3.575e-06 0.00% Castro::computeNewDt() 5 3.093e-06 3.093e-06 3.093e-06 0.00% Amr::init() 1 1.32e-06 1.32e-06 1.32e-06 0.00% Other 2190 0.003014 0.003014 0.003014 0.67% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4485 0.4485 0.4485 99.99% Amr::coarseTimeStep() 5 0.3417 0.3417 0.3417 76.20% Amr::timeStep() 5 0.3391 0.3391 0.3391 75.61% Castro::advance() 5 0.3334 0.3334 0.3334 74.33% Castro::subcycle_advance_ctu() 5 0.3261 0.3261 0.3261 72.72% Castro::do_advance_ctu() 5 0.326 0.326 0.326 72.70% Castro::construct_ctu_hydro_source() 5 0.1551 0.1551 0.1551 34.59% Castro::construct_new_gravity() 5 0.1333 0.1333 0.1333 29.72% Gravity::solve_phi_with_mlmg() 6 0.1306 0.1306 0.1306 29.11% Gravity::solve_for_phi() 5 0.1253 0.1253 0.1253 27.95% Gravity::actual_solve_with_mlmg() 6 0.1252 0.1252 0.1252 27.93% MLMG::solve() 6 0.1134 0.1134 0.1134 25.28% MLMG::oneIter() 36 0.1057 0.1057 0.1057 23.57% MLMG::mgVcycle() 36 0.1042 0.1042 0.1042 23.22% Amr::init() 1 0.07129 0.07129 0.07129 15.89% Amr::restart() 1 0.07128 0.07128 0.07128 15.89% AmrLevel::restart() 1 0.06039 0.06039 0.06039 13.47% StateData::restartDoit() 4 0.06032 0.06032 0.06032 13.45% VisMF::Read() 3 0.06003 0.06003 0.06003 13.38% MLCellLinOp::smooth() 720 0.05216 0.05216 0.05216 11.63% MLCellLinOp::applyBC() 1910 0.04859 0.04859 0.04859 10.83% Amr::writePlotFile() 1 0.0346 0.0346 0.0346 7.72% VisMF::Write(FabArray) 1 0.03177 0.03177 0.03177 7.08% MLMG::mgVcycle_bottom 36 0.031 0.031 0.031 6.91% MLMG::actualBottomSolve() 36 0.03099 0.03099 0.03099 6.91% MLCGSolver::bicgstab 36 0.03063 0.03063 0.03063 6.83% Castro::clean_state() 30 0.0278 0.0278 0.0278 6.20% AmrLevel::FillPatch() 20 0.02316 0.02316 0.02316 5.16% FillPatchIterator::Initialize 20 0.02105 0.02105 0.02105 4.69% FillPatchIterator::FillFromLevel0() 20 0.02025 0.02025 0.02025 4.51% FillPatchSingleLevel 20 0.02022 0.02022 0.02022 4.51% StateDataPhysBCFunct::() 20 0.01817 0.01817 0.01817 4.05% MLCellLinOp::apply() 464 0.0158 0.0158 0.0158 3.52% MLMG::mgVcycle_down::0 36 0.01496 0.01496 0.01496 3.34% MLPoisson::Fsmooth() 1440 0.01456 0.01456 0.01456 3.25% FabArray::FillBoundary() 1730 0.01358 0.01358 0.01358 3.03% FillBoundary_nowait() 1730 0.01325 0.01325 0.01325 2.96% StateData::FillBoundary(geom) 160 0.01292 0.01292 0.01292 2.88% Castro::computeTemp() 30 0.01161 0.01161 0.01161 2.59% Castro::initialize_do_advance() 5 0.01126 0.01126 0.01126 2.51% MLMG::mgVcycle_up::0 36 0.01113 0.01113 0.01113 2.48% Castro::do_old_sources() 5 0.009493 0.009493 0.009493 2.12% Castro::normalize_species() 30 0.009481 0.009481 0.009481 2.11% MLPoisson::define() 6 0.009248 0.009248 0.009248 2.06% amrex::Dot() 484 0.009063 0.009063 0.009063 2.02% MLMG:computeResOfCorrection() 180 0.008766 0.008766 0.008766 1.95% MLCellLinOp::correctionResidual() 180 0.008715 0.008715 0.008715 1.94% FabArray::norminf() 465 0.008546 0.008546 0.008546 1.91% Gravity::get_new_grav_vector() 5 0.007846 0.007846 0.007846 1.75% Castro::construct_old_gravity() 5 0.00765 0.00765 0.00765 1.71% Gravity::get_old_grav_vector() 5 0.007645 0.007645 0.007645 1.70% Castro::do_new_sources() 5 0.007523 0.007523 0.007523 1.68% MLMG::mgVcycle_down::1 36 0.007197 0.007197 0.007197 1.60% Castro::initialize_advance() 5 0.00681 0.00681 0.00681 1.52% MLMG::mgVcycle_down::2 36 0.006607 0.006607 0.006607 1.47% FabArray::ParallelCopy() 380 0.006533 0.006533 0.006533 1.46% FabArray::setVal() 501 0.006529 0.006529 0.006529 1.46% MLMG::mgVcycle_down::3 36 0.006446 0.006446 0.006446 1.44% FabArray::ParallelCopy_nowait() 380 0.006424 0.006424 0.006424 1.43% MLMG::mgVcycle_down::4 36 0.006415 0.006415 0.006415 1.43% Castro::expand_state() 5 0.006281 0.006281 0.006281 1.40% MLCellLinOp::defineAuxData() 6 0.006248 0.006248 0.006248 1.39% Castro::enforce_min_density() 30 0.006179 0.006179 0.006179 1.38% Castro::post_restart() 1 0.005834 0.005834 0.005834 1.30% FabArray::Saxpy() 597 0.005764 0.005764 0.005764 1.29% Castro::post_timestep() 5 0.005672 0.005672 0.005672 1.26% MLCGSolver::ParallelAllReduce 798 0.005481 0.005481 0.005481 1.22% Gravity::multilevel_solve_for_new_phi() 1 0.005468 0.005468 0.005468 1.22% Gravity::actual_multilevel_solve() 1 0.005444 0.005444 0.005444 1.21% amrex::Copy() 221 0.005428 0.005428 0.005428 1.21% MLMG::addInterpCorrection() 180 0.005302 0.005302 0.005302 1.18% Gravity::fill_multipole_BCs() 6 0.00521 0.00521 0.00521 1.16% MLMG::mgVcycle_up::4 36 0.005182 0.005182 0.005182 1.16% MLMG::mgVcycle_up::1 36 0.005138 0.005138 0.005138 1.15% MLMG::mgVcycle_up::2 36 0.005027 0.005027 0.005027 1.12% MLMG::mgVcycle_up::3 36 0.004972 0.004972 0.004972 1.11% amrex::average_down 180 0.004934 0.004934 0.004934 1.10% Castro::reset_internal_energy(MultiFab) 30 0.004735 0.004735 0.004735 1.06% MLPoisson::Fapply() 464 0.004405 0.004405 0.004405 0.98% MLCellLinOp::solutionResidual() 42 0.003646 0.003646 0.003646 0.81% Castro::estTimeStep() 10 0.00355 0.00355 0.00355 0.79% FabArray::Xpay() 325 0.00342 0.00342 0.00342 0.76% MLMG::prepareForSolve() 6 0.002848 0.002848 0.002848 0.64% MLCellLinOp::defineBC() 6 0.002846 0.002846 0.002846 0.63% MLMG::computeResidual() 36 0.002842 0.002842 0.002842 0.63% BndryData::define() 6 0.002702 0.002702 0.002702 0.60% Castro::computeNewDt() 5 0.002468 0.002468 0.002468 0.55% Castro::construct_new_source() 25 0.001966 0.001966 0.001966 0.44% Castro::construct_new_gravity_source() 5 0.001889 0.001889 0.001889 0.42% Castro::construct_old_source() 25 0.00159 0.00159 0.00159 0.35% amrex::Add() 36 0.001544 0.001544 0.001544 0.34% Castro::construct_old_gravity_source() 5 0.001539 0.001539 0.001539 0.34% Castro::finalize_do_advance() 5 0.001152 0.001152 0.001152 0.26% MLMG::ResNormInf() 42 0.0009861 0.0009861 0.0009861 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009651 0.0009651 0.0009651 0.22% Castro::apply_source_to_state() 10 0.0009616 0.0009616 0.0009616 0.21% MLMG::getGradSolution() 6 0.0009048 0.0009048 0.0009048 0.20% MLCellLinOp::compGrad() 6 0.0008965 0.0008965 0.0008965 0.20% MLCellLinOp::setLevelBC() 6 0.0008552 0.0008552 0.0008552 0.19% check_for_negative_density() 5 0.0008438 0.0008438 0.0008438 0.19% MLMG::computeMLResidual() 6 0.0008218 0.0008218 0.0008218 0.18% Castro::reset_internal_energy(Fab) 240 0.000785 0.000785 0.000785 0.18% FabArrayBase::getCPC() 632 0.0007825 0.0007825 0.0007825 0.17% MLPoisson::prepareForSolve() 6 0.0007575 0.0007575 0.0007575 0.17% MLCellLinOp::prepareForSolve() 6 0.0007539 0.0007539 0.0007539 0.17% Gravity::update_max_rhs() 6 0.0007104 0.0007104 0.0007104 0.16% FabArray::setDomainBndry() 20 0.0006945 0.0006945 0.0006945 0.15% FabArray::mult() 22 0.0006911 0.0006911 0.0006911 0.15% Castro::check_for_nan() 10 0.0006764 0.0006764 0.0006764 0.15% Other 2190 0.004234 0.004234 0.004234 0.94% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 10 MiB 9037 MiB Castro::initMFs() 48 48 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 1043 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2082 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 6463 KiB 14 MiB MLMG::prepareForSolve() 361 361 3104 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 176 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 178 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6451 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 18 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3150 B 2048 KiB Gravity::solve_for_phi() 40 40 571 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 24 KiB 2048 KiB BndryData::define() 576 576 286 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 183 KiB 671 KiB Castro::estTimeStep() 10 10 3732 B 480 KiB VisMF::Write(FabArray) 112 112 2325 B 320 KiB Castro::normalize_species() 30 30 6883 B 320 KiB amrex::average_down 469 469 1336 B 257 KiB MLMG::addInterpCorrection() 468 468 1007 B 257 KiB amrex::Dot() 592 592 2989 B 160 KiB FabArray::norminf() 501 501 2942 B 160 KiB check_for_negative_density() 5 5 301 B 160 KiB MultiFab::max() 6 6 70 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3006 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 249 B 9648 B MLCellLinOp::applyBC() 3820 3820 194 B 9344 B amrex::Copy() 56 56 5863 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 41 B 2656 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 321 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 1285 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 81 KiB 8192 KiB VisMF::Write(FabArray) 120 120 197 KiB 3584 KiB VisMF::Read() 24 24 203 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3006 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 248 B 9648 B MLCellLinOp::applyBC() 1910 1910 193 B 9328 B amrex::Copy() 56 56 5863 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2538 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 42 B 2656 B MLMG::prepareForSolve() 7 7 784 B 1648 B amrex::average_down 37 37 464 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.06-3-g0a691f6f4804) finalized