Skip to content

Commit b859bbf

Browse files
committed
try to get intelmpi working
1 parent 1d31520 commit b859bbf

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/UnitTests.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ jobs:
211211
runs-on: ubuntu-18.04 # 20.04 not supported
212212

213213
env:
214-
JULIA_MPI_BINARY: system
215-
JULIA_MPI_PATH: /home/runner/intel/compilers_and_libraries_2020.4.304/linux/mpi/intel64
214+
JULIA_MPI_TEST_BINARY: system
215+
JULIA_MPI_TEST_ABi: MPICH
216216

217217
steps:
218218
- name: Checkout
@@ -256,11 +256,17 @@ jobs:
256256
using Pkg
257257
Pkg.develop(path="lib/MPIPreferences")
258258
259-
# we can't use the usual actions here as we need to ensure the environment variables are set
260-
- name: "Build package"
259+
- name: add MPIPreferences, use system
261260
run: |
262261
source ${HOME}/intel/compilers_and_libraries/linux/mpi/intel64/bin/mpivars.sh release
263-
julia --project -e 'using Pkg; Pkg.instantiate(verbose=true); Pkg.build(verbose=true)'
262+
julia --color=yes --project=test -e '
263+
using Pkg
264+
Pkg.develop(path="lib/MPIPreferences")
265+
using MPIPreferences
266+
MPIPreferences.use_system_binary(export_prefs=true)
267+
rm("test/Manifest.toml")'
268+
269+
# we can't use the usual actions here as we need to ensure the environment variables are set
264270
- name: "Run tests"
265271
run: |
266272
source ${HOME}/intel/compilers_and_libraries/linux/mpi/intel64/bin/mpivars.sh release
@@ -308,6 +314,7 @@ jobs:
308314
Pkg.develop(path="lib/MPIPreferences")
309315
using MPIPreferences
310316
MPIPreferences.use_system_binary(export_prefs=true)
317+
rm("test/Manifest.toml")
311318
312319
- uses: julia-actions/julia-runtest@latest
313320

0 commit comments

Comments
 (0)