From 429468bc7c9e76ecec0a1c35b1e0d9d530c3b446 Mon Sep 17 00:00:00 2001
From: Felix Kleinert <f.kleinert@fz-juelich.de>
Date: Wed, 29 Apr 2020 14:52:22 +0200
Subject: [PATCH] update for hdfml

---
 src/helpers.py                      | 2 +-
 src/run_modules/experiment_setup.py | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/helpers.py b/src/helpers.py
index df234b3c..4a6b1b2f 100644
--- a/src/helpers.py
+++ b/src/helpers.py
@@ -130,7 +130,7 @@ def prepare_host(create_new=True, sampling="daily"):
         path = f"/home/{user}/machinelearningtools/data/toar_{sampling}/"
     elif (len(hostname) > 2) and (hostname[:2] == "jr"):
         path = f"/p/project/cjjsc42/{user}/DATA/toar_{sampling}/"
-    elif (len(hostname) > 2) and (hostname[:2] in ['jw', 'ju']):
+    elif (len(hostname) > 2) and (hostname[:2] in ['jw', 'ju'] or hostname[:5] in ['hdfml']):
         path = f"/p/project/deepacf/intelliaq/{user}/DATA/toar_{sampling}/"
     elif runner_regex.match(hostname) is not None:
         path = f"/home/{user}/machinelearningtools/data/toar_{sampling}/"
diff --git a/src/run_modules/experiment_setup.py b/src/run_modules/experiment_setup.py
index 278a481f..267b6c66 100644
--- a/src/run_modules/experiment_setup.py
+++ b/src/run_modules/experiment_setup.py
@@ -25,8 +25,8 @@ DEFAULT_TRANSFORMATION = {"scope": "data", "method": "standardise", "mean": "est
 DEFAULT_PLOT_LIST = ["PlotMonthlySummary", "PlotStationMap", "PlotClimatologicalSkillScore", "PlotTimeSeries",
                      "PlotCompetitiveSkillScore", "PlotBootstrapSkillScore", "PlotConditionalQuantiles",
                      "PlotAvailability"]
-DEFAULT_HPC_LOGIN_LIST = ["ju"]
-DEFAULT_HPC_HOST_LIST = ["jw", "jr"]  # first part of node names for Juwels (jw[comp], ju[login]) and Jureca(jr).
+DEFAULT_HPC_LOGIN_LIST = ["ju", "hdfmll"]
+DEFAULT_HPC_HOST_LIST = ["jw", "jr", "hdfmlc"]  # first part of node names for Juwels (jw[comp], ju[login]) and Jureca(jr).
 
 
 class ExperimentSetup(RunEnvironment):
-- 
GitLab