diff options
author | Denis Davydov <davydden@gmail.com> | 2016-05-04 17:33:19 +0200 |
---|---|---|
committer | Denis Davydov <davydden@gmail.com> | 2016-05-04 17:33:19 +0200 |
commit | 796bf5f85cd22039f6131b15d401ef4a82bf7f86 (patch) | |
tree | 9c09c5ad5ee7cbe3f270181cfe6bb1903744eaba /var | |
parent | f417b1cf904d99b4fb81ab31ec3ddd6da362d286 (diff) | |
download | spack-796bf5f85cd22039f6131b15d401ef4a82bf7f86.tar.gz spack-796bf5f85cd22039f6131b15d401ef4a82bf7f86.tar.bz2 spack-796bf5f85cd22039f6131b15d401ef4a82bf7f86.tar.xz spack-796bf5f85cd22039f6131b15d401ef4a82bf7f86.zip |
mvapich2: add self.spec.[mpicc|mpicxx|mpifc|mpif77]
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/mvapich2/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mvapich2/package.py b/var/spack/repos/builtin/packages/mvapich2/package.py index 3e60b517db..3d4f2d0c68 100644 --- a/var/spack/repos/builtin/packages/mvapich2/package.py +++ b/var/spack/repos/builtin/packages/mvapich2/package.py @@ -146,6 +146,10 @@ class Mvapich2(Package): spack_env.set('MPICH_F77', spack_f77) spack_env.set('MPICH_F90', spack_fc) spack_env.set('MPICH_FC', spack_fc) + self.spec.mpicc = join_path(self.prefix.bin, 'mpicc') + self.spec.mpicxx = join_path(self.prefix.bin, 'mpicxx') + self.spec.mpifc = join_path(self.prefix.bin, 'mpif90') + self.spec.mpif77 = join_path(self.prefix.bin, 'mpif77') def install(self, spec, prefix): # we'll set different configure flags depending on our environment |