Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update buildkite config #457

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 17 additions & 49 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
agents:
queue: new-central
modules: climacommon/2024_02_20
partition: expansion

env:
JULIA_VERSION: "1.10.0"
CUDA_VERSION: "12.2"
JULIA_LOAD_PATH: "${JULIA_LOAD_PATH}:${BUILDKITE_BUILD_CHECKOUT_PATH}/.buildkite"
OPENBLAS_NUM_THREADS: 1
JULIA_NVTX_CALLBACKS: gc
JULIA_CPU_TARGET: 'broadwell;skylake;icelake;cascadelake;epyc'
OMPI_MCA_opal_warn_on_missing_libcuda: 0
JULIA_MAX_NUM_PRECOMPILE_FILES: 100

steps:
- label: "init cpu environments :computer:"
Expand All @@ -13,14 +22,6 @@ steps:
- "julia --project=examples -e 'using Pkg; Pkg.precompile()'"
- "julia --project=examples -e 'using Pkg; Pkg.status()'"

agents:
config: cpu
queue: central
slurm_ntasks: 1
# slurm_cpus_per_task: 8
# env:
# JULIA_NUM_PRECOMPILE_TASKS: 8

- label: "init gpu environments :computer:"
key: "init_gpu_env"
command:
Expand All @@ -31,13 +32,8 @@ steps:
- "julia --project=gpuenv -e 'using Pkg; Pkg.status()'"

agents:
config: gpu
queue: central
slurm_ntasks: 1
slurm_gres: "gpu:1"
# slurm_cpus_per_task: 8
# env:
# JULIA_NUM_PRECOMPILE_TASKS: 8
partition: gpu

- wait

Expand All @@ -47,26 +43,19 @@ steps:
- label: "CPU unit tests"
command: "julia --color=yes --project=examples test/runtests.jl"
agents:
config: cpu
queue: central
slurm_ntasks: 1
slurm_mem_per_cpu: 6G

- label: "Threaded CPU unit tests"
command: "julia --threads 8 --color=yes --project=examples test/runtests.jl"
agents:
config: cpu
queue: central
slurm_cpus_per_task: 8
slurm_mem_per_cpu: 6G

- label: "GPU unit tests"
command: "julia --color=yes --project=gpuenv test/runtests_gpu.jl"
agents:
config: gpu
queue: central
slurm_ntasks: 1
slurm_gres: "gpu:1"
partition: gpu

- group: "Flame graphs"
steps:
Expand All @@ -75,68 +64,47 @@ steps:
command: "julia --color=yes --project=examples perf/flame.jl gray_atm.jl"
artifact_paths: "flame_graphs/gray_atm/*"
agents:
config: cpu
queue: central
slurm_ntasks: 1
slurm_mem_per_cpu: 6G

- label: "Flame Graph: Clear Sky"
command: "julia --color=yes --project=examples perf/flame.jl clear_sky.jl"
artifact_paths: "flame_graphs/clear_sky/*"
agents:
config: cpu
queue: central
slurm_ntasks: 1
slurm_mem_per_cpu: 6G

- label: "Flame Graph: All Sky"
command: "julia --color=yes --project=examples perf/flame.jl all_sky.jl"
artifact_paths: "flame_graphs/all_sky/*"
agents:
config: cpu
queue: central
slurm_ntasks: 1
slurm_mem_per_cpu: 6G

- group: "Benchmarks"
steps:

- label: "Benchmarks"
command: "julia --color=yes --project=examples perf/benchmark.jl"
agents:
config: cpu
queue: central
slurm_ntasks: 1
slurm_mem_per_cpu: 6G

- label: "Benchmarks (Float32)"
command: "julia --color=yes --project=examples perf/benchmark.jl Float32"
agents:
config: cpu
queue: central
slurm_ntasks: 1
slurm_mem_per_cpu: 6G

- label: "Threaded benchmarks"
command: "julia --threads=8 --color=yes --project=examples perf/benchmark.jl"
agents:
config: cpu
queue: central
slurm_cpus_per_task: 8
slurm_mem_per_cpu: 6G

- label: "GPU benchmarks"
command: "julia --color=yes --project=gpuenv perf/benchmark.jl"
agents:
config: gpu
queue: central
slurm_ntasks: 1
slurm_gres: "gpu:1"
partition: gpu

- label: "GPU All-sky DYAMOND benchmark"
command: "julia --color=yes --project=gpuenv test/all_sky_dyamond_gpu_benchmark.jl"
agents:
config: gpu
queue: central
slurm_ntasks: 1
slurm_gres: "gpu:1"
partition: gpu
Loading