Opened 14 years ago
Last modified 10 years ago
#2838 assigned Bugs
MPI Python bindings not installed correctly
Reported by: | Owned by: | Matthias Troyer | |
---|---|---|---|
Milestone: | Boost 1.46.0 | Component: | mpi |
Version: | Boost 1.38.0 | Severity: | Problem |
Keywords: | Cc: | Thomas.Brandes@… |
Description
I've successfully built and installed boost.MPI and the Python bindings in my home dir.
Unfortunately, the Python module "mpi.so" is installed directly in the lib/-path as all the other Boost libs. When setting the PYTHONPATH to point to this location, the boost.mpi python bindings are accessible only via "import mpi" from within Python, and not via "import boost.mpi", as described in the docs at
http://www.boost.org/doc/libs/1_38_0/doc/html/mpi/python.html
I think that the Python modules should go to a sudirectory "boost" in the lib path, or it should be fixed in the documentation.
Otherwise, the boost.mpi Python bindings are gorgeous!
Change History (3)
comment:1 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 12 years ago
Milestone: | → Boost-1.46.0 |
---|
I suggest that build system install mpi.so in boost subdirectory of appropriate site-packages directory. Build system can use distutils.sysconfig.get_python_lib() to get path to this directory: