mpich: Add ucx dependency (#13921)
This commit is contained in:
parent
484dab6bac
commit
85ce22a0b8
@ -94,6 +94,8 @@ class Mpich(AutotoolsPackage):
|
|||||||
# See https://github.com/pmodels/mpich/issues/3665
|
# See https://github.com/pmodels/mpich/issues/3665
|
||||||
depends_on('libfabric@:1.6', when='device=ch3 netmod=ofi')
|
depends_on('libfabric@:1.6', when='device=ch3 netmod=ofi')
|
||||||
|
|
||||||
|
depends_on('ucx', when='netmod=ucx')
|
||||||
|
|
||||||
depends_on('libpciaccess', when="+pci")
|
depends_on('libpciaccess', when="+pci")
|
||||||
depends_on('libxml2')
|
depends_on('libxml2')
|
||||||
|
|
||||||
@ -217,10 +219,13 @@ def configure_args(self):
|
|||||||
|
|
||||||
config_args.append(device_config)
|
config_args.append(device_config)
|
||||||
|
|
||||||
# Specify libfabric's path explicitly, otherwise configure might fall
|
# Specify libfabric or ucx path explicitly, otherwise
|
||||||
# back to an embedded version of libfabric.
|
# configure might fall back to an embedded version.
|
||||||
if 'netmod=ofi' in spec:
|
if 'netmod=ofi' in spec:
|
||||||
config_args.append('--with-libfabric={0}'.format(
|
config_args.append('--with-libfabric={0}'.format(
|
||||||
spec['libfabric'].prefix))
|
spec['libfabric'].prefix))
|
||||||
|
if 'netmod=ucx' in spec:
|
||||||
|
config_args.append('--with-ucx={0}'.format(
|
||||||
|
spec['ucx'].prefix))
|
||||||
|
|
||||||
return config_args
|
return config_args
|
||||||
|
Loading…
Reference in New Issue
Block a user