Initializing AMReX (24.06-12-g5bdac9102517)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-12-g5bdac9102517) initialized Starting run at 09:00:57 UTC on 2024-06-12. Successfully read inputs file ... Castro git describe: 24.06-8-gf5603db9e AMReX git describe: 24.06-12-g5bdac9102 Microphysics git describe: 24.06-6-ge56bbf10 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.046878239 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.02601972 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.062459928 [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.069736684 [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.072100965 [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.061513615 [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.065276846 [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.046408475 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.066763381 [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.075957598 [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.073739422 [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.060532324 [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.062644875 [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.045055796 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025862394 seconds Ending run at 09:00:58 UTC on 2024-06-12. Run time = 0.911935768 Run time without initialization = 0.78866321 Average number of zones advanced per microsecond: 3.324 Average number of zones advanced per microsecond per rank: 3.324 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.912 ... 0.912 ... 0.912 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2811 0.2811 0.2811 30.82% VisMF::Write(FabArray) 11 0.1823 0.1823 0.1823 19.99% MLCellLinOp::applyBC() 4298 0.08078 0.08078 0.08078 8.86% MLPoisson::Fsmooth() 3240 0.03384 0.03384 0.03384 3.71% FillBoundary_nowait() 3893 0.03295 0.03295 0.03295 3.61% FabArray::norminf() 1048 0.02657 0.02657 0.02657 2.91% StateData::FillBoundary(geom) 328 0.02646 0.02646 0.02646 2.90% amrex::Dot() 1100 0.02139 0.02139 0.02139 2.35% Castro::normalize_species() 62 0.01813 0.01813 0.01813 1.99% Castro::computeTemp() 63 0.01543 0.01543 0.01543 1.69% FabArray::ParallelCopy_nowait() 851 0.0136 0.0136 0.0136 1.49% FabArray::setVal() 1054 0.01353 0.01353 0.01353 1.48% FabArray::Saxpy() 1353 0.01312 0.01312 0.01312 1.44% StateDataPhysBCFunct::() 41 0.01233 0.01233 0.01233 1.35% amrex::Copy() 469 0.01099 0.01099 0.01099 1.20% Castro::enforce_min_density() 62 0.01046 0.01046 0.01046 1.15% MLCellLinOp::defineAuxData() 11 0.01044 0.01044 0.01044 1.14% MLPoisson::Fapply() 1047 0.01031 0.01031 0.01031 1.13% Gravity::fill_multipole_BCs() 11 0.009505 0.009505 0.009505 1.04% FabArray::Xpay() 730 0.007858 0.007858 0.007858 0.86% MLMG::addInterpCorrection() 405 0.006975 0.006975 0.006975 0.76% Castro::estTimeStep() 21 0.006301 0.006301 0.006301 0.69% amrex::average_down 405 0.006163 0.006163 0.006163 0.68% Amr::checkPoint() 3 0.005658 0.005658 0.005658 0.62% Castro::reset_internal_energy(MultiFab) 63 0.004578 0.004578 0.004578 0.50% BndryData::define() 11 0.003936 0.003936 0.003936 0.43% amrex::Add() 81 0.003701 0.003701 0.003701 0.41% Castro::enforce_speed_limit() 62 0.00368 0.00368 0.00368 0.40% Castro::construct_new_gravity_source() 10 0.003521 0.003521 0.003521 0.39% Castro::construct_old_gravity_source() 10 0.003012 0.003012 0.003012 0.33% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001817 0.001817 0.001817 0.20% Amr::writePlotFile() 2 0.0018 0.0018 0.0018 0.20% Castro::reset_internal_energy(Fab) 504 0.001734 0.001734 0.001734 0.19% MLCGSolver::bicgstab 81 0.001674 0.001674 0.001674 0.18% check_for_negative_density() 10 0.001668 0.001668 0.001668 0.18% MLCellLinOp::setLevelBC() 11 0.00163 0.00163 0.00163 0.18% Castro::initData() 1 0.001576 0.001576 0.001576 0.17% Gravity::actual_solve_with_mlmg() 11 0.001552 0.001552 0.001552 0.17% FabArray::mult() 43 0.001407 0.001407 0.001407 0.15% FabArray::setDomainBndry() 41 0.001386 0.001386 0.001386 0.15% MLCellLinOp::prepareForSolve() 11 0.001315 0.001315 0.001315 0.14% MultiFab::contains_nan() 20 0.001296 0.001296 0.001296 0.14% MLCellLinOp::compGrad() 11 0.001104 0.001104 0.001104 0.12% MLCellLinOp::smooth() 1620 0.001099 0.001099 0.001099 0.12% MLMG::prepareForSolve() 11 0.0009542 0.0009542 0.0009542 0.10% FabArrayBase::getCPC() 1313 0.0008255 0.0008255 0.0008255 0.09% FabArray::FillBoundary() 3893 0.0007947 0.0007947 0.0007947 0.09% Gravity::get_new_grav_vector() 11 0.0006127 0.0006127 0.0006127 0.07% Gravity::get_old_grav_vector() 10 0.0004821 0.0004821 0.0004821 0.05% MLCellLinOp::apply() 1047 0.0004306 0.0004306 0.0004306 0.05% AmrLevel::FillPatch() 41 0.0004087 0.0004087 0.0004087 0.04% MLCGSolver::ParallelAllReduce 1809 0.0003215 0.0003215 0.0003215 0.04% Amr::coarseTimeStep() 10 0.0003169 0.0003169 0.0003169 0.03% main() 1 0.0002762 0.0002762 0.0002762 0.03% MLCellLinOp::defineBC() 11 0.0002617 0.0002617 0.0002617 0.03% FabArray::ParallelCopy() 851 0.0002507 0.0002507 0.0002507 0.03% FillPatchIterator::Initialize 41 0.0002176 0.0002176 0.0002176 0.02% MLMG::mgVcycle() 81 0.0002104 0.0002104 0.0002104 0.02% Castro::subcycle_advance_ctu() 10 0.0001833 0.0001833 0.0001833 0.02% MLCellLinOp::correctionResidual() 405 0.0001737 0.0001737 0.0001737 0.02% Amr::timeStep() 10 0.0001584 0.0001584 0.0001584 0.02% MLMG:computeResOfCorrection() 405 0.0001207 0.0001207 0.0001207 0.01% StateData::checkPoint() 12 0.0001159 0.0001159 0.0001159 0.01% Gravity::solve_for_phi() 10 0.0001061 0.0001061 0.0001061 0.01% Castro::advance() 10 9.382e-05 9.382e-05 9.382e-05 0.01% MLMG::actualBottomSolve() 81 8.852e-05 8.852e-05 8.852e-05 0.01% MLMG::solve() 11 7.864e-05 7.864e-05 7.864e-05 0.01% MLMG::mgVcycle_down::0 81 7.859e-05 7.859e-05 7.859e-05 0.01% Castro::initialize_advance() 10 7.752e-05 7.752e-05 7.752e-05 0.01% MLMG::mgVcycle_down::1 81 7.71e-05 7.71e-05 7.71e-05 0.01% MLMG::mgVcycle_down::2 81 7.452e-05 7.452e-05 7.452e-05 0.01% Castro::clean_state() 62 7.33e-05 7.33e-05 7.33e-05 0.01% MLMG::mgVcycle_down::4 81 6.953e-05 6.953e-05 6.953e-05 0.01% MLMG::mgVcycle_down::3 81 6.735e-05 6.735e-05 6.735e-05 0.01% MLMG::mgVcycle_up::4 81 6.316e-05 6.316e-05 6.316e-05 0.01% MLMG::oneIter() 81 6.229e-05 6.229e-05 6.229e-05 0.01% AmrLevel::checkPoint() 3 6.224e-05 6.224e-05 6.224e-05 0.01% Castro::initialize_do_advance() 10 5.971e-05 5.971e-05 5.971e-05 0.01% MLCellLinOp::solutionResidual() 92 5.003e-05 5.003e-05 5.003e-05 0.01% MLMG::mgVcycle_up::2 81 4.985e-05 4.985e-05 4.985e-05 0.01% MLMG::mgVcycle_up::0 81 4.976e-05 4.976e-05 4.976e-05 0.01% Castro::do_advance_ctu() 10 4.956e-05 4.956e-05 4.956e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.95e-05 4.95e-05 4.95e-05 0.01% MLMG::mgVcycle_up::3 81 4.924e-05 4.924e-05 4.924e-05 0.01% Castro::construct_new_source() 50 4.728e-05 4.728e-05 4.728e-05 0.01% Castro::finalize_do_advance() 10 4.681e-05 4.681e-05 4.681e-05 0.01% MLMG::mgVcycle_up::1 81 4.628e-05 4.628e-05 4.628e-05 0.01% Castro::post_timestep() 10 3.731e-05 3.731e-05 3.731e-05 0.00% FillPatchSingleLevel 41 3.718e-05 3.718e-05 3.718e-05 0.00% MLMG::mgVcycle_bottom 81 3.498e-05 3.498e-05 3.498e-05 0.00% Amr::defBaseLevel() 1 3.217e-05 3.217e-05 3.217e-05 0.00% MLMG::computeResidual() 81 3.125e-05 3.125e-05 3.125e-05 0.00% MLMG::ResNormInf() 92 3.094e-05 3.094e-05 3.094e-05 0.00% Castro::construct_new_gravity() 10 2.87e-05 2.87e-05 2.87e-05 0.00% MLPoisson::define() 11 2.725e-05 2.725e-05 2.725e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.364e-05 2.364e-05 2.364e-05 0.00% Castro::do_old_sources() 10 2.041e-05 2.041e-05 2.041e-05 0.00% Castro::do_new_sources() 10 2.016e-05 2.016e-05 2.016e-05 0.00% Castro::construct_old_source() 50 1.942e-05 1.942e-05 1.942e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.857e-05 1.857e-05 1.857e-05 0.00% Amr::FinalizeInit() 1 1.84e-05 1.84e-05 1.84e-05 0.00% Gravity::actual_multilevel_solve() 1 1.445e-05 1.445e-05 1.445e-05 0.00% Castro::check_for_nan() 20 1.163e-05 1.163e-05 1.163e-05 0.00% Castro::apply_source_to_state() 20 1.098e-05 1.098e-05 1.098e-05 0.00% Castro::construct_old_gravity() 10 1.018e-05 1.018e-05 1.018e-05 0.00% MLMG::computeMLResidual() 11 9.322e-06 9.322e-06 9.322e-06 0.00% MLPoisson::prepareForSolve() 11 7.578e-06 7.578e-06 7.578e-06 0.00% Castro::computeNewDt() 9 6.583e-06 6.583e-06 6.583e-06 0.00% Castro::expand_state() 10 5.994e-06 5.994e-06 5.994e-06 0.00% MLMG::getGradSolution() 11 5.889e-06 5.889e-06 5.889e-06 0.00% Amr::InitializeInit() 1 5.554e-06 5.554e-06 5.554e-06 0.00% Castro::post_init() 1 3.606e-06 3.606e-06 3.606e-06 0.00% Amr::init() 1 2.282e-06 2.282e-06 2.282e-06 0.00% Amr::initialInit() 1 1.056e-06 1.056e-06 1.056e-06 0.00% Other 4705 0.003164 0.003164 0.003164 0.35% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9119 0.9119 0.9119 100.00% Amr::coarseTimeStep() 10 0.7626 0.7626 0.7626 83.62% Amr::timeStep() 10 0.6673 0.6673 0.6673 73.17% Castro::advance() 10 0.6564 0.6564 0.6564 71.98% Castro::subcycle_advance_ctu() 10 0.6432 0.6432 0.6432 70.53% Castro::do_advance_ctu() 10 0.643 0.643 0.643 70.51% Gravity::solve_phi_with_mlmg() 11 0.3038 0.3038 0.3038 33.32% Gravity::actual_solve_with_mlmg() 11 0.2938 0.2938 0.2938 32.22% Castro::construct_ctu_hydro_source() 10 0.2911 0.2911 0.2911 31.92% Castro::construct_new_gravity() 10 0.2795 0.2795 0.2795 30.65% MLMG::solve() 11 0.2717 0.2717 0.2717 29.79% Gravity::solve_for_phi() 10 0.2631 0.2631 0.2631 28.85% MLMG::oneIter() 81 0.2561 0.2561 0.2561 28.08% MLMG::mgVcycle() 81 0.2523 0.2523 0.2523 27.67% VisMF::Write(FabArray) 11 0.1823 0.1823 0.1823 19.99% Amr::checkPoint() 3 0.1385 0.1385 0.1385 15.18% AmrLevel::checkPoint() 3 0.1328 0.1328 0.1328 14.56% StateData::checkPoint() 12 0.1327 0.1327 0.1327 14.55% MLCellLinOp::smooth() 1620 0.1239 0.1239 0.1239 13.58% Amr::init() 1 0.1227 0.1227 0.1227 13.45% MLCellLinOp::applyBC() 4298 0.1152 0.1152 0.1152 12.64% MLMG::mgVcycle_bottom 81 0.07936 0.07936 0.07936 8.70% MLMG::actualBottomSolve() 81 0.07932 0.07932 0.07932 8.70% MLCGSolver::bicgstab 81 0.0785 0.0785 0.0785 8.61% Castro::clean_state() 62 0.05344 0.05344 0.05344 5.86% Amr::writePlotFile() 2 0.052 0.052 0.052 5.70% Amr::initialInit() 1 0.04967 0.04967 0.04967 5.45% AmrLevel::FillPatch() 41 0.04889 0.04889 0.04889 5.36% Amr::FinalizeInit() 1 0.04505 0.04505 0.04505 4.94% FillPatchIterator::Initialize 41 0.0446 0.0446 0.0446 4.89% Castro::post_init() 1 0.04361 0.04361 0.04361 4.78% FillPatchIterator::FillFromLevel0() 41 0.04299 0.04299 0.04299 4.71% FillPatchSingleLevel 41 0.04294 0.04294 0.04294 4.71% Gravity::multilevel_solve_for_new_phi() 1 0.04119 0.04119 0.04119 4.52% Gravity::actual_multilevel_solve() 1 0.04117 0.04117 0.04117 4.51% StateDataPhysBCFunct::() 41 0.03879 0.03879 0.03879 4.25% MLCellLinOp::apply() 1047 0.03655 0.03655 0.03655 4.01% MLMG::mgVcycle_down::0 81 0.03572 0.03572 0.03572 3.92% FabArray::FillBoundary() 3893 0.03447 0.03447 0.03447 3.78% MLPoisson::Fsmooth() 3240 0.03384 0.03384 0.03384 3.71% FillBoundary_nowait() 3893 0.03367 0.03367 0.03367 3.69% MLMG::mgVcycle_up::0 81 0.0273 0.0273 0.0273 2.99% FabArray::norminf() 1048 0.02657 0.02657 0.02657 2.91% StateData::FillBoundary(geom) 328 0.02646 0.02646 0.02646 2.90% Castro::computeTemp() 63 0.02174 0.02174 0.02174 2.38% amrex::Dot() 1100 0.02139 0.02139 0.02139 2.35% Castro::initialize_do_advance() 10 0.02127 0.02127 0.02127 2.33% MLMG:computeResOfCorrection() 405 0.02062 0.02062 0.02062 2.26% MLCellLinOp::correctionResidual() 405 0.0205 0.0205 0.0205 2.25% Castro::do_old_sources() 10 0.01902 0.01902 0.01902 2.09% Gravity::get_new_grav_vector() 11 0.01836 0.01836 0.01836 2.01% Castro::normalize_species() 62 0.01813 0.01813 0.01813 1.99% MLPoisson::define() 11 0.01735 0.01735 0.01735 1.90% MLMG::mgVcycle_down::1 81 0.01662 0.01662 0.01662 1.82% Castro::construct_old_gravity() 10 0.01581 0.01581 0.01581 1.73% Gravity::get_old_grav_vector() 10 0.0158 0.0158 0.0158 1.73% MLMG::mgVcycle_down::2 81 0.01549 0.01549 0.01549 1.70% MLMG::mgVcycle_down::3 81 0.01511 0.01511 0.01511 1.66% MLMG::mgVcycle_down::4 81 0.01493 0.01493 0.01493 1.64% FabArray::ParallelCopy() 851 0.01468 0.01468 0.01468 1.61% FabArray::ParallelCopy_nowait() 851 0.01443 0.01443 0.01443 1.58% FabArray::setVal() 1054 0.01353 0.01353 0.01353 1.48% FabArray::Saxpy() 1353 0.01312 0.01312 0.01312 1.44% MLCGSolver::ParallelAllReduce 1809 0.01282 0.01282 0.01282 1.41% Castro::do_new_sources() 10 0.01271 0.01271 0.01271 1.39% Castro::initialize_advance() 10 0.0125 0.0125 0.0125 1.37% MLMG::addInterpCorrection() 405 0.01228 0.01228 0.01228 1.35% MLMG::mgVcycle_up::4 81 0.0121 0.0121 0.0121 1.33% MLMG::mgVcycle_up::1 81 0.01208 0.01208 0.01208 1.32% Castro::expand_state() 10 0.01205 0.01205 0.01205 1.32% MLCellLinOp::defineAuxData() 11 0.01188 0.01188 0.01188 1.30% MLMG::mgVcycle_up::2 81 0.01182 0.01182 0.01182 1.30% MLMG::mgVcycle_up::3 81 0.01157 0.01157 0.01157 1.27% amrex::average_down 405 0.01143 0.01143 0.01143 1.25% amrex::Copy() 469 0.01099 0.01099 0.01099 1.20% Castro::post_timestep() 10 0.01072 0.01072 0.01072 1.18% Castro::enforce_min_density() 62 0.01046 0.01046 0.01046 1.15% MLPoisson::Fapply() 1047 0.01031 0.01031 0.01031 1.13% Gravity::fill_multipole_BCs() 11 0.009759 0.009759 0.009759 1.07% MLCellLinOp::solutionResidual() 92 0.007861 0.007861 0.007861 0.86% FabArray::Xpay() 730 0.007858 0.007858 0.007858 0.86% MLMG::computeResidual() 81 0.006616 0.006616 0.006616 0.73% Castro::reset_internal_energy(MultiFab) 63 0.006312 0.006312 0.006312 0.69% Castro::estTimeStep() 21 0.006301 0.006301 0.006301 0.69% MLCellLinOp::defineBC() 11 0.005216 0.005216 0.005216 0.57% MLMG::prepareForSolve() 11 0.005166 0.005166 0.005166 0.57% BndryData::define() 11 0.004954 0.004954 0.004954 0.54% Amr::InitializeInit() 1 0.004614 0.004614 0.004614 0.51% Amr::defBaseLevel() 1 0.004609 0.004609 0.004609 0.51% Castro::initData() 1 0.003943 0.003943 0.003943 0.43% amrex::Add() 81 0.003701 0.003701 0.003701 0.41% Castro::enforce_speed_limit() 62 0.00368 0.00368 0.00368 0.40% Castro::construct_new_source() 50 0.003568 0.003568 0.003568 0.39% Castro::construct_new_gravity_source() 10 0.003521 0.003521 0.003521 0.39% Castro::construct_old_source() 50 0.003031 0.003031 0.003031 0.33% Castro::construct_old_gravity_source() 10 0.003012 0.003012 0.003012 0.33% Castro::computeNewDt() 9 0.002682 0.002682 0.002682 0.29% Castro::finalize_do_advance() 10 0.002661 0.002661 0.002661 0.29% MLMG::ResNormInf() 92 0.002231 0.002231 0.002231 0.24% Castro::apply_source_to_state() 20 0.001883 0.001883 0.001883 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001817 0.001817 0.001817 0.20% Castro::reset_internal_energy(Fab) 504 0.001734 0.001734 0.001734 0.19% check_for_negative_density() 10 0.001668 0.001668 0.001668 0.18% MLMG::getGradSolution() 11 0.001631 0.001631 0.001631 0.18% MLCellLinOp::setLevelBC() 11 0.00163 0.00163 0.00163 0.18% MLCellLinOp::compGrad() 11 0.001625 0.001625 0.001625 0.18% FabArrayBase::getCPC() 1313 0.001474 0.001474 0.001474 0.16% FabArray::mult() 43 0.001407 0.001407 0.001407 0.15% FabArray::setDomainBndry() 41 0.001386 0.001386 0.001386 0.15% MLPoisson::prepareForSolve() 11 0.001322 0.001322 0.001322 0.14% MLCellLinOp::prepareForSolve() 11 0.001315 0.001315 0.001315 0.14% Castro::check_for_nan() 20 0.001308 0.001308 0.001308 0.14% MultiFab::contains_nan() 20 0.001296 0.001296 0.001296 0.14% MLMG::computeMLResidual() 11 0.001285 0.001285 0.001285 0.14% Other 4705 0.00904 0.00904 0.00904 0.99% -------------------------------------------------------------------------------------------- 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 5859 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 1038 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 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 7615 KiB 14 MiB MLMG::prepareForSolve() 660 660 3665 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 209 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 177 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7522 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2148 B 2048 KiB Gravity::solve_for_phi() 80 80 590 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 92 KiB 2048 KiB BndryData::define() 1056 1056 335 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 213 KiB 671 KiB Castro::estTimeStep() 21 21 3372 B 480 KiB VisMF::Write(FabArray) 656 656 3465 B 320 KiB Castro::normalize_species() 62 62 6469 B 320 KiB amrex::average_down 1054 1054 1591 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1158 B 257 KiB amrex::Dot() 1343 1343 3478 B 160 KiB FabArray::norminf() 1129 1129 4576 B 160 KiB check_for_negative_density() 10 10 293 B 160 KiB Castro::initData() 1 1 52 B 160 KiB MultiFab::max() 11 11 58 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3580 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 316 B 9648 B MLCellLinOp::applyBC() 8596 8596 222 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3970 B 6144 B StateData::FillBoundary(geom) 1992 1992 45 B 2928 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 377 B 1248 B MLCGSolver::bicgstab 405 405 103 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 621 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 439 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3580 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 316 B 9648 B MLCellLinOp::applyBC() 4298 4298 220 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3970 B 6144 B Gravity::get_new_grav_vector() 3 3 2907 B 3072 B StateData::FillBoundary(geom) 1992 1992 46 B 2928 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 305 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 28 B 400 B FabArray::norminf() 1129 1129 10 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2109 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.06-12-g5bdac9102517) finalized Initializing AMReX (24.06-12-g5bdac9102517)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-12-g5bdac9102517) initialized Starting run at 09:00:58 UTC on 2024-06-12. Successfully read inputs file ... Castro git describe: 24.06-8-gf5603db9e AMReX git describe: 24.06-12-g5bdac9102 Microphysics git describe: 24.06-6-ge56bbf10 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.500796375 Restart time = 0.073542901 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.066622525 [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.054258233 [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.062280843 [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.077739276 [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.0764996 [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.072512713 seconds Ending run at 09:00:59 UTC on 2024-06-12. Run time = 0.484574636 Run time without initialization = 0.410478995 Average number of zones advanced per microsecond: 3.193 Average number of zones advanced per microsecond per rank: 3.193 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4848 ... 0.4848 ... 0.4848 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1337 0.1337 0.1337 27.59% VisMF::Read() 3 0.06206 0.06206 0.06206 12.80% Amr::writePlotFile() 1 0.03898 0.03898 0.03898 8.04% MLCellLinOp::applyBC() 1910 0.03628 0.03628 0.03628 7.49% VisMF::Write(FabArray) 1 0.03337 0.03337 0.03337 6.88% MLPoisson::Fsmooth() 1440 0.01534 0.01534 0.01534 3.16% FillBoundary_nowait() 1730 0.01513 0.01513 0.01513 3.12% StateDataPhysBCFunct::() 20 0.01432 0.01432 0.01432 2.95% StateData::FillBoundary(geom) 160 0.01181 0.01181 0.01181 2.44% amrex::Dot() 484 0.00936 0.00936 0.00936 1.93% FabArray::norminf() 465 0.008867 0.008867 0.008867 1.83% Castro::normalize_species() 30 0.008671 0.008671 0.008671 1.79% FabArray::setVal() 501 0.006757 0.006757 0.006757 1.39% FabArray::ParallelCopy_nowait() 380 0.006298 0.006298 0.006298 1.30% Castro::computeTemp() 30 0.006075 0.006075 0.006075 1.25% FabArray::Saxpy() 597 0.005965 0.005965 0.005965 1.23% MLCellLinOp::defineAuxData() 6 0.005742 0.005742 0.005742 1.18% amrex::Copy() 221 0.00559 0.00559 0.00559 1.15% Gravity::fill_multipole_BCs() 6 0.00532 0.00532 0.00532 1.10% Amr::restart() 1 0.004851 0.004851 0.004851 1.00% Castro::enforce_min_density() 30 0.004621 0.004621 0.004621 0.95% MLPoisson::Fapply() 464 0.004618 0.004618 0.004618 0.95% FabArray::Xpay() 325 0.003588 0.003588 0.003588 0.74% Castro::estTimeStep() 10 0.00354 0.00354 0.00354 0.73% MLMG::addInterpCorrection() 180 0.00316 0.00316 0.00316 0.65% amrex::average_down 180 0.002808 0.002808 0.002808 0.58% BndryData::define() 6 0.002195 0.002195 0.002195 0.45% Castro::reset_internal_energy(MultiFab) 30 0.002089 0.002089 0.002089 0.43% Castro::construct_new_gravity_source() 5 0.001862 0.001862 0.001862 0.38% Castro::subcycle_advance_ctu() 5 0.001807 0.001807 0.001807 0.37% amrex::Add() 36 0.001659 0.001659 0.001659 0.34% Castro::construct_old_gravity_source() 5 0.001587 0.001587 0.001587 0.33% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009979 0.0009979 0.0009979 0.21% MLCellLinOp::setLevelBC() 6 0.0009053 0.0009053 0.0009053 0.19% Castro::reset_internal_energy(Fab) 240 0.0008927 0.0008927 0.0008927 0.18% check_for_negative_density() 5 0.0008814 0.0008814 0.0008814 0.18% Gravity::actual_solve_with_mlmg() 6 0.0008458 0.0008458 0.0008458 0.17% MLCellLinOp::prepareForSolve() 6 0.0007608 0.0007608 0.0007608 0.16% MLCGSolver::bicgstab 36 0.0007417 0.0007417 0.0007417 0.15% FabArray::mult() 22 0.000712 0.000712 0.000712 0.15% FabArray::setDomainBndry() 20 0.0007058 0.0007058 0.0007058 0.15% MLCellLinOp::compGrad() 6 0.000633 0.000633 0.000633 0.13% MLMG::prepareForSolve() 6 0.0005701 0.0005701 0.0005701 0.12% MLCellLinOp::smooth() 720 0.0005006 0.0005006 0.0005006 0.10% main() 1 0.0003863 0.0003863 0.0003863 0.08% FabArrayBase::getCPC() 632 0.0003719 0.0003719 0.0003719 0.08% FabArray::FillBoundary() 1730 0.0003552 0.0003552 0.0003552 0.07% Gravity::get_old_grav_vector() 5 0.0002986 0.0002986 0.0002986 0.06% Gravity::get_new_grav_vector() 5 0.0002361 0.0002361 0.0002361 0.05% AmrLevel::FillPatch() 20 0.0002047 0.0002047 0.0002047 0.04% MLCellLinOp::apply() 464 0.0001865 0.0001865 0.0001865 0.04% Amr::coarseTimeStep() 5 0.0001642 0.0001642 0.0001642 0.03% MLCellLinOp::defineBC() 6 0.0001473 0.0001473 0.0001473 0.03% MLCGSolver::ParallelAllReduce 798 0.0001351 0.0001351 0.0001351 0.03% FabArray::ParallelCopy() 380 0.000115 0.000115 0.000115 0.02% Castro::construct_new_source() 25 0.0001131 0.0001131 0.0001131 0.02% FillPatchIterator::Initialize 20 0.0001104 0.0001104 0.0001104 0.02% Amr::timeStep() 5 9.134e-05 9.134e-05 9.134e-05 0.02% MLMG::mgVcycle() 36 8.807e-05 8.807e-05 8.807e-05 0.02% MLCellLinOp::correctionResidual() 180 8.133e-05 8.133e-05 8.133e-05 0.02% StateData::restartDoit() 4 7.529e-05 7.529e-05 7.529e-05 0.02% Castro::finalize_do_advance() 5 7.443e-05 7.443e-05 7.443e-05 0.02% AmrLevel::restart() 1 7.377e-05 7.377e-05 7.377e-05 0.02% Gravity::update_max_rhs() 6 7.211e-05 7.211e-05 7.211e-05 0.01% Castro::advance() 5 5.63e-05 5.63e-05 5.63e-05 0.01% Gravity::solve_for_phi() 5 4.995e-05 4.995e-05 4.995e-05 0.01% MLMG:computeResOfCorrection() 180 4.902e-05 4.902e-05 4.902e-05 0.01% Castro::do_new_sources() 5 3.985e-05 3.985e-05 3.985e-05 0.01% MLMG::actualBottomSolve() 36 3.826e-05 3.826e-05 3.826e-05 0.01% Castro::initialize_advance() 5 3.77e-05 3.77e-05 3.77e-05 0.01% MLMG::solve() 6 3.72e-05 3.72e-05 3.72e-05 0.01% Castro::construct_old_source() 25 3.647e-05 3.647e-05 3.647e-05 0.01% Castro::clean_state() 30 3.532e-05 3.532e-05 3.532e-05 0.01% MLMG::mgVcycle_down::0 36 3.46e-05 3.46e-05 3.46e-05 0.01% MLMG::mgVcycle_down::1 36 3.404e-05 3.404e-05 3.404e-05 0.01% MLMG::mgVcycle_down::2 36 3.176e-05 3.176e-05 3.176e-05 0.01% MLMG::mgVcycle_down::4 36 3.104e-05 3.104e-05 3.104e-05 0.01% Castro::initialize_do_advance() 5 3.024e-05 3.024e-05 3.024e-05 0.01% MLMG::mgVcycle_down::3 36 2.933e-05 2.933e-05 2.933e-05 0.01% Castro::post_timestep() 5 2.827e-05 2.827e-05 2.827e-05 0.01% MLMG::oneIter() 36 2.627e-05 2.627e-05 2.627e-05 0.01% MLMG::mgVcycle_up::4 36 2.574e-05 2.574e-05 2.574e-05 0.01% Castro::do_advance_ctu() 5 2.493e-05 2.493e-05 2.493e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.325e-05 2.325e-05 2.325e-05 0.00% MLMG::mgVcycle_up::3 36 2.225e-05 2.225e-05 2.225e-05 0.00% MLPoisson::define() 6 2.207e-05 2.207e-05 2.207e-05 0.00% Castro::post_restart() 1 2.202e-05 2.202e-05 2.202e-05 0.00% MLMG::mgVcycle_up::0 36 2.19e-05 2.19e-05 2.19e-05 0.00% MLCellLinOp::solutionResidual() 42 2.158e-05 2.158e-05 2.158e-05 0.00% MLMG::mgVcycle_up::2 36 2.072e-05 2.072e-05 2.072e-05 0.00% MLMG::mgVcycle_up::1 36 2.012e-05 2.012e-05 2.012e-05 0.00% FillPatchSingleLevel 20 1.727e-05 1.727e-05 1.727e-05 0.00% MLMG::ResNormInf() 42 1.696e-05 1.696e-05 1.696e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.6e-05 1.6e-05 1.6e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.506e-05 1.506e-05 1.506e-05 0.00% MLMG::mgVcycle_bottom 36 1.473e-05 1.473e-05 1.473e-05 0.00% Gravity::actual_multilevel_solve() 1 1.463e-05 1.463e-05 1.463e-05 0.00% MLMG::computeResidual() 36 1.404e-05 1.404e-05 1.404e-05 0.00% Castro::construct_new_gravity() 5 1.346e-05 1.346e-05 1.346e-05 0.00% Castro::do_old_sources() 5 1.151e-05 1.151e-05 1.151e-05 0.00% Castro::expand_state() 5 1.067e-05 1.067e-05 1.067e-05 0.00% Castro::apply_source_to_state() 10 6.233e-06 6.233e-06 6.233e-06 0.00% Castro::check_for_nan() 10 5.98e-06 5.98e-06 5.98e-06 0.00% Castro::construct_old_gravity() 5 5.458e-06 5.458e-06 5.458e-06 0.00% MLMG::computeMLResidual() 6 4.496e-06 4.496e-06 4.496e-06 0.00% MLPoisson::prepareForSolve() 6 3.86e-06 3.86e-06 3.86e-06 0.00% Castro::computeNewDt() 5 3.676e-06 3.676e-06 3.676e-06 0.00% MLMG::getGradSolution() 6 2.941e-06 2.941e-06 2.941e-06 0.00% Amr::init() 1 1.252e-06 1.252e-06 1.252e-06 0.00% Other 2190 0.002975 0.002975 0.002975 0.61% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4846 0.4846 0.4846 99.97% Amr::coarseTimeStep() 5 0.3376 0.3376 0.3376 69.64% Amr::timeStep() 5 0.3348 0.3348 0.3348 69.07% Castro::advance() 5 0.3314 0.3314 0.3314 68.37% Castro::subcycle_advance_ctu() 5 0.325 0.325 0.325 67.05% Castro::do_advance_ctu() 5 0.3232 0.3232 0.3232 66.67% Castro::construct_new_gravity() 5 0.1434 0.1434 0.1434 29.58% Castro::construct_ctu_hydro_source() 5 0.1386 0.1386 0.1386 28.59% Gravity::solve_phi_with_mlmg() 6 0.1376 0.1376 0.1376 28.39% Gravity::solve_for_phi() 5 0.1321 0.1321 0.1321 27.26% Gravity::actual_solve_with_mlmg() 6 0.132 0.132 0.132 27.23% MLMG::solve() 6 0.1197 0.1197 0.1197 24.69% MLMG::oneIter() 36 0.1117 0.1117 0.1117 23.03% MLMG::mgVcycle() 36 0.11 0.11 0.11 22.69% Amr::init() 1 0.07359 0.07359 0.07359 15.18% Amr::restart() 1 0.07359 0.07359 0.07359 15.18% Amr::writePlotFile() 1 0.07262 0.07262 0.07262 14.98% AmrLevel::restart() 1 0.06243 0.06243 0.06243 12.88% StateData::restartDoit() 4 0.06236 0.06236 0.06236 12.86% VisMF::Read() 3 0.06206 0.06206 0.06206 12.80% MLCellLinOp::smooth() 720 0.05582 0.05582 0.05582 11.52% MLCellLinOp::applyBC() 1910 0.05208 0.05208 0.05208 10.74% VisMF::Write(FabArray) 1 0.03337 0.03337 0.03337 6.88% MLMG::mgVcycle_bottom 36 0.03205 0.03205 0.03205 6.61% MLMG::actualBottomSolve() 36 0.03203 0.03203 0.03203 6.61% MLCGSolver::bicgstab 36 0.03166 0.03166 0.03166 6.53% AmrLevel::FillPatch() 20 0.03123 0.03123 0.03123 6.44% FillPatchIterator::Initialize 20 0.02912 0.02912 0.02912 6.01% FillPatchIterator::FillFromLevel0() 20 0.0283 0.0283 0.0283 5.84% FillPatchSingleLevel 20 0.02828 0.02828 0.02828 5.83% StateDataPhysBCFunct::() 20 0.02613 0.02613 0.02613 5.39% Castro::clean_state() 30 0.02293 0.02293 0.02293 4.73% MLCellLinOp::apply() 464 0.0166 0.0166 0.0166 3.43% MLMG::mgVcycle_down::0 36 0.01649 0.01649 0.01649 3.40% FabArray::FillBoundary() 1730 0.0158 0.0158 0.0158 3.26% FillBoundary_nowait() 1730 0.01544 0.01544 0.01544 3.19% MLPoisson::Fsmooth() 1440 0.01534 0.01534 0.01534 3.16% MLMG::mgVcycle_up::0 36 0.01232 0.01232 0.01232 2.54% StateData::FillBoundary(geom) 160 0.01181 0.01181 0.01181 2.44% Castro::initialize_do_advance() 5 0.01141 0.01141 0.01141 2.35% Gravity::get_new_grav_vector() 5 0.01112 0.01112 0.01112 2.29% Castro::do_old_sources() 5 0.01109 0.01109 0.01109 2.29% Castro::construct_old_gravity() 5 0.01093 0.01093 0.01093 2.26% Gravity::get_old_grav_vector() 5 0.01093 0.01093 0.01093 2.25% MLPoisson::define() 6 0.009634 0.009634 0.009634 1.99% amrex::Dot() 484 0.00936 0.00936 0.00936 1.93% MLMG:computeResOfCorrection() 180 0.009349 0.009349 0.009349 1.93% MLCellLinOp::correctionResidual() 180 0.0093 0.0093 0.0093 1.92% Castro::computeTemp() 30 0.009057 0.009057 0.009057 1.87% FabArray::norminf() 465 0.008867 0.008867 0.008867 1.83% Castro::normalize_species() 30 0.008671 0.008671 0.008671 1.79% MLMG::mgVcycle_down::1 36 0.007563 0.007563 0.007563 1.56% MLMG::mgVcycle_down::2 36 0.006934 0.006934 0.006934 1.43% FabArray::ParallelCopy() 380 0.006809 0.006809 0.006809 1.40% FabArray::setVal() 501 0.006757 0.006757 0.006757 1.39% MLMG::mgVcycle_down::3 36 0.006727 0.006727 0.006727 1.39% FabArray::ParallelCopy_nowait() 380 0.006694 0.006694 0.006694 1.38% MLMG::mgVcycle_down::4 36 0.006647 0.006647 0.006647 1.37% MLCellLinOp::defineAuxData() 6 0.006543 0.006543 0.006543 1.35% Castro::expand_state() 5 0.00654 0.00654 0.00654 1.35% Castro::do_new_sources() 5 0.006272 0.006272 0.006272 1.29% Castro::post_restart() 1 0.006104 0.006104 0.006104 1.26% Castro::initialize_advance() 5 0.006031 0.006031 0.006031 1.24% FabArray::Saxpy() 597 0.005965 0.005965 0.005965 1.23% Gravity::multilevel_solve_for_new_phi() 1 0.005728 0.005728 0.005728 1.18% Gravity::actual_multilevel_solve() 1 0.005712 0.005712 0.005712 1.18% MLCGSolver::ParallelAllReduce 798 0.005634 0.005634 0.005634 1.16% amrex::Copy() 221 0.00559 0.00559 0.00559 1.15% MLMG::addInterpCorrection() 180 0.005496 0.005496 0.005496 1.13% Gravity::fill_multipole_BCs() 6 0.005466 0.005466 0.005466 1.13% MLMG::mgVcycle_up::1 36 0.005392 0.005392 0.005392 1.11% MLMG::mgVcycle_up::4 36 0.005363 0.005363 0.005363 1.11% MLMG::mgVcycle_up::2 36 0.005269 0.005269 0.005269 1.09% amrex::average_down 180 0.005145 0.005145 0.005145 1.06% MLMG::mgVcycle_up::3 36 0.005134 0.005134 0.005134 1.06% Castro::enforce_min_density() 30 0.004621 0.004621 0.004621 0.95% MLPoisson::Fapply() 464 0.004618 0.004618 0.004618 0.95% MLCellLinOp::solutionResidual() 42 0.003823 0.003823 0.003823 0.79% FabArray::Xpay() 325 0.003588 0.003588 0.003588 0.74% Castro::estTimeStep() 10 0.00354 0.00354 0.00354 0.73% Castro::post_timestep() 5 0.003273 0.003273 0.003273 0.68% MLMG::computeResidual() 36 0.002984 0.002984 0.002984 0.62% Castro::reset_internal_energy(MultiFab) 30 0.002981 0.002981 0.002981 0.62% MLMG::prepareForSolve() 6 0.002939 0.002939 0.002939 0.61% MLCellLinOp::defineBC() 6 0.00293 0.00293 0.00293 0.60% BndryData::define() 6 0.002782 0.002782 0.002782 0.57% Castro::computeNewDt() 5 0.002593 0.002593 0.002593 0.54% Castro::construct_new_source() 25 0.001975 0.001975 0.001975 0.41% Castro::construct_new_gravity_source() 5 0.001862 0.001862 0.001862 0.38% amrex::Add() 36 0.001659 0.001659 0.001659 0.34% Castro::construct_old_source() 25 0.001624 0.001624 0.001624 0.33% Castro::construct_old_gravity_source() 5 0.001587 0.001587 0.001587 0.33% MLMG::ResNormInf() 42 0.001084 0.001084 0.001084 0.22% Castro::finalize_do_advance() 5 0.001024 0.001024 0.001024 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009979 0.0009979 0.0009979 0.21% Castro::apply_source_to_state() 10 0.0009708 0.0009708 0.0009708 0.20% MLMG::getGradSolution() 6 0.0009388 0.0009388 0.0009388 0.19% MLCellLinOp::compGrad() 6 0.0009359 0.0009359 0.0009359 0.19% MLCellLinOp::setLevelBC() 6 0.0009053 0.0009053 0.0009053 0.19% Castro::reset_internal_energy(Fab) 240 0.0008927 0.0008927 0.0008927 0.18% check_for_negative_density() 5 0.0008814 0.0008814 0.0008814 0.18% MLMG::computeMLResidual() 6 0.0008584 0.0008584 0.0008584 0.18% FabArrayBase::getCPC() 632 0.0007871 0.0007871 0.0007871 0.16% MLPoisson::prepareForSolve() 6 0.0007647 0.0007647 0.0007647 0.16% MLCellLinOp::prepareForSolve() 6 0.0007608 0.0007608 0.0007608 0.16% Gravity::update_max_rhs() 6 0.0007516 0.0007516 0.0007516 0.16% FabArray::mult() 22 0.000712 0.000712 0.000712 0.15% FabArray::setDomainBndry() 20 0.0007058 0.0007058 0.0007058 0.15% Castro::check_for_nan() 10 0.0006825 0.0006825 0.0006825 0.14% Other 2190 0.004263 0.004263 0.004263 0.88% -------------------------------------------------------------------------------------------- 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 1185 KiB 39 MiB Castro::initialize_do_advance() 40 40 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2025 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 6514 KiB 14 MiB MLMG::prepareForSolve() 361 361 3032 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 233 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 235 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6502 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 18 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3084 B 2048 KiB Gravity::solve_for_phi() 40 40 557 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 24 KiB 2048 KiB BndryData::define() 576 576 279 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 179 KiB 671 KiB Castro::estTimeStep() 10 10 3459 B 480 KiB VisMF::Write(FabArray) 112 112 1211 B 320 KiB Castro::normalize_species() 30 30 5820 B 320 KiB amrex::average_down 469 469 1330 B 257 KiB MLMG::addInterpCorrection() 468 468 977 B 257 KiB amrex::Dot() 592 592 2859 B 160 KiB FabArray::norminf() 501 501 2831 B 160 KiB check_for_negative_density() 5 5 291 B 160 KiB MultiFab::max() 6 6 69 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 27 B 20 KiB MLPoisson::Fsmooth() 60 60 2938 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 40 B 10 KiB FillBoundary_nowait() 336 336 272 B 9648 B MLCellLinOp::applyBC() 3820 3820 190 B 9344 B amrex::Copy() 56 56 5881 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 92 B 3904 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 314 B 1248 B MLCGSolver::bicgstab 180 180 78 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1083 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 76 KiB 8192 KiB VisMF::Write(FabArray) 120 120 154 KiB 3584 KiB VisMF::Read() 24 24 193 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 2938 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 41 B 10 KiB FillBoundary_nowait() 336 336 272 B 9648 B MLCellLinOp::applyBC() 1910 1910 189 B 9328 B amrex::Copy() 56 56 5881 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 92 B 3904 B Gravity::get_old_grav_vector() 3 3 2559 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B MLMG::prepareForSolve() 7 7 782 B 1648 B amrex::average_down 37 37 480 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 20 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-12-g5bdac9102517) finalized