From 69e76a0a89d2d47f2e9cef1a0b3cc80dbdcd89ca Mon Sep 17 00:00:00 2001 From: Jon Rood Date: Fri, 8 Dec 2017 01:09:35 -0700 Subject: [PATCH] Update openfast package to explicity pass MPI implementation during cmake configure. (#6590) --- var/spack/repos/builtin/packages/openfast/package.py | 3 +++ 1 file changed, 3 insertions(+) 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 @@ def cmake_args(self): 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, ])