Commit 7b418aa7 authored by Dmytro Kresan's avatar Dmytro Kresan
Browse files

Use MPIEXEC_EXECUTABLE

parent b5cc91f3
......@@ -24,7 +24,8 @@ class Molflow(CMakePackage):
self.define('NO_INTERFACE', True)
]
if self.spec.satisfies('@2.9.4_beta'):
args.append( self.define('MPI_HOME', self.spec['openmpi'].prefix) )
args.append( self.define('MPIEXEC_EXECUTABLE',
'{0}/bin/mpiexec'.format(self.spec['openmpi'].prefix)) )
return args
def install(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