Initializing AMReX (24.06-24-g2f93525639da)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-24-g2f93525639da) initialized Starting run at 08:03:13 UTC on 2024-06-28. Successfully read inputs file ... Castro git describe: 24.06-31-gc47966edd AMReX git describe: 24.06-24-g2f9352563 Microphysics git describe: 24.06-36-g01c244ad 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.049744394 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.027733324 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.06006419 [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.049820137 [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.048397661 [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.058035876 [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.050944558 [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.06879081 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.068174612 [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.049259051 [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.05884114 [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.062202742 [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.067202675 [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.047180673 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.027572722 seconds Ending run at 08:03:14 UTC on 2024-06-28. Run time = 0.846137048 Run time without initialization = 0.717175062 Average number of zones advanced per microsecond: 3.655 Average number of zones advanced per microsecond per rank: 3.655 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.8462 ... 0.8462 ... 0.8462 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.1932 0.1932 0.1932 22.83% Castro::construct_ctu_hydro_source() 10 0.1796 0.1796 0.1796 21.23% MLCellLinOp::applyBC() 4298 0.0828 0.0828 0.0828 9.78% MLPoisson::Fsmooth() 3240 0.03471 0.03471 0.03471 4.10% FillBoundary_nowait() 3893 0.03366 0.03366 0.03366 3.98% StateData::FillBoundary(geom) 328 0.02712 0.02712 0.02712 3.21% Amr::checkPoint() 3 0.02554 0.02554 0.02554 3.02% amrex::Dot() 1100 0.02215 0.02215 0.02215 2.62% FabArray::norminf() 1048 0.0206 0.0206 0.0206 2.43% Castro::reset_internal_energy(MultiFab) 63 0.01792 0.01792 0.01792 2.12% Castro::enforce_min_density() 62 0.01643 0.01643 0.01643 1.94% Castro::normalize_species() 62 0.01483 0.01483 0.01483 1.75% FabArray::ParallelCopy_nowait() 851 0.01402 0.01402 0.01402 1.66% FabArray::setVal() 1054 0.01393 0.01393 0.01393 1.65% FabArray::Saxpy() 1353 0.01352 0.01352 0.01352 1.60% amrex::Copy() 469 0.0112 0.0112 0.0112 1.32% StateDataPhysBCFunct::() 41 0.01119 0.01119 0.01119 1.32% MLPoisson::Fapply() 1047 0.01066 0.01066 0.01066 1.26% MLCellLinOp::defineAuxData() 11 0.0105 0.0105 0.0105 1.24% Gravity::fill_multipole_BCs() 11 0.0101 0.0101 0.0101 1.19% FabArray::Xpay() 730 0.008141 0.008141 0.008141 0.96% MLMG::addInterpCorrection() 405 0.00717 0.00717 0.00717 0.85% amrex::average_down 405 0.006377 0.006377 0.006377 0.75% Castro::estTimeStep() 21 0.004993 0.004993 0.004993 0.59% BndryData::define() 11 0.004112 0.004112 0.004112 0.49% amrex::Add() 81 0.003742 0.003742 0.003742 0.44% Castro::construct_new_gravity_source() 10 0.003623 0.003623 0.003623 0.43% Castro::enforce_speed_limit() 62 0.003608 0.003608 0.003608 0.43% Castro::computeTemp() 63 0.003569 0.003569 0.003569 0.42% Castro::construct_old_gravity_source() 10 0.002921 0.002921 0.002921 0.35% Castro::reset_internal_energy(Fab) 504 0.001936 0.001936 0.001936 0.23% Castro::initData() 1 0.001885 0.001885 0.001885 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001827 0.001827 0.001827 0.22% Amr::writePlotFile() 2 0.001807 0.001807 0.001807 0.21% MLCellLinOp::setLevelBC() 11 0.001653 0.001653 0.001653 0.20% MLCGSolver::bicgstab 81 0.001629 0.001629 0.001629 0.19% Gravity::actual_solve_with_mlmg() 11 0.001576 0.001576 0.001576 0.19% check_for_negative_density() 10 0.001537 0.001537 0.001537 0.18% FabArray::setDomainBndry() 41 0.001427 0.001427 0.001427 0.17% FabArray::mult() 43 0.00141 0.00141 0.00141 0.17% MLCellLinOp::prepareForSolve() 11 0.001349 0.001349 0.001349 0.16% MultiFab::contains_nan() 20 0.001326 0.001326 0.001326 0.16% MLCellLinOp::smooth() 1620 0.001155 0.001155 0.001155 0.14% MLCellLinOp::compGrad() 11 0.001109 0.001109 0.001109 0.13% MLMG::prepareForSolve() 11 0.0009742 0.0009742 0.0009742 0.12% FabArray::FillBoundary() 3893 0.0007828 0.0007828 0.0007828 0.09% FabArrayBase::getCPC() 1313 0.0007786 0.0007786 0.0007786 0.09% Gravity::get_new_grav_vector() 11 0.0006515 0.0006515 0.0006515 0.08% Gravity::get_old_grav_vector() 10 0.0005234 0.0005234 0.0005234 0.06% MLCellLinOp::apply() 1047 0.0004256 0.0004256 0.0004256 0.05% AmrLevel::FillPatch() 41 0.0004035 0.0004035 0.0004035 0.05% Amr::coarseTimeStep() 10 0.0003373 0.0003373 0.0003373 0.04% MLCGSolver::ParallelAllReduce 1809 0.000317 0.000317 0.000317 0.04% main() 1 0.0003143 0.0003143 0.0003143 0.04% Castro::subcycle_advance_ctu() 10 0.000295 0.000295 0.000295 0.03% MLCellLinOp::defineBC() 11 0.0002689 0.0002689 0.0002689 0.03% FabArray::ParallelCopy() 851 0.0002335 0.0002335 0.0002335 0.03% FillPatchIterator::Initialize 41 0.0002128 0.0002128 0.0002128 0.03% MLMG::mgVcycle() 81 0.0002126 0.0002126 0.0002126 0.03% MLCellLinOp::correctionResidual() 405 0.0001654 0.0001654 0.0001654 0.02% Castro::advance() 10 0.0001611 0.0001611 0.0001611 0.02% Amr::timeStep() 10 0.00016 0.00016 0.00016 0.02% Gravity::update_max_rhs() 11 0.0001309 0.0001309 0.0001309 0.02% MLMG:computeResOfCorrection() 405 0.0001198 0.0001198 0.0001198 0.01% StateData::checkPoint() 12 0.0001139 0.0001139 0.0001139 0.01% Gravity::solve_for_phi() 10 0.0001036 0.0001036 0.0001036 0.01% Castro::do_advance_ctu() 10 0.0001032 0.0001032 0.0001032 0.01% MLMG::actualBottomSolve() 81 8.356e-05 8.356e-05 8.356e-05 0.01% MLMG::mgVcycle_down::2 81 7.925e-05 7.925e-05 7.925e-05 0.01% MLMG::mgVcycle_down::1 81 7.909e-05 7.909e-05 7.909e-05 0.01% Castro::initialize_advance() 10 7.763e-05 7.763e-05 7.763e-05 0.01% MLMG::mgVcycle_down::4 81 7.654e-05 7.654e-05 7.654e-05 0.01% MLMG::mgVcycle_down::0 81 7.438e-05 7.438e-05 7.438e-05 0.01% MLMG::solve() 11 7.405e-05 7.405e-05 7.405e-05 0.01% MLMG::mgVcycle_down::3 81 7.264e-05 7.264e-05 7.264e-05 0.01% Castro::clean_state() 62 7.188e-05 7.188e-05 7.188e-05 0.01% Castro::finalize_do_advance() 10 7.129e-05 7.129e-05 7.129e-05 0.01% AmrLevel::checkPoint() 3 6.811e-05 6.811e-05 6.811e-05 0.01% MLMG::mgVcycle_up::4 81 5.788e-05 5.788e-05 5.788e-05 0.01% Castro::initialize_do_advance() 10 5.732e-05 5.732e-05 5.732e-05 0.01% MLMG::oneIter() 81 5.451e-05 5.451e-05 5.451e-05 0.01% Castro::do_new_sources() 10 5.289e-05 5.289e-05 5.289e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.856e-05 4.856e-05 4.856e-05 0.01% MLMG::mgVcycle_up::3 81 4.855e-05 4.855e-05 4.855e-05 0.01% MLMG::mgVcycle_up::1 81 4.803e-05 4.803e-05 4.803e-05 0.01% MLMG::mgVcycle_up::0 81 4.727e-05 4.727e-05 4.727e-05 0.01% MLMG::mgVcycle_up::2 81 4.679e-05 4.679e-05 4.679e-05 0.01% MLCellLinOp::solutionResidual() 92 4.346e-05 4.346e-05 4.346e-05 0.01% FillPatchSingleLevel 41 4.164e-05 4.164e-05 4.164e-05 0.00% MLMG::mgVcycle_bottom 81 3.54e-05 3.54e-05 3.54e-05 0.00% Amr::defBaseLevel() 1 3.517e-05 3.517e-05 3.517e-05 0.00% MLPoisson::define() 11 3.464e-05 3.464e-05 3.464e-05 0.00% MLMG::ResNormInf() 92 3.259e-05 3.259e-05 3.259e-05 0.00% MLMG::computeResidual() 81 3.106e-05 3.106e-05 3.106e-05 0.00% Castro::do_old_sources() 10 2.64e-05 2.64e-05 2.64e-05 0.00% Castro::construct_new_gravity() 10 2.318e-05 2.318e-05 2.318e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.236e-05 2.236e-05 2.236e-05 0.00% Amr::FinalizeInit() 1 1.941e-05 1.941e-05 1.941e-05 0.00% Castro::construct_new_source() 50 1.87e-05 1.87e-05 1.87e-05 0.00% Castro::construct_old_source() 50 1.851e-05 1.851e-05 1.851e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.7e-05 1.7e-05 1.7e-05 0.00% Castro::check_for_nan() 20 1.144e-05 1.144e-05 1.144e-05 0.00% Castro::post_init() 1 1.137e-05 1.137e-05 1.137e-05 0.00% Castro::apply_source_to_state() 20 1.124e-05 1.124e-05 1.124e-05 0.00% MLMG::computeMLResidual() 11 1.119e-05 1.119e-05 1.119e-05 0.00% Castro::construct_old_gravity() 10 1.091e-05 1.091e-05 1.091e-05 0.00% Gravity::actual_multilevel_solve() 1 8.443e-06 8.443e-06 8.443e-06 0.00% Castro::post_timestep() 10 8.053e-06 8.053e-06 8.053e-06 0.00% MLPoisson::prepareForSolve() 11 7.167e-06 7.167e-06 7.167e-06 0.00% Castro::computeNewDt() 9 7.093e-06 7.093e-06 7.093e-06 0.00% Amr::InitializeInit() 1 6.448e-06 6.448e-06 6.448e-06 0.00% Castro::expand_state() 10 5.742e-06 5.742e-06 5.742e-06 0.00% MLMG::getGradSolution() 11 5.627e-06 5.627e-06 5.627e-06 0.00% Amr::init() 1 2.545e-06 2.545e-06 2.545e-06 0.00% Amr::initialInit() 1 1.116e-06 1.116e-06 1.116e-06 0.00% Other 4694 0.002988 0.002988 0.002988 0.35% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8461 0.8461 0.8461 100.00% Amr::coarseTimeStep() 10 0.6893 0.6893 0.6893 81.47% Amr::timeStep() 10 0.5701 0.5701 0.5701 67.38% Castro::advance() 10 0.561 0.561 0.561 66.29% Castro::subcycle_advance_ctu() 10 0.5495 0.5495 0.5495 64.94% Castro::do_advance_ctu() 10 0.5492 0.5492 0.5492 64.90% Gravity::solve_phi_with_mlmg() 11 0.3053 0.3053 0.3053 36.08% Gravity::actual_solve_with_mlmg() 11 0.2947 0.2947 0.2947 34.83% Castro::construct_new_gravity() 10 0.2798 0.2798 0.2798 33.06% MLMG::solve() 11 0.2722 0.2722 0.2722 32.17% Gravity::solve_for_phi() 10 0.2635 0.2635 0.2635 31.14% MLMG::oneIter() 81 0.2562 0.2562 0.2562 30.28% MLMG::mgVcycle() 81 0.2524 0.2524 0.2524 29.83% VisMF::Write(FabArray) 11 0.1932 0.1932 0.1932 22.83% Castro::construct_ctu_hydro_source() 10 0.1907 0.1907 0.1907 22.54% Amr::checkPoint() 3 0.1659 0.1659 0.1659 19.60% AmrLevel::checkPoint() 3 0.1403 0.1403 0.1403 16.58% StateData::checkPoint() 12 0.1402 0.1402 0.1402 16.57% Amr::init() 1 0.1283 0.1283 0.1283 15.17% MLCellLinOp::smooth() 1620 0.1269 0.1269 0.1269 15.00% MLCellLinOp::applyBC() 4298 0.1179 0.1179 0.1179 13.94% MLMG::mgVcycle_bottom 81 0.07511 0.07511 0.07511 8.88% MLMG::actualBottomSolve() 81 0.07507 0.07507 0.07507 8.87% MLCGSolver::bicgstab 81 0.07423 0.07423 0.07423 8.77% Castro::clean_state() 62 0.05757 0.05757 0.05757 6.80% Amr::writePlotFile() 2 0.05544 0.05544 0.05544 6.55% Amr::initialInit() 1 0.05073 0.05073 0.05073 6.00% AmrLevel::FillPatch() 41 0.04854 0.04854 0.04854 5.74% Amr::FinalizeInit() 1 0.04553 0.04553 0.04553 5.38% Castro::post_init() 1 0.0446 0.0446 0.0446 5.27% FillPatchIterator::Initialize 41 0.04422 0.04422 0.04422 5.23% FillPatchIterator::FillFromLevel0() 41 0.04258 0.04258 0.04258 5.03% FillPatchSingleLevel 41 0.04253 0.04253 0.04253 5.03% Gravity::multilevel_solve_for_new_phi() 1 0.04228 0.04228 0.04228 5.00% Gravity::actual_multilevel_solve() 1 0.04227 0.04227 0.04227 5.00% StateDataPhysBCFunct::() 41 0.03832 0.03832 0.03832 4.53% MLCellLinOp::apply() 1047 0.03744 0.03744 0.03744 4.42% MLMG::mgVcycle_down::0 81 0.03652 0.03652 0.03652 4.32% FabArray::FillBoundary() 3893 0.03513 0.03513 0.03513 4.15% MLPoisson::Fsmooth() 3240 0.03471 0.03471 0.03471 4.10% FillBoundary_nowait() 3893 0.03435 0.03435 0.03435 4.06% MLMG::mgVcycle_up::0 81 0.02779 0.02779 0.02779 3.28% StateData::FillBoundary(geom) 328 0.02712 0.02712 0.02712 3.21% Castro::computeTemp() 63 0.02342 0.02342 0.02342 2.77% amrex::Dot() 1100 0.02215 0.02215 0.02215 2.62% Castro::initialize_do_advance() 10 0.02184 0.02184 0.02184 2.58% MLMG:computeResOfCorrection() 405 0.02112 0.02112 0.02112 2.50% MLCellLinOp::correctionResidual() 405 0.021 0.021 0.021 2.48% FabArray::norminf() 1048 0.0206 0.0206 0.0206 2.43% Castro::reset_internal_energy(MultiFab) 63 0.01985 0.01985 0.01985 2.35% Castro::do_new_sources() 10 0.01927 0.01927 0.01927 2.28% Castro::do_old_sources() 10 0.01872 0.01872 0.01872 2.21% Gravity::get_new_grav_vector() 11 0.01815 0.01815 0.01815 2.14% MLPoisson::define() 11 0.01763 0.01763 0.01763 2.08% MLMG::mgVcycle_down::1 81 0.01712 0.01712 0.01712 2.02% Castro::enforce_min_density() 62 0.01643 0.01643 0.01643 1.94% MLMG::mgVcycle_down::2 81 0.01598 0.01598 0.01598 1.89% Castro::construct_old_gravity() 10 0.01584 0.01584 0.01584 1.87% Gravity::get_old_grav_vector() 10 0.01583 0.01583 0.01583 1.87% MLMG::mgVcycle_down::3 81 0.01556 0.01556 0.01556 1.84% MLMG::mgVcycle_down::4 81 0.01544 0.01544 0.01544 1.82% FabArray::ParallelCopy() 851 0.01507 0.01507 0.01507 1.78% FabArray::ParallelCopy_nowait() 851 0.01484 0.01484 0.01484 1.75% Castro::normalize_species() 62 0.01483 0.01483 0.01483 1.75% FabArray::setVal() 1054 0.01393 0.01393 0.01393 1.65% FabArray::Saxpy() 1353 0.01352 0.01352 0.01352 1.60% MLCGSolver::ParallelAllReduce 1809 0.01326 0.01326 0.01326 1.57% MLMG::addInterpCorrection() 405 0.01261 0.01261 0.01261 1.49% MLMG::mgVcycle_up::1 81 0.01238 0.01238 0.01238 1.46% MLMG::mgVcycle_up::4 81 0.01231 0.01231 0.01231 1.46% MLMG::mgVcycle_up::2 81 0.01212 0.01212 0.01212 1.43% Castro::expand_state() 10 0.01195 0.01195 0.01195 1.41% MLCellLinOp::defineAuxData() 11 0.01193 0.01193 0.01193 1.41% MLMG::mgVcycle_up::3 81 0.01188 0.01188 0.01188 1.40% amrex::average_down 405 0.01184 0.01184 0.01184 1.40% amrex::Copy() 469 0.0112 0.0112 0.0112 1.32% MLPoisson::Fapply() 1047 0.01066 0.01066 0.01066 1.26% Castro::initialize_advance() 10 0.01062 0.01062 0.01062 1.26% Gravity::fill_multipole_BCs() 11 0.01035 0.01035 0.01035 1.22% Castro::post_timestep() 10 0.008998 0.008998 0.008998 1.06% FabArray::Xpay() 730 0.008141 0.008141 0.008141 0.96% MLCellLinOp::solutionResidual() 92 0.008023 0.008023 0.008023 0.95% MLMG::computeResidual() 81 0.006735 0.006735 0.006735 0.80% MLCellLinOp::defineBC() 11 0.005414 0.005414 0.005414 0.64% MLMG::prepareForSolve() 11 0.005348 0.005348 0.005348 0.63% Amr::InitializeInit() 1 0.005201 0.005201 0.005201 0.61% Amr::defBaseLevel() 1 0.005194 0.005194 0.005194 0.61% BndryData::define() 11 0.005145 0.005145 0.005145 0.61% Castro::estTimeStep() 21 0.004993 0.004993 0.004993 0.59% Castro::initData() 1 0.004473 0.004473 0.004473 0.53% amrex::Add() 81 0.003742 0.003742 0.003742 0.44% Castro::construct_new_source() 50 0.003642 0.003642 0.003642 0.43% Castro::construct_new_gravity_source() 10 0.003623 0.003623 0.003623 0.43% Castro::enforce_speed_limit() 62 0.003608 0.003608 0.003608 0.43% Castro::construct_old_source() 50 0.002939 0.002939 0.002939 0.35% Castro::construct_old_gravity_source() 10 0.002921 0.002921 0.002921 0.35% MLMG::ResNormInf() 92 0.00226 0.00226 0.00226 0.27% Castro::computeNewDt() 9 0.0021 0.0021 0.0021 0.25% Castro::finalize_do_advance() 10 0.001977 0.001977 0.001977 0.23% Castro::reset_internal_energy(Fab) 504 0.001936 0.001936 0.001936 0.23% Castro::apply_source_to_state() 20 0.001891 0.001891 0.001891 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001827 0.001827 0.001827 0.22% MLCellLinOp::setLevelBC() 11 0.001653 0.001653 0.001653 0.20% MLMG::getGradSolution() 11 0.001648 0.001648 0.001648 0.19% MLCellLinOp::compGrad() 11 0.001642 0.001642 0.001642 0.19% check_for_negative_density() 10 0.001537 0.001537 0.001537 0.18% FabArrayBase::getCPC() 1313 0.001443 0.001443 0.001443 0.17% FabArray::setDomainBndry() 41 0.001427 0.001427 0.001427 0.17% FabArray::mult() 43 0.00141 0.00141 0.00141 0.17% MLPoisson::prepareForSolve() 11 0.001356 0.001356 0.001356 0.16% MLCellLinOp::prepareForSolve() 11 0.001349 0.001349 0.001349 0.16% Castro::check_for_nan() 20 0.001337 0.001337 0.001337 0.16% MLMG::computeMLResidual() 11 0.001331 0.001331 0.001331 0.16% MultiFab::contains_nan() 20 0.001326 0.001326 0.001326 0.16% Gravity::update_max_rhs() 11 0.001079 0.001079 0.001079 0.13% Other 4694 0.007584 0.007584 0.007584 0.90% -------------------------------------------------------------------------------------------- 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 6627 KiB 9037 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1112 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1843 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7617 KiB 14 MiB MLMG::prepareForSolve() 660 660 3957 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 222 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 191 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7516 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 20 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2474 B 2048 KiB Gravity::solve_for_phi() 80 80 637 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 102 KiB 2048 KiB BndryData::define() 1056 1056 361 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 230 KiB 671 KiB Castro::estTimeStep() 21 21 2872 B 480 KiB VisMF::Write(FabArray) 656 656 3791 B 320 KiB Castro::normalize_species() 62 62 5686 B 320 KiB amrex::average_down 1054 1054 1702 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1276 B 257 KiB amrex::Dot() 1343 1343 3866 B 160 KiB FabArray::norminf() 1129 1129 3770 B 160 KiB check_for_negative_density() 10 10 289 B 160 KiB Castro::initData() 1 1 57 B 160 KiB MultiFab::max() 11 11 65 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 31 B 20 KiB MLPoisson::Fsmooth() 132 132 3863 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 48 B 10 KiB FillBoundary_nowait() 751 751 347 B 9648 B MLCellLinOp::applyBC() 8596 8596 245 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3921 B 6144 B StateData::FillBoundary(geom) 1992 1992 42 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 407 B 1248 B MLCGSolver::bicgstab 405 405 105 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 732 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 43 KiB 8192 KiB VisMF::Write(FabArray) 744 744 511 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3863 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 48 B 10 KiB FillBoundary_nowait() 751 751 347 B 9648 B MLCellLinOp::applyBC() 4298 4298 243 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3921 B 6144 B Gravity::get_new_grav_vector() 3 3 2890 B 3072 B Gravity::fill_multipole_BCs() 33 33 5 B 2832 B StateData::FillBoundary(geom) 1992 1992 43 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 3 B 1024 B MLMG::prepareForSolve() 11 11 329 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 28 B 400 B FabArray::norminf() 1129 1129 11 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-24-g2f93525639da) finalized Initializing AMReX (24.06-24-g2f93525639da)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-24-g2f93525639da) initialized Starting run at 08:03:14 UTC on 2024-06-28. Successfully read inputs file ... Castro git describe: 24.06-31-gc47966edd AMReX git describe: 24.06-24-g2f9352563 Microphysics git describe: 24.06-36-g01c244ad reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.465016413 Restart time = 0.115302025 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.070285427 [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.052904664 [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.052891466 [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.050632739 [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.063502881 [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.029995257 seconds Ending run at 08:03:15 UTC on 2024-06-28. Run time = 0.436551724 Run time without initialization = 0.320646678 Average number of zones advanced per microsecond: 4.088 Average number of zones advanced per microsecond per rank: 4.088 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4366 ... 0.4366 ... 0.4366 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.0878 0.0878 0.0878 20.10% VisMF::Read() 3 0.06416 0.06416 0.06416 14.70% Amr::restart() 1 0.04443 0.04443 0.04443 10.18% MLCellLinOp::applyBC() 1910 0.03736 0.03736 0.03736 8.56% VisMF::Write(FabArray) 1 0.02745 0.02745 0.02745 6.29% MLPoisson::Fsmooth() 1440 0.01582 0.01582 0.01582 3.62% FillBoundary_nowait() 1730 0.01458 0.01458 0.01458 3.34% StateData::FillBoundary(geom) 160 0.01334 0.01334 0.01334 3.05% amrex::Dot() 484 0.009798 0.009798 0.009798 2.24% Castro::normalize_species() 30 0.009372 0.009372 0.009372 2.15% FabArray::norminf() 465 0.009201 0.009201 0.009201 2.11% Castro::reset_internal_energy(MultiFab) 30 0.008877 0.008877 0.008877 2.03% FabArray::setVal() 501 0.006978 0.006978 0.006978 1.60% FabArray::ParallelCopy_nowait() 380 0.006464 0.006464 0.006464 1.48% FabArray::Saxpy() 597 0.006187 0.006187 0.006187 1.42% StateDataPhysBCFunct::() 20 0.006113 0.006113 0.006113 1.40% MLCellLinOp::defineAuxData() 6 0.00589 0.00589 0.00589 1.35% amrex::Copy() 221 0.005705 0.005705 0.005705 1.31% Gravity::fill_multipole_BCs() 6 0.005527 0.005527 0.005527 1.27% MLPoisson::Fapply() 464 0.00481 0.00481 0.00481 1.10% FabArray::Xpay() 325 0.003693 0.003693 0.003693 0.85% MLMG::addInterpCorrection() 180 0.003304 0.003304 0.003304 0.76% Castro::estTimeStep() 10 0.003261 0.003261 0.003261 0.75% amrex::average_down 180 0.002927 0.002927 0.002927 0.67% Castro::enforce_min_density() 30 0.002794 0.002794 0.002794 0.64% Amr::writePlotFile() 1 0.002383 0.002383 0.002383 0.55% BndryData::define() 6 0.002295 0.002295 0.002295 0.53% Castro::construct_new_gravity_source() 5 0.001855 0.001855 0.001855 0.42% Castro::computeTemp() 30 0.001717 0.001717 0.001717 0.39% Castro::reset_internal_energy(Fab) 240 0.001695 0.001695 0.001695 0.39% amrex::Add() 36 0.001652 0.001652 0.001652 0.38% Castro::construct_old_gravity_source() 5 0.001536 0.001536 0.001536 0.35% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001036 0.001036 0.001036 0.24% MLCellLinOp::setLevelBC() 6 0.0009247 0.0009247 0.0009247 0.21% Castro::enforce_speed_limit() 30 0.0008656 0.0008656 0.0008656 0.20% Castro::advance() 5 0.0008628 0.0008628 0.0008628 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008449 0.0008449 0.0008449 0.19% Castro::finalize_advance() 5 0.0008017 0.0008017 0.0008017 0.18% MLCellLinOp::prepareForSolve() 6 0.0007926 0.0007926 0.0007926 0.18% FabArray::mult() 22 0.0007494 0.0007494 0.0007494 0.17% MLCGSolver::bicgstab 36 0.0007451 0.0007451 0.0007451 0.17% FabArray::setDomainBndry() 20 0.0007382 0.0007382 0.0007382 0.17% MLCellLinOp::compGrad() 6 0.0006271 0.0006271 0.0006271 0.14% MLMG::prepareForSolve() 6 0.0005622 0.0005622 0.0005622 0.13% MLCellLinOp::smooth() 720 0.0005467 0.0005467 0.0005467 0.13% Gravity::get_old_grav_vector() 5 0.0003732 0.0003732 0.0003732 0.09% FabArray::FillBoundary() 1730 0.0003656 0.0003656 0.0003656 0.08% FabArrayBase::getCPC() 632 0.0003586 0.0003586 0.0003586 0.08% main() 1 0.0003028 0.0003028 0.0003028 0.07% Castro::subcycle_advance_ctu() 5 0.0002715 0.0002715 0.0002715 0.06% Gravity::get_new_grav_vector() 5 0.0002693 0.0002693 0.0002693 0.06% AmrLevel::FillPatch() 20 0.0002094 0.0002094 0.0002094 0.05% MLCellLinOp::apply() 464 0.0001925 0.0001925 0.0001925 0.04% Amr::coarseTimeStep() 5 0.0001553 0.0001553 0.0001553 0.04% MLCellLinOp::defineBC() 6 0.0001452 0.0001452 0.0001452 0.03% MLCGSolver::ParallelAllReduce 798 0.0001385 0.0001385 0.0001385 0.03% FabArray::ParallelCopy() 380 0.000109 0.000109 0.000109 0.02% FillPatchIterator::Initialize 20 0.0001082 0.0001082 0.0001082 0.02% Castro::finalize_do_advance() 5 9.832e-05 9.832e-05 9.832e-05 0.02% MLMG::mgVcycle() 36 9.506e-05 9.506e-05 9.506e-05 0.02% Amr::timeStep() 5 8.466e-05 8.466e-05 8.466e-05 0.02% AmrLevel::restart() 1 8.097e-05 8.097e-05 8.097e-05 0.02% Castro::do_advance_ctu() 5 7.956e-05 7.956e-05 7.956e-05 0.02% Castro::initialize_do_advance() 5 7.726e-05 7.726e-05 7.726e-05 0.02% MLCellLinOp::correctionResidual() 180 7.258e-05 7.258e-05 7.258e-05 0.02% StateData::restartDoit() 4 7.218e-05 7.218e-05 7.218e-05 0.02% Castro::do_new_sources() 5 6.709e-05 6.709e-05 6.709e-05 0.02% Gravity::update_max_rhs() 6 6.454e-05 6.454e-05 6.454e-05 0.01% Castro::initialize_advance() 5 5.648e-05 5.648e-05 5.648e-05 0.01% MLMG:computeResOfCorrection() 180 5.603e-05 5.603e-05 5.603e-05 0.01% Gravity::solve_for_phi() 5 5.058e-05 5.058e-05 5.058e-05 0.01% MLMG::actualBottomSolve() 36 4.104e-05 4.104e-05 4.104e-05 0.01% Castro::post_restart() 1 3.845e-05 3.845e-05 3.845e-05 0.01% MLMG::mgVcycle_down::1 36 3.81e-05 3.81e-05 3.81e-05 0.01% MLMG::mgVcycle_down::4 36 3.791e-05 3.791e-05 3.791e-05 0.01% MLMG::solve() 6 3.651e-05 3.651e-05 3.651e-05 0.01% MLMG::mgVcycle_down::2 36 3.61e-05 3.61e-05 3.61e-05 0.01% Castro::do_old_sources() 5 3.589e-05 3.589e-05 3.589e-05 0.01% MLMG::mgVcycle_down::0 36 3.451e-05 3.451e-05 3.451e-05 0.01% Castro::clean_state() 30 3.363e-05 3.363e-05 3.363e-05 0.01% MLMG::mgVcycle_down::3 36 3.294e-05 3.294e-05 3.294e-05 0.01% Castro::computeNewDt() 5 2.853e-05 2.853e-05 2.853e-05 0.01% MLMG::mgVcycle_up::4 36 2.749e-05 2.749e-05 2.749e-05 0.01% MLPoisson::define() 6 2.645e-05 2.645e-05 2.645e-05 0.01% MLMG::mgVcycle_up::2 36 2.588e-05 2.588e-05 2.588e-05 0.01% MLMG::oneIter() 36 2.487e-05 2.487e-05 2.487e-05 0.01% MLMG::mgVcycle_up::3 36 2.411e-05 2.411e-05 2.411e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.219e-05 2.219e-05 2.219e-05 0.01% MLMG::mgVcycle_up::1 36 2.164e-05 2.164e-05 2.164e-05 0.00% MLCellLinOp::solutionResidual() 42 2.099e-05 2.099e-05 2.099e-05 0.00% MLMG::mgVcycle_up::0 36 2.063e-05 2.063e-05 2.063e-05 0.00% FillPatchSingleLevel 20 1.771e-05 1.771e-05 1.771e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.728e-05 1.728e-05 1.728e-05 0.00% MLMG::ResNormInf() 42 1.605e-05 1.605e-05 1.605e-05 0.00% MLMG::mgVcycle_bottom 36 1.577e-05 1.577e-05 1.577e-05 0.00% MLMG::computeResidual() 36 1.428e-05 1.428e-05 1.428e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.274e-05 1.274e-05 1.274e-05 0.00% Castro::construct_new_gravity() 5 1.157e-05 1.157e-05 1.157e-05 0.00% Castro::construct_new_source() 25 1.054e-05 1.054e-05 1.054e-05 0.00% Castro::construct_old_source() 25 1.023e-05 1.023e-05 1.023e-05 0.00% Gravity::actual_multilevel_solve() 1 8.632e-06 8.632e-06 8.632e-06 0.00% Castro::apply_source_to_state() 10 5.962e-06 5.962e-06 5.962e-06 0.00% Castro::construct_old_gravity() 5 5.652e-06 5.652e-06 5.652e-06 0.00% Castro::check_for_nan() 10 5.606e-06 5.606e-06 5.606e-06 0.00% Castro::post_timestep() 5 4.619e-06 4.619e-06 4.619e-06 0.00% MLMG::computeMLResidual() 6 4.271e-06 4.271e-06 4.271e-06 0.00% MLPoisson::prepareForSolve() 6 3.806e-06 3.806e-06 3.806e-06 0.00% MLMG::getGradSolution() 6 3.146e-06 3.146e-06 3.146e-06 0.00% Castro::expand_state() 5 2.981e-06 2.981e-06 2.981e-06 0.00% Amr::init() 1 7.41e-07 7.41e-07 7.41e-07 0.00% Other 2160 0.002799 0.002799 0.002799 0.64% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4366 0.4366 0.4366 100.00% Amr::coarseTimeStep() 5 0.2904 0.2904 0.2904 66.51% Amr::timeStep() 5 0.2887 0.2887 0.2887 66.12% Castro::advance() 5 0.2839 0.2839 0.2839 65.03% Castro::subcycle_advance_ctu() 5 0.2764 0.2764 0.2764 63.31% Castro::do_advance_ctu() 5 0.2761 0.2761 0.2761 63.24% Castro::construct_new_gravity() 5 0.144 0.144 0.144 32.98% Gravity::solve_phi_with_mlmg() 6 0.1413 0.1413 0.1413 32.36% Gravity::solve_for_phi() 5 0.1358 0.1358 0.1358 31.11% Gravity::actual_solve_with_mlmg() 6 0.1355 0.1355 0.1355 31.03% MLMG::solve() 6 0.1228 0.1228 0.1228 28.14% Amr::init() 1 0.1153 0.1153 0.1153 26.42% Amr::restart() 1 0.1153 0.1153 0.1153 26.42% MLMG::oneIter() 36 0.1147 0.1147 0.1147 26.27% MLMG::mgVcycle() 36 0.113 0.113 0.113 25.89% Castro::construct_ctu_hydro_source() 5 0.09258 0.09258 0.09258 21.21% AmrLevel::restart() 1 0.06455 0.06455 0.06455 14.79% StateData::restartDoit() 4 0.06447 0.06447 0.06447 14.77% VisMF::Read() 3 0.06416 0.06416 0.06416 14.70% MLCellLinOp::smooth() 720 0.05673 0.05673 0.05673 12.99% MLCellLinOp::applyBC() 1910 0.05262 0.05262 0.05262 12.05% MLMG::mgVcycle_bottom 36 0.03351 0.03351 0.03351 7.67% MLMG::actualBottomSolve() 36 0.03349 0.03349 0.03349 7.67% MLCGSolver::bicgstab 36 0.03309 0.03309 0.03309 7.58% Amr::writePlotFile() 1 0.0301 0.0301 0.0301 6.89% VisMF::Write(FabArray) 1 0.02745 0.02745 0.02745 6.29% Castro::clean_state() 30 0.02535 0.02535 0.02535 5.81% AmrLevel::FillPatch() 20 0.02454 0.02454 0.02454 5.62% FillPatchIterator::Initialize 20 0.0224 0.0224 0.0224 5.13% FillPatchIterator::FillFromLevel0() 20 0.02156 0.02156 0.02156 4.94% FillPatchSingleLevel 20 0.02154 0.02154 0.02154 4.93% StateDataPhysBCFunct::() 20 0.01945 0.01945 0.01945 4.45% MLCellLinOp::apply() 464 0.01696 0.01696 0.01696 3.89% MLMG::mgVcycle_down::0 36 0.01635 0.01635 0.01635 3.74% MLPoisson::Fsmooth() 1440 0.01582 0.01582 0.01582 3.62% FabArray::FillBoundary() 1730 0.01527 0.01527 0.01527 3.50% FillBoundary_nowait() 1730 0.0149 0.0149 0.0149 3.41% StateData::FillBoundary(geom) 160 0.01334 0.01334 0.01334 3.05% Castro::computeTemp() 30 0.01229 0.01229 0.01229 2.81% MLMG::mgVcycle_up::0 36 0.01226 0.01226 0.01226 2.81% Castro::initialize_do_advance() 5 0.01159 0.01159 0.01159 2.66% Castro::reset_internal_energy(MultiFab) 30 0.01057 0.01057 0.01057 2.42% MLPoisson::define() 6 0.009929 0.009929 0.009929 2.27% amrex::Dot() 484 0.009798 0.009798 0.009798 2.24% Castro::do_old_sources() 5 0.00945 0.00945 0.00945 2.16% MLMG:computeResOfCorrection() 180 0.009445 0.009445 0.009445 2.16% MLCellLinOp::correctionResidual() 180 0.009389 0.009389 0.009389 2.15% Castro::normalize_species() 30 0.009372 0.009372 0.009372 2.15% FabArray::norminf() 465 0.009201 0.009201 0.009201 2.11% Castro::construct_old_gravity() 5 0.008095 0.008095 0.008095 1.85% Gravity::get_old_grav_vector() 5 0.008089 0.008089 0.008089 1.85% Gravity::get_new_grav_vector() 5 0.008063 0.008063 0.008063 1.85% Castro::do_new_sources() 5 0.007982 0.007982 0.007982 1.83% MLMG::mgVcycle_down::1 36 0.007803 0.007803 0.007803 1.79% MLMG::mgVcycle_down::2 36 0.007182 0.007182 0.007182 1.65% Castro::expand_state() 5 0.006993 0.006993 0.006993 1.60% FabArray::setVal() 501 0.006978 0.006978 0.006978 1.60% MLMG::mgVcycle_down::3 36 0.006976 0.006976 0.006976 1.60% FabArray::ParallelCopy() 380 0.006964 0.006964 0.006964 1.60% MLMG::mgVcycle_down::4 36 0.006905 0.006905 0.006905 1.58% FabArray::ParallelCopy_nowait() 380 0.006855 0.006855 0.006855 1.57% MLCellLinOp::defineAuxData() 6 0.006703 0.006703 0.006703 1.54% FabArray::Saxpy() 597 0.006187 0.006187 0.006187 1.42% Castro::post_restart() 1 0.00616 0.00616 0.00616 1.41% MLCGSolver::ParallelAllReduce 798 0.005915 0.005915 0.005915 1.35% MLMG::addInterpCorrection() 180 0.005741 0.005741 0.005741 1.31% Gravity::multilevel_solve_for_new_phi() 1 0.00571 0.00571 0.00571 1.31% amrex::Copy() 221 0.005705 0.005705 0.005705 1.31% Gravity::actual_multilevel_solve() 1 0.005693 0.005693 0.005693 1.30% Gravity::fill_multipole_BCs() 6 0.005662 0.005662 0.005662 1.30% Castro::initialize_advance() 5 0.005585 0.005585 0.005585 1.28% MLMG::mgVcycle_up::1 36 0.005576 0.005576 0.005576 1.28% MLMG::mgVcycle_up::4 36 0.005574 0.005574 0.005574 1.28% MLMG::mgVcycle_up::2 36 0.005461 0.005461 0.005461 1.25% amrex::average_down 180 0.005384 0.005384 0.005384 1.23% MLMG::mgVcycle_up::3 36 0.005327 0.005327 0.005327 1.22% MLPoisson::Fapply() 464 0.00481 0.00481 0.00481 1.10% Castro::post_timestep() 5 0.004667 0.004667 0.004667 1.07% MLCellLinOp::solutionResidual() 42 0.003859 0.003859 0.003859 0.88% FabArray::Xpay() 325 0.003693 0.003693 0.003693 0.85% Castro::estTimeStep() 10 0.003261 0.003261 0.003261 0.75% MLCellLinOp::defineBC() 6 0.003051 0.003051 0.003051 0.70% MLMG::prepareForSolve() 6 0.003031 0.003031 0.003031 0.69% MLMG::computeResidual() 36 0.003022 0.003022 0.003022 0.69% BndryData::define() 6 0.002906 0.002906 0.002906 0.67% Castro::enforce_min_density() 30 0.002794 0.002794 0.002794 0.64% Castro::construct_new_source() 25 0.001865 0.001865 0.001865 0.43% Castro::finalize_do_advance() 5 0.001858 0.001858 0.001858 0.43% Castro::construct_new_gravity_source() 5 0.001855 0.001855 0.001855 0.42% Castro::reset_internal_energy(Fab) 240 0.001695 0.001695 0.001695 0.39% amrex::Add() 36 0.001652 0.001652 0.001652 0.38% Castro::construct_old_source() 25 0.001546 0.001546 0.001546 0.35% Castro::construct_old_gravity_source() 5 0.001536 0.001536 0.001536 0.35% Castro::computeNewDt() 5 0.00153 0.00153 0.00153 0.35% Castro::finalize_advance() 5 0.001096 0.001096 0.001096 0.25% MLMG::ResNormInf() 42 0.001063 0.001063 0.001063 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001036 0.001036 0.001036 0.24% Castro::apply_source_to_state() 10 0.0009704 0.0009704 0.0009704 0.22% MLMG::getGradSolution() 6 0.0009392 0.0009392 0.0009392 0.22% MLCellLinOp::compGrad() 6 0.000936 0.000936 0.000936 0.21% MLCellLinOp::setLevelBC() 6 0.0009247 0.0009247 0.0009247 0.21% Castro::enforce_speed_limit() 30 0.0008656 0.0008656 0.0008656 0.20% MLMG::computeMLResidual() 6 0.0008563 0.0008563 0.0008563 0.20% Gravity::update_max_rhs() 6 0.0008109 0.0008109 0.0008109 0.19% MLPoisson::prepareForSolve() 6 0.0007965 0.0007965 0.0007965 0.18% MLCellLinOp::prepareForSolve() 6 0.0007926 0.0007926 0.0007926 0.18% FabArrayBase::getCPC() 632 0.0007789 0.0007789 0.0007789 0.18% FabArray::mult() 22 0.0007494 0.0007494 0.0007494 0.17% FabArray::setDomainBndry() 20 0.0007382 0.0007382 0.0007382 0.17% Castro::check_for_nan() 10 0.0006817 0.0006817 0.0006817 0.16% Other 2160 0.003815 0.003815 0.003815 0.87% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 12 MiB 9037 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 40 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1154 KiB 39 MiB Castro::initialize_do_advance() 40 40 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1852 KiB 28 MiB Castro::initialize_advance() 40 40 15 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 5677 KiB 14 MiB MLMG::prepareForSolve() 361 361 3454 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 191 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 189 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 5661 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 21 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3715 B 2048 KiB Gravity::solve_for_phi() 40 40 636 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 318 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 204 KiB 671 KiB Castro::estTimeStep() 10 10 3577 B 480 KiB VisMF::Write(FabArray) 112 112 1385 B 320 KiB Castro::normalize_species() 30 30 6989 B 320 KiB amrex::average_down 469 469 1380 B 257 KiB MLMG::addInterpCorrection() 468 468 1126 B 257 KiB amrex::Dot() 592 592 3321 B 160 KiB FabArray::norminf() 501 501 3264 B 160 KiB check_for_negative_density() 5 5 164 B 160 KiB MultiFab::max() 6 6 80 B 160 KiB FabArray::setVal() 66 66 19 KiB 27 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3348 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 290 B 9648 B MLCellLinOp::applyBC() 3820 3820 216 B 9344 B amrex::Copy() 56 56 5227 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 47 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCellLinOp::defineBC() 36 36 357 B 1248 B MLCGSolver::bicgstab 180 180 91 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1442 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 85 KiB 8192 KiB VisMF::Write(FabArray) 120 120 178 KiB 3584 KiB VisMF::Read() 24 24 222 KiB 3000 KiB FabArray::setVal() 66 66 19 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3348 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 290 B 9648 B MLCellLinOp::applyBC() 1910 1910 215 B 9328 B amrex::Copy() 56 56 5227 B 8816 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2209 B 3072 B StateData::FillBoundary(geom) 960 960 48 B 3024 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B MLMG::prepareForSolve() 7 7 747 B 1648 B amrex::average_down 37 37 402 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 24 B 400 B FabArray::norminf() 501 501 9 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2109 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.06-24-g2f93525639da) finalized