airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shame...@apache.org
Subject airavata git commit: Change total memory 'mem' to 'vmem' and append 'M' to make it MB
Date Wed, 14 Dec 2016 16:46:38 GMT
Repository: airavata
Updated Branches:
  refs/heads/develop a42ccd728 -> 8fceeb7c9


Change total memory 'mem' to 'vmem' and append 'M' to make it MB


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/8fceeb7c
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/8fceeb7c
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/8fceeb7c

Branch: refs/heads/develop
Commit: 8fceeb7c9609c682dcf6ed174f43e37d6bc74786
Parents: a42ccd7
Author: Shameera Rathnayaka <shameerainfo@gmail.com>
Authored: Wed Dec 14 11:46:15 2016 -0500
Committer: Shameera Rathnayaka <shameerainfo@gmail.com>
Committed: Wed Dec 14 11:46:32 2016 -0500

----------------------------------------------------------------------
 .../configuration/server/src/main/resources/PBS_Groovy.template    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/8fceeb7c/modules/configuration/server/src/main/resources/PBS_Groovy.template
----------------------------------------------------------------------
diff --git a/modules/configuration/server/src/main/resources/PBS_Groovy.template b/modules/configuration/server/src/main/resources/PBS_Groovy.template
index a1d01e6..71659bf 100644
--- a/modules/configuration/server/src/main/resources/PBS_Groovy.template
+++ b/modules/configuration/server/src/main/resources/PBS_Groovy.template
@@ -12,7 +12,7 @@
         out.print '#PBS -l gres=ccm \n'
    if (standardOutFile != null && standardOutFile != "") out.print '#PBS -o ' + standardOutFile
+ '\n'
    if (standardErrorFile != null && standardErrorFile != "") out.print '#PBS -e '
+ standardErrorFile + '\n'
-   if (usedMem != null && usedMem != "") out.print '#PBS -l mem=' + usedMem + '\n'
+   if (usedMem != null && usedMem != "") out.print '#PBS -l vmem=' + usedMem + 'M\n'
    if (nodes != null && nodes != "" && processPerNode != null &&
processPerNode != "")
         out.print '#PBS -l nodes=' + nodes + ':ppn=' + processPerNode + '\n'
 %>


Mime
View raw message