Boost logo

Boost-Build :

Subject: [Boost-build] [MPI]How can I compile the python module?
From: 熊耀华 (xiongyaohua_at_[hidden])
Date: 2008-12-27 05:08:16


Hi, everyone.

I'm a newbie to the boost, and I'm trying to building the boost-mpi
lib and its python binding.
Here is my develop environment:
-Ubuntu 8.10
-g++ 4.3.2
-MPICH 1.27

I downloaded the source package of 1.37.0 and follow the "official"
instruction on
http://www.boost.org/doc/libs/1_37_0/doc/html/mpi/getting_started.html#mpi.config
that is

$bjam --with-mpi
$bjam --with-mpi install --prefix="my home directory"

then I get all the header files and lib files of boost-mpi with no
problem in my home
directory, but I can't find the python binding module there.

After that, I read the "offical" instruction again and found the
python binding is based on
boost-python, so I tried

$bjam --with-mpi --with-python
$bjam --with-mpi --with-python install --prefix="my home directory"

then I get the header and lib files of boost-mpi and boost-python,
still I don't get the python binding module for
the boost-mpi.

Am I missing something? Thanks in advance for your help.

--
熊耀华
上海市嘉定区曹安公路4800号
同济大学交通运输学院
邮编201804
Yaohua Xiong, Tongji Univ.

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk