Using MPI environment compiler variables for pnetcdf. (#6424)
This commit is contained in:
parent
0fc6611dc2
commit
8b63cc6ad6
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user