Initializing AMReX (24.06-16-g1f038e767011)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-16-g1f038e767011) initialized Starting run at 07:53:58 UTC on 2024-06-18. Successfully read inputs file ... Castro git describe: 24.06-9-g622dd7b58 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.047668404 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.026734928 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.065434906 [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.072968112 [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.08062041 [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.068020338 [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.057095822 [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.054396347 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.053047837 [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.073269303 [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.074208153 [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.052896031 [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.063645855 [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.046667269 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.026423527 seconds Ending run at 07:53:59 UTC on 2024-06-18. Run time = 0.915892603 Run time without initialization = 0.789430602 Average number of zones advanced per microsecond: 3.321 Average number of zones advanced per microsecond per rank: 3.321 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9159 ... 0.9159 ... 0.9159 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2572 0.2572 0.2572 28.09% VisMF::Write(FabArray) 11 0.1928 0.1928 0.1928 21.05% MLCellLinOp::applyBC() 4298 0.08194 0.08194 0.08194 8.95% MLPoisson::Fsmooth() 3240 0.03416 0.03416 0.03416 3.73% FillBoundary_nowait() 3893 0.03352 0.03352 0.03352 3.66% StateDataPhysBCFunct::() 41 0.03254 0.03254 0.03254 3.55% StateData::FillBoundary(geom) 328 0.02413 0.02413 0.02413 2.63% amrex::Dot() 1100 0.02145 0.02145 0.02145 2.34% FabArray::norminf() 1048 0.01992 0.01992 0.01992 2.17% Castro::normalize_species() 62 0.01792 0.01792 0.01792 1.96% Castro::computeTemp() 63 0.01482 0.01482 0.01482 1.62% FabArray::ParallelCopy_nowait() 851 0.01375 0.01375 0.01375 1.50% FabArray::setVal() 1054 0.01365 0.01365 0.01365 1.49% FabArray::Saxpy() 1353 0.01322 0.01322 0.01322 1.44% Castro::enforce_min_density() 62 0.01198 0.01198 0.01198 1.31% amrex::Copy() 469 0.01104 0.01104 0.01104 1.21% MLPoisson::Fapply() 1047 0.01045 0.01045 0.01045 1.14% MLCellLinOp::defineAuxData() 11 0.01044 0.01044 0.01044 1.14% Gravity::fill_multipole_BCs() 11 0.009571 0.009571 0.009571 1.04% FabArray::Xpay() 730 0.007984 0.007984 0.007984 0.87% MLMG::addInterpCorrection() 405 0.007076 0.007076 0.007076 0.77% Amr::checkPoint() 3 0.006734 0.006734 0.006734 0.74% Castro::estTimeStep() 21 0.006503 0.006503 0.006503 0.71% amrex::average_down 405 0.006241 0.006241 0.006241 0.68% Castro::reset_internal_energy(MultiFab) 63 0.004842 0.004842 0.004842 0.53% BndryData::define() 11 0.003937 0.003937 0.003937 0.43% Castro::enforce_speed_limit() 62 0.003814 0.003814 0.003814 0.42% amrex::Add() 81 0.003723 0.003723 0.003723 0.41% Castro::construct_new_gravity_source() 10 0.003584 0.003584 0.003584 0.39% Castro::construct_old_gravity_source() 10 0.002984 0.002984 0.002984 0.33% Amr::writePlotFile() 2 0.001838 0.001838 0.001838 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001819 0.001819 0.001819 0.20% MLCGSolver::bicgstab 81 0.001675 0.001675 0.001675 0.18% Castro::reset_internal_energy(Fab) 504 0.001654 0.001654 0.001654 0.18% check_for_negative_density() 10 0.00165 0.00165 0.00165 0.18% MLCellLinOp::setLevelBC() 11 0.001642 0.001642 0.001642 0.18% Castro::initData() 1 0.001618 0.001618 0.001618 0.18% Gravity::actual_solve_with_mlmg() 11 0.00155 0.00155 0.00155 0.17% FabArray::mult() 43 0.001403 0.001403 0.001403 0.15% FabArray::setDomainBndry() 41 0.001375 0.001375 0.001375 0.15% MLCellLinOp::prepareForSolve() 11 0.001323 0.001323 0.001323 0.14% MultiFab::contains_nan() 20 0.001305 0.001305 0.001305 0.14% MLCellLinOp::smooth() 1620 0.001124 0.001124 0.001124 0.12% MLCellLinOp::compGrad() 11 0.0011 0.0011 0.0011 0.12% MLMG::prepareForSolve() 11 0.0009623 0.0009623 0.0009623 0.11% FabArray::FillBoundary() 3893 0.0008071 0.0008071 0.0008071 0.09% FabArrayBase::getCPC() 1313 0.0008048 0.0008048 0.0008048 0.09% Gravity::get_new_grav_vector() 11 0.0006 0.0006 0.0006 0.07% Gravity::get_old_grav_vector() 10 0.0004875 0.0004875 0.0004875 0.05% MLCellLinOp::apply() 1047 0.0004337 0.0004337 0.0004337 0.05% Amr::coarseTimeStep() 10 0.0004249 0.0004249 0.0004249 0.05% AmrLevel::FillPatch() 41 0.0004144 0.0004144 0.0004144 0.05% main() 1 0.0003082 0.0003082 0.0003082 0.03% MLCGSolver::ParallelAllReduce 1809 0.0003069 0.0003069 0.0003069 0.03% MLCellLinOp::defineBC() 11 0.0002768 0.0002768 0.0002768 0.03% FabArray::ParallelCopy() 851 0.0002526 0.0002526 0.0002526 0.03% FillPatchIterator::Initialize 41 0.0002146 0.0002146 0.0002146 0.02% Castro::subcycle_advance_ctu() 10 0.0002058 0.0002058 0.0002058 0.02% MLMG::mgVcycle() 81 0.0002039 0.0002039 0.0002039 0.02% MLCellLinOp::correctionResidual() 405 0.0001779 0.0001779 0.0001779 0.02% Amr::timeStep() 10 0.0001659 0.0001659 0.0001659 0.02% StateData::checkPoint() 12 0.0001356 0.0001356 0.0001356 0.01% MLMG:computeResOfCorrection() 405 0.0001306 0.0001306 0.0001306 0.01% Castro::advance() 10 0.0001294 0.0001294 0.0001294 0.01% Gravity::solve_for_phi() 10 0.0001091 0.0001091 0.0001091 0.01% Castro::initialize_advance() 10 8.938e-05 8.938e-05 8.938e-05 0.01% MLMG::actualBottomSolve() 81 8.84e-05 8.84e-05 8.84e-05 0.01% MLMG::mgVcycle_down::0 81 8.275e-05 8.275e-05 8.275e-05 0.01% MLMG::mgVcycle_down::1 81 8.081e-05 8.081e-05 8.081e-05 0.01% Castro::do_new_sources() 10 7.899e-05 7.899e-05 7.899e-05 0.01% MLMG::mgVcycle_down::2 81 7.84e-05 7.84e-05 7.84e-05 0.01% MLMG::mgVcycle_down::4 81 7.446e-05 7.446e-05 7.446e-05 0.01% MLMG::mgVcycle_down::3 81 7.282e-05 7.282e-05 7.282e-05 0.01% Castro::clean_state() 62 7.277e-05 7.277e-05 7.277e-05 0.01% MLMG::solve() 11 7.251e-05 7.251e-05 7.251e-05 0.01% Castro::construct_new_source() 50 7.228e-05 7.228e-05 7.228e-05 0.01% AmrLevel::checkPoint() 3 6.358e-05 6.358e-05 6.358e-05 0.01% Castro::initialize_do_advance() 10 5.916e-05 5.916e-05 5.916e-05 0.01% MLMG::mgVcycle_up::4 81 5.686e-05 5.686e-05 5.686e-05 0.01% MLMG::oneIter() 81 5.477e-05 5.477e-05 5.477e-05 0.01% MLMG::mgVcycle_up::0 81 5.01e-05 5.01e-05 5.01e-05 0.01% Castro::finalize_do_advance() 10 4.999e-05 4.999e-05 4.999e-05 0.01% Castro::do_advance_ctu() 10 4.945e-05 4.945e-05 4.945e-05 0.01% MLMG::mgVcycle_up::3 81 4.908e-05 4.908e-05 4.908e-05 0.01% MLMG::mgVcycle_up::1 81 4.708e-05 4.708e-05 4.708e-05 0.01% MLMG::mgVcycle_up::2 81 4.692e-05 4.692e-05 4.692e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.629e-05 4.629e-05 4.629e-05 0.01% MLCellLinOp::solutionResidual() 92 4.585e-05 4.585e-05 4.585e-05 0.01% FillPatchSingleLevel 41 3.843e-05 3.843e-05 3.843e-05 0.00% MLMG::computeResidual() 81 3.722e-05 3.722e-05 3.722e-05 0.00% Castro::post_timestep() 10 3.349e-05 3.349e-05 3.349e-05 0.00% MLMG::mgVcycle_bottom 81 3.269e-05 3.269e-05 3.269e-05 0.00% MLPoisson::define() 11 3.171e-05 3.171e-05 3.171e-05 0.00% Amr::defBaseLevel() 1 2.929e-05 2.929e-05 2.929e-05 0.00% MLMG::ResNormInf() 92 2.923e-05 2.923e-05 2.923e-05 0.00% Castro::construct_new_gravity() 10 2.49e-05 2.49e-05 2.49e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.353e-05 2.353e-05 2.353e-05 0.00% Castro::construct_old_source() 50 2.26e-05 2.26e-05 2.26e-05 0.00% Castro::do_old_sources() 10 2.126e-05 2.126e-05 2.126e-05 0.00% Amr::FinalizeInit() 1 1.987e-05 1.987e-05 1.987e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.837e-05 1.837e-05 1.837e-05 0.00% Castro::apply_source_to_state() 20 1.195e-05 1.195e-05 1.195e-05 0.00% Castro::computeNewDt() 9 1.167e-05 1.167e-05 1.167e-05 0.00% Castro::check_for_nan() 20 1.152e-05 1.152e-05 1.152e-05 0.00% MLMG::computeMLResidual() 11 1.124e-05 1.124e-05 1.124e-05 0.00% Castro::construct_old_gravity() 10 1.099e-05 1.099e-05 1.099e-05 0.00% Castro::post_init() 1 9.601e-06 9.601e-06 9.601e-06 0.00% MLPoisson::prepareForSolve() 11 8.855e-06 8.855e-06 8.855e-06 0.00% Gravity::actual_multilevel_solve() 1 8.752e-06 8.752e-06 8.752e-06 0.00% Amr::InitializeInit() 1 8.471e-06 8.471e-06 8.471e-06 0.00% Castro::expand_state() 10 6.047e-06 6.047e-06 6.047e-06 0.00% MLMG::getGradSolution() 11 5.958e-06 5.958e-06 5.958e-06 0.00% Amr::init() 1 2.47e-06 2.47e-06 2.47e-06 0.00% Amr::initialInit() 1 1.241e-06 1.241e-06 1.241e-06 0.00% Castro::post_regrid() 1 1.184e-06 1.184e-06 1.184e-06 0.00% Other 4704 0.003313 0.003313 0.003313 0.36% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9159 0.9159 0.9159 100.00% Amr::coarseTimeStep() 10 0.7628 0.7628 0.7628 83.28% Amr::timeStep() 10 0.6575 0.6575 0.6575 71.78% Castro::advance() 10 0.6458 0.6458 0.6458 70.50% Castro::subcycle_advance_ctu() 10 0.6317 0.6317 0.6317 68.97% Castro::do_advance_ctu() 10 0.6315 0.6315 0.6315 68.95% Gravity::solve_phi_with_mlmg() 11 0.3002 0.3002 0.3002 32.78% Gravity::actual_solve_with_mlmg() 11 0.2902 0.2902 0.2902 31.68% Castro::construct_new_gravity() 10 0.2817 0.2817 0.2817 30.76% MLMG::solve() 11 0.2679 0.2679 0.2679 29.25% Castro::construct_ctu_hydro_source() 10 0.2672 0.2672 0.2672 29.17% Gravity::solve_for_phi() 10 0.2589 0.2589 0.2589 28.26% MLMG::oneIter() 81 0.2521 0.2521 0.2521 27.52% MLMG::mgVcycle() 81 0.2483 0.2483 0.2483 27.11% VisMF::Write(FabArray) 11 0.1928 0.1928 0.1928 21.05% Amr::checkPoint() 3 0.1489 0.1489 0.1489 16.25% AmrLevel::checkPoint() 3 0.1421 0.1421 0.1421 15.52% StateData::checkPoint() 12 0.1421 0.1421 0.1421 15.51% Amr::init() 1 0.1258 0.1258 0.1258 13.74% MLCellLinOp::smooth() 1620 0.1255 0.1255 0.1255 13.70% MLCellLinOp::applyBC() 4298 0.117 0.117 0.117 12.77% MLMG::mgVcycle_bottom 81 0.07307 0.07307 0.07307 7.98% MLMG::actualBottomSolve() 81 0.07303 0.07303 0.07303 7.97% MLCGSolver::bicgstab 81 0.0722 0.0722 0.0722 7.88% AmrLevel::FillPatch() 41 0.06687 0.06687 0.06687 7.30% FillPatchIterator::Initialize 41 0.06257 0.06257 0.06257 6.83% FillPatchIterator::FillFromLevel0() 41 0.06098 0.06098 0.06098 6.66% FillPatchSingleLevel 41 0.06094 0.06094 0.06094 6.65% StateDataPhysBCFunct::() 41 0.05667 0.05667 0.05667 6.19% Castro::clean_state() 62 0.05446 0.05446 0.05446 5.95% Amr::writePlotFile() 2 0.05328 0.05328 0.05328 5.82% Amr::initialInit() 1 0.05128 0.05128 0.05128 5.60% Amr::FinalizeInit() 1 0.04634 0.04634 0.04634 5.06% Castro::post_init() 1 0.04486 0.04486 0.04486 4.90% Gravity::multilevel_solve_for_new_phi() 1 0.0418 0.0418 0.0418 4.56% Gravity::actual_multilevel_solve() 1 0.04178 0.04178 0.04178 4.56% MLCellLinOp::apply() 1047 0.03717 0.03717 0.03717 4.06% MLMG::mgVcycle_down::0 81 0.03638 0.03638 0.03638 3.97% FabArray::FillBoundary() 3893 0.03505 0.03505 0.03505 3.83% FillBoundary_nowait() 3893 0.03425 0.03425 0.03425 3.74% MLPoisson::Fsmooth() 3240 0.03416 0.03416 0.03416 3.73% MLMG::mgVcycle_up::0 81 0.02753 0.02753 0.02753 3.01% Gravity::get_new_grav_vector() 11 0.02545 0.02545 0.02545 2.78% StateData::FillBoundary(geom) 328 0.02413 0.02413 0.02413 2.63% Castro::initialize_do_advance() 10 0.02368 0.02368 0.02368 2.59% Castro::construct_old_gravity() 10 0.02205 0.02205 0.02205 2.41% Gravity::get_old_grav_vector() 10 0.02204 0.02204 0.02204 2.41% amrex::Dot() 1100 0.02145 0.02145 0.02145 2.34% Castro::computeTemp() 63 0.02132 0.02132 0.02132 2.33% Castro::do_old_sources() 10 0.02123 0.02123 0.02123 2.32% MLMG:computeResOfCorrection() 405 0.02109 0.02109 0.02109 2.30% MLCellLinOp::correctionResidual() 405 0.02096 0.02096 0.02096 2.29% FabArray::norminf() 1048 0.01992 0.01992 0.01992 2.17% Castro::normalize_species() 62 0.01792 0.01792 0.01792 1.96% MLPoisson::define() 11 0.01743 0.01743 0.01743 1.90% MLMG::mgVcycle_down::1 81 0.01694 0.01694 0.01694 1.85% MLMG::mgVcycle_down::2 81 0.01572 0.01572 0.01572 1.72% MLMG::mgVcycle_down::3 81 0.01529 0.01529 0.01529 1.67% MLMG::mgVcycle_down::4 81 0.01518 0.01518 0.01518 1.66% FabArray::ParallelCopy() 851 0.01482 0.01482 0.01482 1.62% FabArray::ParallelCopy_nowait() 851 0.01457 0.01457 0.01457 1.59% Castro::expand_state() 10 0.01406 0.01406 0.01406 1.54% FabArray::setVal() 1054 0.01365 0.01365 0.01365 1.49% Castro::initialize_advance() 10 0.01325 0.01325 0.01325 1.45% FabArray::Saxpy() 1353 0.01322 0.01322 0.01322 1.44% MLCGSolver::ParallelAllReduce 1809 0.01283 0.01283 0.01283 1.40% MLMG::addInterpCorrection() 405 0.01236 0.01236 0.01236 1.35% MLMG::mgVcycle_up::1 81 0.01223 0.01223 0.01223 1.34% MLMG::mgVcycle_up::4 81 0.01219 0.01219 0.01219 1.33% Castro::do_new_sources() 10 0.01208 0.01208 0.01208 1.32% Castro::enforce_min_density() 62 0.01198 0.01198 0.01198 1.31% MLCellLinOp::defineAuxData() 11 0.01192 0.01192 0.01192 1.30% MLMG::mgVcycle_up::2 81 0.0119 0.0119 0.0119 1.30% MLMG::mgVcycle_up::3 81 0.01169 0.01169 0.01169 1.28% Castro::post_timestep() 10 0.01157 0.01157 0.01157 1.26% amrex::average_down 405 0.01155 0.01155 0.01155 1.26% amrex::Copy() 469 0.01104 0.01104 0.01104 1.21% MLPoisson::Fapply() 1047 0.01045 0.01045 0.01045 1.14% Gravity::fill_multipole_BCs() 11 0.009833 0.009833 0.009833 1.07% FabArray::Xpay() 730 0.007984 0.007984 0.007984 0.87% MLCellLinOp::solutionResidual() 92 0.007967 0.007967 0.007967 0.87% MLMG::computeResidual() 81 0.006694 0.006694 0.006694 0.73% Castro::estTimeStep() 21 0.006503 0.006503 0.006503 0.71% Castro::reset_internal_energy(MultiFab) 63 0.006497 0.006497 0.006497 0.71% MLCellLinOp::defineBC() 11 0.00523 0.00523 0.00523 0.57% MLMG::prepareForSolve() 11 0.005217 0.005217 0.005217 0.57% BndryData::define() 11 0.004953 0.004953 0.004953 0.54% Amr::InitializeInit() 1 0.004932 0.004932 0.004932 0.54% Amr::defBaseLevel() 1 0.004924 0.004924 0.004924 0.54% Castro::initData() 1 0.004227 0.004227 0.004227 0.46% Castro::enforce_speed_limit() 62 0.003814 0.003814 0.003814 0.42% amrex::Add() 81 0.003723 0.003723 0.003723 0.41% Castro::construct_new_source() 50 0.003656 0.003656 0.003656 0.40% Castro::construct_new_gravity_source() 10 0.003584 0.003584 0.003584 0.39% Castro::construct_old_source() 50 0.003007 0.003007 0.003007 0.33% Castro::construct_old_gravity_source() 10 0.002984 0.002984 0.002984 0.33% Castro::computeNewDt() 9 0.002948 0.002948 0.002948 0.32% Castro::finalize_do_advance() 10 0.002596 0.002596 0.002596 0.28% MLMG::ResNormInf() 92 0.002244 0.002244 0.002244 0.25% Castro::apply_source_to_state() 20 0.001895 0.001895 0.001895 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001819 0.001819 0.001819 0.20% Castro::reset_internal_energy(Fab) 504 0.001654 0.001654 0.001654 0.18% check_for_negative_density() 10 0.00165 0.00165 0.00165 0.18% MLCellLinOp::setLevelBC() 11 0.001642 0.001642 0.001642 0.18% MLMG::getGradSolution() 11 0.001635 0.001635 0.001635 0.18% MLCellLinOp::compGrad() 11 0.001629 0.001629 0.001629 0.18% FabArrayBase::getCPC() 1313 0.001492 0.001492 0.001492 0.16% FabArray::mult() 43 0.001403 0.001403 0.001403 0.15% FabArray::setDomainBndry() 41 0.001375 0.001375 0.001375 0.15% MLPoisson::prepareForSolve() 11 0.001332 0.001332 0.001332 0.15% MLCellLinOp::prepareForSolve() 11 0.001323 0.001323 0.001323 0.14% MLMG::computeMLResidual() 11 0.001322 0.001322 0.001322 0.14% Castro::check_for_nan() 20 0.001316 0.001316 0.001316 0.14% MultiFab::contains_nan() 20 0.001305 0.001305 0.001305 0.14% Castro::post_regrid() 1 0.001203 0.001203 0.001203 0.13% Other 4704 0.008177 0.008177 0.008177 0.89% -------------------------------------------------------------------------------------------- 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 5592 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 1340 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1635 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 3598 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 287 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 246 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7519 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2222 B 2048 KiB Gravity::solve_for_phi() 80 80 578 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 93 KiB 2048 KiB BndryData::define() 1056 1056 329 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 209 KiB 671 KiB Castro::estTimeStep() 21 21 3463 B 480 KiB VisMF::Write(FabArray) 656 656 3476 B 320 KiB Castro::normalize_species() 62 62 6369 B 320 KiB amrex::average_down 1054 1054 1593 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1161 B 257 KiB amrex::Dot() 1343 1343 3460 B 160 KiB FabArray::norminf() 1129 1129 3366 B 160 KiB check_for_negative_density() 10 10 288 B 160 KiB Castro::initData() 1 1 50 B 160 KiB MultiFab::max() 11 11 59 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3513 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 43 B 10 KiB FillBoundary_nowait() 751 751 320 B 9648 B MLCellLinOp::applyBC() 8596 8596 223 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3928 B 6144 B StateData::FillBoundary(geom) 1992 1992 110 B 4320 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 370 B 1248 B MLCGSolver::bicgstab 405 405 95 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 719 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 466 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3513 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 43 B 10 KiB FillBoundary_nowait() 751 751 319 B 9648 B MLCellLinOp::applyBC() 4298 4298 220 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3928 B 6144 B StateData::FillBoundary(geom) 1992 1992 111 B 4320 B Gravity::get_new_grav_vector() 3 3 2904 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 82 82 617 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 299 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 25 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:54:00 UTC on 2024-06-18. Successfully read inputs file ... Castro git describe: 24.06-9-g622dd7b58 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.525066659 Restart time = 0.072547768 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.067490043 [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.068627557 [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.075669291 [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.062893468 [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.068369428 [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.066145067 seconds Ending run at 07:54:01 UTC on 2024-06-18. Run time = 0.482740448 Run time without initialization = 0.40963029 Average number of zones advanced per microsecond: 3.200 Average number of zones advanced per microsecond per rank: 3.200 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4828 ... 0.4828 ... 0.4828 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1406 0.1406 0.1406 29.13% VisMF::Read() 3 0.06112 0.06112 0.06112 12.66% Amr::writePlotFile() 1 0.03846 0.03846 0.03846 7.97% MLCellLinOp::applyBC() 1910 0.03691 0.03691 0.03691 7.65% VisMF::Write(FabArray) 1 0.02751 0.02751 0.02751 5.70% MLPoisson::Fsmooth() 1440 0.02162 0.02162 0.02162 4.48% FillBoundary_nowait() 1730 0.01525 0.01525 0.01525 3.16% StateData::FillBoundary(geom) 160 0.01285 0.01285 0.01285 2.66% amrex::Dot() 484 0.00941 0.00941 0.00941 1.95% FabArray::norminf() 465 0.008876 0.008876 0.008876 1.84% Castro::normalize_species() 30 0.008874 0.008874 0.008874 1.84% Castro::computeTemp() 30 0.007031 0.007031 0.007031 1.46% FabArray::setVal() 501 0.006813 0.006813 0.006813 1.41% FabArray::ParallelCopy_nowait() 380 0.006333 0.006333 0.006333 1.31% FabArray::Saxpy() 597 0.005981 0.005981 0.005981 1.24% MLCellLinOp::defineAuxData() 6 0.005738 0.005738 0.005738 1.19% amrex::Copy() 221 0.00563 0.00563 0.00563 1.17% Castro::enforce_min_density() 30 0.005469 0.005469 0.005469 1.13% Gravity::fill_multipole_BCs() 6 0.004968 0.004968 0.004968 1.03% Amr::restart() 1 0.004779 0.004779 0.004779 0.99% MLPoisson::Fapply() 464 0.004666 0.004666 0.004666 0.97% StateDataPhysBCFunct::() 20 0.00446 0.00446 0.00446 0.92% FabArray::Xpay() 325 0.003581 0.003581 0.003581 0.74% MLMG::addInterpCorrection() 180 0.003283 0.003283 0.003283 0.68% Castro::estTimeStep() 10 0.00328 0.00328 0.00328 0.68% amrex::average_down 180 0.002853 0.002853 0.002853 0.59% BndryData::define() 6 0.002156 0.002156 0.002156 0.45% Castro::reset_internal_energy(MultiFab) 30 0.00202 0.00202 0.00202 0.42% amrex::Add() 36 0.001644 0.001644 0.001644 0.34% Castro::construct_new_gravity_source() 5 0.001569 0.001569 0.001569 0.32% Castro::subcycle_advance_ctu() 5 0.001288 0.001288 0.001288 0.27% Castro::construct_old_gravity_source() 5 0.001245 0.001245 0.001245 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001016 0.001016 0.001016 0.21% MLCellLinOp::setLevelBC() 6 0.0009011 0.0009011 0.0009011 0.19% check_for_negative_density() 5 0.0008775 0.0008775 0.0008775 0.18% Gravity::actual_solve_with_mlmg() 6 0.0008555 0.0008555 0.0008555 0.18% Castro::reset_internal_energy(Fab) 240 0.0008296 0.0008296 0.0008296 0.17% MLCellLinOp::prepareForSolve() 6 0.0007738 0.0007738 0.0007738 0.16% FabArray::setDomainBndry() 20 0.000727 0.000727 0.000727 0.15% MLCGSolver::bicgstab 36 0.0007186 0.0007186 0.0007186 0.15% FabArray::mult() 22 0.0007138 0.0007138 0.0007138 0.15% MLCellLinOp::compGrad() 6 0.0006479 0.0006479 0.0006479 0.13% MLMG::prepareForSolve() 6 0.0005567 0.0005567 0.0005567 0.12% MLCellLinOp::smooth() 720 0.0005045 0.0005045 0.0005045 0.10% FabArrayBase::getCPC() 632 0.0003854 0.0003854 0.0003854 0.08% FabArray::FillBoundary() 1730 0.0003657 0.0003657 0.0003657 0.08% main() 1 0.0002945 0.0002945 0.0002945 0.06% Gravity::get_old_grav_vector() 5 0.0002892 0.0002892 0.0002892 0.06% Gravity::get_new_grav_vector() 5 0.000242 0.000242 0.000242 0.05% AmrLevel::FillPatch() 20 0.0001987 0.0001987 0.0001987 0.04% MLCellLinOp::apply() 464 0.0001932 0.0001932 0.0001932 0.04% Amr::coarseTimeStep() 5 0.000147 0.000147 0.000147 0.03% Castro::construct_new_source() 25 0.0001454 0.0001454 0.0001454 0.03% MLCellLinOp::defineBC() 6 0.0001443 0.0001443 0.0001443 0.03% MLCGSolver::ParallelAllReduce 798 0.0001318 0.0001318 0.0001318 0.03% FabArray::ParallelCopy() 380 0.0001114 0.0001114 0.0001114 0.02% FillPatchIterator::Initialize 20 0.0001036 0.0001036 0.0001036 0.02% Amr::timeStep() 5 0.0001017 0.0001017 0.0001017 0.02% MLMG::mgVcycle() 36 8.894e-05 8.894e-05 8.894e-05 0.02% Castro::finalize_do_advance() 5 8.092e-05 8.092e-05 8.092e-05 0.02% MLCellLinOp::correctionResidual() 180 7.704e-05 7.704e-05 7.704e-05 0.02% AmrLevel::restart() 1 7.145e-05 7.145e-05 7.145e-05 0.01% Castro::do_new_sources() 5 6.669e-05 6.669e-05 6.669e-05 0.01% StateData::restartDoit() 4 6.474e-05 6.474e-05 6.474e-05 0.01% Gravity::update_max_rhs() 6 6.434e-05 6.434e-05 6.434e-05 0.01% MLMG:computeResOfCorrection() 180 5.478e-05 5.478e-05 5.478e-05 0.01% Gravity::solve_for_phi() 5 5.295e-05 5.295e-05 5.295e-05 0.01% MLMG::mgVcycle_down::0 36 4.181e-05 4.181e-05 4.181e-05 0.01% MLMG::mgVcycle_down::1 36 4.147e-05 4.147e-05 4.147e-05 0.01% MLMG::actualBottomSolve() 36 4.11e-05 4.11e-05 4.11e-05 0.01% MLMG::solve() 6 3.901e-05 3.901e-05 3.901e-05 0.01% MLPoisson::define() 6 3.71e-05 3.71e-05 3.71e-05 0.01% Castro::initialize_advance() 5 3.619e-05 3.619e-05 3.619e-05 0.01% Castro::advance() 5 3.586e-05 3.586e-05 3.586e-05 0.01% MLMG::mgVcycle_down::2 36 3.4e-05 3.4e-05 3.4e-05 0.01% Castro::clean_state() 30 3.357e-05 3.357e-05 3.357e-05 0.01% Castro::post_timestep() 5 3.297e-05 3.297e-05 3.297e-05 0.01% MLMG::mgVcycle_down::4 36 3.137e-05 3.137e-05 3.137e-05 0.01% MLMG::mgVcycle_down::3 36 3.066e-05 3.066e-05 3.066e-05 0.01% Castro::initialize_do_advance() 5 2.789e-05 2.789e-05 2.789e-05 0.01% Castro::post_restart() 1 2.722e-05 2.722e-05 2.722e-05 0.01% MLMG::oneIter() 36 2.573e-05 2.573e-05 2.573e-05 0.01% MLMG::mgVcycle_up::4 36 2.56e-05 2.56e-05 2.56e-05 0.01% MLMG::mgVcycle_up::3 36 2.548e-05 2.548e-05 2.548e-05 0.01% Castro::do_advance_ctu() 5 2.459e-05 2.459e-05 2.459e-05 0.01% MLMG::mgVcycle_up::2 36 2.421e-05 2.421e-05 2.421e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.288e-05 2.288e-05 2.288e-05 0.00% MLCellLinOp::solutionResidual() 42 2.225e-05 2.225e-05 2.225e-05 0.00% MLMG::mgVcycle_up::0 36 2.125e-05 2.125e-05 2.125e-05 0.00% MLMG::mgVcycle_up::1 36 1.919e-05 1.919e-05 1.919e-05 0.00% MLMG::ResNormInf() 42 1.857e-05 1.857e-05 1.857e-05 0.00% FillPatchSingleLevel 20 1.719e-05 1.719e-05 1.719e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.609e-05 1.609e-05 1.609e-05 0.00% MLMG::mgVcycle_bottom 36 1.58e-05 1.58e-05 1.58e-05 0.00% MLMG::computeResidual() 36 1.54e-05 1.54e-05 1.54e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.485e-05 1.485e-05 1.485e-05 0.00% Castro::construct_new_gravity() 5 1.43e-05 1.43e-05 1.43e-05 0.00% Castro::do_old_sources() 5 1.086e-05 1.086e-05 1.086e-05 0.00% Castro::construct_old_source() 25 1.001e-05 1.001e-05 1.001e-05 0.00% Gravity::actual_multilevel_solve() 1 8.493e-06 8.493e-06 8.493e-06 0.00% Castro::apply_source_to_state() 10 7.645e-06 7.645e-06 7.645e-06 0.00% Castro::construct_old_gravity() 5 6.221e-06 6.221e-06 6.221e-06 0.00% Castro::check_for_nan() 10 5.812e-06 5.812e-06 5.812e-06 0.00% MLPoisson::prepareForSolve() 6 4.486e-06 4.486e-06 4.486e-06 0.00% MLMG::computeMLResidual() 6 4.284e-06 4.284e-06 4.284e-06 0.00% Castro::computeNewDt() 5 3.345e-06 3.345e-06 3.345e-06 0.00% MLMG::getGradSolution() 6 3.228e-06 3.228e-06 3.228e-06 0.00% Castro::expand_state() 5 2.952e-06 2.952e-06 2.952e-06 0.00% Amr::init() 1 6.71e-07 6.71e-07 6.71e-07 0.00% Other 2190 0.002986 0.002986 0.002986 0.62% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4828 0.4828 0.4828 100.00% Amr::coarseTimeStep() 5 0.3432 0.3432 0.3432 71.09% Amr::timeStep() 5 0.3408 0.3408 0.3408 70.60% Castro::advance() 5 0.3366 0.3366 0.3366 69.73% Castro::subcycle_advance_ctu() 5 0.3293 0.3293 0.3293 68.22% Castro::do_advance_ctu() 5 0.3281 0.3281 0.3281 67.95% Castro::construct_new_gravity() 5 0.1472 0.1472 0.1472 30.49% Castro::construct_ctu_hydro_source() 5 0.1455 0.1455 0.1455 30.13% Gravity::solve_phi_with_mlmg() 6 0.1448 0.1448 0.1448 29.99% Gravity::actual_solve_with_mlmg() 6 0.1396 0.1396 0.1396 28.91% Gravity::solve_for_phi() 5 0.1393 0.1393 0.1393 28.85% MLMG::solve() 6 0.1272 0.1272 0.1272 26.35% MLMG::oneIter() 36 0.1192 0.1192 0.1192 24.69% MLMG::mgVcycle() 36 0.1175 0.1175 0.1175 24.34% Amr::init() 1 0.0726 0.0726 0.0726 15.04% Amr::restart() 1 0.07259 0.07259 0.07259 15.04% Amr::writePlotFile() 1 0.06624 0.06624 0.06624 13.72% MLCellLinOp::smooth() 720 0.06272 0.06272 0.06272 12.99% AmrLevel::restart() 1 0.06149 0.06149 0.06149 12.74% StateData::restartDoit() 4 0.06142 0.06142 0.06142 12.72% VisMF::Read() 3 0.06112 0.06112 0.06112 12.66% MLCellLinOp::applyBC() 1910 0.05287 0.05287 0.05287 10.95% MLMG::mgVcycle_bottom 36 0.03228 0.03228 0.03228 6.69% MLMG::actualBottomSolve() 36 0.03227 0.03227 0.03227 6.68% MLCGSolver::bicgstab 36 0.03189 0.03189 0.03189 6.61% VisMF::Write(FabArray) 1 0.02751 0.02751 0.02751 5.70% Castro::clean_state() 30 0.02475 0.02475 0.02475 5.13% AmrLevel::FillPatch() 20 0.02237 0.02237 0.02237 4.63% MLPoisson::Fsmooth() 1440 0.02162 0.02162 0.02162 4.48% FillPatchIterator::Initialize 20 0.02025 0.02025 0.02025 4.20% FillPatchIterator::FillFromLevel0() 20 0.01942 0.01942 0.01942 4.02% FillPatchSingleLevel 20 0.0194 0.0194 0.0194 4.02% StateDataPhysBCFunct::() 20 0.01731 0.01731 0.01731 3.59% MLCellLinOp::apply() 464 0.01682 0.01682 0.01682 3.48% MLMG::mgVcycle_down::0 36 0.01664 0.01664 0.01664 3.45% FabArray::FillBoundary() 1730 0.01596 0.01596 0.01596 3.31% FillBoundary_nowait() 1730 0.01559 0.01559 0.01559 3.23% StateData::FillBoundary(geom) 160 0.01285 0.01285 0.01285 2.66% MLMG::mgVcycle_up::0 36 0.0125 0.0125 0.0125 2.59% MLMG::mgVcycle_up::3 36 0.01157 0.01157 0.01157 2.40% Castro::initialize_do_advance() 5 0.01017 0.01017 0.01017 2.11% Castro::computeTemp() 30 0.009881 0.009881 0.009881 2.05% MLPoisson::define() 6 0.009634 0.009634 0.009634 2.00% Castro::do_old_sources() 5 0.00963 0.00963 0.00963 1.99% MLMG:computeResOfCorrection() 180 0.009417 0.009417 0.009417 1.95% amrex::Dot() 484 0.00941 0.00941 0.00941 1.95% MLCellLinOp::correctionResidual() 180 0.009362 0.009362 0.009362 1.94% FabArray::norminf() 465 0.008876 0.008876 0.008876 1.84% Castro::normalize_species() 30 0.008874 0.008874 0.008874 1.84% Gravity::get_new_grav_vector() 5 0.007794 0.007794 0.007794 1.61% Castro::construct_old_gravity() 5 0.00774 0.00774 0.00774 1.60% Gravity::get_old_grav_vector() 5 0.007734 0.007734 0.007734 1.60% MLMG::mgVcycle_down::1 36 0.007613 0.007613 0.007613 1.58% MLMG::mgVcycle_down::2 36 0.007008 0.007008 0.007008 1.45% Castro::initialize_advance() 5 0.006876 0.006876 0.006876 1.42% FabArray::ParallelCopy() 380 0.006857 0.006857 0.006857 1.42% FabArray::setVal() 501 0.006813 0.006813 0.006813 1.41% MLMG::mgVcycle_down::3 36 0.006771 0.006771 0.006771 1.40% FabArray::ParallelCopy_nowait() 380 0.006746 0.006746 0.006746 1.40% MLMG::mgVcycle_down::4 36 0.0067 0.0067 0.0067 1.39% MLCellLinOp::defineAuxData() 6 0.006554 0.006554 0.006554 1.36% Castro::do_new_sources() 5 0.006159 0.006159 0.006159 1.28% Castro::post_restart() 1 0.006116 0.006116 0.006116 1.27% FabArray::Saxpy() 597 0.005981 0.005981 0.005981 1.24% Gravity::multilevel_solve_for_new_phi() 1 0.005741 0.005741 0.005741 1.19% Gravity::actual_multilevel_solve() 1 0.005725 0.005725 0.005725 1.19% MLMG::addInterpCorrection() 180 0.005684 0.005684 0.005684 1.18% MLCGSolver::ParallelAllReduce 798 0.005684 0.005684 0.005684 1.18% amrex::Copy() 221 0.00563 0.00563 0.00563 1.17% MLMG::mgVcycle_up::1 36 0.005484 0.005484 0.005484 1.14% Castro::enforce_min_density() 30 0.005469 0.005469 0.005469 1.13% MLMG::mgVcycle_up::4 36 0.005435 0.005435 0.005435 1.13% Castro::expand_state() 5 0.00542 0.00542 0.00542 1.12% MLMG::mgVcycle_up::2 36 0.005407 0.005407 0.005407 1.12% amrex::average_down 180 0.005233 0.005233 0.005233 1.08% Gravity::fill_multipole_BCs() 6 0.005107 0.005107 0.005107 1.06% MLPoisson::Fapply() 464 0.004666 0.004666 0.004666 0.97% Castro::post_timestep() 5 0.004122 0.004122 0.004122 0.85% MLCellLinOp::solutionResidual() 42 0.003838 0.003838 0.003838 0.79% FabArray::Xpay() 325 0.003581 0.003581 0.003581 0.74% Castro::estTimeStep() 10 0.00328 0.00328 0.00328 0.68% MLMG::computeResidual() 36 0.003014 0.003014 0.003014 0.62% MLMG::prepareForSolve() 6 0.002944 0.002944 0.002944 0.61% MLCellLinOp::defineBC() 6 0.002902 0.002902 0.002902 0.60% Castro::reset_internal_energy(MultiFab) 30 0.002849 0.002849 0.002849 0.59% BndryData::define() 6 0.002758 0.002758 0.002758 0.57% Castro::computeNewDt() 5 0.002192 0.002192 0.002192 0.45% Castro::construct_new_source() 25 0.001714 0.001714 0.001714 0.36% amrex::Add() 36 0.001644 0.001644 0.001644 0.34% Castro::construct_new_gravity_source() 5 0.001569 0.001569 0.001569 0.32% Castro::construct_old_source() 25 0.001255 0.001255 0.001255 0.26% Castro::construct_old_gravity_source() 5 0.001245 0.001245 0.001245 0.26% Castro::finalize_do_advance() 5 0.001172 0.001172 0.001172 0.24% MLMG::ResNormInf() 42 0.001054 0.001054 0.001054 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001016 0.001016 0.001016 0.21% Castro::apply_source_to_state() 10 0.0009745 0.0009745 0.0009745 0.20% MLMG::getGradSolution() 6 0.0009629 0.0009629 0.0009629 0.20% MLCellLinOp::compGrad() 6 0.0009597 0.0009597 0.0009597 0.20% MLCellLinOp::setLevelBC() 6 0.0009011 0.0009011 0.0009011 0.19% check_for_negative_density() 5 0.0008775 0.0008775 0.0008775 0.18% MLMG::computeMLResidual() 6 0.0008437 0.0008437 0.0008437 0.17% Castro::reset_internal_energy(Fab) 240 0.0008296 0.0008296 0.0008296 0.17% FabArrayBase::getCPC() 632 0.000815 0.000815 0.000815 0.17% MLPoisson::prepareForSolve() 6 0.0007783 0.0007783 0.0007783 0.16% MLCellLinOp::prepareForSolve() 6 0.0007738 0.0007738 0.0007738 0.16% Gravity::update_max_rhs() 6 0.0007426 0.0007426 0.0007426 0.15% FabArray::setDomainBndry() 20 0.000727 0.000727 0.000727 0.15% FabArray::mult() 22 0.0007138 0.0007138 0.0007138 0.15% Castro::check_for_nan() 10 0.0006828 0.0006828 0.0006828 0.14% Other 2190 0.004292 0.004292 0.004292 0.89% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 10 MiB 9037 MiB Castro::initMFs() 48 48 58 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 899 KiB 39 MiB Castro::initialize_do_advance() 40 40 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1681 KiB 28 MiB Castro::initialize_advance() 40 40 16 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6529 KiB 14 MiB MLMG::prepareForSolve() 361 361 3238 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 166 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 165 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6517 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 16 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3063 B 2048 KiB Gravity::solve_for_phi() 40 40 590 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 24 KiB 2048 KiB BndryData::define() 576 576 297 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 190 KiB 671 KiB Castro::estTimeStep() 10 10 3234 B 480 KiB VisMF::Write(FabArray) 112 112 2117 B 320 KiB Castro::normalize_species() 30 30 5984 B 320 KiB amrex::average_down 469 469 1355 B 257 KiB MLMG::addInterpCorrection() 468 468 1008 B 257 KiB amrex::Dot() 592 592 2883 B 160 KiB FabArray::norminf() 501 501 2846 B 160 KiB check_for_negative_density() 5 5 291 B 160 KiB MultiFab::max() 6 6 70 B 160 KiB FabArray::setVal() 66 66 21 KiB 27 KiB MultiFab::contains_nan() 10 10 27 B 20 KiB MLPoisson::Fsmooth() 60 60 3142 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 41 B 10 KiB FillBoundary_nowait() 336 336 276 B 9648 B MLCellLinOp::applyBC() 3820 3820 193 B 9344 B amrex::Copy() 56 56 5919 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 32 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 334 B 1248 B MLCGSolver::bicgstab 180 180 79 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1147 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 75 KiB 8192 KiB VisMF::Write(FabArray) 120 120 153 KiB 3584 KiB VisMF::Read() 24 24 192 KiB 3000 KiB FabArray::setVal() 66 66 21 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3142 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 41 B 10 KiB FillBoundary_nowait() 336 336 276 B 9648 B MLCellLinOp::applyBC() 1910 1910 191 B 9328 B amrex::Copy() 56 56 5919 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2568 B 3072 B StateData::FillBoundary(geom) 960 960 32 B 3024 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B MLMG::prepareForSolve() 7 7 800 B 1648 B amrex::average_down 37 37 479 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 21 B 400 B FabArray::norminf() 501 501 8 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 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