aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaelJGilroy <michael.gilroy24@gmail.com>2017-06-11 22:35:41 -0600
committerMichaelJGilroy <michael.gilroy24@gmail.com>2017-06-11 22:35:41 -0600
commite16f66aaaef66be44b30aa2c693b2cb783633954 (patch)
tree050d39ab9df326f36e70b1a7aed4f17ef9bfc6e2
parentadded generic implementat_install function (diff)
downloadgentoo-mpi-e16f66aaaef66be44b30aa2c693b2cb783633954.tar.gz
gentoo-mpi-e16f66aaaef66be44b30aa2c693b2cb783633954.tar.bz2
gentoo-mpi-e16f66aaaef66be44b30aa2c693b2cb783633954.zip
made mpi-select framework
-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
+}