Skip to content
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

boost_mpi #1

Closed
qingqing01 opened this issue Jan 16, 2015 · 5 comments
Closed

boost_mpi #1

qingqing01 opened this issue Jan 16, 2015 · 5 comments

Comments

@qingqing01
Copy link

The "sferes" needs boost_mpi. When I installed boost_1.57.0, there is mpi "include file", but there is no boost_mpi lib. I serarch the internet.
"
adding the following line to your user-config.jam file
using mpi ;
then
bjam --with-mpi
"
But I cann't find user-config.jam file in the boost path. I have installed MVAPICH2 2.0。

@anguyen8
Copy link
Contributor

@Dcocoa To make sure, can you print out the output of your
./waf --configure in Sferes folder?

Does it match the example output in the Installation_Guide.pdf?

@qingqing01
Copy link
Author

The following is the output of the ./waf --configure. The library boost_mpi can not be found.

Check for program g++ or c++ : /usr/bin/g++
Check for program cpp : /usr/bin/cpp
Check for program ar : /usr/bin/ar
Check for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
boost headers : Version 1_57
library boost_serialization : ok
library boost_filesystem : ok
library boost_system : ok
library boost_unit_test_framework : ok
library boost_program_options : ok
library boost_graph : ok
library boost_mpi : not found
library boost_python : ok
library boost_thread : ok
Checking for header tbb/parallel_for.h : not found
Checking for header tbb/parallel_for.h : not found
Checking for header mpi.h : not found
Checking for SDL (optional) : not found
Checking for header Eigen/Core : ok /home/dangqingqing/src/sferes/include
Check for program ode-config : not found
Checking for ODE (optional) : not found
Checking for GSL (optional) : not found
--- configuration ---
compiler:

  • CXX: gcc
    boost version: 1_57
    mpi: False

@qingqing01
Copy link
Author

I have installed boost_mpi library. In ther version of boost 1.57.0, need to add "using mpi" in the project-config.jam. O(∩_∩)O~

@qingqing01
Copy link
Author

@anguyen8 Thanks a lot :)

@anguyen8
Copy link
Contributor

@Dcocoa : Great! I was about to say that the configure output shows Sferes couldn't find your Boost::MPI .

Btw, please use one Boost version only and use it to build both Caffe and Sferes. Otherwise, you might run into conflicts later (as both frameworks use Boost).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants