|
Boost Users : |
Subject: Re: [Boost-users] problem with gather array
From: alev mutlu (koor230_at_[hidden])
Date: 2010-03-09 15:28:47
Ok, when space for the vector is allocated it works.
I have one more question, is it possible to call gather with different count
values for master and worker processes?
On Tue, Mar 9, 2010 at 10:16 PM, K. Noel Belcourt <kbelco_at_[hidden]> wrote:
> Hi Alev,
>
> On Mar 9, 2010, at 10:43 AM, alev mutlu wrote:
>
> I am trying to scatter some values to workers and then gather them. But I
> get strange error in gather step.
> Any suggestions?
>
>
> Ensure your program runs correctly in serial before trying to run it in
> parallel.
>
> It looks like you never allocate array aa so the gather will fail.
>
> -- Noel
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
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