|
5 | 5 | key: "cuda-build-openmpi"
|
6 | 6 | agents:
|
7 | 7 | queue: "juliagpu"
|
8 |
| - cuda: "11.0" |
| 8 | + cuda: "*" |
9 | 9 | env:
|
10 | 10 | OPENMPI_VER: "4.1"
|
11 | 11 | OPENMPI_VER_FULL: "4.1.4"
|
|
44 | 44 |
|
45 | 45 | - wait
|
46 | 46 |
|
47 |
| - - label: "Tests -- Julia 1.6" |
| 47 | + - label: "Tests -- Julia {{matrix.version}}" |
| 48 | + matrix: |
| 49 | + setup: |
| 50 | + version: |
| 51 | + - "1.6" |
| 52 | + - "1.7" |
| 53 | + - "1.8" |
| 54 | + - "1.9" |
| 55 | + - "1.10" |
| 56 | + concurrency: 1 |
| 57 | + concurrency_group: mpi_cuda |
48 | 58 | plugins:
|
49 | 59 | - JuliaCI/julia#v1:
|
50 |
| - version: "1.6" |
| 60 | + version: "{{matrix.version}}" |
51 | 61 | persist_depot_dirs: packages,artifacts,compiled
|
52 | 62 | agents:
|
53 | 63 | queue: "juliagpu"
|
54 |
| - cuda: "11.0" |
| 64 | + cuda: "*" |
55 | 65 | if: build.message !~ /\[skip tests\]/
|
56 |
| - timeout_in_minutes: 60 |
57 |
| - env: |
58 |
| - JULIA_MPI_TEST_NPROCS: 2 |
59 |
| - JULIA_MPI_PATH: "${BUILDKITE_BUILD_CHECKOUT_PATH}/openmpi" |
60 |
| - OMPI_ALLOW_RUN_AS_ROOT: 1 |
61 |
| - OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1 |
62 |
| - OMPI_MCA_btl_vader_single_copy_mechanism: 'none' # https://github.com/open-mpi/ompi/issues/4948 |
63 |
| - OPAL_PREFIX: "${BUILDKITE_BUILD_CHECKOUT_PATH}/openmpi" # Should we set this for the user? |
64 |
| - JULIA_CUDA_MEMORY_POOL: "none" |
65 |
| - commands: | |
66 |
| - echo "--- Configure MPI" |
67 |
| - buildkite-agent artifact download --step "cuda-build-openmpi" mpi-prefix.tar.gz . |
68 |
| - mkdir -p $${JULIA_MPI_PATH} |
69 |
| - tar -zxf mpi-prefix.tar.gz --strip-components 1 -C $${JULIA_MPI_PATH} |
70 |
| - export PATH=$${JULIA_MPI_PATH}/bin:$${PATH} |
71 |
| - export LD_LIBRARY_PATH=$${JULIA_MPI_PATH}/lib:$${LD_LIBRARY_PATH} |
72 |
| -
|
73 |
| - echo "--- Setup Julia packages" |
74 |
| - julia --color=yes --project=. -e ' |
75 |
| - import Pkg |
76 |
| - Pkg.develop(; path = joinpath(pwd(), "lib", "MPIPreferences")) |
77 |
| - ' |
78 |
| - julia --color=yes --project=test -e ' |
79 |
| - using Pkg |
80 |
| - Pkg.develop(path="lib/MPIPreferences") |
81 |
| - using MPIPreferences |
82 |
| - MPIPreferences.use_system_binary(export_prefs=true) |
83 |
| - rm("test/Manifest.toml") |
84 |
| - ' |
85 |
| -
|
86 |
| - echo "+++ Run tests" |
87 |
| - julia --color=yes --project=. -e ' |
88 |
| - import Pkg |
89 |
| - Pkg.test("MPI"; test_args=["--backend=CUDA"]) |
90 |
| - ' |
91 |
| -
|
92 |
| - - label: "Tests -- Julia latest" |
93 |
| - plugins: |
94 |
| - - JuliaCI/julia#v1: |
95 |
| - version: "1" |
96 |
| - persist_depot_dirs: packages,artifacts,compiled |
97 |
| - agents: |
98 |
| - queue: "juliagpu" |
99 |
| - cuda: "11.0" |
100 |
| - if: build.message !~ /\[skip tests\]/ |
101 |
| - timeout_in_minutes: 60 |
| 66 | + timeout_in_minutes: 90 |
102 | 67 | env:
|
103 | 68 | JULIA_MPI_TEST_NPROCS: 2
|
104 | 69 | JULIA_MPI_PATH: "${BUILDKITE_BUILD_CHECKOUT_PATH}/openmpi"
|
|
0 commit comments