Boost C++ Libraries: Ticket #2838: MPI Python bindings not installed correctly https://svn.boost.org/trac10/ticket/2838 <p> I've successfully built and installed boost.MPI and the Python bindings in my home dir. </p> <p> 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 </p> <p> <a href="http://www.boost.org/doc/libs/1_38_0/doc/html/mpi/python.html">http://www.boost.org/doc/libs/1_38_0/doc/html/mpi/python.html</a> </p> <p> I think that the Python modules should go to a sudirectory "boost" in the lib path, or it should be fixed in the documentation. </p> <p> Otherwise, the boost.mpi Python bindings are gorgeous! </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2838 Trac 1.4.3 Matthias Troyer Wed, 03 Nov 2010 19:12:28 GMT owner, status changed https://svn.boost.org/trac10/ticket/2838#comment:1 https://svn.boost.org/trac10/ticket/2838#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Douglas Gregor</span> to <span class="trac-author">Matthias Troyer</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket Matthias Troyer Wed, 03 Nov 2010 19:45:25 GMT milestone set https://svn.boost.org/trac10/ticket/2838#comment:2 https://svn.boost.org/trac10/ticket/2838#comment:2 <ul> <li><strong>milestone</strong> → <span class="trac-field-new">Boost-1.46.0</span> </li> </ul> Ticket Arfrever.FTA@… Sat, 03 Nov 2012 23:51:39 GMT <link>https://svn.boost.org/trac10/ticket/2838#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2838#comment:3</guid> <description> <p> 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: </p> <pre class="wiki">$ python -c 'import distutils.sysconfig; print(distutils.sysconfig.get_python_lib(plat_specific=True))' /usr/lib64/python3.3/site-packages </pre> </description> <category>Ticket</category> </item> </channel> </rss>