Skip to content

Commit

Permalink
Merge pull request #796 from CliMA/js/gpu-util
Browse files Browse the repository at this point in the history
rm GPU utilities test
  • Loading branch information
juliasloan25 authored May 18, 2024
2 parents a06c248 + 527f496 commit 4190171
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
9 changes: 1 addition & 8 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ steps:
- "julia --project=experiments/ClimaCore/ -e 'using Pkg; Pkg.precompile()'"
- "julia --project=experiments/ClimaCore/ -e 'using Pkg; Pkg.status()'"

- echo "--- Instantiate AMIP env"
- echo "--- Instantiate ClimaEarth env"
- "julia --project=experiments/ClimaEarth/ -e 'using Pkg; Pkg.instantiate(;verbose=true)'"
- "julia --project=experiments/ClimaEarth/ -e 'using Pkg; Pkg.precompile()'"
- "julia --project=experiments/ClimaEarth/ -e 'using Pkg; Pkg.status()'"
Expand Down Expand Up @@ -119,13 +119,6 @@ steps:
slurm_ntasks: 2
slurm_mem: 16GB

- label: "GPU Utilities unit tests"
key: "utilities_gpu_tests"
command: "srun julia --color=yes --project=test/ test/utilities_tests.jl --run_name utilities_gpu --job_id utilities_gpu"
agents:
slurm_mem: 5GB
slurm_gpus: 1

- label: "Perf flame graph diff tests"
command: "julia --color=yes --project=perf/ perf/flame_test.jl --run_name flame_test --job_id flame_perf_target"
timeout_in_minutes: 5
Expand Down
5 changes: 5 additions & 0 deletions experiments/ClimaEarth/components/atmosphere/climaatmos.jl
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,11 @@ function get_atmos_config_dict(coupler_dict)
)
atmos_config = merge(atmos_config, Dict("output_dir" => atmos_output_dir))

# set restart file to the initial file saved in this location if it is not nothing
# TODO this is hardcoded and should be fixed once we have a better restart system
if !isnothing(atmos_config["restart_file"])
atmos_config["restart_file"] = replace(atmos_config["restart_file"], "active" => "0000")
end
return atmos_config
end

Expand Down

0 comments on commit 4190171

Please sign in to comment.