Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-29-gdbfa3b0daa3c) initialized Starting run at 07:39:01 UTC on 2023-07-20. Successfully read inputs file ... Castro git describe: 23.07-16-gcd2cd9695 AMReX git describe: 23.07-29-gdbfa3b0da Microphysics git describe: 23.07-34-g0ef8cc66 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.058810947 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033376304 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.049770214 [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.048463967 [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.071739453 [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.072600519 [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.055831587 [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.056450323 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.06665929 [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.077567705 [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.070569136 [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.052913372 [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.050857527 [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.056508657 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.053430206 seconds Ending run at 07:39:02 UTC on 2023-07-20. Run time = 0.923921411 Run time without initialization = 0.78406706 Average number of zones advanced per microsecond: 3.343 Average number of zones advanced per microsecond per rank: 3.343 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.924 ... 0.924 ... 0.924 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2541 0.2541 0.2541 27.50% VisMF::Write(FabArray) 11 0.2308 0.2308 0.2308 24.98% MLCellLinOp::applyBC() 4433 0.07513 0.07513 0.07513 8.13% FillBoundary_nowait() 4023 0.03229 0.03229 0.03229 3.49% MLPoisson::Fsmooth() 3280 0.03146 0.03146 0.03146 3.40% StateData::FillBoundary(geom) 328 0.02362 0.02362 0.02362 2.56% Amr::writePlotFile() 2 0.02322 0.02322 0.02322 2.51% Castro::normalize_species() 62 0.02007 0.02007 0.02007 2.17% amrex::Dot() 1114 0.01985 0.01985 0.01985 2.15% Castro::computeTemp() 63 0.01606 0.01606 0.01606 1.74% amrex::Copy() 1029 0.01453 0.01453 0.01453 1.57% FabArray::norminf() 743 0.01393 0.01393 0.01393 1.51% StateDataPhysBCFunct::() 41 0.01309 0.01309 0.01309 1.42% FabArray::ParallelCopy_nowait() 861 0.01284 0.01284 0.01284 1.39% FabArray::setVal() 1144 0.01272 0.01272 0.01272 1.38% Castro::enforce_min_density() 62 0.0112 0.0112 0.0112 1.21% MLPoisson::Fapply() 1142 0.009981 0.009981 0.009981 1.08% MLCellLinOp::defineAuxData() 11 0.00927 0.00927 0.00927 1.00% FabArray::Saxpy() 813 0.00789 0.00789 0.00789 0.85% FabArray::Xpay() 821 0.007832 0.007832 0.007832 0.85% MLMG::addInterpCorrection() 410 0.006625 0.006625 0.006625 0.72% Gravity::fill_multipole_BCs() 11 0.006531 0.006531 0.006531 0.71% amrex::average_down 410 0.005779 0.005779 0.005779 0.63% Castro::estTimeStep() 21 0.00549 0.00549 0.00549 0.59% Castro::reset_internal_energy(MultiFab) 63 0.005174 0.005174 0.005174 0.56% amrex::Add() 164 0.004347 0.004347 0.004347 0.47% FabArray::LinComb() 557 0.004331 0.004331 0.004331 0.47% Amr::checkPoint() 3 0.004036 0.004036 0.004036 0.44% BndryData::define() 11 0.00351 0.00351 0.00351 0.38% Castro::construct_new_gravity_source() 10 0.003138 0.003138 0.003138 0.34% Castro::construct_old_gravity_source() 10 0.002763 0.002763 0.002763 0.30% Castro::enforce_speed_limit() 62 0.002278 0.002278 0.002278 0.25% MLCGSolver::bicgstab 82 0.002107 0.002107 0.002107 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001621 0.001621 0.001621 0.18% Castro::reset_internal_energy(Fab) 504 0.001532 0.001532 0.001532 0.17% check_for_negative_density() 10 0.001496 0.001496 0.001496 0.16% Gravity::actual_solve_with_mlmg() 11 0.001489 0.001489 0.001489 0.16% MLCellLinOp::setLevelBC() 11 0.001351 0.001351 0.001351 0.15% FabArray::mult() 43 0.001304 0.001304 0.001304 0.14% FabArray::setDomainBndry() 41 0.001285 0.001285 0.001285 0.14% Castro::initData() 1 0.001232 0.001232 0.001232 0.13% MultiFab::contains_nan() 20 0.001187 0.001187 0.001187 0.13% MLCellLinOp::smooth() 1640 0.001155 0.001155 0.001155 0.13% MLCellLinOp::prepareForSolve() 11 0.001084 0.001084 0.001084 0.12% MLCellLinOp::compGrad() 11 0.0008923 0.0008923 0.0008923 0.10% MLMG::prepareForSolve() 11 0.0008441 0.0008441 0.0008441 0.09% FabArray::FillBoundary() 4023 0.0008414 0.0008414 0.0008414 0.09% FabArrayBase::getCPC() 1323 0.0007245 0.0007245 0.0007245 0.08% FabArrayBase::CPC::define() 454 0.0006666 0.0006666 0.0006666 0.07% FabArrayBase::getFB() 4023 0.0006188 0.0006188 0.0006188 0.07% Gravity::get_new_grav_vector() 11 0.0005383 0.0005383 0.0005383 0.06% Amr::InitAmr() 1 0.0004732 0.0004732 0.0004732 0.05% Gravity::get_old_grav_vector() 10 0.0004689 0.0004689 0.0004689 0.05% MLCellLinOp::apply() 1142 0.0004396 0.0004396 0.0004396 0.05% Amr::coarseTimeStep() 10 0.0003933 0.0003933 0.0003933 0.04% MLLinOp::defineGrids() 11 0.0003589 0.0003589 0.0003589 0.04% MLMG::mgVcycle() 82 0.0003578 0.0003578 0.0003578 0.04% AmrLevel::FillPatch() 41 0.0003164 0.0003164 0.0003164 0.03% main() 1 0.0002967 0.0002967 0.0002967 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002743 0.0002743 0.0002743 0.03% MultiFab::max() 11 0.0002554 0.0002554 0.0002554 0.03% FabArray::ParallelCopy() 861 0.0002334 0.0002334 0.0002334 0.03% MLCellLinOp::defineBC() 11 0.000212 0.000212 0.000212 0.02% MLCellLinOp::correctionResidual() 492 0.0002055 0.0002055 0.0002055 0.02% FillPatchIterator::Initialize 41 0.0001993 0.0001993 0.0001993 0.02% Castro::subcycle_advance_ctu() 10 0.0001806 0.0001806 0.0001806 0.02% Amr::timeStep() 10 0.0001566 0.0001566 0.0001566 0.02% Castro::create_source_corrector() 10 0.0001556 0.0001556 0.0001556 0.02% Castro::construct_new_source() 50 0.0001555 0.0001555 0.0001555 0.02% StateData::checkPoint() 12 0.0001461 0.0001461 0.0001461 0.02% Gravity::solve_for_phi() 10 0.00013 0.00013 0.00013 0.01% Gravity::update_max_rhs() 11 0.0001221 0.0001221 0.0001221 0.01% MLMG:computeResOfCorrection() 410 0.0001185 0.0001185 0.0001185 0.01% FabArrayBase::FB::FB() 56 8.896e-05 8.896e-05 8.896e-05 0.01% MLMG::actualBottomSolve() 82 8.746e-05 8.746e-05 8.746e-05 0.01% Castro::Castro() 1 8.608e-05 8.608e-05 8.608e-05 0.01% MLMG::mgVcycle_down::0 82 8.502e-05 8.502e-05 8.502e-05 0.01% MLMG::mgVcycle_down::1 82 8.109e-05 8.109e-05 8.109e-05 0.01% MLMG::mgVcycle_down::2 82 7.927e-05 7.927e-05 7.927e-05 0.01% MLMG::mgVcycle_down::4 82 7.818e-05 7.818e-05 7.818e-05 0.01% MLMG::mgVcycle_down::3 82 7.595e-05 7.595e-05 7.595e-05 0.01% AmrLevel::checkPoint() 3 7.577e-05 7.577e-05 7.577e-05 0.01% Castro::initialize_advance() 10 7.082e-05 7.082e-05 7.082e-05 0.01% MLMG::solve() 11 6.996e-05 6.996e-05 6.996e-05 0.01% Castro::advance() 10 6.809e-05 6.809e-05 6.809e-05 0.01% Castro::clean_state() 62 6.499e-05 6.499e-05 6.499e-05 0.01% MLMG::mgVcycle_up::4 82 6.189e-05 6.189e-05 6.189e-05 0.01% Castro::finalize_advance() 10 5.847e-05 5.847e-05 5.847e-05 0.01% MLMG::oneIter() 82 5.846e-05 5.846e-05 5.846e-05 0.01% Castro::initialize_do_advance() 10 5.513e-05 5.513e-05 5.513e-05 0.01% MLMG::mgVcycle_up::0 82 5.26e-05 5.26e-05 5.26e-05 0.01% MLMG::mgVcycle_up::3 82 5.167e-05 5.167e-05 5.167e-05 0.01% MLMG::mgVcycle_up::1 82 5.085e-05 5.085e-05 5.085e-05 0.01% MLCellLinOp::solutionResidual() 93 5.041e-05 5.041e-05 5.041e-05 0.01% MLMG::mgVcycle_up::2 82 5.04e-05 5.04e-05 5.04e-05 0.01% Castro::do_new_sources() 10 4.772e-05 4.772e-05 4.772e-05 0.01% Castro::do_advance_ctu() 10 4.603e-05 4.603e-05 4.603e-05 0.00% FillPatchIterator::FillFromLevel0() 41 4.414e-05 4.414e-05 4.414e-05 0.00% Castro::finalize_do_advance() 10 3.933e-05 3.933e-05 3.933e-05 0.00% Castro::post_timestep() 10 3.851e-05 3.851e-05 3.851e-05 0.00% Castro::swap_state_time_levels() 10 3.828e-05 3.828e-05 3.828e-05 0.00% StateData::define() 4 3.404e-05 3.404e-05 3.404e-05 0.00% FillPatchSingleLevel 41 3.331e-05 3.331e-05 3.331e-05 0.00% Castro::enforce_consistent_e() 1 3.221e-05 3.221e-05 3.221e-05 0.00% MLMG::computeResidual() 82 3.076e-05 3.076e-05 3.076e-05 0.00% MLMG::mgVcycle_bottom 82 3.022e-05 3.022e-05 3.022e-05 0.00% MLMG::ResNormInf() 93 3.022e-05 3.022e-05 3.022e-05 0.00% Amr::writeSmallPlotFile() 1 2.684e-05 2.684e-05 2.684e-05 0.00% MLPoisson::define() 11 2.519e-05 2.519e-05 2.519e-05 0.00% Castro::initMFs() 1 2.429e-05 2.429e-05 2.429e-05 0.00% makeSFC 55 2.423e-05 2.423e-05 2.423e-05 0.00% Castro::construct_new_gravity() 10 2.245e-05 2.245e-05 2.245e-05 0.00% Castro::do_old_sources() 10 2.122e-05 2.122e-05 2.122e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.077e-05 2.077e-05 2.077e-05 0.00% Amr::FinalizeInit() 1 2.021e-05 2.021e-05 2.021e-05 0.00% Castro::construct_old_source() 50 1.774e-05 1.774e-05 1.774e-05 0.00% Castro::buildMetrics() 1 1.673e-05 1.673e-05 1.673e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.634e-05 1.634e-05 1.634e-05 0.00% MLLinOp::define() 11 1.576e-05 1.576e-05 1.576e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.555e-05 1.555e-05 1.555e-05 0.00% Amr::defBaseLevel() 1 1.43e-05 1.43e-05 1.43e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.404e-05 1.404e-05 1.404e-05 0.00% DistributionMapping::Distribute() 56 1.391e-05 1.391e-05 1.391e-05 0.00% Castro::apply_source_to_state() 20 1.081e-05 1.081e-05 1.081e-05 0.00% Castro::check_for_nan() 20 1.03e-05 1.03e-05 1.03e-05 0.00% Castro::construct_old_gravity() 10 1.018e-05 1.018e-05 1.018e-05 0.00% Gravity::swapTimeLevels() 10 8.739e-06 8.739e-06 8.739e-06 0.00% Amr::initSubcycle() 1 8.727e-06 8.727e-06 8.727e-06 0.00% MLPoisson::prepareForSolve() 11 8.039e-06 8.039e-06 8.039e-06 0.00% Gravity::actual_multilevel_solve() 1 8.017e-06 8.017e-06 8.017e-06 0.00% MLMG::computeMLResidual() 11 7.575e-06 7.575e-06 7.575e-06 0.00% Castro::computeNewDt() 9 6.76e-06 6.76e-06 6.76e-06 0.00% MLMG::getGradSolution() 11 5.287e-06 5.287e-06 5.287e-06 0.00% AmrLevel::checkPointPost() 3 5.033e-06 5.033e-06 5.033e-06 0.00% Castro::expand_state() 10 4.884e-06 4.884e-06 4.884e-06 0.00% Amr::InitializeInit() 1 4.543e-06 4.543e-06 4.543e-06 0.00% Gravity::set_mass_offset() 11 4.245e-06 4.245e-06 4.245e-06 0.00% Castro::post_init() 1 4.076e-06 4.076e-06 4.076e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.796e-06 3.796e-06 3.796e-06 0.00% MLMG::MLRhsNormInf() 11 3.748e-06 3.748e-06 3.748e-06 0.00% Castro::retry_advance_ctu() 10 3.696e-06 3.696e-06 3.696e-06 0.00% MLMG::MLResNormInf() 11 3.428e-06 3.428e-06 3.428e-06 0.00% Amr::init() 1 2.646e-06 2.646e-06 2.646e-06 0.00% Castro::FluxRegCrseInit 10 2.403e-06 2.403e-06 2.403e-06 0.00% Castro::computeInitialDt() 2 2.251e-06 2.251e-06 2.251e-06 0.00% Castro::FluxRegFineAdd() 10 2.111e-06 2.111e-06 2.111e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.929e-06 1.929e-06 1.929e-06 0.00% AmrLevel::checkPointPre() 3 1.528e-06 1.528e-06 1.528e-06 0.00% Amr::initialInit() 1 9.39e-07 9.39e-07 9.39e-07 0.00% Castro::post_regrid() 1 9.13e-07 9.13e-07 9.13e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9239 0.9239 0.9239 100.00% Amr::coarseTimeStep() 10 0.7304 0.7304 0.7304 79.05% Amr::timeStep() 10 0.6139 0.6139 0.6139 66.44% Castro::advance() 10 0.6034 0.6034 0.6034 65.31% Castro::subcycle_advance_ctu() 10 0.5901 0.5901 0.5901 63.87% Castro::do_advance_ctu() 10 0.5899 0.5899 0.5899 63.85% Gravity::solve_phi_with_mlmg() 11 0.2775 0.2775 0.2775 30.04% Gravity::actual_solve_with_mlmg() 11 0.2705 0.2705 0.2705 29.28% Castro::construct_ctu_hydro_source() 10 0.2639 0.2639 0.2639 28.56% Castro::construct_new_gravity() 10 0.2535 0.2535 0.2535 27.44% MLMG::solve() 11 0.2507 0.2507 0.2507 27.13% Gravity::solve_for_phi() 10 0.2384 0.2384 0.2384 25.80% MLMG::oneIter() 82 0.2367 0.2367 0.2367 25.62% MLMG::mgVcycle() 82 0.233 0.233 0.233 25.22% VisMF::Write(FabArray) 11 0.2308 0.2308 0.2308 24.98% Amr::checkPoint() 3 0.1719 0.1719 0.1719 18.60% AmrLevel::checkPoint() 3 0.1679 0.1679 0.1679 18.17% StateData::checkPoint() 12 0.1678 0.1678 0.1678 18.16% Amr::init() 1 0.1392 0.1392 0.1392 15.07% MLCellLinOp::smooth() 1640 0.116 0.116 0.116 12.55% MLCellLinOp::applyBC() 4433 0.109 0.109 0.109 11.79% Amr::writePlotFile() 2 0.08694 0.08694 0.08694 9.41% MLMG::mgVcycle_bottom 82 0.07102 0.07102 0.07102 7.69% MLMG::actualBottomSolve() 82 0.07099 0.07099 0.07099 7.68% MLCGSolver::bicgstab 82 0.07032 0.07032 0.07032 7.61% Castro::clean_state() 62 0.05562 0.05562 0.05562 6.02% Amr::initialInit() 1 0.04693 0.04693 0.04693 5.08% AmrLevel::FillPatch() 41 0.04642 0.04642 0.04642 5.02% Amr::FinalizeInit() 1 0.04275 0.04275 0.04275 4.63% FillPatchIterator::Initialize 41 0.04229 0.04229 0.04229 4.58% Castro::post_init() 1 0.04148 0.04148 0.04148 4.49% FillPatchIterator::FillFromLevel0() 41 0.04081 0.04081 0.04081 4.42% FillPatchSingleLevel 41 0.04077 0.04077 0.04077 4.41% Gravity::multilevel_solve_for_new_phi() 1 0.03963 0.03963 0.03963 4.29% Gravity::actual_multilevel_solve() 1 0.03961 0.03961 0.03961 4.29% StateDataPhysBCFunct::() 41 0.03671 0.03671 0.03671 3.97% MLCellLinOp::apply() 1142 0.03558 0.03558 0.03558 3.85% MLMG::mgVcycle_down::0 82 0.03419 0.03419 0.03419 3.70% FabArray::FillBoundary() 4023 0.03384 0.03384 0.03384 3.66% FillBoundary_nowait() 4023 0.033 0.033 0.033 3.57% MLPoisson::Fsmooth() 3280 0.03146 0.03146 0.03146 3.40% MLMG::mgVcycle_up::0 82 0.02594 0.02594 0.02594 2.81% StateData::FillBoundary(geom) 328 0.02362 0.02362 0.02362 2.56% Castro::computeTemp() 63 0.02277 0.02277 0.02277 2.46% MLCellLinOp::correctionResidual() 492 0.02188 0.02188 0.02188 2.37% Castro::initialize_do_advance() 10 0.02175 0.02175 0.02175 2.35% Castro::normalize_species() 62 0.02007 0.02007 0.02007 2.17% amrex::Dot() 1114 0.01985 0.01985 0.01985 2.15% Castro::do_old_sources() 10 0.01964 0.01964 0.01964 2.13% MLMG:computeResOfCorrection() 410 0.01933 0.01933 0.01933 2.09% Gravity::get_new_grav_vector() 11 0.01672 0.01672 0.01672 1.81% MLPoisson::define() 11 0.01567 0.01567 0.01567 1.70% MLMG::mgVcycle_down::1 82 0.01533 0.01533 0.01533 1.66% Castro::construct_old_gravity() 10 0.0146 0.0146 0.0146 1.58% Gravity::get_old_grav_vector() 10 0.01459 0.01459 0.01459 1.58% amrex::Copy() 1029 0.01453 0.01453 0.01453 1.57% MLMG::mgVcycle_down::2 82 0.0143 0.0143 0.0143 1.55% MLMG::mgVcycle_down::3 82 0.014 0.014 0.014 1.52% FabArray::norminf() 743 0.01393 0.01393 0.01393 1.51% FabArray::ParallelCopy() 861 0.01385 0.01385 0.01385 1.50% MLMG::mgVcycle_down::4 82 0.01382 0.01382 0.01382 1.50% FabArray::ParallelCopy_nowait() 861 0.01362 0.01362 0.01362 1.47% Castro::do_new_sources() 10 0.01325 0.01325 0.01325 1.43% FabArray::setVal() 1144 0.01272 0.01272 0.01272 1.38% Castro::initialize_advance() 10 0.01266 0.01266 0.01266 1.37% Castro::expand_state() 10 0.01198 0.01198 0.01198 1.30% MLCGSolver::ParallelAllReduce 1514 0.01191 0.01191 0.01191 1.29% MLMG::addInterpCorrection() 410 0.01152 0.01152 0.01152 1.25% MLMG::mgVcycle_up::4 82 0.01122 0.01122 0.01122 1.21% Castro::enforce_min_density() 62 0.0112 0.0112 0.0112 1.21% MLMG::mgVcycle_up::1 82 0.01118 0.01118 0.01118 1.21% MLMG::mgVcycle_up::2 82 0.01095 0.01095 0.01095 1.18% MLMG::mgVcycle_up::3 82 0.01074 0.01074 0.01074 1.16% amrex::average_down 410 0.01072 0.01072 0.01072 1.16% MLCellLinOp::defineAuxData() 11 0.01057 0.01057 0.01057 1.14% Castro::post_timestep() 10 0.0103 0.0103 0.0103 1.11% MLPoisson::Fapply() 1142 0.009981 0.009981 0.009981 1.08% FabArray::Saxpy() 813 0.00789 0.00789 0.00789 0.85% FabArray::Xpay() 821 0.007832 0.007832 0.007832 0.85% MLCellLinOp::solutionResidual() 93 0.007026 0.007026 0.007026 0.76% Gravity::fill_multipole_BCs() 11 0.006782 0.006782 0.006782 0.73% Castro::reset_internal_energy(MultiFab) 63 0.006705 0.006705 0.006705 0.73% MLMG::computeResidual() 82 0.006065 0.006065 0.006065 0.66% Castro::estTimeStep() 21 0.00549 0.00549 0.00549 0.59% MLCellLinOp::defineBC() 11 0.004653 0.004653 0.004653 0.50% MLMG::prepareForSolve() 11 0.004504 0.004504 0.004504 0.49% BndryData::define() 11 0.004441 0.004441 0.004441 0.48% amrex::Add() 164 0.004347 0.004347 0.004347 0.47% FabArray::LinComb() 557 0.004331 0.004331 0.004331 0.47% Amr::InitializeInit() 1 0.004179 0.004179 0.004179 0.45% Amr::defBaseLevel() 1 0.004175 0.004175 0.004175 0.45% Castro::initData() 1 0.003684 0.003684 0.003684 0.40% Castro::construct_new_source() 50 0.003293 0.003293 0.003293 0.36% Castro::construct_new_gravity_source() 10 0.003138 0.003138 0.003138 0.34% Castro::construct_old_source() 50 0.00278 0.00278 0.00278 0.30% Castro::construct_old_gravity_source() 10 0.002763 0.002763 0.002763 0.30% Castro::computeNewDt() 9 0.002351 0.002351 0.002351 0.25% Castro::finalize_do_advance() 10 0.002285 0.002285 0.002285 0.25% Castro::enforce_speed_limit() 62 0.002278 0.002278 0.002278 0.25% MLMG::ResNormInf() 93 0.002101 0.002101 0.002101 0.23% Castro::apply_source_to_state() 20 0.001809 0.001809 0.001809 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001621 0.001621 0.001621 0.18% Castro::reset_internal_energy(Fab) 504 0.001532 0.001532 0.001532 0.17% check_for_negative_density() 10 0.001496 0.001496 0.001496 0.16% FabArrayBase::getCPC() 1323 0.001391 0.001391 0.001391 0.15% MLMG::getGradSolution() 11 0.001363 0.001363 0.001363 0.15% MLCellLinOp::compGrad() 11 0.001357 0.001357 0.001357 0.15% MLCellLinOp::setLevelBC() 11 0.001351 0.001351 0.001351 0.15% FabArray::mult() 43 0.001304 0.001304 0.001304 0.14% FabArray::setDomainBndry() 41 0.001285 0.001285 0.001285 0.14% Castro::check_for_nan() 20 0.001197 0.001197 0.001197 0.13% MultiFab::contains_nan() 20 0.001187 0.001187 0.001187 0.13% MLPoisson::prepareForSolve() 11 0.001092 0.001092 0.001092 0.12% Castro::post_regrid() 1 0.00109 0.00109 0.00109 0.12% MLCellLinOp::prepareForSolve() 11 0.001084 0.001084 0.001084 0.12% MLMG::computeMLResidual() 11 0.0009996 0.0009996 0.0009996 0.11% Castro::computeInitialDt() 2 0.0009024 0.0009024 0.0009024 0.10% Gravity::update_max_rhs() 11 0.0008049 0.0008049 0.0008049 0.09% FabArrayBase::getFB() 4023 0.0007078 0.0007078 0.0007078 0.08% FabArrayBase::CPC::define() 454 0.0006666 0.0006666 0.0006666 0.07% Castro::finalize_advance() 10 0.0005681 0.0005681 0.0005681 0.06% Amr::InitAmr() 1 0.0004819 0.0004819 0.0004819 0.05% MLLinOp::define() 11 0.0004275 0.0004275 0.0004275 0.05% Gravity::swapTimeLevels() 10 0.0004269 0.0004269 0.0004269 0.05% Castro::Castro() 1 0.000422 0.000422 0.000422 0.05% MLLinOp::defineGrids() 11 0.0004118 0.0004118 0.0004118 0.04% MLMG::MLResNormInf() 11 0.0002805 0.0002805 0.0002805 0.03% MultiFab::max() 11 0.0002554 0.0002554 0.0002554 0.03% MLMG::MLRhsNormInf() 11 0.0002179 0.0002179 0.0002179 0.02% Castro::create_source_corrector() 10 0.0001556 0.0001556 0.0001556 0.02% Castro::buildMetrics() 1 0.0001534 0.0001534 0.0001534 0.02% FabArrayBase::FB::FB() 56 8.896e-05 8.896e-05 8.896e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.095e-05 5.095e-05 5.095e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.959e-05 4.959e-05 4.959e-05 0.01% Castro::swap_state_time_levels() 10 3.828e-05 3.828e-05 3.828e-05 0.00% makeSFC 55 3.692e-05 3.692e-05 3.692e-05 0.00% StateData::define() 4 3.404e-05 3.404e-05 3.404e-05 0.00% Castro::enforce_consistent_e() 1 3.221e-05 3.221e-05 3.221e-05 0.00% Amr::writeSmallPlotFile() 1 2.684e-05 2.684e-05 2.684e-05 0.00% Castro::initMFs() 1 2.429e-05 2.429e-05 2.429e-05 0.00% DistributionMapping::Distribute() 56 1.391e-05 1.391e-05 1.391e-05 0.00% Amr::initSubcycle() 1 8.727e-06 8.727e-06 8.727e-06 0.00% AmrLevel::checkPointPost() 3 5.033e-06 5.033e-06 5.033e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.022e-06 5.022e-06 5.022e-06 0.00% Gravity::set_mass_offset() 11 4.245e-06 4.245e-06 4.245e-06 0.00% Castro::retry_advance_ctu() 10 3.696e-06 3.696e-06 3.696e-06 0.00% Castro::FluxRegCrseInit 10 2.403e-06 2.403e-06 2.403e-06 0.00% Castro::FluxRegFineAdd() 10 2.111e-06 2.111e-06 2.111e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.929e-06 1.929e-06 1.929e-06 0.00% AmrLevel::checkPointPre() 3 1.528e-06 1.528e-06 1.528e-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 87 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 132 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 999 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2010 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7610 KiB 14 MiB MLMG::prepareForSolve() 660 660 3338 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 188 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 161 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7528 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1672 B 2048 KiB Gravity::solve_for_phi() 80 80 527 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 87 KiB 2048 KiB BndryData::define() 1056 1056 304 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 193 KiB 671 KiB Castro::estTimeStep() 21 21 2900 B 480 KiB VisMF::Write(FabArray) 656 656 3170 B 320 KiB Castro::normalize_species() 62 62 7081 B 320 KiB amrex::average_down 1067 1067 1186 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1085 B 257 KiB amrex::Dot() 1360 1360 3170 B 160 KiB FabArray::norminf() 907 907 2232 B 160 KiB check_for_negative_density() 10 10 258 B 160 KiB Castro::initData() 1 1 25 B 160 KiB MultiFab::max() 11 11 42 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 25 B 20 KiB MLPoisson::Fsmooth() 132 132 3265 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 307 B 9648 B MLCellLinOp::applyBC() 8866 8866 210 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3831 B 6144 B StateData::FillBoundary(geom) 1992 1992 46 B 2976 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 110 B 1472 B MLCellLinOp::defineBC() 66 66 343 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 592 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 48 KiB 8192 KiB VisMF::Write(FabArray) 744 744 572 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3265 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 307 B 9648 B MLCellLinOp::applyBC() 4433 4433 209 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3831 B 6144 B Gravity::get_new_grav_vector() 3 3 2916 B 3072 B StateData::FillBoundary(geom) 1992 1992 46 B 2976 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 278 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 23 B 400 B FabArray::norminf() 907 907 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): 2422 [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.07-29-gdbfa3b0daa3c) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-29-gdbfa3b0daa3c) initialized Starting run at 07:39:02 UTC on 2023-07-20. Successfully read inputs file ... Castro git describe: 23.07-16-gcd2cd9695 AMReX git describe: 23.07-29-gdbfa3b0da Microphysics git describe: 23.07-34-g0ef8cc66 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.49470597 Restart time = 0.043587547 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.048265424 [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.061186073 [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.073324609 [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.071937298 [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.053610738 [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.032126441 seconds Ending run at 07:39:03 UTC on 2023-07-20. Run time = 0.385017672 Run time without initialization = 0.340865173 Average number of zones advanced per microsecond: 3.845 Average number of zones advanced per microsecond per rank: 3.845 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.385 ... 0.385 ... 0.385 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1277 0.1277 0.1277 33.17% VisMF::Read() 3 0.03744 0.03744 0.03744 9.72% MLCellLinOp::applyBC() 1946 0.03229 0.03229 0.03229 8.39% VisMF::Write(FabArray) 1 0.03053 0.03053 0.03053 7.93% MLPoisson::Fsmooth() 1440 0.01343 0.01343 0.01343 3.49% FillBoundary_nowait() 1766 0.01285 0.01285 0.01285 3.34% StateData::FillBoundary(geom) 160 0.01159 0.01159 0.01159 3.01% Castro::normalize_species() 30 0.009579 0.009579 0.009579 2.49% amrex::Dot() 484 0.008439 0.008439 0.008439 2.19% Castro::computeTemp() 30 0.007319 0.007319 0.007319 1.90% amrex::Copy() 463 0.006763 0.006763 0.006763 1.76% FabArray::setVal() 537 0.006014 0.006014 0.006014 1.56% FabArray::norminf() 326 0.005958 0.005958 0.005958 1.55% FabArray::ParallelCopy_nowait() 380 0.0058 0.0058 0.0058 1.51% Castro::enforce_min_density() 30 0.005659 0.005659 0.005659 1.47% MLCellLinOp::defineAuxData() 6 0.004977 0.004977 0.004977 1.29% StateDataPhysBCFunct::() 20 0.004843 0.004843 0.004843 1.26% MLPoisson::Fapply() 500 0.004243 0.004243 0.004243 1.10% Castro::estTimeStep() 10 0.004015 0.004015 0.004015 1.04% FabArray::Saxpy() 355 0.003511 0.003511 0.003511 0.91% FabArray::Xpay() 361 0.003405 0.003405 0.003405 0.88% Gravity::fill_multipole_BCs() 6 0.00336 0.00336 0.00336 0.87% MLMG::addInterpCorrection() 180 0.002868 0.002868 0.002868 0.74% amrex::average_down 180 0.002509 0.002509 0.002509 0.65% Amr::restart() 1 0.002491 0.002491 0.002491 0.65% Castro::reset_internal_energy(MultiFab) 30 0.002121 0.002121 0.002121 0.55% BndryData::define() 6 0.001918 0.001918 0.001918 0.50% amrex::Add() 72 0.001822 0.001822 0.001822 0.47% FabArray::LinComb() 242 0.001821 0.001821 0.001821 0.47% Castro::construct_new_gravity_source() 5 0.001595 0.001595 0.001595 0.41% Castro::construct_old_gravity_source() 5 0.001443 0.001443 0.001443 0.37% Amr::writePlotFile() 1 0.001438 0.001438 0.001438 0.37% MLCGSolver::bicgstab 36 0.0009343 0.0009343 0.0009343 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008576 0.0008576 0.0008576 0.22% Gravity::actual_solve_with_mlmg() 6 0.000805 0.000805 0.000805 0.21% check_for_negative_density() 5 0.0007387 0.0007387 0.0007387 0.19% Castro::reset_internal_energy(Fab) 240 0.0007299 0.0007299 0.0007299 0.19% MLCellLinOp::setLevelBC() 6 0.0007217 0.0007217 0.0007217 0.19% FabArray::mult() 22 0.000639 0.000639 0.000639 0.17% FabArray::setDomainBndry() 20 0.0006203 0.0006203 0.0006203 0.16% MultiFab::contains_nan() 10 0.0005916 0.0005916 0.0005916 0.15% MLCellLinOp::prepareForSolve() 6 0.0005911 0.0005911 0.0005911 0.15% MLCellLinOp::smooth() 720 0.0005378 0.0005378 0.0005378 0.14% MLCellLinOp::compGrad() 6 0.0004831 0.0004831 0.0004831 0.13% MLMG::prepareForSolve() 6 0.0004638 0.0004638 0.0004638 0.12% FabArrayBase::CPC::define() 244 0.0004226 0.0004226 0.0004226 0.11% Castro::enforce_speed_limit() 30 0.0003985 0.0003985 0.0003985 0.10% Amr::InitAmr() 1 0.000385 0.000385 0.000385 0.10% FabArray::FillBoundary() 1766 0.0003789 0.0003789 0.0003789 0.10% FabArrayBase::getCPC() 632 0.0003608 0.0003608 0.0003608 0.09% main() 1 0.0002698 0.0002698 0.0002698 0.07% Gravity::get_old_grav_vector() 5 0.0002576 0.0002576 0.0002576 0.07% FabArrayBase::getFB() 1766 0.0002561 0.0002561 0.0002561 0.07% Gravity::get_new_grav_vector() 5 0.0002473 0.0002473 0.0002473 0.06% MLCellLinOp::apply() 500 0.0001931 0.0001931 0.0001931 0.05% MLLinOp::defineGrids() 6 0.0001764 0.0001764 0.0001764 0.05% Amr::coarseTimeStep() 5 0.0001758 0.0001758 0.0001758 0.05% MLMG::mgVcycle() 36 0.0001678 0.0001678 0.0001678 0.04% AmrLevel::FillPatch() 20 0.0001593 0.0001593 0.0001593 0.04% MultiFab::max() 6 0.0001348 0.0001348 0.0001348 0.03% MLCGSolver::ParallelAllReduce 659 0.0001252 0.0001252 0.0001252 0.03% Castro::do_new_sources() 5 0.0001201 0.0001201 0.0001201 0.03% MLCellLinOp::defineBC() 6 0.0001077 0.0001077 0.0001077 0.03% FabArray::ParallelCopy() 380 0.0001029 0.0001029 0.0001029 0.03% FillPatchIterator::Initialize 20 0.0001003 0.0001003 0.0001003 0.03% MLCellLinOp::correctionResidual() 216 9.652e-05 9.652e-05 9.652e-05 0.03% Castro::construct_new_source() 25 9.205e-05 9.205e-05 9.205e-05 0.02% Amr::timeStep() 5 8.16e-05 8.16e-05 8.16e-05 0.02% Castro::create_source_corrector() 5 7.853e-05 7.853e-05 7.853e-05 0.02% Castro::subcycle_advance_ctu() 5 7.427e-05 7.427e-05 7.427e-05 0.02% AmrLevel::restart() 1 7.417e-05 7.417e-05 7.417e-05 0.02% Castro::finalize_do_advance() 5 6.905e-05 6.905e-05 6.905e-05 0.02% Gravity::update_max_rhs() 6 6.432e-05 6.432e-05 6.432e-05 0.02% StateData::restartDoit() 4 6.24e-05 6.24e-05 6.24e-05 0.02% FabArrayBase::FB::FB() 26 6.025e-05 6.025e-05 6.025e-05 0.02% Castro::advance() 5 5.905e-05 5.905e-05 5.905e-05 0.02% MLMG:computeResOfCorrection() 180 5.82e-05 5.82e-05 5.82e-05 0.02% Gravity::solve_for_phi() 5 5.072e-05 5.072e-05 5.072e-05 0.01% Castro::initialize_do_advance() 5 4.904e-05 4.904e-05 4.904e-05 0.01% MLMG::actualBottomSolve() 36 4.519e-05 4.519e-05 4.519e-05 0.01% MLMG::mgVcycle_down::0 36 3.865e-05 3.865e-05 3.865e-05 0.01% MLMG::mgVcycle_down::1 36 3.767e-05 3.767e-05 3.767e-05 0.01% MLMG::mgVcycle_down::4 36 3.637e-05 3.637e-05 3.637e-05 0.01% MLMG::mgVcycle_down::2 36 3.552e-05 3.552e-05 3.552e-05 0.01% MLMG::mgVcycle_down::3 36 3.464e-05 3.464e-05 3.464e-05 0.01% Castro::post_timestep() 5 3.458e-05 3.458e-05 3.458e-05 0.01% Castro::initialize_advance() 5 3.353e-05 3.353e-05 3.353e-05 0.01% Castro::do_old_sources() 5 3.325e-05 3.325e-05 3.325e-05 0.01% MLMG::solve() 6 3.264e-05 3.264e-05 3.264e-05 0.01% Castro::construct_old_source() 25 3.234e-05 3.234e-05 3.234e-05 0.01% Castro::clean_state() 30 2.95e-05 2.95e-05 2.95e-05 0.01% MLMG::mgVcycle_up::4 36 2.93e-05 2.93e-05 2.93e-05 0.01% Castro::finalize_advance() 5 2.823e-05 2.823e-05 2.823e-05 0.01% Castro::buildMetrics() 1 2.761e-05 2.761e-05 2.761e-05 0.01% Amr::writeSmallPlotFile() 1 2.552e-05 2.552e-05 2.552e-05 0.01% Castro::initMFs() 1 2.494e-05 2.494e-05 2.494e-05 0.01% MLMG::mgVcycle_up::0 36 2.48e-05 2.48e-05 2.48e-05 0.01% Castro::do_advance_ctu() 5 2.469e-05 2.469e-05 2.469e-05 0.01% MLMG::mgVcycle_up::3 36 2.453e-05 2.453e-05 2.453e-05 0.01% MLMG::mgVcycle_up::2 36 2.42e-05 2.42e-05 2.42e-05 0.01% Castro::swap_state_time_levels() 5 2.409e-05 2.409e-05 2.409e-05 0.01% MLMG::oneIter() 36 2.378e-05 2.378e-05 2.378e-05 0.01% MLMG::mgVcycle_up::1 36 2.256e-05 2.256e-05 2.256e-05 0.01% MLCellLinOp::solutionResidual() 42 2.223e-05 2.223e-05 2.223e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.09e-05 2.09e-05 2.09e-05 0.01% Castro::post_restart() 1 1.972e-05 1.972e-05 1.972e-05 0.01% MLPoisson::define() 6 1.931e-05 1.931e-05 1.931e-05 0.01% MLMG::ResNormInf() 42 1.671e-05 1.671e-05 1.671e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.583e-05 1.583e-05 1.583e-05 0.00% FillPatchSingleLevel 20 1.494e-05 1.494e-05 1.494e-05 0.00% MLMG::mgVcycle_bottom 36 1.422e-05 1.422e-05 1.422e-05 0.00% MLMG::computeResidual() 36 1.362e-05 1.362e-05 1.362e-05 0.00% makeSFC 30 1.312e-05 1.312e-05 1.312e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.172e-05 1.172e-05 1.172e-05 0.00% Castro::construct_new_gravity() 5 1.11e-05 1.11e-05 1.11e-05 0.00% MLLinOp::define() 6 1.03e-05 1.03e-05 1.03e-05 0.00% Amr::initSubcycle() 1 9.574e-06 9.574e-06 9.574e-06 0.00% DistributionMapping::Distribute() 31 7.809e-06 7.809e-06 7.809e-06 0.00% Gravity::actual_multilevel_solve() 1 7.307e-06 7.307e-06 7.307e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.068e-06 7.068e-06 7.068e-06 0.00% Castro::construct_old_gravity() 5 5.837e-06 5.837e-06 5.837e-06 0.00% Castro::apply_source_to_state() 10 5.409e-06 5.409e-06 5.409e-06 0.00% Castro::check_for_nan() 10 5.351e-06 5.351e-06 5.351e-06 0.00% MLPoisson::prepareForSolve() 6 4.214e-06 4.214e-06 4.214e-06 0.00% Gravity::swapTimeLevels() 5 3.921e-06 3.921e-06 3.921e-06 0.00% MLMG::computeMLResidual() 6 3.751e-06 3.751e-06 3.751e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.584e-06 3.584e-06 3.584e-06 0.00% MLMG::getGradSolution() 6 3.488e-06 3.488e-06 3.488e-06 0.00% Castro::computeNewDt() 5 3.273e-06 3.273e-06 3.273e-06 0.00% Castro::expand_state() 5 2.532e-06 2.532e-06 2.532e-06 0.00% MLMG::MLRhsNormInf() 6 2.12e-06 2.12e-06 2.12e-06 0.00% MLMG::MLResNormInf() 6 2.088e-06 2.088e-06 2.088e-06 0.00% Gravity::set_mass_offset() 6 1.995e-06 1.995e-06 1.995e-06 0.00% Castro::retry_advance_ctu() 5 1.927e-06 1.927e-06 1.927e-06 0.00% Castro::FluxRegCrseInit 5 1.472e-06 1.472e-06 1.472e-06 0.00% Amr::init() 1 1.125e-06 1.125e-06 1.125e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.034e-06 1.034e-06 1.034e-06 0.00% Castro::FluxRegFineAdd() 5 9.88e-07 9.88e-07 9.88e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.385 0.385 0.385 100.00% Amr::coarseTimeStep() 5 0.3085 0.3085 0.3085 80.12% Amr::timeStep() 5 0.3064 0.3064 0.3064 79.58% Castro::advance() 5 0.3021 0.3021 0.3021 78.46% Castro::subcycle_advance_ctu() 5 0.2954 0.2954 0.2954 76.72% Castro::do_advance_ctu() 5 0.2953 0.2953 0.2953 76.70% Castro::construct_ctu_hydro_source() 5 0.1323 0.1323 0.1323 34.37% Castro::construct_new_gravity() 5 0.1259 0.1259 0.1259 32.70% Gravity::solve_phi_with_mlmg() 6 0.1215 0.1215 0.1215 31.54% Gravity::solve_for_phi() 5 0.1185 0.1185 0.1185 30.77% Gravity::actual_solve_with_mlmg() 6 0.1179 0.1179 0.1179 30.61% MLMG::solve() 6 0.1071 0.1071 0.1071 27.82% MLMG::oneIter() 36 0.1004 0.1004 0.1004 26.08% MLMG::mgVcycle() 36 0.0989 0.0989 0.0989 25.68% MLCellLinOp::smooth() 720 0.04881 0.04881 0.04881 12.68% MLCellLinOp::applyBC() 1946 0.04583 0.04583 0.04583 11.90% Amr::init() 1 0.04363 0.04363 0.04363 11.33% Amr::restart() 1 0.04363 0.04363 0.04363 11.33% AmrLevel::restart() 1 0.03764 0.03764 0.03764 9.78% StateData::restartDoit() 4 0.03756 0.03756 0.03756 9.76% VisMF::Read() 3 0.03744 0.03744 0.03744 9.72% Amr::writePlotFile() 1 0.03222 0.03222 0.03222 8.37% VisMF::Write(FabArray) 1 0.03053 0.03053 0.03053 7.93% MLMG::mgVcycle_bottom 36 0.0303 0.0303 0.0303 7.87% MLMG::actualBottomSolve() 36 0.03029 0.03029 0.03029 7.87% MLCGSolver::bicgstab 36 0.02999 0.02999 0.02999 7.79% Castro::clean_state() 30 0.02584 0.02584 0.02584 6.71% AmrLevel::FillPatch() 20 0.02122 0.02122 0.02122 5.51% FillPatchIterator::Initialize 20 0.01919 0.01919 0.01919 4.98% FillPatchIterator::FillFromLevel0() 20 0.01847 0.01847 0.01847 4.80% FillPatchSingleLevel 20 0.01845 0.01845 0.01845 4.79% StateDataPhysBCFunct::() 20 0.01643 0.01643 0.01643 4.27% MLCellLinOp::apply() 500 0.01518 0.01518 0.01518 3.94% MLMG::mgVcycle_down::0 36 0.01416 0.01416 0.01416 3.68% FabArray::FillBoundary() 1766 0.01355 0.01355 0.01355 3.52% MLPoisson::Fsmooth() 1440 0.01343 0.01343 0.01343 3.49% FillBoundary_nowait() 1766 0.01317 0.01317 0.01317 3.42% StateData::FillBoundary(geom) 160 0.01159 0.01159 0.01159 3.01% Castro::initialize_do_advance() 5 0.01078 0.01078 0.01078 2.80% MLMG::mgVcycle_up::0 36 0.01074 0.01074 0.01074 2.79% Castro::computeTemp() 30 0.01017 0.01017 0.01017 2.64% Castro::do_old_sources() 5 0.009653 0.009653 0.009653 2.51% Castro::normalize_species() 30 0.009579 0.009579 0.009579 2.49% MLCellLinOp::correctionResidual() 216 0.009246 0.009246 0.009246 2.40% MLPoisson::define() 6 0.008486 0.008486 0.008486 2.20% amrex::Dot() 484 0.008439 0.008439 0.008439 2.19% MLMG:computeResOfCorrection() 180 0.008145 0.008145 0.008145 2.12% Gravity::get_new_grav_vector() 5 0.007349 0.007349 0.007349 1.91% Castro::construct_old_gravity() 5 0.007227 0.007227 0.007227 1.88% Gravity::get_old_grav_vector() 5 0.007221 0.007221 0.007221 1.88% amrex::Copy() 463 0.006763 0.006763 0.006763 1.76% Castro::do_new_sources() 5 0.006722 0.006722 0.006722 1.75% MLMG::mgVcycle_down::1 36 0.006568 0.006568 0.006568 1.71% Castro::initialize_advance() 5 0.006393 0.006393 0.006393 1.66% FabArray::ParallelCopy() 380 0.006294 0.006294 0.006294 1.63% FabArray::ParallelCopy_nowait() 380 0.006191 0.006191 0.006191 1.61% MLMG::mgVcycle_down::2 36 0.006144 0.006144 0.006144 1.60% FabArray::setVal() 537 0.006014 0.006014 0.006014 1.56% MLMG::mgVcycle_down::3 36 0.005997 0.005997 0.005997 1.56% FabArray::norminf() 326 0.005958 0.005958 0.005958 1.55% MLMG::mgVcycle_down::4 36 0.005917 0.005917 0.005917 1.54% MLCellLinOp::defineAuxData() 6 0.005692 0.005692 0.005692 1.48% Castro::enforce_min_density() 30 0.005659 0.005659 0.005659 1.47% Castro::expand_state() 5 0.005301 0.005301 0.005301 1.38% MLCGSolver::ParallelAllReduce 659 0.005091 0.005091 0.005091 1.32% MLMG::addInterpCorrection() 180 0.005008 0.005008 0.005008 1.30% MLMG::mgVcycle_up::4 36 0.004821 0.004821 0.004821 1.25% MLMG::mgVcycle_up::1 36 0.004785 0.004785 0.004785 1.24% MLMG::mgVcycle_up::2 36 0.004692 0.004692 0.004692 1.22% amrex::average_down 180 0.004666 0.004666 0.004666 1.21% MLMG::mgVcycle_up::3 36 0.004605 0.004605 0.004605 1.20% MLPoisson::Fapply() 500 0.004243 0.004243 0.004243 1.10% Castro::post_timestep() 5 0.004208 0.004208 0.004208 1.09% Castro::estTimeStep() 10 0.004015 0.004015 0.004015 1.04% FabArray::Saxpy() 355 0.003511 0.003511 0.003511 0.91% Gravity::fill_multipole_BCs() 6 0.003482 0.003482 0.003482 0.90% FabArray::Xpay() 361 0.003405 0.003405 0.003405 0.88% Castro::post_restart() 1 0.003324 0.003324 0.003324 0.86% Gravity::multilevel_solve_for_new_phi() 1 0.003211 0.003211 0.003211 0.83% Gravity::actual_multilevel_solve() 1 0.003195 0.003195 0.003195 0.83% MLCellLinOp::solutionResidual() 42 0.003144 0.003144 0.003144 0.82% Castro::reset_internal_energy(MultiFab) 30 0.002851 0.002851 0.002851 0.74% MLMG::computeResidual() 36 0.002604 0.002604 0.002604 0.68% MLCellLinOp::defineBC() 6 0.002561 0.002561 0.002561 0.67% BndryData::define() 6 0.002453 0.002453 0.002453 0.64% MLMG::prepareForSolve() 6 0.002444 0.002444 0.002444 0.63% Castro::finalize_do_advance() 5 0.002181 0.002181 0.002181 0.57% Castro::computeNewDt() 5 0.001907 0.001907 0.001907 0.50% amrex::Add() 72 0.001822 0.001822 0.001822 0.47% FabArray::LinComb() 242 0.001821 0.001821 0.001821 0.47% Castro::construct_new_source() 25 0.001687 0.001687 0.001687 0.44% Castro::construct_new_gravity_source() 5 0.001595 0.001595 0.001595 0.41% Castro::construct_old_source() 25 0.001475 0.001475 0.001475 0.38% Castro::construct_old_gravity_source() 5 0.001443 0.001443 0.001443 0.37% MLMG::ResNormInf() 42 0.0009182 0.0009182 0.0009182 0.24% Castro::apply_source_to_state() 10 0.0009173 0.0009173 0.0009173 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008576 0.0008576 0.0008576 0.22% FabArrayBase::getCPC() 632 0.0007834 0.0007834 0.0007834 0.20% MLMG::getGradSolution() 6 0.0007442 0.0007442 0.0007442 0.19% MLCellLinOp::compGrad() 6 0.0007407 0.0007407 0.0007407 0.19% check_for_negative_density() 5 0.0007387 0.0007387 0.0007387 0.19% Castro::reset_internal_energy(Fab) 240 0.0007299 0.0007299 0.0007299 0.19% MLCellLinOp::setLevelBC() 6 0.0007217 0.0007217 0.0007217 0.19% FabArray::mult() 22 0.000639 0.000639 0.000639 0.17% FabArray::setDomainBndry() 20 0.0006203 0.0006203 0.0006203 0.16% Castro::check_for_nan() 10 0.000597 0.000597 0.000597 0.16% MLPoisson::prepareForSolve() 6 0.0005953 0.0005953 0.0005953 0.15% MultiFab::contains_nan() 10 0.0005916 0.0005916 0.0005916 0.15% MLCellLinOp::prepareForSolve() 6 0.0005911 0.0005911 0.0005911 0.15% MLMG::computeMLResidual() 6 0.0005575 0.0005575 0.0005575 0.14% Gravity::update_max_rhs() 6 0.00044 0.00044 0.00044 0.11% FabArrayBase::CPC::define() 244 0.0004226 0.0004226 0.0004226 0.11% Castro::enforce_speed_limit() 30 0.0003985 0.0003985 0.0003985 0.10% Amr::InitAmr() 1 0.0003946 0.0003946 0.0003946 0.10% FabArrayBase::getFB() 1766 0.0003164 0.0003164 0.0003164 0.08% Castro::finalize_advance() 5 0.0002783 0.0002783 0.0002783 0.07% Gravity::swapTimeLevels() 5 0.0002185 0.0002185 0.0002185 0.06% MLLinOp::define() 6 0.0002144 0.0002144 0.0002144 0.06% MLLinOp::defineGrids() 6 0.0002041 0.0002041 0.0002041 0.05% Castro::buildMetrics() 1 0.0001483 0.0001483 0.0001483 0.04% MLMG::MLResNormInf() 6 0.0001479 0.0001479 0.0001479 0.04% MultiFab::max() 6 0.0001348 0.0001348 0.0001348 0.03% MLMG::MLRhsNormInf() 6 0.0001143 0.0001143 0.0001143 0.03% Castro::create_source_corrector() 5 7.853e-05 7.853e-05 7.853e-05 0.02% FabArrayBase::FB::FB() 26 6.025e-05 6.025e-05 6.025e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.674e-05 2.674e-05 2.674e-05 0.01% Amr::writeSmallPlotFile() 1 2.552e-05 2.552e-05 2.552e-05 0.01% Castro::initMFs() 1 2.494e-05 2.494e-05 2.494e-05 0.01% Castro::swap_state_time_levels() 5 2.409e-05 2.409e-05 2.409e-05 0.01% makeSFC 30 1.967e-05 1.967e-05 1.967e-05 0.01% Amr::initSubcycle() 1 9.574e-06 9.574e-06 9.574e-06 0.00% DistributionMapping::Distribute() 31 7.809e-06 7.809e-06 7.809e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.841e-06 4.841e-06 4.841e-06 0.00% Gravity::set_mass_offset() 6 1.995e-06 1.995e-06 1.995e-06 0.00% Castro::retry_advance_ctu() 5 1.927e-06 1.927e-06 1.927e-06 0.00% Castro::FluxRegCrseInit 5 1.472e-06 1.472e-06 1.472e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.034e-06 1.034e-06 1.034e-06 0.00% Castro::FluxRegFineAdd() 5 9.88e-07 9.88e-07 9.88e-07 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 209 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 150 MiB 692 MiB Castro::initMFs() 48 48 60 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 1081 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2339 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 6770 KiB 14 MiB MLMG::prepareForSolve() 361 361 3416 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 194 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 195 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6765 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2213 B 2048 KiB Gravity::solve_for_phi() 40 40 628 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 16 KiB 2048 KiB BndryData::define() 576 576 314 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 201 KiB 671 KiB Castro::estTimeStep() 10 10 5000 B 480 KiB VisMF::Write(FabArray) 112 112 1270 B 320 KiB Castro::normalize_species() 30 30 8101 B 320 KiB amrex::average_down 469 469 1193 B 257 KiB MLMG::addInterpCorrection() 468 468 1124 B 257 KiB amrex::Dot() 592 592 3227 B 160 KiB FabArray::norminf() 398 398 2285 B 160 KiB check_for_negative_density() 5 5 303 B 160 KiB MultiFab::max() 6 6 53 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3323 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 49 B 10 KiB FillBoundary_nowait() 336 336 290 B 9648 B MLCellLinOp::applyBC() 3892 3892 218 B 9344 B amrex::Copy() 56 56 6001 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 42 B 2592 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 113 B 1472 B MLCellLinOp::defineBC() 36 36 353 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1519 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 115 KiB 8192 KiB VisMF::Write(FabArray) 120 120 243 KiB 3584 KiB VisMF::Read() 24 24 190 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3323 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 49 B 10 KiB FillBoundary_nowait() 336 336 290 B 9648 B MLCellLinOp::applyBC() 1946 1946 217 B 9328 B amrex::Copy() 56 56 6001 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2676 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 42 B 2592 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 525 B 1296 B amrex::average_down 37 37 226 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 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): 2422 [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.07-29-gdbfa3b0daa3c) finalized