Dear all,
I tried to compile
http://www.boost.org/doc/libs/1_60_0/libs/graph_parallel/example/dijkstra_sh
ortest_paths.cpp,
an example code of Parallel Boost Graph,
resulting in faulure;
example/breadth_first_search.cpp has no problem.
My environment is:
* GCC 4.9.2
* OpenMPI 1.10.2
* boost 1.60.0
* OS: Debian jessie
The error, related to template, is long; the summary is:
$ mpicxx -std=c++11 -lboost_mpi -lboost_serialization -lboost_system -
lboost_graph_parallel dijkstra_shortest_paths.cpp
In file included from boost/graph/dijkstra_shortest_paths.hpp:25:0,
from dijkstra_shortest_paths.cpp:19:
boost/pending/relaxed_heap.hpp: In instantiation of ‘bool
boost::relaxed_heap...
boost/graph/distributed/crauser_et_al_shortest_paths.hpp:377:54: required
from ...
boost/graph/distributed/detail/remote_update_set.hpp:148:7: required from
...
boost/graph/distributed/crauser_et_al_shortest_paths.hpp:264:37: required
from ...
boost/graph/breadth_first_search.hpp:76:7: required from ...
boost/graph/breadth_first_search.hpp:124:69: required from ...
boost/graph/breadth_first_search.hpp:135:64: [ skipping 4 instantiation
contexts, use -ftemplate-backtrace-limit=0 to disable ]
boost/graph/distributed/dijkstra_shortest_paths.hpp:146:50: required from
...
boost/graph/distributed/dijkstra_shortest_paths.hpp:200:45: required from
...
boost/graph/dijkstra_shortest_paths.hpp:573:16: required from ...
boost/graph/dijkstra_shortest_paths.hpp:595:35: required from ...
boost/graph/dijkstra_shortest_paths.hpp:614:14: required from ...
dijkstra_shortest_paths.cpp:74:64: required from here
boost/pending/relaxed_heap.hpp:194:70: error: cannot convert ‘const
value_type {aka const
boost::optional