Linux static compiled x86_64 Boinc CLIENT?

Message boards : Number crunching : Linux static compiled x86_64 Boinc CLIENT?
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile ML1
Volunteer moderator
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 20147
Credit: 7,508,002
RAC: 20
United Kingdom
Message 1645636 - Posted: 23 Feb 2015, 16:06:40 UTC

Anyone got a statically compiled Boinc CLIENT that I can use for load testing with various projects?

(I've got some new hardware to soak test that has far too up-to-the-minute versions of the Linux libraries installed!...)


Thanks,

Happy fast crunchin',
Martin
See new freedom: Mageia Linux
Take a look for yourself: Linux Format
The Future is what We all make IT (GPLv3)
ID: 1645636 · Report as offensive
Profile jason_gee
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 24 Nov 06
Posts: 7489
Credit: 91,093,184
RAC: 0
Australia
Message 1645667 - Posted: 23 Feb 2015, 18:42:23 UTC - in response to Message 1645636.  

not on hand at the moment, though I am in process of rebuilding my Linux Box, and will need one in due course as well. If no-one's able to supply one before I get to it (1-2 weeks), then I'll probably be spitting out a slightly customised one.

Did you need a manager as well ? I suppose only the client and command line tool ?
"Living by the wisdom of computer science doesn't sound so bad after all. And unlike most advice, it's backed up by proofs." -- Algorithms to live by: The computer science of human decisions.
ID: 1645667 · Report as offensive
Claggy
Volunteer tester

Send message
Joined: 5 Jul 99
Posts: 4654
Credit: 47,537,079
RAC: 4
United Kingdom
Message 1645712 - Posted: 23 Feb 2015, 21:28:47 UTC - in response to Message 1645636.  

I have Boinc 7.4.41 built for Linux x86_64, should be static built.

Claggy
ID: 1645712 · Report as offensive
Profile ML1
Volunteer moderator
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 20147
Credit: 7,508,002
RAC: 20
United Kingdom
Message 1645820 - Posted: 24 Feb 2015, 1:42:24 UTC
Last modified: 24 Feb 2015, 1:45:14 UTC

Excellent, both thanks.

Commandline-only is fine or whatever. Usual juggling... (Aka 'just in time')

PM a link for download?...


Many thanks and

Happy parallel fast crunchin!... :-)
Martin
See new freedom: Mageia Linux
Take a look for yourself: Linux Format
The Future is what We all make IT (GPLv3)
ID: 1645820 · Report as offensive
Claggy
Volunteer tester

Send message
Joined: 5 Jul 99
Posts: 4654
Credit: 47,537,079
RAC: 4
United Kingdom
Message 1645949 - Posted: 24 Feb 2015, 11:06:27 UTC - in response to Message 1645820.  
Last modified: 24 Feb 2015, 11:09:21 UTC

Actually my Boinc 7.4.41 uses shared libs, any good? (I've been building project apps, they are static built)

My Public Onedrive

I just tried building a statically linked release build, It comes up with warnings:

configure: WARNING:
================================================================================
WARNING: You have requested a statically linked release build.

This option is not recommended for personal use or for building
an application for distribution via a package management system.
It probably wont work unless you have built your own static curl
and wxWidgets libraries that have minimal dependencies. You may
also need to edit Makefiles manually in order for linking to work.

It is far better to use dynamic linkage, which can resolve most
library interdependencies at run time.

When the executable fails to link, and you can identify the missing
library, you can edit the Makefile to add it, or if there is a --with
option to configure, use it.

This is not easy. It is not supported. You have been warned.
================================================================================

Then fails later on:

checking for gawk... (cached) /usr/bin/gawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.35.0
checking for libcurl >= version 7.17.1... yes
checking for ber_scanf in -llber... yes
checking whether libcurl is usable... no
configure: error:
================================================================================
ERROR: could not find (recent enough) development-libs for libcurl.

This library is required to build the boinc-client.
(If you don't want to build the client, use --disable-client with configure.

If libcurl-dev is installed on your system, make sure that the script
'curl-config' is found in your PATH, and that
'curl-config --version' gives something recent enough (see above).

You can download libcurl from: http://curl.haxx.se/

================================================================================


I do have libcurl4-openssl-dev installed of version 7.35.0, but i haven't built my own static curl or wxwidgets libaries.

Claggy
ID: 1645949 · Report as offensive
Profile ML1
Volunteer moderator
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 20147
Credit: 7,508,002
RAC: 20
United Kingdom
Message 1646159 - Posted: 25 Feb 2015, 1:42:54 UTC - in response to Message 1645949.  
Last modified: 25 Feb 2015, 1:50:06 UTC

Good try thanks Claggy.

However, no go on versions...


The problem is:

ldd boinc
./boinc: /lib64/libcurl.so.4: no version information available (required by ./boinc)
libssl.so.1.0.0 => not found
libcrypto.so.1.0.0 => not found

And trying to fudge it by adding symlinks to point to the installed libssl.so.1.0.1e and libcrypto.so.1.0.1e then gives:

./boinc: /lib64/libssl.so.1.0.0: version `OPENSSL_1.0.0' not found (required by ./boinc)
./boinc: /lib64/libcurl.so.4: no version information available (required by ./boinc)
./boinc: /lib64/libcrypto.so.1.0.0: version `OPENSSL_1.0.0' not found (required by ./boinc)

and an error exit...


?

I'm running a partial soak test using a very old boinc_5.4.9_opteron-64-linux-gnu client. Works for s@h but not for others.

(Also no options to tell it to use all the CPUs... :-( )


Happy fast-ish crunchin!
Martin
See new freedom: Mageia Linux
Take a look for yourself: Linux Format
The Future is what We all make IT (GPLv3)
ID: 1646159 · Report as offensive
Profile jason_gee
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 24 Nov 06
Posts: 7489
Credit: 91,093,184
RAC: 0
Australia
Message 1646241 - Posted: 25 Feb 2015, 6:14:25 UTC - in response to Message 1646159.  
Last modified: 25 Feb 2015, 6:15:46 UTC

Alright, SSD for the Linux box arrives tomorrow. Which distro comes first is the question. I'll need to check the Cuda 7.0 support list and target that first most likely.

[Edit:]
Ahh, I see in yours they're removing the compromised OpenSSL versions (?) good move IMO, if that's the case.
"Living by the wisdom of computer science doesn't sound so bad after all. And unlike most advice, it's backed up by proofs." -- Algorithms to live by: The computer science of human decisions.
ID: 1646241 · Report as offensive
Profile ML1
Volunteer moderator
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 20147
Credit: 7,508,002
RAC: 20
United Kingdom
Message 1646727 - Posted: 26 Feb 2015, 1:15:28 UTC - in response to Message 1646241.  

Alright, SSD for the Linux box arrives tomorrow. Which distro comes first is the question. I'll need to check the Cuda 7.0 support list and target that first most likely.

Good stuff and have fast positive fun! :-)


[Edit:]
Ahh, I see in yours they're removing the compromised OpenSSL versions (?) good move IMO, if that's the case.

Yep, indeed so.

Good except that the Boinc client needs to catch up with the new versions...

(The test systems are shielded from the outside world and are on their own test LAN so hence a quick bodge static-compiled giggle was hoped for for a quick fix...)


To be revisited once the IT pileup of the end of the week is overcome...

Happy fast crunchin,
Martin
See new freedom: Mageia Linux
Take a look for yourself: Linux Format
The Future is what We all make IT (GPLv3)
ID: 1646727 · Report as offensive
Profile jason_gee
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 24 Nov 06
Posts: 7489
Credit: 91,093,184
RAC: 0
Australia
Message 1646747 - Posted: 26 Feb 2015, 4:19:54 UTC - in response to Message 1646727.  

Drive arrived safe and sound.

alright, path of least resistance for both Cuda and Boinc, seems to be Centos 7 (which I'll be happy with), and if compatibility issues arise there, there's the virtualbox VM option within that.

Out for planning, locating screwdrivers etc.
"Living by the wisdom of computer science doesn't sound so bad after all. And unlike most advice, it's backed up by proofs." -- Algorithms to live by: The computer science of human decisions.
ID: 1646747 · Report as offensive
Urs Echternacht
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 692
Credit: 135,197,781
RAC: 211
Germany
Message 1646901 - Posted: 26 Feb 2015, 16:18:04 UTC - in response to Message 1646747.  

Drive arrived safe and sound.

alright, path of least resistance for both Cuda and Boinc, seems to be Centos 7 (which I'll be happy with), and if compatibility issues arise there, there's the virtualbox VM option within that.

Out for planning, locating screwdrivers etc.

Better check for the latest firmware for that SSD first, before turning any screws or even installing a new OS.
_\|/_
U r s
ID: 1646901 · Report as offensive
Urs Echternacht
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 692
Credit: 135,197,781
RAC: 211
Germany
Message 1646903 - Posted: 26 Feb 2015, 16:21:32 UTC - in response to Message 1645949.  

Actually my Boinc 7.4.41 uses shared libs, any good?

My Public Onedrive
...snip...
Claggy

Tried your dynamic BOINC 7.4.41, but could not make it work, because of unknown needed symbols WXU_3.0 . I have wxWidgets 3.0.2, 2.9.4 and 2.8.0 installed.
_\|/_
U r s
ID: 1646903 · Report as offensive
Profile jason_gee
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 24 Nov 06
Posts: 7489
Credit: 91,093,184
RAC: 0
Australia
Message 1646938 - Posted: 26 Feb 2015, 17:39:16 UTC
Last modified: 26 Feb 2015, 18:01:53 UTC

Ugh, somehow they made the build system put in a squillion shared libraries even when setting things to be supposedly static, lol

I'll try their VM image in a day or so, Though I suspect multiple breakages there/

@Urs: yeah its a new Samsung 850 Pro. so it seems to not have any new firmware I can see yet, but will keep an eye out before I pile on too much

[Edit:] Along with Samsungs server drive manager, found some cool filesystem/SSD guide at https://wiki.archlinux.org/index.php/Solid_State_Drives , so plenty to read, lol.
"Living by the wisdom of computer science doesn't sound so bad after all. And unlike most advice, it's backed up by proofs." -- Algorithms to live by: The computer science of human decisions.
ID: 1646938 · Report as offensive
Claggy
Volunteer tester

Send message
Joined: 5 Jul 99
Posts: 4654
Credit: 47,537,079
RAC: 4
United Kingdom
Message 1647036 - Posted: 26 Feb 2015, 21:51:50 UTC - in response to Message 1646903.  

Actually my Boinc 7.4.41 uses shared libs, any good?

My Public Onedrive
...snip...
Claggy

Tried your dynamic BOINC 7.4.41, but could not make it work, because of unknown needed symbols WXU_3.0 . I have wxWidgets 3.0.2, 2.9.4 and 2.8.0 installed.

Ubuntu 14.04 has no webview support on WxWidgets 3.0, so I've has to get it from LocutusOfBorg's ppa:

https://launchpad.net/~costamagnagianfranco/+archive/ubuntu/locutusofborg-ppa

Perhaps that has added the requirement.

Claggy
ID: 1647036 · Report as offensive
Profile jason_gee
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 24 Nov 06
Posts: 7489
Credit: 91,093,184
RAC: 0
Australia
Message 1647141 - Posted: 27 Feb 2015, 4:07:41 UTC - in response to Message 1646938.  
Last modified: 27 Feb 2015, 4:18:35 UTC

[Edit:] Along with Samsungs server drive manager, found some cool filesystem/SSD guide at https://wiki.archlinux.org/index.php/Solid_State_Drives , so plenty to read, lol.



Haha, lucky I wasn't too quick on the update. Turns out I must have arrived at the site sometime after some firmware updates were pulled due to bricking of drives. Mine's working fine, so I'll leave it until I read they fix that.
"Living by the wisdom of computer science doesn't sound so bad after all. And unlike most advice, it's backed up by proofs." -- Algorithms to live by: The computer science of human decisions.
ID: 1647141 · Report as offensive
Urs Echternacht
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 692
Credit: 135,197,781
RAC: 211
Germany
Message 1647155 - Posted: 27 Feb 2015, 4:58:46 UTC - in response to Message 1647141.  

[Edit:] Along with Samsungs server drive manager, found some cool filesystem/SSD guide at https://wiki.archlinux.org/index.php/Solid_State_Drives , so plenty to read, lol.

Haha, lucky I wasn't too quick on the update. Turns out I must have arrived at the site sometime after some firmware updates were pulled due to bricking of drives. Mine's working fine, so I'll leave it until I read they fix that.


At least you are aware of possible problems now, some luxury i have not had two years ago. A problematic firmware version made my computer reboot twice a day and BOINC gave a new hostid after every reboot. Since firmware updates the SSD works like it should.

Good luck.
_\|/_
U r s
ID: 1647155 · Report as offensive
Profile jason_gee
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 24 Nov 06
Posts: 7489
Credit: 91,093,184
RAC: 0
Australia
Message 1647193 - Posted: 27 Feb 2015, 8:33:40 UTC - in response to Message 1647155.  
Last modified: 27 Feb 2015, 8:40:42 UTC

Well the procedure to make a portable static client package, using the old debian virtualbox compatibility image, works for i686. ( no ssl, crypto or curl shared libraries turn up in ldd boinc ). It's an old version though 6.12.something, and I don't see an x86_64 vm image, so building with the configure option --build=x86_64-pc-linux-gnu fails, the image having no 64 bit libs (though i imagine the cross compile is possible if the libs were there)

Short of building a similar old debian VM from scratch, is there a way to put in the 64 bit libs (command line debian), or is the only option for a static build to replicate the old debian image in 64 bit ?

The compatibility vm image also has no Git installed ::S
"Living by the wisdom of computer science doesn't sound so bad after all. And unlike most advice, it's backed up by proofs." -- Algorithms to live by: The computer science of human decisions.
ID: 1647193 · Report as offensive
Profile ML1
Volunteer moderator
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 20147
Credit: 7,508,002
RAC: 20
United Kingdom
Message 1647283 - Posted: 27 Feb 2015, 14:19:39 UTC - in response to Message 1647193.  

... Short of building a similar old debian VM from scratch, is there a way to put in the 64 bit libs (command line debian), or is the only option for a static build to replicate the old debian image in 64 bit ?

The compatibility vm image also has no Git installed ::S

32-bits?! That's going back a bit!


For a late lunch giggle... I've just now got a Gentoo compiled 64-bit boinc client running sweet and smooth...

Further details later...


Happy fast hot crunchin',
Martin
See new freedom: Mageia Linux
Take a look for yourself: Linux Format
The Future is what We all make IT (GPLv3)
ID: 1647283 · Report as offensive
Profile jason_gee
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 24 Nov 06
Posts: 7489
Credit: 91,093,184
RAC: 0
Australia
Message 1647295 - Posted: 27 Feb 2015, 14:58:06 UTC - in response to Message 1647283.  
Last modified: 27 Feb 2015, 15:22:54 UTC

sweet, did you manage static ? or just lucky enough to have it work with existing shared libs ?

so far for x86_64 I have openssl, zlib and c-ares building static libs , still working on curl.

If you don't need a static client right now, I'll make do with the dynamic one myself ;)

[Edit:] ... and static curl library built, so that would just leave the boinc client itself , well maybe later
"Living by the wisdom of computer science doesn't sound so bad after all. And unlike most advice, it's backed up by proofs." -- Algorithms to live by: The computer science of human decisions.
ID: 1647295 · Report as offensive
Profile ML1
Volunteer moderator
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 20147
Credit: 7,508,002
RAC: 20
United Kingdom
Message 1647519 - Posted: 27 Feb 2015, 23:32:03 UTC - in response to Message 1647295.  

The Gentoo client looks to be dynamic linked but more ameanable to the very latest kind versions. Full credit there to the Gentoo packager. Compiled fine.

So, fixed for my multi-core tests
Thanks for dropping in to try static. Looks like the boinc effort for that has languished.


Overly busy on new equipment at moment... Back on the forums when sanity returns...

Happy crunchin'
Martin
See new freedom: Mageia Linux
Take a look for yourself: Linux Format
The Future is what We all make IT (GPLv3)
ID: 1647519 · Report as offensive

Message boards : Number crunching : Linux static compiled x86_64 Boinc CLIENT?


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.