Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clean up ci and gpu scaling config files #2948

Merged
merged 1 commit into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading