Initializing CUDA... CUDA initialized with 1 device. AMReX (23.10-12-g77d4d1fe5ce6) initialized Starting run at 07:54:43 UTC on 2023-10-10. Successfully read inputs file ... Castro git describe: 23.10-31-g19e680503 AMReX git describe: 23.10-12-g77d4d1fe5 Microphysics git describe: 23.10-6-g657406dc 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.050990309 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028834847 seconds [Level 0 step 1] ADVANCE at time 0 with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.051985081 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.049901495 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.074291615 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE at time 0.0001431784233 with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.082431224 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE at time 0.0001957547666 with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.067750862 [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.049393386 secs. [Level 0 step 6] ADVANCE at time 0.0002509599271 with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.05925227 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.074686035 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.076754825 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.065698132 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.069407481 [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.04917786 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028621752 seconds Ending run at 07:54:44 UTC on 2023-10-10. Run time = 0.931438456 Run time without initialization = 0.799950671 Average number of zones advanced per microsecond: 3.277 Average number of zones advanced per microsecond per rank: 3.277 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9315 ... 0.9315 ... 0.9315 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2985 0.2985 0.2985 32.05% VisMF::Write(FabArray) 11 0.1993 0.1993 0.1993 21.39% MLCellLinOp::applyBC() 4379 0.07725 0.07725 0.07725 8.29% MLPoisson::Fsmooth() 3240 0.03248 0.03248 0.03248 3.49% FillBoundary_nowait() 3974 0.03044 0.03044 0.03044 3.27% StateData::FillBoundary(geom) 328 0.02631 0.02631 0.02631 2.83% Castro::normalize_species() 62 0.02107 0.02107 0.02107 2.26% amrex::Dot() 1100 0.02061 0.02061 0.02061 2.21% amrex::Copy() 1019 0.01493 0.01493 0.01493 1.60% Castro::computeTemp() 63 0.01464 0.01464 0.01464 1.57% FabArray::norminf() 734 0.01443 0.01443 0.01443 1.55% FabArray::ParallelCopy_nowait() 851 0.0133 0.0133 0.0133 1.43% FabArray::setVal() 1135 0.01323 0.01323 0.01323 1.42% StateDataPhysBCFunct::() 41 0.01132 0.01132 0.01132 1.21% Castro::enforce_min_density() 62 0.01038 0.01038 0.01038 1.11% MLPoisson::Fapply() 1128 0.01037 0.01037 0.01037 1.11% MLCellLinOp::defineAuxData() 11 0.01004 0.01004 0.01004 1.08% Gravity::fill_multipole_BCs() 11 0.0093 0.0093 0.0093 1.00% FabArray::Saxpy() 803 0.008265 0.008265 0.008265 0.89% FabArray::Xpay() 811 0.008113 0.008113 0.008113 0.87% MLMG::addInterpCorrection() 405 0.006747 0.006747 0.006747 0.72% amrex::average_down 405 0.006014 0.006014 0.006014 0.65% Castro::estTimeStep() 21 0.005954 0.005954 0.005954 0.64% Castro::reset_internal_energy(MultiFab) 63 0.0057 0.0057 0.0057 0.61% Amr::checkPoint() 3 0.005078 0.005078 0.005078 0.55% Castro::enforce_speed_limit() 62 0.004703 0.004703 0.004703 0.50% FabArray::LinComb() 550 0.004528 0.004528 0.004528 0.49% amrex::Add() 162 0.004352 0.004352 0.004352 0.47% BndryData::define() 11 0.003842 0.003842 0.003842 0.41% Castro::construct_new_gravity_source() 10 0.003371 0.003371 0.003371 0.36% Castro::construct_old_gravity_source() 10 0.002831 0.002831 0.002831 0.30% Amr::writePlotFile() 2 0.002252 0.002252 0.002252 0.24% MLCGSolver::bicgstab 81 0.002207 0.002207 0.002207 0.24% check_for_negative_density() 10 0.001825 0.001825 0.001825 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001725 0.001725 0.001725 0.19% Castro::reset_internal_energy(Fab) 504 0.001694 0.001694 0.001694 0.18% Gravity::actual_solve_with_mlmg() 11 0.001527 0.001527 0.001527 0.16% Castro::initData() 1 0.001515 0.001515 0.001515 0.16% MLCellLinOp::setLevelBC() 11 0.001456 0.001456 0.001456 0.16% FabArray::setDomainBndry() 41 0.001365 0.001365 0.001365 0.15% FabArray::mult() 43 0.001352 0.001352 0.001352 0.15% MLCellLinOp::prepareForSolve() 11 0.001273 0.001273 0.001273 0.14% MultiFab::contains_nan() 20 0.001264 0.001264 0.001264 0.14% MLCellLinOp::smooth() 1620 0.001106 0.001106 0.001106 0.12% MLCellLinOp::compGrad() 11 0.001047 0.001047 0.001047 0.11% MLMG::prepareForSolve() 11 0.0009219 0.0009219 0.0009219 0.10% FabArrayBase::getCPC() 1313 0.0008206 0.0008206 0.0008206 0.09% FabArray::FillBoundary() 3974 0.0008078 0.0008078 0.0008078 0.09% FabArrayBase::CPC::define() 454 0.0006657 0.0006657 0.0006657 0.07% FabArrayBase::getFB() 3974 0.0006487 0.0006487 0.0006487 0.07% Gravity::get_new_grav_vector() 11 0.0005873 0.0005873 0.0005873 0.06% Gravity::get_old_grav_vector() 10 0.0004811 0.0004811 0.0004811 0.05% Amr::InitAmr() 1 0.0004753 0.0004753 0.0004753 0.05% MLCellLinOp::apply() 1128 0.0004602 0.0004602 0.0004602 0.05% AmrLevel::FillPatch() 41 0.0003409 0.0003409 0.0003409 0.04% MultiFab::max() 11 0.0003183 0.0003183 0.0003183 0.03% Amr::coarseTimeStep() 10 0.0003108 0.0003108 0.0003108 0.03% MLCGSolver::ParallelAllReduce 1495 0.0003108 0.0003108 0.0003108 0.03% FabArray::ParallelCopy() 851 0.000268 0.000268 0.000268 0.03% main() 1 0.0002602 0.0002602 0.0002602 0.03% MLCellLinOp::correctionResidual() 486 0.0002323 0.0002323 0.0002323 0.02% FillPatchIterator::Initialize 41 0.0002257 0.0002257 0.0002257 0.02% MLMG::mgVcycle() 81 0.0002224 0.0002224 0.0002224 0.02% MLCellLinOp::defineBC() 11 0.0002219 0.0002219 0.0002219 0.02% Castro::subcycle_advance_ctu() 10 0.0002191 0.0002191 0.0002191 0.02% MLLinOp::defineGrids() 11 0.0001565 0.0001565 0.0001565 0.02% Amr::timeStep() 10 0.0001561 0.0001561 0.0001561 0.02% Castro::create_source_corrector() 10 0.0001516 0.0001516 0.0001516 0.02% Gravity::solve_for_phi() 10 0.0001515 0.0001515 0.0001515 0.02% MLMG:computeResOfCorrection() 405 0.00014 0.00014 0.00014 0.02% Castro::do_new_sources() 10 0.0001357 0.0001357 0.0001357 0.01% Gravity::update_max_rhs() 11 0.0001202 0.0001202 0.0001202 0.01% StateData::checkPoint() 12 0.0001145 0.0001145 0.0001145 0.01% Castro::advance() 10 0.0001142 0.0001142 0.0001142 0.01% FabArrayBase::FB::FB() 56 9.789e-05 9.789e-05 9.789e-05 0.01% Castro::Castro() 1 9.024e-05 9.024e-05 9.024e-05 0.01% MLMG::actualBottomSolve() 81 8.679e-05 8.679e-05 8.679e-05 0.01% MLMG::mgVcycle_down::0 81 8.391e-05 8.391e-05 8.391e-05 0.01% MLMG::mgVcycle_down::1 81 7.699e-05 7.699e-05 7.699e-05 0.01% Castro::initialize_advance() 10 7.628e-05 7.628e-05 7.628e-05 0.01% Castro::clean_state() 62 7.535e-05 7.535e-05 7.535e-05 0.01% MLMG::mgVcycle_down::2 81 7.474e-05 7.474e-05 7.474e-05 0.01% MLMG::solve() 11 7.243e-05 7.243e-05 7.243e-05 0.01% MLMG::mgVcycle_down::4 81 7.162e-05 7.162e-05 7.162e-05 0.01% MLMG::mgVcycle_up::4 81 7.162e-05 7.162e-05 7.162e-05 0.01% MLMG::mgVcycle_down::3 81 6.981e-05 6.981e-05 6.981e-05 0.01% Castro::enforce_consistent_e() 1 6.812e-05 6.812e-05 6.812e-05 0.01% AmrLevel::checkPoint() 3 6.341e-05 6.341e-05 6.341e-05 0.01% Castro::initialize_do_advance() 10 6.207e-05 6.207e-05 6.207e-05 0.01% Castro::finalize_advance() 10 6.016e-05 6.016e-05 6.016e-05 0.01% MLMG::oneIter() 81 5.699e-05 5.699e-05 5.699e-05 0.01% MLMG::mgVcycle_up::3 81 5.423e-05 5.423e-05 5.423e-05 0.01% MLMG::mgVcycle_up::0 81 5.364e-05 5.364e-05 5.364e-05 0.01% MLMG::mgVcycle_up::2 81 5.187e-05 5.187e-05 5.187e-05 0.01% MLMG::mgVcycle_up::1 81 5.142e-05 5.142e-05 5.142e-05 0.01% MLCellLinOp::solutionResidual() 92 5.07e-05 5.07e-05 5.07e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.934e-05 4.934e-05 4.934e-05 0.01% Castro::finalize_do_advance() 10 4.769e-05 4.769e-05 4.769e-05 0.01% Castro::do_advance_ctu() 10 4.631e-05 4.631e-05 4.631e-05 0.00% StateData::define() 4 3.979e-05 3.979e-05 3.979e-05 0.00% MLMG::mgVcycle_bottom 81 3.816e-05 3.816e-05 3.816e-05 0.00% Castro::swap_state_time_levels() 10 3.648e-05 3.648e-05 3.648e-05 0.00% Amr::initSubcycle() 1 3.628e-05 3.628e-05 3.628e-05 0.00% FillPatchSingleLevel 41 3.447e-05 3.447e-05 3.447e-05 0.00% MLMG::computeResidual() 81 3.383e-05 3.383e-05 3.383e-05 0.00% MLMG::ResNormInf() 92 3.269e-05 3.269e-05 3.269e-05 0.00% Amr::defBaseLevel() 1 3.229e-05 3.229e-05 3.229e-05 0.00% Amr::writeSmallPlotFile() 1 2.642e-05 2.642e-05 2.642e-05 0.00% Castro::initMFs() 1 2.635e-05 2.635e-05 2.635e-05 0.00% Castro::buildMetrics() 1 2.617e-05 2.617e-05 2.617e-05 0.00% makeSFC 55 2.4e-05 2.4e-05 2.4e-05 0.00% Castro::construct_new_gravity() 10 2.373e-05 2.373e-05 2.373e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.226e-05 2.226e-05 2.226e-05 0.00% Castro::do_old_sources() 10 2.214e-05 2.214e-05 2.214e-05 0.00% MLPoisson::define() 11 1.993e-05 1.993e-05 1.993e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.961e-05 1.961e-05 1.961e-05 0.00% Castro::construct_new_source() 50 1.916e-05 1.916e-05 1.916e-05 0.00% Amr::FinalizeInit() 1 1.895e-05 1.895e-05 1.895e-05 0.00% Castro::construct_old_source() 50 1.814e-05 1.814e-05 1.814e-05 0.00% DistributionMapping::Distribute() 56 1.686e-05 1.686e-05 1.686e-05 0.00% MLLinOp::define() 11 1.515e-05 1.515e-05 1.515e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.259e-05 1.259e-05 1.259e-05 0.00% Castro::construct_old_gravity() 10 1.215e-05 1.215e-05 1.215e-05 0.00% Castro::apply_source_to_state() 20 1.109e-05 1.109e-05 1.109e-05 0.00% Castro::check_for_nan() 20 1.062e-05 1.062e-05 1.062e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.058e-05 1.058e-05 1.058e-05 0.00% Castro::post_init() 1 1.054e-05 1.054e-05 1.054e-05 0.00% Gravity::swapTimeLevels() 10 9.364e-06 9.364e-06 9.364e-06 0.00% Castro::post_timestep() 10 8.458e-06 8.458e-06 8.458e-06 0.00% MLMG::computeMLResidual() 11 8.256e-06 8.256e-06 8.256e-06 0.00% MLPoisson::prepareForSolve() 11 8.003e-06 8.003e-06 8.003e-06 0.00% Gravity::actual_multilevel_solve() 1 7.559e-06 7.559e-06 7.559e-06 0.00% Castro::computeNewDt() 9 6.748e-06 6.748e-06 6.748e-06 0.00% Castro::expand_state() 10 6.376e-06 6.376e-06 6.376e-06 0.00% MLMG::getGradSolution() 11 6.147e-06 6.147e-06 6.147e-06 0.00% Amr::InitializeInit() 1 4.662e-06 4.662e-06 4.662e-06 0.00% MLMG::MLRhsNormInf() 11 4.414e-06 4.414e-06 4.414e-06 0.00% AmrLevel::checkPointPost() 3 4.372e-06 4.372e-06 4.372e-06 0.00% Gravity::set_mass_offset() 11 4.161e-06 4.161e-06 4.161e-06 0.00% Castro::retry_advance_ctu() 10 3.915e-06 3.915e-06 3.915e-06 0.00% MLMG::MLResNormInf() 11 3.66e-06 3.66e-06 3.66e-06 0.00% Castro::computeInitialDt() 2 3.327e-06 3.327e-06 3.327e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.098e-06 3.098e-06 3.098e-06 0.00% Castro::FluxRegCrseInit 10 2.822e-06 2.822e-06 2.822e-06 0.00% Castro::FluxRegFineAdd() 10 2.56e-06 2.56e-06 2.56e-06 0.00% Amr::init() 1 2.498e-06 2.498e-06 2.498e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.059e-06 2.059e-06 2.059e-06 0.00% AmrLevel::checkPointPre() 3 1.707e-06 1.707e-06 1.707e-06 0.00% Castro::post_regrid() 1 1.342e-06 1.342e-06 1.342e-06 0.00% Amr::initialInit() 1 1.176e-06 1.176e-06 1.176e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9315 0.9315 0.9315 100.00% Amr::coarseTimeStep() 10 0.7711 0.7711 0.7711 82.78% Amr::timeStep() 10 0.6687 0.6687 0.6687 71.79% Castro::advance() 10 0.6579 0.6579 0.6579 70.63% Castro::subcycle_advance_ctu() 10 0.6425 0.6425 0.6425 68.97% Castro::do_advance_ctu() 10 0.6422 0.6422 0.6422 68.95% Castro::construct_ctu_hydro_source() 10 0.3097 0.3097 0.3097 33.25% Gravity::solve_phi_with_mlmg() 11 0.2872 0.2872 0.2872 30.84% Gravity::actual_solve_with_mlmg() 11 0.2775 0.2775 0.2775 29.79% Castro::construct_new_gravity() 10 0.2615 0.2615 0.2615 28.07% MLMG::solve() 11 0.2562 0.2562 0.2562 27.51% Gravity::solve_for_phi() 10 0.246 0.246 0.246 26.41% MLMG::oneIter() 81 0.2414 0.2414 0.2414 25.92% MLMG::mgVcycle() 81 0.2378 0.2378 0.2378 25.53% VisMF::Write(FabArray) 11 0.1993 0.1993 0.1993 21.39% Amr::checkPoint() 3 0.1497 0.1497 0.1497 16.07% AmrLevel::checkPoint() 3 0.1446 0.1446 0.1446 15.52% StateData::checkPoint() 12 0.1445 0.1445 0.1445 15.52% Amr::init() 1 0.1309 0.1309 0.1309 14.05% MLCellLinOp::smooth() 1620 0.1166 0.1166 0.1166 12.52% MLCellLinOp::applyBC() 4379 0.1092 0.1092 0.1092 11.73% MLMG::mgVcycle_bottom 81 0.07408 0.07408 0.07408 7.95% MLMG::actualBottomSolve() 81 0.07404 0.07404 0.07404 7.95% MLCGSolver::bicgstab 81 0.07335 0.07335 0.07335 7.87% Amr::writePlotFile() 2 0.05759 0.05759 0.05759 6.18% Castro::clean_state() 62 0.05723 0.05723 0.05723 6.14% Amr::initialInit() 1 0.05091 0.05091 0.05091 5.47% AmrLevel::FillPatch() 41 0.0475 0.0475 0.0475 5.10% Amr::FinalizeInit() 1 0.04566 0.04566 0.04566 4.90% Castro::post_init() 1 0.04404 0.04404 0.04404 4.73% FillPatchIterator::Initialize 41 0.04332 0.04332 0.04332 4.65% Gravity::multilevel_solve_for_new_phi() 1 0.04175 0.04175 0.04175 4.48% FillPatchIterator::FillFromLevel0() 41 0.04173 0.04173 0.04173 4.48% Gravity::actual_multilevel_solve() 1 0.04173 0.04173 0.04173 4.48% FillPatchSingleLevel 41 0.04168 0.04168 0.04168 4.47% StateDataPhysBCFunct::() 41 0.03763 0.03763 0.03763 4.04% MLCellLinOp::apply() 1128 0.03653 0.03653 0.03653 3.92% MLMG::mgVcycle_down::0 81 0.03341 0.03341 0.03341 3.59% MLPoisson::Fsmooth() 3240 0.03248 0.03248 0.03248 3.49% FabArray::FillBoundary() 3974 0.03199 0.03199 0.03199 3.43% FillBoundary_nowait() 3974 0.03119 0.03119 0.03119 3.35% StateData::FillBoundary(geom) 328 0.02631 0.02631 0.02631 2.83% MLMG::mgVcycle_up::0 81 0.02523 0.02523 0.02523 2.71% MLCellLinOp::correctionResidual() 486 0.0221 0.0221 0.0221 2.37% Castro::computeTemp() 63 0.02204 0.02204 0.02204 2.37% Castro::initialize_do_advance() 10 0.02131 0.02131 0.02131 2.29% Castro::normalize_species() 62 0.02107 0.02107 0.02107 2.26% amrex::Dot() 1100 0.02061 0.02061 0.02061 2.21% MLMG:computeResOfCorrection() 405 0.0195 0.0195 0.0195 2.09% Castro::do_old_sources() 10 0.0183 0.0183 0.0183 1.96% Gravity::get_new_grav_vector() 11 0.0174 0.0174 0.0174 1.87% MLPoisson::define() 11 0.01674 0.01674 0.01674 1.80% MLMG::mgVcycle_down::1 81 0.01595 0.01595 0.01595 1.71% Castro::construct_old_gravity() 10 0.01541 0.01541 0.01541 1.65% Gravity::get_old_grav_vector() 10 0.01539 0.01539 0.01539 1.65% amrex::Copy() 1019 0.01493 0.01493 0.01493 1.60% MLMG::mgVcycle_down::2 81 0.01476 0.01476 0.01476 1.58% Castro::initialize_advance() 10 0.0147 0.0147 0.0147 1.58% FabArray::norminf() 734 0.01443 0.01443 0.01443 1.55% FabArray::ParallelCopy() 851 0.0144 0.0144 0.0144 1.55% MLMG::mgVcycle_down::3 81 0.01437 0.01437 0.01437 1.54% MLMG::mgVcycle_down::4 81 0.01421 0.01421 0.01421 1.53% FabArray::ParallelCopy_nowait() 851 0.01413 0.01413 0.01413 1.52% FabArray::setVal() 1135 0.01323 0.01323 0.01323 1.42% Castro::do_new_sources() 10 0.01274 0.01274 0.01274 1.37% MLCGSolver::ParallelAllReduce 1495 0.01236 0.01236 0.01236 1.33% Castro::expand_state() 10 0.01214 0.01214 0.01214 1.30% MLMG::addInterpCorrection() 405 0.01193 0.01193 0.01193 1.28% MLMG::mgVcycle_up::4 81 0.01161 0.01161 0.01161 1.25% MLMG::mgVcycle_up::1 81 0.01155 0.01155 0.01155 1.24% MLCellLinOp::defineAuxData() 11 0.01144 0.01144 0.01144 1.23% MLMG::mgVcycle_up::2 81 0.01132 0.01132 0.01132 1.22% amrex::average_down 405 0.01121 0.01121 0.01121 1.20% MLMG::mgVcycle_up::3 81 0.01111 0.01111 0.01111 1.19% Castro::post_timestep() 10 0.0107 0.0107 0.0107 1.15% Castro::enforce_min_density() 62 0.01038 0.01038 0.01038 1.11% MLPoisson::Fapply() 1128 0.01037 0.01037 0.01037 1.11% Gravity::fill_multipole_BCs() 11 0.009529 0.009529 0.009529 1.02% FabArray::Saxpy() 803 0.008265 0.008265 0.008265 0.89% FabArray::Xpay() 811 0.008113 0.008113 0.008113 0.87% MLCellLinOp::solutionResidual() 92 0.007427 0.007427 0.007427 0.80% Castro::reset_internal_energy(MultiFab) 63 0.007394 0.007394 0.007394 0.79% MLMG::computeResidual() 81 0.006161 0.006161 0.006161 0.66% Castro::estTimeStep() 21 0.005954 0.005954 0.005954 0.64% Amr::InitializeInit() 1 0.005252 0.005252 0.005252 0.56% Amr::defBaseLevel() 1 0.005247 0.005247 0.005247 0.56% MLCellLinOp::defineBC() 11 0.005055 0.005055 0.005055 0.54% MLMG::prepareForSolve() 11 0.004909 0.004909 0.004909 0.53% BndryData::define() 11 0.004833 0.004833 0.004833 0.52% Castro::enforce_speed_limit() 62 0.004703 0.004703 0.004703 0.50% Castro::initData() 1 0.004603 0.004603 0.004603 0.49% FabArray::LinComb() 550 0.004528 0.004528 0.004528 0.49% amrex::Add() 162 0.004352 0.004352 0.004352 0.47% Castro::construct_new_source() 50 0.00339 0.00339 0.00339 0.36% Castro::construct_new_gravity_source() 10 0.003371 0.003371 0.003371 0.36% Castro::construct_old_source() 50 0.00285 0.00285 0.00285 0.31% Castro::construct_old_gravity_source() 10 0.002831 0.002831 0.002831 0.30% Castro::computeNewDt() 9 0.002805 0.002805 0.002805 0.30% Castro::finalize_do_advance() 10 0.002284 0.002284 0.002284 0.25% MLMG::ResNormInf() 92 0.002145 0.002145 0.002145 0.23% Castro::apply_source_to_state() 20 0.001857 0.001857 0.001857 0.20% check_for_negative_density() 10 0.001825 0.001825 0.001825 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001725 0.001725 0.001725 0.19% Castro::reset_internal_energy(Fab) 504 0.001694 0.001694 0.001694 0.18% MLMG::getGradSolution() 11 0.001536 0.001536 0.001536 0.16% MLCellLinOp::compGrad() 11 0.00153 0.00153 0.00153 0.16% FabArrayBase::getCPC() 1313 0.001486 0.001486 0.001486 0.16% MLCellLinOp::setLevelBC() 11 0.001456 0.001456 0.001456 0.16% FabArray::setDomainBndry() 41 0.001365 0.001365 0.001365 0.15% FabArray::mult() 43 0.001352 0.001352 0.001352 0.15% MLMG::computeMLResidual() 11 0.001308 0.001308 0.001308 0.14% Castro::post_regrid() 1 0.001287 0.001287 0.001287 0.14% MLPoisson::prepareForSolve() 11 0.001281 0.001281 0.001281 0.14% Castro::check_for_nan() 20 0.001275 0.001275 0.001275 0.14% MLCellLinOp::prepareForSolve() 11 0.001273 0.001273 0.001273 0.14% MultiFab::contains_nan() 20 0.001264 0.001264 0.001264 0.14% Gravity::update_max_rhs() 11 0.0009539 0.0009539 0.0009539 0.10% Castro::computeInitialDt() 2 0.0009224 0.0009224 0.0009224 0.10% FabArrayBase::getFB() 3974 0.0007466 0.0007466 0.0007466 0.08% FabArrayBase::CPC::define() 454 0.0006657 0.0006657 0.0006657 0.07% Castro::finalize_advance() 10 0.000595 0.000595 0.000595 0.06% Castro::Castro() 1 0.0005576 0.0005576 0.0005576 0.06% Amr::InitAmr() 1 0.0005116 0.0005116 0.0005116 0.05% Gravity::swapTimeLevels() 10 0.0004366 0.0004366 0.0004366 0.05% MLMG::MLResNormInf() 11 0.0003405 0.0003405 0.0003405 0.04% MultiFab::max() 11 0.0003183 0.0003183 0.0003183 0.03% Castro::buildMetrics() 1 0.000271 0.000271 0.000271 0.03% MLLinOp::define() 11 0.0002261 0.0002261 0.0002261 0.02% MLMG::MLRhsNormInf() 11 0.000221 0.000221 0.000221 0.02% MLLinOp::defineGrids() 11 0.000211 0.000211 0.000211 0.02% Castro::create_source_corrector() 10 0.0001516 0.0001516 0.0001516 0.02% FabArrayBase::FB::FB() 56 9.789e-05 9.789e-05 9.789e-05 0.01% Castro::enforce_consistent_e() 1 6.812e-05 6.812e-05 6.812e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.241e-05 5.241e-05 5.241e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.037e-05 5.037e-05 5.037e-05 0.01% makeSFC 55 3.983e-05 3.983e-05 3.983e-05 0.00% StateData::define() 4 3.979e-05 3.979e-05 3.979e-05 0.00% Castro::swap_state_time_levels() 10 3.648e-05 3.648e-05 3.648e-05 0.00% Amr::initSubcycle() 1 3.628e-05 3.628e-05 3.628e-05 0.00% Amr::writeSmallPlotFile() 1 2.642e-05 2.642e-05 2.642e-05 0.00% Castro::initMFs() 1 2.635e-05 2.635e-05 2.635e-05 0.00% DistributionMapping::Distribute() 56 1.686e-05 1.686e-05 1.686e-05 0.00% AmrLevel::checkPointPost() 3 4.372e-06 4.372e-06 4.372e-06 0.00% Gravity::set_mass_offset() 11 4.161e-06 4.161e-06 4.161e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.13e-06 4.13e-06 4.13e-06 0.00% Castro::retry_advance_ctu() 10 3.915e-06 3.915e-06 3.915e-06 0.00% Castro::FluxRegCrseInit 10 2.822e-06 2.822e-06 2.822e-06 0.00% Castro::FluxRegFineAdd() 10 2.56e-06 2.56e-06 2.56e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.059e-06 2.059e-06 2.059e-06 0.00% AmrLevel::checkPointPre() 3 1.707e-06 1.707e-06 1.707e-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 150 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1001 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1732 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7621 KiB 14 MiB MLMG::prepareForSolve() 660 660 3384 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 194 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 169 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7516 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1986 B 2048 KiB Gravity::solve_for_phi() 80 80 540 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 91 KiB 2048 KiB BndryData::define() 1056 1056 309 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 196 KiB 671 KiB Castro::estTimeStep() 21 21 3117 B 480 KiB VisMF::Write(FabArray) 656 656 3295 B 320 KiB Castro::normalize_species() 62 62 7366 B 320 KiB amrex::average_down 1054 1054 1213 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1097 B 257 KiB amrex::Dot() 1343 1343 3254 B 160 KiB FabArray::norminf() 896 896 2283 B 160 KiB check_for_negative_density() 10 10 298 B 160 KiB Castro::initData() 1 1 51 B 160 KiB MultiFab::max() 11 11 53 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3303 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 42 B 10 KiB FillBoundary_nowait() 751 751 286 B 9648 B MLCellLinOp::applyBC() 8758 8758 212 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3916 B 6144 B StateData::FillBoundary(geom) 1992 1992 41 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 729 729 114 B 1472 B MLCellLinOp::defineBC() 66 66 348 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 543 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 38 KiB 8192 KiB VisMF::Write(FabArray) 744 744 488 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3303 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 42 B 10 KiB FillBoundary_nowait() 751 751 286 B 9648 B MLCellLinOp::applyBC() 4379 4379 210 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3916 B 6144 B Gravity::get_new_grav_vector() 3 3 2905 B 3072 B StateData::FillBoundary(geom) 1992 1992 42 B 3024 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 82 82 270 B 1296 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 281 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 23 B 400 B FabArray::norminf() 896 896 16 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2541 [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.10-12-g77d4d1fe5ce6) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.10-12-g77d4d1fe5ce6) initialized Starting run at 07:54:45 UTC on 2023-10-10. Successfully read inputs file ... Castro git describe: 23.10-31-g19e680503 AMReX git describe: 23.10-12-g77d4d1fe5 Microphysics git describe: 23.10-6-g657406dc reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.507262028 Restart time = 0.043064793 seconds. [Level 0 step 6] ADVANCE at time 0.0002509599271 with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.055282677 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.065989219 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.077552851 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.075835666 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.052944353 [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.029671885 seconds Ending run at 07:54:45 UTC on 2023-10-10. Run time = 0.40127996 Run time without initialization = 0.357665432 Average number of zones advanced per microsecond: 3.665 Average number of zones advanced per microsecond per rank: 3.665 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4013 ... 0.4013 ... 0.4013 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1384 0.1384 0.1384 34.49% MLCellLinOp::applyBC() 1946 0.03375 0.03375 0.03375 8.41% VisMF::Read() 3 0.0316 0.0316 0.0316 7.88% VisMF::Write(FabArray) 1 0.02828 0.02828 0.02828 7.05% MLPoisson::Fsmooth() 1440 0.01414 0.01414 0.01414 3.52% FillBoundary_nowait() 1766 0.01272 0.01272 0.01272 3.17% StateData::FillBoundary(geom) 160 0.01268 0.01268 0.01268 3.16% Castro::normalize_species() 30 0.009902 0.009902 0.009902 2.47% amrex::Dot() 484 0.008949 0.008949 0.008949 2.23% Castro::computeTemp() 30 0.007424 0.007424 0.007424 1.85% amrex::Copy() 463 0.007164 0.007164 0.007164 1.79% FabArray::setVal() 537 0.006479 0.006479 0.006479 1.61% FabArray::norminf() 326 0.006356 0.006356 0.006356 1.58% FabArray::ParallelCopy_nowait() 380 0.006054 0.006054 0.006054 1.51% Castro::enforce_min_density() 30 0.005783 0.005783 0.005783 1.44% Gravity::fill_multipole_BCs() 6 0.00559 0.00559 0.00559 1.39% MLCellLinOp::defineAuxData() 6 0.005476 0.005476 0.005476 1.36% Amr::restart() 1 0.004723 0.004723 0.004723 1.18% MLPoisson::Fapply() 500 0.004523 0.004523 0.004523 1.13% StateDataPhysBCFunct::() 20 0.004309 0.004309 0.004309 1.07% FabArray::Saxpy() 355 0.003738 0.003738 0.003738 0.93% Castro::estTimeStep() 10 0.003668 0.003668 0.003668 0.91% FabArray::Xpay() 361 0.003588 0.003588 0.003588 0.89% MLMG::addInterpCorrection() 180 0.003037 0.003037 0.003037 0.76% amrex::average_down 180 0.002654 0.002654 0.002654 0.66% FabArray::LinComb() 242 0.002252 0.002252 0.002252 0.56% BndryData::define() 6 0.002115 0.002115 0.002115 0.53% amrex::Add() 72 0.001884 0.001884 0.001884 0.47% Castro::reset_internal_energy(MultiFab) 30 0.001842 0.001842 0.001842 0.46% Castro::reset_internal_energy(Fab) 240 0.001713 0.001713 0.001713 0.43% Castro::enforce_speed_limit() 30 0.001379 0.001379 0.001379 0.34% Castro::construct_new_gravity_source() 5 0.001349 0.001349 0.001349 0.34% Amr::writePlotFile() 1 0.001225 0.001225 0.001225 0.31% Castro::construct_old_gravity_source() 5 0.001074 0.001074 0.001074 0.27% MLCGSolver::bicgstab 36 0.0009751 0.0009751 0.0009751 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009445 0.0009445 0.0009445 0.24% check_for_negative_density() 5 0.0009356 0.0009356 0.0009356 0.23% Gravity::actual_solve_with_mlmg() 6 0.0008363 0.0008363 0.0008363 0.21% MLCellLinOp::setLevelBC() 6 0.0008038 0.0008038 0.0008038 0.20% MLCellLinOp::prepareForSolve() 6 0.0007118 0.0007118 0.0007118 0.18% Castro::subcycle_advance_ctu() 5 0.0006925 0.0006925 0.0006925 0.17% FabArray::mult() 22 0.000691 0.000691 0.000691 0.17% FabArray::setDomainBndry() 20 0.0006753 0.0006753 0.0006753 0.17% MultiFab::contains_nan() 10 0.0006423 0.0006423 0.0006423 0.16% MLCellLinOp::compGrad() 6 0.0005846 0.0005846 0.0005846 0.15% MLMG::prepareForSolve() 6 0.0005362 0.0005362 0.0005362 0.13% MLCellLinOp::smooth() 720 0.0004896 0.0004896 0.0004896 0.12% FabArrayBase::CPC::define() 244 0.0004162 0.0004162 0.0004162 0.10% Amr::InitAmr() 1 0.0003878 0.0003878 0.0003878 0.10% FabArrayBase::getCPC() 632 0.0003664 0.0003664 0.0003664 0.09% FabArray::FillBoundary() 1766 0.0003491 0.0003491 0.0003491 0.09% Gravity::get_old_grav_vector() 5 0.0002885 0.0002885 0.0002885 0.07% FabArrayBase::getFB() 1766 0.0002781 0.0002781 0.0002781 0.07% main() 1 0.0002437 0.0002437 0.0002437 0.06% Gravity::get_new_grav_vector() 5 0.0002417 0.0002417 0.0002417 0.06% MultiFab::max() 6 0.0002055 0.0002055 0.0002055 0.05% MLCellLinOp::apply() 500 0.0001967 0.0001967 0.0001967 0.05% AmrLevel::FillPatch() 20 0.000161 0.000161 0.000161 0.04% Amr::coarseTimeStep() 5 0.0001456 0.0001456 0.0001456 0.04% MLLinOp::defineGrids() 6 0.0001247 0.0001247 0.0001247 0.03% Castro::construct_new_source() 25 0.0001223 0.0001223 0.0001223 0.03% MLCGSolver::ParallelAllReduce 659 0.0001215 0.0001215 0.0001215 0.03% MLCellLinOp::defineBC() 6 0.0001174 0.0001174 0.0001174 0.03% FabArray::ParallelCopy() 380 0.0001094 0.0001094 0.0001094 0.03% FillPatchIterator::Initialize 20 0.0001059 0.0001059 0.0001059 0.03% Castro::do_new_sources() 5 0.0001023 0.0001023 0.0001023 0.03% MLCellLinOp::correctionResidual() 216 0.0001009 0.0001009 0.0001009 0.03% MLMG::mgVcycle() 36 9.117e-05 9.117e-05 9.117e-05 0.02% Castro::create_source_corrector() 5 8.671e-05 8.671e-05 8.671e-05 0.02% Amr::timeStep() 5 7.933e-05 7.933e-05 7.933e-05 0.02% Castro::finalize_do_advance() 5 6.541e-05 6.541e-05 6.541e-05 0.02% AmrLevel::restart() 1 6.347e-05 6.347e-05 6.347e-05 0.02% Gravity::solve_for_phi() 5 6.24e-05 6.24e-05 6.24e-05 0.02% StateData::restartDoit() 4 6.232e-05 6.232e-05 6.232e-05 0.02% Gravity::update_max_rhs() 6 6.104e-05 6.104e-05 6.104e-05 0.02% FabArrayBase::FB::FB() 26 5.984e-05 5.984e-05 5.984e-05 0.01% MLMG:computeResOfCorrection() 180 5.622e-05 5.622e-05 5.622e-05 0.01% MLMG::actualBottomSolve() 36 4.079e-05 4.079e-05 4.079e-05 0.01% MLMG::mgVcycle_down::2 36 3.846e-05 3.846e-05 3.846e-05 0.01% MLMG::mgVcycle_down::0 36 3.812e-05 3.812e-05 3.812e-05 0.01% Castro::initialize_advance() 5 3.573e-05 3.573e-05 3.573e-05 0.01% MLMG::mgVcycle_down::1 36 3.549e-05 3.549e-05 3.549e-05 0.01% MLMG::solve() 6 3.525e-05 3.525e-05 3.525e-05 0.01% Castro::clean_state() 30 3.484e-05 3.484e-05 3.484e-05 0.01% MLMG::mgVcycle_down::4 36 3.338e-05 3.338e-05 3.338e-05 0.01% Castro::construct_old_source() 25 3.315e-05 3.315e-05 3.315e-05 0.01% Castro::advance() 5 3.286e-05 3.286e-05 3.286e-05 0.01% MLMG::mgVcycle_down::3 36 3.204e-05 3.204e-05 3.204e-05 0.01% Castro::do_old_sources() 5 3.177e-05 3.177e-05 3.177e-05 0.01% Castro::initialize_do_advance() 5 3.078e-05 3.078e-05 3.078e-05 0.01% Castro::finalize_advance() 5 2.907e-05 2.907e-05 2.907e-05 0.01% Castro::buildMetrics() 1 2.89e-05 2.89e-05 2.89e-05 0.01% Castro::post_restart() 1 2.863e-05 2.863e-05 2.863e-05 0.01% MLMG::mgVcycle_up::4 36 2.86e-05 2.86e-05 2.86e-05 0.01% Amr::writeSmallPlotFile() 1 2.662e-05 2.662e-05 2.662e-05 0.01% MLMG::oneIter() 36 2.529e-05 2.529e-05 2.529e-05 0.01% Castro::initMFs() 1 2.394e-05 2.394e-05 2.394e-05 0.01% Castro::do_advance_ctu() 5 2.362e-05 2.362e-05 2.362e-05 0.01% Castro::swap_state_time_levels() 5 2.306e-05 2.306e-05 2.306e-05 0.01% MLMG::mgVcycle_up::3 36 2.295e-05 2.295e-05 2.295e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.276e-05 2.276e-05 2.276e-05 0.01% MLCellLinOp::solutionResidual() 42 2.231e-05 2.231e-05 2.231e-05 0.01% MLMG::mgVcycle_up::0 36 2.221e-05 2.221e-05 2.221e-05 0.01% MLMG::mgVcycle_up::2 36 2.148e-05 2.148e-05 2.148e-05 0.01% MLMG::mgVcycle_up::1 36 2.096e-05 2.096e-05 2.096e-05 0.01% MLMG::mgVcycle_bottom 36 1.676e-05 1.676e-05 1.676e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.652e-05 1.652e-05 1.652e-05 0.00% MLMG::ResNormInf() 42 1.568e-05 1.568e-05 1.568e-05 0.00% FillPatchSingleLevel 20 1.53e-05 1.53e-05 1.53e-05 0.00% MLPoisson::define() 6 1.443e-05 1.443e-05 1.443e-05 0.00% MLMG::computeResidual() 36 1.339e-05 1.339e-05 1.339e-05 0.00% makeSFC 30 1.289e-05 1.289e-05 1.289e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.255e-05 1.255e-05 1.255e-05 0.00% Castro::construct_new_gravity() 5 1.209e-05 1.209e-05 1.209e-05 0.00% MLLinOp::define() 6 1.069e-05 1.069e-05 1.069e-05 0.00% Amr::initSubcycle() 1 9.265e-06 9.265e-06 9.265e-06 0.00% DistributionMapping::Distribute() 31 9.141e-06 9.141e-06 9.141e-06 0.00% Gravity::actual_multilevel_solve() 1 8.385e-06 8.385e-06 8.385e-06 0.00% Castro::check_for_nan() 10 7.736e-06 7.736e-06 7.736e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.043e-06 7.043e-06 7.043e-06 0.00% Castro::construct_old_gravity() 5 6.607e-06 6.607e-06 6.607e-06 0.00% Castro::apply_source_to_state() 10 5.615e-06 5.615e-06 5.615e-06 0.00% Castro::computeNewDt() 5 4.549e-06 4.549e-06 4.549e-06 0.00% Castro::post_timestep() 5 4.388e-06 4.388e-06 4.388e-06 0.00% MLPoisson::prepareForSolve() 6 4.3e-06 4.3e-06 4.3e-06 0.00% Gravity::swapTimeLevels() 5 4.267e-06 4.267e-06 4.267e-06 0.00% MLMG::computeMLResidual() 6 3.93e-06 3.93e-06 3.93e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.061e-06 3.061e-06 3.061e-06 0.00% MLMG::getGradSolution() 6 3.053e-06 3.053e-06 3.053e-06 0.00% Castro::expand_state() 5 2.685e-06 2.685e-06 2.685e-06 0.00% MLMG::MLResNormInf() 6 2.286e-06 2.286e-06 2.286e-06 0.00% MLMG::MLRhsNormInf() 6 2.245e-06 2.245e-06 2.245e-06 0.00% Castro::retry_advance_ctu() 5 2.025e-06 2.025e-06 2.025e-06 0.00% Gravity::set_mass_offset() 6 1.92e-06 1.92e-06 1.92e-06 0.00% Castro::FluxRegCrseInit 5 1.588e-06 1.588e-06 1.588e-06 0.00% Castro::FluxRegFineAdd() 5 1.076e-06 1.076e-06 1.076e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.053e-06 1.053e-06 1.053e-06 0.00% Amr::init() 1 9.92e-07 9.92e-07 9.92e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4013 0.4013 0.4013 100.00% Amr::coarseTimeStep() 5 0.3277 0.3277 0.3277 81.67% Amr::timeStep() 5 0.3251 0.3251 0.3251 81.02% Castro::advance() 5 0.3206 0.3206 0.3206 79.90% Castro::subcycle_advance_ctu() 5 0.3132 0.3132 0.3132 78.06% Castro::do_advance_ctu() 5 0.3126 0.3126 0.3126 77.88% Castro::construct_ctu_hydro_source() 5 0.1437 0.1437 0.1437 35.81% Castro::construct_new_gravity() 5 0.132 0.132 0.132 32.89% Gravity::solve_phi_with_mlmg() 6 0.1298 0.1298 0.1298 32.34% Gravity::solve_for_phi() 5 0.1241 0.1241 0.1241 30.93% Gravity::actual_solve_with_mlmg() 6 0.1239 0.1239 0.1239 30.88% MLMG::solve() 6 0.1122 0.1122 0.1122 27.96% MLMG::oneIter() 36 0.1049 0.1049 0.1049 26.13% MLMG::mgVcycle() 36 0.1033 0.1033 0.1033 25.75% MLCellLinOp::smooth() 720 0.05023 0.05023 0.05023 12.52% MLCellLinOp::applyBC() 1946 0.04716 0.04716 0.04716 11.75% Amr::init() 1 0.04312 0.04312 0.04312 10.74% Amr::restart() 1 0.04312 0.04312 0.04312 10.74% MLMG::mgVcycle_bottom 36 0.03245 0.03245 0.03245 8.08% MLMG::actualBottomSolve() 36 0.03243 0.03243 0.03243 8.08% MLCGSolver::bicgstab 36 0.03212 0.03212 0.03212 8.00% AmrLevel::restart() 1 0.03195 0.03195 0.03195 7.96% StateData::restartDoit() 4 0.03188 0.03188 0.03188 7.94% VisMF::Read() 3 0.0316 0.0316 0.0316 7.88% Amr::writePlotFile() 1 0.02976 0.02976 0.02976 7.42% VisMF::Write(FabArray) 1 0.02828 0.02828 0.02828 7.05% Castro::clean_state() 30 0.02808 0.02808 0.02808 7.00% AmrLevel::FillPatch() 20 0.02188 0.02188 0.02188 5.45% FillPatchIterator::Initialize 20 0.01982 0.01982 0.01982 4.94% FillPatchIterator::FillFromLevel0() 20 0.01904 0.01904 0.01904 4.75% FillPatchSingleLevel 20 0.01902 0.01902 0.01902 4.74% StateDataPhysBCFunct::() 20 0.01699 0.01699 0.01699 4.23% MLCellLinOp::apply() 500 0.01601 0.01601 0.01601 3.99% MLMG::mgVcycle_down::0 36 0.0144 0.0144 0.0144 3.59% MLPoisson::Fsmooth() 1440 0.01414 0.01414 0.01414 3.52% FabArray::FillBoundary() 1766 0.01341 0.01341 0.01341 3.34% FillBoundary_nowait() 1766 0.01306 0.01306 0.01306 3.25% StateData::FillBoundary(geom) 160 0.01268 0.01268 0.01268 3.16% Castro::computeTemp() 30 0.01098 0.01098 0.01098 2.74% MLMG::mgVcycle_up::0 36 0.01077 0.01077 0.01077 2.68% Castro::initialize_do_advance() 5 0.01049 0.01049 0.01049 2.61% Castro::normalize_species() 30 0.009902 0.009902 0.009902 2.47% MLCellLinOp::correctionResidual() 216 0.00963 0.00963 0.00963 2.40% Castro::do_old_sources() 5 0.009255 0.009255 0.009255 2.31% MLPoisson::define() 6 0.009216 0.009216 0.009216 2.30% amrex::Dot() 484 0.008949 0.008949 0.008949 2.23% MLMG:computeResOfCorrection() 180 0.008471 0.008471 0.008471 2.11% Castro::do_new_sources() 5 0.007861 0.007861 0.007861 1.96% Gravity::get_new_grav_vector() 5 0.00775 0.00775 0.00775 1.93% Castro::construct_old_gravity() 5 0.007497 0.007497 0.007497 1.87% Gravity::get_old_grav_vector() 5 0.00749 0.00749 0.00749 1.87% amrex::Copy() 463 0.007164 0.007164 0.007164 1.79% Castro::initialize_advance() 5 0.007056 0.007056 0.007056 1.76% MLMG::mgVcycle_down::1 36 0.007016 0.007016 0.007016 1.75% FabArray::ParallelCopy() 380 0.006561 0.006561 0.006561 1.63% FabArray::setVal() 537 0.006479 0.006479 0.006479 1.61% FabArray::ParallelCopy_nowait() 380 0.006452 0.006452 0.006452 1.61% MLMG::mgVcycle_down::2 36 0.006422 0.006422 0.006422 1.60% FabArray::norminf() 326 0.006356 0.006356 0.006356 1.58% Castro::post_restart() 1 0.006269 0.006269 0.006269 1.56% MLMG::mgVcycle_down::3 36 0.006238 0.006238 0.006238 1.55% MLCellLinOp::defineAuxData() 6 0.006238 0.006238 0.006238 1.55% MLMG::mgVcycle_down::4 36 0.006192 0.006192 0.006192 1.54% Gravity::multilevel_solve_for_new_phi() 1 0.005885 0.005885 0.005885 1.47% Gravity::actual_multilevel_solve() 1 0.005868 0.005868 0.005868 1.46% Castro::enforce_min_density() 30 0.005783 0.005783 0.005783 1.44% Gravity::fill_multipole_BCs() 6 0.005714 0.005714 0.005714 1.42% MLCGSolver::ParallelAllReduce 659 0.005427 0.005427 0.005427 1.35% Castro::expand_state() 5 0.00539 0.00539 0.00539 1.34% MLMG::addInterpCorrection() 180 0.005299 0.005299 0.005299 1.32% MLMG::mgVcycle_up::4 36 0.005061 0.005061 0.005061 1.26% MLMG::mgVcycle_up::1 36 0.004995 0.004995 0.004995 1.24% amrex::average_down 180 0.004934 0.004934 0.004934 1.23% MLMG::mgVcycle_up::2 36 0.004889 0.004889 0.004889 1.22% MLMG::mgVcycle_up::3 36 0.004819 0.004819 0.004819 1.20% MLPoisson::Fapply() 500 0.004523 0.004523 0.004523 1.13% Castro::post_timestep() 5 0.004433 0.004433 0.004433 1.10% FabArray::Saxpy() 355 0.003738 0.003738 0.003738 0.93% Castro::estTimeStep() 10 0.003668 0.003668 0.003668 0.91% FabArray::Xpay() 361 0.003588 0.003588 0.003588 0.89% Castro::reset_internal_energy(MultiFab) 30 0.003555 0.003555 0.003555 0.89% MLCellLinOp::solutionResidual() 42 0.003449 0.003449 0.003449 0.86% MLCellLinOp::defineBC() 6 0.002799 0.002799 0.002799 0.70% MLMG::prepareForSolve() 6 0.00273 0.00273 0.00273 0.68% MLMG::computeResidual() 36 0.002691 0.002691 0.002691 0.67% BndryData::define() 6 0.002682 0.002682 0.002682 0.67% Castro::computeNewDt() 5 0.002456 0.002456 0.002456 0.61% FabArray::LinComb() 242 0.002252 0.002252 0.002252 0.56% amrex::Add() 72 0.001884 0.001884 0.001884 0.47% Castro::reset_internal_energy(Fab) 240 0.001713 0.001713 0.001713 0.43% Castro::construct_new_source() 25 0.001471 0.001471 0.001471 0.37% Castro::enforce_speed_limit() 30 0.001379 0.001379 0.001379 0.34% Castro::construct_new_gravity_source() 5 0.001349 0.001349 0.001349 0.34% Castro::finalize_do_advance() 5 0.001282 0.001282 0.001282 0.32% Castro::construct_old_source() 25 0.001107 0.001107 0.001107 0.28% Castro::construct_old_gravity_source() 5 0.001074 0.001074 0.001074 0.27% MLMG::ResNormInf() 42 0.0009837 0.0009837 0.0009837 0.25% Castro::apply_source_to_state() 10 0.0009645 0.0009645 0.0009645 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009445 0.0009445 0.0009445 0.24% check_for_negative_density() 5 0.0009356 0.0009356 0.0009356 0.23% MLMG::getGradSolution() 6 0.0008608 0.0008608 0.0008608 0.21% MLCellLinOp::compGrad() 6 0.0008578 0.0008578 0.0008578 0.21% MLCellLinOp::setLevelBC() 6 0.0008038 0.0008038 0.0008038 0.20% FabArrayBase::getCPC() 632 0.0007826 0.0007826 0.0007826 0.20% MLMG::computeMLResidual() 6 0.0007751 0.0007751 0.0007751 0.19% Gravity::update_max_rhs() 6 0.0007181 0.0007181 0.0007181 0.18% MLPoisson::prepareForSolve() 6 0.0007161 0.0007161 0.0007161 0.18% MLCellLinOp::prepareForSolve() 6 0.0007118 0.0007118 0.0007118 0.18% FabArray::mult() 22 0.000691 0.000691 0.000691 0.17% FabArray::setDomainBndry() 20 0.0006753 0.0006753 0.0006753 0.17% Castro::check_for_nan() 10 0.00065 0.00065 0.00065 0.16% MultiFab::contains_nan() 10 0.0006423 0.0006423 0.0006423 0.16% FabArrayBase::CPC::define() 244 0.0004162 0.0004162 0.0004162 0.10% Amr::InitAmr() 1 0.0003971 0.0003971 0.0003971 0.10% FabArrayBase::getFB() 1766 0.0003379 0.0003379 0.0003379 0.08% Castro::finalize_advance() 5 0.0002948 0.0002948 0.0002948 0.07% Gravity::swapTimeLevels() 5 0.0002304 0.0002304 0.0002304 0.06% MultiFab::max() 6 0.0002055 0.0002055 0.0002055 0.05% MLMG::MLResNormInf() 6 0.0001872 0.0001872 0.0001872 0.05% MLLinOp::define() 6 0.0001642 0.0001642 0.0001642 0.04% MLLinOp::defineGrids() 6 0.0001535 0.0001535 0.0001535 0.04% Castro::buildMetrics() 1 0.0001497 0.0001497 0.0001497 0.04% MLMG::MLRhsNormInf() 6 0.0001182 0.0001182 0.0001182 0.03% Castro::create_source_corrector() 5 8.671e-05 8.671e-05 8.671e-05 0.02% FabArrayBase::FB::FB() 26 5.984e-05 5.984e-05 5.984e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.775e-05 2.775e-05 2.775e-05 0.01% Amr::writeSmallPlotFile() 1 2.662e-05 2.662e-05 2.662e-05 0.01% Castro::initMFs() 1 2.394e-05 2.394e-05 2.394e-05 0.01% Castro::swap_state_time_levels() 5 2.306e-05 2.306e-05 2.306e-05 0.01% makeSFC 30 2.071e-05 2.071e-05 2.071e-05 0.01% Amr::initSubcycle() 1 9.265e-06 9.265e-06 9.265e-06 0.00% DistributionMapping::Distribute() 31 9.141e-06 9.141e-06 9.141e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.384e-06 4.384e-06 4.384e-06 0.00% Castro::retry_advance_ctu() 5 2.025e-06 2.025e-06 2.025e-06 0.00% Gravity::set_mass_offset() 6 1.92e-06 1.92e-06 1.92e-06 0.00% Castro::FluxRegCrseInit 5 1.588e-06 1.588e-06 1.588e-06 0.00% Castro::FluxRegFineAdd() 5 1.076e-06 1.076e-06 1.076e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.053e-06 1.053e-06 1.053e-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 212 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 150 MiB 692 MiB Castro::initMFs() 48 48 61 MiB 68 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1059 KiB 39 MiB Castro::initialize_do_advance() 40 40 30 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2082 KiB 28 MiB Castro::initialize_advance() 40 40 18 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6873 KiB 14 MiB MLMG::prepareForSolve() 361 361 3432 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 193 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 197 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6859 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 24 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3566 B 2048 KiB Gravity::solve_for_phi() 40 40 632 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 29 KiB 2048 KiB BndryData::define() 576 576 316 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 203 KiB 671 KiB Castro::estTimeStep() 10 10 4373 B 480 KiB VisMF::Write(FabArray) 112 112 1364 B 320 KiB Castro::normalize_species() 30 30 8031 B 320 KiB amrex::average_down 469 469 1218 B 257 KiB MLMG::addInterpCorrection() 468 468 1137 B 257 KiB amrex::Dot() 592 592 3277 B 160 KiB FabArray::norminf() 398 398 2334 B 160 KiB check_for_negative_density() 5 5 367 B 160 KiB MultiFab::max() 6 6 80 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3328 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 275 B 9648 B MLCellLinOp::applyBC() 3892 3892 218 B 9344 B amrex::Copy() 56 56 6026 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 39 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 116 B 1472 B MLCellLinOp::defineBC() 36 36 355 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1314 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 90 KiB 8192 KiB VisMF::Write(FabArray) 120 120 203 KiB 3584 KiB VisMF::Read() 24 24 138 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3328 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 276 B 9648 B MLCellLinOp::applyBC() 1946 1946 216 B 9328 B amrex::Copy() 56 56 6026 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2689 B 3072 B StateData::FillBoundary(geom) 960 960 39 B 3024 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 529 B 1296 B amrex::average_down 37 37 225 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 24 B 400 B FabArray::norminf() 398 398 16 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2541 [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.10-12-g77d4d1fe5ce6) finalized