Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-51-gde7c6189623b) initialized Starting run at 07:31:26 UTC on 2023-09-01. Successfully read inputs file ... Castro git describe: 23.08-7-gf1b93be75 AMReX git describe: 23.08-51-gde7c61896 Microphysics git describe: 23.08-19-gbb8d2a2b 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.050704303 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028400725 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.049797144 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.050326111 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.072840728 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE at time 0.0001431784233 with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.080858723 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE at time 0.0001957547666 with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.068118853 [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.049583929 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.051507482 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.073099565 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.072795432 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.069176289 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.066451104 [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.102135284 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028218487 seconds Ending run at 07:31:27 UTC on 2023-09-01. Run time = 0.968408804 Run time without initialization = 0.835555181 Average number of zones advanced per microsecond: 3.137 Average number of zones advanced per microsecond per rank: 3.137 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9684 ... 0.9684 ... 0.9684 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2855 0.2855 0.2855 29.48% VisMF::Write(FabArray) 11 0.1992 0.1992 0.1992 20.57% MLCellLinOp::applyBC() 4433 0.07753 0.07753 0.07753 8.01% Amr::checkPoint() 3 0.05733 0.05733 0.05733 5.92% MLPoisson::Fsmooth() 3280 0.03303 0.03303 0.03303 3.41% FillBoundary_nowait() 4023 0.03083 0.03083 0.03083 3.18% StateData::FillBoundary(geom) 328 0.02642 0.02642 0.02642 2.73% amrex::Dot() 1114 0.021 0.021 0.021 2.17% Castro::normalize_species() 62 0.02024 0.02024 0.02024 2.09% amrex::Copy() 1029 0.01512 0.01512 0.01512 1.56% Castro::computeTemp() 63 0.015 0.015 0.015 1.55% FabArray::norminf() 743 0.01466 0.01466 0.01466 1.51% FabArray::ParallelCopy_nowait() 861 0.0136 0.0136 0.0136 1.40% FabArray::setVal() 1144 0.01352 0.01352 0.01352 1.40% Castro::enforce_min_density() 62 0.01142 0.01142 0.01142 1.18% MLPoisson::Fapply() 1142 0.01058 0.01058 0.01058 1.09% StateDataPhysBCFunct::() 41 0.01036 0.01036 0.01036 1.07% MLCellLinOp::defineAuxData() 11 0.01016 0.01016 0.01016 1.05% Gravity::fill_multipole_BCs() 11 0.008505 0.008505 0.008505 0.88% FabArray::Saxpy() 813 0.008379 0.008379 0.008379 0.87% FabArray::Xpay() 821 0.008274 0.008274 0.008274 0.85% MLMG::addInterpCorrection() 410 0.00686 0.00686 0.00686 0.71% amrex::average_down 410 0.006184 0.006184 0.006184 0.64% Castro::estTimeStep() 21 0.005213 0.005213 0.005213 0.54% FabArray::LinComb() 557 0.004618 0.004618 0.004618 0.48% amrex::Add() 164 0.004436 0.004436 0.004436 0.46% Castro::reset_internal_energy(MultiFab) 63 0.004274 0.004274 0.004274 0.44% BndryData::define() 11 0.0038 0.0038 0.0038 0.39% Castro::enforce_speed_limit() 62 0.003582 0.003582 0.003582 0.37% Castro::construct_new_gravity_source() 10 0.002712 0.002712 0.002712 0.28% MLCGSolver::bicgstab 82 0.002248 0.002248 0.002248 0.23% Castro::construct_old_gravity_source() 10 0.002195 0.002195 0.002195 0.23% Amr::writePlotFile() 2 0.00199 0.00199 0.00199 0.21% check_for_negative_density() 10 0.001771 0.001771 0.001771 0.18% Castro::reset_internal_energy(Fab) 504 0.001752 0.001752 0.001752 0.18% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001743 0.001743 0.001743 0.18% Gravity::actual_solve_with_mlmg() 11 0.001508 0.001508 0.001508 0.16% MLCellLinOp::setLevelBC() 11 0.001437 0.001437 0.001437 0.15% Castro::initData() 1 0.001425 0.001425 0.001425 0.15% FabArray::mult() 43 0.001361 0.001361 0.001361 0.14% FabArray::setDomainBndry() 41 0.001325 0.001325 0.001325 0.14% MultiFab::contains_nan() 20 0.001259 0.001259 0.001259 0.13% MLCellLinOp::prepareForSolve() 11 0.001255 0.001255 0.001255 0.13% MLCellLinOp::smooth() 1640 0.001204 0.001204 0.001204 0.12% MLCellLinOp::compGrad() 11 0.001051 0.001051 0.001051 0.11% MLMG::prepareForSolve() 11 0.0009641 0.0009641 0.0009641 0.10% FabArray::FillBoundary() 4023 0.0008414 0.0008414 0.0008414 0.09% FabArrayBase::getCPC() 1323 0.0008039 0.0008039 0.0008039 0.08% FabArrayBase::CPC::define() 454 0.0006907 0.0006907 0.0006907 0.07% FabArrayBase::getFB() 4023 0.0006319 0.0006319 0.0006319 0.07% Gravity::get_new_grav_vector() 11 0.0005966 0.0005966 0.0005966 0.06% MLCellLinOp::apply() 1142 0.000485 0.000485 0.000485 0.05% Gravity::get_old_grav_vector() 10 0.00048 0.00048 0.00048 0.05% Amr::InitAmr() 1 0.0004665 0.0004665 0.0004665 0.05% Amr::coarseTimeStep() 10 0.0003663 0.0003663 0.0003663 0.04% MultiFab::max() 11 0.0003267 0.0003267 0.0003267 0.03% AmrLevel::FillPatch() 41 0.0003265 0.0003265 0.0003265 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002913 0.0002913 0.0002913 0.03% FabArray::ParallelCopy() 861 0.0002688 0.0002688 0.0002688 0.03% main() 1 0.0002681 0.0002681 0.0002681 0.03% MLCellLinOp::correctionResidual() 492 0.0002279 0.0002279 0.0002279 0.02% MLCellLinOp::defineBC() 11 0.0002162 0.0002162 0.0002162 0.02% FillPatchIterator::Initialize 41 0.0002144 0.0002144 0.0002144 0.02% MLMG::mgVcycle() 82 0.0001994 0.0001994 0.0001994 0.02% Castro::subcycle_advance_ctu() 10 0.0001626 0.0001626 0.0001626 0.02% MLLinOp::defineGrids() 11 0.0001579 0.0001579 0.0001579 0.02% Amr::timeStep() 10 0.0001525 0.0001525 0.0001525 0.02% Gravity::solve_for_phi() 10 0.000147 0.000147 0.000147 0.02% Castro::create_source_corrector() 10 0.0001438 0.0001438 0.0001438 0.01% StateData::checkPoint() 12 0.0001337 0.0001337 0.0001337 0.01% Gravity::update_max_rhs() 11 0.0001279 0.0001279 0.0001279 0.01% MLMG:computeResOfCorrection() 410 0.0001177 0.0001177 0.0001177 0.01% Castro::Castro() 1 9.888e-05 9.888e-05 9.888e-05 0.01% AmrLevel::checkPoint() 3 9.774e-05 9.774e-05 9.774e-05 0.01% FabArrayBase::FB::FB() 56 9.629e-05 9.629e-05 9.629e-05 0.01% MLMG::actualBottomSolve() 82 9.275e-05 9.275e-05 9.275e-05 0.01% MLMG::mgVcycle_down::0 82 8.895e-05 8.895e-05 8.895e-05 0.01% Castro::construct_new_source() 50 8.758e-05 8.758e-05 8.758e-05 0.01% Castro::advance() 10 8.498e-05 8.498e-05 8.498e-05 0.01% MLMG::solve() 11 8.034e-05 8.034e-05 8.034e-05 0.01% Castro::initialize_advance() 10 7.683e-05 7.683e-05 7.683e-05 0.01% Castro::enforce_consistent_e() 1 7.653e-05 7.653e-05 7.653e-05 0.01% MLMG::mgVcycle_down::1 82 7.626e-05 7.626e-05 7.626e-05 0.01% MLMG::mgVcycle_down::2 82 7.589e-05 7.589e-05 7.589e-05 0.01% Castro::do_new_sources() 10 7.491e-05 7.491e-05 7.491e-05 0.01% MLMG::mgVcycle_down::4 82 7.299e-05 7.299e-05 7.299e-05 0.01% Castro::clean_state() 62 7.264e-05 7.264e-05 7.264e-05 0.01% MLMG::mgVcycle_down::3 82 7.111e-05 7.111e-05 7.111e-05 0.01% Castro::finalize_advance() 10 6.718e-05 6.718e-05 6.718e-05 0.01% Castro::initialize_do_advance() 10 5.923e-05 5.923e-05 5.923e-05 0.01% MLMG::mgVcycle_up::4 82 5.848e-05 5.848e-05 5.848e-05 0.01% MLMG::mgVcycle_up::0 82 5.48e-05 5.48e-05 5.48e-05 0.01% MLMG::oneIter() 82 5.325e-05 5.325e-05 5.325e-05 0.01% MLCellLinOp::solutionResidual() 93 5.048e-05 5.048e-05 5.048e-05 0.01% Castro::do_advance_ctu() 10 4.926e-05 4.926e-05 4.926e-05 0.01% MLMG::mgVcycle_up::3 82 4.88e-05 4.88e-05 4.88e-05 0.01% MLMG::mgVcycle_up::1 82 4.772e-05 4.772e-05 4.772e-05 0.00% FillPatchIterator::FillFromLevel0() 41 4.729e-05 4.729e-05 4.729e-05 0.00% MLMG::mgVcycle_up::2 82 4.643e-05 4.643e-05 4.643e-05 0.00% Castro::finalize_do_advance() 10 4.3e-05 4.3e-05 4.3e-05 0.00% Castro::post_timestep() 10 3.86e-05 3.86e-05 3.86e-05 0.00% StateData::define() 4 3.812e-05 3.812e-05 3.812e-05 0.00% Castro::swap_state_time_levels() 10 3.659e-05 3.659e-05 3.659e-05 0.00% MLMG::computeResidual() 82 3.462e-05 3.462e-05 3.462e-05 0.00% FillPatchSingleLevel 41 3.374e-05 3.374e-05 3.374e-05 0.00% MLMG::mgVcycle_bottom 82 3.329e-05 3.329e-05 3.329e-05 0.00% Amr::defBaseLevel() 1 3.267e-05 3.267e-05 3.267e-05 0.00% Castro::initMFs() 1 3.073e-05 3.073e-05 3.073e-05 0.00% MLMG::ResNormInf() 93 3.045e-05 3.045e-05 3.045e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.933e-05 2.933e-05 2.933e-05 0.00% Castro::buildMetrics() 1 2.705e-05 2.705e-05 2.705e-05 0.00% Amr::writeSmallPlotFile() 1 2.625e-05 2.625e-05 2.625e-05 0.00% Castro::construct_new_gravity() 10 2.453e-05 2.453e-05 2.453e-05 0.00% makeSFC 55 2.444e-05 2.444e-05 2.444e-05 0.00% MLPoisson::define() 11 2.205e-05 2.205e-05 2.205e-05 0.00% Castro::do_old_sources() 10 2.186e-05 2.186e-05 2.186e-05 0.00% Amr::FinalizeInit() 1 2.089e-05 2.089e-05 2.089e-05 0.00% Castro::construct_old_source() 50 1.92e-05 1.92e-05 1.92e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.854e-05 1.854e-05 1.854e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.843e-05 1.843e-05 1.843e-05 0.00% DistributionMapping::Distribute() 56 1.633e-05 1.633e-05 1.633e-05 0.00% MLLinOp::define() 11 1.5e-05 1.5e-05 1.5e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.489e-05 1.489e-05 1.489e-05 0.00% Castro::check_for_nan() 20 1.403e-05 1.403e-05 1.403e-05 0.00% Amr::initSubcycle() 1 1.18e-05 1.18e-05 1.18e-05 0.00% Castro::apply_source_to_state() 20 1.174e-05 1.174e-05 1.174e-05 0.00% Castro::construct_old_gravity() 10 1.11e-05 1.11e-05 1.11e-05 0.00% Gravity::swapTimeLevels() 10 9.94e-06 9.94e-06 9.94e-06 0.00% Castro::post_init() 1 9.839e-06 9.839e-06 9.839e-06 0.00% Gravity::set_mass_offset() 11 9.354e-06 9.354e-06 9.354e-06 0.00% Gravity::actual_multilevel_solve() 1 7.974e-06 7.974e-06 7.974e-06 0.00% Castro::computeNewDt() 9 7.902e-06 7.902e-06 7.902e-06 0.00% MLPoisson::prepareForSolve() 11 7.795e-06 7.795e-06 7.795e-06 0.00% MLMG::computeMLResidual() 11 7.679e-06 7.679e-06 7.679e-06 0.00% MLMG::getGradSolution() 11 6.293e-06 6.293e-06 6.293e-06 0.00% AmrLevel::checkPointPost() 3 5.623e-06 5.623e-06 5.623e-06 0.00% Castro::expand_state() 10 5.541e-06 5.541e-06 5.541e-06 0.00% Amr::InitializeInit() 1 4.312e-06 4.312e-06 4.312e-06 0.00% AmrLevel::checkPointPre() 3 4.271e-06 4.271e-06 4.271e-06 0.00% MLMG::MLRhsNormInf() 11 4.253e-06 4.253e-06 4.253e-06 0.00% Castro::retry_advance_ctu() 10 4.225e-06 4.225e-06 4.225e-06 0.00% MLMG::MLResNormInf() 11 3.716e-06 3.716e-06 3.716e-06 0.00% Castro::computeInitialDt() 2 3.122e-06 3.122e-06 3.122e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.81e-06 2.81e-06 2.81e-06 0.00% Castro::FluxRegCrseInit 10 2.688e-06 2.688e-06 2.688e-06 0.00% Amr::init() 1 2.601e-06 2.601e-06 2.601e-06 0.00% Castro::FluxRegFineAdd() 10 2.336e-06 2.336e-06 2.336e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.077e-06 2.077e-06 2.077e-06 0.00% Castro::post_regrid() 1 1.482e-06 1.482e-06 1.482e-06 0.00% Amr::initialInit() 1 9.89e-07 9.89e-07 9.89e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9684 0.9684 0.9684 100.00% Amr::coarseTimeStep() 10 0.8071 0.8071 0.8071 83.34% Amr::timeStep() 10 0.6518 0.6518 0.6518 67.31% Castro::advance() 10 0.6402 0.6402 0.6402 66.10% Castro::subcycle_advance_ctu() 10 0.6255 0.6255 0.6255 64.59% Castro::do_advance_ctu() 10 0.6253 0.6253 0.6253 64.57% Castro::construct_ctu_hydro_source() 10 0.2961 0.2961 0.2961 30.57% Gravity::solve_phi_with_mlmg() 11 0.29 0.29 0.29 29.95% Gravity::actual_solve_with_mlmg() 11 0.2811 0.2811 0.2811 29.02% Castro::construct_new_gravity() 10 0.2611 0.2611 0.2611 26.96% MLMG::solve() 11 0.2597 0.2597 0.2597 26.82% Gravity::solve_for_phi() 10 0.2454 0.2454 0.2454 25.34% MLMG::oneIter() 82 0.2447 0.2447 0.2447 25.27% MLMG::mgVcycle() 82 0.2411 0.2411 0.2411 24.90% Amr::checkPoint() 3 0.2025 0.2025 0.2025 20.91% VisMF::Write(FabArray) 11 0.1992 0.1992 0.1992 20.57% AmrLevel::checkPoint() 3 0.1452 0.1452 0.1452 14.99% StateData::checkPoint() 12 0.1451 0.1451 0.1451 14.98% Amr::init() 1 0.1323 0.1323 0.1323 13.66% MLCellLinOp::smooth() 1640 0.1178 0.1178 0.1178 12.17% MLCellLinOp::applyBC() 4433 0.1099 0.1099 0.1099 11.35% MLMG::mgVcycle_bottom 82 0.07531 0.07531 0.07531 7.78% MLMG::actualBottomSolve() 82 0.07527 0.07527 0.07527 7.77% MLCGSolver::bicgstab 82 0.07455 0.07455 0.07455 7.70% Amr::writePlotFile() 2 0.05675 0.05675 0.05675 5.86% Castro::clean_state() 62 0.05538 0.05538 0.05538 5.72% Amr::initialInit() 1 0.05303 0.05303 0.05303 5.48% Amr::FinalizeInit() 1 0.04876 0.04876 0.04876 5.04% Castro::post_init() 1 0.04741 0.04741 0.04741 4.90% AmrLevel::FillPatch() 41 0.04661 0.04661 0.04661 4.81% Gravity::multilevel_solve_for_new_phi() 1 0.0451 0.0451 0.0451 4.66% Gravity::actual_multilevel_solve() 1 0.04508 0.04508 0.04508 4.66% FillPatchIterator::Initialize 41 0.04245 0.04245 0.04245 4.38% FillPatchIterator::FillFromLevel0() 41 0.04091 0.04091 0.04091 4.22% FillPatchSingleLevel 41 0.04086 0.04086 0.04086 4.22% MLCellLinOp::apply() 1142 0.03695 0.03695 0.03695 3.82% StateDataPhysBCFunct::() 41 0.03679 0.03679 0.03679 3.80% MLMG::mgVcycle_down::0 82 0.03384 0.03384 0.03384 3.49% MLPoisson::Fsmooth() 3280 0.03303 0.03303 0.03303 3.41% FabArray::FillBoundary() 4023 0.0324 0.0324 0.0324 3.35% FillBoundary_nowait() 4023 0.03156 0.03156 0.03156 3.26% StateData::FillBoundary(geom) 328 0.02642 0.02642 0.02642 2.73% MLMG::mgVcycle_up::0 82 0.02551 0.02551 0.02551 2.63% MLCellLinOp::correctionResidual() 492 0.02252 0.02252 0.02252 2.33% Castro::computeTemp() 63 0.02103 0.02103 0.02103 2.17% amrex::Dot() 1114 0.021 0.021 0.021 2.17% Castro::initialize_do_advance() 10 0.02078 0.02078 0.02078 2.15% Castro::normalize_species() 62 0.02024 0.02024 0.02024 2.09% MLMG:computeResOfCorrection() 410 0.01982 0.01982 0.01982 2.05% Castro::do_old_sources() 10 0.0176 0.0176 0.0176 1.82% Gravity::get_new_grav_vector() 11 0.01756 0.01756 0.01756 1.81% MLPoisson::define() 11 0.01686 0.01686 0.01686 1.74% MLMG::mgVcycle_down::1 82 0.01624 0.01624 0.01624 1.68% Castro::construct_old_gravity() 10 0.01537 0.01537 0.01537 1.59% Gravity::get_old_grav_vector() 10 0.01536 0.01536 0.01536 1.59% amrex::Copy() 1029 0.01512 0.01512 0.01512 1.56% MLMG::mgVcycle_down::2 82 0.01504 0.01504 0.01504 1.55% MLMG::mgVcycle_down::3 82 0.01469 0.01469 0.01469 1.52% FabArray::ParallelCopy() 861 0.01467 0.01467 0.01467 1.51% FabArray::norminf() 743 0.01466 0.01466 0.01466 1.51% MLMG::mgVcycle_down::4 82 0.01443 0.01443 0.01443 1.49% FabArray::ParallelCopy_nowait() 861 0.0144 0.0144 0.0144 1.49% Castro::initialize_advance() 10 0.01399 0.01399 0.01399 1.45% FabArray::setVal() 1144 0.01352 0.01352 0.01352 1.40% MLCGSolver::ParallelAllReduce 1514 0.01259 0.01259 0.01259 1.30% MLMG::addInterpCorrection() 410 0.01211 0.01211 0.01211 1.25% MLMG::mgVcycle_up::1 82 0.01173 0.01173 0.01173 1.21% MLMG::mgVcycle_up::4 82 0.01161 0.01161 0.01161 1.20% MLCellLinOp::defineAuxData() 11 0.0116 0.0116 0.0116 1.20% amrex::average_down 410 0.01156 0.01156 0.01156 1.19% Castro::post_timestep() 10 0.01153 0.01153 0.01153 1.19% Castro::do_new_sources() 10 0.01153 0.01153 0.01153 1.19% Castro::enforce_min_density() 62 0.01142 0.01142 0.01142 1.18% MLMG::mgVcycle_up::2 82 0.01138 0.01138 0.01138 1.17% Castro::expand_state() 10 0.01127 0.01127 0.01127 1.16% MLMG::mgVcycle_up::3 82 0.01114 0.01114 0.01114 1.15% MLPoisson::Fapply() 1142 0.01058 0.01058 0.01058 1.09% Gravity::fill_multipole_BCs() 11 0.008732 0.008732 0.008732 0.90% FabArray::Saxpy() 813 0.008379 0.008379 0.008379 0.87% FabArray::Xpay() 821 0.008274 0.008274 0.008274 0.85% MLCellLinOp::solutionResidual() 93 0.007492 0.007492 0.007492 0.77% MLMG::computeResidual() 82 0.006231 0.006231 0.006231 0.64% Castro::reset_internal_energy(MultiFab) 63 0.006027 0.006027 0.006027 0.62% Castro::estTimeStep() 21 0.005213 0.005213 0.005213 0.54% MLCellLinOp::defineBC() 11 0.005008 0.005008 0.005008 0.52% MLMG::prepareForSolve() 11 0.005002 0.005002 0.005002 0.52% BndryData::define() 11 0.004792 0.004792 0.004792 0.49% FabArray::LinComb() 557 0.004618 0.004618 0.004618 0.48% amrex::Add() 164 0.004436 0.004436 0.004436 0.46% Amr::InitializeInit() 1 0.00427 0.00427 0.00427 0.44% Amr::defBaseLevel() 1 0.004266 0.004266 0.004266 0.44% Castro::enforce_speed_limit() 62 0.003582 0.003582 0.003582 0.37% Castro::initData() 1 0.003571 0.003571 0.003571 0.37% Castro::construct_new_source() 50 0.002799 0.002799 0.002799 0.29% Castro::construct_new_gravity_source() 10 0.002712 0.002712 0.002712 0.28% Castro::computeNewDt() 9 0.002276 0.002276 0.002276 0.23% Castro::construct_old_source() 50 0.002214 0.002214 0.002214 0.23% Castro::construct_old_gravity_source() 10 0.002195 0.002195 0.002195 0.23% MLMG::ResNormInf() 93 0.002152 0.002152 0.002152 0.22% Castro::finalize_do_advance() 10 0.001883 0.001883 0.001883 0.19% Castro::apply_source_to_state() 20 0.001863 0.001863 0.001863 0.19% check_for_negative_density() 10 0.001771 0.001771 0.001771 0.18% Castro::reset_internal_energy(Fab) 504 0.001752 0.001752 0.001752 0.18% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001743 0.001743 0.001743 0.18% MLMG::getGradSolution() 11 0.001539 0.001539 0.001539 0.16% MLCellLinOp::compGrad() 11 0.001533 0.001533 0.001533 0.16% FabArrayBase::getCPC() 1323 0.001495 0.001495 0.001495 0.15% MLCellLinOp::setLevelBC() 11 0.001437 0.001437 0.001437 0.15% FabArray::mult() 43 0.001361 0.001361 0.001361 0.14% FabArray::setDomainBndry() 41 0.001325 0.001325 0.001325 0.14% MLMG::computeMLResidual() 11 0.001303 0.001303 0.001303 0.13% Castro::check_for_nan() 20 0.001273 0.001273 0.001273 0.13% MLPoisson::prepareForSolve() 11 0.001263 0.001263 0.001263 0.13% MultiFab::contains_nan() 20 0.001259 0.001259 0.001259 0.13% MLCellLinOp::prepareForSolve() 11 0.001255 0.001255 0.001255 0.13% Castro::computeInitialDt() 2 0.001108 0.001108 0.001108 0.11% Castro::post_regrid() 1 0.001052 0.001052 0.001052 0.11% Gravity::update_max_rhs() 11 0.0009798 0.0009798 0.0009798 0.10% FabArrayBase::getFB() 4023 0.0007281 0.0007281 0.0007281 0.08% FabArrayBase::CPC::define() 454 0.0006907 0.0006907 0.0006907 0.07% Castro::Castro() 1 0.0006019 0.0006019 0.0006019 0.06% Castro::finalize_advance() 10 0.0005997 0.0005997 0.0005997 0.06% Amr::InitAmr() 1 0.0004783 0.0004783 0.0004783 0.05% Gravity::swapTimeLevels() 10 0.0004633 0.0004633 0.0004633 0.05% MLMG::MLResNormInf() 11 0.0003278 0.0003278 0.0003278 0.03% MultiFab::max() 11 0.0003267 0.0003267 0.0003267 0.03% Castro::buildMetrics() 1 0.000303 0.000303 0.000303 0.03% MLLinOp::define() 11 0.0002294 0.0002294 0.0002294 0.02% MLMG::MLRhsNormInf() 11 0.0002229 0.0002229 0.0002229 0.02% MLLinOp::defineGrids() 11 0.0002144 0.0002144 0.0002144 0.02% Castro::create_source_corrector() 10 0.0001438 0.0001438 0.0001438 0.01% FabArrayBase::FB::FB() 56 9.629e-05 9.629e-05 9.629e-05 0.01% Castro::enforce_consistent_e() 1 7.653e-05 7.653e-05 7.653e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.655e-05 5.655e-05 5.655e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.437e-05 5.437e-05 5.437e-05 0.01% makeSFC 55 3.947e-05 3.947e-05 3.947e-05 0.00% StateData::define() 4 3.812e-05 3.812e-05 3.812e-05 0.00% Castro::swap_state_time_levels() 10 3.659e-05 3.659e-05 3.659e-05 0.00% Castro::initMFs() 1 3.073e-05 3.073e-05 3.073e-05 0.00% Amr::writeSmallPlotFile() 1 2.625e-05 2.625e-05 2.625e-05 0.00% DistributionMapping::Distribute() 56 1.633e-05 1.633e-05 1.633e-05 0.00% Amr::initSubcycle() 1 1.18e-05 1.18e-05 1.18e-05 0.00% Gravity::set_mass_offset() 11 9.354e-06 9.354e-06 9.354e-06 0.00% AmrLevel::checkPointPost() 3 5.623e-06 5.623e-06 5.623e-06 0.00% AmrLevel::checkPointPre() 3 4.271e-06 4.271e-06 4.271e-06 0.00% Castro::retry_advance_ctu() 10 4.225e-06 4.225e-06 4.225e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.106e-06 4.106e-06 4.106e-06 0.00% Castro::FluxRegCrseInit 10 2.688e-06 2.688e-06 2.688e-06 0.00% Castro::FluxRegFineAdd() 10 2.336e-06 2.336e-06 2.336e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.077e-06 2.077e-06 2.077e-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 103 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 136 MiB 692 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 925 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1649 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7609 KiB 14 MiB MLMG::prepareForSolve() 660 660 3299 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 188 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 162 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7528 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 15 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1959 B 2048 KiB Gravity::solve_for_phi() 80 80 518 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 95 KiB 2048 KiB BndryData::define() 1056 1056 301 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 191 KiB 671 KiB Castro::estTimeStep() 21 21 2622 B 480 KiB VisMF::Write(FabArray) 656 656 3180 B 320 KiB Castro::normalize_species() 62 62 6806 B 320 KiB amrex::average_down 1067 1067 1204 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1068 B 257 KiB amrex::Dot() 1360 1360 3192 B 160 KiB FabArray::norminf() 907 907 2236 B 160 KiB check_for_negative_density() 10 10 286 B 160 KiB Castro::initData() 1 1 50 B 160 KiB MultiFab::max() 11 11 52 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 25 B 20 KiB MLPoisson::Fsmooth() 132 132 3221 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 278 B 9648 B MLCellLinOp::applyBC() 8866 8866 206 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3871 B 6144 B StateData::FillBoundary(geom) 1992 1992 34 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 112 B 1472 B MLCellLinOp::defineBC() 66 66 339 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 496 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 37 KiB 8192 KiB VisMF::Write(FabArray) 744 744 467 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3221 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 278 B 9648 B MLCellLinOp::applyBC() 4433 4433 204 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3871 B 6144 B Gravity::get_new_grav_vector() 3 3 2905 B 3072 B StateData::FillBoundary(geom) 1992 1992 34 B 3024 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 274 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 23 B 400 B FabArray::norminf() 907 907 16 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.08-51-gde7c6189623b) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-51-gde7c6189623b) initialized Starting run at 07:31:28 UTC on 2023-09-01. Successfully read inputs file ... Castro git describe: 23.08-7-gf1b93be75 AMReX git describe: 23.08-51-gde7c61896 Microphysics git describe: 23.08-19-gbb8d2a2b reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.504430373 Restart time = 0.050063183 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.054055266 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.050676157 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.084272302 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.081529418 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.06101952 [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.030305148 seconds Ending run at 07:31:28 UTC on 2023-09-01. Run time = 0.412945389 Run time without initialization = 0.362292559 Average number of zones advanced per microsecond: 3.618 Average number of zones advanced per microsecond per rank: 3.618 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.413 ... 0.413 ... 0.413 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1420 0.1420 0.1420 34.38% VisMF::Read() 3 0.03855 0.03855 0.03855 9.33% MLCellLinOp::applyBC() 1946 0.03379 0.03379 0.03379 8.18% VisMF::Write(FabArray) 1 0.02892 0.02892 0.02892 7.00% MLPoisson::Fsmooth() 1440 0.01435 0.01435 0.01435 3.47% StateData::FillBoundary(geom) 160 0.01294 0.01294 0.01294 3.13% FillBoundary_nowait() 1766 0.01292 0.01292 0.01292 3.13% Castro::normalize_species() 30 0.01069 0.01069 0.01069 2.59% amrex::Dot() 484 0.009091 0.009091 0.009091 2.20% amrex::Copy() 463 0.007257 0.007257 0.007257 1.76% Castro::computeTemp() 30 0.007169 0.007169 0.007169 1.74% FabArray::setVal() 537 0.006566 0.006566 0.006566 1.59% FabArray::norminf() 326 0.006446 0.006446 0.006446 1.56% FabArray::ParallelCopy_nowait() 380 0.006114 0.006114 0.006114 1.48% Gravity::fill_multipole_BCs() 6 0.005638 0.005638 0.005638 1.37% MLCellLinOp::defineAuxData() 6 0.005595 0.005595 0.005595 1.35% Castro::enforce_min_density() 30 0.005438 0.005438 0.005438 1.32% StateDataPhysBCFunct::() 20 0.004862 0.004862 0.004862 1.18% Amr::restart() 1 0.004803 0.004803 0.004803 1.16% MLPoisson::Fapply() 500 0.004631 0.004631 0.004631 1.12% FabArray::Saxpy() 355 0.003774 0.003774 0.003774 0.91% FabArray::Xpay() 361 0.003653 0.003653 0.003653 0.88% MLMG::addInterpCorrection() 180 0.003089 0.003089 0.003089 0.75% Castro::estTimeStep() 10 0.002844 0.002844 0.002844 0.69% amrex::average_down 180 0.002697 0.002697 0.002697 0.65% FabArray::LinComb() 242 0.00227 0.00227 0.00227 0.55% BndryData::define() 6 0.002087 0.002087 0.002087 0.51% amrex::Add() 72 0.001894 0.001894 0.001894 0.46% Castro::construct_new_gravity_source() 5 0.001829 0.001829 0.001829 0.44% Castro::construct_old_gravity_source() 5 0.001493 0.001493 0.001493 0.36% Castro::reset_internal_energy(MultiFab) 30 0.001477 0.001477 0.001477 0.36% Amr::writePlotFile() 1 0.001238 0.001238 0.001238 0.30% MLCGSolver::bicgstab 36 0.00101 0.00101 0.00101 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009582 0.0009582 0.0009582 0.23% check_for_negative_density() 5 0.0009569 0.0009569 0.0009569 0.23% Gravity::actual_solve_with_mlmg() 6 0.0008506 0.0008506 0.0008506 0.21% Castro::reset_internal_energy(Fab) 240 0.0008396 0.0008396 0.0008396 0.20% MLCellLinOp::setLevelBC() 6 0.0007879 0.0007879 0.0007879 0.19% MLCellLinOp::prepareForSolve() 6 0.0007067 0.0007067 0.0007067 0.17% FabArray::setDomainBndry() 20 0.0006921 0.0006921 0.0006921 0.17% FabArray::mult() 22 0.0006895 0.0006895 0.0006895 0.17% Castro::enforce_speed_limit() 30 0.0006661 0.0006661 0.0006661 0.16% MultiFab::contains_nan() 10 0.0006546 0.0006546 0.0006546 0.16% MLCellLinOp::compGrad() 6 0.0005921 0.0005921 0.0005921 0.14% MLCellLinOp::smooth() 720 0.0005778 0.0005778 0.0005778 0.14% MLMG::prepareForSolve() 6 0.0005492 0.0005492 0.0005492 0.13% Amr::InitAmr() 1 0.0004298 0.0004298 0.0004298 0.10% FabArrayBase::CPC::define() 244 0.00042 0.00042 0.00042 0.10% FabArrayBase::getCPC() 632 0.0003851 0.0003851 0.0003851 0.09% FabArray::FillBoundary() 1766 0.0003789 0.0003789 0.0003789 0.09% Gravity::get_old_grav_vector() 5 0.0003594 0.0003594 0.0003594 0.09% Gravity::get_new_grav_vector() 5 0.0002883 0.0002883 0.0002883 0.07% FabArrayBase::getFB() 1766 0.0002702 0.0002702 0.0002702 0.07% main() 1 0.0002634 0.0002634 0.0002634 0.06% MLCellLinOp::apply() 500 0.0002242 0.0002242 0.0002242 0.05% MultiFab::max() 6 0.0002048 0.0002048 0.0002048 0.05% AmrLevel::FillPatch() 20 0.0001686 0.0001686 0.0001686 0.04% Amr::coarseTimeStep() 5 0.0001533 0.0001533 0.0001533 0.04% MLCGSolver::ParallelAllReduce 659 0.0001393 0.0001393 0.0001393 0.03% FabArray::ParallelCopy() 380 0.0001243 0.0001243 0.0001243 0.03% MLLinOp::defineGrids() 6 0.0001184 0.0001184 0.0001184 0.03% Castro::subcycle_advance_ctu() 5 0.000116 0.000116 0.000116 0.03% MLCellLinOp::defineBC() 6 0.0001111 0.0001111 0.0001111 0.03% FillPatchIterator::Initialize 20 0.0001094 0.0001094 0.0001094 0.03% MLCellLinOp::correctionResidual() 216 0.0001018 0.0001018 0.0001018 0.02% Castro::create_source_corrector() 5 9.811e-05 9.811e-05 9.811e-05 0.02% MLMG::mgVcycle() 36 9.383e-05 9.383e-05 9.383e-05 0.02% Castro::advance() 5 9.348e-05 9.348e-05 9.348e-05 0.02% Amr::timeStep() 5 8.223e-05 8.223e-05 8.223e-05 0.02% Castro::construct_new_source() 25 8.201e-05 8.201e-05 8.201e-05 0.02% AmrLevel::restart() 1 7.864e-05 7.864e-05 7.864e-05 0.02% Gravity::update_max_rhs() 6 6.503e-05 6.503e-05 6.503e-05 0.02% FabArrayBase::FB::FB() 26 6.414e-05 6.414e-05 6.414e-05 0.02% Castro::do_advance_ctu() 5 6.292e-05 6.292e-05 6.292e-05 0.02% Gravity::solve_for_phi() 5 6.209e-05 6.209e-05 6.209e-05 0.02% StateData::restartDoit() 4 6.059e-05 6.059e-05 6.059e-05 0.01% MLMG:computeResOfCorrection() 180 5.246e-05 5.246e-05 5.246e-05 0.01% MLMG::actualBottomSolve() 36 4.182e-05 4.182e-05 4.182e-05 0.01% Castro::finalize_do_advance() 5 4.071e-05 4.071e-05 4.071e-05 0.01% MLMG::mgVcycle_down::0 36 3.975e-05 3.975e-05 3.975e-05 0.01% Castro::initialize_advance() 5 3.787e-05 3.787e-05 3.787e-05 0.01% MLMG::solve() 6 3.768e-05 3.768e-05 3.768e-05 0.01% MLMG::mgVcycle_down::1 36 3.687e-05 3.687e-05 3.687e-05 0.01% Castro::clean_state() 30 3.528e-05 3.528e-05 3.528e-05 0.01% Castro::post_restart() 1 3.515e-05 3.515e-05 3.515e-05 0.01% Castro::do_new_sources() 5 3.5e-05 3.5e-05 3.5e-05 0.01% MLMG::mgVcycle_down::2 36 3.497e-05 3.497e-05 3.497e-05 0.01% MLMG::mgVcycle_down::4 36 3.385e-05 3.385e-05 3.385e-05 0.01% MLMG::mgVcycle_down::3 36 3.269e-05 3.269e-05 3.269e-05 0.01% Castro::finalize_advance() 5 3.094e-05 3.094e-05 3.094e-05 0.01% Castro::initialize_do_advance() 5 3.059e-05 3.059e-05 3.059e-05 0.01% Amr::writeSmallPlotFile() 1 3.03e-05 3.03e-05 3.03e-05 0.01% MLMG::mgVcycle_up::4 36 2.916e-05 2.916e-05 2.916e-05 0.01% Castro::construct_old_source() 25 2.839e-05 2.839e-05 2.839e-05 0.01% Castro::buildMetrics() 1 2.652e-05 2.652e-05 2.652e-05 0.01% MLMG::oneIter() 36 2.437e-05 2.437e-05 2.437e-05 0.01% Castro::swap_state_time_levels() 5 2.393e-05 2.393e-05 2.393e-05 0.01% MLMG::mgVcycle_up::0 36 2.365e-05 2.365e-05 2.365e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.335e-05 2.335e-05 2.335e-05 0.01% MLCellLinOp::solutionResidual() 42 2.33e-05 2.33e-05 2.33e-05 0.01% MLMG::mgVcycle_up::3 36 2.315e-05 2.315e-05 2.315e-05 0.01% Castro::initMFs() 1 2.3e-05 2.3e-05 2.3e-05 0.01% MLMG::mgVcycle_up::2 36 2.205e-05 2.205e-05 2.205e-05 0.01% MLMG::mgVcycle_up::1 36 2.154e-05 2.154e-05 2.154e-05 0.01% MLMG::ResNormInf() 42 1.668e-05 1.668e-05 1.668e-05 0.00% FillPatchSingleLevel 20 1.666e-05 1.666e-05 1.666e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.597e-05 1.597e-05 1.597e-05 0.00% MLMG::computeResidual() 36 1.566e-05 1.566e-05 1.566e-05 0.00% MLMG::mgVcycle_bottom 36 1.519e-05 1.519e-05 1.519e-05 0.00% MLPoisson::define() 6 1.435e-05 1.435e-05 1.435e-05 0.00% Castro::construct_new_gravity() 5 1.321e-05 1.321e-05 1.321e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.315e-05 1.315e-05 1.315e-05 0.00% makeSFC 30 1.244e-05 1.244e-05 1.244e-05 0.00% Castro::do_old_sources() 5 1.155e-05 1.155e-05 1.155e-05 0.00% DistributionMapping::Distribute() 31 1.059e-05 1.059e-05 1.059e-05 0.00% MLLinOp::define() 6 1.024e-05 1.024e-05 1.024e-05 0.00% Amr::initSubcycle() 1 9.82e-06 9.82e-06 9.82e-06 0.00% MLMG::getGradSolution() 6 8.93e-06 8.93e-06 8.93e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 8.148e-06 8.148e-06 8.148e-06 0.00% Gravity::actual_multilevel_solve() 1 7.924e-06 7.924e-06 7.924e-06 0.00% Castro::check_for_nan() 10 7.51e-06 7.51e-06 7.51e-06 0.00% Castro::construct_old_gravity() 5 6.502e-06 6.502e-06 6.502e-06 0.00% Castro::apply_source_to_state() 10 5.831e-06 5.831e-06 5.831e-06 0.00% Gravity::swapTimeLevels() 5 5.446e-06 5.446e-06 5.446e-06 0.00% Castro::post_timestep() 5 4.642e-06 4.642e-06 4.642e-06 0.00% MLPoisson::prepareForSolve() 6 4.103e-06 4.103e-06 4.103e-06 0.00% MLMG::computeMLResidual() 6 3.706e-06 3.706e-06 3.706e-06 0.00% Castro::computeNewDt() 5 3.548e-06 3.548e-06 3.548e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.281e-06 3.281e-06 3.281e-06 0.00% Castro::expand_state() 5 2.785e-06 2.785e-06 2.785e-06 0.00% MLMG::MLRhsNormInf() 6 2.442e-06 2.442e-06 2.442e-06 0.00% MLMG::MLResNormInf() 6 2.34e-06 2.34e-06 2.34e-06 0.00% Castro::retry_advance_ctu() 5 2.313e-06 2.313e-06 2.313e-06 0.00% Gravity::set_mass_offset() 6 2.31e-06 2.31e-06 2.31e-06 0.00% Castro::FluxRegCrseInit 5 1.487e-06 1.487e-06 1.487e-06 0.00% Castro::FluxRegFineAdd() 5 1.333e-06 1.333e-06 1.333e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.108e-06 1.108e-06 1.108e-06 0.00% Amr::init() 1 9.18e-07 9.18e-07 9.18e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.413 0.413 0.413 100.00% Amr::coarseTimeStep() 5 0.3317 0.3317 0.3317 80.32% Amr::timeStep() 5 0.3297 0.3297 0.3297 79.84% Castro::advance() 5 0.325 0.325 0.325 78.70% Castro::subcycle_advance_ctu() 5 0.3175 0.3175 0.3175 76.88% Castro::do_advance_ctu() 5 0.3174 0.3174 0.3174 76.85% Castro::construct_ctu_hydro_source() 5 0.1474 0.1474 0.1474 35.69% Castro::construct_new_gravity() 5 0.1337 0.1337 0.1337 32.37% Gravity::solve_phi_with_mlmg() 6 0.1314 0.1314 0.1314 31.82% Gravity::solve_for_phi() 5 0.1258 0.1258 0.1258 30.46% Gravity::actual_solve_with_mlmg() 6 0.1255 0.1255 0.1255 30.39% MLMG::solve() 6 0.1137 0.1137 0.1137 27.52% MLMG::oneIter() 36 0.1062 0.1062 0.1062 25.73% MLMG::mgVcycle() 36 0.1047 0.1047 0.1047 25.35% MLCellLinOp::smooth() 720 0.0508 0.0508 0.0508 12.30% Amr::init() 1 0.05011 0.05011 0.05011 12.13% Amr::restart() 1 0.05011 0.05011 0.05011 12.13% MLCellLinOp::applyBC() 1946 0.04743 0.04743 0.04743 11.48% AmrLevel::restart() 1 0.03889 0.03889 0.03889 9.42% StateData::restartDoit() 4 0.03881 0.03881 0.03881 9.40% VisMF::Read() 3 0.03855 0.03855 0.03855 9.33% MLMG::mgVcycle_bottom 36 0.03293 0.03293 0.03293 7.97% MLMG::actualBottomSolve() 36 0.03291 0.03291 0.03291 7.97% MLCGSolver::bicgstab 36 0.0326 0.0326 0.0326 7.89% Amr::writePlotFile() 1 0.03042 0.03042 0.03042 7.36% VisMF::Write(FabArray) 1 0.02892 0.02892 0.02892 7.00% Castro::clean_state() 30 0.02632 0.02632 0.02632 6.37% AmrLevel::FillPatch() 20 0.02273 0.02273 0.02273 5.50% FillPatchIterator::Initialize 20 0.02067 0.02067 0.02067 5.00% FillPatchIterator::FillFromLevel0() 20 0.01986 0.01986 0.01986 4.81% FillPatchSingleLevel 20 0.01984 0.01984 0.01984 4.80% StateDataPhysBCFunct::() 20 0.0178 0.0178 0.0178 4.31% MLCellLinOp::apply() 500 0.01614 0.01614 0.01614 3.91% MLMG::mgVcycle_down::0 36 0.01453 0.01453 0.01453 3.52% MLPoisson::Fsmooth() 1440 0.01435 0.01435 0.01435 3.47% FabArray::FillBoundary() 1766 0.01363 0.01363 0.01363 3.30% FillBoundary_nowait() 1766 0.01326 0.01326 0.01326 3.21% StateData::FillBoundary(geom) 160 0.01294 0.01294 0.01294 3.13% MLMG::mgVcycle_up::0 36 0.01097 0.01097 0.01097 2.66% Castro::initialize_do_advance() 5 0.01088 0.01088 0.01088 2.63% Castro::normalize_species() 30 0.01069 0.01069 0.01069 2.59% MLCellLinOp::correctionResidual() 216 0.009734 0.009734 0.009734 2.36% Castro::computeTemp() 30 0.009486 0.009486 0.009486 2.30% MLPoisson::define() 6 0.009325 0.009325 0.009325 2.26% Castro::do_old_sources() 5 0.009232 0.009232 0.009232 2.24% amrex::Dot() 484 0.009091 0.009091 0.009091 2.20% MLMG:computeResOfCorrection() 180 0.008562 0.008562 0.008562 2.07% Gravity::get_new_grav_vector() 5 0.007796 0.007796 0.007796 1.89% Castro::construct_old_gravity() 5 0.007772 0.007772 0.007772 1.88% Gravity::get_old_grav_vector() 5 0.007766 0.007766 0.007766 1.88% amrex::Copy() 463 0.007257 0.007257 0.007257 1.76% Castro::initialize_advance() 5 0.007126 0.007126 0.007126 1.73% MLMG::mgVcycle_down::1 36 0.007126 0.007126 0.007126 1.73% Castro::do_new_sources() 5 0.00683 0.00683 0.00683 1.65% FabArray::ParallelCopy() 380 0.006642 0.006642 0.006642 1.61% FabArray::setVal() 537 0.006566 0.006566 0.006566 1.59% FabArray::ParallelCopy_nowait() 380 0.006518 0.006518 0.006518 1.58% MLMG::mgVcycle_down::2 36 0.006476 0.006476 0.006476 1.57% FabArray::norminf() 326 0.006446 0.006446 0.006446 1.56% MLCellLinOp::defineAuxData() 6 0.006391 0.006391 0.006391 1.55% MLMG::mgVcycle_down::3 36 0.00634 0.00634 0.00634 1.54% MLMG::mgVcycle_down::4 36 0.006258 0.006258 0.006258 1.52% Castro::post_restart() 1 0.006238 0.006238 0.006238 1.51% Castro::expand_state() 5 0.005982 0.005982 0.005982 1.45% Gravity::multilevel_solve_for_new_phi() 1 0.005864 0.005864 0.005864 1.42% Gravity::actual_multilevel_solve() 1 0.005848 0.005848 0.005848 1.42% Gravity::fill_multipole_BCs() 6 0.005766 0.005766 0.005766 1.40% MLCGSolver::ParallelAllReduce 659 0.005509 0.005509 0.005509 1.33% Castro::enforce_min_density() 30 0.005438 0.005438 0.005438 1.32% MLMG::addInterpCorrection() 180 0.005382 0.005382 0.005382 1.30% MLMG::mgVcycle_up::4 36 0.005107 0.005107 0.005107 1.24% MLMG::mgVcycle_up::1 36 0.005066 0.005066 0.005066 1.23% amrex::average_down 180 0.005022 0.005022 0.005022 1.22% MLMG::mgVcycle_up::2 36 0.004951 0.004951 0.004951 1.20% MLMG::mgVcycle_up::3 36 0.00485 0.00485 0.00485 1.17% MLPoisson::Fapply() 500 0.004631 0.004631 0.004631 1.12% Castro::post_timestep() 5 0.004604 0.004604 0.004604 1.11% FabArray::Saxpy() 355 0.003774 0.003774 0.003774 0.91% FabArray::Xpay() 361 0.003653 0.003653 0.003653 0.88% MLCellLinOp::solutionResidual() 42 0.003498 0.003498 0.003498 0.85% Castro::estTimeStep() 10 0.002844 0.002844 0.002844 0.69% MLCellLinOp::defineBC() 6 0.002761 0.002761 0.002761 0.67% MLMG::prepareForSolve() 6 0.002755 0.002755 0.002755 0.67% MLMG::computeResidual() 36 0.002745 0.002745 0.002745 0.66% BndryData::define() 6 0.00265 0.00265 0.00265 0.64% Castro::reset_internal_energy(MultiFab) 30 0.002317 0.002317 0.002317 0.56% FabArray::LinComb() 242 0.00227 0.00227 0.00227 0.55% Castro::construct_new_source() 25 0.001911 0.001911 0.001911 0.46% amrex::Add() 72 0.001894 0.001894 0.001894 0.46% Castro::computeNewDt() 5 0.001846 0.001846 0.001846 0.45% Castro::construct_new_gravity_source() 5 0.001829 0.001829 0.001829 0.44% Castro::construct_old_source() 25 0.001521 0.001521 0.001521 0.37% Castro::construct_old_gravity_source() 5 0.001493 0.001493 0.001493 0.36% Castro::finalize_do_advance() 5 0.001042 0.001042 0.001042 0.25% MLMG::ResNormInf() 42 0.0009931 0.0009931 0.0009931 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009582 0.0009582 0.0009582 0.23% check_for_negative_density() 5 0.0009569 0.0009569 0.0009569 0.23% Castro::apply_source_to_state() 10 0.0009562 0.0009562 0.0009562 0.23% MLMG::getGradSolution() 6 0.0008774 0.0008774 0.0008774 0.21% MLCellLinOp::compGrad() 6 0.0008685 0.0008685 0.0008685 0.21% Castro::reset_internal_energy(Fab) 240 0.0008396 0.0008396 0.0008396 0.20% FabArrayBase::getCPC() 632 0.0008051 0.0008051 0.0008051 0.19% MLCellLinOp::setLevelBC() 6 0.0007879 0.0007879 0.0007879 0.19% MLMG::computeMLResidual() 6 0.0007725 0.0007725 0.0007725 0.19% MLPoisson::prepareForSolve() 6 0.0007108 0.0007108 0.0007108 0.17% Gravity::update_max_rhs() 6 0.0007087 0.0007087 0.0007087 0.17% MLCellLinOp::prepareForSolve() 6 0.0007067 0.0007067 0.0007067 0.17% FabArray::setDomainBndry() 20 0.0006921 0.0006921 0.0006921 0.17% FabArray::mult() 22 0.0006895 0.0006895 0.0006895 0.17% Castro::enforce_speed_limit() 30 0.0006661 0.0006661 0.0006661 0.16% Castro::check_for_nan() 10 0.0006621 0.0006621 0.0006621 0.16% MultiFab::contains_nan() 10 0.0006546 0.0006546 0.0006546 0.16% Amr::InitAmr() 1 0.0004396 0.0004396 0.0004396 0.11% FabArrayBase::CPC::define() 244 0.00042 0.00042 0.00042 0.10% FabArrayBase::getFB() 1766 0.0003343 0.0003343 0.0003343 0.08% Castro::finalize_advance() 5 0.0002986 0.0002986 0.0002986 0.07% Gravity::swapTimeLevels() 5 0.0002324 0.0002324 0.0002324 0.06% MultiFab::max() 6 0.0002048 0.0002048 0.0002048 0.05% MLMG::MLResNormInf() 6 0.0001874 0.0001874 0.0001874 0.05% MLLinOp::define() 6 0.0001592 0.0001592 0.0001592 0.04% Castro::buildMetrics() 1 0.0001497 0.0001497 0.0001497 0.04% MLLinOp::defineGrids() 6 0.000149 0.000149 0.000149 0.04% MLMG::MLRhsNormInf() 6 0.000119 0.000119 0.000119 0.03% Castro::create_source_corrector() 5 9.811e-05 9.811e-05 9.811e-05 0.02% FabArrayBase::FB::FB() 26 6.414e-05 6.414e-05 6.414e-05 0.02% Amr::writeSmallPlotFile() 1 3.03e-05 3.03e-05 3.03e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.947e-05 2.947e-05 2.947e-05 0.01% Castro::swap_state_time_levels() 5 2.393e-05 2.393e-05 2.393e-05 0.01% Castro::initMFs() 1 2.3e-05 2.3e-05 2.3e-05 0.01% makeSFC 30 2.132e-05 2.132e-05 2.132e-05 0.01% DistributionMapping::Distribute() 31 1.059e-05 1.059e-05 1.059e-05 0.00% Amr::initSubcycle() 1 9.82e-06 9.82e-06 9.82e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.98e-06 4.98e-06 4.98e-06 0.00% Castro::retry_advance_ctu() 5 2.313e-06 2.313e-06 2.313e-06 0.00% Gravity::set_mass_offset() 6 2.31e-06 2.31e-06 2.31e-06 0.00% Castro::FluxRegCrseInit 5 1.487e-06 1.487e-06 1.487e-06 0.00% Castro::FluxRegFineAdd() 5 1.333e-06 1.333e-06 1.333e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.108e-06 1.108e-06 1.108e-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 203 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 156 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1095 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2067 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 6762 KiB 14 MiB MLMG::prepareForSolve() 361 361 3378 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 194 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 193 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6748 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 23 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3409 B 2048 KiB Gravity::solve_for_phi() 40 40 622 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 28 KiB 2048 KiB BndryData::define() 576 576 311 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 199 KiB 671 KiB Castro::estTimeStep() 10 10 3302 B 480 KiB VisMF::Write(FabArray) 112 112 1381 B 320 KiB Castro::normalize_species() 30 30 8433 B 320 KiB amrex::average_down 469 469 1192 B 257 KiB MLMG::addInterpCorrection() 468 468 1110 B 257 KiB amrex::Dot() 592 592 3238 B 160 KiB FabArray::norminf() 398 398 2301 B 160 KiB check_for_negative_density() 5 5 372 B 160 KiB MultiFab::max() 6 6 77 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3276 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 271 B 9648 B MLCellLinOp::applyBC() 3892 3892 213 B 9344 B amrex::Copy() 56 56 5950 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 40 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 114 B 1472 B MLCellLinOp::defineBC() 36 36 349 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1143 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 86 KiB 8192 KiB VisMF::Write(FabArray) 120 120 201 KiB 3584 KiB VisMF::Read() 24 24 180 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3276 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 271 B 9648 B MLCellLinOp::applyBC() 1946 1946 212 B 9328 B amrex::Copy() 56 56 5950 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2649 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 40 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 521 B 1296 B amrex::average_down 37 37 223 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 398 398 16 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.08-51-gde7c6189623b) finalized