mvapich2: add hwloc_graphics variant (#38028)
Co-authored-by: Matthew Lieber <lieber.31@osu.edu>
This commit is contained in:
parent
eee696f320
commit
8db5fecdf5
@ -110,6 +110,7 @@ class Mvapich2(AutotoolsPackage):
|
|||||||
)
|
)
|
||||||
|
|
||||||
variant("hwlocv2", default=False, description="Builds mvapich2 with hwloc v2")
|
variant("hwlocv2", default=False, description="Builds mvapich2 with hwloc v2")
|
||||||
|
variant("hwloc_graphics", default=False, description="Enables hwloc graphics")
|
||||||
variant(
|
variant(
|
||||||
"file_systems",
|
"file_systems",
|
||||||
description="List of the ROMIO file systems to activate",
|
description="List of the ROMIO file systems to activate",
|
||||||
@ -431,7 +432,10 @@ def configure_args(self):
|
|||||||
args.extend(["--enable-cuda", "--with-cuda={0}".format(spec["cuda"].prefix)])
|
args.extend(["--enable-cuda", "--with-cuda={0}".format(spec["cuda"].prefix)])
|
||||||
else:
|
else:
|
||||||
args.append("--disable-cuda")
|
args.append("--disable-cuda")
|
||||||
|
if "~hwloc_graphics" in self.spec:
|
||||||
|
args.append("--disable-opencl")
|
||||||
|
args.append("--disable-gl")
|
||||||
|
args.append("--disable-nvml")
|
||||||
if "+hwlocv2" in self.spec:
|
if "+hwlocv2" in self.spec:
|
||||||
args.append("--with-hwloc=v2")
|
args.append("--with-hwloc=v2")
|
||||||
if "+regcache" in self.spec:
|
if "+regcache" in self.spec:
|
||||||
|
Loading…
Reference in New Issue
Block a user