summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Manson-Sawko <robertsawko@gmail.com>2024-06-20 15:25:25 +0100
committerGitHub <noreply@github.com>2024-06-20 08:25:25 -0600
commit00f0ca20605bb2da2770f88eeb28ea75b2b64181 (patch)
treee04db3548b8425a3449f41c89fa7254bd4c5478d
parent35557ac21c5b64f63c1aa129321d1a96b529bf81 (diff)
downloadspack-00f0ca20605bb2da2770f88eeb28ea75b2b64181.tar.gz
spack-00f0ca20605bb2da2770f88eeb28ea75b2b64181.tar.bz2
spack-00f0ca20605bb2da2770f88eeb28ea75b2b64181.tar.xz
spack-00f0ca20605bb2da2770f88eeb28ea75b2b64181.zip
openmpi: add with-lsf-libdir config option (#44563)
-rw-r--r--var/spack/repos/builtin/packages/openmpi/package.py3
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"])