Initializing AMReX (24.07-21-gcdacc4d908e0)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.07-21-gcdacc4d908e0) initialized Starting run at 08:13:32 UTC on 2024-07-19. Successfully read inputs file ... Castro git describe: 24.07-16-g39a7704b4 AMReX git describe: 24.07-21-gcdacc4d90 Microphysics git describe: 24.07-25-g83817c08 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.047396122 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.026166386 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.060457759 [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.056359204 [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.06833271 [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.074400596 [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.058625608 [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.053982428 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.05355385 [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.059235867 [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.059663777 [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.073780313 [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.077583908 [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.061645184 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.026069311 seconds Ending run at 08:13:33 UTC on 2024-07-19. Run time = 0.910870568 Run time without initialization = 0.784363873 Average number of zones advanced per microsecond: 3.342 Average number of zones advanced per microsecond per rank: 3.342 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9109 ... 0.9109 ... 0.9109 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2500 0.2500 0.2500 27.45% VisMF::Write(FabArray) 11 0.1906 0.1906 0.1906 20.93% MLCellLinOp::applyBC() 4351 0.08244 0.08244 0.08244 9.05% MLPoisson::Fsmooth() 3280 0.03433 0.03433 0.03433 3.77% FillBoundary_nowait() 3941 0.03332 0.03332 0.03332 3.66% StateData::FillBoundary(geom) 328 0.02586 0.02586 0.02586 2.84% Amr::checkPoint() 3 0.02231 0.02231 0.02231 2.45% amrex::Dot() 1114 0.02164 0.02164 0.02164 2.38% FabArray::norminf() 1061 0.02016 0.02016 0.02016 2.21% Castro::reset_internal_energy(MultiFab) 63 0.01799 0.01799 0.01799 1.97% Castro::computeTemp() 63 0.01687 0.01687 0.01687 1.85% FabArray::ParallelCopy_nowait() 861 0.01375 0.01375 0.01375 1.51% FabArray::setVal() 1062 0.01365 0.01365 0.01365 1.50% StateDataPhysBCFunct::() 41 0.01337 0.01337 0.01337 1.47% FabArray::Saxpy() 1370 0.01329 0.01329 0.01329 1.46% Castro::normalize_species() 62 0.01275 0.01275 0.01275 1.40% Castro::enforce_min_density() 62 0.01125 0.01125 0.01125 1.24% amrex::Copy() 472 0.01108 0.01108 0.01108 1.22% MLPoisson::Fapply() 1060 0.0105 0.0105 0.0105 1.15% MLCellLinOp::defineAuxData() 11 0.01042 0.01042 0.01042 1.14% FabArray::Xpay() 739 0.007982 0.007982 0.007982 0.88% Gravity::fill_multipole_BCs() 11 0.007428 0.007428 0.007428 0.82% MLMG::addInterpCorrection() 410 0.007169 0.007169 0.007169 0.79% amrex::average_down 410 0.006392 0.006392 0.006392 0.70% Castro::estTimeStep() 21 0.00512 0.00512 0.00512 0.56% BndryData::define() 11 0.003953 0.003953 0.003953 0.43% amrex::Add() 82 0.003774 0.003774 0.003774 0.41% Castro::construct_new_gravity_source() 10 0.00343 0.00343 0.00343 0.38% Castro::reset_internal_energy(Fab) 504 0.002938 0.002938 0.002938 0.32% Castro::construct_old_gravity_source() 10 0.002825 0.002825 0.002825 0.31% Amr::writePlotFile() 2 0.001814 0.001814 0.001814 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001797 0.001797 0.001797 0.20% MLCGSolver::bicgstab 82 0.001795 0.001795 0.001795 0.20% check_for_negative_density() 10 0.001646 0.001646 0.001646 0.18% MLCellLinOp::setLevelBC() 11 0.001608 0.001608 0.001608 0.18% Castro::subcycle_advance_ctu() 10 0.001557 0.001557 0.001557 0.17% Gravity::actual_solve_with_mlmg() 11 0.001533 0.001533 0.001533 0.17% Castro::initData() 1 0.001513 0.001513 0.001513 0.17% FabArray::mult() 43 0.001415 0.001415 0.001415 0.16% FabArray::setDomainBndry() 41 0.001391 0.001391 0.001391 0.15% MLCellLinOp::prepareForSolve() 11 0.001325 0.001325 0.001325 0.15% MultiFab::contains_nan() 20 0.001306 0.001306 0.001306 0.14% MLCellLinOp::smooth() 1640 0.001277 0.001277 0.001277 0.14% MLCellLinOp::compGrad() 11 0.001103 0.001103 0.001103 0.12% MLMG::prepareForSolve() 11 0.0009805 0.0009805 0.0009805 0.11% FabArrayBase::getCPC() 1323 0.0008366 0.0008366 0.0008366 0.09% FabArray::FillBoundary() 3941 0.0007726 0.0007726 0.0007726 0.08% Gravity::get_new_grav_vector() 11 0.0006142 0.0006142 0.0006142 0.07% Gravity::get_old_grav_vector() 10 0.0004948 0.0004948 0.0004948 0.05% MLCellLinOp::apply() 1060 0.0004566 0.0004566 0.0004566 0.05% AmrLevel::FillPatch() 41 0.0004138 0.0004138 0.0004138 0.05% Amr::coarseTimeStep() 10 0.0003545 0.0003545 0.0003545 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003331 0.0003331 0.0003331 0.04% main() 1 0.0002946 0.0002946 0.0002946 0.03% Castro::construct_new_source() 50 0.0002856 0.0002856 0.0002856 0.03% MLCellLinOp::defineBC() 11 0.0002723 0.0002723 0.0002723 0.03% FabArray::ParallelCopy() 861 0.0002487 0.0002487 0.0002487 0.03% FillPatchIterator::Initialize 41 0.0002244 0.0002244 0.0002244 0.02% MLMG::mgVcycle() 82 0.0001921 0.0001921 0.0001921 0.02% MLCellLinOp::correctionResidual() 410 0.0001814 0.0001814 0.0001814 0.02% Amr::timeStep() 10 0.0001766 0.0001766 0.0001766 0.02% Castro::do_advance_ctu() 10 0.000172 0.000172 0.000172 0.02% Castro::advance() 10 0.0001617 0.0001617 0.0001617 0.02% Gravity::solve_for_phi() 10 0.0001575 0.0001575 0.0001575 0.02% StateData::checkPoint() 12 0.0001377 0.0001377 0.0001377 0.02% Castro::finalize_do_advance() 10 0.0001193 0.0001193 0.0001193 0.01% MLMG:computeResOfCorrection() 410 0.0001169 0.0001169 0.0001169 0.01% MLMG::mgVcycle_down::0 82 9.463e-05 9.463e-05 9.463e-05 0.01% Castro::initialize_advance() 10 9.11e-05 9.11e-05 9.11e-05 0.01% Castro::initialize_do_advance() 10 8.725e-05 8.725e-05 8.725e-05 0.01% MLMG::mgVcycle_down::1 82 8.709e-05 8.709e-05 8.709e-05 0.01% Castro::construct_old_source() 50 8.64e-05 8.64e-05 8.64e-05 0.01% MLMG::mgVcycle_down::2 82 8.581e-05 8.581e-05 8.581e-05 0.01% MLMG::actualBottomSolve() 82 8.496e-05 8.496e-05 8.496e-05 0.01% MLMG::solve() 11 8.458e-05 8.458e-05 8.458e-05 0.01% MLMG::mgVcycle_down::3 82 8.351e-05 8.351e-05 8.351e-05 0.01% MLMG::mgVcycle_down::4 82 8.221e-05 8.221e-05 8.221e-05 0.01% Castro::do_new_sources() 10 7.464e-05 7.464e-05 7.464e-05 0.01% AmrLevel::checkPoint() 3 7.211e-05 7.211e-05 7.211e-05 0.01% Castro::clean_state() 62 7.17e-05 7.17e-05 7.17e-05 0.01% MLMG::mgVcycle_up::4 82 5.948e-05 5.948e-05 5.948e-05 0.01% MLMG::oneIter() 82 5.899e-05 5.899e-05 5.899e-05 0.01% MLMG::mgVcycle_up::1 82 5.474e-05 5.474e-05 5.474e-05 0.01% MLMG::mgVcycle_up::3 82 5.453e-05 5.453e-05 5.453e-05 0.01% MLMG::mgVcycle_up::2 82 5.418e-05 5.418e-05 5.418e-05 0.01% MLMG::mgVcycle_up::0 82 5.294e-05 5.294e-05 5.294e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.937e-05 4.937e-05 4.937e-05 0.01% MLCellLinOp::solutionResidual() 93 4.817e-05 4.817e-05 4.817e-05 0.01% FillPatchSingleLevel 41 3.931e-05 3.931e-05 3.931e-05 0.00% MLMG::mgVcycle_bottom 82 3.464e-05 3.464e-05 3.464e-05 0.00% Amr::defBaseLevel() 1 3.359e-05 3.359e-05 3.359e-05 0.00% MLMG::computeResidual() 82 3.223e-05 3.223e-05 3.223e-05 0.00% MLMG::ResNormInf() 93 3.221e-05 3.221e-05 3.221e-05 0.00% MLPoisson::define() 11 2.674e-05 2.674e-05 2.674e-05 0.00% Castro::construct_new_gravity() 10 2.643e-05 2.643e-05 2.643e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.379e-05 2.379e-05 2.379e-05 0.00% Castro::do_old_sources() 10 2.272e-05 2.272e-05 2.272e-05 0.00% Amr::FinalizeInit() 1 1.849e-05 1.849e-05 1.849e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.691e-05 1.691e-05 1.691e-05 0.00% Castro::construct_old_gravity() 10 1.369e-05 1.369e-05 1.369e-05 0.00% Castro::computeNewDt() 9 1.346e-05 1.346e-05 1.346e-05 0.00% MLPoisson::prepareForSolve() 11 1.254e-05 1.254e-05 1.254e-05 0.00% Castro::check_for_nan() 20 1.231e-05 1.231e-05 1.231e-05 0.00% Castro::apply_source_to_state() 20 1.222e-05 1.222e-05 1.222e-05 0.00% MLMG::computeMLResidual() 11 1.169e-05 1.169e-05 1.169e-05 0.00% Castro::post_init() 1 9.718e-06 9.718e-06 9.718e-06 0.00% Castro::post_timestep() 10 8.427e-06 8.427e-06 8.427e-06 0.00% Gravity::actual_multilevel_solve() 1 8.275e-06 8.275e-06 8.275e-06 0.00% Amr::InitializeInit() 1 6.037e-06 6.037e-06 6.037e-06 0.00% Castro::expand_state() 10 5.965e-06 5.965e-06 5.965e-06 0.00% MLMG::getGradSolution() 11 5.859e-06 5.859e-06 5.859e-06 0.00% Amr::init() 1 2.614e-06 2.614e-06 2.614e-06 0.00% Amr::initialInit() 1 1.158e-06 1.158e-06 1.158e-06 0.00% Other 4815 0.003246 0.003246 0.003246 0.36% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9109 0.9109 0.9109 100.00% Amr::coarseTimeStep() 10 0.7581 0.7581 0.7581 83.22% Amr::timeStep() 10 0.6393 0.6393 0.6393 70.19% Castro::advance() 10 0.63 0.63 0.63 69.16% Castro::subcycle_advance_ctu() 10 0.6159 0.6159 0.6159 67.61% Castro::do_advance_ctu() 10 0.6143 0.6143 0.6143 67.44% Gravity::solve_phi_with_mlmg() 11 0.2998 0.2998 0.2998 32.91% Gravity::actual_solve_with_mlmg() 11 0.2919 0.2919 0.2919 32.04% Castro::construct_new_gravity() 10 0.2728 0.2728 0.2728 29.95% MLMG::solve() 11 0.2697 0.2697 0.2697 29.61% Castro::construct_ctu_hydro_source() 10 0.2614 0.2614 0.2614 28.70% Gravity::solve_for_phi() 10 0.2557 0.2557 0.2557 28.07% MLMG::oneIter() 82 0.2538 0.2538 0.2538 27.87% MLMG::mgVcycle() 82 0.25 0.25 0.25 27.45% VisMF::Write(FabArray) 11 0.1906 0.1906 0.1906 20.93% Amr::checkPoint() 3 0.1632 0.1632 0.1632 17.91% AmrLevel::checkPoint() 3 0.1408 0.1408 0.1408 15.46% StateData::checkPoint() 12 0.1408 0.1408 0.1408 15.45% MLCellLinOp::smooth() 1640 0.126 0.126 0.126 13.83% Amr::init() 1 0.1259 0.1259 0.1259 13.82% MLCellLinOp::applyBC() 4351 0.1172 0.1172 0.1172 12.87% MLMG::mgVcycle_bottom 82 0.07388 0.07388 0.07388 8.11% MLMG::actualBottomSolve() 82 0.07384 0.07384 0.07384 8.11% MLCGSolver::bicgstab 82 0.07301 0.07301 0.07301 8.02% Castro::clean_state() 62 0.06142 0.06142 0.06142 6.74% Amr::writePlotFile() 2 0.05237 0.05237 0.05237 5.75% Amr::initialInit() 1 0.0522 0.0522 0.0522 5.73% AmrLevel::FillPatch() 41 0.04941 0.04941 0.04941 5.42% Amr::FinalizeInit() 1 0.04776 0.04776 0.04776 5.24% Castro::post_init() 1 0.04688 0.04688 0.04688 5.15% FillPatchIterator::Initialize 41 0.04509 0.04509 0.04509 4.95% Gravity::multilevel_solve_for_new_phi() 1 0.0446 0.0446 0.0446 4.90% Gravity::actual_multilevel_solve() 1 0.04458 0.04458 0.04458 4.89% FillPatchIterator::FillFromLevel0() 41 0.04348 0.04348 0.04348 4.77% FillPatchSingleLevel 41 0.04343 0.04343 0.04343 4.77% StateDataPhysBCFunct::() 41 0.03923 0.03923 0.03923 4.31% Castro::computeTemp() 63 0.0378 0.0378 0.0378 4.15% MLCellLinOp::apply() 1060 0.03729 0.03729 0.03729 4.09% MLMG::mgVcycle_down::0 82 0.03627 0.03627 0.03627 3.98% FabArray::FillBoundary() 3941 0.03481 0.03481 0.03481 3.82% MLPoisson::Fsmooth() 3280 0.03433 0.03433 0.03433 3.77% FillBoundary_nowait() 3941 0.03403 0.03403 0.03403 3.74% MLMG::mgVcycle_up::0 82 0.02767 0.02767 0.02767 3.04% StateData::FillBoundary(geom) 328 0.02586 0.02586 0.02586 2.84% Castro::initialize_do_advance() 10 0.02406 0.02406 0.02406 2.64% amrex::Dot() 1114 0.02164 0.02164 0.02164 2.38% Castro::do_old_sources() 10 0.02104 0.02104 0.02104 2.31% MLMG:computeResOfCorrection() 410 0.02102 0.02102 0.02102 2.31% Castro::reset_internal_energy(MultiFab) 63 0.02093 0.02093 0.02093 2.30% MLCellLinOp::correctionResidual() 410 0.0209 0.0209 0.0209 2.29% FabArray::norminf() 1061 0.02016 0.02016 0.02016 2.21% Gravity::get_new_grav_vector() 11 0.01899 0.01899 0.01899 2.08% MLPoisson::define() 11 0.01741 0.01741 0.01741 1.91% MLMG::mgVcycle_down::1 82 0.017 0.017 0.017 1.87% Castro::construct_old_gravity() 10 0.01606 0.01606 0.01606 1.76% Gravity::get_old_grav_vector() 10 0.01605 0.01605 0.01605 1.76% MLMG::mgVcycle_down::2 82 0.01581 0.01581 0.01581 1.74% Castro::do_new_sources() 10 0.01547 0.01547 0.01547 1.70% MLMG::mgVcycle_down::3 82 0.01541 0.01541 0.01541 1.69% MLMG::mgVcycle_down::4 82 0.01527 0.01527 0.01527 1.68% FabArray::ParallelCopy() 861 0.01485 0.01485 0.01485 1.63% FabArray::ParallelCopy_nowait() 861 0.01461 0.01461 0.01461 1.60% FabArray::setVal() 1062 0.01365 0.01365 0.01365 1.50% FabArray::Saxpy() 1370 0.01329 0.01329 0.01329 1.46% Castro::initialize_advance() 10 0.01326 0.01326 0.01326 1.46% MLCGSolver::ParallelAllReduce 1832 0.01297 0.01297 0.01297 1.42% Castro::normalize_species() 62 0.01275 0.01275 0.01275 1.40% MLMG::addInterpCorrection() 410 0.01249 0.01249 0.01249 1.37% MLMG::mgVcycle_up::1 82 0.01232 0.01232 0.01232 1.35% MLMG::mgVcycle_up::4 82 0.01223 0.01223 0.01223 1.34% MLMG::mgVcycle_up::2 82 0.0122 0.0122 0.0122 1.34% MLCellLinOp::defineAuxData() 11 0.0119 0.0119 0.0119 1.31% amrex::average_down 410 0.01177 0.01177 0.01177 1.29% MLMG::mgVcycle_up::3 82 0.01175 0.01175 0.01175 1.29% Castro::expand_state() 10 0.01147 0.01147 0.01147 1.26% Castro::enforce_min_density() 62 0.01125 0.01125 0.01125 1.24% amrex::Copy() 472 0.01108 0.01108 0.01108 1.22% MLPoisson::Fapply() 1060 0.0105 0.0105 0.0105 1.15% Castro::post_timestep() 10 0.009182 0.009182 0.009182 1.01% MLCellLinOp::solutionResidual() 93 0.008005 0.008005 0.008005 0.88% FabArray::Xpay() 739 0.007982 0.007982 0.007982 0.88% Gravity::fill_multipole_BCs() 11 0.007673 0.007673 0.007673 0.84% MLMG::computeResidual() 82 0.006721 0.006721 0.006721 0.74% MLCellLinOp::defineBC() 11 0.00524 0.00524 0.00524 0.58% MLMG::prepareForSolve() 11 0.005222 0.005222 0.005222 0.57% Castro::estTimeStep() 21 0.00512 0.00512 0.00512 0.56% BndryData::define() 11 0.004967 0.004967 0.004967 0.55% Amr::InitializeInit() 1 0.00444 0.00444 0.00444 0.49% Amr::defBaseLevel() 1 0.004434 0.004434 0.004434 0.49% amrex::Add() 82 0.003774 0.003774 0.003774 0.41% Castro::initData() 1 0.003757 0.003757 0.003757 0.41% Castro::construct_new_source() 50 0.003715 0.003715 0.003715 0.41% Castro::construct_new_gravity_source() 10 0.00343 0.00343 0.00343 0.38% Castro::reset_internal_energy(Fab) 504 0.002938 0.002938 0.002938 0.32% Castro::construct_old_source() 50 0.002911 0.002911 0.002911 0.32% Castro::construct_old_gravity_source() 10 0.002825 0.002825 0.002825 0.31% Castro::finalize_do_advance() 10 0.002344 0.002344 0.002344 0.26% MLMG::ResNormInf() 93 0.002236 0.002236 0.002236 0.25% Castro::computeNewDt() 9 0.002182 0.002182 0.002182 0.24% Castro::apply_source_to_state() 20 0.001896 0.001896 0.001896 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001797 0.001797 0.001797 0.20% check_for_negative_density() 10 0.001646 0.001646 0.001646 0.18% MLMG::getGradSolution() 11 0.001633 0.001633 0.001633 0.18% MLCellLinOp::compGrad() 11 0.001627 0.001627 0.001627 0.18% MLCellLinOp::setLevelBC() 11 0.001608 0.001608 0.001608 0.18% FabArrayBase::getCPC() 1323 0.001548 0.001548 0.001548 0.17% FabArray::mult() 43 0.001415 0.001415 0.001415 0.16% FabArray::setDomainBndry() 41 0.001391 0.001391 0.001391 0.15% MLPoisson::prepareForSolve() 11 0.001338 0.001338 0.001338 0.15% MLMG::computeMLResidual() 11 0.001327 0.001327 0.001327 0.15% MLCellLinOp::prepareForSolve() 11 0.001325 0.001325 0.001325 0.15% Castro::check_for_nan() 20 0.001319 0.001319 0.001319 0.14% MultiFab::contains_nan() 20 0.001306 0.001306 0.001306 0.14% Other 4815 0.00838 0.00838 0.00838 0.92% -------------------------------------------------------------------------------------------- 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 5903 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 1029 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1615 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7609 KiB 14 MiB MLMG::prepareForSolve() 660 660 3642 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 216 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 180 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7528 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 13 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2238 B 2048 KiB Gravity::solve_for_phi() 80 80 574 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 100 KiB 2048 KiB BndryData::define() 1056 1056 332 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 211 KiB 671 KiB Castro::estTimeStep() 21 21 2711 B 480 KiB VisMF::Write(FabArray) 656 656 3497 B 320 KiB Castro::normalize_species() 62 62 4552 B 320 KiB amrex::average_down 1067 1067 1620 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1181 B 257 KiB amrex::Dot() 1360 1360 3516 B 160 KiB FabArray::norminf() 1143 1143 3423 B 160 KiB check_for_negative_density() 10 10 289 B 160 KiB Castro::initData() 1 1 53 B 160 KiB MultiFab::max() 11 11 58 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3556 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 319 B 9648 B MLCellLinOp::applyBC() 8702 8702 226 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3925 B 6144 B StateData::FillBoundary(geom) 1992 1992 50 B 3168 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 375 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 660 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 40 KiB 8192 KiB VisMF::Write(FabArray) 744 744 442 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3556 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 319 B 9648 B MLCellLinOp::applyBC() 4351 4351 224 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3925 B 6144 B StateData::FillBoundary(geom) 1992 1992 50 B 3168 B Gravity::get_new_grav_vector() 3 3 2898 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 303 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): 2109 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.07-21-gcdacc4d908e0) finalized Initializing AMReX (24.07-21-gcdacc4d908e0)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.07-21-gcdacc4d908e0) initialized Starting run at 08:13:33 UTC on 2024-07-19. Successfully read inputs file ... Castro git describe: 24.07-16-g39a7704b4 AMReX git describe: 24.07-21-gcdacc4d90 Microphysics git describe: 24.07-25-g83817c08 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.498693901 Restart time = 0.071610069 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.067146276 [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.051504232 [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.059833012 [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.072820247 [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.069592292 [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.028515827 seconds Ending run at 08:13:34 UTC on 2024-07-19. Run time = 0.421985237 Run time without initialization = 0.349828413 Average number of zones advanced per microsecond: 3.747 Average number of zones advanced per microsecond per rank: 3.747 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.422 ... 0.422 ... 0.422 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1198 0.1198 0.1198 28.40% VisMF::Read() 3 0.06027 0.06027 0.06027 14.28% MLCellLinOp::applyBC() 1910 0.03694 0.03694 0.03694 8.75% VisMF::Write(FabArray) 1 0.02603 0.02603 0.02603 6.17% MLPoisson::Fsmooth() 1440 0.01537 0.01537 0.01537 3.64% FillBoundary_nowait() 1730 0.01496 0.01496 0.01496 3.55% StateData::FillBoundary(geom) 160 0.01309 0.01309 0.01309 3.10% Castro::reset_internal_energy(MultiFab) 30 0.009787 0.009787 0.009787 2.32% amrex::Dot() 484 0.009379 0.009379 0.009379 2.22% FabArray::norminf() 465 0.00888 0.00888 0.00888 2.10% Castro::computeTemp() 30 0.007794 0.007794 0.007794 1.85% Castro::normalize_species() 30 0.007118 0.007118 0.007118 1.69% FabArray::setVal() 501 0.006746 0.006746 0.006746 1.60% FabArray::ParallelCopy_nowait() 380 0.006283 0.006283 0.006283 1.49% FabArray::Saxpy() 597 0.005929 0.005929 0.005929 1.41% MLCellLinOp::defineAuxData() 6 0.005702 0.005702 0.005702 1.35% amrex::Copy() 221 0.005583 0.005583 0.005583 1.32% StateDataPhysBCFunct::() 20 0.005321 0.005321 0.005321 1.26% Amr::restart() 1 0.005001 0.005001 0.005001 1.19% Castro::enforce_min_density() 30 0.004976 0.004976 0.004976 1.18% MLPoisson::Fapply() 464 0.004659 0.004659 0.004659 1.10% Gravity::fill_multipole_BCs() 6 0.004304 0.004304 0.004304 1.02% FabArray::Xpay() 325 0.003546 0.003546 0.003546 0.84% MLMG::addInterpCorrection() 180 0.003245 0.003245 0.003245 0.77% Castro::estTimeStep() 10 0.002996 0.002996 0.002996 0.71% amrex::average_down 180 0.002875 0.002875 0.002875 0.68% Amr::writePlotFile() 1 0.002311 0.002311 0.002311 0.55% BndryData::define() 6 0.002166 0.002166 0.002166 0.51% Castro::construct_new_gravity_source() 5 0.001901 0.001901 0.001901 0.45% amrex::Add() 36 0.001641 0.001641 0.001641 0.39% Castro::construct_old_gravity_source() 5 0.001447 0.001447 0.001447 0.34% Castro::reset_internal_energy(Fab) 240 0.001176 0.001176 0.001176 0.28% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009951 0.0009951 0.0009951 0.24% MLCellLinOp::setLevelBC() 6 0.000899 0.000899 0.000899 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008368 0.0008368 0.0008368 0.20% MLCellLinOp::prepareForSolve() 6 0.0007699 0.0007699 0.0007699 0.18% MLCGSolver::bicgstab 36 0.0007428 0.0007428 0.0007428 0.18% FabArray::mult() 22 0.0007096 0.0007096 0.0007096 0.17% FabArray::setDomainBndry() 20 0.0006946 0.0006946 0.0006946 0.16% MultiFab::contains_nan() 10 0.0006669 0.0006669 0.0006669 0.16% MLCellLinOp::compGrad() 6 0.0006156 0.0006156 0.0006156 0.15% MLMG::prepareForSolve() 6 0.0005701 0.0005701 0.0005701 0.14% MLCellLinOp::smooth() 720 0.0005573 0.0005573 0.0005573 0.13% FabArrayBase::getCPC() 632 0.0004037 0.0004037 0.0004037 0.10% FabArray::FillBoundary() 1730 0.0003504 0.0003504 0.0003504 0.08% Gravity::get_old_grav_vector() 5 0.0003002 0.0003002 0.0003002 0.07% main() 1 0.000272 0.000272 0.000272 0.06% Gravity::get_new_grav_vector() 5 0.0002362 0.0002362 0.0002362 0.06% AmrLevel::FillPatch() 20 0.0002042 0.0002042 0.0002042 0.05% MLCellLinOp::apply() 464 0.000192 0.000192 0.000192 0.05% Amr::coarseTimeStep() 5 0.0001559 0.0001559 0.0001559 0.04% MLCellLinOp::defineBC() 6 0.0001484 0.0001484 0.0001484 0.04% MLCGSolver::ParallelAllReduce 798 0.0001422 0.0001422 0.0001422 0.03% FabArray::ParallelCopy() 380 0.0001146 0.0001146 0.0001146 0.03% FillPatchIterator::Initialize 20 0.0001074 0.0001074 0.0001074 0.03% MLMG::mgVcycle() 36 8.795e-05 8.795e-05 8.795e-05 0.02% Amr::timeStep() 5 8.59e-05 8.59e-05 8.59e-05 0.02% Castro::construct_new_source() 25 8.518e-05 8.518e-05 8.518e-05 0.02% Castro::do_advance_ctu() 5 8.274e-05 8.274e-05 8.274e-05 0.02% Castro::subcycle_advance_ctu() 5 8.014e-05 8.014e-05 8.014e-05 0.02% AmrLevel::restart() 1 7.22e-05 7.22e-05 7.22e-05 0.02% MLCellLinOp::correctionResidual() 180 7.101e-05 7.101e-05 7.101e-05 0.02% Gravity::update_max_rhs() 6 6.741e-05 6.741e-05 6.741e-05 0.02% StateData::restartDoit() 4 6.512e-05 6.512e-05 6.512e-05 0.02% Castro::finalize_do_advance() 5 5.263e-05 5.263e-05 5.263e-05 0.01% Gravity::solve_for_phi() 5 5.016e-05 5.016e-05 5.016e-05 0.01% MLMG:computeResOfCorrection() 180 4.92e-05 4.92e-05 4.92e-05 0.01% MLMG::mgVcycle_down::0 36 4.255e-05 4.255e-05 4.255e-05 0.01% MLMG::actualBottomSolve() 36 3.798e-05 3.798e-05 3.798e-05 0.01% Castro::initialize_advance() 5 3.646e-05 3.646e-05 3.646e-05 0.01% MLMG::solve() 6 3.559e-05 3.559e-05 3.559e-05 0.01% MLMG::mgVcycle_down::1 36 3.408e-05 3.408e-05 3.408e-05 0.01% MLMG::mgVcycle_down::2 36 3.247e-05 3.247e-05 3.247e-05 0.01% MLMG::mgVcycle_down::4 36 3.065e-05 3.065e-05 3.065e-05 0.01% Castro::clean_state() 30 3.036e-05 3.036e-05 3.036e-05 0.01% MLMG::mgVcycle_down::3 36 2.965e-05 2.965e-05 2.965e-05 0.01% Castro::initialize_do_advance() 5 2.899e-05 2.899e-05 2.899e-05 0.01% Castro::post_restart() 1 2.843e-05 2.843e-05 2.843e-05 0.01% MLMG::mgVcycle_up::4 36 2.629e-05 2.629e-05 2.629e-05 0.01% MLMG::oneIter() 36 2.628e-05 2.628e-05 2.628e-05 0.01% MLMG::mgVcycle_up::3 36 2.329e-05 2.329e-05 2.329e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.178e-05 2.178e-05 2.178e-05 0.01% MLCellLinOp::solutionResidual() 42 2.173e-05 2.173e-05 2.173e-05 0.01% MLMG::mgVcycle_up::2 36 2.096e-05 2.096e-05 2.096e-05 0.00% MLMG::mgVcycle_up::0 36 2.063e-05 2.063e-05 2.063e-05 0.00% MLMG::mgVcycle_up::1 36 2.04e-05 2.04e-05 2.04e-05 0.00% MLPoisson::define() 6 1.896e-05 1.896e-05 1.896e-05 0.00% MLMG::ResNormInf() 42 1.762e-05 1.762e-05 1.762e-05 0.00% FillPatchSingleLevel 20 1.657e-05 1.657e-05 1.657e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.619e-05 1.619e-05 1.619e-05 0.00% MLMG::mgVcycle_bottom 36 1.576e-05 1.576e-05 1.576e-05 0.00% MLMG::computeResidual() 36 1.418e-05 1.418e-05 1.418e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.397e-05 1.397e-05 1.397e-05 0.00% Castro::advance() 5 1.341e-05 1.341e-05 1.341e-05 0.00% Castro::construct_new_gravity() 5 1.289e-05 1.289e-05 1.289e-05 0.00% Castro::do_old_sources() 5 1.129e-05 1.129e-05 1.129e-05 0.00% MLPoisson::prepareForSolve() 6 1.032e-05 1.032e-05 1.032e-05 0.00% Castro::construct_old_source() 25 1.012e-05 1.012e-05 1.012e-05 0.00% Castro::do_new_sources() 5 9.783e-06 9.783e-06 9.783e-06 0.00% Castro::expand_state() 5 9.659e-06 9.659e-06 9.659e-06 0.00% Gravity::actual_multilevel_solve() 1 8.746e-06 8.746e-06 8.746e-06 0.00% Castro::apply_source_to_state() 10 6.55e-06 6.55e-06 6.55e-06 0.00% Castro::construct_old_gravity() 5 6.107e-06 6.107e-06 6.107e-06 0.00% Castro::check_for_nan() 10 5.831e-06 5.831e-06 5.831e-06 0.00% Castro::post_timestep() 5 4.599e-06 4.599e-06 4.599e-06 0.00% MLMG::computeMLResidual() 6 4.317e-06 4.317e-06 4.317e-06 0.00% Castro::computeNewDt() 5 3.404e-06 3.404e-06 3.404e-06 0.00% MLMG::getGradSolution() 6 3.124e-06 3.124e-06 3.124e-06 0.00% Amr::init() 1 1.08e-06 1.08e-06 1.08e-06 0.00% Other 2185 0.002404 0.002404 0.002404 0.57% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.422 0.422 0.422 100.00% Amr::coarseTimeStep() 5 0.321 0.321 0.321 76.07% Amr::timeStep() 5 0.3194 0.3194 0.3194 75.68% Castro::advance() 5 0.3138 0.3138 0.3138 74.36% Castro::subcycle_advance_ctu() 5 0.3053 0.3053 0.3053 72.34% Castro::do_advance_ctu() 5 0.3052 0.3052 0.3052 72.32% Castro::construct_new_gravity() 5 0.1403 0.1403 0.1403 33.25% Gravity::solve_phi_with_mlmg() 6 0.1374 0.1374 0.1374 32.56% Gravity::actual_solve_with_mlmg() 6 0.1328 0.1328 0.1328 31.47% Gravity::solve_for_phi() 5 0.1322 0.1322 0.1322 31.31% Castro::construct_ctu_hydro_source() 5 0.1255 0.1255 0.1255 29.73% MLMG::solve() 6 0.1206 0.1206 0.1206 28.57% MLMG::oneIter() 36 0.1125 0.1125 0.1125 26.67% MLMG::mgVcycle() 36 0.1109 0.1109 0.1109 26.27% Amr::init() 1 0.07165 0.07165 0.07165 16.98% Amr::restart() 1 0.07165 0.07165 0.07165 16.98% AmrLevel::restart() 1 0.06062 0.06062 0.06062 14.36% StateData::restartDoit() 4 0.06054 0.06054 0.06054 14.35% VisMF::Read() 3 0.06027 0.06027 0.06027 14.28% MLCellLinOp::smooth() 720 0.05622 0.05622 0.05622 13.32% MLCellLinOp::applyBC() 1910 0.05258 0.05258 0.05258 12.46% MLMG::mgVcycle_bottom 36 0.03224 0.03224 0.03224 7.64% MLMG::actualBottomSolve() 36 0.03223 0.03223 0.03223 7.64% MLCGSolver::bicgstab 36 0.03185 0.03185 0.03185 7.55% Castro::clean_state() 30 0.03093 0.03093 0.03093 7.33% Amr::writePlotFile() 1 0.0286 0.0286 0.0286 6.78% VisMF::Write(FabArray) 1 0.02603 0.02603 0.02603 6.17% AmrLevel::FillPatch() 20 0.02344 0.02344 0.02344 5.56% FillPatchIterator::Initialize 20 0.02132 0.02132 0.02132 5.05% FillPatchIterator::FillFromLevel0() 20 0.02051 0.02051 0.02051 4.86% FillPatchSingleLevel 20 0.02049 0.02049 0.02049 4.86% Castro::computeTemp() 30 0.01876 0.01876 0.01876 4.44% StateDataPhysBCFunct::() 20 0.01841 0.01841 0.01841 4.36% MLCellLinOp::apply() 464 0.01684 0.01684 0.01684 3.99% MLMG::mgVcycle_down::0 36 0.01649 0.01649 0.01649 3.91% FabArray::FillBoundary() 1730 0.01564 0.01564 0.01564 3.71% MLPoisson::Fsmooth() 1440 0.01537 0.01537 0.01537 3.64% FillBoundary_nowait() 1730 0.01529 0.01529 0.01529 3.62% StateData::FillBoundary(geom) 160 0.01309 0.01309 0.01309 3.10% MLMG::mgVcycle_up::0 36 0.01228 0.01228 0.01228 2.91% Castro::initialize_do_advance() 5 0.01159 0.01159 0.01159 2.75% Castro::reset_internal_energy(MultiFab) 30 0.01096 0.01096 0.01096 2.60% Castro::do_old_sources() 5 0.01001 0.01001 0.01001 2.37% MLPoisson::define() 6 0.009591 0.009591 0.009591 2.27% MLMG:computeResOfCorrection() 180 0.009408 0.009408 0.009408 2.23% amrex::Dot() 484 0.009379 0.009379 0.009379 2.22% MLCellLinOp::correctionResidual() 180 0.009358 0.009358 0.009358 2.22% FabArray::norminf() 465 0.00888 0.00888 0.00888 2.10% Castro::initialize_advance() 5 0.00819 0.00819 0.00819 1.94% Gravity::get_new_grav_vector() 5 0.008021 0.008021 0.008021 1.90% Castro::construct_old_gravity() 5 0.007875 0.007875 0.007875 1.87% Gravity::get_old_grav_vector() 5 0.007869 0.007869 0.007869 1.86% Castro::do_new_sources() 5 0.007859 0.007859 0.007859 1.86% MLMG::mgVcycle_down::1 36 0.007652 0.007652 0.007652 1.81% Castro::normalize_species() 30 0.007118 0.007118 0.007118 1.69% MLMG::mgVcycle_down::2 36 0.007017 0.007017 0.007017 1.66% MLMG::mgVcycle_down::3 36 0.006845 0.006845 0.006845 1.62% FabArray::ParallelCopy() 380 0.006818 0.006818 0.006818 1.62% MLMG::mgVcycle_down::4 36 0.006748 0.006748 0.006748 1.60% FabArray::setVal() 501 0.006746 0.006746 0.006746 1.60% FabArray::ParallelCopy_nowait() 380 0.006703 0.006703 0.006703 1.59% MLCellLinOp::defineAuxData() 6 0.006509 0.006509 0.006509 1.54% Castro::expand_state() 5 0.006161 0.006161 0.006161 1.46% FabArray::Saxpy() 597 0.005929 0.005929 0.005929 1.41% Castro::post_restart() 1 0.005847 0.005847 0.005847 1.39% MLCGSolver::ParallelAllReduce 798 0.005675 0.005675 0.005675 1.34% MLMG::addInterpCorrection() 180 0.005616 0.005616 0.005616 1.33% amrex::Copy() 221 0.005583 0.005583 0.005583 1.32% Castro::post_timestep() 5 0.005495 0.005495 0.005495 1.30% MLMG::mgVcycle_up::1 36 0.00549 0.00549 0.00549 1.30% Gravity::multilevel_solve_for_new_phi() 1 0.005471 0.005471 0.005471 1.30% MLMG::mgVcycle_up::4 36 0.00546 0.00546 0.00546 1.29% Gravity::actual_multilevel_solve() 1 0.005455 0.005455 0.005455 1.29% MLMG::mgVcycle_up::2 36 0.005342 0.005342 0.005342 1.27% amrex::average_down 180 0.005259 0.005259 0.005259 1.25% MLMG::mgVcycle_up::3 36 0.005231 0.005231 0.005231 1.24% Castro::enforce_min_density() 30 0.004976 0.004976 0.004976 1.18% MLPoisson::Fapply() 464 0.004659 0.004659 0.004659 1.10% Gravity::fill_multipole_BCs() 6 0.004445 0.004445 0.004445 1.05% MLCellLinOp::solutionResidual() 42 0.003811 0.003811 0.003811 0.90% FabArray::Xpay() 325 0.003546 0.003546 0.003546 0.84% Castro::estTimeStep() 10 0.002996 0.002996 0.002996 0.71% MLMG::computeResidual() 36 0.002977 0.002977 0.002977 0.71% MLMG::prepareForSolve() 6 0.002972 0.002972 0.002972 0.70% MLCellLinOp::defineBC() 6 0.002911 0.002911 0.002911 0.69% BndryData::define() 6 0.002763 0.002763 0.002763 0.65% Castro::construct_new_source() 25 0.001986 0.001986 0.001986 0.47% Castro::construct_new_gravity_source() 5 0.001901 0.001901 0.001901 0.45% amrex::Add() 36 0.001641 0.001641 0.001641 0.39% Castro::finalize_do_advance() 5 0.001545 0.001545 0.001545 0.37% Castro::computeNewDt() 5 0.001507 0.001507 0.001507 0.36% Castro::construct_old_source() 25 0.001457 0.001457 0.001457 0.35% Castro::construct_old_gravity_source() 5 0.001447 0.001447 0.001447 0.34% Castro::reset_internal_energy(Fab) 240 0.001176 0.001176 0.001176 0.28% MLMG::ResNormInf() 42 0.001053 0.001053 0.001053 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009951 0.0009951 0.0009951 0.24% Castro::apply_source_to_state() 10 0.0009716 0.0009716 0.0009716 0.23% MLMG::getGradSolution() 6 0.0009187 0.0009187 0.0009187 0.22% MLCellLinOp::compGrad() 6 0.0009156 0.0009156 0.0009156 0.22% MLCellLinOp::setLevelBC() 6 0.000899 0.000899 0.000899 0.21% MLMG::computeMLResidual() 6 0.0008522 0.0008522 0.0008522 0.20% FabArrayBase::getCPC() 632 0.0008286 0.0008286 0.0008286 0.20% MLPoisson::prepareForSolve() 6 0.0007802 0.0007802 0.0007802 0.18% MLCellLinOp::prepareForSolve() 6 0.0007699 0.0007699 0.0007699 0.18% Gravity::update_max_rhs() 6 0.0007351 0.0007351 0.0007351 0.17% FabArray::mult() 22 0.0007096 0.0007096 0.0007096 0.17% FabArray::setDomainBndry() 20 0.0006946 0.0006946 0.0006946 0.16% Castro::check_for_nan() 10 0.0006727 0.0006727 0.0006727 0.16% MultiFab::contains_nan() 10 0.0006669 0.0006669 0.0006669 0.16% Other 2185 0.00368 0.00368 0.00368 0.87% -------------------------------------------------------------------------------------------- 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 1105 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1819 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 6390 KiB 14 MiB MLMG::prepareForSolve() 361 361 3507 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 193 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 194 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6376 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 16 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3470 B 2048 KiB Gravity::solve_for_phi() 40 40 640 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 323 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 207 KiB 671 KiB Castro::estTimeStep() 10 10 3330 B 480 KiB VisMF::Write(FabArray) 112 112 1356 B 320 KiB Castro::normalize_species() 30 30 5485 B 320 KiB amrex::average_down 469 469 1448 B 257 KiB MLMG::addInterpCorrection() 468 468 1134 B 257 KiB amrex::Dot() 592 592 3280 B 160 KiB FabArray::norminf() 501 501 3255 B 160 KiB check_for_negative_density() 5 5 249 B 160 KiB MultiFab::max() 6 6 81 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3399 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 308 B 9648 B MLCellLinOp::applyBC() 3820 3820 219 B 9344 B amrex::Copy() 56 56 5864 B 8816 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 41 B 2592 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCellLinOp::defineBC() 36 36 363 B 1248 B MLCGSolver::bicgstab 180 180 91 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1516 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 86 KiB 8192 KiB VisMF::Write(FabArray) 120 120 174 KiB 3584 KiB VisMF::Read() 24 24 215 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3399 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 308 B 9648 B MLCellLinOp::applyBC() 1910 1910 217 B 9328 B amrex::Copy() 56 56 5864 B 8816 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2504 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B StateData::FillBoundary(geom) 960 960 41 B 2592 B MLMG::prepareForSolve() 7 7 811 B 1648 B amrex::average_down 37 37 461 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 24 B 400 B FabArray::norminf() 501 501 9 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2109 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.07-21-gcdacc4d908e0) finalized