Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-12-g1a96800dc229) initialized Starting run at 07:36:29 UTC on 2023-05-15. Successfully read inputs file ... Castro git describe: 23.05-7-gb73e45af4 AMReX git describe: 23.05-12-g1a96800dc Microphysics git describe: 23.05-4-g0685d31f 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.058486611 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034152511 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.048295277 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.050367933 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.047634137 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.063109919 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.060388947 [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.059786359 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.068764735 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.073665412 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.06823362 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.064876667 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.054905819 [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.058021716 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.034028154 seconds Ending run at 07:36:30 UTC on 2023-05-15. Run time = 0.893959959 Run time without initialization = 0.752782459 Average number of zones advanced per microsecond: 3.482 Average number of zones advanced per microsecond per rank: 3.482 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.894 ... 0.894 ... 0.894 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2366 0.2366 0.2366 26.47% Castro::construct_ctu_hydro_source() 10 0.2299 0.2299 0.2299 25.72% MLCellLinOp::applyBC() 4433 0.08151 0.08151 0.08151 9.12% MLPoisson::Fsmooth() 3280 0.03252 0.03252 0.03252 3.64% FillBoundary_nowait() 4023 0.03136 0.03136 0.03136 3.51% StateData::FillBoundary(geom) 328 0.02525 0.02525 0.02525 2.82% amrex::Dot() 1114 0.0206 0.0206 0.0206 2.30% Castro::normalize_species() 62 0.01583 0.01583 0.01583 1.77% amrex::Copy() 1029 0.01489 0.01489 0.01489 1.67% FabArray::norminf() 743 0.01453 0.01453 0.01453 1.63% Castro::computeTemp() 63 0.01382 0.01382 0.01382 1.55% FabArray::ParallelCopy_nowait() 861 0.01341 0.01341 0.01341 1.50% Castro::enforce_min_density() 62 0.01338 0.01338 0.01338 1.50% FabArray::setVal() 1144 0.01318 0.01318 0.01318 1.47% StateDataPhysBCFunct::() 41 0.01169 0.01169 0.01169 1.31% MLPoisson::Fapply() 1142 0.01043 0.01043 0.01043 1.17% MLCellLinOp::defineAuxData() 11 0.009733 0.009733 0.009733 1.09% FabArray::Saxpy() 813 0.008197 0.008197 0.008197 0.92% FabArray::Xpay() 821 0.008093 0.008093 0.008093 0.91% Gravity::fill_multipole_BCs() 11 0.006765 0.006765 0.006765 0.76% MLMG::addInterpCorrection() 410 0.006629 0.006629 0.006629 0.74% amrex::average_down 410 0.005993 0.005993 0.005993 0.67% Amr::checkPoint() 3 0.004991 0.004991 0.004991 0.56% Castro::estTimeStep() 21 0.004927 0.004927 0.004927 0.55% FabArray::LinComb() 557 0.004552 0.004552 0.004552 0.51% amrex::Add() 164 0.004376 0.004376 0.004376 0.49% Castro::reset_internal_energy(MultiFab) 63 0.004062 0.004062 0.004062 0.45% BndryData::define() 11 0.003721 0.003721 0.003721 0.42% Castro::do_advance_ctu() 10 0.003564 0.003564 0.003564 0.40% Castro::construct_new_gravity_source() 10 0.003318 0.003318 0.003318 0.37% Castro::construct_old_gravity_source() 10 0.002701 0.002701 0.002701 0.30% Amr::writePlotFile() 2 0.002366 0.002366 0.002366 0.26% MLCGSolver::bicgstab 82 0.002187 0.002187 0.002187 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001719 0.001719 0.001719 0.19% Castro::reset_internal_energy(Fab) 504 0.00165 0.00165 0.00165 0.18% Gravity::actual_solve_with_mlmg() 11 0.001507 0.001507 0.001507 0.17% MLCellLinOp::setLevelBC() 11 0.001413 0.001413 0.001413 0.16% FabArray::setDomainBndry() 41 0.001347 0.001347 0.001347 0.15% FabArray::mult() 43 0.001324 0.001324 0.001324 0.15% Castro::enforce_speed_limit() 62 0.001322 0.001322 0.001322 0.15% Castro::initData() 1 0.00125 0.00125 0.00125 0.14% MultiFab::contains_nan() 20 0.001208 0.001208 0.001208 0.14% MLCellLinOp::prepareForSolve() 11 0.001127 0.001127 0.001127 0.13% MLCellLinOp::smooth() 1640 0.001036 0.001036 0.001036 0.12% MLCellLinOp::compGrad() 11 0.0009626 0.0009626 0.0009626 0.11% Castro::subcycle_advance_ctu() 10 0.0009336 0.0009336 0.0009336 0.10% MLMG::prepareForSolve() 11 0.0008983 0.0008983 0.0008983 0.10% FabArray::FillBoundary() 4023 0.0007966 0.0007966 0.0007966 0.09% FabArrayBase::getCPC() 1323 0.000737 0.000737 0.000737 0.08% FabArrayBase::CPC::define() 454 0.0007074 0.0007074 0.0007074 0.08% Gravity::get_new_grav_vector() 11 0.000643 0.000643 0.000643 0.07% FabArrayBase::getFB() 4023 0.0005783 0.0005783 0.0005783 0.06% Gravity::get_old_grav_vector() 10 0.0005612 0.0005612 0.0005612 0.06% Amr::InitAmr() 1 0.0004926 0.0004926 0.0004926 0.06% MLCellLinOp::apply() 1142 0.0004573 0.0004573 0.0004573 0.05% Amr::coarseTimeStep() 10 0.0003908 0.0003908 0.0003908 0.04% MLLinOp::defineGrids() 11 0.0003536 0.0003536 0.0003536 0.04% MLMG::mgVcycle() 82 0.000349 0.000349 0.000349 0.04% main() 1 0.0003034 0.0003034 0.0003034 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002919 0.0002919 0.0002919 0.03% MultiFab::max() 11 0.0002715 0.0002715 0.0002715 0.03% FabArray::ParallelCopy() 861 0.0002413 0.0002413 0.0002413 0.03% FillPatchIterator::Initialize 41 0.0002373 0.0002373 0.0002373 0.03% MLCellLinOp::correctionResidual() 492 0.0002217 0.0002217 0.0002217 0.02% MLCellLinOp::defineBC() 11 0.0002161 0.0002161 0.0002161 0.02% Castro::create_source_corrector() 10 0.0001942 0.0001942 0.0001942 0.02% Amr::timeStep() 10 0.0001655 0.0001655 0.0001655 0.02% StateData::checkPoint() 12 0.0001322 0.0001322 0.0001322 0.01% Gravity::update_max_rhs() 11 0.0001179 0.0001179 0.0001179 0.01% MLMG:computeResOfCorrection() 410 0.0001169 0.0001169 0.0001169 0.01% Gravity::solve_for_phi() 10 0.00011 0.00011 0.00011 0.01% Castro::construct_new_source() 50 9.895e-05 9.895e-05 9.895e-05 0.01% MLMG::mgVcycle_down::0 82 9.414e-05 9.414e-05 9.414e-05 0.01% FabArrayBase::FB::FB() 56 9.072e-05 9.072e-05 9.072e-05 0.01% MLMG::actualBottomSolve() 82 8.943e-05 8.943e-05 8.943e-05 0.01% Castro::Castro() 1 8.818e-05 8.818e-05 8.818e-05 0.01% MLMG::mgVcycle_down::2 82 8.081e-05 8.081e-05 8.081e-05 0.01% MLMG::mgVcycle_down::1 82 8.069e-05 8.069e-05 8.069e-05 0.01% MLMG::mgVcycle_down::3 82 8.057e-05 8.057e-05 8.057e-05 0.01% Castro::expand_state() 10 7.786e-05 7.786e-05 7.786e-05 0.01% Castro::clean_state() 62 7.605e-05 7.605e-05 7.605e-05 0.01% MLMG::mgVcycle_down::4 82 7.599e-05 7.599e-05 7.599e-05 0.01% AmrLevel::checkPoint() 3 7.534e-05 7.534e-05 7.534e-05 0.01% Castro::finalize_advance() 10 7.202e-05 7.202e-05 7.202e-05 0.01% MLMG::solve() 11 7.184e-05 7.184e-05 7.184e-05 0.01% Castro::advance() 10 7.114e-05 7.114e-05 7.114e-05 0.01% Castro::initialize_advance() 10 6.995e-05 6.995e-05 6.995e-05 0.01% MLMG::mgVcycle_up::4 82 6.069e-05 6.069e-05 6.069e-05 0.01% MLMG::oneIter() 82 5.945e-05 5.945e-05 5.945e-05 0.01% Castro::initialize_do_advance() 10 5.291e-05 5.291e-05 5.291e-05 0.01% MLCellLinOp::solutionResidual() 93 5.282e-05 5.282e-05 5.282e-05 0.01% MLMG::mgVcycle_up::3 82 5.044e-05 5.044e-05 5.044e-05 0.01% MLMG::mgVcycle_up::1 82 4.959e-05 4.959e-05 4.959e-05 0.01% MLMG::mgVcycle_up::0 82 4.844e-05 4.844e-05 4.844e-05 0.01% MLMG::mgVcycle_up::2 82 4.789e-05 4.789e-05 4.789e-05 0.01% Castro::finalize_do_advance() 10 3.738e-05 3.738e-05 3.738e-05 0.00% Castro::swap_state_time_levels() 10 3.705e-05 3.705e-05 3.705e-05 0.00% StateData::define() 4 3.464e-05 3.464e-05 3.464e-05 0.00% Castro::enforce_consistent_e() 1 3.379e-05 3.379e-05 3.379e-05 0.00% MLMG::ResNormInf() 93 3.285e-05 3.285e-05 3.285e-05 0.00% MLMG::computeResidual() 82 3.128e-05 3.128e-05 3.128e-05 0.00% MLMG::mgVcycle_bottom 82 3.064e-05 3.064e-05 3.064e-05 0.00% FillPatchSingleLevel 41 3.008e-05 3.008e-05 3.008e-05 0.00% Castro::construct_new_gravity() 10 2.855e-05 2.855e-05 2.855e-05 0.00% Castro::initMFs() 1 2.556e-05 2.556e-05 2.556e-05 0.00% Amr::writeSmallPlotFile() 1 2.527e-05 2.527e-05 2.527e-05 0.00% makeSFC 55 2.298e-05 2.298e-05 2.298e-05 0.00% MLPoisson::define() 11 2.296e-05 2.296e-05 2.296e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.16e-05 2.16e-05 2.16e-05 0.00% Amr::FinalizeInit() 1 1.949e-05 1.949e-05 1.949e-05 0.00% Castro::buildMetrics() 1 1.892e-05 1.892e-05 1.892e-05 0.00% Amr::defBaseLevel() 1 1.879e-05 1.879e-05 1.879e-05 0.00% Castro::construct_old_source() 50 1.758e-05 1.758e-05 1.758e-05 0.00% Castro::do_old_sources() 10 1.696e-05 1.696e-05 1.696e-05 0.00% Castro::do_new_sources() 10 1.636e-05 1.636e-05 1.636e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.612e-05 1.612e-05 1.612e-05 0.00% DistributionMapping::Distribute() 56 1.442e-05 1.442e-05 1.442e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.355e-05 1.355e-05 1.355e-05 0.00% MLPoisson::prepareForSolve() 11 1.341e-05 1.341e-05 1.341e-05 0.00% MLMG::computeMLResidual() 11 1.237e-05 1.237e-05 1.237e-05 0.00% Castro::post_timestep() 10 1.201e-05 1.201e-05 1.201e-05 0.00% Castro::apply_source_to_state() 20 1.146e-05 1.146e-05 1.146e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.071e-05 1.071e-05 1.071e-05 0.00% Castro::check_for_nan() 20 1.035e-05 1.035e-05 1.035e-05 0.00% MLLinOp::define() 11 1.023e-05 1.023e-05 1.023e-05 0.00% Castro::construct_old_gravity() 10 9.701e-06 9.701e-06 9.701e-06 0.00% Gravity::swapTimeLevels() 10 8.728e-06 8.728e-06 8.728e-06 0.00% Amr::initSubcycle() 1 8.696e-06 8.696e-06 8.696e-06 0.00% Gravity::actual_multilevel_solve() 1 7.956e-06 7.956e-06 7.956e-06 0.00% Castro::computeNewDt() 9 6.945e-06 6.945e-06 6.945e-06 0.00% MLMG::getGradSolution() 11 5.772e-06 5.772e-06 5.772e-06 0.00% Castro::retry_advance_ctu() 10 5.408e-06 5.408e-06 5.408e-06 0.00% Amr::InitializeInit() 1 5.068e-06 5.068e-06 5.068e-06 0.00% Gravity::set_mass_offset() 11 4.977e-06 4.977e-06 4.977e-06 0.00% Castro::post_init() 1 4.424e-06 4.424e-06 4.424e-06 0.00% MLMG::MLRhsNormInf() 11 4.213e-06 4.213e-06 4.213e-06 0.00% AmrLevel::checkPointPost() 3 4.133e-06 4.133e-06 4.133e-06 0.00% MLMG::MLResNormInf() 11 3.885e-06 3.885e-06 3.885e-06 0.00% Castro::FluxRegCrseInit 10 3.705e-06 3.705e-06 3.705e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.356e-06 3.356e-06 3.356e-06 0.00% Castro::computeInitialDt() 2 3.026e-06 3.026e-06 3.026e-06 0.00% Castro::FluxRegFineAdd() 10 2.666e-06 2.666e-06 2.666e-06 0.00% Amr::init() 1 2.362e-06 2.362e-06 2.362e-06 0.00% AmrLevel::checkPointPre() 3 1.893e-06 1.893e-06 1.893e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.867e-06 1.867e-06 1.867e-06 0.00% Amr::initialInit() 1 1.146e-06 1.146e-06 1.146e-06 0.00% Castro::post_regrid() 1 9.98e-07 9.98e-07 9.98e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.894 0.894 0.894 100.00% Amr::coarseTimeStep() 10 0.7185 0.7185 0.7185 80.37% Amr::timeStep() 10 0.5972 0.5972 0.5972 66.80% Castro::advance() 10 0.5882 0.5882 0.5882 65.80% Castro::subcycle_advance_ctu() 10 0.5759 0.5759 0.5759 64.42% Castro::do_advance_ctu() 10 0.575 0.575 0.575 64.32% Gravity::solve_phi_with_mlmg() 11 0.2893 0.2893 0.2893 32.36% Gravity::actual_solve_with_mlmg() 11 0.2821 0.2821 0.2821 31.55% Castro::construct_new_gravity() 10 0.2651 0.2651 0.2651 29.65% MLMG::solve() 11 0.2613 0.2613 0.2613 29.22% Gravity::solve_for_phi() 10 0.2493 0.2493 0.2493 27.88% MLMG::oneIter() 82 0.2469 0.2469 0.2469 27.61% MLMG::mgVcycle() 82 0.2432 0.2432 0.2432 27.20% VisMF::Write(FabArray) 11 0.2366 0.2366 0.2366 26.47% Castro::construct_ctu_hydro_source() 10 0.2299 0.2299 0.2299 25.72% Amr::checkPoint() 3 0.1764 0.1764 0.1764 19.73% AmrLevel::checkPoint() 3 0.1714 0.1714 0.1714 19.18% StateData::checkPoint() 12 0.1713 0.1713 0.1713 19.17% Amr::init() 1 0.1405 0.1405 0.1405 15.72% MLCellLinOp::smooth() 1640 0.1219 0.1219 0.1219 13.64% MLCellLinOp::applyBC() 4433 0.1143 0.1143 0.1143 12.79% MLMG::mgVcycle_bottom 82 0.07403 0.07403 0.07403 8.28% MLMG::actualBottomSolve() 82 0.074 0.074 0.074 8.28% MLCGSolver::bicgstab 82 0.0733 0.0733 0.0733 8.20% Amr::writePlotFile() 2 0.06832 0.06832 0.06832 7.64% Castro::clean_state() 62 0.04937 0.04937 0.04937 5.52% Amr::initialInit() 1 0.04778 0.04778 0.04778 5.35% Amr::FinalizeInit() 1 0.04378 0.04378 0.04378 4.90% FillPatchIterator::Initialize 41 0.04263 0.04263 0.04263 4.77% Castro::post_init() 1 0.04241 0.04241 0.04241 4.74% FillPatchSingleLevel 41 0.04104 0.04104 0.04104 4.59% Gravity::multilevel_solve_for_new_phi() 1 0.04044 0.04044 0.04044 4.52% Gravity::actual_multilevel_solve() 1 0.04042 0.04042 0.04042 4.52% StateDataPhysBCFunct::() 41 0.03693 0.03693 0.03693 4.13% MLCellLinOp::apply() 1142 0.0364 0.0364 0.0364 4.07% MLMG::mgVcycle_down::0 82 0.03404 0.03404 0.03404 3.81% FabArray::FillBoundary() 4023 0.03283 0.03283 0.03283 3.67% MLPoisson::Fsmooth() 3280 0.03252 0.03252 0.03252 3.64% FillBoundary_nowait() 4023 0.03203 0.03203 0.03203 3.58% MLMG::mgVcycle_up::0 82 0.02997 0.02997 0.02997 3.35% StateData::FillBoundary(geom) 328 0.02525 0.02525 0.02525 2.82% MLCellLinOp::correctionResidual() 492 0.02225 0.02225 0.02225 2.49% amrex::Dot() 1114 0.0206 0.0206 0.0206 2.30% Castro::initialize_do_advance() 10 0.0198 0.0198 0.0198 2.21% MLMG:computeResOfCorrection() 410 0.01959 0.01959 0.01959 2.19% Castro::computeTemp() 63 0.01953 0.01953 0.01953 2.18% Gravity::get_new_grav_vector() 11 0.01748 0.01748 0.01748 1.96% MLPoisson::define() 11 0.01645 0.01645 0.01645 1.84% MLMG::mgVcycle_down::1 82 0.01589 0.01589 0.01589 1.78% Castro::normalize_species() 62 0.01583 0.01583 0.01583 1.77% Castro::construct_old_gravity() 10 0.0151 0.0151 0.0151 1.69% Gravity::get_old_grav_vector() 10 0.01509 0.01509 0.01509 1.69% amrex::Copy() 1029 0.01489 0.01489 0.01489 1.67% MLMG::mgVcycle_down::2 82 0.0148 0.0148 0.0148 1.66% FabArray::norminf() 743 0.01453 0.01453 0.01453 1.63% FabArray::ParallelCopy() 861 0.01447 0.01447 0.01447 1.62% MLMG::mgVcycle_down::3 82 0.01443 0.01443 0.01443 1.61% MLMG::mgVcycle_down::4 82 0.01432 0.01432 0.01432 1.60% FabArray::ParallelCopy_nowait() 861 0.01423 0.01423 0.01423 1.59% Castro::enforce_min_density() 62 0.01338 0.01338 0.01338 1.50% FabArray::setVal() 1144 0.01318 0.01318 0.01318 1.47% Castro::do_old_sources() 10 0.01278 0.01278 0.01278 1.43% MLCGSolver::ParallelAllReduce 1514 0.01236 0.01236 0.01236 1.38% MLMG::addInterpCorrection() 410 0.01178 0.01178 0.01178 1.32% Castro::do_new_sources() 10 0.01167 0.01167 0.01167 1.30% MLMG::mgVcycle_up::1 82 0.01159 0.01159 0.01159 1.30% Castro::initialize_advance() 10 0.01158 0.01158 0.01158 1.29% MLMG::mgVcycle_up::4 82 0.01143 0.01143 0.01143 1.28% Castro::expand_state() 10 0.01129 0.01129 0.01129 1.26% MLMG::mgVcycle_up::2 82 0.01128 0.01128 0.01128 1.26% amrex::average_down 410 0.01124 0.01124 0.01124 1.26% MLCellLinOp::defineAuxData() 11 0.01109 0.01109 0.01109 1.24% MLMG::mgVcycle_up::3 82 0.01104 0.01104 0.01104 1.24% MLPoisson::Fapply() 1142 0.01043 0.01043 0.01043 1.17% Castro::post_timestep() 10 0.008808 0.008808 0.008808 0.99% FabArray::Saxpy() 813 0.008197 0.008197 0.008197 0.92% FabArray::Xpay() 821 0.008093 0.008093 0.008093 0.91% MLCellLinOp::solutionResidual() 93 0.007256 0.007256 0.007256 0.81% Gravity::fill_multipole_BCs() 11 0.007012 0.007012 0.007012 0.78% MLMG::computeResidual() 82 0.00627 0.00627 0.00627 0.70% Castro::reset_internal_energy(MultiFab) 63 0.005712 0.005712 0.005712 0.64% Castro::estTimeStep() 21 0.004927 0.004927 0.004927 0.55% MLCellLinOp::defineBC() 11 0.004918 0.004918 0.004918 0.55% BndryData::define() 11 0.004702 0.004702 0.004702 0.53% MLMG::prepareForSolve() 11 0.004694 0.004694 0.004694 0.53% FabArray::LinComb() 557 0.004552 0.004552 0.004552 0.51% amrex::Add() 164 0.004376 0.004376 0.004376 0.49% Amr::InitializeInit() 1 0.004005 0.004005 0.004005 0.45% Amr::defBaseLevel() 1 0.004 0.004 0.004 0.45% Castro::initData() 1 0.003492 0.003492 0.003492 0.39% Castro::construct_new_source() 50 0.003417 0.003417 0.003417 0.38% Castro::construct_new_gravity_source() 10 0.003318 0.003318 0.003318 0.37% Castro::construct_old_source() 50 0.002718 0.002718 0.002718 0.30% Castro::construct_old_gravity_source() 10 0.002701 0.002701 0.002701 0.30% Castro::computeNewDt() 9 0.002342 0.002342 0.002342 0.26% MLMG::ResNormInf() 93 0.002118 0.002118 0.002118 0.24% Castro::apply_source_to_state() 20 0.001819 0.001819 0.001819 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001719 0.001719 0.001719 0.19% Castro::reset_internal_energy(Fab) 504 0.00165 0.00165 0.00165 0.18% FabArrayBase::getCPC() 1323 0.001444 0.001444 0.001444 0.16% MLMG::getGradSolution() 11 0.001444 0.001444 0.001444 0.16% MLCellLinOp::compGrad() 11 0.001438 0.001438 0.001438 0.16% MLCellLinOp::setLevelBC() 11 0.001413 0.001413 0.001413 0.16% FabArray::setDomainBndry() 41 0.001347 0.001347 0.001347 0.15% FabArray::mult() 43 0.001324 0.001324 0.001324 0.15% Castro::enforce_speed_limit() 62 0.001322 0.001322 0.001322 0.15% Castro::check_for_nan() 20 0.001218 0.001218 0.001218 0.14% MultiFab::contains_nan() 20 0.001208 0.001208 0.001208 0.14% MLPoisson::prepareForSolve() 11 0.00114 0.00114 0.00114 0.13% MLCellLinOp::prepareForSolve() 11 0.001127 0.001127 0.001127 0.13% Castro::post_regrid() 1 0.001123 0.001123 0.001123 0.13% MLMG::computeMLResidual() 11 0.001029 0.001029 0.001029 0.12% Castro::computeInitialDt() 2 0.0009246 0.0009246 0.0009246 0.10% Gravity::update_max_rhs() 11 0.0008316 0.0008316 0.0008316 0.09% FabArrayBase::CPC::define() 454 0.0007074 0.0007074 0.0007074 0.08% FabArrayBase::getFB() 4023 0.000669 0.000669 0.000669 0.07% Castro::finalize_advance() 10 0.0006132 0.0006132 0.0006132 0.07% Amr::InitAmr() 1 0.0005013 0.0005013 0.0005013 0.06% Castro::Castro() 1 0.0004392 0.0004392 0.0004392 0.05% Gravity::swapTimeLevels() 10 0.0004354 0.0004354 0.0004354 0.05% MLLinOp::define() 11 0.0004155 0.0004155 0.0004155 0.05% MLLinOp::defineGrids() 11 0.0004053 0.0004053 0.0004053 0.05% MLMG::MLResNormInf() 11 0.0002836 0.0002836 0.0002836 0.03% MultiFab::max() 11 0.0002715 0.0002715 0.0002715 0.03% MLMG::MLRhsNormInf() 11 0.0002202 0.0002202 0.0002202 0.02% Castro::create_source_corrector() 10 0.0001942 0.0001942 0.0001942 0.02% Castro::buildMetrics() 1 0.0001602 0.0001602 0.0001602 0.02% FabArrayBase::FB::FB() 56 9.072e-05 9.072e-05 9.072e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 4.974e-05 4.974e-05 4.974e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.534e-05 4.534e-05 4.534e-05 0.01% Castro::finalize_do_advance() 10 3.738e-05 3.738e-05 3.738e-05 0.00% Castro::swap_state_time_levels() 10 3.705e-05 3.705e-05 3.705e-05 0.00% makeSFC 55 3.619e-05 3.619e-05 3.619e-05 0.00% StateData::define() 4 3.464e-05 3.464e-05 3.464e-05 0.00% Castro::enforce_consistent_e() 1 3.379e-05 3.379e-05 3.379e-05 0.00% Castro::initMFs() 1 2.556e-05 2.556e-05 2.556e-05 0.00% Amr::writeSmallPlotFile() 1 2.527e-05 2.527e-05 2.527e-05 0.00% DistributionMapping::Distribute() 56 1.442e-05 1.442e-05 1.442e-05 0.00% Amr::initSubcycle() 1 8.696e-06 8.696e-06 8.696e-06 0.00% Castro::retry_advance_ctu() 10 5.408e-06 5.408e-06 5.408e-06 0.00% Gravity::set_mass_offset() 11 4.977e-06 4.977e-06 4.977e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.568e-06 4.568e-06 4.568e-06 0.00% AmrLevel::checkPointPost() 3 4.133e-06 4.133e-06 4.133e-06 0.00% Castro::FluxRegCrseInit 10 3.705e-06 3.705e-06 3.705e-06 0.00% Castro::FluxRegFineAdd() 10 2.666e-06 2.666e-06 2.666e-06 0.00% AmrLevel::checkPointPre() 3 1.893e-06 1.893e-06 1.893e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.867e-06 1.867e-06 1.867e-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 92 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 126 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1012 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2147 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 3596 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 203 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 172 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7526 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1785 B 2048 KiB Gravity::solve_for_phi() 80 80 570 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 92 KiB 2048 KiB BndryData::define() 1056 1056 328 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 208 KiB 671 KiB Castro::estTimeStep() 21 21 2584 B 480 KiB VisMF::Write(FabArray) 656 656 3384 B 320 KiB Castro::normalize_species() 62 62 5764 B 320 KiB amrex::average_down 1067 1067 1261 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1137 B 257 KiB amrex::Dot() 1360 1360 3395 B 160 KiB FabArray::norminf() 907 907 2400 B 160 KiB Castro::do_advance_ctu() 10 10 604 B 160 KiB MultiFab::max() 11 11 47 B 160 KiB Castro::initData() 1 1 26 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3517 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 307 B 9648 B MLCellLinOp::applyBC() 8866 8866 222 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3871 B 6144 B StateData::FillBoundary(geom) 1992 1992 43 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 119 B 1472 B MLCellLinOp::defineBC() 66 66 369 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 621 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 49 KiB 8192 KiB VisMF::Write(FabArray) 744 744 616 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3517 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 307 B 9648 B MLCellLinOp::applyBC() 4433 4433 220 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3871 B 6144 B Gravity::get_new_grav_vector() 3 3 2908 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 44 B 2784 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 299 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 B 400 B FabArray::norminf() 907 907 17 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.05-12-g1a96800dc229) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-12-g1a96800dc229) initialized Starting run at 07:36:31 UTC on 2023-05-15. Successfully read inputs file ... Castro git describe: 23.05-7-gb73e45af4 AMReX git describe: 23.05-12-g1a96800dc Microphysics git describe: 23.05-4-g0685d31f reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.470775315 Restart time = 0.07867684 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.048942611 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.048001727 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.047795783 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.047808919 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.069857031 [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.037290249 seconds Ending run at 07:36:31 UTC on 2023-05-15. Run time = 0.379428474 Run time without initialization = 0.300169891 Average number of zones advanced per microsecond: 4.367 Average number of zones advanced per microsecond per rank: 4.367 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3795 ... 0.3795 ... 0.3795 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.0830 0.0830 0.0830 21.87% Amr::restart() 1 0.03786 0.03786 0.03786 9.98% VisMF::Read() 3 0.03713 0.03713 0.03713 9.79% VisMF::Write(FabArray) 1 0.0357 0.0357 0.0357 9.41% MLCellLinOp::applyBC() 1946 0.03372 0.03372 0.03372 8.89% MLPoisson::Fsmooth() 1440 0.01404 0.01404 0.01404 3.70% FillBoundary_nowait() 1766 0.0127 0.0127 0.0127 3.35% StateData::FillBoundary(geom) 160 0.01235 0.01235 0.01235 3.25% amrex::Dot() 484 0.008869 0.008869 0.008869 2.34% amrex::Copy() 463 0.006963 0.006963 0.006963 1.83% FabArray::setVal() 537 0.006291 0.006291 0.006291 1.66% FabArray::norminf() 326 0.00629 0.00629 0.00629 1.66% Castro::normalize_species() 30 0.006159 0.006159 0.006159 1.62% FabArray::ParallelCopy_nowait() 380 0.006079 0.006079 0.006079 1.60% Castro::computeTemp() 30 0.005842 0.005842 0.005842 1.54% MLCellLinOp::defineAuxData() 6 0.005268 0.005268 0.005268 1.39% StateDataPhysBCFunct::() 20 0.005222 0.005222 0.005222 1.38% MLPoisson::Fapply() 500 0.004471 0.004471 0.004471 1.18% FabArray::Saxpy() 355 0.003647 0.003647 0.003647 0.96% Castro::enforce_min_density() 30 0.00358 0.00358 0.00358 0.94% FabArray::Xpay() 361 0.003505 0.003505 0.003505 0.92% Castro::estTimeStep() 10 0.003463 0.003463 0.003463 0.91% Gravity::fill_multipole_BCs() 6 0.003326 0.003326 0.003326 0.88% MLMG::addInterpCorrection() 180 0.002877 0.002877 0.002877 0.76% amrex::average_down 180 0.00259 0.00259 0.00259 0.68% Castro::reset_internal_energy(MultiFab) 30 0.002254 0.002254 0.002254 0.59% BndryData::define() 6 0.002067 0.002067 0.002067 0.54% FabArray::LinComb() 242 0.001937 0.001937 0.001937 0.51% amrex::Add() 72 0.001853 0.001853 0.001853 0.49% Castro::construct_new_gravity_source() 5 0.001718 0.001718 0.001718 0.45% Amr::writePlotFile() 1 0.001436 0.001436 0.001436 0.38% Castro::construct_old_gravity_source() 5 0.001413 0.001413 0.001413 0.37% Castro::do_advance_ctu() 5 0.001342 0.001342 0.001342 0.35% MLCGSolver::bicgstab 36 0.0009681 0.0009681 0.0009681 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009215 0.0009215 0.0009215 0.24% Gravity::actual_solve_with_mlmg() 6 0.0007681 0.0007681 0.0007681 0.20% MLCellLinOp::setLevelBC() 6 0.0007466 0.0007466 0.0007466 0.20% Castro::enforce_speed_limit() 30 0.0007105 0.0007105 0.0007105 0.19% Castro::reset_internal_energy(Fab) 240 0.0006964 0.0006964 0.0006964 0.18% FabArray::setDomainBndry() 20 0.0006503 0.0006503 0.0006503 0.17% FabArray::mult() 22 0.0006459 0.0006459 0.0006459 0.17% MLCellLinOp::prepareForSolve() 6 0.0006132 0.0006132 0.0006132 0.16% MultiFab::contains_nan() 10 0.0005994 0.0005994 0.0005994 0.16% MLCellLinOp::compGrad() 6 0.0004904 0.0004904 0.0004904 0.13% MLMG::prepareForSolve() 6 0.000474 0.000474 0.000474 0.12% MLCellLinOp::smooth() 720 0.0004565 0.0004565 0.0004565 0.12% FabArrayBase::CPC::define() 244 0.0004288 0.0004288 0.0004288 0.11% Amr::InitAmr() 1 0.0003806 0.0003806 0.0003806 0.10% FabArrayBase::getCPC() 632 0.0003481 0.0003481 0.0003481 0.09% FabArray::FillBoundary() 1766 0.0003429 0.0003429 0.0003429 0.09% main() 1 0.0003422 0.0003422 0.0003422 0.09% Gravity::get_old_grav_vector() 5 0.0003011 0.0003011 0.0003011 0.08% Gravity::get_new_grav_vector() 5 0.0002747 0.0002747 0.0002747 0.07% FabArrayBase::getFB() 1766 0.0002574 0.0002574 0.0002574 0.07% MLCellLinOp::apply() 500 0.000187 0.000187 0.000187 0.05% Amr::coarseTimeStep() 5 0.0001572 0.0001572 0.0001572 0.04% MLLinOp::defineGrids() 6 0.0001541 0.0001541 0.0001541 0.04% MLMG::mgVcycle() 36 0.0001506 0.0001506 0.0001506 0.04% MultiFab::max() 6 0.0001369 0.0001369 0.0001369 0.04% MLCGSolver::ParallelAllReduce 659 0.0001332 0.0001332 0.0001332 0.04% Castro::create_source_corrector() 5 0.0001247 0.0001247 0.0001247 0.03% FabArray::ParallelCopy() 380 0.0001156 0.0001156 0.0001156 0.03% FillPatchIterator::Initialize 20 0.0001153 0.0001153 0.0001153 0.03% MLCellLinOp::defineBC() 6 0.0001139 0.0001139 0.0001139 0.03% Castro::subcycle_advance_ctu() 5 0.0001077 0.0001077 0.0001077 0.03% MLCellLinOp::correctionResidual() 216 9.431e-05 9.431e-05 9.431e-05 0.02% Amr::timeStep() 5 9.157e-05 9.157e-05 9.157e-05 0.02% AmrLevel::restart() 1 7.746e-05 7.746e-05 7.746e-05 0.02% Gravity::update_max_rhs() 6 7.029e-05 7.029e-05 7.029e-05 0.02% FabArrayBase::FB::FB() 26 6.47e-05 6.47e-05 6.47e-05 0.02% Gravity::solve_for_phi() 5 5.648e-05 5.648e-05 5.648e-05 0.01% StateData::restartDoit() 4 5.614e-05 5.614e-05 5.614e-05 0.01% MLMG:computeResOfCorrection() 180 5.19e-05 5.19e-05 5.19e-05 0.01% Castro::expand_state() 5 4.752e-05 4.752e-05 4.752e-05 0.01% MLMG::mgVcycle_down::0 36 3.849e-05 3.849e-05 3.849e-05 0.01% MLMG::actualBottomSolve() 36 3.826e-05 3.826e-05 3.826e-05 0.01% Castro::clean_state() 30 3.497e-05 3.497e-05 3.497e-05 0.01% Castro::initialize_advance() 5 3.481e-05 3.481e-05 3.481e-05 0.01% MLMG::mgVcycle_down::1 36 3.407e-05 3.407e-05 3.407e-05 0.01% MLMG::mgVcycle_down::2 36 3.298e-05 3.298e-05 3.298e-05 0.01% MLMG::mgVcycle_down::4 36 3.286e-05 3.286e-05 3.286e-05 0.01% Amr::writeSmallPlotFile() 1 3.259e-05 3.259e-05 3.259e-05 0.01% MLMG::solve() 6 3.258e-05 3.258e-05 3.258e-05 0.01% MLMG::mgVcycle_down::3 36 3.148e-05 3.148e-05 3.148e-05 0.01% Castro::initMFs() 1 2.858e-05 2.858e-05 2.858e-05 0.01% MLMG::mgVcycle_up::4 36 2.833e-05 2.833e-05 2.833e-05 0.01% Castro::finalize_advance() 5 2.727e-05 2.727e-05 2.727e-05 0.01% Castro::initialize_do_advance() 5 2.724e-05 2.724e-05 2.724e-05 0.01% Castro::buildMetrics() 1 2.632e-05 2.632e-05 2.632e-05 0.01% Castro::swap_state_time_levels() 5 2.425e-05 2.425e-05 2.425e-05 0.01% MLMG::oneIter() 36 2.376e-05 2.376e-05 2.376e-05 0.01% MLMG::mgVcycle_up::3 36 2.224e-05 2.224e-05 2.224e-05 0.01% Castro::post_restart() 1 2.216e-05 2.216e-05 2.216e-05 0.01% MLMG::mgVcycle_up::2 36 2.154e-05 2.154e-05 2.154e-05 0.01% MLMG::mgVcycle_up::0 36 2.121e-05 2.121e-05 2.121e-05 0.01% MLMG::mgVcycle_up::1 36 2.084e-05 2.084e-05 2.084e-05 0.01% MLCellLinOp::solutionResidual() 42 2.038e-05 2.038e-05 2.038e-05 0.01% Castro::finalize_do_advance() 5 1.847e-05 1.847e-05 1.847e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.722e-05 1.722e-05 1.722e-05 0.00% MLMG::ResNormInf() 42 1.651e-05 1.651e-05 1.651e-05 0.00% Castro::advance() 5 1.615e-05 1.615e-05 1.615e-05 0.00% FillPatchSingleLevel 20 1.432e-05 1.432e-05 1.432e-05 0.00% MLMG::mgVcycle_bottom 36 1.349e-05 1.349e-05 1.349e-05 0.00% MLMG::computeResidual() 36 1.345e-05 1.345e-05 1.345e-05 0.00% MLPoisson::define() 6 1.313e-05 1.313e-05 1.313e-05 0.00% makeSFC 30 1.259e-05 1.259e-05 1.259e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.211e-05 1.211e-05 1.211e-05 0.00% Castro::construct_new_gravity() 5 1.15e-05 1.15e-05 1.15e-05 0.00% Castro::construct_new_source() 25 1.09e-05 1.09e-05 1.09e-05 0.00% Castro::construct_old_source() 25 9.832e-06 9.832e-06 9.832e-06 0.00% DistributionMapping::Distribute() 31 9.509e-06 9.509e-06 9.509e-06 0.00% MLPoisson::prepareForSolve() 6 8.777e-06 8.777e-06 8.777e-06 0.00% Amr::initSubcycle() 1 8.214e-06 8.214e-06 8.214e-06 0.00% MLMG::computeMLResidual() 6 8.213e-06 8.213e-06 8.213e-06 0.00% Castro::do_new_sources() 5 8.149e-06 8.149e-06 8.149e-06 0.00% Castro::do_old_sources() 5 8e-06 8e-06 8e-06 0.00% Gravity::actual_multilevel_solve() 1 7.94e-06 7.94e-06 7.94e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.088e-06 7.088e-06 7.088e-06 0.00% Castro::apply_source_to_state() 10 5.41e-06 5.41e-06 5.41e-06 0.00% Castro::check_for_nan() 10 5.374e-06 5.374e-06 5.374e-06 0.00% MLLinOp::define() 6 5.272e-06 5.272e-06 5.272e-06 0.00% Castro::construct_old_gravity() 5 5.154e-06 5.154e-06 5.154e-06 0.00% Castro::post_timestep() 5 4.569e-06 4.569e-06 4.569e-06 0.00% Castro::computeNewDt() 5 4.286e-06 4.286e-06 4.286e-06 0.00% Gravity::swapTimeLevels() 5 3.682e-06 3.682e-06 3.682e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.057e-06 3.057e-06 3.057e-06 0.00% Castro::retry_advance_ctu() 5 2.974e-06 2.974e-06 2.974e-06 0.00% MLMG::getGradSolution() 6 2.89e-06 2.89e-06 2.89e-06 0.00% MLMG::MLResNormInf() 6 2.166e-06 2.166e-06 2.166e-06 0.00% Gravity::set_mass_offset() 6 2.162e-06 2.162e-06 2.162e-06 0.00% MLMG::MLRhsNormInf() 6 2.09e-06 2.09e-06 2.09e-06 0.00% Castro::FluxRegCrseInit 5 1.454e-06 1.454e-06 1.454e-06 0.00% Castro::FluxRegFineAdd() 5 1.122e-06 1.122e-06 1.122e-06 0.00% Amr::init() 1 1.065e-06 1.065e-06 1.065e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.53e-07 9.53e-07 9.53e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3794 0.3794 0.3794 100.00% Amr::coarseTimeStep() 5 0.2626 0.2626 0.2626 69.19% Amr::timeStep() 5 0.2597 0.2597 0.2597 68.44% Castro::advance() 5 0.257 0.257 0.257 67.73% Castro::subcycle_advance_ctu() 5 0.2515 0.2515 0.2515 66.27% Castro::do_advance_ctu() 5 0.2514 0.2514 0.2514 66.24% Castro::construct_new_gravity() 5 0.1304 0.1304 0.1304 34.36% Gravity::solve_phi_with_mlmg() 6 0.1257 0.1257 0.1257 33.13% Gravity::solve_for_phi() 5 0.1227 0.1227 0.1227 32.33% Gravity::actual_solve_with_mlmg() 6 0.1221 0.1221 0.1221 32.19% MLMG::solve() 6 0.1109 0.1109 0.1109 29.23% MLMG::oneIter() 36 0.104 0.104 0.104 27.42% MLMG::mgVcycle() 36 0.1025 0.1025 0.1025 27.01% Castro::construct_ctu_hydro_source() 5 0.083 0.083 0.083 21.87% Amr::init() 1 0.07873 0.07873 0.07873 20.75% Amr::restart() 1 0.07873 0.07873 0.07873 20.75% MLCellLinOp::smooth() 720 0.05021 0.05021 0.05021 13.23% MLCellLinOp::applyBC() 1946 0.04709 0.04709 0.04709 12.41% Amr::writePlotFile() 1 0.03739 0.03739 0.03739 9.85% AmrLevel::restart() 1 0.03732 0.03732 0.03732 9.83% StateData::restartDoit() 4 0.03724 0.03724 0.03724 9.81% VisMF::Read() 3 0.03713 0.03713 0.03713 9.79% VisMF::Write(FabArray) 1 0.0357 0.0357 0.0357 9.41% MLMG::mgVcycle_bottom 36 0.03189 0.03189 0.03189 8.40% MLMG::actualBottomSolve() 36 0.03188 0.03188 0.03188 8.40% MLCGSolver::bicgstab 36 0.03158 0.03158 0.03158 8.32% FillPatchIterator::Initialize 20 0.02041 0.02041 0.02041 5.38% FillPatchSingleLevel 20 0.01964 0.01964 0.01964 5.18% Castro::clean_state() 30 0.01928 0.01928 0.01928 5.08% StateDataPhysBCFunct::() 20 0.01757 0.01757 0.01757 4.63% MLCellLinOp::apply() 500 0.01577 0.01577 0.01577 4.16% MLMG::mgVcycle_down::0 36 0.01427 0.01427 0.01427 3.76% MLPoisson::Fsmooth() 1440 0.01404 0.01404 0.01404 3.70% FabArray::FillBoundary() 1766 0.01336 0.01336 0.01336 3.52% FillBoundary_nowait() 1766 0.01302 0.01302 0.01302 3.43% StateData::FillBoundary(geom) 160 0.01235 0.01235 0.01235 3.25% MLMG::mgVcycle_up::0 36 0.01076 0.01076 0.01076 2.84% Castro::initialize_do_advance() 5 0.009839 0.009839 0.009839 2.59% MLCellLinOp::correctionResidual() 216 0.009561 0.009561 0.009561 2.52% MLPoisson::define() 6 0.008961 0.008961 0.008961 2.36% amrex::Dot() 484 0.008869 0.008869 0.008869 2.34% Castro::computeTemp() 30 0.008792 0.008792 0.008792 2.32% MLMG:computeResOfCorrection() 180 0.008391 0.008391 0.008391 2.21% Gravity::get_new_grav_vector() 5 0.007591 0.007591 0.007591 2.00% Castro::construct_old_gravity() 5 0.00757 0.00757 0.00757 1.99% Gravity::get_old_grav_vector() 5 0.007565 0.007565 0.007565 1.99% amrex::Copy() 463 0.006963 0.006963 0.006963 1.83% MLMG::mgVcycle_down::1 36 0.006845 0.006845 0.006845 1.80% Castro::do_new_sources() 5 0.006649 0.006649 0.006649 1.75% FabArray::ParallelCopy() 380 0.006582 0.006582 0.006582 1.73% FabArray::ParallelCopy_nowait() 380 0.006466 0.006466 0.006466 1.70% MLMG::mgVcycle_down::2 36 0.006405 0.006405 0.006405 1.69% FabArray::setVal() 537 0.006291 0.006291 0.006291 1.66% FabArray::norminf() 326 0.00629 0.00629 0.00629 1.66% MLMG::mgVcycle_down::3 36 0.00627 0.00627 0.00627 1.65% MLMG::mgVcycle_down::4 36 0.006221 0.006221 0.006221 1.64% Castro::normalize_species() 30 0.006159 0.006159 0.006159 1.62% MLCellLinOp::defineAuxData() 6 0.006008 0.006008 0.006008 1.58% Castro::expand_state() 5 0.0058 0.0058 0.0058 1.53% MLCGSolver::ParallelAllReduce 659 0.005335 0.005335 0.005335 1.41% Castro::initialize_advance() 5 0.005228 0.005228 0.005228 1.38% MLMG::addInterpCorrection() 180 0.005122 0.005122 0.005122 1.35% MLMG::mgVcycle_up::1 36 0.005012 0.005012 0.005012 1.32% MLMG::mgVcycle_up::4 36 0.004973 0.004973 0.004973 1.31% MLMG::mgVcycle_up::2 36 0.004876 0.004876 0.004876 1.28% amrex::average_down 180 0.004873 0.004873 0.004873 1.28% MLMG::mgVcycle_up::3 36 0.004805 0.004805 0.004805 1.27% Castro::do_old_sources() 5 0.004662 0.004662 0.004662 1.23% MLPoisson::Fapply() 500 0.004471 0.004471 0.004471 1.18% FabArray::Saxpy() 355 0.003647 0.003647 0.003647 0.96% Castro::enforce_min_density() 30 0.00358 0.00358 0.00358 0.94% FabArray::Xpay() 361 0.003505 0.003505 0.003505 0.92% Castro::estTimeStep() 10 0.003463 0.003463 0.003463 0.91% Gravity::fill_multipole_BCs() 6 0.003449 0.003449 0.003449 0.91% Castro::post_restart() 1 0.003383 0.003383 0.003383 0.89% Gravity::multilevel_solve_for_new_phi() 1 0.003271 0.003271 0.003271 0.86% Gravity::actual_multilevel_solve() 1 0.003254 0.003254 0.003254 0.86% MLCellLinOp::solutionResidual() 42 0.003222 0.003222 0.003222 0.85% Castro::reset_internal_energy(MultiFab) 30 0.00295 0.00295 0.00295 0.78% MLCellLinOp::defineBC() 6 0.002752 0.002752 0.002752 0.73% Castro::computeNewDt() 5 0.002691 0.002691 0.002691 0.71% MLMG::computeResidual() 36 0.002665 0.002665 0.002665 0.70% BndryData::define() 6 0.002638 0.002638 0.002638 0.70% Castro::post_timestep() 5 0.002612 0.002612 0.002612 0.69% MLMG::prepareForSolve() 6 0.002535 0.002535 0.002535 0.67% FabArray::LinComb() 242 0.001937 0.001937 0.001937 0.51% amrex::Add() 72 0.001853 0.001853 0.001853 0.49% Castro::construct_new_source() 25 0.001729 0.001729 0.001729 0.46% Castro::construct_new_gravity_source() 5 0.001718 0.001718 0.001718 0.45% Castro::construct_old_source() 25 0.001423 0.001423 0.001423 0.37% Castro::construct_old_gravity_source() 5 0.001413 0.001413 0.001413 0.37% MLMG::ResNormInf() 42 0.0009369 0.0009369 0.0009369 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009215 0.0009215 0.0009215 0.24% Castro::apply_source_to_state() 10 0.00092 0.00092 0.00092 0.24% FabArrayBase::getCPC() 632 0.0007769 0.0007769 0.0007769 0.20% MLMG::getGradSolution() 6 0.000757 0.000757 0.000757 0.20% MLCellLinOp::compGrad() 6 0.0007541 0.0007541 0.0007541 0.20% MLCellLinOp::setLevelBC() 6 0.0007466 0.0007466 0.0007466 0.20% Castro::enforce_speed_limit() 30 0.0007105 0.0007105 0.0007105 0.19% Castro::reset_internal_energy(Fab) 240 0.0006964 0.0006964 0.0006964 0.18% FabArray::setDomainBndry() 20 0.0006503 0.0006503 0.0006503 0.17% FabArray::mult() 22 0.0006459 0.0006459 0.0006459 0.17% MLPoisson::prepareForSolve() 6 0.0006219 0.0006219 0.0006219 0.16% MLCellLinOp::prepareForSolve() 6 0.0006132 0.0006132 0.0006132 0.16% Castro::check_for_nan() 10 0.0006047 0.0006047 0.0006047 0.16% MultiFab::contains_nan() 10 0.0005994 0.0005994 0.0005994 0.16% MLMG::computeMLResidual() 6 0.0005784 0.0005784 0.0005784 0.15% Gravity::update_max_rhs() 6 0.0004652 0.0004652 0.0004652 0.12% FabArrayBase::CPC::define() 244 0.0004288 0.0004288 0.0004288 0.11% Amr::InitAmr() 1 0.0003888 0.0003888 0.0003888 0.10% FabArrayBase::getFB() 1766 0.000322 0.000322 0.000322 0.08% Castro::finalize_advance() 5 0.0002835 0.0002835 0.0002835 0.07% Gravity::swapTimeLevels() 5 0.0002359 0.0002359 0.0002359 0.06% MLLinOp::define() 6 0.0001882 0.0001882 0.0001882 0.05% MLLinOp::defineGrids() 6 0.0001829 0.0001829 0.0001829 0.05% MLMG::MLResNormInf() 6 0.000153 0.000153 0.000153 0.04% Castro::buildMetrics() 1 0.0001453 0.0001453 0.0001453 0.04% MultiFab::max() 6 0.0001369 0.0001369 0.0001369 0.04% Castro::create_source_corrector() 5 0.0001247 0.0001247 0.0001247 0.03% MLMG::MLRhsNormInf() 6 0.0001192 0.0001192 0.0001192 0.03% FabArrayBase::FB::FB() 26 6.47e-05 6.47e-05 6.47e-05 0.02% Amr::writeSmallPlotFile() 1 3.259e-05 3.259e-05 3.259e-05 0.01% Castro::initMFs() 1 2.858e-05 2.858e-05 2.858e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.79e-05 2.79e-05 2.79e-05 0.01% Castro::swap_state_time_levels() 5 2.425e-05 2.425e-05 2.425e-05 0.01% makeSFC 30 2.081e-05 2.081e-05 2.081e-05 0.01% Castro::finalize_do_advance() 5 1.847e-05 1.847e-05 1.847e-05 0.00% DistributionMapping::Distribute() 31 9.509e-06 9.509e-06 9.509e-06 0.00% Amr::initSubcycle() 1 8.214e-06 8.214e-06 8.214e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.345e-06 4.345e-06 4.345e-06 0.00% Castro::retry_advance_ctu() 5 2.974e-06 2.974e-06 2.974e-06 0.00% Gravity::set_mass_offset() 6 2.162e-06 2.162e-06 2.162e-06 0.00% Castro::FluxRegCrseInit 5 1.454e-06 1.454e-06 1.454e-06 0.00% Castro::FluxRegFineAdd() 5 1.122e-06 1.122e-06 1.122e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.53e-07 9.53e-07 9.53e-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 212 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 97 MiB 692 MiB Castro::initMFs() 48 48 54 MiB 68 MiB StateData::restartDoit() 32 32 48 MiB 55 MiB Castro::swap_state_time_levels() 32 32 43 MiB 55 MiB Castro::initialize_do_advance() 40 40 25 MiB 39 MiB FillPatchIterator::Initialize 160 160 1176 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2763 KiB 28 MiB Castro::initialize_advance() 40 40 15 MiB 23 MiB Castro::buildMetrics() 32 32 12 MiB 15 MiB Castro::post_restart() 48 48 6057 KiB 14 MiB MLMG::prepareForSolve() 361 361 3588 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 206 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 204 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6052 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 13 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2341 B 2048 KiB Gravity::solve_for_phi() 40 40 660 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 17 KiB 2048 KiB BndryData::define() 576 576 330 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 211 KiB 671 KiB Castro::estTimeStep() 10 10 3269 B 480 KiB VisMF::Write(FabArray) 112 112 1393 B 320 KiB Castro::normalize_species() 30 30 5270 B 320 KiB amrex::average_down 469 469 1220 B 257 KiB MLMG::addInterpCorrection() 468 468 1158 B 257 KiB amrex::Dot() 592 592 3444 B 160 KiB FabArray::norminf() 398 398 2450 B 160 KiB Castro::do_advance_ctu() 5 5 534 B 160 KiB MultiFab::max() 6 6 55 B 160 KiB FabArray::setVal() 66 66 16 KiB 23 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3490 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 51 B 10 KiB FillBoundary_nowait() 336 336 290 B 9648 B MLCellLinOp::applyBC() 3892 3892 228 B 9344 B amrex::Copy() 56 56 5429 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 43 B 2560 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 120 B 1472 B MLCellLinOp::defineBC() 36 36 370 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1345 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 112 KiB 8192 KiB VisMF::Write(FabArray) 120 120 293 KiB 3584 KiB VisMF::Read() 24 24 192 KiB 3000 KiB FabArray::setVal() 66 66 16 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3490 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 52 B 10 KiB FillBoundary_nowait() 336 336 290 B 9648 B MLCellLinOp::applyBC() 1946 1946 226 B 9328 B amrex::Copy() 56 56 5429 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2381 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 43 B 2656 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 514 B 1296 B amrex::average_down 37 37 200 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 25 B 400 B FabArray::norminf() 398 398 17 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.05-12-g1a96800dc229) finalized