[pooma-dev] parallel particle bctest3 crash

Arno Candel candel at itp.phys.ethz.ch
Sat Oct 9 22:29:11 UTC 2004


> This is no wonder:
>
>   if (Pooma::context() == 0)
>     P.create(10,0,false);
>   P.sync(P.a1);
>
> i.e. we create 10 particles - distributing over 11 contexts isn't 
> going to work.  We don't handle contexts with zero particles 
> gracefully.  I think there are similar problems with #patches < 
> #contexts.  But I'd qualify these cases as user error.
>
> Hope this helps,
> Richard.


Unfortunately, that's not the problem. It still doesn't work after 
creating 11 or more particles.

I've been using position-dependent distribution of particles for months 
now in my own code, often with many contexts not containing any 
particles. The problem only arises when the number of contexts is 
getting too high (mostly 8-10 being the limit). However, I have no idea 
what triggers the error...

Arno



More information about the pooma-dev mailing list