mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Operazione Doppi Mersennes

Reply
 
Thread Tools
Old 2022-05-25, 16:36   #386
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

38 Posts
Default

Quote:
Originally Posted by Dylan14 View Post
it is limited to 128M bits. I could easily fix that and put a updated build.
Please do so, when you have time. I'm thinking of transitioning some Colab instances from OBD TF to mmff on MM127, which would benefit from a 2047M-capable Linux mmff.
kriesel is offline   Reply With Quote
Old 2022-05-25, 19:15   #387
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

38 Posts
Default Error message bug

mmff readme.txt includes
Quote:
Add this line to factor a double-Mersenne number:
MMFactor=exponent,minimum-bit-level-or-k-value,maximum-bit-level-or-k-value

Add this line to tell mmff which Fermat factor candidates (k*2^N+1, k odd) to test:
FermatFactor=N,minimum-k-value,maximum-k-value

Example worktodo.txt entries:

MMFactor=127,179,180
FermatFactor=33,5460e9,5470e9
but running out of work and into following # comment lines yields
Quote:
WARNING: ignoring line 2 in "worktodo.txt"! Reason: doesn't begin with Factor=
ERROR: get_next_assignment(): no valid assignment found in "worktodo.txt"
That warning message should
(a) refer to "MMFactor= or FermatFactor=" (not "Factor=")
(b) not occur for comment lines beginning # (or // or \, all of which IIRC are supported comment prefixes in mfaktc)

Examining mmff v0.28's parse.c source file, lines 183-186 are
Quote:
if( ('\\'==ptr[0]) && ('\\'==ptr[1]) )
return NONBLANK_LINE; // it's a comment, so ignore....don't care about long lines either..
if( ('/'==ptr[0]) && ('/'==ptr[1]) )
return NONBLANK_LINE; // it's a comment, so ignore....don't care about long lines either..
and this is absent:
Quote:
if( ('#'==ptr[0]) && ('#'==ptr[1]) )
return NONBLANK_LINE; // it's a comment, so ignore....don't care about long lines either..
Line 347 is
Quote:
case NO_FACTOR_EQUAL: printf("doesn't begin with Factor=\n");break;
and should be
Quote:
case NO_FACTOR_EQUAL: printf("doesn't begin with MMFactor= or FermatFactor=\n");break;
Similarly at lines 203-206
Quote:
if ((ptr[scanpos] == '\\') && (ptr[scanpos+1] == '\\'))
break; // comment delimiter
if ((ptr[scanpos] == '/') && (ptr[scanpos+1] == '/'))
break; // //comment delimiter
implies adding
Quote:
if ((ptr[scanpos] == '#') && (ptr[scanpos+1] == '#'))
break; // ##comment delimiter
However, in local mfaktc testing with existing exes, only // or \\ seem to work as a comment prefix. It might vary by version or build source.
Quote:
/ Factor=any-random_text_instead-ofAID.1234567890-=qwertyuiop[]\asdfghjkl;'zxcvbnm~./!@#$%^&*()_+QWE // ok but / results in line ignored
// Factor=any-random_text_instead-ofAID.1234567890-=qwertyuiop[]\asdfghjkl;'zxcvbnm~./!@#$%^&*()_+QWE// ok but / results in line ignored
\ Factor=any-random_text_instead-ofAID.1234567890-=qwertyuiop[]\asdfghjkl;'zxcvbnm~./!@#$%^&*()_+QWE \\ ok but \ results in error message
\\ Factor=any-random_text_instead-ofAID.1234567890-=qwertyuiop[]\asdfghjkl;'zxcvbnm~./!@#$%^&*()_+QWE \\ ok but \ results in error message
# Factor=any-random_text_instead-ofAID.1234567890-=qwertyuiop[]\asdfghjkl;'zxcvbnm~./!@#$%^&*()_+QWE results in error message
## Factor=any-random_text_instead-ofAID.1234567890-=qwertyuiop[]\asdfghjkl;'zxcvbnm~./!@#$%^&*()_+QWE results in error message

Factor=488000027,81,82
produces
Quote:
WARNING: ignoring line 1 in "worktodo.txt"! Reason: doesn't begin with Factor=
WARNING: ignoring line 3 in "worktodo.txt"! Reason: doesn't begin with Factor=
WARNING: ignoring line 5 in "worktodo.txt"! Reason: doesn't begin with Factor=
WARNING: ignoring line 6 in "worktodo.txt"! Reason: doesn't begin with Factor=
got assignment: exp=488000027 bit_min=81 bit_max=82 (1003.55 GHz-days)
There's a mildly modified parse-modded.zip attached with those changes.
Attached Files
File Type: zip parse-modded.zip (5.2 KB, 15 views)
kriesel is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mersenne trial division implementation mathPuzzles Math 8 2017-04-21 07:21
trial division over a factor base Peter Hackman Factoring 7 2009-10-26 18:27
P95 trial division strategy SPWorley Math 8 2009-08-24 23:26
Trial division software for Mersenne SPWorley Factoring 7 2009-08-16 00:23
Need GMP trial-division timings ewmayer Factoring 7 2008-12-11 22:12

All times are UTC. The time now is 14:38.


Sun Jun 26 14:38:47 UTC 2022 up 73 days, 12:40, 1 user, load averages: 1.17, 1.17, 1.23

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.

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