[parallel graph] error building parallel BGL
Hi all,
My boost.mpi test seems ok:
#######################
➜ Temp mpic++ -I/usr/local/include/boost/mpi/ mpitest2.cc -
L/usr/local/lib/ -lboost_mpi-mt -lboost_serialization-mt
➜ Temp ./a.out
I am process 0 of 1.
➜ Temp mpirun -n 6 ./a.out
I am process 1 of 6.
I am process 4 of 6.
I am process 0 of 6.
I am process 3 of 6.
I am process 5 of 6.
I am process 2 of 6.
######################
But when I try to build parallelBGL I get the following error:
######################
➜ parallelBGL-Mac cmake ../parallelBGL/
-- The C compiler identification is Clang 4.2.0
-- The CXX compiler identification is Clang 4.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Boost version: 1.53.0
-- Found the following Boost libraries:
-- mpi
-- serialization
-- filesystem
-- system
-- thread
-- Configuring done
-- Generating done
-- Build files have been written to:
/Users/varoudis/Dropbox/Projects/Libraries/parallelBGL-Mac
➜ parallelBGL-Mac make
Scanning dependencies of target boost_graph_mpi
[ 2%] Building CXX object
libs/graph_parallel/src/CMakeFiles/boost_graph_mpi.dir/mpi_process_group.cpp.o
Linking CXX static library ../../../lib/libboost_graph_mpi.a
[ 5%] Built target boost_graph_mpi
Scanning dependencies of target adjlist_build_test
[ 8%] Building CXX object
libs/graph_parallel/test/CMakeFiles/adjlist_build_test.dir/adjlist_build_test.cpp.o
In file included from
/Users/varoudis/Dropbox/Projects/Libraries/parallelBGL/libs/graph_parallel/test/adjlist_build_test.cpp:10:
In file included from
/Users/varoudis/Dropbox/Projects/Libraries/parallelBGL/boost/graph/distributed/adjacency_list.hpp:51:
/Users/varoudis/Dropbox/Projects/Libraries/parallelBGL/boost/graph/distributed/named_graph.hpp:345:12:
warning: reference 'self' is not yet bound to a value when used here
[-Wuninitialized]
: self(self), name(other.name), committed(other.committed)
^
In file included from
/Users/varoudis/Dropbox/Projects/Libraries/parallelBGL/libs/graph_parallel/test/adjlist_build_test.cpp:10:
In file included from
/Users/varoudis/Dropbox/Projects/Libraries/parallelBGL/boost/graph/distributed/adjacency_list.hpp:3961:
/Users/varoudis/Dropbox/Projects/Libraries/parallelBGL/boost/graph/distributed/adjlist/serialization.hpp:97:27:
error: no viable conversion from 'boost::filesystem::path' to
'std::string' (aka 'basic_string<char>')
std::string process_name = i->path().filename();
^ ~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/4.2.1/bits/basic_string.h:434:7: note: candidate
constructor not viable: no known conversion from 'boost::filesystem::path'
to 'const std::basic_string<char> &'
for 1st argument
basic_string(const basic_string& __str);
^
/usr/include/c++/4.2.1/bits/basic_string.h:469:7: note: candidate
constructor not viable: no known conversion from 'boost::filesystem::path'
to 'const char *' for 1st argument
basic_string(const _CharT* __s, const _Alloc& __a = _Alloc());
^
In file included from
/Users/varoudis/Dropbox/Projects/Libraries/parallelBGL/libs/graph_parallel/test/adjlist_build_test.cpp:10:
In file included from
/Users/varoudis/Dropbox/Projects/Libraries/parallelBGL/boost/graph/distributed/adjacency_list.hpp:3961:
/Users/varoudis/Dropbox/Projects/Libraries/parallelBGL/boost/graph/distributed/adjlist/serialization.hpp:841:37:
error: no type named 'retag_property_list' in namespace
'boost::detail'
typedef typename boost::detail::retag_property_list<
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/Users/varoudis/Dropbox/Projects/Libraries/parallelBGL/boost/graph/distributed/adjlist/serialization.hpp:841:56:
error: expected unqualified-id
typedef typename boost::detail::retag_property_list<
^
/Users/varoudis/Dropbox/Projects/Libraries/parallelBGL/boost/graph/distributed/adjlist/serialization.hpp:876:25:
error: unknown type name 'edge_property_type'; did you mean
'edge_property_tag'?
, static_cast
On Mon, 25 Feb 2013, The Maschine wrote:
Hi all, My boost.mpi test seems ok: ####################### ➜ Temp mpic++ -I/usr/local/include/boost/mpi/ mpitest2.cc - L/usr/local/lib/ -lboost_mpi-mt -lboost_serialization-mt ➜ Temp ./a.out I am process 0 of 1. ➜ Temp mpirun -n 6 ./a.out I am process 1 of 6. I am process 4 of 6. I am process 0 of 6. I am process 3 of 6. I am process 5 of 6. I am process 2 of 6. ######################
But when I try to build parallelBGL I get the following error:
(snip) Could you please try using the version of PBGL that is in the Boost tree? It should build if Boost.MPI does; its directories are boost/graph/parallel and libs/graph_parallel. Or do you need features that aren't in the Boost tree version? -- Jeremiah Willcock
participants (2)
-
Jeremiah Willcock
-
The Maschine