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

Set minimum version for ClimaComms #91

Closed
wants to merge 1 commit into from
Closed
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
2 changes: 2 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ authors = ["Climate Modeling Alliance"]
version = "0.0.1"

[deps]
ClimaComms = "3a4d1b5c-c61d-41fd-a00a-5873ba7a1b0d"
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
EnsembleKalmanProcesses = "aa8a2aa5-91d8-4396-bcef-d4f2ec43552d"
JLD2 = "033835bb-8acc-5ee8-8aae-3f567f8a3819"
Expand All @@ -19,6 +20,7 @@ CESExt = "CalibrateEmulateSample"

[compat]
CalibrateEmulateSample = "0.5"
ClimaComms = "0.6"
Distributions = "0.25"
EnsembleKalmanProcesses = "1"
JLD2 = "0.4"
Expand Down
2 changes: 2 additions & 0 deletions src/slurm.jl
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ function generate_sbatch_script(
$module_load_str

srun --output=$member_log --open-mode=append julia --project=$experiment_dir -e '
import ClimaComms: @import_required_backends
@import_required_backends
import ClimaCalibrate as CAL
iteration = $iter; member = $member
model_interface = "$model_interface"; include(model_interface)
Expand Down
2 changes: 2 additions & 0 deletions test/slurm_unit_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ module purge
module load climacommon/2024_05_27

srun --output=test/iteration_001/member_001/model_log.txt --open-mode=append julia --project=exp/dir -e '
import ClimaComms: @import_required_backends
@import_required_backends
import ClimaCalibrate as CAL
iteration = 1; member = 1
model_interface = "model_interface.jl"; include(model_interface)
Expand Down
Loading