Skip to content

Commit

Permalink
Merge pull request #2948 from CliMA/zs/cleanup_ci
Browse files Browse the repository at this point in the history
clean up ci and gpu scaling config files
  • Loading branch information
szy21 authored Apr 29, 2024
2 parents 87c7c6b + 97dd57a commit f4da67f
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 13 deletions.
3 changes: 0 additions & 3 deletions .buildkite/gpu_pipeline/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ env:
OMPI_MCA_opal_warn_on_missing_libcuda: 0
SLURM_KILL_BAD_EXIT: 1
SLURM_GRES_FLAGS: "allow-task-sharing"
CONFIG_PATH: "config/model_configs"
GPU_CONFIG_PATH: "config/gpu_configs/"
PERF_CONFIG_PATH: "config/perf_configs"
MPI_CONFIG_PATH: "config/mpi_configs"
CLIMAATMOS_GC_NSTEPS: 10

steps:
Expand Down
20 changes: 10 additions & 10 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
JULIA_MAX_NUM_PRECOMPILE_FILES: 100
JULIA_DEPOT_PATH: "${BUILDKITE_BUILD_PATH}/${BUILDKITE_PIPELINE_SLUG}/depot/default"
CONFIG_PATH: "config/model_configs"
GPU_CONFIG_PATH: "config/gpu_configs/"
GPU_CONFIG_PATH: "config/gpu_configs"
PERF_CONFIG_PATH: "config/perf_configs"
MPI_CONFIG_PATH: "config/mpi_configs"

Expand Down Expand Up @@ -669,7 +669,7 @@ steps:
key: "gpu_baroclinic_wave_rhoe"
command: >
julia --color=yes --project=examples examples/hybrid/driver.jl
--config_file $PERF_CONFIG_PATH/gpu_baroclinic_wave_rhoe.yml
--config_file $CONFIG_PATH/gpu_baroclinic_wave_rhoe.yml
artifact_paths: "gpu_implicit_barowave_ref/output_active/*"
agents:
slurm_mem: 16G
Expand All @@ -679,7 +679,7 @@ 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 gpu_baroclinic_wave_rhoe/output_active/hdf5_files.tar -C gpu_baroclinic_wave_rhoe
julia --color=yes --project=examples post_processing/compare_outputs.jl
--output_folder_1 sphere_baroclinic_wave_rhoe
Expand All @@ -696,7 +696,7 @@ steps:
- >
nsys profile --trace=nvtx,cuda --output=target_gpu_implicit_baroclinic_wave/output_active/report
julia --color=yes --project=examples examples/hybrid/driver.jl
--config_file ${GPU_CONFIG_PATH}target_gpu_implicit_baroclinic_wave.yml
--config_file ${GPU_CONFIG_PATH}/target_gpu_implicit_baroclinic_wave.yml
artifact_paths: "target_gpu_implicit_baroclinic_wave/output_active/*"
agents:
slurm_gpus: 1
Expand All @@ -710,7 +710,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_4process.yml
artifact_paths: "target_gpu_implicit_baroclinic_wave_4process/output_active/*"
env:
CLIMACORE_DISTRIBUTED: "MPI"
Expand All @@ -725,7 +725,7 @@ steps:
- >
nsys profile --trace=nvtx,cuda --output=central_gpu_hs_rhoe_equil_55km_nz63_0M/output_active/report
julia --color=yes --project=examples examples/hybrid/driver.jl
--config_file $GPU_CONFIG_PATH/central_gpu_hs_rhoe_equil_55km_nz63_0M.yml
--config_file $CONFIG_PATH/central_gpu_hs_rhoe_equil_55km_nz63_0M.yml
artifact_paths: "central_gpu_hs_rhoe_equil_55km_nz63_0M/output_active/*"
agents:
slurm_gpus: 1
Expand All @@ -736,7 +736,7 @@ steps:
- >
nsys profile --trace=nvtx,cuda --output=central_cloud_diag_gpu_hs_rhoe_equil_55km_nz63_0M/output_active/report
julia --color=yes --project=examples examples/hybrid/driver.jl
--config_file $GPU_CONFIG_PATH/central_cloud_diag_gpu_hs_rhoe_equil_55km_nz63_0M.yml
--config_file $CONFIG_PATH/central_cloud_diag_gpu_hs_rhoe_equil_55km_nz63_0M.yml
artifact_paths: "central_cloud_diag_gpu_hs_rhoe_equil_55km_nz63_0M/output_active/*"
agents:
slurm_gpus: 1
Expand All @@ -748,15 +748,15 @@ steps:
- >
nsys profile --trace=nvtx,cuda --output=gpu_aquaplanet_dyamond/output_active/report
julia --color=yes --project=examples examples/hybrid/driver.jl
--config_file ${GPU_CONFIG_PATH}gpu_aquaplanet_dyamond.yml
--config_file ${CONFIG_PATH}/gpu_aquaplanet_dyamond.yml
artifact_paths: "gpu_aquaplanet_dyamond/output_active/*"
agents:
slurm_gpus: 1

- label: "GPU: Diagnostic EDMFX aquaplanet"
command: >
julia --color=yes --project=examples examples/hybrid/driver.jl
--config_file $GPU_CONFIG_PATH/gpu_diagnostic_edmfx_aquaplanet.yml
--config_file $CONFIG_PATH/gpu_diagnostic_edmfx_aquaplanet.yml
artifact_paths: "gpu_diagnostic_edmfx_aquaplanet/output_active/*"
agents:
slurm_gpus: 1
Expand All @@ -765,7 +765,7 @@ steps:
- label: "GPU: Prognostic EDMFX aquaplanet"
command: >
julia --color=yes --project=examples examples/hybrid/driver.jl
--config_file $GPU_CONFIG_PATH/gpu_prognostic_edmfx_aquaplanet.yml
--config_file $CONFIG_PATH/gpu_prognostic_edmfx_aquaplanet.yml
artifact_paths: "gpu_prognostic_edmfx_aquaplanet/output_active/*"
agents:
slurm_gpus: 1
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ ClimaAtmos.jl Release Notes

Main
-------
- Move config files for gpu jobs on ci to config/model_configs/.
PR [#2948](https://github.com/CliMA/ClimaAtmos.jl/pull/2948).

v0.23.0
-------
Expand Down

0 comments on commit f4da67f

Please sign in to comment.