|
Boost Users : |
Subject: [Boost-users] [parallel graph] error building parallel BGL
From: The Maschine (justthemaschine_at_[hidden])
Date: 2013-02-25 07:24:24
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<edge_property_type const&>(get(edge_all_t(), g, e))
^~~~~~~~~~~~~~~~~~
edge_property_tag
/usr/local/include/boost/graph/properties.hpp:69:10: note:
'edge_property_tag' declared here
struct edge_property_tag { };
^
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:955: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:955:56:
error: expected unqualified-id
typedef typename boost::detail::retag_property_list<
^
1 warning and 6 errors generated.
make[2]: ***
[libs/graph_parallel/test/CMakeFiles/adjlist_build_test.dir/adjlist_build_test.cpp.o]
Error 1
make[1]: ***
[libs/graph_parallel/test/CMakeFiles/adjlist_build_test.dir/all] Error 2
make: *** [all] Error 2
##########################
Best,
Tasos
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net