Using MPI environment compiler variables for pnetcdf. (#6424)

This commit is contained in:
Jon Rood 2017-11-22 22:34:21 -07:00 committed by Todd Gamblin
parent 0fc6611dc2
commit 8b63cc6ad6

View File

@ -53,6 +53,10 @@ def configure_args(self):
spec = self.spec
args = ['--with-mpi={0}'.format(spec['mpi'].prefix)]
args.append('MPICC={0}'.format(spec['mpi'].mpicc))
args.append('MPICXX={0}'.format(spec['mpi'].mpicxx))
args.append('MPIF77={0}'.format(spec['mpi'].mpifc))
args.append('MPIF90={0}'.format(spec['mpi'].mpifc))
args.append('SEQ_CC={0}'.format(spack_cc))
if '+pic' in spec: