minighost: fix mpi build (#7310)
This commit is contained in:
parent
f04837b03e
commit
cba5457d62
@ -56,7 +56,7 @@ def build_targets(self):
|
|||||||
targets.append('FC={0}'.format(self.spec['mpi'].mpif77))
|
targets.append('FC={0}'.format(self.spec['mpi'].mpif77))
|
||||||
targets.append('CC={0}'.format(self.spec['mpi'].mpicc))
|
targets.append('CC={0}'.format(self.spec['mpi'].mpicc))
|
||||||
targets.append(
|
targets.append(
|
||||||
'LIBS=-lm -lgfortran -lmpi_usempi -lmpi_mpifh -lmpi')
|
'LIBS=-lm -lmpicxx')
|
||||||
else:
|
else:
|
||||||
targets.append('PROTOCOL=-D_MG_SERIAL')
|
targets.append('PROTOCOL=-D_MG_SERIAL')
|
||||||
targets.append('FC=f77')
|
targets.append('FC=f77')
|
||||||
|
Loading…
Reference in New Issue
Block a user