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

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


The following commit(s) were added to refs/heads/master by this push:
     new 1a0dd49  Fixing the suffix for --mem parameter in slurm script
1a0dd49 is described below

commit 1a0dd49755e0c7f3cd3fa3d7ea44f294faa1b4ca
Author: Dimuthu Wannipurage <[email protected]>
AuthorDate: Sun Mar 17 10:12:22 2019 -0400

    Fixing the suffix for --mem parameter in slurm script
---
 modules/configuration/server/src/main/resources/SLURM_Groovy.template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/modules/configuration/server/src/main/resources/SLURM_Groovy.template 
b/modules/configuration/server/src/main/resources/SLURM_Groovy.template
index 5926ad5..a30cecb 100644
--- a/modules/configuration/server/src/main/resources/SLURM_Groovy.template
+++ b/modules/configuration/server/src/main/resources/SLURM_Groovy.template
@@ -5,7 +5,7 @@
 if (queueName != null && queueName != "") out.print '#SBATCH -p ' + queueName 
+ '\n'
    if (nodes != null && nodes != "") out.print '#SBATCH -N ' + nodes + '\n'
    if (cpuCount != null && cpuCount != "") out.print '#SBATCH -n ' + cpuCount 
+ '\n'
-   if (usedMem != null && usedMem != "") out.print '#SBATCH --mem=' + usedMem 
+ 'MB\n'
+   if (usedMem != null && usedMem != "") out.print '#SBATCH --mem=' + usedMem 
+ 'M\n'
    if (mailAddress != null && mailAddress != "") out.print '#SBATCH 
--mail-user=' + mailAddress + '\n'
    if (accountString != null && accountString != "" ) out.print '#SBATCH -A ' 
+ accountString + '\n'
    if (maxWallTime != null && maxWallTime != "") out.print '#SBATCH -t ' + 
maxWallTime + '\n'

Reply via email to