airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject airavata-php-gateway git commit: fixing application parallelism type not set issue
Date Wed, 21 Oct 2015 18:29:59 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/master 82c1ed802 -> f77a65576


fixing application parallelism type not set issue


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

Branch: refs/heads/master
Commit: f77a65576b5203c61c970cd2708431a55c53ab48
Parents: 82c1ed8
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Wed Oct 21 14:29:56 2015 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Wed Oct 21 14:29:56 2015 -0400

----------------------------------------------------------------------
 app/controllers/ApplicationController.php | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/f77a6557/app/controllers/ApplicationController.php
----------------------------------------------------------------------
diff --git a/app/controllers/ApplicationController.php b/app/controllers/ApplicationController.php
index bde7829..0106331 100644
--- a/app/controllers/ApplicationController.php
+++ b/app/controllers/ApplicationController.php
@@ -144,6 +144,12 @@ class ApplicationController extends BaseController {
                 case "OPENMP_MPI":
                     $appDeploymentValues["parallelism"] = \Airavata\Model\AppCatalog\AppDeployment\ApplicationParallelismType::OPENMP_MPI;
                     break;
+				case "CRAY_MPI":
+					$appDeploymentValues["parallelism"] = \Airavata\Model\AppCatalog\AppDeployment\ApplicationParallelismType::CRAY_MPI;
+					break;
+				case "CCM":
+					$appDeploymentValues["parallelism"] = \Airavata\Model\AppCatalog\AppDeployment\ApplicationParallelismType::CCM;
+					break;
             }
 			AppUtilities::create_or_update_appDeployment( $appDeploymentValues, $update);
 			$message = "Application Deployment has been updated!";


Mime
View raw message