Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-15-g6dfdd48dc476) initialized Starting run at 08:00:57 UTC on 2023-07-12. Successfully read inputs file ... Castro git describe: 23.07-14-g10cafd240 AMReX git describe: 23.07-15-g6dfdd48dc Microphysics git describe: 23.07-22-ga7473400 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.058346387 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033762805 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.047474823 [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.076043997 [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.074925117 [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.047873467 [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.065239137 [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.057944993 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.067606236 [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.07501594 [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.075713336 [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.059988331 [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.06991008 [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.058047255 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.034923851 seconds Ending run at 08:00:58 UTC on 2023-07-12. Run time = 0.952772072 Run time without initialization = 0.811524484 Average number of zones advanced per microsecond: 3.230 Average number of zones advanced per microsecond per rank: 3.230 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9528 ... 0.9528 ... 0.9528 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2937 0.2937 0.2937 30.82% VisMF::Write(FabArray) 11 0.2361 0.2361 0.2361 24.77% MLCellLinOp::applyBC() 4433 0.07636 0.07636 0.07636 8.01% MLPoisson::Fsmooth() 3280 0.03212 0.03212 0.03212 3.37% FillBoundary_nowait() 4023 0.03013 0.03013 0.03013 3.16% StateData::FillBoundary(geom) 328 0.02561 0.02561 0.02561 2.69% amrex::Dot() 1114 0.02054 0.02054 0.02054 2.16% Castro::normalize_species() 62 0.01968 0.01968 0.01968 2.07% amrex::Copy() 1029 0.01482 0.01482 0.01482 1.55% Castro::computeTemp() 63 0.01451 0.01451 0.01451 1.52% FabArray::norminf() 743 0.01432 0.01432 0.01432 1.50% FabArray::ParallelCopy_nowait() 861 0.01339 0.01339 0.01339 1.40% FabArray::setVal() 1144 0.01308 0.01308 0.01308 1.37% StateDataPhysBCFunct::() 41 0.01144 0.01144 0.01144 1.20% Castro::enforce_min_density() 62 0.0108 0.0108 0.0108 1.13% MLPoisson::Fapply() 1142 0.01023 0.01023 0.01023 1.07% MLCellLinOp::defineAuxData() 11 0.009854 0.009854 0.009854 1.03% FabArray::Saxpy() 813 0.008153 0.008153 0.008153 0.86% FabArray::Xpay() 821 0.008064 0.008064 0.008064 0.85% Gravity::fill_multipole_BCs() 11 0.006873 0.006873 0.006873 0.72% MLMG::addInterpCorrection() 410 0.006631 0.006631 0.006631 0.70% amrex::average_down 410 0.005978 0.005978 0.005978 0.63% Castro::estTimeStep() 21 0.005964 0.005964 0.005964 0.63% Castro::reset_internal_energy(MultiFab) 63 0.004887 0.004887 0.004887 0.51% FabArray::LinComb() 557 0.004483 0.004483 0.004483 0.47% amrex::Add() 164 0.004349 0.004349 0.004349 0.46% Amr::checkPoint() 3 0.003955 0.003955 0.003955 0.42% Castro::enforce_speed_limit() 62 0.003723 0.003723 0.003723 0.39% BndryData::define() 11 0.003692 0.003692 0.003692 0.39% Castro::construct_new_gravity_source() 10 0.00318 0.00318 0.00318 0.33% Castro::construct_old_gravity_source() 10 0.002808 0.002808 0.002808 0.29% Amr::writePlotFile() 2 0.002526 0.002526 0.002526 0.27% MLCGSolver::bicgstab 82 0.002142 0.002142 0.002142 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001692 0.001692 0.001692 0.18% Castro::reset_internal_energy(Fab) 504 0.001626 0.001626 0.001626 0.17% check_for_negative_density() 10 0.001604 0.001604 0.001604 0.17% Gravity::actual_solve_with_mlmg() 11 0.001505 0.001505 0.001505 0.16% MLCellLinOp::setLevelBC() 11 0.001385 0.001385 0.001385 0.15% Castro::initData() 1 0.001329 0.001329 0.001329 0.14% FabArray::mult() 43 0.001309 0.001309 0.001309 0.14% FabArray::setDomainBndry() 41 0.001302 0.001302 0.001302 0.14% MultiFab::contains_nan() 20 0.00119 0.00119 0.00119 0.12% MLCellLinOp::smooth() 1640 0.001166 0.001166 0.001166 0.12% MLCellLinOp::prepareForSolve() 11 0.001141 0.001141 0.001141 0.12% MLCellLinOp::compGrad() 11 0.000905 0.000905 0.000905 0.09% MLMG::prepareForSolve() 11 0.0008629 0.0008629 0.0008629 0.09% FabArray::FillBoundary() 4023 0.0008047 0.0008047 0.0008047 0.08% FabArrayBase::getCPC() 1323 0.0007916 0.0007916 0.0007916 0.08% FabArrayBase::CPC::define() 454 0.0006913 0.0006913 0.0006913 0.07% FabArrayBase::getFB() 4023 0.0006075 0.0006075 0.0006075 0.06% Gravity::get_new_grav_vector() 11 0.0005453 0.0005453 0.0005453 0.06% Amr::InitAmr() 1 0.0004864 0.0004864 0.0004864 0.05% Gravity::get_old_grav_vector() 10 0.0004775 0.0004775 0.0004775 0.05% MLCellLinOp::apply() 1142 0.0004607 0.0004607 0.0004607 0.05% MLLinOp::defineGrids() 11 0.0004507 0.0004507 0.0004507 0.05% Amr::coarseTimeStep() 10 0.0004005 0.0004005 0.0004005 0.04% MLMG::mgVcycle() 82 0.0003617 0.0003617 0.0003617 0.04% main() 1 0.0003552 0.0003552 0.0003552 0.04% AmrLevel::FillPatch() 41 0.0003215 0.0003215 0.0003215 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002971 0.0002971 0.0002971 0.03% MultiFab::max() 11 0.0002549 0.0002549 0.0002549 0.03% FabArray::ParallelCopy() 861 0.0002392 0.0002392 0.0002392 0.03% MLCellLinOp::correctionResidual() 492 0.0002166 0.0002166 0.0002166 0.02% MLCellLinOp::defineBC() 11 0.000216 0.000216 0.000216 0.02% Castro::subcycle_advance_ctu() 10 0.0002151 0.0002151 0.0002151 0.02% FillPatchIterator::Initialize 41 0.0002138 0.0002138 0.0002138 0.02% Castro::create_source_corrector() 10 0.0001607 0.0001607 0.0001607 0.02% Amr::timeStep() 10 0.0001549 0.0001549 0.0001549 0.02% StateData::checkPoint() 12 0.0001344 0.0001344 0.0001344 0.01% Gravity::update_max_rhs() 11 0.000127 0.000127 0.000127 0.01% MLMG:computeResOfCorrection() 410 0.0001184 0.0001184 0.0001184 0.01% Castro::advance() 10 0.0001165 0.0001165 0.0001165 0.01% Gravity::solve_for_phi() 10 0.0001092 0.0001092 0.0001092 0.01% MLMG::actualBottomSolve() 82 8.863e-05 8.863e-05 8.863e-05 0.01% FabArrayBase::FB::FB() 56 8.821e-05 8.821e-05 8.821e-05 0.01% Amr::writeSmallPlotFile() 1 8.585e-05 8.585e-05 8.585e-05 0.01% Castro::Castro() 1 8.178e-05 8.178e-05 8.178e-05 0.01% MLMG::mgVcycle_down::0 82 8.138e-05 8.138e-05 8.138e-05 0.01% MLMG::mgVcycle_down::2 82 7.937e-05 7.937e-05 7.937e-05 0.01% MLMG::mgVcycle_down::1 82 7.884e-05 7.884e-05 7.884e-05 0.01% AmrLevel::checkPoint() 3 7.455e-05 7.455e-05 7.455e-05 0.01% Castro::initialize_advance() 10 7.41e-05 7.41e-05 7.41e-05 0.01% MLMG::mgVcycle_down::4 82 7.346e-05 7.346e-05 7.346e-05 0.01% MLMG::solve() 11 7.331e-05 7.331e-05 7.331e-05 0.01% MLMG::mgVcycle_down::3 82 7.209e-05 7.209e-05 7.209e-05 0.01% Castro::clean_state() 62 6.897e-05 6.897e-05 6.897e-05 0.01% Castro::finalize_advance() 10 6.617e-05 6.617e-05 6.617e-05 0.01% MLMG::oneIter() 82 6.537e-05 6.537e-05 6.537e-05 0.01% Castro::finalize_do_advance() 10 6.249e-05 6.249e-05 6.249e-05 0.01% Castro::do_new_sources() 10 6.028e-05 6.028e-05 6.028e-05 0.01% MLMG::mgVcycle_up::4 82 6.027e-05 6.027e-05 6.027e-05 0.01% Castro::initialize_do_advance() 10 5.901e-05 5.901e-05 5.901e-05 0.01% MLMG::mgVcycle_up::3 82 5.028e-05 5.028e-05 5.028e-05 0.01% MLCellLinOp::solutionResidual() 93 5.005e-05 5.005e-05 5.005e-05 0.01% MLMG::mgVcycle_up::0 82 4.993e-05 4.993e-05 4.993e-05 0.01% MLMG::mgVcycle_up::1 82 4.986e-05 4.986e-05 4.986e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.964e-05 4.964e-05 4.964e-05 0.01% MLMG::mgVcycle_up::2 82 4.914e-05 4.914e-05 4.914e-05 0.01% Castro::do_advance_ctu() 10 4.714e-05 4.714e-05 4.714e-05 0.00% Castro::construct_new_source() 50 4.112e-05 4.112e-05 4.112e-05 0.00% Castro::swap_state_time_levels() 10 3.746e-05 3.746e-05 3.746e-05 0.00% StateData::define() 4 3.481e-05 3.481e-05 3.481e-05 0.00% MLMG::mgVcycle_bottom 82 3.422e-05 3.422e-05 3.422e-05 0.00% FillPatchSingleLevel 41 3.403e-05 3.403e-05 3.403e-05 0.00% MLMG::ResNormInf() 93 3.401e-05 3.401e-05 3.401e-05 0.00% Castro::enforce_consistent_e() 1 3.374e-05 3.374e-05 3.374e-05 0.00% MLMG::computeResidual() 82 3.119e-05 3.119e-05 3.119e-05 0.00% makeSFC 55 2.451e-05 2.451e-05 2.451e-05 0.00% Castro::initMFs() 1 2.362e-05 2.362e-05 2.362e-05 0.00% Castro::construct_new_gravity() 10 2.221e-05 2.221e-05 2.221e-05 0.00% MLPoisson::define() 11 2.16e-05 2.16e-05 2.16e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.143e-05 2.143e-05 2.143e-05 0.00% Castro::do_old_sources() 10 2.049e-05 2.049e-05 2.049e-05 0.00% Amr::FinalizeInit() 1 2.016e-05 2.016e-05 2.016e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.856e-05 1.856e-05 1.856e-05 0.00% Castro::construct_old_source() 50 1.816e-05 1.816e-05 1.816e-05 0.00% Castro::buildMetrics() 1 1.738e-05 1.738e-05 1.738e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.543e-05 1.543e-05 1.543e-05 0.00% DistributionMapping::Distribute() 56 1.447e-05 1.447e-05 1.447e-05 0.00% MLPoisson::prepareForSolve() 11 1.339e-05 1.339e-05 1.339e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.333e-05 1.333e-05 1.333e-05 0.00% Amr::defBaseLevel() 1 1.241e-05 1.241e-05 1.241e-05 0.00% MLLinOp::define() 11 1.097e-05 1.097e-05 1.097e-05 0.00% Castro::apply_source_to_state() 20 1.076e-05 1.076e-05 1.076e-05 0.00% Castro::check_for_nan() 20 1.018e-05 1.018e-05 1.018e-05 0.00% Castro::construct_old_gravity() 10 9.732e-06 9.732e-06 9.732e-06 0.00% Gravity::swapTimeLevels() 10 9.395e-06 9.395e-06 9.395e-06 0.00% Amr::initSubcycle() 1 8.617e-06 8.617e-06 8.617e-06 0.00% MLMG::computeMLResidual() 11 8.382e-06 8.382e-06 8.382e-06 0.00% Castro::post_timestep() 10 7.99e-06 7.99e-06 7.99e-06 0.00% Gravity::actual_multilevel_solve() 1 7.806e-06 7.806e-06 7.806e-06 0.00% Castro::computeNewDt() 9 6.423e-06 6.423e-06 6.423e-06 0.00% MLMG::getGradSolution() 11 6.354e-06 6.354e-06 6.354e-06 0.00% Castro::expand_state() 10 5.379e-06 5.379e-06 5.379e-06 0.00% AmrLevel::checkPointPost() 3 5.133e-06 5.133e-06 5.133e-06 0.00% Amr::InitializeInit() 1 5.047e-06 5.047e-06 5.047e-06 0.00% Castro::retry_advance_ctu() 10 4.533e-06 4.533e-06 4.533e-06 0.00% Gravity::set_mass_offset() 11 4.129e-06 4.129e-06 4.129e-06 0.00% MLMG::MLRhsNormInf() 11 3.767e-06 3.767e-06 3.767e-06 0.00% Castro::post_init() 1 3.603e-06 3.603e-06 3.603e-06 0.00% MLMG::MLResNormInf() 11 3.532e-06 3.532e-06 3.532e-06 0.00% Castro::computeInitialDt() 2 2.995e-06 2.995e-06 2.995e-06 0.00% Amr::init() 1 2.843e-06 2.843e-06 2.843e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.774e-06 2.774e-06 2.774e-06 0.00% Castro::FluxRegCrseInit 10 2.748e-06 2.748e-06 2.748e-06 0.00% Castro::FluxRegFineAdd() 10 2.294e-06 2.294e-06 2.294e-06 0.00% AmrLevel::checkPointPre() 3 2.094e-06 2.094e-06 2.094e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.945e-06 1.945e-06 1.945e-06 0.00% Amr::initialInit() 1 1.153e-06 1.153e-06 1.153e-06 0.00% Castro::post_regrid() 1 9.59e-07 9.59e-07 9.59e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9528 0.9528 0.9528 100.00% Amr::coarseTimeStep() 10 0.7763 0.7763 0.7763 81.47% Amr::timeStep() 10 0.6564 0.6564 0.6564 68.89% Castro::advance() 10 0.6468 0.6468 0.6468 67.88% Castro::subcycle_advance_ctu() 10 0.6331 0.6331 0.6331 66.45% Castro::do_advance_ctu() 10 0.6329 0.6329 0.6329 66.42% Castro::construct_ctu_hydro_source() 10 0.3039 0.3039 0.3039 31.90% Gravity::solve_phi_with_mlmg() 11 0.2821 0.2821 0.2821 29.60% Gravity::actual_solve_with_mlmg() 11 0.2747 0.2747 0.2747 28.84% Castro::construct_new_gravity() 10 0.2574 0.2574 0.2574 27.02% MLMG::solve() 11 0.2538 0.2538 0.2538 26.64% Gravity::solve_for_phi() 10 0.2415 0.2415 0.2415 25.35% MLMG::oneIter() 82 0.2396 0.2396 0.2396 25.14% VisMF::Write(FabArray) 11 0.2361 0.2361 0.2361 24.77% MLMG::mgVcycle() 82 0.2359 0.2359 0.2359 24.76% Amr::checkPoint() 3 0.1745 0.1745 0.1745 18.31% AmrLevel::checkPoint() 3 0.1705 0.1705 0.1705 17.89% StateData::checkPoint() 12 0.1704 0.1704 0.1704 17.89% Amr::init() 1 0.1406 0.1406 0.1406 14.76% MLCellLinOp::smooth() 1640 0.1156 0.1156 0.1156 12.13% MLCellLinOp::applyBC() 4433 0.108 0.108 0.108 11.33% MLMG::mgVcycle_bottom 82 0.07338 0.07338 0.07338 7.70% MLMG::actualBottomSolve() 82 0.07334 0.07334 0.07334 7.70% MLCGSolver::bicgstab 82 0.07265 0.07265 0.07265 7.63% Amr::writePlotFile() 2 0.06881 0.06881 0.06881 7.22% Castro::clean_state() 62 0.05455 0.05455 0.05455 5.73% Amr::initialInit() 1 0.0484 0.0484 0.0484 5.08% AmrLevel::FillPatch() 41 0.04683 0.04683 0.04683 4.92% Amr::FinalizeInit() 1 0.0442 0.0442 0.0442 4.64% Castro::post_init() 1 0.04289 0.04289 0.04289 4.50% FillPatchIterator::Initialize 41 0.04267 0.04267 0.04267 4.48% FillPatchIterator::FillFromLevel0() 41 0.04115 0.04115 0.04115 4.32% FillPatchSingleLevel 41 0.0411 0.0411 0.0411 4.31% Gravity::multilevel_solve_for_new_phi() 1 0.04093 0.04093 0.04093 4.30% Gravity::actual_multilevel_solve() 1 0.04091 0.04091 0.04091 4.29% StateDataPhysBCFunct::() 41 0.03705 0.03705 0.03705 3.89% MLCellLinOp::apply() 1142 0.03594 0.03594 0.03594 3.77% MLMG::mgVcycle_down::0 82 0.03327 0.03327 0.03327 3.49% MLPoisson::Fsmooth() 3280 0.03212 0.03212 0.03212 3.37% FabArray::FillBoundary() 4023 0.03163 0.03163 0.03163 3.32% FillBoundary_nowait() 4023 0.03083 0.03083 0.03083 3.24% StateData::FillBoundary(geom) 328 0.02561 0.02561 0.02561 2.69% MLMG::mgVcycle_up::0 82 0.02512 0.02512 0.02512 2.64% MLCellLinOp::correctionResidual() 492 0.02198 0.02198 0.02198 2.31% Castro::computeTemp() 63 0.02102 0.02102 0.02102 2.21% Castro::initialize_do_advance() 10 0.0207 0.0207 0.0207 2.17% amrex::Dot() 1114 0.02054 0.02054 0.02054 2.16% Castro::normalize_species() 62 0.01968 0.01968 0.01968 2.07% MLMG:computeResOfCorrection() 410 0.01937 0.01937 0.01937 2.03% Castro::do_old_sources() 10 0.01841 0.01841 0.01841 1.93% Gravity::get_new_grav_vector() 11 0.01754 0.01754 0.01754 1.84% MLPoisson::define() 11 0.01667 0.01667 0.01667 1.75% MLMG::mgVcycle_down::1 82 0.01573 0.01573 0.01573 1.65% Castro::construct_old_gravity() 10 0.01533 0.01533 0.01533 1.61% Gravity::get_old_grav_vector() 10 0.01532 0.01532 0.01532 1.61% amrex::Copy() 1029 0.01482 0.01482 0.01482 1.55% MLMG::mgVcycle_down::2 82 0.0147 0.0147 0.0147 1.54% FabArray::ParallelCopy() 861 0.01443 0.01443 0.01443 1.51% MLMG::mgVcycle_down::3 82 0.01437 0.01437 0.01437 1.51% FabArray::norminf() 743 0.01432 0.01432 0.01432 1.50% FabArray::ParallelCopy_nowait() 861 0.01419 0.01419 0.01419 1.49% MLMG::mgVcycle_down::4 82 0.01411 0.01411 0.01411 1.48% Castro::do_new_sources() 10 0.01366 0.01366 0.01366 1.43% FabArray::setVal() 1144 0.01308 0.01308 0.01308 1.37% Castro::initialize_advance() 10 0.01299 0.01299 0.01299 1.36% MLCGSolver::ParallelAllReduce 1514 0.0123 0.0123 0.0123 1.29% MLMG::addInterpCorrection() 410 0.01183 0.01183 0.01183 1.24% MLMG::mgVcycle_up::1 82 0.01147 0.01147 0.01147 1.20% MLMG::mgVcycle_up::4 82 0.0113 0.0113 0.0113 1.19% Castro::expand_state() 10 0.01128 0.01128 0.01128 1.18% MLCellLinOp::defineAuxData() 11 0.01125 0.01125 0.01125 1.18% amrex::average_down 410 0.01119 0.01119 0.01119 1.17% MLMG::mgVcycle_up::2 82 0.01115 0.01115 0.01115 1.17% MLMG::mgVcycle_up::3 82 0.01096 0.01096 0.01096 1.15% Castro::enforce_min_density() 62 0.0108 0.0108 0.0108 1.13% MLPoisson::Fapply() 1142 0.01023 0.01023 0.01023 1.07% Castro::post_timestep() 10 0.009403 0.009403 0.009403 0.99% FabArray::Saxpy() 813 0.008153 0.008153 0.008153 0.86% FabArray::Xpay() 821 0.008064 0.008064 0.008064 0.85% Gravity::fill_multipole_BCs() 11 0.007107 0.007107 0.007107 0.75% MLCellLinOp::solutionResidual() 93 0.007081 0.007081 0.007081 0.74% Castro::reset_internal_energy(MultiFab) 63 0.006514 0.006514 0.006514 0.68% MLMG::computeResidual() 82 0.006099 0.006099 0.006099 0.64% Castro::estTimeStep() 21 0.005964 0.005964 0.005964 0.63% MLCellLinOp::defineBC() 11 0.004877 0.004877 0.004877 0.51% MLMG::prepareForSolve() 11 0.004694 0.004694 0.004694 0.49% BndryData::define() 11 0.004661 0.004661 0.004661 0.49% FabArray::LinComb() 557 0.004483 0.004483 0.004483 0.47% amrex::Add() 164 0.004349 0.004349 0.004349 0.46% Amr::InitializeInit() 1 0.004195 0.004195 0.004195 0.44% Amr::defBaseLevel() 1 0.00419 0.00419 0.00419 0.44% Castro::enforce_speed_limit() 62 0.003723 0.003723 0.003723 0.39% Castro::initData() 1 0.003705 0.003705 0.003705 0.39% Castro::construct_new_source() 50 0.003221 0.003221 0.003221 0.34% Castro::construct_new_gravity_source() 10 0.00318 0.00318 0.00318 0.33% Castro::construct_old_source() 50 0.002826 0.002826 0.002826 0.30% Castro::construct_old_gravity_source() 10 0.002808 0.002808 0.002808 0.29% Castro::computeNewDt() 9 0.002723 0.002723 0.002723 0.29% Castro::finalize_do_advance() 10 0.002452 0.002452 0.002452 0.26% MLMG::ResNormInf() 93 0.002124 0.002124 0.002124 0.22% Castro::apply_source_to_state() 20 0.001833 0.001833 0.001833 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001692 0.001692 0.001692 0.18% Castro::reset_internal_energy(Fab) 504 0.001626 0.001626 0.001626 0.17% check_for_negative_density() 10 0.001604 0.001604 0.001604 0.17% FabArrayBase::getCPC() 1323 0.001483 0.001483 0.001483 0.16% MLCellLinOp::setLevelBC() 11 0.001385 0.001385 0.001385 0.15% MLMG::getGradSolution() 11 0.001377 0.001377 0.001377 0.14% MLCellLinOp::compGrad() 11 0.001371 0.001371 0.001371 0.14% FabArray::mult() 43 0.001309 0.001309 0.001309 0.14% FabArray::setDomainBndry() 41 0.001302 0.001302 0.001302 0.14% Castro::check_for_nan() 20 0.0012 0.0012 0.0012 0.13% MultiFab::contains_nan() 20 0.00119 0.00119 0.00119 0.12% MLPoisson::prepareForSolve() 11 0.001155 0.001155 0.001155 0.12% MLCellLinOp::prepareForSolve() 11 0.001141 0.001141 0.001141 0.12% Castro::post_regrid() 1 0.001127 0.001127 0.001127 0.12% MLMG::computeMLResidual() 11 0.001022 0.001022 0.001022 0.11% Castro::computeInitialDt() 2 0.0008605 0.0008605 0.0008605 0.09% Gravity::update_max_rhs() 11 0.0008261 0.0008261 0.0008261 0.09% FabArrayBase::getFB() 4023 0.0006957 0.0006957 0.0006957 0.07% FabArrayBase::CPC::define() 454 0.0006913 0.0006913 0.0006913 0.07% Castro::finalize_advance() 10 0.0005865 0.0005865 0.0005865 0.06% MLLinOp::define() 11 0.0005149 0.0005149 0.0005149 0.05% MLLinOp::defineGrids() 11 0.0005039 0.0005039 0.0005039 0.05% Amr::InitAmr() 1 0.000495 0.000495 0.000495 0.05% Gravity::swapTimeLevels() 10 0.0004352 0.0004352 0.0004352 0.05% Castro::Castro() 1 0.0004185 0.0004185 0.0004185 0.04% MLMG::MLResNormInf() 11 0.0002812 0.0002812 0.0002812 0.03% MultiFab::max() 11 0.0002549 0.0002549 0.0002549 0.03% MLMG::MLRhsNormInf() 11 0.0002173 0.0002173 0.0002173 0.02% Castro::create_source_corrector() 10 0.0001607 0.0001607 0.0001607 0.02% Castro::buildMetrics() 1 0.0001495 0.0001495 0.0001495 0.02% FabArrayBase::FB::FB() 56 8.821e-05 8.821e-05 8.821e-05 0.01% Amr::writeSmallPlotFile() 1 8.585e-05 8.585e-05 8.585e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.121e-05 5.121e-05 5.121e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.024e-05 5.024e-05 5.024e-05 0.01% makeSFC 55 3.788e-05 3.788e-05 3.788e-05 0.00% Castro::swap_state_time_levels() 10 3.746e-05 3.746e-05 3.746e-05 0.00% StateData::define() 4 3.481e-05 3.481e-05 3.481e-05 0.00% Castro::enforce_consistent_e() 1 3.374e-05 3.374e-05 3.374e-05 0.00% Castro::initMFs() 1 2.362e-05 2.362e-05 2.362e-05 0.00% DistributionMapping::Distribute() 56 1.447e-05 1.447e-05 1.447e-05 0.00% Amr::initSubcycle() 1 8.617e-06 8.617e-06 8.617e-06 0.00% AmrLevel::checkPointPost() 3 5.133e-06 5.133e-06 5.133e-06 0.00% Castro::retry_advance_ctu() 10 4.533e-06 4.533e-06 4.533e-06 0.00% Gravity::set_mass_offset() 11 4.129e-06 4.129e-06 4.129e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.876e-06 3.876e-06 3.876e-06 0.00% Castro::FluxRegCrseInit 10 2.748e-06 2.748e-06 2.748e-06 0.00% Castro::FluxRegFineAdd() 10 2.294e-06 2.294e-06 2.294e-06 0.00% AmrLevel::checkPointPre() 3 2.094e-06 2.094e-06 2.094e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.945e-06 1.945e-06 1.945e-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 89 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 146 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 945 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2028 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7603 KiB 14 MiB MLMG::prepareForSolve() 660 660 3274 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 191 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 164 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7522 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1657 B 2048 KiB Gravity::solve_for_phi() 80 80 518 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 87 KiB 2048 KiB BndryData::define() 1056 1056 298 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 190 KiB 671 KiB Castro::estTimeStep() 21 21 3051 B 480 KiB VisMF::Write(FabArray) 656 656 3172 B 320 KiB Castro::normalize_species() 62 62 6725 B 320 KiB amrex::average_down 1067 1067 1188 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1073 B 257 KiB amrex::Dot() 1360 1360 3174 B 160 KiB FabArray::norminf() 907 907 2221 B 160 KiB check_for_negative_density() 10 10 267 B 160 KiB Castro::initData() 1 1 25 B 160 KiB MultiFab::max() 11 11 41 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 24 B 20 KiB MLPoisson::Fsmooth() 132 132 3201 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 276 B 9648 B MLCellLinOp::applyBC() 8866 8866 206 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3863 B 6144 B StateData::FillBoundary(geom) 1992 1992 39 B 2448 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 388 B 1440 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 576 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 44 KiB 8192 KiB VisMF::Write(FabArray) 744 744 578 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3201 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 276 B 9648 B MLCellLinOp::applyBC() 4433 4433 205 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3863 B 6144 B Gravity::get_new_grav_vector() 3 3 2914 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 39 B 2448 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 272 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-15-g6dfdd48dc476) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-15-g6dfdd48dc476) initialized Starting run at 08:00:59 UTC on 2023-07-12. Successfully read inputs file ... Castro git describe: 23.07-14-g10cafd240 AMReX git describe: 23.07-15-g6dfdd48dc Microphysics git describe: 23.07-22-ga7473400 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.510808928 Restart time = 0.044209374 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.049784173 [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.072051811 [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.084671348 [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.069788057 [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.054083397 [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.033313678 seconds Ending run at 08:00:59 UTC on 2023-07-12. Run time = 0.408955396 Run time without initialization = 0.36412183 Average number of zones advanced per microsecond: 3.600 Average number of zones advanced per microsecond per rank: 3.600 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.409 ... 0.409 ... 0.409 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1443 0.1443 0.1443 35.28% VisMF::Read() 3 0.03804 0.03804 0.03804 9.30% MLCellLinOp::applyBC() 1946 0.03327 0.03327 0.03327 8.14% VisMF::Write(FabArray) 1 0.03168 0.03168 0.03168 7.75% MLPoisson::Fsmooth() 1440 0.01394 0.01394 0.01394 3.41% FillBoundary_nowait() 1766 0.01291 0.01291 0.01291 3.16% StateData::FillBoundary(geom) 160 0.0123 0.0123 0.0123 3.01% Castro::normalize_species() 30 0.009368 0.009368 0.009368 2.29% amrex::Dot() 484 0.008874 0.008874 0.008874 2.17% Castro::computeTemp() 30 0.007427 0.007427 0.007427 1.82% amrex::Copy() 463 0.00699 0.00699 0.00699 1.71% FabArray::setVal() 537 0.006297 0.006297 0.006297 1.54% FabArray::norminf() 326 0.006251 0.006251 0.006251 1.53% FabArray::ParallelCopy_nowait() 380 0.006057 0.006057 0.006057 1.48% Castro::enforce_min_density() 30 0.00589 0.00589 0.00589 1.44% MLCellLinOp::defineAuxData() 6 0.005287 0.005287 0.005287 1.29% StateDataPhysBCFunct::() 20 0.004489 0.004489 0.004489 1.10% MLPoisson::Fapply() 500 0.00446 0.00446 0.00446 1.09% FabArray::Saxpy() 355 0.003633 0.003633 0.003633 0.89% Gravity::fill_multipole_BCs() 6 0.003533 0.003533 0.003533 0.86% FabArray::Xpay() 361 0.003502 0.003502 0.003502 0.86% Castro::estTimeStep() 10 0.003382 0.003382 0.003382 0.83% MLMG::addInterpCorrection() 180 0.002895 0.002895 0.002895 0.71% amrex::average_down 180 0.002597 0.002597 0.002597 0.63% Amr::restart() 1 0.002534 0.002534 0.002534 0.62% Castro::reset_internal_energy(MultiFab) 30 0.002158 0.002158 0.002158 0.53% BndryData::define() 6 0.002033 0.002033 0.002033 0.50% FabArray::LinComb() 242 0.001927 0.001927 0.001927 0.47% amrex::Add() 72 0.001864 0.001864 0.001864 0.46% Castro::construct_new_gravity_source() 5 0.001576 0.001576 0.001576 0.39% Amr::writePlotFile() 1 0.001475 0.001475 0.001475 0.36% Castro::construct_old_gravity_source() 5 0.001396 0.001396 0.001396 0.34% Castro::subcycle_advance_ctu() 5 0.001279 0.001279 0.001279 0.31% MLCGSolver::bicgstab 36 0.0009468 0.0009468 0.0009468 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009161 0.0009161 0.0009161 0.22% Castro::reset_internal_energy(Fab) 240 0.0008294 0.0008294 0.0008294 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008149 0.0008149 0.0008149 0.20% check_for_negative_density() 5 0.0008042 0.0008042 0.0008042 0.20% MLCellLinOp::setLevelBC() 6 0.0007504 0.0007504 0.0007504 0.18% FabArray::mult() 22 0.0006613 0.0006613 0.0006613 0.16% FabArray::setDomainBndry() 20 0.00064 0.00064 0.00064 0.16% MLCellLinOp::prepareForSolve() 6 0.0006063 0.0006063 0.0006063 0.15% MultiFab::contains_nan() 10 0.0005891 0.0005891 0.0005891 0.14% MLMG::prepareForSolve() 6 0.0004978 0.0004978 0.0004978 0.12% MLCellLinOp::compGrad() 6 0.0004894 0.0004894 0.0004894 0.12% MLCellLinOp::smooth() 720 0.0004878 0.0004878 0.0004878 0.12% Amr::InitAmr() 1 0.0004279 0.0004279 0.0004279 0.10% FabArrayBase::CPC::define() 244 0.0004137 0.0004137 0.0004137 0.10% Castro::enforce_speed_limit() 30 0.0004029 0.0004029 0.0004029 0.10% FabArrayBase::getCPC() 632 0.000353 0.000353 0.000353 0.09% FabArray::FillBoundary() 1766 0.0003484 0.0003484 0.0003484 0.09% main() 1 0.0002974 0.0002974 0.0002974 0.07% Gravity::get_old_grav_vector() 5 0.0002561 0.0002561 0.0002561 0.06% FabArrayBase::getFB() 1766 0.0002524 0.0002524 0.0002524 0.06% Gravity::get_new_grav_vector() 5 0.0002304 0.0002304 0.0002304 0.06% MLCellLinOp::apply() 500 0.000196 0.000196 0.000196 0.05% MLLinOp::defineGrids() 6 0.000193 0.000193 0.000193 0.05% Amr::coarseTimeStep() 5 0.0001753 0.0001753 0.0001753 0.04% AmrLevel::FillPatch() 20 0.0001597 0.0001597 0.0001597 0.04% MLMG::mgVcycle() 36 0.0001572 0.0001572 0.0001572 0.04% MultiFab::max() 6 0.0001376 0.0001376 0.0001376 0.03% MLCGSolver::ParallelAllReduce 659 0.0001286 0.0001286 0.0001286 0.03% MLCellLinOp::defineBC() 6 0.0001163 0.0001163 0.0001163 0.03% FillPatchIterator::Initialize 20 0.0001045 0.0001045 0.0001045 0.03% FabArray::ParallelCopy() 380 0.0001037 0.0001037 0.0001037 0.03% Castro::construct_new_source() 25 9.074e-05 9.074e-05 9.074e-05 0.02% MLCellLinOp::correctionResidual() 216 9.068e-05 9.068e-05 9.068e-05 0.02% Castro::create_source_corrector() 5 8.407e-05 8.407e-05 8.407e-05 0.02% Amr::timeStep() 5 8.146e-05 8.146e-05 8.146e-05 0.02% AmrLevel::restart() 1 7.789e-05 7.789e-05 7.789e-05 0.02% Gravity::update_max_rhs() 6 6.64e-05 6.64e-05 6.64e-05 0.02% StateData::restartDoit() 4 6.468e-05 6.468e-05 6.468e-05 0.02% Castro::finalize_do_advance() 5 6.426e-05 6.426e-05 6.426e-05 0.02% Castro::do_new_sources() 5 6.005e-05 6.005e-05 6.005e-05 0.01% FabArrayBase::FB::FB() 26 5.783e-05 5.783e-05 5.783e-05 0.01% MLMG:computeResOfCorrection() 180 5.342e-05 5.342e-05 5.342e-05 0.01% Gravity::solve_for_phi() 5 5.283e-05 5.283e-05 5.283e-05 0.01% MLMG::actualBottomSolve() 36 4.096e-05 4.096e-05 4.096e-05 0.01% MLMG::mgVcycle_down::0 36 3.794e-05 3.794e-05 3.794e-05 0.01% MLMG::mgVcycle_down::4 36 3.713e-05 3.713e-05 3.713e-05 0.01% Castro::post_timestep() 5 3.65e-05 3.65e-05 3.65e-05 0.01% MLMG::mgVcycle_down::1 36 3.477e-05 3.477e-05 3.477e-05 0.01% Castro::advance() 5 3.472e-05 3.472e-05 3.472e-05 0.01% MLMG::solve() 6 3.411e-05 3.411e-05 3.411e-05 0.01% Castro::initialize_advance() 5 3.398e-05 3.398e-05 3.398e-05 0.01% Castro::finalize_advance() 5 3.347e-05 3.347e-05 3.347e-05 0.01% MLMG::mgVcycle_down::2 36 3.273e-05 3.273e-05 3.273e-05 0.01% MLMG::mgVcycle_down::3 36 3.269e-05 3.269e-05 3.269e-05 0.01% Castro::clean_state() 30 3.099e-05 3.099e-05 3.099e-05 0.01% MLMG::mgVcycle_up::4 36 2.902e-05 2.902e-05 2.902e-05 0.01% Amr::writeSmallPlotFile() 1 2.795e-05 2.795e-05 2.795e-05 0.01% Castro::initialize_do_advance() 5 2.759e-05 2.759e-05 2.759e-05 0.01% Castro::buildMetrics() 1 2.609e-05 2.609e-05 2.609e-05 0.01% Castro::initMFs() 1 2.546e-05 2.546e-05 2.546e-05 0.01% Castro::swap_state_time_levels() 5 2.375e-05 2.375e-05 2.375e-05 0.01% Castro::do_advance_ctu() 5 2.374e-05 2.374e-05 2.374e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.281e-05 2.281e-05 2.281e-05 0.01% MLMG::mgVcycle_up::0 36 2.279e-05 2.279e-05 2.279e-05 0.01% MLMG::mgVcycle_up::2 36 2.276e-05 2.276e-05 2.276e-05 0.01% MLMG::mgVcycle_up::3 36 2.265e-05 2.265e-05 2.265e-05 0.01% MLMG::mgVcycle_up::1 36 2.152e-05 2.152e-05 2.152e-05 0.01% MLCellLinOp::solutionResidual() 42 2.098e-05 2.098e-05 2.098e-05 0.01% MLMG::oneIter() 36 2.071e-05 2.071e-05 2.071e-05 0.01% Castro::post_restart() 1 1.88e-05 1.88e-05 1.88e-05 0.00% MLMG::ResNormInf() 42 1.737e-05 1.737e-05 1.737e-05 0.00% MLMG::mgVcycle_bottom 36 1.642e-05 1.642e-05 1.642e-05 0.00% FillPatchSingleLevel 20 1.595e-05 1.595e-05 1.595e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.534e-05 1.534e-05 1.534e-05 0.00% MLMG::computeResidual() 36 1.305e-05 1.305e-05 1.305e-05 0.00% MLPoisson::define() 6 1.279e-05 1.279e-05 1.279e-05 0.00% makeSFC 30 1.26e-05 1.26e-05 1.26e-05 0.00% Castro::construct_new_gravity() 5 1.228e-05 1.228e-05 1.228e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.162e-05 1.162e-05 1.162e-05 0.00% Castro::do_old_sources() 5 1.061e-05 1.061e-05 1.061e-05 0.00% Castro::construct_old_source() 25 9.697e-06 9.697e-06 9.697e-06 0.00% MLPoisson::prepareForSolve() 6 8.969e-06 8.969e-06 8.969e-06 0.00% Amr::initSubcycle() 1 8.906e-06 8.906e-06 8.906e-06 0.00% DistributionMapping::Distribute() 31 8.814e-06 8.814e-06 8.814e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.267e-06 7.267e-06 7.267e-06 0.00% Gravity::actual_multilevel_solve() 1 7.252e-06 7.252e-06 7.252e-06 0.00% Castro::construct_old_gravity() 5 5.751e-06 5.751e-06 5.751e-06 0.00% Castro::check_for_nan() 10 5.518e-06 5.518e-06 5.518e-06 0.00% Castro::apply_source_to_state() 10 5.414e-06 5.414e-06 5.414e-06 0.00% MLLinOp::define() 6 5.246e-06 5.246e-06 5.246e-06 0.00% Gravity::swapTimeLevels() 5 3.976e-06 3.976e-06 3.976e-06 0.00% MLMG::computeMLResidual() 6 3.571e-06 3.571e-06 3.571e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.357e-06 3.357e-06 3.357e-06 0.00% Castro::computeNewDt() 5 3.152e-06 3.152e-06 3.152e-06 0.00% MLMG::getGradSolution() 6 3.069e-06 3.069e-06 3.069e-06 0.00% Castro::retry_advance_ctu() 5 2.772e-06 2.772e-06 2.772e-06 0.00% Castro::expand_state() 5 2.753e-06 2.753e-06 2.753e-06 0.00% MLMG::MLResNormInf() 6 2.274e-06 2.274e-06 2.274e-06 0.00% Gravity::set_mass_offset() 6 2.097e-06 2.097e-06 2.097e-06 0.00% MLMG::MLRhsNormInf() 6 2.081e-06 2.081e-06 2.081e-06 0.00% Castro::FluxRegCrseInit 5 1.732e-06 1.732e-06 1.732e-06 0.00% Castro::FluxRegFineAdd() 5 1.6e-06 1.6e-06 1.6e-06 0.00% Amr::init() 1 1.023e-06 1.023e-06 1.023e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.58e-07 9.58e-07 9.58e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.409 0.409 0.409 100.00% Amr::coarseTimeStep() 5 0.3305 0.3305 0.3305 80.82% Amr::timeStep() 5 0.3281 0.3281 0.3281 80.22% Castro::advance() 5 0.3237 0.3237 0.3237 79.15% Castro::subcycle_advance_ctu() 5 0.3164 0.3164 0.3164 77.37% Castro::do_advance_ctu() 5 0.3151 0.3151 0.3151 77.06% Castro::construct_ctu_hydro_source() 5 0.1496 0.1496 0.1496 36.57% Castro::construct_new_gravity() 5 0.1305 0.1305 0.1305 31.90% Gravity::solve_phi_with_mlmg() 6 0.1257 0.1257 0.1257 30.73% Gravity::solve_for_phi() 5 0.1227 0.1227 0.1227 30.00% Gravity::actual_solve_with_mlmg() 6 0.1219 0.1219 0.1219 29.81% MLMG::solve() 6 0.1106 0.1106 0.1106 27.04% MLMG::oneIter() 36 0.1037 0.1037 0.1037 25.36% MLMG::mgVcycle() 36 0.1022 0.1022 0.1022 24.98% MLCellLinOp::smooth() 720 0.05001 0.05001 0.05001 12.23% MLCellLinOp::applyBC() 1946 0.04684 0.04684 0.04684 11.45% Amr::init() 1 0.04425 0.04425 0.04425 10.82% Amr::restart() 1 0.04425 0.04425 0.04425 10.82% AmrLevel::restart() 1 0.03824 0.03824 0.03824 9.35% StateData::restartDoit() 4 0.03815 0.03815 0.03815 9.33% VisMF::Read() 3 0.03804 0.03804 0.03804 9.30% Amr::writePlotFile() 1 0.03341 0.03341 0.03341 8.17% MLMG::mgVcycle_bottom 36 0.03178 0.03178 0.03178 7.77% MLMG::actualBottomSolve() 36 0.03177 0.03177 0.03177 7.77% VisMF::Write(FabArray) 1 0.03168 0.03168 0.03168 7.75% MLCGSolver::bicgstab 36 0.03146 0.03146 0.03146 7.69% Castro::clean_state() 30 0.02611 0.02611 0.02611 6.38% AmrLevel::FillPatch() 20 0.02164 0.02164 0.02164 5.29% FillPatchIterator::Initialize 20 0.01959 0.01959 0.01959 4.79% FillPatchIterator::FillFromLevel0() 20 0.01885 0.01885 0.01885 4.61% FillPatchSingleLevel 20 0.01882 0.01882 0.01882 4.60% StateDataPhysBCFunct::() 20 0.01679 0.01679 0.01679 4.11% MLCellLinOp::apply() 500 0.01565 0.01565 0.01565 3.83% MLMG::mgVcycle_down::0 36 0.01441 0.01441 0.01441 3.52% MLPoisson::Fsmooth() 1440 0.01394 0.01394 0.01394 3.41% FabArray::FillBoundary() 1766 0.01357 0.01357 0.01357 3.32% FillBoundary_nowait() 1766 0.01322 0.01322 0.01322 3.23% StateData::FillBoundary(geom) 160 0.0123 0.0123 0.0123 3.01% MLMG::mgVcycle_up::0 36 0.01084 0.01084 0.01084 2.65% Castro::computeTemp() 30 0.01041 0.01041 0.01041 2.55% Castro::initialize_do_advance() 5 0.009853 0.009853 0.009853 2.41% Castro::do_old_sources() 5 0.009666 0.009666 0.009666 2.36% MLCellLinOp::correctionResidual() 216 0.009478 0.009478 0.009478 2.32% Castro::normalize_species() 30 0.009368 0.009368 0.009368 2.29% MLPoisson::define() 6 0.008974 0.008974 0.008974 2.19% amrex::Dot() 484 0.008874 0.008874 0.008874 2.17% MLMG:computeResOfCorrection() 180 0.008332 0.008332 0.008332 2.04% Castro::construct_old_gravity() 5 0.007688 0.007688 0.007688 1.88% Gravity::get_old_grav_vector() 5 0.007682 0.007682 0.007682 1.88% Gravity::get_new_grav_vector() 5 0.007668 0.007668 0.007668 1.87% amrex::Copy() 463 0.00699 0.00699 0.00699 1.71% Castro::initialize_advance() 5 0.006937 0.006937 0.006937 1.70% MLMG::mgVcycle_down::1 36 0.006826 0.006826 0.006826 1.67% FabArray::ParallelCopy() 380 0.006545 0.006545 0.006545 1.60% FabArray::ParallelCopy_nowait() 380 0.006442 0.006442 0.006442 1.58% MLMG::mgVcycle_down::2 36 0.006325 0.006325 0.006325 1.55% FabArray::setVal() 537 0.006297 0.006297 0.006297 1.54% FabArray::norminf() 326 0.006251 0.006251 0.006251 1.53% Castro::do_new_sources() 5 0.006219 0.006219 0.006219 1.52% MLMG::mgVcycle_down::3 36 0.006207 0.006207 0.006207 1.52% MLMG::mgVcycle_down::4 36 0.006149 0.006149 0.006149 1.50% MLCellLinOp::defineAuxData() 6 0.006021 0.006021 0.006021 1.47% Castro::enforce_min_density() 30 0.00589 0.00589 0.00589 1.44% MLCGSolver::ParallelAllReduce 659 0.005354 0.005354 0.005354 1.31% MLMG::addInterpCorrection() 180 0.005152 0.005152 0.005152 1.26% Castro::expand_state() 5 0.004958 0.004958 0.004958 1.21% MLMG::mgVcycle_up::1 36 0.004939 0.004939 0.004939 1.21% MLMG::mgVcycle_up::4 36 0.004933 0.004933 0.004933 1.21% amrex::average_down 180 0.004868 0.004868 0.004868 1.19% MLMG::mgVcycle_up::2 36 0.004842 0.004842 0.004842 1.18% MLMG::mgVcycle_up::3 36 0.004772 0.004772 0.004772 1.17% MLPoisson::Fapply() 500 0.00446 0.00446 0.00446 1.09% Castro::post_timestep() 5 0.004298 0.004298 0.004298 1.05% Gravity::fill_multipole_BCs() 6 0.003656 0.003656 0.003656 0.89% FabArray::Saxpy() 355 0.003633 0.003633 0.003633 0.89% FabArray::Xpay() 361 0.003502 0.003502 0.003502 0.86% Castro::estTimeStep() 10 0.003382 0.003382 0.003382 0.83% Castro::post_restart() 1 0.003311 0.003311 0.003311 0.81% Gravity::multilevel_solve_for_new_phi() 1 0.003199 0.003199 0.003199 0.78% MLCellLinOp::solutionResidual() 42 0.003192 0.003192 0.003192 0.78% Gravity::actual_multilevel_solve() 1 0.003184 0.003184 0.003184 0.78% Castro::reset_internal_energy(MultiFab) 30 0.002988 0.002988 0.002988 0.73% MLCellLinOp::defineBC() 6 0.002713 0.002713 0.002713 0.66% MLMG::computeResidual() 36 0.002641 0.002641 0.002641 0.65% BndryData::define() 6 0.002597 0.002597 0.002597 0.63% MLMG::prepareForSolve() 6 0.002559 0.002559 0.002559 0.63% Castro::computeNewDt() 5 0.002286 0.002286 0.002286 0.56% FabArray::LinComb() 242 0.001927 0.001927 0.001927 0.47% amrex::Add() 72 0.001864 0.001864 0.001864 0.46% Castro::construct_new_source() 25 0.001667 0.001667 0.001667 0.41% Castro::construct_new_gravity_source() 5 0.001576 0.001576 0.001576 0.39% Castro::construct_old_source() 25 0.001406 0.001406 0.001406 0.34% Castro::construct_old_gravity_source() 5 0.001396 0.001396 0.001396 0.34% Castro::finalize_do_advance() 5 0.001163 0.001163 0.001163 0.28% MLMG::ResNormInf() 42 0.0009458 0.0009458 0.0009458 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009161 0.0009161 0.0009161 0.22% Castro::apply_source_to_state() 10 0.0009152 0.0009152 0.0009152 0.22% Castro::reset_internal_energy(Fab) 240 0.0008294 0.0008294 0.0008294 0.20% check_for_negative_density() 5 0.0008042 0.0008042 0.0008042 0.20% FabArrayBase::getCPC() 632 0.0007666 0.0007666 0.0007666 0.19% MLMG::getGradSolution() 6 0.0007579 0.0007579 0.0007579 0.19% MLCellLinOp::compGrad() 6 0.0007548 0.0007548 0.0007548 0.18% MLCellLinOp::setLevelBC() 6 0.0007504 0.0007504 0.0007504 0.18% FabArray::mult() 22 0.0006613 0.0006613 0.0006613 0.16% FabArray::setDomainBndry() 20 0.00064 0.00064 0.00064 0.16% MLPoisson::prepareForSolve() 6 0.0006153 0.0006153 0.0006153 0.15% MLCellLinOp::prepareForSolve() 6 0.0006063 0.0006063 0.0006063 0.15% Castro::check_for_nan() 10 0.0005946 0.0005946 0.0005946 0.15% MultiFab::contains_nan() 10 0.0005891 0.0005891 0.0005891 0.14% MLMG::computeMLResidual() 6 0.0005682 0.0005682 0.0005682 0.14% Gravity::update_max_rhs() 6 0.0004789 0.0004789 0.0004789 0.12% Amr::InitAmr() 1 0.0004368 0.0004368 0.0004368 0.11% FabArrayBase::CPC::define() 244 0.0004137 0.0004137 0.0004137 0.10% Castro::enforce_speed_limit() 30 0.0004029 0.0004029 0.0004029 0.10% FabArrayBase::getFB() 1766 0.0003103 0.0003103 0.0003103 0.08% Castro::finalize_advance() 5 0.0003048 0.0003048 0.0003048 0.07% Gravity::swapTimeLevels() 5 0.0002289 0.0002289 0.0002289 0.06% MLLinOp::define() 6 0.0002267 0.0002267 0.0002267 0.06% MLLinOp::defineGrids() 6 0.0002214 0.0002214 0.0002214 0.05% MLMG::MLResNormInf() 6 0.0001507 0.0001507 0.0001507 0.04% Castro::buildMetrics() 1 0.0001424 0.0001424 0.0001424 0.03% MultiFab::max() 6 0.0001376 0.0001376 0.0001376 0.03% MLMG::MLRhsNormInf() 6 0.0001164 0.0001164 0.0001164 0.03% Castro::create_source_corrector() 5 8.407e-05 8.407e-05 8.407e-05 0.02% FabArrayBase::FB::FB() 26 5.783e-05 5.783e-05 5.783e-05 0.01% Amr::writeSmallPlotFile() 1 2.795e-05 2.795e-05 2.795e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.742e-05 2.742e-05 2.742e-05 0.01% Castro::initMFs() 1 2.546e-05 2.546e-05 2.546e-05 0.01% Castro::swap_state_time_levels() 5 2.375e-05 2.375e-05 2.375e-05 0.01% makeSFC 30 2.016e-05 2.016e-05 2.016e-05 0.00% Amr::initSubcycle() 1 8.906e-06 8.906e-06 8.906e-06 0.00% DistributionMapping::Distribute() 31 8.814e-06 8.814e-06 8.814e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.618e-06 4.618e-06 4.618e-06 0.00% Castro::retry_advance_ctu() 5 2.772e-06 2.772e-06 2.772e-06 0.00% Gravity::set_mass_offset() 6 2.097e-06 2.097e-06 2.097e-06 0.00% Castro::FluxRegCrseInit 5 1.732e-06 1.732e-06 1.732e-06 0.00% Castro::FluxRegFineAdd() 5 1.6e-06 1.6e-06 1.6e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.58e-07 9.58e-07 9.58e-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 190 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 163 MiB 692 MiB Castro::initMFs() 48 48 61 MiB 68 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1003 KiB 39 MiB Castro::initialize_do_advance() 40 40 30 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2285 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 6804 KiB 14 MiB MLMG::prepareForSolve() 361 361 3320 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 194 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 191 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6800 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2275 B 2048 KiB Gravity::solve_for_phi() 40 40 613 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 15 KiB 2048 KiB BndryData::define() 576 576 305 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 196 KiB 671 KiB Castro::estTimeStep() 10 10 3951 B 480 KiB VisMF::Write(FabArray) 112 112 1243 B 320 KiB Castro::normalize_species() 30 30 7458 B 320 KiB amrex::average_down 469 469 1164 B 257 KiB MLMG::addInterpCorrection() 468 468 1082 B 257 KiB amrex::Dot() 592 592 3190 B 160 KiB FabArray::norminf() 398 398 2256 B 160 KiB check_for_negative_density() 5 5 312 B 160 KiB MultiFab::max() 6 6 51 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 28 B 20 KiB MLPoisson::Fsmooth() 60 60 3229 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 275 B 9648 B MLCellLinOp::applyBC() 3892 3892 212 B 9344 B amrex::Copy() 56 56 6023 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 36 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 111 B 1472 B MLCellLinOp::defineBC() 36 36 396 B 1440 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1357 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 105 KiB 8192 KiB VisMF::Write(FabArray) 120 120 239 KiB 3584 KiB VisMF::Read() 24 24 183 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3229 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 275 B 9648 B MLCellLinOp::applyBC() 1946 1946 210 B 9328 B amrex::Copy() 56 56 6023 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2692 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 36 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 519 B 1296 B amrex::average_down 37 37 228 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-15-g6dfdd48dc476) finalized