From a9b54d43b1c30d2ea31d5a6d102004670739c97a Mon Sep 17 00:00:00 2001 From: JoseEspinosa Date: Wed, 7 Aug 2024 16:23:58 +0200 Subject: [PATCH] Use a different env variable to recognize slurm cluster --- conf/crg.config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/crg.config b/conf/crg.config index 06debbfe..c25ca1e7 100755 --- a/conf/crg.config +++ b/conf/crg.config @@ -5,9 +5,9 @@ params { config_profile_url = 'http://www.linux.crg.es/index.php/Main_Page' } -def host = System.getenv("HOSTNAME") +def cluster_name = System.getenv("SLURM_CLUSTER_NAME") -if (host ==~ /^genoa64.*/) { +if (cluster_name == "crg") { process { executor = 'slurm' queue = 'genoa64'