summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'virtual')
-rw-r--r--virtual/mpi/metadata.xml1
-rw-r--r--virtual/mpi/mpi-2.0-r6.ebuild20
2 files changed, 21 insertions, 0 deletions
diff --git a/virtual/mpi/metadata.xml b/virtual/mpi/metadata.xml
index 91f51498c457..f10185ff9165 100644
--- a/virtual/mpi/metadata.xml
+++ b/virtual/mpi/metadata.xml
@@ -7,6 +7,7 @@
</maintainer>
<use>
<flag name="romio">Enable romio, a high-performance portable MPI-IO</flag>
+ <flag name="nullmpi">Allow <pkg>sys-cluster/nullmpi</pkg> a minimal incomplete MPI implementation as a provider</flag>
</use>
<stabilize-allarches/>
</pkgmetadata>
diff --git a/virtual/mpi/mpi-2.0-r6.ebuild b/virtual/mpi/mpi-2.0-r6.ebuild
new file mode 100644
index 000000000000..ea446a870a34
--- /dev/null
+++ b/virtual/mpi/mpi-2.0-r6.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib-build
+
+DESCRIPTION="Virtual for Message Passing Interface (MPI) v2.0 implementation"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="cxx fortran romio threads nullmpi"
+
+RDEPEND="|| (
+ >=sys-cluster/openmpi-1.10.2-r1[${MULTILIB_USEDEP},cxx?,fortran?,romio?,threads(+)?]
+ >=sys-cluster/mpich-3.2-r1[${MULTILIB_USEDEP},cxx?,fortran?,romio?,threads?]
+ sys-cluster/mpich2[${MULTILIB_USEDEP},cxx?,fortran?,romio?,threads?]
+ sys-cluster/nullmpi[${MULTILIB_USEDEP},cxx(-)?,fortran(-)?,romio(-)?,threads(-)?]
+ nullmpi? ( sys-cluster/native-mpi )
+)"