From 1768cc25938fc83653122f5b47aebbd926f266d4 Mon Sep 17 00:00:00 2001 From: lucamar Date: Thu, 26 Oct 2023 06:30:21 +0200 Subject: [PATCH 1/2] Update ior_check.py Fix syntax --- checks/system/io/ior_check.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/checks/system/io/ior_check.py b/checks/system/io/ior_check.py index a9cf4b6be..ad571c919 100644 --- a/checks/system/io/ior_check.py +++ b/checks/system/io/ior_check.py @@ -11,7 +11,7 @@ class IorCheck(rfm.RegressionTest): - base_dir = parameter(['${SCRATCH:-/captor/scratch/cscs}', + base_dir = parameter(['/capstor/scratch/cscs', '/scratch/snx3000tds', '/scratch/snx3000', '/scratch/shared/fulen', @@ -32,7 +32,7 @@ def add_fs_tags(self): @run_after('init') def set_fs_information(self): self.fs = { - ''${SCRATCH:-/captor/scratch/cscs}': { + '/capstor/scratch/cscs': { 'valid_systems': ['eiger:mc', 'pilatus:mc'], 'eiger': { 'num_tasks': 10, From 9efa963474cbf2c215ad619f1fb297e78b9d6df9 Mon Sep 17 00:00:00 2001 From: Luca Date: Thu, 26 Oct 2023 12:48:52 +0200 Subject: [PATCH 2/2] Revert to absolute path to avoid syntax error --- checks/system/io/ior_check.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/checks/system/io/ior_check.py b/checks/system/io/ior_check.py index a9cf4b6be..ad571c919 100644 --- a/checks/system/io/ior_check.py +++ b/checks/system/io/ior_check.py @@ -11,7 +11,7 @@ class IorCheck(rfm.RegressionTest): - base_dir = parameter(['${SCRATCH:-/captor/scratch/cscs}', + base_dir = parameter(['/capstor/scratch/cscs', '/scratch/snx3000tds', '/scratch/snx3000', '/scratch/shared/fulen', @@ -32,7 +32,7 @@ def add_fs_tags(self): @run_after('init') def set_fs_information(self): self.fs = { - ''${SCRATCH:-/captor/scratch/cscs}': { + '/capstor/scratch/cscs': { 'valid_systems': ['eiger:mc', 'pilatus:mc'], 'eiger': { 'num_tasks': 10,