Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-3-g2de66d76894b) initialized Starting run at 08:36:57 UTC on 2023-08-02. Successfully read inputs file ... Castro git describe: 23.08 AMReX git describe: 23.08-3-g2de66d768 Microphysics git describe: 23.08 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.058103343 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033209074 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.05213175 [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.071349997 [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.077528799 [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.07334366 [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.068700155 [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.058497431 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.062986145 [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.074034476 [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.070378029 [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.064228823 [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.064645192 [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.057261438 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033214567 seconds Ending run at 08:36:58 UTC on 2023-08-02. Run time = 0.973004058 Run time without initialization = 0.82909049 Average number of zones advanced per microsecond: 3.162 Average number of zones advanced per microsecond per rank: 3.162 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.973 ... 0.973 ... 0.973 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2925 0.2925 0.2925 30.06% VisMF::Write(FabArray) 11 0.2325 0.2325 0.2325 23.89% MLCellLinOp::applyBC() 4433 0.07979 0.07979 0.07979 8.20% StateData::FillBoundary(geom) 328 0.04235 0.04235 0.04235 4.35% MLPoisson::Fsmooth() 3280 0.0334 0.0334 0.0334 3.43% FillBoundary_nowait() 4023 0.03077 0.03077 0.03077 3.16% amrex::Dot() 1114 0.02092 0.02092 0.02092 2.15% Castro::normalize_species() 62 0.01924 0.01924 0.01924 1.98% Castro::computeTemp() 63 0.01529 0.01529 0.01529 1.57% amrex::Copy() 1029 0.01513 0.01513 0.01513 1.55% FabArray::norminf() 743 0.01461 0.01461 0.01461 1.50% FabArray::ParallelCopy_nowait() 861 0.01398 0.01398 0.01398 1.44% FabArray::setVal() 1144 0.01344 0.01344 0.01344 1.38% MLPoisson::Fapply() 1142 0.01067 0.01067 0.01067 1.10% Castro::enforce_min_density() 62 0.01007 0.01007 0.01007 1.03% MLCellLinOp::defineAuxData() 11 0.01004 0.01004 0.01004 1.03% StateDataPhysBCFunct::() 41 0.009286 0.009286 0.009286 0.95% FabArray::Saxpy() 813 0.008287 0.008287 0.008287 0.85% FabArray::Xpay() 821 0.008234 0.008234 0.008234 0.85% MLMG::addInterpCorrection() 410 0.007076 0.007076 0.007076 0.73% Gravity::fill_multipole_BCs() 11 0.006533 0.006533 0.006533 0.67% amrex::average_down 410 0.006312 0.006312 0.006312 0.65% Castro::estTimeStep() 21 0.005687 0.005687 0.005687 0.58% Amr::checkPoint() 3 0.004971 0.004971 0.004971 0.51% Castro::reset_internal_energy(MultiFab) 63 0.004652 0.004652 0.004652 0.48% FabArray::LinComb() 557 0.004593 0.004593 0.004593 0.47% amrex::Add() 164 0.004353 0.004353 0.004353 0.45% BndryData::define() 11 0.00376 0.00376 0.00376 0.39% Castro::construct_new_gravity_source() 10 0.003169 0.003169 0.003169 0.33% Castro::enforce_speed_limit() 62 0.003169 0.003169 0.003169 0.33% Castro::construct_old_gravity_source() 10 0.002817 0.002817 0.002817 0.29% MLCGSolver::bicgstab 82 0.002483 0.002483 0.002483 0.26% Amr::writePlotFile() 2 0.002357 0.002357 0.002357 0.24% Castro::reset_internal_energy(Fab) 504 0.001912 0.001912 0.001912 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001752 0.001752 0.001752 0.18% MLCellLinOp::smooth() 1640 0.001513 0.001513 0.001513 0.16% Gravity::actual_solve_with_mlmg() 11 0.001486 0.001486 0.001486 0.15% MLCellLinOp::setLevelBC() 11 0.001406 0.001406 0.001406 0.14% check_for_negative_density() 10 0.001337 0.001337 0.001337 0.14% FabArray::mult() 43 0.001334 0.001334 0.001334 0.14% FabArray::setDomainBndry() 41 0.001326 0.001326 0.001326 0.14% MultiFab::contains_nan() 20 0.001237 0.001237 0.001237 0.13% MLCellLinOp::prepareForSolve() 11 0.001166 0.001166 0.001166 0.12% Castro::initData() 1 0.00114 0.00114 0.00114 0.12% FabArray::FillBoundary() 4023 0.0009639 0.0009639 0.0009639 0.10% MLMG::prepareForSolve() 11 0.000945 0.000945 0.000945 0.10% MLCellLinOp::compGrad() 11 0.0009339 0.0009339 0.0009339 0.10% FabArrayBase::getCPC() 1323 0.0008501 0.0008501 0.0008501 0.09% FabArrayBase::CPC::define() 454 0.0007238 0.0007238 0.0007238 0.07% FabArrayBase::getFB() 4023 0.0006772 0.0006772 0.0006772 0.07% MLCellLinOp::apply() 1142 0.0005995 0.0005995 0.0005995 0.06% Gravity::get_new_grav_vector() 11 0.0005605 0.0005605 0.0005605 0.06% main() 1 0.0005405 0.0005405 0.0005405 0.06% Amr::coarseTimeStep() 10 0.0004977 0.0004977 0.0004977 0.05% Gravity::get_old_grav_vector() 10 0.0004851 0.0004851 0.0004851 0.05% Amr::InitAmr() 1 0.0004652 0.0004652 0.0004652 0.05% MLMG::mgVcycle() 82 0.0004395 0.0004395 0.0004395 0.05% MLLinOp::defineGrids() 11 0.0003723 0.0003723 0.0003723 0.04% MLCGSolver::ParallelAllReduce 1514 0.000349 0.000349 0.000349 0.04% AmrLevel::FillPatch() 41 0.000346 0.000346 0.000346 0.04% FabArray::ParallelCopy() 861 0.0002917 0.0002917 0.0002917 0.03% MultiFab::max() 11 0.0002745 0.0002745 0.0002745 0.03% MLCellLinOp::correctionResidual() 492 0.0002547 0.0002547 0.0002547 0.03% FillPatchIterator::Initialize 41 0.000224 0.000224 0.000224 0.02% MLCellLinOp::defineBC() 11 0.0002186 0.0002186 0.0002186 0.02% Castro::subcycle_advance_ctu() 10 0.0002097 0.0002097 0.0002097 0.02% Castro::create_source_corrector() 10 0.000182 0.000182 0.000182 0.02% Amr::timeStep() 10 0.0001791 0.0001791 0.0001791 0.02% Gravity::update_max_rhs() 11 0.0001407 0.0001407 0.0001407 0.01% Castro::construct_new_source() 50 0.0001407 0.0001407 0.0001407 0.01% MLMG:computeResOfCorrection() 410 0.0001388 0.0001388 0.0001388 0.01% StateData::checkPoint() 12 0.0001387 0.0001387 0.0001387 0.01% Castro::advance() 10 0.0001279 0.0001279 0.0001279 0.01% Gravity::solve_for_phi() 10 0.000124 0.000124 0.000124 0.01% MLMG::mgVcycle_down::1 82 0.0001033 0.0001033 0.0001033 0.01% MLMG::mgVcycle_down::2 82 0.000103 0.000103 0.000103 0.01% MLMG::mgVcycle_down::0 82 0.000102 0.000102 0.000102 0.01% MLMG::mgVcycle_down::4 82 0.0001011 0.0001011 0.0001011 0.01% MLMG::actualBottomSolve() 82 0.0001005 0.0001005 0.0001005 0.01% MLMG::mgVcycle_down::3 82 9.95e-05 9.95e-05 9.95e-05 0.01% Castro::Castro() 1 9.738e-05 9.738e-05 9.738e-05 0.01% FabArrayBase::FB::FB() 56 9.491e-05 9.491e-05 9.491e-05 0.01% Castro::initialize_advance() 10 8.422e-05 8.422e-05 8.422e-05 0.01% MLMG::solve() 11 8.146e-05 8.146e-05 8.146e-05 0.01% Castro::clean_state() 62 8.084e-05 8.084e-05 8.084e-05 0.01% AmrLevel::checkPoint() 3 7.616e-05 7.616e-05 7.616e-05 0.01% MLMG::mgVcycle_up::4 82 6.957e-05 6.957e-05 6.957e-05 0.01% MLMG::mgVcycle_up::3 82 6.628e-05 6.628e-05 6.628e-05 0.01% Castro::finalize_advance() 10 6.509e-05 6.509e-05 6.509e-05 0.01% MLMG::mgVcycle_up::0 82 6.484e-05 6.484e-05 6.484e-05 0.01% Castro::initialize_do_advance() 10 6.431e-05 6.431e-05 6.431e-05 0.01% MLMG::mgVcycle_up::1 82 6.25e-05 6.25e-05 6.25e-05 0.01% MLMG::mgVcycle_up::2 82 6.168e-05 6.168e-05 6.168e-05 0.01% MLMG::oneIter() 82 6.106e-05 6.106e-05 6.106e-05 0.01% Castro::do_new_sources() 10 5.681e-05 5.681e-05 5.681e-05 0.01% Castro::do_advance_ctu() 10 5.605e-05 5.605e-05 5.605e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.374e-05 5.374e-05 5.374e-05 0.01% MLCellLinOp::solutionResidual() 93 5.234e-05 5.234e-05 5.234e-05 0.01% Castro::finalize_do_advance() 10 4.298e-05 4.298e-05 4.298e-05 0.00% Castro::swap_state_time_levels() 10 3.992e-05 3.992e-05 3.992e-05 0.00% MLMG::mgVcycle_bottom 82 3.866e-05 3.866e-05 3.866e-05 0.00% MLMG::ResNormInf() 93 3.73e-05 3.73e-05 3.73e-05 0.00% FillPatchSingleLevel 41 3.606e-05 3.606e-05 3.606e-05 0.00% StateData::define() 4 3.549e-05 3.549e-05 3.549e-05 0.00% MLMG::computeResidual() 82 3.464e-05 3.464e-05 3.464e-05 0.00% Castro::enforce_consistent_e() 1 3.461e-05 3.461e-05 3.461e-05 0.00% Castro::construct_new_gravity() 10 2.997e-05 2.997e-05 2.997e-05 0.00% makeSFC 55 2.957e-05 2.957e-05 2.957e-05 0.00% MLPoisson::define() 11 2.941e-05 2.941e-05 2.941e-05 0.00% Amr::writeSmallPlotFile() 1 2.526e-05 2.526e-05 2.526e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.443e-05 2.443e-05 2.443e-05 0.00% Castro::initMFs() 1 2.385e-05 2.385e-05 2.385e-05 0.00% Castro::do_old_sources() 10 2.355e-05 2.355e-05 2.355e-05 0.00% Amr::FinalizeInit() 1 2.293e-05 2.293e-05 2.293e-05 0.00% Castro::buildMetrics() 1 1.921e-05 1.921e-05 1.921e-05 0.00% Castro::construct_old_source() 50 1.895e-05 1.895e-05 1.895e-05 0.00% MLLinOp::define() 11 1.805e-05 1.805e-05 1.805e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.712e-05 1.712e-05 1.712e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.704e-05 1.704e-05 1.704e-05 0.00% DistributionMapping::Distribute() 56 1.517e-05 1.517e-05 1.517e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.465e-05 1.465e-05 1.465e-05 0.00% Castro::apply_source_to_state() 20 1.34e-05 1.34e-05 1.34e-05 0.00% Amr::defBaseLevel() 1 1.261e-05 1.261e-05 1.261e-05 0.00% Castro::check_for_nan() 20 1.196e-05 1.196e-05 1.196e-05 0.00% Castro::construct_old_gravity() 10 1.153e-05 1.153e-05 1.153e-05 0.00% Castro::post_timestep() 10 1.132e-05 1.132e-05 1.132e-05 0.00% Gravity::swapTimeLevels() 10 1.069e-05 1.069e-05 1.069e-05 0.00% MLMG::computeMLResidual() 11 8.954e-06 8.954e-06 8.954e-06 0.00% Amr::initSubcycle() 1 8.807e-06 8.807e-06 8.807e-06 0.00% MLPoisson::prepareForSolve() 11 8.749e-06 8.749e-06 8.749e-06 0.00% Gravity::actual_multilevel_solve() 1 8.535e-06 8.535e-06 8.535e-06 0.00% Castro::computeNewDt() 9 7.016e-06 7.016e-06 7.016e-06 0.00% MLMG::getGradSolution() 11 6.99e-06 6.99e-06 6.99e-06 0.00% Castro::expand_state() 10 5.887e-06 5.887e-06 5.887e-06 0.00% AmrLevel::checkPointPost() 3 5.848e-06 5.848e-06 5.848e-06 0.00% Gravity::set_mass_offset() 11 5.606e-06 5.606e-06 5.606e-06 0.00% Amr::InitializeInit() 1 4.988e-06 4.988e-06 4.988e-06 0.00% MLMG::MLRhsNormInf() 11 4.363e-06 4.363e-06 4.363e-06 0.00% Castro::retry_advance_ctu() 10 4.119e-06 4.119e-06 4.119e-06 0.00% Castro::post_init() 1 4.046e-06 4.046e-06 4.046e-06 0.00% MLMG::MLResNormInf() 11 3.937e-06 3.937e-06 3.937e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.536e-06 3.536e-06 3.536e-06 0.00% Castro::FluxRegCrseInit 10 3.018e-06 3.018e-06 3.018e-06 0.00% Castro::computeInitialDt() 2 2.789e-06 2.789e-06 2.789e-06 0.00% Amr::init() 1 2.5e-06 2.5e-06 2.5e-06 0.00% Castro::FluxRegFineAdd() 10 2.242e-06 2.242e-06 2.242e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.959e-06 1.959e-06 1.959e-06 0.00% AmrLevel::checkPointPre() 3 1.78e-06 1.78e-06 1.78e-06 0.00% Amr::initialInit() 1 1.305e-06 1.305e-06 1.305e-06 0.00% Castro::post_regrid() 1 1.223e-06 1.223e-06 1.223e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.973 0.973 0.973 100.00% Amr::coarseTimeStep() 10 0.7957 0.7957 0.7957 81.77% Amr::timeStep() 10 0.6761 0.6761 0.6761 69.48% Castro::advance() 10 0.6648 0.6648 0.6648 68.33% Castro::subcycle_advance_ctu() 10 0.6525 0.6525 0.6525 67.06% Castro::do_advance_ctu() 10 0.6523 0.6523 0.6523 67.04% Castro::construct_ctu_hydro_source() 10 0.3018 0.3018 0.3018 31.02% Gravity::solve_phi_with_mlmg() 11 0.2924 0.2924 0.2924 30.05% Gravity::actual_solve_with_mlmg() 11 0.2854 0.2854 0.2854 29.33% Castro::construct_new_gravity() 10 0.2711 0.2711 0.2711 27.86% MLMG::solve() 11 0.2641 0.2641 0.2641 27.15% Gravity::solve_for_phi() 10 0.2499 0.2499 0.2499 25.68% MLMG::oneIter() 82 0.2494 0.2494 0.2494 25.63% MLMG::mgVcycle() 82 0.2458 0.2458 0.2458 25.26% VisMF::Write(FabArray) 11 0.2325 0.2325 0.2325 23.89% Amr::checkPoint() 3 0.174 0.174 0.174 17.88% AmrLevel::checkPoint() 3 0.169 0.169 0.169 17.37% StateData::checkPoint() 12 0.1689 0.1689 0.1689 17.36% Amr::init() 1 0.1431 0.1431 0.1431 14.70% MLCellLinOp::smooth() 1640 0.1205 0.1205 0.1205 12.38% MLCellLinOp::applyBC() 4433 0.1123 0.1123 0.1123 11.54% MLMG::mgVcycle_bottom 82 0.07581 0.07581 0.07581 7.79% MLMG::actualBottomSolve() 82 0.07577 0.07577 0.07577 7.79% MLCGSolver::bicgstab 82 0.07504 0.07504 0.07504 7.71% Amr::writePlotFile() 2 0.06654 0.06654 0.06654 6.84% AmrLevel::FillPatch() 41 0.06159 0.06159 0.06159 6.33% FillPatchIterator::Initialize 41 0.05738 0.05738 0.05738 5.90% FillPatchIterator::FillFromLevel0() 41 0.05583 0.05583 0.05583 5.74% FillPatchSingleLevel 41 0.05577 0.05577 0.05577 5.73% Castro::clean_state() 62 0.05364 0.05364 0.05364 5.51% StateDataPhysBCFunct::() 41 0.05164 0.05164 0.05164 5.31% Amr::initialInit() 1 0.05163 0.05163 0.05163 5.31% Amr::FinalizeInit() 1 0.04748 0.04748 0.04748 4.88% Castro::post_init() 1 0.04618 0.04618 0.04618 4.75% Gravity::multilevel_solve_for_new_phi() 1 0.04304 0.04304 0.04304 4.42% Gravity::actual_multilevel_solve() 1 0.04302 0.04302 0.04302 4.42% StateData::FillBoundary(geom) 328 0.04235 0.04235 0.04235 4.35% MLCellLinOp::apply() 1142 0.0375 0.0375 0.0375 3.85% MLMG::mgVcycle_down::0 82 0.03419 0.03419 0.03419 3.51% MLPoisson::Fsmooth() 3280 0.0334 0.0334 0.0334 3.43% FabArray::FillBoundary() 4023 0.03251 0.03251 0.03251 3.34% FillBoundary_nowait() 4023 0.03154 0.03154 0.03154 3.24% MLMG::mgVcycle_up::0 82 0.02606 0.02606 0.02606 2.68% Gravity::get_new_grav_vector() 11 0.02404 0.02404 0.02404 2.47% MLCellLinOp::correctionResidual() 492 0.0228 0.0228 0.0228 2.34% Castro::computeTemp() 63 0.02185 0.02185 0.02185 2.25% Castro::initialize_do_advance() 10 0.02144 0.02144 0.02144 2.20% amrex::Dot() 1114 0.02092 0.02092 0.02092 2.15% Castro::construct_old_gravity() 10 0.02078 0.02078 0.02078 2.14% Gravity::get_old_grav_vector() 10 0.02077 0.02077 0.02077 2.13% Castro::do_old_sources() 10 0.02066 0.02066 0.02066 2.12% MLMG:computeResOfCorrection() 410 0.02006 0.02006 0.02006 2.06% Castro::normalize_species() 62 0.01924 0.01924 0.01924 1.98% MLPoisson::define() 11 0.01695 0.01695 0.01695 1.74% MLMG::mgVcycle_down::1 82 0.0165 0.0165 0.0165 1.70% MLMG::mgVcycle_down::2 82 0.01544 0.01544 0.01544 1.59% FabArray::ParallelCopy() 861 0.01515 0.01515 0.01515 1.56% amrex::Copy() 1029 0.01513 0.01513 0.01513 1.55% MLMG::mgVcycle_down::3 82 0.0151 0.0151 0.0151 1.55% MLMG::mgVcycle_down::4 82 0.01494 0.01494 0.01494 1.54% FabArray::ParallelCopy_nowait() 861 0.01486 0.01486 0.01486 1.53% FabArray::norminf() 743 0.01461 0.01461 0.01461 1.50% FabArray::setVal() 1144 0.01344 0.01344 0.01344 1.38% Castro::do_new_sources() 10 0.01314 0.01314 0.01314 1.35% MLCGSolver::ParallelAllReduce 1514 0.01262 0.01262 0.01262 1.30% MLMG::addInterpCorrection() 410 0.01258 0.01258 0.01258 1.29% Castro::expand_state() 10 0.0123 0.0123 0.0123 1.26% MLMG::mgVcycle_up::4 82 0.01198 0.01198 0.01198 1.23% MLMG::mgVcycle_up::1 82 0.01198 0.01198 0.01198 1.23% amrex::average_down 410 0.01185 0.01185 0.01185 1.22% MLMG::mgVcycle_up::2 82 0.01174 0.01174 0.01174 1.21% Castro::initialize_advance() 10 0.01164 0.01164 0.01164 1.20% MLMG::mgVcycle_up::3 82 0.01159 0.01159 0.01159 1.19% MLCellLinOp::defineAuxData() 11 0.01147 0.01147 0.01147 1.18% Castro::post_timestep() 10 0.01106 0.01106 0.01106 1.14% MLPoisson::Fapply() 1142 0.01067 0.01067 0.01067 1.10% Castro::enforce_min_density() 62 0.01007 0.01007 0.01007 1.03% FabArray::Saxpy() 813 0.008287 0.008287 0.008287 0.85% FabArray::Xpay() 821 0.008234 0.008234 0.008234 0.85% MLCellLinOp::solutionResidual() 93 0.007309 0.007309 0.007309 0.75% Gravity::fill_multipole_BCs() 11 0.006797 0.006797 0.006797 0.70% Castro::reset_internal_energy(MultiFab) 63 0.006564 0.006564 0.006564 0.67% MLMG::computeResidual() 82 0.006278 0.006278 0.006278 0.65% Castro::estTimeStep() 21 0.005687 0.005687 0.005687 0.58% MLCellLinOp::defineBC() 11 0.004999 0.004999 0.004999 0.51% MLMG::prepareForSolve() 11 0.004889 0.004889 0.004889 0.50% BndryData::define() 11 0.004781 0.004781 0.004781 0.49% FabArray::LinComb() 557 0.004593 0.004593 0.004593 0.47% amrex::Add() 164 0.004353 0.004353 0.004353 0.45% Amr::InitializeInit() 1 0.004157 0.004157 0.004157 0.43% Amr::defBaseLevel() 1 0.004152 0.004152 0.004152 0.43% Castro::initData() 1 0.003627 0.003627 0.003627 0.37% Castro::construct_new_source() 50 0.00331 0.00331 0.00331 0.34% Castro::construct_new_gravity_source() 10 0.003169 0.003169 0.003169 0.33% Castro::enforce_speed_limit() 62 0.003169 0.003169 0.003169 0.33% Castro::construct_old_source() 50 0.002836 0.002836 0.002836 0.29% Castro::construct_old_gravity_source() 10 0.002817 0.002817 0.002817 0.29% Castro::computeNewDt() 9 0.002535 0.002535 0.002535 0.26% Castro::finalize_do_advance() 10 0.002367 0.002367 0.002367 0.24% MLMG::ResNormInf() 93 0.002169 0.002169 0.002169 0.22% Castro::reset_internal_energy(Fab) 504 0.001912 0.001912 0.001912 0.20% Castro::apply_source_to_state() 20 0.001832 0.001832 0.001832 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001752 0.001752 0.001752 0.18% FabArrayBase::getCPC() 1323 0.001574 0.001574 0.001574 0.16% MLMG::getGradSolution() 11 0.001422 0.001422 0.001422 0.15% MLCellLinOp::compGrad() 11 0.001415 0.001415 0.001415 0.15% MLCellLinOp::setLevelBC() 11 0.001406 0.001406 0.001406 0.14% check_for_negative_density() 10 0.001337 0.001337 0.001337 0.14% FabArray::mult() 43 0.001334 0.001334 0.001334 0.14% FabArray::setDomainBndry() 41 0.001326 0.001326 0.001326 0.14% Castro::check_for_nan() 20 0.001248 0.001248 0.001248 0.13% MultiFab::contains_nan() 20 0.001237 0.001237 0.001237 0.13% MLPoisson::prepareForSolve() 11 0.001175 0.001175 0.001175 0.12% MLCellLinOp::prepareForSolve() 11 0.001166 0.001166 0.001166 0.12% Castro::post_regrid() 1 0.00112 0.00112 0.00112 0.12% MLMG::computeMLResidual() 11 0.001074 0.001074 0.001074 0.11% Gravity::update_max_rhs() 11 0.0008829 0.0008829 0.0008829 0.09% Castro::computeInitialDt() 2 0.000838 0.000838 0.000838 0.09% FabArrayBase::getFB() 4023 0.0007721 0.0007721 0.0007721 0.08% FabArrayBase::CPC::define() 454 0.0007238 0.0007238 0.0007238 0.07% Castro::finalize_advance() 10 0.0005897 0.0005897 0.0005897 0.06% Amr::InitAmr() 1 0.000474 0.000474 0.000474 0.05% Castro::Castro() 1 0.0004549 0.0004549 0.0004549 0.05% Gravity::swapTimeLevels() 10 0.0004536 0.0004536 0.0004536 0.05% MLLinOp::define() 11 0.0004505 0.0004505 0.0004505 0.05% MLLinOp::defineGrids() 11 0.0004325 0.0004325 0.0004325 0.04% MLMG::MLResNormInf() 11 0.0002979 0.0002979 0.0002979 0.03% MultiFab::max() 11 0.0002745 0.0002745 0.0002745 0.03% MLMG::MLRhsNormInf() 11 0.000229 0.000229 0.000229 0.02% Castro::create_source_corrector() 10 0.000182 0.000182 0.000182 0.02% Castro::buildMetrics() 1 0.0001675 0.0001675 0.0001675 0.02% FabArrayBase::FB::FB() 56 9.491e-05 9.491e-05 9.491e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.824e-05 5.824e-05 5.824e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.262e-05 5.262e-05 5.262e-05 0.01% makeSFC 55 4.358e-05 4.358e-05 4.358e-05 0.00% Castro::swap_state_time_levels() 10 3.992e-05 3.992e-05 3.992e-05 0.00% StateData::define() 4 3.549e-05 3.549e-05 3.549e-05 0.00% Castro::enforce_consistent_e() 1 3.461e-05 3.461e-05 3.461e-05 0.00% Amr::writeSmallPlotFile() 1 2.526e-05 2.526e-05 2.526e-05 0.00% Castro::initMFs() 1 2.385e-05 2.385e-05 2.385e-05 0.00% DistributionMapping::Distribute() 56 1.517e-05 1.517e-05 1.517e-05 0.00% Amr::initSubcycle() 1 8.807e-06 8.807e-06 8.807e-06 0.00% AmrLevel::checkPointPost() 3 5.848e-06 5.848e-06 5.848e-06 0.00% Gravity::set_mass_offset() 11 5.606e-06 5.606e-06 5.606e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.689e-06 4.689e-06 4.689e-06 0.00% Castro::retry_advance_ctu() 10 4.119e-06 4.119e-06 4.119e-06 0.00% Castro::FluxRegCrseInit 10 3.018e-06 3.018e-06 3.018e-06 0.00% Castro::FluxRegFineAdd() 10 2.242e-06 2.242e-06 2.242e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.959e-06 1.959e-06 1.959e-06 0.00% AmrLevel::checkPointPre() 3 1.78e-06 1.78e-06 1.78e-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 78 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 142 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1138 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1922 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7607 KiB 14 MiB MLMG::prepareForSolve() 660 660 3339 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 256 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 218 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7529 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1724 B 2048 KiB Gravity::solve_for_phi() 80 80 525 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 90 KiB 2048 KiB BndryData::define() 1056 1056 304 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 193 KiB 671 KiB Castro::estTimeStep() 21 21 2847 B 480 KiB VisMF::Write(FabArray) 656 656 3096 B 320 KiB Castro::normalize_species() 62 62 6440 B 320 KiB amrex::average_down 1067 1067 1210 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1090 B 257 KiB amrex::Dot() 1360 1360 3157 B 160 KiB FabArray::norminf() 907 907 2210 B 160 KiB check_for_negative_density() 10 10 211 B 160 KiB Castro::initData() 1 1 26 B 160 KiB MultiFab::max() 11 11 43 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 25 B 20 KiB MLPoisson::Fsmooth() 132 132 3264 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 275 B 9648 B MLCellLinOp::applyBC() 8866 8866 207 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3873 B 6144 B StateData::FillBoundary(geom) 1992 1992 35 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 112 B 1472 B MLCellLinOp::defineBC() 66 66 343 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 3692 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 45 KiB 8192 KiB VisMF::Write(FabArray) 744 744 551 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3264 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 275 B 9648 B MLCellLinOp::applyBC() 4433 4433 205 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3873 B 6144 B Gravity::get_new_grav_vector() 3 3 2913 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 36 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 278 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 23 B 400 B FabArray::norminf() 907 907 16 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2422 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.08-3-g2de66d76894b) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-3-g2de66d76894b) initialized Starting run at 08:36:59 UTC on 2023-08-02. Successfully read inputs file ... Castro git describe: 23.08 AMReX git describe: 23.08-3-g2de66d768 Microphysics git describe: 23.08 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.545268622 Restart time = 0.044735948 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.04829399 [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.056964811 [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.07545836 [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.079617764 [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.056641531 [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.074440681 seconds Ending run at 08:36:59 UTC on 2023-08-02. Run time = 0.437117151 Run time without initialization = 0.391816582 Average number of zones advanced per microsecond: 3.345 Average number of zones advanced per microsecond per rank: 3.345 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4371 ... 0.4371 ... 0.4371 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1373 0.1373 0.1373 31.40% Amr::writePlotFile() 1 0.043 0.043 0.043 9.84% VisMF::Read() 3 0.03862 0.03862 0.03862 8.84% MLCellLinOp::applyBC() 1946 0.03221 0.03221 0.03221 7.37% VisMF::Write(FabArray) 1 0.03124 0.03124 0.03124 7.15% MLPoisson::Fsmooth() 1440 0.01345 0.01345 0.01345 3.08% FillBoundary_nowait() 1766 0.01273 0.01273 0.01273 2.91% StateData::FillBoundary(geom) 160 0.01193 0.01193 0.01193 2.73% Castro::normalize_species() 30 0.009767 0.009767 0.009767 2.23% amrex::Dot() 484 0.008382 0.008382 0.008382 1.92% amrex::Copy() 463 0.006816 0.006816 0.006816 1.56% Castro::computeTemp() 30 0.006033 0.006033 0.006033 1.38% FabArray::setVal() 537 0.006025 0.006025 0.006025 1.38% FabArray::norminf() 326 0.005944 0.005944 0.005944 1.36% FabArray::ParallelCopy_nowait() 380 0.005853 0.005853 0.005853 1.34% Castro::enforce_min_density() 30 0.005338 0.005338 0.005338 1.22% StateDataPhysBCFunct::() 20 0.005122 0.005122 0.005122 1.17% MLCellLinOp::defineAuxData() 6 0.004932 0.004932 0.004932 1.13% MLPoisson::Fapply() 500 0.004266 0.004266 0.004266 0.98% Castro::estTimeStep() 10 0.003535 0.003535 0.003535 0.81% FabArray::Saxpy() 355 0.003492 0.003492 0.003492 0.80% FabArray::Xpay() 361 0.00339 0.00339 0.00339 0.78% Gravity::fill_multipole_BCs() 6 0.003359 0.003359 0.003359 0.77% MLMG::addInterpCorrection() 180 0.002866 0.002866 0.002866 0.66% amrex::average_down 180 0.002531 0.002531 0.002531 0.58% Amr::restart() 1 0.002471 0.002471 0.002471 0.57% Castro::reset_internal_energy(MultiFab) 30 0.002174 0.002174 0.002174 0.50% BndryData::define() 6 0.001906 0.001906 0.001906 0.44% FabArray::LinComb() 242 0.001833 0.001833 0.001833 0.42% amrex::Add() 72 0.001823 0.001823 0.001823 0.42% Castro::construct_new_gravity_source() 5 0.001665 0.001665 0.001665 0.38% Castro::construct_old_gravity_source() 5 0.001436 0.001436 0.001436 0.33% MLCGSolver::bicgstab 36 0.0009458 0.0009458 0.0009458 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.00086 0.00086 0.00086 0.20% Gravity::actual_solve_with_mlmg() 6 0.00077 0.00077 0.00077 0.18% Castro::reset_internal_energy(Fab) 240 0.000746 0.000746 0.000746 0.17% MLCellLinOp::setLevelBC() 6 0.0007254 0.0007254 0.0007254 0.17% check_for_negative_density() 5 0.0007158 0.0007158 0.0007158 0.16% Castro::subcycle_advance_ctu() 5 0.0006648 0.0006648 0.0006648 0.15% FabArray::mult() 22 0.0006333 0.0006333 0.0006333 0.14% FabArray::setDomainBndry() 20 0.0006265 0.0006265 0.0006265 0.14% MultiFab::contains_nan() 10 0.0005832 0.0005832 0.0005832 0.13% MLCellLinOp::prepareForSolve() 6 0.0005786 0.0005786 0.0005786 0.13% MLCellLinOp::smooth() 720 0.000501 0.000501 0.000501 0.11% MLCellLinOp::compGrad() 6 0.0004796 0.0004796 0.0004796 0.11% MLMG::prepareForSolve() 6 0.0004653 0.0004653 0.0004653 0.11% Castro::enforce_speed_limit() 30 0.0004264 0.0004264 0.0004264 0.10% FabArrayBase::CPC::define() 244 0.0004224 0.0004224 0.0004224 0.10% Amr::InitAmr() 1 0.0003866 0.0003866 0.0003866 0.09% FabArray::FillBoundary() 1766 0.0003743 0.0003743 0.0003743 0.09% FabArrayBase::getCPC() 632 0.0003577 0.0003577 0.0003577 0.08% main() 1 0.0002729 0.0002729 0.0002729 0.06% FabArrayBase::getFB() 1766 0.0002705 0.0002705 0.0002705 0.06% Gravity::get_old_grav_vector() 5 0.0002627 0.0002627 0.0002627 0.06% Gravity::get_new_grav_vector() 5 0.0002315 0.0002315 0.0002315 0.05% MLCellLinOp::apply() 500 0.0002024 0.0002024 0.0002024 0.05% MLLinOp::defineGrids() 6 0.0001924 0.0001924 0.0001924 0.04% AmrLevel::FillPatch() 20 0.0001604 0.0001604 0.0001604 0.04% Amr::coarseTimeStep() 5 0.0001548 0.0001548 0.0001548 0.04% MLMG::mgVcycle() 36 0.0001472 0.0001472 0.0001472 0.03% MLCGSolver::ParallelAllReduce 659 0.0001346 0.0001346 0.0001346 0.03% MultiFab::max() 6 0.0001344 0.0001344 0.0001344 0.03% MLCellLinOp::defineBC() 6 0.0001103 0.0001103 0.0001103 0.03% FabArray::ParallelCopy() 380 0.0001077 0.0001077 0.0001077 0.02% Castro::do_new_sources() 5 0.0001045 0.0001045 0.0001045 0.02% FillPatchIterator::Initialize 20 0.0001045 0.0001045 0.0001045 0.02% Castro::construct_new_source() 25 9.196e-05 9.196e-05 9.196e-05 0.02% MLCellLinOp::correctionResidual() 216 9.074e-05 9.074e-05 9.074e-05 0.02% Castro::create_source_corrector() 5 8.623e-05 8.623e-05 8.623e-05 0.02% Amr::timeStep() 5 8.204e-05 8.204e-05 8.204e-05 0.02% AmrLevel::restart() 1 7.583e-05 7.583e-05 7.583e-05 0.02% Castro::finalize_do_advance() 5 6.624e-05 6.624e-05 6.624e-05 0.02% Gravity::update_max_rhs() 6 6.483e-05 6.483e-05 6.483e-05 0.01% StateData::restartDoit() 4 6.412e-05 6.412e-05 6.412e-05 0.01% FabArrayBase::FB::FB() 26 6.125e-05 6.125e-05 6.125e-05 0.01% Castro::advance() 5 5.83e-05 5.83e-05 5.83e-05 0.01% MLMG:computeResOfCorrection() 180 5.446e-05 5.446e-05 5.446e-05 0.01% Gravity::solve_for_phi() 5 5.191e-05 5.191e-05 5.191e-05 0.01% MLMG::mgVcycle_down::1 36 3.964e-05 3.964e-05 3.964e-05 0.01% MLMG::mgVcycle_down::0 36 3.947e-05 3.947e-05 3.947e-05 0.01% MLMG::actualBottomSolve() 36 3.924e-05 3.924e-05 3.924e-05 0.01% MLMG::mgVcycle_down::4 36 3.739e-05 3.739e-05 3.739e-05 0.01% MLMG::mgVcycle_down::2 36 3.702e-05 3.702e-05 3.702e-05 0.01% MLMG::mgVcycle_down::3 36 3.61e-05 3.61e-05 3.61e-05 0.01% Castro::initialize_advance() 5 3.402e-05 3.402e-05 3.402e-05 0.01% MLMG::solve() 6 3.352e-05 3.352e-05 3.352e-05 0.01% Castro::construct_old_source() 25 3.264e-05 3.264e-05 3.264e-05 0.01% Castro::post_timestep() 5 3.179e-05 3.179e-05 3.179e-05 0.01% Castro::clean_state() 30 3.05e-05 3.05e-05 3.05e-05 0.01% MLMG::mgVcycle_up::4 36 2.977e-05 2.977e-05 2.977e-05 0.01% Castro::initialize_do_advance() 5 2.859e-05 2.859e-05 2.859e-05 0.01% Castro::finalize_advance() 5 2.749e-05 2.749e-05 2.749e-05 0.01% Amr::writeSmallPlotFile() 1 2.664e-05 2.664e-05 2.664e-05 0.01% Castro::initMFs() 1 2.647e-05 2.647e-05 2.647e-05 0.01% Castro::buildMetrics() 1 2.636e-05 2.636e-05 2.636e-05 0.01% MLMG::mgVcycle_up::3 36 2.48e-05 2.48e-05 2.48e-05 0.01% MLMG::mgVcycle_up::0 36 2.445e-05 2.445e-05 2.445e-05 0.01% MLMG::mgVcycle_up::2 36 2.443e-05 2.443e-05 2.443e-05 0.01% Castro::swap_state_time_levels() 5 2.368e-05 2.368e-05 2.368e-05 0.01% MLMG::mgVcycle_up::1 36 2.35e-05 2.35e-05 2.35e-05 0.01% MLMG::oneIter() 36 2.334e-05 2.334e-05 2.334e-05 0.01% Castro::do_advance_ctu() 5 2.27e-05 2.27e-05 2.27e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.146e-05 2.146e-05 2.146e-05 0.00% MLCellLinOp::solutionResidual() 42 1.975e-05 1.975e-05 1.975e-05 0.00% MLPoisson::define() 6 1.938e-05 1.938e-05 1.938e-05 0.00% Castro::post_restart() 1 1.928e-05 1.928e-05 1.928e-05 0.00% MLMG::ResNormInf() 42 1.688e-05 1.688e-05 1.688e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.615e-05 1.615e-05 1.615e-05 0.00% MLMG::mgVcycle_bottom 36 1.539e-05 1.539e-05 1.539e-05 0.00% FillPatchSingleLevel 20 1.397e-05 1.397e-05 1.397e-05 0.00% MLMG::computeResidual() 36 1.345e-05 1.345e-05 1.345e-05 0.00% makeSFC 30 1.278e-05 1.278e-05 1.278e-05 0.00% Castro::construct_new_gravity() 5 1.166e-05 1.166e-05 1.166e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.149e-05 1.149e-05 1.149e-05 0.00% MLLinOp::define() 6 1.148e-05 1.148e-05 1.148e-05 0.00% Castro::do_old_sources() 5 1.086e-05 1.086e-05 1.086e-05 0.00% Amr::initSubcycle() 1 8.537e-06 8.537e-06 8.537e-06 0.00% DistributionMapping::Distribute() 31 8.271e-06 8.271e-06 8.271e-06 0.00% Gravity::actual_multilevel_solve() 1 7.336e-06 7.336e-06 7.336e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.186e-06 7.186e-06 7.186e-06 0.00% Castro::construct_old_gravity() 5 5.713e-06 5.713e-06 5.713e-06 0.00% Castro::check_for_nan() 10 5.679e-06 5.679e-06 5.679e-06 0.00% Castro::apply_source_to_state() 10 4.796e-06 4.796e-06 4.796e-06 0.00% MLPoisson::prepareForSolve() 6 4.52e-06 4.52e-06 4.52e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.049e-06 4.049e-06 4.049e-06 0.00% Gravity::swapTimeLevels() 5 3.973e-06 3.973e-06 3.973e-06 0.00% MLMG::computeMLResidual() 6 3.54e-06 3.54e-06 3.54e-06 0.00% Castro::computeNewDt() 5 3.03e-06 3.03e-06 3.03e-06 0.00% MLMG::getGradSolution() 6 2.948e-06 2.948e-06 2.948e-06 0.00% Castro::expand_state() 5 2.618e-06 2.618e-06 2.618e-06 0.00% MLMG::MLResNormInf() 6 2.235e-06 2.235e-06 2.235e-06 0.00% MLMG::MLRhsNormInf() 6 2.106e-06 2.106e-06 2.106e-06 0.00% Gravity::set_mass_offset() 6 2.023e-06 2.023e-06 2.023e-06 0.00% Castro::retry_advance_ctu() 5 1.945e-06 1.945e-06 1.945e-06 0.00% Castro::FluxRegCrseInit 5 1.446e-06 1.446e-06 1.446e-06 0.00% Castro::FluxRegFineAdd() 5 1.132e-06 1.132e-06 1.132e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.64e-07 9.64e-07 9.64e-07 0.00% Amr::init() 1 9.45e-07 9.45e-07 9.45e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4371 0.4371 0.4371 100.00% Amr::coarseTimeStep() 5 0.3171 0.3171 0.3171 72.54% Amr::timeStep() 5 0.315 0.315 0.315 72.06% Castro::advance() 5 0.3111 0.3111 0.3111 71.17% Castro::subcycle_advance_ctu() 5 0.3039 0.3039 0.3039 69.52% Castro::do_advance_ctu() 5 0.3033 0.3033 0.3033 69.37% Castro::construct_ctu_hydro_source() 5 0.1422 0.1422 0.1422 32.54% Castro::construct_new_gravity() 5 0.1259 0.1259 0.1259 28.79% Gravity::solve_phi_with_mlmg() 6 0.1212 0.1212 0.1212 27.72% Gravity::solve_for_phi() 5 0.1182 0.1182 0.1182 27.03% Gravity::actual_solve_with_mlmg() 6 0.1176 0.1176 0.1176 26.89% MLMG::solve() 6 0.1069 0.1069 0.1069 24.45% MLMG::oneIter() 36 0.1002 0.1002 0.1002 22.93% MLMG::mgVcycle() 36 0.0987 0.0987 0.0987 22.58% Amr::writePlotFile() 1 0.07453 0.07453 0.07453 17.05% MLCellLinOp::smooth() 720 0.04863 0.04863 0.04863 11.12% MLCellLinOp::applyBC() 1946 0.04564 0.04564 0.04564 10.44% Amr::init() 1 0.04478 0.04478 0.04478 10.24% Amr::restart() 1 0.04478 0.04478 0.04478 10.24% AmrLevel::restart() 1 0.03882 0.03882 0.03882 8.88% StateData::restartDoit() 4 0.03874 0.03874 0.03874 8.86% VisMF::Read() 3 0.03862 0.03862 0.03862 8.84% VisMF::Write(FabArray) 1 0.03124 0.03124 0.03124 7.15% MLMG::mgVcycle_bottom 36 0.03024 0.03024 0.03024 6.92% MLMG::actualBottomSolve() 36 0.03023 0.03023 0.03023 6.91% MLCGSolver::bicgstab 36 0.02993 0.02993 0.02993 6.85% Castro::clean_state() 30 0.02452 0.02452 0.02452 5.61% AmrLevel::FillPatch() 20 0.02185 0.02185 0.02185 5.00% FillPatchIterator::Initialize 20 0.01982 0.01982 0.01982 4.53% FillPatchIterator::FillFromLevel0() 20 0.01909 0.01909 0.01909 4.37% FillPatchSingleLevel 20 0.01907 0.01907 0.01907 4.36% StateDataPhysBCFunct::() 20 0.01705 0.01705 0.01705 3.90% MLCellLinOp::apply() 500 0.01517 0.01517 0.01517 3.47% MLMG::mgVcycle_down::0 36 0.01409 0.01409 0.01409 3.22% MLPoisson::Fsmooth() 1440 0.01345 0.01345 0.01345 3.08% FabArray::FillBoundary() 1766 0.01343 0.01343 0.01343 3.07% FillBoundary_nowait() 1766 0.01306 0.01306 0.01306 2.99% StateData::FillBoundary(geom) 160 0.01193 0.01193 0.01193 2.73% MLMG::mgVcycle_up::0 36 0.01069 0.01069 0.01069 2.45% Castro::initialize_do_advance() 5 0.01018 0.01018 0.01018 2.33% Castro::normalize_species() 30 0.009767 0.009767 0.009767 2.23% MLCellLinOp::correctionResidual() 216 0.009238 0.009238 0.009238 2.11% Castro::do_old_sources() 5 0.009087 0.009087 0.009087 2.08% Castro::computeTemp() 30 0.008954 0.008954 0.008954 2.05% MLPoisson::define() 6 0.008447 0.008447 0.008447 1.93% amrex::Dot() 484 0.008382 0.008382 0.008382 1.92% MLMG:computeResOfCorrection() 180 0.008136 0.008136 0.008136 1.86% Gravity::get_new_grav_vector() 5 0.007585 0.007585 0.007585 1.74% Castro::construct_old_gravity() 5 0.007252 0.007252 0.007252 1.66% Gravity::get_old_grav_vector() 5 0.007247 0.007247 0.007247 1.66% Castro::initialize_advance() 5 0.006879 0.006879 0.006879 1.57% amrex::Copy() 463 0.006816 0.006816 0.006816 1.56% MLMG::mgVcycle_down::1 36 0.006597 0.006597 0.006597 1.51% Castro::do_new_sources() 5 0.006478 0.006478 0.006478 1.48% FabArray::ParallelCopy() 380 0.006353 0.006353 0.006353 1.45% FabArray::ParallelCopy_nowait() 380 0.006246 0.006246 0.006246 1.43% MLMG::mgVcycle_down::2 36 0.006151 0.006151 0.006151 1.41% FabArray::setVal() 537 0.006025 0.006025 0.006025 1.38% MLMG::mgVcycle_down::3 36 0.005998 0.005998 0.005998 1.37% FabArray::norminf() 326 0.005944 0.005944 0.005944 1.36% MLMG::mgVcycle_down::4 36 0.005922 0.005922 0.005922 1.35% MLCellLinOp::defineAuxData() 6 0.005637 0.005637 0.005637 1.29% Castro::expand_state() 5 0.00555 0.00555 0.00555 1.27% Castro::enforce_min_density() 30 0.005338 0.005338 0.005338 1.22% MLCGSolver::ParallelAllReduce 659 0.005065 0.005065 0.005065 1.16% MLMG::addInterpCorrection() 180 0.00502 0.00502 0.00502 1.15% MLMG::mgVcycle_up::1 36 0.004807 0.004807 0.004807 1.10% MLMG::mgVcycle_up::4 36 0.004774 0.004774 0.004774 1.09% amrex::average_down 180 0.00472 0.00472 0.00472 1.08% MLMG::mgVcycle_up::2 36 0.004686 0.004686 0.004686 1.07% MLMG::mgVcycle_up::3 36 0.004597 0.004597 0.004597 1.05% MLPoisson::Fapply() 500 0.004266 0.004266 0.004266 0.98% Castro::post_timestep() 5 0.003792 0.003792 0.003792 0.87% Castro::estTimeStep() 10 0.003535 0.003535 0.003535 0.81% FabArray::Saxpy() 355 0.003492 0.003492 0.003492 0.80% Gravity::fill_multipole_BCs() 6 0.003491 0.003491 0.003491 0.80% FabArray::Xpay() 361 0.00339 0.00339 0.00339 0.78% Castro::post_restart() 1 0.003314 0.003314 0.003314 0.76% Gravity::multilevel_solve_for_new_phi() 1 0.003202 0.003202 0.003202 0.73% Gravity::actual_multilevel_solve() 1 0.003186 0.003186 0.003186 0.73% MLCellLinOp::solutionResidual() 42 0.003133 0.003133 0.003133 0.72% Castro::reset_internal_energy(MultiFab) 30 0.00292 0.00292 0.00292 0.67% MLMG::computeResidual() 36 0.0026 0.0026 0.0026 0.59% MLCellLinOp::defineBC() 6 0.002559 0.002559 0.002559 0.59% BndryData::define() 6 0.002449 0.002449 0.002449 0.56% MLMG::prepareForSolve() 6 0.002415 0.002415 0.002415 0.55% Castro::computeNewDt() 5 0.001961 0.001961 0.001961 0.45% FabArray::LinComb() 242 0.001833 0.001833 0.001833 0.42% amrex::Add() 72 0.001823 0.001823 0.001823 0.42% Castro::construct_new_source() 25 0.001757 0.001757 0.001757 0.40% Castro::construct_new_gravity_source() 5 0.001665 0.001665 0.001665 0.38% Castro::finalize_do_advance() 5 0.001643 0.001643 0.001643 0.38% Castro::construct_old_source() 25 0.001469 0.001469 0.001469 0.34% Castro::construct_old_gravity_source() 5 0.001436 0.001436 0.001436 0.33% MLMG::ResNormInf() 42 0.0009239 0.0009239 0.0009239 0.21% Castro::apply_source_to_state() 10 0.0009163 0.0009163 0.0009163 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.00086 0.00086 0.00086 0.20% FabArrayBase::getCPC() 632 0.0007802 0.0007802 0.0007802 0.18% Castro::reset_internal_energy(Fab) 240 0.000746 0.000746 0.000746 0.17% MLMG::getGradSolution() 6 0.000738 0.000738 0.000738 0.17% MLCellLinOp::compGrad() 6 0.0007351 0.0007351 0.0007351 0.17% MLCellLinOp::setLevelBC() 6 0.0007254 0.0007254 0.0007254 0.17% check_for_negative_density() 5 0.0007158 0.0007158 0.0007158 0.16% FabArray::mult() 22 0.0006333 0.0006333 0.0006333 0.14% FabArray::setDomainBndry() 20 0.0006265 0.0006265 0.0006265 0.14% Castro::check_for_nan() 10 0.0005889 0.0005889 0.0005889 0.13% MultiFab::contains_nan() 10 0.0005832 0.0005832 0.0005832 0.13% MLPoisson::prepareForSolve() 6 0.0005832 0.0005832 0.0005832 0.13% MLCellLinOp::prepareForSolve() 6 0.0005786 0.0005786 0.0005786 0.13% MLMG::computeMLResidual() 6 0.0005498 0.0005498 0.0005498 0.13% Gravity::update_max_rhs() 6 0.0004334 0.0004334 0.0004334 0.10% Castro::enforce_speed_limit() 30 0.0004264 0.0004264 0.0004264 0.10% FabArrayBase::CPC::define() 244 0.0004224 0.0004224 0.0004224 0.10% Amr::InitAmr() 1 0.0003952 0.0003952 0.0003952 0.09% FabArrayBase::getFB() 1766 0.0003317 0.0003317 0.0003317 0.08% Castro::finalize_advance() 5 0.0002774 0.0002774 0.0002774 0.06% MLLinOp::define() 6 0.0002318 0.0002318 0.0002318 0.05% Gravity::swapTimeLevels() 5 0.0002232 0.0002232 0.0002232 0.05% MLLinOp::defineGrids() 6 0.0002203 0.0002203 0.0002203 0.05% MLMG::MLResNormInf() 6 0.0001497 0.0001497 0.0001497 0.03% Castro::buildMetrics() 1 0.0001448 0.0001448 0.0001448 0.03% MultiFab::max() 6 0.0001344 0.0001344 0.0001344 0.03% MLMG::MLRhsNormInf() 6 0.0001148 0.0001148 0.0001148 0.03% Castro::create_source_corrector() 5 8.623e-05 8.623e-05 8.623e-05 0.02% FabArrayBase::FB::FB() 26 6.125e-05 6.125e-05 6.125e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.698e-05 2.698e-05 2.698e-05 0.01% Amr::writeSmallPlotFile() 1 2.664e-05 2.664e-05 2.664e-05 0.01% Castro::initMFs() 1 2.647e-05 2.647e-05 2.647e-05 0.01% Castro::swap_state_time_levels() 5 2.368e-05 2.368e-05 2.368e-05 0.01% makeSFC 30 1.98e-05 1.98e-05 1.98e-05 0.00% Amr::initSubcycle() 1 8.537e-06 8.537e-06 8.537e-06 0.00% DistributionMapping::Distribute() 31 8.271e-06 8.271e-06 8.271e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.303e-06 5.303e-06 5.303e-06 0.00% Gravity::set_mass_offset() 6 2.023e-06 2.023e-06 2.023e-06 0.00% Castro::retry_advance_ctu() 5 1.945e-06 1.945e-06 1.945e-06 0.00% Castro::FluxRegCrseInit 5 1.446e-06 1.446e-06 1.446e-06 0.00% Castro::FluxRegFineAdd() 5 1.132e-06 1.132e-06 1.132e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.64e-07 9.64e-07 9.64e-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 184 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 141 MiB 692 MiB Castro::initMFs() 48 48 61 MiB 68 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 987 KiB 39 MiB Castro::initialize_do_advance() 40 40 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2111 KiB 28 MiB Castro::initialize_advance() 40 40 16 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6847 KiB 14 MiB MLMG::prepareForSolve() 361 361 3003 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 172 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 177 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6843 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 12 KiB 2053 KiB Gravity::update_max_rhs() 48 48 1918 B 2048 KiB Gravity::solve_for_phi() 40 40 552 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 14 KiB 2048 KiB BndryData::define() 576 576 276 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 177 KiB 671 KiB Castro::estTimeStep() 10 10 3868 B 480 KiB VisMF::Write(FabArray) 112 112 1105 B 320 KiB Castro::normalize_species() 30 30 7276 B 320 KiB amrex::average_down 469 469 1087 B 257 KiB MLMG::addInterpCorrection() 468 468 994 B 257 KiB amrex::Dot() 592 592 2821 B 160 KiB FabArray::norminf() 398 398 2010 B 160 KiB check_for_negative_density() 5 5 258 B 160 KiB MultiFab::max() 6 6 47 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 26 B 20 KiB MLPoisson::Fsmooth() 60 60 2921 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 253 B 9648 B MLCellLinOp::applyBC() 3892 3892 192 B 9344 B amrex::Copy() 56 56 5933 B 8464 B MLCellLinOp::prepareForSolve() 36 36 2 B 7792 B StateData::FillBoundary(geom) 960 960 41 B 2848 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 99 B 1472 B MLCellLinOp::defineBC() 36 36 310 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1264 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 99 KiB 8192 KiB VisMF::Write(FabArray) 120 120 220 KiB 3584 KiB VisMF::Read() 24 24 172 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 2921 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 253 B 9648 B MLCellLinOp::applyBC() 1946 1946 191 B 9328 B amrex::Copy() 56 56 5933 B 8464 B MLCellLinOp::prepareForSolve() 36 36 2 B 7792 B Gravity::get_old_grav_vector() 3 3 2711 B 3072 B StateData::FillBoundary(geom) 960 960 41 B 2848 B Gravity::fill_multipole_BCs() 18 18 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 494 B 1296 B amrex::average_down 37 37 231 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 20 B 400 B FabArray::norminf() 398 398 14 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2422 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.08-3-g2de66d76894b) finalized