Commit 1e06208f authored by Michal Dzikowski's avatar Michal Dzikowski
Browse files

add mpi compiler handling

parent 62ca5817
......@@ -58,7 +58,7 @@ def edit(self, spec, prefix):
math_libs = spec['lapack'].libs + spec['blas'].libs
makefile = FileFilter('src/Makefile.gfortran-mpi')
makefile.filter('F90 = .*', 'F90 = $FC -cpp -DMPI -ffree-line-length-512')
makefile.filter('F90 = .*', 'F90 = '+spec['mpi'].mpifc+' -cpp -DMPI -ffree-line-length-512')
makefile.filter('LIBS = .*', 'LIBS = ' + math_libs.ld_flags)
def build(self, spec, prefix):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment