aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/mpi-select.eclass12
1 files changed, 12 insertions, 0 deletions
diff --git a/eclass/mpi-select.eclass b/eclass/mpi-select.eclass
index c27339b..49d2ef9 100644
--- a/eclass/mpi-select.eclass
+++ b/eclass/mpi-select.eclass
@@ -18,6 +18,12 @@ esac
# List of used MPI implementation
IMPLEMENTATION_LIST="mpich mpich2 openmpi openib-mvapich2"
+# @ECLASS-VARIABLE: INSTALLED_IMPLEMENTATIONS
+# @INTERNAL
+# @DESCRIPTION:
+# To be populated by mpi-select_detect_installs
+INSTALLED_IMPLEMENTATIONS=""
+
# @ECLASS-FUNCTION: mpi-select_implementation_install
# @DESCRIPTION:
# Install MPI software with arbitrary implementations
@@ -31,3 +37,9 @@ mpi-select_implementation_install (){
fi
done
}
+# @ECLASS-FUNCTION: mpi-select_detect_installs
+# @DESCRIPTION:
+# See what MPI software is installed on the system
+mpi-select_detect_installs (){
+ # iterate through /usr/lib/mpi to populate INSTALLED_IMPLEMENTATIONS
+}