Skip to content

Commit

Permalink
Merge pull request #727 from JoseEspinosa/crg
Browse files Browse the repository at this point in the history
Use a different env variable to recognize CRG SLURM cluster
  • Loading branch information
JoseEspinosa authored Aug 7, 2024
2 parents dd2adf2 + 2b8a1c7 commit 70c5b57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conf/crg.config
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 70c5b57

Please sign in to comment.