Cannot build libboost_mpi.so
Hi, I'm a new user of boost library, as it is requested by fellpp that I'm trying to install. I'm compiling boost 1.57 with the basic commands: tar xvfz boost_1_57_0.tar.gz cd boost_1_57_0 ./bootstrap.sh --prefix=/share/apps/boost_1_57_0-GCC48 ./b2 But I never get the requested libboost_mpi.so ? Even if the begining of the script tells me: Component configuration: - atomic : building - chrono : building - container : building - context : building - coroutine : building - date_time : building - exception : building - filesystem : building - graph : building - graph_parallel : building - iostreams : building - locale : building - log : building - math : building - mpi : building ...... and libboost_mpi.so is requested for Fellpp.... Thanks for your advices. Patrick -- =================================================================== | Equipe M.O.S.T. | | | Patrick BEGOU | mailto:Patrick.Begou@grenoble-inp.fr | | LEGI | | | BP 53 X | Tel 04 76 82 51 35 | | 38041 GRENOBLE CEDEX | Fax 04 76 82 52 71 | ===================================================================
AMDG On 03/25/2015 07:09 AM, Patrick Begou wrote:
tar xvfz boost_1_57_0.tar.gz cd boost_1_57_0 ./bootstrap.sh --prefix=/share/apps/boost_1_57_0-GCC48 ./b2
But I never get the requested libboost_mpi.so ?
Even if the begining of the script tells me: Component configuration:
<snip> - mpi : building ......
and libboost_mpi.so is requested for Fellpp....
You need to edit ~/user-config.jam (or $BOOST_ROOT/project-config.jam) and add using mpi ; In Christ, Steven Watanabe
Steven Watanabe wrote:
AMDG
On 03/25/2015 07:09 AM, Patrick Begou wrote:
tar xvfz boost_1_57_0.tar.gz cd boost_1_57_0 ./bootstrap.sh --prefix=/share/apps/boost_1_57_0-GCC48 ./b2
But I never get the requested libboost_mpi.so ?
Even if the begining of the script tells me: Component configuration:
<snip> - mpi : building ......
and libboost_mpi.so is requested for Fellpp....
You need to edit ~/user-config.jam (or $BOOST_ROOT/project-config.jam) and add using mpi ;
In Christ, Steven Watanabe
Thanks Steven, adding "using mpi ;" at the end of $BOOST_ROOT/project-config.jam was the solution. I notice that the space between "mpi" and ";" is important too. This solve quickly my problem. Thanks again Patrick -- =================================================================== | Equipe M.O.S.T. | | | Patrick BEGOU | mailto:Patrick.Begou@grenoble-inp.fr | | LEGI | | | BP 53 X | Tel 04 76 82 51 35 | | 38041 GRENOBLE CEDEX | Fax 04 76 82 52 71 | ===================================================================
participants (2)
-
Patrick Begou
-
Steven Watanabe