Jean-Luc Arnaud on Sat, 01 Jul 2023 00:38:46 +0200


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

Re: How to interrupt a MT calculation?


Le 30/06/2023 à 22:04, Bill Allombert a écrit :
On Fri, Jun 30, 2023 at 05:17:17PM +0200, Jean-Luc Arnaud wrote:
With 2^470-1, first result in 1728 ms, displayed after... 7min, 24,773 ms
!!!

Is there another way to interrupt the script as soon as the "error" occurs?
? Factor3_MT(2^470-1)
%8 = ["e_USER",[[2179,2181]]]
? ##
   ***   last result: cpu time 13,086 ms, real time 2,183 ms.

This is with pthread on Linux. This does not work with MPI.

Cheers,
Bill.

Thanks for spending time testing that.

I'd like to get the same result, but it's not the case.

Working on Mac Intel, OS 13.4, Pari/GP 2.16.0 pthread version.

I well test again and verify something, and let you know asap.

Sincerely,

Jean-Luc