Skip to content

Commit

Permalink
Set minimum version for ClimaComms
Browse files Browse the repository at this point in the history
  • Loading branch information
nefrathenrici committed Jul 5, 2024
1 parent 8fd8e55 commit 1ee1ead
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
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

0 comments on commit 1ee1ead

Please sign in to comment.