Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ active = True
anomalyRefYear = 1980
climo_years ="1980-1984", "1985-1990",
enso_years = "1980-1984", "1985-1990",
environment_commands = "source <INSERT PATH TO CONDA>/conda.sh; conda activate <INSERT ENV NAME>"
mesh = "EC30to60E2r2"
parallelTaskCount = 6
partition = "compute"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ active = True
anomalyRefYear = 1985
climo_years = "1985-1989", "1990-1995",
enso_years = "1985-1989", "1990-1995",
environment_commands = "source <INSERT PATH TO CONDA>/conda.sh; conda activate <INSERT ENV NAME>"
mesh = "IcoswISC30E3r5"
parallelTaskCount = 6
partition = "compute"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ active = True
anomalyRefYear = 1980
climo_years ="1980-1984", "1985-1990",
enso_years = "1980-1984", "1985-1990",
environment_commands = "source <INSERT PATH TO CONDA>/conda.sh; conda activate <INSERT ENV NAME>"
mesh = "EC30to60E2r2"
parallelTaskCount = 6
partition = "compute"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ active = True
anomalyRefYear = 1985
climo_years = "1985-1989", "1990-1995",
enso_years = "1985-1989", "1990-1995",
environment_commands = "source <INSERT PATH TO CONDA>/conda.sh; conda activate <INSERT ENV NAME>"
mesh = "IcoswISC30E3r5"
parallelTaskCount = 6
partition = "compute"
Expand Down
1 change: 1 addition & 0 deletions tests/integration/template_weekly_comprehensive_v2.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ active = #expand active_mpas_analysis#
anomalyRefYear = 1980
climo_years ="1980-1984", "1985-1990",
enso_years = "1980-1984", "1985-1990",
environment_commands = "#expand mpas_analysis_environment_commands#"
mesh = "EC30to60E2r2"
parallelTaskCount = 6
partition = "#expand partition_long#"
Expand Down
1 change: 1 addition & 0 deletions tests/integration/template_weekly_comprehensive_v3.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ active = #expand active_mpas_analysis#
anomalyRefYear = 1985
climo_years = "1985-1989", "1990-1995",
enso_years = "1985-1989", "1990-1995",
environment_commands = "#expand mpas_analysis_environment_commands#"
mesh = "IcoswISC30E3r5"
parallelTaskCount = 6
partition = "#expand partition_long#"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ active = #expand active_mpas_analysis#
anomalyRefYear = 1980
climo_years ="1980-1984", "1985-1990",
enso_years = "1980-1984", "1985-1990",
environment_commands = "#expand mpas_analysis_environment_commands#"
mesh = "EC30to60E2r2"
parallelTaskCount = 6
partition = "#expand partition_long#"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ active = #expand active_mpas_analysis#
anomalyRefYear = 1985
climo_years = "1985-1989", "1990-1995",
enso_years = "1985-1989", "1990-1995",
environment_commands = "#expand mpas_analysis_environment_commands#"
mesh = "IcoswISC30E3r5"
parallelTaskCount = 6
partition = "#expand partition_long#"
Expand Down
7 changes: 7 additions & 0 deletions tests/integration/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
# (`environment_commands = ""` only redirects to Unified
# if specified under the [default] task)
"diags_environment_commands": "source <INSERT PATH TO CONDA>/conda.sh; conda activate <INSERT ENV NAME>",
"mpas_analysis_environment_commands": "source <INSERT PATH TO CONDA>/conda.sh; conda activate <INSERT ENV NAME>",
"global_time_series_environment_commands": "source <INSERT PATH TO CONDA>/conda.sh; conda activate <INSERT ENV NAME>",
"pcmdi_diags_environment_commands": "source <INSERT PATH TO CONDA>/conda.sh; conda activate <INSERT ENV NAME>",
# This is the environment setup for other tasks.
Expand Down Expand Up @@ -143,6 +144,9 @@ def get_expansions():
expansions["diags_environment_commands"] = TEST_SPECIFICS[
"diags_environment_commands"
]
expansions["mpas_analysis_environment_commands"] = TEST_SPECIFICS[
"mpas_analysis_environment_commands"
]
expansions["global_time_series_environment_commands"] = TEST_SPECIFICS[
"global_time_series_environment_commands"
]
Expand Down Expand Up @@ -305,6 +309,9 @@ def generate_cfgs(dry_run=False):
print("CFG FILES HAVE BEEN GENERATED FROM TEMPLATES WITH THESE SETTINGS:")
print(f"UNIQUE_ID={TEST_SPECIFICS['unique_id']}")
print(f"diags_environment_commands={expansions['diags_environment_commands']}")
print(
f"mpas_analysis_environment_commands={expansions['mpas_analysis_environment_commands']}"
)
print(
f"global_time_series_environment_commands={expansions['global_time_series_environment_commands']}"
)
Expand Down
Loading