Initializing AMReX (24.06-16-g1f038e767011)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-16-g1f038e767011) initialized Starting run at 07:35:47 UTC on 2024-06-20. Successfully read inputs file ... Castro git describe: 24.06-14-g5f48f9561 AMReX git describe: 24.06-16-g1f038e767 Microphysics git describe: 24.06-10-g30469dd4 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.049827887 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.027971974 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.063321039 [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.07373275 [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.079632734 [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.068942279 [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.062011358 [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.048282337 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.056035178 [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.074075397 [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.082501472 [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.067787753 [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.059855811 [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.069389761 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.026755121 seconds Ending run at 07:35:48 UTC on 2024-06-20. Run time = 0.962923695 Run time without initialization = 0.832977958 Average number of zones advanced per microsecond: 3.147 Average number of zones advanced per microsecond per rank: 3.147 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.963 ... 0.963 ... 0.963 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2823 0.2823 0.2823 29.31% VisMF::Write(FabArray) 11 0.1917 0.1917 0.1917 19.91% MLCellLinOp::applyBC() 4298 0.0834 0.0834 0.0834 8.66% MLPoisson::Fsmooth() 3240 0.03496 0.03496 0.03496 3.63% FillBoundary_nowait() 3893 0.03348 0.03348 0.03348 3.48% Castro::normalize_species() 62 0.02861 0.02861 0.02861 2.97% Amr::checkPoint() 3 0.02819 0.02819 0.02819 2.93% StateData::FillBoundary(geom) 328 0.02731 0.02731 0.02731 2.84% amrex::Dot() 1100 0.02216 0.02216 0.02216 2.30% FabArray::norminf() 1048 0.02056 0.02056 0.02056 2.14% Castro::computeTemp() 63 0.01681 0.01681 0.01681 1.75% FabArray::ParallelCopy_nowait() 851 0.01407 0.01407 0.01407 1.46% FabArray::setVal() 1054 0.01394 0.01394 0.01394 1.45% FabArray::Saxpy() 1353 0.01356 0.01356 0.01356 1.41% StateDataPhysBCFunct::() 41 0.01236 0.01236 0.01236 1.28% Castro::enforce_min_density() 62 0.01213 0.01213 0.01213 1.26% amrex::Copy() 469 0.01117 0.01117 0.01117 1.16% MLPoisson::Fapply() 1047 0.0107 0.0107 0.0107 1.11% MLCellLinOp::defineAuxData() 11 0.01053 0.01053 0.01053 1.09% Gravity::fill_multipole_BCs() 11 0.009751 0.009751 0.009751 1.01% FabArray::Xpay() 730 0.00816 0.00816 0.00816 0.85% MLMG::addInterpCorrection() 405 0.007202 0.007202 0.007202 0.75% amrex::average_down 405 0.006373 0.006373 0.006373 0.66% Castro::estTimeStep() 21 0.00612 0.00612 0.00612 0.64% Castro::reset_internal_energy(MultiFab) 63 0.005204 0.005204 0.005204 0.54% BndryData::define() 11 0.004149 0.004149 0.004149 0.43% Castro::enforce_speed_limit() 62 0.003952 0.003952 0.003952 0.41% amrex::Add() 81 0.003736 0.003736 0.003736 0.39% Castro::construct_new_gravity_source() 10 0.003588 0.003588 0.003588 0.37% Castro::construct_old_gravity_source() 10 0.002992 0.002992 0.002992 0.31% Amr::writePlotFile() 2 0.001869 0.001869 0.001869 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001835 0.001835 0.001835 0.19% check_for_negative_density() 10 0.001812 0.001812 0.001812 0.19% Castro::reset_internal_energy(Fab) 504 0.001763 0.001763 0.001763 0.18% MLCellLinOp::setLevelBC() 11 0.001658 0.001658 0.001658 0.17% MLCGSolver::bicgstab 81 0.001651 0.001651 0.001651 0.17% Castro::initData() 1 0.00158 0.00158 0.00158 0.16% Gravity::actual_solve_with_mlmg() 11 0.00155 0.00155 0.00155 0.16% FabArray::setDomainBndry() 41 0.00143 0.00143 0.00143 0.15% FabArray::mult() 43 0.001408 0.001408 0.001408 0.15% MLCellLinOp::prepareForSolve() 11 0.001333 0.001333 0.001333 0.14% MultiFab::contains_nan() 20 0.001296 0.001296 0.001296 0.13% MLCellLinOp::compGrad() 11 0.001121 0.001121 0.001121 0.12% MLCellLinOp::smooth() 1620 0.001116 0.001116 0.001116 0.12% MLMG::prepareForSolve() 11 0.0009633 0.0009633 0.0009633 0.10% FabArrayBase::getCPC() 1313 0.0008019 0.0008019 0.0008019 0.08% FabArray::FillBoundary() 3893 0.0007595 0.0007595 0.0007595 0.08% Gravity::get_new_grav_vector() 11 0.0006054 0.0006054 0.0006054 0.06% Gravity::get_old_grav_vector() 10 0.0004817 0.0004817 0.0004817 0.05% MLCellLinOp::apply() 1047 0.0004407 0.0004407 0.0004407 0.05% AmrLevel::FillPatch() 41 0.0004259 0.0004259 0.0004259 0.04% MLCGSolver::ParallelAllReduce 1809 0.0003157 0.0003157 0.0003157 0.03% Amr::coarseTimeStep() 10 0.0003062 0.0003062 0.0003062 0.03% main() 1 0.0002848 0.0002848 0.0002848 0.03% MLCellLinOp::defineBC() 11 0.0002724 0.0002724 0.0002724 0.03% FabArray::ParallelCopy() 851 0.0002421 0.0002421 0.0002421 0.03% FillPatchIterator::Initialize 41 0.0002419 0.0002419 0.0002419 0.03% MLMG::mgVcycle() 81 0.0001938 0.0001938 0.0001938 0.02% Castro::subcycle_advance_ctu() 10 0.0001743 0.0001743 0.0001743 0.02% MLCellLinOp::correctionResidual() 405 0.0001685 0.0001685 0.0001685 0.02% Amr::timeStep() 10 0.0001474 0.0001474 0.0001474 0.02% MLMG:computeResOfCorrection() 405 0.0001262 0.0001262 0.0001262 0.01% StateData::checkPoint() 12 0.0001128 0.0001128 0.0001128 0.01% Castro::construct_new_source() 50 0.0001088 0.0001088 0.0001088 0.01% Gravity::solve_for_phi() 10 0.000105 0.000105 0.000105 0.01% MLMG::actualBottomSolve() 81 8.794e-05 8.794e-05 8.794e-05 0.01% MLMG::mgVcycle_down::0 81 8.131e-05 8.131e-05 8.131e-05 0.01% MLMG::mgVcycle_down::1 81 7.641e-05 7.641e-05 7.641e-05 0.01% Castro::clean_state() 62 7.628e-05 7.628e-05 7.628e-05 0.01% Castro::post_timestep() 10 7.509e-05 7.509e-05 7.509e-05 0.01% Castro::initialize_advance() 10 7.483e-05 7.483e-05 7.483e-05 0.01% Castro::advance() 10 7.459e-05 7.459e-05 7.459e-05 0.01% MLMG::mgVcycle_down::2 81 7.436e-05 7.436e-05 7.436e-05 0.01% MLMG::solve() 11 7.126e-05 7.126e-05 7.126e-05 0.01% MLMG::mgVcycle_down::4 81 7.087e-05 7.087e-05 7.087e-05 0.01% MLMG::mgVcycle_down::3 81 6.799e-05 6.799e-05 6.799e-05 0.01% AmrLevel::checkPoint() 3 6.116e-05 6.116e-05 6.116e-05 0.01% Castro::initialize_do_advance() 10 5.636e-05 5.636e-05 5.636e-05 0.01% MLMG::mgVcycle_up::4 81 5.583e-05 5.583e-05 5.583e-05 0.01% MLMG::oneIter() 81 5.232e-05 5.232e-05 5.232e-05 0.01% Castro::do_advance_ctu() 10 5.224e-05 5.224e-05 5.224e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.792e-05 4.792e-05 4.792e-05 0.00% MLMG::mgVcycle_up::0 81 4.735e-05 4.735e-05 4.735e-05 0.00% MLMG::mgVcycle_up::3 81 4.627e-05 4.627e-05 4.627e-05 0.00% MLMG::mgVcycle_up::1 81 4.611e-05 4.611e-05 4.611e-05 0.00% MLMG::mgVcycle_up::2 81 4.517e-05 4.517e-05 4.517e-05 0.00% Castro::finalize_do_advance() 10 4.397e-05 4.397e-05 4.397e-05 0.00% MLCellLinOp::solutionResidual() 92 4.344e-05 4.344e-05 4.344e-05 0.00% FillPatchSingleLevel 41 3.975e-05 3.975e-05 3.975e-05 0.00% MLMG::mgVcycle_bottom 81 3.343e-05 3.343e-05 3.343e-05 0.00% MLMG::ResNormInf() 92 3.298e-05 3.298e-05 3.298e-05 0.00% Amr::defBaseLevel() 1 3.294e-05 3.294e-05 3.294e-05 0.00% MLMG::computeResidual() 81 3.276e-05 3.276e-05 3.276e-05 0.00% MLPoisson::define() 11 3.17e-05 3.17e-05 3.17e-05 0.00% Castro::construct_new_gravity() 10 2.582e-05 2.582e-05 2.582e-05 0.00% Castro::do_old_sources() 10 2.53e-05 2.53e-05 2.53e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.218e-05 2.218e-05 2.218e-05 0.00% Castro::construct_old_source() 50 1.898e-05 1.898e-05 1.898e-05 0.00% Amr::FinalizeInit() 1 1.878e-05 1.878e-05 1.878e-05 0.00% Castro::do_new_sources() 10 1.805e-05 1.805e-05 1.805e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.669e-05 1.669e-05 1.669e-05 0.00% Castro::apply_source_to_state() 20 1.177e-05 1.177e-05 1.177e-05 0.00% Castro::check_for_nan() 20 1.1e-05 1.1e-05 1.1e-05 0.00% Castro::construct_old_gravity() 10 1.014e-05 1.014e-05 1.014e-05 0.00% Castro::post_init() 1 9.979e-06 9.979e-06 9.979e-06 0.00% MLMG::computeMLResidual() 11 9.311e-06 9.311e-06 9.311e-06 0.00% Gravity::actual_multilevel_solve() 1 8.868e-06 8.868e-06 8.868e-06 0.00% Amr::InitializeInit() 1 8.643e-06 8.643e-06 8.643e-06 0.00% MLPoisson::prepareForSolve() 11 7.852e-06 7.852e-06 7.852e-06 0.00% Castro::computeNewDt() 9 6.211e-06 6.211e-06 6.211e-06 0.00% Castro::expand_state() 10 5.971e-06 5.971e-06 5.971e-06 0.00% MLMG::getGradSolution() 11 5.825e-06 5.825e-06 5.825e-06 0.00% Amr::init() 1 2.605e-06 2.605e-06 2.605e-06 0.00% Amr::initialInit() 1 1.145e-06 1.145e-06 1.145e-06 0.00% Other 4705 0.003205 0.003205 0.003205 0.33% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9629 0.9629 0.9629 100.00% Amr::coarseTimeStep() 10 0.806 0.806 0.806 83.70% Amr::timeStep() 10 0.6846 0.6846 0.6846 71.09% Castro::advance() 10 0.6726 0.6726 0.6726 69.85% Castro::subcycle_advance_ctu() 10 0.658 0.658 0.658 68.33% Castro::do_advance_ctu() 10 0.6578 0.6578 0.6578 68.31% Gravity::solve_phi_with_mlmg() 11 0.3059 0.3059 0.3059 31.77% Gravity::actual_solve_with_mlmg() 11 0.2957 0.2957 0.2957 30.70% Castro::construct_ctu_hydro_source() 10 0.2939 0.2939 0.2939 30.52% Castro::construct_new_gravity() 10 0.2805 0.2805 0.2805 29.13% MLMG::solve() 11 0.2731 0.2731 0.2731 28.36% Gravity::solve_for_phi() 10 0.2639 0.2639 0.2639 27.41% MLMG::oneIter() 81 0.2571 0.2571 0.2571 26.70% MLMG::mgVcycle() 81 0.2533 0.2533 0.2533 26.31% VisMF::Write(FabArray) 11 0.1917 0.1917 0.1917 19.91% Amr::checkPoint() 3 0.1676 0.1676 0.1676 17.41% AmrLevel::checkPoint() 3 0.1394 0.1394 0.1394 14.48% StateData::checkPoint() 12 0.1394 0.1394 0.1394 14.47% Amr::init() 1 0.1294 0.1294 0.1294 13.43% MLCellLinOp::smooth() 1620 0.1273 0.1273 0.1273 13.22% MLCellLinOp::applyBC() 4298 0.1183 0.1183 0.1183 12.29% MLMG::mgVcycle_bottom 81 0.07528 0.07528 0.07528 7.82% MLMG::actualBottomSolve() 81 0.07525 0.07525 0.07525 7.81% MLCGSolver::bicgstab 81 0.07439 0.07439 0.07439 7.73% Castro::clean_state() 62 0.06748 0.06748 0.06748 7.01% Amr::writePlotFile() 2 0.05488 0.05488 0.05488 5.70% Amr::initialInit() 1 0.05143 0.05143 0.05143 5.34% AmrLevel::FillPatch() 41 0.04995 0.04995 0.04995 5.19% Amr::FinalizeInit() 1 0.04622 0.04622 0.04622 4.80% FillPatchIterator::Initialize 41 0.0456 0.0456 0.0456 4.74% Castro::post_init() 1 0.04478 0.04478 0.04478 4.65% FillPatchIterator::FillFromLevel0() 41 0.04393 0.04393 0.04393 4.56% FillPatchSingleLevel 41 0.04388 0.04388 0.04388 4.56% Gravity::multilevel_solve_for_new_phi() 1 0.04242 0.04242 0.04242 4.41% Gravity::actual_multilevel_solve() 1 0.0424 0.0424 0.0424 4.40% StateDataPhysBCFunct::() 41 0.03967 0.03967 0.03967 4.12% MLCellLinOp::apply() 1047 0.0377 0.0377 0.0377 3.92% MLMG::mgVcycle_down::0 81 0.03655 0.03655 0.03655 3.80% MLPoisson::Fsmooth() 3240 0.03496 0.03496 0.03496 3.63% FabArray::FillBoundary() 3893 0.03495 0.03495 0.03495 3.63% FillBoundary_nowait() 3893 0.03419 0.03419 0.03419 3.55% Castro::normalize_species() 62 0.02861 0.02861 0.02861 2.97% MLMG::mgVcycle_up::0 81 0.02772 0.02772 0.02772 2.88% Castro::do_old_sources() 10 0.02748 0.02748 0.02748 2.85% StateData::FillBoundary(geom) 328 0.02731 0.02731 0.02731 2.84% Castro::computeTemp() 63 0.02377 0.02377 0.02377 2.47% Castro::initialize_do_advance() 10 0.02228 0.02228 0.02228 2.31% amrex::Dot() 1100 0.02216 0.02216 0.02216 2.30% MLMG:computeResOfCorrection() 405 0.02128 0.02128 0.02128 2.21% MLCellLinOp::correctionResidual() 405 0.02115 0.02115 0.02115 2.20% FabArray::norminf() 1048 0.02056 0.02056 0.02056 2.14% Gravity::get_new_grav_vector() 11 0.01856 0.01856 0.01856 1.93% MLPoisson::define() 11 0.01769 0.01769 0.01769 1.84% MLMG::mgVcycle_down::1 81 0.01725 0.01725 0.01725 1.79% MLMG::mgVcycle_down::2 81 0.01606 0.01606 0.01606 1.67% Castro::construct_old_gravity() 10 0.01588 0.01588 0.01588 1.65% Gravity::get_old_grav_vector() 10 0.01587 0.01587 0.01587 1.65% MLMG::mgVcycle_down::3 81 0.01568 0.01568 0.01568 1.63% MLMG::mgVcycle_down::4 81 0.01552 0.01552 0.01552 1.61% FabArray::ParallelCopy() 851 0.01515 0.01515 0.01515 1.57% FabArray::ParallelCopy_nowait() 851 0.01491 0.01491 0.01491 1.55% Castro::do_new_sources() 10 0.01413 0.01413 0.01413 1.47% FabArray::setVal() 1054 0.01394 0.01394 0.01394 1.45% Castro::initialize_advance() 10 0.01386 0.01386 0.01386 1.44% FabArray::Saxpy() 1353 0.01356 0.01356 0.01356 1.41% MLCGSolver::ParallelAllReduce 1809 0.01327 0.01327 0.01327 1.38% MLMG::addInterpCorrection() 405 0.01266 0.01266 0.01266 1.31% MLMG::mgVcycle_up::1 81 0.01249 0.01249 0.01249 1.30% Castro::expand_state() 10 0.01246 0.01246 0.01246 1.29% MLMG::mgVcycle_up::4 81 0.0124 0.0124 0.0124 1.29% MLMG::mgVcycle_up::2 81 0.01219 0.01219 0.01219 1.27% Castro::enforce_min_density() 62 0.01213 0.01213 0.01213 1.26% MLMG::mgVcycle_up::3 81 0.01198 0.01198 0.01198 1.24% MLCellLinOp::defineAuxData() 11 0.01195 0.01195 0.01195 1.24% amrex::average_down 405 0.01189 0.01189 0.01189 1.23% Castro::post_timestep() 10 0.01182 0.01182 0.01182 1.23% amrex::Copy() 469 0.01117 0.01117 0.01117 1.16% MLPoisson::Fapply() 1047 0.0107 0.0107 0.0107 1.11% Gravity::fill_multipole_BCs() 11 0.009999 0.009999 0.009999 1.04% FabArray::Xpay() 730 0.00816 0.00816 0.00816 0.85% MLCellLinOp::solutionResidual() 92 0.00804 0.00804 0.00804 0.83% Castro::reset_internal_energy(MultiFab) 63 0.006967 0.006967 0.006967 0.72% MLMG::computeResidual() 81 0.006751 0.006751 0.006751 0.70% Castro::estTimeStep() 21 0.00612 0.00612 0.00612 0.64% MLCellLinOp::defineBC() 11 0.005474 0.005474 0.005474 0.57% MLMG::prepareForSolve() 11 0.005316 0.005316 0.005316 0.55% Amr::InitializeInit() 1 0.005211 0.005211 0.005211 0.54% Amr::defBaseLevel() 1 0.005202 0.005202 0.005202 0.54% BndryData::define() 11 0.005202 0.005202 0.005202 0.54% Castro::initData() 1 0.004526 0.004526 0.004526 0.47% Castro::enforce_speed_limit() 62 0.003952 0.003952 0.003952 0.41% amrex::Add() 81 0.003736 0.003736 0.003736 0.39% Castro::construct_new_source() 50 0.003697 0.003697 0.003697 0.38% Castro::construct_new_gravity_source() 10 0.003588 0.003588 0.003588 0.37% Castro::construct_old_source() 50 0.003011 0.003011 0.003011 0.31% Castro::construct_old_gravity_source() 10 0.002992 0.002992 0.002992 0.31% Castro::computeNewDt() 9 0.002613 0.002613 0.002613 0.27% Castro::finalize_do_advance() 10 0.00259 0.00259 0.00259 0.27% MLMG::ResNormInf() 92 0.002276 0.002276 0.002276 0.24% Castro::apply_source_to_state() 20 0.001894 0.001894 0.001894 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001835 0.001835 0.001835 0.19% check_for_negative_density() 10 0.001812 0.001812 0.001812 0.19% Castro::reset_internal_energy(Fab) 504 0.001763 0.001763 0.001763 0.18% MLMG::getGradSolution() 11 0.001663 0.001663 0.001663 0.17% MLCellLinOp::setLevelBC() 11 0.001658 0.001658 0.001658 0.17% MLCellLinOp::compGrad() 11 0.001657 0.001657 0.001657 0.17% FabArrayBase::getCPC() 1313 0.001476 0.001476 0.001476 0.15% FabArray::setDomainBndry() 41 0.00143 0.00143 0.00143 0.15% FabArray::mult() 43 0.001408 0.001408 0.001408 0.15% MLPoisson::prepareForSolve() 11 0.001341 0.001341 0.001341 0.14% MLCellLinOp::prepareForSolve() 11 0.001333 0.001333 0.001333 0.14% MLMG::computeMLResidual() 11 0.001332 0.001332 0.001332 0.14% Castro::check_for_nan() 20 0.001307 0.001307 0.001307 0.14% MultiFab::contains_nan() 20 0.001296 0.001296 0.001296 0.13% Other 4705 0.009106 0.009106 0.009106 0.95% -------------------------------------------------------------------------------------------- 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 5300 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 1011 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1602 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7618 KiB 14 MiB MLMG::prepareForSolve() 660 660 3489 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 200 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 168 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7521 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2052 B 2048 KiB Gravity::solve_for_phi() 80 80 560 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 90 KiB 2048 KiB BndryData::define() 1056 1056 319 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 203 KiB 671 KiB Castro::estTimeStep() 21 21 3101 B 480 KiB VisMF::Write(FabArray) 656 656 3342 B 320 KiB Castro::normalize_species() 62 62 9691 B 320 KiB amrex::average_down 1054 1054 1571 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1132 B 257 KiB amrex::Dot() 1343 1343 3403 B 160 KiB FabArray::norminf() 1129 1129 3308 B 160 KiB check_for_negative_density() 10 10 302 B 160 KiB Castro::initData() 1 1 50 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3406 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 42 B 10 KiB FillBoundary_nowait() 751 751 304 B 9648 B MLCellLinOp::applyBC() 8596 8596 215 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3922 B 6144 B StateData::FillBoundary(geom) 1992 1992 41 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 359 B 1248 B MLCGSolver::bicgstab 405 405 93 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 606 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 39 KiB 8192 KiB VisMF::Write(FabArray) 744 744 445 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3406 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 42 B 10 KiB FillBoundary_nowait() 751 751 303 B 9648 B MLCellLinOp::applyBC() 4298 4298 213 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3922 B 6144 B Gravity::get_new_grav_vector() 3 3 2910 B 3072 B StateData::FillBoundary(geom) 1992 1992 42 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 82 82 618 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 290 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 24 B 400 B FabArray::norminf() 1129 1129 9 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 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.06-16-g1f038e767011) finalized Initializing AMReX (24.06-16-g1f038e767011)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-16-g1f038e767011) initialized Starting run at 07:35:48 UTC on 2024-06-20. Successfully read inputs file ... Castro git describe: 24.06-14-g5f48f9561 AMReX git describe: 24.06-16-g1f038e767 Microphysics git describe: 24.06-10-g30469dd4 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.525894779 Restart time = 0.072468332 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.067377633 [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.053367576 [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.066053856 [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.07900555 [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.079396927 [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.029834152 seconds Ending run at 07:35:49 UTC on 2024-06-20. Run time = 0.448500417 Run time without initialization = 0.375474668 Average number of zones advanced per microsecond: 3.491 Average number of zones advanced per microsecond per rank: 3.491 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.1420 0.1420 0.1420 31.66% VisMF::Read() 3 0.0608 0.0608 0.0608 13.56% MLCellLinOp::applyBC() 1910 0.03755 0.03755 0.03755 8.37% VisMF::Write(FabArray) 1 0.02731 0.02731 0.02731 6.09% MLPoisson::Fsmooth() 1440 0.01582 0.01582 0.01582 3.53% FillBoundary_nowait() 1730 0.0145 0.0145 0.0145 3.23% StateData::FillBoundary(geom) 160 0.01323 0.01323 0.01323 2.95% Castro::normalize_species() 30 0.0112 0.0112 0.0112 2.50% amrex::Dot() 484 0.009756 0.009756 0.009756 2.18% FabArray::norminf() 465 0.009132 0.009132 0.009132 2.04% Castro::computeTemp() 30 0.007578 0.007578 0.007578 1.69% FabArray::setVal() 501 0.006972 0.006972 0.006972 1.55% FabArray::ParallelCopy_nowait() 380 0.006447 0.006447 0.006447 1.44% FabArray::Saxpy() 597 0.006175 0.006175 0.006175 1.38% MLCellLinOp::defineAuxData() 6 0.005749 0.005749 0.005749 1.28% amrex::Copy() 221 0.005745 0.005745 0.005745 1.28% Gravity::fill_multipole_BCs() 6 0.005557 0.005557 0.005557 1.24% Castro::enforce_min_density() 30 0.005351 0.005351 0.005351 1.19% Amr::restart() 1 0.004938 0.004938 0.004938 1.10% MLPoisson::Fapply() 464 0.004834 0.004834 0.004834 1.08% StateDataPhysBCFunct::() 20 0.004673 0.004673 0.004673 1.04% FabArray::Xpay() 325 0.003714 0.003714 0.003714 0.83% Castro::estTimeStep() 10 0.003428 0.003428 0.003428 0.76% MLMG::addInterpCorrection() 180 0.003285 0.003285 0.003285 0.73% amrex::average_down 180 0.002949 0.002949 0.002949 0.66% Amr::writePlotFile() 1 0.002355 0.002355 0.002355 0.53% BndryData::define() 6 0.002263 0.002263 0.002263 0.50% Castro::reset_internal_energy(MultiFab) 30 0.002007 0.002007 0.002007 0.45% Castro::construct_new_gravity_source() 5 0.001847 0.001847 0.001847 0.41% amrex::Add() 36 0.001655 0.001655 0.001655 0.37% Castro::construct_old_gravity_source() 5 0.001514 0.001514 0.001514 0.34% Castro::subcycle_advance_ctu() 5 0.001305 0.001305 0.001305 0.29% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.00103 0.00103 0.00103 0.23% Castro::reset_internal_energy(Fab) 240 0.0009825 0.0009825 0.0009825 0.22% check_for_negative_density() 5 0.0009716 0.0009716 0.0009716 0.22% MLCellLinOp::setLevelBC() 6 0.000934 0.000934 0.000934 0.21% Gravity::actual_solve_with_mlmg() 6 0.000842 0.000842 0.000842 0.19% MLCellLinOp::prepareForSolve() 6 0.0007734 0.0007734 0.0007734 0.17% FabArray::setDomainBndry() 20 0.0007524 0.0007524 0.0007524 0.17% MLCGSolver::bicgstab 36 0.0007469 0.0007469 0.0007469 0.17% FabArray::mult() 22 0.0007144 0.0007144 0.0007144 0.16% MLCellLinOp::compGrad() 6 0.0006346 0.0006346 0.0006346 0.14% MLMG::prepareForSolve() 6 0.0005658 0.0005658 0.0005658 0.13% MLCellLinOp::smooth() 720 0.0005117 0.0005117 0.0005117 0.11% FabArrayBase::getCPC() 632 0.0003843 0.0003843 0.0003843 0.09% FabArray::FillBoundary() 1730 0.000343 0.000343 0.000343 0.08% Gravity::get_old_grav_vector() 5 0.0002917 0.0002917 0.0002917 0.07% main() 1 0.0002767 0.0002767 0.0002767 0.06% Gravity::get_new_grav_vector() 5 0.0002347 0.0002347 0.0002347 0.05% AmrLevel::FillPatch() 20 0.0002179 0.0002179 0.0002179 0.05% MLCellLinOp::apply() 464 0.0002005 0.0002005 0.0002005 0.04% Amr::coarseTimeStep() 5 0.0001716 0.0001716 0.0001716 0.04% MLCellLinOp::defineBC() 6 0.0001477 0.0001477 0.0001477 0.03% MLCGSolver::ParallelAllReduce 798 0.0001424 0.0001424 0.0001424 0.03% Amr::timeStep() 5 0.0001117 0.0001117 0.0001117 0.02% FabArray::ParallelCopy() 380 0.0001098 0.0001098 0.0001098 0.02% FillPatchIterator::Initialize 20 0.0001025 0.0001025 0.0001025 0.02% Castro::construct_new_source() 25 9.132e-05 9.132e-05 9.132e-05 0.02% MLMG::mgVcycle() 36 8.737e-05 8.737e-05 8.737e-05 0.02% MLCellLinOp::correctionResidual() 180 8.162e-05 8.162e-05 8.162e-05 0.02% Castro::finalize_do_advance() 5 7.479e-05 7.479e-05 7.479e-05 0.02% AmrLevel::restart() 1 7.422e-05 7.422e-05 7.422e-05 0.02% Castro::advance() 5 6.634e-05 6.634e-05 6.634e-05 0.01% Gravity::update_max_rhs() 6 6.487e-05 6.487e-05 6.487e-05 0.01% StateData::restartDoit() 4 6.396e-05 6.396e-05 6.396e-05 0.01% MLMG:computeResOfCorrection() 180 5.741e-05 5.741e-05 5.741e-05 0.01% Castro::initialize_do_advance() 5 5.242e-05 5.242e-05 5.242e-05 0.01% Gravity::solve_for_phi() 5 4.884e-05 4.884e-05 4.884e-05 0.01% MLMG::actualBottomSolve() 36 4.462e-05 4.462e-05 4.462e-05 0.01% MLMG::mgVcycle_down::0 36 3.94e-05 3.94e-05 3.94e-05 0.01% MLMG::mgVcycle_down::1 36 3.794e-05 3.794e-05 3.794e-05 0.01% MLMG::solve() 6 3.742e-05 3.742e-05 3.742e-05 0.01% Castro::post_timestep() 5 3.698e-05 3.698e-05 3.698e-05 0.01% Castro::initialize_advance() 5 3.692e-05 3.692e-05 3.692e-05 0.01% Castro::construct_old_source() 25 3.638e-05 3.638e-05 3.638e-05 0.01% Castro::clean_state() 30 3.625e-05 3.625e-05 3.625e-05 0.01% MLMG::mgVcycle_down::2 36 3.522e-05 3.522e-05 3.522e-05 0.01% MLMG::mgVcycle_down::4 36 3.357e-05 3.357e-05 3.357e-05 0.01% MLMG::mgVcycle_down::3 36 3.222e-05 3.222e-05 3.222e-05 0.01% Castro::post_restart() 1 2.878e-05 2.878e-05 2.878e-05 0.01% MLMG::mgVcycle_up::4 36 2.75e-05 2.75e-05 2.75e-05 0.01% MLPoisson::define() 6 2.506e-05 2.506e-05 2.506e-05 0.01% MLMG::oneIter() 36 2.471e-05 2.471e-05 2.471e-05 0.01% Castro::do_advance_ctu() 5 2.414e-05 2.414e-05 2.414e-05 0.01% MLMG::mgVcycle_up::3 36 2.24e-05 2.24e-05 2.24e-05 0.00% MLCellLinOp::solutionResidual() 42 2.186e-05 2.186e-05 2.186e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.1e-05 2.1e-05 2.1e-05 0.00% MLMG::mgVcycle_up::0 36 2.062e-05 2.062e-05 2.062e-05 0.00% MLMG::mgVcycle_up::2 36 2.028e-05 2.028e-05 2.028e-05 0.00% MLMG::mgVcycle_up::1 36 1.971e-05 1.971e-05 1.971e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.743e-05 1.743e-05 1.743e-05 0.00% MLMG::ResNormInf() 42 1.724e-05 1.724e-05 1.724e-05 0.00% FillPatchSingleLevel 20 1.686e-05 1.686e-05 1.686e-05 0.00% MLMG::mgVcycle_bottom 36 1.579e-05 1.579e-05 1.579e-05 0.00% MLMG::computeResidual() 36 1.536e-05 1.536e-05 1.536e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.36e-05 1.36e-05 1.36e-05 0.00% Castro::construct_new_gravity() 5 1.139e-05 1.139e-05 1.139e-05 0.00% Castro::do_old_sources() 5 1.06e-05 1.06e-05 1.06e-05 0.00% Castro::do_new_sources() 5 1.001e-05 1.001e-05 1.001e-05 0.00% Gravity::actual_multilevel_solve() 1 8.716e-06 8.716e-06 8.716e-06 0.00% Castro::apply_source_to_state() 10 6.344e-06 6.344e-06 6.344e-06 0.00% Castro::construct_old_gravity() 5 6.053e-06 6.053e-06 6.053e-06 0.00% Castro::check_for_nan() 10 5.502e-06 5.502e-06 5.502e-06 0.00% MLPoisson::prepareForSolve() 6 4.093e-06 4.093e-06 4.093e-06 0.00% MLMG::computeMLResidual() 6 3.998e-06 3.998e-06 3.998e-06 0.00% Castro::computeNewDt() 5 3.57e-06 3.57e-06 3.57e-06 0.00% Castro::expand_state() 5 3.402e-06 3.402e-06 3.402e-06 0.00% MLMG::getGradSolution() 6 3.245e-06 3.245e-06 3.245e-06 0.00% Amr::init() 1 6.56e-07 6.56e-07 6.56e-07 0.00% Other 2190 0.003082 0.003082 0.003082 0.69% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4485 0.4485 0.4485 100.00% Amr::coarseTimeStep() 5 0.3454 0.3454 0.3454 77.00% Amr::timeStep() 5 0.343 0.343 0.343 76.46% Castro::advance() 5 0.3376 0.3376 0.3376 75.27% Castro::subcycle_advance_ctu() 5 0.3297 0.3297 0.3297 73.50% Castro::do_advance_ctu() 5 0.3284 0.3284 0.3284 73.21% Castro::construct_ctu_hydro_source() 5 0.1476 0.1476 0.1476 32.90% Castro::construct_new_gravity() 5 0.1438 0.1438 0.1438 32.05% Gravity::solve_phi_with_mlmg() 6 0.1412 0.1412 0.1412 31.47% Gravity::solve_for_phi() 5 0.1356 0.1356 0.1356 30.23% Gravity::actual_solve_with_mlmg() 6 0.1353 0.1353 0.1353 30.17% MLMG::solve() 6 0.1229 0.1229 0.1229 27.39% MLMG::oneIter() 36 0.1147 0.1147 0.1147 25.57% MLMG::mgVcycle() 36 0.113 0.113 0.113 25.20% Amr::init() 1 0.07252 0.07252 0.07252 16.17% Amr::restart() 1 0.07251 0.07251 0.07251 16.17% AmrLevel::restart() 1 0.06116 0.06116 0.06116 13.64% StateData::restartDoit() 4 0.06108 0.06108 0.06108 13.62% VisMF::Read() 3 0.0608 0.0608 0.0608 13.56% MLCellLinOp::smooth() 720 0.05674 0.05674 0.05674 12.65% MLCellLinOp::applyBC() 1910 0.05273 0.05273 0.05273 11.76% MLMG::mgVcycle_bottom 36 0.03338 0.03338 0.03338 7.44% MLMG::actualBottomSolve() 36 0.03336 0.03336 0.03336 7.44% MLCGSolver::bicgstab 36 0.03297 0.03297 0.03297 7.35% Amr::writePlotFile() 1 0.02993 0.02993 0.02993 6.67% Castro::clean_state() 30 0.02773 0.02773 0.02773 6.18% VisMF::Write(FabArray) 1 0.02731 0.02731 0.02731 6.09% AmrLevel::FillPatch() 20 0.02304 0.02304 0.02304 5.14% FillPatchIterator::Initialize 20 0.02088 0.02088 0.02088 4.65% FillPatchIterator::FillFromLevel0() 20 0.02002 0.02002 0.02002 4.46% FillPatchSingleLevel 20 0.02 0.02 0.02 4.46% StateDataPhysBCFunct::() 20 0.0179 0.0179 0.0179 3.99% MLCellLinOp::apply() 464 0.01706 0.01706 0.01706 3.80% MLMG::mgVcycle_down::0 36 0.01643 0.01643 0.01643 3.66% MLPoisson::Fsmooth() 1440 0.01582 0.01582 0.01582 3.53% FabArray::FillBoundary() 1730 0.01518 0.01518 0.01518 3.39% FillBoundary_nowait() 1730 0.01484 0.01484 0.01484 3.31% StateData::FillBoundary(geom) 160 0.01323 0.01323 0.01323 2.95% MLMG::mgVcycle_up::0 36 0.0122 0.0122 0.0122 2.72% Castro::normalize_species() 30 0.0112 0.0112 0.0112 2.50% Castro::computeTemp() 30 0.01057 0.01057 0.01057 2.36% Castro::initialize_do_advance() 5 0.01032 0.01032 0.01032 2.30% amrex::Dot() 484 0.009756 0.009756 0.009756 2.18% MLPoisson::define() 6 0.009749 0.009749 0.009749 2.17% MLMG:computeResOfCorrection() 180 0.009552 0.009552 0.009552 2.13% MLCellLinOp::correctionResidual() 180 0.009495 0.009495 0.009495 2.12% Castro::do_old_sources() 5 0.009205 0.009205 0.009205 2.05% FabArray::norminf() 465 0.009132 0.009132 0.009132 2.04% Gravity::get_new_grav_vector() 5 0.008049 0.008049 0.008049 1.79% Castro::do_new_sources() 5 0.008043 0.008043 0.008043 1.79% MLMG::mgVcycle_down::1 36 0.007862 0.007862 0.007862 1.75% Castro::construct_old_gravity() 5 0.007719 0.007719 0.007719 1.72% Gravity::get_old_grav_vector() 5 0.007713 0.007713 0.007713 1.72% Castro::initialize_advance() 5 0.007474 0.007474 0.007474 1.67% MLMG::mgVcycle_down::2 36 0.007265 0.007265 0.007265 1.62% MLMG::mgVcycle_down::3 36 0.006986 0.006986 0.006986 1.56% FabArray::setVal() 501 0.006972 0.006972 0.006972 1.55% FabArray::ParallelCopy() 380 0.006969 0.006969 0.006969 1.55% MLMG::mgVcycle_down::4 36 0.006931 0.006931 0.006931 1.55% FabArray::ParallelCopy_nowait() 380 0.006859 0.006859 0.006859 1.53% MLCellLinOp::defineAuxData() 6 0.006566 0.006566 0.006566 1.46% Castro::post_restart() 1 0.006213 0.006213 0.006213 1.39% FabArray::Saxpy() 597 0.006175 0.006175 0.006175 1.38% MLCGSolver::ParallelAllReduce 798 0.00589 0.00589 0.00589 1.31% Gravity::multilevel_solve_for_new_phi() 1 0.005819 0.005819 0.005819 1.30% Gravity::actual_multilevel_solve() 1 0.005801 0.005801 0.005801 1.29% Castro::expand_state() 5 0.005791 0.005791 0.005791 1.29% amrex::Copy() 221 0.005745 0.005745 0.005745 1.28% MLMG::addInterpCorrection() 180 0.005718 0.005718 0.005718 1.27% Gravity::fill_multipole_BCs() 6 0.005695 0.005695 0.005695 1.27% MLMG::mgVcycle_up::1 36 0.00556 0.00556 0.00556 1.24% MLMG::mgVcycle_up::4 36 0.005552 0.005552 0.005552 1.24% MLMG::mgVcycle_up::2 36 0.005436 0.005436 0.005436 1.21% amrex::average_down 180 0.005404 0.005404 0.005404 1.20% Castro::enforce_min_density() 30 0.005351 0.005351 0.005351 1.19% MLMG::mgVcycle_up::3 36 0.005323 0.005323 0.005323 1.19% Castro::post_timestep() 5 0.005253 0.005253 0.005253 1.17% MLPoisson::Fapply() 464 0.004834 0.004834 0.004834 1.08% MLCellLinOp::solutionResidual() 42 0.003886 0.003886 0.003886 0.87% FabArray::Xpay() 325 0.003714 0.003714 0.003714 0.83% Castro::estTimeStep() 10 0.003428 0.003428 0.003428 0.76% MLMG::computeResidual() 36 0.003048 0.003048 0.003048 0.68% MLCellLinOp::defineBC() 6 0.003023 0.003023 0.003023 0.67% MLMG::prepareForSolve() 6 0.003016 0.003016 0.003016 0.67% Castro::reset_internal_energy(MultiFab) 30 0.002989 0.002989 0.002989 0.67% BndryData::define() 6 0.002875 0.002875 0.002875 0.64% Castro::computeNewDt() 5 0.00224 0.00224 0.00224 0.50% Castro::construct_new_source() 25 0.001938 0.001938 0.001938 0.43% Castro::construct_new_gravity_source() 5 0.001847 0.001847 0.001847 0.41% amrex::Add() 36 0.001655 0.001655 0.001655 0.37% Castro::construct_old_source() 25 0.00155 0.00155 0.00155 0.35% Castro::construct_old_gravity_source() 5 0.001514 0.001514 0.001514 0.34% Castro::finalize_do_advance() 5 0.001267 0.001267 0.001267 0.28% MLMG::ResNormInf() 42 0.001071 0.001071 0.001071 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.00103 0.00103 0.00103 0.23% Castro::reset_internal_energy(Fab) 240 0.0009825 0.0009825 0.0009825 0.22% Castro::apply_source_to_state() 10 0.0009738 0.0009738 0.0009738 0.22% check_for_negative_density() 5 0.0009716 0.0009716 0.0009716 0.22% MLMG::getGradSolution() 6 0.0009426 0.0009426 0.0009426 0.21% MLCellLinOp::compGrad() 6 0.0009394 0.0009394 0.0009394 0.21% MLCellLinOp::setLevelBC() 6 0.000934 0.000934 0.000934 0.21% MLMG::computeMLResidual() 6 0.0008581 0.0008581 0.0008581 0.19% FabArrayBase::getCPC() 632 0.0008117 0.0008117 0.0008117 0.18% MLPoisson::prepareForSolve() 6 0.0007775 0.0007775 0.0007775 0.17% MLCellLinOp::prepareForSolve() 6 0.0007734 0.0007734 0.0007734 0.17% Gravity::update_max_rhs() 6 0.0007653 0.0007653 0.0007653 0.17% FabArray::setDomainBndry() 20 0.0007524 0.0007524 0.0007524 0.17% FabArray::mult() 22 0.0007144 0.0007144 0.0007144 0.16% Castro::check_for_nan() 10 0.0006859 0.0006859 0.0006859 0.15% Other 2190 0.004403 0.004403 0.004403 0.98% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 11 MiB 9037 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1008 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1796 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 6452 KiB 14 MiB MLMG::prepareForSolve() 361 361 3363 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 178 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 183 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6438 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3400 B 2048 KiB Gravity::solve_for_phi() 40 40 618 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 310 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 198 KiB 671 KiB Castro::estTimeStep() 10 10 3605 B 480 KiB VisMF::Write(FabArray) 112 112 1303 B 320 KiB Castro::normalize_species() 30 30 8132 B 320 KiB amrex::average_down 469 469 1432 B 257 KiB MLMG::addInterpCorrection() 468 468 1082 B 257 KiB amrex::Dot() 592 592 3217 B 160 KiB FabArray::norminf() 501 501 3151 B 160 KiB check_for_negative_density() 5 5 348 B 160 KiB MultiFab::max() 6 6 82 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3260 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 280 B 9648 B MLCellLinOp::applyBC() 3820 3820 211 B 9344 B amrex::Copy() 56 56 5923 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 39 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCellLinOp::defineBC() 36 36 348 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 1267 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 173 KiB 3584 KiB VisMF::Read() 24 24 205 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3260 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 280 B 9648 B MLCellLinOp::applyBC() 1910 1910 210 B 9328 B amrex::Copy() 56 56 5924 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2528 B 3072 B StateData::FillBoundary(geom) 960 960 39 B 3024 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B MLMG::prepareForSolve() 7 7 804 B 1648 B amrex::average_down 37 37 470 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 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.06-16-g1f038e767011) finalized