Update openfast package to explicity pass MPI implementation during cmake configure. (#6590)
This commit is contained in:
parent
f49c186f4f
commit
69e76a0a89
1 changed files with 3 additions and 0 deletions
|
@ -81,6 +81,9 @@ def cmake_args(self):
|
||||||
|
|
||||||
if '+cxx' in spec:
|
if '+cxx' in spec:
|
||||||
options.extend([
|
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,
|
'-DHDF5_ROOT:PATH=%s' % spec['hdf5'].prefix,
|
||||||
'-DYAML_ROOT:PATH=%s' % spec['yaml-cpp'].prefix,
|
'-DYAML_ROOT:PATH=%s' % spec['yaml-cpp'].prefix,
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in a new issue