Initializing AMReX (24.06-3-g0a691f6f4804)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-3-g0a691f6f4804) initialized Starting run at 09:30:36 UTC on 2024-06-06. Successfully read inputs file ... Castro git describe: 24.06-6-gabb455088 AMReX git describe: 24.06-3-g0a691f6f4 Microphysics git describe: 24.06-5-g094a26da 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.049361162 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.027061803 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.063734388 [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.052151147 [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.077806953 [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.080685856 [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.071153965 [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.048210693 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.053581058 [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.077478022 [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.076838256 [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.051217572 [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.065232629 [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.047070288 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.026824061 seconds Ending run at 09:30:37 UTC on 2024-06-06. Run time = 0.923772966 Run time without initialization = 0.792739634 Average number of zones advanced per microsecond: 3.307 Average number of zones advanced per microsecond per rank: 3.307 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9238 ... 0.9238 ... 0.9238 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2750 0.2750 0.2750 29.77% VisMF::Write(FabArray) 11 0.1906 0.1906 0.1906 20.63% MLCellLinOp::applyBC() 4351 0.08343 0.08343 0.08343 9.03% MLPoisson::Fsmooth() 3280 0.03516 0.03516 0.03516 3.81% FillBoundary_nowait() 3941 0.03306 0.03306 0.03306 3.58% StateData::FillBoundary(geom) 328 0.02696 0.02696 0.02696 2.92% amrex::Dot() 1114 0.02241 0.02241 0.02241 2.43% FabArray::norminf() 1061 0.02083 0.02083 0.02083 2.26% Castro::normalize_species() 62 0.02019 0.02019 0.02019 2.19% Castro::computeTemp() 63 0.01599 0.01599 0.01599 1.73% FabArray::ParallelCopy_nowait() 861 0.01407 0.01407 0.01407 1.52% FabArray::setVal() 1062 0.01387 0.01387 0.01387 1.50% FabArray::Saxpy() 1370 0.01364 0.01364 0.01364 1.48% Castro::enforce_min_density() 62 0.01286 0.01286 0.01286 1.39% StateDataPhysBCFunct::() 41 0.01285 0.01285 0.01285 1.39% amrex::Copy() 472 0.01118 0.01118 0.01118 1.21% MLPoisson::Fapply() 1060 0.0108 0.0108 0.0108 1.17% MLCellLinOp::defineAuxData() 11 0.0107 0.0107 0.0107 1.16% Gravity::fill_multipole_BCs() 11 0.009657 0.009657 0.009657 1.05% FabArray::Xpay() 739 0.008201 0.008201 0.008201 0.89% MLMG::addInterpCorrection() 410 0.007276 0.007276 0.007276 0.79% amrex::average_down 410 0.006472 0.006472 0.006472 0.70% Amr::checkPoint() 3 0.005596 0.005596 0.005596 0.61% Castro::estTimeStep() 21 0.005422 0.005422 0.005422 0.59% Castro::reset_internal_energy(MultiFab) 63 0.004972 0.004972 0.004972 0.54% BndryData::define() 11 0.004148 0.004148 0.004148 0.45% amrex::Add() 82 0.00376 0.00376 0.00376 0.41% Castro::enforce_speed_limit() 62 0.003729 0.003729 0.003729 0.40% Castro::construct_new_gravity_source() 10 0.003597 0.003597 0.003597 0.39% Castro::construct_old_gravity_source() 10 0.003132 0.003132 0.003132 0.34% check_for_negative_density() 10 0.001915 0.001915 0.001915 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001879 0.001879 0.001879 0.20% Amr::writePlotFile() 2 0.001851 0.001851 0.001851 0.20% Castro::reset_internal_energy(Fab) 504 0.001792 0.001792 0.001792 0.19% MLCGSolver::bicgstab 82 0.001648 0.001648 0.001648 0.18% MLCellLinOp::setLevelBC() 11 0.001644 0.001644 0.001644 0.18% Gravity::actual_solve_with_mlmg() 11 0.001546 0.001546 0.001546 0.17% Castro::initData() 1 0.001535 0.001535 0.001535 0.17% FabArray::setDomainBndry() 41 0.001421 0.001421 0.001421 0.15% FabArray::mult() 43 0.001415 0.001415 0.001415 0.15% MLCellLinOp::prepareForSolve() 11 0.001338 0.001338 0.001338 0.14% MultiFab::contains_nan() 20 0.001307 0.001307 0.001307 0.14% MLCellLinOp::smooth() 1640 0.001176 0.001176 0.001176 0.13% MLCellLinOp::compGrad() 11 0.001105 0.001105 0.001105 0.12% MLMG::prepareForSolve() 11 0.0009697 0.0009697 0.0009697 0.10% FabArray::FillBoundary() 3941 0.0008043 0.0008043 0.0008043 0.09% FabArrayBase::getCPC() 1323 0.0007627 0.0007627 0.0007627 0.08% Gravity::get_new_grav_vector() 11 0.0006189 0.0006189 0.0006189 0.07% Gravity::get_old_grav_vector() 10 0.0004801 0.0004801 0.0004801 0.05% MLCellLinOp::apply() 1060 0.0004353 0.0004353 0.0004353 0.05% AmrLevel::FillPatch() 41 0.0004099 0.0004099 0.0004099 0.04% Amr::coarseTimeStep() 10 0.0003973 0.0003973 0.0003973 0.04% main() 1 0.0003235 0.0003235 0.0003235 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003151 0.0003151 0.0003151 0.03% MLCellLinOp::defineBC() 11 0.0002661 0.0002661 0.0002661 0.03% FabArray::ParallelCopy() 861 0.0002513 0.0002513 0.0002513 0.03% FillPatchIterator::Initialize 41 0.0002134 0.0002134 0.0002134 0.02% MLMG::mgVcycle() 82 0.0002059 0.0002059 0.0002059 0.02% Castro::subcycle_advance_ctu() 10 0.0001751 0.0001751 0.0001751 0.02% MLCellLinOp::correctionResidual() 410 0.0001689 0.0001689 0.0001689 0.02% Amr::timeStep() 10 0.0001609 0.0001609 0.0001609 0.02% Gravity::solve_for_phi() 10 0.0001226 0.0001226 0.0001226 0.01% MLMG:computeResOfCorrection() 410 0.0001157 0.0001157 0.0001157 0.01% StateData::checkPoint() 12 0.0001115 0.0001115 0.0001115 0.01% Castro::post_timestep() 10 9.738e-05 9.738e-05 9.738e-05 0.01% MLMG::actualBottomSolve() 82 9.199e-05 9.199e-05 9.199e-05 0.01% Castro::clean_state() 62 8.43e-05 8.43e-05 8.43e-05 0.01% Castro::construct_new_source() 50 8.346e-05 8.346e-05 8.346e-05 0.01% MLMG::mgVcycle_down::0 82 7.938e-05 7.938e-05 7.938e-05 0.01% Castro::initialize_advance() 10 7.56e-05 7.56e-05 7.56e-05 0.01% MLMG::mgVcycle_down::4 82 7.374e-05 7.374e-05 7.374e-05 0.01% MLMG::mgVcycle_down::1 82 7.26e-05 7.26e-05 7.26e-05 0.01% MLMG::mgVcycle_down::2 82 7.134e-05 7.134e-05 7.134e-05 0.01% MLMG::solve() 11 7.114e-05 7.114e-05 7.114e-05 0.01% Castro::advance() 10 6.916e-05 6.916e-05 6.916e-05 0.01% MLMG::mgVcycle_down::3 82 6.528e-05 6.528e-05 6.528e-05 0.01% Castro::finalize_do_advance() 10 6.212e-05 6.212e-05 6.212e-05 0.01% AmrLevel::checkPoint() 3 6.167e-05 6.167e-05 6.167e-05 0.01% MLMG::oneIter() 82 5.911e-05 5.911e-05 5.911e-05 0.01% Castro::initialize_do_advance() 10 5.873e-05 5.873e-05 5.873e-05 0.01% MLMG::mgVcycle_up::4 82 5.644e-05 5.644e-05 5.644e-05 0.01% MLMG::mgVcycle_up::0 82 5.168e-05 5.168e-05 5.168e-05 0.01% MLMG::mgVcycle_up::3 82 5.136e-05 5.136e-05 5.136e-05 0.01% MLMG::mgVcycle_up::1 82 4.965e-05 4.965e-05 4.965e-05 0.01% MLMG::mgVcycle_up::2 82 4.851e-05 4.851e-05 4.851e-05 0.01% Castro::do_advance_ctu() 10 4.744e-05 4.744e-05 4.744e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.708e-05 4.708e-05 4.708e-05 0.01% MLCellLinOp::solutionResidual() 93 4.297e-05 4.297e-05 4.297e-05 0.00% FillPatchSingleLevel 41 3.632e-05 3.632e-05 3.632e-05 0.00% Amr::defBaseLevel() 1 3.473e-05 3.473e-05 3.473e-05 0.00% MLMG::mgVcycle_bottom 82 3.288e-05 3.288e-05 3.288e-05 0.00% MLMG::computeResidual() 82 3.151e-05 3.151e-05 3.151e-05 0.00% MLMG::ResNormInf() 93 2.979e-05 2.979e-05 2.979e-05 0.00% Castro::construct_new_gravity() 10 2.55e-05 2.55e-05 2.55e-05 0.00% MLPoisson::define() 11 2.245e-05 2.245e-05 2.245e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.222e-05 2.222e-05 2.222e-05 0.00% Castro::construct_old_source() 50 2.082e-05 2.082e-05 2.082e-05 0.00% Castro::do_old_sources() 10 2.064e-05 2.064e-05 2.064e-05 0.00% Amr::FinalizeInit() 1 1.978e-05 1.978e-05 1.978e-05 0.00% Castro::do_new_sources() 10 1.848e-05 1.848e-05 1.848e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.736e-05 1.736e-05 1.736e-05 0.00% Gravity::actual_multilevel_solve() 1 1.388e-05 1.388e-05 1.388e-05 0.00% MLMG::computeMLResidual() 11 1.157e-05 1.157e-05 1.157e-05 0.00% Castro::apply_source_to_state() 20 1.133e-05 1.133e-05 1.133e-05 0.00% Castro::check_for_nan() 20 1.116e-05 1.116e-05 1.116e-05 0.00% Castro::construct_old_gravity() 10 1.097e-05 1.097e-05 1.097e-05 0.00% Castro::computeNewDt() 9 7.045e-06 7.045e-06 7.045e-06 0.00% MLPoisson::prepareForSolve() 11 6.527e-06 6.527e-06 6.527e-06 0.00% Amr::InitializeInit() 1 6.22e-06 6.22e-06 6.22e-06 0.00% MLMG::getGradSolution() 11 5.998e-06 5.998e-06 5.998e-06 0.00% Castro::expand_state() 10 5.879e-06 5.879e-06 5.879e-06 0.00% Castro::post_init() 1 4.262e-06 4.262e-06 4.262e-06 0.00% Amr::init() 1 2.77e-06 2.77e-06 2.77e-06 0.00% Amr::initialInit() 1 1.178e-06 1.178e-06 1.178e-06 0.00% Other 4753 0.00329 0.00329 0.00329 0.36% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9238 0.9238 0.9238 100.00% Amr::coarseTimeStep() 10 0.7657 0.7657 0.7657 82.88% Amr::timeStep() 10 0.6668 0.6668 0.6668 72.18% Castro::advance() 10 0.6551 0.6551 0.6551 70.91% Castro::subcycle_advance_ctu() 10 0.6406 0.6406 0.6406 69.34% Castro::do_advance_ctu() 10 0.6404 0.6404 0.6404 69.32% Gravity::solve_phi_with_mlmg() 11 0.3069 0.3069 0.3069 33.22% Gravity::actual_solve_with_mlmg() 11 0.2967 0.2967 0.2967 32.12% Castro::construct_ctu_hydro_source() 10 0.2867 0.2867 0.2867 31.03% Castro::construct_new_gravity() 10 0.279 0.279 0.279 30.20% MLMG::solve() 11 0.274 0.274 0.274 29.66% Gravity::solve_for_phi() 10 0.2621 0.2621 0.2621 28.37% MLMG::oneIter() 82 0.2579 0.2579 0.2579 27.92% MLMG::mgVcycle() 82 0.2541 0.2541 0.2541 27.51% VisMF::Write(FabArray) 11 0.1906 0.1906 0.1906 20.63% Amr::checkPoint() 3 0.1448 0.1448 0.1448 15.67% AmrLevel::checkPoint() 3 0.1392 0.1392 0.1392 15.07% StateData::checkPoint() 12 0.1391 0.1391 0.1391 15.06% Amr::init() 1 0.1304 0.1304 0.1304 14.12% MLCellLinOp::smooth() 1640 0.1273 0.1273 0.1273 13.78% MLCellLinOp::applyBC() 4351 0.118 0.118 0.118 12.77% MLMG::mgVcycle_bottom 82 0.07596 0.07596 0.07596 8.22% MLMG::actualBottomSolve() 82 0.07593 0.07593 0.07593 8.22% MLCGSolver::bicgstab 82 0.07508 0.07508 0.07508 8.13% Castro::clean_state() 62 0.05882 0.05882 0.05882 6.37% Amr::writePlotFile() 2 0.054 0.054 0.054 5.85% Amr::initialInit() 1 0.05386 0.05386 0.05386 5.83% AmrLevel::FillPatch() 41 0.04995 0.04995 0.04995 5.41% Amr::FinalizeInit() 1 0.04887 0.04887 0.04887 5.29% Castro::post_init() 1 0.04745 0.04745 0.04745 5.14% FillPatchIterator::Initialize 41 0.04564 0.04564 0.04564 4.94% Gravity::multilevel_solve_for_new_phi() 1 0.04522 0.04522 0.04522 4.89% Gravity::actual_multilevel_solve() 1 0.0452 0.0452 0.0452 4.89% FillPatchIterator::FillFromLevel0() 41 0.04401 0.04401 0.04401 4.76% FillPatchSingleLevel 41 0.04396 0.04396 0.04396 4.76% StateDataPhysBCFunct::() 41 0.03982 0.03982 0.03982 4.31% MLCellLinOp::apply() 1060 0.03775 0.03775 0.03775 4.09% MLMG::mgVcycle_down::0 82 0.03632 0.03632 0.03632 3.93% MLPoisson::Fsmooth() 3280 0.03516 0.03516 0.03516 3.81% FabArray::FillBoundary() 3941 0.03456 0.03456 0.03456 3.74% FillBoundary_nowait() 3941 0.03376 0.03376 0.03376 3.65% MLMG::mgVcycle_up::0 82 0.02758 0.02758 0.02758 2.99% StateData::FillBoundary(geom) 328 0.02696 0.02696 0.02696 2.92% Castro::initialize_do_advance() 10 0.0229 0.0229 0.0229 2.48% Castro::computeTemp() 63 0.02275 0.02275 0.02275 2.46% amrex::Dot() 1114 0.02241 0.02241 0.02241 2.43% MLMG:computeResOfCorrection() 410 0.02123 0.02123 0.02123 2.30% MLCellLinOp::correctionResidual() 410 0.02112 0.02112 0.02112 2.29% FabArray::norminf() 1061 0.02083 0.02083 0.02083 2.26% Castro::normalize_species() 62 0.02019 0.02019 0.02019 2.19% Castro::do_old_sources() 10 0.01981 0.01981 0.01981 2.14% Gravity::get_new_grav_vector() 11 0.01864 0.01864 0.01864 2.02% MLPoisson::define() 11 0.01792 0.01792 0.01792 1.94% MLMG::mgVcycle_down::1 82 0.01728 0.01728 0.01728 1.87% MLMG::mgVcycle_down::2 82 0.01614 0.01614 0.01614 1.75% Castro::construct_old_gravity() 10 0.01586 0.01586 0.01586 1.72% Gravity::get_old_grav_vector() 10 0.01585 0.01585 0.01585 1.72% MLMG::mgVcycle_down::3 82 0.01569 0.01569 0.01569 1.70% MLMG::mgVcycle_down::4 82 0.0156 0.0156 0.0156 1.69% FabArray::ParallelCopy() 861 0.01514 0.01514 0.01514 1.64% FabArray::ParallelCopy_nowait() 861 0.01488 0.01488 0.01488 1.61% FabArray::setVal() 1062 0.01387 0.01387 0.01387 1.50% Castro::initialize_advance() 10 0.01383 0.01383 0.01383 1.50% FabArray::Saxpy() 1370 0.01364 0.01364 0.01364 1.48% MLCGSolver::ParallelAllReduce 1832 0.01338 0.01338 0.01338 1.45% Castro::do_new_sources() 10 0.01303 0.01303 0.01303 1.41% Castro::enforce_min_density() 62 0.01286 0.01286 0.01286 1.39% MLMG::addInterpCorrection() 410 0.01278 0.01278 0.01278 1.38% MLMG::mgVcycle_up::1 82 0.01255 0.01255 0.01255 1.36% Castro::expand_state() 10 0.0125 0.0125 0.0125 1.35% MLMG::mgVcycle_up::4 82 0.01244 0.01244 0.01244 1.35% MLMG::mgVcycle_up::2 82 0.01233 0.01233 0.01233 1.33% MLCellLinOp::defineAuxData() 11 0.01217 0.01217 0.01217 1.32% MLMG::mgVcycle_up::3 82 0.01202 0.01202 0.01202 1.30% amrex::average_down 410 0.012 0.012 0.012 1.30% Castro::post_timestep() 10 0.01153 0.01153 0.01153 1.25% amrex::Copy() 472 0.01118 0.01118 0.01118 1.21% MLPoisson::Fapply() 1060 0.0108 0.0108 0.0108 1.17% Gravity::fill_multipole_BCs() 11 0.009897 0.009897 0.009897 1.07% FabArray::Xpay() 739 0.008201 0.008201 0.008201 0.89% MLCellLinOp::solutionResidual() 93 0.008082 0.008082 0.008082 0.87% MLMG::computeResidual() 82 0.006774 0.006774 0.006774 0.73% Castro::reset_internal_energy(MultiFab) 63 0.006764 0.006764 0.006764 0.73% MLCellLinOp::defineBC() 11 0.005485 0.005485 0.005485 0.59% Castro::estTimeStep() 21 0.005422 0.005422 0.005422 0.59% MLMG::prepareForSolve() 11 0.005319 0.005319 0.005319 0.58% BndryData::define() 11 0.005219 0.005219 0.005219 0.56% Amr::InitializeInit() 1 0.004993 0.004993 0.004993 0.54% Amr::defBaseLevel() 1 0.004987 0.004987 0.004987 0.54% Castro::initData() 1 0.004319 0.004319 0.004319 0.47% amrex::Add() 82 0.00376 0.00376 0.00376 0.41% Castro::enforce_speed_limit() 62 0.003729 0.003729 0.003729 0.40% Castro::construct_new_source() 50 0.003681 0.003681 0.003681 0.40% Castro::construct_new_gravity_source() 10 0.003597 0.003597 0.003597 0.39% Castro::construct_old_source() 50 0.003153 0.003153 0.003153 0.34% Castro::construct_old_gravity_source() 10 0.003132 0.003132 0.003132 0.34% Castro::computeNewDt() 9 0.002358 0.002358 0.002358 0.26% MLMG::ResNormInf() 93 0.002287 0.002287 0.002287 0.25% Castro::finalize_do_advance() 10 0.00214 0.00214 0.00214 0.23% check_for_negative_density() 10 0.001915 0.001915 0.001915 0.21% Castro::apply_source_to_state() 20 0.001895 0.001895 0.001895 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001879 0.001879 0.001879 0.20% Castro::reset_internal_energy(Fab) 504 0.001792 0.001792 0.001792 0.19% MLCellLinOp::setLevelBC() 11 0.001644 0.001644 0.001644 0.18% MLMG::getGradSolution() 11 0.001639 0.001639 0.001639 0.18% MLCellLinOp::compGrad() 11 0.001633 0.001633 0.001633 0.18% FabArrayBase::getCPC() 1323 0.001472 0.001472 0.001472 0.16% FabArray::setDomainBndry() 41 0.001421 0.001421 0.001421 0.15% FabArray::mult() 43 0.001415 0.001415 0.001415 0.15% MLMG::computeMLResidual() 11 0.00135 0.00135 0.00135 0.15% MLPoisson::prepareForSolve() 11 0.001345 0.001345 0.001345 0.15% MLCellLinOp::prepareForSolve() 11 0.001338 0.001338 0.001338 0.14% Castro::check_for_nan() 20 0.001318 0.001318 0.001318 0.14% MultiFab::contains_nan() 20 0.001307 0.001307 0.001307 0.14% Other 4753 0.00915 0.00915 0.00915 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 6072 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 1056 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1644 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 3648 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 209 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 175 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7520 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2171 B 2048 KiB Gravity::solve_for_phi() 80 80 580 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 100 KiB 2048 KiB BndryData::define() 1056 1056 333 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 212 KiB 671 KiB Castro::estTimeStep() 21 21 2862 B 480 KiB VisMF::Write(FabArray) 656 656 3478 B 320 KiB Castro::normalize_species() 62 62 7114 B 320 KiB amrex::average_down 1067 1067 1621 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1183 B 257 KiB amrex::Dot() 1360 1360 3579 B 160 KiB FabArray::norminf() 1143 1143 3486 B 160 KiB check_for_negative_density() 10 10 326 B 160 KiB Castro::initData() 1 1 51 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 3562 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 313 B 9648 B MLCellLinOp::applyBC() 8702 8702 226 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3935 B 6144 B StateData::FillBoundary(geom) 1992 1992 46 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 375 B 1248 B MLCGSolver::bicgstab 410 410 98 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 617 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 460 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3562 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 313 B 9648 B MLCellLinOp::applyBC() 4351 4351 224 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3935 B 6144 B Gravity::get_new_grav_vector() 3 3 2894 B 3072 B StateData::FillBoundary(geom) 1992 1992 46 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 83 83 617 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 304 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 26 B 400 B FabArray::norminf() 1143 1143 10 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2109 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.06-3-g0a691f6f4804) finalized Initializing AMReX (24.06-3-g0a691f6f4804)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-3-g0a691f6f4804) initialized Starting run at 09:30:37 UTC on 2024-06-06. Successfully read inputs file ... Castro git describe: 24.06-6-gabb455088 AMReX git describe: 24.06-3-g0a691f6f4 Microphysics git describe: 24.06-5-g094a26da reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.524843417 Restart time = 0.071422771 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.070332227 [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.067731936 [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.081271791 [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.075262392 [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.0559117 [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.029490332 seconds Ending run at 09:30:38 UTC on 2024-06-06. Run time = 0.45240981 Run time without initialization = 0.380424599 Average number of zones advanced per microsecond: 3.445 Average number of zones advanced per microsecond per rank: 3.445 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4524 ... 0.4524 ... 0.4524 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1470 0.1470 0.1470 32.49% VisMF::Read() 3 0.06002 0.06002 0.06002 13.27% MLCellLinOp::applyBC() 1910 0.03734 0.03734 0.03734 8.25% VisMF::Write(FabArray) 1 0.02697 0.02697 0.02697 5.96% MLPoisson::Fsmooth() 1440 0.01566 0.01566 0.01566 3.46% FillBoundary_nowait() 1730 0.01479 0.01479 0.01479 3.27% StateData::FillBoundary(geom) 160 0.0131 0.0131 0.0131 2.90% Castro::normalize_species() 30 0.01168 0.01168 0.01168 2.58% amrex::Dot() 484 0.009748 0.009748 0.009748 2.15% FabArray::norminf() 465 0.009209 0.009209 0.009209 2.04% FabArray::setVal() 501 0.006932 0.006932 0.006932 1.53% Castro::computeTemp() 30 0.006632 0.006632 0.006632 1.47% FabArray::ParallelCopy_nowait() 380 0.006445 0.006445 0.006445 1.42% FabArray::Saxpy() 597 0.006155 0.006155 0.006155 1.36% Castro::enforce_min_density() 30 0.006103 0.006103 0.006103 1.35% MLCellLinOp::defineAuxData() 6 0.005813 0.005813 0.005813 1.28% amrex::Copy() 221 0.005647 0.005647 0.005647 1.25% Gravity::fill_multipole_BCs() 6 0.005479 0.005479 0.005479 1.21% StateDataPhysBCFunct::() 20 0.005293 0.005293 0.005293 1.17% Amr::restart() 1 0.004803 0.004803 0.004803 1.06% MLPoisson::Fapply() 464 0.004791 0.004791 0.004791 1.06% Castro::estTimeStep() 10 0.003705 0.003705 0.003705 0.82% FabArray::Xpay() 325 0.003685 0.003685 0.003685 0.81% MLMG::addInterpCorrection() 180 0.003248 0.003248 0.003248 0.72% amrex::average_down 180 0.002899 0.002899 0.002899 0.64% Castro::reset_internal_energy(MultiFab) 30 0.002684 0.002684 0.002684 0.59% Amr::writePlotFile() 1 0.002333 0.002333 0.002333 0.52% BndryData::define() 6 0.002267 0.002267 0.002267 0.50% Castro::construct_new_gravity_source() 5 0.001901 0.001901 0.001901 0.42% amrex::Add() 36 0.00167 0.00167 0.00167 0.37% Castro::construct_old_gravity_source() 5 0.001545 0.001545 0.001545 0.34% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001025 0.001025 0.001025 0.23% check_for_negative_density() 5 0.0009459 0.0009459 0.0009459 0.21% MLCellLinOp::setLevelBC() 6 0.0009143 0.0009143 0.0009143 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008472 0.0008472 0.0008472 0.19% Castro::reset_internal_energy(Fab) 240 0.0008091 0.0008091 0.0008091 0.18% MLCellLinOp::prepareForSolve() 6 0.0007784 0.0007784 0.0007784 0.17% FabArray::setDomainBndry() 20 0.0007376 0.0007376 0.0007376 0.16% MLCGSolver::bicgstab 36 0.0007365 0.0007365 0.0007365 0.16% FabArray::mult() 22 0.0007171 0.0007171 0.0007171 0.16% MLCellLinOp::compGrad() 6 0.000637 0.000637 0.000637 0.14% MLMG::prepareForSolve() 6 0.000578 0.000578 0.000578 0.13% MLCellLinOp::smooth() 720 0.0005272 0.0005272 0.0005272 0.12% Gravity::get_old_grav_vector() 5 0.0003775 0.0003775 0.0003775 0.08% FabArrayBase::getCPC() 632 0.0003663 0.0003663 0.0003663 0.08% FabArray::FillBoundary() 1730 0.000344 0.000344 0.000344 0.08% Gravity::get_new_grav_vector() 5 0.0003402 0.0003402 0.0003402 0.08% main() 1 0.0002878 0.0002878 0.0002878 0.06% AmrLevel::FillPatch() 20 0.0002093 0.0002093 0.0002093 0.05% MLCellLinOp::apply() 464 0.0001854 0.0001854 0.0001854 0.04% Amr::coarseTimeStep() 5 0.0001542 0.0001542 0.0001542 0.03% MLCellLinOp::defineBC() 6 0.0001474 0.0001474 0.0001474 0.03% MLCGSolver::ParallelAllReduce 798 0.0001369 0.0001369 0.0001369 0.03% FabArray::ParallelCopy() 380 0.0001147 0.0001147 0.0001147 0.03% Castro::advance() 5 0.0001127 0.0001127 0.0001127 0.02% Castro::construct_new_source() 25 0.0001081 0.0001081 0.0001081 0.02% Castro::subcycle_advance_ctu() 5 0.0001053 0.0001053 0.0001053 0.02% FillPatchIterator::Initialize 20 0.0001051 0.0001051 0.0001051 0.02% Castro::do_advance_ctu() 5 9.482e-05 9.482e-05 9.482e-05 0.02% MLMG::mgVcycle() 36 9.313e-05 9.313e-05 9.313e-05 0.02% Amr::timeStep() 5 8.522e-05 8.522e-05 8.522e-05 0.02% MLCellLinOp::correctionResidual() 180 7.548e-05 7.548e-05 7.548e-05 0.02% StateData::restartDoit() 4 7.243e-05 7.243e-05 7.243e-05 0.02% AmrLevel::restart() 1 7.143e-05 7.143e-05 7.143e-05 0.02% Castro::initialize_do_advance() 5 7.063e-05 7.063e-05 7.063e-05 0.02% Gravity::update_max_rhs() 6 6.811e-05 6.811e-05 6.811e-05 0.02% Castro::finalize_do_advance() 5 6.779e-05 6.779e-05 6.779e-05 0.01% MLMG:computeResOfCorrection() 180 5.176e-05 5.176e-05 5.176e-05 0.01% Castro::construct_old_source() 25 5.1e-05 5.1e-05 5.1e-05 0.01% Gravity::solve_for_phi() 5 4.909e-05 4.909e-05 4.909e-05 0.01% MLMG::actualBottomSolve() 36 3.953e-05 3.953e-05 3.953e-05 0.01% MLMG::mgVcycle_down::1 36 3.664e-05 3.664e-05 3.664e-05 0.01% Castro::initialize_advance() 5 3.584e-05 3.584e-05 3.584e-05 0.01% MLMG::mgVcycle_down::0 36 3.558e-05 3.558e-05 3.558e-05 0.01% MLMG::solve() 6 3.517e-05 3.517e-05 3.517e-05 0.01% MLMG::mgVcycle_down::2 36 3.457e-05 3.457e-05 3.457e-05 0.01% MLMG::mgVcycle_down::4 36 3.315e-05 3.315e-05 3.315e-05 0.01% Castro::clean_state() 30 3.288e-05 3.288e-05 3.288e-05 0.01% MLMG::mgVcycle_down::3 36 3.187e-05 3.187e-05 3.187e-05 0.01% Castro::post_timestep() 5 3.008e-05 3.008e-05 3.008e-05 0.01% MLMG::mgVcycle_up::4 36 2.773e-05 2.773e-05 2.773e-05 0.01% MLMG::oneIter() 36 2.616e-05 2.616e-05 2.616e-05 0.01% MLMG::mgVcycle_up::3 36 2.463e-05 2.463e-05 2.463e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.281e-05 2.281e-05 2.281e-05 0.01% MLMG::mgVcycle_up::2 36 2.199e-05 2.199e-05 2.199e-05 0.00% Castro::post_restart() 1 2.176e-05 2.176e-05 2.176e-05 0.00% MLMG::mgVcycle_up::0 36 2.162e-05 2.162e-05 2.162e-05 0.00% MLMG::mgVcycle_up::1 36 2.145e-05 2.145e-05 2.145e-05 0.00% MLCellLinOp::solutionResidual() 42 2.017e-05 2.017e-05 2.017e-05 0.00% FillPatchSingleLevel 20 1.72e-05 1.72e-05 1.72e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.65e-05 1.65e-05 1.65e-05 0.00% MLMG::ResNormInf() 42 1.56e-05 1.56e-05 1.56e-05 0.00% Gravity::actual_multilevel_solve() 1 1.513e-05 1.513e-05 1.513e-05 0.00% MLMG::mgVcycle_bottom 36 1.476e-05 1.476e-05 1.476e-05 0.00% MLMG::computeResidual() 36 1.46e-05 1.46e-05 1.46e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.281e-05 1.281e-05 1.281e-05 0.00% MLPoisson::define() 6 1.264e-05 1.264e-05 1.264e-05 0.00% Castro::construct_new_gravity() 5 1.142e-05 1.142e-05 1.142e-05 0.00% Castro::do_old_sources() 5 1.11e-05 1.11e-05 1.11e-05 0.00% Castro::do_new_sources() 5 1.027e-05 1.027e-05 1.027e-05 0.00% Castro::expand_state() 5 8.317e-06 8.317e-06 8.317e-06 0.00% Castro::check_for_nan() 10 6.074e-06 6.074e-06 6.074e-06 0.00% Castro::apply_source_to_state() 10 5.839e-06 5.839e-06 5.839e-06 0.00% Castro::construct_old_gravity() 5 5.455e-06 5.455e-06 5.455e-06 0.00% MLMG::computeMLResidual() 6 4.184e-06 4.184e-06 4.184e-06 0.00% MLPoisson::prepareForSolve() 6 3.698e-06 3.698e-06 3.698e-06 0.00% Castro::computeNewDt() 5 3.594e-06 3.594e-06 3.594e-06 0.00% MLMG::getGradSolution() 6 3.553e-06 3.553e-06 3.553e-06 0.00% Amr::init() 1 8.59e-07 8.59e-07 8.59e-07 0.00% Other 2190 0.002947 0.002947 0.002947 0.65% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4524 0.4524 0.4524 100.00% Amr::coarseTimeStep() 5 0.3507 0.3507 0.3507 77.50% Amr::timeStep() 5 0.3481 0.3481 0.3481 76.93% Castro::advance() 5 0.3425 0.3425 0.3425 75.70% Castro::subcycle_advance_ctu() 5 0.3346 0.3346 0.3346 73.94% Castro::do_advance_ctu() 5 0.3344 0.3344 0.3344 73.92% Castro::construct_ctu_hydro_source() 5 0.1526 0.1526 0.1526 33.74% Castro::construct_new_gravity() 5 0.1436 0.1436 0.1436 31.74% Gravity::solve_phi_with_mlmg() 6 0.1408 0.1408 0.1408 31.12% Gravity::solve_for_phi() 5 0.1353 0.1353 0.1353 29.91% Gravity::actual_solve_with_mlmg() 6 0.135 0.135 0.135 29.85% MLMG::solve() 6 0.1225 0.1225 0.1225 27.08% MLMG::oneIter() 36 0.1144 0.1144 0.1144 25.28% MLMG::mgVcycle() 36 0.1127 0.1127 0.1127 24.91% Amr::init() 1 0.07147 0.07147 0.07147 15.80% Amr::restart() 1 0.07147 0.07147 0.07147 15.80% AmrLevel::restart() 1 0.0604 0.0604 0.0604 13.35% StateData::restartDoit() 4 0.06032 0.06032 0.06032 13.33% VisMF::Read() 3 0.06002 0.06002 0.06002 13.27% MLCellLinOp::smooth() 720 0.05663 0.05663 0.05663 12.52% MLCellLinOp::applyBC() 1910 0.05279 0.05279 0.05279 11.67% MLMG::mgVcycle_bottom 36 0.03332 0.03332 0.03332 7.37% MLMG::actualBottomSolve() 36 0.03331 0.03331 0.03331 7.36% MLCGSolver::bicgstab 36 0.03292 0.03292 0.03292 7.28% Amr::writePlotFile() 1 0.02957 0.02957 0.02957 6.54% Castro::clean_state() 30 0.02847 0.02847 0.02847 6.29% VisMF::Write(FabArray) 1 0.02697 0.02697 0.02697 5.96% AmrLevel::FillPatch() 20 0.0235 0.0235 0.0235 5.19% FillPatchIterator::Initialize 20 0.02136 0.02136 0.02136 4.72% FillPatchIterator::FillFromLevel0() 20 0.02052 0.02052 0.02052 4.53% FillPatchSingleLevel 20 0.0205 0.0205 0.0205 4.53% StateDataPhysBCFunct::() 20 0.0184 0.0184 0.0184 4.07% MLCellLinOp::apply() 464 0.01702 0.01702 0.01702 3.76% MLMG::mgVcycle_down::0 36 0.01642 0.01642 0.01642 3.63% MLPoisson::Fsmooth() 1440 0.01566 0.01566 0.01566 3.46% FabArray::FillBoundary() 1730 0.01545 0.01545 0.01545 3.42% FillBoundary_nowait() 1730 0.01511 0.01511 0.01511 3.34% StateData::FillBoundary(geom) 160 0.0131 0.0131 0.0131 2.90% MLMG::mgVcycle_up::0 36 0.01233 0.01233 0.01233 2.72% Castro::normalize_species() 30 0.01168 0.01168 0.01168 2.58% Castro::initialize_do_advance() 5 0.0105 0.0105 0.0105 2.32% Castro::computeTemp() 30 0.01013 0.01013 0.01013 2.24% MLPoisson::define() 6 0.009795 0.009795 0.009795 2.16% amrex::Dot() 484 0.009748 0.009748 0.009748 2.15% MLMG:computeResOfCorrection() 180 0.009538 0.009538 0.009538 2.11% MLCellLinOp::correctionResidual() 180 0.009486 0.009486 0.009486 2.10% Castro::do_old_sources() 5 0.009255 0.009255 0.009255 2.05% FabArray::norminf() 465 0.009209 0.009209 0.009209 2.04% Castro::do_new_sources() 5 0.008507 0.008507 0.008507 1.88% Gravity::get_new_grav_vector() 5 0.008166 0.008166 0.008166 1.80% Castro::construct_old_gravity() 5 0.00802 0.00802 0.00802 1.77% Gravity::get_old_grav_vector() 5 0.008015 0.008015 0.008015 1.77% MLMG::mgVcycle_down::1 36 0.007806 0.007806 0.007806 1.73% Castro::initialize_advance() 5 0.007525 0.007525 0.007525 1.66% MLMG::mgVcycle_down::2 36 0.007141 0.007141 0.007141 1.58% FabArray::ParallelCopy() 380 0.006956 0.006956 0.006956 1.54% FabArray::setVal() 501 0.006932 0.006932 0.006932 1.53% MLMG::mgVcycle_down::3 36 0.006926 0.006926 0.006926 1.53% MLMG::mgVcycle_down::4 36 0.006861 0.006861 0.006861 1.52% FabArray::ParallelCopy_nowait() 380 0.006841 0.006841 0.006841 1.51% MLCellLinOp::defineAuxData() 6 0.006626 0.006626 0.006626 1.46% FabArray::Saxpy() 597 0.006155 0.006155 0.006155 1.36% Castro::enforce_min_density() 30 0.006103 0.006103 0.006103 1.35% Castro::post_restart() 1 0.006081 0.006081 0.006081 1.34% Castro::expand_state() 5 0.005921 0.005921 0.005921 1.31% MLCGSolver::ParallelAllReduce 798 0.005894 0.005894 0.005894 1.30% Gravity::multilevel_solve_for_new_phi() 1 0.005709 0.005709 0.005709 1.26% Gravity::actual_multilevel_solve() 1 0.005692 0.005692 0.005692 1.26% MLMG::addInterpCorrection() 180 0.005678 0.005678 0.005678 1.26% amrex::Copy() 221 0.005647 0.005647 0.005647 1.25% Gravity::fill_multipole_BCs() 6 0.005611 0.005611 0.005611 1.24% MLMG::mgVcycle_up::4 36 0.005542 0.005542 0.005542 1.22% MLMG::mgVcycle_up::1 36 0.005533 0.005533 0.005533 1.22% Castro::post_timestep() 5 0.005461 0.005461 0.005461 1.21% MLMG::mgVcycle_up::2 36 0.005423 0.005423 0.005423 1.20% amrex::average_down 180 0.005343 0.005343 0.005343 1.18% MLMG::mgVcycle_up::3 36 0.005306 0.005306 0.005306 1.17% MLPoisson::Fapply() 464 0.004791 0.004791 0.004791 1.06% MLCellLinOp::solutionResidual() 42 0.003848 0.003848 0.003848 0.85% Castro::estTimeStep() 10 0.003705 0.003705 0.003705 0.82% FabArray::Xpay() 325 0.003685 0.003685 0.003685 0.81% Castro::reset_internal_energy(MultiFab) 30 0.003493 0.003493 0.003493 0.77% MLCellLinOp::defineBC() 6 0.003027 0.003027 0.003027 0.67% MLMG::prepareForSolve() 6 0.003012 0.003012 0.003012 0.67% MLMG::computeResidual() 36 0.003 0.003 0.003 0.66% BndryData::define() 6 0.00288 0.00288 0.00288 0.64% Castro::computeNewDt() 5 0.002451 0.002451 0.002451 0.54% Castro::construct_new_source() 25 0.002009 0.002009 0.002009 0.44% Castro::construct_new_gravity_source() 5 0.001901 0.001901 0.001901 0.42% amrex::Add() 36 0.00167 0.00167 0.00167 0.37% Castro::construct_old_source() 25 0.001596 0.001596 0.001596 0.35% Castro::construct_old_gravity_source() 5 0.001545 0.001545 0.001545 0.34% Castro::finalize_do_advance() 5 0.001325 0.001325 0.001325 0.29% MLMG::ResNormInf() 42 0.001092 0.001092 0.001092 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001025 0.001025 0.001025 0.23% Castro::apply_source_to_state() 10 0.0009671 0.0009671 0.0009671 0.21% MLMG::getGradSolution() 6 0.0009464 0.0009464 0.0009464 0.21% check_for_negative_density() 5 0.0009459 0.0009459 0.0009459 0.21% MLCellLinOp::compGrad() 6 0.0009429 0.0009429 0.0009429 0.21% MLCellLinOp::setLevelBC() 6 0.0009143 0.0009143 0.0009143 0.20% MLMG::computeMLResidual() 6 0.0008668 0.0008668 0.0008668 0.19% Castro::reset_internal_energy(Fab) 240 0.0008091 0.0008091 0.0008091 0.18% FabArrayBase::getCPC() 632 0.0007965 0.0007965 0.0007965 0.18% MLPoisson::prepareForSolve() 6 0.0007821 0.0007821 0.0007821 0.17% MLCellLinOp::prepareForSolve() 6 0.0007784 0.0007784 0.0007784 0.17% Gravity::update_max_rhs() 6 0.0007486 0.0007486 0.0007486 0.17% FabArray::setDomainBndry() 20 0.0007376 0.0007376 0.0007376 0.16% FabArray::mult() 22 0.0007171 0.0007171 0.0007171 0.16% Castro::check_for_nan() 10 0.0006756 0.0006756 0.0006756 0.15% Other 2190 0.004213 0.004213 0.004213 0.93% -------------------------------------------------------------------------------------------- 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 58 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1021 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1759 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6476 KiB 14 MiB MLMG::prepareForSolve() 361 361 3326 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 183 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 184 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6464 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3276 B 2048 KiB Gravity::solve_for_phi() 40 40 611 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 306 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 196 KiB 671 KiB Castro::estTimeStep() 10 10 3865 B 480 KiB VisMF::Write(FabArray) 112 112 1290 B 320 KiB Castro::normalize_species() 30 30 8412 B 320 KiB amrex::average_down 469 469 1409 B 257 KiB MLMG::addInterpCorrection() 468 468 1075 B 257 KiB amrex::Dot() 592 592 3184 B 160 KiB FabArray::norminf() 501 501 3147 B 160 KiB check_for_negative_density() 5 5 336 B 160 KiB MultiFab::max() 6 6 74 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3222 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 286 B 9648 B MLCellLinOp::applyBC() 3820 3820 208 B 9344 B amrex::Copy() 56 56 5927 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 42 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 344 B 1248 B MLCGSolver::bicgstab 180 180 87 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1384 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 81 KiB 8192 KiB VisMF::Write(FabArray) 120 120 169 KiB 3584 KiB VisMF::Read() 24 24 201 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3222 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 286 B 9648 B MLCellLinOp::applyBC() 1910 1910 207 B 9328 B amrex::Copy() 56 56 5927 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2543 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B StateData::FillBoundary(geom) 960 960 42 B 2544 B MLMG::prepareForSolve() 7 7 803 B 1648 B amrex::average_down 37 37 469 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 501 501 9 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2109 [The Arena] space allocated (MB): 9037 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.06-3-g0a691f6f4804) finalized