summaryrefslogtreecommitdiff
path: root/var/spack/packages/mvapich2/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/packages/mvapich2/package.py')
-rw-r--r--var/spack/packages/mvapich2/package.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/packages/mvapich2/package.py b/var/spack/packages/mvapich2/package.py
new file mode 100644
index 0000000000..f372679f49
--- /dev/null
+++ b/var/spack/packages/mvapich2/package.py
@@ -0,0 +1,27 @@
+from spack import *
+
+class Mvapich2(Package):
+ """mvapich2 is an MPI implmenetation for infiniband networks."""
+
+ homepage = "http://mvapich.cse.ohio-state.edu/"
+ url = "http://mvapich.cse.ohio-state.edu/download/mvapich2/mv2/mvapich2-1.9.tgz"
+
+ versions = { '1.9' : '5dc58ed08fd3142c260b70fe297e127c', }
+
+ provides('mpi@:1', when='@1.9:')
+
+ patch('ad_lustre_rwcontig_open_source.patch', when='@1.9:')
+
+ def install(self, spec, prefix):
+ configure(
+ "--prefix=" + prefix,
+ "--enable-f77", "--enable-fc", "--enable-cxx",
+ "--enable-fast=all", "--enable-g=dbg", "--enable-nmpi-as-mpi",
+ "--enable-shared", "--enable-sharedlibs=gcc",
+ "--enable-debuginfo",
+ "--with-pm=no", "--with-pmi=slurm",
+ "--with-device=ch3:psm",
+ "--enable-romio", "--with-file-system=lustre+nfs+ufs",
+ "--disable-mpe", "--without-mpe")
+ make()
+ make("install")