17
17
- ubuntu-latest
18
18
- windows-latest
19
19
julia_version :
20
- # Unsupported - "1.3"
21
- # Unsupported - "1.4"
22
- # Unsupported - "1.5"
23
20
- " 1.6"
24
- - " 1.7 "
21
+ - " 1"
25
22
- " nightly"
26
23
julia_arch : [x64, x86]
27
24
exclude :
61
58
${{ runner.os }}-test-
62
59
${{ runner.os }}-
63
60
61
+ - name : " add MPIPreferences"
62
+ run : julia --project -e 'using Pkg; Pkg.develop(path="lib/MPIPreferences")
64
63
- uses : julia-actions/julia-buildpkg@latest
65
64
- uses : julia-actions/julia-runtest@latest
66
65
73
72
# BROKEN - mpich
74
73
- openmpi
75
74
julia_version :
76
- - " 1.6"
77
- # We don't need to test all combinations
78
- # - "1.7"
79
- # - "nightly"
75
+ - " 1"
80
76
81
77
fail-fast : false
82
78
@@ -117,6 +113,10 @@ jobs:
117
113
${{ runner.os }}-test-
118
114
${{ runner.os }}-
119
115
116
+ - name : " add MPIPreferences"
117
+ run : julia --project -e 'using Pkg; Pkg.develop(path="lib/MPIPreferences")
118
+ - name : " Use system binary"
119
+ run : julia --project -e 'using MPIPreferences; MPIPreferences.use_system_binary()
120
120
- uses : julia-actions/julia-buildpkg@latest
121
121
- uses : julia-actions/julia-runtest@latest
122
122
env :
@@ -132,10 +132,7 @@ jobs:
132
132
- libmpich-dev
133
133
- libopenmpi-dev
134
134
julia_version :
135
- - " 1.6"
136
- # We don't need to test all combinations
137
- # - "1.7"
138
- # - "nightly"
135
+ - " 1"
139
136
140
137
fail-fast : false
141
138
@@ -176,7 +173,10 @@ jobs:
176
173
${{ runner.os }}-test-${{ env.cache-name }}-
177
174
${{ runner.os }}-test-
178
175
${{ runner.os }}-
179
-
176
+ - name : " add MPIPreferences"
177
+ run : julia --project -e 'using Pkg; Pkg.develop(path="lib/MPIPreferences")
178
+ - name : " Use system binary"
179
+ run : julia --project -e 'using MPIPreferences; MPIPreferences.use_system_binary()
180
180
- uses : julia-actions/julia-buildpkg@latest
181
181
- uses : julia-actions/julia-runtest@latest
182
182
@@ -186,10 +186,7 @@ jobs:
186
186
strategy :
187
187
matrix :
188
188
julia_version :
189
- - " 1.6"
190
- # We don't need to test all combinations
191
- # - "1.7"
192
- # - "nightly"
189
+ - " 1"
193
190
194
191
fail-fast : false
195
192
@@ -220,7 +217,7 @@ jobs:
220
217
run : wget https://registrationcenter-download.intel.com/akdlm/irc_nas/tec/17263/l_mpi_2019.9.304.tgz
221
218
222
219
- name : Install Intel MPI
223
- run : |
220
+ run : |
224
221
tar -xzf l_mpi_2019.9.304.tgz
225
222
pushd l_mpi_2019.9.304
226
223
cat << EOF > intel.conf
@@ -253,7 +250,7 @@ jobs:
253
250
${{ runner.os }}-
254
251
255
252
# we can't use the usual actions here as we need to ensure the environment variables are set
256
- - name : " Build package"
253
+ - name : " Build package"
257
254
run : |
258
255
source ${HOME}/intel/compilers_and_libraries/linux/mpi/intel64/bin/mpivars.sh release
259
256
julia --project -e 'using Pkg; Pkg.instantiate(verbose=true); Pkg.build(verbose=true)'
@@ -268,10 +265,7 @@ jobs:
268
265
strategy :
269
266
matrix :
270
267
julia_version :
271
- - " 1.6"
272
- # We don't need to test all combinations
273
- # - "1.7"
274
- # - "nightly"
268
+ - " 1"
275
269
276
270
fail-fast : false
277
271
@@ -387,31 +381,31 @@ jobs:
387
381
# - "1.6"
388
382
# - "1.7"
389
383
# - "nightly"
390
- #
384
+ #
391
385
# fail-fast: false
392
- #
386
+ #
393
387
# runs-on: macos-latest
394
- #
388
+ #
395
389
# env:
396
390
# JULIA_MPI_BINARY: MPItrampoline_jll
397
391
# MPITRAMPOLINE_VERBOSE: 1 #TODO
398
392
# MPITRAMPOLINE_LIB: /usr/local/lib/libmpiwrapper.so
399
393
# MPITRAMPOLINE_MPIEXEC: /usr/local/bin/mpiexec
400
- #
394
+ #
401
395
# steps:
402
396
# - name: Cancel Previous Runs
403
397
404
398
# with:
405
399
# access_token: ${{ github.token }}
406
- #
400
+ #
407
401
# - name: Checkout
408
402
409
- #
403
+ #
410
404
# - name: Install Homebrew packages
411
405
# run: brew install autoconf automake
412
406
# env:
413
407
# MPI: ${{ matrix.mpi }}
414
- #
408
+ #
415
409
# # We cannot install MPICH or OpenMPI via Homebrew or MacPorts,
416
410
# # since the MPI libraries there use a flat namespace, which means
417
411
# # that they cannot be loaded as plugin. We need to build the
@@ -433,7 +427,7 @@ jobs:
433
427
# FC=gfortran-11 \
434
428
# FFLAGS=-fallow-argument-mismatch \
435
429
# FCFLAGS=-fallow-argument-mismatch
436
- # make -j$(nproc)
430
+ # make -j$(nproc)
437
431
# sudo make -j$(nproc) install
438
432
# ;;
439
433
# openmpi)
@@ -447,13 +441,13 @@ jobs:
447
441
# CC=gcc-11 \
448
442
# CXX=g++-11 \
449
443
# FC=gfortran-11
450
- # make -j$(nproc)
444
+ # make -j$(nproc)
451
445
# sudo make -j$(nproc) install
452
446
# ;;
453
447
# esac
454
448
# env:
455
449
# MPI: ${{ matrix.mpi }}
456
- #
450
+ #
457
451
# - name: Build MPIwrapper
458
452
# run: |
459
453
# wget https://github.com/eschnett/MPIwrapper/archive/refs/tags/v2.2.1.tar.gz
@@ -484,11 +478,11 @@ jobs:
484
478
# # .
485
479
# cmake --build .
486
480
# sudo cmake --install .
487
- #
481
+ #
488
482
# - uses: julia-actions/setup-julia@latest
489
483
# with:
490
484
# version: ${{ matrix.julia_version }}
491
- #
485
+ #
492
486
# # https://discourse.julialang.org/t/recommendation-cache-julia-artifacts-in-ci-services/35484
493
487
# - name: Cache artifacts
494
488
# uses: actions/cache@v1
@@ -501,7 +495,7 @@ jobs:
501
495
# ${{ runner.os }}-test-${{ env.cache-name }}-
502
496
# ${{ runner.os }}-test-
503
497
# ${{ runner.os }}-
504
- #
498
+ #
505
499
# - uses: julia-actions/julia-buildpkg@latest
506
500
# - uses: julia-actions/julia-runtest@latest
507
501
@@ -613,7 +607,7 @@ jobs:
613
607
run : wget https://registrationcenter-download.intel.com/akdlm/irc_nas/tec/17263/l_mpi_2019.9.304.tgz
614
608
615
609
- name : Install Intel MPI
616
- run : |
610
+ run : |
617
611
tar -xzf l_mpi_2019.9.304.tgz
618
612
pushd l_mpi_2019.9.304
619
613
cat << EOF > intel.conf
@@ -660,7 +654,7 @@ jobs:
660
654
${{ runner.os }}-
661
655
662
656
# We can't use the usual actions here as we need to ensure the environment variables are set
663
- - name : " Build package"
657
+ - name : " Build package"
664
658
run : |
665
659
source ${HOME}/intel/compilers_and_libraries/linux/mpi/intel64/bin/mpivars.sh release
666
660
julia --project -e 'using Pkg; Pkg.instantiate(verbose=true); Pkg.build(verbose=true)'
0 commit comments