Skip to content

Commit 6b07a18

Browse files
Fix MPI config
1 parent 618f182 commit 6b07a18

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.buildkite/pipeline.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,25 @@ steps:
99
- label: "init cpu env"
1010
key: "init_cpu_env"
1111
command:
12-
- "echo $JULIA_DEPOT_PATH"
12+
- echo "--- Configure MPI"
13+
- julia -e 'using Pkg; Pkg.add("MPIPreferences"); using MPIPreferences; use_system_binary()'
14+
1315
- echo "--- Instantiate project"
1416
- "julia --project -e 'using Pkg; Pkg.instantiate(;verbose=true)'"
1517
- "julia --project -e 'using Pkg; Pkg.precompile(;strict=true)'"
18+
1619
- echo "--- Instantiate test"
1720
- "julia --project=test -e 'using Pkg; Pkg.develop(path=\".\")'"
1821
- "julia --project=test -e 'using Pkg; Pkg.instantiate(;verbose=true)'"
1922
- "julia --project=test -e 'using Pkg; Pkg.precompile(;strict=true)'"
23+
2024
- echo "--- Instantiate perf"
2125
- "julia --project=perf -e 'using Pkg; Pkg.instantiate(;verbose=true)'"
2226
- "julia --project=perf -e 'using Pkg; Pkg.precompile(;strict=true)'"
27+
2328
- echo "--- Package status"
2429
- "julia --project -e 'using Pkg; Pkg.status()'"
30+
2531
agents:
2632
config: cpu
2733
queue: central
@@ -30,17 +36,22 @@ steps:
3036
- label: "init gpu env"
3137
key: "init_gpu_env"
3238
command:
33-
- "echo $JULIA_DEPOT_PATH"
39+
- echo "--- Configure MPI"
40+
- julia -e 'using Pkg; Pkg.add("MPIPreferences"); using MPIPreferences; use_system_binary()'
41+
3442
- echo "--- Instantiate project"
3543
- "julia --project -e 'using Pkg; Pkg.instantiate(;verbose=true)'"
3644
- "julia --project -e 'using Pkg; Pkg.precompile(;strict=true)'"
45+
3746
- echo "--- Instantiate test"
3847
- "julia --project=test -e 'using Pkg; Pkg.develop(path=\".\")'"
3948
- "julia --project=test -e 'using Pkg; Pkg.instantiate(;verbose=true)'"
4049
- "julia --project=test -e 'using Pkg; Pkg.precompile()'"
50+
4151
- echo "--- Initialize CUDA runtime"
4252
- "julia --project -e 'using CUDA; CUDA.precompile_runtime()'"
4353
- "julia --project -e 'using CUDA; CUDA.versioninfo()'"
54+
4455
- echo "--- Package status"
4556
- "julia --project -e 'using Pkg; Pkg.status()'"
4657
agents:

0 commit comments

Comments
 (0)