mvapich2: Use rdma-core for mrail and nemesis*ib* fabrics (#9072)
This commit is contained in:
parent
5e8a9ddaed
commit
983957f7c0
1 changed files with 6 additions and 1 deletions
|
@ -121,6 +121,10 @@ class Mvapich2(AutotoolsPackage):
|
|||
depends_on('libpciaccess', when=(sys.platform != 'darwin'))
|
||||
depends_on('cuda', when='+cuda')
|
||||
depends_on('psm', when='fabrics=psm')
|
||||
depends_on('rdma-core', when='fabrics=mrail')
|
||||
depends_on('rdma-core', when='fabrics=nemesisib')
|
||||
depends_on('rdma-core', when='fabrics=nemesistcpib')
|
||||
depends_on('rdma-core', when='fabrics=nemesisibtcp')
|
||||
|
||||
filter_compiler_wrappers(
|
||||
'mpicc', 'mpicxx', 'mpif77', 'mpif90', 'mpifort', relative_root='bin'
|
||||
|
@ -180,7 +184,8 @@ def network_options(self):
|
|||
elif 'fabrics=nemesis' in self.spec:
|
||||
opts = ["--with-device=ch3:nemesis"]
|
||||
elif 'fabrics=mrail' in self.spec:
|
||||
opts = ["--with-device=ch3:mrail", "--with-rdma=gen2"]
|
||||
opts = ["--with-device=ch3:mrail", "--with-rdma=gen2",
|
||||
"--disable-mcast"]
|
||||
return opts
|
||||
|
||||
@property
|
||||
|
|
Loading…
Reference in a new issue