Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-47-gc45770c9f9b2) initialized Starting run at 07:56:49 UTC on 2023-08-28. Successfully read inputs file ... Castro git describe: 23.08-7-gf1b93be75 AMReX git describe: 23.08-47-gc45770c9f Microphysics git describe: 23.08-17-g5e610453 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.051318806 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028144022 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.049628155 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.071769506 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.073925174 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.069841446 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.067398971 [STEP 5] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.049326576 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.070838877 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.074822751 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.056307273 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.065299223 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.067920211 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.049708185 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028971825 seconds Ending run at 07:56:50 UTC on 2023-08-28. Run time = 0.930758862 Run time without initialization = 0.796384102 Average number of zones advanced per microsecond: 3.292 Average number of zones advanced per microsecond per rank: 3.292 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9308 ... 0.9308 ... 0.9308 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2958 0.2958 0.2958 31.77% VisMF::Write(FabArray) 11 0.2003 0.2003 0.2003 21.52% MLCellLinOp::applyBC() 4433 0.0775 0.0775 0.0775 8.33% MLPoisson::Fsmooth() 3280 0.03285 0.03285 0.03285 3.53% FillBoundary_nowait() 4023 0.03078 0.03078 0.03078 3.31% StateData::FillBoundary(geom) 328 0.02613 0.02613 0.02613 2.81% amrex::Dot() 1114 0.02113 0.02113 0.02113 2.27% Castro::normalize_species() 62 0.019 0.019 0.019 2.04% Castro::computeTemp() 63 0.01634 0.01634 0.01634 1.76% amrex::Copy() 1029 0.01511 0.01511 0.01511 1.62% FabArray::norminf() 743 0.01463 0.01463 0.01463 1.57% FabArray::ParallelCopy_nowait() 861 0.01347 0.01347 0.01347 1.45% FabArray::setVal() 1144 0.01341 0.01341 0.01341 1.44% Castro::enforce_min_density() 62 0.01231 0.01231 0.01231 1.32% StateDataPhysBCFunct::() 41 0.0114 0.0114 0.0114 1.22% MLPoisson::Fapply() 1142 0.01054 0.01054 0.01054 1.13% MLCellLinOp::defineAuxData() 11 0.01035 0.01035 0.01035 1.11% Gravity::fill_multipole_BCs() 11 0.009309 0.009309 0.009309 1.00% FabArray::Saxpy() 813 0.008376 0.008376 0.008376 0.90% FabArray::Xpay() 821 0.00823 0.00823 0.00823 0.88% MLMG::addInterpCorrection() 410 0.006835 0.006835 0.006835 0.73% amrex::average_down 410 0.006103 0.006103 0.006103 0.66% Castro::estTimeStep() 21 0.00576 0.00576 0.00576 0.62% Castro::reset_internal_energy(MultiFab) 63 0.004965 0.004965 0.004965 0.53% Amr::checkPoint() 3 0.004733 0.004733 0.004733 0.51% FabArray::LinComb() 557 0.004629 0.004629 0.004629 0.50% amrex::Add() 164 0.004443 0.004443 0.004443 0.48% BndryData::define() 11 0.003787 0.003787 0.003787 0.41% Castro::enforce_speed_limit() 62 0.003739 0.003739 0.003739 0.40% Castro::construct_new_gravity_source() 10 0.002903 0.002903 0.002903 0.31% Castro::construct_old_gravity_source() 10 0.002298 0.002298 0.002298 0.25% MLCGSolver::bicgstab 82 0.002207 0.002207 0.002207 0.24% Amr::writePlotFile() 2 0.001967 0.001967 0.001967 0.21% check_for_negative_density() 10 0.00179 0.00179 0.00179 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001758 0.001758 0.001758 0.19% Castro::reset_internal_energy(Fab) 504 0.001669 0.001669 0.001669 0.18% Castro::initData() 1 0.001544 0.001544 0.001544 0.17% Gravity::actual_solve_with_mlmg() 11 0.001507 0.001507 0.001507 0.16% MLCellLinOp::setLevelBC() 11 0.001458 0.001458 0.001458 0.16% FabArray::mult() 43 0.001354 0.001354 0.001354 0.15% FabArray::setDomainBndry() 41 0.001326 0.001326 0.001326 0.14% MLCellLinOp::prepareForSolve() 11 0.001269 0.001269 0.001269 0.14% MultiFab::contains_nan() 20 0.001261 0.001261 0.001261 0.14% MLCellLinOp::compGrad() 11 0.001051 0.001051 0.001051 0.11% MLCellLinOp::smooth() 1640 0.001006 0.001006 0.001006 0.11% MLMG::prepareForSolve() 11 0.0009663 0.0009663 0.0009663 0.10% FabArray::FillBoundary() 4023 0.0008816 0.0008816 0.0008816 0.09% FabArrayBase::getCPC() 1323 0.0007636 0.0007636 0.0007636 0.08% FabArrayBase::CPC::define() 454 0.000705 0.000705 0.000705 0.08% FabArrayBase::getFB() 4023 0.0006364 0.0006364 0.0006364 0.07% Gravity::get_new_grav_vector() 11 0.0005925 0.0005925 0.0005925 0.06% Amr::InitAmr() 1 0.0004899 0.0004899 0.0004899 0.05% Gravity::get_old_grav_vector() 10 0.0004753 0.0004753 0.0004753 0.05% MLCellLinOp::apply() 1142 0.0004425 0.0004425 0.0004425 0.05% Amr::coarseTimeStep() 10 0.0003502 0.0003502 0.0003502 0.04% MultiFab::max() 11 0.0003369 0.0003369 0.0003369 0.04% AmrLevel::FillPatch() 41 0.0003252 0.0003252 0.0003252 0.03% main() 1 0.0002841 0.0002841 0.0002841 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002784 0.0002784 0.0002784 0.03% FabArray::ParallelCopy() 861 0.0002611 0.0002611 0.0002611 0.03% MLCellLinOp::defineBC() 11 0.0002211 0.0002211 0.0002211 0.02% MLCellLinOp::correctionResidual() 492 0.0002178 0.0002178 0.0002178 0.02% MLMG::mgVcycle() 82 0.0002134 0.0002134 0.0002134 0.02% FillPatchIterator::Initialize 41 0.0002098 0.0002098 0.0002098 0.02% Castro::subcycle_advance_ctu() 10 0.000166 0.000166 0.000166 0.02% Amr::timeStep() 10 0.0001625 0.0001625 0.0001625 0.02% Castro::create_source_corrector() 10 0.0001609 0.0001609 0.0001609 0.02% MLLinOp::defineGrids() 11 0.000156 0.000156 0.000156 0.02% Gravity::solve_for_phi() 10 0.0001516 0.0001516 0.0001516 0.02% Gravity::update_max_rhs() 11 0.0001325 0.0001325 0.0001325 0.01% MLMG:computeResOfCorrection() 410 0.0001262 0.0001262 0.0001262 0.01% StateData::checkPoint() 12 0.0001161 0.0001161 0.0001161 0.01% MLMG::actualBottomSolve() 82 0.000107 0.000107 0.000107 0.01% Castro::advance() 10 0.0001064 0.0001064 0.0001064 0.01% Castro::do_new_sources() 10 0.000105 0.000105 0.000105 0.01% Castro::Castro() 1 0.0001049 0.0001049 0.0001049 0.01% Castro::initialize_advance() 10 9.836e-05 9.836e-05 9.836e-05 0.01% FabArrayBase::FB::FB() 56 9.301e-05 9.301e-05 9.301e-05 0.01% MLMG::mgVcycle_down::0 82 8.339e-05 8.339e-05 8.339e-05 0.01% MLMG::solve() 11 8.071e-05 8.071e-05 8.071e-05 0.01% MLMG::mgVcycle_down::1 82 7.226e-05 7.226e-05 7.226e-05 0.01% Castro::enforce_consistent_e() 1 7.177e-05 7.177e-05 7.177e-05 0.01% MLMG::mgVcycle_down::2 82 7.139e-05 7.139e-05 7.139e-05 0.01% Castro::clean_state() 62 7.033e-05 7.033e-05 7.033e-05 0.01% MLMG::mgVcycle_down::4 82 6.878e-05 6.878e-05 6.878e-05 0.01% MLMG::mgVcycle_down::3 82 6.725e-05 6.725e-05 6.725e-05 0.01% AmrLevel::checkPoint() 3 6.511e-05 6.511e-05 6.511e-05 0.01% Castro::finalize_advance() 10 6.408e-05 6.408e-05 6.408e-05 0.01% Castro::initialize_do_advance() 10 6.006e-05 6.006e-05 6.006e-05 0.01% MLMG::mgVcycle_up::4 82 5.901e-05 5.901e-05 5.901e-05 0.01% MLMG::oneIter() 82 5.236e-05 5.236e-05 5.236e-05 0.01% MLMG::mgVcycle_up::0 82 5.196e-05 5.196e-05 5.196e-05 0.01% MLCellLinOp::solutionResidual() 93 5.058e-05 5.058e-05 5.058e-05 0.01% MLMG::mgVcycle_up::3 82 4.973e-05 4.973e-05 4.973e-05 0.01% MLMG::mgVcycle_up::1 82 4.9e-05 4.9e-05 4.9e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.828e-05 4.828e-05 4.828e-05 0.01% Castro::do_advance_ctu() 10 4.761e-05 4.761e-05 4.761e-05 0.01% MLMG::mgVcycle_up::2 82 4.739e-05 4.739e-05 4.739e-05 0.01% Castro::finalize_do_advance() 10 4.396e-05 4.396e-05 4.396e-05 0.00% Castro::construct_new_source() 50 4.148e-05 4.148e-05 4.148e-05 0.00% StateData::define() 4 3.982e-05 3.982e-05 3.982e-05 0.00% Castro::swap_state_time_levels() 10 3.525e-05 3.525e-05 3.525e-05 0.00% MLMG::computeResidual() 82 3.422e-05 3.422e-05 3.422e-05 0.00% FillPatchSingleLevel 41 3.369e-05 3.369e-05 3.369e-05 0.00% MLMG::mgVcycle_bottom 82 3.207e-05 3.207e-05 3.207e-05 0.00% MLMG::ResNormInf() 93 3.13e-05 3.13e-05 3.13e-05 0.00% Castro::initMFs() 1 2.821e-05 2.821e-05 2.821e-05 0.00% Castro::buildMetrics() 1 2.797e-05 2.797e-05 2.797e-05 0.00% Amr::writeSmallPlotFile() 1 2.758e-05 2.758e-05 2.758e-05 0.00% MLPoisson::define() 11 2.583e-05 2.583e-05 2.583e-05 0.00% Amr::defBaseLevel() 1 2.561e-05 2.561e-05 2.561e-05 0.00% AmrLevel::AmrLevel(dm) 1 2.483e-05 2.483e-05 2.483e-05 0.00% makeSFC 55 2.467e-05 2.467e-05 2.467e-05 0.00% Castro::construct_new_gravity() 10 2.38e-05 2.38e-05 2.38e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.35e-05 2.35e-05 2.35e-05 0.00% Castro::do_old_sources() 10 2.186e-05 2.186e-05 2.186e-05 0.00% Amr::FinalizeInit() 1 1.935e-05 1.935e-05 1.935e-05 0.00% Castro::construct_old_source() 50 1.828e-05 1.828e-05 1.828e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.81e-05 1.81e-05 1.81e-05 0.00% DistributionMapping::Distribute() 56 1.677e-05 1.677e-05 1.677e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.518e-05 1.518e-05 1.518e-05 0.00% MLLinOp::define() 11 1.471e-05 1.471e-05 1.471e-05 0.00% Castro::check_for_nan() 20 1.308e-05 1.308e-05 1.308e-05 0.00% Castro::construct_old_gravity() 10 1.171e-05 1.171e-05 1.171e-05 0.00% Castro::apply_source_to_state() 20 1.163e-05 1.163e-05 1.163e-05 0.00% Amr::initSubcycle() 1 9.966e-06 9.966e-06 9.966e-06 0.00% Castro::post_init() 1 9.432e-06 9.432e-06 9.432e-06 0.00% Gravity::swapTimeLevels() 10 8.781e-06 8.781e-06 8.781e-06 0.00% Castro::post_timestep() 10 8.322e-06 8.322e-06 8.322e-06 0.00% Gravity::actual_multilevel_solve() 1 8.01e-06 8.01e-06 8.01e-06 0.00% MLMG::computeMLResidual() 11 7.994e-06 7.994e-06 7.994e-06 0.00% MLPoisson::prepareForSolve() 11 7.628e-06 7.628e-06 7.628e-06 0.00% Castro::computeNewDt() 9 7.325e-06 7.325e-06 7.325e-06 0.00% Amr::init() 1 5.797e-06 5.797e-06 5.797e-06 0.00% Castro::expand_state() 10 5.745e-06 5.745e-06 5.745e-06 0.00% MLMG::getGradSolution() 11 5.706e-06 5.706e-06 5.706e-06 0.00% Amr::InitializeInit() 1 4.665e-06 4.665e-06 4.665e-06 0.00% AmrLevel::checkPointPost() 3 4.527e-06 4.527e-06 4.527e-06 0.00% MLMG::MLRhsNormInf() 11 4.299e-06 4.299e-06 4.299e-06 0.00% Castro::retry_advance_ctu() 10 4.205e-06 4.205e-06 4.205e-06 0.00% Castro::computeInitialDt() 2 3.656e-06 3.656e-06 3.656e-06 0.00% MLMG::MLResNormInf() 11 3.523e-06 3.523e-06 3.523e-06 0.00% Gravity::set_mass_offset() 11 3.493e-06 3.493e-06 3.493e-06 0.00% Castro::FluxRegCrseInit 10 2.796e-06 2.796e-06 2.796e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.674e-06 2.674e-06 2.674e-06 0.00% Castro::FluxRegFineAdd() 10 2.329e-06 2.329e-06 2.329e-06 0.00% AmrLevel::checkPointPre() 3 2.234e-06 2.234e-06 2.234e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.99e-06 1.99e-06 1.99e-06 0.00% Castro::post_regrid() 1 1.346e-06 1.346e-06 1.346e-06 0.00% Amr::initialInit() 1 1.113e-06 1.113e-06 1.113e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9308 0.9308 0.9308 100.00% Amr::coarseTimeStep() 10 0.7672 0.7672 0.7672 82.42% Amr::timeStep() 10 0.6643 0.6643 0.6643 71.37% Castro::advance() 10 0.6533 0.6533 0.6533 70.19% Castro::subcycle_advance_ctu() 10 0.6384 0.6384 0.6384 68.59% Castro::do_advance_ctu() 10 0.6382 0.6382 0.6382 68.57% Castro::construct_ctu_hydro_source() 10 0.3062 0.3062 0.3062 32.90% Gravity::solve_phi_with_mlmg() 11 0.2903 0.2903 0.2903 31.19% Gravity::actual_solve_with_mlmg() 11 0.2805 0.2805 0.2805 30.14% Castro::construct_new_gravity() 10 0.2614 0.2614 0.2614 28.08% MLMG::solve() 11 0.259 0.259 0.259 27.82% Gravity::solve_for_phi() 10 0.2456 0.2456 0.2456 26.39% MLMG::oneIter() 82 0.244 0.244 0.244 26.21% MLMG::mgVcycle() 82 0.2403 0.2403 0.2403 25.82% VisMF::Write(FabArray) 11 0.2003 0.2003 0.2003 21.52% Amr::checkPoint() 3 0.1505 0.1505 0.1505 16.17% AmrLevel::checkPoint() 3 0.1457 0.1457 0.1457 15.66% StateData::checkPoint() 12 0.1457 0.1457 0.1457 15.65% Amr::init() 1 0.1337 0.1337 0.1337 14.37% MLCellLinOp::smooth() 1640 0.1175 0.1175 0.1175 12.62% MLCellLinOp::applyBC() 4433 0.1099 0.1099 0.1099 11.81% MLMG::mgVcycle_bottom 82 0.07525 0.07525 0.07525 8.08% MLMG::actualBottomSolve() 82 0.07522 0.07522 0.07522 8.08% MLCGSolver::bicgstab 82 0.07449 0.07449 0.07449 8.00% Amr::writePlotFile() 2 0.05725 0.05725 0.05725 6.15% Castro::clean_state() 62 0.05714 0.05714 0.05714 6.14% Amr::initialInit() 1 0.05415 0.05415 0.05415 5.82% Amr::FinalizeInit() 1 0.04906 0.04906 0.04906 5.27% Castro::post_init() 1 0.04757 0.04757 0.04757 5.11% AmrLevel::FillPatch() 41 0.04735 0.04735 0.04735 5.09% Gravity::multilevel_solve_for_new_phi() 1 0.04512 0.04512 0.04512 4.85% Gravity::actual_multilevel_solve() 1 0.0451 0.0451 0.0451 4.85% FillPatchIterator::Initialize 41 0.04317 0.04317 0.04317 4.64% FillPatchIterator::FillFromLevel0() 41 0.04163 0.04163 0.04163 4.47% FillPatchSingleLevel 41 0.04158 0.04158 0.04158 4.47% StateDataPhysBCFunct::() 41 0.03753 0.03753 0.03753 4.03% MLCellLinOp::apply() 1142 0.03675 0.03675 0.03675 3.95% MLMG::mgVcycle_down::0 82 0.0339 0.0339 0.0339 3.64% MLPoisson::Fsmooth() 3280 0.03285 0.03285 0.03285 3.53% FabArray::FillBoundary() 4023 0.03239 0.03239 0.03239 3.48% FillBoundary_nowait() 4023 0.03151 0.03151 0.03151 3.38% StateData::FillBoundary(geom) 328 0.02613 0.02613 0.02613 2.81% MLMG::mgVcycle_up::0 82 0.0254 0.0254 0.0254 2.73% Castro::computeTemp() 63 0.02297 0.02297 0.02297 2.47% MLCellLinOp::correctionResidual() 492 0.02237 0.02237 0.02237 2.40% Castro::initialize_do_advance() 10 0.02175 0.02175 0.02175 2.34% amrex::Dot() 1114 0.02113 0.02113 0.02113 2.27% MLMG:computeResOfCorrection() 410 0.01967 0.01967 0.01967 2.11% Castro::normalize_species() 62 0.019 0.019 0.019 2.04% Castro::do_old_sources() 10 0.01838 0.01838 0.01838 1.97% Gravity::get_new_grav_vector() 11 0.01779 0.01779 0.01779 1.91% MLPoisson::define() 11 0.01705 0.01705 0.01705 1.83% MLMG::mgVcycle_down::1 82 0.01608 0.01608 0.01608 1.73% amrex::Copy() 1029 0.01511 0.01511 0.01511 1.62% Castro::construct_old_gravity() 10 0.0151 0.0151 0.0151 1.62% Gravity::get_old_grav_vector() 10 0.01509 0.01509 0.01509 1.62% MLMG::mgVcycle_down::2 82 0.01488 0.01488 0.01488 1.60% FabArray::norminf() 743 0.01463 0.01463 0.01463 1.57% MLMG::mgVcycle_down::3 82 0.01456 0.01456 0.01456 1.56% FabArray::ParallelCopy() 861 0.01452 0.01452 0.01452 1.56% MLMG::mgVcycle_down::4 82 0.01433 0.01433 0.01433 1.54% FabArray::ParallelCopy_nowait() 861 0.01426 0.01426 0.01426 1.53% Castro::initialize_advance() 10 0.01425 0.01425 0.01425 1.53% FabArray::setVal() 1144 0.01341 0.01341 0.01341 1.44% MLCGSolver::ParallelAllReduce 1514 0.01267 0.01267 0.01267 1.36% Castro::enforce_min_density() 62 0.01231 0.01231 0.01231 1.32% Castro::do_new_sources() 10 0.0123 0.0123 0.0123 1.32% MLMG::addInterpCorrection() 410 0.01204 0.01204 0.01204 1.29% MLCellLinOp::defineAuxData() 11 0.01178 0.01178 0.01178 1.27% Castro::expand_state() 10 0.01163 0.01163 0.01163 1.25% MLMG::mgVcycle_up::1 82 0.01159 0.01159 0.01159 1.24% MLMG::mgVcycle_up::4 82 0.01157 0.01157 0.01157 1.24% amrex::average_down 410 0.0114 0.0114 0.0114 1.22% MLMG::mgVcycle_up::2 82 0.01133 0.01133 0.01133 1.22% MLMG::mgVcycle_up::3 82 0.01123 0.01123 0.01123 1.21% Castro::post_timestep() 10 0.01082 0.01082 0.01082 1.16% MLPoisson::Fapply() 1142 0.01054 0.01054 0.01054 1.13% Gravity::fill_multipole_BCs() 11 0.009537 0.009537 0.009537 1.02% FabArray::Saxpy() 813 0.008376 0.008376 0.008376 0.90% FabArray::Xpay() 821 0.00823 0.00823 0.00823 0.88% MLCellLinOp::solutionResidual() 93 0.007489 0.007489 0.007489 0.80% Castro::reset_internal_energy(MultiFab) 63 0.006634 0.006634 0.006634 0.71% MLMG::computeResidual() 82 0.00624 0.00624 0.00624 0.67% Castro::estTimeStep() 21 0.00576 0.00576 0.00576 0.62% Amr::InitializeInit() 1 0.005098 0.005098 0.005098 0.55% Amr::defBaseLevel() 1 0.005093 0.005093 0.005093 0.55% MLCellLinOp::defineBC() 11 0.005009 0.005009 0.005009 0.54% MLMG::prepareForSolve() 11 0.004967 0.004967 0.004967 0.53% BndryData::define() 11 0.004788 0.004788 0.004788 0.51% FabArray::LinComb() 557 0.004629 0.004629 0.004629 0.50% amrex::Add() 164 0.004443 0.004443 0.004443 0.48% Castro::initData() 1 0.004422 0.004422 0.004422 0.48% Castro::enforce_speed_limit() 62 0.003739 0.003739 0.003739 0.40% Castro::construct_new_source() 50 0.002945 0.002945 0.002945 0.32% Castro::construct_new_gravity_source() 10 0.002903 0.002903 0.002903 0.31% Castro::computeNewDt() 9 0.002626 0.002626 0.002626 0.28% Castro::construct_old_source() 50 0.002316 0.002316 0.002316 0.25% Castro::construct_old_gravity_source() 10 0.002298 0.002298 0.002298 0.25% MLMG::ResNormInf() 93 0.002163 0.002163 0.002163 0.23% Castro::finalize_do_advance() 10 0.002116 0.002116 0.002116 0.23% Castro::apply_source_to_state() 20 0.001861 0.001861 0.001861 0.20% check_for_negative_density() 10 0.00179 0.00179 0.00179 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001758 0.001758 0.001758 0.19% Castro::reset_internal_energy(Fab) 504 0.001669 0.001669 0.001669 0.18% MLMG::getGradSolution() 11 0.001543 0.001543 0.001543 0.17% MLCellLinOp::compGrad() 11 0.001538 0.001538 0.001538 0.17% FabArrayBase::getCPC() 1323 0.001469 0.001469 0.001469 0.16% MLCellLinOp::setLevelBC() 11 0.001458 0.001458 0.001458 0.16% FabArray::mult() 43 0.001354 0.001354 0.001354 0.15% FabArray::setDomainBndry() 41 0.001326 0.001326 0.001326 0.14% MLMG::computeMLResidual() 11 0.001291 0.001291 0.001291 0.14% MLPoisson::prepareForSolve() 11 0.001277 0.001277 0.001277 0.14% Castro::check_for_nan() 20 0.001274 0.001274 0.001274 0.14% MLCellLinOp::prepareForSolve() 11 0.001269 0.001269 0.001269 0.14% MultiFab::contains_nan() 20 0.001261 0.001261 0.001261 0.14% Castro::post_regrid() 1 0.001188 0.001188 0.001188 0.13% Castro::computeInitialDt() 2 0.001072 0.001072 0.001072 0.12% Gravity::update_max_rhs() 11 0.001014 0.001014 0.001014 0.11% FabArrayBase::getFB() 4023 0.0007294 0.0007294 0.0007294 0.08% FabArrayBase::CPC::define() 454 0.000705 0.000705 0.000705 0.08% Castro::finalize_advance() 10 0.0005961 0.0005961 0.0005961 0.06% Castro::Castro() 1 0.0005766 0.0005766 0.0005766 0.06% Amr::InitAmr() 1 0.0004998 0.0004998 0.0004998 0.05% Gravity::swapTimeLevels() 10 0.0004453 0.0004453 0.0004453 0.05% MultiFab::max() 11 0.0003369 0.0003369 0.0003369 0.04% MLMG::MLResNormInf() 11 0.0003294 0.0003294 0.0003294 0.04% Castro::buildMetrics() 1 0.0002729 0.0002729 0.0002729 0.03% MLLinOp::define() 11 0.0002281 0.0002281 0.0002281 0.02% MLMG::MLRhsNormInf() 11 0.000223 0.000223 0.000223 0.02% MLLinOp::defineGrids() 11 0.0002134 0.0002134 0.0002134 0.02% Castro::create_source_corrector() 10 0.0001609 0.0001609 0.0001609 0.02% FabArrayBase::FB::FB() 56 9.301e-05 9.301e-05 9.301e-05 0.01% Castro::enforce_consistent_e() 1 7.177e-05 7.177e-05 7.177e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.465e-05 6.465e-05 6.465e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.535e-05 5.535e-05 5.535e-05 0.01% makeSFC 55 4.017e-05 4.017e-05 4.017e-05 0.00% StateData::define() 4 3.982e-05 3.982e-05 3.982e-05 0.00% Castro::swap_state_time_levels() 10 3.525e-05 3.525e-05 3.525e-05 0.00% Castro::initMFs() 1 2.821e-05 2.821e-05 2.821e-05 0.00% Amr::writeSmallPlotFile() 1 2.758e-05 2.758e-05 2.758e-05 0.00% DistributionMapping::Distribute() 56 1.677e-05 1.677e-05 1.677e-05 0.00% Amr::initSubcycle() 1 9.966e-06 9.966e-06 9.966e-06 0.00% AmrLevel::checkPointPost() 3 4.527e-06 4.527e-06 4.527e-06 0.00% Castro::retry_advance_ctu() 10 4.205e-06 4.205e-06 4.205e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.936e-06 3.936e-06 3.936e-06 0.00% Gravity::set_mass_offset() 11 3.493e-06 3.493e-06 3.493e-06 0.00% Castro::FluxRegCrseInit 10 2.796e-06 2.796e-06 2.796e-06 0.00% Castro::FluxRegFineAdd() 10 2.329e-06 2.329e-06 2.329e-06 0.00% AmrLevel::checkPointPre() 3 2.234e-06 2.234e-06 2.234e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.99e-06 1.99e-06 1.99e-06 0.00% -------------------------------------------------------------------------------------------- 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 91 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 148 MiB 692 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 988 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1732 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 3422 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 198 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 166 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7518 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2102 B 2048 KiB Gravity::solve_for_phi() 80 80 539 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 99 KiB 2048 KiB BndryData::define() 1056 1056 312 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 199 KiB 671 KiB Castro::estTimeStep() 21 21 3017 B 480 KiB VisMF::Write(FabArray) 656 656 3303 B 320 KiB Castro::normalize_species() 62 62 6648 B 320 KiB amrex::average_down 1067 1067 1232 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1105 B 257 KiB amrex::Dot() 1360 1360 3341 B 160 KiB FabArray::norminf() 907 907 2326 B 160 KiB check_for_negative_density() 10 10 303 B 160 KiB Castro::initData() 1 1 51 B 160 KiB MultiFab::max() 11 11 56 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3341 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 288 B 9648 B MLCellLinOp::applyBC() 8866 8866 215 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3914 B 6144 B StateData::FillBoundary(geom) 1992 1992 40 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 116 B 1472 B MLCellLinOp::defineBC() 66 66 352 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 529 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 488 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3341 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 288 B 9648 B MLCellLinOp::applyBC() 4433 4433 213 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3914 B 6144 B Gravity::get_new_grav_vector() 3 3 2895 B 3072 B StateData::FillBoundary(geom) 1992 1992 41 B 3024 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 285 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 B 400 B FabArray::norminf() 907 907 17 B 272 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): 12056 Free GPU global memory (MB): 2528 [The Arena] space allocated (MB): 9042 [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 (23.08-47-gc45770c9f9b2) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-47-gc45770c9f9b2) initialized Starting run at 07:56:51 UTC on 2023-08-28. Successfully read inputs file ... Castro git describe: 23.08-7-gf1b93be75 AMReX git describe: 23.08-47-gc45770c9f Microphysics git describe: 23.08-17-g5e610453 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.516307926 Restart time = 0.051159862 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.053175747 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.049398441 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.074802335 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.080439584 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.068686418 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.029002925 seconds Ending run at 07:56:51 UTC on 2023-08-28. Run time = 0.407729505 Run time without initialization = 0.355947297 Average number of zones advanced per microsecond: 3.682 Average number of zones advanced per microsecond per rank: 3.682 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4078 ... 0.4078 ... 0.4078 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1382 0.1382 0.1382 33.89% VisMF::Read() 3 0.03928 0.03928 0.03928 9.63% MLCellLinOp::applyBC() 1946 0.03379 0.03379 0.03379 8.29% VisMF::Write(FabArray) 1 0.02765 0.02765 0.02765 6.78% MLPoisson::Fsmooth() 1440 0.0143 0.0143 0.0143 3.51% StateData::FillBoundary(geom) 160 0.01293 0.01293 0.01293 3.17% FillBoundary_nowait() 1766 0.0129 0.0129 0.0129 3.16% Castro::normalize_species() 30 0.01014 0.01014 0.01014 2.49% amrex::Dot() 484 0.009044 0.009044 0.009044 2.22% amrex::Copy() 463 0.007259 0.007259 0.007259 1.78% FabArray::setVal() 537 0.006582 0.006582 0.006582 1.61% FabArray::norminf() 326 0.006433 0.006433 0.006433 1.58% Castro::computeTemp() 30 0.006266 0.006266 0.006266 1.54% FabArray::ParallelCopy_nowait() 380 0.006125 0.006125 0.006125 1.50% Castro::enforce_min_density() 30 0.005949 0.005949 0.005949 1.46% Gravity::fill_multipole_BCs() 6 0.005638 0.005638 0.005638 1.38% MLCellLinOp::defineAuxData() 6 0.00559 0.00559 0.00559 1.37% Amr::restart() 1 0.00495 0.00495 0.00495 1.21% StateDataPhysBCFunct::() 20 0.004836 0.004836 0.004836 1.19% MLPoisson::Fapply() 500 0.004584 0.004584 0.004584 1.12% FabArray::Saxpy() 355 0.003775 0.003775 0.003775 0.93% FabArray::Xpay() 361 0.003623 0.003623 0.003623 0.89% MLMG::addInterpCorrection() 180 0.003085 0.003085 0.003085 0.76% amrex::average_down 180 0.002711 0.002711 0.002711 0.66% Castro::estTimeStep() 10 0.002685 0.002685 0.002685 0.66% FabArray::LinComb() 242 0.002315 0.002315 0.002315 0.57% BndryData::define() 6 0.00214 0.00214 0.00214 0.52% Castro::reset_internal_energy(MultiFab) 30 0.001967 0.001967 0.001967 0.48% amrex::Add() 72 0.001905 0.001905 0.001905 0.47% Castro::construct_new_gravity_source() 5 0.001684 0.001684 0.001684 0.41% Castro::construct_old_gravity_source() 5 0.001435 0.001435 0.001435 0.35% Amr::writePlotFile() 1 0.001199 0.001199 0.001199 0.29% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009703 0.0009703 0.0009703 0.24% MLCGSolver::bicgstab 36 0.0009686 0.0009686 0.0009686 0.24% check_for_negative_density() 5 0.0009402 0.0009402 0.0009402 0.23% Gravity::actual_solve_with_mlmg() 6 0.0008317 0.0008317 0.0008317 0.20% MLCellLinOp::setLevelBC() 6 0.0008264 0.0008264 0.0008264 0.20% Castro::reset_internal_energy(Fab) 240 0.0008218 0.0008218 0.0008218 0.20% Castro::enforce_speed_limit() 30 0.0007403 0.0007403 0.0007403 0.18% MLCellLinOp::prepareForSolve() 6 0.000732 0.000732 0.000732 0.18% FabArray::setDomainBndry() 20 0.0006978 0.0006978 0.0006978 0.17% FabArray::mult() 22 0.000688 0.000688 0.000688 0.17% MultiFab::contains_nan() 10 0.0006529 0.0006529 0.0006529 0.16% MLCellLinOp::compGrad() 6 0.000588 0.000588 0.000588 0.14% MLMG::prepareForSolve() 6 0.0005469 0.0005469 0.0005469 0.13% MLCellLinOp::smooth() 720 0.00046 0.00046 0.00046 0.11% Amr::InitAmr() 1 0.0004461 0.0004461 0.0004461 0.11% FabArrayBase::CPC::define() 244 0.0004405 0.0004405 0.0004405 0.11% FabArrayBase::getCPC() 632 0.0003999 0.0003999 0.0003999 0.10% FabArray::FillBoundary() 1766 0.0003635 0.0003635 0.0003635 0.09% Gravity::get_old_grav_vector() 5 0.0003217 0.0003217 0.0003217 0.08% main() 1 0.000287 0.000287 0.000287 0.07% FabArrayBase::getFB() 1766 0.0002733 0.0002733 0.0002733 0.07% Gravity::get_new_grav_vector() 5 0.0002623 0.0002623 0.0002623 0.06% MultiFab::max() 6 0.0002107 0.0002107 0.0002107 0.05% MLCellLinOp::apply() 500 0.0001981 0.0001981 0.0001981 0.05% Amr::coarseTimeStep() 5 0.000176 0.000176 0.000176 0.04% AmrLevel::FillPatch() 20 0.000167 0.000167 0.000167 0.04% MLCellLinOp::defineBC() 6 0.0001279 0.0001279 0.0001279 0.03% MLCGSolver::ParallelAllReduce 659 0.0001255 0.0001255 0.0001255 0.03% Castro::subcycle_advance_ctu() 5 0.0001241 0.0001241 0.0001241 0.03% FabArray::ParallelCopy() 380 0.0001123 0.0001123 0.0001123 0.03% FillPatchIterator::Initialize 20 0.0001117 0.0001117 0.0001117 0.03% Castro::create_source_corrector() 5 9.682e-05 9.682e-05 9.682e-05 0.02% MLCellLinOp::correctionResidual() 216 9.523e-05 9.523e-05 9.523e-05 0.02% MLLinOp::defineGrids() 6 9.264e-05 9.264e-05 9.264e-05 0.02% MLMG::mgVcycle() 36 9.185e-05 9.185e-05 9.185e-05 0.02% AmrLevel::restart() 1 7.918e-05 7.918e-05 7.918e-05 0.02% Amr::timeStep() 5 7.917e-05 7.917e-05 7.917e-05 0.02% Castro::advance() 5 7.596e-05 7.596e-05 7.596e-05 0.02% Gravity::solve_for_phi() 5 7.321e-05 7.321e-05 7.321e-05 0.02% StateData::restartDoit() 4 6.665e-05 6.665e-05 6.665e-05 0.02% Gravity::update_max_rhs() 6 6.525e-05 6.525e-05 6.525e-05 0.02% Castro::do_advance_ctu() 5 6.405e-05 6.405e-05 6.405e-05 0.02% Castro::initialize_do_advance() 5 6.295e-05 6.295e-05 6.295e-05 0.02% FabArrayBase::FB::FB() 26 6.039e-05 6.039e-05 6.039e-05 0.01% Castro::construct_new_source() 25 6.016e-05 6.016e-05 6.016e-05 0.01% Castro::finalize_do_advance() 5 5.95e-05 5.95e-05 5.95e-05 0.01% MLMG:computeResOfCorrection() 180 5.409e-05 5.409e-05 5.409e-05 0.01% MLMG::actualBottomSolve() 36 4.681e-05 4.681e-05 4.681e-05 0.01% MLMG::mgVcycle_down::0 36 3.843e-05 3.843e-05 3.843e-05 0.01% Castro::initialize_advance() 5 3.734e-05 3.734e-05 3.734e-05 0.01% MLMG::solve() 6 3.703e-05 3.703e-05 3.703e-05 0.01% Castro::do_new_sources() 5 3.402e-05 3.402e-05 3.402e-05 0.01% MLMG::mgVcycle_down::1 36 3.365e-05 3.365e-05 3.365e-05 0.01% Castro::clean_state() 30 3.257e-05 3.257e-05 3.257e-05 0.01% MLMG::mgVcycle_down::2 36 3.123e-05 3.123e-05 3.123e-05 0.01% Castro::finalize_advance() 5 3.023e-05 3.023e-05 3.023e-05 0.01% MLMG::mgVcycle_down::4 36 3.007e-05 3.007e-05 3.007e-05 0.01% Amr::writeSmallPlotFile() 1 2.976e-05 2.976e-05 2.976e-05 0.01% MLMG::mgVcycle_down::3 36 2.937e-05 2.937e-05 2.937e-05 0.01% Castro::post_restart() 1 2.937e-05 2.937e-05 2.937e-05 0.01% MLMG::mgVcycle_up::4 36 2.823e-05 2.823e-05 2.823e-05 0.01% Castro::construct_old_source() 25 2.782e-05 2.782e-05 2.782e-05 0.01% Castro::buildMetrics() 1 2.757e-05 2.757e-05 2.757e-05 0.01% Castro::initMFs() 1 2.596e-05 2.596e-05 2.596e-05 0.01% Castro::swap_state_time_levels() 5 2.499e-05 2.499e-05 2.499e-05 0.01% MLMG::oneIter() 36 2.378e-05 2.378e-05 2.378e-05 0.01% MLMG::mgVcycle_up::0 36 2.357e-05 2.357e-05 2.357e-05 0.01% MLCellLinOp::solutionResidual() 42 2.276e-05 2.276e-05 2.276e-05 0.01% MLMG::mgVcycle_up::3 36 2.249e-05 2.249e-05 2.249e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.248e-05 2.248e-05 2.248e-05 0.01% MLMG::mgVcycle_up::2 36 2.203e-05 2.203e-05 2.203e-05 0.01% MLMG::mgVcycle_up::1 36 2.154e-05 2.154e-05 2.154e-05 0.01% Gravity::multilevel_solve_for_new_phi() 1 1.752e-05 1.752e-05 1.752e-05 0.00% MLMG::ResNormInf() 42 1.693e-05 1.693e-05 1.693e-05 0.00% FillPatchSingleLevel 20 1.61e-05 1.61e-05 1.61e-05 0.00% MLMG::mgVcycle_bottom 36 1.541e-05 1.541e-05 1.541e-05 0.00% MLMG::computeResidual() 36 1.49e-05 1.49e-05 1.49e-05 0.00% MLPoisson::define() 6 1.461e-05 1.461e-05 1.461e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.43e-05 1.43e-05 1.43e-05 0.00% makeSFC 30 1.322e-05 1.322e-05 1.322e-05 0.00% Castro::construct_new_gravity() 5 1.297e-05 1.297e-05 1.297e-05 0.00% Amr::initSubcycle() 1 1.281e-05 1.281e-05 1.281e-05 0.00% Castro::do_old_sources() 5 1.121e-05 1.121e-05 1.121e-05 0.00% DistributionMapping::Distribute() 31 1.001e-05 1.001e-05 1.001e-05 0.00% MLLinOp::define() 6 9.748e-06 9.748e-06 9.748e-06 0.00% MLMG::getGradSolution() 6 9.192e-06 9.192e-06 9.192e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 8.883e-06 8.883e-06 8.883e-06 0.00% Gravity::actual_multilevel_solve() 1 8.779e-06 8.779e-06 8.779e-06 0.00% Castro::check_for_nan() 10 7.766e-06 7.766e-06 7.766e-06 0.00% Castro::construct_old_gravity() 5 6.626e-06 6.626e-06 6.626e-06 0.00% Castro::apply_source_to_state() 10 5.771e-06 5.771e-06 5.771e-06 0.00% Castro::post_timestep() 5 5.137e-06 5.137e-06 5.137e-06 0.00% Gravity::swapTimeLevels() 5 4.56e-06 4.56e-06 4.56e-06 0.00% Castro::computeNewDt() 5 4.2e-06 4.2e-06 4.2e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.129e-06 4.129e-06 4.129e-06 0.00% MLPoisson::prepareForSolve() 6 4.074e-06 4.074e-06 4.074e-06 0.00% MLMG::computeMLResidual() 6 4.071e-06 4.071e-06 4.071e-06 0.00% Castro::expand_state() 5 3.242e-06 3.242e-06 3.242e-06 0.00% MLMG::MLResNormInf() 6 2.511e-06 2.511e-06 2.511e-06 0.00% Castro::retry_advance_ctu() 5 2.352e-06 2.352e-06 2.352e-06 0.00% MLMG::MLRhsNormInf() 6 2.255e-06 2.255e-06 2.255e-06 0.00% Gravity::set_mass_offset() 6 2.017e-06 2.017e-06 2.017e-06 0.00% Castro::FluxRegCrseInit 5 1.435e-06 1.435e-06 1.435e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.25e-06 1.25e-06 1.25e-06 0.00% Castro::FluxRegFineAdd() 5 1.202e-06 1.202e-06 1.202e-06 0.00% Amr::init() 1 9.6e-07 9.6e-07 9.6e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4078 0.4078 0.4078 100.00% Amr::coarseTimeStep() 5 0.3267 0.3267 0.3267 80.11% Amr::timeStep() 5 0.3248 0.3248 0.3248 79.65% Castro::advance() 5 0.3198 0.3198 0.3198 78.43% Castro::subcycle_advance_ctu() 5 0.3117 0.3117 0.3117 76.45% Castro::do_advance_ctu() 5 0.3116 0.3116 0.3116 76.42% Castro::construct_ctu_hydro_source() 5 0.1436 0.1436 0.1436 35.21% Castro::construct_new_gravity() 5 0.1333 0.1333 0.1333 32.69% Gravity::solve_phi_with_mlmg() 6 0.1311 0.1311 0.1311 32.15% Gravity::solve_for_phi() 5 0.1253 0.1253 0.1253 30.73% Gravity::actual_solve_with_mlmg() 6 0.1252 0.1252 0.1252 30.70% MLMG::solve() 6 0.1133 0.1133 0.1133 27.78% MLMG::oneIter() 36 0.1058 0.1058 0.1058 25.95% MLMG::mgVcycle() 36 0.1043 0.1043 0.1043 25.57% Amr::init() 1 0.05121 0.05121 0.05121 12.56% Amr::restart() 1 0.05121 0.05121 0.05121 12.56% MLCellLinOp::smooth() 720 0.05056 0.05056 0.05056 12.40% MLCellLinOp::applyBC() 1946 0.04738 0.04738 0.04738 11.62% AmrLevel::restart() 1 0.03966 0.03966 0.03966 9.73% StateData::restartDoit() 4 0.03957 0.03957 0.03957 9.70% VisMF::Read() 3 0.03928 0.03928 0.03928 9.63% MLMG::mgVcycle_bottom 36 0.03282 0.03282 0.03282 8.05% MLMG::actualBottomSolve() 36 0.03281 0.03281 0.03281 8.05% MLCGSolver::bicgstab 36 0.03249 0.03249 0.03249 7.97% Amr::writePlotFile() 1 0.0291 0.0291 0.0291 7.14% VisMF::Write(FabArray) 1 0.02765 0.02765 0.02765 6.78% Castro::clean_state() 30 0.02592 0.02592 0.02592 6.36% AmrLevel::FillPatch() 20 0.02274 0.02274 0.02274 5.58% FillPatchIterator::Initialize 20 0.02067 0.02067 0.02067 5.07% FillPatchIterator::FillFromLevel0() 20 0.01986 0.01986 0.01986 4.87% FillPatchSingleLevel 20 0.01984 0.01984 0.01984 4.87% StateDataPhysBCFunct::() 20 0.01777 0.01777 0.01777 4.36% MLCellLinOp::apply() 500 0.01609 0.01609 0.01609 3.95% MLMG::mgVcycle_down::0 36 0.01451 0.01451 0.01451 3.56% MLPoisson::Fsmooth() 1440 0.0143 0.0143 0.0143 3.51% FabArray::FillBoundary() 1766 0.0136 0.0136 0.0136 3.33% FillBoundary_nowait() 1766 0.01323 0.01323 0.01323 3.25% StateData::FillBoundary(geom) 160 0.01293 0.01293 0.01293 3.17% MLMG::mgVcycle_up::0 36 0.01097 0.01097 0.01097 2.69% Castro::initialize_do_advance() 5 0.01085 0.01085 0.01085 2.66% Castro::normalize_species() 30 0.01014 0.01014 0.01014 2.49% MLCellLinOp::correctionResidual() 216 0.0097 0.0097 0.0097 2.38% MLPoisson::define() 6 0.009391 0.009391 0.009391 2.30% Castro::do_old_sources() 5 0.009308 0.009308 0.009308 2.28% Castro::computeTemp() 30 0.009055 0.009055 0.009055 2.22% amrex::Dot() 484 0.009044 0.009044 0.009044 2.22% MLMG:computeResOfCorrection() 180 0.008519 0.008519 0.008519 2.09% Gravity::get_new_grav_vector() 5 0.007877 0.007877 0.007877 1.93% Castro::initialize_advance() 5 0.00769 0.00769 0.00769 1.89% Castro::construct_old_gravity() 5 0.007599 0.007599 0.007599 1.86% Gravity::get_old_grav_vector() 5 0.007593 0.007593 0.007593 1.86% amrex::Copy() 463 0.007259 0.007259 0.007259 1.78% MLMG::mgVcycle_down::1 36 0.007056 0.007056 0.007056 1.73% FabArray::ParallelCopy() 380 0.006663 0.006663 0.006663 1.63% FabArray::setVal() 537 0.006582 0.006582 0.006582 1.61% FabArray::ParallelCopy_nowait() 380 0.006551 0.006551 0.006551 1.61% MLMG::mgVcycle_down::2 36 0.006498 0.006498 0.006498 1.59% FabArray::norminf() 326 0.006433 0.006433 0.006433 1.58% Castro::post_restart() 1 0.006418 0.006418 0.006418 1.57% MLCellLinOp::defineAuxData() 6 0.006392 0.006392 0.006392 1.57% MLMG::mgVcycle_down::3 36 0.006336 0.006336 0.006336 1.55% MLMG::mgVcycle_down::4 36 0.006209 0.006209 0.006209 1.52% Gravity::multilevel_solve_for_new_phi() 1 0.006031 0.006031 0.006031 1.48% Gravity::actual_multilevel_solve() 1 0.006014 0.006014 0.006014 1.47% Castro::enforce_min_density() 30 0.005949 0.005949 0.005949 1.46% Castro::expand_state() 5 0.005942 0.005942 0.005942 1.46% Gravity::fill_multipole_BCs() 6 0.00577 0.00577 0.00577 1.42% MLCGSolver::ParallelAllReduce 659 0.005473 0.005473 0.005473 1.34% Castro::do_new_sources() 5 0.005419 0.005419 0.005419 1.33% MLMG::addInterpCorrection() 180 0.005364 0.005364 0.005364 1.32% MLMG::mgVcycle_up::4 36 0.005078 0.005078 0.005078 1.25% amrex::average_down 180 0.005034 0.005034 0.005034 1.23% MLMG::mgVcycle_up::1 36 0.004993 0.004993 0.004993 1.22% MLMG::mgVcycle_up::2 36 0.004906 0.004906 0.004906 1.20% Castro::post_timestep() 5 0.004879 0.004879 0.004879 1.20% MLMG::mgVcycle_up::3 36 0.004809 0.004809 0.004809 1.18% MLPoisson::Fapply() 500 0.004584 0.004584 0.004584 1.12% FabArray::Saxpy() 355 0.003775 0.003775 0.003775 0.93% FabArray::Xpay() 361 0.003623 0.003623 0.003623 0.89% MLCellLinOp::solutionResidual() 42 0.003492 0.003492 0.003492 0.86% MLCellLinOp::defineBC() 6 0.00285 0.00285 0.00285 0.70% MLMG::prepareForSolve() 6 0.002789 0.002789 0.002789 0.68% Castro::reset_internal_energy(MultiFab) 30 0.002788 0.002788 0.002788 0.68% MLMG::computeResidual() 36 0.002725 0.002725 0.002725 0.67% BndryData::define() 6 0.002722 0.002722 0.002722 0.67% Castro::estTimeStep() 10 0.002685 0.002685 0.002685 0.66% FabArray::LinComb() 242 0.002315 0.002315 0.002315 0.57% amrex::Add() 72 0.001905 0.001905 0.001905 0.47% Castro::construct_new_source() 25 0.001744 0.001744 0.001744 0.43% Castro::computeNewDt() 5 0.001715 0.001715 0.001715 0.42% Castro::construct_new_gravity_source() 5 0.001684 0.001684 0.001684 0.41% Castro::construct_old_source() 25 0.001463 0.001463 0.001463 0.36% Castro::construct_old_gravity_source() 5 0.001435 0.001435 0.001435 0.35% Castro::finalize_do_advance() 5 0.001034 0.001034 0.001034 0.25% MLMG::ResNormInf() 42 0.0009855 0.0009855 0.0009855 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009703 0.0009703 0.0009703 0.24% Castro::apply_source_to_state() 10 0.000955 0.000955 0.000955 0.23% check_for_negative_density() 5 0.0009402 0.0009402 0.0009402 0.23% MLMG::getGradSolution() 6 0.0008742 0.0008742 0.0008742 0.21% MLCellLinOp::compGrad() 6 0.000865 0.000865 0.000865 0.21% FabArrayBase::getCPC() 632 0.0008404 0.0008404 0.0008404 0.21% MLCellLinOp::setLevelBC() 6 0.0008264 0.0008264 0.0008264 0.20% Castro::reset_internal_energy(Fab) 240 0.0008218 0.0008218 0.0008218 0.20% MLMG::computeMLResidual() 6 0.0007868 0.0007868 0.0007868 0.19% Castro::enforce_speed_limit() 30 0.0007403 0.0007403 0.0007403 0.18% MLPoisson::prepareForSolve() 6 0.0007361 0.0007361 0.0007361 0.18% MLCellLinOp::prepareForSolve() 6 0.000732 0.000732 0.000732 0.18% Gravity::update_max_rhs() 6 0.0007229 0.0007229 0.0007229 0.18% FabArray::setDomainBndry() 20 0.0006978 0.0006978 0.0006978 0.17% FabArray::mult() 22 0.000688 0.000688 0.000688 0.17% Castro::check_for_nan() 10 0.0006607 0.0006607 0.0006607 0.16% MultiFab::contains_nan() 10 0.0006529 0.0006529 0.0006529 0.16% Amr::InitAmr() 1 0.000459 0.000459 0.000459 0.11% FabArrayBase::CPC::define() 244 0.0004405 0.0004405 0.0004405 0.11% FabArrayBase::getFB() 1766 0.0003336 0.0003336 0.0003336 0.08% Castro::finalize_advance() 5 0.0003078 0.0003078 0.0003078 0.08% Gravity::swapTimeLevels() 5 0.0002297 0.0002297 0.0002297 0.06% MultiFab::max() 6 0.0002107 0.0002107 0.0002107 0.05% MLMG::MLResNormInf() 6 0.0001882 0.0001882 0.0001882 0.05% Castro::buildMetrics() 1 0.0001542 0.0001542 0.0001542 0.04% MLLinOp::define() 6 0.000134 0.000134 0.000134 0.03% MLLinOp::defineGrids() 6 0.0001242 0.0001242 0.0001242 0.03% MLMG::MLRhsNormInf() 6 0.0001193 0.0001193 0.0001193 0.03% Castro::create_source_corrector() 5 9.682e-05 9.682e-05 9.682e-05 0.02% FabArrayBase::FB::FB() 26 6.039e-05 6.039e-05 6.039e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.036e-05 3.036e-05 3.036e-05 0.01% Amr::writeSmallPlotFile() 1 2.976e-05 2.976e-05 2.976e-05 0.01% Castro::initMFs() 1 2.596e-05 2.596e-05 2.596e-05 0.01% Castro::swap_state_time_levels() 5 2.499e-05 2.499e-05 2.499e-05 0.01% makeSFC 30 2.148e-05 2.148e-05 2.148e-05 0.01% Amr::initSubcycle() 1 1.281e-05 1.281e-05 1.281e-05 0.00% DistributionMapping::Distribute() 31 1.001e-05 1.001e-05 1.001e-05 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.88e-06 5.88e-06 5.88e-06 0.00% Castro::retry_advance_ctu() 5 2.352e-06 2.352e-06 2.352e-06 0.00% Gravity::set_mass_offset() 6 2.017e-06 2.017e-06 2.017e-06 0.00% Castro::FluxRegCrseInit 5 1.435e-06 1.435e-06 1.435e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.25e-06 1.25e-06 1.25e-06 0.00% Castro::FluxRegFineAdd() 5 1.202e-06 1.202e-06 1.202e-06 0.00% -------------------------------------------------------------------------------------------- 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 213 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 157 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1108 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2003 KiB 28 MiB Castro::initialize_advance() 40 40 18 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6735 KiB 14 MiB MLMG::prepareForSolve() 361 361 3408 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 192 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 197 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6720 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 24 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3524 B 2048 KiB Gravity::solve_for_phi() 40 40 628 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 30 KiB 2048 KiB BndryData::define() 576 576 314 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 202 KiB 671 KiB Castro::estTimeStep() 10 10 3148 B 480 KiB VisMF::Write(FabArray) 112 112 1358 B 320 KiB Castro::normalize_species() 30 30 8096 B 320 KiB amrex::average_down 469 469 1198 B 257 KiB MLMG::addInterpCorrection() 468 468 1128 B 257 KiB amrex::Dot() 592 592 3260 B 160 KiB FabArray::norminf() 398 398 2322 B 160 KiB check_for_negative_density() 5 5 369 B 160 KiB MultiFab::max() 6 6 80 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3304 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 274 B 9648 B MLCellLinOp::applyBC() 3892 3892 215 B 9344 B amrex::Copy() 56 56 5930 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 42 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 115 B 1472 B MLCellLinOp::defineBC() 36 36 353 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1162 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 87 KiB 8192 KiB VisMF::Write(FabArray) 120 120 194 KiB 3584 KiB VisMF::Read() 24 24 186 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3304 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 274 B 9648 B MLCellLinOp::applyBC() 1946 1946 214 B 9328 B amrex::Copy() 56 56 5930 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2636 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 42 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 522 B 1296 B amrex::average_down 37 37 222 B 1296 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() 398 398 16 B 272 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): 12056 Free GPU global memory (MB): 2528 [The Arena] space allocated (MB): 9042 [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 (23.08-47-gc45770c9f9b2) finalized