View Single Post
Old 2019-11-14, 18:50   #2
jyb's Avatar
Aug 2005
Seattle, WA

5×11×29 Posts

Originally Posted by EdH View Post
I've done a search of the Readmes and here, but failed to find anything.

On my most recent project I get several -1 errors, which is quite common (for me, at least). But, following those, I suddenly get an endless stream of -5 errors. In fact, the stream is so intense, it keeps "cat" from leaving the *.log file.
As expected, these errors are caused by bad lines in the relations file. There's not much that msieve can do about it, other than possibly just not logging them (which you can accomplish with the -q option).

In case you want to track down the bad lines in order to figure out where the sievers are going wrong, here's some possibly useful information about how msieve parses them:

- Every line is read to see if it is a valid relation. Relation numbers and lines numbers may NOT be in 1-1 correspondence (see next item). Relation numbers start at 0.

- Any line which doesn't start with a hyphen or a digit is ignored, so it doesn't consume a relation number.

- If there isn't a comma immediately after the initial decimal number on a line, the relation gives a -1 error.

- If there isn't a colon immediately after the two comma-separated decimal numbers on the line, the relation gives a -5 error.

So that should tell you the cause of all the errors you're seeing, though it doesn't necessarily help you figure out what to do about it. It's not uncommon for me to see several thousand (sometimes tens of thousands of) lines of errors in a large job's relations file. However, this is usually when I'm post-processing an NFS@Home job, and those files are prone to having lots of garbage in them. If you did the sieving yourself then it's a little more surprising that you would get so much garbage.

As for your question about an error code listing, I'm unaware of one. The source code is the only place I know to look.

Last fiddled with by jyb on 2019-11-14 at 18:51
jyb is online now   Reply With Quote