Skip to content

Commit 054092b

Browse files
committed
[CI] Fix using Intel MPI in MPITrampoline tests
1 parent c736843 commit 054092b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/UnitTests.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,7 @@ jobs:
543543

544544
env:
545545
JULIA_MPI_TEST_BINARY: MPItrampoline_jll
546+
JULIA_MPI_TEST_ABI: MPItrampoline
546547
MPITRAMPOLINE_LIB: /usr/local/lib/libmpiwrapper.so
547548
MPITRAMPOLINE_MPIEXEC: /home/runner/intel/compilers_and_libraries_2020.4.304/linux/mpi/intel64/bin/mpiexec
548549

@@ -616,6 +617,15 @@ jobs:
616617
using Pkg
617618
Pkg.develop(path="lib/MPIPreferences")
618619
620+
- name: use MPItrampoline_jll
621+
shell: julia --color=yes --project=test {0}
622+
run: |
623+
using Pkg
624+
Pkg.develop(path="lib/MPIPreferences")
625+
using MPIPreferences
626+
MPIPreferences.use_jll_binary("MPItrampoline_jll", export_prefs=true)
627+
rm("test/Manifest.toml")
628+
619629
# We can't use the usual actions here as we need to ensure the environment variables are set
620630
- name: "Build package"
621631
run: |

0 commit comments

Comments
 (0)