Bill Allombert on Fri, 30 Jun 2023 22:04:04 +0200


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

Re: How to interrupt a MT calculation?


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.