Commit b5cc91f3 authored by Dmytro Kresan's avatar Dmytro Kresan
Browse files

[molflow] Set MPI_HOME

parent fab46338
......@@ -20,9 +20,12 @@ class Molflow(CMakePackage):
depends_on('openmpi', when='@2.9.4_beta')
def cmake_args(self):
return [
self.define('NO_INTERFACE', True)
]
args = [
self.define('NO_INTERFACE', True)
]
if self.spec.satisfies('@2.9.4_beta'):
args.append( self.define('MPI_HOME', self.spec['openmpi'].prefix) )
return args
def install(self, spec, prefix):
mkdirp(prefix.bin)
......
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