airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hes...@apache.org
Subject svn commit: r1399816 - /airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/utils/GramRSLGenerator.java
Date Thu, 18 Oct 2012 19:44:00 GMT
Author: heshan
Date: Thu Oct 18 19:44:00 2012
New Revision: 1399816

URL: http://svn.apache.org/viewvc?rev=1399816&view=rev
Log:
Fix for AIRAVATA-595.

Modified:
    airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/utils/GramRSLGenerator.java

Modified: airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/utils/GramRSLGenerator.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/utils/GramRSLGenerator.java?rev=1399816&r1=1399815&r2=1399816&view=diff
==============================================================================
--- airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/utils/GramRSLGenerator.java
(original)
+++ airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/utils/GramRSLGenerator.java
Thu Oct 18 19:44:00 2012
@@ -49,7 +49,7 @@ public class GramRSLGenerator {
     protected static final Logger log = LoggerFactory.getLogger(GramRSLGenerator.class);
 
     private enum JobType {
-        SINGLE, MPI, MULTIPLE, CONDOR
+        SERIAL, SINGLE, MPI, MULTIPLE, CONDOR
     }
 
     ;
@@ -189,6 +189,9 @@ public class GramRSLGenerator {
         if (jobType.equalsIgnoreCase(JobType.SINGLE.toString())) {
             log.info("Setting job type to single");
             jobAttr.setJobType(GramAttributes.JOBTYPE_SINGLE);
+        } if (jobType.equalsIgnoreCase(JobType.SERIAL.toString())) {
+            log.info("Setting job type to single");
+            jobAttr.setJobType(GramAttributes.JOBTYPE_SINGLE);
         } else if (jobType.equalsIgnoreCase(JobType.MPI.toString())) {
             log.info("Setting job type to mpi");
             jobAttr.setJobType(GramAttributes.JOBTYPE_MPI);



Mime
View raw message