Skip to content

Commit

Permalink
Merge pull request #3275 from CliMA/zs/cleanup_ci
Browse files Browse the repository at this point in the history
clean up ci configs
  • Loading branch information
szy21 authored Aug 30, 2024
2 parents 92da199 + 6d7064b commit a72783f
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 67 deletions.
30 changes: 15 additions & 15 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -762,12 +762,12 @@ steps:
steps:

- label: "GPU: baroclinic wave"
key: "gpu_baroclinic_wave_rhoe"
key: "sphere_baroclinic_wave_rhoe_gpu"
command: >
julia --color=yes --project=examples examples/hybrid/driver.jl
--config_file $CONFIG_PATH/gpu_baroclinic_wave_rhoe.yml
--job_id gpu_baroclinic_wave_rhoe
artifact_paths: "gpu_implicit_barowave_ref/output_active/*"
--config_file $CONFIG_PATH/sphere_baroclinic_wave_rhoe.yml
--job_id sphere_baroclinic_wave_rhoe_gpu
artifact_paths: "sphere_baroclinic_wave_rhoe_gpu/output_active/*"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
Expand All @@ -778,15 +778,15 @@ steps:
command: >
tar xvf sphere_baroclinic_wave_rhoe/output_active/hdf5_files.tar -C sphere_baroclinic_wave_rhoe
tar xvf gpu_baroclinic_wave_rhoe/output_active/hdf5_files.tar -C gpu_baroclinic_wave_rhoe
tar xvf sphere_baroclinic_wave_rhoe_gpu/output_active/hdf5_files.tar -C sphere_baroclinic_wave_rhoe_gpu
julia --color=yes --project=examples post_processing/compare_outputs.jl
--output_folder_1 sphere_baroclinic_wave_rhoe
--output_folder_2 gpu_baroclinic_wave_rhoe --t_end 10days
--output_folder_2 sphere_baroclinic_wave_rhoe_gpu --t_end 10days
--compare_state false
depends_on:
- "sphere_baroclinic_wave_rhoe"
- "gpu_baroclinic_wave_rhoe"
- "sphere_baroclinic_wave_rhoe_gpu"

- label: "GPU: GPU dry baroclinic wave"
key: "target_gpu_implicit_baroclinic_wave"
Expand All @@ -812,7 +812,7 @@ steps:
- >
srun --cpu-bind=threads --cpus-per-task=4
julia --threads=3 --color=yes --project=examples examples/hybrid/driver.jl
--config_file ${GPU_CONFIG_PATH}/target_gpu_implicit_baroclinic_wave_4process.yml
--config_file ${GPU_CONFIG_PATH}/target_gpu_implicit_baroclinic_wave.yml
--job_id target_gpu_implicit_baroclinic_wave_4process
artifact_paths: "target_gpu_implicit_baroclinic_wave_4process/output_active/*"
env:
Expand Down Expand Up @@ -867,12 +867,12 @@ steps:
slurm_gpus: 1

- label: "GPU: Diagnostic EDMFX aquaplanet"
key: "gpu_diagnostic_edmfx_aquaplanet"
key: "diagnostic_edmfx_aquaplanet_gpu"
command: >
julia --color=yes --project=examples examples/hybrid/driver.jl
--config_file $CONFIG_PATH/gpu_diagnostic_edmfx_aquaplanet.yml
--job_id gpu_diagnostic_edmfx_aquaplanet
artifact_paths: "gpu_diagnostic_edmfx_aquaplanet/output_active/*"
--config_file $CONFIG_PATH/diagnostic_edmfx_aquaplanet_gpu.yml
--job_id diagnostic_edmfx_aquaplanet_gpu
artifact_paths: "diagnostic_edmfx_aquaplanet_gpu/output_active/*"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
Expand All @@ -882,9 +882,9 @@ steps:
- label: "GPU: Prognostic EDMFX aquaplanet"
command: >
julia --color=yes --project=examples examples/hybrid/driver.jl
--config_file $CONFIG_PATH/gpu_prognostic_edmfx_aquaplanet.yml
--job_id gpu_prognostic_edmfx_aquaplanet
artifact_paths: "gpu_prognostic_edmfx_aquaplanet/output_active/*"
--config_file $CONFIG_PATH/prognostic_edmfx_aquaplanet.yml
--job_id prognostic_edmfx_aquaplanet_gpu
artifact_paths: "prognostic_edmfx_aquaplanet_gpu/output_active/*"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
Expand Down

This file was deleted.

5 changes: 2 additions & 3 deletions config/model_configs/diagnostic_edmfx_aquaplanet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ edmfx_sgs_mass_flux: true
edmfx_sgs_diffusive_flux: true
moist: equil
cloud_model: "quadrature_sgs"
precip_model: 0M
override_τ_precip: false
precip_model: 1M
dt: 100secs
t_end: 12hours
dt_save_state_to_disk: 12hours
regression_test: true
toml: [toml/diagnostic_edmfx_0M.toml]
toml: [toml/diagnostic_edmfx.toml]
ode_algo: ARS343
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
dt_save_state_to_disk: "3hours"
dt_save_to_sol: "Inf"
surface_setup: DefaultMoninObukhov
rad: clearsky
turbconv: diagnostic_edmfx
Expand All @@ -13,8 +11,10 @@ edmfx_nh_pressure: true
edmfx_sgs_mass_flux: true
edmfx_sgs_diffusive_flux: true
moist: equil
cloud_model: "quadrature_sgs"
precip_model: 1M
dt: 100secs
t_end: 6hours
t_end: 12hours
dt_save_state_to_disk: 12hours
toml: [toml/diagnostic_edmfx.toml]
ode_algo: ARS343
5 changes: 0 additions & 5 deletions config/model_configs/gpu_baroclinic_wave_rhoe.yml

This file was deleted.

30 changes: 0 additions & 30 deletions config/model_configs/gpu_prognostic_edmfx_aquaplanet.yml

This file was deleted.

2 changes: 1 addition & 1 deletion config/model_configs/prognostic_edmfx_aquaplanet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ edmfx_sgs_mass_flux: true
edmfx_sgs_diffusive_flux: true
moist: equil
cloud_model: "quadrature_sgs"
precip_model: 0M
precip_model: 1M
dt: 10secs
t_end: 1hours
dt_save_state_to_disk: 600secs
Expand Down

0 comments on commit a72783f

Please sign in to comment.