Initializing AMReX (23.12-18-g3497f016d920)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.12-18-g3497f016d920) initialized Starting run at 09:03:36 UTC on 2023-12-18. Successfully read inputs file ... Castro git describe: 23.12-12-ge65b3b9c2 AMReX git describe: 23.12-18-g3497f016d Microphysics git describe: 23.12-3-g96f4c7ef 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.045860508 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025382377 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.068965369 [STEP 1] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.070871072 [STEP 2] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.074854221 [STEP 3] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.070509417 [STEP 4] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.066386172 [STEP 5] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.04577863 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.076585034 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.07545386 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.06178626 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.066319716 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.069881956 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.044080955 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025684169 seconds Ending run at 09:03:37 UTC on 2023-12-18. Run time = 0.944739745 Run time without initialization = 0.817847159 Average number of zones advanced per microsecond: 3.205 Average number of zones advanced per microsecond per rank: 3.205 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9448 ... 0.9448 ... 0.9448 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.3198 0.3198 0.3198 33.85% VisMF::Write(FabArray) 11 0.1782 0.1782 0.1782 18.87% MLCellLinOp::applyBC() 4433 0.08147 0.08147 0.08147 8.62% MLPoisson::Fsmooth() 3280 0.03401 0.03401 0.03401 3.60% FillBoundary_nowait() 4023 0.03083 0.03083 0.03083 3.26% StateData::FillBoundary(geom) 328 0.0269 0.0269 0.0269 2.85% amrex::Dot() 1114 0.02157 0.02157 0.02157 2.28% Castro::normalize_species() 62 0.01996 0.01996 0.01996 2.11% FabArray::norminf() 1061 0.01991 0.01991 0.01991 2.11% Castro::computeTemp() 63 0.0157 0.0157 0.0157 1.66% FabArray::setVal() 1144 0.01382 0.01382 0.01382 1.46% FabArray::ParallelCopy_nowait() 861 0.01358 0.01358 0.01358 1.44% FabArray::Saxpy() 1370 0.01324 0.01324 0.01324 1.40% Castro::enforce_min_density() 62 0.01141 0.01141 0.01141 1.21% StateDataPhysBCFunct::() 41 0.01128 0.01128 0.01128 1.19% MLPoisson::Fapply() 1142 0.01095 0.01095 0.01095 1.16% amrex::Copy() 472 0.01078 0.01078 0.01078 1.14% MLCellLinOp::defineAuxData() 11 0.01058 0.01058 0.01058 1.12% Gravity::fill_multipole_BCs() 11 0.009345 0.009345 0.009345 0.99% FabArray::Xpay() 821 0.008476 0.008476 0.008476 0.90% MLMG::addInterpCorrection() 410 0.006997 0.006997 0.006997 0.74% amrex::average_down 410 0.006191 0.006191 0.006191 0.66% Castro::estTimeStep() 21 0.005942 0.005942 0.005942 0.63% Amr::checkPoint() 3 0.005942 0.005942 0.005942 0.63% Castro::reset_internal_energy(MultiFab) 63 0.005343 0.005343 0.005343 0.57% amrex::Add() 164 0.004409 0.004409 0.004409 0.47% BndryData::define() 11 0.003938 0.003938 0.003938 0.42% Castro::enforce_speed_limit() 62 0.003733 0.003733 0.003733 0.40% Castro::construct_new_gravity_source() 10 0.00338 0.00338 0.00338 0.36% Castro::construct_old_gravity_source() 10 0.00285 0.00285 0.00285 0.30% Amr::writePlotFile() 2 0.002082 0.002082 0.002082 0.22% check_for_negative_density() 10 0.001899 0.001899 0.001899 0.20% MLCGSolver::bicgstab 82 0.001819 0.001819 0.001819 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001791 0.001791 0.001791 0.19% Gravity::actual_solve_with_mlmg() 11 0.001622 0.001622 0.001622 0.17% Castro::reset_internal_energy(Fab) 504 0.00162 0.00162 0.00162 0.17% MLCellLinOp::setLevelBC() 11 0.001591 0.001591 0.001591 0.17% Castro::initData() 1 0.001576 0.001576 0.001576 0.17% FabArray::mult() 43 0.001369 0.001369 0.001369 0.14% FabArray::setDomainBndry() 41 0.001348 0.001348 0.001348 0.14% MLCellLinOp::prepareForSolve() 11 0.001333 0.001333 0.001333 0.14% MultiFab::contains_nan() 20 0.001295 0.001295 0.001295 0.14% MLCellLinOp::smooth() 1640 0.001085 0.001085 0.001085 0.11% MLCellLinOp::compGrad() 11 0.001076 0.001076 0.001076 0.11% MLMG::prepareForSolve() 11 0.0009865 0.0009865 0.0009865 0.10% FabArray::FillBoundary() 4023 0.0008093 0.0008093 0.0008093 0.09% FabArrayBase::getCPC() 1323 0.0007704 0.0007704 0.0007704 0.08% FabArrayBase::CPC::define() 454 0.0006711 0.0006711 0.0006711 0.07% FabArrayBase::getFB() 4023 0.0006212 0.0006212 0.0006212 0.07% Gravity::get_new_grav_vector() 11 0.0005987 0.0005987 0.0005987 0.06% Amr::InitAmr() 1 0.0005037 0.0005037 0.0005037 0.05% Gravity::get_old_grav_vector() 10 0.0004779 0.0004779 0.0004779 0.05% MLCellLinOp::apply() 1142 0.0004436 0.0004436 0.0004436 0.05% AmrLevel::FillPatch() 41 0.0004096 0.0004096 0.0004096 0.04% Amr::coarseTimeStep() 10 0.0003946 0.0003946 0.0003946 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003388 0.0003388 0.0003388 0.04% MultiFab::max() 11 0.0003261 0.0003261 0.0003261 0.03% main() 1 0.0002991 0.0002991 0.0002991 0.03% MLCellLinOp::defineBC() 11 0.0002745 0.0002745 0.0002745 0.03% FabArray::ParallelCopy() 861 0.0002472 0.0002472 0.0002472 0.03% FillPatchIterator::Initialize 41 0.000211 0.000211 0.000211 0.02% MLCellLinOp::correctionResidual() 492 0.0002033 0.0002033 0.0002033 0.02% MLLinOp::defineGrids() 11 0.0001929 0.0001929 0.0001929 0.02% MLMG::mgVcycle() 82 0.0001896 0.0001896 0.0001896 0.02% Castro::subcycle_advance_ctu() 10 0.0001744 0.0001744 0.0001744 0.02% Castro::create_source_corrector() 10 0.0001679 0.0001679 0.0001679 0.02% Amr::timeStep() 10 0.0001639 0.0001639 0.0001639 0.02% StateData::checkPoint() 12 0.0001355 0.0001355 0.0001355 0.01% Gravity::update_max_rhs() 11 0.0001317 0.0001317 0.0001317 0.01% MLMG:computeResOfCorrection() 410 0.0001291 0.0001291 0.0001291 0.01% Gravity::solve_for_phi() 10 0.0001212 0.0001212 0.0001212 0.01% MLMG::actualBottomSolve() 82 9.375e-05 9.375e-05 9.375e-05 0.01% Castro::Castro() 1 9.245e-05 9.245e-05 9.245e-05 0.01% FabArrayBase::FB::FB() 56 9.007e-05 9.007e-05 9.007e-05 0.01% MLMG::mgVcycle_down::0 82 8.558e-05 8.558e-05 8.558e-05 0.01% Castro::initialize_advance() 10 8.016e-05 8.016e-05 8.016e-05 0.01% MLMG::mgVcycle_down::1 82 7.905e-05 7.905e-05 7.905e-05 0.01% Castro::clean_state() 62 7.865e-05 7.865e-05 7.865e-05 0.01% AmrLevel::checkPoint() 3 7.799e-05 7.799e-05 7.799e-05 0.01% Castro::post_timestep() 10 7.587e-05 7.587e-05 7.587e-05 0.01% MLMG::mgVcycle_down::2 82 7.454e-05 7.454e-05 7.454e-05 0.01% MLMG::mgVcycle_down::4 82 7.159e-05 7.159e-05 7.159e-05 0.01% Castro::enforce_consistent_e() 1 7.145e-05 7.145e-05 7.145e-05 0.01% Castro::advance() 10 7.103e-05 7.103e-05 7.103e-05 0.01% MLMG::mgVcycle_down::3 82 6.963e-05 6.963e-05 6.963e-05 0.01% MLMG::solve() 11 6.731e-05 6.731e-05 6.731e-05 0.01% Castro::finalize_advance() 10 6.476e-05 6.476e-05 6.476e-05 0.01% Castro::initialize_do_advance() 10 6.091e-05 6.091e-05 6.091e-05 0.01% MLMG::mgVcycle_up::4 82 5.814e-05 5.814e-05 5.814e-05 0.01% Castro::finalize_do_advance() 10 5.594e-05 5.594e-05 5.594e-05 0.01% Castro::do_new_sources() 10 5.355e-05 5.355e-05 5.355e-05 0.01% MLMG::mgVcycle_up::0 82 5.328e-05 5.328e-05 5.328e-05 0.01% MLMG::oneIter() 82 5.019e-05 5.019e-05 5.019e-05 0.01% Castro::do_advance_ctu() 10 4.93e-05 4.93e-05 4.93e-05 0.01% MLMG::mgVcycle_up::3 82 4.895e-05 4.895e-05 4.895e-05 0.01% MLMG::mgVcycle_up::1 82 4.85e-05 4.85e-05 4.85e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.842e-05 4.842e-05 4.842e-05 0.01% MLCellLinOp::solutionResidual() 93 4.821e-05 4.821e-05 4.821e-05 0.01% MLMG::mgVcycle_up::2 82 4.594e-05 4.594e-05 4.594e-05 0.00% Castro::construct_new_source() 50 4.453e-05 4.453e-05 4.453e-05 0.00% StateData::define() 4 3.881e-05 3.881e-05 3.881e-05 0.00% Castro::swap_state_time_levels() 10 3.647e-05 3.647e-05 3.647e-05 0.00% FillPatchSingleLevel 41 3.548e-05 3.548e-05 3.548e-05 0.00% MLMG::mgVcycle_bottom 82 3.312e-05 3.312e-05 3.312e-05 0.00% Amr::defBaseLevel() 1 3.238e-05 3.238e-05 3.238e-05 0.00% MLMG::ResNormInf() 93 3.235e-05 3.235e-05 3.235e-05 0.00% MLMG::computeResidual() 82 3.215e-05 3.215e-05 3.215e-05 0.00% Amr::writeSmallPlotFile() 1 3.196e-05 3.196e-05 3.196e-05 0.00% Castro::initMFs() 1 3.091e-05 3.091e-05 3.091e-05 0.00% Castro::buildMetrics() 1 2.806e-05 2.806e-05 2.806e-05 0.00% Castro::construct_new_gravity() 10 2.702e-05 2.702e-05 2.702e-05 0.00% makeSFC 55 2.676e-05 2.676e-05 2.676e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.237e-05 2.237e-05 2.237e-05 0.00% Castro::do_old_sources() 10 2.164e-05 2.164e-05 2.164e-05 0.00% MLPoisson::define() 11 2.122e-05 2.122e-05 2.122e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.975e-05 1.975e-05 1.975e-05 0.00% Castro::construct_old_source() 50 1.895e-05 1.895e-05 1.895e-05 0.00% Amr::FinalizeInit() 1 1.858e-05 1.858e-05 1.858e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.847e-05 1.847e-05 1.847e-05 0.00% DistributionMapping::Distribute() 56 1.64e-05 1.64e-05 1.64e-05 0.00% MLPoisson::prepareForSolve() 11 1.417e-05 1.417e-05 1.417e-05 0.00% MLMG::computeMLResidual() 11 1.401e-05 1.401e-05 1.401e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.396e-05 1.396e-05 1.396e-05 0.00% Gravity::actual_multilevel_solve() 1 1.316e-05 1.316e-05 1.316e-05 0.00% MLLinOp::define() 11 1.273e-05 1.273e-05 1.273e-05 0.00% Castro::check_for_nan() 20 1.228e-05 1.228e-05 1.228e-05 0.00% Castro::post_init() 1 1.205e-05 1.205e-05 1.205e-05 0.00% Castro::apply_source_to_state() 20 1.155e-05 1.155e-05 1.155e-05 0.00% Castro::construct_old_gravity() 10 1.129e-05 1.129e-05 1.129e-05 0.00% Gravity::swapTimeLevels() 10 9.183e-06 9.183e-06 9.183e-06 0.00% Amr::initSubcycle() 1 8.856e-06 8.856e-06 8.856e-06 0.00% Castro::expand_state() 10 6.326e-06 6.326e-06 6.326e-06 0.00% MLMG::getGradSolution() 11 6.17e-06 6.17e-06 6.17e-06 0.00% Castro::computeNewDt() 9 5.909e-06 5.909e-06 5.909e-06 0.00% AmrLevel::checkPointPost() 3 5.119e-06 5.119e-06 5.119e-06 0.00% Amr::InitializeInit() 1 4.666e-06 4.666e-06 4.666e-06 0.00% Castro::retry_advance_ctu() 10 4.575e-06 4.575e-06 4.575e-06 0.00% MLMG::MLRhsNormInf() 11 4.059e-06 4.059e-06 4.059e-06 0.00% Gravity::set_mass_offset() 11 3.96e-06 3.96e-06 3.96e-06 0.00% MLMG::MLResNormInf() 11 3.756e-06 3.756e-06 3.756e-06 0.00% Castro::FluxRegCrseInit 10 3.082e-06 3.082e-06 3.082e-06 0.00% Castro::computeInitialDt() 2 2.98e-06 2.98e-06 2.98e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.949e-06 2.949e-06 2.949e-06 0.00% AmrLevel::checkPointPre() 3 2.819e-06 2.819e-06 2.819e-06 0.00% Castro::FluxRegFineAdd() 10 2.289e-06 2.289e-06 2.289e-06 0.00% Amr::init() 1 2.266e-06 2.266e-06 2.266e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.025e-06 2.025e-06 2.025e-06 0.00% Castro::post_regrid() 1 1.803e-06 1.803e-06 1.803e-06 0.00% Amr::initialInit() 1 9.65e-07 9.65e-07 9.65e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9448 0.9448 0.9448 100.00% Amr::coarseTimeStep() 10 0.7919 0.7919 0.7919 83.82% Amr::timeStep() 10 0.6982 0.6982 0.6982 73.90% Castro::advance() 10 0.6868 0.6868 0.6868 72.69% Castro::subcycle_advance_ctu() 10 0.672 0.672 0.672 71.13% Castro::do_advance_ctu() 10 0.6718 0.6718 0.6718 71.11% Castro::construct_ctu_hydro_source() 10 0.3311 0.3311 0.3311 35.04% Gravity::solve_phi_with_mlmg() 11 0.2989 0.2989 0.2989 31.64% Gravity::actual_solve_with_mlmg() 11 0.2891 0.2891 0.2891 30.61% Castro::construct_new_gravity() 10 0.2693 0.2693 0.2693 28.51% MLMG::solve() 11 0.2668 0.2668 0.2668 28.24% Gravity::solve_for_phi() 10 0.2533 0.2533 0.2533 26.81% MLMG::oneIter() 82 0.2515 0.2515 0.2515 26.62% MLMG::mgVcycle() 82 0.2479 0.2479 0.2479 26.24% VisMF::Write(FabArray) 11 0.1782 0.1782 0.1782 18.87% Amr::checkPoint() 3 0.1358 0.1358 0.1358 14.38% AmrLevel::checkPoint() 3 0.1299 0.1299 0.1299 13.75% StateData::checkPoint() 12 0.1298 0.1298 0.1298 13.74% Amr::init() 1 0.1263 0.1263 0.1263 13.36% MLCellLinOp::smooth() 1640 0.1216 0.1216 0.1216 12.87% MLCellLinOp::applyBC() 4433 0.1138 0.1138 0.1138 12.05% MLMG::mgVcycle_bottom 82 0.07753 0.07753 0.07753 8.21% MLMG::actualBottomSolve() 82 0.0775 0.0775 0.0775 8.20% MLCGSolver::bicgstab 82 0.07675 0.07675 0.07675 8.12% Castro::clean_state() 62 0.05694 0.05694 0.05694 6.03% Amr::initialInit() 1 0.0549 0.0549 0.0549 5.81% Amr::writePlotFile() 2 0.05118 0.05118 0.05118 5.42% Amr::FinalizeInit() 1 0.04993 0.04993 0.04993 5.29% Castro::post_init() 1 0.04841 0.04841 0.04841 5.12% AmrLevel::FillPatch() 41 0.04812 0.04812 0.04812 5.09% Gravity::multilevel_solve_for_new_phi() 1 0.04608 0.04608 0.04608 4.88% Gravity::actual_multilevel_solve() 1 0.04606 0.04606 0.04606 4.88% FillPatchIterator::Initialize 41 0.04385 0.04385 0.04385 4.64% FillPatchIterator::FillFromLevel0() 41 0.04229 0.04229 0.04229 4.48% FillPatchSingleLevel 41 0.04224 0.04224 0.04224 4.47% MLCellLinOp::apply() 1142 0.03822 0.03822 0.03822 4.04% StateDataPhysBCFunct::() 41 0.03818 0.03818 0.03818 4.04% MLMG::mgVcycle_down::0 82 0.03442 0.03442 0.03442 3.64% MLPoisson::Fsmooth() 3280 0.03401 0.03401 0.03401 3.60% FabArray::FillBoundary() 4023 0.03235 0.03235 0.03235 3.42% FillBoundary_nowait() 4023 0.03154 0.03154 0.03154 3.34% StateData::FillBoundary(geom) 328 0.0269 0.0269 0.0269 2.85% MLMG::mgVcycle_up::0 82 0.02609 0.02609 0.02609 2.76% MLCellLinOp::correctionResidual() 492 0.02316 0.02316 0.02316 2.45% Castro::computeTemp() 63 0.02266 0.02266 0.02266 2.40% Castro::initialize_do_advance() 10 0.02161 0.02161 0.02161 2.29% amrex::Dot() 1114 0.02157 0.02157 0.02157 2.28% MLMG:computeResOfCorrection() 410 0.02038 0.02038 0.02038 2.16% Castro::normalize_species() 62 0.01996 0.01996 0.01996 2.11% FabArray::norminf() 1061 0.01991 0.01991 0.01991 2.11% Castro::do_old_sources() 10 0.01895 0.01895 0.01895 2.01% Gravity::get_new_grav_vector() 11 0.01786 0.01786 0.01786 1.89% MLPoisson::define() 11 0.01753 0.01753 0.01753 1.86% MLMG::mgVcycle_down::1 82 0.01662 0.01662 0.01662 1.76% MLMG::mgVcycle_down::2 82 0.01553 0.01553 0.01553 1.64% Castro::construct_old_gravity() 10 0.01539 0.01539 0.01539 1.63% Gravity::get_old_grav_vector() 10 0.01538 0.01538 0.01538 1.63% MLMG::mgVcycle_down::3 82 0.01512 0.01512 0.01512 1.60% MLMG::mgVcycle_down::4 82 0.01501 0.01501 0.01501 1.59% FabArray::ParallelCopy() 861 0.01461 0.01461 0.01461 1.55% FabArray::ParallelCopy_nowait() 861 0.01436 0.01436 0.01436 1.52% Castro::initialize_advance() 10 0.01415 0.01415 0.01415 1.50% FabArray::setVal() 1144 0.01382 0.01382 0.01382 1.46% FabArray::Saxpy() 1370 0.01324 0.01324 0.01324 1.40% MLCGSolver::ParallelAllReduce 1832 0.01295 0.01295 0.01295 1.37% MLMG::addInterpCorrection() 410 0.01225 0.01225 0.01225 1.30% Castro::do_new_sources() 10 0.01223 0.01223 0.01223 1.29% MLMG::mgVcycle_up::1 82 0.01205 0.01205 0.01205 1.28% MLCellLinOp::defineAuxData() 11 0.01201 0.01201 0.01201 1.27% MLMG::mgVcycle_up::4 82 0.01198 0.01198 0.01198 1.27% Castro::expand_state() 10 0.01193 0.01193 0.01193 1.26% MLMG::mgVcycle_up::2 82 0.0118 0.0118 0.0118 1.25% MLMG::mgVcycle_up::3 82 0.01157 0.01157 0.01157 1.22% amrex::average_down 410 0.01152 0.01152 0.01152 1.22% Castro::enforce_min_density() 62 0.01141 0.01141 0.01141 1.21% Castro::post_timestep() 10 0.01122 0.01122 0.01122 1.19% MLPoisson::Fapply() 1142 0.01095 0.01095 0.01095 1.16% amrex::Copy() 472 0.01078 0.01078 0.01078 1.14% Gravity::fill_multipole_BCs() 11 0.009575 0.009575 0.009575 1.01% FabArray::Xpay() 821 0.008476 0.008476 0.008476 0.90% MLCellLinOp::solutionResidual() 93 0.007645 0.007645 0.007645 0.81% Castro::reset_internal_energy(MultiFab) 63 0.006963 0.006963 0.006963 0.74% MLMG::computeResidual() 82 0.006329 0.006329 0.006329 0.67% Castro::estTimeStep() 21 0.005942 0.005942 0.005942 0.63% MLCellLinOp::defineBC() 11 0.005235 0.005235 0.005235 0.55% MLMG::prepareForSolve() 11 0.005188 0.005188 0.005188 0.55% Amr::InitializeInit() 1 0.004968 0.004968 0.004968 0.53% Amr::defBaseLevel() 1 0.004964 0.004964 0.004964 0.53% BndryData::define() 11 0.00496 0.00496 0.00496 0.53% amrex::Add() 164 0.004409 0.004409 0.004409 0.47% Castro::initData() 1 0.004282 0.004282 0.004282 0.45% Castro::enforce_speed_limit() 62 0.003733 0.003733 0.003733 0.40% Castro::construct_new_source() 50 0.003424 0.003424 0.003424 0.36% Castro::construct_new_gravity_source() 10 0.00338 0.00338 0.00338 0.36% Castro::construct_old_source() 50 0.002869 0.002869 0.002869 0.30% Castro::construct_old_gravity_source() 10 0.00285 0.00285 0.00285 0.30% Castro::computeNewDt() 9 0.002636 0.002636 0.002636 0.28% Castro::finalize_do_advance() 10 0.002283 0.002283 0.002283 0.24% MLMG::ResNormInf() 93 0.002144 0.002144 0.002144 0.23% check_for_negative_density() 10 0.001899 0.001899 0.001899 0.20% Castro::apply_source_to_state() 20 0.00187 0.00187 0.00187 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001791 0.001791 0.001791 0.19% Castro::reset_internal_energy(Fab) 504 0.00162 0.00162 0.00162 0.17% MLCellLinOp::setLevelBC() 11 0.001591 0.001591 0.001591 0.17% MLMG::getGradSolution() 11 0.001578 0.001578 0.001578 0.17% MLCellLinOp::compGrad() 11 0.001572 0.001572 0.001572 0.17% FabArrayBase::getCPC() 1323 0.001441 0.001441 0.001441 0.15% FabArray::mult() 43 0.001369 0.001369 0.001369 0.14% MLMG::computeMLResidual() 11 0.001362 0.001362 0.001362 0.14% FabArray::setDomainBndry() 41 0.001348 0.001348 0.001348 0.14% MLPoisson::prepareForSolve() 11 0.001347 0.001347 0.001347 0.14% MLCellLinOp::prepareForSolve() 11 0.001333 0.001333 0.001333 0.14% Castro::check_for_nan() 20 0.001307 0.001307 0.001307 0.14% MultiFab::contains_nan() 20 0.001295 0.001295 0.001295 0.14% Castro::post_regrid() 1 0.001198 0.001198 0.001198 0.13% Castro::computeInitialDt() 2 0.001089 0.001089 0.001089 0.12% Gravity::update_max_rhs() 11 0.0009924 0.0009924 0.0009924 0.11% FabArrayBase::getFB() 4023 0.0007113 0.0007113 0.0007113 0.08% FabArrayBase::CPC::define() 454 0.0006711 0.0006711 0.0006711 0.07% Castro::finalize_advance() 10 0.0005918 0.0005918 0.0005918 0.06% Castro::Castro() 1 0.0005866 0.0005866 0.0005866 0.06% Amr::InitAmr() 1 0.0005126 0.0005126 0.0005126 0.05% Gravity::swapTimeLevels() 10 0.0004418 0.0004418 0.0004418 0.05% MLMG::MLResNormInf() 11 0.000337 0.000337 0.000337 0.04% MultiFab::max() 11 0.0003261 0.0003261 0.0003261 0.03% Castro::buildMetrics() 1 0.0002925 0.0002925 0.0002925 0.03% MLLinOp::define() 11 0.0002637 0.0002637 0.0002637 0.03% MLLinOp::defineGrids() 11 0.0002509 0.0002509 0.0002509 0.03% MLMG::MLRhsNormInf() 11 0.0002223 0.0002223 0.0002223 0.02% Castro::create_source_corrector() 10 0.0001679 0.0001679 0.0001679 0.02% FabArrayBase::FB::FB() 56 9.007e-05 9.007e-05 9.007e-05 0.01% Castro::enforce_consistent_e() 1 7.145e-05 7.145e-05 7.145e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.856e-05 5.856e-05 5.856e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.597e-05 5.597e-05 5.597e-05 0.01% makeSFC 55 4.2e-05 4.2e-05 4.2e-05 0.00% StateData::define() 4 3.881e-05 3.881e-05 3.881e-05 0.00% Castro::swap_state_time_levels() 10 3.647e-05 3.647e-05 3.647e-05 0.00% Amr::writeSmallPlotFile() 1 3.196e-05 3.196e-05 3.196e-05 0.00% Castro::initMFs() 1 3.091e-05 3.091e-05 3.091e-05 0.00% DistributionMapping::Distribute() 56 1.64e-05 1.64e-05 1.64e-05 0.00% Amr::initSubcycle() 1 8.856e-06 8.856e-06 8.856e-06 0.00% AmrLevel::checkPointPost() 3 5.119e-06 5.119e-06 5.119e-06 0.00% Castro::retry_advance_ctu() 10 4.575e-06 4.575e-06 4.575e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.11e-06 4.11e-06 4.11e-06 0.00% Gravity::set_mass_offset() 11 3.96e-06 3.96e-06 3.96e-06 0.00% Castro::FluxRegCrseInit 10 3.082e-06 3.082e-06 3.082e-06 0.00% AmrLevel::checkPointPre() 3 2.819e-06 2.819e-06 2.819e-06 0.00% Castro::FluxRegFineAdd() 10 2.289e-06 2.289e-06 2.289e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.025e-06 2.025e-06 2.025e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 88 MiB 9042 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 991 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1513 KiB 28 MiB Castro::initialize_advance() 80 80 17 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7617 KiB 14 MiB MLMG::prepareForSolve() 660 660 3473 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 196 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 166 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7519 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2028 B 2048 KiB Gravity::solve_for_phi() 80 80 548 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 99 KiB 2048 KiB BndryData::define() 1056 1056 317 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 202 KiB 671 KiB Castro::estTimeStep() 21 21 3067 B 480 KiB VisMF::Write(FabArray) 656 656 3274 B 320 KiB Castro::normalize_species() 62 62 6881 B 320 KiB amrex::average_down 1067 1067 1211 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1093 B 257 KiB amrex::Dot() 1360 1360 3369 B 160 KiB FabArray::norminf() 1143 1143 3261 B 160 KiB check_for_negative_density() 10 10 315 B 160 KiB Castro::initData() 1 1 52 B 160 KiB MultiFab::max() 11 11 53 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3391 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 285 B 9648 B MLCellLinOp::applyBC() 8866 8866 212 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3933 B 6144 B StateData::FillBoundary(geom) 1992 1992 42 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 492 492 103 B 1280 B MLCellLinOp::defineBC() 66 66 358 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 552 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 39 KiB 8192 KiB VisMF::Write(FabArray) 744 744 412 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3391 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 285 B 9648 B MLCellLinOp::applyBC() 4433 4433 211 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3933 B 6144 B Gravity::get_new_grav_vector() 3 3 2895 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 43 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 289 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 1143 1143 9 B 144 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): 2189 [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.12-18-g3497f016d920) finalized Initializing AMReX (23.12-18-g3497f016d920)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.12-18-g3497f016d920) initialized Starting run at 09:03:38 UTC on 2023-12-18. Successfully read inputs file ... Castro git describe: 23.12-12-ge65b3b9c2 AMReX git describe: 23.12-18-g3497f016d Microphysics git describe: 23.12-3-g96f4c7ef reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.524310064 Restart time = 0.134422508 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.069247449 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.048304688 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.07123492 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.07706618 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.070621463 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.029039981 seconds Ending run at 09:03:39 UTC on 2023-12-18. Run time = 0.501114447 Run time without initialization = 0.366029445 Average number of zones advanced per microsecond: 3.581 Average number of zones advanced per microsecond per rank: 3.581 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.5011 ... 0.5011 ... 0.5011 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1425 0.1425 0.1425 28.44% Amr::restart() 1 0.06599 0.06599 0.06599 13.17% VisMF::Read() 3 0.06159 0.06159 0.06159 12.29% MLCellLinOp::applyBC() 1946 0.03568 0.03568 0.03568 7.12% VisMF::Write(FabArray) 1 0.02642 0.02642 0.02642 5.27% MLPoisson::Fsmooth() 1440 0.01476 0.01476 0.01476 2.95% StateData::FillBoundary(geom) 160 0.01308 0.01308 0.01308 2.61% FillBoundary_nowait() 1766 0.01288 0.01288 0.01288 2.57% Castro::normalize_species() 30 0.01048 0.01048 0.01048 2.09% amrex::Dot() 484 0.00933 0.00933 0.00933 1.86% FabArray::norminf() 465 0.00891 0.00891 0.00891 1.78% Castro::computeTemp() 30 0.007775 0.007775 0.007775 1.55% FabArray::setVal() 537 0.006767 0.006767 0.006767 1.35% Castro::enforce_min_density() 30 0.006631 0.006631 0.006631 1.32% FabArray::ParallelCopy_nowait() 380 0.006157 0.006157 0.006157 1.23% FabArray::Saxpy() 597 0.0059 0.0059 0.0059 1.18% MLCellLinOp::defineAuxData() 6 0.005889 0.005889 0.005889 1.18% Gravity::fill_multipole_BCs() 6 0.005656 0.005656 0.005656 1.13% amrex::Copy() 221 0.005441 0.005441 0.005441 1.09% MLPoisson::Fapply() 500 0.004763 0.004763 0.004763 0.95% StateDataPhysBCFunct::() 20 0.004737 0.004737 0.004737 0.95% FabArray::Xpay() 361 0.003804 0.003804 0.003804 0.76% MLMG::addInterpCorrection() 180 0.003141 0.003141 0.003141 0.63% amrex::average_down 180 0.002734 0.002734 0.002734 0.55% Castro::estTimeStep() 10 0.002628 0.002628 0.002628 0.52% Amr::writePlotFile() 1 0.002459 0.002459 0.002459 0.49% BndryData::define() 6 0.002166 0.002166 0.002166 0.43% amrex::Add() 72 0.00191 0.00191 0.00191 0.38% Castro::reset_internal_energy(MultiFab) 30 0.001531 0.001531 0.001531 0.31% Castro::construct_new_gravity_source() 5 0.001461 0.001461 0.001461 0.29% Castro::construct_old_gravity_source() 5 0.00117 0.00117 0.00117 0.23% check_for_negative_density() 5 0.001051 0.001051 0.001051 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009882 0.0009882 0.0009882 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008826 0.0008826 0.0008826 0.18% MLCellLinOp::setLevelBC() 6 0.0008643 0.0008643 0.0008643 0.17% Castro::reset_internal_energy(Fab) 240 0.0008201 0.0008201 0.0008201 0.16% MLCGSolver::bicgstab 36 0.0008039 0.0008039 0.0008039 0.16% MLCellLinOp::prepareForSolve() 6 0.0007584 0.0007584 0.0007584 0.15% FabArray::mult() 22 0.000692 0.000692 0.000692 0.14% MultiFab::contains_nan() 10 0.0006854 0.0006854 0.0006854 0.14% FabArray::setDomainBndry() 20 0.0006767 0.0006767 0.0006767 0.14% MLCellLinOp::compGrad() 6 0.0005904 0.0005904 0.0005904 0.12% MLMG::prepareForSolve() 6 0.0005736 0.0005736 0.0005736 0.11% MLCellLinOp::smooth() 720 0.0004905 0.0004905 0.0004905 0.10% FabArrayBase::CPC::define() 244 0.0004565 0.0004565 0.0004565 0.09% Castro::enforce_speed_limit() 30 0.0004363 0.0004363 0.0004363 0.09% Amr::InitAmr() 1 0.0004244 0.0004244 0.0004244 0.08% FabArrayBase::getCPC() 632 0.0003771 0.0003771 0.0003771 0.08% FabArray::FillBoundary() 1766 0.0003607 0.0003607 0.0003607 0.07% main() 1 0.0003339 0.0003339 0.0003339 0.07% Gravity::get_old_grav_vector() 5 0.0003151 0.0003151 0.0003151 0.06% Gravity::get_new_grav_vector() 5 0.0002678 0.0002678 0.0002678 0.05% FabArrayBase::getFB() 1766 0.00026 0.00026 0.00026 0.05% Amr::coarseTimeStep() 5 0.0002236 0.0002236 0.0002236 0.04% MultiFab::max() 6 0.0002109 0.0002109 0.0002109 0.04% MLCellLinOp::apply() 500 0.0001965 0.0001965 0.0001965 0.04% AmrLevel::FillPatch() 20 0.0001948 0.0001948 0.0001948 0.04% MLCellLinOp::defineBC() 6 0.000152 0.000152 0.000152 0.03% MLCGSolver::ParallelAllReduce 798 0.0001469 0.0001469 0.0001469 0.03% MLLinOp::defineGrids() 6 0.0001249 0.0001249 0.0001249 0.02% FabArray::ParallelCopy() 380 0.0001107 0.0001107 0.0001107 0.02% FillPatchIterator::Initialize 20 0.0001058 0.0001058 0.0001058 0.02% Castro::create_source_corrector() 5 0.0001037 0.0001037 0.0001037 0.02% Amr::timeStep() 5 9.193e-05 9.193e-05 9.193e-05 0.02% AmrLevel::restart() 1 9.03e-05 9.03e-05 9.03e-05 0.02% MLCellLinOp::correctionResidual() 216 8.806e-05 8.806e-05 8.806e-05 0.02% Castro::subcycle_advance_ctu() 5 8.589e-05 8.589e-05 8.589e-05 0.02% MLMG::mgVcycle() 36 8.563e-05 8.563e-05 8.563e-05 0.02% Castro::construct_new_source() 25 7.693e-05 7.693e-05 7.693e-05 0.02% StateData::restartDoit() 4 7.045e-05 7.045e-05 7.045e-05 0.01% Gravity::solve_for_phi() 5 6.66e-05 6.66e-05 6.66e-05 0.01% Gravity::update_max_rhs() 6 6.446e-05 6.446e-05 6.446e-05 0.01% Castro::initialize_advance() 5 6.349e-05 6.349e-05 6.349e-05 0.01% FabArrayBase::FB::FB() 26 6.274e-05 6.274e-05 6.274e-05 0.01% Castro::do_new_sources() 5 5.763e-05 5.763e-05 5.763e-05 0.01% Castro::advance() 5 5.382e-05 5.382e-05 5.382e-05 0.01% MLMG:computeResOfCorrection() 180 5.159e-05 5.159e-05 5.159e-05 0.01% MLMG::actualBottomSolve() 36 4.352e-05 4.352e-05 4.352e-05 0.01% Castro::do_advance_ctu() 5 4.169e-05 4.169e-05 4.169e-05 0.01% Castro::finalize_do_advance() 5 4.015e-05 4.015e-05 4.015e-05 0.01% Castro::clean_state() 30 3.987e-05 3.987e-05 3.987e-05 0.01% MLMG::mgVcycle_down::0 36 3.873e-05 3.873e-05 3.873e-05 0.01% Castro::post_timestep() 5 3.843e-05 3.843e-05 3.843e-05 0.01% MLMG::mgVcycle_down::1 36 3.678e-05 3.678e-05 3.678e-05 0.01% MLMG::mgVcycle_down::2 36 3.397e-05 3.397e-05 3.397e-05 0.01% MLMG::solve() 6 3.349e-05 3.349e-05 3.349e-05 0.01% MLMG::mgVcycle_down::4 36 3.285e-05 3.285e-05 3.285e-05 0.01% MLMG::mgVcycle_down::3 36 3.178e-05 3.178e-05 3.178e-05 0.01% Castro::finalize_advance() 5 3.109e-05 3.109e-05 3.109e-05 0.01% Amr::writeSmallPlotFile() 1 3.042e-05 3.042e-05 3.042e-05 0.01% Castro::initialize_do_advance() 5 2.99e-05 2.99e-05 2.99e-05 0.01% Castro::post_restart() 1 2.953e-05 2.953e-05 2.953e-05 0.01% Castro::buildMetrics() 1 2.889e-05 2.889e-05 2.889e-05 0.01% Castro::construct_old_source() 25 2.826e-05 2.826e-05 2.826e-05 0.01% MLMG::mgVcycle_up::4 36 2.732e-05 2.732e-05 2.732e-05 0.01% MLMG::mgVcycle_up::0 36 2.621e-05 2.621e-05 2.621e-05 0.01% Castro::initMFs() 1 2.538e-05 2.538e-05 2.538e-05 0.01% Castro::swap_state_time_levels() 5 2.433e-05 2.433e-05 2.433e-05 0.00% MLMG::oneIter() 36 2.317e-05 2.317e-05 2.317e-05 0.00% MLCellLinOp::solutionResidual() 42 2.296e-05 2.296e-05 2.296e-05 0.00% MLMG::mgVcycle_up::3 36 2.206e-05 2.206e-05 2.206e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.102e-05 2.102e-05 2.102e-05 0.00% MLMG::mgVcycle_up::2 36 2.087e-05 2.087e-05 2.087e-05 0.00% MLMG::mgVcycle_up::1 36 2.028e-05 2.028e-05 2.028e-05 0.00% Castro::construct_new_gravity() 5 1.816e-05 1.816e-05 1.816e-05 0.00% MLMG::ResNormInf() 42 1.746e-05 1.746e-05 1.746e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.723e-05 1.723e-05 1.723e-05 0.00% FillPatchSingleLevel 20 1.609e-05 1.609e-05 1.609e-05 0.00% MLPoisson::define() 6 1.515e-05 1.515e-05 1.515e-05 0.00% MLMG::mgVcycle_bottom 36 1.494e-05 1.494e-05 1.494e-05 0.00% makeSFC 30 1.487e-05 1.487e-05 1.487e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.346e-05 1.346e-05 1.346e-05 0.00% MLMG::computeResidual() 36 1.322e-05 1.322e-05 1.322e-05 0.00% Castro::do_old_sources() 5 1.155e-05 1.155e-05 1.155e-05 0.00% MLPoisson::prepareForSolve() 6 1.032e-05 1.032e-05 1.032e-05 0.00% MLMG::computeMLResidual() 6 1.013e-05 1.013e-05 1.013e-05 0.00% DistributionMapping::Distribute() 31 9.864e-06 9.864e-06 9.864e-06 0.00% Amr::initSubcycle() 1 9.158e-06 9.158e-06 9.158e-06 0.00% Gravity::actual_multilevel_solve() 1 8.421e-06 8.421e-06 8.421e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.355e-06 7.355e-06 7.355e-06 0.00% MLLinOp::define() 6 6.269e-06 6.269e-06 6.269e-06 0.00% Castro::apply_source_to_state() 10 6.101e-06 6.101e-06 6.101e-06 0.00% Castro::construct_old_gravity() 5 5.834e-06 5.834e-06 5.834e-06 0.00% Castro::check_for_nan() 10 5.779e-06 5.779e-06 5.779e-06 0.00% Gravity::swapTimeLevels() 5 4.287e-06 4.287e-06 4.287e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.995e-06 3.995e-06 3.995e-06 0.00% Amr::init() 1 3.497e-06 3.497e-06 3.497e-06 0.00% MLMG::getGradSolution() 6 3.341e-06 3.341e-06 3.341e-06 0.00% Castro::computeNewDt() 5 2.941e-06 2.941e-06 2.941e-06 0.00% Castro::expand_state() 5 2.846e-06 2.846e-06 2.846e-06 0.00% Gravity::set_mass_offset() 6 2.544e-06 2.544e-06 2.544e-06 0.00% MLMG::MLResNormInf() 6 2.402e-06 2.402e-06 2.402e-06 0.00% MLMG::MLRhsNormInf() 6 2.132e-06 2.132e-06 2.132e-06 0.00% Castro::retry_advance_ctu() 5 2.01e-06 2.01e-06 2.01e-06 0.00% Castro::FluxRegCrseInit 5 1.408e-06 1.408e-06 1.408e-06 0.00% Castro::FluxRegFineAdd() 5 1.292e-06 1.292e-06 1.292e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.073e-06 1.073e-06 1.073e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.5011 0.5011 0.5011 100.00% Amr::coarseTimeStep() 5 0.3367 0.3367 0.3367 67.18% Amr::timeStep() 5 0.3348 0.3348 0.3348 66.81% Castro::advance() 5 0.3291 0.3291 0.3291 65.67% Castro::subcycle_advance_ctu() 5 0.3213 0.3213 0.3213 64.11% Castro::do_advance_ctu() 5 0.3212 0.3212 0.3212 64.09% Castro::construct_ctu_hydro_source() 5 0.1485 0.1485 0.1485 29.63% Castro::construct_new_gravity() 5 0.1377 0.1377 0.1377 27.47% Gravity::solve_phi_with_mlmg() 6 0.1353 0.1353 0.1353 26.99% Amr::init() 1 0.1345 0.1345 0.1345 26.84% Amr::restart() 1 0.1345 0.1345 0.1345 26.84% Gravity::solve_for_phi() 5 0.1296 0.1296 0.1296 25.86% Gravity::actual_solve_with_mlmg() 6 0.1294 0.1294 0.1294 25.81% MLMG::solve() 6 0.1169 0.1169 0.1169 23.33% MLMG::oneIter() 36 0.1093 0.1093 0.1093 21.81% MLMG::mgVcycle() 36 0.1077 0.1077 0.1077 21.50% AmrLevel::restart() 1 0.06198 0.06198 0.06198 12.37% StateData::restartDoit() 4 0.06188 0.06188 0.06188 12.35% VisMF::Read() 3 0.06159 0.06159 0.06159 12.29% MLCellLinOp::smooth() 720 0.0524 0.0524 0.0524 10.46% MLCellLinOp::applyBC() 1946 0.04924 0.04924 0.04924 9.83% MLMG::mgVcycle_bottom 36 0.03395 0.03395 0.03395 6.78% MLMG::actualBottomSolve() 36 0.03394 0.03394 0.03394 6.77% MLCGSolver::bicgstab 36 0.03361 0.03361 0.03361 6.71% Amr::writePlotFile() 1 0.02914 0.02914 0.02914 5.82% Castro::clean_state() 30 0.02771 0.02771 0.02771 5.53% VisMF::Write(FabArray) 1 0.02642 0.02642 0.02642 5.27% AmrLevel::FillPatch() 20 0.02276 0.02276 0.02276 4.54% FillPatchIterator::Initialize 20 0.02067 0.02067 0.02067 4.12% FillPatchIterator::FillFromLevel0() 20 0.01988 0.01988 0.01988 3.97% FillPatchSingleLevel 20 0.01986 0.01986 0.01986 3.96% StateDataPhysBCFunct::() 20 0.01782 0.01782 0.01782 3.56% MLCellLinOp::apply() 500 0.01677 0.01677 0.01677 3.35% MLMG::mgVcycle_down::0 36 0.01483 0.01483 0.01483 2.96% MLPoisson::Fsmooth() 1440 0.01476 0.01476 0.01476 2.95% FabArray::FillBoundary() 1766 0.01356 0.01356 0.01356 2.71% FillBoundary_nowait() 1766 0.0132 0.0132 0.0132 2.63% StateData::FillBoundary(geom) 160 0.01308 0.01308 0.01308 2.61% MLMG::mgVcycle_up::0 36 0.0111 0.0111 0.0111 2.22% Castro::initialize_do_advance() 5 0.0106 0.0106 0.0106 2.12% Castro::normalize_species() 30 0.01048 0.01048 0.01048 2.09% Castro::computeTemp() 30 0.01013 0.01013 0.01013 2.02% MLCellLinOp::correctionResidual() 216 0.01007 0.01007 0.01007 2.01% MLPoisson::define() 6 0.009809 0.009809 0.009809 1.96% amrex::Dot() 484 0.00933 0.00933 0.00933 1.86% Castro::do_old_sources() 5 0.008948 0.008948 0.008948 1.79% FabArray::norminf() 465 0.00891 0.00891 0.00891 1.78% MLMG:computeResOfCorrection() 180 0.008841 0.008841 0.008841 1.76% Gravity::get_new_grav_vector() 5 0.007963 0.007963 0.007963 1.59% Castro::construct_old_gravity() 5 0.007609 0.007609 0.007609 1.52% Gravity::get_old_grav_vector() 5 0.007603 0.007603 0.007603 1.52% Castro::initialize_advance() 5 0.007464 0.007464 0.007464 1.49% MLMG::mgVcycle_down::1 36 0.007346 0.007346 0.007346 1.47% FabArray::setVal() 537 0.006767 0.006767 0.006767 1.35% MLMG::mgVcycle_down::2 36 0.006744 0.006744 0.006744 1.35% MLCellLinOp::defineAuxData() 6 0.006727 0.006727 0.006727 1.34% FabArray::ParallelCopy() 380 0.006665 0.006665 0.006665 1.33% Castro::enforce_min_density() 30 0.006631 0.006631 0.006631 1.32% MLMG::mgVcycle_down::3 36 0.006577 0.006577 0.006577 1.31% FabArray::ParallelCopy_nowait() 380 0.006554 0.006554 0.006554 1.31% MLMG::mgVcycle_down::4 36 0.0065 0.0065 0.0065 1.30% Castro::do_new_sources() 5 0.006369 0.006369 0.006369 1.27% Castro::post_restart() 1 0.006343 0.006343 0.006343 1.27% Gravity::multilevel_solve_for_new_phi() 1 0.005955 0.005955 0.005955 1.19% Gravity::actual_multilevel_solve() 1 0.005938 0.005938 0.005938 1.18% FabArray::Saxpy() 597 0.0059 0.0059 0.0059 1.18% Castro::expand_state() 5 0.005852 0.005852 0.005852 1.17% Gravity::fill_multipole_BCs() 6 0.005782 0.005782 0.005782 1.15% MLCGSolver::ParallelAllReduce 798 0.005674 0.005674 0.005674 1.13% Castro::post_timestep() 5 0.00561 0.00561 0.00561 1.12% amrex::Copy() 221 0.005441 0.005441 0.005441 1.09% MLMG::addInterpCorrection() 180 0.005439 0.005439 0.005439 1.09% MLMG::mgVcycle_up::4 36 0.005254 0.005254 0.005254 1.05% MLMG::mgVcycle_up::1 36 0.005215 0.005215 0.005215 1.04% MLMG::mgVcycle_up::2 36 0.005119 0.005119 0.005119 1.02% amrex::average_down 180 0.005072 0.005072 0.005072 1.01% MLMG::mgVcycle_up::3 36 0.005021 0.005021 0.005021 1.00% MLPoisson::Fapply() 500 0.004763 0.004763 0.004763 0.95% FabArray::Xpay() 361 0.003804 0.003804 0.003804 0.76% MLCellLinOp::solutionResidual() 42 0.003575 0.003575 0.003575 0.71% MLCellLinOp::defineBC() 6 0.002905 0.002905 0.002905 0.58% MLMG::prepareForSolve() 6 0.002903 0.002903 0.002903 0.58% MLMG::computeResidual() 36 0.002774 0.002774 0.002774 0.55% BndryData::define() 6 0.002753 0.002753 0.002753 0.55% Castro::estTimeStep() 10 0.002628 0.002628 0.002628 0.52% Castro::reset_internal_energy(MultiFab) 30 0.002351 0.002351 0.002351 0.47% amrex::Add() 72 0.00191 0.00191 0.00191 0.38% Castro::computeNewDt() 5 0.001671 0.001671 0.001671 0.33% Castro::construct_new_source() 25 0.001538 0.001538 0.001538 0.31% Castro::construct_new_gravity_source() 5 0.001461 0.001461 0.001461 0.29% Castro::construct_old_source() 25 0.001199 0.001199 0.001199 0.24% Castro::construct_old_gravity_source() 5 0.00117 0.00117 0.00117 0.23% check_for_negative_density() 5 0.001051 0.001051 0.001051 0.21% Castro::finalize_do_advance() 5 0.0009999 0.0009999 0.0009999 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009882 0.0009882 0.0009882 0.20% MLMG::ResNormInf() 42 0.000971 0.000971 0.000971 0.19% Castro::apply_source_to_state() 10 0.0009668 0.0009668 0.0009668 0.19% MLMG::getGradSolution() 6 0.0008776 0.0008776 0.0008776 0.18% MLCellLinOp::compGrad() 6 0.0008743 0.0008743 0.0008743 0.17% MLCellLinOp::setLevelBC() 6 0.0008643 0.0008643 0.0008643 0.17% FabArrayBase::getCPC() 632 0.0008336 0.0008336 0.0008336 0.17% MLMG::computeMLResidual() 6 0.0008249 0.0008249 0.0008249 0.16% Castro::reset_internal_energy(Fab) 240 0.0008201 0.0008201 0.0008201 0.16% MLPoisson::prepareForSolve() 6 0.0007687 0.0007687 0.0007687 0.15% MLCellLinOp::prepareForSolve() 6 0.0007584 0.0007584 0.0007584 0.15% Gravity::update_max_rhs() 6 0.0007223 0.0007223 0.0007223 0.14% FabArray::mult() 22 0.000692 0.000692 0.000692 0.14% Castro::check_for_nan() 10 0.0006912 0.0006912 0.0006912 0.14% MultiFab::contains_nan() 10 0.0006854 0.0006854 0.0006854 0.14% FabArray::setDomainBndry() 20 0.0006767 0.0006767 0.0006767 0.14% FabArrayBase::CPC::define() 244 0.0004565 0.0004565 0.0004565 0.09% Castro::enforce_speed_limit() 30 0.0004363 0.0004363 0.0004363 0.09% Amr::InitAmr() 1 0.0004335 0.0004335 0.0004335 0.09% FabArrayBase::getFB() 1766 0.0003227 0.0003227 0.0003227 0.06% Castro::finalize_advance() 5 0.0002929 0.0002929 0.0002929 0.06% Gravity::swapTimeLevels() 5 0.0002399 0.0002399 0.0002399 0.05% MultiFab::max() 6 0.0002109 0.0002109 0.0002109 0.04% MLMG::MLResNormInf() 6 0.0001897 0.0001897 0.0001897 0.04% MLLinOp::define() 6 0.0001628 0.0001628 0.0001628 0.03% Castro::buildMetrics() 1 0.0001571 0.0001571 0.0001571 0.03% MLLinOp::defineGrids() 6 0.0001565 0.0001565 0.0001565 0.03% MLMG::MLRhsNormInf() 6 0.0001199 0.0001199 0.0001199 0.02% Castro::create_source_corrector() 5 0.0001037 0.0001037 0.0001037 0.02% FabArrayBase::FB::FB() 26 6.274e-05 6.274e-05 6.274e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.056e-05 3.056e-05 3.056e-05 0.01% Amr::writeSmallPlotFile() 1 3.042e-05 3.042e-05 3.042e-05 0.01% Castro::initMFs() 1 2.538e-05 2.538e-05 2.538e-05 0.01% Castro::swap_state_time_levels() 5 2.433e-05 2.433e-05 2.433e-05 0.00% makeSFC 30 2.32e-05 2.32e-05 2.32e-05 0.00% DistributionMapping::Distribute() 31 9.864e-06 9.864e-06 9.864e-06 0.00% Amr::initSubcycle() 1 9.158e-06 9.158e-06 9.158e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.526e-06 5.526e-06 5.526e-06 0.00% Gravity::set_mass_offset() 6 2.544e-06 2.544e-06 2.544e-06 0.00% Castro::retry_advance_ctu() 5 2.01e-06 2.01e-06 2.01e-06 0.00% Castro::FluxRegCrseInit 5 1.408e-06 1.408e-06 1.408e-06 0.00% Castro::FluxRegFineAdd() 5 1.292e-06 1.292e-06 1.292e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.073e-06 1.073e-06 1.073e-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 158 MiB 9042 MiB Castro::initMFs() 48 48 50 MiB 68 MiB Castro::swap_state_time_levels() 32 32 40 MiB 55 MiB StateData::restartDoit() 32 32 46 MiB 55 MiB FillPatchIterator::Initialize 160 160 896 KiB 39 MiB Castro::initialize_do_advance() 40 40 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1554 KiB 28 MiB Castro::initialize_advance() 40 40 15 MiB 23 MiB Castro::buildMetrics() 32 32 11 MiB 15 MiB Castro::post_restart() 48 48 5634 KiB 14 MiB MLMG::prepareForSolve() 361 361 2864 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 157 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 162 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 5622 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 19 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2868 B 2048 KiB Gravity::solve_for_phi() 40 40 528 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 24 KiB 2048 KiB BndryData::define() 576 576 264 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 169 KiB 671 KiB Castro::estTimeStep() 10 10 2478 B 480 KiB VisMF::Write(FabArray) 112 112 1988 B 320 KiB Castro::normalize_species() 30 30 6801 B 320 KiB amrex::average_down 469 469 972 B 257 KiB MLMG::addInterpCorrection() 468 468 919 B 257 KiB amrex::Dot() 592 592 2743 B 160 KiB FabArray::norminf() 501 501 2749 B 160 KiB check_for_negative_density() 5 5 328 B 160 KiB MultiFab::max() 6 6 65 B 160 KiB FabArray::setVal() 66 66 15 KiB 23 KiB MultiFab::contains_nan() 10 10 26 B 20 KiB MLPoisson::Fsmooth() 60 60 2776 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 38 B 10 KiB FillBoundary_nowait() 336 336 222 B 9648 B MLCellLinOp::applyBC() 3892 3892 175 B 9344 B amrex::Copy() 56 56 4871 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 31 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 216 216 85 B 1280 B MLCellLinOp::defineBC() 36 36 296 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1003 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 74 KiB 8192 KiB VisMF::Write(FabArray) 120 120 140 KiB 3584 KiB VisMF::Read() 24 24 185 KiB 3000 KiB FabArray::setVal() 66 66 15 KiB 23 KiB MLPoisson::Fsmooth() 60 60 2776 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 39 B 10 KiB FillBoundary_nowait() 336 336 223 B 9648 B MLCellLinOp::applyBC() 1946 1946 175 B 9328 B amrex::Copy() 56 56 4871 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2208 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 31 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 438 B 1296 B amrex::average_down 37 37 177 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() 501 501 8 B 144 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): 2189 [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.12-18-g3497f016d920) finalized