Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-5-gb98bdae9fb67) initialized Starting run at 07:32:06 UTC on 2023-09-08. Successfully read inputs file ... Castro git describe: 23.09 AMReX git describe: 23.09-5-gb98bdae9f Microphysics git describe: 23.08-19-gbb8d2a2b 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.050398037 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028018539 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.052014752 [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.052373417 [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.071518304 [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.090371114 [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.066756574 [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.049712766 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.053971818 [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.072704055 [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.072184492 [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.066063488 [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.081129097 [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.088871724 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028029051 seconds Ending run at 07:32:07 UTC on 2023-09-08. Run time = 0.979094315 Run time without initialization = 0.846478677 Average number of zones advanced per microsecond: 3.097 Average number of zones advanced per microsecond per rank: 3.097 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9791 ... 0.9791 ... 0.9791 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2956 0.2956 0.2956 30.19% VisMF::Write(FabArray) 11 0.197 0.197 0.197 20.12% MLCellLinOp::applyBC() 4433 0.07827 0.07827 0.07827 7.99% Amr::checkPoint() 3 0.04553 0.04553 0.04553 4.65% MLPoisson::Fsmooth() 3280 0.03329 0.03329 0.03329 3.40% FillBoundary_nowait() 4023 0.03104 0.03104 0.03104 3.17% amrex::Dot() 1114 0.02778 0.02778 0.02778 2.84% StateData::FillBoundary(geom) 328 0.02672 0.02672 0.02672 2.73% Castro::normalize_species() 62 0.02044 0.02044 0.02044 2.09% Castro::computeTemp() 63 0.01531 0.01531 0.01531 1.56% amrex::Copy() 1029 0.01529 0.01529 0.01529 1.56% FabArray::norminf() 743 0.01485 0.01485 0.01485 1.52% FabArray::setVal() 1144 0.01365 0.01365 0.01365 1.39% FabArray::ParallelCopy_nowait() 861 0.01352 0.01352 0.01352 1.38% Castro::enforce_min_density() 62 0.01098 0.01098 0.01098 1.12% StateDataPhysBCFunct::() 41 0.0109 0.0109 0.0109 1.11% MLPoisson::Fapply() 1142 0.0107 0.0107 0.0107 1.09% MLCellLinOp::defineAuxData() 11 0.01047 0.01047 0.01047 1.07% Gravity::fill_multipole_BCs() 11 0.009273 0.009273 0.009273 0.95% FabArray::Saxpy() 813 0.008569 0.008569 0.008569 0.88% FabArray::Xpay() 821 0.008379 0.008379 0.008379 0.86% MLMG::addInterpCorrection() 410 0.006954 0.006954 0.006954 0.71% amrex::average_down 410 0.006194 0.006194 0.006194 0.63% Castro::reset_internal_energy(MultiFab) 63 0.005831 0.005831 0.005831 0.60% Castro::estTimeStep() 21 0.005516 0.005516 0.005516 0.56% FabArray::LinComb() 557 0.004775 0.004775 0.004775 0.49% amrex::Add() 164 0.004471 0.004471 0.004471 0.46% BndryData::define() 11 0.003841 0.003841 0.003841 0.39% Castro::construct_new_gravity_source() 10 0.003373 0.003373 0.003373 0.34% Castro::enforce_speed_limit() 62 0.003359 0.003359 0.003359 0.34% Castro::construct_old_gravity_source() 10 0.00289 0.00289 0.00289 0.30% MLCGSolver::bicgstab 82 0.002233 0.002233 0.002233 0.23% Amr::writePlotFile() 2 0.001985 0.001985 0.001985 0.20% check_for_negative_density() 10 0.001909 0.001909 0.001909 0.19% Castro::reset_internal_energy(Fab) 504 0.001837 0.001837 0.001837 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00176 0.00176 0.00176 0.18% Castro::initData() 1 0.001585 0.001585 0.001585 0.16% Gravity::actual_solve_with_mlmg() 11 0.001535 0.001535 0.001535 0.16% MLCellLinOp::setLevelBC() 11 0.001453 0.001453 0.001453 0.15% FabArray::mult() 43 0.001372 0.001372 0.001372 0.14% FabArray::setDomainBndry() 41 0.001367 0.001367 0.001367 0.14% MultiFab::contains_nan() 20 0.001272 0.001272 0.001272 0.13% MLCellLinOp::prepareForSolve() 11 0.001269 0.001269 0.001269 0.13% MLCellLinOp::compGrad() 11 0.001087 0.001087 0.001087 0.11% MLCellLinOp::smooth() 1640 0.001039 0.001039 0.001039 0.11% MLMG::prepareForSolve() 11 0.0009598 0.0009598 0.0009598 0.10% FabArray::FillBoundary() 4023 0.0008118 0.0008118 0.0008118 0.08% FabArrayBase::getCPC() 1323 0.0007856 0.0007856 0.0007856 0.08% FabArrayBase::CPC::define() 454 0.0006792 0.0006792 0.0006792 0.07% FabArrayBase::getFB() 4023 0.0006283 0.0006283 0.0006283 0.06% Gravity::get_new_grav_vector() 11 0.0006071 0.0006071 0.0006071 0.06% Gravity::get_old_grav_vector() 10 0.0004851 0.0004851 0.0004851 0.05% Amr::InitAmr() 1 0.0004727 0.0004727 0.0004727 0.05% Amr::coarseTimeStep() 10 0.000461 0.000461 0.000461 0.05% MLCellLinOp::apply() 1142 0.0004413 0.0004413 0.0004413 0.05% AmrLevel::FillPatch() 41 0.0003365 0.0003365 0.0003365 0.03% MultiFab::max() 11 0.0003357 0.0003357 0.0003357 0.03% MLCGSolver::ParallelAllReduce 1514 0.0003026 0.0003026 0.0003026 0.03% main() 1 0.0002808 0.0002808 0.0002808 0.03% FabArray::ParallelCopy() 861 0.0002589 0.0002589 0.0002589 0.03% FillPatchIterator::Initialize 41 0.0002511 0.0002511 0.0002511 0.03% MLCellLinOp::correctionResidual() 492 0.0002256 0.0002256 0.0002256 0.02% MLCellLinOp::defineBC() 11 0.0002207 0.0002207 0.0002207 0.02% MLMG::mgVcycle() 82 0.0002104 0.0002104 0.0002104 0.02% Castro::subcycle_advance_ctu() 10 0.0001623 0.0001623 0.0001623 0.02% Castro::create_source_corrector() 10 0.0001601 0.0001601 0.0001601 0.02% Amr::timeStep() 10 0.0001573 0.0001573 0.0001573 0.02% MLLinOp::defineGrids() 11 0.0001554 0.0001554 0.0001554 0.02% Gravity::solve_for_phi() 10 0.0001523 0.0001523 0.0001523 0.02% Gravity::update_max_rhs() 11 0.0001286 0.0001286 0.0001286 0.01% StateData::checkPoint() 12 0.0001175 0.0001175 0.0001175 0.01% MLMG:computeResOfCorrection() 410 0.0001158 0.0001158 0.0001158 0.01% Castro::Castro() 1 9.776e-05 9.776e-05 9.776e-05 0.01% FabArrayBase::FB::FB() 56 9.623e-05 9.623e-05 9.623e-05 0.01% AmrLevel::checkPoint() 3 9.47e-05 9.47e-05 9.47e-05 0.01% MLMG::actualBottomSolve() 82 9.438e-05 9.438e-05 9.438e-05 0.01% Castro::construct_new_source() 50 9.208e-05 9.208e-05 9.208e-05 0.01% Castro::advance() 10 8.701e-05 8.701e-05 8.701e-05 0.01% MLMG::mgVcycle_down::0 82 8.432e-05 8.432e-05 8.432e-05 0.01% MLMG::solve() 11 8.326e-05 8.326e-05 8.326e-05 0.01% Castro::initialize_advance() 10 8.011e-05 8.011e-05 8.011e-05 0.01% Castro::do_new_sources() 10 7.803e-05 7.803e-05 7.803e-05 0.01% MLMG::mgVcycle_down::1 82 7.772e-05 7.772e-05 7.772e-05 0.01% Castro::clean_state() 62 7.697e-05 7.697e-05 7.697e-05 0.01% MLMG::mgVcycle_down::2 82 7.647e-05 7.647e-05 7.647e-05 0.01% MLMG::mgVcycle_down::4 82 7.385e-05 7.385e-05 7.385e-05 0.01% Castro::enforce_consistent_e() 1 7.242e-05 7.242e-05 7.242e-05 0.01% MLMG::mgVcycle_down::3 82 7.196e-05 7.196e-05 7.196e-05 0.01% Castro::initialize_do_advance() 10 7.122e-05 7.122e-05 7.122e-05 0.01% Castro::finalize_advance() 10 6.466e-05 6.466e-05 6.466e-05 0.01% MLMG::mgVcycle_up::4 82 6.074e-05 6.074e-05 6.074e-05 0.01% MLMG::mgVcycle_up::3 82 5.317e-05 5.317e-05 5.317e-05 0.01% Castro::do_advance_ctu() 10 5.269e-05 5.269e-05 5.269e-05 0.01% MLMG::mgVcycle_up::1 82 5.229e-05 5.229e-05 5.229e-05 0.01% MLCellLinOp::solutionResidual() 93 5.161e-05 5.161e-05 5.161e-05 0.01% MLMG::mgVcycle_up::0 82 5.124e-05 5.124e-05 5.124e-05 0.01% MLMG::oneIter() 82 5.051e-05 5.051e-05 5.051e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.023e-05 5.023e-05 5.023e-05 0.01% MLMG::mgVcycle_up::2 82 4.814e-05 4.814e-05 4.814e-05 0.00% Castro::finalize_do_advance() 10 4.44e-05 4.44e-05 4.44e-05 0.00% StateData::define() 4 3.804e-05 3.804e-05 3.804e-05 0.00% Castro::swap_state_time_levels() 10 3.788e-05 3.788e-05 3.788e-05 0.00% Castro::post_timestep() 10 3.655e-05 3.655e-05 3.655e-05 0.00% Amr::writeSmallPlotFile() 1 3.633e-05 3.633e-05 3.633e-05 0.00% FillPatchSingleLevel 41 3.465e-05 3.465e-05 3.465e-05 0.00% MLMG::ResNormInf() 93 3.41e-05 3.41e-05 3.41e-05 0.00% MLMG::mgVcycle_bottom 82 3.379e-05 3.379e-05 3.379e-05 0.00% MLMG::computeResidual() 82 3.338e-05 3.338e-05 3.338e-05 0.00% Amr::defBaseLevel() 1 3.27e-05 3.27e-05 3.27e-05 0.00% Castro::initMFs() 1 3.095e-05 3.095e-05 3.095e-05 0.00% Castro::construct_new_gravity() 10 2.714e-05 2.714e-05 2.714e-05 0.00% Castro::buildMetrics() 1 2.52e-05 2.52e-05 2.52e-05 0.00% makeSFC 55 2.49e-05 2.49e-05 2.49e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.331e-05 2.331e-05 2.331e-05 0.00% MLPoisson::define() 11 2.234e-05 2.234e-05 2.234e-05 0.00% Castro::do_old_sources() 10 2.211e-05 2.211e-05 2.211e-05 0.00% Amr::FinalizeInit() 1 1.899e-05 1.899e-05 1.899e-05 0.00% Castro::construct_old_source() 50 1.806e-05 1.806e-05 1.806e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.781e-05 1.781e-05 1.781e-05 0.00% DistributionMapping::Distribute() 56 1.747e-05 1.747e-05 1.747e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.608e-05 1.608e-05 1.608e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.566e-05 1.566e-05 1.566e-05 0.00% MLLinOp::define() 11 1.418e-05 1.418e-05 1.418e-05 0.00% Castro::check_for_nan() 20 1.211e-05 1.211e-05 1.211e-05 0.00% Castro::construct_old_gravity() 10 1.206e-05 1.206e-05 1.206e-05 0.00% Castro::apply_source_to_state() 20 1.179e-05 1.179e-05 1.179e-05 0.00% Amr::initSubcycle() 1 1.162e-05 1.162e-05 1.162e-05 0.00% Gravity::swapTimeLevels() 10 9.478e-06 9.478e-06 9.478e-06 0.00% Castro::post_init() 1 9.353e-06 9.353e-06 9.353e-06 0.00% Castro::computeNewDt() 9 9.101e-06 9.101e-06 9.101e-06 0.00% MLMG::computeMLResidual() 11 8.434e-06 8.434e-06 8.434e-06 0.00% MLPoisson::prepareForSolve() 11 8.343e-06 8.343e-06 8.343e-06 0.00% Gravity::actual_multilevel_solve() 1 8.07e-06 8.07e-06 8.07e-06 0.00% Castro::expand_state() 10 6.113e-06 6.113e-06 6.113e-06 0.00% MLMG::getGradSolution() 11 6.097e-06 6.097e-06 6.097e-06 0.00% Amr::InitializeInit() 1 5.145e-06 5.145e-06 5.145e-06 0.00% AmrLevel::checkPointPre() 3 5.022e-06 5.022e-06 5.022e-06 0.00% AmrLevel::checkPointPost() 3 4.455e-06 4.455e-06 4.455e-06 0.00% Castro::retry_advance_ctu() 10 4.395e-06 4.395e-06 4.395e-06 0.00% MLMG::MLRhsNormInf() 11 4.359e-06 4.359e-06 4.359e-06 0.00% Gravity::set_mass_offset() 11 4.211e-06 4.211e-06 4.211e-06 0.00% MLMG::MLResNormInf() 11 3.559e-06 3.559e-06 3.559e-06 0.00% Castro::computeInitialDt() 2 3.526e-06 3.526e-06 3.526e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.034e-06 3.034e-06 3.034e-06 0.00% Castro::FluxRegCrseInit 10 2.731e-06 2.731e-06 2.731e-06 0.00% Amr::init() 1 2.481e-06 2.481e-06 2.481e-06 0.00% Castro::FluxRegFineAdd() 10 2.301e-06 2.301e-06 2.301e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.088e-06 2.088e-06 2.088e-06 0.00% Castro::post_regrid() 1 1.308e-06 1.308e-06 1.308e-06 0.00% Amr::initialInit() 1 1.074e-06 1.074e-06 1.074e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9791 0.9791 0.9791 100.00% Amr::coarseTimeStep() 10 0.8182 0.8182 0.8182 83.57% Amr::timeStep() 10 0.6758 0.6758 0.6758 69.02% Castro::advance() 10 0.6647 0.6647 0.6647 67.88% Castro::subcycle_advance_ctu() 10 0.6503 0.6503 0.6503 66.42% Castro::do_advance_ctu() 10 0.6502 0.6502 0.6502 66.40% Castro::construct_ctu_hydro_source() 10 0.3072 0.3072 0.3072 31.38% Gravity::solve_phi_with_mlmg() 11 0.3 0.3 0.3 30.64% Gravity::actual_solve_with_mlmg() 11 0.2903 0.2903 0.2903 29.65% Castro::construct_new_gravity() 10 0.2712 0.2712 0.2712 27.69% MLMG::solve() 11 0.2685 0.2685 0.2685 27.42% Gravity::solve_for_phi() 10 0.2552 0.2552 0.2552 26.06% MLMG::oneIter() 82 0.2534 0.2534 0.2534 25.88% MLMG::mgVcycle() 82 0.2498 0.2498 0.2498 25.51% VisMF::Write(FabArray) 11 0.197 0.197 0.197 20.12% Amr::checkPoint() 3 0.1891 0.1891 0.1891 19.31% AmrLevel::checkPoint() 3 0.1436 0.1436 0.1436 14.66% StateData::checkPoint() 12 0.1435 0.1435 0.1435 14.65% Amr::init() 1 0.132 0.132 0.132 13.48% MLCellLinOp::smooth() 1640 0.1186 0.1186 0.1186 12.11% MLCellLinOp::applyBC() 4433 0.1109 0.1109 0.1109 11.32% MLMG::mgVcycle_bottom 82 0.08302 0.08302 0.08302 8.48% MLMG::actualBottomSolve() 82 0.08299 0.08299 0.08299 8.48% MLCGSolver::bicgstab 82 0.08226 0.08226 0.08226 8.40% Castro::clean_state() 62 0.05688 0.05688 0.05688 5.81% Amr::writePlotFile() 2 0.05616 0.05616 0.05616 5.74% Amr::initialInit() 1 0.0535 0.0535 0.0535 5.46% Amr::FinalizeInit() 1 0.04908 0.04908 0.04908 5.01% Castro::post_init() 1 0.04772 0.04772 0.04772 4.87% AmrLevel::FillPatch() 41 0.04757 0.04757 0.04757 4.86% Gravity::multilevel_solve_for_new_phi() 1 0.04532 0.04532 0.04532 4.63% Gravity::actual_multilevel_solve() 1 0.0453 0.0453 0.0453 4.63% FillPatchIterator::Initialize 41 0.04338 0.04338 0.04338 4.43% FillPatchIterator::FillFromLevel0() 41 0.04176 0.04176 0.04176 4.27% FillPatchSingleLevel 41 0.04171 0.04171 0.04171 4.26% StateDataPhysBCFunct::() 41 0.03762 0.03762 0.03762 3.84% MLCellLinOp::apply() 1142 0.03727 0.03727 0.03727 3.81% MLMG::mgVcycle_down::0 82 0.03401 0.03401 0.03401 3.47% MLPoisson::Fsmooth() 3280 0.03329 0.03329 0.03329 3.40% FabArray::FillBoundary() 4023 0.03258 0.03258 0.03258 3.33% FillBoundary_nowait() 4023 0.03177 0.03177 0.03177 3.24% amrex::Dot() 1114 0.02778 0.02778 0.02778 2.84% StateData::FillBoundary(geom) 328 0.02672 0.02672 0.02672 2.73% MLMG::mgVcycle_up::0 82 0.02567 0.02567 0.02567 2.62% Castro::computeTemp() 63 0.02297 0.02297 0.02297 2.35% MLCellLinOp::correctionResidual() 492 0.02269 0.02269 0.02269 2.32% Castro::initialize_do_advance() 10 0.02098 0.02098 0.02098 2.14% Castro::normalize_species() 62 0.02044 0.02044 0.02044 2.09% MLMG:computeResOfCorrection() 410 0.01994 0.01994 0.01994 2.04% Castro::do_old_sources() 10 0.01888 0.01888 0.01888 1.93% Gravity::get_new_grav_vector() 11 0.01793 0.01793 0.01793 1.83% MLPoisson::define() 11 0.01721 0.01721 0.01721 1.76% MLMG::mgVcycle_down::1 82 0.01625 0.01625 0.01625 1.66% amrex::Copy() 1029 0.01529 0.01529 0.01529 1.56% MLMG::mgVcycle_down::2 82 0.01516 0.01516 0.01516 1.55% Castro::construct_old_gravity() 10 0.01506 0.01506 0.01506 1.54% Gravity::get_old_grav_vector() 10 0.01504 0.01504 0.01504 1.54% FabArray::norminf() 743 0.01485 0.01485 0.01485 1.52% MLMG::mgVcycle_down::3 82 0.01476 0.01476 0.01476 1.51% FabArray::ParallelCopy() 861 0.01458 0.01458 0.01458 1.49% MLMG::mgVcycle_down::4 82 0.0145 0.0145 0.0145 1.48% FabArray::ParallelCopy_nowait() 861 0.01433 0.01433 0.01433 1.46% Castro::do_new_sources() 10 0.0139 0.0139 0.0139 1.42% FabArray::setVal() 1144 0.01365 0.01365 0.01365 1.39% Castro::initialize_advance() 10 0.01365 0.01365 0.01365 1.39% MLCGSolver::ParallelAllReduce 1514 0.01279 0.01279 0.01279 1.31% MLMG::addInterpCorrection() 410 0.01216 0.01216 0.01216 1.24% Castro::expand_state() 10 0.01191 0.01191 0.01191 1.22% MLCellLinOp::defineAuxData() 11 0.0119 0.0119 0.0119 1.21% MLMG::mgVcycle_up::1 82 0.01176 0.01176 0.01176 1.20% MLMG::mgVcycle_up::4 82 0.01172 0.01172 0.01172 1.20% amrex::average_down 410 0.01152 0.01152 0.01152 1.18% MLMG::mgVcycle_up::2 82 0.01144 0.01144 0.01144 1.17% MLMG::mgVcycle_up::3 82 0.01128 0.01128 0.01128 1.15% Castro::enforce_min_density() 62 0.01098 0.01098 0.01098 1.12% Castro::post_timestep() 10 0.01096 0.01096 0.01096 1.12% MLPoisson::Fapply() 1142 0.0107 0.0107 0.0107 1.09% Gravity::fill_multipole_BCs() 11 0.009527 0.009527 0.009527 0.97% FabArray::Saxpy() 813 0.008569 0.008569 0.008569 0.88% FabArray::Xpay() 821 0.008379 0.008379 0.008379 0.86% Castro::reset_internal_energy(MultiFab) 63 0.007668 0.007668 0.007668 0.78% MLCellLinOp::solutionResidual() 93 0.007541 0.007541 0.007541 0.77% MLMG::computeResidual() 82 0.006289 0.006289 0.006289 0.64% Castro::estTimeStep() 21 0.005516 0.005516 0.005516 0.56% MLCellLinOp::defineBC() 11 0.00506 0.00506 0.00506 0.52% MLMG::prepareForSolve() 11 0.005017 0.005017 0.005017 0.51% BndryData::define() 11 0.00484 0.00484 0.00484 0.49% FabArray::LinComb() 557 0.004775 0.004775 0.004775 0.49% amrex::Add() 164 0.004471 0.004471 0.004471 0.46% Amr::InitializeInit() 1 0.004412 0.004412 0.004412 0.45% Amr::defBaseLevel() 1 0.004407 0.004407 0.004407 0.45% Castro::initData() 1 0.003717 0.003717 0.003717 0.38% Castro::construct_new_source() 50 0.003465 0.003465 0.003465 0.35% Castro::construct_new_gravity_source() 10 0.003373 0.003373 0.003373 0.34% Castro::enforce_speed_limit() 62 0.003359 0.003359 0.003359 0.34% Castro::construct_old_source() 50 0.002908 0.002908 0.002908 0.30% Castro::construct_old_gravity_source() 10 0.00289 0.00289 0.00289 0.30% Castro::computeNewDt() 9 0.002489 0.002489 0.002489 0.25% MLMG::ResNormInf() 93 0.002174 0.002174 0.002174 0.22% Castro::finalize_do_advance() 10 0.001991 0.001991 0.001991 0.20% check_for_negative_density() 10 0.001909 0.001909 0.001909 0.19% Castro::apply_source_to_state() 20 0.001876 0.001876 0.001876 0.19% Castro::reset_internal_energy(Fab) 504 0.001837 0.001837 0.001837 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00176 0.00176 0.00176 0.18% MLMG::getGradSolution() 11 0.00158 0.00158 0.00158 0.16% MLCellLinOp::compGrad() 11 0.001574 0.001574 0.001574 0.16% FabArrayBase::getCPC() 1323 0.001465 0.001465 0.001465 0.15% MLCellLinOp::setLevelBC() 11 0.001453 0.001453 0.001453 0.15% FabArray::mult() 43 0.001372 0.001372 0.001372 0.14% FabArray::setDomainBndry() 41 0.001367 0.001367 0.001367 0.14% MLMG::computeMLResidual() 11 0.001294 0.001294 0.001294 0.13% Castro::check_for_nan() 20 0.001285 0.001285 0.001285 0.13% MLPoisson::prepareForSolve() 11 0.001278 0.001278 0.001278 0.13% MultiFab::contains_nan() 20 0.001272 0.001272 0.001272 0.13% MLCellLinOp::prepareForSolve() 11 0.001269 0.001269 0.001269 0.13% Castro::computeInitialDt() 2 0.001093 0.001093 0.001093 0.11% Castro::post_regrid() 1 0.001057 0.001057 0.001057 0.11% Gravity::update_max_rhs() 11 0.001001 0.001001 0.001001 0.10% FabArrayBase::getFB() 4023 0.0007245 0.0007245 0.0007245 0.07% FabArrayBase::CPC::define() 454 0.0006792 0.0006792 0.0006792 0.07% Castro::Castro() 1 0.0005987 0.0005987 0.0005987 0.06% Castro::finalize_advance() 10 0.0005951 0.0005951 0.0005951 0.06% Amr::InitAmr() 1 0.0004843 0.0004843 0.0004843 0.05% Gravity::swapTimeLevels() 10 0.000445 0.000445 0.000445 0.05% MultiFab::max() 11 0.0003357 0.0003357 0.0003357 0.03% MLMG::MLResNormInf() 11 0.0003291 0.0003291 0.0003291 0.03% Castro::buildMetrics() 1 0.0002989 0.0002989 0.0002989 0.03% MLLinOp::define() 11 0.0002285 0.0002285 0.0002285 0.02% MLMG::MLRhsNormInf() 11 0.000222 0.000222 0.000222 0.02% MLLinOp::defineGrids() 11 0.0002143 0.0002143 0.0002143 0.02% Castro::create_source_corrector() 10 0.0001601 0.0001601 0.0001601 0.02% FabArrayBase::FB::FB() 56 9.623e-05 9.623e-05 9.623e-05 0.01% Castro::enforce_consistent_e() 1 7.242e-05 7.242e-05 7.242e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.685e-05 5.685e-05 5.685e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.411e-05 5.411e-05 5.411e-05 0.01% makeSFC 55 4.119e-05 4.119e-05 4.119e-05 0.00% StateData::define() 4 3.804e-05 3.804e-05 3.804e-05 0.00% Castro::swap_state_time_levels() 10 3.788e-05 3.788e-05 3.788e-05 0.00% Amr::writeSmallPlotFile() 1 3.633e-05 3.633e-05 3.633e-05 0.00% Castro::initMFs() 1 3.095e-05 3.095e-05 3.095e-05 0.00% DistributionMapping::Distribute() 56 1.747e-05 1.747e-05 1.747e-05 0.00% Amr::initSubcycle() 1 1.162e-05 1.162e-05 1.162e-05 0.00% AmrLevel::checkPointPre() 3 5.022e-06 5.022e-06 5.022e-06 0.00% AmrLevel::checkPointPost() 3 4.455e-06 4.455e-06 4.455e-06 0.00% Castro::retry_advance_ctu() 10 4.395e-06 4.395e-06 4.395e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.215e-06 4.215e-06 4.215e-06 0.00% Gravity::set_mass_offset() 11 4.211e-06 4.211e-06 4.211e-06 0.00% Castro::FluxRegCrseInit 10 2.731e-06 2.731e-06 2.731e-06 0.00% Castro::FluxRegFineAdd() 10 2.301e-06 2.301e-06 2.301e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.088e-06 2.088e-06 2.088e-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 85 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 142 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 948 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1614 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 3374 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 190 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 157 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7527 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 16 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1981 B 2048 KiB Gravity::solve_for_phi() 80 80 533 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 94 KiB 2048 KiB BndryData::define() 1056 1056 308 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 196 KiB 671 KiB Castro::estTimeStep() 21 21 2744 B 480 KiB VisMF::Write(FabArray) 656 656 3162 B 320 KiB Castro::normalize_species() 62 62 6799 B 320 KiB amrex::average_down 1067 1067 1191 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1059 B 257 KiB amrex::Dot() 1360 1360 4289 B 160 KiB FabArray::norminf() 907 907 2245 B 160 KiB check_for_negative_density() 10 10 285 B 160 KiB Castro::initData() 1 1 50 B 160 KiB MultiFab::max() 11 11 53 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 25 B 20 KiB MLPoisson::Fsmooth() 132 132 3296 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 40 B 10 KiB FillBoundary_nowait() 760 760 277 B 9648 B MLCellLinOp::applyBC() 8866 8866 205 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3904 B 6144 B StateData::FillBoundary(geom) 1992 1992 39 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 122 B 1472 B MLCellLinOp::defineBC() 66 66 347 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 534 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 455 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3296 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 40 B 10 KiB FillBoundary_nowait() 760 760 277 B 9648 B MLCellLinOp::applyBC() 4433 4433 203 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3904 B 6144 B Gravity::get_new_grav_vector() 3 3 2906 B 3072 B StateData::FillBoundary(geom) 1992 1992 39 B 3024 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 281 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 26 B 400 B FabArray::norminf() 907 907 18 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.09-5-gb98bdae9fb67) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-5-gb98bdae9fb67) initialized Starting run at 07:32:08 UTC on 2023-09-08. Successfully read inputs file ... Castro git describe: 23.09 AMReX git describe: 23.09-5-gb98bdae9f Microphysics git describe: 23.08-19-gbb8d2a2b reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.515450317 Restart time = 0.050019631 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.056732369 [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.07228758 [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.080449904 [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.067696499 [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.058524661 [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.029361181 seconds Ending run at 07:32:08 UTC on 2023-09-08. Run time = 0.416206062 Run time without initialization = 0.365578107 Average number of zones advanced per microsecond: 3.585 Average number of zones advanced per microsecond per rank: 3.585 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4162 ... 0.4162 ... 0.4162 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1452 0.1452 0.1452 34.88% VisMF::Read() 3 0.03817 0.03817 0.03817 9.17% MLCellLinOp::applyBC() 1946 0.03386 0.03386 0.03386 8.14% VisMF::Write(FabArray) 1 0.02794 0.02794 0.02794 6.71% MLPoisson::Fsmooth() 1440 0.01428 0.01428 0.01428 3.43% StateData::FillBoundary(geom) 160 0.01315 0.01315 0.01315 3.16% FillBoundary_nowait() 1766 0.01287 0.01287 0.01287 3.09% Castro::normalize_species() 30 0.01038 0.01038 0.01038 2.49% amrex::Dot() 484 0.009078 0.009078 0.009078 2.18% Castro::computeTemp() 30 0.007573 0.007573 0.007573 1.82% amrex::Copy() 463 0.007282 0.007282 0.007282 1.75% FabArray::setVal() 537 0.006609 0.006609 0.006609 1.59% FabArray::norminf() 326 0.006441 0.006441 0.006441 1.55% FabArray::ParallelCopy_nowait() 380 0.006118 0.006118 0.006118 1.47% Castro::enforce_min_density() 30 0.005807 0.005807 0.005807 1.40% MLCellLinOp::defineAuxData() 6 0.005627 0.005627 0.005627 1.35% Gravity::fill_multipole_BCs() 6 0.005534 0.005534 0.005534 1.33% Amr::restart() 1 0.004919 0.004919 0.004919 1.18% MLPoisson::Fapply() 500 0.004614 0.004614 0.004614 1.11% StateDataPhysBCFunct::() 20 0.004108 0.004108 0.004108 0.99% FabArray::Saxpy() 355 0.003812 0.003812 0.003812 0.92% FabArray::Xpay() 361 0.00362 0.00362 0.00362 0.87% MLMG::addInterpCorrection() 180 0.00308 0.00308 0.00308 0.74% Castro::estTimeStep() 10 0.002731 0.002731 0.002731 0.66% amrex::average_down 180 0.00272 0.00272 0.00272 0.65% FabArray::LinComb() 242 0.00232 0.00232 0.00232 0.56% BndryData::define() 6 0.002148 0.002148 0.002148 0.52% Castro::reset_internal_energy(MultiFab) 30 0.002082 0.002082 0.002082 0.50% amrex::Add() 72 0.001895 0.001895 0.001895 0.46% Castro::construct_new_gravity_source() 5 0.001666 0.001666 0.001666 0.40% Castro::construct_old_gravity_source() 5 0.001353 0.001353 0.001353 0.33% Amr::writePlotFile() 1 0.00126 0.00126 0.00126 0.30% Castro::enforce_speed_limit() 30 0.00116 0.00116 0.00116 0.28% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009786 0.0009786 0.0009786 0.24% MLCGSolver::bicgstab 36 0.0009699 0.0009699 0.0009699 0.23% Castro::reset_internal_energy(Fab) 240 0.0009491 0.0009491 0.0009491 0.23% check_for_negative_density() 5 0.0009484 0.0009484 0.0009484 0.23% Gravity::actual_solve_with_mlmg() 6 0.0008557 0.0008557 0.0008557 0.21% MLCellLinOp::setLevelBC() 6 0.000821 0.000821 0.000821 0.20% MLCellLinOp::prepareForSolve() 6 0.0007368 0.0007368 0.0007368 0.18% FabArray::mult() 22 0.0006932 0.0006932 0.0006932 0.17% Castro::subcycle_advance_ctu() 5 0.0006856 0.0006856 0.0006856 0.16% FabArray::setDomainBndry() 20 0.0006747 0.0006747 0.0006747 0.16% MultiFab::contains_nan() 10 0.0006494 0.0006494 0.0006494 0.16% MLCellLinOp::compGrad() 6 0.0005898 0.0005898 0.0005898 0.14% MLMG::prepareForSolve() 6 0.0005557 0.0005557 0.0005557 0.13% MLCellLinOp::smooth() 720 0.0004686 0.0004686 0.0004686 0.11% Amr::InitAmr() 1 0.0004356 0.0004356 0.0004356 0.10% FabArrayBase::CPC::define() 244 0.000432 0.000432 0.000432 0.10% FabArrayBase::getCPC() 632 0.00038 0.00038 0.00038 0.09% FabArray::FillBoundary() 1766 0.0003792 0.0003792 0.0003792 0.09% Gravity::get_old_grav_vector() 5 0.0003076 0.0003076 0.0003076 0.07% main() 1 0.0002752 0.0002752 0.0002752 0.07% FabArrayBase::getFB() 1766 0.0002734 0.0002734 0.0002734 0.07% Amr::coarseTimeStep() 5 0.0002519 0.0002519 0.0002519 0.06% Gravity::get_new_grav_vector() 5 0.000239 0.000239 0.000239 0.06% MultiFab::max() 6 0.0002126 0.0002126 0.0002126 0.05% MLCellLinOp::apply() 500 0.0001942 0.0001942 0.0001942 0.05% AmrLevel::FillPatch() 20 0.0001621 0.0001621 0.0001621 0.04% MLCGSolver::ParallelAllReduce 659 0.0001238 0.0001238 0.0001238 0.03% FabArray::ParallelCopy() 380 0.0001195 0.0001195 0.0001195 0.03% MLCellLinOp::defineBC() 6 0.0001156 0.0001156 0.0001156 0.03% Castro::construct_new_source() 25 0.000113 0.000113 0.000113 0.03% FillPatchIterator::Initialize 20 0.0001116 0.0001116 0.0001116 0.03% MLCellLinOp::correctionResidual() 216 9.856e-05 9.856e-05 9.856e-05 0.02% MLMG::mgVcycle() 36 9.29e-05 9.29e-05 9.29e-05 0.02% MLLinOp::defineGrids() 6 9.226e-05 9.226e-05 9.226e-05 0.02% Amr::timeStep() 5 8.633e-05 8.633e-05 8.633e-05 0.02% Castro::create_source_corrector() 5 8.159e-05 8.159e-05 8.159e-05 0.02% AmrLevel::restart() 1 7.755e-05 7.755e-05 7.755e-05 0.02% Gravity::solve_for_phi() 5 7.089e-05 7.089e-05 7.089e-05 0.02% Gravity::update_max_rhs() 6 6.716e-05 6.716e-05 6.716e-05 0.02% Castro::finalize_do_advance() 5 6.472e-05 6.472e-05 6.472e-05 0.02% Castro::do_new_sources() 5 6.425e-05 6.425e-05 6.425e-05 0.02% StateData::restartDoit() 4 6.349e-05 6.349e-05 6.349e-05 0.02% FabArrayBase::FB::FB() 26 6.261e-05 6.261e-05 6.261e-05 0.02% MLMG:computeResOfCorrection() 180 5.109e-05 5.109e-05 5.109e-05 0.01% Castro::initialize_do_advance() 5 4.807e-05 4.807e-05 4.807e-05 0.01% Castro::clean_state() 30 4.621e-05 4.621e-05 4.621e-05 0.01% MLMG::actualBottomSolve() 36 4.383e-05 4.383e-05 4.383e-05 0.01% Castro::initialize_advance() 5 3.924e-05 3.924e-05 3.924e-05 0.01% MLMG::mgVcycle_down::0 36 3.84e-05 3.84e-05 3.84e-05 0.01% MLMG::solve() 6 3.829e-05 3.829e-05 3.829e-05 0.01% MLMG::mgVcycle_down::1 36 3.63e-05 3.63e-05 3.63e-05 0.01% MLMG::mgVcycle_down::2 36 3.456e-05 3.456e-05 3.456e-05 0.01% MLMG::mgVcycle_down::4 36 3.367e-05 3.367e-05 3.367e-05 0.01% Castro::advance() 5 3.303e-05 3.303e-05 3.303e-05 0.01% MLMG::mgVcycle_down::3 36 3.261e-05 3.261e-05 3.261e-05 0.01% Castro::construct_old_source() 25 3.244e-05 3.244e-05 3.244e-05 0.01% Castro::finalize_advance() 5 3.135e-05 3.135e-05 3.135e-05 0.01% Castro::do_old_sources() 5 3.096e-05 3.096e-05 3.096e-05 0.01% Amr::writeSmallPlotFile() 1 2.995e-05 2.995e-05 2.995e-05 0.01% Castro::post_restart() 1 2.993e-05 2.993e-05 2.993e-05 0.01% MLMG::mgVcycle_up::4 36 2.953e-05 2.953e-05 2.953e-05 0.01% Castro::buildMetrics() 1 2.899e-05 2.899e-05 2.899e-05 0.01% Castro::do_advance_ctu() 5 2.765e-05 2.765e-05 2.765e-05 0.01% Castro::swap_state_time_levels() 5 2.582e-05 2.582e-05 2.582e-05 0.01% Castro::initMFs() 1 2.518e-05 2.518e-05 2.518e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.409e-05 2.409e-05 2.409e-05 0.01% MLCellLinOp::solutionResidual() 42 2.404e-05 2.404e-05 2.404e-05 0.01% MLMG::oneIter() 36 2.379e-05 2.379e-05 2.379e-05 0.01% MLMG::mgVcycle_up::0 36 2.28e-05 2.28e-05 2.28e-05 0.01% MLMG::mgVcycle_up::3 36 2.253e-05 2.253e-05 2.253e-05 0.01% MLMG::mgVcycle_up::2 36 2.181e-05 2.181e-05 2.181e-05 0.01% MLMG::mgVcycle_up::1 36 2.044e-05 2.044e-05 2.044e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.877e-05 1.877e-05 1.877e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.844e-05 1.844e-05 1.844e-05 0.00% MLMG::ResNormInf() 42 1.759e-05 1.759e-05 1.759e-05 0.00% FillPatchSingleLevel 20 1.641e-05 1.641e-05 1.641e-05 0.00% MLMG::mgVcycle_bottom 36 1.552e-05 1.552e-05 1.552e-05 0.00% MLPoisson::define() 6 1.517e-05 1.517e-05 1.517e-05 0.00% MLMG::computeResidual() 36 1.464e-05 1.464e-05 1.464e-05 0.00% makeSFC 30 1.379e-05 1.379e-05 1.379e-05 0.00% Castro::construct_new_gravity() 5 1.267e-05 1.267e-05 1.267e-05 0.00% DistributionMapping::Distribute() 31 1.034e-05 1.034e-05 1.034e-05 0.00% Amr::initSubcycle() 1 1.017e-05 1.017e-05 1.017e-05 0.00% MLLinOp::define() 6 9.876e-06 9.876e-06 9.876e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 9.826e-06 9.826e-06 9.826e-06 0.00% Gravity::actual_multilevel_solve() 1 9.325e-06 9.325e-06 9.325e-06 0.00% MLMG::getGradSolution() 6 8.908e-06 8.908e-06 8.908e-06 0.00% Castro::check_for_nan() 10 8.17e-06 8.17e-06 8.17e-06 0.00% Castro::construct_old_gravity() 5 6.88e-06 6.88e-06 6.88e-06 0.00% Castro::apply_source_to_state() 10 6.24e-06 6.24e-06 6.24e-06 0.00% Castro::post_timestep() 5 5.893e-06 5.893e-06 5.893e-06 0.00% Castro::computeNewDt() 5 5.073e-06 5.073e-06 5.073e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.865e-06 4.865e-06 4.865e-06 0.00% Gravity::swapTimeLevels() 5 4.655e-06 4.655e-06 4.655e-06 0.00% MLMG::computeMLResidual() 6 4.554e-06 4.554e-06 4.554e-06 0.00% MLPoisson::prepareForSolve() 6 4.389e-06 4.389e-06 4.389e-06 0.00% Castro::expand_state() 5 3.106e-06 3.106e-06 3.106e-06 0.00% Gravity::set_mass_offset() 6 2.881e-06 2.881e-06 2.881e-06 0.00% MLMG::MLRhsNormInf() 6 2.656e-06 2.656e-06 2.656e-06 0.00% Castro::retry_advance_ctu() 5 2.342e-06 2.342e-06 2.342e-06 0.00% MLMG::MLResNormInf() 6 2.322e-06 2.322e-06 2.322e-06 0.00% Castro::FluxRegCrseInit 5 1.731e-06 1.731e-06 1.731e-06 0.00% Castro::FluxRegFineAdd() 5 1.319e-06 1.319e-06 1.319e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.117e-06 1.117e-06 1.117e-06 0.00% Amr::init() 1 1.01e-06 1.01e-06 1.01e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4162 0.4162 0.4162 100.00% Amr::coarseTimeStep() 5 0.3359 0.3359 0.3359 80.71% Amr::timeStep() 5 0.3342 0.3342 0.3342 80.28% Castro::advance() 5 0.329 0.329 0.329 79.04% Castro::subcycle_advance_ctu() 5 0.3208 0.3208 0.3208 77.07% Castro::do_advance_ctu() 5 0.3201 0.3201 0.3201 76.91% Castro::construct_ctu_hydro_source() 5 0.1504 0.1504 0.1504 36.13% Castro::construct_new_gravity() 5 0.1333 0.1333 0.1333 32.03% Gravity::solve_phi_with_mlmg() 6 0.1312 0.1312 0.1312 31.53% Gravity::solve_for_phi() 5 0.1254 0.1254 0.1254 30.14% Gravity::actual_solve_with_mlmg() 6 0.1254 0.1254 0.1254 30.14% MLMG::solve() 6 0.1134 0.1134 0.1134 27.25% MLMG::oneIter() 36 0.1059 0.1059 0.1059 25.45% MLMG::mgVcycle() 36 0.1044 0.1044 0.1044 25.09% MLCellLinOp::smooth() 720 0.05056 0.05056 0.05056 12.15% Amr::init() 1 0.05007 0.05007 0.05007 12.03% Amr::restart() 1 0.05007 0.05007 0.05007 12.03% MLCellLinOp::applyBC() 1946 0.04745 0.04745 0.04745 11.40% AmrLevel::restart() 1 0.03853 0.03853 0.03853 9.26% StateData::restartDoit() 4 0.03845 0.03845 0.03845 9.24% VisMF::Read() 3 0.03817 0.03817 0.03817 9.17% MLMG::mgVcycle_bottom 36 0.0329 0.0329 0.0329 7.90% MLMG::actualBottomSolve() 36 0.03288 0.03288 0.03288 7.90% MLCGSolver::bicgstab 36 0.03257 0.03257 0.03257 7.82% Amr::writePlotFile() 1 0.02946 0.02946 0.02946 7.08% Castro::clean_state() 30 0.028 0.028 0.028 6.73% VisMF::Write(FabArray) 1 0.02794 0.02794 0.02794 6.71% AmrLevel::FillPatch() 20 0.02219 0.02219 0.02219 5.33% FillPatchIterator::Initialize 20 0.02012 0.02012 0.02012 4.83% FillPatchIterator::FillFromLevel0() 20 0.01933 0.01933 0.01933 4.65% FillPatchSingleLevel 20 0.01931 0.01931 0.01931 4.64% StateDataPhysBCFunct::() 20 0.01725 0.01725 0.01725 4.15% MLCellLinOp::apply() 500 0.01616 0.01616 0.01616 3.88% MLMG::mgVcycle_down::0 36 0.01451 0.01451 0.01451 3.49% MLPoisson::Fsmooth() 1440 0.01428 0.01428 0.01428 3.43% FabArray::FillBoundary() 1766 0.01358 0.01358 0.01358 3.26% FillBoundary_nowait() 1766 0.0132 0.0132 0.0132 3.17% StateData::FillBoundary(geom) 160 0.01315 0.01315 0.01315 3.16% MLMG::mgVcycle_up::0 36 0.0109 0.0109 0.0109 2.62% Castro::initialize_do_advance() 5 0.01075 0.01075 0.01075 2.58% Castro::computeTemp() 30 0.0106 0.0106 0.0106 2.55% Castro::normalize_species() 30 0.01038 0.01038 0.01038 2.49% MLCellLinOp::correctionResidual() 216 0.009734 0.009734 0.009734 2.34% MLPoisson::define() 6 0.009433 0.009433 0.009433 2.27% Castro::do_old_sources() 5 0.0093 0.0093 0.0093 2.23% amrex::Dot() 484 0.009078 0.009078 0.009078 2.18% MLMG:computeResOfCorrection() 180 0.008566 0.008566 0.008566 2.06% Castro::initialize_advance() 5 0.007859 0.007859 0.007859 1.89% Castro::construct_old_gravity() 5 0.007832 0.007832 0.007832 1.88% Gravity::get_old_grav_vector() 5 0.007825 0.007825 0.007825 1.88% Gravity::get_new_grav_vector() 5 0.007759 0.007759 0.007759 1.86% amrex::Copy() 463 0.007282 0.007282 0.007282 1.75% MLMG::mgVcycle_down::1 36 0.007086 0.007086 0.007086 1.70% Castro::do_new_sources() 5 0.006775 0.006775 0.006775 1.63% FabArray::ParallelCopy() 380 0.006637 0.006637 0.006637 1.59% FabArray::setVal() 537 0.006609 0.006609 0.006609 1.59% FabArray::ParallelCopy_nowait() 380 0.006517 0.006517 0.006517 1.57% MLMG::mgVcycle_down::2 36 0.006495 0.006495 0.006495 1.56% FabArray::norminf() 326 0.006441 0.006441 0.006441 1.55% Castro::post_restart() 1 0.006438 0.006438 0.006438 1.55% MLCellLinOp::defineAuxData() 6 0.006433 0.006433 0.006433 1.55% MLMG::mgVcycle_down::3 36 0.006328 0.006328 0.006328 1.52% MLMG::mgVcycle_down::4 36 0.006235 0.006235 0.006235 1.50% Gravity::multilevel_solve_for_new_phi() 1 0.006028 0.006028 0.006028 1.45% Gravity::actual_multilevel_solve() 1 0.006009 0.006009 0.006009 1.44% Castro::enforce_min_density() 30 0.005807 0.005807 0.005807 1.40% Gravity::fill_multipole_BCs() 6 0.005657 0.005657 0.005657 1.36% MLCGSolver::ParallelAllReduce 659 0.005504 0.005504 0.005504 1.32% Castro::expand_state() 5 0.005359 0.005359 0.005359 1.29% MLMG::addInterpCorrection() 180 0.005354 0.005354 0.005354 1.29% MLMG::mgVcycle_up::4 36 0.005094 0.005094 0.005094 1.22% Castro::post_timestep() 5 0.005073 0.005073 0.005073 1.22% amrex::average_down 180 0.005044 0.005044 0.005044 1.21% MLMG::mgVcycle_up::1 36 0.005012 0.005012 0.005012 1.20% MLMG::mgVcycle_up::2 36 0.004909 0.004909 0.004909 1.18% MLMG::mgVcycle_up::3 36 0.004857 0.004857 0.004857 1.17% MLPoisson::Fapply() 500 0.004614 0.004614 0.004614 1.11% FabArray::Saxpy() 355 0.003812 0.003812 0.003812 0.92% FabArray::Xpay() 361 0.00362 0.00362 0.00362 0.87% MLCellLinOp::solutionResidual() 42 0.003502 0.003502 0.003502 0.84% Castro::reset_internal_energy(MultiFab) 30 0.003031 0.003031 0.003031 0.73% MLCellLinOp::defineBC() 6 0.00285 0.00285 0.00285 0.68% MLMG::prepareForSolve() 6 0.002814 0.002814 0.002814 0.68% BndryData::define() 6 0.002735 0.002735 0.002735 0.66% Castro::estTimeStep() 10 0.002731 0.002731 0.002731 0.66% MLMG::computeResidual() 36 0.002713 0.002713 0.002713 0.65% FabArray::LinComb() 242 0.00232 0.00232 0.00232 0.56% amrex::Add() 72 0.001895 0.001895 0.001895 0.46% Castro::construct_new_source() 25 0.001779 0.001779 0.001779 0.43% Castro::construct_new_gravity_source() 5 0.001666 0.001666 0.001666 0.40% Castro::computeNewDt() 5 0.001528 0.001528 0.001528 0.37% Castro::construct_old_source() 25 0.001386 0.001386 0.001386 0.33% Castro::construct_old_gravity_source() 5 0.001353 0.001353 0.001353 0.33% Castro::finalize_do_advance() 5 0.001273 0.001273 0.001273 0.31% Castro::enforce_speed_limit() 30 0.00116 0.00116 0.00116 0.28% MLMG::ResNormInf() 42 0.001001 0.001001 0.001001 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009786 0.0009786 0.0009786 0.24% Castro::apply_source_to_state() 10 0.0009697 0.0009697 0.0009697 0.23% Castro::reset_internal_energy(Fab) 240 0.0009491 0.0009491 0.0009491 0.23% check_for_negative_density() 5 0.0009484 0.0009484 0.0009484 0.23% MLMG::getGradSolution() 6 0.0008832 0.0008832 0.0008832 0.21% MLCellLinOp::compGrad() 6 0.0008743 0.0008743 0.0008743 0.21% MLCellLinOp::setLevelBC() 6 0.000821 0.000821 0.000821 0.20% FabArrayBase::getCPC() 632 0.0008119 0.0008119 0.0008119 0.20% MLMG::computeMLResidual() 6 0.0008086 0.0008086 0.0008086 0.19% Gravity::update_max_rhs() 6 0.0007521 0.0007521 0.0007521 0.18% MLPoisson::prepareForSolve() 6 0.0007412 0.0007412 0.0007412 0.18% MLCellLinOp::prepareForSolve() 6 0.0007368 0.0007368 0.0007368 0.18% FabArray::mult() 22 0.0006932 0.0006932 0.0006932 0.17% FabArray::setDomainBndry() 20 0.0006747 0.0006747 0.0006747 0.16% Castro::check_for_nan() 10 0.0006576 0.0006576 0.0006576 0.16% MultiFab::contains_nan() 10 0.0006494 0.0006494 0.0006494 0.16% Amr::InitAmr() 1 0.0004457 0.0004457 0.0004457 0.11% FabArrayBase::CPC::define() 244 0.000432 0.000432 0.000432 0.10% FabArrayBase::getFB() 1766 0.000336 0.000336 0.000336 0.08% Castro::finalize_advance() 5 0.0002955 0.0002955 0.0002955 0.07% Gravity::swapTimeLevels() 5 0.0002325 0.0002325 0.0002325 0.06% MultiFab::max() 6 0.0002126 0.0002126 0.0002126 0.05% MLMG::MLResNormInf() 6 0.0001908 0.0001908 0.0001908 0.05% Castro::buildMetrics() 1 0.0001561 0.0001561 0.0001561 0.04% MLLinOp::define() 6 0.0001355 0.0001355 0.0001355 0.03% MLLinOp::defineGrids() 6 0.0001256 0.0001256 0.0001256 0.03% MLMG::MLRhsNormInf() 6 0.0001202 0.0001202 0.0001202 0.03% Castro::create_source_corrector() 5 8.159e-05 8.159e-05 8.159e-05 0.02% FabArrayBase::FB::FB() 26 6.261e-05 6.261e-05 6.261e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 3.224e-05 3.224e-05 3.224e-05 0.01% Amr::writeSmallPlotFile() 1 2.995e-05 2.995e-05 2.995e-05 0.01% Castro::swap_state_time_levels() 5 2.582e-05 2.582e-05 2.582e-05 0.01% Castro::initMFs() 1 2.518e-05 2.518e-05 2.518e-05 0.01% makeSFC 30 2.241e-05 2.241e-05 2.241e-05 0.01% DistributionMapping::Distribute() 31 1.034e-05 1.034e-05 1.034e-05 0.00% Amr::initSubcycle() 1 1.017e-05 1.017e-05 1.017e-05 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 6.583e-06 6.583e-06 6.583e-06 0.00% Gravity::set_mass_offset() 6 2.881e-06 2.881e-06 2.881e-06 0.00% Castro::retry_advance_ctu() 5 2.342e-06 2.342e-06 2.342e-06 0.00% Castro::FluxRegCrseInit 5 1.731e-06 1.731e-06 1.731e-06 0.00% Castro::FluxRegFineAdd() 5 1.319e-06 1.319e-06 1.319e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.117e-06 1.117e-06 1.117e-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 199 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 164 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1027 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1985 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 6774 KiB 14 MiB MLMG::prepareForSolve() 361 361 3344 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 194 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 190 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6759 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 23 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3595 B 2048 KiB Gravity::solve_for_phi() 40 40 615 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 29 KiB 2048 KiB BndryData::define() 576 576 308 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 198 KiB 671 KiB Castro::estTimeStep() 10 10 3137 B 480 KiB VisMF::Write(FabArray) 112 112 1350 B 320 KiB Castro::normalize_species() 30 30 8122 B 320 KiB amrex::average_down 469 469 1185 B 257 KiB MLMG::addInterpCorrection() 468 468 1097 B 257 KiB amrex::Dot() 592 592 3210 B 160 KiB FabArray::norminf() 398 398 2281 B 160 KiB check_for_negative_density() 5 5 358 B 160 KiB MultiFab::max() 6 6 79 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3241 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 268 B 9648 B MLCellLinOp::applyBC() 3892 3892 212 B 9344 B amrex::Copy() 56 56 5935 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 35 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 113 B 1472 B MLCellLinOp::defineBC() 36 36 346 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1210 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 91 KiB 8192 KiB VisMF::Write(FabArray) 120 120 192 KiB 3584 KiB VisMF::Read() 24 24 179 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3241 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 268 B 9648 B MLCellLinOp::applyBC() 1946 1946 211 B 9328 B amrex::Copy() 56 56 5935 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2651 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 36 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 518 B 1296 B amrex::average_down 37 37 222 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 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): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.09-5-gb98bdae9fb67) finalized