mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2016-09-08, 10:04   #1
cardmaker
 
Jun 2016

24 Posts
Default return value 255 error

hello , anyone can help me solving this error ? is appear at final afther the 100% was reached.

-> ________________________________________________________________
-> | Running factmsieve.py, a Python driver for MSIEVE with GGNFS |
-> | sieving support. It is Copyright, 2010, Brian Gladman and is |
-> | a conversion of factmsieve.pl that is Copyright, 2004, Chris |
-> | Monico. Version 0.83 (Python 2.6 or later) 20th June 2011. |
-> |______________________________________________________________|
-> This is client 1 of 1
-> Running on 2 Cores with 1 hyper-thread per Core
-> Working with NAME = example
-> Selected default factorization parameters for 154 digit level.
-> Selected lattice siever: gnfs-lasieve4I14e
-> Creating param file to detect parameter changes...
-> Running setup ...
-> Estimated minimum relations needed: 5.70292e+07
-> cleaning up before a restart
-> Running lattice siever ...
-> entering sieving loop
-> Running matrix solving step ...
-> ./msieve -s ../example.dat -l ../example.log -i ../example.ini -nf ../example.fb -t 2 -nc2
Return value 255. Terminating...

and here is the example.log

Thu Sep 8 09:59:45 2016 Msieve v. 1.52 (SVN Nicht versioniertes Verzeichnis)
Thu Sep 8 09:59:45 2016 random seeds: 01ab0386 29e53fe6
Thu Sep 8 09:59:45 2016 factoring 7953266007138575923386026476271518626050106927131777619067868329703116911834876339688760071802326216706812958579045413916438649983062705062189119161638103 (154 digits)
Thu Sep 8 09:59:46 2016 no P-1/P+1/ECM available, skipping
Thu Sep 8 09:59:46 2016 commencing number field sieve (154-digit input)
Thu Sep 8 09:59:46 2016 R0: -2313490887389456478718823507313
Thu Sep 8 09:59:46 2016 R1: 69045601986528629
Thu Sep 8 09:59:46 2016 A0: 101411494204712963122911999139065348523040
Thu Sep 8 09:59:46 2016 A1: 2408157634030417501441126109392798
Thu Sep 8 09:59:46 2016 A2: -580491766848188029735707957
Thu Sep 8 09:59:46 2016 A3: -10863771730542601210
Thu Sep 8 09:59:46 2016 A4: 234205574284
Thu Sep 8 09:59:46 2016 A5: 120
Thu Sep 8 09:59:46 2016 skew 54161164.61, size 4.798e-15, alpha -8.274, combined = 2.776e-12 rroots = 5
Thu Sep 8 09:59:46 2016
Thu Sep 8 09:59:46 2016 commencing linear algebra
Thu Sep 8 09:59:47 2016 read 4250736 cycles
Thu Sep 8 09:59:56 2016 cycles contain 12260196 unique relations
Thu Sep 8 09:59:56 2016 read 0 relations
Thu Sep 8 09:59:56 2016 error: cannot locate relation 57030371
cardmaker is offline   Reply With Quote
Old 2016-09-08, 12:58   #2
RichD
 
RichD's Avatar
 
Sep 2008
Kansas

328610 Posts
Default

It appears your .dat file is empty. Did you accidentally start the sieving process and immediately terminate it after you noticed the mistake?
RichD is offline   Reply With Quote
Old 2016-09-09, 11:50   #3
cardmaker
 
Jun 2016

24 Posts
Default

hello, and many thanks for your replay.
no i didnt run sieving process.
at my folder it existe:
example.dat whit 157b
example.dat.cyc whit 103.549.4xxb
example.dat.lp whit 0b
example.dat.mat whit 0b
example.dat.t0.p whit 2.738b
example.dat.t1.p whit 6.053b

any more sugestions?
cardmaker is offline   Reply With Quote
Old 2016-09-09, 14:49   #4
RichD
 
RichD's Avatar
 
Sep 2008
Kansas

328610 Posts
Default

Your .dat file only contains the composite plus a few control characters. There are no relations in the file.

Restore the .dat file from a backup copy (if you have one) and try again.

-or-

I’m not familiar with the Python script (only Perl) but maybe someone else could help out. You have example.dat.t0.p and .t1.p files. If those are in GB then you might have the relations needed. If those are in MB then the data is most likely from the last sieving step or some other process.

Backup this folder before you try anything else!

You can try to rebuild the .dat file like:
Code:
cat example.dat.t* >> example.dat
then issue (from above) the command:
Code:
./msieve -s ../example.dat -l ../example.log -i ../example.ini -nf ../example.fb -t 2 -nc2 -nc3
which includes the last phase (-nc3) of linear algebra.

If you get a lot of “error -nn” at the start, then the .dat.tx.p is not the relations file. You may have to perform the sieving step again.
RichD is offline   Reply With Quote
Old 2016-09-10, 11:17   #5
cardmaker
 
Jun 2016

24 Posts
Default

HI, i dont have the backup of the example.dat.
the files example.dat.t0.p and t1.p are in kb i try your cmd
cat example.dat.t* >> example.dat and then only this one work
./msieve -s ../example.dat -l ../example.log -i ../example.ini -nf ../example.fb -t 2 -nc4

Fri Sep 9 16:11:08 2016 Msieve v. 1.52 (SVN Nicht versioniertes Verzeichnis)
Fri Sep 9 16:11:08 2016 random seeds: 7db38e6f 8327b2d3
Fri Sep 9 16:11:08 2016 factoring 7953266007138575923386026476271518626050106927131777619067868329703116911834876339688760071802326216706812958579045413916438649983062705062189119161638103 (154 digits)
Fri Sep 9 16:11:09 2016 no P-1/P+1/ECM available, skipping
Fri Sep 9 16:11:09 2016 commencing quadratic sieve (154-digit input)
Fri Sep 9 16:11:11 2016 using multiplier of 1
Fri Sep 9 16:11:11 2016 using generic 32kb sieve core
Fri Sep 9 16:11:11 2016 sieve interval: 400 blocks of size 32768
Fri Sep 9 16:11:11 2016 processing polynomials in batches of 1
Fri Sep 9 16:11:11 2016 using a sieve bound of 42898589 (1300000 primes)
Fri Sep 9 16:11:11 2016 using large prime bound of 4294967295 (31 bits)
Fri Sep 9 16:11:11 2016 using double large prime bound of 218437776016143360 (51-58 bits)
Fri Sep 9 16:11:11 2016 using trial factoring cutoff of 58 bits
Fri Sep 9 16:11:11 2016 polynomial 'A' values have 16 factors
Fri Sep 9 16:16:15 2016 0 relations (0 full + 0 combined from 4 partial), need 1300096
Fri Sep 9 16:16:15 2016 elapsed time 00:05:07
Fri Sep 9 16:18:39 2016
Fri Sep 9 16:18:39 2016
Fri Sep 9 16:18:39 2016 Msieve v. 1.52 (SVN Nicht versioniertes Verzeichnis)
Fri Sep 9 16:18:39 2016 random seeds: 6bdf31dd 19906ede
Fri Sep 9 16:18:39 2016 factoring 7953266007138575923386026476271518626050106927131777619067868329703116911834876339688760071802326216706812958579045413916438649983062705062189119161638103 (154 digits)
Fri Sep 9 16:18:40 2016 no P-1/P+1/ECM available, skipping
Fri Sep 9 16:18:40 2016 commencing quadratic sieve (154-digit input)
Fri Sep 9 16:18:43 2016 using multiplier of 1
Fri Sep 9 16:18:43 2016 using generic 32kb sieve core
Fri Sep 9 16:18:43 2016 sieve interval: 400 blocks of size 32768
Fri Sep 9 16:18:43 2016 processing polynomials in batches of 1
Fri Sep 9 16:18:43 2016 using a sieve bound of 42898589 (1300000 primes)
Fri Sep 9 16:18:43 2016 using large prime bound of 4294967295 (31 bits)
Fri Sep 9 16:18:43 2016 using double large prime bound of 218437776016143360 (51-58 bits)
Fri Sep 9 16:18:43 2016 using trial factoring cutoff of 58 bits
Fri Sep 9 16:18:43 2016 polynomial 'A' values have 16 factors
Fri Sep 9 16:18:43 2016 restarting with 0 full and 4 partial relations

should i let contiune?

Last fiddled with by cardmaker on 2016-09-10 at 11:19
cardmaker is offline   Reply With Quote
Old 2016-09-10, 13:43   #6
RichD
 
RichD's Avatar
 
Sep 2008
Kansas

2×31×53 Posts
Default

Quote:
Originally Posted by cardmaker View Post
Fri Sep 9 16:18:43 2016 restarting with 0 full and 4 partial relations

should i let contiune?
No, you have no relations. If you don't have them in another place you will have to re-sieve this number.
Your .dat file should be in the neighborhood of 5-7 GB.

We've all made this same mistake before.
RichD is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Under what circumstances does factordb return an empty page? fivemack FactorDB 2 2017-12-09 08:36
LL and DC only reports also return P-1 and TF retina Data 6 2016-06-14 00:51
CUDA Basic Programming Won't Return Correct Values EdH Programming 10 2014-11-11 21:36
Return to failure functions devarajkandadai Miscellaneous Math 3 2009-02-08 14:54
ERROR: Primenet error 2252. Q: which tcp/ip ports are being used for the transfer? nevillednz PrimeNet 15 2004-05-17 23:08

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

Mon Mar 8 07:11:36 UTC 2021 up 95 days, 3:22, 0 users, load averages: 2.02, 2.28, 2.36

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, 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.