mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2021-11-18, 18:07   #1
Miszka
 
Miszka's Avatar
 
May 2013
Poland

2×3×17 Posts
Default Unexpected termination of PM-1

I'm using Prime95v. 30. 7b4
During implementation:
Pminus1=N/A,1,2,3779,-1,40000000000,2000000000000,68,"7559,2086009,6084191,274476660553,5086072485847,6306850735777,3476227576267836521,2078022893280176212649"
The program aborted after finishing the first stage and calculating B2=999*B1=39960000000000 without any message, writing to the log, or sending the result to the GIMPS server (See Photo1).

I restarted the program forcing the value B2=2000000000000
Pminus1=N/A,1,2,3779,-1,40000000000,2000000000000,"7559,2086009,6084191,274476660553,5086072485847,6306850735777,3476227576267836521,2078022893280176212649"
The program has again terminated unexpectedly (See Photo2).

Perhaps the B2 value used (calculated) is too large and exceeds the allowable limit?
I don't know, because there is no announcement.
Attached Thumbnails
Click image for larger version

Name:	Photo1.jpg
Views:	62
Size:	100.4 KB
ID:	26112   Click image for larger version

Name:	Photo2.jpg
Views:	63
Size:	86.7 KB
ID:	26113  
Miszka is offline   Reply With Quote
Old 2021-11-18, 18:13   #2
Viliam Furik
 
Viliam Furik's Avatar
 
"Viliam Furík"
Jul 2018
Martin, Slovakia

30516 Posts
Default

Quote:
Originally Posted by Miszka View Post
I'm using Prime95v. 30. 7b4
During implementation:
Pminus1=N/A,1,2,3779,-1,40000000000,2000000000000,68,"7559,2086009,6084191,274476660553,5086072485847,6306850735777,3476227576267836521,2078022893280176212649"
The program aborted after finishing the first stage and calculating B2=999*B1=39960000000000 without any message, writing to the log, or sending the result to the GIMPS server (See Photo1).

I restarted the program forcing the value B2=2000000000000
Pminus1=N/A,1,2,3779,-1,40000000000,2000000000000,"7559,2086009,6084191,274476660553,5086072485847,6306850735777,3476227576267836521,2078022893280176212649"
The program has again terminated unexpectedly (See Photo2).

Perhaps the B2 value used (calculated) is too large and exceeds the allowable limit?
I don't know, because there is no announcement.
I had similar issues before, with small exponents and huge B1/B2. I don't remember the details exactly, but I think I had problem with B2 being too large. That's probably the reason for you too.
Viliam Furik is offline   Reply With Quote
Old 2021-11-18, 18:24   #3
Miszka
 
Miszka's Avatar
 
May 2013
Poland

2×3×17 Posts
Default

And what's the biggest value B2 can be?
Miszka is offline   Reply With Quote
Old 2021-11-18, 20:07   #4
Viliam Furik
 
Viliam Furik's Avatar
 
"Viliam Furík"
Jul 2018
Martin, Slovakia

773 Posts
Default

Quote:
Originally Posted by Miszka View Post
And what's the biggest value B2 can be?
Not sure... But it's easy to find out. Try which ones work! It's like a guessing game.
Viliam Furik is offline   Reply With Quote
Old 2021-11-18, 20:45   #5
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

11010000100012 Posts
Default

Quote:
Originally Posted by Viliam Furik View Post
Not sure...
Or read the source code, perhaps while a guess runs.
kriesel is offline   Reply With Quote
Old 2021-11-18, 21:23   #6
Viliam Furik
 
Viliam Furik's Avatar
 
"Viliam Furík"
Jul 2018
Martin, Slovakia

773 Posts
Default

Quote:
Originally Posted by kriesel View Post
Or read the source code, perhaps while a guess runs.
Frankly, that didn't occur to me...
Viliam Furik is offline   Reply With Quote
Old 2021-11-18, 23:37   #7
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

2·23·173 Posts
Default

Quote:
Originally Posted by Miszka View Post
I'm using Prime95v. 30. 7b4

Pminus1=N/A,1,2,3779,-1,40000000000,2000000000000,68,
Prime95 is the wrong tool for the job. Use GMP-ECM.
Prime95 is offline   Reply With Quote
Old 2021-11-19, 04:52   #8
tuckerkao
 
"Tucker Kao"
Jan 2020
Head Base M168202123

24×47 Posts
Default

Quote:
Originally Posted by Miszka View Post
And what's the biggest value B2 can be?
It depends on the available memories of the user's PC. Many larger factors require the bounds to be up to 2^14 or greater which can be out of reach by many models. ECM has the higher chance to find such the useful factors, but require many curves to be run before able to find 1.
tuckerkao is offline   Reply With Quote
Old 2021-11-19, 06:20   #9
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

D1716 Posts
Default

Quote:
Originally Posted by Miszka View Post
And what's the biggest value B2 can be?
With GMP-ECM you can run stage2 in as many stages as you want, going as high as you want. First you run stage1 and save the result:

ecm.exe -v -pm1 -save M3779stage1.txt 4e10 4e10 < M3779.txt

The "M3779.txt" file is just this line:
Code:
(2^3779-1)/7559/2086009/6084191/274476660553/5086072485847/6306850735777/3476227576267836521/2078022893280176212649
Then you can just run stage2 like this:
ecm.exe -v -pm1 -resume M3779stage1.txt 4e10 4e10-1e13 < M3779.txt
ecm.exe -v -pm1 -resume M3779stage1.txt 4e10 1e13-2e13 < M3779.txt
ecm.exe -v -pm1 -resume M3779stage1.txt 4e10 2e13-3e13 < M3779.txt
etc.

You can adjust the interval you want to run each time depending on how much memory you want to use. 1e13 takes 2784 MB. Generally I think running as high an interval as possible each time is faster than running many small intervals, but don't remember if that is always the case. I seem to remember testing than sometimes it was not.

Last fiddled with by ATH on 2021-11-19 at 06:20
ATH is online now   Reply With Quote
Old 2021-11-19, 07:33   #10
Miszka
 
Miszka's Avatar
 
May 2013
Poland

2×3×17 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Prime95 is the wrong tool for the job. Use GMP-ECM.
I made several attempts to determine the value of B2 to complete my task.
Only B2=B1=40000000000 was successful.
In this experimental way I found out that for small Mersenne numbers the P-1 method is not a good method.
Miszka is offline   Reply With Quote
Old 2021-11-19, 15:51   #11
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

795810 Posts
Default

Quote:
Originally Posted by Miszka View Post
I made several attempts to determine the value of B2 to complete my task.
Only B2=B1=40000000000 was successful.
In this experimental way I found out that for small Mersenne numbers the P-1 method is not a good method.
Keep the save file. Version 30.8 may be able to complete stage 2.
Prime95 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unexpected from AMD M344587487 Hardware 18 2018-08-08 15:17
Unexpected Factor apocalypse PrimeNet 6 2015-03-15 19:31
Unexpected jackpot fivemack Factoring 6 2010-11-10 19:34
Aliquot Termination Question - Largest Prime? EdH Aliquot Sequences 6 2010-04-06 00:12
A new termination below 100k 10metreh Aliquot Sequences 0 2010-03-11 18:24

All times are UTC. The time now is 07:15.


Tue Aug 16 07:15:05 UTC 2022 up 40 days, 2:02, 1 user, load averages: 0.98, 1.06, 1.08

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

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔