Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Run Intel MPI jobs on ubuntu-latest #741

Merged
merged 4 commits into from
Jun 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions .github/workflows/UnitTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ jobs:

fail-fast: false

runs-on: ubuntu-18.04 # 20.04 not supported
runs-on: ubuntu-latest

env:
JULIA_MPI_TEST_BINARY: system
Expand Down Expand Up @@ -539,10 +539,11 @@ jobs:

fail-fast: false

runs-on: ubuntu-18.04 # 20.04 not supported
runs-on: ubuntu-latest

env:
JULIA_MPI_BINARY: MPItrampoline_jll
JULIA_MPI_TEST_BINARY: MPItrampoline_jll
JULIA_MPI_TEST_ABI: MPItrampoline
MPITRAMPOLINE_LIB: /usr/local/lib/libmpiwrapper.so
MPITRAMPOLINE_MPIEXEC: /home/runner/intel/compilers_and_libraries_2020.4.304/linux/mpi/intel64/bin/mpiexec

Expand Down Expand Up @@ -616,6 +617,15 @@ jobs:
using Pkg
Pkg.develop(path="lib/MPIPreferences")

- name: use MPItrampoline_jll
shell: julia --color=yes --project=test {0}
run: |
using Pkg
Pkg.develop(path="lib/MPIPreferences")
using MPIPreferences
MPIPreferences.use_jll_binary("MPItrampoline_jll", export_prefs=true)
rm("test/Manifest.toml")

# We can't use the usual actions here as we need to ensure the environment variables are set
- name: "Build package"
run: |
Expand Down