Skip to content

Commit a292200

Browse files
committed
Parameterize coupler path
1 parent 3f2b66b commit a292200

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.buildkite/perf/pipeline.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ env:
88
JULIA_MAX_NUM_PRECOMPILE_FILES: 100
99
GKSwstype: 100
1010
SLURM_KILL_BAD_EXIT: 1
11-
CONFIG_PATH: "ClimaCoupler.jl/config/nightly_configs"
12-
BENCHMARK_CONFIG_PATH: "ClimaCoupler.jl/config/benchmark_configs"
11+
COUPLER_PATH: ".buildkite/perf/ClimaCoupler.jl"
12+
CONFIG_PATH: "$COUPLER_PATH/config/nightly_configs"
13+
BENCHMARK_CONFIG_PATH: "$COUPLER_PATH/config/benchmark_configs"
1314

1415
timeout_in_minutes: 840
1516

@@ -19,9 +20,11 @@ steps:
1920
command:
2021
- "echo $$JULIA_DEPOT_PATH"
2122
- echo "--- Instantiate AMIP env"
22-
- "julia --project=ClimaCoupler.jl/experiments/ClimaEarth/ -e 'using Pkg; Pkg.instantiate(;verbose=true)'"
23-
- "julia --project=ClimaCoupler.jl/experiments/ClimaEarth/ -e 'using Pkg; Pkg.precompile()'"
24-
- "julia --project=ClimaCoupler.jl/experiments/ClimaEarth/ -e 'using Pkg; Pkg.status()'"
23+
# Instantiate and dev install ClimaCore
24+
- "julia --project=$COUPLER_PATH/experiments/ClimaEarth/ -e 'using Pkg; Pkg.instantiate(;verbose=true)'"
25+
- 'julia --project=$COUPLER_PATH/experiments/ClimaEarth/ -e ''using Pkg; Pkg.develop(path="./ClimaCore.jl")'''
26+
- "julia --project=$COUPLER_PATH/experiments/ClimaEarth/ -e 'using Pkg; Pkg.precompile()'"
27+
- "julia --project=$COUPLER_PATH/experiments/ClimaEarth/ -e 'using Pkg; Pkg.status()'"
2528
agents:
2629
slurm_gpus: 1
2730
slurm_cpus_per_task: 8
@@ -35,7 +38,7 @@ steps:
3538
steps:
3639
- label: "Flagship AMIP GPU with prognostic EDMF + 1M + integrated land (16 helems)"
3740
key: "gpu_amip_progedmf_1M_land_he16"
38-
command: "srun julia --threads=3 --color=yes --project=ClimaCoupler.jl/experiments/ClimaEarth/ ClimaCoupler.jl/experiments/ClimaEarth/run_amip.jl --config_file $BENCHMARK_CONFIG_PATH/amip_progedmf_1m_land_he16.yml --job_id gpu_amip_progedmf_1M_land_he16"
41+
command: "srun julia --threads=3 --color=yes --project=$COUPLER_PATH/experiments/ClimaEarth/ $COUPLER_PATH/experiments/ClimaEarth/run_amip.jl --config_file $BENCHMARK_CONFIG_PATH/amip_progedmf_1m_land_he16.yml --job_id gpu_amip_progedmf_1M_land_he16"
3942
artifact_paths: "output/gpu_amip_progedmf_1M_land_he16/artifacts/*"
4043
env:
4144
CLIMACOMMS_DEVICE: "CUDA"

0 commit comments

Comments
 (0)