Skip to content
Snippets Groups Projects
Commit 85ce22a0 authored by Ken Raffenetti's avatar Ken Raffenetti Committed by Adam J. Stewart
Browse files

mpich: Add ucx dependency (#13921)

parent 484dab6b
No related branches found
No related tags found
No related merge requests found
......@@ -94,6 +94,8 @@ class Mpich(AutotoolsPackage):
# See https://github.com/pmodels/mpich/issues/3665
depends_on('libfabric@:1.6', when='device=ch3 netmod=ofi')
depends_on('ucx', when='netmod=ucx')
depends_on('libpciaccess', when="+pci")
depends_on('libxml2')
......@@ -217,10 +219,13 @@ def configure_args(self):
config_args.append(device_config)
# Specify libfabric's path explicitly, otherwise configure might fall
# back to an embedded version of libfabric.
# Specify libfabric or ucx path explicitly, otherwise
# configure might fall back to an embedded version.
if 'netmod=ofi' in spec:
config_args.append('--with-libfabric={0}'.format(
spec['libfabric'].prefix))
if 'netmod=ucx' in spec:
config_args.append('--with-ucx={0}'.format(
spec['ucx'].prefix))
return config_args
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment