From 1c2dc60291d4002b27e0367e30db9e0d03b8536f Mon Sep 17 00:00:00 2001 From: Weiqun Zhang Date: Tue, 11 Feb 2025 09:11:25 -0800 Subject: [PATCH] GitHub Runner: ubuntu-20.04 -> ubuntu-24.04 GitHub will stop supporting ubuntu-20.04 soon. --- .github/workflows/ascent.yml | 2 +- .github/workflows/clang.yml | 2 +- .github/workflows/cuda.yml | 6 +++--- .github/workflows/gcc.yml | 20 ++++++++++---------- .github/workflows/hip.yml | 18 ++++-------------- .github/workflows/hypre.yml | 2 +- .github/workflows/intel.yml | 2 +- .github/workflows/sensei.yml | 2 +- 8 files changed, 22 insertions(+), 32 deletions(-) diff --git a/.github/workflows/ascent.yml b/.github/workflows/ascent.yml index 74421cebac3..dbcb4c614ab 100644 --- a/.github/workflows/ascent.yml +++ b/.github/workflows/ascent.yml @@ -9,7 +9,7 @@ concurrency: jobs: ascent: name: Ascent - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 if: github.event.pull_request.draft == false env: CXX: g++ diff --git a/.github/workflows/clang.yml b/.github/workflows/clang.yml index bbbc08723e4..4ed4d4e0179 100644 --- a/.github/workflows/clang.yml +++ b/.github/workflows/clang.yml @@ -14,7 +14,7 @@ jobs: # Note: this is an intentional "minimal" build that does not enable (many) options library_clang: name: Clang@7.0 C++17 SP NOMPI Debug [lib] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 needs: check_changes if: needs.check_changes.outputs.has_non_docs_changes == 'true' steps: diff --git a/.github/workflows/cuda.yml b/.github/workflows/cuda.yml index 4b23db20e9e..72aaa71aab8 100644 --- a/.github/workflows/cuda.yml +++ b/.github/workflows/cuda.yml @@ -13,7 +13,7 @@ jobs: # Build libamrex and all tests with CUDA 11.2 tests-cuda11: name: CUDA@11.2 GNU@9.3.0 C++17 Release [tests] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 needs: check_changes if: needs.check_changes.outputs.has_non_docs_changes == 'true' steps: @@ -121,7 +121,7 @@ jobs: # Build libamrex and all tests with NVHPC (recent supported) tests-nvhpc-nvcc: name: NVHPC NVCC/NVC++ C++17 Release [tests] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 needs: check_changes if: needs.check_changes.outputs.has_non_docs_changes == 'true' steps: @@ -186,7 +186,7 @@ jobs: # Build 3D libamrex cuda build with configure configure-3d-cuda: name: CUDA@11.2 GNU@9.3.0 [configure 3D] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 needs: check_changes if: needs.check_changes.outputs.has_non_docs_changes == 'true' steps: diff --git a/.github/workflows/gcc.yml b/.github/workflows/gcc.yml index 3b9bddac8fb..e7b34ab5258 100644 --- a/.github/workflows/gcc.yml +++ b/.github/workflows/gcc.yml @@ -17,7 +17,7 @@ jobs: # Note: this is an intentional "minimal" build that does not enable (many) options library: name: GNU@8.4 C++17 Release [lib] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 needs: check_changes if: needs.check_changes.outputs.has_non_docs_changes == 'true' steps: @@ -127,7 +127,7 @@ jobs: tests_build_2D: name: GNU@9.3 C++17 2D Debug Fortran [tests] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 needs: check_changes if: needs.check_changes.outputs.has_non_docs_changes == 'true' steps: @@ -178,7 +178,7 @@ jobs: tests_build_1D: name: GNU@9.3 C++17 1D Debug Fortran [tests] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 needs: check_changes if: needs.check_changes.outputs.has_non_docs_changes == 'true' steps: @@ -231,7 +231,7 @@ jobs: # Build libamrex and all tests tests_cxx20: name: GNU@10.1 C++20 OMP [tests] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 needs: check_changes if: needs.check_changes.outputs.has_non_docs_changes == 'true' steps: @@ -293,7 +293,7 @@ jobs: # Build libamrex and all tests w/o MPI tests-nonmpi: name: GNU@8.4 C++17 NOMPI [tests] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 needs: check_changes if: needs.check_changes.outputs.has_non_docs_changes == 'true' steps: @@ -417,7 +417,7 @@ jobs: # Build 1D libamrex with configure configure-1d: name: GNU@9.3 Release [configure 1D] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 needs: check_changes if: needs.check_changes.outputs.has_non_docs_changes == 'true' steps: @@ -501,7 +501,7 @@ jobs: # Build 3D libamrex with single precision and tiny profiler configure-3d-single-tprof: name: GNU@9.3 Release [configure 3D] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 needs: check_changes if: needs.check_changes.outputs.has_non_docs_changes == 'true' steps: @@ -544,7 +544,7 @@ jobs: # Build 3D libamrex debug omp build with configure configure-3d-omp-debug: name: GNU@9.3 OMP Debug [configure 3D] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 needs: check_changes if: needs.check_changes.outputs.has_non_docs_changes == 'true' steps: @@ -586,7 +586,7 @@ jobs: # Build Tools/Plotfile plotfile-tools: name: GNU Plotfile Tools [tools] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 needs: check_changes if: needs.check_changes.outputs.has_non_docs_changes == 'true' steps: @@ -679,7 +679,7 @@ jobs: test_hdf5: name: GNU@9.3 HDF5 I/O Test [tests] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 needs: check_changes if: needs.check_changes.outputs.has_non_docs_changes == 'true' env: diff --git a/.github/workflows/hip.yml b/.github/workflows/hip.yml index 7f88fe55572..14de230472e 100644 --- a/.github/workflows/hip.yml +++ b/.github/workflows/hip.yml @@ -12,7 +12,7 @@ jobs: tests-hip: name: HIP ROCm Flang C++17 [tests] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 needs: check_changes if: needs.check_changes.outputs.has_non_docs_changes == 'true' steps: @@ -46,11 +46,6 @@ jobs: which clang++ which flang - # "mpic++ --showme" forgets open-pal in Ubuntu 20.04 + OpenMPI 4.0.3 - # https://bugs.launchpad.net/ubuntu/+source/openmpi/+bug/1941786 - # https://github.com/open-mpi/ompi/issues/9317 - export LDFLAGS="-lopen-pal" - cmake -S . -B build \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DAMReX_FFT=ON \ @@ -73,7 +68,7 @@ jobs: tests-hip-wrapper: name: HIP ROCm GFortran@9.3 C++17 [tests-hipcc] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 needs: check_changes if: needs.check_changes.outputs.has_non_docs_changes == 'true' steps: @@ -104,11 +99,6 @@ jobs: source /etc/profile.d/rocm.sh hipcc --version - # "mpic++ --showme" forgets open-pal in Ubuntu 20.04 + OpenMPI 4.0.3 - # https://bugs.launchpad.net/ubuntu/+source/openmpi/+bug/1941786 - # https://github.com/open-mpi/ompi/issues/9317 - export LDFLAGS="-lopen-pal" - cmake -S . -B build_full_legacywrapper \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DAMReX_FFT=ON \ @@ -133,7 +123,7 @@ jobs: # Build 2D libamrex hip build with configure configure-2d-single-hip: name: HIP EB [configure 2D] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 needs: check_changes if: needs.check_changes.outputs.has_non_docs_changes == 'true' steps: @@ -168,7 +158,7 @@ jobs: # Build 3D EB hip with gnu make hip-3d-eb-gmake: name: HIP EB 3D GMake - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 needs: check_changes if: needs.check_changes.outputs.has_non_docs_changes == 'true' steps: diff --git a/.github/workflows/hypre.yml b/.github/workflows/hypre.yml index a2b97771302..5317af18e05 100644 --- a/.github/workflows/hypre.yml +++ b/.github/workflows/hypre.yml @@ -12,7 +12,7 @@ jobs: compile-hypre-cuda-eb-2d: name: CUDA EB 2D Hypre@2.26.0 - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 needs: check_changes if: needs.check_changes.outputs.has_non_docs_changes == 'true' env: diff --git a/.github/workflows/intel.yml b/.github/workflows/intel.yml index d923ff9f579..2fc5043c971 100644 --- a/.github/workflows/intel.yml +++ b/.github/workflows/intel.yml @@ -159,7 +159,7 @@ jobs: no-tests-oneapi-sycl-amd: name: oneAPI SYCL for AMD GPUs - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 needs: check_changes if: needs.check_changes.outputs.has_non_docs_changes == 'true' steps: diff --git a/.github/workflows/sensei.yml b/.github/workflows/sensei.yml index d1fcbaea67f..b6cee539ad9 100644 --- a/.github/workflows/sensei.yml +++ b/.github/workflows/sensei.yml @@ -14,7 +14,7 @@ jobs: test_sensei: name: SENSEI Adaptor [test] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 needs: check_changes if: needs.check_changes.outputs.has_non_docs_changes == 'true' env: