summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Rood <jon.rood@nrel.gov>2017-12-08 01:09:35 -0700
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2017-12-08 09:09:35 +0100
commit69e76a0a89d2d47f2e9cef1a0b3cc80dbdcd89ca (patch)
treef8b9522de93bc6c3805c1398b737f04adf0958bc
parentf49c186f4f4e7e6be4894518d80b1601adceb2e6 (diff)
downloadspack-69e76a0a89d2d47f2e9cef1a0b3cc80dbdcd89ca.tar.gz
spack-69e76a0a89d2d47f2e9cef1a0b3cc80dbdcd89ca.tar.bz2
spack-69e76a0a89d2d47f2e9cef1a0b3cc80dbdcd89ca.tar.xz
spack-69e76a0a89d2d47f2e9cef1a0b3cc80dbdcd89ca.zip
Update openfast package to explicity pass MPI implementation during cmake configure. (#6590)
-rw-r--r--var/spack/repos/builtin/packages/openfast/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/openfast/package.py b/var/spack/repos/builtin/packages/openfast/package.py
index 74d1881de9..cf37e24a81 100644
--- a/var/spack/repos/builtin/packages/openfast/package.py
+++ b/var/spack/repos/builtin/packages/openfast/package.py
@@ -81,6 +81,9 @@ class Openfast(CMakePackage):
if '+cxx' in spec:
options.extend([
+ '-DMPI_CXX_COMPILER:PATH=%s' % spec['mpi'].mpicxx,
+ '-DMPI_C_COMPILER:PATH=%s' % spec['mpi'].mpicc,
+ '-DMPI_Fortran_COMPILER:PATH=%s' % spec['mpi'].mpifc,
'-DHDF5_ROOT:PATH=%s' % spec['hdf5'].prefix,
'-DYAML_ROOT:PATH=%s' % spec['yaml-cpp'].prefix,
])