On Fri, Jan 13, 2017 at 11:00:28PM +0100, Loďc Grenié wrote:
> Package: pari
> Version: dd75740be
> Severity: normal
>
> Hi Karim and Bill,
>
> I think you probably understood what I will say. With pthread,
>
> parfor(n=10,20,addprimes(nextprime(10^n))) I fixed that. Now, each thread has a separate addprimes list and
import the addprimes from the main thread.
Please check it works for your application.