Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-9-g85a89e265369) initialized Starting run at 07:42:29 UTC on 2023-05-09. Successfully read inputs file ... Castro git describe: 23.05-4-g91b60034d AMReX git describe: 23.05-9-g85a89e265 Microphysics git describe: 23.05-3-g3a9cad19 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.059908728 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034697516 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.046953386 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.050061929 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.047919103 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.060706121 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.058691711 [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.059516891 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.080274679 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.070562804 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.061262608 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.060346761 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.062834802 [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.060073656 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.03457256 seconds Ending run at 07:42:30 UTC on 2023-05-09. Run time = 0.898243297 Run time without initialization = 0.754406087 Average number of zones advanced per microsecond: 3.475 Average number of zones advanced per microsecond per rank: 3.475 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8983 ... 0.8983 ... 0.8983 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2418 0.2418 0.2418 26.91% Castro::construct_ctu_hydro_source() 10 0.2339 0.2339 0.2339 26.03% MLCellLinOp::applyBC() 4433 0.07798 0.07798 0.07798 8.68% MLPoisson::Fsmooth() 3280 0.03258 0.03258 0.03258 3.63% FillBoundary_nowait() 4023 0.03131 0.03131 0.03131 3.49% StateData::FillBoundary(geom) 328 0.02531 0.02531 0.02531 2.82% amrex::Dot() 1114 0.02074 0.02074 0.02074 2.31% Castro::computeTemp() 63 0.01499 0.01499 0.01499 1.67% amrex::Copy() 1029 0.01484 0.01484 0.01484 1.65% FabArray::norminf() 743 0.01457 0.01457 0.01457 1.62% Castro::normalize_species() 62 0.0142 0.0142 0.0142 1.58% Castro::enforce_min_density() 62 0.0139 0.0139 0.0139 1.55% FabArray::ParallelCopy_nowait() 861 0.01347 0.01347 0.01347 1.50% FabArray::setVal() 1144 0.01316 0.01316 0.01316 1.46% StateDataPhysBCFunct::() 41 0.01113 0.01113 0.01113 1.24% MLPoisson::Fapply() 1142 0.01039 0.01039 0.01039 1.16% MLCellLinOp::defineAuxData() 11 0.009792 0.009792 0.009792 1.09% FabArray::Saxpy() 813 0.008196 0.008196 0.008196 0.91% FabArray::Xpay() 821 0.008037 0.008037 0.008037 0.89% MLMG::addInterpCorrection() 410 0.006675 0.006675 0.006675 0.74% Gravity::fill_multipole_BCs() 11 0.006283 0.006283 0.006283 0.70% amrex::average_down 410 0.006018 0.006018 0.006018 0.67% Castro::estTimeStep() 21 0.005835 0.005835 0.005835 0.65% FabArray::LinComb() 557 0.004516 0.004516 0.004516 0.50% amrex::Add() 164 0.004361 0.004361 0.004361 0.49% Castro::reset_internal_energy(MultiFab) 63 0.00411 0.00411 0.00411 0.46% Amr::checkPoint() 3 0.004044 0.004044 0.004044 0.45% BndryData::define() 11 0.003797 0.003797 0.003797 0.42% Castro::do_advance_ctu() 10 0.003545 0.003545 0.003545 0.39% Castro::construct_new_gravity_source() 10 0.003303 0.003303 0.003303 0.37% Castro::construct_old_gravity_source() 10 0.002619 0.002619 0.002619 0.29% Amr::writePlotFile() 2 0.002485 0.002485 0.002485 0.28% MLCGSolver::bicgstab 82 0.002221 0.002221 0.002221 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001724 0.001724 0.001724 0.19% Castro::reset_internal_energy(Fab) 504 0.001573 0.001573 0.001573 0.18% Gravity::actual_solve_with_mlmg() 11 0.001471 0.001471 0.001471 0.16% MLCellLinOp::setLevelBC() 11 0.001392 0.001392 0.001392 0.15% FabArray::mult() 43 0.001326 0.001326 0.001326 0.15% FabArray::setDomainBndry() 41 0.00132 0.00132 0.00132 0.15% Castro::enforce_speed_limit() 62 0.001274 0.001274 0.001274 0.14% Castro::initData() 1 0.001245 0.001245 0.001245 0.14% MultiFab::contains_nan() 20 0.001199 0.001199 0.001199 0.13% MLCellLinOp::prepareForSolve() 11 0.001151 0.001151 0.001151 0.13% MLCellLinOp::smooth() 1640 0.001045 0.001045 0.001045 0.12% MLCellLinOp::compGrad() 11 0.0009082 0.0009082 0.0009082 0.10% MLMG::prepareForSolve() 11 0.0008844 0.0008844 0.0008844 0.10% FabArray::FillBoundary() 4023 0.0008143 0.0008143 0.0008143 0.09% Castro::subcycle_advance_ctu() 10 0.0007534 0.0007534 0.0007534 0.08% FabArrayBase::getCPC() 1323 0.0007286 0.0007286 0.0007286 0.08% FabArrayBase::CPC::define() 454 0.000677 0.000677 0.000677 0.08% Gravity::get_new_grav_vector() 11 0.0006337 0.0006337 0.0006337 0.07% FabArrayBase::getFB() 4023 0.0005694 0.0005694 0.0005694 0.06% Gravity::get_old_grav_vector() 10 0.0005509 0.0005509 0.0005509 0.06% Amr::InitAmr() 1 0.0005027 0.0005027 0.0005027 0.06% MLCellLinOp::apply() 1142 0.0004343 0.0004343 0.0004343 0.05% MLLinOp::defineGrids() 11 0.0003594 0.0003594 0.0003594 0.04% MLMG::mgVcycle() 82 0.0003352 0.0003352 0.0003352 0.04% Amr::coarseTimeStep() 10 0.0003324 0.0003324 0.0003324 0.04% main() 1 0.0003012 0.0003012 0.0003012 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002814 0.0002814 0.0002814 0.03% MultiFab::max() 11 0.0002643 0.0002643 0.0002643 0.03% FabArray::ParallelCopy() 861 0.0002437 0.0002437 0.0002437 0.03% FillPatchIterator::Initialize 41 0.0002365 0.0002365 0.0002365 0.03% MLCellLinOp::correctionResidual() 492 0.00023 0.00023 0.00023 0.03% MLCellLinOp::defineBC() 11 0.0002156 0.0002156 0.0002156 0.02% Castro::create_source_corrector() 10 0.0001991 0.0001991 0.0001991 0.02% Amr::timeStep() 10 0.0001538 0.0001538 0.0001538 0.02% StateData::checkPoint() 12 0.0001331 0.0001331 0.0001331 0.01% Gravity::update_max_rhs() 11 0.000121 0.000121 0.000121 0.01% MLMG:computeResOfCorrection() 410 0.0001162 0.0001162 0.0001162 0.01% Gravity::solve_for_phi() 10 0.0001067 0.0001067 0.0001067 0.01% MLMG::mgVcycle_down::1 82 9.504e-05 9.504e-05 9.504e-05 0.01% MLMG::actualBottomSolve() 82 9.305e-05 9.305e-05 9.305e-05 0.01% FabArrayBase::FB::FB() 56 9.199e-05 9.199e-05 9.199e-05 0.01% Castro::Castro() 1 9.055e-05 9.055e-05 9.055e-05 0.01% MLMG::mgVcycle_down::0 82 8.87e-05 8.87e-05 8.87e-05 0.01% Castro::expand_state() 10 8.598e-05 8.598e-05 8.598e-05 0.01% MLMG::mgVcycle_down::2 82 8.075e-05 8.075e-05 8.075e-05 0.01% MLMG::solve() 11 7.806e-05 7.806e-05 7.806e-05 0.01% AmrLevel::checkPoint() 3 7.657e-05 7.657e-05 7.657e-05 0.01% MLMG::mgVcycle_down::3 82 7.617e-05 7.617e-05 7.617e-05 0.01% MLMG::mgVcycle_down::4 82 7.511e-05 7.511e-05 7.511e-05 0.01% Castro::clean_state() 62 7.406e-05 7.406e-05 7.406e-05 0.01% Castro::initialize_advance() 10 7.191e-05 7.191e-05 7.191e-05 0.01% Castro::advance() 10 7.149e-05 7.149e-05 7.149e-05 0.01% Castro::construct_new_source() 50 6.636e-05 6.636e-05 6.636e-05 0.01% Castro::finalize_advance() 10 6.316e-05 6.316e-05 6.316e-05 0.01% MLMG::mgVcycle_up::4 82 6.053e-05 6.053e-05 6.053e-05 0.01% MLMG::oneIter() 82 5.545e-05 5.545e-05 5.545e-05 0.01% Castro::initialize_do_advance() 10 5.415e-05 5.415e-05 5.415e-05 0.01% MLCellLinOp::solutionResidual() 93 5.004e-05 5.004e-05 5.004e-05 0.01% MLMG::mgVcycle_up::1 82 4.957e-05 4.957e-05 4.957e-05 0.01% MLMG::mgVcycle_up::3 82 4.928e-05 4.928e-05 4.928e-05 0.01% MLMG::mgVcycle_up::2 82 4.795e-05 4.795e-05 4.795e-05 0.01% MLMG::mgVcycle_up::0 82 4.723e-05 4.723e-05 4.723e-05 0.01% Castro::finalize_do_advance() 10 3.82e-05 3.82e-05 3.82e-05 0.00% Castro::swap_state_time_levels() 10 3.76e-05 3.76e-05 3.76e-05 0.00% MLMG::ResNormInf() 93 3.677e-05 3.677e-05 3.677e-05 0.00% Castro::enforce_consistent_e() 1 3.362e-05 3.362e-05 3.362e-05 0.00% StateData::define() 4 3.327e-05 3.327e-05 3.327e-05 0.00% MLMG::mgVcycle_bottom 82 3.167e-05 3.167e-05 3.167e-05 0.00% FillPatchSingleLevel 41 2.967e-05 2.967e-05 2.967e-05 0.00% MLMG::computeResidual() 82 2.923e-05 2.923e-05 2.923e-05 0.00% Castro::initMFs() 1 2.579e-05 2.579e-05 2.579e-05 0.00% Amr::writeSmallPlotFile() 1 2.431e-05 2.431e-05 2.431e-05 0.00% Castro::construct_new_gravity() 10 2.39e-05 2.39e-05 2.39e-05 0.00% makeSFC 55 2.335e-05 2.335e-05 2.335e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.205e-05 2.205e-05 2.205e-05 0.00% MLPoisson::define() 11 2.177e-05 2.177e-05 2.177e-05 0.00% Amr::defBaseLevel() 1 2.073e-05 2.073e-05 2.073e-05 0.00% Amr::FinalizeInit() 1 2.047e-05 2.047e-05 2.047e-05 0.00% Castro::buildMetrics() 1 1.844e-05 1.844e-05 1.844e-05 0.00% Castro::construct_old_source() 50 1.78e-05 1.78e-05 1.78e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.741e-05 1.741e-05 1.741e-05 0.00% Castro::do_new_sources() 10 1.566e-05 1.566e-05 1.566e-05 0.00% DistributionMapping::Distribute() 56 1.53e-05 1.53e-05 1.53e-05 0.00% Castro::do_old_sources() 10 1.501e-05 1.501e-05 1.501e-05 0.00% MLPoisson::prepareForSolve() 11 1.397e-05 1.397e-05 1.397e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.33e-05 1.33e-05 1.33e-05 0.00% MLMG::computeMLResidual() 11 1.273e-05 1.273e-05 1.273e-05 0.00% Castro::check_for_nan() 20 1.086e-05 1.086e-05 1.086e-05 0.00% Castro::apply_source_to_state() 20 1.077e-05 1.077e-05 1.077e-05 0.00% MLLinOp::define() 11 1.03e-05 1.03e-05 1.03e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.001e-05 1.001e-05 1.001e-05 0.00% Amr::initSubcycle() 1 8.9e-06 8.9e-06 8.9e-06 0.00% Gravity::swapTimeLevels() 10 8.865e-06 8.865e-06 8.865e-06 0.00% Castro::construct_old_gravity() 10 8.578e-06 8.578e-06 8.578e-06 0.00% Gravity::actual_multilevel_solve() 1 8.455e-06 8.455e-06 8.455e-06 0.00% Castro::post_timestep() 10 7.899e-06 7.899e-06 7.899e-06 0.00% Castro::computeNewDt() 9 6.542e-06 6.542e-06 6.542e-06 0.00% MLMG::getGradSolution() 11 6.01e-06 6.01e-06 6.01e-06 0.00% Amr::InitializeInit() 1 5.16e-06 5.16e-06 5.16e-06 0.00% AmrLevel::checkPointPost() 3 4.362e-06 4.362e-06 4.362e-06 0.00% Gravity::set_mass_offset() 11 4.345e-06 4.345e-06 4.345e-06 0.00% MLMG::MLResNormInf() 11 4.278e-06 4.278e-06 4.278e-06 0.00% Castro::retry_advance_ctu() 10 4.133e-06 4.133e-06 4.133e-06 0.00% MLMG::MLRhsNormInf() 11 3.954e-06 3.954e-06 3.954e-06 0.00% Castro::post_init() 1 3.739e-06 3.739e-06 3.739e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.256e-06 3.256e-06 3.256e-06 0.00% Castro::FluxRegCrseInit 10 2.549e-06 2.549e-06 2.549e-06 0.00% Castro::computeInitialDt() 2 2.394e-06 2.394e-06 2.394e-06 0.00% Amr::init() 1 2.279e-06 2.279e-06 2.279e-06 0.00% Castro::FluxRegFineAdd() 10 2.006e-06 2.006e-06 2.006e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.968e-06 1.968e-06 1.968e-06 0.00% AmrLevel::checkPointPre() 3 1.719e-06 1.719e-06 1.719e-06 0.00% Amr::initialInit() 1 1.507e-06 1.507e-06 1.507e-06 0.00% Castro::post_regrid() 1 1.017e-06 1.017e-06 1.017e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8983 0.8983 0.8983 100.00% Amr::coarseTimeStep() 10 0.7196 0.7196 0.7196 80.11% Amr::timeStep() 10 0.5961 0.5961 0.5961 66.36% Castro::advance() 10 0.5882 0.5882 0.5882 65.48% Castro::subcycle_advance_ctu() 10 0.5761 0.5761 0.5761 64.14% Castro::do_advance_ctu() 10 0.5754 0.5754 0.5754 64.05% Gravity::solve_phi_with_mlmg() 11 0.2855 0.2855 0.2855 31.78% Gravity::actual_solve_with_mlmg() 11 0.2787 0.2787 0.2787 31.03% Castro::construct_new_gravity() 10 0.2601 0.2601 0.2601 28.96% MLMG::solve() 11 0.2579 0.2579 0.2579 28.71% Gravity::solve_for_phi() 10 0.2448 0.2448 0.2448 27.25% MLMG::oneIter() 82 0.2435 0.2435 0.2435 27.11% VisMF::Write(FabArray) 11 0.2418 0.2418 0.2418 26.91% MLMG::mgVcycle() 82 0.2398 0.2398 0.2398 26.70% Castro::construct_ctu_hydro_source() 10 0.2339 0.2339 0.2339 26.03% Amr::checkPoint() 3 0.1796 0.1796 0.1796 20.00% AmrLevel::checkPoint() 3 0.1756 0.1756 0.1756 19.55% StateData::checkPoint() 12 0.1755 0.1755 0.1755 19.54% Amr::init() 1 0.1432 0.1432 0.1432 15.94% MLCellLinOp::smooth() 1640 0.1181 0.1181 0.1181 13.15% MLCellLinOp::applyBC() 4433 0.1108 0.1108 0.1108 12.33% MLMG::mgVcycle_bottom 82 0.07426 0.07426 0.07426 8.27% MLMG::actualBottomSolve() 82 0.07423 0.07423 0.07423 8.26% MLCGSolver::bicgstab 82 0.07353 0.07353 0.07353 8.19% Amr::writePlotFile() 2 0.06939 0.06939 0.06939 7.73% Castro::clean_state() 62 0.04923 0.04923 0.04923 5.48% Amr::initialInit() 1 0.04847 0.04847 0.04847 5.40% Amr::FinalizeInit() 1 0.04428 0.04428 0.04428 4.93% Castro::post_init() 1 0.04292 0.04292 0.04292 4.78% FillPatchIterator::Initialize 41 0.04209 0.04209 0.04209 4.69% Gravity::multilevel_solve_for_new_phi() 1 0.04109 0.04109 0.04109 4.57% Gravity::actual_multilevel_solve() 1 0.04107 0.04107 0.04107 4.57% FillPatchSingleLevel 41 0.04053 0.04053 0.04053 4.51% MLCellLinOp::apply() 1142 0.0366 0.0366 0.0366 4.07% StateDataPhysBCFunct::() 41 0.03644 0.03644 0.03644 4.06% MLMG::mgVcycle_down::0 82 0.03401 0.03401 0.03401 3.79% FabArray::FillBoundary() 4023 0.03279 0.03279 0.03279 3.65% MLPoisson::Fsmooth() 3280 0.03258 0.03258 0.03258 3.63% FillBoundary_nowait() 4023 0.03197 0.03197 0.03197 3.56% MLMG::mgVcycle_up::0 82 0.02579 0.02579 0.02579 2.87% StateData::FillBoundary(geom) 328 0.02531 0.02531 0.02531 2.82% MLCellLinOp::correctionResidual() 492 0.02232 0.02232 0.02232 2.48% amrex::Dot() 1114 0.02074 0.02074 0.02074 2.31% Castro::computeTemp() 63 0.02067 0.02067 0.02067 2.30% Castro::initialize_do_advance() 10 0.02051 0.02051 0.02051 2.28% MLMG:computeResOfCorrection() 410 0.01967 0.01967 0.01967 2.19% Gravity::get_new_grav_vector() 11 0.01683 0.01683 0.01683 1.87% MLPoisson::define() 11 0.01658 0.01658 0.01658 1.85% MLMG::mgVcycle_down::1 82 0.01594 0.01594 0.01594 1.77% Castro::construct_old_gravity() 10 0.01522 0.01522 0.01522 1.69% Gravity::get_old_grav_vector() 10 0.01522 0.01522 0.01522 1.69% MLMG::mgVcycle_down::2 82 0.01493 0.01493 0.01493 1.66% amrex::Copy() 1029 0.01484 0.01484 0.01484 1.65% FabArray::norminf() 743 0.01457 0.01457 0.01457 1.62% MLMG::mgVcycle_down::3 82 0.01457 0.01457 0.01457 1.62% FabArray::ParallelCopy() 861 0.01451 0.01451 0.01451 1.62% MLMG::mgVcycle_down::4 82 0.01439 0.01439 0.01439 1.60% FabArray::ParallelCopy_nowait() 861 0.01427 0.01427 0.01427 1.59% Castro::normalize_species() 62 0.0142 0.0142 0.0142 1.58% Castro::enforce_min_density() 62 0.0139 0.0139 0.0139 1.55% FabArray::setVal() 1144 0.01316 0.01316 0.01316 1.46% Castro::do_new_sources() 10 0.01304 0.01304 0.01304 1.45% MLCGSolver::ParallelAllReduce 1514 0.01242 0.01242 0.01242 1.38% MLMG::addInterpCorrection() 410 0.01186 0.01186 0.01186 1.32% MLMG::mgVcycle_up::1 82 0.01166 0.01166 0.01166 1.30% MLMG::mgVcycle_up::4 82 0.01152 0.01152 0.01152 1.28% Castro::initialize_advance() 10 0.01142 0.01142 0.01142 1.27% MLMG::mgVcycle_up::2 82 0.01131 0.01131 0.01131 1.26% amrex::average_down 410 0.01129 0.01129 0.01129 1.26% MLCellLinOp::defineAuxData() 11 0.01112 0.01112 0.01112 1.24% Castro::expand_state() 10 0.01112 0.01112 0.01112 1.24% MLMG::mgVcycle_up::3 82 0.01109 0.01109 0.01109 1.23% Castro::do_old_sources() 10 0.011 0.011 0.011 1.23% MLPoisson::Fapply() 1142 0.01039 0.01039 0.01039 1.16% FabArray::Saxpy() 813 0.008196 0.008196 0.008196 0.91% FabArray::Xpay() 821 0.008037 0.008037 0.008037 0.89% Castro::post_timestep() 10 0.007751 0.007751 0.007751 0.86% MLCellLinOp::solutionResidual() 93 0.007224 0.007224 0.007224 0.80% Gravity::fill_multipole_BCs() 11 0.006525 0.006525 0.006525 0.73% MLMG::computeResidual() 82 0.006218 0.006218 0.006218 0.69% Castro::estTimeStep() 21 0.005835 0.005835 0.005835 0.65% Castro::reset_internal_energy(MultiFab) 63 0.005683 0.005683 0.005683 0.63% MLCellLinOp::defineBC() 11 0.00501 0.00501 0.00501 0.56% BndryData::define() 11 0.004795 0.004795 0.004795 0.53% MLMG::prepareForSolve() 11 0.004733 0.004733 0.004733 0.53% FabArray::LinComb() 557 0.004516 0.004516 0.004516 0.50% amrex::Add() 164 0.004361 0.004361 0.004361 0.49% Amr::InitializeInit() 1 0.004183 0.004183 0.004183 0.47% Amr::defBaseLevel() 1 0.004178 0.004178 0.004178 0.47% Castro::initData() 1 0.003667 0.003667 0.003667 0.41% Castro::construct_new_source() 50 0.003369 0.003369 0.003369 0.38% Castro::construct_new_gravity_source() 10 0.003303 0.003303 0.003303 0.37% Castro::computeNewDt() 9 0.002798 0.002798 0.002798 0.31% Castro::construct_old_source() 50 0.002637 0.002637 0.002637 0.29% Castro::construct_old_gravity_source() 10 0.002619 0.002619 0.002619 0.29% MLMG::ResNormInf() 93 0.002091 0.002091 0.002091 0.23% Castro::apply_source_to_state() 20 0.00182 0.00182 0.00182 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001724 0.001724 0.001724 0.19% Castro::reset_internal_energy(Fab) 504 0.001573 0.001573 0.001573 0.18% FabArrayBase::getCPC() 1323 0.001406 0.001406 0.001406 0.16% MLMG::getGradSolution() 11 0.001392 0.001392 0.001392 0.15% MLCellLinOp::setLevelBC() 11 0.001392 0.001392 0.001392 0.15% MLCellLinOp::compGrad() 11 0.001386 0.001386 0.001386 0.15% FabArray::mult() 43 0.001326 0.001326 0.001326 0.15% FabArray::setDomainBndry() 41 0.00132 0.00132 0.00132 0.15% Castro::enforce_speed_limit() 62 0.001274 0.001274 0.001274 0.14% Castro::check_for_nan() 20 0.00121 0.00121 0.00121 0.13% MultiFab::contains_nan() 20 0.001199 0.001199 0.001199 0.13% MLPoisson::prepareForSolve() 11 0.001165 0.001165 0.001165 0.13% MLCellLinOp::prepareForSolve() 11 0.001151 0.001151 0.001151 0.13% Castro::post_regrid() 1 0.001123 0.001123 0.001123 0.12% MLMG::computeMLResidual() 11 0.001048 0.001048 0.001048 0.12% Castro::computeInitialDt() 2 0.0008906 0.0008906 0.0008906 0.10% Gravity::update_max_rhs() 11 0.0008383 0.0008383 0.0008383 0.09% FabArrayBase::CPC::define() 454 0.000677 0.000677 0.000677 0.08% FabArrayBase::getFB() 4023 0.0006614 0.0006614 0.0006614 0.07% Castro::finalize_advance() 10 0.0005846 0.0005846 0.0005846 0.07% Amr::InitAmr() 1 0.0005116 0.0005116 0.0005116 0.06% Castro::Castro() 1 0.0004422 0.0004422 0.0004422 0.05% Gravity::swapTimeLevels() 10 0.0004406 0.0004406 0.0004406 0.05% MLLinOp::define() 11 0.0004222 0.0004222 0.0004222 0.05% MLLinOp::defineGrids() 11 0.000412 0.000412 0.000412 0.05% MLMG::MLResNormInf() 11 0.0002866 0.0002866 0.0002866 0.03% MultiFab::max() 11 0.0002643 0.0002643 0.0002643 0.03% MLMG::MLRhsNormInf() 11 0.0002269 0.0002269 0.0002269 0.03% Castro::create_source_corrector() 10 0.0001991 0.0001991 0.0001991 0.02% Castro::buildMetrics() 1 0.0001614 0.0001614 0.0001614 0.02% FabArrayBase::FB::FB() 56 9.199e-05 9.199e-05 9.199e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.06e-05 5.06e-05 5.06e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.328e-05 4.328e-05 4.328e-05 0.00% Castro::finalize_do_advance() 10 3.82e-05 3.82e-05 3.82e-05 0.00% Castro::swap_state_time_levels() 10 3.76e-05 3.76e-05 3.76e-05 0.00% makeSFC 55 3.73e-05 3.73e-05 3.73e-05 0.00% Castro::enforce_consistent_e() 1 3.362e-05 3.362e-05 3.362e-05 0.00% StateData::define() 4 3.327e-05 3.327e-05 3.327e-05 0.00% Castro::initMFs() 1 2.579e-05 2.579e-05 2.579e-05 0.00% Amr::writeSmallPlotFile() 1 2.431e-05 2.431e-05 2.431e-05 0.00% DistributionMapping::Distribute() 56 1.53e-05 1.53e-05 1.53e-05 0.00% Amr::initSubcycle() 1 8.9e-06 8.9e-06 8.9e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.615e-06 4.615e-06 4.615e-06 0.00% AmrLevel::checkPointPost() 3 4.362e-06 4.362e-06 4.362e-06 0.00% Gravity::set_mass_offset() 11 4.345e-06 4.345e-06 4.345e-06 0.00% Castro::retry_advance_ctu() 10 4.133e-06 4.133e-06 4.133e-06 0.00% Castro::FluxRegCrseInit 10 2.549e-06 2.549e-06 2.549e-06 0.00% Castro::FluxRegFineAdd() 10 2.006e-06 2.006e-06 2.006e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.968e-06 1.968e-06 1.968e-06 0.00% AmrLevel::checkPointPre() 3 1.719e-06 1.719e-06 1.719e-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 93 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 125 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 997 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2169 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7612 KiB 14 MiB MLMG::prepareForSolve() 660 660 3532 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 194 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 173 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7526 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1788 B 2048 KiB Gravity::solve_for_phi() 80 80 557 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 93 KiB 2048 KiB BndryData::define() 1056 1056 322 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 205 KiB 671 KiB Castro::estTimeStep() 21 21 3088 B 480 KiB VisMF::Write(FabArray) 656 656 3430 B 320 KiB Castro::normalize_species() 62 62 5142 B 320 KiB amrex::average_down 1067 1067 1252 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1131 B 257 KiB amrex::Dot() 1360 1360 3392 B 160 KiB FabArray::norminf() 907 907 2395 B 160 KiB Castro::do_advance_ctu() 10 10 599 B 160 KiB MultiFab::max() 11 11 45 B 160 KiB Castro::initData() 1 1 26 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3453 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 305 B 9648 B MLCellLinOp::applyBC() 8866 8866 221 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3852 B 6144 B StateData::FillBoundary(geom) 1992 1992 41 B 2944 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 119 B 1472 B MLCellLinOp::defineBC() 66 66 363 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 595 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 51 KiB 8192 KiB VisMF::Write(FabArray) 744 744 625 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3453 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 305 B 9648 B MLCellLinOp::applyBC() 4433 4433 219 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3852 B 6144 B Gravity::get_new_grav_vector() 3 3 2907 B 3072 B StateData::FillBoundary(geom) 1992 1992 41 B 2944 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 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 294 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 B 400 B FabArray::norminf() 907 907 17 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.05-9-g85a89e265369) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-9-g85a89e265369) initialized Starting run at 07:42:31 UTC on 2023-05-09. Successfully read inputs file ... Castro git describe: 23.05-4-g91b60034d AMReX git describe: 23.05-9-g85a89e265 Microphysics git describe: 23.05-3-g3a9cad19 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.467694373 Restart time = 0.045389307 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.049065549 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.047596003 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.047999321 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.058249979 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.062222639 [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.034060083 seconds Ending run at 07:42:31 UTC on 2023-05-09. Run time = 0.345591302 Run time without initialization = 0.29961669 Average number of zones advanced per microsecond: 4.375 Average number of zones advanced per microsecond per rank: 4.375 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3456 ... 0.3456 ... 0.3456 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.0834 0.0834 0.0834 24.13% VisMF::Read() 3 0.03919 0.03919 0.03919 11.34% MLCellLinOp::applyBC() 1946 0.03356 0.03356 0.03356 9.71% VisMF::Write(FabArray) 1 0.03251 0.03251 0.03251 9.41% MLPoisson::Fsmooth() 1440 0.01404 0.01404 0.01404 4.06% FillBoundary_nowait() 1766 0.01281 0.01281 0.01281 3.71% StateData::FillBoundary(geom) 160 0.0123 0.0123 0.0123 3.56% amrex::Dot() 484 0.008875 0.008875 0.008875 2.57% Castro::normalize_species() 30 0.007259 0.007259 0.007259 2.10% amrex::Copy() 463 0.006968 0.006968 0.006968 2.02% FabArray::norminf() 326 0.006254 0.006254 0.006254 1.81% FabArray::setVal() 537 0.006207 0.006207 0.006207 1.80% FabArray::ParallelCopy_nowait() 380 0.006097 0.006097 0.006097 1.76% Castro::enforce_min_density() 30 0.005928 0.005928 0.005928 1.72% Castro::computeTemp() 30 0.005646 0.005646 0.005646 1.63% StateDataPhysBCFunct::() 20 0.005486 0.005486 0.005486 1.59% MLCellLinOp::defineAuxData() 6 0.005222 0.005222 0.005222 1.51% MLPoisson::Fapply() 500 0.00445 0.00445 0.00445 1.29% FabArray::Saxpy() 355 0.003675 0.003675 0.003675 1.06% FabArray::Xpay() 361 0.003501 0.003501 0.003501 1.01% Gravity::fill_multipole_BCs() 6 0.003401 0.003401 0.003401 0.98% MLMG::addInterpCorrection() 180 0.002896 0.002896 0.002896 0.84% amrex::average_down 180 0.002602 0.002602 0.002602 0.75% Castro::reset_internal_energy(MultiFab) 30 0.002578 0.002578 0.002578 0.75% Amr::restart() 1 0.002482 0.002482 0.002482 0.72% Castro::estTimeStep() 10 0.002049 0.002049 0.002049 0.59% BndryData::define() 6 0.002037 0.002037 0.002037 0.59% FabArray::LinComb() 242 0.00192 0.00192 0.00192 0.56% amrex::Add() 72 0.001855 0.001855 0.001855 0.54% Castro::construct_new_gravity_source() 5 0.001702 0.001702 0.001702 0.49% Castro::do_advance_ctu() 5 0.001566 0.001566 0.001566 0.45% Amr::writePlotFile() 1 0.001401 0.001401 0.001401 0.41% Castro::construct_old_gravity_source() 5 0.001388 0.001388 0.001388 0.40% MLCGSolver::bicgstab 36 0.0009494 0.0009494 0.0009494 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009271 0.0009271 0.0009271 0.27% Gravity::actual_solve_with_mlmg() 6 0.0007788 0.0007788 0.0007788 0.23% MLCellLinOp::setLevelBC() 6 0.0007498 0.0007498 0.0007498 0.22% Castro::reset_internal_energy(Fab) 240 0.0007033 0.0007033 0.0007033 0.20% FabArray::setDomainBndry() 20 0.0006567 0.0006567 0.0006567 0.19% FabArray::mult() 22 0.0006466 0.0006466 0.0006466 0.19% MLCellLinOp::prepareForSolve() 6 0.0006106 0.0006106 0.0006106 0.18% Castro::enforce_speed_limit() 30 0.000606 0.000606 0.000606 0.18% MultiFab::contains_nan() 10 0.0005943 0.0005943 0.0005943 0.17% MLCellLinOp::compGrad() 6 0.0004858 0.0004858 0.0004858 0.14% MLMG::prepareForSolve() 6 0.0004803 0.0004803 0.0004803 0.14% MLCellLinOp::smooth() 720 0.0004514 0.0004514 0.0004514 0.13% FabArrayBase::CPC::define() 244 0.000419 0.000419 0.000419 0.12% Amr::InitAmr() 1 0.0003934 0.0003934 0.0003934 0.11% FabArray::FillBoundary() 1766 0.0003506 0.0003506 0.0003506 0.10% FabArrayBase::getCPC() 632 0.0003454 0.0003454 0.0003454 0.10% Gravity::get_old_grav_vector() 5 0.0003067 0.0003067 0.0003067 0.09% main() 1 0.0002887 0.0002887 0.0002887 0.08% Gravity::get_new_grav_vector() 5 0.0002783 0.0002783 0.0002783 0.08% FabArrayBase::getFB() 1766 0.0002494 0.0002494 0.0002494 0.07% MLCellLinOp::apply() 500 0.000186 0.000186 0.000186 0.05% Amr::coarseTimeStep() 5 0.0001663 0.0001663 0.0001663 0.05% MLLinOp::defineGrids() 6 0.000165 0.000165 0.000165 0.05% MLMG::mgVcycle() 36 0.0001557 0.0001557 0.0001557 0.05% MultiFab::max() 6 0.0001374 0.0001374 0.0001374 0.04% MLCGSolver::ParallelAllReduce 659 0.0001226 0.0001226 0.0001226 0.04% FillPatchIterator::Initialize 20 0.000122 0.000122 0.000122 0.04% MLCellLinOp::defineBC() 6 0.0001187 0.0001187 0.0001187 0.03% FabArray::ParallelCopy() 380 0.0001184 0.0001184 0.0001184 0.03% Castro::create_source_corrector() 5 0.000104 0.000104 0.000104 0.03% MLCellLinOp::correctionResidual() 216 9.698e-05 9.698e-05 9.698e-05 0.03% Castro::subcycle_advance_ctu() 5 8.049e-05 8.049e-05 8.049e-05 0.02% Amr::timeStep() 5 7.57e-05 7.57e-05 7.57e-05 0.02% AmrLevel::restart() 1 7.154e-05 7.154e-05 7.154e-05 0.02% StateData::restartDoit() 4 6.34e-05 6.34e-05 6.34e-05 0.02% Gravity::update_max_rhs() 6 5.91e-05 5.91e-05 5.91e-05 0.02% FabArrayBase::FB::FB() 26 5.892e-05 5.892e-05 5.892e-05 0.02% MLMG:computeResOfCorrection() 180 5.118e-05 5.118e-05 5.118e-05 0.01% Gravity::solve_for_phi() 5 4.991e-05 4.991e-05 4.991e-05 0.01% Castro::expand_state() 5 4.848e-05 4.848e-05 4.848e-05 0.01% MLMG::actualBottomSolve() 36 4.193e-05 4.193e-05 4.193e-05 0.01% MLMG::mgVcycle_down::0 36 3.948e-05 3.948e-05 3.948e-05 0.01% Castro::construct_new_source() 25 3.684e-05 3.684e-05 3.684e-05 0.01% MLMG::mgVcycle_down::1 36 3.637e-05 3.637e-05 3.637e-05 0.01% Castro::clean_state() 30 3.57e-05 3.57e-05 3.57e-05 0.01% Castro::advance() 5 3.546e-05 3.546e-05 3.546e-05 0.01% Castro::initialize_advance() 5 3.431e-05 3.431e-05 3.431e-05 0.01% MLMG::mgVcycle_down::2 36 3.389e-05 3.389e-05 3.389e-05 0.01% MLMG::mgVcycle_down::4 36 3.387e-05 3.387e-05 3.387e-05 0.01% MLMG::solve() 6 3.294e-05 3.294e-05 3.294e-05 0.01% MLMG::mgVcycle_down::3 36 3.236e-05 3.236e-05 3.236e-05 0.01% MLMG::mgVcycle_up::4 36 2.945e-05 2.945e-05 2.945e-05 0.01% Castro::finalize_advance() 5 2.791e-05 2.791e-05 2.791e-05 0.01% Castro::initialize_do_advance() 5 2.715e-05 2.715e-05 2.715e-05 0.01% Amr::writeSmallPlotFile() 1 2.679e-05 2.679e-05 2.679e-05 0.01% Castro::buildMetrics() 1 2.672e-05 2.672e-05 2.672e-05 0.01% Castro::initMFs() 1 2.661e-05 2.661e-05 2.661e-05 0.01% MLMG::oneIter() 36 2.442e-05 2.442e-05 2.442e-05 0.01% MLMG::mgVcycle_up::3 36 2.275e-05 2.275e-05 2.275e-05 0.01% Castro::swap_state_time_levels() 5 2.242e-05 2.242e-05 2.242e-05 0.01% MLMG::mgVcycle_up::0 36 2.178e-05 2.178e-05 2.178e-05 0.01% MLCellLinOp::solutionResidual() 42 2.158e-05 2.158e-05 2.158e-05 0.01% MLMG::mgVcycle_up::2 36 2.133e-05 2.133e-05 2.133e-05 0.01% MLMG::mgVcycle_up::1 36 2.1e-05 2.1e-05 2.1e-05 0.01% Castro::post_restart() 1 1.999e-05 1.999e-05 1.999e-05 0.01% Castro::finalize_do_advance() 5 1.933e-05 1.933e-05 1.933e-05 0.01% MLMG::ResNormInf() 42 1.739e-05 1.739e-05 1.739e-05 0.01% Gravity::multilevel_solve_for_new_phi() 1 1.554e-05 1.554e-05 1.554e-05 0.00% MLMG::mgVcycle_bottom 36 1.533e-05 1.533e-05 1.533e-05 0.00% FillPatchSingleLevel 20 1.422e-05 1.422e-05 1.422e-05 0.00% MLPoisson::define() 6 1.415e-05 1.415e-05 1.415e-05 0.00% MLMG::computeResidual() 36 1.316e-05 1.316e-05 1.316e-05 0.00% makeSFC 30 1.29e-05 1.29e-05 1.29e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.204e-05 1.204e-05 1.204e-05 0.00% Castro::construct_new_gravity() 5 1.167e-05 1.167e-05 1.167e-05 0.00% Castro::construct_old_source() 25 9.954e-06 9.954e-06 9.954e-06 0.00% MLPoisson::prepareForSolve() 6 9.391e-06 9.391e-06 9.391e-06 0.00% MLMG::computeMLResidual() 6 8.906e-06 8.906e-06 8.906e-06 0.00% Castro::do_new_sources() 5 8.615e-06 8.615e-06 8.615e-06 0.00% DistributionMapping::Distribute() 31 8.407e-06 8.407e-06 8.407e-06 0.00% Amr::initSubcycle() 1 8.206e-06 8.206e-06 8.206e-06 0.00% Castro::do_old_sources() 5 8.054e-06 8.054e-06 8.054e-06 0.00% Gravity::actual_multilevel_solve() 1 7.695e-06 7.695e-06 7.695e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.602e-06 7.602e-06 7.602e-06 0.00% Castro::apply_source_to_state() 10 5.754e-06 5.754e-06 5.754e-06 0.00% Castro::check_for_nan() 10 5.485e-06 5.485e-06 5.485e-06 0.00% MLLinOp::define() 6 5.092e-06 5.092e-06 5.092e-06 0.00% Castro::construct_old_gravity() 5 5.067e-06 5.067e-06 5.067e-06 0.00% Castro::post_timestep() 5 4.744e-06 4.744e-06 4.744e-06 0.00% Castro::computeNewDt() 5 3.698e-06 3.698e-06 3.698e-06 0.00% Gravity::swapTimeLevels() 5 3.693e-06 3.693e-06 3.693e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.291e-06 3.291e-06 3.291e-06 0.00% MLMG::getGradSolution() 6 3.109e-06 3.109e-06 3.109e-06 0.00% Castro::retry_advance_ctu() 5 3.08e-06 3.08e-06 3.08e-06 0.00% MLMG::MLResNormInf() 6 2.211e-06 2.211e-06 2.211e-06 0.00% MLMG::MLRhsNormInf() 6 2.164e-06 2.164e-06 2.164e-06 0.00% Gravity::set_mass_offset() 6 2.112e-06 2.112e-06 2.112e-06 0.00% Castro::FluxRegCrseInit 5 1.398e-06 1.398e-06 1.398e-06 0.00% Amr::init() 1 1.097e-06 1.097e-06 1.097e-06 0.00% Castro::FluxRegFineAdd() 5 9.87e-07 9.87e-07 9.87e-07 0.00% MLLinOp::makeSubCommunicator() 6 9.36e-07 9.36e-07 9.36e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3456 0.3456 0.3456 100.00% Amr::coarseTimeStep() 5 0.2653 0.2653 0.2653 76.76% Amr::timeStep() 5 0.2638 0.2638 0.2638 76.33% Castro::advance() 5 0.2605 0.2605 0.2605 75.38% Castro::subcycle_advance_ctu() 5 0.2536 0.2536 0.2536 73.37% Castro::do_advance_ctu() 5 0.2535 0.2535 0.2535 73.35% Castro::construct_new_gravity() 5 0.1305 0.1305 0.1305 37.75% Gravity::solve_phi_with_mlmg() 6 0.1256 0.1256 0.1256 36.35% Gravity::solve_for_phi() 5 0.1226 0.1226 0.1226 35.47% Gravity::actual_solve_with_mlmg() 6 0.122 0.122 0.122 35.29% MLMG::solve() 6 0.1108 0.1108 0.1108 32.05% MLMG::oneIter() 36 0.1039 0.1039 0.1039 30.07% MLMG::mgVcycle() 36 0.1024 0.1024 0.1024 29.62% Castro::construct_ctu_hydro_source() 5 0.08341 0.08341 0.08341 24.13% MLCellLinOp::smooth() 720 0.05018 0.05018 0.05018 14.52% MLCellLinOp::applyBC() 1946 0.04703 0.04703 0.04703 13.61% Amr::init() 1 0.04543 0.04543 0.04543 13.14% Amr::restart() 1 0.04543 0.04543 0.04543 13.14% AmrLevel::restart() 1 0.03938 0.03938 0.03938 11.40% StateData::restartDoit() 4 0.03931 0.03931 0.03931 11.37% VisMF::Read() 3 0.03919 0.03919 0.03919 11.34% Amr::writePlotFile() 1 0.03416 0.03416 0.03416 9.88% VisMF::Write(FabArray) 1 0.03251 0.03251 0.03251 9.41% MLMG::mgVcycle_bottom 36 0.0318 0.0318 0.0318 9.20% MLMG::actualBottomSolve() 36 0.03178 0.03178 0.03178 9.20% MLCGSolver::bicgstab 36 0.03148 0.03148 0.03148 9.11% Castro::clean_state() 30 0.02276 0.02276 0.02276 6.58% FillPatchIterator::Initialize 20 0.02062 0.02062 0.02062 5.97% FillPatchSingleLevel 20 0.01984 0.01984 0.01984 5.74% StateDataPhysBCFunct::() 20 0.01778 0.01778 0.01778 5.15% MLCellLinOp::apply() 500 0.0157 0.0157 0.0157 4.54% MLMG::mgVcycle_down::0 36 0.0143 0.0143 0.0143 4.14% MLPoisson::Fsmooth() 1440 0.01404 0.01404 0.01404 4.06% FabArray::FillBoundary() 1766 0.01347 0.01347 0.01347 3.90% FillBoundary_nowait() 1766 0.01312 0.01312 0.01312 3.80% StateData::FillBoundary(geom) 160 0.0123 0.0123 0.0123 3.56% MLMG::mgVcycle_up::0 36 0.01082 0.01082 0.01082 3.13% Castro::initialize_do_advance() 5 0.01009 0.01009 0.01009 2.92% MLCellLinOp::correctionResidual() 216 0.009515 0.009515 0.009515 2.75% Castro::computeTemp() 30 0.008927 0.008927 0.008927 2.58% MLPoisson::define() 6 0.008895 0.008895 0.008895 2.57% amrex::Dot() 484 0.008875 0.008875 0.008875 2.57% MLMG:computeResOfCorrection() 180 0.008346 0.008346 0.008346 2.41% Gravity::get_new_grav_vector() 5 0.007754 0.007754 0.007754 2.24% Castro::construct_old_gravity() 5 0.007562 0.007562 0.007562 2.19% Gravity::get_old_grav_vector() 5 0.007557 0.007557 0.007557 2.19% Castro::normalize_species() 30 0.007259 0.007259 0.007259 2.10% amrex::Copy() 463 0.006968 0.006968 0.006968 2.02% Castro::do_new_sources() 5 0.006964 0.006964 0.006964 2.01% MLMG::mgVcycle_down::1 36 0.00684 0.00684 0.00684 1.98% Castro::initialize_advance() 5 0.006614 0.006614 0.006614 1.91% FabArray::ParallelCopy() 380 0.006602 0.006602 0.006602 1.91% FabArray::ParallelCopy_nowait() 380 0.006484 0.006484 0.006484 1.88% MLMG::mgVcycle_down::2 36 0.006419 0.006419 0.006419 1.86% FabArray::norminf() 326 0.006254 0.006254 0.006254 1.81% MLMG::mgVcycle_down::3 36 0.006231 0.006231 0.006231 1.80% FabArray::setVal() 537 0.006207 0.006207 0.006207 1.80% MLMG::mgVcycle_down::4 36 0.006188 0.006188 0.006188 1.79% MLCellLinOp::defineAuxData() 6 0.00596 0.00596 0.00596 1.72% Castro::enforce_min_density() 30 0.005928 0.005928 0.005928 1.72% Castro::expand_state() 5 0.005885 0.005885 0.005885 1.70% MLCGSolver::ParallelAllReduce 659 0.005339 0.005339 0.005339 1.54% MLMG::addInterpCorrection() 180 0.005153 0.005153 0.005153 1.49% MLMG::mgVcycle_up::1 36 0.004999 0.004999 0.004999 1.45% Castro::do_old_sources() 5 0.004927 0.004927 0.004927 1.43% MLMG::mgVcycle_up::4 36 0.004921 0.004921 0.004921 1.42% amrex::average_down 180 0.004905 0.004905 0.004905 1.42% MLMG::mgVcycle_up::2 36 0.004868 0.004868 0.004868 1.41% MLMG::mgVcycle_up::3 36 0.004822 0.004822 0.004822 1.40% MLPoisson::Fapply() 500 0.00445 0.00445 0.00445 1.29% FabArray::Saxpy() 355 0.003675 0.003675 0.003675 1.06% Gravity::fill_multipole_BCs() 6 0.003554 0.003554 0.003554 1.03% FabArray::Xpay() 361 0.003501 0.003501 0.003501 1.01% Castro::post_restart() 1 0.003395 0.003395 0.003395 0.98% Gravity::multilevel_solve_for_new_phi() 1 0.003284 0.003284 0.003284 0.95% Castro::reset_internal_energy(MultiFab) 30 0.003282 0.003282 0.003282 0.95% Gravity::actual_multilevel_solve() 1 0.003268 0.003268 0.003268 0.95% MLCellLinOp::solutionResidual() 42 0.003231 0.003231 0.003231 0.93% Castro::post_timestep() 5 0.003227 0.003227 0.003227 0.93% MLCellLinOp::defineBC() 6 0.002723 0.002723 0.002723 0.79% MLMG::computeResidual() 36 0.002684 0.002684 0.002684 0.78% BndryData::define() 6 0.002604 0.002604 0.002604 0.75% MLMG::prepareForSolve() 6 0.002522 0.002522 0.002522 0.73% Castro::estTimeStep() 10 0.002049 0.002049 0.002049 0.59% FabArray::LinComb() 242 0.00192 0.00192 0.00192 0.56% amrex::Add() 72 0.001855 0.001855 0.001855 0.54% Castro::construct_new_source() 25 0.001739 0.001739 0.001739 0.50% Castro::construct_new_gravity_source() 5 0.001702 0.001702 0.001702 0.49% Castro::construct_old_source() 25 0.001398 0.001398 0.001398 0.40% Castro::construct_old_gravity_source() 5 0.001388 0.001388 0.001388 0.40% Castro::computeNewDt() 5 0.001297 0.001297 0.001297 0.38% MLMG::ResNormInf() 42 0.00093 0.00093 0.00093 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009271 0.0009271 0.0009271 0.27% Castro::apply_source_to_state() 10 0.0009212 0.0009212 0.0009212 0.27% FabArrayBase::getCPC() 632 0.0007644 0.0007644 0.0007644 0.22% MLMG::getGradSolution() 6 0.0007636 0.0007636 0.0007636 0.22% MLCellLinOp::compGrad() 6 0.0007605 0.0007605 0.0007605 0.22% MLCellLinOp::setLevelBC() 6 0.0007498 0.0007498 0.0007498 0.22% Castro::reset_internal_energy(Fab) 240 0.0007033 0.0007033 0.0007033 0.20% FabArray::setDomainBndry() 20 0.0006567 0.0006567 0.0006567 0.19% FabArray::mult() 22 0.0006466 0.0006466 0.0006466 0.19% MLPoisson::prepareForSolve() 6 0.00062 0.00062 0.00062 0.18% MLCellLinOp::prepareForSolve() 6 0.0006106 0.0006106 0.0006106 0.18% Castro::enforce_speed_limit() 30 0.000606 0.000606 0.000606 0.18% Castro::check_for_nan() 10 0.0005997 0.0005997 0.0005997 0.17% MultiFab::contains_nan() 10 0.0005943 0.0005943 0.0005943 0.17% MLMG::computeMLResidual() 6 0.0005692 0.0005692 0.0005692 0.16% Gravity::update_max_rhs() 6 0.0004448 0.0004448 0.0004448 0.13% FabArrayBase::CPC::define() 244 0.000419 0.000419 0.000419 0.12% Amr::InitAmr() 1 0.0004016 0.0004016 0.0004016 0.12% FabArrayBase::getFB() 1766 0.0003083 0.0003083 0.0003083 0.09% Castro::finalize_advance() 5 0.0002871 0.0002871 0.0002871 0.08% Gravity::swapTimeLevels() 5 0.0002254 0.0002254 0.0002254 0.07% MLLinOp::define() 6 0.0001987 0.0001987 0.0001987 0.06% MLLinOp::defineGrids() 6 0.0001936 0.0001936 0.0001936 0.06% MLMG::MLResNormInf() 6 0.0001514 0.0001514 0.0001514 0.04% Castro::buildMetrics() 1 0.0001428 0.0001428 0.0001428 0.04% MultiFab::max() 6 0.0001374 0.0001374 0.0001374 0.04% MLMG::MLRhsNormInf() 6 0.0001181 0.0001181 0.0001181 0.03% Castro::create_source_corrector() 5 0.000104 0.000104 0.000104 0.03% FabArrayBase::FB::FB() 26 5.892e-05 5.892e-05 5.892e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.767e-05 2.767e-05 2.767e-05 0.01% Amr::writeSmallPlotFile() 1 2.679e-05 2.679e-05 2.679e-05 0.01% Castro::initMFs() 1 2.661e-05 2.661e-05 2.661e-05 0.01% Castro::swap_state_time_levels() 5 2.242e-05 2.242e-05 2.242e-05 0.01% makeSFC 30 2.007e-05 2.007e-05 2.007e-05 0.01% Castro::finalize_do_advance() 5 1.933e-05 1.933e-05 1.933e-05 0.01% DistributionMapping::Distribute() 31 8.407e-06 8.407e-06 8.407e-06 0.00% Amr::initSubcycle() 1 8.206e-06 8.206e-06 8.206e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.533e-06 4.533e-06 4.533e-06 0.00% Castro::retry_advance_ctu() 5 3.08e-06 3.08e-06 3.08e-06 0.00% Gravity::set_mass_offset() 6 2.112e-06 2.112e-06 2.112e-06 0.00% Castro::FluxRegCrseInit 5 1.398e-06 1.398e-06 1.398e-06 0.00% Castro::FluxRegFineAdd() 5 9.87e-07 9.87e-07 9.87e-07 0.00% MLLinOp::makeSubCommunicator() 6 9.36e-07 9.36e-07 9.36e-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 239 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 111 MiB 692 MiB Castro::initMFs() 48 48 59 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB FillPatchIterator::Initialize 160 160 1303 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2764 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6638 KiB 14 MiB MLMG::prepareForSolve() 361 361 3935 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 226 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 229 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6633 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 15 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2490 B 2048 KiB Gravity::solve_for_phi() 40 40 724 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 19 KiB 2048 KiB BndryData::define() 576 576 361 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 232 KiB 671 KiB Castro::estTimeStep() 10 10 2767 B 480 KiB VisMF::Write(FabArray) 112 112 1429 B 320 KiB Castro::normalize_species() 30 30 6824 B 320 KiB amrex::average_down 469 469 1337 B 257 KiB MLMG::addInterpCorrection() 468 468 1280 B 257 KiB amrex::Dot() 592 592 3765 B 160 KiB FabArray::norminf() 398 398 2666 B 160 KiB Castro::do_advance_ctu() 5 5 705 B 160 KiB MultiFab::max() 6 6 61 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 34 B 20 KiB MLPoisson::Fsmooth() 60 60 3828 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 56 B 10 KiB FillBoundary_nowait() 336 336 321 B 9648 B MLCellLinOp::applyBC() 3892 3892 248 B 9344 B amrex::Copy() 56 56 5947 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 53 B 2560 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 132 B 1472 B MLCellLinOp::defineBC() 36 36 406 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1430 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 130 KiB 8192 KiB VisMF::Write(FabArray) 120 120 290 KiB 3584 KiB VisMF::Read() 24 24 219 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3828 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 56 B 10 KiB FillBoundary_nowait() 336 336 321 B 9648 B MLCellLinOp::applyBC() 1946 1946 247 B 9328 B amrex::Copy() 56 56 5947 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2611 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B StateData::FillBoundary(geom) 960 960 54 B 2656 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 564 B 1296 B amrex::average_down 37 37 219 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 27 B 400 B FabArray::norminf() 398 398 19 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.05-9-g85a89e265369) finalized