Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-31-g435281069858) initialized Starting run at 07:37:27 UTC on 2023-08-17. Successfully read inputs file ... Castro git describe: 23.08-5-g5303a2cd5 AMReX git describe: 23.08-31-g435281069 Microphysics git describe: 23.08-11-g9ecfd8d2 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.051245781 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028668288 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.051115942 [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.073083896 [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.074510954 [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.053628932 [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.062850137 [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.050192734 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.068634547 [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.076944002 [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.074383349 [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.067119318 [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.084529035 [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.048809007 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028056888 seconds Ending run at 07:37:28 UTC on 2023-08-17. Run time = 0.949345458 Run time without initialization = 0.814486266 Average number of zones advanced per microsecond: 3.219 Average number of zones advanced per microsecond per rank: 3.219 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9494 ... 0.9494 ... 0.9494 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.3137 0.3137 0.3137 33.04% VisMF::Write(FabArray) 11 0.1998 0.1998 0.1998 21.05% MLCellLinOp::applyBC() 4433 0.07777 0.07777 0.07777 8.19% MLPoisson::Fsmooth() 3280 0.03284 0.03284 0.03284 3.46% FillBoundary_nowait() 4023 0.03032 0.03032 0.03032 3.19% StateData::FillBoundary(geom) 328 0.0264 0.0264 0.0264 2.78% amrex::Dot() 1114 0.02121 0.02121 0.02121 2.23% Castro::normalize_species() 62 0.02047 0.02047 0.02047 2.16% Castro::computeTemp() 63 0.0167 0.0167 0.0167 1.76% amrex::Copy() 1029 0.01518 0.01518 0.01518 1.60% FabArray::norminf() 743 0.01468 0.01468 0.01468 1.55% FabArray::ParallelCopy_nowait() 861 0.01354 0.01354 0.01354 1.43% FabArray::setVal() 1144 0.01349 0.01349 0.01349 1.42% Castro::enforce_min_density() 62 0.0126 0.0126 0.0126 1.33% StateDataPhysBCFunct::() 41 0.01085 0.01085 0.01085 1.14% MLPoisson::Fapply() 1142 0.0106 0.0106 0.0106 1.12% MLCellLinOp::defineAuxData() 11 0.01014 0.01014 0.01014 1.07% Gravity::fill_multipole_BCs() 11 0.009017 0.009017 0.009017 0.95% FabArray::Saxpy() 813 0.00839 0.00839 0.00839 0.88% FabArray::Xpay() 821 0.008272 0.008272 0.008272 0.87% MLMG::addInterpCorrection() 410 0.006841 0.006841 0.006841 0.72% amrex::average_down 410 0.006115 0.006115 0.006115 0.64% Castro::estTimeStep() 21 0.005732 0.005732 0.005732 0.60% Castro::reset_internal_energy(MultiFab) 63 0.005596 0.005596 0.005596 0.59% Amr::checkPoint() 3 0.004694 0.004694 0.004694 0.49% FabArray::LinComb() 557 0.004629 0.004629 0.004629 0.49% amrex::Add() 164 0.004402 0.004402 0.004402 0.46% BndryData::define() 11 0.003844 0.003844 0.003844 0.40% Castro::construct_new_gravity_source() 10 0.002928 0.002928 0.002928 0.31% Castro::enforce_speed_limit() 62 0.00234 0.00234 0.00234 0.25% MLCGSolver::bicgstab 82 0.002306 0.002306 0.002306 0.24% Castro::construct_old_gravity_source() 10 0.002255 0.002255 0.002255 0.24% check_for_negative_density() 10 0.002069 0.002069 0.002069 0.22% Amr::writePlotFile() 2 0.001984 0.001984 0.001984 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001779 0.001779 0.001779 0.19% Castro::reset_internal_energy(Fab) 504 0.001619 0.001619 0.001619 0.17% Castro::initData() 1 0.001577 0.001577 0.001577 0.17% Gravity::actual_solve_with_mlmg() 11 0.001507 0.001507 0.001507 0.16% MLCellLinOp::setLevelBC() 11 0.001482 0.001482 0.001482 0.16% FabArray::mult() 43 0.001372 0.001372 0.001372 0.14% FabArray::setDomainBndry() 41 0.001326 0.001326 0.001326 0.14% MLCellLinOp::prepareForSolve() 11 0.001274 0.001274 0.001274 0.13% MultiFab::contains_nan() 20 0.00126 0.00126 0.00126 0.13% MLCellLinOp::smooth() 1640 0.001108 0.001108 0.001108 0.12% MLCellLinOp::compGrad() 11 0.00104 0.00104 0.00104 0.11% MLMG::prepareForSolve() 11 0.000938 0.000938 0.000938 0.10% FabArray::FillBoundary() 4023 0.0007929 0.0007929 0.0007929 0.08% FabArrayBase::getCPC() 1323 0.0007408 0.0007408 0.0007408 0.08% FabArrayBase::CPC::define() 454 0.000644 0.000644 0.000644 0.07% FabArrayBase::getFB() 4023 0.0006356 0.0006356 0.0006356 0.07% Gravity::get_new_grav_vector() 11 0.0005908 0.0005908 0.0005908 0.06% MLCellLinOp::apply() 1142 0.0004764 0.0004764 0.0004764 0.05% Gravity::get_old_grav_vector() 10 0.0004736 0.0004736 0.0004736 0.05% Amr::InitAmr() 1 0.0004705 0.0004705 0.0004705 0.05% AmrLevel::FillPatch() 41 0.0003356 0.0003356 0.0003356 0.04% Amr::coarseTimeStep() 10 0.0003296 0.0003296 0.0003296 0.03% MultiFab::max() 11 0.0003211 0.0003211 0.0003211 0.03% MLCGSolver::ParallelAllReduce 1514 0.0003021 0.0003021 0.0003021 0.03% main() 1 0.0002712 0.0002712 0.0002712 0.03% FabArray::ParallelCopy() 861 0.0002593 0.0002593 0.0002593 0.03% FillPatchIterator::Initialize 41 0.0002206 0.0002206 0.0002206 0.02% MLCellLinOp::defineBC() 11 0.0002205 0.0002205 0.0002205 0.02% MLCellLinOp::correctionResidual() 492 0.0002115 0.0002115 0.0002115 0.02% Castro::subcycle_advance_ctu() 10 0.0002045 0.0002045 0.0002045 0.02% MLMG::mgVcycle() 82 0.0002042 0.0002042 0.0002042 0.02% Castro::create_source_corrector() 10 0.0001629 0.0001629 0.0001629 0.02% Gravity::solve_for_phi() 10 0.0001563 0.0001563 0.0001563 0.02% MLLinOp::defineGrids() 11 0.0001547 0.0001547 0.0001547 0.02% Amr::timeStep() 10 0.0001535 0.0001535 0.0001535 0.02% Gravity::update_max_rhs() 11 0.0001239 0.0001239 0.0001239 0.01% MLMG:computeResOfCorrection() 410 0.0001231 0.0001231 0.0001231 0.01% StateData::checkPoint() 12 0.000118 0.000118 0.000118 0.01% Castro::advance() 10 0.0001108 0.0001108 0.0001108 0.01% Castro::Castro() 1 8.965e-05 8.965e-05 8.965e-05 0.01% FabArrayBase::FB::FB() 56 8.909e-05 8.909e-05 8.909e-05 0.01% MLMG::actualBottomSolve() 82 8.884e-05 8.884e-05 8.884e-05 0.01% MLMG::mgVcycle_down::0 82 8.75e-05 8.75e-05 8.75e-05 0.01% MLMG::solve() 11 8.029e-05 8.029e-05 8.029e-05 0.01% MLMG::mgVcycle_down::1 82 7.972e-05 7.972e-05 7.972e-05 0.01% MLMG::mgVcycle_down::2 82 7.869e-05 7.869e-05 7.869e-05 0.01% Castro::do_new_sources() 10 7.832e-05 7.832e-05 7.832e-05 0.01% MLMG::mgVcycle_down::4 82 7.536e-05 7.536e-05 7.536e-05 0.01% MLMG::mgVcycle_down::3 82 7.46e-05 7.46e-05 7.46e-05 0.01% Castro::initialize_advance() 10 7.389e-05 7.389e-05 7.389e-05 0.01% AmrLevel::checkPoint() 3 7.296e-05 7.296e-05 7.296e-05 0.01% Castro::clean_state() 62 7.099e-05 7.099e-05 7.099e-05 0.01% Castro::enforce_consistent_e() 1 7.04e-05 7.04e-05 7.04e-05 0.01% Castro::initialize_do_advance() 10 6.919e-05 6.919e-05 6.919e-05 0.01% Castro::finalize_advance() 10 6.468e-05 6.468e-05 6.468e-05 0.01% MLMG::mgVcycle_up::3 82 6.219e-05 6.219e-05 6.219e-05 0.01% MLMG::mgVcycle_up::4 82 6.137e-05 6.137e-05 6.137e-05 0.01% MLCellLinOp::solutionResidual() 93 5.388e-05 5.388e-05 5.388e-05 0.01% MLMG::mgVcycle_up::0 82 5.062e-05 5.062e-05 5.062e-05 0.01% MLMG::oneIter() 82 4.84e-05 4.84e-05 4.84e-05 0.01% MLMG::mgVcycle_up::1 82 4.798e-05 4.798e-05 4.798e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.786e-05 4.786e-05 4.786e-05 0.01% Castro::do_advance_ctu() 10 4.781e-05 4.781e-05 4.781e-05 0.01% MLMG::mgVcycle_up::2 82 4.737e-05 4.737e-05 4.737e-05 0.00% Castro::construct_new_source() 50 4.709e-05 4.709e-05 4.709e-05 0.00% Castro::finalize_do_advance() 10 4.373e-05 4.373e-05 4.373e-05 0.00% Amr::defBaseLevel() 1 4.35e-05 4.35e-05 4.35e-05 0.00% Castro::swap_state_time_levels() 10 3.779e-05 3.779e-05 3.779e-05 0.00% MLMG::computeResidual() 82 3.719e-05 3.719e-05 3.719e-05 0.00% FillPatchSingleLevel 41 3.452e-05 3.452e-05 3.452e-05 0.00% StateData::define() 4 3.421e-05 3.421e-05 3.421e-05 0.00% MLMG::mgVcycle_bottom 82 3.363e-05 3.363e-05 3.363e-05 0.00% MLMG::ResNormInf() 93 3.095e-05 3.095e-05 3.095e-05 0.00% Castro::initMFs() 1 2.758e-05 2.758e-05 2.758e-05 0.00% Amr::writeSmallPlotFile() 1 2.716e-05 2.716e-05 2.716e-05 0.00% makeSFC 55 2.608e-05 2.608e-05 2.608e-05 0.00% Castro::construct_new_gravity() 10 2.457e-05 2.457e-05 2.457e-05 0.00% Castro::buildMetrics() 1 2.302e-05 2.302e-05 2.302e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.266e-05 2.266e-05 2.266e-05 0.00% MLPoisson::define() 11 2.238e-05 2.238e-05 2.238e-05 0.00% Castro::do_old_sources() 10 2.006e-05 2.006e-05 2.006e-05 0.00% Castro::construct_old_source() 50 1.983e-05 1.983e-05 1.983e-05 0.00% Amr::FinalizeInit() 1 1.868e-05 1.868e-05 1.868e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.759e-05 1.759e-05 1.759e-05 0.00% DistributionMapping::Distribute() 56 1.75e-05 1.75e-05 1.75e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.51e-05 1.51e-05 1.51e-05 0.00% Castro::check_for_nan() 20 1.343e-05 1.343e-05 1.343e-05 0.00% MLPoisson::prepareForSolve() 11 1.259e-05 1.259e-05 1.259e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.241e-05 1.241e-05 1.241e-05 0.00% Castro::apply_source_to_state() 20 1.151e-05 1.151e-05 1.151e-05 0.00% Castro::construct_old_gravity() 10 1.13e-05 1.13e-05 1.13e-05 0.00% MLLinOp::define() 11 1.027e-05 1.027e-05 1.027e-05 0.00% Amr::initSubcycle() 1 9.215e-06 9.215e-06 9.215e-06 0.00% Castro::post_init() 1 8.978e-06 8.978e-06 8.978e-06 0.00% MLMG::computeMLResidual() 11 8.8e-06 8.8e-06 8.8e-06 0.00% Gravity::swapTimeLevels() 10 8.418e-06 8.418e-06 8.418e-06 0.00% Castro::post_timestep() 10 8.338e-06 8.338e-06 8.338e-06 0.00% Gravity::actual_multilevel_solve() 1 7.728e-06 7.728e-06 7.728e-06 0.00% Castro::computeNewDt() 9 7.19e-06 7.19e-06 7.19e-06 0.00% Castro::expand_state() 10 5.825e-06 5.825e-06 5.825e-06 0.00% MLMG::getGradSolution() 11 5.6e-06 5.6e-06 5.6e-06 0.00% AmrLevel::checkPointPost() 3 5.073e-06 5.073e-06 5.073e-06 0.00% Castro::computeInitialDt() 2 4.839e-06 4.839e-06 4.839e-06 0.00% Amr::InitializeInit() 1 4.67e-06 4.67e-06 4.67e-06 0.00% Castro::retry_advance_ctu() 10 4.552e-06 4.552e-06 4.552e-06 0.00% MLMG::MLRhsNormInf() 11 4.076e-06 4.076e-06 4.076e-06 0.00% MLMG::MLResNormInf() 11 3.851e-06 3.851e-06 3.851e-06 0.00% Gravity::set_mass_offset() 11 3.818e-06 3.818e-06 3.818e-06 0.00% Castro::FluxRegCrseInit 10 3.027e-06 3.027e-06 3.027e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.974e-06 2.974e-06 2.974e-06 0.00% Amr::init() 1 2.346e-06 2.346e-06 2.346e-06 0.00% Castro::FluxRegFineAdd() 10 2.247e-06 2.247e-06 2.247e-06 0.00% AmrLevel::checkPointPre() 3 2.223e-06 2.223e-06 2.223e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.886e-06 1.886e-06 1.886e-06 0.00% Castro::post_regrid() 1 1.394e-06 1.394e-06 1.394e-06 0.00% Amr::initialInit() 1 1.02e-06 1.02e-06 1.02e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9494 0.9494 0.9494 100.00% Amr::coarseTimeStep() 10 0.7862 0.7862 0.7862 82.81% Amr::timeStep() 10 0.6836 0.6836 0.6836 72.00% Castro::advance() 10 0.6726 0.6726 0.6726 70.85% Castro::subcycle_advance_ctu() 10 0.6576 0.6576 0.6576 69.26% Castro::do_advance_ctu() 10 0.6574 0.6574 0.6574 69.24% Castro::construct_ctu_hydro_source() 10 0.3251 0.3251 0.3251 34.24% Gravity::solve_phi_with_mlmg() 11 0.2901 0.2901 0.2901 30.56% Gravity::actual_solve_with_mlmg() 11 0.2807 0.2807 0.2807 29.57% Castro::construct_new_gravity() 10 0.2613 0.2613 0.2613 27.53% MLMG::solve() 11 0.2593 0.2593 0.2593 27.32% Gravity::solve_for_phi() 10 0.2453 0.2453 0.2453 25.84% MLMG::oneIter() 82 0.2444 0.2444 0.2444 25.74% MLMG::mgVcycle() 82 0.2407 0.2407 0.2407 25.36% VisMF::Write(FabArray) 11 0.1998 0.1998 0.1998 21.05% Amr::checkPoint() 3 0.1504 0.1504 0.1504 15.84% AmrLevel::checkPoint() 3 0.1457 0.1457 0.1457 15.34% StateData::checkPoint() 12 0.1456 0.1456 0.1456 15.33% Amr::init() 1 0.1343 0.1343 0.1343 14.14% MLCellLinOp::smooth() 1640 0.1171 0.1171 0.1171 12.34% MLCellLinOp::applyBC() 4433 0.1096 0.1096 0.1096 11.55% MLMG::mgVcycle_bottom 82 0.07582 0.07582 0.07582 7.99% MLMG::actualBottomSolve() 82 0.07578 0.07578 0.07578 7.98% MLCGSolver::bicgstab 82 0.07507 0.07507 0.07507 7.91% Castro::clean_state() 62 0.05847 0.05847 0.05847 6.16% Amr::writePlotFile() 2 0.05687 0.05687 0.05687 5.99% Amr::initialInit() 1 0.05423 0.05423 0.05423 5.71% Amr::FinalizeInit() 1 0.04919 0.04919 0.04919 5.18% Castro::post_init() 1 0.0477 0.0477 0.0477 5.02% AmrLevel::FillPatch() 41 0.04709 0.04709 0.04709 4.96% Gravity::multilevel_solve_for_new_phi() 1 0.04532 0.04532 0.04532 4.77% Gravity::actual_multilevel_solve() 1 0.0453 0.0453 0.0453 4.77% FillPatchIterator::Initialize 41 0.04288 0.04288 0.04288 4.52% FillPatchIterator::FillFromLevel0() 41 0.04133 0.04133 0.04133 4.35% FillPatchSingleLevel 41 0.04129 0.04129 0.04129 4.35% StateDataPhysBCFunct::() 41 0.03726 0.03726 0.03726 3.92% MLCellLinOp::apply() 1142 0.03701 0.03701 0.03701 3.90% MLMG::mgVcycle_down::0 82 0.03355 0.03355 0.03355 3.53% MLPoisson::Fsmooth() 3280 0.03284 0.03284 0.03284 3.46% FabArray::FillBoundary() 4023 0.03183 0.03183 0.03183 3.35% FillBoundary_nowait() 4023 0.03104 0.03104 0.03104 3.27% StateData::FillBoundary(geom) 328 0.0264 0.0264 0.0264 2.78% MLMG::mgVcycle_up::0 82 0.02532 0.02532 0.02532 2.67% Castro::computeTemp() 63 0.02392 0.02392 0.02392 2.52% MLCellLinOp::correctionResidual() 492 0.02243 0.02243 0.02243 2.36% Castro::initialize_do_advance() 10 0.02152 0.02152 0.02152 2.27% amrex::Dot() 1114 0.02121 0.02121 0.02121 2.23% Castro::normalize_species() 62 0.02047 0.02047 0.02047 2.16% MLMG:computeResOfCorrection() 410 0.01973 0.01973 0.01973 2.08% Castro::do_old_sources() 10 0.01832 0.01832 0.01832 1.93% Gravity::get_new_grav_vector() 11 0.01798 0.01798 0.01798 1.89% MLPoisson::define() 11 0.01684 0.01684 0.01684 1.77% MLMG::mgVcycle_down::1 82 0.01606 0.01606 0.01606 1.69% amrex::Copy() 1029 0.01518 0.01518 0.01518 1.60% MLMG::mgVcycle_down::2 82 0.01492 0.01492 0.01492 1.57% Castro::construct_old_gravity() 10 0.0149 0.0149 0.0149 1.57% Gravity::get_old_grav_vector() 10 0.01488 0.01488 0.01488 1.57% FabArray::norminf() 743 0.01468 0.01468 0.01468 1.55% MLMG::mgVcycle_down::3 82 0.01462 0.01462 0.01462 1.54% FabArray::ParallelCopy() 861 0.01458 0.01458 0.01458 1.54% MLMG::mgVcycle_down::4 82 0.0144 0.0144 0.0144 1.52% FabArray::ParallelCopy_nowait() 861 0.01432 0.01432 0.01432 1.51% Castro::initialize_advance() 10 0.0143 0.0143 0.0143 1.51% FabArray::setVal() 1144 0.01349 0.01349 0.01349 1.42% Castro::do_new_sources() 10 0.01293 0.01293 0.01293 1.36% MLCGSolver::ParallelAllReduce 1514 0.01274 0.01274 0.01274 1.34% Castro::enforce_min_density() 62 0.0126 0.0126 0.0126 1.33% MLMG::addInterpCorrection() 410 0.01209 0.01209 0.01209 1.27% MLMG::mgVcycle_up::4 82 0.01165 0.01165 0.01165 1.23% MLMG::mgVcycle_up::1 82 0.01162 0.01162 0.01162 1.22% Castro::expand_state() 10 0.01158 0.01158 0.01158 1.22% MLCellLinOp::defineAuxData() 11 0.01153 0.01153 0.01153 1.21% amrex::average_down 410 0.01145 0.01145 0.01145 1.21% MLMG::mgVcycle_up::2 82 0.01138 0.01138 0.01138 1.20% MLMG::mgVcycle_up::3 82 0.01119 0.01119 0.01119 1.18% Castro::post_timestep() 10 0.01083 0.01083 0.01083 1.14% MLPoisson::Fapply() 1142 0.0106 0.0106 0.0106 1.12% Gravity::fill_multipole_BCs() 11 0.009243 0.009243 0.009243 0.97% FabArray::Saxpy() 813 0.00839 0.00839 0.00839 0.88% FabArray::Xpay() 821 0.008272 0.008272 0.008272 0.87% MLCellLinOp::solutionResidual() 93 0.007501 0.007501 0.007501 0.79% Castro::reset_internal_energy(MultiFab) 63 0.007215 0.007215 0.007215 0.76% MLMG::computeResidual() 82 0.006239 0.006239 0.006239 0.66% Castro::estTimeStep() 21 0.005732 0.005732 0.005732 0.60% MLCellLinOp::defineBC() 11 0.005058 0.005058 0.005058 0.53% Amr::InitializeInit() 1 0.005039 0.005039 0.005039 0.53% Amr::defBaseLevel() 1 0.005034 0.005034 0.005034 0.53% MLMG::prepareForSolve() 11 0.00498 0.00498 0.00498 0.52% BndryData::define() 11 0.004838 0.004838 0.004838 0.51% FabArray::LinComb() 557 0.004629 0.004629 0.004629 0.49% amrex::Add() 164 0.004402 0.004402 0.004402 0.46% Castro::initData() 1 0.004367 0.004367 0.004367 0.46% Castro::construct_new_source() 50 0.002975 0.002975 0.002975 0.31% Castro::construct_new_gravity_source() 10 0.002928 0.002928 0.002928 0.31% Castro::computeNewDt() 9 0.002417 0.002417 0.002417 0.25% Castro::enforce_speed_limit() 62 0.00234 0.00234 0.00234 0.25% Castro::finalize_do_advance() 10 0.0023 0.0023 0.0023 0.24% Castro::construct_old_source() 50 0.002275 0.002275 0.002275 0.24% Castro::construct_old_gravity_source() 10 0.002255 0.002255 0.002255 0.24% MLMG::ResNormInf() 93 0.002137 0.002137 0.002137 0.23% check_for_negative_density() 10 0.002069 0.002069 0.002069 0.22% Castro::apply_source_to_state() 20 0.001853 0.001853 0.001853 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001779 0.001779 0.001779 0.19% Castro::reset_internal_energy(Fab) 504 0.001619 0.001619 0.001619 0.17% MLMG::getGradSolution() 11 0.001524 0.001524 0.001524 0.16% MLCellLinOp::compGrad() 11 0.001519 0.001519 0.001519 0.16% MLCellLinOp::setLevelBC() 11 0.001482 0.001482 0.001482 0.16% FabArrayBase::getCPC() 1323 0.001385 0.001385 0.001385 0.15% FabArray::mult() 43 0.001372 0.001372 0.001372 0.14% FabArray::setDomainBndry() 41 0.001326 0.001326 0.001326 0.14% MLMG::computeMLResidual() 11 0.001307 0.001307 0.001307 0.14% MLPoisson::prepareForSolve() 11 0.001287 0.001287 0.001287 0.14% MLCellLinOp::prepareForSolve() 11 0.001274 0.001274 0.001274 0.13% Castro::check_for_nan() 20 0.001274 0.001274 0.001274 0.13% MultiFab::contains_nan() 20 0.00126 0.00126 0.00126 0.13% Castro::post_regrid() 1 0.001187 0.001187 0.001187 0.13% Castro::computeInitialDt() 2 0.00107 0.00107 0.00107 0.11% Gravity::update_max_rhs() 11 0.0009816 0.0009816 0.0009816 0.10% FabArrayBase::getFB() 4023 0.0007247 0.0007247 0.0007247 0.08% FabArrayBase::CPC::define() 454 0.000644 0.000644 0.000644 0.07% Castro::finalize_advance() 10 0.0006196 0.0006196 0.0006196 0.07% Castro::Castro() 1 0.0005693 0.0005693 0.0005693 0.06% Amr::InitAmr() 1 0.0004797 0.0004797 0.0004797 0.05% Gravity::swapTimeLevels() 10 0.0004364 0.0004364 0.0004364 0.05% MLMG::MLResNormInf() 11 0.0003262 0.0003262 0.0003262 0.03% MultiFab::max() 11 0.0003211 0.0003211 0.0003211 0.03% Castro::buildMetrics() 1 0.0002809 0.0002809 0.0002809 0.03% MLMG::MLRhsNormInf() 11 0.0002228 0.0002228 0.0002228 0.02% MLLinOp::define() 11 0.0002213 0.0002213 0.0002213 0.02% MLLinOp::defineGrids() 11 0.000211 0.000211 0.000211 0.02% Castro::create_source_corrector() 10 0.0001629 0.0001629 0.0001629 0.02% FabArrayBase::FB::FB() 56 8.909e-05 8.909e-05 8.909e-05 0.01% Castro::enforce_consistent_e() 1 7.04e-05 7.04e-05 7.04e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.441e-05 5.441e-05 5.441e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.931e-05 4.931e-05 4.931e-05 0.01% makeSFC 55 4.199e-05 4.199e-05 4.199e-05 0.00% Castro::swap_state_time_levels() 10 3.779e-05 3.779e-05 3.779e-05 0.00% StateData::define() 4 3.421e-05 3.421e-05 3.421e-05 0.00% Castro::initMFs() 1 2.758e-05 2.758e-05 2.758e-05 0.00% Amr::writeSmallPlotFile() 1 2.716e-05 2.716e-05 2.716e-05 0.00% DistributionMapping::Distribute() 56 1.75e-05 1.75e-05 1.75e-05 0.00% Amr::initSubcycle() 1 9.215e-06 9.215e-06 9.215e-06 0.00% AmrLevel::checkPointPost() 3 5.073e-06 5.073e-06 5.073e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.554e-06 4.554e-06 4.554e-06 0.00% Castro::retry_advance_ctu() 10 4.552e-06 4.552e-06 4.552e-06 0.00% Gravity::set_mass_offset() 11 3.818e-06 3.818e-06 3.818e-06 0.00% Castro::FluxRegCrseInit 10 3.027e-06 3.027e-06 3.027e-06 0.00% Castro::FluxRegFineAdd() 10 2.247e-06 2.247e-06 2.247e-06 0.00% AmrLevel::checkPointPre() 3 2.223e-06 2.223e-06 2.223e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.886e-06 1.886e-06 1.886e-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 88 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 154 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 961 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1686 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7617 KiB 14 MiB MLMG::prepareForSolve() 660 660 3360 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 196 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 160 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7520 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 16 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2008 B 2048 KiB Gravity::solve_for_phi() 80 80 528 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 97 KiB 2048 KiB BndryData::define() 1056 1056 307 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 195 KiB 671 KiB Castro::estTimeStep() 21 21 2945 B 480 KiB VisMF::Write(FabArray) 656 656 3223 B 320 KiB Castro::normalize_species() 62 62 7024 B 320 KiB amrex::average_down 1067 1067 1220 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1086 B 257 KiB amrex::Dot() 1360 1360 3284 B 160 KiB FabArray::norminf() 907 907 2281 B 160 KiB check_for_negative_density() 10 10 324 B 160 KiB Castro::initData() 1 1 49 B 160 KiB MultiFab::max() 11 11 52 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3280 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 279 B 9648 B MLCellLinOp::applyBC() 8866 8866 210 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3912 B 6144 B StateData::FillBoundary(geom) 1992 1992 39 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 115 B 1472 B MLCellLinOp::defineBC() 66 66 346 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 520 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 37 KiB 8192 KiB VisMF::Write(FabArray) 744 744 475 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3280 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 279 B 9648 B MLCellLinOp::applyBC() 4433 4433 208 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3912 B 6144 B Gravity::get_new_grav_vector() 3 3 2898 B 3072 B StateData::FillBoundary(geom) 1992 1992 39 B 3024 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 279 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 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): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.08-31-g435281069858) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-31-g435281069858) initialized Starting run at 07:37:28 UTC on 2023-08-17. Successfully read inputs file ... Castro git describe: 23.08-5-g5303a2cd5 AMReX git describe: 23.08-31-g435281069 Microphysics git describe: 23.08-11-g9ecfd8d2 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.500280095 Restart time = 0.049667489 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.054145221 [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.0490564 [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.07627903 [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.074484241 [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.073284434 [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.029071226 seconds Ending run at 07:37:29 UTC on 2023-08-17. Run time = 0.407005765 Run time without initialization = 0.356765482 Average number of zones advanced per microsecond: 3.674 Average number of zones advanced per microsecond per rank: 3.674 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.407 ... 0.407 ... 0.407 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1341 0.1341 0.1341 32.95% VisMF::Read() 3 0.03827 0.03827 0.03827 9.40% MLCellLinOp::applyBC() 1946 0.0337 0.0337 0.0337 8.28% VisMF::Write(FabArray) 1 0.02771 0.02771 0.02771 6.81% MLPoisson::Fsmooth() 1440 0.01425 0.01425 0.01425 3.50% FillBoundary_nowait() 1766 0.01275 0.01275 0.01275 3.13% StateData::FillBoundary(geom) 160 0.01274 0.01274 0.01274 3.13% Castro::normalize_species() 30 0.009781 0.009781 0.009781 2.40% Castro::computeTemp() 30 0.009265 0.009265 0.009265 2.28% amrex::Dot() 484 0.009085 0.009085 0.009085 2.23% amrex::Copy() 463 0.007226 0.007226 0.007226 1.78% FabArray::setVal() 537 0.006565 0.006565 0.006565 1.61% Castro::enforce_min_density() 30 0.006534 0.006534 0.006534 1.61% FabArray::norminf() 326 0.006459 0.006459 0.006459 1.59% FabArray::ParallelCopy_nowait() 380 0.006113 0.006113 0.006113 1.50% Gravity::fill_multipole_BCs() 6 0.005801 0.005801 0.005801 1.43% MLCellLinOp::defineAuxData() 6 0.005615 0.005615 0.005615 1.38% Amr::restart() 1 0.00462 0.00462 0.00462 1.13% MLPoisson::Fapply() 500 0.004577 0.004577 0.004577 1.12% StateDataPhysBCFunct::() 20 0.004422 0.004422 0.004422 1.09% FabArray::Saxpy() 355 0.003782 0.003782 0.003782 0.93% FabArray::Xpay() 361 0.003589 0.003589 0.003589 0.88% MLMG::addInterpCorrection() 180 0.003083 0.003083 0.003083 0.76% Castro::estTimeStep() 10 0.003005 0.003005 0.003005 0.74% amrex::average_down 180 0.002688 0.002688 0.002688 0.66% Castro::enforce_speed_limit() 30 0.002618 0.002618 0.002618 0.64% FabArray::LinComb() 242 0.00227 0.00227 0.00227 0.56% Castro::reset_internal_energy(MultiFab) 30 0.002181 0.002181 0.002181 0.54% BndryData::define() 6 0.002102 0.002102 0.002102 0.52% amrex::Add() 72 0.00189 0.00189 0.00189 0.46% Castro::construct_new_gravity_source() 5 0.001725 0.001725 0.001725 0.42% Castro::construct_old_gravity_source() 5 0.001373 0.001373 0.001373 0.34% Amr::writePlotFile() 1 0.001187 0.001187 0.001187 0.29% MLCGSolver::bicgstab 36 0.001038 0.001038 0.001038 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009719 0.0009719 0.0009719 0.24% check_for_negative_density() 5 0.0009694 0.0009694 0.0009694 0.24% Gravity::actual_solve_with_mlmg() 6 0.0008133 0.0008133 0.0008133 0.20% Castro::reset_internal_energy(Fab) 240 0.0008131 0.0008131 0.0008131 0.20% MLCellLinOp::setLevelBC() 6 0.0007938 0.0007938 0.0007938 0.20% MLCellLinOp::prepareForSolve() 6 0.0007127 0.0007127 0.0007127 0.18% FabArray::setDomainBndry() 20 0.0006908 0.0006908 0.0006908 0.17% FabArray::mult() 22 0.0006889 0.0006889 0.0006889 0.17% MultiFab::contains_nan() 10 0.000654 0.000654 0.000654 0.16% MLCellLinOp::compGrad() 6 0.0005819 0.0005819 0.0005819 0.14% MLMG::prepareForSolve() 6 0.0005305 0.0005305 0.0005305 0.13% MLCellLinOp::smooth() 720 0.0005145 0.0005145 0.0005145 0.13% FabArrayBase::CPC::define() 244 0.0004303 0.0004303 0.0004303 0.11% Amr::InitAmr() 1 0.0004018 0.0004018 0.0004018 0.10% FabArray::FillBoundary() 1766 0.0003869 0.0003869 0.0003869 0.10% FabArrayBase::getCPC() 632 0.0003668 0.0003668 0.0003668 0.09% Gravity::get_old_grav_vector() 5 0.0003171 0.0003171 0.0003171 0.08% Gravity::get_new_grav_vector() 5 0.0002602 0.0002602 0.0002602 0.06% FabArrayBase::getFB() 1766 0.0002583 0.0002583 0.0002583 0.06% main() 1 0.000247 0.000247 0.000247 0.06% MLCellLinOp::apply() 500 0.0002165 0.0002165 0.0002165 0.05% MultiFab::max() 6 0.0002068 0.0002068 0.0002068 0.05% Amr::coarseTimeStep() 5 0.0002032 0.0002032 0.0002032 0.05% AmrLevel::FillPatch() 20 0.000165 0.000165 0.000165 0.04% MLCGSolver::ParallelAllReduce 659 0.0001329 0.0001329 0.0001329 0.03% MLCellLinOp::defineBC() 6 0.0001188 0.0001188 0.0001188 0.03% FabArray::ParallelCopy() 380 0.0001148 0.0001148 0.0001148 0.03% MLLinOp::defineGrids() 6 0.0001102 0.0001102 0.0001102 0.03% Castro::create_source_corrector() 5 0.0001039 0.0001039 0.0001039 0.03% FillPatchIterator::Initialize 20 0.0001035 0.0001035 0.0001035 0.03% MLCellLinOp::correctionResidual() 216 0.0001008 0.0001008 0.0001008 0.02% MLMG::mgVcycle() 36 9.042e-05 9.042e-05 9.042e-05 0.02% Castro::subcycle_advance_ctu() 5 8.636e-05 8.636e-05 8.636e-05 0.02% Amr::timeStep() 5 8.017e-05 8.017e-05 8.017e-05 0.02% Gravity::update_max_rhs() 6 7.144e-05 7.144e-05 7.144e-05 0.02% Gravity::solve_for_phi() 5 7.009e-05 7.009e-05 7.009e-05 0.02% AmrLevel::restart() 1 6.866e-05 6.866e-05 6.866e-05 0.02% Castro::finalize_do_advance() 5 6.539e-05 6.539e-05 6.539e-05 0.02% Castro::post_timestep() 5 6.361e-05 6.361e-05 6.361e-05 0.02% StateData::restartDoit() 4 5.984e-05 5.984e-05 5.984e-05 0.01% FabArrayBase::FB::FB() 26 5.895e-05 5.895e-05 5.895e-05 0.01% MLMG:computeResOfCorrection() 180 5.618e-05 5.618e-05 5.618e-05 0.01% MLMG::mgVcycle_down::0 36 4.874e-05 4.874e-05 4.874e-05 0.01% Castro::construct_new_source() 25 4.412e-05 4.412e-05 4.412e-05 0.01% Castro::do_advance_ctu() 5 4.363e-05 4.363e-05 4.363e-05 0.01% MLMG::solve() 6 4.108e-05 4.108e-05 4.108e-05 0.01% MLMG::actualBottomSolve() 36 4.085e-05 4.085e-05 4.085e-05 0.01% Castro::initialize_advance() 5 3.734e-05 3.734e-05 3.734e-05 0.01% MLMG::mgVcycle_down::1 36 3.552e-05 3.552e-05 3.552e-05 0.01% MLMG::mgVcycle_down::2 36 3.362e-05 3.362e-05 3.362e-05 0.01% MLMG::mgVcycle_down::4 36 3.325e-05 3.325e-05 3.325e-05 0.01% Castro::clean_state() 30 3.317e-05 3.317e-05 3.317e-05 0.01% MLMG::mgVcycle_down::3 36 3.162e-05 3.162e-05 3.162e-05 0.01% Castro::advance() 5 3.131e-05 3.131e-05 3.131e-05 0.01% Castro::initialize_do_advance() 5 3.023e-05 3.023e-05 3.023e-05 0.01% Castro::post_restart() 1 3.016e-05 3.016e-05 3.016e-05 0.01% Castro::finalize_advance() 5 2.956e-05 2.956e-05 2.956e-05 0.01% Castro::do_new_sources() 5 2.88e-05 2.88e-05 2.88e-05 0.01% MLMG::mgVcycle_up::4 36 2.825e-05 2.825e-05 2.825e-05 0.01% Amr::writeSmallPlotFile() 1 2.783e-05 2.783e-05 2.783e-05 0.01% MLCellLinOp::solutionResidual() 42 2.739e-05 2.739e-05 2.739e-05 0.01% Castro::construct_old_source() 25 2.72e-05 2.72e-05 2.72e-05 0.01% Castro::buildMetrics() 1 2.605e-05 2.605e-05 2.605e-05 0.01% Castro::swap_state_time_levels() 5 2.459e-05 2.459e-05 2.459e-05 0.01% Castro::initMFs() 1 2.357e-05 2.357e-05 2.357e-05 0.01% MLMG::oneIter() 36 2.281e-05 2.281e-05 2.281e-05 0.01% MLMG::mgVcycle_up::3 36 2.267e-05 2.267e-05 2.267e-05 0.01% MLMG::mgVcycle_up::0 36 2.228e-05 2.228e-05 2.228e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.096e-05 2.096e-05 2.096e-05 0.01% MLMG::mgVcycle_up::2 36 2.052e-05 2.052e-05 2.052e-05 0.01% MLMG::mgVcycle_up::1 36 2.036e-05 2.036e-05 2.036e-05 0.01% MLMG::ResNormInf() 42 1.677e-05 1.677e-05 1.677e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.664e-05 1.664e-05 1.664e-05 0.00% MLMG::mgVcycle_bottom 36 1.608e-05 1.608e-05 1.608e-05 0.00% MLPoisson::define() 6 1.576e-05 1.576e-05 1.576e-05 0.00% FillPatchSingleLevel 20 1.556e-05 1.556e-05 1.556e-05 0.00% MLMG::computeResidual() 36 1.518e-05 1.518e-05 1.518e-05 0.00% makeSFC 30 1.376e-05 1.376e-05 1.376e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.353e-05 1.353e-05 1.353e-05 0.00% Castro::construct_new_gravity() 5 1.261e-05 1.261e-05 1.261e-05 0.00% Castro::do_old_sources() 5 1.16e-05 1.16e-05 1.16e-05 0.00% DistributionMapping::Distribute() 31 9.954e-06 9.954e-06 9.954e-06 0.00% Amr::initSubcycle() 1 8.952e-06 8.952e-06 8.952e-06 0.00% MLPoisson::prepareForSolve() 6 8.296e-06 8.296e-06 8.296e-06 0.00% Gravity::actual_multilevel_solve() 1 8.286e-06 8.286e-06 8.286e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.77e-06 7.77e-06 7.77e-06 0.00% Castro::check_for_nan() 10 7.46e-06 7.46e-06 7.46e-06 0.00% Castro::apply_source_to_state() 10 6.163e-06 6.163e-06 6.163e-06 0.00% Castro::construct_old_gravity() 5 6.154e-06 6.154e-06 6.154e-06 0.00% MLLinOp::define() 6 6.089e-06 6.089e-06 6.089e-06 0.00% Castro::retry_advance_ctu() 5 6.08e-06 6.08e-06 6.08e-06 0.00% Gravity::swapTimeLevels() 5 4.491e-06 4.491e-06 4.491e-06 0.00% Castro::computeNewDt() 5 3.984e-06 3.984e-06 3.984e-06 0.00% MLMG::computeMLResidual() 6 3.832e-06 3.832e-06 3.832e-06 0.00% MLMG::getGradSolution() 6 3.235e-06 3.235e-06 3.235e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.816e-06 2.816e-06 2.816e-06 0.00% Castro::expand_state() 5 2.641e-06 2.641e-06 2.641e-06 0.00% MLMG::MLResNormInf() 6 2.488e-06 2.488e-06 2.488e-06 0.00% MLMG::MLRhsNormInf() 6 2.271e-06 2.271e-06 2.271e-06 0.00% Gravity::set_mass_offset() 6 2.035e-06 2.035e-06 2.035e-06 0.00% Castro::FluxRegFineAdd() 5 1.474e-06 1.474e-06 1.474e-06 0.00% Castro::FluxRegCrseInit 5 1.358e-06 1.358e-06 1.358e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.208e-06 1.208e-06 1.208e-06 0.00% Amr::init() 1 1.049e-06 1.049e-06 1.049e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.407 0.407 0.407 100.00% Amr::coarseTimeStep() 5 0.3274 0.3274 0.3274 80.45% Amr::timeStep() 5 0.3253 0.3253 0.3253 79.93% Castro::advance() 5 0.3189 0.3189 0.3189 78.35% Castro::subcycle_advance_ctu() 5 0.3109 0.3109 0.3109 76.39% Castro::do_advance_ctu() 5 0.3109 0.3109 0.3109 76.37% Castro::construct_ctu_hydro_source() 5 0.1402 0.1402 0.1402 34.45% Castro::construct_new_gravity() 5 0.133 0.133 0.133 32.67% Gravity::solve_phi_with_mlmg() 6 0.131 0.131 0.131 32.18% Gravity::solve_for_phi() 5 0.1253 0.1253 0.1253 30.78% Gravity::actual_solve_with_mlmg() 6 0.1249 0.1249 0.1249 30.69% MLMG::solve() 6 0.1131 0.1131 0.1131 27.78% MLMG::oneIter() 36 0.1057 0.1057 0.1057 25.97% MLMG::mgVcycle() 36 0.1041 0.1041 0.1041 25.59% MLCellLinOp::smooth() 720 0.05038 0.05038 0.05038 12.38% Amr::init() 1 0.04973 0.04973 0.04973 12.22% Amr::restart() 1 0.04973 0.04973 0.04973 12.22% MLCellLinOp::applyBC() 1946 0.04716 0.04716 0.04716 11.59% AmrLevel::restart() 1 0.03862 0.03862 0.03862 9.49% StateData::restartDoit() 4 0.03855 0.03855 0.03855 9.47% VisMF::Read() 3 0.03827 0.03827 0.03827 9.40% MLMG::mgVcycle_bottom 36 0.03294 0.03294 0.03294 8.09% MLMG::actualBottomSolve() 36 0.03293 0.03293 0.03293 8.09% MLCGSolver::bicgstab 36 0.03261 0.03261 0.03261 8.01% Castro::clean_state() 30 0.03123 0.03123 0.03123 7.67% Amr::writePlotFile() 1 0.02915 0.02915 0.02915 7.16% VisMF::Write(FabArray) 1 0.02771 0.02771 0.02771 6.81% AmrLevel::FillPatch() 20 0.02207 0.02207 0.02207 5.42% FillPatchIterator::Initialize 20 0.02002 0.02002 0.02002 4.92% FillPatchIterator::FillFromLevel0() 20 0.01922 0.01922 0.01922 4.72% FillPatchSingleLevel 20 0.0192 0.0192 0.0192 4.72% StateDataPhysBCFunct::() 20 0.01716 0.01716 0.01716 4.22% MLCellLinOp::apply() 500 0.01606 0.01606 0.01606 3.94% MLMG::mgVcycle_down::0 36 0.01446 0.01446 0.01446 3.55% MLPoisson::Fsmooth() 1440 0.01425 0.01425 0.01425 3.50% FabArray::FillBoundary() 1766 0.01346 0.01346 0.01346 3.31% FillBoundary_nowait() 1766 0.01307 0.01307 0.01307 3.21% StateData::FillBoundary(geom) 160 0.01274 0.01274 0.01274 3.13% Castro::initialize_do_advance() 5 0.01234 0.01234 0.01234 3.03% Castro::computeTemp() 30 0.01226 0.01226 0.01226 3.01% MLMG::mgVcycle_up::0 36 0.01078 0.01078 0.01078 2.65% Castro::do_old_sources() 5 0.009801 0.009801 0.009801 2.41% Castro::normalize_species() 30 0.009781 0.009781 0.009781 2.40% MLCellLinOp::correctionResidual() 216 0.009653 0.009653 0.009653 2.37% MLPoisson::define() 6 0.009375 0.009375 0.009375 2.30% amrex::Dot() 484 0.009085 0.009085 0.009085 2.23% MLMG:computeResOfCorrection() 180 0.008486 0.008486 0.008486 2.08% Castro::initialize_advance() 5 0.00763 0.00763 0.00763 1.87% Gravity::get_new_grav_vector() 5 0.007574 0.007574 0.007574 1.86% Castro::construct_old_gravity() 5 0.007453 0.007453 0.007453 1.83% Gravity::get_old_grav_vector() 5 0.007447 0.007447 0.007447 1.83% amrex::Copy() 463 0.007226 0.007226 0.007226 1.78% MLMG::mgVcycle_down::1 36 0.007045 0.007045 0.007045 1.73% FabArray::ParallelCopy() 380 0.006621 0.006621 0.006621 1.63% FabArray::setVal() 537 0.006565 0.006565 0.006565 1.61% Castro::enforce_min_density() 30 0.006534 0.006534 0.006534 1.61% FabArray::ParallelCopy_nowait() 380 0.006506 0.006506 0.006506 1.60% FabArray::norminf() 326 0.006459 0.006459 0.006459 1.59% MLMG::mgVcycle_down::2 36 0.006426 0.006426 0.006426 1.58% MLCellLinOp::defineAuxData() 6 0.006413 0.006413 0.006413 1.58% Castro::post_timestep() 5 0.006364 0.006364 0.006364 1.56% Castro::do_new_sources() 5 0.006357 0.006357 0.006357 1.56% Castro::post_restart() 1 0.006316 0.006316 0.006316 1.55% MLMG::mgVcycle_down::3 36 0.006314 0.006314 0.006314 1.55% MLMG::mgVcycle_down::4 36 0.006233 0.006233 0.006233 1.53% Gravity::multilevel_solve_for_new_phi() 1 0.005941 0.005941 0.005941 1.46% Gravity::actual_multilevel_solve() 1 0.005924 0.005924 0.005924 1.46% Gravity::fill_multipole_BCs() 6 0.005923 0.005923 0.005923 1.46% Castro::expand_state() 5 0.005703 0.005703 0.005703 1.40% MLCGSolver::ParallelAllReduce 659 0.005496 0.005496 0.005496 1.35% MLMG::addInterpCorrection() 180 0.005386 0.005386 0.005386 1.32% MLMG::mgVcycle_up::4 36 0.005095 0.005095 0.005095 1.25% MLMG::mgVcycle_up::1 36 0.00502 0.00502 0.00502 1.23% amrex::average_down 180 0.004979 0.004979 0.004979 1.22% MLMG::mgVcycle_up::2 36 0.004925 0.004925 0.004925 1.21% MLMG::mgVcycle_up::3 36 0.004819 0.004819 0.004819 1.18% MLPoisson::Fapply() 500 0.004577 0.004577 0.004577 1.12% FabArray::Saxpy() 355 0.003782 0.003782 0.003782 0.93% FabArray::Xpay() 361 0.003589 0.003589 0.003589 0.88% MLCellLinOp::solutionResidual() 42 0.003456 0.003456 0.003456 0.85% Castro::estTimeStep() 10 0.003005 0.003005 0.003005 0.74% Castro::reset_internal_energy(MultiFab) 30 0.002994 0.002994 0.002994 0.74% MLCellLinOp::defineBC() 6 0.002799 0.002799 0.002799 0.69% MLMG::prepareForSolve() 6 0.002761 0.002761 0.002761 0.68% MLMG::computeResidual() 36 0.002698 0.002698 0.002698 0.66% BndryData::define() 6 0.00268 0.00268 0.00268 0.66% Castro::enforce_speed_limit() 30 0.002618 0.002618 0.002618 0.64% FabArray::LinComb() 242 0.00227 0.00227 0.00227 0.56% Castro::computeNewDt() 5 0.001899 0.001899 0.001899 0.47% amrex::Add() 72 0.00189 0.00189 0.00189 0.46% Castro::construct_new_source() 25 0.001769 0.001769 0.001769 0.43% Castro::construct_new_gravity_source() 5 0.001725 0.001725 0.001725 0.42% Castro::construct_old_source() 25 0.0014 0.0014 0.0014 0.34% Castro::construct_old_gravity_source() 5 0.001373 0.001373 0.001373 0.34% Castro::finalize_do_advance() 5 0.001175 0.001175 0.001175 0.29% MLMG::ResNormInf() 42 0.0009946 0.0009946 0.0009946 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009719 0.0009719 0.0009719 0.24% check_for_negative_density() 5 0.0009694 0.0009694 0.0009694 0.24% Castro::apply_source_to_state() 10 0.0009558 0.0009558 0.0009558 0.23% MLMG::getGradSolution() 6 0.000864 0.000864 0.000864 0.21% MLCellLinOp::compGrad() 6 0.0008608 0.0008608 0.0008608 0.21% Castro::reset_internal_energy(Fab) 240 0.0008131 0.0008131 0.0008131 0.20% FabArrayBase::getCPC() 632 0.0007971 0.0007971 0.0007971 0.20% MLCellLinOp::setLevelBC() 6 0.0007938 0.0007938 0.0007938 0.20% MLMG::computeMLResidual() 6 0.000777 0.000777 0.000777 0.19% MLPoisson::prepareForSolve() 6 0.000721 0.000721 0.000721 0.18% Gravity::update_max_rhs() 6 0.0007184 0.0007184 0.0007184 0.18% MLCellLinOp::prepareForSolve() 6 0.0007127 0.0007127 0.0007127 0.18% FabArray::setDomainBndry() 20 0.0006908 0.0006908 0.0006908 0.17% FabArray::mult() 22 0.0006889 0.0006889 0.0006889 0.17% Castro::check_for_nan() 10 0.0006614 0.0006614 0.0006614 0.16% MultiFab::contains_nan() 10 0.000654 0.000654 0.000654 0.16% FabArrayBase::CPC::define() 244 0.0004303 0.0004303 0.0004303 0.11% Amr::InitAmr() 1 0.0004108 0.0004108 0.0004108 0.10% FabArrayBase::getFB() 1766 0.0003172 0.0003172 0.0003172 0.08% Castro::finalize_advance() 5 0.0002909 0.0002909 0.0002909 0.07% Gravity::swapTimeLevels() 5 0.0002307 0.0002307 0.0002307 0.06% MultiFab::max() 6 0.0002068 0.0002068 0.0002068 0.05% MLMG::MLResNormInf() 6 0.000189 0.000189 0.000189 0.05% Castro::buildMetrics() 1 0.0001506 0.0001506 0.0001506 0.04% MLLinOp::define() 6 0.0001475 0.0001475 0.0001475 0.04% MLLinOp::defineGrids() 6 0.0001415 0.0001415 0.0001415 0.03% MLMG::MLRhsNormInf() 6 0.0001226 0.0001226 0.0001226 0.03% Castro::create_source_corrector() 5 0.0001039 0.0001039 0.0001039 0.03% FabArrayBase::FB::FB() 26 5.895e-05 5.895e-05 5.895e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.009e-05 3.009e-05 3.009e-05 0.01% Amr::writeSmallPlotFile() 1 2.783e-05 2.783e-05 2.783e-05 0.01% Castro::swap_state_time_levels() 5 2.459e-05 2.459e-05 2.459e-05 0.01% Castro::initMFs() 1 2.357e-05 2.357e-05 2.357e-05 0.01% makeSFC 30 2.232e-05 2.232e-05 2.232e-05 0.01% DistributionMapping::Distribute() 31 9.954e-06 9.954e-06 9.954e-06 0.00% Amr::initSubcycle() 1 8.952e-06 8.952e-06 8.952e-06 0.00% Castro::retry_advance_ctu() 5 6.08e-06 6.08e-06 6.08e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.204e-06 4.204e-06 4.204e-06 0.00% Gravity::set_mass_offset() 6 2.035e-06 2.035e-06 2.035e-06 0.00% Castro::FluxRegFineAdd() 5 1.474e-06 1.474e-06 1.474e-06 0.00% Castro::FluxRegCrseInit 5 1.358e-06 1.358e-06 1.358e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.208e-06 1.208e-06 1.208e-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 204 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 153 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1077 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2011 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 6761 KiB 14 MiB MLMG::prepareForSolve() 361 361 3410 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 189 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 190 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6747 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 24 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3477 B 2048 KiB Gravity::solve_for_phi() 40 40 629 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 29 KiB 2048 KiB BndryData::define() 576 576 314 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 202 KiB 671 KiB Castro::estTimeStep() 10 10 3543 B 480 KiB VisMF::Write(FabArray) 112 112 1349 B 320 KiB Castro::normalize_species() 30 30 7824 B 320 KiB amrex::average_down 469 469 1204 B 257 KiB MLMG::addInterpCorrection() 468 468 1112 B 257 KiB amrex::Dot() 592 592 3279 B 160 KiB FabArray::norminf() 398 398 2340 B 160 KiB check_for_negative_density() 5 5 379 B 160 KiB MultiFab::max() 6 6 79 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 32 B 20 KiB MLPoisson::Fsmooth() 60 60 3306 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 271 B 9648 B MLCellLinOp::applyBC() 3892 3892 215 B 9344 B amrex::Copy() 56 56 5941 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 38 B 2208 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 116 B 1472 B MLCellLinOp::defineBC() 36 36 353 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1214 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 86 KiB 8192 KiB VisMF::Write(FabArray) 120 120 195 KiB 3584 KiB VisMF::Read() 24 24 183 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3306 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 271 B 9648 B MLCellLinOp::applyBC() 1946 1946 214 B 9328 B amrex::Copy() 56 56 5941 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2642 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 39 B 2256 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 523 B 1296 B amrex::average_down 37 37 222 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 24 B 400 B FabArray::norminf() 398 398 17 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.08-31-g435281069858) finalized