You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2020/06/26 19:05:18 UTC

[airavata-django-portal] 01/02: AIRAVATA-3344 Add total memory to exp summary and statistics

This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git

commit 78dfe6444e547e438bc9543eb05182b0f67bcdd5
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Fri Jun 26 15:04:03 2020 -0400

    AIRAVATA-3344 Add total memory to exp summary and statistics
---
 .../src/components/statistics/ExperimentDetailsView.vue               | 4 ++++
 .../js/components/experiment/ExperimentSummary.vue                    | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/django_airavata/apps/admin/static/django_airavata_admin/src/components/statistics/ExperimentDetailsView.vue b/django_airavata/apps/admin/static/django_airavata_admin/src/components/statistics/ExperimentDetailsView.vue
index 471555a..0320c49 100644
--- a/django_airavata/apps/admin/static/django_airavata_admin/src/components/statistics/ExperimentDetailsView.vue
+++ b/django_airavata/apps/admin/static/django_airavata_admin/src/components/statistics/ExperimentDetailsView.vue
@@ -142,6 +142,10 @@
       <th scope="row">Node Count</th>
       <td>{{ experiment.userConfigurationData.computationalResourceScheduling.nodeCount }}</td>
     </tr>
+    <tr v-if="experiment.userConfigurationData.computationalResourceScheduling.totalPhysicalMemory">
+      <th scope="row">Total Physical Memory</th>
+      <td>{{ experiment.userConfigurationData.computationalResourceScheduling.totalPhysicalMemory.toLocaleString() }} MB</td>
+    </tr>
     <tr>
       <th scope="row">Queue</th>
       <td>{{ experiment.userConfigurationData.computationalResourceScheduling.queueName }}</td>
diff --git a/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/experiment/ExperimentSummary.vue b/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/experiment/ExperimentSummary.vue
index 95265f3..f03b0cf 100644
--- a/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/experiment/ExperimentSummary.vue
+++ b/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/experiment/ExperimentSummary.vue
@@ -200,6 +200,10 @@
               <th scope="row">Node Count</th>
               <td>{{ experiment.userConfigurationData.computationalResourceScheduling.nodeCount }}</td>
             </tr>
+            <tr v-if="experiment.userConfigurationData.computationalResourceScheduling.totalPhysicalMemory">
+              <th scope="row">Total Physical Memory</th>
+              <td>{{ experiment.userConfigurationData.computationalResourceScheduling.totalPhysicalMemory.toLocaleString() }} MB</td>
+            </tr>
             <tr>
               <th scope="row">Queue</th>
               <td>{{ experiment.userConfigurationData.computationalResourceScheduling.queueName }}</td>