Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-14-g81e1ac377d54) initialized Starting run at 08:11:12 UTC on 2023-05-17. Successfully read inputs file ... Castro git describe: 23.05-12-g8a42238f1 AMReX git describe: 23.05-14-g81e1ac377 Microphysics git describe: 23.05-7-g600b619d 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.058315849 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033281809 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.046687226 [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.048509883 [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.049898738 [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.057642323 [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.064900295 [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.05732402 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.074130751 [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.064614041 [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.064100081 [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.057274356 [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.066577762 [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.057359639 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.032903884 seconds Ending run at 08:11:13 UTC on 2023-05-17. Run time = 0.881704515 Run time without initialization = 0.742609527 Average number of zones advanced per microsecond: 3.530 Average number of zones advanced per microsecond per rank: 3.530 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8817 ... 0.8817 ... 0.8817 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2370 0.2370 0.2370 26.88% VisMF::Write(FabArray) 11 0.2323 0.2323 0.2323 26.35% MLCellLinOp::applyBC() 4433 0.07542 0.07542 0.07542 8.55% MLPoisson::Fsmooth() 3280 0.03175 0.03175 0.03175 3.60% FillBoundary_nowait() 4023 0.03155 0.03155 0.03155 3.58% StateData::FillBoundary(geom) 328 0.02424 0.02424 0.02424 2.75% amrex::Dot() 1114 0.01975 0.01975 0.01975 2.24% Castro::normalize_species() 62 0.0162 0.0162 0.0162 1.84% amrex::Copy() 1029 0.01449 0.01449 0.01449 1.64% FabArray::norminf() 743 0.01394 0.01394 0.01394 1.58% Castro::computeTemp() 63 0.01358 0.01358 0.01358 1.54% FabArray::ParallelCopy_nowait() 861 0.0129 0.0129 0.0129 1.46% FabArray::setVal() 1144 0.01275 0.01275 0.01275 1.45% StateDataPhysBCFunct::() 41 0.01241 0.01241 0.01241 1.41% Castro::enforce_min_density() 62 0.01218 0.01218 0.01218 1.38% MLPoisson::Fapply() 1142 0.01007 0.01007 0.01007 1.14% MLCellLinOp::defineAuxData() 11 0.009209 0.009209 0.009209 1.04% FabArray::Saxpy() 813 0.007988 0.007988 0.007988 0.91% FabArray::Xpay() 821 0.007823 0.007823 0.007823 0.89% Gravity::fill_multipole_BCs() 11 0.006498 0.006498 0.006498 0.74% MLMG::addInterpCorrection() 410 0.006486 0.006486 0.006486 0.74% amrex::average_down 410 0.005807 0.005807 0.005807 0.66% FabArray::LinComb() 557 0.00439 0.00439 0.00439 0.50% amrex::Add() 164 0.004352 0.004352 0.004352 0.49% Castro::reset_internal_energy(MultiFab) 63 0.004282 0.004282 0.004282 0.49% Castro::estTimeStep() 21 0.004269 0.004269 0.004269 0.48% Amr::checkPoint() 3 0.003967 0.003967 0.003967 0.45% BndryData::define() 11 0.003478 0.003478 0.003478 0.39% Castro::do_advance_ctu() 10 0.003274 0.003274 0.003274 0.37% Castro::construct_new_gravity_source() 10 0.00326 0.00326 0.00326 0.37% Castro::construct_old_gravity_source() 10 0.002712 0.002712 0.002712 0.31% Amr::writePlotFile() 2 0.00243 0.00243 0.00243 0.28% MLCGSolver::bicgstab 82 0.00212 0.00212 0.00212 0.24% Castro::subcycle_advance_ctu() 10 0.002012 0.002012 0.002012 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001613 0.001613 0.001613 0.18% Gravity::actual_solve_with_mlmg() 11 0.001481 0.001481 0.001481 0.17% Castro::reset_internal_energy(Fab) 504 0.001388 0.001388 0.001388 0.16% MLCellLinOp::setLevelBC() 11 0.001363 0.001363 0.001363 0.15% FabArray::mult() 43 0.001318 0.001318 0.001318 0.15% FabArray::setDomainBndry() 41 0.001273 0.001273 0.001273 0.14% MultiFab::contains_nan() 20 0.001212 0.001212 0.001212 0.14% Castro::initData() 1 0.001202 0.001202 0.001202 0.14% Castro::enforce_speed_limit() 62 0.001188 0.001188 0.001188 0.13% MLCellLinOp::prepareForSolve() 11 0.001095 0.001095 0.001095 0.12% MLCellLinOp::smooth() 1640 0.001044 0.001044 0.001044 0.12% MLCellLinOp::compGrad() 11 0.000899 0.000899 0.000899 0.10% MLMG::prepareForSolve() 11 0.000867 0.000867 0.000867 0.10% FabArray::FillBoundary() 4023 0.0007856 0.0007856 0.0007856 0.09% FabArrayBase::getCPC() 1323 0.0007156 0.0007156 0.0007156 0.08% FabArrayBase::CPC::define() 454 0.0006733 0.0006733 0.0006733 0.08% Gravity::get_new_grav_vector() 11 0.0006309 0.0006309 0.0006309 0.07% FabArrayBase::getFB() 4023 0.0005635 0.0005635 0.0005635 0.06% Gravity::get_old_grav_vector() 10 0.0005476 0.0005476 0.0005476 0.06% Amr::InitAmr() 1 0.0004499 0.0004499 0.0004499 0.05% MLCellLinOp::apply() 1142 0.0004255 0.0004255 0.0004255 0.05% Amr::coarseTimeStep() 10 0.0003994 0.0003994 0.0003994 0.05% MLLinOp::defineGrids() 11 0.0003646 0.0003646 0.0003646 0.04% MLMG::mgVcycle() 82 0.0003344 0.0003344 0.0003344 0.04% main() 1 0.0002926 0.0002926 0.0002926 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002851 0.0002851 0.0002851 0.03% MultiFab::max() 11 0.0002532 0.0002532 0.0002532 0.03% FillPatchIterator::Initialize 41 0.0002432 0.0002432 0.0002432 0.03% FabArray::ParallelCopy() 861 0.0002372 0.0002372 0.0002372 0.03% MLCellLinOp::defineBC() 11 0.0002151 0.0002151 0.0002151 0.02% MLCellLinOp::correctionResidual() 492 0.0002104 0.0002104 0.0002104 0.02% Castro::create_source_corrector() 10 0.0001863 0.0001863 0.0001863 0.02% Amr::timeStep() 10 0.0001685 0.0001685 0.0001685 0.02% StateData::checkPoint() 12 0.0001416 0.0001416 0.0001416 0.02% Gravity::update_max_rhs() 11 0.0001281 0.0001281 0.0001281 0.01% MLMG:computeResOfCorrection() 410 0.0001112 0.0001112 0.0001112 0.01% Gravity::solve_for_phi() 10 0.0001052 0.0001052 0.0001052 0.01% Castro::Castro() 1 9.283e-05 9.283e-05 9.283e-05 0.01% MLMG::actualBottomSolve() 82 9.011e-05 9.011e-05 9.011e-05 0.01% FabArrayBase::FB::FB() 56 8.629e-05 8.629e-05 8.629e-05 0.01% MLMG::mgVcycle_down::0 82 8.535e-05 8.535e-05 8.535e-05 0.01% Castro::clean_state() 62 8.082e-05 8.082e-05 8.082e-05 0.01% Castro::expand_state() 10 7.921e-05 7.921e-05 7.921e-05 0.01% MLMG::mgVcycle_down::2 82 7.91e-05 7.91e-05 7.91e-05 0.01% MLMG::mgVcycle_down::1 82 7.849e-05 7.849e-05 7.849e-05 0.01% AmrLevel::checkPoint() 3 7.575e-05 7.575e-05 7.575e-05 0.01% MLMG::solve() 11 7.51e-05 7.51e-05 7.51e-05 0.01% MLMG::mgVcycle_down::3 82 7.498e-05 7.498e-05 7.498e-05 0.01% Castro::advance() 10 7.311e-05 7.311e-05 7.311e-05 0.01% MLMG::mgVcycle_down::4 82 7.309e-05 7.309e-05 7.309e-05 0.01% Castro::initialize_advance() 10 7.147e-05 7.147e-05 7.147e-05 0.01% Castro::finalize_advance() 10 6.441e-05 6.441e-05 6.441e-05 0.01% MLMG::mgVcycle_up::4 82 5.953e-05 5.953e-05 5.953e-05 0.01% MLMG::oneIter() 82 5.714e-05 5.714e-05 5.714e-05 0.01% Castro::initialize_do_advance() 10 5.274e-05 5.274e-05 5.274e-05 0.01% MLMG::mgVcycle_up::1 82 4.977e-05 4.977e-05 4.977e-05 0.01% MLMG::mgVcycle_up::3 82 4.951e-05 4.951e-05 4.951e-05 0.01% MLCellLinOp::solutionResidual() 93 4.92e-05 4.92e-05 4.92e-05 0.01% MLMG::mgVcycle_up::0 82 4.789e-05 4.789e-05 4.789e-05 0.01% MLMG::mgVcycle_up::2 82 4.778e-05 4.778e-05 4.778e-05 0.01% Castro::swap_state_time_levels() 10 3.751e-05 3.751e-05 3.751e-05 0.00% StateData::define() 4 3.6e-05 3.6e-05 3.6e-05 0.00% Castro::finalize_do_advance() 10 3.577e-05 3.577e-05 3.577e-05 0.00% Castro::initMFs() 1 3.415e-05 3.415e-05 3.415e-05 0.00% MLMG::ResNormInf() 93 3.303e-05 3.303e-05 3.303e-05 0.00% MLMG::mgVcycle_bottom 82 3.235e-05 3.235e-05 3.235e-05 0.00% Castro::enforce_consistent_e() 1 3.201e-05 3.201e-05 3.201e-05 0.00% FillPatchSingleLevel 41 3.101e-05 3.101e-05 3.101e-05 0.00% MLMG::computeResidual() 82 3.066e-05 3.066e-05 3.066e-05 0.00% MLPoisson::define() 11 2.668e-05 2.668e-05 2.668e-05 0.00% makeSFC 55 2.606e-05 2.606e-05 2.606e-05 0.00% Amr::writeSmallPlotFile() 1 2.513e-05 2.513e-05 2.513e-05 0.00% Amr::defBaseLevel() 1 2.375e-05 2.375e-05 2.375e-05 0.00% Castro::construct_new_gravity() 10 2.243e-05 2.243e-05 2.243e-05 0.00% Amr::FinalizeInit() 1 2.228e-05 2.228e-05 2.228e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.213e-05 2.213e-05 2.213e-05 0.00% Castro::construct_new_source() 50 2.041e-05 2.041e-05 2.041e-05 0.00% Castro::buildMetrics() 1 1.793e-05 1.793e-05 1.793e-05 0.00% Castro::construct_old_source() 50 1.785e-05 1.785e-05 1.785e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.747e-05 1.747e-05 1.747e-05 0.00% MLPoisson::prepareForSolve() 11 1.616e-05 1.616e-05 1.616e-05 0.00% DistributionMapping::Distribute() 56 1.567e-05 1.567e-05 1.567e-05 0.00% Castro::do_new_sources() 10 1.558e-05 1.558e-05 1.558e-05 0.00% Castro::do_old_sources() 10 1.479e-05 1.479e-05 1.479e-05 0.00% MLMG::computeMLResidual() 11 1.47e-05 1.47e-05 1.47e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.406e-05 1.406e-05 1.406e-05 0.00% Castro::check_for_nan() 20 1.163e-05 1.163e-05 1.163e-05 0.00% Castro::apply_source_to_state() 20 1.11e-05 1.11e-05 1.11e-05 0.00% MLLinOp::define() 11 1.102e-05 1.102e-05 1.102e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.055e-05 1.055e-05 1.055e-05 0.00% Amr::initSubcycle() 1 8.992e-06 8.992e-06 8.992e-06 0.00% Gravity::actual_multilevel_solve() 1 8.747e-06 8.747e-06 8.747e-06 0.00% Castro::construct_old_gravity() 10 8.734e-06 8.734e-06 8.734e-06 0.00% Gravity::swapTimeLevels() 10 8.211e-06 8.211e-06 8.211e-06 0.00% Castro::post_timestep() 10 7.849e-06 7.849e-06 7.849e-06 0.00% Castro::computeNewDt() 9 7.506e-06 7.506e-06 7.506e-06 0.00% MLMG::getGradSolution() 11 6.234e-06 6.234e-06 6.234e-06 0.00% AmrLevel::checkPointPost() 3 5.372e-06 5.372e-06 5.372e-06 0.00% Castro::retry_advance_ctu() 10 4.887e-06 4.887e-06 4.887e-06 0.00% Gravity::set_mass_offset() 11 4.73e-06 4.73e-06 4.73e-06 0.00% Amr::InitializeInit() 1 4.6e-06 4.6e-06 4.6e-06 0.00% Castro::post_init() 1 4.088e-06 4.088e-06 4.088e-06 0.00% MLMG::MLRhsNormInf() 11 3.861e-06 3.861e-06 3.861e-06 0.00% MLMG::MLResNormInf() 11 3.77e-06 3.77e-06 3.77e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.608e-06 3.608e-06 3.608e-06 0.00% Castro::computeInitialDt() 2 3.329e-06 3.329e-06 3.329e-06 0.00% Castro::FluxRegFineAdd() 10 3.236e-06 3.236e-06 3.236e-06 0.00% Amr::init() 1 3.207e-06 3.207e-06 3.207e-06 0.00% Castro::FluxRegCrseInit 10 2.853e-06 2.853e-06 2.853e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.756e-06 1.756e-06 1.756e-06 0.00% AmrLevel::checkPointPre() 3 1.755e-06 1.755e-06 1.755e-06 0.00% Amr::initialInit() 1 1.035e-06 1.035e-06 1.035e-06 0.00% Castro::post_regrid() 1 9.75e-07 9.75e-07 9.75e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8817 0.8817 0.8817 100.00% Amr::coarseTimeStep() 10 0.7095 0.7095 0.7095 80.46% Amr::timeStep() 10 0.5918 0.5918 0.5918 67.12% Castro::advance() 10 0.5838 0.5838 0.5838 66.21% Castro::subcycle_advance_ctu() 10 0.5717 0.5717 0.5717 64.84% Castro::do_advance_ctu() 10 0.5697 0.5697 0.5697 64.61% Gravity::solve_phi_with_mlmg() 11 0.2772 0.2772 0.2772 31.44% Gravity::actual_solve_with_mlmg() 11 0.2702 0.2702 0.2702 30.65% Castro::construct_new_gravity() 10 0.2533 0.2533 0.2533 28.73% MLMG::solve() 11 0.2504 0.2504 0.2504 28.40% Gravity::solve_for_phi() 10 0.2379 0.2379 0.2379 26.98% Castro::construct_ctu_hydro_source() 10 0.237 0.237 0.237 26.88% MLMG::oneIter() 82 0.2364 0.2364 0.2364 26.81% MLMG::mgVcycle() 82 0.2327 0.2327 0.2327 26.39% VisMF::Write(FabArray) 11 0.2323 0.2323 0.2323 26.35% Amr::checkPoint() 3 0.1731 0.1731 0.1731 19.63% AmrLevel::checkPoint() 3 0.1691 0.1691 0.1691 19.18% StateData::checkPoint() 12 0.1691 0.1691 0.1691 19.18% Amr::init() 1 0.1385 0.1385 0.1385 15.71% MLCellLinOp::smooth() 1640 0.1157 0.1157 0.1157 13.12% MLCellLinOp::applyBC() 4433 0.1084 0.1084 0.1084 12.29% MLMG::mgVcycle_bottom 82 0.07112 0.07112 0.07112 8.07% MLMG::actualBottomSolve() 82 0.07109 0.07109 0.07109 8.06% MLCGSolver::bicgstab 82 0.07042 0.07042 0.07042 7.99% Amr::writePlotFile() 2 0.06633 0.06633 0.06633 7.52% Castro::clean_state() 62 0.04815 0.04815 0.04815 5.46% Amr::initialInit() 1 0.04677 0.04677 0.04677 5.30% Amr::FinalizeInit() 1 0.04303 0.04303 0.04303 4.88% FillPatchIterator::Initialize 41 0.04221 0.04221 0.04221 4.79% Castro::post_init() 1 0.04168 0.04168 0.04168 4.73% FillPatchSingleLevel 41 0.0407 0.0407 0.0407 4.62% Gravity::multilevel_solve_for_new_phi() 1 0.0397 0.0397 0.0397 4.50% Gravity::actual_multilevel_solve() 1 0.03968 0.03968 0.03968 4.50% StateDataPhysBCFunct::() 41 0.03665 0.03665 0.03665 4.16% MLCellLinOp::apply() 1142 0.03552 0.03552 0.03552 4.03% MLMG::mgVcycle_down::0 82 0.03369 0.03369 0.03369 3.82% FabArray::FillBoundary() 4023 0.03299 0.03299 0.03299 3.74% FillBoundary_nowait() 4023 0.0322 0.0322 0.0322 3.65% MLPoisson::Fsmooth() 3280 0.03175 0.03175 0.03175 3.60% MLMG::mgVcycle_up::0 82 0.02565 0.02565 0.02565 2.91% StateData::FillBoundary(geom) 328 0.02424 0.02424 0.02424 2.75% MLCellLinOp::correctionResidual() 492 0.02178 0.02178 0.02178 2.47% amrex::Dot() 1114 0.01975 0.01975 0.01975 2.24% Castro::initialize_do_advance() 10 0.01964 0.01964 0.01964 2.23% Castro::computeTemp() 63 0.01925 0.01925 0.01925 2.18% MLMG:computeResOfCorrection() 410 0.01923 0.01923 0.01923 2.18% Gravity::get_new_grav_vector() 11 0.01714 0.01714 0.01714 1.94% Castro::normalize_species() 62 0.0162 0.0162 0.0162 1.84% MLPoisson::define() 11 0.01557 0.01557 0.01557 1.77% MLMG::mgVcycle_down::1 82 0.0154 0.0154 0.0154 1.75% Castro::construct_old_gravity() 10 0.01474 0.01474 0.01474 1.67% Gravity::get_old_grav_vector() 10 0.01473 0.01473 0.01473 1.67% amrex::Copy() 1029 0.01449 0.01449 0.01449 1.64% MLMG::mgVcycle_down::2 82 0.01446 0.01446 0.01446 1.64% MLMG::mgVcycle_down::3 82 0.01408 0.01408 0.01408 1.60% FabArray::norminf() 743 0.01394 0.01394 0.01394 1.58% FabArray::ParallelCopy() 861 0.01393 0.01393 0.01393 1.58% MLMG::mgVcycle_down::4 82 0.01388 0.01388 0.01388 1.57% FabArray::ParallelCopy_nowait() 861 0.01369 0.01369 0.01369 1.55% FabArray::setVal() 1144 0.01275 0.01275 0.01275 1.45% Castro::do_old_sources() 10 0.01239 0.01239 0.01239 1.41% Castro::enforce_min_density() 62 0.01218 0.01218 0.01218 1.38% MLCGSolver::ParallelAllReduce 1514 0.01186 0.01186 0.01186 1.34% Castro::do_new_sources() 10 0.01182 0.01182 0.01182 1.34% Castro::expand_state() 10 0.0116 0.0116 0.0116 1.32% Castro::initialize_advance() 10 0.01144 0.01144 0.01144 1.30% MLMG::addInterpCorrection() 410 0.0114 0.0114 0.0114 1.29% MLMG::mgVcycle_up::1 82 0.01125 0.01125 0.01125 1.28% MLMG::mgVcycle_up::4 82 0.01113 0.01113 0.01113 1.26% MLMG::mgVcycle_up::2 82 0.01097 0.01097 0.01097 1.24% amrex::average_down 410 0.01081 0.01081 0.01081 1.23% MLMG::mgVcycle_up::3 82 0.01073 0.01073 0.01073 1.22% MLCellLinOp::defineAuxData() 11 0.01048 0.01048 0.01048 1.19% MLPoisson::Fapply() 1142 0.01007 0.01007 0.01007 1.14% FabArray::Saxpy() 813 0.007988 0.007988 0.007988 0.91% FabArray::Xpay() 821 0.007823 0.007823 0.007823 0.89% Castro::post_timestep() 10 0.00778 0.00778 0.00778 0.88% MLCellLinOp::solutionResidual() 93 0.00707 0.00707 0.00707 0.80% Gravity::fill_multipole_BCs() 11 0.006732 0.006732 0.006732 0.76% MLMG::computeResidual() 82 0.006106 0.006106 0.006106 0.69% Castro::reset_internal_energy(MultiFab) 63 0.00567 0.00567 0.00567 0.64% MLCellLinOp::defineBC() 11 0.004631 0.004631 0.004631 0.53% MLMG::prepareForSolve() 11 0.004526 0.004526 0.004526 0.51% BndryData::define() 11 0.004416 0.004416 0.004416 0.50% FabArray::LinComb() 557 0.00439 0.00439 0.00439 0.50% amrex::Add() 164 0.004352 0.004352 0.004352 0.49% Castro::estTimeStep() 21 0.004269 0.004269 0.004269 0.48% Amr::InitializeInit() 1 0.003737 0.003737 0.003737 0.42% Amr::defBaseLevel() 1 0.003732 0.003732 0.003732 0.42% Castro::construct_new_source() 50 0.00328 0.00328 0.00328 0.37% Castro::construct_new_gravity_source() 10 0.00326 0.00326 0.00326 0.37% Castro::initData() 1 0.00319 0.00319 0.00319 0.36% Castro::construct_old_source() 50 0.00273 0.00273 0.00273 0.31% Castro::construct_old_gravity_source() 10 0.002712 0.002712 0.002712 0.31% MLMG::ResNormInf() 93 0.002095 0.002095 0.002095 0.24% Castro::computeNewDt() 9 0.001896 0.001896 0.001896 0.22% Castro::apply_source_to_state() 20 0.001812 0.001812 0.001812 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001613 0.001613 0.001613 0.18% FabArrayBase::getCPC() 1323 0.001389 0.001389 0.001389 0.16% Castro::reset_internal_energy(Fab) 504 0.001388 0.001388 0.001388 0.16% MLMG::getGradSolution() 11 0.001382 0.001382 0.001382 0.16% MLCellLinOp::compGrad() 11 0.001375 0.001375 0.001375 0.16% MLCellLinOp::setLevelBC() 11 0.001363 0.001363 0.001363 0.15% FabArray::mult() 43 0.001318 0.001318 0.001318 0.15% FabArray::setDomainBndry() 41 0.001273 0.001273 0.001273 0.14% Castro::check_for_nan() 20 0.001223 0.001223 0.001223 0.14% MultiFab::contains_nan() 20 0.001212 0.001212 0.001212 0.14% Castro::enforce_speed_limit() 62 0.001188 0.001188 0.001188 0.13% Castro::post_regrid() 1 0.001113 0.001113 0.001113 0.13% MLPoisson::prepareForSolve() 11 0.001111 0.001111 0.001111 0.13% MLCellLinOp::prepareForSolve() 11 0.001095 0.001095 0.001095 0.12% MLMG::computeMLResidual() 11 0.001009 0.001009 0.001009 0.11% Castro::computeInitialDt() 2 0.0008484 0.0008484 0.0008484 0.10% Gravity::update_max_rhs() 11 0.0008176 0.0008176 0.0008176 0.09% FabArrayBase::CPC::define() 454 0.0006733 0.0006733 0.0006733 0.08% FabArrayBase::getFB() 4023 0.0006498 0.0006498 0.0006498 0.07% Castro::finalize_advance() 10 0.0005966 0.0005966 0.0005966 0.07% Castro::Castro() 1 0.0004664 0.0004664 0.0004664 0.05% Amr::InitAmr() 1 0.0004589 0.0004589 0.0004589 0.05% Gravity::swapTimeLevels() 10 0.0004392 0.0004392 0.0004392 0.05% MLLinOp::define() 11 0.0004316 0.0004316 0.0004316 0.05% MLLinOp::defineGrids() 11 0.0004206 0.0004206 0.0004206 0.05% MLMG::MLResNormInf() 11 0.0002936 0.0002936 0.0002936 0.03% MultiFab::max() 11 0.0002532 0.0002532 0.0002532 0.03% MLMG::MLRhsNormInf() 11 0.0002177 0.0002177 0.0002177 0.02% Castro::create_source_corrector() 10 0.0001863 0.0001863 0.0001863 0.02% Castro::buildMetrics() 1 0.0001617 0.0001617 0.0001617 0.02% FabArrayBase::FB::FB() 56 8.629e-05 8.629e-05 8.629e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.416e-05 5.416e-05 5.416e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.655e-05 4.655e-05 4.655e-05 0.01% makeSFC 55 4.01e-05 4.01e-05 4.01e-05 0.00% Castro::swap_state_time_levels() 10 3.751e-05 3.751e-05 3.751e-05 0.00% StateData::define() 4 3.6e-05 3.6e-05 3.6e-05 0.00% Castro::finalize_do_advance() 10 3.577e-05 3.577e-05 3.577e-05 0.00% Castro::initMFs() 1 3.415e-05 3.415e-05 3.415e-05 0.00% Castro::enforce_consistent_e() 1 3.201e-05 3.201e-05 3.201e-05 0.00% Amr::writeSmallPlotFile() 1 2.513e-05 2.513e-05 2.513e-05 0.00% DistributionMapping::Distribute() 56 1.567e-05 1.567e-05 1.567e-05 0.00% Amr::initSubcycle() 1 8.992e-06 8.992e-06 8.992e-06 0.00% AmrLevel::checkPointPost() 3 5.372e-06 5.372e-06 5.372e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.237e-06 5.237e-06 5.237e-06 0.00% Castro::retry_advance_ctu() 10 4.887e-06 4.887e-06 4.887e-06 0.00% Gravity::set_mass_offset() 11 4.73e-06 4.73e-06 4.73e-06 0.00% Castro::FluxRegFineAdd() 10 3.236e-06 3.236e-06 3.236e-06 0.00% Castro::FluxRegCrseInit 10 2.853e-06 2.853e-06 2.853e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.756e-06 1.756e-06 1.756e-06 0.00% AmrLevel::checkPointPre() 3 1.755e-06 1.755e-06 1.755e-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 127 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 1029 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2112 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7608 KiB 14 MiB MLMG::prepareForSolve() 660 660 3495 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 202 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 171 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7529 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1769 B 2048 KiB Gravity::solve_for_phi() 80 80 551 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 92 KiB 2048 KiB BndryData::define() 1056 1056 318 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 202 KiB 671 KiB Castro::estTimeStep() 21 21 2290 B 480 KiB VisMF::Write(FabArray) 656 656 3326 B 320 KiB Castro::normalize_species() 62 62 5985 B 320 KiB amrex::average_down 1067 1067 1234 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1116 B 257 KiB amrex::Dot() 1360 1360 3304 B 160 KiB FabArray::norminf() 907 907 2339 B 160 KiB Castro::do_advance_ctu() 10 10 562 B 160 KiB MultiFab::max() 11 11 44 B 160 KiB Castro::initData() 1 1 26 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3417 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 314 B 9648 B MLCellLinOp::applyBC() 8866 8866 220 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3855 B 6144 B StateData::FillBoundary(geom) 1992 1992 47 B 3072 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 359 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 623 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 610 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3417 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 313 B 9648 B MLCellLinOp::applyBC() 4433 4433 218 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3855 B 6144 B StateData::FillBoundary(geom) 1992 1992 47 B 3072 B Gravity::get_new_grav_vector() 3 3 2910 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 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 291 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-14-g81e1ac377d54) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-14-g81e1ac377d54) initialized Starting run at 08:11:14 UTC on 2023-05-17. Successfully read inputs file ... Castro git describe: 23.05-12-g8a42238f1 AMReX git describe: 23.05-14-g81e1ac377 Microphysics git describe: 23.05-7-g600b619d reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.464064304 Restart time = 0.044849694 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.048616531 [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.046370025 [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.046477149 [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.046178104 [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.060242685 [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.032567212 seconds Ending run at 08:11:14 UTC on 2023-05-17. Run time = 0.326334955 Run time without initialization = 0.280871104 Average number of zones advanced per microsecond: 4.667 Average number of zones advanced per microsecond per rank: 4.667 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3264 ... 0.3264 ... 0.3264 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.0719 0.0719 0.0719 22.03% VisMF::Read() 3 0.03866 0.03866 0.03866 11.85% MLCellLinOp::applyBC() 1946 0.03244 0.03244 0.03244 9.94% VisMF::Write(FabArray) 1 0.03105 0.03105 0.03105 9.51% MLPoisson::Fsmooth() 1440 0.01349 0.01349 0.01349 4.13% FillBoundary_nowait() 1766 0.0132 0.0132 0.0132 4.04% StateData::FillBoundary(geom) 160 0.01152 0.01152 0.01152 3.53% amrex::Dot() 484 0.008437 0.008437 0.008437 2.59% Castro::normalize_species() 30 0.007193 0.007193 0.007193 2.20% amrex::Copy() 463 0.006774 0.006774 0.006774 2.08% FabArray::setVal() 537 0.006069 0.006069 0.006069 1.86% FabArray::norminf() 326 0.00601 0.00601 0.00601 1.84% FabArray::ParallelCopy_nowait() 380 0.005846 0.005846 0.005846 1.79% Castro::computeTemp() 30 0.005623 0.005623 0.005623 1.72% StateDataPhysBCFunct::() 20 0.005599 0.005599 0.005599 1.72% MLCellLinOp::defineAuxData() 6 0.005044 0.005044 0.005044 1.55% MLPoisson::Fapply() 500 0.00429 0.00429 0.00429 1.31% Castro::enforce_min_density() 30 0.003935 0.003935 0.003935 1.21% FabArray::Saxpy() 355 0.003543 0.003543 0.003543 1.09% FabArray::Xpay() 361 0.003385 0.003385 0.003385 1.04% Gravity::fill_multipole_BCs() 6 0.00331 0.00331 0.00331 1.01% Castro::reset_internal_energy(MultiFab) 30 0.002963 0.002963 0.002963 0.91% Castro::estTimeStep() 10 0.002889 0.002889 0.002889 0.89% MLMG::addInterpCorrection() 180 0.002782 0.002782 0.002782 0.85% amrex::average_down 180 0.002513 0.002513 0.002513 0.77% Amr::restart() 1 0.002506 0.002506 0.002506 0.77% BndryData::define() 6 0.001891 0.001891 0.001891 0.58% FabArray::LinComb() 242 0.001856 0.001856 0.001856 0.57% amrex::Add() 72 0.001829 0.001829 0.001829 0.56% Castro::construct_new_gravity_source() 5 0.001681 0.001681 0.001681 0.51% Castro::construct_old_gravity_source() 5 0.001398 0.001398 0.001398 0.43% Amr::writePlotFile() 1 0.001358 0.001358 0.001358 0.42% Castro::do_advance_ctu() 5 0.001176 0.001176 0.001176 0.36% MLCGSolver::bicgstab 36 0.0009307 0.0009307 0.0009307 0.29% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008902 0.0008902 0.0008902 0.27% Gravity::actual_solve_with_mlmg() 6 0.0007688 0.0007688 0.0007688 0.24% MLCellLinOp::setLevelBC() 6 0.0007242 0.0007242 0.0007242 0.22% Castro::reset_internal_energy(Fab) 240 0.0006531 0.0006531 0.0006531 0.20% FabArray::mult() 22 0.0006397 0.0006397 0.0006397 0.20% FabArray::setDomainBndry() 20 0.0006311 0.0006311 0.0006311 0.19% MultiFab::contains_nan() 10 0.0005942 0.0005942 0.0005942 0.18% MLCellLinOp::prepareForSolve() 6 0.0005889 0.0005889 0.0005889 0.18% Castro::enforce_speed_limit() 30 0.0005282 0.0005282 0.0005282 0.16% MLMG::prepareForSolve() 6 0.0004803 0.0004803 0.0004803 0.15% MLCellLinOp::compGrad() 6 0.0004798 0.0004798 0.0004798 0.15% MLCellLinOp::smooth() 720 0.0004474 0.0004474 0.0004474 0.14% Amr::InitAmr() 1 0.0004249 0.0004249 0.0004249 0.13% FabArrayBase::CPC::define() 244 0.000423 0.000423 0.000423 0.13% FabArray::FillBoundary() 1766 0.0003578 0.0003578 0.0003578 0.11% FabArrayBase::getCPC() 632 0.0003428 0.0003428 0.0003428 0.11% Gravity::get_old_grav_vector() 5 0.0003002 0.0003002 0.0003002 0.09% main() 1 0.000291 0.000291 0.000291 0.09% Gravity::get_new_grav_vector() 5 0.0002711 0.0002711 0.0002711 0.08% FabArrayBase::getFB() 1766 0.0002438 0.0002438 0.0002438 0.07% MLCellLinOp::apply() 500 0.000188 0.000188 0.000188 0.06% Amr::coarseTimeStep() 5 0.0001546 0.0001546 0.0001546 0.05% MLMG::mgVcycle() 36 0.0001491 0.0001491 0.0001491 0.05% MLLinOp::defineGrids() 6 0.0001425 0.0001425 0.0001425 0.04% MultiFab::max() 6 0.0001358 0.0001358 0.0001358 0.04% MLCellLinOp::defineBC() 6 0.000135 0.000135 0.000135 0.04% MLCGSolver::ParallelAllReduce 659 0.0001233 0.0001233 0.0001233 0.04% FillPatchIterator::Initialize 20 0.0001135 0.0001135 0.0001135 0.03% Castro::subcycle_advance_ctu() 5 0.0001098 0.0001098 0.0001098 0.03% FabArray::ParallelCopy() 380 0.0001057 0.0001057 0.0001057 0.03% Castro::create_source_corrector() 5 0.0001006 0.0001006 0.0001006 0.03% Amr::timeStep() 5 0.0001006 0.0001006 0.0001006 0.03% MLCellLinOp::correctionResidual() 216 9.417e-05 9.417e-05 9.417e-05 0.03% AmrLevel::restart() 1 7.818e-05 7.818e-05 7.818e-05 0.02% Gravity::update_max_rhs() 6 7.62e-05 7.62e-05 7.62e-05 0.02% StateData::restartDoit() 4 6.639e-05 6.639e-05 6.639e-05 0.02% Gravity::solve_for_phi() 5 6.637e-05 6.637e-05 6.637e-05 0.02% FabArrayBase::FB::FB() 26 5.888e-05 5.888e-05 5.888e-05 0.02% Castro::advance() 5 5.653e-05 5.653e-05 5.653e-05 0.02% Castro::expand_state() 5 5.049e-05 5.049e-05 5.049e-05 0.02% MLMG:computeResOfCorrection() 180 4.86e-05 4.86e-05 4.86e-05 0.01% Amr::writeSmallPlotFile() 1 4.283e-05 4.283e-05 4.283e-05 0.01% MLMG::actualBottomSolve() 36 4.029e-05 4.029e-05 4.029e-05 0.01% MLMG::mgVcycle_down::0 36 3.919e-05 3.919e-05 3.919e-05 0.01% Castro::clean_state() 30 3.639e-05 3.639e-05 3.639e-05 0.01% Castro::construct_new_source() 25 3.626e-05 3.626e-05 3.626e-05 0.01% MLMG::mgVcycle_down::1 36 3.581e-05 3.581e-05 3.581e-05 0.01% Castro::initialize_advance() 5 3.468e-05 3.468e-05 3.468e-05 0.01% MLMG::mgVcycle_down::4 36 3.445e-05 3.445e-05 3.445e-05 0.01% MLMG::mgVcycle_down::2 36 3.426e-05 3.426e-05 3.426e-05 0.01% MLMG::mgVcycle_down::3 36 3.34e-05 3.34e-05 3.34e-05 0.01% MLMG::solve() 6 3.305e-05 3.305e-05 3.305e-05 0.01% MLMG::mgVcycle_up::4 36 2.799e-05 2.799e-05 2.799e-05 0.01% Castro::buildMetrics() 1 2.755e-05 2.755e-05 2.755e-05 0.01% Castro::initMFs() 1 2.714e-05 2.714e-05 2.714e-05 0.01% Castro::finalize_advance() 5 2.689e-05 2.689e-05 2.689e-05 0.01% Castro::initialize_do_advance() 5 2.677e-05 2.677e-05 2.677e-05 0.01% MLMG::oneIter() 36 2.47e-05 2.47e-05 2.47e-05 0.01% Castro::swap_state_time_levels() 5 2.27e-05 2.27e-05 2.27e-05 0.01% MLCellLinOp::solutionResidual() 42 2.14e-05 2.14e-05 2.14e-05 0.01% MLMG::mgVcycle_up::3 36 2.12e-05 2.12e-05 2.12e-05 0.01% MLMG::mgVcycle_up::2 36 2.114e-05 2.114e-05 2.114e-05 0.01% MLMG::mgVcycle_up::0 36 2.085e-05 2.085e-05 2.085e-05 0.01% MLMG::mgVcycle_up::1 36 2.01e-05 2.01e-05 2.01e-05 0.01% Castro::post_restart() 1 1.947e-05 1.947e-05 1.947e-05 0.01% Castro::finalize_do_advance() 5 1.797e-05 1.797e-05 1.797e-05 0.01% MLMG::ResNormInf() 42 1.709e-05 1.709e-05 1.709e-05 0.01% MLPoisson::define() 6 1.635e-05 1.635e-05 1.635e-05 0.01% Gravity::multilevel_solve_for_new_phi() 1 1.591e-05 1.591e-05 1.591e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.538e-05 1.538e-05 1.538e-05 0.00% FillPatchSingleLevel 20 1.45e-05 1.45e-05 1.45e-05 0.00% MLMG::mgVcycle_bottom 36 1.442e-05 1.442e-05 1.442e-05 0.00% makeSFC 30 1.401e-05 1.401e-05 1.401e-05 0.00% MLMG::computeResidual() 36 1.34e-05 1.34e-05 1.34e-05 0.00% Castro::construct_new_gravity() 5 1.213e-05 1.213e-05 1.213e-05 0.00% Castro::construct_old_source() 25 1.051e-05 1.051e-05 1.051e-05 0.00% MLPoisson::prepareForSolve() 6 1.026e-05 1.026e-05 1.026e-05 0.00% DistributionMapping::Distribute() 31 9.982e-06 9.982e-06 9.982e-06 0.00% MLMG::computeMLResidual() 6 9.467e-06 9.467e-06 9.467e-06 0.00% Amr::initSubcycle() 1 9.421e-06 9.421e-06 9.421e-06 0.00% Castro::do_new_sources() 5 8.66e-06 8.66e-06 8.66e-06 0.00% Castro::do_old_sources() 5 7.759e-06 7.759e-06 7.759e-06 0.00% Gravity::actual_multilevel_solve() 1 7.561e-06 7.561e-06 7.561e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.407e-06 7.407e-06 7.407e-06 0.00% Castro::check_for_nan() 10 5.83e-06 5.83e-06 5.83e-06 0.00% Castro::apply_source_to_state() 10 5.804e-06 5.804e-06 5.804e-06 0.00% MLLinOp::define() 6 5.774e-06 5.774e-06 5.774e-06 0.00% Castro::construct_old_gravity() 5 4.945e-06 4.945e-06 4.945e-06 0.00% Castro::post_timestep() 5 4.546e-06 4.546e-06 4.546e-06 0.00% Castro::computeNewDt() 5 4.072e-06 4.072e-06 4.072e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.864e-06 3.864e-06 3.864e-06 0.00% Gravity::swapTimeLevels() 5 3.613e-06 3.613e-06 3.613e-06 0.00% MLMG::getGradSolution() 6 3.047e-06 3.047e-06 3.047e-06 0.00% MLMG::MLRhsNormInf() 6 2.222e-06 2.222e-06 2.222e-06 0.00% MLMG::MLResNormInf() 6 2.163e-06 2.163e-06 2.163e-06 0.00% Gravity::set_mass_offset() 6 1.926e-06 1.926e-06 1.926e-06 0.00% Castro::retry_advance_ctu() 5 1.666e-06 1.666e-06 1.666e-06 0.00% Castro::FluxRegCrseInit 5 1.639e-06 1.639e-06 1.639e-06 0.00% Castro::FluxRegFineAdd() 5 1.246e-06 1.246e-06 1.246e-06 0.00% Amr::init() 1 1.075e-06 1.075e-06 1.075e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.028e-06 1.028e-06 1.028e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3263 0.3263 0.3263 99.99% Amr::coarseTimeStep() 5 0.248 0.248 0.248 76.00% Amr::timeStep() 5 0.2457 0.2457 0.2457 75.30% Castro::advance() 5 0.2425 0.2425 0.2425 74.30% Castro::subcycle_advance_ctu() 5 0.236 0.236 0.236 72.32% Castro::do_advance_ctu() 5 0.2359 0.2359 0.2359 72.29% Castro::construct_new_gravity() 5 0.1263 0.1263 0.1263 38.71% Gravity::solve_phi_with_mlmg() 6 0.1219 0.1219 0.1219 37.37% Gravity::solve_for_phi() 5 0.119 0.119 0.119 36.45% Gravity::actual_solve_with_mlmg() 6 0.1184 0.1184 0.1184 36.28% MLMG::solve() 6 0.1076 0.1076 0.1076 32.98% MLMG::oneIter() 36 0.1009 0.1009 0.1009 30.91% MLMG::mgVcycle() 36 0.09934 0.09934 0.09934 30.44% Castro::construct_ctu_hydro_source() 5 0.07191 0.07191 0.07191 22.03% MLCellLinOp::smooth() 720 0.04919 0.04919 0.04919 15.07% MLCellLinOp::applyBC() 1946 0.04631 0.04631 0.04631 14.19% Amr::init() 1 0.04489 0.04489 0.04489 13.76% Amr::restart() 1 0.04489 0.04489 0.04489 13.75% AmrLevel::restart() 1 0.03887 0.03887 0.03887 11.91% StateData::restartDoit() 4 0.03878 0.03878 0.03878 11.88% VisMF::Read() 3 0.03866 0.03866 0.03866 11.85% Amr::writePlotFile() 1 0.03266 0.03266 0.03266 10.01% VisMF::Write(FabArray) 1 0.03105 0.03105 0.03105 9.51% MLMG::mgVcycle_bottom 36 0.03045 0.03045 0.03045 9.33% MLMG::actualBottomSolve() 36 0.03043 0.03043 0.03043 9.32% MLCGSolver::bicgstab 36 0.03014 0.03014 0.03014 9.24% Castro::clean_state() 30 0.02093 0.02093 0.02093 6.41% FillPatchIterator::Initialize 20 0.0199 0.0199 0.0199 6.10% FillPatchSingleLevel 20 0.01916 0.01916 0.01916 5.87% StateDataPhysBCFunct::() 20 0.01712 0.01712 0.01712 5.25% MLCellLinOp::apply() 500 0.01527 0.01527 0.01527 4.68% MLMG::mgVcycle_down::0 36 0.01439 0.01439 0.01439 4.41% FabArray::FillBoundary() 1766 0.01386 0.01386 0.01386 4.25% FillBoundary_nowait() 1766 0.0135 0.0135 0.0135 4.14% MLPoisson::Fsmooth() 1440 0.01349 0.01349 0.01349 4.13% StateData::FillBoundary(geom) 160 0.01152 0.01152 0.01152 3.53% MLMG::mgVcycle_up::0 36 0.0108 0.0108 0.0108 3.31% Castro::initialize_do_advance() 5 0.009454 0.009454 0.009454 2.90% MLCellLinOp::correctionResidual() 216 0.009282 0.009282 0.009282 2.84% Castro::computeTemp() 30 0.009239 0.009239 0.009239 2.83% MLPoisson::define() 6 0.008543 0.008543 0.008543 2.62% amrex::Dot() 484 0.008437 0.008437 0.008437 2.59% MLMG:computeResOfCorrection() 180 0.008168 0.008168 0.008168 2.50% Gravity::get_new_grav_vector() 5 0.007264 0.007264 0.007264 2.23% Castro::do_new_sources() 5 0.00722 0.00722 0.00722 2.21% Castro::normalize_species() 30 0.007193 0.007193 0.007193 2.20% Castro::construct_old_gravity() 5 0.007066 0.007066 0.007066 2.17% Gravity::get_old_grav_vector() 5 0.007062 0.007062 0.007062 2.16% amrex::Copy() 463 0.006774 0.006774 0.006774 2.08% MLMG::mgVcycle_down::1 36 0.006593 0.006593 0.006593 2.02% FabArray::ParallelCopy() 380 0.00633 0.00633 0.00633 1.94% FabArray::ParallelCopy_nowait() 380 0.006224 0.006224 0.006224 1.91% MLMG::mgVcycle_down::2 36 0.006157 0.006157 0.006157 1.89% Castro::initialize_advance() 5 0.006127 0.006127 0.006127 1.88% FabArray::setVal() 537 0.006069 0.006069 0.006069 1.86% Castro::expand_state() 5 0.006013 0.006013 0.006013 1.84% FabArray::norminf() 326 0.00601 0.00601 0.00601 1.84% MLMG::mgVcycle_down::3 36 0.006002 0.006002 0.006002 1.84% MLMG::mgVcycle_down::4 36 0.005941 0.005941 0.005941 1.82% MLCellLinOp::defineAuxData() 6 0.005779 0.005779 0.005779 1.77% MLCGSolver::ParallelAllReduce 659 0.005086 0.005086 0.005086 1.56% MLMG::addInterpCorrection() 180 0.004913 0.004913 0.004913 1.51% MLMG::mgVcycle_up::1 36 0.004814 0.004814 0.004814 1.48% MLMG::mgVcycle_up::4 36 0.004763 0.004763 0.004763 1.46% Castro::do_old_sources() 5 0.004759 0.004759 0.004759 1.46% MLMG::mgVcycle_up::2 36 0.004694 0.004694 0.004694 1.44% amrex::average_down 180 0.004693 0.004693 0.004693 1.44% MLMG::mgVcycle_up::3 36 0.00459 0.00459 0.00459 1.41% MLPoisson::Fapply() 500 0.00429 0.00429 0.00429 1.31% Castro::enforce_min_density() 30 0.003935 0.003935 0.003935 1.21% Castro::reset_internal_energy(MultiFab) 30 0.003616 0.003616 0.003616 1.11% FabArray::Saxpy() 355 0.003543 0.003543 0.003543 1.09% Gravity::fill_multipole_BCs() 6 0.003433 0.003433 0.003433 1.05% FabArray::Xpay() 361 0.003385 0.003385 0.003385 1.04% Castro::post_restart() 1 0.003344 0.003344 0.003344 1.02% Gravity::multilevel_solve_for_new_phi() 1 0.003234 0.003234 0.003234 0.99% Gravity::actual_multilevel_solve() 1 0.003218 0.003218 0.003218 0.99% MLCellLinOp::solutionResidual() 42 0.003162 0.003162 0.003162 0.97% Castro::post_timestep() 5 0.003155 0.003155 0.003155 0.97% Castro::estTimeStep() 10 0.002889 0.002889 0.002889 0.89% MLMG::computeResidual() 36 0.002619 0.002619 0.002619 0.80% MLCellLinOp::defineBC() 6 0.002569 0.002569 0.002569 0.79% MLMG::prepareForSolve() 6 0.002473 0.002473 0.002473 0.76% BndryData::define() 6 0.002434 0.002434 0.002434 0.75% Castro::computeNewDt() 5 0.002131 0.002131 0.002131 0.65% FabArray::LinComb() 242 0.001856 0.001856 0.001856 0.57% amrex::Add() 72 0.001829 0.001829 0.001829 0.56% Castro::construct_new_source() 25 0.001717 0.001717 0.001717 0.53% Castro::construct_new_gravity_source() 5 0.001681 0.001681 0.001681 0.51% Castro::construct_old_source() 25 0.001408 0.001408 0.001408 0.43% Castro::construct_old_gravity_source() 5 0.001398 0.001398 0.001398 0.43% MLMG::ResNormInf() 42 0.0009212 0.0009212 0.0009212 0.28% Castro::apply_source_to_state() 10 0.0009196 0.0009196 0.0009196 0.28% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008902 0.0008902 0.0008902 0.27% FabArrayBase::getCPC() 632 0.0007658 0.0007658 0.0007658 0.23% MLMG::getGradSolution() 6 0.0007451 0.0007451 0.0007451 0.23% MLCellLinOp::compGrad() 6 0.000742 0.000742 0.000742 0.23% MLCellLinOp::setLevelBC() 6 0.0007242 0.0007242 0.0007242 0.22% Castro::reset_internal_energy(Fab) 240 0.0006531 0.0006531 0.0006531 0.20% FabArray::mult() 22 0.0006397 0.0006397 0.0006397 0.20% FabArray::setDomainBndry() 20 0.0006311 0.0006311 0.0006311 0.19% Castro::check_for_nan() 10 0.0006 0.0006 0.0006 0.18% MLPoisson::prepareForSolve() 6 0.0005992 0.0005992 0.0005992 0.18% MultiFab::contains_nan() 10 0.0005942 0.0005942 0.0005942 0.18% MLCellLinOp::prepareForSolve() 6 0.0005889 0.0005889 0.0005889 0.18% MLMG::computeMLResidual() 6 0.0005665 0.0005665 0.0005665 0.17% Castro::enforce_speed_limit() 30 0.0005282 0.0005282 0.0005282 0.16% Gravity::update_max_rhs() 6 0.0004582 0.0004582 0.0004582 0.14% Amr::InitAmr() 1 0.0004344 0.0004344 0.0004344 0.13% FabArrayBase::CPC::define() 244 0.000423 0.000423 0.000423 0.13% FabArrayBase::getFB() 1766 0.0003026 0.0003026 0.0003026 0.09% Castro::finalize_advance() 5 0.0002796 0.0002796 0.0002796 0.09% Gravity::swapTimeLevels() 5 0.0002176 0.0002176 0.0002176 0.07% MLLinOp::define() 6 0.0001786 0.0001786 0.0001786 0.05% MLLinOp::defineGrids() 6 0.0001728 0.0001728 0.0001728 0.05% MLMG::MLResNormInf() 6 0.0001533 0.0001533 0.0001533 0.05% Castro::buildMetrics() 1 0.0001468 0.0001468 0.0001468 0.04% MultiFab::max() 6 0.0001358 0.0001358 0.0001358 0.04% MLMG::MLRhsNormInf() 6 0.0001153 0.0001153 0.0001153 0.04% Castro::create_source_corrector() 5 0.0001006 0.0001006 0.0001006 0.03% FabArrayBase::FB::FB() 26 5.888e-05 5.888e-05 5.888e-05 0.02% Amr::writeSmallPlotFile() 1 4.283e-05 4.283e-05 4.283e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.926e-05 2.926e-05 2.926e-05 0.01% Castro::initMFs() 1 2.714e-05 2.714e-05 2.714e-05 0.01% Castro::swap_state_time_levels() 5 2.27e-05 2.27e-05 2.27e-05 0.01% makeSFC 30 2.186e-05 2.186e-05 2.186e-05 0.01% Castro::finalize_do_advance() 5 1.797e-05 1.797e-05 1.797e-05 0.01% DistributionMapping::Distribute() 31 9.982e-06 9.982e-06 9.982e-06 0.00% Amr::initSubcycle() 1 9.421e-06 9.421e-06 9.421e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.994e-06 5.994e-06 5.994e-06 0.00% Gravity::set_mass_offset() 6 1.926e-06 1.926e-06 1.926e-06 0.00% Castro::retry_advance_ctu() 5 1.666e-06 1.666e-06 1.666e-06 0.00% Castro::FluxRegCrseInit 5 1.639e-06 1.639e-06 1.639e-06 0.00% Castro::FluxRegFineAdd() 5 1.246e-06 1.246e-06 1.246e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.028e-06 1.028e-06 1.028e-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 237 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 100 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 47 MiB 55 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB FillPatchIterator::Initialize 160 160 1372 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2799 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 6593 KiB 14 MiB MLMG::prepareForSolve() 361 361 4048 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 223 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 227 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6587 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 15 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2619 B 2048 KiB Gravity::solve_for_phi() 40 40 744 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 20 KiB 2048 KiB BndryData::define() 576 576 372 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 238 KiB 671 KiB Castro::estTimeStep() 10 10 3032 B 480 KiB VisMF::Write(FabArray) 112 112 1473 B 320 KiB Castro::normalize_species() 30 30 7163 B 320 KiB amrex::average_down 469 469 1362 B 257 KiB MLMG::addInterpCorrection() 468 468 1293 B 257 KiB amrex::Dot() 592 592 3803 B 160 KiB FabArray::norminf() 398 398 2716 B 160 KiB Castro::do_advance_ctu() 5 5 550 B 160 KiB MultiFab::max() 6 6 64 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 36 B 20 KiB MLPoisson::Fsmooth() 60 60 3936 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 59 B 10 KiB FillBoundary_nowait() 336 336 352 B 9648 B MLCellLinOp::applyBC() 3892 3892 257 B 9344 B amrex::Copy() 56 56 5912 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 62 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 134 B 1472 B MLCellLinOp::defineBC() 36 36 418 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1649 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 133 KiB 8192 KiB VisMF::Write(FabArray) 120 120 292 KiB 3584 KiB VisMF::Read() 24 24 230 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3936 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 59 B 10 KiB FillBoundary_nowait() 336 336 352 B 9648 B MLCellLinOp::applyBC() 1946 1946 255 B 9328 B amrex::Copy() 56 56 5912 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2592 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B StateData::FillBoundary(geom) 960 960 62 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 571 B 1296 B amrex::average_down 37 37 217 B 1296 B MLMG::addInterpCorrection() 36 36 3 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 27 B 400 B FabArray::norminf() 398 398 19 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-14-g81e1ac377d54) finalized