bug fix in the +mpi case

This commit is contained in:
Nicolas Richart 2016-06-08 15:15:39 +02:00
parent 498c098d11
commit 165411f4a5

View File

@ -133,7 +133,7 @@ def write_makefile_inc(self):
if '+mpi' in self.spec:
makefile_conf.extend(
["CC = %s" % self.spec['mpi'].mpicc,
"FC = %s" % self.spec['mpi'].mpif90,
"FC = %s" % self.spec['mpi'].mpifc,
"SCALAP = %s" % self.spec['scalapack'].fc_link,
"MUMPS_TYPE = par"])
else:
@ -214,6 +214,7 @@ def install(self, spec, prefix):
# FIXME: use something like numdiff to compare blessed output
# with the current
# TODO: test the installed mumps and not the one in stage
if '~mpi' in spec:
for t in make_libs:
make('{0}examples'.format(t))