Seti@Home optimized science apps and information

Optimized Seti@Home apps => Linux => Topic started by: Simon on 13 Apr 2007, 06:15:13 pm

Title: 64-bit science apps based on Rev-2.2B code released
Post by: Simon on 13 Apr 2007, 06:15:13 pm
Hi,

shortly after the 32-Bit Linux app release, here are some 64-bit science apps based on the same code.

They were ported to 64-bit Linux by Crunch3r and have produced reliable and accurate results in all tests.

Performance is better than the equivalent 32-bit apps on Intel systems, on AMD systems it's not as clear; some assembly may be required.

Nota bene - Requirements

64-bit Linux science apps:

SSE2-generic
SSE3-Intel-P4/PD
SSE3-Intel-Core 2

Double the bits, double the fun ;o)
Simon.
Title: Re: 64-bit science apps based on Rev-2.2B code released
Post by: CAPTAIN FUTURE on 13 Apr 2007, 08:03:18 pm

The Linux 64-Bit apps are faster than the Linux 32-Bit, of course! ;)

The apps are like the old S@H- V5.12 apps from Crunch3r?
That the Linux 64-Bit apps are faster than Windows 32-Bit?

So in future, if you and the optimizer team would like to do... the Windows 64-Bit apps are the fastest available then, or?

Greetings!

Title: Re: 64-bit science apps based on Rev-2.2B code released
Post by: Fivestar Crashtest on 13 Apr 2007, 08:06:29 pm
Sooo, since I have a pretty big cache, I wonder if anyone has had any experience switching BOINC from 32 to 64 bit in midstream?  Does it cause a problem or should I wait until the cache drains out before switching?

I'll set to no new work, but if I could switch everything now with no ill effects, I'll do it!

Pam
Title: Re: 64-bit science apps based on Rev-2.2B code released
Post by: Crunch3r on 13 Apr 2007, 08:37:06 pm
Sooo, since I have a pretty big cache, I wonder if anyone has had any experience switching BOINC from 32 to 64 bit in midstream?  Does it cause a problem or should I wait until the cache drains out before switching?

I'll set to no new work, but if I could switch everything now with no ill effects, I'll do it!

Pam

Hi Pam,

you'd be on the safe side to let you cache run dry. So that's what i would do.
You might also consider using a 64 bit boinc client (Agustine) provides one.

HTH

Title: Re: 64-bit science apps based on Rev-2.2B code released
Post by: michael37 on 14 Apr 2007, 02:59:32 am
I switched from Seti 32-bit apps to 64-bit apps in midstream and have experienced no ill effects.  As usual with risky configurations, YMMV.    I suspect switching Boincs from i386 to x86_64 architecture may  have ill effects. 

Btw, make sure you test the 64-bit app and convince yourself that it actually runs and produces something before switching midstream and losing all your work  ;D
Title: Re: 64-bit science apps based on Rev-2.2B code released
Post by: Metod, S56RKO on 14 Apr 2007, 03:54:47 am
Nota bene - Requirements
  • 64-bit Linux 2.6.x - sorry, no 2.4 supported.
  • glibc 2.3.4 or newer - find out what version yours is by typing "/lib/libc.so.6" on a new line - as if you were trying to execute the library itself, that will show you details about your installed glibc version.
  • 64-bit BOINC client (http://setiathome.berkeley.edu/forum_thread.php?id=33041&nowrap=true#545065) - caution: this will limit your choice of other project to participate in at the same time, because not a lot of them offer 64-bit science apps yet.

While it's a good idea to have 64-bit BOINC client, this is not really a requirement. I've tested and successfully run 64-bit SAH app with 32-bit BOINC client (I need that for CPDN).

I switched from Seti 32-bit apps to 64-bit apps in midstream and have experienced no ill effects.  As usual with risky configurations, YMMV.    I suspect switching Boincs from i386 to x86_64 architecture may  have ill effects. 

You can change BOINC from i686 to x86_64, but you need to hand-edit the file client_state.xml. Near the end of the file there's tag <platform_name> which needs to match platform name of your BOINC client. If it doesn't, BOINC client will reset all the projects.
Been there, done that ... :(
Title: Re: 64-bit science apps based on Rev-2.2B code released
Post by: Simon on 14 Apr 2007, 04:43:37 am
Ah, good hint, Metod!

That's happened to me before, as well.
Seems useful to be able to run a 64-bit science app with 32-bit BOINC.

Regards,
Simon.
Title: Re: 64-bit science apps based on Rev-2.2B code released
Post by: Suzuki on 21 Apr 2007, 02:24:18 pm
May I first point out that my intense stupidity with Linux is probably more frustrating for you, than me.  Reason for that is that there's good people out there who are so willing to help!  Thanks in advance ...

So, for my next stupid question ...

I had my Linux box (Suse 10) running just fine .. and then managed to break BOINC.  I'm sure I had a previous 64-bit SETI app running on standard BOINC.  But having read a few threads, thought I'd try the 64-bit client too. 

Predictably, I broke it again with the SETI servers telling me that x86--- was not recognised etc.  So I went back to the standard client and copied the 2.2B apps into the relevant folder; which now won't run.  I'm still seeing the standard science app running in the Performance Monitor - and the "aux | grep" thing means nothing to me!

What on earth have I buffooned this time?!  Apart from trashing lord knows how many units!

Does the 64-bit client support SETI (or vice versa) and, if so, how to make it run?  And is there more to switching to the optimised app than just copying the files after stopping BOINC? 

I've done this before, and have no idea what I've cocked up!  As in the SETI threads, I've got a book on order to prevent persistent asking of moronic questions!  Please bear with me!!

Thanks in advance ...

Steve.
Title: Re: 64-bit science apps based on Rev-2.2B code released
Post by: Metod, S56RKO on 21 Apr 2007, 03:31:33 pm
Does the 64-bit client support SETI (or vice versa) and, if so, how to make it run?  And is there more to switching to the optimised app than just copying the files after stopping BOINC?

An user named Augustine is quite active in lobbying support for 64-bit Linux in many of projects. He also posts occasionally list of projects that support 64-bit linux as OS platform. Seti is one of them. However, there are a couple of gotcha's:

Now, as to your problem: perhaps you are best off starting a new install and (re)attach your box to all projects you want to. Here's what I usually do:

I hope you'll get it sorted out.
Title: Re: 64-bit science apps based on Rev-2.2B code released
Post by: Suzuki on 21 Apr 2007, 03:49:52 pm
That sounds like something I can manage ... I'll give it a whirl and let you know how I get on.

Many thanks for your help.

Steve.
Title: Re: 64-bit science apps based on Rev-2.2B code released
Post by: ohiomike on 16 Jun 2007, 06:02:36 pm
I've been trying (with little success) to compile an x64 version from the 32b source. Would it be possible to put the x64 source up here so I don't have to track down all the changes needed? I wanted to try the V10.0.023 version of the icc compiler which is supposed to have improved AMD support via the -xO switch. I realize I have a bunch of icc & ipp refs to change, but if I could get the base to work it would help.
 :(  NI!
Title: Re: 64-bit science apps based on Rev-2.2B code released
Post by: Simon on 16 Jun 2007, 07:10:30 pm
Hi Mike,

http://calbe.dw70.de/2.2b/FINAL_2.2B_LINUX_v2_64bit.tar.bz2 <-- Crunch3r's source snapshot that we compiled the 64-bit Linux apps from.

Compiling is really a b...other.

That said, I recommend you use OpenSuSe 10.2 as a compilation platform, since it'll have all the same lib versions, then adjust the ICC and IPP paths.

First, edit MAKE.ICC to reflect your ICC/IPP directories, then run it.

Second, go inside the client/Optimizer subdirectory and use one of the compile_* scripts (after editing for your system paths) to compile the library with the optimized code.

Then, go up one dir to client/ and copy the corresponding Makefile* (you'll see there are a few with recognizable extensions) to "Makefile" (again, after editing them to reflect your paths). Run "make" inside the client directory.

That's it, provided you'll go with OpenSuSe 10.2 (64-bit, obviously). No guarantees with other distros, we tried and there were quite a lot of problems that weren't really reproducible.

As for running the apps, that's different. Compiling works best there with this source package.

I've been lazy and haven't updated the Linux compilation How-To. Yet another to-do :)

HTH,
Simon.
Title: Re: 64-bit science apps based on Rev-2.2B code released
Post by: Crunch3r on 16 Jun 2007, 07:24:23 pm
Hi Mike,

http://calbe.dw70.de/2.2b/FINAL_2.2B_LINUX_v2_64bit.tar.bz2 <-- Crunch3r's source snapshot that we compiled the 64-bit Linux apps from.

Compiling is really a b...other.

That said, I recommend you use OpenSuSe 10.2 as a compilation platform, since it'll have all the same lib versions, then adjust the ICC and IPP paths.

First, edit MAKE.ICC to reflect your ICC/IPP directories, then run it.

Second, go inside the client/Optimizer subdirectory and use one of the compile_* scripts (after editing for your system paths) to compile the library with the optimized code.

Then, go up one dir to client/ and copy the corresponding Makefile* (you'll see there are a few with recognizable extensions) to "Makefile" (again, after editing them to reflect your paths). Run "make" inside the client directory.

That's it, provided you'll go with OpenSuSe 10.2 (64-bit, obviously). No guarantees with other distros, we tried and there were quite a lot of problems that weren't really reproducible.

As for running the apps, that's different. Compiling works best there with this source package.

I've been lazy and haven't updated the Linux compilation How-To. Yet another to-do :)

HTH,
Simon.

Hehe i've allready send him the link about an hour ago via pm on the SETI board :) I was faster  :P



Title: Re: 64-bit science apps based on Rev-2.2B code released
Post by: ohiomike on 16 Jun 2007, 08:08:33 pm
Thanks Crunch3R/Simon,
I've had good luck the stock Boinc Client and with the optimized 32b app (icc 9.x) under FC6, so I was going to try that first. I'll let you know how it works.
Title: Re: 64-bit science apps based on Rev-2.2B code released
Post by: KWSN Holy HndGrena on 01 Jul 2007, 05:09:54 pm
Sooo, since I have a pretty big cache, I wonder if anyone has had any experience switching BOINC from 32 to 64 bit in midstream?  Does it cause a problem or should I wait until the cache drains out before switching?

I'll set to no new work, but if I could switch everything now with no ill effects, I'll do it!

Pam

Hi Pam,

you'd be on the safe side to let you cache run dry. So that's what i would do.
You might also consider using a 64 bit boinc client (Agustine) provides one.

HTH



In my experience (with  xp and 32-bit...) all you need to do is not switch  apps while  running a WU.  Either let your cache run dry, or  (if you have a sufficiently small number of WU's...) suspend all non-running WU's before makeing the switch.  I'm trying (again, with xp pro and 32 bit...) this last approach with a new installation, that's showing 9 hour times for the stock app (I'll get back to ya on how long the WU's actually take - the client is known for lousy initial estimate times...)