Skip to content

Commit

Permalink
switch to MPItrampoline
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbyrne committed Nov 15, 2023
1 parent 7915baa commit b1b285c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 19 deletions.
11 changes: 1 addition & 10 deletions .buildkite/JuliaProject.toml
Original file line number Diff line number Diff line change
@@ -1,20 +1,11 @@
[extras]
CUDA_Runtime_jll = "76a88914-d11a-5bdc-97e0-2f5a05c973a2"
HDF5_jll = "0234f1f7-429e-5d53-9886-15a909be8d59"
MPIPreferences = "3da0fdf6-3ccc-4f1b-acd9-58baa6c99267"

[preferences.CUDA_Runtime_jll]
version = "12.2"
local = "true"

[preferences.HDF5_jll]
libhdf5_path = "libhdf5"
libhdf5_hl_path = "libhdf5_hl"

[preferences.MPIPreferences]
_format = "1.0"
abi = "OpenMPI"
binary = "system"
libmpi = "libmpi"
mpiexec = "mpiexec"

binary = "MPItrampoline_jll"
16 changes: 7 additions & 9 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
agents:
queue: central
slurm_mem: 8G
modules: julia/1.9.4 cuda/12.2 ucx/1.14.1_cuda-12.2 openmpi/4.1.5_cuda-12.2 hdf5/1.12.2-ompi415 nsight-systems/2023.2.1
modules: julia/1.9.4 cuda/12.2 ucx/1.14.1_cuda-12.2 openmpi/4.1.5_cuda-12.2 nsight-systems/2023.2.1

env:
JULIA_LOAD_PATH: "${JULIA_LOAD_PATH}:${BUILDKITE_BUILD_CHECKOUT_PATH}/.buildkite"
JULIA_DEPOT_PATH: "${BUILDKITE_BUILD_PATH}/${BUILDKITE_PIPELINE_SLUG}/depot/default"
JULIA_MAX_NUM_PRECOMPILE_FILES: 100
OPENBLAS_NUM_THREADS: 1
JULIA_NVTX_CALLBACKS: gc
JULIA_CPU_TARGET: 'broadwell;skylake'
JULIA_NVTX_CALLBACKS: gc
JULIA_CUDA_MEMORY_POOL: none
JULIA_MPI_HAS_CUDA: "true"
OPENBLAS_NUM_THREADS: 1
OMPI_MCA_opal_warn_on_missing_libcuda: 0
MPITRAMPOLINE_LIB: /groups/esm/software/MPIwrapper/ompi4.1.5_cuda-12.2/lib64/libmpiwrapper.so
MPITRAMPOLINE_MPIEXEC: /groups/esm/software/MPIwrapper/ompi4.1.5_cuda-12.2/bin/mpiwrapperexec

steps:
- label: "initialize"
Expand Down Expand Up @@ -282,7 +286,6 @@ steps:
timeout_in_minutes: 15
env:
CLIMACOMMS_CONTEXT: "MPI"
JULIA_CUDA_MEMORY_POOL: "none"
agents:
slurm_ntasks: 2
slurm_gpus: 2
Expand All @@ -295,7 +298,6 @@ steps:
timeout_in_minutes: 15
env:
CLIMACOMMS_CONTEXT: "MPI"
JULIA_CUDA_MEMORY_POOL: "none"
agents:
slurm_ntasks: 3
slurm_gpus: 3
Expand All @@ -308,7 +310,6 @@ steps:
timeout_in_minutes: 15
env:
CLIMACOMMS_CONTEXT: "MPI"
JULIA_CUDA_MEMORY_POOL: "none"
agents:
slurm_ntasks: 4
slurm_gpus: 4
Expand All @@ -321,7 +322,6 @@ steps:
timeout_in_minutes: 15
env:
CLIMACOMMS_CONTEXT: "MPI"
JULIA_CUDA_MEMORY_POOL: "none"
agents:
slurm_ntasks: 2
slurm_gpus: 2
Expand All @@ -334,7 +334,6 @@ steps:
timeout_in_minutes: 15
env:
CLIMACOMMS_CONTEXT: "MPI"
JULIA_CUDA_MEMORY_POOL: "none"
agents:
slurm_ntasks: 3
slurm_gpus: 3
Expand All @@ -347,7 +346,6 @@ steps:
timeout_in_minutes: 15
env:
CLIMACOMMS_CONTEXT: "MPI"
JULIA_CUDA_MEMORY_POOL: "none"
agents:
slurm_ntasks: 4
slurm_gpus: 4
Expand Down

0 comments on commit b1b285c

Please sign in to comment.