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 99f97f7  minor change in param sweep job script
99f97f7 is described below

commit 99f97f784bfafff6bc991b5ebe50c498819dd110
Author: Dimuthu Wannipurage <[email protected]>
AuthorDate: Sat Jul 4 02:34:17 2020 -0400

    minor change in param sweep job script
---
 .../server/src/main/resources/SLURM_Fork_Sweep_Groovy.template          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 2b9a7d0..6b8a607 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,7 +29,7 @@ if (queueName != null && queueName != "") out.print '#SBATCH 
-p ' + queueName +
    out.print 'pushd $i \n'
 
    out.print '(\n'
-   out.print 'export SCRATCH_ID=${NODES[$1]}\n'
+   out.print 'export SCRATCH_ID=${NODES[$i]}\n'
    out.print 'export GMS_HOST=${NODES[$i]}\n'
 
    if (preJobCommands != null) for(pjc in preJobCommands)  out.print pjc +' 
;\n'

Reply via email to