airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject airavata git commit: adding lammps br2
Date Tue, 27 Oct 2015 14:46:55 GMT
Repository: airavata
Updated Branches:
  refs/heads/master 3de33acf2 -> ed4637cc2


adding lammps br2


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

Branch: refs/heads/master
Commit: ed4637cc20cb26e8ffe928f0ef627334e6dbfd55
Parents: 3de33ac
Author: Chathuri Wimalasena <chathuri@apache.org>
Authored: Tue Oct 27 10:46:43 2015 -0400
Committer: Chathuri Wimalasena <chathuri@apache.org>
Committed: Tue Oct 27 10:46:43 2015 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/airavata/gfac/core/GFacUtils.java | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/ed4637cc/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GFacUtils.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GFacUtils.java
b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GFacUtils.java
index 031182c..47be151 100644
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GFacUtils.java
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GFacUtils.java
@@ -838,7 +838,11 @@ public class GFacUtils {
                     jobDescriptor.setJobSubmitter("ibrun");
                 }else if (appDepDescription.getComputeHostId().contains("bigred2")){
                     if (parallelism == ApplicationParallelismType.CRAY_MPI){
-                        jobDescriptor.setJobSubmitter("aprun -n");
+                        if (processModel.getApplicationInterfaceId().contains("Lammps")){
+                            jobDescriptor.setJobSubmitter("aprun -N 1 -n");
+                        }else {
+                            jobDescriptor.setJobSubmitter("aprun -n");
+                        }
                     }else if (parallelism == ApplicationParallelismType.CCM){
                         jobDescriptor.setJobSubmitter("ccmrun");
                     }else {


Mime
View raw message