Adding psm as a dependency of mvapich2. (#8674)
This commit is contained in:
parent
3c4ef576d9
commit
a1bfa8eca0
@ -119,6 +119,7 @@ class Mvapich2(AutotoolsPackage):
|
|||||||
depends_on('bison', type='build')
|
depends_on('bison', type='build')
|
||||||
depends_on('libpciaccess', when=(sys.platform != 'darwin'))
|
depends_on('libpciaccess', when=(sys.platform != 'darwin'))
|
||||||
depends_on('cuda', when='+cuda')
|
depends_on('cuda', when='+cuda')
|
||||||
|
depends_on('psm', when='fabrics=psm')
|
||||||
|
|
||||||
filter_compiler_wrappers(
|
filter_compiler_wrappers(
|
||||||
'mpicc', 'mpicxx', 'mpif77', 'mpif90', 'mpifort', relative_root='bin'
|
'mpicc', 'mpicxx', 'mpif77', 'mpif90', 'mpifort', relative_root='bin'
|
||||||
@ -163,7 +164,10 @@ def network_options(self):
|
|||||||
opts = []
|
opts = []
|
||||||
# From here on I can suppose that only one variant has been selected
|
# From here on I can suppose that only one variant has been selected
|
||||||
if 'fabrics=psm' in self.spec:
|
if 'fabrics=psm' in self.spec:
|
||||||
opts = ["--with-device=ch3:psm"]
|
opts = [
|
||||||
|
"--with-device=ch3:psm",
|
||||||
|
"--with-psm={0}".format(self.spec['psm'].prefix)
|
||||||
|
]
|
||||||
elif 'fabrics=sock' in self.spec:
|
elif 'fabrics=sock' in self.spec:
|
||||||
opts = ["--with-device=ch3:sock"]
|
opts = ["--with-device=ch3:sock"]
|
||||||
elif 'fabrics=nemesistcpib' in self.spec:
|
elif 'fabrics=nemesistcpib' in self.spec:
|
||||||
|
Loading…
Reference in New Issue
Block a user