Initializing CUDA... CUDA initialized with 1 device. AMReX (23.02-45-g42acecf9c7f7) initialized Starting run at 10:09:56 UTC on 2023-02-24. Successfully read inputs file ... Castro git describe: 23.01-42-g76337b082 AMReX git describe: 23.02-45-g42acecf9c Microphysics git describe: 23.02-16-g3e0cd993 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.058805014 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033716305 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.047013974 [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.049037286 [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.049271071 [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.056395352 [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.058242486 [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.057894296 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.077620779 [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.05984236 [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.059730125 [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.059677693 [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.061827271 [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.058335803 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.034012949 seconds Ending run at 10:09:57 UTC on 2023-02-24. Run time = 0.870635723 Run time without initialization = 0.72951882 Average number of zones advanced per microsecond: 3.593 Average number of zones advanced per microsecond per rank: 3.593 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8707 ... 0.8707 ... 0.8707 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2358 0.2358 0.2358 27.09% Castro::construct_ctu_hydro_source() 10 0.2169 0.2169 0.2169 24.91% MLCellLinOp::applyBC() 4433 0.07752 0.07752 0.07752 8.90% MLPoisson::Fsmooth() 3280 0.03232 0.03232 0.03232 3.71% FillBoundary_nowait() 4023 0.03093 0.03093 0.03093 3.55% StateData::FillBoundary(geom) 328 0.02521 0.02521 0.02521 2.90% amrex::Dot() 1114 0.02081 0.02081 0.02081 2.39% StateDataPhysBCFunct::() 41 0.0162 0.0162 0.0162 1.86% amrex::Copy() 1029 0.01483 0.01483 0.01483 1.70% FabArray::norminf() 743 0.01449 0.01449 0.01449 1.66% Castro::normalize_species() 62 0.01432 0.01432 0.01432 1.64% Castro::computeTemp() 63 0.01389 0.01389 0.01389 1.59% FabArray::ParallelCopy_nowait() 861 0.0136 0.0136 0.0136 1.56% FabArray::setVal() 1144 0.01321 0.01321 0.01321 1.52% MLPoisson::Fapply() 1142 0.01046 0.01046 0.01046 1.20% MLCellLinOp::defineAuxData() 11 0.01003 0.01003 0.01003 1.15% Castro::enforce_min_density() 62 0.009277 0.009277 0.009277 1.07% FabArray::Saxpy() 813 0.008195 0.008195 0.008195 0.94% FabArray::Xpay() 821 0.008093 0.008093 0.008093 0.93% MLMG::addInterpCorrection() 410 0.006872 0.006872 0.006872 0.79% Gravity::fill_multipole_BCs() 11 0.006324 0.006324 0.006324 0.73% amrex::average_down 410 0.005977 0.005977 0.005977 0.69% FabArray::LinComb() 557 0.004537 0.004537 0.004537 0.52% amrex::Add() 164 0.004362 0.004362 0.004362 0.50% Castro::estTimeStep() 21 0.004226 0.004226 0.004226 0.49% Amr::checkPoint() 3 0.004086 0.004086 0.004086 0.47% Castro::reset_internal_energy(MultiFab) 63 0.004048 0.004048 0.004048 0.46% BndryData::define() 11 0.003751 0.003751 0.003751 0.43% Castro::do_advance_ctu() 10 0.002802 0.002802 0.002802 0.32% Castro::construct_new_gravity_source() 10 0.00268 0.00268 0.00268 0.31% Amr::writePlotFile() 2 0.002364 0.002364 0.002364 0.27% MLCGSolver::bicgstab 82 0.002176 0.002176 0.002176 0.25% Castro::construct_old_gravity_source() 10 0.001997 0.001997 0.001997 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001724 0.001724 0.001724 0.20% Castro::reset_internal_energy(Fab) 504 0.001545 0.001545 0.001545 0.18% Castro::enforce_speed_limit() 62 0.001532 0.001532 0.001532 0.18% Gravity::actual_solve_with_mlmg() 11 0.001499 0.001499 0.001499 0.17% MLCellLinOp::setLevelBC() 11 0.001386 0.001386 0.001386 0.16% FabArray::setDomainBndry() 41 0.00133 0.00133 0.00133 0.15% FabArray::mult() 43 0.001322 0.001322 0.001322 0.15% MultiFab::contains_nan() 20 0.001196 0.001196 0.001196 0.14% MLCellLinOp::prepareForSolve() 11 0.001142 0.001142 0.001142 0.13% MLCellLinOp::smooth() 1640 0.001135 0.001135 0.001135 0.13% Castro::initData() 1 0.001112 0.001112 0.001112 0.13% MLCellLinOp::compGrad() 11 0.000911 0.000911 0.000911 0.10% MLMG::prepareForSolve() 11 0.0008841 0.0008841 0.0008841 0.10% FabArray::FillBoundary() 4023 0.0008362 0.0008362 0.0008362 0.10% Castro::subcycle_advance_ctu() 10 0.0007691 0.0007691 0.0007691 0.09% FabArrayBase::getCPC() 1323 0.0007673 0.0007673 0.0007673 0.09% FabArrayBase::CPC::define() 454 0.0006932 0.0006932 0.0006932 0.08% Gravity::get_new_grav_vector() 11 0.000625 0.000625 0.000625 0.07% FabArrayBase::getFB() 4023 0.0005938 0.0005938 0.0005938 0.07% Gravity::get_old_grav_vector() 10 0.000545 0.000545 0.000545 0.06% Amr::InitAmr() 1 0.0004941 0.0004941 0.0004941 0.06% MLCellLinOp::apply() 1142 0.0004531 0.0004531 0.0004531 0.05% MLMG::mgVcycle() 82 0.0003637 0.0003637 0.0003637 0.04% MLLinOp::defineGrids() 11 0.0003631 0.0003631 0.0003631 0.04% Amr::coarseTimeStep() 10 0.000325 0.000325 0.000325 0.04% main() 1 0.0003019 0.0003019 0.0003019 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002876 0.0002876 0.0002876 0.03% MultiFab::max() 11 0.0002678 0.0002678 0.0002678 0.03% FabArray::ParallelCopy() 861 0.0002544 0.0002544 0.0002544 0.03% FillPatchIterator::Initialize 41 0.0002273 0.0002273 0.0002273 0.03% MLCellLinOp::correctionResidual() 492 0.0002249 0.0002249 0.0002249 0.03% MLCellLinOp::defineBC() 11 0.000211 0.000211 0.000211 0.02% Amr::timeStep() 10 0.0001539 0.0001539 0.0001539 0.02% StateData::checkPoint() 12 0.0001324 0.0001324 0.0001324 0.02% Gravity::solve_for_phi() 10 0.0001194 0.0001194 0.0001194 0.01% Gravity::update_max_rhs() 11 0.0001169 0.0001169 0.0001169 0.01% MLMG:computeResOfCorrection() 410 0.0001129 0.0001129 0.0001129 0.01% Castro::finalize_advance() 10 0.0001095 0.0001095 0.0001095 0.01% MLMG::mgVcycle_down::0 82 9.033e-05 9.033e-05 9.033e-05 0.01% MLMG::actualBottomSolve() 82 8.855e-05 8.855e-05 8.855e-05 0.01% FabArrayBase::FB::FB() 56 8.808e-05 8.808e-05 8.808e-05 0.01% MLMG::mgVcycle_down::1 82 8.785e-05 8.785e-05 8.785e-05 0.01% MLMG::mgVcycle_down::2 82 8.194e-05 8.194e-05 8.194e-05 0.01% MLMG::solve() 11 8.17e-05 8.17e-05 8.17e-05 0.01% Castro::Castro() 1 7.866e-05 7.866e-05 7.866e-05 0.01% MLMG::mgVcycle_down::3 82 7.827e-05 7.827e-05 7.827e-05 0.01% Castro::expand_state() 10 7.804e-05 7.804e-05 7.804e-05 0.01% MLMG::mgVcycle_down::4 82 7.764e-05 7.764e-05 7.764e-05 0.01% Castro::clean_state() 62 7.568e-05 7.568e-05 7.568e-05 0.01% AmrLevel::checkPoint() 3 7.436e-05 7.436e-05 7.436e-05 0.01% Castro::initialize_advance() 10 7.223e-05 7.223e-05 7.223e-05 0.01% Castro::advance() 10 6.608e-05 6.608e-05 6.608e-05 0.01% MLMG::mgVcycle_up::4 82 6.03e-05 6.03e-05 6.03e-05 0.01% MLMG::oneIter() 82 5.589e-05 5.589e-05 5.589e-05 0.01% Castro::initialize_do_advance() 10 5.288e-05 5.288e-05 5.288e-05 0.01% MLMG::mgVcycle_up::0 82 5.229e-05 5.229e-05 5.229e-05 0.01% MLMG::mgVcycle_up::1 82 5.227e-05 5.227e-05 5.227e-05 0.01% MLMG::mgVcycle_up::3 82 5.158e-05 5.158e-05 5.158e-05 0.01% MLMG::mgVcycle_up::2 82 5.116e-05 5.116e-05 5.116e-05 0.01% MLCellLinOp::solutionResidual() 93 4.683e-05 4.683e-05 4.683e-05 0.01% Castro::swap_state_time_levels() 10 3.81e-05 3.81e-05 3.81e-05 0.00% Castro::finalize_do_advance() 10 3.727e-05 3.727e-05 3.727e-05 0.00% StateData::define() 4 3.707e-05 3.707e-05 3.707e-05 0.00% MLMG::ResNormInf() 93 3.53e-05 3.53e-05 3.53e-05 0.00% Castro::enforce_consistent_e() 1 3.409e-05 3.409e-05 3.409e-05 0.00% MLMG::mgVcycle_bottom 82 3.299e-05 3.299e-05 3.299e-05 0.00% FillPatchSingleLevel 41 3.054e-05 3.054e-05 3.054e-05 0.00% MLMG::computeResidual() 82 3.018e-05 3.018e-05 3.018e-05 0.00% Castro::construct_new_gravity() 10 2.546e-05 2.546e-05 2.546e-05 0.00% makeSFC 55 2.518e-05 2.518e-05 2.518e-05 0.00% Amr::writeSmallPlotFile() 1 2.397e-05 2.397e-05 2.397e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.192e-05 2.192e-05 2.192e-05 0.00% Castro::initMFs() 1 2.138e-05 2.138e-05 2.138e-05 0.00% MLPoisson::define() 11 2.033e-05 2.033e-05 2.033e-05 0.00% Amr::FinalizeInit() 1 1.939e-05 1.939e-05 1.939e-05 0.00% Castro::buildMetrics() 1 1.836e-05 1.836e-05 1.836e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.795e-05 1.795e-05 1.795e-05 0.00% Castro::do_new_sources() 10 1.696e-05 1.696e-05 1.696e-05 0.00% Castro::construct_old_source() 50 1.684e-05 1.684e-05 1.684e-05 0.00% Castro::do_old_sources() 10 1.605e-05 1.605e-05 1.605e-05 0.00% Castro::construct_new_source() 50 1.577e-05 1.577e-05 1.577e-05 0.00% MLLinOp::define() 11 1.573e-05 1.573e-05 1.573e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.485e-05 1.485e-05 1.485e-05 0.00% DistributionMapping::Distribute() 56 1.474e-05 1.474e-05 1.474e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.358e-05 1.358e-05 1.358e-05 0.00% Amr::defBaseLevel() 1 1.258e-05 1.258e-05 1.258e-05 0.00% Castro::check_for_nan() 20 1.108e-05 1.108e-05 1.108e-05 0.00% Castro::apply_source_to_state() 20 1.02e-05 1.02e-05 1.02e-05 0.00% Amr::InitializeInit() 1 1.014e-05 1.014e-05 1.014e-05 0.00% Castro::post_init() 1 9.951e-06 9.951e-06 9.951e-06 0.00% Castro::construct_old_gravity() 10 9.59e-06 9.59e-06 9.59e-06 0.00% Gravity::swapTimeLevels() 10 9.297e-06 9.297e-06 9.297e-06 0.00% Amr::initSubcycle() 1 8.558e-06 8.558e-06 8.558e-06 0.00% Castro::post_timestep() 10 8.556e-06 8.556e-06 8.556e-06 0.00% Gravity::actual_multilevel_solve() 1 8.105e-06 8.105e-06 8.105e-06 0.00% MLPoisson::prepareForSolve() 11 8.09e-06 8.09e-06 8.09e-06 0.00% Castro::computeNewDt() 9 7.055e-06 7.055e-06 7.055e-06 0.00% MLMG::computeMLResidual() 11 6.721e-06 6.721e-06 6.721e-06 0.00% MLMG::getGradSolution() 11 5.939e-06 5.939e-06 5.939e-06 0.00% AmrLevel::checkPointPost() 3 5.169e-06 5.169e-06 5.169e-06 0.00% Gravity::set_mass_offset() 11 3.966e-06 3.966e-06 3.966e-06 0.00% MLMG::MLRhsNormInf() 11 3.813e-06 3.813e-06 3.813e-06 0.00% Castro::create_source_corrector() 10 3.772e-06 3.772e-06 3.772e-06 0.00% Castro::retry_advance_ctu() 10 3.74e-06 3.74e-06 3.74e-06 0.00% MLMG::MLResNormInf() 11 3.529e-06 3.529e-06 3.529e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.242e-06 3.242e-06 3.242e-06 0.00% Castro::FluxRegCrseInit 10 3.147e-06 3.147e-06 3.147e-06 0.00% Castro::computeInitialDt() 2 2.604e-06 2.604e-06 2.604e-06 0.00% Amr::init() 1 2.291e-06 2.291e-06 2.291e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.939e-06 1.939e-06 1.939e-06 0.00% Castro::FluxRegFineAdd() 10 1.93e-06 1.93e-06 1.93e-06 0.00% AmrLevel::checkPointPre() 3 1.674e-06 1.674e-06 1.674e-06 0.00% Amr::initialInit() 1 1.244e-06 1.244e-06 1.244e-06 0.00% Castro::post_regrid() 1 8.72e-07 8.72e-07 8.72e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8706 0.8706 0.8706 100.00% Amr::coarseTimeStep() 10 0.6953 0.6953 0.6953 79.86% Amr::timeStep() 10 0.5761 0.5761 0.5761 66.17% Castro::advance() 10 0.5693 0.5693 0.5693 65.39% Castro::subcycle_advance_ctu() 10 0.557 0.557 0.557 63.98% Castro::do_advance_ctu() 10 0.5562 0.5562 0.5562 63.89% Gravity::solve_phi_with_mlmg() 11 0.2853 0.2853 0.2853 32.77% Gravity::actual_solve_with_mlmg() 11 0.2785 0.2785 0.2785 31.99% Castro::construct_new_gravity() 10 0.2607 0.2607 0.2607 29.94% MLMG::solve() 11 0.2574 0.2574 0.2574 29.57% Gravity::solve_for_phi() 10 0.2448 0.2448 0.2448 28.11% MLMG::oneIter() 82 0.2431 0.2431 0.2431 27.92% MLMG::mgVcycle() 82 0.2394 0.2394 0.2394 27.50% VisMF::Write(FabArray) 11 0.2358 0.2358 0.2358 27.09% Castro::construct_ctu_hydro_source() 10 0.2169 0.2169 0.2169 24.91% Amr::checkPoint() 3 0.1752 0.1752 0.1752 20.12% AmrLevel::checkPoint() 3 0.1711 0.1711 0.1711 19.65% StateData::checkPoint() 12 0.171 0.171 0.171 19.64% Amr::init() 1 0.1405 0.1405 0.1405 16.13% MLCellLinOp::smooth() 1640 0.1172 0.1172 0.1172 13.47% MLCellLinOp::applyBC() 4433 0.11 0.11 0.11 12.63% MLMG::mgVcycle_bottom 82 0.07429 0.07429 0.07429 8.53% MLMG::actualBottomSolve() 82 0.07426 0.07426 0.07426 8.53% MLCGSolver::bicgstab 82 0.07354 0.07354 0.07354 8.45% Amr::writePlotFile() 2 0.06785 0.06785 0.06785 7.79% Amr::initialInit() 1 0.04783 0.04783 0.04783 5.49% FillPatchIterator::Initialize 41 0.04705 0.04705 0.04705 5.40% FillPatchSingleLevel 41 0.04549 0.04549 0.04549 5.23% Amr::FinalizeInit() 1 0.04403 0.04403 0.04403 5.06% Castro::clean_state() 62 0.044 0.044 0.044 5.05% Castro::post_init() 1 0.04271 0.04271 0.04271 4.91% StateDataPhysBCFunct::() 41 0.04141 0.04141 0.04141 4.76% Gravity::multilevel_solve_for_new_phi() 1 0.04096 0.04096 0.04096 4.70% Gravity::actual_multilevel_solve() 1 0.04095 0.04095 0.04095 4.70% MLCellLinOp::apply() 1142 0.03661 0.03661 0.03661 4.21% MLMG::mgVcycle_down::0 82 0.03383 0.03383 0.03383 3.89% FabArray::FillBoundary() 4023 0.03244 0.03244 0.03244 3.73% MLPoisson::Fsmooth() 3280 0.03232 0.03232 0.03232 3.71% FillBoundary_nowait() 4023 0.03161 0.03161 0.03161 3.63% MLMG::mgVcycle_up::0 82 0.02568 0.02568 0.02568 2.95% StateData::FillBoundary(geom) 328 0.02521 0.02521 0.02521 2.90% MLCellLinOp::correctionResidual() 492 0.02239 0.02239 0.02239 2.57% amrex::Dot() 1114 0.02081 0.02081 0.02081 2.39% Castro::construct_old_gravity() 10 0.01973 0.01973 0.01973 2.27% MLMG:computeResOfCorrection() 410 0.01973 0.01973 0.01973 2.27% Gravity::get_old_grav_vector() 10 0.01972 0.01972 0.01972 2.26% Castro::computeTemp() 63 0.01948 0.01948 0.01948 2.24% Castro::initialize_do_advance() 10 0.01947 0.01947 0.01947 2.24% Gravity::get_new_grav_vector() 11 0.01739 0.01739 0.01739 2.00% MLPoisson::define() 11 0.0168 0.0168 0.0168 1.93% MLMG::mgVcycle_down::1 82 0.0159 0.0159 0.0159 1.83% amrex::Copy() 1029 0.01483 0.01483 0.01483 1.70% MLMG::mgVcycle_down::2 82 0.01483 0.01483 0.01483 1.70% FabArray::ParallelCopy() 861 0.01468 0.01468 0.01468 1.69% FabArray::norminf() 743 0.01449 0.01449 0.01449 1.66% MLMG::mgVcycle_down::3 82 0.01445 0.01445 0.01445 1.66% FabArray::ParallelCopy_nowait() 861 0.01443 0.01443 0.01443 1.66% Castro::normalize_species() 62 0.01432 0.01432 0.01432 1.64% MLMG::mgVcycle_down::4 82 0.01426 0.01426 0.01426 1.64% FabArray::setVal() 1144 0.01321 0.01321 0.01321 1.52% MLCGSolver::ParallelAllReduce 1514 0.01251 0.01251 0.01251 1.44% MLMG::addInterpCorrection() 410 0.01221 0.01221 0.01221 1.40% MLMG::mgVcycle_up::4 82 0.01166 0.01166 0.01166 1.34% MLMG::mgVcycle_up::1 82 0.01165 0.01165 0.01165 1.34% Castro::initialize_advance() 10 0.01158 0.01158 0.01158 1.33% MLCellLinOp::defineAuxData() 11 0.01141 0.01141 0.01141 1.31% MLMG::mgVcycle_up::2 82 0.01134 0.01134 0.01134 1.30% Castro::expand_state() 10 0.01132 0.01132 0.01132 1.30% amrex::average_down 410 0.01127 0.01127 0.01127 1.29% MLMG::mgVcycle_up::3 82 0.01113 0.01113 0.01113 1.28% Castro::do_new_sources() 10 0.01105 0.01105 0.01105 1.27% MLPoisson::Fapply() 1142 0.01046 0.01046 0.01046 1.20% Castro::do_old_sources() 10 0.009894 0.009894 0.009894 1.14% Castro::enforce_min_density() 62 0.009277 0.009277 0.009277 1.07% FabArray::Saxpy() 813 0.008195 0.008195 0.008195 0.94% FabArray::Xpay() 821 0.008093 0.008093 0.008093 0.93% MLCellLinOp::solutionResidual() 93 0.007181 0.007181 0.007181 0.82% Castro::post_timestep() 10 0.006686 0.006686 0.006686 0.77% Gravity::fill_multipole_BCs() 11 0.006558 0.006558 0.006558 0.75% MLMG::computeResidual() 82 0.0062 0.0062 0.0062 0.71% Castro::reset_internal_energy(MultiFab) 63 0.005593 0.005593 0.005593 0.64% MLCellLinOp::defineBC() 11 0.004937 0.004937 0.004937 0.57% MLMG::prepareForSolve() 11 0.00473 0.00473 0.00473 0.54% BndryData::define() 11 0.004726 0.004726 0.004726 0.54% FabArray::LinComb() 557 0.004537 0.004537 0.004537 0.52% amrex::Add() 164 0.004362 0.004362 0.004362 0.50% Castro::estTimeStep() 21 0.004226 0.004226 0.004226 0.49% Amr::InitializeInit() 1 0.003798 0.003798 0.003798 0.44% Amr::defBaseLevel() 1 0.003788 0.003788 0.003788 0.44% Castro::initData() 1 0.003298 0.003298 0.003298 0.38% Castro::construct_new_source() 50 0.002695 0.002695 0.002695 0.31% Castro::construct_new_gravity_source() 10 0.00268 0.00268 0.00268 0.31% MLMG::ResNormInf() 93 0.002102 0.002102 0.002102 0.24% Castro::computeNewDt() 9 0.002081 0.002081 0.002081 0.24% Castro::construct_old_source() 50 0.002014 0.002014 0.002014 0.23% Castro::construct_old_gravity_source() 10 0.001997 0.001997 0.001997 0.23% Castro::apply_source_to_state() 20 0.001818 0.001818 0.001818 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001724 0.001724 0.001724 0.20% Castro::reset_internal_energy(Fab) 504 0.001545 0.001545 0.001545 0.18% Castro::enforce_speed_limit() 62 0.001532 0.001532 0.001532 0.18% FabArrayBase::getCPC() 1323 0.001461 0.001461 0.001461 0.17% MLMG::getGradSolution() 11 0.0014 0.0014 0.0014 0.16% MLCellLinOp::compGrad() 11 0.001394 0.001394 0.001394 0.16% MLCellLinOp::setLevelBC() 11 0.001386 0.001386 0.001386 0.16% FabArray::setDomainBndry() 41 0.00133 0.00133 0.00133 0.15% FabArray::mult() 43 0.001322 0.001322 0.001322 0.15% Castro::check_for_nan() 20 0.001207 0.001207 0.001207 0.14% MultiFab::contains_nan() 20 0.001196 0.001196 0.001196 0.14% MLPoisson::prepareForSolve() 11 0.001151 0.001151 0.001151 0.13% Castro::post_regrid() 1 0.001146 0.001146 0.001146 0.13% MLCellLinOp::prepareForSolve() 11 0.001142 0.001142 0.001142 0.13% MLMG::computeMLResidual() 11 0.001017 0.001017 0.001017 0.12% Gravity::update_max_rhs() 11 0.0008306 0.0008306 0.0008306 0.10% FabArrayBase::CPC::define() 454 0.0006932 0.0006932 0.0006932 0.08% FabArrayBase::getFB() 4023 0.0006819 0.0006819 0.0006819 0.08% Castro::finalize_advance() 10 0.0006283 0.0006283 0.0006283 0.07% Castro::computeInitialDt() 2 0.0005913 0.0005913 0.0005913 0.07% Amr::InitAmr() 1 0.0005026 0.0005026 0.0005026 0.06% Gravity::swapTimeLevels() 10 0.0004422 0.0004422 0.0004422 0.05% MLLinOp::define() 11 0.0004344 0.0004344 0.0004344 0.05% Castro::Castro() 1 0.0004222 0.0004222 0.0004222 0.05% MLLinOp::defineGrids() 11 0.0004187 0.0004187 0.0004187 0.05% MLMG::MLResNormInf() 11 0.0002882 0.0002882 0.0002882 0.03% MultiFab::max() 11 0.0002678 0.0002678 0.0002678 0.03% MLMG::MLRhsNormInf() 11 0.0002251 0.0002251 0.0002251 0.03% Castro::buildMetrics() 1 0.0001576 0.0001576 0.0001576 0.02% FabArrayBase::FB::FB() 56 8.808e-05 8.808e-05 8.808e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.363e-05 5.363e-05 5.363e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.065e-05 5.065e-05 5.065e-05 0.01% makeSFC 55 3.878e-05 3.878e-05 3.878e-05 0.00% Castro::swap_state_time_levels() 10 3.81e-05 3.81e-05 3.81e-05 0.00% Castro::finalize_do_advance() 10 3.727e-05 3.727e-05 3.727e-05 0.00% StateData::define() 4 3.707e-05 3.707e-05 3.707e-05 0.00% Castro::enforce_consistent_e() 1 3.409e-05 3.409e-05 3.409e-05 0.00% Amr::writeSmallPlotFile() 1 2.397e-05 2.397e-05 2.397e-05 0.00% Castro::initMFs() 1 2.138e-05 2.138e-05 2.138e-05 0.00% DistributionMapping::Distribute() 56 1.474e-05 1.474e-05 1.474e-05 0.00% Amr::initSubcycle() 1 8.558e-06 8.558e-06 8.558e-06 0.00% AmrLevel::checkPointPost() 3 5.169e-06 5.169e-06 5.169e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.375e-06 4.375e-06 4.375e-06 0.00% Gravity::set_mass_offset() 11 3.966e-06 3.966e-06 3.966e-06 0.00% Castro::create_source_corrector() 10 3.772e-06 3.772e-06 3.772e-06 0.00% Castro::retry_advance_ctu() 10 3.74e-06 3.74e-06 3.74e-06 0.00% Castro::FluxRegCrseInit 10 3.147e-06 3.147e-06 3.147e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.939e-06 1.939e-06 1.939e-06 0.00% Castro::FluxRegFineAdd() 10 1.93e-06 1.93e-06 1.93e-06 0.00% AmrLevel::checkPointPre() 3 1.674e-06 1.674e-06 1.674e-06 0.00% -------------------------------------------------------------------------------------------- Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 101 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 117 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 1090 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2190 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 3637 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 207 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 232 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7527 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1834 B 2048 KiB Gravity::solve_for_phi() 80 80 575 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 96 KiB 2048 KiB BndryData::define() 1056 1056 332 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 211 KiB 671 KiB Castro::estTimeStep() 21 21 2351 B 480 KiB VisMF::Write(FabArray) 656 656 3457 B 320 KiB Castro::normalize_species() 62 62 5351 B 320 KiB amrex::average_down 1067 1067 1285 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1204 B 257 KiB amrex::Dot() 1360 1360 3516 B 160 KiB FabArray::norminf() 907 907 2452 B 160 KiB Castro::do_advance_ctu() 10 10 488 B 160 KiB MultiFab::max() 11 11 47 B 160 KiB Castro::initData() 1 1 27 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3556 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 311 B 9648 B MLCellLinOp::applyBC() 8866 8866 229 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3860 B 6144 B StateData::FillBoundary(geom) 1992 1992 49 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 122 B 1472 B MLCellLinOp::defineBC() 66 66 374 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 565 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 52 KiB 8192 KiB VisMF::Write(FabArray) 744 744 635 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3556 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 310 B 9648 B MLCellLinOp::applyBC() 4433 4433 226 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3860 B 6144 B Gravity::get_new_grav_vector() 3 3 2903 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 50 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 303 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 907 907 18 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Cpu (amrex_mempool) Memory Usage: ----------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------- amrex_mempool_init() 1 1 56 KiB 8192 KiB ----------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2459 [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.02-45-g42acecf9c7f7) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.02-45-g42acecf9c7f7) initialized Starting run at 10:09:58 UTC on 2023-02-24. Successfully read inputs file ... Castro git describe: 23.01-42-g76337b082 AMReX git describe: 23.02-45-g42acecf9c Microphysics git describe: 23.02-16-g3e0cd993 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.458963471 Restart time = 0.065600829 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.049439015 [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.046805751 [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.048911982 [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.049377822 [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.061271907 [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.033751945 seconds Ending run at 10:09:58 UTC on 2023-02-24. Run time = 0.356254357 Run time without initialization = 0.290001743 Average number of zones advanced per microsecond: 4.520 Average number of zones advanced per microsecond per rank: 4.520 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3563 ... 0.3563 ... 0.3563 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.0769 0.0769 0.0769 21.60% VisMF::Read() 3 0.04105 0.04105 0.04105 11.52% MLCellLinOp::applyBC() 1946 0.03346 0.03346 0.03346 9.39% VisMF::Write(FabArray) 1 0.03221 0.03221 0.03221 9.04% Amr::restart() 1 0.02082 0.02082 0.02082 5.84% MLPoisson::Fsmooth() 1440 0.01402 0.01402 0.01402 3.93% FillBoundary_nowait() 1766 0.01297 0.01297 0.01297 3.64% StateData::FillBoundary(geom) 160 0.01204 0.01204 0.01204 3.38% amrex::Dot() 484 0.008922 0.008922 0.008922 2.50% amrex::Copy() 463 0.00695 0.00695 0.00695 1.95% Castro::normalize_species() 30 0.006746 0.006746 0.006746 1.89% FabArray::norminf() 326 0.006309 0.006309 0.006309 1.77% FabArray::setVal() 537 0.006266 0.006266 0.006266 1.76% FabArray::ParallelCopy_nowait() 380 0.006155 0.006155 0.006155 1.73% Castro::computeTemp() 30 0.00575 0.00575 0.00575 1.61% MLCellLinOp::defineAuxData() 6 0.005459 0.005459 0.005459 1.53% StateDataPhysBCFunct::() 20 0.005317 0.005317 0.005317 1.49% MLPoisson::Fapply() 500 0.004497 0.004497 0.004497 1.26% Castro::enforce_min_density() 30 0.003882 0.003882 0.003882 1.09% FabArray::Saxpy() 355 0.003662 0.003662 0.003662 1.03% FabArray::Xpay() 361 0.003516 0.003516 0.003516 0.99% Gravity::fill_multipole_BCs() 6 0.003085 0.003085 0.003085 0.87% MLMG::addInterpCorrection() 180 0.002972 0.002972 0.002972 0.83% Castro::estTimeStep() 10 0.002685 0.002685 0.002685 0.75% amrex::average_down 180 0.002649 0.002649 0.002649 0.74% BndryData::define() 6 0.002074 0.002074 0.002074 0.58% FabArray::LinComb() 242 0.001938 0.001938 0.001938 0.54% amrex::Add() 72 0.001868 0.001868 0.001868 0.52% Castro::reset_internal_energy(MultiFab) 30 0.001813 0.001813 0.001813 0.51% Castro::construct_new_gravity_source() 5 0.001636 0.001636 0.001636 0.46% Castro::do_advance_ctu() 5 0.00144 0.00144 0.00144 0.40% Amr::writePlotFile() 1 0.001404 0.001404 0.001404 0.39% Castro::construct_old_gravity_source() 5 0.001327 0.001327 0.001327 0.37% MLCGSolver::bicgstab 36 0.0009693 0.0009693 0.0009693 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009476 0.0009476 0.0009476 0.27% Gravity::actual_solve_with_mlmg() 6 0.0007809 0.0007809 0.0007809 0.22% MLCellLinOp::setLevelBC() 6 0.0007587 0.0007587 0.0007587 0.21% Castro::reset_internal_energy(Fab) 240 0.0007513 0.0007513 0.0007513 0.21% FabArray::setDomainBndry() 20 0.000659 0.000659 0.000659 0.18% FabArray::mult() 22 0.0006489 0.0006489 0.0006489 0.18% MLCellLinOp::prepareForSolve() 6 0.0006138 0.0006138 0.0006138 0.17% MultiFab::contains_nan() 10 0.000598 0.000598 0.000598 0.17% Castro::enforce_speed_limit() 30 0.0005224 0.0005224 0.0005224 0.15% MLCellLinOp::smooth() 720 0.0005038 0.0005038 0.0005038 0.14% MLMG::prepareForSolve() 6 0.0004873 0.0004873 0.0004873 0.14% MLCellLinOp::compGrad() 6 0.0004816 0.0004816 0.0004816 0.14% Amr::InitAmr() 1 0.0004267 0.0004267 0.0004267 0.12% FabArrayBase::CPC::define() 244 0.0004106 0.0004106 0.0004106 0.12% FabArray::FillBoundary() 1766 0.0003775 0.0003775 0.0003775 0.11% FabArrayBase::getCPC() 632 0.0003638 0.0003638 0.0003638 0.10% main() 1 0.000309 0.000309 0.000309 0.09% Gravity::get_old_grav_vector() 5 0.0002966 0.0002966 0.0002966 0.08% Gravity::get_new_grav_vector() 5 0.0002728 0.0002728 0.0002728 0.08% FabArrayBase::getFB() 1766 0.0002493 0.0002493 0.0002493 0.07% MLCellLinOp::apply() 500 0.0002055 0.0002055 0.0002055 0.06% MLMG::mgVcycle() 36 0.0001638 0.0001638 0.0001638 0.05% Amr::coarseTimeStep() 5 0.0001597 0.0001597 0.0001597 0.04% MultiFab::max() 6 0.0001369 0.0001369 0.0001369 0.04% MLCGSolver::ParallelAllReduce 659 0.0001269 0.0001269 0.0001269 0.04% FillPatchIterator::Initialize 20 0.0001171 0.0001171 0.0001171 0.03% FabArray::ParallelCopy() 380 0.0001167 0.0001167 0.0001167 0.03% MLCellLinOp::defineBC() 6 0.0001126 0.0001126 0.0001126 0.03% MLCellLinOp::correctionResidual() 216 9.666e-05 9.666e-05 9.666e-05 0.03% Castro::subcycle_advance_ctu() 5 9.281e-05 9.281e-05 9.281e-05 0.03% MLLinOp::defineGrids() 6 8.875e-05 8.875e-05 8.875e-05 0.02% Amr::timeStep() 5 8.48e-05 8.48e-05 8.48e-05 0.02% AmrLevel::restart() 1 8.427e-05 8.427e-05 8.427e-05 0.02% Gravity::solve_for_phi() 5 8.293e-05 8.293e-05 8.293e-05 0.02% Castro::finalize_advance() 5 5.974e-05 5.974e-05 5.974e-05 0.02% FabArrayBase::FB::FB() 26 5.896e-05 5.896e-05 5.896e-05 0.02% Gravity::update_max_rhs() 6 5.893e-05 5.893e-05 5.893e-05 0.02% StateData::restartDoit() 4 5.72e-05 5.72e-05 5.72e-05 0.02% Castro::advance() 5 4.987e-05 4.987e-05 4.987e-05 0.01% MLMG:computeResOfCorrection() 180 4.91e-05 4.91e-05 4.91e-05 0.01% Castro::expand_state() 5 4.782e-05 4.782e-05 4.782e-05 0.01% MLMG::mgVcycle_down::3 36 4.464e-05 4.464e-05 4.464e-05 0.01% MLMG::mgVcycle_down::0 36 4.087e-05 4.087e-05 4.087e-05 0.01% MLMG::actualBottomSolve() 36 4.023e-05 4.023e-05 4.023e-05 0.01% Castro::clean_state() 30 4.018e-05 4.018e-05 4.018e-05 0.01% MLMG::mgVcycle_down::1 36 3.953e-05 3.953e-05 3.953e-05 0.01% MLMG::solve() 6 3.742e-05 3.742e-05 3.742e-05 0.01% MLMG::mgVcycle_down::2 36 3.615e-05 3.615e-05 3.615e-05 0.01% MLMG::mgVcycle_down::4 36 3.537e-05 3.537e-05 3.537e-05 0.01% Amr::writeSmallPlotFile() 1 3.507e-05 3.507e-05 3.507e-05 0.01% Castro::initialize_advance() 5 3.394e-05 3.394e-05 3.394e-05 0.01% MLMG::mgVcycle_up::4 36 2.864e-05 2.864e-05 2.864e-05 0.01% Castro::initialize_do_advance() 5 2.675e-05 2.675e-05 2.675e-05 0.01% Castro::buildMetrics() 1 2.578e-05 2.578e-05 2.578e-05 0.01% MLMG::oneIter() 36 2.481e-05 2.481e-05 2.481e-05 0.01% Castro::post_restart() 1 2.441e-05 2.441e-05 2.441e-05 0.01% Castro::swap_state_time_levels() 5 2.388e-05 2.388e-05 2.388e-05 0.01% MLMG::mgVcycle_up::0 36 2.34e-05 2.34e-05 2.34e-05 0.01% MLMG::mgVcycle_up::3 36 2.292e-05 2.292e-05 2.292e-05 0.01% Castro::initMFs() 1 2.288e-05 2.288e-05 2.288e-05 0.01% MLMG::mgVcycle_up::2 36 2.21e-05 2.21e-05 2.21e-05 0.01% MLMG::mgVcycle_up::1 36 2.169e-05 2.169e-05 2.169e-05 0.01% MLCellLinOp::solutionResidual() 42 2.099e-05 2.099e-05 2.099e-05 0.01% Castro::finalize_do_advance() 5 1.98e-05 1.98e-05 1.98e-05 0.01% MLMG::ResNormInf() 42 1.81e-05 1.81e-05 1.81e-05 0.01% Gravity::multilevel_solve_for_new_phi() 1 1.572e-05 1.572e-05 1.572e-05 0.00% FillPatchSingleLevel 20 1.478e-05 1.478e-05 1.478e-05 0.00% MLMG::mgVcycle_bottom 36 1.455e-05 1.455e-05 1.455e-05 0.00% MLPoisson::define() 6 1.411e-05 1.411e-05 1.411e-05 0.00% makeSFC 30 1.318e-05 1.318e-05 1.318e-05 0.00% MLMG::computeResidual() 36 1.314e-05 1.314e-05 1.314e-05 0.00% Castro::construct_new_gravity() 5 1.242e-05 1.242e-05 1.242e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.205e-05 1.205e-05 1.205e-05 0.00% Castro::construct_old_source() 25 1.002e-05 1.002e-05 1.002e-05 0.00% MLLinOp::define() 6 9.929e-06 9.929e-06 9.929e-06 0.00% Castro::construct_new_source() 25 9.265e-06 9.265e-06 9.265e-06 0.00% DistributionMapping::Distribute() 31 8.809e-06 8.809e-06 8.809e-06 0.00% Castro::do_new_sources() 5 8.712e-06 8.712e-06 8.712e-06 0.00% Castro::do_old_sources() 5 8.556e-06 8.556e-06 8.556e-06 0.00% Amr::initSubcycle() 1 8.556e-06 8.556e-06 8.556e-06 0.00% Gravity::actual_multilevel_solve() 1 8.005e-06 8.005e-06 8.005e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.311e-06 7.311e-06 7.311e-06 0.00% Castro::check_for_nan() 10 5.92e-06 5.92e-06 5.92e-06 0.00% Castro::construct_old_gravity() 5 5.783e-06 5.783e-06 5.783e-06 0.00% Castro::apply_source_to_state() 10 5.45e-06 5.45e-06 5.45e-06 0.00% Castro::post_timestep() 5 5.084e-06 5.084e-06 5.084e-06 0.00% MLPoisson::prepareForSolve() 6 3.987e-06 3.987e-06 3.987e-06 0.00% Gravity::swapTimeLevels() 5 3.924e-06 3.924e-06 3.924e-06 0.00% Castro::computeNewDt() 5 3.649e-06 3.649e-06 3.649e-06 0.00% MLMG::computeMLResidual() 6 3.248e-06 3.248e-06 3.248e-06 0.00% MLMG::getGradSolution() 6 3.135e-06 3.135e-06 3.135e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.87e-06 2.87e-06 2.87e-06 0.00% Castro::create_source_corrector() 5 2.408e-06 2.408e-06 2.408e-06 0.00% MLMG::MLResNormInf() 6 2.21e-06 2.21e-06 2.21e-06 0.00% MLMG::MLRhsNormInf() 6 2.081e-06 2.081e-06 2.081e-06 0.00% Gravity::set_mass_offset() 6 2.051e-06 2.051e-06 2.051e-06 0.00% Castro::retry_advance_ctu() 5 1.792e-06 1.792e-06 1.792e-06 0.00% Castro::FluxRegCrseInit 5 1.573e-06 1.573e-06 1.573e-06 0.00% Castro::FluxRegFineAdd() 5 1.233e-06 1.233e-06 1.233e-06 0.00% AmrLevel::AmrLevel() 1 1.209e-06 1.209e-06 1.209e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.043e-06 1.043e-06 1.043e-06 0.00% Amr::init() 1 1.015e-06 1.015e-06 1.015e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3563 0.3563 0.3563 100.00% Amr::coarseTimeStep() 5 0.256 0.256 0.256 71.84% Amr::timeStep() 5 0.254 0.254 0.254 71.28% Castro::advance() 5 0.2508 0.2508 0.2508 70.39% Castro::subcycle_advance_ctu() 5 0.2443 0.2443 0.2443 68.56% Castro::do_advance_ctu() 5 0.2442 0.2442 0.2442 68.53% Castro::construct_new_gravity() 5 0.1309 0.1309 0.1309 36.73% Gravity::solve_phi_with_mlmg() 6 0.1262 0.1262 0.1262 35.42% Gravity::solve_for_phi() 5 0.1231 0.1231 0.1231 34.56% Gravity::actual_solve_with_mlmg() 6 0.1229 0.1229 0.1229 34.49% MLMG::solve() 6 0.1115 0.1115 0.1115 31.28% MLMG::oneIter() 36 0.1046 0.1046 0.1046 29.35% MLMG::mgVcycle() 36 0.103 0.103 0.103 28.92% Castro::construct_ctu_hydro_source() 5 0.07695 0.07695 0.07695 21.60% Amr::init() 1 0.06566 0.06566 0.06566 18.43% Amr::restart() 1 0.06566 0.06566 0.06566 18.43% MLCellLinOp::smooth() 720 0.05031 0.05031 0.05031 14.12% MLCellLinOp::applyBC() 1946 0.04711 0.04711 0.04711 13.22% AmrLevel::restart() 1 0.04125 0.04125 0.04125 11.58% StateData::restartDoit() 4 0.04116 0.04116 0.04116 11.55% VisMF::Read() 3 0.04105 0.04105 0.04105 11.52% Amr::writePlotFile() 1 0.03386 0.03386 0.03386 9.50% VisMF::Write(FabArray) 1 0.03221 0.03221 0.03221 9.04% MLMG::mgVcycle_bottom 36 0.03203 0.03203 0.03203 8.99% MLMG::actualBottomSolve() 36 0.03202 0.03202 0.03202 8.99% MLCGSolver::bicgstab 36 0.03171 0.03171 0.03171 8.90% FillPatchIterator::Initialize 20 0.02015 0.02015 0.02015 5.65% Castro::clean_state() 30 0.01951 0.01951 0.01951 5.47% FillPatchSingleLevel 20 0.01937 0.01937 0.01937 5.44% StateDataPhysBCFunct::() 20 0.01735 0.01735 0.01735 4.87% MLCellLinOp::apply() 500 0.01577 0.01577 0.01577 4.43% MLMG::mgVcycle_down::0 36 0.01444 0.01444 0.01444 4.05% MLPoisson::Fsmooth() 1440 0.01402 0.01402 0.01402 3.93% FabArray::FillBoundary() 1766 0.01365 0.01365 0.01365 3.83% FillBoundary_nowait() 1766 0.01328 0.01328 0.01328 3.73% StateData::FillBoundary(geom) 160 0.01204 0.01204 0.01204 3.38% MLMG::mgVcycle_up::0 36 0.01087 0.01087 0.01087 3.05% MLCellLinOp::correctionResidual() 216 0.009549 0.009549 0.009549 2.68% Castro::initialize_do_advance() 5 0.009542 0.009542 0.009542 2.68% MLPoisson::define() 6 0.009129 0.009129 0.009129 2.56% amrex::Dot() 484 0.008922 0.008922 0.008922 2.50% MLMG:computeResOfCorrection() 180 0.008375 0.008375 0.008375 2.35% Castro::computeTemp() 30 0.008315 0.008315 0.008315 2.33% Gravity::get_new_grav_vector() 5 0.0076 0.0076 0.0076 2.13% Castro::construct_old_gravity() 5 0.007372 0.007372 0.007372 2.07% Gravity::get_old_grav_vector() 5 0.007366 0.007366 0.007366 2.07% amrex::Copy() 463 0.00695 0.00695 0.00695 1.95% MLMG::mgVcycle_down::1 36 0.006913 0.006913 0.006913 1.94% Castro::normalize_species() 30 0.006746 0.006746 0.006746 1.89% FabArray::ParallelCopy() 380 0.006652 0.006652 0.006652 1.87% FabArray::ParallelCopy_nowait() 380 0.006535 0.006535 0.006535 1.83% MLMG::mgVcycle_down::2 36 0.006406 0.006406 0.006406 1.80% FabArray::norminf() 326 0.006309 0.006309 0.006309 1.77% FabArray::setVal() 537 0.006266 0.006266 0.006266 1.76% MLMG::mgVcycle_down::3 36 0.006254 0.006254 0.006254 1.76% MLCellLinOp::defineAuxData() 6 0.006234 0.006234 0.006234 1.75% MLMG::mgVcycle_down::4 36 0.006191 0.006191 0.006191 1.74% Castro::initialize_advance() 5 0.006179 0.006179 0.006179 1.73% Castro::do_new_sources() 5 0.006059 0.006059 0.006059 1.70% Castro::expand_state() 5 0.005752 0.005752 0.005752 1.61% MLCGSolver::ParallelAllReduce 659 0.005365 0.005365 0.005365 1.51% MLMG::addInterpCorrection() 180 0.005286 0.005286 0.005286 1.48% MLMG::mgVcycle_up::4 36 0.005027 0.005027 0.005027 1.41% MLMG::mgVcycle_up::1 36 0.004999 0.004999 0.004999 1.40% amrex::average_down 180 0.004984 0.004984 0.004984 1.40% MLMG::mgVcycle_up::2 36 0.004901 0.004901 0.004901 1.38% MLMG::mgVcycle_up::3 36 0.004819 0.004819 0.004819 1.35% MLPoisson::Fapply() 500 0.004497 0.004497 0.004497 1.26% Castro::do_old_sources() 5 0.00421 0.00421 0.00421 1.18% Castro::enforce_min_density() 30 0.003882 0.003882 0.003882 1.09% FabArray::Saxpy() 355 0.003662 0.003662 0.003662 1.03% FabArray::Xpay() 361 0.003516 0.003516 0.003516 0.99% Castro::post_restart() 1 0.00343 0.00343 0.00343 0.96% Gravity::multilevel_solve_for_new_phi() 1 0.00331 0.00331 0.00331 0.93% Gravity::actual_multilevel_solve() 1 0.003295 0.003295 0.003295 0.92% MLCellLinOp::solutionResidual() 42 0.003216 0.003216 0.003216 0.90% Gravity::fill_multipole_BCs() 6 0.003205 0.003205 0.003205 0.90% Castro::post_timestep() 5 0.003068 0.003068 0.003068 0.86% MLCellLinOp::defineBC() 6 0.002753 0.002753 0.002753 0.77% Castro::estTimeStep() 10 0.002685 0.002685 0.002685 0.75% MLMG::computeResidual() 36 0.002662 0.002662 0.002662 0.75% BndryData::define() 6 0.002641 0.002641 0.002641 0.74% Castro::reset_internal_energy(MultiFab) 30 0.002564 0.002564 0.002564 0.72% MLMG::prepareForSolve() 6 0.002554 0.002554 0.002554 0.72% FabArray::LinComb() 242 0.001938 0.001938 0.001938 0.54% amrex::Add() 72 0.001868 0.001868 0.001868 0.52% Castro::computeNewDt() 5 0.001844 0.001844 0.001844 0.52% Castro::construct_new_source() 25 0.001645 0.001645 0.001645 0.46% Castro::construct_new_gravity_source() 5 0.001636 0.001636 0.001636 0.46% Castro::construct_old_source() 25 0.001337 0.001337 0.001337 0.38% Castro::construct_old_gravity_source() 5 0.001327 0.001327 0.001327 0.37% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009476 0.0009476 0.0009476 0.27% MLMG::ResNormInf() 42 0.0009287 0.0009287 0.0009287 0.26% Castro::apply_source_to_state() 10 0.000922 0.000922 0.000922 0.26% FabArrayBase::getCPC() 632 0.0007744 0.0007744 0.0007744 0.22% MLCellLinOp::setLevelBC() 6 0.0007587 0.0007587 0.0007587 0.21% Castro::reset_internal_energy(Fab) 240 0.0007513 0.0007513 0.0007513 0.21% MLMG::getGradSolution() 6 0.0007485 0.0007485 0.0007485 0.21% MLCellLinOp::compGrad() 6 0.0007454 0.0007454 0.0007454 0.21% FabArray::setDomainBndry() 20 0.000659 0.000659 0.000659 0.18% FabArray::mult() 22 0.0006489 0.0006489 0.0006489 0.18% MLPoisson::prepareForSolve() 6 0.0006177 0.0006177 0.0006177 0.17% MLCellLinOp::prepareForSolve() 6 0.0006138 0.0006138 0.0006138 0.17% Castro::check_for_nan() 10 0.0006039 0.0006039 0.0006039 0.17% MultiFab::contains_nan() 10 0.000598 0.000598 0.000598 0.17% MLMG::computeMLResidual() 6 0.0005707 0.0005707 0.0005707 0.16% Castro::enforce_speed_limit() 30 0.0005224 0.0005224 0.0005224 0.15% Gravity::update_max_rhs() 6 0.0004477 0.0004477 0.0004477 0.13% Amr::InitAmr() 1 0.0004353 0.0004353 0.0004353 0.12% FabArrayBase::CPC::define() 244 0.0004106 0.0004106 0.0004106 0.12% Castro::finalize_advance() 5 0.0003208 0.0003208 0.0003208 0.09% FabArrayBase::getFB() 1766 0.0003082 0.0003082 0.0003082 0.09% Gravity::swapTimeLevels() 5 0.0002271 0.0002271 0.0002271 0.06% MLMG::MLResNormInf() 6 0.0001511 0.0001511 0.0001511 0.04% Castro::buildMetrics() 1 0.0001473 0.0001473 0.0001473 0.04% MultiFab::max() 6 0.0001369 0.0001369 0.0001369 0.04% MLLinOp::define() 6 0.0001276 0.0001276 0.0001276 0.04% MLMG::MLRhsNormInf() 6 0.0001192 0.0001192 0.0001192 0.03% MLLinOp::defineGrids() 6 0.0001177 0.0001177 0.0001177 0.03% FabArrayBase::FB::FB() 26 5.896e-05 5.896e-05 5.896e-05 0.02% Amr::writeSmallPlotFile() 1 3.507e-05 3.507e-05 3.507e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.786e-05 2.786e-05 2.786e-05 0.01% Castro::swap_state_time_levels() 5 2.388e-05 2.388e-05 2.388e-05 0.01% Castro::initMFs() 1 2.288e-05 2.288e-05 2.288e-05 0.01% makeSFC 30 2.055e-05 2.055e-05 2.055e-05 0.01% Castro::finalize_do_advance() 5 1.98e-05 1.98e-05 1.98e-05 0.01% DistributionMapping::Distribute() 31 8.809e-06 8.809e-06 8.809e-06 0.00% Amr::initSubcycle() 1 8.556e-06 8.556e-06 8.556e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.307e-06 4.307e-06 4.307e-06 0.00% Castro::create_source_corrector() 5 2.408e-06 2.408e-06 2.408e-06 0.00% Gravity::set_mass_offset() 6 2.051e-06 2.051e-06 2.051e-06 0.00% Castro::retry_advance_ctu() 5 1.792e-06 1.792e-06 1.792e-06 0.00% Castro::FluxRegCrseInit 5 1.573e-06 1.573e-06 1.573e-06 0.00% Castro::FluxRegFineAdd() 5 1.233e-06 1.233e-06 1.233e-06 0.00% AmrLevel::AmrLevel() 1 1.209e-06 1.209e-06 1.209e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.043e-06 1.043e-06 1.043e-06 0.00% -------------------------------------------------------------------------------------------- Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 240 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 100 MiB 692 MiB Castro::initMFs() 48 48 55 MiB 68 MiB StateData::restartDoit() 32 32 50 MiB 55 MiB Castro::swap_state_time_levels() 32 32 45 MiB 55 MiB Castro::initialize_do_advance() 40 40 26 MiB 39 MiB FillPatchIterator::Initialize 160 160 1239 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2656 KiB 28 MiB Castro::initialize_advance() 40 40 16 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6238 KiB 14 MiB MLMG::prepareForSolve() 361 361 3841 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 213 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 218 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6232 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 13 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2436 B 2048 KiB Gravity::solve_for_phi() 40 40 706 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 18 KiB 2048 KiB BndryData::define() 576 576 353 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 227 KiB 671 KiB Castro::estTimeStep() 10 10 3581 B 480 KiB VisMF::Write(FabArray) 112 112 1403 B 320 KiB Castro::normalize_species() 30 30 6151 B 320 KiB amrex::average_down 469 469 1308 B 257 KiB MLMG::addInterpCorrection() 468 468 1272 B 257 KiB amrex::Dot() 592 592 3683 B 160 KiB FabArray::norminf() 398 398 2609 B 160 KiB Castro::do_advance_ctu() 5 5 616 B 160 KiB MultiFab::max() 6 6 59 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 33 B 20 KiB MLPoisson::Fsmooth() 60 60 3736 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 55 B 10 KiB FillBoundary_nowait() 336 336 316 B 9648 B MLCellLinOp::applyBC() 3892 3892 242 B 9344 B amrex::Copy() 56 56 5599 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 51 B 2976 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 129 B 1472 B MLCellLinOp::defineBC() 36 36 397 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1313 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 124 KiB 8192 KiB VisMF::Write(FabArray) 120 120 279 KiB 3584 KiB VisMF::Read() 24 24 213 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3736 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 55 B 10 KiB FillBoundary_nowait() 336 336 316 B 9648 B MLCellLinOp::applyBC() 1946 1946 240 B 9328 B amrex::Copy() 56 56 5599 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2451 B 3072 B StateData::FillBoundary(geom) 960 960 51 B 2976 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 542 B 1296 B amrex::average_down 37 37 205 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 26 B 400 B FabArray::norminf() 398 398 18 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Cpu (amrex_mempool) Memory Usage: ------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------ amrex_mempool_init() 1 1 138 KiB 8192 KiB ------------------------------------------------------ Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2459 [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.02-45-g42acecf9c7f7) finalized