mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2010-08-12, 21:27   #34
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

100101000001012 Posts
Default

Yeah, but what's the platform and the zlib version?

Also, there may be a mismatch between zlib.h and libz.so ...? Could you attempt to build zlib , copy zlib.h to msieve/trunk/include and libz.a to msieve/trunk/ and link as ./libz.a ? That's what I would do (and did, for test purposes).
Batalov is offline   Reply With Quote
Old 2010-08-12, 22:09   #35
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3,541 Posts
Default

My system runs Fedora Core 2 from ~2004, so it's entirely possible that my zlib version is too old.

Jeff: Yes, the extra speedup is due entirely to a small patch that Greg has been using on his local sources for a while now, basically you throw more memory at the filtering to reduce the number of clique removal passes. Adding a disk-based clique removal pass would be even better for extremely large problems, maybe half the filtering time goes into doing tons of clique removal passes now.
jasonp is offline   Reply With Quote
Old 2010-08-12, 22:30   #36
jrk
 
jrk's Avatar
 
May 2008

21078 Posts
Default

Quote:
Originally Posted by jasonp View Post
My system runs Fedora Core 2 from ~2004, so it's entirely possible that my zlib version is too old.
Whoa. And I thought my Fedora 10 system was getting old.
jrk is offline   Reply With Quote
Old 2010-08-12, 22:34   #37
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36·13 Posts
Default

Well, as I've set up myself for this, I will check out how the really old -lz versions behave. 1.2.3 seems to be the version with the least amount of hassle.

In 1.2.5 extra defines are needed and some (probably insignificant for our use) sophistication in internal 64-bit functions gzseek, gztell, which we don't use. The library worked with >4Gb files in 1.2.3 (and before), but gzseek, gztell were probably broken.

I'll check what the popular distros have (ubuntu etc...) I run a SUSE 11.1, .2, .3, and SLES 11+ flavors. They all have >=1.2.3 installed forever.
Batalov is offline   Reply With Quote
Old 2010-08-12, 23:15   #38
jrk
 
jrk's Avatar
 
May 2008

109510 Posts
Default

Quote:
Originally Posted by Batalov View Post
I'll check what the popular distros have (ubuntu etc...) I run a SUSE 11.1, .2, .3, and SLES 11+ flavors. They all have >=1.2.3 installed forever.
Fedora versions from 7 to 13 (and possibly earlier) have zlib 1.2.3. Fedora 14 has has 1.2.5.

1.2.4 has known security problems.
jrk is offline   Reply With Quote
Old 2010-08-12, 23:36   #39
em99010pepe
 
em99010pepe's Avatar
 
Sep 2004

2·5·283 Posts
Default

Quote:
Originally Posted by jasonp View Post

Carlos: as far as I know msieve.exe is an ordinary windows console application; I have no idea why an explorer window would be popping up, unless maybe the LA chews up a lot of memory and your system starts to misbehave because of that.
A windows explorer.exe service pops up not an explorer window. I have plenty of memory, 8 GB.
em99010pepe is offline   Reply With Quote
Old 2010-08-13, 00:28   #40
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36×13 Posts
Default

Quote:
Originally Posted by Batalov View Post
Also, there may be a mismatch between zlib.h and libz.so ...? Could you attempt to build zlib , copy zlib.h to msieve/trunk/include and libz.a to msieve/trunk/ and link as ./libz.a ? That's what I would do (and did, for test purposes).
Correction:
wget http://zlib.net/zlib-1.2.5.tar.gz
# tar xfz, etc...
./configure ; make
...copy zlib.h and zconf.h to msieve/trunk/include
(otherwise an old incompatible zconf.h from older installation will break this build)

That all comes into play when one doesn't have root privileges to install systemwide. Otherwise, make install. Note: distros apparently don't care about 1.2.5 and keep propagating 1.2.3.
Batalov is offline   Reply With Quote
Old 2010-08-13, 00:44   #41
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3,541 Posts
Default

Quote:
Originally Posted by jrk View Post
Whoa. And I thought my Fedora 10 system was getting old.
At any given time I work with two systems at home, an everyday one and a higher-performance one. The everyday one has been:

1996: Pentium 200 MMX
2002: Athlon 1GHz
2007: Core2Duo 1.86GHz

The high-performance one was:

1999: Alpha EV6 466MHz, 2GB RAM
2004: 2x2GHz Opteron, 6GB RAM

There hasn't been a replacement high-performance system because I've stopped doing large computations at home, plus it's futile to stay on the high-performance curve when expensive systems get replaced so rarely.
jasonp is offline   Reply With Quote
Old 2010-08-13, 03:33   #42
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

100101000001012 Posts
Default

Quote:
Originally Posted by jrk View Post
Fedora versions from 7 to 13 (and possibly earlier) have zlib 1.2.3. Fedora 14 has has 1.2.5.

1.2.4 has known security problems.
Thank you for Fedora data - that's the one I don't have.The other distros:

ubuntu: in package manager, install zlib1g-dev (and zlib1g?). It will be 1.2.3 (note: zlibc is another thing)
OpenSUSE: has zlib 1.2.3 (up to 11.3, no update to 1.2.5).
CygWin: has zlib 1.2.3 (or rerun setup.exe and add it -- in Devel::zlib-devel).
Batalov is offline   Reply With Quote
Old 2010-08-13, 04:01   #43
frmky
 
frmky's Avatar
 
Jul 2003
So Cal

2·34·13 Posts
Default

The Lonestar and Abe clusters use version 1.2.1.2 dated September 9, 2004, and do not have gzdirect.

Last fiddled with by frmky on 2010-08-13 at 04:02
frmky is online now   Reply With Quote
Old 2010-08-13, 06:13   #44
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

250516 Posts
Default

Your wish is my command - no gzdirect() anymore. Try it sometime later.
Batalov 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:48.


Sat Jul 17 00:48:59 UTC 2021 up 49 days, 22:36, 1 user, load averages: 1.28, 1.45, 1.38

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.