Brereton, Ashley on Tue, 20 Oct 2020 18:57:40 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: parallel gp in windows


Hi Bill,


Many thanks for the help!


Actually, when I tried running the two cases I get:


func1(1e35,5)
1250
cpu time = 41,344 ms, real time = 41,956 ms.


parfor (count=1, , func2(1e35,count)>5 , r, if (r, return (count)))
cpu time = 1min, 55,016 ms, real time = 15,709 ms.
%7 = 1250


So the parallel performance on the new executable performs the same as the serial execution on the stable version. I'll try testing the linux version!

Thanks again,
Ash


From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
Sent: 20 October 2020 17:45
To: Brereton, Ashley
Cc: pari-users@pari.math.u-bordeaux.fr
Subject: Re: parallel gp in windows
 
On Tue, Oct 20, 2020 at 04:29:24PM +0000, Brereton, Ashley wrote:
> Hi Bill,
>
> Apologies, when I open a new terminal I get:
> default(nbthreads)
> %1 = 1
>
> I download from: https://pari.math.u-bordeaux.fr/download.html
>
> and install Stable 64-bit version:
> Pari64-2-13-0.exe<https://pari.math.u-bordeaux.fr/pub/pari/windows/Pari64-2-13-0.exe>
> (92.4 MB), Oct 19 2020

Alas, this version is not built with pthread support, you should try
this one:
<https://pari.math.u-bordeaux.fr/pub/pari/windows/gppthread64-readline-2-13-0.exe>

If you use Windows10, I would advise to use the Windows subsystem for
linux instead. Parallel performance are much better.

Cheers,
Bill.