Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-15-g23b157942e41) initialized Starting run at 07:40:16 UTC on 2023-05-18. Successfully read inputs file ... Castro git describe: 23.05-14-ga1a1083b3 AMReX git describe: 23.05-15-g23b157942 Microphysics git describe: 23.05-7-g600b619d 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.061940183 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034468801 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.047223481 [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.049853017 [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.058428831 [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.059042776 [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.059100039 [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.059429176 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.081194843 [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.079826499 [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.057250967 [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.058952885 [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.062091616 [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.059914673 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.034265523 seconds Ending run at 07:40:17 UTC on 2023-05-18. Run time = 0.912738444 Run time without initialization = 0.767234704 Average number of zones advanced per microsecond: 3.417 Average number of zones advanced per microsecond per rank: 3.417 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9128 ... 0.9128 ... 0.9128 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2478 0.2478 0.2478 27.15% VisMF::Write(FabArray) 11 0.243 0.243 0.243 26.62% MLCellLinOp::applyBC() 4433 0.07678 0.07678 0.07678 8.41% MLPoisson::Fsmooth() 3280 0.03219 0.03219 0.03219 3.53% FillBoundary_nowait() 4023 0.03105 0.03105 0.03105 3.40% StateData::FillBoundary(geom) 328 0.02562 0.02562 0.02562 2.81% amrex::Dot() 1114 0.02053 0.02053 0.02053 2.25% Castro::enforce_min_density() 62 0.01615 0.01615 0.01615 1.77% Castro::computeTemp() 63 0.01539 0.01539 0.01539 1.69% amrex::Copy() 1029 0.01484 0.01484 0.01484 1.63% FabArray::norminf() 743 0.01432 0.01432 0.01432 1.57% Castro::normalize_species() 62 0.01363 0.01363 0.01363 1.49% FabArray::ParallelCopy_nowait() 861 0.01339 0.01339 0.01339 1.47% FabArray::setVal() 1144 0.01312 0.01312 0.01312 1.44% StateDataPhysBCFunct::() 41 0.0107 0.0107 0.0107 1.17% MLPoisson::Fapply() 1142 0.01035 0.01035 0.01035 1.13% MLCellLinOp::defineAuxData() 11 0.01015 0.01015 0.01015 1.11% FabArray::Saxpy() 813 0.008177 0.008177 0.008177 0.90% FabArray::Xpay() 821 0.008031 0.008031 0.008031 0.88% Gravity::fill_multipole_BCs() 11 0.006808 0.006808 0.006808 0.75% MLMG::addInterpCorrection() 410 0.006625 0.006625 0.006625 0.73% amrex::average_down 410 0.005988 0.005988 0.005988 0.66% Castro::estTimeStep() 21 0.005076 0.005076 0.005076 0.56% FabArray::LinComb() 557 0.004539 0.004539 0.004539 0.50% amrex::Add() 164 0.004345 0.004345 0.004345 0.48% Castro::reset_internal_energy(MultiFab) 63 0.004185 0.004185 0.004185 0.46% Amr::checkPoint() 3 0.004108 0.004108 0.004108 0.45% Castro::do_advance_ctu() 10 0.003986 0.003986 0.003986 0.44% BndryData::define() 11 0.003784 0.003784 0.003784 0.41% Castro::construct_new_gravity_source() 10 0.003289 0.003289 0.003289 0.36% Castro::construct_old_gravity_source() 10 0.002723 0.002723 0.002723 0.30% Amr::writePlotFile() 2 0.002402 0.002402 0.002402 0.26% MLCGSolver::bicgstab 82 0.002109 0.002109 0.002109 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001711 0.001711 0.001711 0.19% Castro::reset_internal_energy(Fab) 504 0.001525 0.001525 0.001525 0.17% Gravity::actual_solve_with_mlmg() 11 0.001483 0.001483 0.001483 0.16% MLCellLinOp::setLevelBC() 11 0.001381 0.001381 0.001381 0.15% FabArray::mult() 43 0.00132 0.00132 0.00132 0.14% FabArray::setDomainBndry() 41 0.001318 0.001318 0.001318 0.14% MultiFab::contains_nan() 20 0.001207 0.001207 0.001207 0.13% Castro::initData() 1 0.001182 0.001182 0.001182 0.13% MLCellLinOp::prepareForSolve() 11 0.001129 0.001129 0.001129 0.12% MLCellLinOp::smooth() 1640 0.001104 0.001104 0.001104 0.12% Castro::enforce_speed_limit() 62 0.001084 0.001084 0.001084 0.12% MLCellLinOp::compGrad() 11 0.0009144 0.0009144 0.0009144 0.10% MLMG::prepareForSolve() 11 0.0008746 0.0008746 0.0008746 0.10% FabArray::FillBoundary() 4023 0.0008719 0.0008719 0.0008719 0.10% FabArrayBase::getCPC() 1323 0.0007654 0.0007654 0.0007654 0.08% FabArrayBase::CPC::define() 454 0.0006855 0.0006855 0.0006855 0.08% Gravity::get_new_grav_vector() 11 0.000624 0.000624 0.000624 0.07% FabArrayBase::getFB() 4023 0.0005843 0.0005843 0.0005843 0.06% Gravity::get_old_grav_vector() 10 0.0005479 0.0005479 0.0005479 0.06% Amr::InitAmr() 1 0.0004751 0.0004751 0.0004751 0.05% MLLinOp::defineGrids() 11 0.0004542 0.0004542 0.0004542 0.05% MLCellLinOp::apply() 1142 0.0004463 0.0004463 0.0004463 0.05% MLMG::mgVcycle() 82 0.0003603 0.0003603 0.0003603 0.04% Amr::coarseTimeStep() 10 0.0003429 0.0003429 0.0003429 0.04% main() 1 0.0003056 0.0003056 0.0003056 0.03% MLCGSolver::ParallelAllReduce 1514 0.0003028 0.0003028 0.0003028 0.03% FabArray::ParallelCopy() 861 0.0002586 0.0002586 0.0002586 0.03% MultiFab::max() 11 0.0002578 0.0002578 0.0002578 0.03% FillPatchIterator::Initialize 41 0.0002466 0.0002466 0.0002466 0.03% MLCellLinOp::correctionResidual() 492 0.0002254 0.0002254 0.0002254 0.02% MLCellLinOp::defineBC() 11 0.0002111 0.0002111 0.0002111 0.02% Castro::create_source_corrector() 10 0.0001766 0.0001766 0.0001766 0.02% Castro::subcycle_advance_ctu() 10 0.0001537 0.0001537 0.0001537 0.02% Amr::timeStep() 10 0.0001537 0.0001537 0.0001537 0.02% StateData::checkPoint() 12 0.0001342 0.0001342 0.0001342 0.01% Gravity::update_max_rhs() 11 0.0001238 0.0001238 0.0001238 0.01% Gravity::solve_for_phi() 10 0.0001188 0.0001188 0.0001188 0.01% MLMG:computeResOfCorrection() 410 0.000109 0.000109 0.000109 0.01% MLMG::actualBottomSolve() 82 9.129e-05 9.129e-05 9.129e-05 0.01% FabArrayBase::FB::FB() 56 9.08e-05 9.08e-05 9.08e-05 0.01% Castro::Castro() 1 9.002e-05 9.002e-05 9.002e-05 0.01% MLMG::mgVcycle_down::0 82 8.849e-05 8.849e-05 8.849e-05 0.01% MLMG::mgVcycle_down::1 82 8.055e-05 8.055e-05 8.055e-05 0.01% MLMG::solve() 11 7.857e-05 7.857e-05 7.857e-05 0.01% MLMG::mgVcycle_down::2 82 7.823e-05 7.823e-05 7.823e-05 0.01% Castro::expand_state() 10 7.811e-05 7.811e-05 7.811e-05 0.01% AmrLevel::checkPoint() 3 7.62e-05 7.62e-05 7.62e-05 0.01% Castro::initialize_advance() 10 7.308e-05 7.308e-05 7.308e-05 0.01% Castro::clean_state() 62 7.186e-05 7.186e-05 7.186e-05 0.01% MLMG::mgVcycle_down::3 82 7.166e-05 7.166e-05 7.166e-05 0.01% MLMG::mgVcycle_down::4 82 7.028e-05 7.028e-05 7.028e-05 0.01% MLMG::mgVcycle_up::4 82 6.412e-05 6.412e-05 6.412e-05 0.01% Castro::finalize_advance() 10 6.397e-05 6.397e-05 6.397e-05 0.01% MLMG::mgVcycle_up::1 82 5.31e-05 5.31e-05 5.31e-05 0.01% MLMG::mgVcycle_up::0 82 5.28e-05 5.28e-05 5.28e-05 0.01% MLMG::mgVcycle_up::3 82 5.279e-05 5.279e-05 5.279e-05 0.01% Castro::initialize_do_advance() 10 5.246e-05 5.246e-05 5.246e-05 0.01% MLMG::oneIter() 82 5.241e-05 5.241e-05 5.241e-05 0.01% MLMG::mgVcycle_up::2 82 5.117e-05 5.117e-05 5.117e-05 0.01% MLCellLinOp::solutionResidual() 93 4.91e-05 4.91e-05 4.91e-05 0.01% Castro::advance() 10 4.049e-05 4.049e-05 4.049e-05 0.00% Castro::finalize_do_advance() 10 3.92e-05 3.92e-05 3.92e-05 0.00% Castro::swap_state_time_levels() 10 3.818e-05 3.818e-05 3.818e-05 0.00% MLMG::ResNormInf() 93 3.429e-05 3.429e-05 3.429e-05 0.00% Castro::enforce_consistent_e() 1 3.402e-05 3.402e-05 3.402e-05 0.00% StateData::define() 4 3.256e-05 3.256e-05 3.256e-05 0.00% MLMG::mgVcycle_bottom 82 3.051e-05 3.051e-05 3.051e-05 0.00% MLMG::computeResidual() 82 2.955e-05 2.955e-05 2.955e-05 0.00% FillPatchSingleLevel 41 2.93e-05 2.93e-05 2.93e-05 0.00% Castro::buildMetrics() 1 2.748e-05 2.748e-05 2.748e-05 0.00% MLPoisson::define() 11 2.726e-05 2.726e-05 2.726e-05 0.00% makeSFC 55 2.717e-05 2.717e-05 2.717e-05 0.00% Castro::construct_new_gravity() 10 2.533e-05 2.533e-05 2.533e-05 0.00% Castro::initMFs() 1 2.497e-05 2.497e-05 2.497e-05 0.00% Amr::writeSmallPlotFile() 1 2.403e-05 2.403e-05 2.403e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.254e-05 2.254e-05 2.254e-05 0.00% Amr::FinalizeInit() 1 2.194e-05 2.194e-05 2.194e-05 0.00% Castro::construct_new_source() 50 1.936e-05 1.936e-05 1.936e-05 0.00% Amr::defBaseLevel() 1 1.933e-05 1.933e-05 1.933e-05 0.00% Castro::construct_old_source() 50 1.729e-05 1.729e-05 1.729e-05 0.00% MLLinOp::define() 11 1.729e-05 1.729e-05 1.729e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.68e-05 1.68e-05 1.68e-05 0.00% Castro::do_new_sources() 10 1.594e-05 1.594e-05 1.594e-05 0.00% DistributionMapping::Distribute() 56 1.577e-05 1.577e-05 1.577e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.509e-05 1.509e-05 1.509e-05 0.00% MLPoisson::prepareForSolve() 11 1.5e-05 1.5e-05 1.5e-05 0.00% Castro::do_old_sources() 10 1.491e-05 1.491e-05 1.491e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.414e-05 1.414e-05 1.414e-05 0.00% Castro::check_for_nan() 20 1.173e-05 1.173e-05 1.173e-05 0.00% Castro::apply_source_to_state() 20 1.071e-05 1.071e-05 1.071e-05 0.00% Castro::construct_old_gravity() 10 9.293e-06 9.293e-06 9.293e-06 0.00% Gravity::swapTimeLevels() 10 8.978e-06 8.978e-06 8.978e-06 0.00% MLMG::computeMLResidual() 11 8.669e-06 8.669e-06 8.669e-06 0.00% Gravity::actual_multilevel_solve() 1 8.613e-06 8.613e-06 8.613e-06 0.00% Amr::initSubcycle() 1 8.258e-06 8.258e-06 8.258e-06 0.00% Castro::post_timestep() 10 7.939e-06 7.939e-06 7.939e-06 0.00% Castro::computeNewDt() 9 7.224e-06 7.224e-06 7.224e-06 0.00% MLMG::getGradSolution() 11 5.728e-06 5.728e-06 5.728e-06 0.00% Amr::InitializeInit() 1 4.995e-06 4.995e-06 4.995e-06 0.00% AmrLevel::checkPointPost() 3 4.409e-06 4.409e-06 4.409e-06 0.00% Gravity::set_mass_offset() 11 4.179e-06 4.179e-06 4.179e-06 0.00% MLMG::MLRhsNormInf() 11 3.886e-06 3.886e-06 3.886e-06 0.00% Castro::retry_advance_ctu() 10 3.879e-06 3.879e-06 3.879e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.729e-06 3.729e-06 3.729e-06 0.00% Castro::post_init() 1 3.499e-06 3.499e-06 3.499e-06 0.00% MLMG::MLResNormInf() 11 3.387e-06 3.387e-06 3.387e-06 0.00% Castro::computeInitialDt() 2 3.284e-06 3.284e-06 3.284e-06 0.00% Castro::FluxRegCrseInit 10 2.828e-06 2.828e-06 2.828e-06 0.00% Amr::init() 1 2.472e-06 2.472e-06 2.472e-06 0.00% Castro::FluxRegFineAdd() 10 2.279e-06 2.279e-06 2.279e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.04e-06 2.04e-06 2.04e-06 0.00% AmrLevel::checkPointPre() 3 1.849e-06 1.849e-06 1.849e-06 0.00% Castro::post_regrid() 1 1.212e-06 1.212e-06 1.212e-06 0.00% Amr::initialInit() 1 8.43e-07 8.43e-07 8.43e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9128 0.9128 0.9128 100.00% Amr::coarseTimeStep() 10 0.7327 0.7327 0.7327 80.28% Amr::timeStep() 10 0.6096 0.6096 0.6096 66.79% Castro::advance() 10 0.6023 0.6023 0.6023 65.98% Castro::subcycle_advance_ctu() 10 0.5893 0.5893 0.5893 64.56% Castro::do_advance_ctu() 10 0.5892 0.5892 0.5892 64.55% Gravity::solve_phi_with_mlmg() 11 0.2839 0.2839 0.2839 31.10% Gravity::actual_solve_with_mlmg() 11 0.2766 0.2766 0.2766 30.30% Castro::construct_new_gravity() 10 0.259 0.259 0.259 28.38% MLMG::solve() 11 0.2553 0.2553 0.2553 27.97% Castro::construct_ctu_hydro_source() 10 0.2478 0.2478 0.2478 27.15% Gravity::solve_for_phi() 10 0.2434 0.2434 0.2434 26.66% VisMF::Write(FabArray) 11 0.243 0.243 0.243 26.62% MLMG::oneIter() 82 0.2411 0.2411 0.2411 26.41% MLMG::mgVcycle() 82 0.2374 0.2374 0.2374 26.01% Amr::checkPoint() 3 0.1814 0.1814 0.1814 19.88% AmrLevel::checkPoint() 3 0.1773 0.1773 0.1773 19.43% StateData::checkPoint() 12 0.1772 0.1772 0.1772 19.42% Amr::init() 1 0.1449 0.1449 0.1449 15.87% MLCellLinOp::smooth() 1640 0.1168 0.1168 0.1168 12.79% MLCellLinOp::applyBC() 4433 0.1094 0.1094 0.1094 11.98% MLMG::mgVcycle_bottom 82 0.0735 0.0735 0.0735 8.05% MLMG::actualBottomSolve() 82 0.07347 0.07347 0.07347 8.05% MLCGSolver::bicgstab 82 0.07277 0.07277 0.07277 7.97% Amr::writePlotFile() 2 0.06885 0.06885 0.06885 7.54% Castro::clean_state() 62 0.05129 0.05129 0.05129 5.62% Amr::initialInit() 1 0.04836 0.04836 0.04836 5.30% Amr::FinalizeInit() 1 0.0443 0.0443 0.0443 4.85% Castro::post_init() 1 0.04289 0.04289 0.04289 4.70% FillPatchIterator::Initialize 41 0.04198 0.04198 0.04198 4.60% Gravity::multilevel_solve_for_new_phi() 1 0.04096 0.04096 0.04096 4.49% Gravity::actual_multilevel_solve() 1 0.04095 0.04095 0.04095 4.49% FillPatchSingleLevel 41 0.04042 0.04042 0.04042 4.43% StateDataPhysBCFunct::() 41 0.03632 0.03632 0.03632 3.98% MLCellLinOp::apply() 1142 0.03624 0.03624 0.03624 3.97% MLMG::mgVcycle_down::0 82 0.0338 0.0338 0.0338 3.70% FabArray::FillBoundary() 4023 0.0326 0.0326 0.0326 3.57% MLPoisson::Fsmooth() 3280 0.03219 0.03219 0.03219 3.53% FillBoundary_nowait() 4023 0.03173 0.03173 0.03173 3.48% StateData::FillBoundary(geom) 328 0.02562 0.02562 0.02562 2.81% MLMG::mgVcycle_up::0 82 0.02547 0.02547 0.02547 2.79% MLCellLinOp::correctionResidual() 492 0.02217 0.02217 0.02217 2.43% Castro::computeTemp() 63 0.0211 0.0211 0.0211 2.31% amrex::Dot() 1114 0.02053 0.02053 0.02053 2.25% Castro::initialize_do_advance() 10 0.01959 0.01959 0.01959 2.15% MLMG:computeResOfCorrection() 410 0.01952 0.01952 0.01952 2.14% Gravity::get_new_grav_vector() 11 0.01729 0.01729 0.01729 1.89% MLPoisson::define() 11 0.01704 0.01704 0.01704 1.87% Castro::enforce_min_density() 62 0.01615 0.01615 0.01615 1.77% MLMG::mgVcycle_down::1 82 0.01576 0.01576 0.01576 1.73% Castro::construct_old_gravity() 10 0.0154 0.0154 0.0154 1.69% Gravity::get_old_grav_vector() 10 0.01539 0.01539 0.01539 1.69% amrex::Copy() 1029 0.01484 0.01484 0.01484 1.63% MLMG::mgVcycle_down::2 82 0.01476 0.01476 0.01476 1.62% FabArray::ParallelCopy() 861 0.01447 0.01447 0.01447 1.59% MLMG::mgVcycle_down::3 82 0.01437 0.01437 0.01437 1.57% FabArray::norminf() 743 0.01432 0.01432 0.01432 1.57% MLMG::mgVcycle_down::4 82 0.01422 0.01422 0.01422 1.56% FabArray::ParallelCopy_nowait() 861 0.01422 0.01422 0.01422 1.56% Castro::normalize_species() 62 0.01363 0.01363 0.01363 1.49% Castro::do_new_sources() 10 0.01317 0.01317 0.01317 1.44% FabArray::setVal() 1144 0.01312 0.01312 0.01312 1.44% Castro::initialize_advance() 10 0.01232 0.01232 0.01232 1.35% MLCGSolver::ParallelAllReduce 1514 0.01232 0.01232 0.01232 1.35% Castro::do_old_sources() 10 0.01222 0.01222 0.01222 1.34% MLMG::addInterpCorrection() 410 0.0118 0.0118 0.0118 1.29% MLCellLinOp::defineAuxData() 11 0.01151 0.01151 0.01151 1.26% MLMG::mgVcycle_up::1 82 0.0115 0.0115 0.0115 1.26% MLMG::mgVcycle_up::4 82 0.01139 0.01139 0.01139 1.25% MLMG::mgVcycle_up::2 82 0.01125 0.01125 0.01125 1.23% amrex::average_down 410 0.01122 0.01122 0.01122 1.23% MLMG::mgVcycle_up::3 82 0.011 0.011 0.011 1.21% Castro::expand_state() 10 0.01085 0.01085 0.01085 1.19% MLPoisson::Fapply() 1142 0.01035 0.01035 0.01035 1.13% FabArray::Saxpy() 813 0.008177 0.008177 0.008177 0.90% FabArray::Xpay() 821 0.008031 0.008031 0.008031 0.88% Castro::post_timestep() 10 0.007197 0.007197 0.007197 0.79% MLCellLinOp::solutionResidual() 93 0.007124 0.007124 0.007124 0.78% Gravity::fill_multipole_BCs() 11 0.007078 0.007078 0.007078 0.78% MLMG::computeResidual() 82 0.006138 0.006138 0.006138 0.67% Castro::reset_internal_energy(MultiFab) 63 0.005711 0.005711 0.005711 0.63% Castro::estTimeStep() 21 0.005076 0.005076 0.005076 0.56% MLCellLinOp::defineBC() 11 0.004974 0.004974 0.004974 0.54% BndryData::define() 11 0.004763 0.004763 0.004763 0.52% MLMG::prepareForSolve() 11 0.004679 0.004679 0.004679 0.51% FabArray::LinComb() 557 0.004539 0.004539 0.004539 0.50% amrex::Add() 164 0.004345 0.004345 0.004345 0.48% Amr::InitializeInit() 1 0.004062 0.004062 0.004062 0.45% Amr::defBaseLevel() 1 0.004057 0.004057 0.004057 0.44% Castro::initData() 1 0.003517 0.003517 0.003517 0.39% Castro::construct_new_source() 50 0.003308 0.003308 0.003308 0.36% Castro::construct_new_gravity_source() 10 0.003289 0.003289 0.003289 0.36% Castro::construct_old_source() 50 0.002741 0.002741 0.002741 0.30% Castro::construct_old_gravity_source() 10 0.002723 0.002723 0.002723 0.30% Castro::computeNewDt() 9 0.002605 0.002605 0.002605 0.29% MLMG::ResNormInf() 93 0.002096 0.002096 0.002096 0.23% Castro::apply_source_to_state() 20 0.001828 0.001828 0.001828 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001711 0.001711 0.001711 0.19% Castro::reset_internal_energy(Fab) 504 0.001525 0.001525 0.001525 0.17% FabArrayBase::getCPC() 1323 0.001451 0.001451 0.001451 0.16% MLMG::getGradSolution() 11 0.001392 0.001392 0.001392 0.15% MLCellLinOp::compGrad() 11 0.001386 0.001386 0.001386 0.15% MLCellLinOp::setLevelBC() 11 0.001381 0.001381 0.001381 0.15% FabArray::mult() 43 0.00132 0.00132 0.00132 0.14% FabArray::setDomainBndry() 41 0.001318 0.001318 0.001318 0.14% Castro::check_for_nan() 20 0.001219 0.001219 0.001219 0.13% MultiFab::contains_nan() 20 0.001207 0.001207 0.001207 0.13% MLPoisson::prepareForSolve() 11 0.001144 0.001144 0.001144 0.13% Castro::post_regrid() 1 0.001142 0.001142 0.001142 0.13% MLCellLinOp::prepareForSolve() 11 0.001129 0.001129 0.001129 0.12% Castro::enforce_speed_limit() 62 0.001084 0.001084 0.001084 0.12% MLMG::computeMLResidual() 11 0.001024 0.001024 0.001024 0.11% Castro::computeInitialDt() 2 0.0009733 0.0009733 0.0009733 0.11% Gravity::update_max_rhs() 11 0.0008299 0.0008299 0.0008299 0.09% FabArrayBase::CPC::define() 454 0.0006855 0.0006855 0.0006855 0.08% FabArrayBase::getFB() 4023 0.0006751 0.0006751 0.0006751 0.07% Castro::finalize_advance() 10 0.0005842 0.0005842 0.0005842 0.06% MLLinOp::define() 11 0.0005294 0.0005294 0.0005294 0.06% MLLinOp::defineGrids() 11 0.0005121 0.0005121 0.0005121 0.06% Amr::InitAmr() 1 0.0004834 0.0004834 0.0004834 0.05% Castro::Castro() 1 0.0004686 0.0004686 0.0004686 0.05% Gravity::swapTimeLevels() 10 0.0004383 0.0004383 0.0004383 0.05% MLMG::MLResNormInf() 11 0.0002843 0.0002843 0.0002843 0.03% MultiFab::max() 11 0.0002578 0.0002578 0.0002578 0.03% MLMG::MLRhsNormInf() 11 0.0002185 0.0002185 0.0002185 0.02% Castro::buildMetrics() 1 0.0001897 0.0001897 0.0001897 0.02% Castro::create_source_corrector() 10 0.0001766 0.0001766 0.0001766 0.02% FabArrayBase::FB::FB() 56 9.08e-05 9.08e-05 9.08e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.589e-05 5.589e-05 5.589e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.765e-05 4.765e-05 4.765e-05 0.01% makeSFC 55 4.175e-05 4.175e-05 4.175e-05 0.00% Castro::finalize_do_advance() 10 3.92e-05 3.92e-05 3.92e-05 0.00% Castro::swap_state_time_levels() 10 3.818e-05 3.818e-05 3.818e-05 0.00% Castro::enforce_consistent_e() 1 3.402e-05 3.402e-05 3.402e-05 0.00% StateData::define() 4 3.256e-05 3.256e-05 3.256e-05 0.00% Castro::initMFs() 1 2.497e-05 2.497e-05 2.497e-05 0.00% Amr::writeSmallPlotFile() 1 2.403e-05 2.403e-05 2.403e-05 0.00% DistributionMapping::Distribute() 56 1.577e-05 1.577e-05 1.577e-05 0.00% Amr::initSubcycle() 1 8.258e-06 8.258e-06 8.258e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.915e-06 4.915e-06 4.915e-06 0.00% AmrLevel::checkPointPost() 3 4.409e-06 4.409e-06 4.409e-06 0.00% Gravity::set_mass_offset() 11 4.179e-06 4.179e-06 4.179e-06 0.00% Castro::retry_advance_ctu() 10 3.879e-06 3.879e-06 3.879e-06 0.00% Castro::FluxRegCrseInit 10 2.828e-06 2.828e-06 2.828e-06 0.00% Castro::FluxRegFineAdd() 10 2.279e-06 2.279e-06 2.279e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.04e-06 2.04e-06 2.04e-06 0.00% AmrLevel::checkPointPre() 3 1.849e-06 1.849e-06 1.849e-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 89 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 129 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 965 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2120 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7610 KiB 14 MiB MLMG::prepareForSolve() 660 660 3441 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 196 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 172 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7527 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1737 B 2048 KiB Gravity::solve_for_phi() 80 80 545 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 91 KiB 2048 KiB BndryData::define() 1056 1056 314 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 200 KiB 671 KiB Castro::estTimeStep() 21 21 2215 B 480 KiB VisMF::Write(FabArray) 656 656 3295 B 320 KiB Castro::normalize_species() 62 62 4858 B 320 KiB amrex::average_down 1067 1067 1237 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1115 B 257 KiB amrex::Dot() 1360 1360 3314 B 160 KiB FabArray::norminf() 907 907 2322 B 160 KiB Castro::do_advance_ctu() 10 10 675 B 160 KiB MultiFab::max() 11 11 43 B 160 KiB Castro::initData() 1 1 26 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3364 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 298 B 9648 B MLCellLinOp::applyBC() 8866 8866 216 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3844 B 6144 B StateData::FillBoundary(geom) 1992 1992 38 B 2448 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 116 B 1472 B MLCellLinOp::defineBC() 66 66 354 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 603 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 49 KiB 8192 KiB VisMF::Write(FabArray) 744 744 616 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3364 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 297 B 9648 B MLCellLinOp::applyBC() 4433 4433 214 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3844 B 6144 B Gravity::get_new_grav_vector() 3 3 2910 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 38 B 2448 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 286 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 B 400 B FabArray::norminf() 907 907 17 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.05-15-g23b157942e41) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-15-g23b157942e41) initialized Starting run at 07:40:18 UTC on 2023-05-18. Successfully read inputs file ... Castro git describe: 23.05-14-ga1a1083b3 AMReX git describe: 23.05-15-g23b157942 Microphysics git describe: 23.05-7-g600b619d reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.478599249 Restart time = 0.044412701 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.049091354 [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.046548833 [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.048007727 [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.058513442 [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.070409015 [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.033463679 seconds Ending run at 07:40:19 UTC on 2023-05-18. Run time = 0.351485786 Run time without initialization = 0.306460612 Average number of zones advanced per microsecond: 4.277 Average number of zones advanced per microsecond per rank: 4.277 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3515 ... 0.3515 ... 0.3515 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.0906 0.0906 0.0906 25.79% VisMF::Read() 3 0.03822 0.03822 0.03822 10.87% MLCellLinOp::applyBC() 1946 0.03348 0.03348 0.03348 9.53% VisMF::Write(FabArray) 1 0.03188 0.03188 0.03188 9.07% MLPoisson::Fsmooth() 1440 0.01402 0.01402 0.01402 3.99% FillBoundary_nowait() 1766 0.01268 0.01268 0.01268 3.61% StateData::FillBoundary(geom) 160 0.01234 0.01234 0.01234 3.51% amrex::Dot() 484 0.008914 0.008914 0.008914 2.54% amrex::Copy() 463 0.006991 0.006991 0.006991 1.99% Castro::enforce_min_density() 30 0.00695 0.00695 0.00695 1.98% FabArray::setVal() 537 0.00633 0.00633 0.00633 1.80% FabArray::norminf() 326 0.006283 0.006283 0.006283 1.79% Castro::normalize_species() 30 0.006194 0.006194 0.006194 1.76% FabArray::ParallelCopy_nowait() 380 0.006141 0.006141 0.006141 1.75% MLCellLinOp::defineAuxData() 6 0.005468 0.005468 0.005468 1.56% Castro::computeTemp() 30 0.005363 0.005363 0.005363 1.53% StateDataPhysBCFunct::() 20 0.00482 0.00482 0.00482 1.37% MLPoisson::Fapply() 500 0.004513 0.004513 0.004513 1.28% FabArray::Saxpy() 355 0.003664 0.003664 0.003664 1.04% FabArray::Xpay() 361 0.003515 0.003515 0.003515 1.00% Gravity::fill_multipole_BCs() 6 0.003343 0.003343 0.003343 0.95% MLMG::addInterpCorrection() 180 0.002896 0.002896 0.002896 0.82% Castro::estTimeStep() 10 0.002655 0.002655 0.002655 0.76% amrex::average_down 180 0.002605 0.002605 0.002605 0.74% Amr::restart() 1 0.002528 0.002528 0.002528 0.72% Castro::reset_internal_energy(MultiFab) 30 0.002435 0.002435 0.002435 0.69% BndryData::define() 6 0.002104 0.002104 0.002104 0.60% FabArray::LinComb() 242 0.001957 0.001957 0.001957 0.56% amrex::Add() 72 0.001849 0.001849 0.001849 0.53% Castro::construct_new_gravity_source() 5 0.001704 0.001704 0.001704 0.48% Castro::do_advance_ctu() 5 0.001628 0.001628 0.001628 0.46% Amr::writePlotFile() 1 0.001433 0.001433 0.001433 0.41% Castro::construct_old_gravity_source() 5 0.001254 0.001254 0.001254 0.36% MLCGSolver::bicgstab 36 0.0009372 0.0009372 0.0009372 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009348 0.0009348 0.0009348 0.27% Gravity::actual_solve_with_mlmg() 6 0.0007764 0.0007764 0.0007764 0.22% MLCellLinOp::setLevelBC() 6 0.0007564 0.0007564 0.0007564 0.22% Castro::reset_internal_energy(Fab) 240 0.0007254 0.0007254 0.0007254 0.21% Castro::enforce_speed_limit() 30 0.0006578 0.0006578 0.0006578 0.19% FabArray::mult() 22 0.0006511 0.0006511 0.0006511 0.19% FabArray::setDomainBndry() 20 0.0006509 0.0006509 0.0006509 0.19% MLCellLinOp::prepareForSolve() 6 0.0006247 0.0006247 0.0006247 0.18% MultiFab::contains_nan() 10 0.0006013 0.0006013 0.0006013 0.17% MLCellLinOp::compGrad() 6 0.0004885 0.0004885 0.0004885 0.14% MLMG::prepareForSolve() 6 0.0004803 0.0004803 0.0004803 0.14% MLCellLinOp::smooth() 720 0.0004705 0.0004705 0.0004705 0.13% Amr::InitAmr() 1 0.0004258 0.0004258 0.0004258 0.12% FabArrayBase::CPC::define() 244 0.0004157 0.0004157 0.0004157 0.12% FabArray::FillBoundary() 1766 0.0003868 0.0003868 0.0003868 0.11% FabArrayBase::getCPC() 632 0.0003824 0.0003824 0.0003824 0.11% MLLinOp::defineGrids() 6 0.0003056 0.0003056 0.0003056 0.09% Gravity::get_old_grav_vector() 5 0.0003031 0.0003031 0.0003031 0.09% main() 1 0.0002865 0.0002865 0.0002865 0.08% Gravity::get_new_grav_vector() 5 0.0002728 0.0002728 0.0002728 0.08% FabArrayBase::getFB() 1766 0.000263 0.000263 0.000263 0.07% MLCellLinOp::apply() 500 0.0001909 0.0001909 0.0001909 0.05% MLMG::mgVcycle() 36 0.0001612 0.0001612 0.0001612 0.05% Amr::coarseTimeStep() 5 0.0001611 0.0001611 0.0001611 0.05% MultiFab::max() 6 0.000137 0.000137 0.000137 0.04% MLCGSolver::ParallelAllReduce 659 0.0001238 0.0001238 0.0001238 0.04% FillPatchIterator::Initialize 20 0.0001203 0.0001203 0.0001203 0.03% MLCellLinOp::defineBC() 6 0.0001134 0.0001134 0.0001134 0.03% Castro::create_source_corrector() 5 0.0001106 0.0001106 0.0001106 0.03% FabArray::ParallelCopy() 380 0.0001083 0.0001083 0.0001083 0.03% MLCellLinOp::correctionResidual() 216 9.879e-05 9.879e-05 9.879e-05 0.03% Amr::timeStep() 5 8.18e-05 8.18e-05 8.18e-05 0.02% AmrLevel::restart() 1 7.854e-05 7.854e-05 7.854e-05 0.02% Castro::subcycle_advance_ctu() 5 7.632e-05 7.632e-05 7.632e-05 0.02% StateData::restartDoit() 4 6.095e-05 6.095e-05 6.095e-05 0.02% Gravity::update_max_rhs() 6 6.051e-05 6.051e-05 6.051e-05 0.02% FabArrayBase::FB::FB() 26 6.042e-05 6.042e-05 6.042e-05 0.02% Gravity::solve_for_phi() 5 5.673e-05 5.673e-05 5.673e-05 0.02% MLMG:computeResOfCorrection() 180 5.105e-05 5.105e-05 5.105e-05 0.01% MLMG::mgVcycle_down::0 36 4.091e-05 4.091e-05 4.091e-05 0.01% Castro::expand_state() 5 4.075e-05 4.075e-05 4.075e-05 0.01% MLMG::mgVcycle_down::1 36 4.046e-05 4.046e-05 4.046e-05 0.01% MLMG::actualBottomSolve() 36 4.037e-05 4.037e-05 4.037e-05 0.01% Castro::clean_state() 30 3.562e-05 3.562e-05 3.562e-05 0.01% Castro::initialize_advance() 5 3.453e-05 3.453e-05 3.453e-05 0.01% MLMG::solve() 6 3.373e-05 3.373e-05 3.373e-05 0.01% MLMG::mgVcycle_down::4 36 3.226e-05 3.226e-05 3.226e-05 0.01% MLMG::mgVcycle_down::2 36 3.179e-05 3.179e-05 3.179e-05 0.01% MLMG::mgVcycle_down::3 36 3.13e-05 3.13e-05 3.13e-05 0.01% Castro::finalize_advance() 5 2.94e-05 2.94e-05 2.94e-05 0.01% MLMG::mgVcycle_up::4 36 2.794e-05 2.794e-05 2.794e-05 0.01% Amr::writeSmallPlotFile() 1 2.766e-05 2.766e-05 2.766e-05 0.01% Castro::construct_new_source() 25 2.721e-05 2.721e-05 2.721e-05 0.01% Castro::buildMetrics() 1 2.678e-05 2.678e-05 2.678e-05 0.01% Castro::initialize_do_advance() 5 2.621e-05 2.621e-05 2.621e-05 0.01% Castro::initMFs() 1 2.583e-05 2.583e-05 2.583e-05 0.01% Castro::swap_state_time_levels() 5 2.446e-05 2.446e-05 2.446e-05 0.01% MLMG::oneIter() 36 2.364e-05 2.364e-05 2.364e-05 0.01% MLMG::mgVcycle_up::3 36 2.315e-05 2.315e-05 2.315e-05 0.01% MLMG::mgVcycle_up::0 36 2.291e-05 2.291e-05 2.291e-05 0.01% MLMG::mgVcycle_up::2 36 2.219e-05 2.219e-05 2.219e-05 0.01% MLCellLinOp::solutionResidual() 42 2.149e-05 2.149e-05 2.149e-05 0.01% MLMG::mgVcycle_up::1 36 2.147e-05 2.147e-05 2.147e-05 0.01% Castro::finalize_do_advance() 5 2.092e-05 2.092e-05 2.092e-05 0.01% Castro::post_restart() 1 2.005e-05 2.005e-05 2.005e-05 0.01% MLPoisson::define() 6 1.926e-05 1.926e-05 1.926e-05 0.01% MLMG::ResNormInf() 42 1.756e-05 1.756e-05 1.756e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.533e-05 1.533e-05 1.533e-05 0.00% FillPatchSingleLevel 20 1.431e-05 1.431e-05 1.431e-05 0.00% Castro::advance() 5 1.379e-05 1.379e-05 1.379e-05 0.00% MLMG::mgVcycle_bottom 36 1.376e-05 1.376e-05 1.376e-05 0.00% makeSFC 30 1.367e-05 1.367e-05 1.367e-05 0.00% MLMG::computeResidual() 36 1.304e-05 1.304e-05 1.304e-05 0.00% Castro::construct_new_gravity() 5 1.279e-05 1.279e-05 1.279e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.244e-05 1.244e-05 1.244e-05 0.00% MLLinOp::define() 6 1.159e-05 1.159e-05 1.159e-05 0.00% MLPoisson::prepareForSolve() 6 1.034e-05 1.034e-05 1.034e-05 0.00% Castro::construct_old_source() 25 1.009e-05 1.009e-05 1.009e-05 0.00% Castro::do_new_sources() 5 1.004e-05 1.004e-05 1.004e-05 0.00% DistributionMapping::Distribute() 31 8.914e-06 8.914e-06 8.914e-06 0.00% Amr::initSubcycle() 1 8.739e-06 8.739e-06 8.739e-06 0.00% Castro::do_old_sources() 5 8.459e-06 8.459e-06 8.459e-06 0.00% Gravity::actual_multilevel_solve() 1 7.777e-06 7.777e-06 7.777e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.334e-06 7.334e-06 7.334e-06 0.00% Castro::check_for_nan() 10 6.138e-06 6.138e-06 6.138e-06 0.00% Castro::apply_source_to_state() 10 5.714e-06 5.714e-06 5.714e-06 0.00% Castro::construct_old_gravity() 5 5.543e-06 5.543e-06 5.543e-06 0.00% Castro::post_timestep() 5 4.688e-06 4.688e-06 4.688e-06 0.00% Gravity::swapTimeLevels() 5 4.198e-06 4.198e-06 4.198e-06 0.00% MLMG::computeMLResidual() 6 3.832e-06 3.832e-06 3.832e-06 0.00% Castro::computeNewDt() 5 3.417e-06 3.417e-06 3.417e-06 0.00% MLMG::getGradSolution() 6 3.099e-06 3.099e-06 3.099e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.038e-06 3.038e-06 3.038e-06 0.00% MLMG::MLResNormInf() 6 2.325e-06 2.325e-06 2.325e-06 0.00% Gravity::set_mass_offset() 6 2.165e-06 2.165e-06 2.165e-06 0.00% MLMG::MLRhsNormInf() 6 2.116e-06 2.116e-06 2.116e-06 0.00% Castro::FluxRegCrseInit 5 1.818e-06 1.818e-06 1.818e-06 0.00% Castro::retry_advance_ctu() 5 1.727e-06 1.727e-06 1.727e-06 0.00% Amr::init() 1 1.299e-06 1.299e-06 1.299e-06 0.00% Castro::FluxRegFineAdd() 5 1.193e-06 1.193e-06 1.193e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.014e-06 1.014e-06 1.014e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3515 0.3515 0.3515 100.00% Amr::coarseTimeStep() 5 0.2727 0.2727 0.2727 77.59% Amr::timeStep() 5 0.2707 0.2707 0.2707 77.00% Castro::advance() 5 0.2675 0.2675 0.2675 76.10% Castro::subcycle_advance_ctu() 5 0.2607 0.2607 0.2607 74.16% Castro::do_advance_ctu() 5 0.2606 0.2606 0.2606 74.14% Castro::construct_new_gravity() 5 0.131 0.131 0.131 37.27% Gravity::solve_phi_with_mlmg() 6 0.1262 0.1262 0.1262 35.91% Gravity::solve_for_phi() 5 0.1232 0.1232 0.1232 35.06% Gravity::actual_solve_with_mlmg() 6 0.1226 0.1226 0.1226 34.88% MLMG::solve() 6 0.111 0.111 0.111 31.56% MLMG::oneIter() 36 0.104 0.104 0.104 29.60% MLMG::mgVcycle() 36 0.1025 0.1025 0.1025 29.15% Castro::construct_ctu_hydro_source() 5 0.09065 0.09065 0.09065 25.79% MLCellLinOp::smooth() 720 0.05002 0.05002 0.05002 14.23% MLCellLinOp::applyBC() 1946 0.04687 0.04687 0.04687 13.33% Amr::init() 1 0.04445 0.04445 0.04445 12.65% Amr::restart() 1 0.04445 0.04445 0.04445 12.65% AmrLevel::restart() 1 0.03842 0.03842 0.03842 10.93% StateData::restartDoit() 4 0.03833 0.03833 0.03833 10.90% VisMF::Read() 3 0.03822 0.03822 0.03822 10.87% Amr::writePlotFile() 1 0.03357 0.03357 0.03357 9.55% MLMG::mgVcycle_bottom 36 0.03194 0.03194 0.03194 9.09% MLMG::actualBottomSolve() 36 0.03193 0.03193 0.03193 9.08% VisMF::Write(FabArray) 1 0.03188 0.03188 0.03188 9.07% MLCGSolver::bicgstab 36 0.03162 0.03162 0.03162 9.00% Castro::clean_state() 30 0.02236 0.02236 0.02236 6.36% FillPatchIterator::Initialize 20 0.02002 0.02002 0.02002 5.69% FillPatchSingleLevel 20 0.01924 0.01924 0.01924 5.47% StateDataPhysBCFunct::() 20 0.01716 0.01716 0.01716 4.88% MLCellLinOp::apply() 500 0.01578 0.01578 0.01578 4.49% MLMG::mgVcycle_down::0 36 0.01427 0.01427 0.01427 4.06% MLPoisson::Fsmooth() 1440 0.01402 0.01402 0.01402 3.99% FabArray::FillBoundary() 1766 0.01339 0.01339 0.01339 3.81% FillBoundary_nowait() 1766 0.013 0.013 0.013 3.70% StateData::FillBoundary(geom) 160 0.01234 0.01234 0.01234 3.51% MLMG::mgVcycle_up::0 36 0.01079 0.01079 0.01079 3.07% Castro::initialize_do_advance() 5 0.009833 0.009833 0.009833 2.80% MLCellLinOp::correctionResidual() 216 0.009549 0.009549 0.009549 2.72% MLPoisson::define() 6 0.009375 0.009375 0.009375 2.67% amrex::Dot() 484 0.008914 0.008914 0.008914 2.54% Castro::computeTemp() 30 0.008524 0.008524 0.008524 2.42% MLMG:computeResOfCorrection() 180 0.00839 0.00839 0.00839 2.39% Gravity::get_new_grav_vector() 5 0.007636 0.007636 0.007636 2.17% Castro::construct_old_gravity() 5 0.007578 0.007578 0.007578 2.16% Gravity::get_old_grav_vector() 5 0.007573 0.007573 0.007573 2.15% amrex::Copy() 463 0.006991 0.006991 0.006991 1.99% Castro::enforce_min_density() 30 0.00695 0.00695 0.00695 1.98% MLMG::mgVcycle_down::1 36 0.006856 0.006856 0.006856 1.95% FabArray::ParallelCopy() 380 0.00666 0.00666 0.00666 1.89% Castro::do_new_sources() 5 0.006567 0.006567 0.006567 1.87% FabArray::ParallelCopy_nowait() 380 0.006551 0.006551 0.006551 1.86% Castro::initialize_advance() 5 0.006501 0.006501 0.006501 1.85% MLMG::mgVcycle_down::2 36 0.006432 0.006432 0.006432 1.83% FabArray::setVal() 537 0.00633 0.00633 0.00633 1.80% FabArray::norminf() 326 0.006283 0.006283 0.006283 1.79% MLMG::mgVcycle_down::3 36 0.006252 0.006252 0.006252 1.78% MLCellLinOp::defineAuxData() 6 0.006217 0.006217 0.006217 1.77% Castro::normalize_species() 30 0.006194 0.006194 0.006194 1.76% MLMG::mgVcycle_down::4 36 0.006189 0.006189 0.006189 1.76% Castro::expand_state() 5 0.005564 0.005564 0.005564 1.58% MLCGSolver::ParallelAllReduce 659 0.005348 0.005348 0.005348 1.52% Castro::do_old_sources() 5 0.00518 0.00518 0.00518 1.47% MLMG::addInterpCorrection() 180 0.005171 0.005171 0.005171 1.47% MLMG::mgVcycle_up::1 36 0.004966 0.004966 0.004966 1.41% MLMG::mgVcycle_up::4 36 0.004959 0.004959 0.004959 1.41% amrex::average_down 180 0.00492 0.00492 0.00492 1.40% MLMG::mgVcycle_up::2 36 0.004864 0.004864 0.004864 1.38% MLMG::mgVcycle_up::3 36 0.004802 0.004802 0.004802 1.37% MLPoisson::Fapply() 500 0.004513 0.004513 0.004513 1.28% FabArray::Saxpy() 355 0.003664 0.003664 0.003664 1.04% FabArray::Xpay() 361 0.003515 0.003515 0.003515 1.00% Gravity::fill_multipole_BCs() 6 0.003502 0.003502 0.003502 1.00% Castro::post_restart() 1 0.003337 0.003337 0.003337 0.95% MLCellLinOp::solutionResidual() 42 0.003237 0.003237 0.003237 0.92% Gravity::multilevel_solve_for_new_phi() 1 0.003228 0.003228 0.003228 0.92% Gravity::actual_multilevel_solve() 1 0.003212 0.003212 0.003212 0.91% Castro::reset_internal_energy(MultiFab) 30 0.00316 0.00316 0.00316 0.90% Castro::post_timestep() 5 0.003098 0.003098 0.003098 0.88% MLCellLinOp::defineBC() 6 0.002792 0.002792 0.002792 0.79% MLMG::computeResidual() 36 0.002679 0.002679 0.002679 0.76% BndryData::define() 6 0.002679 0.002679 0.002679 0.76% Castro::estTimeStep() 10 0.002655 0.002655 0.002655 0.76% MLMG::prepareForSolve() 6 0.002566 0.002566 0.002566 0.73% FabArray::LinComb() 242 0.001957 0.001957 0.001957 0.56% Castro::computeNewDt() 5 0.001887 0.001887 0.001887 0.54% amrex::Add() 72 0.001849 0.001849 0.001849 0.53% Castro::construct_new_source() 25 0.001732 0.001732 0.001732 0.49% Castro::construct_new_gravity_source() 5 0.001704 0.001704 0.001704 0.48% Castro::construct_old_source() 25 0.001264 0.001264 0.001264 0.36% Castro::construct_old_gravity_source() 5 0.001254 0.001254 0.001254 0.36% MLMG::ResNormInf() 42 0.0009398 0.0009398 0.0009398 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009348 0.0009348 0.0009348 0.27% Castro::apply_source_to_state() 10 0.000925 0.000925 0.000925 0.26% FabArrayBase::getCPC() 632 0.0007981 0.0007981 0.0007981 0.23% MLMG::getGradSolution() 6 0.0007609 0.0007609 0.0007609 0.22% MLCellLinOp::compGrad() 6 0.0007578 0.0007578 0.0007578 0.22% MLCellLinOp::setLevelBC() 6 0.0007564 0.0007564 0.0007564 0.22% Castro::reset_internal_energy(Fab) 240 0.0007254 0.0007254 0.0007254 0.21% Castro::enforce_speed_limit() 30 0.0006578 0.0006578 0.0006578 0.19% FabArray::mult() 22 0.0006511 0.0006511 0.0006511 0.19% FabArray::setDomainBndry() 20 0.0006509 0.0006509 0.0006509 0.19% MLPoisson::prepareForSolve() 6 0.000635 0.000635 0.000635 0.18% MLCellLinOp::prepareForSolve() 6 0.0006247 0.0006247 0.0006247 0.18% Castro::check_for_nan() 10 0.0006075 0.0006075 0.0006075 0.17% MultiFab::contains_nan() 10 0.0006013 0.0006013 0.0006013 0.17% MLMG::computeMLResidual() 6 0.0005746 0.0005746 0.0005746 0.16% Gravity::update_max_rhs() 6 0.0004456 0.0004456 0.0004456 0.13% Amr::InitAmr() 1 0.0004345 0.0004345 0.0004345 0.12% FabArrayBase::CPC::define() 244 0.0004157 0.0004157 0.0004157 0.12% MLLinOp::define() 6 0.0003467 0.0003467 0.0003467 0.10% MLLinOp::defineGrids() 6 0.0003351 0.0003351 0.0003351 0.10% FabArrayBase::getFB() 1766 0.0003234 0.0003234 0.0003234 0.09% Castro::finalize_advance() 5 0.0002893 0.0002893 0.0002893 0.08% Gravity::swapTimeLevels() 5 0.0002289 0.0002289 0.0002289 0.07% MLMG::MLResNormInf() 6 0.0001527 0.0001527 0.0001527 0.04% Castro::buildMetrics() 1 0.0001468 0.0001468 0.0001468 0.04% MultiFab::max() 6 0.000137 0.000137 0.000137 0.04% MLMG::MLRhsNormInf() 6 0.0001188 0.0001188 0.0001188 0.03% Castro::create_source_corrector() 5 0.0001106 0.0001106 0.0001106 0.03% FabArrayBase::FB::FB() 26 6.042e-05 6.042e-05 6.042e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.848e-05 2.848e-05 2.848e-05 0.01% Amr::writeSmallPlotFile() 1 2.766e-05 2.766e-05 2.766e-05 0.01% Castro::initMFs() 1 2.583e-05 2.583e-05 2.583e-05 0.01% Castro::swap_state_time_levels() 5 2.446e-05 2.446e-05 2.446e-05 0.01% makeSFC 30 2.114e-05 2.114e-05 2.114e-05 0.01% Castro::finalize_do_advance() 5 2.092e-05 2.092e-05 2.092e-05 0.01% DistributionMapping::Distribute() 31 8.914e-06 8.914e-06 8.914e-06 0.00% Amr::initSubcycle() 1 8.739e-06 8.739e-06 8.739e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.481e-06 4.481e-06 4.481e-06 0.00% Gravity::set_mass_offset() 6 2.165e-06 2.165e-06 2.165e-06 0.00% Castro::FluxRegCrseInit 5 1.818e-06 1.818e-06 1.818e-06 0.00% Castro::retry_advance_ctu() 5 1.727e-06 1.727e-06 1.727e-06 0.00% Castro::FluxRegFineAdd() 5 1.193e-06 1.193e-06 1.193e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.014e-06 1.014e-06 1.014e-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 232 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 121 MiB 692 MiB Castro::initMFs() 48 48 59 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB FillPatchIterator::Initialize 160 160 1230 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2667 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6673 KiB 14 MiB MLMG::prepareForSolve() 361 361 3874 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 222 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 222 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6668 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 15 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2447 B 2048 KiB Gravity::solve_for_phi() 40 40 716 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 18 KiB 2048 KiB BndryData::define() 576 576 356 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 229 KiB 671 KiB Castro::estTimeStep() 10 10 3287 B 480 KiB VisMF::Write(FabArray) 112 112 1427 B 320 KiB Castro::normalize_species() 30 30 5721 B 320 KiB amrex::average_down 469 469 1335 B 257 KiB MLMG::addInterpCorrection() 468 468 1271 B 257 KiB amrex::Dot() 592 592 3742 B 160 KiB FabArray::norminf() 398 398 2644 B 160 KiB Castro::do_advance_ctu() 5 5 699 B 160 KiB MultiFab::max() 6 6 60 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 33 B 20 KiB MLPoisson::Fsmooth() 60 60 3767 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 56 B 10 KiB FillBoundary_nowait() 336 336 313 B 9648 B MLCellLinOp::applyBC() 3892 3892 247 B 9344 B amrex::Copy() 56 56 5975 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 46 B 2256 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 130 B 1472 B MLCellLinOp::defineBC() 36 36 400 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1545 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 127 KiB 8192 KiB VisMF::Write(FabArray) 120 120 279 KiB 3584 KiB VisMF::Read() 24 24 213 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3767 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 56 B 10 KiB FillBoundary_nowait() 336 336 312 B 9648 B MLCellLinOp::applyBC() 1946 1946 244 B 9328 B amrex::Copy() 56 56 5976 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2629 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B StateData::FillBoundary(geom) 960 960 47 B 2256 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 560 B 1296 B amrex::average_down 37 37 221 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 27 B 400 B FabArray::norminf() 398 398 19 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.05-15-g23b157942e41) finalized