Initializing AMReX (24.07-16-gdcb9cc0383dc)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.07-16-gdcb9cc0383dc) initialized Starting run at 07:31:22 UTC on 2024-07-12. Successfully read inputs file ... Castro git describe: 24.07-12-g8b289c118 AMReX git describe: 24.07-16-gdcb9cc038 Microphysics git describe: 24.07-13-g963ff003 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.048105816 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.026781234 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.070357974 [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.063131768 [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.063666272 [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.077153087 [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.083932231 [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.047529417 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.065662108 [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.058818931 [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.061226983 [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.076126716 [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.080863797 [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.045962722 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.026041781 seconds Ending run at 07:31:23 UTC on 2024-07-12. Run time = 0.952912221 Run time without initialization = 0.82116511 Average number of zones advanced per microsecond: 3.192 Average number of zones advanced per microsecond per rank: 3.192 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9529 ... 0.9529 ... 0.9529 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2677 0.2677 0.2677 28.09% VisMF::Write(FabArray) 11 0.1863 0.1863 0.1863 19.55% MLCellLinOp::applyBC() 4351 0.09083 0.09083 0.09083 9.53% StateData::FillBoundary(geom) 328 0.04854 0.04854 0.04854 5.09% FillBoundary_nowait() 3941 0.0401 0.0401 0.0401 4.21% MLPoisson::Fsmooth() 3280 0.03723 0.03723 0.03723 3.91% amrex::Dot() 1114 0.02344 0.02344 0.02344 2.46% FabArray::norminf() 1061 0.02133 0.02133 0.02133 2.24% Castro::computeTemp() 63 0.0175 0.0175 0.0175 1.84% Castro::reset_internal_energy(MultiFab) 63 0.0169 0.0169 0.0169 1.77% FabArray::ParallelCopy_nowait() 861 0.01509 0.01509 0.01509 1.58% FabArray::setVal() 1062 0.0145 0.0145 0.0145 1.52% FabArray::Saxpy() 1370 0.01422 0.01422 0.01422 1.49% Castro::normalize_species() 62 0.01249 0.01249 0.01249 1.31% amrex::Copy() 472 0.01157 0.01157 0.01157 1.21% MLCellLinOp::defineAuxData() 11 0.01133 0.01133 0.01133 1.19% MLPoisson::Fapply() 1060 0.01127 0.01127 0.01127 1.18% Castro::enforce_min_density() 62 0.01002 0.01002 0.01002 1.05% FabArray::Xpay() 739 0.008467 0.008467 0.008467 0.89% MLMG::addInterpCorrection() 410 0.007857 0.007857 0.007857 0.82% amrex::average_down 410 0.007151 0.007151 0.007151 0.75% Gravity::fill_multipole_BCs() 11 0.007016 0.007016 0.007016 0.74% StateDataPhysBCFunct::() 41 0.006245 0.006245 0.006245 0.66% Amr::checkPoint() 3 0.005824 0.005824 0.005824 0.61% Castro::reset_internal_energy(Fab) 504 0.004548 0.004548 0.004548 0.48% Castro::estTimeStep() 21 0.004398 0.004398 0.004398 0.46% BndryData::define() 11 0.004277 0.004277 0.004277 0.45% amrex::Add() 82 0.003735 0.003735 0.003735 0.39% Castro::construct_new_gravity_source() 10 0.003329 0.003329 0.003329 0.35% Castro::construct_old_gravity_source() 10 0.002809 0.002809 0.002809 0.29% MLCGSolver::bicgstab 82 0.002101 0.002101 0.002101 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.002018 0.002018 0.002018 0.21% Amr::writePlotFile() 2 0.00184 0.00184 0.00184 0.19% Castro::subcycle_advance_ctu() 10 0.001838 0.001838 0.001838 0.19% MLCellLinOp::smooth() 1640 0.001746 0.001746 0.001746 0.18% check_for_negative_density() 10 0.001722 0.001722 0.001722 0.18% MLCellLinOp::setLevelBC() 11 0.001691 0.001691 0.001691 0.18% Gravity::actual_solve_with_mlmg() 11 0.001566 0.001566 0.001566 0.16% Castro::initData() 1 0.001487 0.001487 0.001487 0.16% FabArray::setDomainBndry() 41 0.001473 0.001473 0.001473 0.15% MLCellLinOp::prepareForSolve() 11 0.001444 0.001444 0.001444 0.15% FabArray::mult() 43 0.001441 0.001441 0.001441 0.15% MultiFab::contains_nan() 20 0.001345 0.001345 0.001345 0.14% MLCellLinOp::compGrad() 11 0.001144 0.001144 0.001144 0.12% MLMG::prepareForSolve() 11 0.001104 0.001104 0.001104 0.12% FabArray::FillBoundary() 3941 0.0009044 0.0009044 0.0009044 0.09% FabArrayBase::getCPC() 1323 0.000873 0.000873 0.000873 0.09% Gravity::get_new_grav_vector() 11 0.0006434 0.0006434 0.0006434 0.07% MLCellLinOp::apply() 1060 0.0005878 0.0005878 0.0005878 0.06% Gravity::get_old_grav_vector() 10 0.000516 0.000516 0.000516 0.05% AmrLevel::FillPatch() 41 0.0004484 0.0004484 0.0004484 0.05% Amr::coarseTimeStep() 10 0.0003803 0.0003803 0.0003803 0.04% MLCGSolver::ParallelAllReduce 1832 0.000371 0.000371 0.000371 0.04% FabArray::ParallelCopy() 861 0.0002851 0.0002851 0.0002851 0.03% main() 1 0.0002838 0.0002838 0.0002838 0.03% MLCellLinOp::defineBC() 11 0.0002749 0.0002749 0.0002749 0.03% FillPatchIterator::Initialize 41 0.0002637 0.0002637 0.0002637 0.03% MLMG::mgVcycle() 82 0.0002513 0.0002513 0.0002513 0.03% MLCellLinOp::correctionResidual() 410 0.0002214 0.0002214 0.0002214 0.02% Castro::construct_new_source() 50 0.000212 0.000212 0.000212 0.02% Amr::timeStep() 10 0.0001811 0.0001811 0.0001811 0.02% Gravity::solve_for_phi() 10 0.0001668 0.0001668 0.0001668 0.02% Castro::do_advance_ctu() 10 0.0001305 0.0001305 0.0001305 0.01% MLMG:computeResOfCorrection() 410 0.0001289 0.0001289 0.0001289 0.01% StateData::checkPoint() 12 0.0001257 0.0001257 0.0001257 0.01% Castro::advance() 10 0.000114 0.000114 0.000114 0.01% MLMG::mgVcycle_down::0 82 0.0001091 0.0001091 0.0001091 0.01% MLMG::mgVcycle_down::2 82 0.0001069 0.0001069 0.0001069 0.01% MLMG::mgVcycle_down::1 82 0.0001053 0.0001053 0.0001053 0.01% MLMG::mgVcycle_down::4 82 0.0001046 0.0001046 0.0001046 0.01% MLMG::actualBottomSolve() 82 0.0001024 0.0001024 0.0001024 0.01% MLMG::mgVcycle_down::3 82 0.0001006 0.0001006 0.0001006 0.01% Castro::initialize_do_advance() 10 9.959e-05 9.959e-05 9.959e-05 0.01% Castro::initialize_advance() 10 9.574e-05 9.574e-05 9.574e-05 0.01% MLMG::solve() 11 8.486e-05 8.486e-05 8.486e-05 0.01% Castro::clean_state() 62 8.025e-05 8.025e-05 8.025e-05 0.01% Castro::finalize_do_advance() 10 7.526e-05 7.526e-05 7.526e-05 0.01% MLMG::oneIter() 82 6.761e-05 6.761e-05 6.761e-05 0.01% AmrLevel::checkPoint() 3 6.713e-05 6.713e-05 6.713e-05 0.01% Castro::construct_old_source() 50 6.533e-05 6.533e-05 6.533e-05 0.01% MLMG::mgVcycle_up::4 82 6.406e-05 6.406e-05 6.406e-05 0.01% MLMG::mgVcycle_up::0 82 6.317e-05 6.317e-05 6.317e-05 0.01% MLCellLinOp::solutionResidual() 93 6.274e-05 6.274e-05 6.274e-05 0.01% MLMG::mgVcycle_up::1 82 6.17e-05 6.17e-05 6.17e-05 0.01% MLMG::mgVcycle_up::3 82 6.078e-05 6.078e-05 6.078e-05 0.01% MLMG::mgVcycle_up::2 82 6.043e-05 6.043e-05 6.043e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.508e-05 5.508e-05 5.508e-05 0.01% FillPatchSingleLevel 41 4.451e-05 4.451e-05 4.451e-05 0.00% MLMG::computeResidual() 82 4.05e-05 4.05e-05 4.05e-05 0.00% MLMG::mgVcycle_bottom 82 3.914e-05 3.914e-05 3.914e-05 0.00% MLMG::ResNormInf() 93 3.514e-05 3.514e-05 3.514e-05 0.00% Amr::defBaseLevel() 1 3.335e-05 3.335e-05 3.335e-05 0.00% Castro::construct_new_gravity() 10 3.255e-05 3.255e-05 3.255e-05 0.00% MLPoisson::define() 11 2.615e-05 2.615e-05 2.615e-05 0.00% Castro::do_old_sources() 10 2.532e-05 2.532e-05 2.532e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.449e-05 2.449e-05 2.449e-05 0.00% Castro::do_new_sources() 10 2.305e-05 2.305e-05 2.305e-05 0.00% Amr::FinalizeInit() 1 2.202e-05 2.202e-05 2.202e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.949e-05 1.949e-05 1.949e-05 0.00% MLPoisson::prepareForSolve() 11 1.502e-05 1.502e-05 1.502e-05 0.00% Castro::apply_source_to_state() 20 1.448e-05 1.448e-05 1.448e-05 0.00% Castro::check_for_nan() 20 1.275e-05 1.275e-05 1.275e-05 0.00% Castro::construct_old_gravity() 10 1.254e-05 1.254e-05 1.254e-05 0.00% Castro::post_timestep() 10 1.178e-05 1.178e-05 1.178e-05 0.00% Castro::expand_state() 10 1.168e-05 1.168e-05 1.168e-05 0.00% Castro::post_init() 1 1.019e-05 1.019e-05 1.019e-05 0.00% Gravity::actual_multilevel_solve() 1 9.508e-06 9.508e-06 9.508e-06 0.00% MLMG::computeMLResidual() 11 9.429e-06 9.429e-06 9.429e-06 0.00% Castro::computeNewDt() 9 8.053e-06 8.053e-06 8.053e-06 0.00% MLMG::getGradSolution() 11 6.777e-06 6.777e-06 6.777e-06 0.00% Amr::InitializeInit() 1 6.082e-06 6.082e-06 6.082e-06 0.00% Amr::init() 1 2.642e-06 2.642e-06 2.642e-06 0.00% Amr::initialInit() 1 1.251e-06 1.251e-06 1.251e-06 0.00% Other 4815 0.003401 0.003401 0.003401 0.36% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9529 0.9529 0.9529 100.00% Amr::coarseTimeStep() 10 0.7949 0.7949 0.7949 83.41% Amr::timeStep() 10 0.6985 0.6985 0.6985 73.29% Castro::advance() 10 0.6887 0.6887 0.6887 72.27% Castro::subcycle_advance_ctu() 10 0.6747 0.6747 0.6747 70.80% Castro::do_advance_ctu() 10 0.6729 0.6729 0.6729 70.61% Gravity::solve_phi_with_mlmg() 11 0.3297 0.3297 0.3297 34.60% Gravity::actual_solve_with_mlmg() 11 0.3222 0.3222 0.3222 33.81% Castro::construct_new_gravity() 10 0.3056 0.3056 0.3056 32.07% MLMG::solve() 11 0.2983 0.2983 0.2983 31.31% Gravity::solve_for_phi() 10 0.2825 0.2825 0.2825 29.65% MLMG::oneIter() 82 0.2815 0.2815 0.2815 29.54% Castro::construct_ctu_hydro_source() 10 0.2796 0.2796 0.2796 29.34% MLMG::mgVcycle() 82 0.2777 0.2777 0.2777 29.14% VisMF::Write(FabArray) 11 0.1863 0.1863 0.1863 19.55% MLCellLinOp::smooth() 1640 0.1427 0.1427 0.1427 14.98% Amr::checkPoint() 3 0.1418 0.1418 0.1418 14.88% AmrLevel::checkPoint() 3 0.1359 0.1359 0.1359 14.26% StateData::checkPoint() 12 0.1359 0.1359 0.1359 14.26% MLCellLinOp::applyBC() 4351 0.1327 0.1327 0.1327 13.92% Amr::init() 1 0.1311 0.1311 0.1311 13.76% MLMG::mgVcycle_bottom 82 0.08031 0.08031 0.08031 8.43% MLMG::actualBottomSolve() 82 0.08027 0.08027 0.08027 8.42% MLCGSolver::bicgstab 82 0.07936 0.07936 0.07936 8.33% AmrLevel::FillPatch() 41 0.06527 0.06527 0.06527 6.85% Castro::clean_state() 62 0.06106 0.06106 0.06106 6.41% FillPatchIterator::Initialize 41 0.06078 0.06078 0.06078 6.38% FillPatchIterator::FillFromLevel0() 41 0.05905 0.05905 0.05905 6.20% FillPatchSingleLevel 41 0.05899 0.05899 0.05899 6.19% Amr::initialInit() 1 0.0561 0.0561 0.0561 5.89% StateDataPhysBCFunct::() 41 0.05479 0.05479 0.05479 5.75% Amr::writePlotFile() 2 0.05295 0.05295 0.05295 5.56% Amr::FinalizeInit() 1 0.0517 0.0517 0.0517 5.42% Castro::post_init() 1 0.05073 0.05073 0.05073 5.32% StateData::FillBoundary(geom) 328 0.04854 0.04854 0.04854 5.09% Gravity::multilevel_solve_for_new_phi() 1 0.04768 0.04768 0.04768 5.00% Gravity::actual_multilevel_solve() 1 0.04766 0.04766 0.04766 5.00% FabArray::FillBoundary() 3941 0.04186 0.04186 0.04186 4.39% FillBoundary_nowait() 3941 0.04096 0.04096 0.04096 4.30% MLCellLinOp::apply() 1060 0.04023 0.04023 0.04023 4.22% Castro::computeTemp() 63 0.03895 0.03895 0.03895 4.09% MLMG::mgVcycle_down::0 82 0.03761 0.03761 0.03761 3.95% MLPoisson::Fsmooth() 3280 0.03723 0.03723 0.03723 3.91% MLMG::mgVcycle_up::0 82 0.03569 0.03569 0.03569 3.75% Gravity::get_new_grav_vector() 11 0.02557 0.02557 0.02557 2.68% amrex::Dot() 1114 0.02344 0.02344 0.02344 2.46% Castro::do_old_sources() 10 0.02336 0.02336 0.02336 2.45% Castro::initialize_do_advance() 10 0.02281 0.02281 0.02281 2.39% Castro::construct_old_gravity() 10 0.02278 0.02278 0.02278 2.39% Gravity::get_old_grav_vector() 10 0.02277 0.02277 0.02277 2.39% MLMG:computeResOfCorrection() 410 0.02225 0.02225 0.02225 2.34% MLCellLinOp::correctionResidual() 410 0.02212 0.02212 0.02212 2.32% Castro::reset_internal_energy(MultiFab) 63 0.02145 0.02145 0.02145 2.25% FabArray::norminf() 1061 0.02133 0.02133 0.02133 2.24% MLPoisson::define() 11 0.0189 0.0189 0.0189 1.98% MLMG::mgVcycle_down::1 82 0.01861 0.01861 0.01861 1.95% MLMG::mgVcycle_down::2 82 0.01746 0.01746 0.01746 1.83% MLMG::mgVcycle_down::3 82 0.01711 0.01711 0.01711 1.80% MLMG::mgVcycle_down::4 82 0.01696 0.01696 0.01696 1.78% FabArray::ParallelCopy() 861 0.01625 0.01625 0.01625 1.71% Castro::do_new_sources() 10 0.016 0.016 0.016 1.68% FabArray::ParallelCopy_nowait() 861 0.01597 0.01597 0.01597 1.68% FabArray::setVal() 1062 0.0145 0.0145 0.0145 1.52% FabArray::Saxpy() 1370 0.01422 0.01422 0.01422 1.49% MLCGSolver::ParallelAllReduce 1832 0.01412 0.01412 0.01412 1.48% MLMG::addInterpCorrection() 410 0.01391 0.01391 0.01391 1.46% MLMG::mgVcycle_up::1 82 0.01364 0.01364 0.01364 1.43% MLMG::mgVcycle_up::4 82 0.01353 0.01353 0.01353 1.42% MLMG::mgVcycle_up::2 82 0.01336 0.01336 0.01336 1.40% amrex::average_down 410 0.0132 0.0132 0.0132 1.38% MLMG::mgVcycle_up::3 82 0.0132 0.0132 0.0132 1.38% Castro::initialize_advance() 10 0.01315 0.01315 0.01315 1.38% MLCellLinOp::defineAuxData() 11 0.01294 0.01294 0.01294 1.36% Castro::normalize_species() 62 0.01249 0.01249 0.01249 1.31% Castro::expand_state() 10 0.01176 0.01176 0.01176 1.23% amrex::Copy() 472 0.01157 0.01157 0.01157 1.21% MLPoisson::Fapply() 1060 0.01127 0.01127 0.01127 1.18% Castro::enforce_min_density() 62 0.01002 0.01002 0.01002 1.05% Castro::post_timestep() 10 0.009606 0.009606 0.009606 1.01% FabArray::Xpay() 739 0.008467 0.008467 0.008467 0.89% MLCellLinOp::solutionResidual() 93 0.008391 0.008391 0.008391 0.88% Gravity::fill_multipole_BCs() 11 0.007267 0.007267 0.007267 0.76% MLMG::computeResidual() 82 0.007075 0.007075 0.007075 0.74% MLMG::prepareForSolve() 11 0.005714 0.005714 0.005714 0.60% MLCellLinOp::defineBC() 11 0.005688 0.005688 0.005688 0.60% BndryData::define() 11 0.005413 0.005413 0.005413 0.57% Castro::reset_internal_energy(Fab) 504 0.004548 0.004548 0.004548 0.48% Amr::InitializeInit() 1 0.004405 0.004405 0.004405 0.46% Amr::defBaseLevel() 1 0.004399 0.004399 0.004399 0.46% Castro::estTimeStep() 21 0.004398 0.004398 0.004398 0.46% amrex::Add() 82 0.003735 0.003735 0.003735 0.39% Castro::initData() 1 0.003698 0.003698 0.003698 0.39% Castro::construct_new_source() 50 0.003541 0.003541 0.003541 0.37% Castro::construct_new_gravity_source() 10 0.003329 0.003329 0.003329 0.35% Castro::construct_old_source() 50 0.002874 0.002874 0.002874 0.30% Castro::construct_old_gravity_source() 10 0.002809 0.002809 0.002809 0.29% MLMG::ResNormInf() 93 0.002322 0.002322 0.002322 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.002018 0.002018 0.002018 0.21% Castro::apply_source_to_state() 20 0.001917 0.001917 0.001917 0.20% Castro::computeNewDt() 9 0.001817 0.001817 0.001817 0.19% check_for_negative_density() 10 0.001722 0.001722 0.001722 0.18% MLMG::getGradSolution() 11 0.001706 0.001706 0.001706 0.18% Castro::finalize_do_advance() 10 0.001702 0.001702 0.001702 0.18% MLCellLinOp::compGrad() 11 0.0017 0.0017 0.0017 0.18% MLCellLinOp::setLevelBC() 11 0.001691 0.001691 0.001691 0.18% FabArrayBase::getCPC() 1323 0.001606 0.001606 0.001606 0.17% FabArray::setDomainBndry() 41 0.001473 0.001473 0.001473 0.15% MLPoisson::prepareForSolve() 11 0.001459 0.001459 0.001459 0.15% MLCellLinOp::prepareForSolve() 11 0.001444 0.001444 0.001444 0.15% FabArray::mult() 43 0.001441 0.001441 0.001441 0.15% MLMG::computeMLResidual() 11 0.001366 0.001366 0.001366 0.14% Castro::check_for_nan() 20 0.001358 0.001358 0.001358 0.14% MultiFab::contains_nan() 20 0.001345 0.001345 0.001345 0.14% Other 4815 0.008927 0.008927 0.008927 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 5448 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 1198 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1561 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 3851 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 278 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 245 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7530 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2221 B 2048 KiB Gravity::solve_for_phi() 80 80 606 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 102 KiB 2048 KiB BndryData::define() 1056 1056 351 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 223 KiB 671 KiB Castro::estTimeStep() 21 21 2204 B 480 KiB VisMF::Write(FabArray) 656 656 3430 B 320 KiB Castro::normalize_species() 62 62 4258 B 320 KiB amrex::average_down 1067 1067 1663 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1212 B 257 KiB amrex::Dot() 1360 1360 3624 B 160 KiB FabArray::norminf() 1143 1143 3447 B 160 KiB check_for_negative_density() 10 10 288 B 160 KiB Castro::initData() 1 1 52 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 3762 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 371 B 9648 B MLCellLinOp::applyBC() 8702 8702 230 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3976 B 6144 B StateData::FillBoundary(geom) 1992 1992 28 B 4288 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 396 B 1248 B MLCGSolver::bicgstab 410 410 100 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 572 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 50 KiB 8192 KiB VisMF::Write(FabArray) 744 744 430 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3762 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 370 B 9648 B MLCellLinOp::applyBC() 4351 4351 227 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3976 B 6144 B StateData::FillBoundary(geom) 1992 1992 29 B 4384 B Gravity::get_new_grav_vector() 3 3 2895 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 83 83 619 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 320 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 26 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-16-gdcb9cc0383dc) finalized Initializing AMReX (24.07-16-gdcb9cc0383dc)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.07-16-gdcb9cc0383dc) initialized Starting run at 07:31:23 UTC on 2024-07-12. Successfully read inputs file ... Castro git describe: 24.07-12-g8b289c118 AMReX git describe: 24.07-16-gdcb9cc038 Microphysics git describe: 24.07-13-g963ff003 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.537573276 Restart time = 0.071789839 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.064766594 [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.060101938 [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.072496397 [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.076150262 [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.063020923 [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.028567838 seconds Ending run at 07:31:24 UTC on 2024-07-12. Run time = 0.437909235 Run time without initialization = 0.365571407 Average number of zones advanced per microsecond: 3.585 Average number of zones advanced per microsecond per rank: 3.585 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4379 ... 0.4379 ... 0.4379 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1357 0.1357 0.1357 30.99% VisMF::Read() 3 0.0606 0.0606 0.0606 13.84% MLCellLinOp::applyBC() 1910 0.03671 0.03671 0.03671 8.38% VisMF::Write(FabArray) 1 0.02594 0.02594 0.02594 5.92% MLPoisson::Fsmooth() 1440 0.01548 0.01548 0.01548 3.53% FillBoundary_nowait() 1730 0.01525 0.01525 0.01525 3.48% StateData::FillBoundary(geom) 160 0.01247 0.01247 0.01247 2.85% amrex::Dot() 484 0.009439 0.009439 0.009439 2.16% FabArray::norminf() 465 0.008913 0.008913 0.008913 2.04% Castro::reset_internal_energy(MultiFab) 30 0.007989 0.007989 0.007989 1.82% Castro::normalize_species() 30 0.007045 0.007045 0.007045 1.61% FabArray::setVal() 501 0.006782 0.006782 0.006782 1.55% FabArray::ParallelCopy_nowait() 380 0.006296 0.006296 0.006296 1.44% Castro::enforce_min_density() 30 0.006208 0.006208 0.006208 1.42% Castro::computeTemp() 30 0.006145 0.006145 0.006145 1.40% FabArray::Saxpy() 597 0.006056 0.006056 0.006056 1.38% StateDataPhysBCFunct::() 20 0.005956 0.005956 0.005956 1.36% MLCellLinOp::defineAuxData() 6 0.00562 0.00562 0.00562 1.28% amrex::Copy() 221 0.005598 0.005598 0.005598 1.28% Amr::restart() 1 0.00478 0.00478 0.00478 1.09% MLPoisson::Fapply() 464 0.004758 0.004758 0.004758 1.09% Gravity::fill_multipole_BCs() 6 0.00413 0.00413 0.00413 0.94% FabArray::Xpay() 325 0.003588 0.003588 0.003588 0.82% MLMG::addInterpCorrection() 180 0.003272 0.003272 0.003272 0.75% Castro::estTimeStep() 10 0.003049 0.003049 0.003049 0.70% amrex::average_down 180 0.002874 0.002874 0.002874 0.66% Amr::writePlotFile() 1 0.002447 0.002447 0.002447 0.56% BndryData::define() 6 0.00216 0.00216 0.00216 0.49% Castro::reset_internal_energy(Fab) 240 0.001822 0.001822 0.001822 0.42% Castro::construct_new_gravity_source() 5 0.001732 0.001732 0.001732 0.40% amrex::Add() 36 0.001645 0.001645 0.001645 0.38% Castro::construct_old_gravity_source() 5 0.001289 0.001289 0.001289 0.29% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009895 0.0009895 0.0009895 0.23% check_for_negative_density() 5 0.0009158 0.0009158 0.0009158 0.21% MLCellLinOp::setLevelBC() 6 0.0008896 0.0008896 0.0008896 0.20% Castro::subcycle_advance_ctu() 5 0.0008294 0.0008294 0.0008294 0.19% Gravity::actual_solve_with_mlmg() 6 0.0008258 0.0008258 0.0008258 0.19% MLCellLinOp::prepareForSolve() 6 0.0007815 0.0007815 0.0007815 0.18% MLCGSolver::bicgstab 36 0.0007327 0.0007327 0.0007327 0.17% FabArray::mult() 22 0.0007094 0.0007094 0.0007094 0.16% FabArray::setDomainBndry() 20 0.0006978 0.0006978 0.0006978 0.16% MLCellLinOp::compGrad() 6 0.0006175 0.0006175 0.0006175 0.14% MLMG::prepareForSolve() 6 0.0005721 0.0005721 0.0005721 0.13% MLCellLinOp::smooth() 720 0.0005233 0.0005233 0.0005233 0.12% FabArrayBase::getCPC() 632 0.0003789 0.0003789 0.0003789 0.09% FabArray::FillBoundary() 1730 0.00034 0.00034 0.00034 0.08% Gravity::get_old_grav_vector() 5 0.0003031 0.0003031 0.0003031 0.07% main() 1 0.0002581 0.0002581 0.0002581 0.06% Gravity::get_new_grav_vector() 5 0.0002369 0.0002369 0.0002369 0.05% Amr::coarseTimeStep() 5 0.0002176 0.0002176 0.0002176 0.05% Castro::construct_new_source() 25 0.0002138 0.0002138 0.0002138 0.05% AmrLevel::FillPatch() 20 0.0002046 0.0002046 0.0002046 0.05% MLCellLinOp::apply() 464 0.0001897 0.0001897 0.0001897 0.04% MLCellLinOp::defineBC() 6 0.0001531 0.0001531 0.0001531 0.03% MLCGSolver::ParallelAllReduce 798 0.0001499 0.0001499 0.0001499 0.03% FabArray::ParallelCopy() 380 0.0001193 0.0001193 0.0001193 0.03% FillPatchIterator::Initialize 20 0.0001142 0.0001142 0.0001142 0.03% Castro::do_advance_ctu() 5 9.941e-05 9.941e-05 9.941e-05 0.02% Castro::construct_old_source() 25 9.648e-05 9.648e-05 9.648e-05 0.02% Castro::do_new_sources() 5 9.268e-05 9.268e-05 9.268e-05 0.02% Gravity::solve_for_phi() 5 9.254e-05 9.254e-05 9.254e-05 0.02% MLMG::mgVcycle() 36 8.839e-05 8.839e-05 8.839e-05 0.02% Amr::timeStep() 5 8.775e-05 8.775e-05 8.775e-05 0.02% MLCellLinOp::correctionResidual() 180 7.961e-05 7.961e-05 7.961e-05 0.02% AmrLevel::restart() 1 7.334e-05 7.334e-05 7.334e-05 0.02% Gravity::update_max_rhs() 6 7.159e-05 7.159e-05 7.159e-05 0.02% Castro::finalize_do_advance() 5 7.131e-05 7.131e-05 7.131e-05 0.02% StateData::restartDoit() 4 6.277e-05 6.277e-05 6.277e-05 0.01% Castro::advance() 5 5.556e-05 5.556e-05 5.556e-05 0.01% MLMG:computeResOfCorrection() 180 5.203e-05 5.203e-05 5.203e-05 0.01% MLMG::mgVcycle_down::0 36 4.817e-05 4.817e-05 4.817e-05 0.01% MLMG::actualBottomSolve() 36 3.916e-05 3.916e-05 3.916e-05 0.01% Castro::initialize_advance() 5 3.749e-05 3.749e-05 3.749e-05 0.01% MLMG::solve() 6 3.593e-05 3.593e-05 3.593e-05 0.01% MLMG::mgVcycle_down::1 36 3.546e-05 3.546e-05 3.546e-05 0.01% MLMG::mgVcycle_down::2 36 3.282e-05 3.282e-05 3.282e-05 0.01% MLMG::mgVcycle_down::4 36 3.159e-05 3.159e-05 3.159e-05 0.01% Castro::clean_state() 30 3.109e-05 3.109e-05 3.109e-05 0.01% Castro::initialize_do_advance() 5 3.108e-05 3.108e-05 3.108e-05 0.01% MLMG::mgVcycle_down::3 36 3.108e-05 3.108e-05 3.108e-05 0.01% Castro::post_restart() 1 2.68e-05 2.68e-05 2.68e-05 0.01% MLMG::mgVcycle_up::4 36 2.605e-05 2.605e-05 2.605e-05 0.01% MLMG::oneIter() 36 2.527e-05 2.527e-05 2.527e-05 0.01% MLMG::mgVcycle_up::3 36 2.329e-05 2.329e-05 2.329e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.328e-05 2.328e-05 2.328e-05 0.01% MLMG::mgVcycle_up::2 36 2.151e-05 2.151e-05 2.151e-05 0.00% MLMG::mgVcycle_up::0 36 2.136e-05 2.136e-05 2.136e-05 0.00% MLMG::mgVcycle_up::1 36 2.125e-05 2.125e-05 2.125e-05 0.00% MLCellLinOp::solutionResidual() 42 2.117e-05 2.117e-05 2.117e-05 0.00% MLPoisson::define() 6 1.889e-05 1.889e-05 1.889e-05 0.00% MLMG::ResNormInf() 42 1.76e-05 1.76e-05 1.76e-05 0.00% MLMG::mgVcycle_bottom 36 1.718e-05 1.718e-05 1.718e-05 0.00% FillPatchSingleLevel 20 1.66e-05 1.66e-05 1.66e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.606e-05 1.606e-05 1.606e-05 0.00% MLMG::computeResidual() 36 1.431e-05 1.431e-05 1.431e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.284e-05 1.284e-05 1.284e-05 0.00% Castro::construct_new_gravity() 5 1.246e-05 1.246e-05 1.246e-05 0.00% Castro::do_old_sources() 5 1.122e-05 1.122e-05 1.122e-05 0.00% MLPoisson::prepareForSolve() 6 9.925e-06 9.925e-06 9.925e-06 0.00% Castro::expand_state() 5 9.723e-06 9.723e-06 9.723e-06 0.00% Gravity::actual_multilevel_solve() 1 8.112e-06 8.112e-06 8.112e-06 0.00% Castro::construct_old_gravity() 5 6.069e-06 6.069e-06 6.069e-06 0.00% Castro::apply_source_to_state() 10 6.063e-06 6.063e-06 6.063e-06 0.00% MLMG::computeMLResidual() 6 4.106e-06 4.106e-06 4.106e-06 0.00% Castro::post_timestep() 5 4.072e-06 4.072e-06 4.072e-06 0.00% Castro::computeNewDt() 5 3.533e-06 3.533e-06 3.533e-06 0.00% MLMG::getGradSolution() 6 3.143e-06 3.143e-06 3.143e-06 0.00% Amr::init() 1 6.84e-07 6.84e-07 6.84e-07 0.00% Other 2200 0.002425 0.002425 0.002425 0.55% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4379 0.4379 0.4379 100.00% Amr::coarseTimeStep() 5 0.3367 0.3367 0.3367 76.89% Amr::timeStep() 5 0.3349 0.3349 0.3349 76.46% Castro::advance() 5 0.3294 0.3294 0.3294 75.22% Castro::subcycle_advance_ctu() 5 0.3219 0.3219 0.3219 73.51% Castro::do_advance_ctu() 5 0.3211 0.3211 0.3211 73.32% Castro::construct_ctu_hydro_source() 5 0.1415 0.1415 0.1415 32.31% Castro::construct_new_gravity() 5 0.1404 0.1404 0.1404 32.07% Gravity::solve_phi_with_mlmg() 6 0.1376 0.1376 0.1376 31.42% Gravity::actual_solve_with_mlmg() 6 0.1332 0.1332 0.1332 30.42% Gravity::solve_for_phi() 5 0.1324 0.1324 0.1324 30.22% MLMG::solve() 6 0.1211 0.1211 0.1211 27.65% MLMG::oneIter() 36 0.113 0.113 0.113 25.81% MLMG::mgVcycle() 36 0.1114 0.1114 0.1114 25.43% Amr::init() 1 0.07184 0.07184 0.07184 16.40% Amr::restart() 1 0.07183 0.07183 0.07183 16.40% AmrLevel::restart() 1 0.06096 0.06096 0.06096 13.92% StateData::restartDoit() 4 0.06088 0.06088 0.06088 13.90% VisMF::Read() 3 0.0606 0.0606 0.0606 13.84% MLCellLinOp::smooth() 720 0.05637 0.05637 0.05637 12.87% MLCellLinOp::applyBC() 1910 0.05262 0.05262 0.05262 12.02% MLMG::mgVcycle_bottom 36 0.0325 0.0325 0.0325 7.42% MLMG::actualBottomSolve() 36 0.03248 0.03248 0.03248 7.42% MLCGSolver::bicgstab 36 0.03211 0.03211 0.03211 7.33% Castro::clean_state() 30 0.02929 0.02929 0.02929 6.69% Amr::writePlotFile() 1 0.02866 0.02866 0.02866 6.54% VisMF::Write(FabArray) 1 0.02594 0.02594 0.02594 5.92% AmrLevel::FillPatch() 20 0.02348 0.02348 0.02348 5.36% FillPatchIterator::Initialize 20 0.02136 0.02136 0.02136 4.88% FillPatchIterator::FillFromLevel0() 20 0.02055 0.02055 0.02055 4.69% FillPatchSingleLevel 20 0.02053 0.02053 0.02053 4.69% StateDataPhysBCFunct::() 20 0.01842 0.01842 0.01842 4.21% MLCellLinOp::apply() 464 0.01689 0.01689 0.01689 3.86% MLMG::mgVcycle_down::0 36 0.01662 0.01662 0.01662 3.80% Castro::computeTemp() 30 0.01596 0.01596 0.01596 3.64% FabArray::FillBoundary() 1730 0.01591 0.01591 0.01591 3.63% FillBoundary_nowait() 1730 0.01557 0.01557 0.01557 3.55% MLPoisson::Fsmooth() 1440 0.01548 0.01548 0.01548 3.53% StateData::FillBoundary(geom) 160 0.01247 0.01247 0.01247 2.85% MLMG::mgVcycle_up::0 36 0.01242 0.01242 0.01242 2.84% Castro::initialize_do_advance() 5 0.0122 0.0122 0.0122 2.78% Castro::do_old_sources() 5 0.009965 0.009965 0.009965 2.28% Castro::reset_internal_energy(MultiFab) 30 0.009811 0.009811 0.009811 2.24% MLPoisson::define() 6 0.009486 0.009486 0.009486 2.17% MLMG:computeResOfCorrection() 180 0.009441 0.009441 0.009441 2.16% amrex::Dot() 484 0.009439 0.009439 0.009439 2.16% MLCellLinOp::correctionResidual() 180 0.009389 0.009389 0.009389 2.14% FabArray::norminf() 465 0.008913 0.008913 0.008913 2.04% Gravity::get_new_grav_vector() 5 0.007953 0.007953 0.007953 1.82% Castro::construct_old_gravity() 5 0.007908 0.007908 0.007908 1.81% Gravity::get_old_grav_vector() 5 0.007902 0.007902 0.007902 1.80% MLMG::mgVcycle_down::1 36 0.007633 0.007633 0.007633 1.74% Castro::initialize_advance() 5 0.007107 0.007107 0.007107 1.62% Castro::do_new_sources() 5 0.007101 0.007101 0.007101 1.62% Castro::normalize_species() 30 0.007045 0.007045 0.007045 1.61% MLMG::mgVcycle_down::2 36 0.007 0.007 0.007 1.60% MLMG::mgVcycle_down::3 36 0.006873 0.006873 0.006873 1.57% FabArray::ParallelCopy() 380 0.006828 0.006828 0.006828 1.56% FabArray::setVal() 501 0.006782 0.006782 0.006782 1.55% MLMG::mgVcycle_down::4 36 0.006744 0.006744 0.006744 1.54% FabArray::ParallelCopy_nowait() 380 0.006709 0.006709 0.006709 1.53% MLCellLinOp::defineAuxData() 6 0.006421 0.006421 0.006421 1.47% Castro::expand_state() 5 0.006214 0.006214 0.006214 1.42% Castro::enforce_min_density() 30 0.006208 0.006208 0.006208 1.42% FabArray::Saxpy() 597 0.006056 0.006056 0.006056 1.38% Castro::post_restart() 1 0.005912 0.005912 0.005912 1.35% MLCGSolver::ParallelAllReduce 798 0.005719 0.005719 0.005719 1.31% MLMG::addInterpCorrection() 180 0.005626 0.005626 0.005626 1.28% amrex::Copy() 221 0.005598 0.005598 0.005598 1.28% Gravity::multilevel_solve_for_new_phi() 1 0.005538 0.005538 0.005538 1.26% Gravity::actual_multilevel_solve() 1 0.005522 0.005522 0.005522 1.26% MLMG::mgVcycle_up::4 36 0.005456 0.005456 0.005456 1.25% MLMG::mgVcycle_up::1 36 0.005442 0.005442 0.005442 1.24% Castro::post_timestep() 5 0.005337 0.005337 0.005337 1.22% MLMG::mgVcycle_up::2 36 0.005332 0.005332 0.005332 1.22% amrex::average_down 180 0.005258 0.005258 0.005258 1.20% MLMG::mgVcycle_up::3 36 0.00525 0.00525 0.00525 1.20% MLPoisson::Fapply() 464 0.004758 0.004758 0.004758 1.09% Gravity::fill_multipole_BCs() 6 0.004276 0.004276 0.004276 0.98% MLCellLinOp::solutionResidual() 42 0.003838 0.003838 0.003838 0.88% FabArray::Xpay() 325 0.003588 0.003588 0.003588 0.82% Castro::estTimeStep() 10 0.003049 0.003049 0.003049 0.70% MLMG::computeResidual() 36 0.003009 0.003009 0.003009 0.69% MLMG::prepareForSolve() 6 0.002966 0.002966 0.002966 0.68% MLCellLinOp::defineBC() 6 0.002905 0.002905 0.002905 0.66% BndryData::define() 6 0.002752 0.002752 0.002752 0.63% Castro::construct_new_source() 25 0.001946 0.001946 0.001946 0.44% Castro::reset_internal_energy(Fab) 240 0.001822 0.001822 0.001822 0.42% Castro::construct_new_gravity_source() 5 0.001732 0.001732 0.001732 0.40% Castro::computeNewDt() 5 0.001675 0.001675 0.001675 0.38% amrex::Add() 36 0.001645 0.001645 0.001645 0.38% Castro::finalize_do_advance() 5 0.001449 0.001449 0.001449 0.33% Castro::construct_old_source() 25 0.001385 0.001385 0.001385 0.32% Castro::construct_old_gravity_source() 5 0.001289 0.001289 0.001289 0.29% MLMG::ResNormInf() 42 0.001055 0.001055 0.001055 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009895 0.0009895 0.0009895 0.23% Castro::apply_source_to_state() 10 0.0009777 0.0009777 0.0009777 0.22% MLMG::getGradSolution() 6 0.0009286 0.0009286 0.0009286 0.21% MLCellLinOp::compGrad() 6 0.0009255 0.0009255 0.0009255 0.21% check_for_negative_density() 5 0.0009158 0.0009158 0.0009158 0.21% MLCellLinOp::setLevelBC() 6 0.0008896 0.0008896 0.0008896 0.20% MLMG::computeMLResidual() 6 0.000847 0.000847 0.000847 0.19% FabArrayBase::getCPC() 632 0.0008162 0.0008162 0.0008162 0.19% MLPoisson::prepareForSolve() 6 0.0007914 0.0007914 0.0007914 0.18% MLCellLinOp::prepareForSolve() 6 0.0007815 0.0007815 0.0007815 0.18% Gravity::update_max_rhs() 6 0.0007401 0.0007401 0.0007401 0.17% FabArray::mult() 22 0.0007094 0.0007094 0.0007094 0.16% FabArray::setDomainBndry() 20 0.0006978 0.0006978 0.0006978 0.16% Other 2200 0.004368 0.004368 0.004368 1.00% -------------------------------------------------------------------------------------------- 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 1069 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1751 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 6431 KiB 14 MiB MLMG::prepareForSolve() 361 361 3394 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 187 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 185 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6418 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3357 B 2048 KiB Gravity::solve_for_phi() 40 40 617 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 312 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 200 KiB 671 KiB Castro::estTimeStep() 10 10 3269 B 480 KiB VisMF::Write(FabArray) 112 112 1314 B 320 KiB Castro::normalize_species() 30 30 5230 B 320 KiB amrex::average_down 469 469 1415 B 257 KiB MLMG::addInterpCorrection() 468 468 1094 B 257 KiB amrex::Dot() 592 592 3180 B 160 KiB FabArray::norminf() 501 501 3149 B 160 KiB check_for_negative_density() 5 5 335 B 160 KiB MultiFab::max() 6 6 76 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3290 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 303 B 9648 B MLCellLinOp::applyBC() 3820 3820 211 B 9344 B amrex::Copy() 56 56 5908 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 43 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 351 B 1248 B MLCGSolver::bicgstab 180 180 88 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1479 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 83 KiB 8192 KiB VisMF::Write(FabArray) 120 120 166 KiB 3584 KiB VisMF::Read() 24 24 209 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3290 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 303 B 9648 B MLCellLinOp::applyBC() 1910 1910 210 B 9328 B amrex::Copy() 56 56 5908 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2522 B 3072 B StateData::FillBoundary(geom) 960 960 43 B 3024 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B MLMG::prepareForSolve() 7 7 805 B 1648 B amrex::average_down 37 37 469 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 23 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-16-gdcb9cc0383dc) finalized