Boost logo

Boost Users :

Subject: Re: [Boost-users] FW: compiling parallel boost graph lib
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2011-03-08 16:20:56


On Tue, 8 Mar 2011, Xin Sui wrote:

> Hi:
> When I compile parallel boost graph library, I encounter the following errors:
>
> parallel-bgl-0.7.0/boost/graph/distributed/adjlist/serialization.hpp: In function `std::vector<int, std::allocator<int> >
> boost::detail::parallel::available_process_files(const std::string&)':
> parallel-bgl-0.7.0/boost/graph/distributed/adjlist/serialization.hpp:97: error: conversion from `boost::filesystem3::path' to non-scalar type
> `std::basic_string<char, std::char_traits<char>, std::allocator<char> >' requested
> 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
>
> The CMake found the following software:
>  gcc (GCC) 3.4.6, Boost version: 1.46.0 and openmpi 1.3, c++ (GCC) 3.4.6 20060404 (Red Hat 3.4.6-11)
>
> Do you guys have an idea what the problem is?

There is a more updated version of PBGL in the Boost repository (see
boost/graph/distributed and libs/graph_parallel); that does not have the
problem you experienced.

-- Jeremiah Willcock


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