Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with MXM and MPICH builds #2583

Closed
jsquyres opened this issue Dec 7, 2016 · 5 comments
Closed

Problem with MXM and MPICH builds #2583

jsquyres opened this issue Dec 7, 2016 · 5 comments
Assignees
Labels
Milestone

Comments

@jsquyres
Copy link
Member

jsquyres commented Dec 7, 2016

From Martin Cuma on the mailing list (http://lists.openfabrics.org/pipermail/libfabric-users/2016-December/000145.html):


Now, I have another potential quirk with libfabric. I configured it to add Mellanox MXM, as:

$ ../../../srcdir/libfabric/1.4.0/configure --prefix=/uufs/chpc.utah.edu/sys/installdir/libfabric/1.4.0 --enable-mxm=/uufs/chpc.utah.edu/sys/installdir/hpcx/v1.7.405-gcc-OFED-1.5.4.1-redhat7.2-x86_64/mxm

All built fine, the libfabric tests work, but, when building MPICH with the ch4:ofi device, the make was complaining about missing /libmxm.la. After some hunting, I have located the source of this in /uufs/chpc.utah.edu/sys/installdir/libfabric/1.4.0/lib/libfabric.la:

dependency_libs=' -L/uufs/chpc.utah.edu/sys/installdir/hpcx/v1.7.405-gcc-OFED-1.5.4.1-redhat7.2-x86_64/mxm/lib -lrdmacm -lnl-3 -lnl-route-3 -lpsm_infinipath  /libmxm.la -L/usr/lib64 -L/usr/lib -lm -lz -libverbs -lbfd -liberty -lrt -lpthread -ldl'

It looks like the libfabric build has not correctly expanded the full path to the libmxm.la.

Is this something I did incorrectly with the libfabric build, or something that needs to be fixed in the libfabric itself?

@jsquyres jsquyres added the bug label Dec 7, 2016
@jsquyres jsquyres added this to the release 1.5.0 milestone Dec 7, 2016
@jsquyres
Copy link
Member Author

jsquyres commented Dec 7, 2016

@shefty git blame says that you're the main culprit behind the MXM provider. Can you have a look at this user question?

@shefty
Copy link
Member

shefty commented Dec 7, 2016

I did the merge for mxm, but that was it. @alexander-sannikov is showing as the last committer prior to it being removed. Comparing the psm2 and mxm providers, I don't see this equivalent in mxm Makefile.include:

src_libfabric_la_DEPENDENCIES += libpsmx2.la

@jsquyres
Copy link
Member Author

@shefty Will the MXM provider exist in libfabric 1.5?

@shefty
Copy link
Member

shefty commented Dec 15, 2016 via email

@jsquyres
Copy link
Member Author

Ok. I think Martin already has a workaround, so let's go ahead and close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants