You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by la...@apache.org on 2015/02/06 17:05:51 UTC
[38/53] [abbrv] airavata git commit: Fixed the error in SLURM script
creation. AIRAVATA-1562
Fixed the error in SLURM script creation. AIRAVATA-1562
Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/0b8dcd36
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/0b8dcd36
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/0b8dcd36
Branch: refs/heads/gfac-storm
Commit: 0b8dcd3697e1bde3b2cd5674f14a578e46dc27b4
Parents: fb661cf
Author: raminder <ra...@apache.org>
Authored: Tue Feb 3 16:39:45 2015 -0500
Committer: raminder <ra...@apache.org>
Committed: Tue Feb 3 16:39:45 2015 -0500
----------------------------------------------------------------------
.../configuration/server/src/main/resources/SLURMTemplate.xslt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/airavata/blob/0b8dcd36/modules/configuration/server/src/main/resources/SLURMTemplate.xslt
----------------------------------------------------------------------
diff --git a/modules/configuration/server/src/main/resources/SLURMTemplate.xslt b/modules/configuration/server/src/main/resources/SLURMTemplate.xslt
index a3378e1..1ca12df 100644
--- a/modules/configuration/server/src/main/resources/SLURMTemplate.xslt
+++ b/modules/configuration/server/src/main/resources/SLURMTemplate.xslt
@@ -21,12 +21,12 @@
</xsl:choose>
<xsl:choose>
<xsl:when test="ns:nodes">
-#SBATCH -n <xsl:value-of select="ns:nodes"/>
+#SBATCH -N <xsl:value-of select="ns:nodes"/>
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="ns:cpuCount">
-#SBATCH -N <xsl:value-of select="ns:cpuCount"/>
+#SBATCH -n <xsl:value-of select="ns:cpuCount"/>
</xsl:when>
</xsl:choose>
<xsl:choose>