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

librabit_mpi compilation issues? #31

Closed
davidr opened this issue Sep 23, 2016 · 2 comments
Closed

librabit_mpi compilation issues? #31

davidr opened this issue Sep 23, 2016 · 2 comments

Comments

@davidr
Copy link

davidr commented Sep 23, 2016

I'm not sure if this is actually an issue or if I'm just doing something stupid. Either way, I'll happily submit a PR with documentation and/or a patch once I figure it out.

When compiling librabit_mpi (with CXX=mpicxx MPICXX=mpicxx make mpi) the normal librabit symbols are not exported (RabitInit, RabitAllReduce, etc.).

With the addition of $(BPATH)/c_api.o to the librabit_mpi line of the Makefile, the symbols are properly exported by librabit_mpi.{a,so} and using librabit_mpi as xgboost's "LIB_RABIT" allows xgboost to compile.

So, is my workaround "correct" or is the intended usage of librabit_mpi something other as a drop-in for librabit, and it's correct that librabit_mpi doesn't export the librabit symbols?

@trivialfis
Copy link
Member

Since mpi no longer maintains a C++ wrapper now. The MPI APIs usage in rabit will need a huge refactor. I'm closing this issue for now.

@davidr
Copy link
Author

davidr commented Feb 16, 2019

After 2.5 years of me doing nothing on it, it would have been fair to close it even if you weren't right! Sorry about that. If I'd realized it was still open, I'd have closed it long ago.

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

No branches or pull requests

2 participants