mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2014-01-15, 18:19   #12
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

112·59 Posts
Default

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.
Prime95 is online now   Reply With Quote
Old 2014-01-15, 18:38   #13
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

2·4,643 Posts
Default

Quote:
Originally Posted by Prime95 View Post
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.
chalsall is online now   Reply With Quote
Old 2014-01-15, 21:42   #14
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013

54748 Posts
Default

You should be able to call `gcc -static`. I use many pieces of software that are statically compiled.
Mark Rose is online now   Reply With Quote
Old 2014-01-15, 22:27   #15
blip
 
blip's Avatar
 
Jan 2014

14610 Posts
Default

Works for me:
Ubuntu 13.10, Haswell i7-4702HQ
I can see a speed improvement of about 10% compared to v27.9
blip is offline   Reply With Quote
Old 2014-01-16, 00:01   #16
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

112·59 Posts
Default

Quote:
Originally Posted by Mark Rose View Post
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':
curl_addrinfo.c:(.text+0x6e): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
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
Prime95 is online now   Reply With Quote
Old 2014-01-16, 00:30   #17
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

264216 Posts
Default

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.)
ewmayer is offline   Reply With Quote
Old 2014-01-16, 01:08   #18
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

2×4,643 Posts
Default

Quote:
Originally Posted by ewmayer View Post
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".
chalsall is online now   Reply With Quote
Old 2014-01-16, 02:38   #19
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

100110010000102 Posts
Default

Quote:
Originally Posted by chalsall View Post
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.
ewmayer is offline   Reply With Quote
Old 2014-01-16, 07:43   #20
IBethune
 
Nov 2010

52 Posts
Default

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
IBethune is offline   Reply With Quote
Old 2014-01-17, 01:42   #21
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

112×59 Posts
Default

Quote:
Originally Posted by IBethune View Post
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.
Prime95 is online now   Reply With Quote
Old 2014-01-17, 01:44   #22
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

112·59 Posts
Default

Quote:
Originally Posted by petrw1 View Post
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.
Prime95 is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
LLR beta Version 3.8.13 (deprecated) Jean Penné Software 111 2015-01-26 21:41
Prime95 beta version 28.4 Prime95 Software 20 2014-03-02 02:51
Prime95 version 27.1 early preview, not-even-close-to-beta release Prime95 Software 126 2012-02-09 16:17
Beta version 24.12 available Prime95 Software 33 2005-06-14 13:19
Beta version of PRP 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

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