mersenneforum.org Prime95 beta version 28.3
 Register FAQ Search Today's Posts Mark Forums Read

 2014-01-15, 18:19 #12 Prime95 P90 years forever!     Aug 2002 Yeehaw, FL 112·59 Posts This was linked under Ubuntu 12.04. Linux (or gcc) made it impossible to staticly link about a decade ago. IIRC, mprime was calling "dangerous" system routines like chdir.
2014-01-15, 18:38   #13
chalsall
If I May

"Chris Halsall"
Sep 2002

2·4,643 Posts

Quote:
 Originally Posted by Prime95 This was linked under Ubuntu 12.04. Linux (or gcc) made it impossible to staticly link about a decade ago. IIRC, mprime was calling "dangerous" system routines like chdir.
Hmmmm...

Any chance you could upload the source, and I'll give compiling it statically a try?

Or, alternatively, I could give you (unprivileged) access to a CentOS 6.4 environment for you to work in.

 2014-01-15, 21:42 #14 Mark Rose     "/X\(‘-‘)/X\" Jan 2013 54748 Posts You should be able to call gcc -static. I use many pieces of software that are statically compiled.
 2014-01-15, 22:27 #15 blip     Jan 2014 14610 Posts Works for me: Ubuntu 13.10, Haswell i7-4702HQ I can see a speed improvement of about 10% compared to v27.9
2014-01-16, 00:01   #16
Prime95
P90 years forever!

Aug 2002
Yeehaw, FL

112·59 Posts

Quote:
 Originally Posted by Mark Rose You should be able to call gcc -static. I use many pieces of software that are statically compiled.
Code:
/usr/local/lib/libcurl.a(libcurl_la-netrc.o): In function Curl_parsenetrc':
netrc.c:(.text+0x3a3): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/local/lib/libcurl.a(libcurl_la-curl_addrinfo.o): In function Curl_getaddrinfo_ex':
prime.o: In function pnHttpServer':
prime.c:(.text+0x17c82): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking`

 2014-01-16, 00:30 #17 ewmayer ∂2ω=0     Sep 2002 República de California 264216 Posts Is it reasonable (I doubt it, but that's just my gut sense) to bundle specific glibc versions with each binary? Or is it perhaps time to switch to a make-based approach and release sources/makefiles only? {With my own code I have gone to pains to make builds as simple as possible, but I don't have all the primeNet/InterTubes-comms stuff to deal with.)
2014-01-16, 01:08   #18
chalsall
If I May

"Chris Halsall"
Sep 2002

2×4,643 Posts

Quote:
 Originally Posted by ewmayer Or is it perhaps time to switch to a make-based approach and release sources/makefiles only?
You forget that a small amount of the Prime95/mprime code is "secret".

2014-01-16, 02:38   #19
ewmayer
2ω=0

Sep 2002
República de California

100110010000102 Posts

Quote:
 Originally Posted by chalsall You forget that a small amount of the Prime95/mprime code is "secret".
Perhaps that aspect needs to be changed to a public-key model. But that would be a longer-term change.

 2014-01-16, 07:43 #20 IBethune   Nov 2010 52 Posts Hi George, is there a (planned) source release of gwnum 28.3? Didn't find it in the FTP directory at the moment. We are obviously keen to build a new version of LLR for testing at PrimeGrid. Thanks for all your good work as always! Cheers - Iain
2014-01-17, 01:42   #21
Prime95
P90 years forever!

Aug 2002
Yeehaw, FL

112×59 Posts

Quote:
 Originally Posted by IBethune Hi George, is there a (planned) source release of gwnum 28.3?
Let's wait for any bug reports. I'll make the source for 28.4 available then. I've already found an optimization to pass 1 length 768 which will help the performance of a few FFT lengths.

2014-01-17, 01:44   #22
Prime95
P90 years forever!

Aug 2002
Yeehaw, FL

112·59 Posts

Quote:
 Originally Posted by petrw1 Instead of one setting for # of iterations between screen updates...could it be either: - # of minutes or hours between updates Or - allow a diff # of iterations for eack worker.
I'll see what I can come up with. It will be an undoc.txt feature.

 Similar Threads Thread Thread Starter Forum Replies Last Post Jean Penné Software 111 2015-01-26 21:41 Prime95 Software 20 2014-03-02 02:51 Prime95 Software 126 2012-02-09 16:17 Prime95 Software 33 2005-06-14 13:19 Prime95 PSearch 15 2004-09-17 19:21

All times are UTC. The time now is 17:12.

Thu Oct 29 17:12:30 UTC 2020 up 49 days, 14:23, 2 users, load averages: 2.17, 2.31, 2.20