We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83e4e15 commit d802e1fCopy full SHA for d802e1f
clusterscope/cluster_info.py
@@ -180,7 +180,9 @@ def get_cluster_name(self) -> str:
180
"""
181
if self.is_slurm_cluster:
182
return self.slurm_cluster_info.get_cluster_name()
183
- if "GITHUB_ACTIONS" in os.environ:
+ if os.environ.get("MAST_HPC_JOB_NAME", None) is not None:
184
+ return "mast"
185
+ if os.environ.get("GITHUB_ACTIONS", None) is not None:
186
return "github"
187
if platform.system() == "Darwin":
188
return "macos"
0 commit comments