Boost logo

Boost Users :

Subject: Re: [Boost-users] [parallel graph] error building parallel BGL
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2013-02-25 11:05:55


On Mon, 25 Feb 2013, The Maschine wrote:

> Hi Jeremiah,
> I can confirm that ParallelBGL that comes with 1.53 compiles.
> The problem with this one is that when I try to compile the example (again from 1.53) I get this problem:
>
> /usr/local/include/boost/graph/distributed/mpi_process_group.hpp:419:28: No viable conversion from 'shared_ptr<boost::graph::distributed::mpi_process_group::impl>' to
> 'bool'
>
> 1) Any ideas?
> 2) Any location that I can find more examples of the Parallel BGL?

Where is the example that you are trying from? The ones in the Boost tree
all pass for me. If you write a simple test that just makes a Boost
shared_ptr<int> and tries to convert it to a bool, does that work (even an
implicit conversion should work, I think).

-- 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