Initializing CUDA... CUDA initialized with 1 device. AMReX (23.06-15-gcc7a5c1171bb) initialized Starting run at 08:20:59 UTC on 2023-06-12. Successfully read inputs file ... Castro git describe: 23.06-17-g448ec9434 AMReX git describe: 23.06-15-gcc7a5c117 Microphysics git describe: 23.06-10-g3b44dee2 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.060219651 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034987344 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.046904988 [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.051019303 [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.073161255 [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.076054328 [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.052096249 [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.059969168 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.06030212 [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.078284925 [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.076228536 [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.048252847 [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.052022232 [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.059542094 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.034292313 seconds Ending run at 08:21:00 UTC on 2023-06-12. Run time = 0.912893967 Run time without initialization = 0.768774718 Average number of zones advanced per microsecond: 3.410 Average number of zones advanced per microsecond per rank: 3.410 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9129 ... 0.9129 ... 0.9129 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2426 0.2426 0.2426 26.58% VisMF::Write(FabArray) 11 0.2421 0.2421 0.2421 26.52% MLCellLinOp::applyBC() 4433 0.07718 0.07718 0.07718 8.45% MLPoisson::Fsmooth() 3280 0.03273 0.03273 0.03273 3.59% FillBoundary_nowait() 4023 0.03049 0.03049 0.03049 3.34% StateData::FillBoundary(geom) 328 0.02564 0.02564 0.02564 2.81% amrex::Dot() 1114 0.02085 0.02085 0.02085 2.28% Castro::normalize_species() 62 0.0194 0.0194 0.0194 2.12% Castro::computeTemp() 63 0.01569 0.01569 0.01569 1.72% amrex::Copy() 1029 0.01488 0.01488 0.01488 1.63% FabArray::norminf() 743 0.01443 0.01443 0.01443 1.58% FabArray::ParallelCopy_nowait() 861 0.01351 0.01351 0.01351 1.48% FabArray::setVal() 1144 0.01322 0.01322 0.01322 1.45% Castro::enforce_min_density() 62 0.01217 0.01217 0.01217 1.33% StateDataPhysBCFunct::() 41 0.01169 0.01169 0.01169 1.28% MLPoisson::Fapply() 1142 0.01049 0.01049 0.01049 1.15% MLCellLinOp::defineAuxData() 11 0.009716 0.009716 0.009716 1.06% FabArray::Saxpy() 813 0.008187 0.008187 0.008187 0.90% FabArray::Xpay() 821 0.008088 0.008088 0.008088 0.89% MLMG::addInterpCorrection() 410 0.006711 0.006711 0.006711 0.74% Gravity::fill_multipole_BCs() 11 0.006618 0.006618 0.006618 0.72% amrex::average_down 410 0.00604 0.00604 0.00604 0.66% Castro::estTimeStep() 21 0.005313 0.005313 0.005313 0.58% Castro::reset_internal_energy(MultiFab) 63 0.005194 0.005194 0.005194 0.57% FabArray::LinComb() 557 0.004573 0.004573 0.004573 0.50% Castro::enforce_speed_limit() 62 0.004467 0.004467 0.004467 0.49% amrex::Add() 164 0.00439 0.00439 0.00439 0.48% Amr::checkPoint() 3 0.003977 0.003977 0.003977 0.44% BndryData::define() 11 0.003758 0.003758 0.003758 0.41% Castro::construct_new_gravity_source() 10 0.003156 0.003156 0.003156 0.35% Castro::construct_old_gravity_source() 10 0.002693 0.002693 0.002693 0.30% Amr::writePlotFile() 2 0.002472 0.002472 0.002472 0.27% MLCGSolver::bicgstab 82 0.002197 0.002197 0.002197 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001691 0.001691 0.001691 0.19% check_for_negative_density() 10 0.00161 0.00161 0.00161 0.18% Castro::reset_internal_energy(Fab) 504 0.001601 0.001601 0.001601 0.18% Gravity::actual_solve_with_mlmg() 11 0.001465 0.001465 0.001465 0.16% MLCellLinOp::setLevelBC() 11 0.001385 0.001385 0.001385 0.15% FabArray::mult() 43 0.001313 0.001313 0.001313 0.14% FabArray::setDomainBndry() 41 0.0013 0.0013 0.0013 0.14% MultiFab::contains_nan() 20 0.001198 0.001198 0.001198 0.13% Castro::initData() 1 0.001192 0.001192 0.001192 0.13% MLCellLinOp::prepareForSolve() 11 0.001135 0.001135 0.001135 0.12% MLCellLinOp::smooth() 1640 0.001105 0.001105 0.001105 0.12% MLCellLinOp::compGrad() 11 0.000917 0.000917 0.000917 0.10% MLMG::prepareForSolve() 11 0.0008927 0.0008927 0.0008927 0.10% FabArray::FillBoundary() 4023 0.0008034 0.0008034 0.0008034 0.09% FabArrayBase::getCPC() 1323 0.0007469 0.0007469 0.0007469 0.08% FabArrayBase::CPC::define() 454 0.0006576 0.0006576 0.0006576 0.07% Gravity::get_new_grav_vector() 11 0.0006287 0.0006287 0.0006287 0.07% FabArrayBase::getFB() 4023 0.000606 0.000606 0.000606 0.07% Gravity::get_old_grav_vector() 10 0.0005603 0.0005603 0.0005603 0.06% Amr::InitAmr() 1 0.0004915 0.0004915 0.0004915 0.05% MLCellLinOp::apply() 1142 0.0004837 0.0004837 0.0004837 0.05% MLLinOp::defineGrids() 11 0.0003805 0.0003805 0.0003805 0.04% MLMG::mgVcycle() 82 0.0003735 0.0003735 0.0003735 0.04% Amr::coarseTimeStep() 10 0.0003369 0.0003369 0.0003369 0.04% main() 1 0.0002965 0.0002965 0.0002965 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002731 0.0002731 0.0002731 0.03% MultiFab::max() 11 0.0002598 0.0002598 0.0002598 0.03% Castro::subcycle_advance_ctu() 10 0.0002383 0.0002383 0.0002383 0.03% FabArray::ParallelCopy() 861 0.0002342 0.0002342 0.0002342 0.03% MLCellLinOp::correctionResidual() 492 0.0002256 0.0002256 0.0002256 0.02% MLCellLinOp::defineBC() 11 0.0002242 0.0002242 0.0002242 0.02% FillPatchIterator::Initialize 41 0.0002218 0.0002218 0.0002218 0.02% Castro::create_source_corrector() 10 0.0001554 0.0001554 0.0001554 0.02% Amr::timeStep() 10 0.0001459 0.0001459 0.0001459 0.02% StateData::checkPoint() 12 0.0001308 0.0001308 0.0001308 0.01% Gravity::update_max_rhs() 11 0.0001175 0.0001175 0.0001175 0.01% Gravity::solve_for_phi() 10 0.000117 0.000117 0.000117 0.01% MLMG:computeResOfCorrection() 410 0.0001123 0.0001123 0.0001123 0.01% MLMG::actualBottomSolve() 82 9.485e-05 9.485e-05 9.485e-05 0.01% Castro::advance() 10 9.311e-05 9.311e-05 9.311e-05 0.01% MLMG::mgVcycle_down::0 82 9.155e-05 9.155e-05 9.155e-05 0.01% Castro::do_old_sources() 10 8.96e-05 8.96e-05 8.96e-05 0.01% FabArrayBase::FB::FB() 56 8.859e-05 8.859e-05 8.859e-05 0.01% MLMG::mgVcycle_down::1 82 8.84e-05 8.84e-05 8.84e-05 0.01% Castro::Castro() 1 8.458e-05 8.458e-05 8.458e-05 0.01% MLMG::mgVcycle_down::2 82 8.312e-05 8.312e-05 8.312e-05 0.01% Castro::do_new_sources() 10 7.967e-05 7.967e-05 7.967e-05 0.01% Castro::expand_state() 10 7.941e-05 7.941e-05 7.941e-05 0.01% MLMG::mgVcycle_down::3 82 7.821e-05 7.821e-05 7.821e-05 0.01% MLMG::mgVcycle_down::4 82 7.792e-05 7.792e-05 7.792e-05 0.01% AmrLevel::checkPoint() 3 7.42e-05 7.42e-05 7.42e-05 0.01% MLMG::solve() 11 7.34e-05 7.34e-05 7.34e-05 0.01% Castro::initialize_advance() 10 7.036e-05 7.036e-05 7.036e-05 0.01% Castro::clean_state() 62 6.453e-05 6.453e-05 6.453e-05 0.01% Castro::initialize_do_advance() 10 5.97e-05 5.97e-05 5.97e-05 0.01% MLMG::mgVcycle_up::4 82 5.934e-05 5.934e-05 5.934e-05 0.01% Castro::finalize_advance() 10 5.924e-05 5.924e-05 5.924e-05 0.01% MLMG::oneIter() 82 5.332e-05 5.332e-05 5.332e-05 0.01% MLMG::mgVcycle_up::1 82 5.225e-05 5.225e-05 5.225e-05 0.01% MLMG::mgVcycle_up::0 82 5.16e-05 5.16e-05 5.16e-05 0.01% MLMG::mgVcycle_up::3 82 5.065e-05 5.065e-05 5.065e-05 0.01% MLMG::mgVcycle_up::2 82 4.849e-05 4.849e-05 4.849e-05 0.01% MLCellLinOp::solutionResidual() 93 4.829e-05 4.829e-05 4.829e-05 0.01% StateData::define() 4 4.07e-05 4.07e-05 4.07e-05 0.00% Castro::finalize_do_advance() 10 3.98e-05 3.98e-05 3.98e-05 0.00% Castro::construct_new_source() 50 3.887e-05 3.887e-05 3.887e-05 0.00% Castro::swap_state_time_levels() 10 3.884e-05 3.884e-05 3.884e-05 0.00% Castro::post_timestep() 10 3.772e-05 3.772e-05 3.772e-05 0.00% MLMG::ResNormInf() 93 3.568e-05 3.568e-05 3.568e-05 0.00% Castro::enforce_consistent_e() 1 3.442e-05 3.442e-05 3.442e-05 0.00% MLMG::mgVcycle_bottom 82 3.089e-05 3.089e-05 3.089e-05 0.00% MLMG::computeResidual() 82 3.06e-05 3.06e-05 3.06e-05 0.00% Castro::do_advance_ctu() 10 2.951e-05 2.951e-05 2.951e-05 0.00% FillPatchSingleLevel 41 2.875e-05 2.875e-05 2.875e-05 0.00% Amr::writeSmallPlotFile() 1 2.729e-05 2.729e-05 2.729e-05 0.00% MLPoisson::define() 11 2.651e-05 2.651e-05 2.651e-05 0.00% Amr::defBaseLevel() 1 2.593e-05 2.593e-05 2.593e-05 0.00% makeSFC 55 2.462e-05 2.462e-05 2.462e-05 0.00% Castro::construct_new_gravity() 10 2.457e-05 2.457e-05 2.457e-05 0.00% Castro::initMFs() 1 2.428e-05 2.428e-05 2.428e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.101e-05 2.101e-05 2.101e-05 0.00% Castro::buildMetrics() 1 1.914e-05 1.914e-05 1.914e-05 0.00% Amr::FinalizeInit() 1 1.869e-05 1.869e-05 1.869e-05 0.00% Castro::construct_old_source() 50 1.814e-05 1.814e-05 1.814e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.688e-05 1.688e-05 1.688e-05 0.00% DistributionMapping::Distribute() 56 1.603e-05 1.603e-05 1.603e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.538e-05 1.538e-05 1.538e-05 0.00% MLPoisson::prepareForSolve() 11 1.459e-05 1.459e-05 1.459e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.336e-05 1.336e-05 1.336e-05 0.00% Castro::check_for_nan() 20 1.074e-05 1.074e-05 1.074e-05 0.00% Castro::apply_source_to_state() 20 1.05e-05 1.05e-05 1.05e-05 0.00% Castro::post_init() 1 1.007e-05 1.007e-05 1.007e-05 0.00% MLLinOp::define() 11 9.798e-06 9.798e-06 9.798e-06 0.00% Gravity::swapTimeLevels() 10 9.272e-06 9.272e-06 9.272e-06 0.00% Castro::construct_old_gravity() 10 9.169e-06 9.169e-06 9.169e-06 0.00% Amr::initSubcycle() 1 9.092e-06 9.092e-06 9.092e-06 0.00% Gravity::actual_multilevel_solve() 1 8.305e-06 8.305e-06 8.305e-06 0.00% MLMG::computeMLResidual() 11 8.138e-06 8.138e-06 8.138e-06 0.00% Castro::computeNewDt() 9 6.052e-06 6.052e-06 6.052e-06 0.00% MLMG::getGradSolution() 11 5.901e-06 5.901e-06 5.901e-06 0.00% Amr::InitializeInit() 1 5.258e-06 5.258e-06 5.258e-06 0.00% Gravity::set_mass_offset() 11 4.013e-06 4.013e-06 4.013e-06 0.00% Castro::retry_advance_ctu() 10 3.898e-06 3.898e-06 3.898e-06 0.00% AmrLevel::checkPointPost() 3 3.835e-06 3.835e-06 3.835e-06 0.00% MLMG::MLRhsNormInf() 11 3.743e-06 3.743e-06 3.743e-06 0.00% MLMG::MLResNormInf() 11 3.403e-06 3.403e-06 3.403e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.095e-06 3.095e-06 3.095e-06 0.00% Castro::FluxRegCrseInit 10 2.934e-06 2.934e-06 2.934e-06 0.00% Amr::init() 1 2.711e-06 2.711e-06 2.711e-06 0.00% Castro::computeInitialDt() 2 2.555e-06 2.555e-06 2.555e-06 0.00% Castro::FluxRegFineAdd() 10 2.037e-06 2.037e-06 2.037e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.878e-06 1.878e-06 1.878e-06 0.00% AmrLevel::checkPointPre() 3 1.477e-06 1.477e-06 1.477e-06 0.00% Amr::initialInit() 1 1.044e-06 1.044e-06 1.044e-06 0.00% Castro::post_regrid() 1 9.14e-07 9.14e-07 9.14e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9129 0.9129 0.9129 100.00% Amr::coarseTimeStep() 10 0.7342 0.7342 0.7342 80.43% Amr::timeStep() 10 0.6112 0.6112 0.6112 66.95% Castro::advance() 10 0.6001 0.6001 0.6001 65.73% Castro::subcycle_advance_ctu() 10 0.5856 0.5856 0.5856 64.14% Castro::do_advance_ctu() 10 0.5854 0.5854 0.5854 64.12% Gravity::solve_phi_with_mlmg() 11 0.2847 0.2847 0.2847 31.19% Gravity::actual_solve_with_mlmg() 11 0.2776 0.2776 0.2776 30.41% Castro::construct_new_gravity() 10 0.2603 0.2603 0.2603 28.51% MLMG::solve() 11 0.2569 0.2569 0.2569 28.15% Castro::construct_ctu_hydro_source() 10 0.2533 0.2533 0.2533 27.75% Gravity::solve_for_phi() 10 0.2444 0.2444 0.2444 26.77% MLMG::oneIter() 82 0.2426 0.2426 0.2426 26.58% VisMF::Write(FabArray) 11 0.2421 0.2421 0.2421 26.52% MLMG::mgVcycle() 82 0.2389 0.2389 0.2389 26.17% Amr::checkPoint() 3 0.1799 0.1799 0.1799 19.70% AmrLevel::checkPoint() 3 0.1759 0.1759 0.1759 19.27% StateData::checkPoint() 12 0.1758 0.1758 0.1758 19.26% Amr::init() 1 0.1435 0.1435 0.1435 15.72% MLCellLinOp::smooth() 1640 0.1171 0.1171 0.1171 12.82% MLCellLinOp::applyBC() 4433 0.1092 0.1092 0.1092 11.96% MLMG::mgVcycle_bottom 82 0.07433 0.07433 0.07433 8.14% MLMG::actualBottomSolve() 82 0.0743 0.0743 0.0743 8.14% MLCGSolver::bicgstab 82 0.07359 0.07359 0.07359 8.06% Amr::writePlotFile() 2 0.06943 0.06943 0.06943 7.61% Castro::clean_state() 62 0.05776 0.05776 0.05776 6.33% Amr::initialInit() 1 0.04813 0.04813 0.04813 5.27% Amr::FinalizeInit() 1 0.04398 0.04398 0.04398 4.82% FillPatchIterator::Initialize 41 0.04295 0.04295 0.04295 4.70% Castro::post_init() 1 0.0427 0.0427 0.0427 4.68% FillPatchSingleLevel 41 0.04142 0.04142 0.04142 4.54% Gravity::multilevel_solve_for_new_phi() 1 0.04077 0.04077 0.04077 4.47% Gravity::actual_multilevel_solve() 1 0.04075 0.04075 0.04075 4.46% StateDataPhysBCFunct::() 41 0.03734 0.03734 0.03734 4.09% MLCellLinOp::apply() 1142 0.03644 0.03644 0.03644 3.99% MLMG::mgVcycle_down::0 82 0.03355 0.03355 0.03355 3.67% MLPoisson::Fsmooth() 3280 0.03273 0.03273 0.03273 3.59% FabArray::FillBoundary() 4023 0.03199 0.03199 0.03199 3.50% FillBoundary_nowait() 4023 0.03118 0.03118 0.03118 3.42% StateData::FillBoundary(geom) 328 0.02564 0.02564 0.02564 2.81% MLMG::mgVcycle_up::0 82 0.02541 0.02541 0.02541 2.78% Castro::computeTemp() 63 0.02248 0.02248 0.02248 2.46% MLCellLinOp::correctionResidual() 492 0.02226 0.02226 0.02226 2.44% Castro::initialize_do_advance() 10 0.02208 0.02208 0.02208 2.42% amrex::Dot() 1114 0.02085 0.02085 0.02085 2.28% MLMG:computeResOfCorrection() 410 0.01959 0.01959 0.01959 2.15% Castro::normalize_species() 62 0.0194 0.0194 0.0194 2.12% Castro::do_old_sources() 10 0.01856 0.01856 0.01856 2.03% Gravity::get_new_grav_vector() 11 0.01754 0.01754 0.01754 1.92% MLPoisson::define() 11 0.01646 0.01646 0.01646 1.80% MLMG::mgVcycle_down::1 82 0.01588 0.01588 0.01588 1.74% Castro::construct_old_gravity() 10 0.01525 0.01525 0.01525 1.67% Gravity::get_old_grav_vector() 10 0.01524 0.01524 0.01524 1.67% MLMG::mgVcycle_down::2 82 0.01501 0.01501 0.01501 1.64% amrex::Copy() 1029 0.01488 0.01488 0.01488 1.63% FabArray::ParallelCopy() 861 0.01455 0.01455 0.01455 1.59% MLMG::mgVcycle_down::3 82 0.01449 0.01449 0.01449 1.59% FabArray::norminf() 743 0.01443 0.01443 0.01443 1.58% MLMG::mgVcycle_down::4 82 0.01434 0.01434 0.01434 1.57% FabArray::ParallelCopy_nowait() 861 0.01432 0.01432 0.01432 1.57% Castro::initialize_advance() 10 0.01382 0.01382 0.01382 1.51% FabArray::setVal() 1144 0.01322 0.01322 0.01322 1.45% Castro::do_new_sources() 10 0.01284 0.01284 0.01284 1.41% MLCGSolver::ParallelAllReduce 1514 0.01248 0.01248 0.01248 1.37% Castro::enforce_min_density() 62 0.01217 0.01217 0.01217 1.33% MLMG::addInterpCorrection() 410 0.01194 0.01194 0.01194 1.31% MLMG::mgVcycle_up::4 82 0.0116 0.0116 0.0116 1.27% MLMG::mgVcycle_up::1 82 0.01154 0.01154 0.01154 1.26% Castro::expand_state() 10 0.01149 0.01149 0.01149 1.26% MLMG::mgVcycle_up::2 82 0.01135 0.01135 0.01135 1.24% amrex::average_down 410 0.0113 0.0113 0.0113 1.24% MLMG::mgVcycle_up::3 82 0.01104 0.01104 0.01104 1.21% MLCellLinOp::defineAuxData() 11 0.01102 0.01102 0.01102 1.21% Castro::post_timestep() 10 0.01098 0.01098 0.01098 1.20% MLPoisson::Fapply() 1142 0.01049 0.01049 0.01049 1.15% FabArray::Saxpy() 813 0.008187 0.008187 0.008187 0.90% FabArray::Xpay() 821 0.008088 0.008088 0.008088 0.89% MLCellLinOp::solutionResidual() 93 0.007165 0.007165 0.007165 0.78% Gravity::fill_multipole_BCs() 11 0.006849 0.006849 0.006849 0.75% Castro::reset_internal_energy(MultiFab) 63 0.006795 0.006795 0.006795 0.74% MLMG::computeResidual() 82 0.006184 0.006184 0.006184 0.68% Castro::estTimeStep() 21 0.005313 0.005313 0.005313 0.58% MLCellLinOp::defineBC() 11 0.004967 0.004967 0.004967 0.54% BndryData::define() 11 0.004743 0.004743 0.004743 0.52% MLMG::prepareForSolve() 11 0.004715 0.004715 0.004715 0.52% FabArray::LinComb() 557 0.004573 0.004573 0.004573 0.50% Castro::enforce_speed_limit() 62 0.004467 0.004467 0.004467 0.49% amrex::Add() 164 0.00439 0.00439 0.00439 0.48% Amr::InitializeInit() 1 0.004157 0.004157 0.004157 0.46% Amr::defBaseLevel() 1 0.004152 0.004152 0.004152 0.45% Castro::initData() 1 0.003629 0.003629 0.003629 0.40% Castro::construct_new_source() 50 0.003195 0.003195 0.003195 0.35% Castro::construct_new_gravity_source() 10 0.003156 0.003156 0.003156 0.35% Castro::construct_old_source() 50 0.002711 0.002711 0.002711 0.30% Castro::construct_old_gravity_source() 10 0.002693 0.002693 0.002693 0.30% Castro::computeNewDt() 9 0.00238 0.00238 0.00238 0.26% Castro::finalize_do_advance() 10 0.002117 0.002117 0.002117 0.23% MLMG::ResNormInf() 93 0.002102 0.002102 0.002102 0.23% Castro::apply_source_to_state() 20 0.001819 0.001819 0.001819 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001691 0.001691 0.001691 0.19% check_for_negative_density() 10 0.00161 0.00161 0.00161 0.18% Castro::reset_internal_energy(Fab) 504 0.001601 0.001601 0.001601 0.18% FabArrayBase::getCPC() 1323 0.001404 0.001404 0.001404 0.15% MLMG::getGradSolution() 11 0.001396 0.001396 0.001396 0.15% MLCellLinOp::compGrad() 11 0.00139 0.00139 0.00139 0.15% MLCellLinOp::setLevelBC() 11 0.001385 0.001385 0.001385 0.15% FabArray::mult() 43 0.001313 0.001313 0.001313 0.14% FabArray::setDomainBndry() 41 0.0013 0.0013 0.0013 0.14% Castro::check_for_nan() 20 0.001209 0.001209 0.001209 0.13% MultiFab::contains_nan() 20 0.001198 0.001198 0.001198 0.13% MLPoisson::prepareForSolve() 11 0.00115 0.00115 0.00115 0.13% MLCellLinOp::prepareForSolve() 11 0.001135 0.001135 0.001135 0.12% Castro::post_regrid() 1 0.001095 0.001095 0.001095 0.12% MLMG::computeMLResidual() 11 0.00102 0.00102 0.00102 0.11% Castro::computeInitialDt() 2 0.0008648 0.0008648 0.0008648 0.09% Gravity::update_max_rhs() 11 0.0008196 0.0008196 0.0008196 0.09% FabArrayBase::getFB() 4023 0.0006946 0.0006946 0.0006946 0.08% FabArrayBase::CPC::define() 454 0.0006576 0.0006576 0.0006576 0.07% Castro::finalize_advance() 10 0.0005922 0.0005922 0.0005922 0.06% Amr::InitAmr() 1 0.0005006 0.0005006 0.0005006 0.05% MLLinOp::define() 11 0.0004446 0.0004446 0.0004446 0.05% Gravity::swapTimeLevels() 10 0.0004418 0.0004418 0.0004418 0.05% Castro::Castro() 1 0.0004361 0.0004361 0.0004361 0.05% MLLinOp::defineGrids() 11 0.0004348 0.0004348 0.0004348 0.05% MLMG::MLResNormInf() 11 0.0002849 0.0002849 0.0002849 0.03% MultiFab::max() 11 0.0002598 0.0002598 0.0002598 0.03% MLMG::MLRhsNormInf() 11 0.0002213 0.0002213 0.0002213 0.02% Castro::buildMetrics() 1 0.0001612 0.0001612 0.0001612 0.02% Castro::create_source_corrector() 10 0.0001554 0.0001554 0.0001554 0.02% FabArrayBase::FB::FB() 56 8.859e-05 8.859e-05 8.859e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.608e-05 5.608e-05 5.608e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.234e-05 5.234e-05 5.234e-05 0.01% StateData::define() 4 4.07e-05 4.07e-05 4.07e-05 0.00% makeSFC 55 3.898e-05 3.898e-05 3.898e-05 0.00% Castro::swap_state_time_levels() 10 3.884e-05 3.884e-05 3.884e-05 0.00% Castro::enforce_consistent_e() 1 3.442e-05 3.442e-05 3.442e-05 0.00% Amr::writeSmallPlotFile() 1 2.729e-05 2.729e-05 2.729e-05 0.00% Castro::initMFs() 1 2.428e-05 2.428e-05 2.428e-05 0.00% DistributionMapping::Distribute() 56 1.603e-05 1.603e-05 1.603e-05 0.00% Amr::initSubcycle() 1 9.092e-06 9.092e-06 9.092e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.774e-06 4.774e-06 4.774e-06 0.00% Gravity::set_mass_offset() 11 4.013e-06 4.013e-06 4.013e-06 0.00% Castro::retry_advance_ctu() 10 3.898e-06 3.898e-06 3.898e-06 0.00% AmrLevel::checkPointPost() 3 3.835e-06 3.835e-06 3.835e-06 0.00% Castro::FluxRegCrseInit 10 2.934e-06 2.934e-06 2.934e-06 0.00% Castro::FluxRegFineAdd() 10 2.037e-06 2.037e-06 2.037e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.878e-06 1.878e-06 1.878e-06 0.00% AmrLevel::checkPointPre() 3 1.477e-06 1.477e-06 1.477e-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 90 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 1000 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2136 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7610 KiB 14 MiB MLMG::prepareForSolve() 660 660 3462 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 199 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 171 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7527 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1722 B 2048 KiB Gravity::solve_for_phi() 80 80 547 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 91 KiB 2048 KiB BndryData::define() 1056 1056 316 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 201 KiB 671 KiB Castro::estTimeStep() 21 21 2837 B 480 KiB VisMF::Write(FabArray) 656 656 3338 B 320 KiB Castro::normalize_species() 62 62 6926 B 320 KiB amrex::average_down 1067 1067 1240 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1120 B 257 KiB amrex::Dot() 1360 1360 3371 B 160 KiB FabArray::norminf() 907 907 2335 B 160 KiB check_for_negative_density() 10 10 278 B 160 KiB Castro::initData() 1 1 26 B 160 KiB MultiFab::max() 11 11 44 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3385 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 291 B 9648 B MLCellLinOp::applyBC() 8866 8866 217 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3848 B 6144 B StateData::FillBoundary(geom) 1992 1992 43 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 117 B 1472 B MLCellLinOp::defineBC() 66 66 356 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 584 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 49 KiB 8192 KiB VisMF::Write(FabArray) 744 744 618 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3385 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 291 B 9648 B MLCellLinOp::applyBC() 4433 4433 215 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3848 B 6144 B Gravity::get_new_grav_vector() 3 3 2911 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 44 B 2688 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 288 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 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): 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.06-15-gcc7a5c1171bb) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.06-15-gcc7a5c1171bb) initialized Starting run at 08:21:01 UTC on 2023-06-12. Successfully read inputs file ... Castro git describe: 23.06-17-g448ec9434 AMReX git describe: 23.06-15-gcc7a5c117 Microphysics git describe: 23.06-10-g3b44dee2 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.503338437 Restart time = 0.045746217 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.049682804 [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.049980347 [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.075597785 [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.079220545 [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.055412186 [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.033843327 seconds Ending run at 08:21:01 UTC on 2023-06-12. Run time = 0.390498623 Run time without initialization = 0.344156321 Average number of zones advanced per microsecond: 3.809 Average number of zones advanced per microsecond per rank: 3.809 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3905 ... 0.3905 ... 0.3905 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1234 0.1234 0.1234 31.61% VisMF::Read() 3 0.03948 0.03948 0.03948 10.11% MLCellLinOp::applyBC() 1946 0.03314 0.03314 0.03314 8.49% VisMF::Write(FabArray) 1 0.03223 0.03223 0.03223 8.25% MLPoisson::Fsmooth() 1440 0.0139 0.0139 0.0139 3.56% FillBoundary_nowait() 1766 0.01272 0.01272 0.01272 3.26% StateData::FillBoundary(geom) 160 0.01226 0.01226 0.01226 3.14% Castro::normalize_species() 30 0.01023 0.01023 0.01023 2.62% amrex::Dot() 484 0.0088 0.0088 0.0088 2.25% Castro::computeTemp() 30 0.007104 0.007104 0.007104 1.82% amrex::Copy() 463 0.007009 0.007009 0.007009 1.79% FabArray::setVal() 537 0.006265 0.006265 0.006265 1.60% Castro::enforce_min_density() 30 0.006204 0.006204 0.006204 1.59% FabArray::norminf() 326 0.00619 0.00619 0.00619 1.58% FabArray::ParallelCopy_nowait() 380 0.006041 0.006041 0.006041 1.55% MLCellLinOp::defineAuxData() 6 0.005278 0.005278 0.005278 1.35% MLPoisson::Fapply() 500 0.004455 0.004455 0.004455 1.14% StateDataPhysBCFunct::() 20 0.004244 0.004244 0.004244 1.09% Castro::estTimeStep() 10 0.003831 0.003831 0.003831 0.98% FabArray::Saxpy() 355 0.003621 0.003621 0.003621 0.93% FabArray::Xpay() 361 0.003489 0.003489 0.003489 0.89% Gravity::fill_multipole_BCs() 6 0.003412 0.003412 0.003412 0.87% MLMG::addInterpCorrection() 180 0.002881 0.002881 0.002881 0.74% amrex::average_down 180 0.002597 0.002597 0.002597 0.67% Amr::restart() 1 0.002522 0.002522 0.002522 0.65% Castro::reset_internal_energy(MultiFab) 30 0.002178 0.002178 0.002178 0.56% BndryData::define() 6 0.002045 0.002045 0.002045 0.52% FabArray::LinComb() 242 0.001922 0.001922 0.001922 0.49% amrex::Add() 72 0.001853 0.001853 0.001853 0.47% Castro::construct_new_gravity_source() 5 0.001593 0.001593 0.001593 0.41% Amr::writePlotFile() 1 0.00144 0.00144 0.00144 0.37% Castro::construct_old_gravity_source() 5 0.001383 0.001383 0.001383 0.35% Castro::subcycle_advance_ctu() 5 0.001282 0.001282 0.001282 0.33% MLCGSolver::bicgstab 36 0.0009581 0.0009581 0.0009581 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009238 0.0009238 0.0009238 0.24% Castro::reset_internal_energy(Fab) 240 0.0008233 0.0008233 0.0008233 0.21% check_for_negative_density() 5 0.0007958 0.0007958 0.0007958 0.20% Gravity::actual_solve_with_mlmg() 6 0.0007797 0.0007797 0.0007797 0.20% MLCellLinOp::setLevelBC() 6 0.0007363 0.0007363 0.0007363 0.19% FabArray::mult() 22 0.000643 0.000643 0.000643 0.16% FabArray::setDomainBndry() 20 0.0006357 0.0006357 0.0006357 0.16% MLCellLinOp::prepareForSolve() 6 0.0006073 0.0006073 0.0006073 0.16% MultiFab::contains_nan() 10 0.0005935 0.0005935 0.0005935 0.15% MLCellLinOp::compGrad() 6 0.0004926 0.0004926 0.0004926 0.13% MLCellLinOp::smooth() 720 0.0004912 0.0004912 0.0004912 0.13% MLMG::prepareForSolve() 6 0.0004726 0.0004726 0.0004726 0.12% Castro::enforce_speed_limit() 30 0.0004437 0.0004437 0.0004437 0.11% Amr::InitAmr() 1 0.0004173 0.0004173 0.0004173 0.11% FabArrayBase::CPC::define() 244 0.0004072 0.0004072 0.0004072 0.10% FabArrayBase::getCPC() 632 0.0003508 0.0003508 0.0003508 0.09% FabArray::FillBoundary() 1766 0.0003465 0.0003465 0.0003465 0.09% Gravity::get_old_grav_vector() 5 0.0003127 0.0003127 0.0003127 0.08% FabArrayBase::getFB() 1766 0.0002825 0.0002825 0.0002825 0.07% main() 1 0.0002768 0.0002768 0.0002768 0.07% Gravity::get_new_grav_vector() 5 0.000273 0.000273 0.000273 0.07% MLCellLinOp::apply() 500 0.000201 0.000201 0.000201 0.05% MLLinOp::defineGrids() 6 0.0001938 0.0001938 0.0001938 0.05% MLMG::mgVcycle() 36 0.0001754 0.0001754 0.0001754 0.04% Amr::coarseTimeStep() 5 0.000159 0.000159 0.000159 0.04% MultiFab::max() 6 0.0001346 0.0001346 0.0001346 0.03% MLCellLinOp::defineBC() 6 0.000122 0.000122 0.000122 0.03% MLCGSolver::ParallelAllReduce 659 0.0001175 0.0001175 0.0001175 0.03% FillPatchIterator::Initialize 20 0.0001112 0.0001112 0.0001112 0.03% FabArray::ParallelCopy() 380 0.0001049 0.0001049 0.0001049 0.03% MLCellLinOp::correctionResidual() 216 9.244e-05 9.244e-05 9.244e-05 0.02% Amr::timeStep() 5 9.139e-05 9.139e-05 9.139e-05 0.02% Castro::create_source_corrector() 5 8.401e-05 8.401e-05 8.401e-05 0.02% AmrLevel::restart() 1 7.808e-05 7.808e-05 7.808e-05 0.02% Castro::do_new_sources() 5 7.719e-05 7.719e-05 7.719e-05 0.02% Castro::construct_new_source() 25 7.543e-05 7.543e-05 7.543e-05 0.02% Castro::do_old_sources() 5 6.98e-05 6.98e-05 6.98e-05 0.02% Castro::finalize_do_advance() 5 6.928e-05 6.928e-05 6.928e-05 0.02% StateData::restartDoit() 4 6.65e-05 6.65e-05 6.65e-05 0.02% Castro::post_timestep() 5 6.41e-05 6.41e-05 6.41e-05 0.02% FabArrayBase::FB::FB() 26 6.107e-05 6.107e-05 6.107e-05 0.02% Gravity::update_max_rhs() 6 5.987e-05 5.987e-05 5.987e-05 0.02% Castro::advance() 5 5.86e-05 5.86e-05 5.86e-05 0.02% Castro::construct_old_source() 25 5.609e-05 5.609e-05 5.609e-05 0.01% Gravity::solve_for_phi() 5 5.508e-05 5.508e-05 5.508e-05 0.01% Castro::initialize_do_advance() 5 5.061e-05 5.061e-05 5.061e-05 0.01% MLMG:computeResOfCorrection() 180 4.665e-05 4.665e-05 4.665e-05 0.01% Castro::expand_state() 5 4.155e-05 4.155e-05 4.155e-05 0.01% Castro::finalize_advance() 5 4.088e-05 4.088e-05 4.088e-05 0.01% MLMG::mgVcycle_down::0 36 4.074e-05 4.074e-05 4.074e-05 0.01% MLMG::actualBottomSolve() 36 4.072e-05 4.072e-05 4.072e-05 0.01% MLMG::mgVcycle_down::1 36 3.728e-05 3.728e-05 3.728e-05 0.01% MLMG::mgVcycle_down::2 36 3.529e-05 3.529e-05 3.529e-05 0.01% MLMG::mgVcycle_down::4 36 3.514e-05 3.514e-05 3.514e-05 0.01% Castro::initialize_advance() 5 3.418e-05 3.418e-05 3.418e-05 0.01% MLMG::mgVcycle_down::3 36 3.405e-05 3.405e-05 3.405e-05 0.01% MLMG::solve() 6 3.364e-05 3.364e-05 3.364e-05 0.01% Castro::clean_state() 30 3.284e-05 3.284e-05 3.284e-05 0.01% Amr::writeSmallPlotFile() 1 2.862e-05 2.862e-05 2.862e-05 0.01% MLMG::mgVcycle_up::4 36 2.671e-05 2.671e-05 2.671e-05 0.01% Castro::buildMetrics() 1 2.633e-05 2.633e-05 2.633e-05 0.01% Castro::initMFs() 1 2.574e-05 2.574e-05 2.574e-05 0.01% Castro::post_restart() 1 2.559e-05 2.559e-05 2.559e-05 0.01% MLMG::oneIter() 36 2.365e-05 2.365e-05 2.365e-05 0.01% MLMG::mgVcycle_up::0 36 2.319e-05 2.319e-05 2.319e-05 0.01% Castro::swap_state_time_levels() 5 2.298e-05 2.298e-05 2.298e-05 0.01% MLMG::mgVcycle_up::2 36 2.273e-05 2.273e-05 2.273e-05 0.01% MLMG::mgVcycle_up::3 36 2.258e-05 2.258e-05 2.258e-05 0.01% MLCellLinOp::solutionResidual() 42 2.237e-05 2.237e-05 2.237e-05 0.01% MLMG::mgVcycle_up::1 36 2.139e-05 2.139e-05 2.139e-05 0.01% MLPoisson::define() 6 1.933e-05 1.933e-05 1.933e-05 0.00% MLMG::ResNormInf() 42 1.801e-05 1.801e-05 1.801e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.564e-05 1.564e-05 1.564e-05 0.00% Castro::do_advance_ctu() 5 1.548e-05 1.548e-05 1.548e-05 0.00% MLMG::computeResidual() 36 1.394e-05 1.394e-05 1.394e-05 0.00% MLMG::mgVcycle_bottom 36 1.371e-05 1.371e-05 1.371e-05 0.00% FillPatchSingleLevel 20 1.362e-05 1.362e-05 1.362e-05 0.00% makeSFC 30 1.316e-05 1.316e-05 1.316e-05 0.00% Castro::construct_new_gravity() 5 1.2e-05 1.2e-05 1.2e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.129e-05 1.129e-05 1.129e-05 0.00% MLPoisson::prepareForSolve() 6 9.664e-06 9.664e-06 9.664e-06 0.00% Amr::initSubcycle() 1 9.204e-06 9.204e-06 9.204e-06 0.00% DistributionMapping::Distribute() 31 8.927e-06 8.927e-06 8.927e-06 0.00% Gravity::actual_multilevel_solve() 1 8.183e-06 8.183e-06 8.183e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.199e-06 7.199e-06 7.199e-06 0.00% Castro::check_for_nan() 10 5.692e-06 5.692e-06 5.692e-06 0.00% MLLinOp::define() 6 5.238e-06 5.238e-06 5.238e-06 0.00% Castro::apply_source_to_state() 10 5.225e-06 5.225e-06 5.225e-06 0.00% Castro::construct_old_gravity() 5 5.184e-06 5.184e-06 5.184e-06 0.00% Gravity::swapTimeLevels() 5 4.079e-06 4.079e-06 4.079e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.501e-06 3.501e-06 3.501e-06 0.00% Castro::computeNewDt() 5 3.422e-06 3.422e-06 3.422e-06 0.00% MLMG::computeMLResidual() 6 3.395e-06 3.395e-06 3.395e-06 0.00% MLMG::getGradSolution() 6 3.132e-06 3.132e-06 3.132e-06 0.00% Castro::retry_advance_ctu() 5 2.789e-06 2.789e-06 2.789e-06 0.00% Gravity::set_mass_offset() 6 2.231e-06 2.231e-06 2.231e-06 0.00% MLMG::MLResNormInf() 6 2.186e-06 2.186e-06 2.186e-06 0.00% Castro::FluxRegCrseInit 5 2.111e-06 2.111e-06 2.111e-06 0.00% MLMG::MLRhsNormInf() 6 1.973e-06 1.973e-06 1.973e-06 0.00% Castro::FluxRegFineAdd() 5 1.577e-06 1.577e-06 1.577e-06 0.00% Amr::init() 1 1.068e-06 1.068e-06 1.068e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.93e-07 9.93e-07 9.93e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3905 0.3905 0.3905 100.00% Amr::coarseTimeStep() 5 0.31 0.31 0.31 79.39% Amr::timeStep() 5 0.3075 0.3075 0.3075 78.74% Castro::advance() 5 0.3038 0.3038 0.3038 77.78% Castro::subcycle_advance_ctu() 5 0.2962 0.2962 0.2962 75.86% Castro::do_advance_ctu() 5 0.295 0.295 0.295 75.53% Castro::construct_new_gravity() 5 0.1296 0.1296 0.1296 33.19% Castro::construct_ctu_hydro_source() 5 0.1289 0.1289 0.1289 33.00% Gravity::solve_phi_with_mlmg() 6 0.125 0.125 0.125 32.00% Gravity::solve_for_phi() 5 0.1219 0.1219 0.1219 31.22% Gravity::actual_solve_with_mlmg() 6 0.1213 0.1213 0.1213 31.06% MLMG::solve() 6 0.11 0.11 0.11 28.18% MLMG::oneIter() 36 0.1032 0.1032 0.1032 26.43% MLMG::mgVcycle() 36 0.1017 0.1017 0.1017 26.03% MLCellLinOp::smooth() 720 0.04969 0.04969 0.04969 12.72% MLCellLinOp::applyBC() 1946 0.04655 0.04655 0.04655 11.92% Amr::init() 1 0.04579 0.04579 0.04579 11.72% Amr::restart() 1 0.04579 0.04579 0.04579 11.72% AmrLevel::restart() 1 0.03968 0.03968 0.03968 10.16% StateData::restartDoit() 4 0.0396 0.0396 0.0396 10.14% VisMF::Read() 3 0.03948 0.03948 0.03948 10.11% Amr::writePlotFile() 1 0.03395 0.03395 0.03395 8.69% VisMF::Write(FabArray) 1 0.03223 0.03223 0.03223 8.25% MLMG::mgVcycle_bottom 36 0.0316 0.0316 0.0316 8.09% MLMG::actualBottomSolve() 36 0.03158 0.03158 0.03158 8.09% MLCGSolver::bicgstab 36 0.03128 0.03128 0.03128 8.01% Castro::clean_state() 30 0.02701 0.02701 0.02701 6.92% FillPatchIterator::Initialize 20 0.01928 0.01928 0.01928 4.94% FillPatchSingleLevel 20 0.01853 0.01853 0.01853 4.74% StateDataPhysBCFunct::() 20 0.0165 0.0165 0.0165 4.22% MLCellLinOp::apply() 500 0.01565 0.01565 0.01565 4.01% MLMG::mgVcycle_down::0 36 0.01425 0.01425 0.01425 3.65% MLPoisson::Fsmooth() 1440 0.0139 0.0139 0.0139 3.56% FabArray::FillBoundary() 1766 0.01341 0.01341 0.01341 3.43% FillBoundary_nowait() 1766 0.01306 0.01306 0.01306 3.34% StateData::FillBoundary(geom) 160 0.01226 0.01226 0.01226 3.14% MLMG::mgVcycle_up::0 36 0.0107 0.0107 0.0107 2.74% Castro::initialize_do_advance() 5 0.01038 0.01038 0.01038 2.66% Castro::normalize_species() 30 0.01023 0.01023 0.01023 2.62% Castro::computeTemp() 30 0.01011 0.01011 0.01011 2.59% MLCellLinOp::correctionResidual() 216 0.009489 0.009489 0.009489 2.43% Castro::do_old_sources() 5 0.009404 0.009404 0.009404 2.41% MLPoisson::define() 6 0.008992 0.008992 0.008992 2.30% amrex::Dot() 484 0.0088 0.0088 0.0088 2.25% MLMG:computeResOfCorrection() 180 0.008333 0.008333 0.008333 2.13% Gravity::get_new_grav_vector() 5 0.007569 0.007569 0.007569 1.94% Castro::construct_old_gravity() 5 0.007368 0.007368 0.007368 1.89% Gravity::get_old_grav_vector() 5 0.007363 0.007363 0.007363 1.89% Castro::do_new_sources() 5 0.007344 0.007344 0.007344 1.88% Castro::initialize_advance() 5 0.007138 0.007138 0.007138 1.83% amrex::Copy() 463 0.007009 0.007009 0.007009 1.79% MLMG::mgVcycle_down::1 36 0.006808 0.006808 0.006808 1.74% FabArray::ParallelCopy() 380 0.006527 0.006527 0.006527 1.67% FabArray::ParallelCopy_nowait() 380 0.006422 0.006422 0.006422 1.64% MLMG::mgVcycle_down::2 36 0.006355 0.006355 0.006355 1.63% FabArray::setVal() 537 0.006265 0.006265 0.006265 1.60% Castro::enforce_min_density() 30 0.006204 0.006204 0.006204 1.59% FabArray::norminf() 326 0.00619 0.00619 0.00619 1.58% MLMG::mgVcycle_down::3 36 0.006181 0.006181 0.006181 1.58% MLMG::mgVcycle_down::4 36 0.006134 0.006134 0.006134 1.57% MLCellLinOp::defineAuxData() 6 0.006011 0.006011 0.006011 1.54% MLCGSolver::ParallelAllReduce 659 0.005301 0.005301 0.005301 1.36% MLMG::addInterpCorrection() 180 0.005126 0.005126 0.005126 1.31% Castro::expand_state() 5 0.004982 0.004982 0.004982 1.28% MLMG::mgVcycle_up::4 36 0.004967 0.004967 0.004967 1.27% MLMG::mgVcycle_up::1 36 0.004938 0.004938 0.004938 1.26% amrex::average_down 180 0.004865 0.004865 0.004865 1.25% MLMG::mgVcycle_up::2 36 0.004822 0.004822 0.004822 1.23% MLMG::mgVcycle_up::3 36 0.004734 0.004734 0.004734 1.21% MLPoisson::Fapply() 500 0.004455 0.004455 0.004455 1.14% Castro::estTimeStep() 10 0.003831 0.003831 0.003831 0.98% Castro::post_timestep() 5 0.003662 0.003662 0.003662 0.94% FabArray::Saxpy() 355 0.003621 0.003621 0.003621 0.93% Gravity::fill_multipole_BCs() 6 0.003568 0.003568 0.003568 0.91% FabArray::Xpay() 361 0.003489 0.003489 0.003489 0.89% Castro::post_restart() 1 0.003409 0.003409 0.003409 0.87% Gravity::multilevel_solve_for_new_phi() 1 0.003295 0.003295 0.003295 0.84% Gravity::actual_multilevel_solve() 1 0.003279 0.003279 0.003279 0.84% MLCellLinOp::solutionResidual() 42 0.003194 0.003194 0.003194 0.82% Castro::reset_internal_energy(MultiFab) 30 0.003002 0.003002 0.003002 0.77% MLCellLinOp::defineBC() 6 0.002734 0.002734 0.002734 0.70% MLMG::computeResidual() 36 0.002644 0.002644 0.002644 0.68% BndryData::define() 6 0.002612 0.002612 0.002612 0.67% MLMG::prepareForSolve() 6 0.002524 0.002524 0.002524 0.65% Castro::computeNewDt() 5 0.002378 0.002378 0.002378 0.61% FabArray::LinComb() 242 0.001922 0.001922 0.001922 0.49% amrex::Add() 72 0.001853 0.001853 0.001853 0.47% Castro::construct_new_source() 25 0.001668 0.001668 0.001668 0.43% Castro::construct_new_gravity_source() 5 0.001593 0.001593 0.001593 0.41% Castro::finalize_do_advance() 5 0.001526 0.001526 0.001526 0.39% Castro::construct_old_source() 25 0.001439 0.001439 0.001439 0.37% Castro::construct_old_gravity_source() 5 0.001383 0.001383 0.001383 0.35% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009238 0.0009238 0.0009238 0.24% MLMG::ResNormInf() 42 0.0009236 0.0009236 0.0009236 0.24% Castro::apply_source_to_state() 10 0.0009185 0.0009185 0.0009185 0.24% Castro::reset_internal_energy(Fab) 240 0.0008233 0.0008233 0.0008233 0.21% check_for_negative_density() 5 0.0007958 0.0007958 0.0007958 0.20% MLMG::getGradSolution() 6 0.0007603 0.0007603 0.0007603 0.19% FabArrayBase::getCPC() 632 0.000758 0.000758 0.000758 0.19% MLCellLinOp::compGrad() 6 0.0007572 0.0007572 0.0007572 0.19% MLCellLinOp::setLevelBC() 6 0.0007363 0.0007363 0.0007363 0.19% FabArray::mult() 22 0.000643 0.000643 0.000643 0.16% FabArray::setDomainBndry() 20 0.0006357 0.0006357 0.0006357 0.16% MLPoisson::prepareForSolve() 6 0.000617 0.000617 0.000617 0.16% MLCellLinOp::prepareForSolve() 6 0.0006073 0.0006073 0.0006073 0.16% Castro::check_for_nan() 10 0.0005992 0.0005992 0.0005992 0.15% MultiFab::contains_nan() 10 0.0005935 0.0005935 0.0005935 0.15% MLMG::computeMLResidual() 6 0.0005675 0.0005675 0.0005675 0.15% Castro::enforce_speed_limit() 30 0.0004437 0.0004437 0.0004437 0.11% Gravity::update_max_rhs() 6 0.0004375 0.0004375 0.0004375 0.11% Amr::InitAmr() 1 0.0004266 0.0004266 0.0004266 0.11% FabArrayBase::CPC::define() 244 0.0004072 0.0004072 0.0004072 0.10% FabArrayBase::getFB() 1766 0.0003436 0.0003436 0.0003436 0.09% Castro::finalize_advance() 5 0.0003206 0.0003206 0.0003206 0.08% MLLinOp::define() 6 0.0002278 0.0002278 0.0002278 0.06% Gravity::swapTimeLevels() 5 0.0002253 0.0002253 0.0002253 0.06% MLLinOp::defineGrids() 6 0.0002225 0.0002225 0.0002225 0.06% MLMG::MLResNormInf() 6 0.0001513 0.0001513 0.0001513 0.04% Castro::buildMetrics() 1 0.0001477 0.0001477 0.0001477 0.04% MultiFab::max() 6 0.0001346 0.0001346 0.0001346 0.03% MLMG::MLRhsNormInf() 6 0.0001174 0.0001174 0.0001174 0.03% Castro::create_source_corrector() 5 8.401e-05 8.401e-05 8.401e-05 0.02% FabArrayBase::FB::FB() 26 6.107e-05 6.107e-05 6.107e-05 0.02% Amr::writeSmallPlotFile() 1 2.862e-05 2.862e-05 2.862e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.773e-05 2.773e-05 2.773e-05 0.01% Castro::initMFs() 1 2.574e-05 2.574e-05 2.574e-05 0.01% Castro::swap_state_time_levels() 5 2.298e-05 2.298e-05 2.298e-05 0.01% makeSFC 30 2.053e-05 2.053e-05 2.053e-05 0.01% Amr::initSubcycle() 1 9.204e-06 9.204e-06 9.204e-06 0.00% DistributionMapping::Distribute() 31 8.927e-06 8.927e-06 8.927e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.052e-06 5.052e-06 5.052e-06 0.00% Castro::retry_advance_ctu() 5 2.789e-06 2.789e-06 2.789e-06 0.00% Gravity::set_mass_offset() 6 2.231e-06 2.231e-06 2.231e-06 0.00% Castro::FluxRegCrseInit 5 2.111e-06 2.111e-06 2.111e-06 0.00% Castro::FluxRegFineAdd() 5 1.577e-06 1.577e-06 1.577e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.93e-07 9.93e-07 9.93e-07 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 212 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 143 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1048 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2433 KiB 28 MiB Castro::initialize_advance() 40 40 18 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6739 KiB 14 MiB MLMG::prepareForSolve() 361 361 3460 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 195 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 198 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6735 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2165 B 2048 KiB Gravity::solve_for_phi() 40 40 638 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 17 KiB 2048 KiB BndryData::define() 576 576 318 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 204 KiB 671 KiB Castro::estTimeStep() 10 10 4669 B 480 KiB VisMF::Write(FabArray) 112 112 1282 B 320 KiB Castro::normalize_species() 30 30 8528 B 320 KiB amrex::average_down 469 469 1215 B 257 KiB MLMG::addInterpCorrection() 468 468 1118 B 257 KiB amrex::Dot() 592 592 3322 B 160 KiB FabArray::norminf() 398 398 2341 B 160 KiB check_for_negative_density() 5 5 324 B 160 KiB MultiFab::max() 6 6 53 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3365 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 49 B 10 KiB FillBoundary_nowait() 336 336 283 B 9648 B MLCellLinOp::applyBC() 3892 3892 218 B 9344 B amrex::Copy() 56 56 5980 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 38 B 2352 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 116 B 1472 B MLCellLinOp::defineBC() 36 36 357 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1312 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 113 KiB 8192 KiB VisMF::Write(FabArray) 120 120 254 KiB 3584 KiB VisMF::Read() 24 24 195 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3365 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 49 B 10 KiB FillBoundary_nowait() 336 336 283 B 9648 B MLCellLinOp::applyBC() 1946 1946 217 B 9328 B amrex::Copy() 56 56 5980 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2662 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 39 B 2352 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 528 B 1296 B amrex::average_down 37 37 224 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 24 B 400 B FabArray::norminf() 398 398 17 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 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.06-15-gcc7a5c1171bb) finalized