You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by di...@apache.org on 2020/06/30 23:06:00 UTC

[airavata] branch param-sweep updated: Fixing a typo in param sweep job script

This is an automated email from the ASF dual-hosted git repository.

dimuthuupe pushed a commit to branch param-sweep
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/param-sweep by this push:
     new 1e3281e  Fixing a typo in param sweep job script
1e3281e is described below

commit 1e3281e30bb0c25620c2ac8ca29aeed1041bf727
Author: Dimuthu Wannipurage <di...@gmail.com>
AuthorDate: Tue Jun 30 19:05:48 2020 -0400

    Fixing a typo in param sweep job script
---
 .../server/src/main/resources/SLURM_Fork_Sweep_Groovy.template        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/configuration/server/src/main/resources/SLURM_Fork_Sweep_Groovy.template b/modules/configuration/server/src/main/resources/SLURM_Fork_Sweep_Groovy.template
index 81adbf3..5458eab 100644
--- a/modules/configuration/server/src/main/resources/SLURM_Fork_Sweep_Groovy.template
+++ b/modules/configuration/server/src/main/resources/SLURM_Fork_Sweep_Groovy.template
@@ -29,8 +29,8 @@ if (queueName != null && queueName != "") out.print '#SBATCH -p ' + queueName +
    out.print 'pushd $i \n'
 
    out.print '(\n'
-   out.print 'export SCRATCH_ID=$node[$1]\n'
-   out.print 'export GMS_HOST=$node[$i]\n'
+   out.print 'export SCRATCH_ID=$NODES[$1]\n'
+   out.print 'export GMS_HOST=$NODES[$i]\n'
 
    if (preJobCommands != null) for(pjc in preJobCommands)  out.print pjc +' ;\n'
    if (jobSubmitterCommand != null && jobSubmitterCommand != "")  out.print jobSubmitterCommand + ' '