mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2011-06-22, 17:06   #12
chris2be8
 
chris2be8's Avatar
 
Sep 2009

2·1,039 Posts
Default

Quote:
Originally Posted by Andi47 View Post
ooops you are right, the ; went indeed missing. I will do another test run in a few days. (I don't want to interrupt my current factorization.)
Try running factMsieve.pl without any parameters. You should get a usage message, which at least proves the perl doesn't have any obvious syntax errors.

Chris K
chris2be8 is offline   Reply With Quote
Old 2011-06-22, 20:49   #13
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3,541 Posts
Default

If you're doing NFS postprocessing, you don't even need a 'N' line in the relation file, and any such lines are ignored.

Right now whether relations are compressed or not is determined at compile time; if compiled with zlib, the library checks whether the beginning of the relation file is a recognizable zlib header, but only for reading relations. When compiled with compression, relations should always be written in compressed format IIRC.

You don't really want to use the line sieve anyway :)
jasonp is offline   Reply With Quote
Old 2011-06-23, 02:22   #14
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36·13 Posts
Default

With NO_ZLIB=1, there's no way for the binary to write the compressed output (it simply isn't equipped)!

With zlib, in msieve, reading is done from either compressed or uncompressed file, writing to a new file never happens*, and appending to an existing file honors and preserves its state - either compressed or uncompressed.

________
*Nobody line sieves! ...and even if they do, the perl script must have already created a file with "N ...." in it, by tradition. (An optionally modified perl script may have gzipped it, too; no harm in that. A further modified perl script may spawn sievers with -z option and concatenate them to the gzipped .dat file, too.) Don't know what the python script does. Then read on what happens while appending to an existing file.
Batalov is offline   Reply With Quote
Old 2011-06-23, 16:48   #15
chris2be8
 
chris2be8's Avatar
 
Sep 2009

207810 Posts
Default

In my experience line sieving is faster than lattice sieving very near the origin, but quickly slows down. So it's only worth doing a small range.

The existing perl script does a small range on the master system, but only uses one thread for it. What I am trying to do is to allow the use to choose which system does the line sieving, they get best overall throughput if it's done on a single core system that can't run the 64bit lattice siever.

I'll probably put a "N " line into the line sieving output file. The worst that can do is generate a "error -n reading relation m" message.

Chris K
chris2be8 is offline   Reply With Quote
Old 2011-06-24, 13:55   #16
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

2·17·73 Posts
Default

Quote:
Originally Posted by chris2be8 View Post
Try running factMsieve.pl without any parameters. You should get a usage message, which at least proves the perl doesn't have any obvious syntax errors.

Chris K
Seems to work now (currently in the poly search phase of 11^202+8^202, c122 cofactor)
Andi47 is offline   Reply With Quote
Old 2011-06-24, 15:26   #17
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

10,753 Posts
Default

Quote:
Originally Posted by Andi47 View Post
Seems to work now (currently in the poly search phase of 11^202+8^202, c122 cofactor)
Phew!

It's only incompetence which saved me from having to disappoint you on this one. I thought my laptop had finished it about an hour ago but have just discovered that the c129 from 12-7,215 has been done instead.

Paul
xilman is offline   Reply With Quote
Old 2011-06-24, 16:44   #18
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

2·17·73 Posts
Default

Quote:
Originally Posted by xilman View Post
Phew!

It's only incompetence which saved me from having to disappoint you on this one. I thought my laptop had finished it about an hour ago but have just discovered that the c129 from 12-7,215 has been done instead.

Paul
Phew! Do you reserve the numbers you do at http://www.chiark.greenend.org.uk/uc...mack/homcun.pl ?

When I chose a homogeneous cunningham number to factor I look at this site first, and there I saw that 11,8,202+ was free, so I took (and reserved) it.
Andi47 is offline   Reply With Quote
Old 2011-06-24, 16:57   #19
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

10,753 Posts
Default

Quote:
Originally Posted by Andi47 View Post
Phew! Do you reserve the numbers you do at http://www.chiark.greenend.org.uk/ucgi/~twomack/homcun.pl ?

When I chose a homogeneous cunningham number to factor I look at this site first, and there I saw that 11,8,202+ was free, so I took (and reserved) it.
I should do, but forgot on this occasion. Mea culpa.

In previous cases like this my procedure has been to ignore my factorization for reporting purposes and give credit to the person who reserved it correctly.

Paul
xilman is offline   Reply With Quote
Old 2011-06-25, 07:02   #20
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

2·17·73 Posts
Default

Quote:
Originally Posted by Andi47 View Post
Seems to work now (currently in the poly search phase of 11^202+8^202, c122 cofactor)
done:
prp55 factor: 1296412830004084343004709487569988508453116368634023229
prp67 factor: 8724681460871729101591387153866541424385233604852729111953320015973

Mail to Paul is out.
Andi47 is offline   Reply With Quote
Old 2011-06-26, 19:07   #21
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

72×131 Posts
Default

Is there any way that I can get the timeout for sieving in stage 1 of polynomial selection to be measured in CPU-seconds rather than in realtime seconds? I would like to be able to have a polynomial-selection job running with 'nice -19 make -j 48' while I do sieving jobs at nice 0 on my large machine, and at present this appears to mean I get very few hits because about one CPU-second elapses per minute of realtime.

Last fiddled with by fivemack on 2011-06-26 at 19:10
fivemack is offline   Reply With Quote
Old 2011-06-26, 20:03   #22
jrk
 
jrk's Avatar
 
May 2008

3×5×73 Posts
Default

I agree, it should be using CPU time instead of walltime (but GPU will still use walltime as before). I was meaning to change that at one point but forgot about it. Check again later in the week.
jrk is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Msieve 1.53 feedback xilman Msieve 149 2018-11-12 06:37
Msieve 1.50 feedback firejuggler Msieve 99 2013-02-17 11:53
Msieve 1.43 feedback Jeff Gilchrist Msieve 47 2009-11-24 15:53
Msieve 1.42 feedback Andi47 Msieve 167 2009-10-18 19:37
Msieve 1.41 Feedback Batalov Msieve 130 2009-06-09 16:01

All times are UTC. The time now is 00:54.


Sat Jul 17 00:54:18 UTC 2021 up 49 days, 22:41, 1 user, load averages: 0.99, 1.34, 1.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.