mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Software (https://www.mersenneforum.org/forumdisplay.php?f=10)
-   -   Prime95 crashing on ECM with large bounds (https://www.mersenneforum.org/showthread.php?t=28309)

IamMusavaRibica 2022-12-18 16:21

Prime95 crashing on ECM with large bounds
 
So yesterday I ran ECM with bounds from few thousand million to around ten billion, came back today and found out prime95 wasn't running anymore. After reopening it, the task continued, it was at curve 1 around 99%, I watched it for five minutes and it crashed again, but it doesn't show any errors and just continues to work when restarted. It's not a cpu or memory problem because i assigned only 20 GB (out of 32) of ram and one and only worker to use only three cpu cores. The program just exits with no error or crash messages. prime.log also doesn't show any error messages. Is this kind of crash normal, especially for large bounds ECM?

Andrew Usher 2022-12-18 16:37

Exactly when in the curve did this happen, and were you trying to resume from a savefile?

If the crash happens during stage 2 init, it's surely a memory-allocation issue. Check how much memory it is actually trying to use.

IamMusavaRibica 2022-12-18 16:49

[QUOTE=Andrew Usher;620217]Exactly when in the curve did this happen, and were you trying to resume from a savefile?

If the crash happens during stage 2 init, it's surely a memory-allocation issue. Check how much memory it is actually trying to use.[/QUOTE]

Unless stage 2 init should happen while stage 1 is in progress. I'm sure this doesn't have anything to do with stage 2 ECM. But in the unlikely case, how would I fix it? Lower down the memory limit even more?

Andrew Usher 2022-12-18 17:15

Stage 2 init doesn't happen when stage 1 is in progress, but immediately after it. However, the Windows icon may still show '99% [or whatever] of stage 1' during it.

SuikaPredator 2022-12-18 18:26

Are you using version 30.8 with a very large ECM bound?

I think a possible solution is using version 30.9 for ECM [URL="https://www.mersenneforum.org/showthread.php?t=27905"]here[/URL].

Andrew Usher 2022-12-18 19:30

Possibly but he hasn't given enough detail to say. I doubt the potential memory-allocation crashes (which have been present in prime95 ECM for several versions, perhaps from the beginning) have been fixed. Getting it to use less memory, somehow, is the only solution there.

kriesel 2022-12-18 21:34

[QUOTE=IamMusavaRibica;620215]So yesterday I ran ECM with bounds from few thousand million to around ten billion, came back today and found out prime95 wasn't running anymore. After reopening it, the task continued, it was at curve 1 around 99%, I watched it for five minutes and it crashed again, but it doesn't show any errors and just continues to work when restarted. It's not a cpu or memory problem because i assigned only 20 GB (out of 32) of ram and one and only worker to use only three cpu cores. The program just exits with no error or crash messages. prime.log also doesn't show any error messages. Is this kind of crash normal, especially for large bounds ECM?[/QUOTE]

[QUOTE=Andrew Usher;620245]Possibly but he [B]hasn't given enough detail to say.[/B][/QUOTE]
Indeed.
[QUOTE=kriesel;521664]Make an effort to provide an easily read complete set of the needed context information in the same post with a question or bug report. If you're asking why something is not working how you expect, tell us at the beginning what software you're asking about, what [B]version[/B] of the software, what [B]OS[/B] you're running it on, what [B]OS version or flavor,[/B] what [B]hardware[/B], what computation type (for mprime / prime95, Gpuowl, Mlucas or any other software that can perform more than one computation type), [B]stage[/B] if relevant, [B]exponent[/B], [B]bounds[/B] or bit levels as applicable, non-default tuning, any parameters it seems to be having difficulties with, and any other pertinent information. If asking about Linux, what version of what distribution. In the case of a GPU related question, include the GPU model, driver name and version, and perhaps hardware specs that are relevant (GPU ram for example, or NVIDIA compute capability level). A little time spent once, providing that info in a convenient format, can save many readers and the original poster a little time each, and reduce the need for Q&A that sometimes follows when such information is missing, or hidden away somewhat in a long code box line. It's especially important to be considerate of the time of the rare few very talented volunteer programmers.[/QUOTE]

Prime95 2022-12-19 01:40

I just fixed a problem where very high stage 2 bounds caused prime95 to allocate much more memory than allowed. This was in the new prime-pairing code, so it appeared in 30.6 (or was it 30.4 or 30.55?). The fix is to run 30.9 with enough memory that uses the newer stage 2 code or downgrade to 30.3.


All times are UTC. The time now is 13:59.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.