Skip to content

Commit

Permalink
remove mode_name from output paths
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasloan25 committed Nov 18, 2024
1 parent 4577e55 commit d43066c
Show file tree
Hide file tree
Showing 9 changed files with 69 additions and 63 deletions.
4 changes: 2 additions & 2 deletions .buildkite/amip/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ steps:
command:
- echo "--- Run simulation"
- "srun --cpu-bind=threads --cpus-per-task=4 julia --threads=3 --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/amip.yml --job_id amip"
artifact_paths: "experiments/ClimaEarth/output/amip/amip/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/amip/artifacts/*"
timeout_in_minutes: 5760
env:
CLIMACOMMS_DEVICE: "CUDA"
Expand All @@ -61,6 +61,6 @@ steps:
- label: ":envelope: Slack report: current AMIP"
command:
- |
find experiments/ClimaEarth/output/amip/amip/artifacts/ -type f -name 'bias*.png' -print0 | while IFS= read -r -d '' file; do
find experiments/ClimaEarth/output/amip/ artifacts/ -type f -name 'bias*.png' -print0 | while IFS= read -r -d '' file; do
slack-upload -c "#coupler-report" -f "$$file" -m png -n "$$(basename "$$file" .png)" -x "$$(basename "$$file" .png)"
done
16 changes: 8 additions & 8 deletions .buildkite/benchmarks/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ steps:
- label: "CPU ClimaAtmos without diagnostic EDMF"
key: "climaatmos"
command: "srun julia --color=yes --project=test/ test/component_model_tests/climaatmos_standalone/atmos_driver.jl --config_file $BENCHMARK_CONFIG_PATH/climaatmos.yml --job_id climaatmos"
artifact_paths: "experiments/ClimaEarth/output/climaatmos/climaatmos/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/climaatmos/artifacts/*"
env:
CLIMACOMMS_CONTEXT: "MPI"
BUILD_HISTORY_HANDLE: ""
Expand All @@ -54,7 +54,7 @@ steps:
- label: "CPU ClimaAtmos with diagnostic EDMF"
key: "climaatmos_diagedmf"
command: "srun julia --color=yes --project=test/ test/component_model_tests/climaatmos_standalone/atmos_driver.jl --config_file $BENCHMARK_CONFIG_PATH/climaatmos_diagedmf.yml --job_id climaatmos_diagedmf"
artifact_paths: "experiments/ClimaEarth/output/climaatmos/climaatmos_diagedmf/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/climaatmos_diagedmf/artifacts/*"
env:
CLIMACOMMS_CONTEXT: "MPI"
BUILD_HISTORY_HANDLE: ""
Expand All @@ -67,7 +67,7 @@ steps:
- label: "CPU AMIP with diagnostic EDMF"
key: "amip_diagedmf"
command: "srun julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $BENCHMARK_CONFIG_PATH/amip_diagedmf.yml --job_id amip_diagedmf"
artifact_paths: "experiments/ClimaEarth/output/amip/amip_diagedmf/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/amip_diagedmf/artifacts/*"
env:
CLIMACOMMS_CONTEXT: "MPI"
BUILD_HISTORY_HANDLE: ""
Expand All @@ -80,7 +80,7 @@ steps:
- label: "CPU AMIP with diagnostic EDMF and io"
key: "amip_diagedmf_io"
command: "srun julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $BENCHMARK_CONFIG_PATH/amip_diagedmf_io.yml --job_id amip_diagedmf_io"
artifact_paths: "experiments/ClimaEarth/output/amip/amip_diagedmf_io/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/amip_diagedmf_io/artifacts/*"
env:
CLIMACOMMS_CONTEXT: "MPI"
BUILD_HISTORY_HANDLE: ""
Expand All @@ -95,7 +95,7 @@ steps:
- label: "GPU ClimaAtmos without diagnostic EDMF"
key: "gpu_climaatmos"
command: "srun julia --threads=3 --color=yes --project=test/ test/component_model_tests/climaatmos_standalone/atmos_driver.jl --config_file $BENCHMARK_CONFIG_PATH/climaatmos.yml --job_id gpu_climaatmos"
artifact_paths: "experiments/ClimaEarth/output/climaatmos/gpu_climaatmos/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/gpu_climaatmos/artifacts/*"
env:
CLIMACOMMS_CONTEXT: "MPI"
CLIMACOMMS_DEVICE: "CUDA"
Expand All @@ -108,7 +108,7 @@ steps:
- label: "GPU ClimaAtmos with diagnostic EDMF"
key: "gpu_climaatmos_diagedmf"
command: "srun julia --threads=3 --color=yes --project=test/ test/component_model_tests/climaatmos_standalone/atmos_driver.jl --config_file $BENCHMARK_CONFIG_PATH/climaatmos_diagedmf.yml --job_id gpu_climaatmos_diagedmf"
artifact_paths: "experiments/ClimaEarth/output/climaatmos/gpu_climaatmos_diagedmf/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/gpu_climaatmos_diagedmf/artifacts/*"
env:
CLIMACOMMS_CONTEXT: "MPI"
CLIMACOMMS_DEVICE: "CUDA"
Expand All @@ -121,7 +121,7 @@ steps:
- label: "GPU AMIP with diagnostic EDMF"
key: "gpu_amip_diagedmf"
command: "srun julia --threads=3 --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $BENCHMARK_CONFIG_PATH/amip_diagedmf.yml --job_id gpu_amip_diagedmf"
artifact_paths: "experiments/ClimaEarth/output/amip/gpu_amip_diagedmf/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/gpu_amip_diagedmf/artifacts/*"
env:
CLIMACOMMS_CONTEXT: "MPI"
CLIMACOMMS_DEVICE: "CUDA"
Expand All @@ -134,7 +134,7 @@ steps:
- label: "GPU AMIP with diagnostic EDMF and IO"
key: "gpu_amip_diagedmf_io"
command: "srun julia --threads=3 --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $BENCHMARK_CONFIG_PATH/amip_diagedmf_io.yml --job_id gpu_amip_diagedmf_io"
artifact_paths: "experiments/ClimaEarth/output/amip/gpu_amip_diagedmf_io/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/gpu_amip_diagedmf_io/artifacts/*"
env:
CLIMACOMMS_CONTEXT: "MPI"
CLIMACOMMS_DEVICE: "CUDA"
Expand Down
38 changes: 19 additions & 19 deletions .buildkite/longruns/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ steps:
- label: "Slabplanet_aqua: nocouple"
key: "slabplanet_aqua_atmos_sf_nocouple" # SF at each Atmos stage, no coupling, prescribed SST from atmos
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/slabplanet_aqua_atmos_sf_nocouple.yml --job_id slabplanet_aqua_atmos_sf_nocouple"
artifact_paths: "experiments/ClimaEarth/output/slabplanet_aqua/slabplanet_aqua_atmos_sf_nocouple/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/slabplanet_aqua_atmos_sf_nocouple/artifacts/*"
env:
BUILD_HISTORY_HANDLE: ""
agents:
Expand All @@ -73,7 +73,7 @@ steps:
- label: "Slabplanet_aqua: couple"
key: "slabplanet_aqua_atmos_sf_couple" # SF at each Atmos stage, coupling, prescribed SST from coupler - identical results to the above confirm 1) initial conditions in Atmos are unchanged compared to the slab, 2) coupling not introducing variability when constant surface
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/slabplanet_aqua_atmos_sf_couple.yml --job_id slabplanet_aqua_atmos_sf_couple"
artifact_paths: "experiments/ClimaEarth/output/slabplanet_aqua/slabplanet_aqua_atmos_sf_couple/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/slabplanet_aqua_atmos_sf_couple/artifacts/*"
env:
BUILD_HISTORY_HANDLE: ""
agents:
Expand All @@ -85,7 +85,7 @@ steps:
- label: "Slabplanet_aqua: coupler fluxes"
key: "slabplanet_aqua_coupler_sf" # SF at each coupler timestep, constant ocean - comparing to the above runs, this tests the sensitivity of less frequent flux calculation
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/slabplanet_aqua_coupler_sf.yml --job_id slabplanet_aqua_coupler_sf"
artifact_paths: "experiments/ClimaEarth/output/slabplanet_aqua/slabplanet_aqua_coupler_sf/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/slabplanet_aqua_coupler_sf/artifacts/*"
env:
BUILD_HISTORY_HANDLE: ""
agents:
Expand All @@ -97,7 +97,7 @@ steps:
- label: "Slabplanet_aqua: coupler fluxes, evolving ocean"
key: "slabplanet_aqua_coupler_sf_evolve_ocn" # SF at each coupler timestep, evolving ocean - comparing to the above run, tests the sensitivity of evolving ocean
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/slabplanet_aqua_coupler_sf_evolve_ocn.yml --job_id slabplanet_aqua_coupler_sf_evolve_ocn"
artifact_paths: "experiments/ClimaEarth/output/slabplanet_aqua/slabplanet_aqua_coupler_sf_evolve_ocn/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/slabplanet_aqua_coupler_sf_evolve_ocn/artifacts/*"
env:
BUILD_HISTORY_HANDLE: ""
agents:
Expand All @@ -109,7 +109,7 @@ steps:
- label: "Slabplanet_terra: coupler fluxes, evolving bucket"
key: "slabplanet_terra" # SF at each coupler timestep, evolving ocean - comparing to the above run, tests the sensitivity of evolving bucket
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/slabplanet_terra.yml --job_id slabplanet_terra"
artifact_paths: "experiments/ClimaEarth/output/slabplanet_terra/slabplanet_terra/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/slabplanet_terra/artifacts/*"
env:
BUILD_HISTORY_HANDLE: ""
agents:
Expand All @@ -121,7 +121,7 @@ steps:
- label: "Slabplanet: coupler fluxes, evolving ocean and land"
key: "slabplanet_coupler_sf_evolve_ocn"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/slabplanet_coupler_sf_evolve_ocn.yml --job_id slabplanet_coupler_sf_evolve_ocn"
artifact_paths: "experiments/ClimaEarth/output/slabplanet/slabplanet_coupler_sf_evolve_ocn/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/slabplanet_coupler_sf_evolve_ocn/artifacts/*"
env:
BUILD_HISTORY_HANDLE: ""
agents:
Expand Down Expand Up @@ -150,7 +150,7 @@ steps:
- label: "TARGET IDEALIZED: new target aqua - fixed ocean T, nocouple, atmos flux calc"
key: "slabplanet_aqua_target_nocouple"
command: "srun julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/slabplanet_aqua_target_nocouple.yml --job_id slabplanet_aqua_target_nocouple"
artifact_paths: "experiments/ClimaEarth/output/slabplanet_aqua/slabplanet_aqua_target_nocouple/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/slabplanet_aqua_target_nocouple/artifacts/*"
env:
CLIMACOMMS_CONTEXT: "MPI"
BUILD_HISTORY_HANDLE: ""
Expand All @@ -163,7 +163,7 @@ steps:
- label: "TARGET IDEALIZED: new target aqua - fixed ocean T, coupler flux calc"
key: "slabplanet_aqua_target"
command: "srun julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/slabplanet_aqua_target.yml --job_id slabplanet_aqua_target"
artifact_paths: "experiments/ClimaEarth/output/slabplanet_aqua/slabplanet_aqua_target/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/slabplanet_aqua_target/artifacts/*"
env:
CLIMACOMMS_CONTEXT: "MPI"
BUILD_HISTORY_HANDLE: ""
Expand All @@ -176,7 +176,7 @@ steps:
- label: "TARGET IDEALIZED: new target aqua - evolving slab ocean T"
key: "slabplanet_aqua_target_evolve_ocn"
command: "srun julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/slabplanet_aqua_target_evolve_ocn.yml --job_id slabplanet_aqua_target_evolve_ocn"
artifact_paths: "experiments/ClimaEarth/output/slabplanet_aqua/slabplanet_aqua_target_evolve_ocn/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/slabplanet_aqua_target_evolve_ocn/artifacts/*"
env:
CLIMACOMMS_CONTEXT: "MPI"
BUILD_HISTORY_HANDLE: ""
Expand All @@ -189,7 +189,7 @@ steps:
- label: "TARGET IDEALIZED: new target slab - fixed ocean T, bucket"
key: "slabplanet_target"
command: "srun julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/slabplanet_target.yml --job_id slabplanet_target"
artifact_paths: "experiments/ClimaEarth/output/slabplanet/slabplanet_target/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/slabplanet_target/artifacts/*"
env:
CLIMACOMMS_CONTEXT: "MPI"
BUILD_HISTORY_HANDLE: ""
Expand All @@ -202,7 +202,7 @@ steps:
- label: "TARGET IDEALIZED: new target slab - evolving slab ocean T, bucket"
key: "slabplanet_target_evolve_ocn"
command: "srun julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/slabplanet_target_evolve_ocn.yml --job_id slabplanet_target_evolve_ocn"
artifact_paths: "experiments/ClimaEarth/output/slabplanet/slabplanet_target_evolve_ocn/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/slabplanet_target_evolve_ocn/artifacts/*"
env:
CLIMACOMMS_CONTEXT: "MPI"
BUILD_HISTORY_HANDLE: ""
Expand All @@ -219,7 +219,7 @@ steps:
- label: "MPI AMIP FINE: new target amip"
key: "amip_target"
command: "srun julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/amip_target.yml --job_id amip_target"
artifact_paths: "experiments/ClimaEarth/output/amip/amip_target/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/amip_target/artifacts/*"
env:
CLIMACOMMS_CONTEXT: "MPI"
BUILD_HISTORY_HANDLE: ""
Expand All @@ -232,7 +232,7 @@ steps:
- label: "MPI AMIP FINE: new target amip: topo"
key: "amip_target_topo"
command: "srun julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/amip_target_topo.yml --job_id amip_target_topo"
artifact_paths: "experiments/ClimaEarth/output/amip/amip_target_topo/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/amip_target_topo/artifacts/*"
env:
CLIMACOMMS_CONTEXT: "MPI"
BUILD_HISTORY_HANDLE: ""
Expand All @@ -245,7 +245,7 @@ steps:
- label: "MPI AMIP FINE: new target amip: topo + diagedmf"
key: "amip_target_topo_diagedmf_cpu"
command: "srun julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/amip_target_topo_diagedmf_cpu.yml --job_id amip_target_topo_diagedmf_cpu"
artifact_paths: "experiments/ClimaEarth/output/amip/amip_target_topo_diagedmf_cpu/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/amip_target_topo_diagedmf_cpu/artifacts/*"
env:
CLIMACOMMS_CONTEXT: "MPI"
BUILD_HISTORY_HANDLE: ""
Expand All @@ -262,7 +262,7 @@ steps:
- label: "GPU AMIP FINE: new target amip: topo"
key: "amip_target_topo_gpu"
command: "srun julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/amip_target_topo.yml --job_id amip_target_topo_gpu"
artifact_paths: "experiments/ClimaEarth/output/amip/amip_target_topo_gpu/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/amip_target_topo_gpu/artifacts/*"
env:
CLIMACOMMS_CONTEXT: "MPI"
CLIMACOMMS_DEVICE: "CUDA"
Expand All @@ -276,7 +276,7 @@ steps:
command:
- echo "--- Run simulation"
- "srun --cpu-bind=threads --cpus-per-task=4 julia --threads=3 --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/amip_target_topo_diagedmf_gpu.yml --job_id amip_target_topo_diagedmf_gpu"
artifact_paths: "experiments/ClimaEarth/output/amip/amip_target_topo_diagedmf_gpu/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/amip_target_topo_diagedmf_gpu/artifacts/*"
timeout_in_minutes: 1440
env:
CLIMACOMMS_CONTEXT: "MPI"
Expand All @@ -296,7 +296,7 @@ steps:
command:
- echo "--- Run simulation"
- "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/longrun_amip_dyamond.yml --job_id longrun_amip_dyamond_gpu"
artifact_paths: "experiments/ClimaEarth/output/amip/longrun_amip_dyamond_gpu/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/longrun_amip_dyamond_gpu/artifacts/*"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
Expand All @@ -323,5 +323,5 @@ steps:

- label: ":envelope: Slack report: Slabplanet"
command:
- slack-upload -c "#coupler-report" -f experiments/ClimaEarth/output/slabplanet/slabplanet_coupler_sf_evolve_ocn/artifacts/total_energy_bucket.png -m png -n slab_coarse -x "Slabplanet energy conservation"
- slack-upload -c "#coupler-report" -f experiments/ClimaEarth/output/slabplanet/slabplanet_coupler_sf_evolve_ocn/artifacts/total_water_bucket.png -m png -n slab_coarse_w -x "Slabplanet water conservation"
- slack-upload -c "#coupler-report" -f experiments/ClimaEarth/output/slabplanet_coupler_sf_evolve_ocn/artifacts/total_energy_bucket.png -m png -n slab_coarse -x "Slabplanet energy conservation"
- slack-upload -c "#coupler-report" -f experiments/ClimaEarth/output/slabplanet_coupler_sf_evolve_ocn/artifacts/total_water_bucket.png -m png -n slab_coarse_w -x "Slabplanet water conservation"
8 changes: 4 additions & 4 deletions .buildkite/nightly/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ steps:
command:
- echo "--- Run simulation"
- "julia --threads=3 --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/amip_coarse.yml --job_id amip_coarse"
artifact_paths: "experiments/ClimaEarth/output/amip/amip_coarse/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/amip_coarse/artifacts/*"
timeout_in_minutes: 840
env:
CLIMACOMMS_DEVICE: "CUDA"
Expand All @@ -67,7 +67,7 @@ steps:
command:
- echo "--- Run simulation"
- "julia --threads=3 --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/amip_coarse_random.yml --job_id amip_coarse_random1"
artifact_paths: "experiments/ClimaEarth/output/amip/amip_coarse_random1/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/amip_coarse_random1/artifacts/*"
timeout_in_minutes: 1080
env:
CLIMACOMMS_DEVICE: "CUDA"
Expand All @@ -82,7 +82,7 @@ steps:
command:
- echo "--- Run simulation"
- "julia --threads=3 --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/amip_coarse_random.yml --job_id amip_coarse_random2"
artifact_paths: "experiments/ClimaEarth/output/amip/amip_coarse_random2/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/amip_coarse_random2/artifacts/*"
timeout_in_minutes: 1080
env:
CLIMACOMMS_DEVICE: "CUDA"
Expand All @@ -97,7 +97,7 @@ steps:
command:
- echo "--- Run simulation"
- "julia --threads=3 --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/amip_coarse_random.yml --job_id amip_coarse_random3"
artifact_paths: "experiments/ClimaEarth/output/amip/amip_coarse_random3/artifacts/*"
artifact_paths: "experiments/ClimaEarth/output/amip_coarse_random3/artifacts/*"
timeout_in_minutes: 1080
env:
CLIMACOMMS_DEVICE: "CUDA"
Expand Down
Loading

0 comments on commit d43066c

Please sign in to comment.