airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject [1/2] git commit: cahnging pbs template
Date Fri, 11 Jul 2014 22:02:23 GMT
Repository: airavata
Updated Branches:
  refs/heads/master 8117f6332 -> eed477b8d


cahnging pbs template


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

Branch: refs/heads/master
Commit: 21ffc69aab6bb6dbe99777dba0bb0c0a623b9ccf
Parents: 95d35ad
Author: lahiru <lahiru@apache.org>
Authored: Fri Jul 11 18:01:42 2014 -0400
Committer: lahiru <lahiru@apache.org>
Committed: Fri Jul 11 18:01:42 2014 -0400

----------------------------------------------------------------------
 .../server/src/main/resources/PBSTemplate.xslt          | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/21ffc69a/modules/configuration/server/src/main/resources/PBSTemplate.xslt
----------------------------------------------------------------------
diff --git a/modules/configuration/server/src/main/resources/PBSTemplate.xslt b/modules/configuration/server/src/main/resources/PBSTemplate.xslt
index e4398e0..584c70b 100644
--- a/modules/configuration/server/src/main/resources/PBSTemplate.xslt
+++ b/modules/configuration/server/src/main/resources/PBSTemplate.xslt
@@ -9,6 +9,7 @@
 <xsl:output method="text" />
 <xsl:template match="/ns:JobDescriptor">
 #! /bin/sh
+# PBS batch job script built by Globus job manager
 #   <xsl:choose>
     <xsl:when test="ns:shellName">
 ##PBS -S <xsl:value-of select="ns:shellName"/>
@@ -34,11 +35,6 @@
     </xsl:when>
     </xsl:choose>
     <xsl:choose>
-    <xsl:when test="ns:jobName">
-#PBS -N <xsl:value-of select="ns:jobName"/>
-    </xsl:when>
-    </xsl:choose>
-    <xsl:choose>
     <xsl:when test="ns:standardOutFile">
 #PBS -o <xsl:value-of select="ns:standardOutFile"/>
     </xsl:when>
@@ -64,7 +60,11 @@ export<xsl:text>   </xsl:text><xsl:value-of select="."/>
     </xsl:for-each>
 cd <xsl:text>   </xsl:text><xsl:value-of select="ns:workingDirectory"/><xsl:text>&#xa;</xsl:text>
     <xsl:choose><xsl:when test="ns:jobSubmitterCommand">
-<xsl:value-of select="ns:jobSubmitterCommand"/><xsl:text>   </xsl:text></xsl:when></xsl:choose><xsl:value-of
select="ns:executablePath"/><xsl:text>   </xsl:text>
+<xsl:value-of select="ns:jobSubmitterCommand"/><xsl:text>   </xsl:text>
<xsl:choose>
+    <xsl:when test="(ns:nodes)">
+<xsl:value-of select="ns:nodes"/><xsl:text>   </xsl:text>
+    </xsl:when>
+    </xsl:choose></xsl:when></xsl:choose><xsl:value-of select="ns:executablePath"/><xsl:text>
  </xsl:text>
 <xsl:for-each select="ns:inputs/ns:input">
       <xsl:value-of select="."/><xsl:text>   </xsl:text>
     </xsl:for-each>


Mime
View raw message