diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/openmpi/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/openmpi/package.py b/var/spack/repos/builtin/packages/openmpi/package.py index d996da98cc..14491e700e 100644 --- a/var/spack/repos/builtin/packages/openmpi/package.py +++ b/var/spack/repos/builtin/packages/openmpi/package.py @@ -1038,6 +1038,9 @@ class Openmpi(AutotoolsPackage, CudaPackage): if "schedulers=auto" not in spec: config_args.extend(self.with_or_without("schedulers")) + if spec.satisfies("schedulers=lsf"): + config_args.append("--with-lsf-libdir={0}".format(spec["lsf"].libs.directories[0])) + config_args.extend(self.enable_or_disable("memchecker")) if spec.satisfies("+memchecker"): config_args.extend(["--enable-debug"]) |