This commit is contained in:
Denis Davydov 2016-03-23 08:48:25 +01:00
parent 88a7a23132
commit 7e4e2c988a

View File

@ -78,7 +78,7 @@ def install(self, spec, prefix):
# Need to use MPI wrappers, otherwise: Undefined symbols for architecture x86_64: "_mpi_abort_","_mpi_allgatherv_", etc from MUMPS
'-DCMAKE_C_COMPILER=%s' % join_path(mpi_bin,'mpicc'), # FIXME: dont hardcode compiler name
'-DCMAKE_CXX_COMPILER=%s' % join_path(mpi_bin,'mpicxx'),
'-DCMAKE_Fortran_COMPILER=%s' % join_path(mpi_bin,'mpicxx'),
'-DCMAKE_Fortran_COMPILER=%s' % join_path(mpi_bin,'mpif90'),
'-DTrilinos_EXTRA_LINK_FLAGS:STRING=-lgfortran'
])