minighost: fix mpi build (#7310)

This commit is contained in:
Christoph Junghans 2018-02-27 05:02:47 -07:00 committed by Massimiliano Culpo
parent f04837b03e
commit cba5457d62

View File

@ -56,7 +56,7 @@ def build_targets(self):
targets.append('FC={0}'.format(self.spec['mpi'].mpif77))
targets.append('CC={0}'.format(self.spec['mpi'].mpicc))
targets.append(
'LIBS=-lm -lgfortran -lmpi_usempi -lmpi_mpifh -lmpi')
'LIBS=-lm -lmpicxx')
else:
targets.append('PROTOCOL=-D_MG_SERIAL')
targets.append('FC=f77')