mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Factoring

Reply
 
Thread Tools
Old 2022-06-08, 11:27   #34
xilman
Bamboozled!
 
xilman's Avatar
 
"๐’‰บ๐’ŒŒ๐’‡ท๐’†ท๐’€ญ"
May 2003
Down not across

24×719 Posts
Default

Quote:
Originally Posted by kriesel View Post
It should not be necessary for users to do repeated testing to determine what the documentation ought plainly state, and illustrate with examples. (I sure do miss DEC VAX VMS documentation quality. Best I've ever seen.)
And what's up with B1 input silently dropping some input characters if unsupported input is supplied on the command line? There should at least be warnings generated about unexpected input format or truncation of input. Although that would be less important if the documentation was better, it still ought be flagged.

I think offering -B1 and -B2 keywords would be good too. Makes a command line more readable. Lets one specify B2 or B2 range without having to respecify B1.
Off you go then.

Join the ecm-discuss@lists.gforge.inria.fr and offer your help with enhancing the software.

Once you have proved your competence by submitting at least one useful patch you will become a valued member of the dev team.

If all you want to do is talk and not contribute, don't be offended if you are not given an effusive welcome.
xilman is online now   Reply With Quote
Old 2022-06-08, 13:34   #35
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

153328 Posts
Default

Good developers accept and act on valid feedback without requiring coding participation. Better developers seek feedback. George, Mihai, and Ernst are three examples that come to mind.
kriesel is online now   Reply With Quote
Old 2022-06-08, 14:53   #36
xilman
Bamboozled!
 
xilman's Avatar
 
"๐’‰บ๐’ŒŒ๐’‡ท๐’†ท๐’€ญ"
May 2003
Down not across

263608 Posts
Default

Quote:
Originally Posted by kriesel View Post
Good developers accept and act on valid feedback without requiring coding participation. Better developers seek feedback. George, Mihai, and Ernst are three examples that come to mind.
So, you don't care strongly enough to do anything to improve the situation. OK.
xilman is online now   Reply With Quote
Old 2022-06-08, 14:57   #37
Xyzzy
 
Xyzzy's Avatar
 
Aug 2002

851610 Posts
Default

The source code is the documentation!

Xyzzy is offline   Reply With Quote
Old 2022-06-08, 15:04   #38
xilman
Bamboozled!
 
xilman's Avatar
 
"๐’‰บ๐’ŒŒ๐’‡ท๐’†ท๐’€ญ"
May 2003
Down not across

24·719 Posts
Default

Quote:
Originally Posted by Xyzzy View Post
The source code is the documentation!

But need not be all the documentation.

If kriesel wishes to contribute he does not have to write in C. He could improve the documentation, for instance, and submit his work as patches to the present material. If he is fully fluent in a non-English language he could translate the present documentation. He could produce tutorials. He could record the command-line incantations for informative runs.Any amount of stuff which does not need him to get his hands dirty with gcc or pari/gp, or CUDA, or MPI, OpenCL or ...
xilman is online now   Reply With Quote
Old 2022-06-08, 15:43   #39
chris2be8
 
chris2be8's Avatar
 
Sep 2009

1001010110012 Posts
Default

Quote:
Originally Posted by kriesel View Post
-one relating to handling of a save file; if the -one option was given and a factor was found, the remaining consecutive lines for that number will be skipped. So its presence without -resume present seems to me a non sequitur, though probably harmless.
gmp-ecm also provides a man page. From man ecm:
Quote:
-one
In loop mode, stop when a factor is found; the default is to continue until the cofactor is prime or the specified number of runs are done.
Reading the man page as well as the README files should make things easier to understand.
chris2be8 is online now   Reply With Quote
Old 2022-06-08, 15:58   #40
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009
Not U. + S.A.

233410 Posts
Default

Quote:
Originally Posted by kriesel View Post
...Given storm5510 and my take on that aspect of the readme (and perhaps other gmp-ecm novices who've not spoken up), a well written clear paragraph about ranges might be good. Including don't use math expressions for bounds on the command line, if the program will handle them as ranges instead. Section 5 pretty clearly states decimal numbers, and "common" arithmetic expressions (* / + - %) are supported in expressions as input numbers. Does that apply only to the piped input number, not the command line parameters? That could be made clearer. If bounds should be literal values, not expressions, say so please.
"I don't care about what something is designed to do. I care about what it can do." Ed Harris in "Apollo 13."

He speaks of thinking outside the box. Many people, including some here, have trouble with this concept. I wanted to see what GMP-ECM could do, if anything, beyond what is written. kriesel refers to Section 5. It seems jumbled together with no order. There is nothing clear to indicate what I was trying to do would not work. As mentioned before, PhilF was running what he thought was an exclusion. Was it really? Section 5 makes no reference to making exclusions. If the program can then it needs to be documented. IMHO, this entire section needs an overhaul.

Quote:
Originally Posted by chris2be8
Reading the man page as well as the README files should make things easier to understand.
Where does this come from?

Last fiddled with by storm5510 on 2022-06-08 at 16:04
storm5510 is offline   Reply With Quote
Old 2022-06-08, 17:13   #41
charybdis
 
charybdis's Avatar
 
Apr 2020

35916 Posts
Default

Quote:
Originally Posted by storm5510 View Post
There is nothing clear to indicate what I was trying to do would not work. As mentioned before, PhilF was running what he thought was an exclusion. Was it really? Section 5 makes no reference to making exclusions. If the program can then it needs to be documented. IMHO, this entire section needs an overhaul.
What exactly were you trying to do? "B1=50000000-49000000" is totally meaningless from a theoretical point of view. Why would anyone even think of trying it?

And what do you mean by an exclusion??

Quote:
Where does this come from?
Either from typing "man ecm" into a Linux terminal as Chris says, or from here.
charybdis is offline   Reply With Quote
Old 2022-06-08, 22:49   #42
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009
Not U. + S.A.

1001000111102 Posts
Default

Quote:
Originally Posted by charybdis View Post
Why would anyone even think of trying it?

And what do you mean by an exclusion??
An exclusion: B1 = 8e8-8e8. This is what PhilF used in his M1277 runs.

Why try it? Because I am not confined to thinking inside the box as you appear to be.
storm5510 is offline   Reply With Quote
Old 2022-06-08, 23:15   #43
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

2×7×491 Posts
Default

Per the man page link posted earlier, it appears that of the listed gmp-ecm authors, Jim Fougeron has been most involved with input parsing, and so is likely the best qualified to make such changes. I've sent him an email ~4 hours ago, including links to this thread and a specific post and the download mirror for GIMPS software, and suggesting that for gmp-ecm,

  1. its readme.txt be updated, or a link to an online man page be included in the readme.txt, or a man page copy be included in distributions including Windows distributions of gmp-ecm;
  2. its B1 command line input parsing and error /warning output for exceptional B1 input be reexamined;
  3. the mersenne.ca download mirror be updated occasionally (with direct contact info for James Heinrich provided to Jim F)
I've not received either a bounce message or a response but it's early yet, and he's under no obligation to reply.

Last fiddled with by kriesel on 2022-06-08 at 23:16
kriesel is online now   Reply With Quote
Old 2022-06-08, 23:32   #44
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

246668 Posts
Default

Quote:
Originally Posted by kriesel View Post
I've not received either a bounce message or a response but it's early yet, and he's under no obligation to reply.
I have found that developers really like it when people work with their code.

Suggestions tend to be well-received, so long as they are "high-bandwidth" and valuable.

Ken... Do you have a GitHub account? If not, please correct that.
chalsall is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
About M1277 BigNumberGuy Factoring 106 2022-09-12 12:20
Predict the number of digits from within the factor for M1277 sweety439 Cunningham Tables 7 2022-06-11 11:04
Python script for search for factors of M1277 using random k-intervals Viliam Furik Factoring 61 2020-10-23 11:52
M1277 - no factors below 2^65? DanielBamberger Data 17 2018-01-28 04:21
Hardware choice frustrations...is it just me? larrylogory Hardware 18 2008-07-03 09:46

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


Wed Oct 5 15:45:43 UTC 2022 up 48 days, 13:14, 0 users, load averages: 1.43, 1.56, 1.58

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.

โ‰  ยฑ โˆ“ รท ร— ยท โˆ’ โˆš โ€ฐ โŠ— โŠ• โŠ– โŠ˜ โŠ™ โ‰ค โ‰ฅ โ‰ฆ โ‰ง โ‰จ โ‰ฉ โ‰บ โ‰ป โ‰ผ โ‰ฝ โŠ โŠ โŠ‘ โŠ’ ยฒ ยณ ยฐ
โˆ  โˆŸ ยฐ โ‰… ~ โ€– โŸ‚ โซ›
โ‰ก โ‰œ โ‰ˆ โˆ โˆž โ‰ช โ‰ซ โŒŠโŒ‹ โŒˆโŒ‰ โˆ˜ โˆ โˆ โˆ‘ โˆง โˆจ โˆฉ โˆช โจ€ โŠ• โŠ— ๐–• ๐–– ๐–— โŠฒ โŠณ
โˆ… โˆ– โˆ โ†ฆ โ†ฃ โˆฉ โˆช โŠ† โŠ‚ โŠ„ โŠŠ โŠ‡ โŠƒ โŠ… โŠ‹ โŠ– โˆˆ โˆ‰ โˆ‹ โˆŒ โ„• โ„ค โ„š โ„ โ„‚ โ„ต โ„ถ โ„ท โ„ธ ๐“Ÿ
ยฌ โˆจ โˆง โŠ• โ†’ โ† โ‡’ โ‡ โ‡” โˆ€ โˆƒ โˆ„ โˆด โˆต โŠค โŠฅ โŠข โŠจ โซค โŠฃ โ€ฆ โ‹ฏ โ‹ฎ โ‹ฐ โ‹ฑ
โˆซ โˆฌ โˆญ โˆฎ โˆฏ โˆฐ โˆ‡ โˆ† ฮด โˆ‚ โ„ฑ โ„’ โ„“
๐›ข๐›ผ ๐›ฃ๐›ฝ ๐›ค๐›พ ๐›ฅ๐›ฟ ๐›ฆ๐œ€๐œ– ๐›ง๐œ ๐›จ๐œ‚ ๐›ฉ๐œƒ๐œ— ๐›ช๐œ„ ๐›ซ๐œ… ๐›ฌ๐œ† ๐›ญ๐œ‡ ๐›ฎ๐œˆ ๐›ฏ๐œ‰ ๐›ฐ๐œŠ ๐›ฑ๐œ‹ ๐›ฒ๐œŒ ๐›ด๐œŽ๐œ ๐›ต๐œ ๐›ถ๐œ ๐›ท๐œ™๐œ‘ ๐›ธ๐œ’ ๐›น๐œ“ ๐›บ๐œ”