Skip to content

Commit

Permalink
fix buildkite
Browse files Browse the repository at this point in the history
  • Loading branch information
kmdeck committed Sep 18, 2024
1 parent 145b001 commit 74e15a2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 16 deletions.
36 changes: 20 additions & 16 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ steps:
- "julia --project=.buildkite -e 'using Pkg; Pkg.status()'"

- echo "--- Instantiate test"
- "julia --project=test -e 'using Pkg; Pkg.develop(;path=\".\"); Pkg.instantiate(;verbose=true)'"
- "julia --project=test -e 'using Pkg; Pkg.develop(;path=\".\"); Pkg.add(\"MPI\"); Pkg.add(\"CUDA\"); Pkg.instantiate(;verbose=true)'"
- "julia --project=test -e 'using Pkg; Pkg.status()'"

- echo "--- Instantiate lib/ClimaLandSimulations"
Expand Down Expand Up @@ -63,15 +63,6 @@ steps:
command: "julia --color=yes --project=.buildkite experiments/standalone/Soil/richards_comparison.jl"
artifact_paths: "experiments/standalone/Soil/cpu/comparison*png"

- label: "Richards comparison to Bonan: GPU"
command: "julia --color=yes --project=.buildkite experiments/standalone/Soil/richards_comparison.jl"
artifact_paths: "experiments/standalone/Soil/gpu/comparison*png"
agents:
slurm_ntasks: 1
slurm_gres: "gpu:1"
env:
CLIMACOMMS_DEVICE: "CUDA"

- label: "vaira_test"
command: "julia --color=yes --project=.buildkite experiments/integrated/fluxnet/run_fluxnet.jl US-Var"
artifact_paths: "experiments/integrated/fluxnet/US-Var/out/*png"
Expand Down Expand Up @@ -130,7 +121,16 @@ steps:
artifact_paths: "experiments/standalone/Soil/artifacts/gpu/*png"
agents:
slurm_ntasks: 1
slurm_gres: "gpu:1"
slurm_gpus: 1
env:
CLIMACOMMS_DEVICE: "CUDA"

- label: "Richards comparison to Bonan: GPU"
command: "julia --color=yes --project=.buildkite experiments/standalone/Soil/richards_comparison.jl"
artifact_paths: "experiments/standalone/Soil/gpu/comparison*png"
agents:
slurm_ntasks: 1
slurm_gpus: 1
env:
CLIMACOMMS_DEVICE: "CUDA"

Expand Down Expand Up @@ -172,21 +172,25 @@ steps:
command: "julia --color=yes --project=test test/runtests.jl"
agents:
slurm_ntasks: 1
slurm_gres: "gpu:p100:1"
slurm_gpus: 1
env:
CLIMACOMMS_DEVICE: "CUDA"

- label: "soil/canopy lsm performance on GPU"
command: "julia --color=yes --project=.buildkite experiments/integrated/performance/profile_allocations.jl"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_ntasks: 1
slurm_gres: "gpu:p100:1"
slurm_gpus: 1
artifact_paths: "experiments/integrated/performance/flame*html"

- label: "Global Bucket on GPU (functional albedo)"
key: "global_bucket_function_gpu"
command: "julia --color=yes --project=.buildkite experiments/standalone/Bucket/global_bucket_function.jl"
agents:
slurm_ntasks: 1
slurm_gres: "gpu:p100:1"
slurm_gpus: 1
env:
CLIMACOMMS_DEVICE: "CUDA"
artifact_paths: "experiments/standalone/Bucket/artifacts/*gpu*"
Expand All @@ -196,7 +200,7 @@ steps:
command: "julia --color=yes --project=.buildkite experiments/standalone/Bucket/bucket_era5.jl"
agents:
slurm_ntasks: 1
slurm_gres: "gpu:p100:1"
slurm_gpus: 1
env:
CLIMACOMMS_DEVICE: "CUDA"
artifact_paths: "experiments/standalone/Bucket/artifacts_staticmap/*gpu*"
Expand All @@ -206,7 +210,7 @@ steps:
command: "julia --color=yes --project=.buildkite experiments/standalone/Bucket/global_bucket_temporalmap.jl"
agents:
slurm_ntasks: 1
slurm_gres: "gpu:p100:1"
slurm_gpus: 1
env:
CLIMACOMMS_DEVICE: "CUDA"
artifact_paths: "experiments/standalone/Bucket/artifacts_temporalmap/*gpu*"
Expand Down
1 change: 1 addition & 0 deletions experiments/integrated/performance/profile_allocations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ using ClimaCore
using Dates
using Insolation
import ClimaComms
@static pkgversion(ClimaComms) >= v"0.6" && ClimaComms.@import_required_backends
import ClimaUtilities.TimeVaryingInputs: TimeVaryingInput

using ClimaLand
Expand Down

0 comments on commit 74e15a2

Please sign in to comment.