-
Notifications
You must be signed in to change notification settings - Fork 62
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
boot mpi python module name #120
Comments
@xnox : Let's move this one here |
Maybe we can export both mpi (to be inline with the current name) and boost.mpi mpi should probably be made obsolete. |
But like in debian it has always been https://packages.debian.org/stretch/amd64/libboost-mpi-python1.62.0/filelist Or is that just a debian/ubuntu thing? |
That's probably the problem. When building from the git repository, the mpi.so file is droped in That should be in I have no idea how to do that with bjam |
On my ubuntu box:
|
Ok, I don't know if you had a chance to look at #112, but the issue has been discussed there. At this point, it's a manual packaging issue. |
Ubuntu & Debian python enable multiarch qualified names for extensions. Thus on Debian/Ubuntu compiled extensions have qualified names, such as mpi.cpython-35m-x86_64-linux-gnu.so which encode the cpython major/minor, subtype (m), and architecture. We do create build directly per python version, and then rename the modules later. mpi.so must not be shipped in /lib/ at all. That's not how one ships compiled python extensions..... |
Sure, but I don't think we have much control on the way it's shipped at this point. I'm not even sure where to find the concerned bjam section. Right now, apart from a but of documentation that says |
I added some doc in 389fbf3 until we come up with something better. |
Sigh ok. The right thing to do is to query python's configuration (by calling interpreter, or using pyconfig, or the pkg-config files) figure out how to call extensions, and where to place them, and then rename & place them appropriately. That should do the right thing, for the right python. As things are called and places in slightly different ways depending on the python type and platform it is on. |
If you could provide a script that does that, maybe we could discuss in issue #112 if it could be added in the distribution ? |
Right now it's
mpi
, which is kind of... bad.We should at least have
boost
at the module path rootThe text was updated successfully, but these errors were encountered: