Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-19-gf4f6ae9184d2) initialized Starting run at 08:30:05 UTC on 2023-05-19. Successfully read inputs file ... Castro git describe: 23.05-20-g9567effc6 AMReX git describe: 23.05-19-gf4f6ae918 Microphysics git describe: 23.05-9-gcd53da1e 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.057955989 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.032947951 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.045985394 [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 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.047923749 [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 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.05035941 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.063243024 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.065533855 [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.058253885 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.066035073 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.062232706 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.061533865 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.057482731 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.058781494 [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.056971328 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033084328 seconds Ending run at 08:30:06 UTC on 2023-05-19. Run time = 0.866443308 Run time without initialization = 0.728067861 Average number of zones advanced per microsecond: 3.601 Average number of zones advanced per microsecond per rank: 3.601 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8665 ... 0.8665 ... 0.8665 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2314 0.2314 0.2314 26.70% Castro::construct_ctu_hydro_source() 10 0.2254 0.2254 0.2254 26.01% MLCellLinOp::applyBC() 4433 0.07459 0.07459 0.07459 8.61% FillBoundary_nowait() 4023 0.03179 0.03179 0.03179 3.67% MLPoisson::Fsmooth() 3280 0.03135 0.03135 0.03135 3.62% StateData::FillBoundary(geom) 328 0.02442 0.02442 0.02442 2.82% amrex::Dot() 1114 0.01975 0.01975 0.01975 2.28% Castro::normalize_species() 62 0.01571 0.01571 0.01571 1.81% amrex::Copy() 1029 0.01451 0.01451 0.01451 1.67% Castro::computeTemp() 63 0.01394 0.01394 0.01394 1.61% FabArray::norminf() 743 0.01392 0.01392 0.01392 1.61% FabArray::ParallelCopy_nowait() 861 0.01298 0.01298 0.01298 1.50% FabArray::setVal() 1144 0.01272 0.01272 0.01272 1.47% StateDataPhysBCFunct::() 41 0.01188 0.01188 0.01188 1.37% Castro::enforce_min_density() 62 0.01075 0.01075 0.01075 1.24% MLPoisson::Fapply() 1142 0.01009 0.01009 0.01009 1.16% MLCellLinOp::defineAuxData() 11 0.00926 0.00926 0.00926 1.07% FabArray::Saxpy() 813 0.007952 0.007952 0.007952 0.92% FabArray::Xpay() 821 0.007821 0.007821 0.007821 0.90% Gravity::fill_multipole_BCs() 11 0.006483 0.006483 0.006483 0.75% MLMG::addInterpCorrection() 410 0.00643 0.00643 0.00643 0.74% amrex::average_down 410 0.005816 0.005816 0.005816 0.67% Castro::estTimeStep() 21 0.00518 0.00518 0.00518 0.60% Amr::checkPoint() 3 0.00501 0.00501 0.00501 0.58% Castro::reset_internal_energy(MultiFab) 63 0.004417 0.004417 0.004417 0.51% FabArray::LinComb() 557 0.00439 0.00439 0.00439 0.51% amrex::Add() 164 0.004338 0.004338 0.004338 0.50% BndryData::define() 11 0.003549 0.003549 0.003549 0.41% Castro::construct_new_gravity_source() 10 0.003259 0.003259 0.003259 0.38% Castro::do_advance_ctu() 10 0.003148 0.003148 0.003148 0.36% Castro::construct_old_gravity_source() 10 0.002685 0.002685 0.002685 0.31% Amr::writePlotFile() 2 0.002355 0.002355 0.002355 0.27% MLCGSolver::bicgstab 82 0.00207 0.00207 0.00207 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001659 0.001659 0.001659 0.19% Gravity::actual_solve_with_mlmg() 11 0.001478 0.001478 0.001478 0.17% Castro::reset_internal_energy(Fab) 504 0.001473 0.001473 0.001473 0.17% MLCellLinOp::setLevelBC() 11 0.001351 0.001351 0.001351 0.16% FabArray::mult() 43 0.001315 0.001315 0.001315 0.15% FabArray::setDomainBndry() 41 0.001286 0.001286 0.001286 0.15% MultiFab::contains_nan() 20 0.001226 0.001226 0.001226 0.14% Castro::initData() 1 0.001149 0.001149 0.001149 0.13% MLCellLinOp::prepareForSolve() 11 0.001106 0.001106 0.001106 0.13% MLCellLinOp::smooth() 1640 0.001096 0.001096 0.001096 0.13% Castro::enforce_speed_limit() 62 0.0009735 0.0009735 0.0009735 0.11% MLCellLinOp::compGrad() 11 0.0009201 0.0009201 0.0009201 0.11% FabArray::FillBoundary() 4023 0.0008731 0.0008731 0.0008731 0.10% MLMG::prepareForSolve() 11 0.0008674 0.0008674 0.0008674 0.10% FabArrayBase::getCPC() 1323 0.0007785 0.0007785 0.0007785 0.09% FabArrayBase::CPC::define() 454 0.0006671 0.0006671 0.0006671 0.08% Gravity::get_new_grav_vector() 11 0.0006216 0.0006216 0.0006216 0.07% FabArrayBase::getFB() 4023 0.0006177 0.0006177 0.0006177 0.07% Gravity::get_old_grav_vector() 10 0.0005401 0.0005401 0.0005401 0.06% MLCellLinOp::apply() 1142 0.0004682 0.0004682 0.0004682 0.05% Amr::InitAmr() 1 0.0004518 0.0004518 0.0004518 0.05% MLLinOp::defineGrids() 11 0.0003866 0.0003866 0.0003866 0.04% MLMG::mgVcycle() 82 0.0003462 0.0003462 0.0003462 0.04% Amr::coarseTimeStep() 10 0.0003348 0.0003348 0.0003348 0.04% main() 1 0.0003067 0.0003067 0.0003067 0.04% MLCGSolver::ParallelAllReduce 1514 0.0002931 0.0002931 0.0002931 0.03% MultiFab::max() 11 0.0002585 0.0002585 0.0002585 0.03% FabArray::ParallelCopy() 861 0.0002444 0.0002444 0.0002444 0.03% MLCellLinOp::correctionResidual() 492 0.0002332 0.0002332 0.0002332 0.03% FillPatchIterator::Initialize 41 0.0002292 0.0002292 0.0002292 0.03% Castro::create_source_corrector() 10 0.0002192 0.0002192 0.0002192 0.03% MLCellLinOp::defineBC() 11 0.0002054 0.0002054 0.0002054 0.02% Amr::timeStep() 10 0.0001565 0.0001565 0.0001565 0.02% Castro::subcycle_advance_ctu() 10 0.0001499 0.0001499 0.0001499 0.02% StateData::checkPoint() 12 0.0001348 0.0001348 0.0001348 0.02% Gravity::update_max_rhs() 11 0.0001206 0.0001206 0.0001206 0.01% MLMG:computeResOfCorrection() 410 0.0001111 0.0001111 0.0001111 0.01% Gravity::solve_for_phi() 10 0.0001059 0.0001059 0.0001059 0.01% FabArrayBase::FB::FB() 56 9.115e-05 9.115e-05 9.115e-05 0.01% MLMG::actualBottomSolve() 82 8.841e-05 8.841e-05 8.841e-05 0.01% Castro::Castro() 1 8.831e-05 8.831e-05 8.831e-05 0.01% MLMG::mgVcycle_down::0 82 8.255e-05 8.255e-05 8.255e-05 0.01% MLMG::mgVcycle_down::1 82 8.074e-05 8.074e-05 8.074e-05 0.01% MLMG::mgVcycle_down::2 82 7.792e-05 7.792e-05 7.792e-05 0.01% Castro::expand_state() 10 7.737e-05 7.737e-05 7.737e-05 0.01% AmrLevel::checkPoint() 3 7.665e-05 7.665e-05 7.665e-05 0.01% MLMG::mgVcycle_down::3 82 7.51e-05 7.51e-05 7.51e-05 0.01% MLMG::mgVcycle_down::4 82 7.505e-05 7.505e-05 7.505e-05 0.01% MLMG::solve() 11 7.469e-05 7.469e-05 7.469e-05 0.01% Castro::clean_state() 62 7.356e-05 7.356e-05 7.356e-05 0.01% Castro::construct_new_source() 50 7.016e-05 7.016e-05 7.016e-05 0.01% Castro::initialize_advance() 10 6.923e-05 6.923e-05 6.923e-05 0.01% Castro::advance() 10 6.147e-05 6.147e-05 6.147e-05 0.01% Castro::finalize_advance() 10 6.139e-05 6.139e-05 6.139e-05 0.01% MLMG::mgVcycle_up::4 82 6.039e-05 6.039e-05 6.039e-05 0.01% MLMG::oneIter() 82 5.16e-05 5.16e-05 5.16e-05 0.01% MLMG::mgVcycle_up::1 82 5.129e-05 5.129e-05 5.129e-05 0.01% MLMG::mgVcycle_up::0 82 5.095e-05 5.095e-05 5.095e-05 0.01% Castro::initialize_do_advance() 10 5.054e-05 5.054e-05 5.054e-05 0.01% MLMG::mgVcycle_up::3 82 5.046e-05 5.046e-05 5.046e-05 0.01% MLMG::mgVcycle_up::2 82 4.952e-05 4.952e-05 4.952e-05 0.01% MLCellLinOp::solutionResidual() 93 4.899e-05 4.899e-05 4.899e-05 0.01% Castro::construct_new_gravity() 10 4.058e-05 4.058e-05 4.058e-05 0.00% Castro::finalize_do_advance() 10 3.754e-05 3.754e-05 3.754e-05 0.00% Castro::swap_state_time_levels() 10 3.67e-05 3.67e-05 3.67e-05 0.00% StateData::define() 4 3.654e-05 3.654e-05 3.654e-05 0.00% MLMG::computeResidual() 82 3.282e-05 3.282e-05 3.282e-05 0.00% Castro::enforce_consistent_e() 1 3.172e-05 3.172e-05 3.172e-05 0.00% MLMG::ResNormInf() 93 3.046e-05 3.046e-05 3.046e-05 0.00% FillPatchSingleLevel 41 3.014e-05 3.014e-05 3.014e-05 0.00% MLPoisson::define() 11 3.01e-05 3.01e-05 3.01e-05 0.00% MLMG::mgVcycle_bottom 82 2.977e-05 2.977e-05 2.977e-05 0.00% Amr::writeSmallPlotFile() 1 2.542e-05 2.542e-05 2.542e-05 0.00% Castro::initMFs() 1 2.482e-05 2.482e-05 2.482e-05 0.00% makeSFC 55 2.425e-05 2.425e-05 2.425e-05 0.00% Amr::defBaseLevel() 1 2.395e-05 2.395e-05 2.395e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.196e-05 2.196e-05 2.196e-05 0.00% Amr::FinalizeInit() 1 2.188e-05 2.188e-05 2.188e-05 0.00% Castro::construct_old_source() 50 1.884e-05 1.884e-05 1.884e-05 0.00% Castro::buildMetrics() 1 1.765e-05 1.765e-05 1.765e-05 0.00% Castro::do_new_sources() 10 1.662e-05 1.662e-05 1.662e-05 0.00% MLLinOp::define() 11 1.653e-05 1.653e-05 1.653e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.633e-05 1.633e-05 1.633e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.58e-05 1.58e-05 1.58e-05 0.00% MLPoisson::prepareForSolve() 11 1.563e-05 1.563e-05 1.563e-05 0.00% DistributionMapping::Distribute() 56 1.545e-05 1.545e-05 1.545e-05 0.00% Castro::do_old_sources() 10 1.432e-05 1.432e-05 1.432e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.34e-05 1.34e-05 1.34e-05 0.00% Castro::check_for_nan() 20 1.093e-05 1.093e-05 1.093e-05 0.00% Castro::apply_source_to_state() 20 1.018e-05 1.018e-05 1.018e-05 0.00% Castro::construct_old_gravity() 10 9.344e-06 9.344e-06 9.344e-06 0.00% Gravity::actual_multilevel_solve() 1 8.883e-06 8.883e-06 8.883e-06 0.00% Amr::initSubcycle() 1 8.57e-06 8.57e-06 8.57e-06 0.00% MLMG::computeMLResidual() 11 8.307e-06 8.307e-06 8.307e-06 0.00% Gravity::swapTimeLevels() 10 8.247e-06 8.247e-06 8.247e-06 0.00% Castro::post_timestep() 10 7.912e-06 7.912e-06 7.912e-06 0.00% Castro::computeNewDt() 9 7.542e-06 7.542e-06 7.542e-06 0.00% MLMG::getGradSolution() 11 6.349e-06 6.349e-06 6.349e-06 0.00% Amr::InitializeInit() 1 5.183e-06 5.183e-06 5.183e-06 0.00% Castro::post_init() 1 4.403e-06 4.403e-06 4.403e-06 0.00% Gravity::set_mass_offset() 11 4.313e-06 4.313e-06 4.313e-06 0.00% AmrLevel::checkPointPost() 3 4.016e-06 4.016e-06 4.016e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.861e-06 3.861e-06 3.861e-06 0.00% MLMG::MLRhsNormInf() 11 3.754e-06 3.754e-06 3.754e-06 0.00% Castro::retry_advance_ctu() 10 3.489e-06 3.489e-06 3.489e-06 0.00% MLMG::MLResNormInf() 11 3.326e-06 3.326e-06 3.326e-06 0.00% Castro::FluxRegCrseInit 10 2.708e-06 2.708e-06 2.708e-06 0.00% Castro::computeInitialDt() 2 2.589e-06 2.589e-06 2.589e-06 0.00% Amr::init() 1 2.581e-06 2.581e-06 2.581e-06 0.00% Castro::FluxRegFineAdd() 10 2.007e-06 2.007e-06 2.007e-06 0.00% AmrLevel::checkPointPre() 3 1.842e-06 1.842e-06 1.842e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.806e-06 1.806e-06 1.806e-06 0.00% Amr::initialInit() 1 1.221e-06 1.221e-06 1.221e-06 0.00% Castro::post_regrid() 1 1.042e-06 1.042e-06 1.042e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8665 0.8665 0.8665 100.00% Amr::coarseTimeStep() 10 0.6948 0.6948 0.6948 80.18% Amr::timeStep() 10 0.5757 0.5757 0.5757 66.44% Castro::advance() 10 0.5681 0.5681 0.5681 65.56% Castro::subcycle_advance_ctu() 10 0.5565 0.5565 0.5565 64.23% Castro::do_advance_ctu() 10 0.5564 0.5564 0.5564 64.21% Gravity::solve_phi_with_mlmg() 11 0.2766 0.2766 0.2766 31.92% Gravity::actual_solve_with_mlmg() 11 0.2696 0.2696 0.2696 31.12% Castro::construct_new_gravity() 10 0.2531 0.2531 0.2531 29.21% MLMG::solve() 11 0.2496 0.2496 0.2496 28.81% Gravity::solve_for_phi() 10 0.2375 0.2375 0.2375 27.41% MLMG::oneIter() 82 0.2356 0.2356 0.2356 27.19% MLMG::mgVcycle() 82 0.2319 0.2319 0.2319 26.76% VisMF::Write(FabArray) 11 0.2314 0.2314 0.2314 26.70% Castro::construct_ctu_hydro_source() 10 0.2254 0.2254 0.2254 26.01% Amr::checkPoint() 3 0.1733 0.1733 0.1733 20.00% AmrLevel::checkPoint() 3 0.1683 0.1683 0.1683 19.42% StateData::checkPoint() 12 0.1682 0.1682 0.1682 19.42% Amr::init() 1 0.1378 0.1378 0.1378 15.90% MLCellLinOp::smooth() 1640 0.1151 0.1151 0.1151 13.28% MLCellLinOp::applyBC() 4433 0.108 0.108 0.108 12.46% MLMG::mgVcycle_bottom 82 0.07101 0.07101 0.07101 8.20% MLMG::actualBottomSolve() 82 0.07098 0.07098 0.07098 8.19% MLCGSolver::bicgstab 82 0.07031 0.07031 0.07031 8.11% Amr::writePlotFile() 2 0.06615 0.06615 0.06615 7.63% Amr::initialInit() 1 0.04675 0.04675 0.04675 5.40% Castro::clean_state() 62 0.04654 0.04654 0.04654 5.37% Amr::FinalizeInit() 1 0.04275 0.04275 0.04275 4.93% FillPatchIterator::Initialize 41 0.0419 0.0419 0.0419 4.84% Castro::post_init() 1 0.04137 0.04137 0.04137 4.77% FillPatchSingleLevel 41 0.04038 0.04038 0.04038 4.66% Gravity::multilevel_solve_for_new_phi() 1 0.03953 0.03953 0.03953 4.56% Gravity::actual_multilevel_solve() 1 0.03951 0.03951 0.03951 4.56% StateDataPhysBCFunct::() 41 0.0363 0.0363 0.0363 4.19% MLCellLinOp::apply() 1142 0.03542 0.03542 0.03542 4.09% MLMG::mgVcycle_down::0 82 0.03371 0.03371 0.03371 3.89% FabArray::FillBoundary() 4023 0.03337 0.03337 0.03337 3.85% FillBoundary_nowait() 4023 0.03249 0.03249 0.03249 3.75% MLPoisson::Fsmooth() 3280 0.03135 0.03135 0.03135 3.62% MLMG::mgVcycle_up::0 82 0.0257 0.0257 0.0257 2.97% StateData::FillBoundary(geom) 328 0.02442 0.02442 0.02442 2.82% MLCellLinOp::correctionResidual() 492 0.02169 0.02169 0.02169 2.50% Castro::computeTemp() 63 0.01983 0.01983 0.01983 2.29% Castro::initialize_do_advance() 10 0.01976 0.01976 0.01976 2.28% amrex::Dot() 1114 0.01975 0.01975 0.01975 2.28% MLMG:computeResOfCorrection() 410 0.01912 0.01912 0.01912 2.21% Gravity::get_new_grav_vector() 11 0.01712 0.01712 0.01712 1.98% MLPoisson::define() 11 0.01576 0.01576 0.01576 1.82% Castro::normalize_species() 62 0.01571 0.01571 0.01571 1.81% MLMG::mgVcycle_down::1 82 0.01535 0.01535 0.01535 1.77% amrex::Copy() 1029 0.01451 0.01451 0.01451 1.67% Castro::construct_old_gravity() 10 0.01449 0.01449 0.01449 1.67% Gravity::get_old_grav_vector() 10 0.01448 0.01448 0.01448 1.67% MLMG::mgVcycle_down::2 82 0.0143 0.0143 0.0143 1.65% FabArray::ParallelCopy() 861 0.01407 0.01407 0.01407 1.62% MLMG::mgVcycle_down::3 82 0.01396 0.01396 0.01396 1.61% FabArray::norminf() 743 0.01392 0.01392 0.01392 1.61% FabArray::ParallelCopy_nowait() 861 0.01383 0.01383 0.01383 1.60% MLMG::mgVcycle_down::4 82 0.01376 0.01376 0.01376 1.59% FabArray::setVal() 1144 0.01272 0.01272 0.01272 1.47% Castro::do_new_sources() 10 0.01229 0.01229 0.01229 1.42% MLCGSolver::ParallelAllReduce 1514 0.01186 0.01186 0.01186 1.37% Castro::expand_state() 10 0.01167 0.01167 0.01167 1.35% Castro::do_old_sources() 10 0.01146 0.01146 0.01146 1.32% MLMG::addInterpCorrection() 410 0.01141 0.01141 0.01141 1.32% MLMG::mgVcycle_up::1 82 0.01119 0.01119 0.01119 1.29% MLMG::mgVcycle_up::4 82 0.01103 0.01103 0.01103 1.27% Castro::initialize_advance() 10 0.0109 0.0109 0.0109 1.26% MLMG::mgVcycle_up::2 82 0.01089 0.01089 0.01089 1.26% amrex::average_down 410 0.01085 0.01085 0.01085 1.25% Castro::enforce_min_density() 62 0.01075 0.01075 0.01075 1.24% MLMG::mgVcycle_up::3 82 0.01064 0.01064 0.01064 1.23% MLCellLinOp::defineAuxData() 11 0.01056 0.01056 0.01056 1.22% MLPoisson::Fapply() 1142 0.01009 0.01009 0.01009 1.16% FabArray::Saxpy() 813 0.007952 0.007952 0.007952 0.92% FabArray::Xpay() 821 0.007821 0.007821 0.007821 0.90% Castro::post_timestep() 10 0.007448 0.007448 0.007448 0.86% MLCellLinOp::solutionResidual() 93 0.007068 0.007068 0.007068 0.82% Gravity::fill_multipole_BCs() 11 0.006746 0.006746 0.006746 0.78% MLMG::computeResidual() 82 0.006069 0.006069 0.006069 0.70% Castro::reset_internal_energy(MultiFab) 63 0.00589 0.00589 0.00589 0.68% Castro::estTimeStep() 21 0.00518 0.00518 0.00518 0.60% MLCellLinOp::defineBC() 11 0.004715 0.004715 0.004715 0.54% MLMG::prepareForSolve() 11 0.004554 0.004554 0.004554 0.53% BndryData::define() 11 0.004509 0.004509 0.004509 0.52% FabArray::LinComb() 557 0.00439 0.00439 0.00439 0.51% amrex::Add() 164 0.004338 0.004338 0.004338 0.50% Amr::InitializeInit() 1 0.003999 0.003999 0.003999 0.46% Amr::defBaseLevel() 1 0.003994 0.003994 0.003994 0.46% Castro::initData() 1 0.00347 0.00347 0.00347 0.40% Castro::construct_new_source() 50 0.003329 0.003329 0.003329 0.38% Castro::construct_new_gravity_source() 10 0.003259 0.003259 0.003259 0.38% Castro::computeNewDt() 9 0.002734 0.002734 0.002734 0.32% Castro::construct_old_source() 50 0.002704 0.002704 0.002704 0.31% Castro::construct_old_gravity_source() 10 0.002685 0.002685 0.002685 0.31% MLMG::ResNormInf() 93 0.002096 0.002096 0.002096 0.24% Castro::apply_source_to_state() 20 0.001818 0.001818 0.001818 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001659 0.001659 0.001659 0.19% Castro::reset_internal_energy(Fab) 504 0.001473 0.001473 0.001473 0.17% FabArrayBase::getCPC() 1323 0.001446 0.001446 0.001446 0.17% MLMG::getGradSolution() 11 0.001392 0.001392 0.001392 0.16% MLCellLinOp::compGrad() 11 0.001386 0.001386 0.001386 0.16% MLCellLinOp::setLevelBC() 11 0.001351 0.001351 0.001351 0.16% FabArray::mult() 43 0.001315 0.001315 0.001315 0.15% FabArray::setDomainBndry() 41 0.001286 0.001286 0.001286 0.15% Castro::check_for_nan() 20 0.001237 0.001237 0.001237 0.14% MultiFab::contains_nan() 20 0.001226 0.001226 0.001226 0.14% Castro::post_regrid() 1 0.001134 0.001134 0.001134 0.13% MLPoisson::prepareForSolve() 11 0.001121 0.001121 0.001121 0.13% MLCellLinOp::prepareForSolve() 11 0.001106 0.001106 0.001106 0.13% MLMG::computeMLResidual() 11 0.00104 0.00104 0.00104 0.12% Castro::enforce_speed_limit() 62 0.0009735 0.0009735 0.0009735 0.11% Castro::computeInitialDt() 2 0.0009016 0.0009016 0.0009016 0.10% Gravity::update_max_rhs() 11 0.000815 0.000815 0.000815 0.09% FabArrayBase::getFB() 4023 0.0007088 0.0007088 0.0007088 0.08% FabArrayBase::CPC::define() 454 0.0006671 0.0006671 0.0006671 0.08% Castro::finalize_advance() 10 0.0005714 0.0005714 0.0005714 0.07% Amr::InitAmr() 1 0.0004604 0.0004604 0.0004604 0.05% MLLinOp::define() 11 0.0004566 0.0004566 0.0004566 0.05% Castro::Castro() 1 0.0004422 0.0004422 0.0004422 0.05% MLLinOp::defineGrids() 11 0.0004401 0.0004401 0.0004401 0.05% Gravity::swapTimeLevels() 10 0.000426 0.000426 0.000426 0.05% MLMG::MLResNormInf() 11 0.0003035 0.0003035 0.0003035 0.04% MultiFab::max() 11 0.0002585 0.0002585 0.0002585 0.03% Castro::create_source_corrector() 10 0.0002192 0.0002192 0.0002192 0.03% MLMG::MLRhsNormInf() 11 0.0002166 0.0002166 0.0002166 0.03% Castro::buildMetrics() 1 0.0001679 0.0001679 0.0001679 0.02% FabArrayBase::FB::FB() 56 9.115e-05 9.115e-05 9.115e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.286e-05 5.286e-05 5.286e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.166e-05 5.166e-05 5.166e-05 0.01% makeSFC 55 3.826e-05 3.826e-05 3.826e-05 0.00% Castro::finalize_do_advance() 10 3.754e-05 3.754e-05 3.754e-05 0.00% Castro::swap_state_time_levels() 10 3.67e-05 3.67e-05 3.67e-05 0.00% StateData::define() 4 3.654e-05 3.654e-05 3.654e-05 0.00% Castro::enforce_consistent_e() 1 3.172e-05 3.172e-05 3.172e-05 0.00% Amr::writeSmallPlotFile() 1 2.542e-05 2.542e-05 2.542e-05 0.00% Castro::initMFs() 1 2.482e-05 2.482e-05 2.482e-05 0.00% DistributionMapping::Distribute() 56 1.545e-05 1.545e-05 1.545e-05 0.00% Amr::initSubcycle() 1 8.57e-06 8.57e-06 8.57e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.304e-06 5.304e-06 5.304e-06 0.00% Gravity::set_mass_offset() 11 4.313e-06 4.313e-06 4.313e-06 0.00% AmrLevel::checkPointPost() 3 4.016e-06 4.016e-06 4.016e-06 0.00% Castro::retry_advance_ctu() 10 3.489e-06 3.489e-06 3.489e-06 0.00% Castro::FluxRegCrseInit 10 2.708e-06 2.708e-06 2.708e-06 0.00% Castro::FluxRegFineAdd() 10 2.007e-06 2.007e-06 2.007e-06 0.00% AmrLevel::checkPointPre() 3 1.842e-06 1.842e-06 1.842e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.806e-06 1.806e-06 1.806e-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 92 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 121 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1044 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2146 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7611 KiB 14 MiB MLMG::prepareForSolve() 660 660 3545 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 205 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 171 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7525 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1800 B 2048 KiB Gravity::solve_for_phi() 80 80 560 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 93 KiB 2048 KiB BndryData::define() 1056 1056 323 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 205 KiB 671 KiB Castro::estTimeStep() 21 21 2824 B 480 KiB VisMF::Write(FabArray) 656 656 3384 B 320 KiB Castro::normalize_species() 62 62 5903 B 320 KiB amrex::average_down 1067 1067 1256 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1142 B 257 KiB amrex::Dot() 1360 1360 3361 B 160 KiB FabArray::norminf() 907 907 2383 B 160 KiB Castro::do_advance_ctu() 10 10 547 B 160 KiB MultiFab::max() 11 11 46 B 160 KiB Castro::initData() 1 1 26 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3465 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 322 B 9648 B MLCellLinOp::applyBC() 8866 8866 223 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3854 B 6144 B StateData::FillBoundary(geom) 1992 1992 44 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 118 B 1472 B MLCellLinOp::defineBC() 66 66 364 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 612 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 50 KiB 8192 KiB VisMF::Write(FabArray) 744 744 616 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3465 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 322 B 9648 B MLCellLinOp::applyBC() 4433 4433 221 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3854 B 6144 B Gravity::get_new_grav_vector() 3 3 2907 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 44 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 295 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 MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [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.05-19-gf4f6ae9184d2) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-19-gf4f6ae9184d2) initialized Starting run at 08:30:07 UTC on 2023-05-19. Successfully read inputs file ... Castro git describe: 23.05-20-g9567effc6 AMReX git describe: 23.05-19-gf4f6ae918 Microphysics git describe: 23.05-9-gcd53da1e reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.469664808 Restart time = 0.045041117 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.047944639 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.046559968 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.049482036 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.057655466 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.059540216 [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.032646687 seconds Ending run at 08:30:07 UTC on 2023-05-19. Run time = 0.339836934 Run time without initialization = 0.294227412 Average number of zones advanced per microsecond: 4.455 Average number of zones advanced per microsecond per rank: 4.455 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3399 ... 0.3399 ... 0.3399 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.0844 0.0844 0.0844 24.82% VisMF::Read() 3 0.03886 0.03886 0.03886 11.43% MLCellLinOp::applyBC() 1946 0.03241 0.03241 0.03241 9.54% VisMF::Write(FabArray) 1 0.0311 0.0311 0.0311 9.15% MLPoisson::Fsmooth() 1440 0.01347 0.01347 0.01347 3.96% FillBoundary_nowait() 1766 0.01259 0.01259 0.01259 3.71% StateData::FillBoundary(geom) 160 0.01153 0.01153 0.01153 3.39% amrex::Dot() 484 0.00844 0.00844 0.00844 2.48% amrex::Copy() 463 0.006785 0.006785 0.006785 2.00% Castro::normalize_species() 30 0.006705 0.006705 0.006705 1.97% Castro::enforce_min_density() 30 0.00628 0.00628 0.00628 1.85% FabArray::setVal() 537 0.006098 0.006098 0.006098 1.79% FabArray::norminf() 326 0.006015 0.006015 0.006015 1.77% FabArray::ParallelCopy_nowait() 380 0.005874 0.005874 0.005874 1.73% StateDataPhysBCFunct::() 20 0.005551 0.005551 0.005551 1.63% Castro::computeTemp() 30 0.005241 0.005241 0.005241 1.54% MLCellLinOp::defineAuxData() 6 0.005022 0.005022 0.005022 1.48% MLPoisson::Fapply() 500 0.004332 0.004332 0.004332 1.27% FabArray::Saxpy() 355 0.003553 0.003553 0.003553 1.05% FabArray::Xpay() 361 0.003415 0.003415 0.003415 1.00% Gravity::fill_multipole_BCs() 6 0.003346 0.003346 0.003346 0.98% MLMG::addInterpCorrection() 180 0.002802 0.002802 0.002802 0.82% Castro::estTimeStep() 10 0.002765 0.002765 0.002765 0.81% Amr::restart() 1 0.002534 0.002534 0.002534 0.75% Castro::reset_internal_energy(MultiFab) 30 0.002523 0.002523 0.002523 0.74% amrex::average_down 180 0.002521 0.002521 0.002521 0.74% BndryData::define() 6 0.001919 0.001919 0.001919 0.56% FabArray::LinComb() 242 0.001867 0.001867 0.001867 0.55% amrex::Add() 72 0.001841 0.001841 0.001841 0.54% Castro::construct_new_gravity_source() 5 0.001706 0.001706 0.001706 0.50% Castro::construct_old_gravity_source() 5 0.00139 0.00139 0.00139 0.41% Amr::writePlotFile() 1 0.001387 0.001387 0.001387 0.41% Castro::do_advance_ctu() 5 0.001342 0.001342 0.001342 0.39% MLCGSolver::bicgstab 36 0.000918 0.000918 0.000918 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008863 0.0008863 0.0008863 0.26% Gravity::actual_solve_with_mlmg() 6 0.000782 0.000782 0.000782 0.23% MLCellLinOp::setLevelBC() 6 0.0007216 0.0007216 0.0007216 0.21% Castro::enforce_speed_limit() 30 0.0006973 0.0006973 0.0006973 0.21% FabArray::setDomainBndry() 20 0.0006497 0.0006497 0.0006497 0.19% FabArray::mult() 22 0.0006394 0.0006394 0.0006394 0.19% Castro::reset_internal_energy(Fab) 240 0.0006345 0.0006345 0.0006345 0.19% MultiFab::contains_nan() 10 0.0006051 0.0006051 0.0006051 0.18% MLCellLinOp::prepareForSolve() 6 0.0005938 0.0005938 0.0005938 0.17% MLCellLinOp::smooth() 720 0.0004903 0.0004903 0.0004903 0.14% MLCellLinOp::compGrad() 6 0.0004839 0.0004839 0.0004839 0.14% MLMG::prepareForSolve() 6 0.000464 0.000464 0.000464 0.14% FabArrayBase::CPC::define() 244 0.0004101 0.0004101 0.0004101 0.12% Amr::InitAmr() 1 0.0003759 0.0003759 0.0003759 0.11% FabArray::FillBoundary() 1766 0.0003736 0.0003736 0.0003736 0.11% FabArrayBase::getCPC() 632 0.0003731 0.0003731 0.0003731 0.11% Gravity::get_old_grav_vector() 5 0.0003063 0.0003063 0.0003063 0.09% main() 1 0.0002835 0.0002835 0.0002835 0.08% Gravity::get_new_grav_vector() 5 0.0002751 0.0002751 0.0002751 0.08% FabArrayBase::getFB() 1766 0.0002558 0.0002558 0.0002558 0.08% MLCellLinOp::apply() 500 0.0002007 0.0002007 0.0002007 0.06% MLLinOp::defineGrids() 6 0.0001787 0.0001787 0.0001787 0.05% Amr::coarseTimeStep() 5 0.0001588 0.0001588 0.0001588 0.05% MLMG::mgVcycle() 36 0.0001582 0.0001582 0.0001582 0.05% MultiFab::max() 6 0.0001345 0.0001345 0.0001345 0.04% MLCGSolver::ParallelAllReduce 659 0.0001279 0.0001279 0.0001279 0.04% FillPatchIterator::Initialize 20 0.0001209 0.0001209 0.0001209 0.04% FabArray::ParallelCopy() 380 0.000108 0.000108 0.000108 0.03% MLCellLinOp::defineBC() 6 0.000107 0.000107 0.000107 0.03% MLCellLinOp::correctionResidual() 216 0.0001005 0.0001005 0.0001005 0.03% Castro::create_source_corrector() 5 9.961e-05 9.961e-05 9.961e-05 0.03% AmrLevel::restart() 1 8.34e-05 8.34e-05 8.34e-05 0.02% Castro::subcycle_advance_ctu() 5 7.751e-05 7.751e-05 7.751e-05 0.02% Amr::timeStep() 5 7.606e-05 7.606e-05 7.606e-05 0.02% Gravity::solve_for_phi() 5 6.198e-05 6.198e-05 6.198e-05 0.02% StateData::restartDoit() 4 6.104e-05 6.104e-05 6.104e-05 0.02% FabArrayBase::FB::FB() 26 6.008e-05 6.008e-05 6.008e-05 0.02% Gravity::update_max_rhs() 6 5.767e-05 5.767e-05 5.767e-05 0.02% MLMG:computeResOfCorrection() 180 4.815e-05 4.815e-05 4.815e-05 0.01% Castro::construct_new_source() 25 4.713e-05 4.713e-05 4.713e-05 0.01% Castro::expand_state() 5 4.075e-05 4.075e-05 4.075e-05 0.01% MLMG::actualBottomSolve() 36 4.035e-05 4.035e-05 4.035e-05 0.01% MLMG::mgVcycle_down::0 36 3.731e-05 3.731e-05 3.731e-05 0.01% Castro::clean_state() 30 3.558e-05 3.558e-05 3.558e-05 0.01% MLMG::mgVcycle_down::1 36 3.53e-05 3.53e-05 3.53e-05 0.01% MLMG::solve() 6 3.378e-05 3.378e-05 3.378e-05 0.01% MLMG::mgVcycle_down::4 36 3.372e-05 3.372e-05 3.372e-05 0.01% MLMG::mgVcycle_down::2 36 3.316e-05 3.316e-05 3.316e-05 0.01% MLMG::mgVcycle_down::3 36 3.264e-05 3.264e-05 3.264e-05 0.01% Castro::initialize_advance() 5 3.224e-05 3.224e-05 3.224e-05 0.01% Castro::finalize_advance() 5 2.808e-05 2.808e-05 2.808e-05 0.01% MLMG::mgVcycle_up::4 36 2.723e-05 2.723e-05 2.723e-05 0.01% Amr::writeSmallPlotFile() 1 2.682e-05 2.682e-05 2.682e-05 0.01% Castro::buildMetrics() 1 2.677e-05 2.677e-05 2.677e-05 0.01% Castro::initialize_do_advance() 5 2.599e-05 2.599e-05 2.599e-05 0.01% Castro::initMFs() 1 2.515e-05 2.515e-05 2.515e-05 0.01% MLMG::oneIter() 36 2.464e-05 2.464e-05 2.464e-05 0.01% Castro::swap_state_time_levels() 5 2.275e-05 2.275e-05 2.275e-05 0.01% MLMG::mgVcycle_up::0 36 2.2e-05 2.2e-05 2.2e-05 0.01% MLCellLinOp::solutionResidual() 42 2.167e-05 2.167e-05 2.167e-05 0.01% MLMG::mgVcycle_up::3 36 2.124e-05 2.124e-05 2.124e-05 0.01% MLMG::mgVcycle_up::2 36 2.107e-05 2.107e-05 2.107e-05 0.01% MLPoisson::define() 6 2.021e-05 2.021e-05 2.021e-05 0.01% MLMG::mgVcycle_up::1 36 2.012e-05 2.012e-05 2.012e-05 0.01% Castro::post_restart() 1 1.986e-05 1.986e-05 1.986e-05 0.01% Castro::finalize_do_advance() 5 1.96e-05 1.96e-05 1.96e-05 0.01% MLMG::ResNormInf() 42 1.693e-05 1.693e-05 1.693e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.535e-05 1.535e-05 1.535e-05 0.00% FillPatchSingleLevel 20 1.385e-05 1.385e-05 1.385e-05 0.00% MLMG::computeResidual() 36 1.373e-05 1.373e-05 1.373e-05 0.00% Castro::advance() 5 1.345e-05 1.345e-05 1.345e-05 0.00% MLMG::mgVcycle_bottom 36 1.302e-05 1.302e-05 1.302e-05 0.00% makeSFC 30 1.265e-05 1.265e-05 1.265e-05 0.00% Castro::construct_new_gravity() 5 1.199e-05 1.199e-05 1.199e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.141e-05 1.141e-05 1.141e-05 0.00% MLPoisson::prepareForSolve() 6 1.061e-05 1.061e-05 1.061e-05 0.00% MLLinOp::define() 6 1.043e-05 1.043e-05 1.043e-05 0.00% Castro::construct_old_source() 25 1.016e-05 1.016e-05 1.016e-05 0.00% Amr::initSubcycle() 1 9.069e-06 9.069e-06 9.069e-06 0.00% DistributionMapping::Distribute() 31 8.833e-06 8.833e-06 8.833e-06 0.00% Castro::do_new_sources() 5 8.367e-06 8.367e-06 8.367e-06 0.00% Castro::do_old_sources() 5 7.826e-06 7.826e-06 7.826e-06 0.00% Gravity::actual_multilevel_solve() 1 7.351e-06 7.351e-06 7.351e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 6.67e-06 6.67e-06 6.67e-06 0.00% Castro::check_for_nan() 10 5.798e-06 5.798e-06 5.798e-06 0.00% Castro::construct_old_gravity() 5 5.722e-06 5.722e-06 5.722e-06 0.00% Castro::apply_source_to_state() 10 5.504e-06 5.504e-06 5.504e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.103e-06 4.103e-06 4.103e-06 0.00% Castro::post_timestep() 5 3.987e-06 3.987e-06 3.987e-06 0.00% Gravity::swapTimeLevels() 5 3.688e-06 3.688e-06 3.688e-06 0.00% MLMG::computeMLResidual() 6 3.571e-06 3.571e-06 3.571e-06 0.00% Castro::computeNewDt() 5 3.564e-06 3.564e-06 3.564e-06 0.00% MLMG::getGradSolution() 6 3.348e-06 3.348e-06 3.348e-06 0.00% MLMG::MLResNormInf() 6 2.319e-06 2.319e-06 2.319e-06 0.00% MLMG::MLRhsNormInf() 6 2.192e-06 2.192e-06 2.192e-06 0.00% Gravity::set_mass_offset() 6 1.983e-06 1.983e-06 1.983e-06 0.00% Castro::retry_advance_ctu() 5 1.744e-06 1.744e-06 1.744e-06 0.00% Castro::FluxRegCrseInit 5 1.513e-06 1.513e-06 1.513e-06 0.00% Amr::init() 1 1.295e-06 1.295e-06 1.295e-06 0.00% Castro::FluxRegFineAdd() 5 1.137e-06 1.137e-06 1.137e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.024e-06 1.024e-06 1.024e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3398 0.3398 0.3398 99.99% Amr::coarseTimeStep() 5 0.2613 0.2613 0.2613 76.89% Amr::timeStep() 5 0.2592 0.2592 0.2592 76.25% Castro::advance() 5 0.2558 0.2558 0.2558 75.28% Castro::subcycle_advance_ctu() 5 0.2491 0.2491 0.2491 73.29% Castro::do_advance_ctu() 5 0.249 0.249 0.249 73.27% Castro::construct_new_gravity() 5 0.1262 0.1262 0.1262 37.12% Gravity::solve_phi_with_mlmg() 6 0.1216 0.1216 0.1216 35.79% Gravity::solve_for_phi() 5 0.1186 0.1186 0.1186 34.91% Gravity::actual_solve_with_mlmg() 6 0.118 0.118 0.118 34.73% MLMG::solve() 6 0.1072 0.1072 0.1072 31.56% MLMG::oneIter() 36 0.1005 0.1005 0.1005 29.58% MLMG::mgVcycle() 36 0.09897 0.09897 0.09897 29.12% Castro::construct_ctu_hydro_source() 5 0.08436 0.08436 0.08436 24.82% MLCellLinOp::smooth() 720 0.04862 0.04862 0.04862 14.31% MLCellLinOp::applyBC() 1946 0.04569 0.04569 0.04569 13.44% Amr::init() 1 0.04509 0.04509 0.04509 13.27% Amr::restart() 1 0.04509 0.04509 0.04509 13.27% AmrLevel::restart() 1 0.03906 0.03906 0.03906 11.49% StateData::restartDoit() 4 0.03897 0.03897 0.03897 11.47% VisMF::Read() 3 0.03886 0.03886 0.03886 11.43% Amr::writePlotFile() 1 0.03273 0.03273 0.03273 9.63% VisMF::Write(FabArray) 1 0.0311 0.0311 0.0311 9.15% MLMG::mgVcycle_bottom 36 0.03053 0.03053 0.03053 8.98% MLMG::actualBottomSolve() 36 0.03052 0.03052 0.03052 8.98% MLCGSolver::bicgstab 36 0.03023 0.03023 0.03023 8.89% Castro::clean_state() 30 0.02212 0.02212 0.02212 6.51% FillPatchIterator::Initialize 20 0.01989 0.01989 0.01989 5.85% FillPatchSingleLevel 20 0.01912 0.01912 0.01912 5.63% StateDataPhysBCFunct::() 20 0.01708 0.01708 0.01708 5.03% MLCellLinOp::apply() 500 0.0153 0.0153 0.0153 4.50% MLMG::mgVcycle_down::0 36 0.01402 0.01402 0.01402 4.13% MLPoisson::Fsmooth() 1440 0.01347 0.01347 0.01347 3.96% FabArray::FillBoundary() 1766 0.01328 0.01328 0.01328 3.91% FillBoundary_nowait() 1766 0.01291 0.01291 0.01291 3.80% StateData::FillBoundary(geom) 160 0.01153 0.01153 0.01153 3.39% MLMG::mgVcycle_up::0 36 0.01057 0.01057 0.01057 3.11% Castro::initialize_do_advance() 5 0.01035 0.01035 0.01035 3.05% MLCellLinOp::correctionResidual() 216 0.009308 0.009308 0.009308 2.74% MLPoisson::define() 6 0.008547 0.008547 0.008547 2.51% amrex::Dot() 484 0.00844 0.00844 0.00844 2.48% Castro::computeTemp() 30 0.008399 0.008399 0.008399 2.47% MLMG:computeResOfCorrection() 180 0.008175 0.008175 0.008175 2.41% Gravity::get_new_grav_vector() 5 0.007412 0.007412 0.007412 2.18% Castro::construct_old_gravity() 5 0.007246 0.007246 0.007246 2.13% Gravity::get_old_grav_vector() 5 0.00724 0.00724 0.00724 2.13% amrex::Copy() 463 0.006785 0.006785 0.006785 2.00% Castro::normalize_species() 30 0.006705 0.006705 0.006705 1.97% MLMG::mgVcycle_down::1 36 0.006625 0.006625 0.006625 1.95% Castro::initialize_advance() 5 0.00645 0.00645 0.00645 1.90% Castro::do_new_sources() 5 0.006446 0.006446 0.006446 1.90% FabArray::ParallelCopy() 380 0.006389 0.006389 0.006389 1.88% FabArray::ParallelCopy_nowait() 380 0.006281 0.006281 0.006281 1.85% Castro::enforce_min_density() 30 0.00628 0.00628 0.00628 1.85% MLMG::mgVcycle_down::2 36 0.006182 0.006182 0.006182 1.82% FabArray::setVal() 537 0.006098 0.006098 0.006098 1.79% MLMG::mgVcycle_down::3 36 0.006028 0.006028 0.006028 1.77% Castro::expand_state() 5 0.006016 0.006016 0.006016 1.77% FabArray::norminf() 326 0.006015 0.006015 0.006015 1.77% MLMG::mgVcycle_down::4 36 0.005966 0.005966 0.005966 1.76% MLCellLinOp::defineAuxData() 6 0.005728 0.005728 0.005728 1.69% Castro::do_old_sources() 5 0.005233 0.005233 0.005233 1.54% MLCGSolver::ParallelAllReduce 659 0.005088 0.005088 0.005088 1.50% MLMG::addInterpCorrection() 180 0.004964 0.004964 0.004964 1.46% MLMG::mgVcycle_up::1 36 0.004808 0.004808 0.004808 1.41% MLMG::mgVcycle_up::4 36 0.004784 0.004784 0.004784 1.41% amrex::average_down 180 0.00472 0.00472 0.00472 1.39% MLMG::mgVcycle_up::2 36 0.004697 0.004697 0.004697 1.38% MLMG::mgVcycle_up::3 36 0.004594 0.004594 0.004594 1.35% MLPoisson::Fapply() 500 0.004332 0.004332 0.004332 1.27% FabArray::Saxpy() 355 0.003553 0.003553 0.003553 1.05% Gravity::fill_multipole_BCs() 6 0.003472 0.003472 0.003472 1.02% FabArray::Xpay() 361 0.003415 0.003415 0.003415 1.00% Castro::post_restart() 1 0.00332 0.00332 0.00332 0.98% Castro::post_timestep() 5 0.003227 0.003227 0.003227 0.95% Gravity::multilevel_solve_for_new_phi() 1 0.003215 0.003215 0.003215 0.95% Gravity::actual_multilevel_solve() 1 0.0032 0.0032 0.0032 0.94% MLCellLinOp::solutionResidual() 42 0.003161 0.003161 0.003161 0.93% Castro::reset_internal_energy(MultiFab) 30 0.003158 0.003158 0.003158 0.93% Castro::estTimeStep() 10 0.002765 0.002765 0.002765 0.81% MLMG::computeResidual() 36 0.00262 0.00262 0.00262 0.77% MLCellLinOp::defineBC() 6 0.002582 0.002582 0.002582 0.76% BndryData::define() 6 0.002475 0.002475 0.002475 0.73% MLMG::prepareForSolve() 6 0.00246 0.00246 0.00246 0.72% Castro::computeNewDt() 5 0.002022 0.002022 0.002022 0.59% FabArray::LinComb() 242 0.001867 0.001867 0.001867 0.55% amrex::Add() 72 0.001841 0.001841 0.001841 0.54% Castro::construct_new_source() 25 0.001754 0.001754 0.001754 0.52% Castro::construct_new_gravity_source() 5 0.001706 0.001706 0.001706 0.50% Castro::construct_old_source() 25 0.0014 0.0014 0.0014 0.41% Castro::construct_old_gravity_source() 5 0.00139 0.00139 0.00139 0.41% MLMG::ResNormInf() 42 0.0009239 0.0009239 0.0009239 0.27% Castro::apply_source_to_state() 10 0.000919 0.000919 0.000919 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008863 0.0008863 0.0008863 0.26% FabArrayBase::getCPC() 632 0.0007833 0.0007833 0.0007833 0.23% MLMG::getGradSolution() 6 0.0007455 0.0007455 0.0007455 0.22% MLCellLinOp::compGrad() 6 0.0007422 0.0007422 0.0007422 0.22% MLCellLinOp::setLevelBC() 6 0.0007216 0.0007216 0.0007216 0.21% Castro::enforce_speed_limit() 30 0.0006973 0.0006973 0.0006973 0.21% FabArray::setDomainBndry() 20 0.0006497 0.0006497 0.0006497 0.19% FabArray::mult() 22 0.0006394 0.0006394 0.0006394 0.19% Castro::reset_internal_energy(Fab) 240 0.0006345 0.0006345 0.0006345 0.19% Castro::check_for_nan() 10 0.0006109 0.0006109 0.0006109 0.18% MultiFab::contains_nan() 10 0.0006051 0.0006051 0.0006051 0.18% MLPoisson::prepareForSolve() 6 0.0006044 0.0006044 0.0006044 0.18% MLCellLinOp::prepareForSolve() 6 0.0005938 0.0005938 0.0005938 0.17% MLMG::computeMLResidual() 6 0.0005585 0.0005585 0.0005585 0.16% Gravity::update_max_rhs() 6 0.0004338 0.0004338 0.0004338 0.13% FabArrayBase::CPC::define() 244 0.0004101 0.0004101 0.0004101 0.12% Amr::InitAmr() 1 0.0003849 0.0003849 0.0003849 0.11% FabArrayBase::getFB() 1766 0.0003159 0.0003159 0.0003159 0.09% Castro::finalize_advance() 5 0.0002834 0.0002834 0.0002834 0.08% Gravity::swapTimeLevels() 5 0.0002187 0.0002187 0.0002187 0.06% MLLinOp::define() 6 0.0002169 0.0002169 0.0002169 0.06% MLLinOp::defineGrids() 6 0.0002065 0.0002065 0.0002065 0.06% MLMG::MLResNormInf() 6 0.0001502 0.0001502 0.0001502 0.04% Castro::buildMetrics() 1 0.0001458 0.0001458 0.0001458 0.04% MultiFab::max() 6 0.0001345 0.0001345 0.0001345 0.04% MLMG::MLRhsNormInf() 6 0.0001163 0.0001163 0.0001163 0.03% Castro::create_source_corrector() 5 9.961e-05 9.961e-05 9.961e-05 0.03% FabArrayBase::FB::FB() 26 6.008e-05 6.008e-05 6.008e-05 0.02% Amr::writeSmallPlotFile() 1 2.682e-05 2.682e-05 2.682e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.674e-05 2.674e-05 2.674e-05 0.01% Castro::initMFs() 1 2.515e-05 2.515e-05 2.515e-05 0.01% Castro::swap_state_time_levels() 5 2.275e-05 2.275e-05 2.275e-05 0.01% makeSFC 30 2.007e-05 2.007e-05 2.007e-05 0.01% Castro::finalize_do_advance() 5 1.96e-05 1.96e-05 1.96e-05 0.01% Amr::initSubcycle() 1 9.069e-06 9.069e-06 9.069e-06 0.00% DistributionMapping::Distribute() 31 8.833e-06 8.833e-06 8.833e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.512e-06 5.512e-06 5.512e-06 0.00% Gravity::set_mass_offset() 6 1.983e-06 1.983e-06 1.983e-06 0.00% Castro::retry_advance_ctu() 5 1.744e-06 1.744e-06 1.744e-06 0.00% Castro::FluxRegCrseInit 5 1.513e-06 1.513e-06 1.513e-06 0.00% Castro::FluxRegFineAdd() 5 1.137e-06 1.137e-06 1.137e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.024e-06 1.024e-06 1.024e-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 236 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 118 MiB 692 MiB Castro::initMFs() 48 48 59 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB FillPatchIterator::Initialize 160 160 1305 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2694 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 6629 KiB 14 MiB MLMG::prepareForSolve() 361 361 3874 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 220 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 223 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6624 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 15 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2471 B 2048 KiB Gravity::solve_for_phi() 40 40 713 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 19 KiB 2048 KiB BndryData::define() 576 576 356 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 228 KiB 671 KiB Castro::estTimeStep() 10 10 2771 B 480 KiB VisMF::Write(FabArray) 112 112 1425 B 320 KiB Castro::normalize_species() 30 30 6409 B 320 KiB amrex::average_down 469 469 1324 B 257 KiB MLMG::addInterpCorrection() 468 468 1261 B 257 KiB amrex::Dot() 592 592 3665 B 160 KiB FabArray::norminf() 398 398 2618 B 160 KiB Castro::do_advance_ctu() 5 5 595 B 160 KiB MultiFab::max() 6 6 61 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 34 B 20 KiB MLPoisson::Fsmooth() 60 60 3768 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 56 B 10 KiB FillBoundary_nowait() 336 336 322 B 9648 B MLCellLinOp::applyBC() 3892 3892 247 B 9344 B amrex::Copy() 56 56 5928 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 54 B 2880 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 129 B 1472 B MLCellLinOp::defineBC() 36 36 400 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1582 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 128 KiB 8192 KiB VisMF::Write(FabArray) 120 120 281 KiB 3584 KiB VisMF::Read() 24 24 222 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3768 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 57 B 10 KiB FillBoundary_nowait() 336 336 322 B 9648 B MLCellLinOp::applyBC() 1946 1946 245 B 9328 B amrex::Copy() 56 56 5928 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2608 B 3072 B StateData::FillBoundary(geom) 960 960 54 B 2880 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 558 B 1296 B amrex::average_down 37 37 219 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 26 B 400 B FabArray::norminf() 398 398 18 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [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.05-19-gf4f6ae9184d2) finalized