Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Upgrade BOINC to latest version
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
jsosic
Guru
Guru


Joined: 02 Aug 2004
Posts: 510
Location: Split (Croatia)

PostPosted: Sat Mar 24, 2007 12:56 pm    Post subject: Upgrade BOINC to latest version Reply with quote

BOINC is a program, that uses your CPU's idle cicles to cure diseases, study global warming, discover pulsars, and do many other types of scientific research.

People volunteering with BOINC are organized in projects and teams. Projects (like WorldCommunityGrid) focuse on one specific problem (in this case medicine). When people join project, they organize in teams. For every calculation and returned result you get awarded with points. The stronger your machine is, and faster you resolve the task, you get more points. Computer strength is detected by CPU benchmark, and so you get more points for tasks if your benchmarks results are better. This IMHO is not fair, but that's how it is.

So there's a catch with the points - Linux clients have a long known bug - benchmarks on Linux give aprox. only 55% of the Windows benchmarks on the same machine. So basically Linux machines get awarded with 1/2 points for the same task! Problem has been addressed with BOINC 5.8.15 and solved completely with 5.8.17. Current version in Portage is 5.4.11.

There's an easy way to update the program to the newest version, without writing complex ebuilds, re-emergeing and so on. All you have to do is download current BOINC version from here, extract it, and copy its binaries over the one's Portage installed.

Step1:
Code:
# emerge sci-misc/boinc
or if you already have it installed
Code:
# /etc/init.d/boinc stop

Step2:
Code:
# mkdir ~/temp && cd ~/temp
# wget http://boinc.berkeley.edu/dl/boinc_VERSION_i686-pc-linux-gnu.sh

Step3:
Code:
# chmod +x boinc_VERSION_i686-pc-linux-gnu.sh
# ./boinc_VERSION_i686-pc-linux-gnu.sh

Step4:
Code:
# cd BOINC
# cp boincmgr /usr/bin/boinc_gui
# cp boinc_cmd /usr/bin/boinc_cmd
# cp boinc /usr/bin/boinc_client
# cp ca-bundle.crt /var/lib/boinc

Step5:
Code:
# cd ~ && rm -rf ~/temp
# /etc/init.d/boinc start


And there you go, you have the latest boinc version installed :)
_________________
I avenge with darkness, the blood is the life
The Order of the Dragon, I feed on human life
Back to top
View user's profile Send private message
likewhoa
l33t
l33t


Joined: 04 Oct 2006
Posts: 731
Location: Brooklyn, New York

PostPosted: Sat Mar 24, 2007 11:33 pm    Post subject: Reply with quote

that's just plain dirty.. why don't you just put some time into bumping/upgrading the ebuild?
Back to top
View user's profile Send private message
Phenax
l33t
l33t


Joined: 10 Mar 2006
Posts: 972

PostPosted: Sat Mar 24, 2007 11:37 pm    Post subject: Reply with quote

Already an updated ebuild.. https://bugs.gentoo.org/show_bug.cgi?id=166920
Back to top
View user's profile Send private message
likewhoa
l33t
l33t


Joined: 04 Oct 2006
Posts: 731
Location: Brooklyn, New York

PostPosted: Sat Mar 24, 2007 11:53 pm    Post subject: Reply with quote

not a surprise to see it,.. boinc is a fairly easy install.
Back to top
View user's profile Send private message
jsosic
Guru
Guru


Joined: 02 Aug 2004
Posts: 510
Location: Split (Croatia)

PostPosted: Sun Mar 25, 2007 12:55 am    Post subject: Reply with quote

likewhoa wrote:
that's just plain dirty.. why don't you just put some time into bumping/upgrading the ebuild?


This is just a method if you don't wanna wait for an ebuild... I'm using 5.8.17 right now, it is dirty, but hey, you only overwrite 3 files so it's not a big deal anyway.
_________________
I avenge with darkness, the blood is the life
The Order of the Dragon, I feed on human life
Back to top
View user's profile Send private message
jsosic
Guru
Guru


Joined: 02 Aug 2004
Posts: 510
Location: Split (Croatia)

PostPosted: Sun Mar 25, 2007 1:00 am    Post subject: Reply with quote

likewhoa wrote:
not a surprise to see it,.. boinc is a fairly easy install.


Then why is 5.4.11 in the portage for such a long time?!

I'm interested in maintaining few ebuilds in which I have personal needs and interests (like this one) myself, and I'm sure there's lots of other people willing to help too.

So, where do I sign up? ;)
_________________
I avenge with darkness, the blood is the life
The Order of the Dragon, I feed on human life
Back to top
View user's profile Send private message
likewhoa
l33t
l33t


Joined: 04 Oct 2006
Posts: 731
Location: Brooklyn, New York

PostPosted: Sun Mar 25, 2007 3:51 am    Post subject: Reply with quote

make an overlay with the ebuilds and submit bugs for new ebuilds that are not part of the tree, ebuilds that you have updated which are part of the tree can be submitted to bugs.gentoo.org but a better place would be the sunrise overlay. only submit bump/upgraded ebuilds to bugs.gentoo.org after 30days, not the next day the new version is out, you gotta give the maintaners of those ebuilds some credit as most don't just maintain one package.
Back to top
View user's profile Send private message
tsunam
Retired Dev
Retired Dev


Joined: 23 Feb 2004
Posts: 343

PostPosted: Tue Mar 27, 2007 7:07 pm    Post subject: Reply with quote

5.8.15 is in the tree now. Its masked for now, just need to get results of people using it.
_________________
I'm not afraid of happy endings, just afraid my life wont work that way.
Back to top
View user's profile Send private message
likewhoa
l33t
l33t


Joined: 04 Oct 2006
Posts: 731
Location: Brooklyn, New York

PostPosted: Tue Mar 27, 2007 7:09 pm    Post subject: Reply with quote

tsunam wrote:
5.8.15 is in the tree now. Its masked for now, just need to get results of people using it.


using it here, but it needs some motifications which i will be doing shortly,.. I'm also planning on adding USE flags and or ebuilds for building optimized clients.
Back to top
View user's profile Send private message
tsunam
Retired Dev
Retired Dev


Joined: 23 Feb 2004
Posts: 343

PostPosted: Tue Mar 27, 2007 7:12 pm    Post subject: Reply with quote

Well, submit a bug with changes and I'll look over them and go over them with cryos, really want to get it unmasked as the major feature beyond being current, is that it increases the points you request to be more in line with what the windows client actually requests.
_________________
I'm not afraid of happy endings, just afraid my life wont work that way.
Back to top
View user's profile Send private message
likewhoa
l33t
l33t


Joined: 04 Oct 2006
Posts: 731
Location: Brooklyn, New York

PostPosted: Tue Mar 27, 2007 9:26 pm    Post subject: Reply with quote

will do,.. I also will be looking into integrating boinc compiles with the Intel C Compiler icc which really speeds things up. there are a number of optimized clients, seti@home has one too.
Back to top
View user's profile Send private message
WilliamHeuts
n00b
n00b


Joined: 04 Dec 2003
Posts: 29

PostPosted: Fri Mar 30, 2007 6:51 am    Post subject: Reply with quote

Be aware that most projects penalize optimized clients. Although it's a nice feature to have with the use of USE flags.

5.8.17 (Development version) seems to solve the pointsdifference with Windows client. I don't know if it's because that 5.8.17 requires GCC 4.x instead of 3.x.

But first let's get the recommended version unmasked shall we? :)
Back to top
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1287
Location: Netherlands

PostPosted: Fri Mar 30, 2007 3:05 pm    Post subject: Reply with quote

likewhoa wrote:
will do,.. I also will be looking into integrating boinc compiles with the Intel C Compiler icc which really speeds things up. there are a number of optimized clients, seti@home has one too.
Can you give me an URL for the seti@home optimized client?

TIA
swimmer
Back to top
View user's profile Send private message
likewhoa
l33t
l33t


Joined: 04 Oct 2006
Posts: 731
Location: Brooklyn, New York

PostPosted: Fri Mar 30, 2007 7:07 pm    Post subject: Reply with quote

swimmer wrote:
likewhoa wrote:
will do,.. I also will be looking into integrating boinc compiles with the Intel C Compiler icc which really speeds things up. there are a number of optimized clients, seti@home has one too.
Can you give me an URL for the seti@home optimized client?

TIA
swimmer


I haven't been able to compile it because my Intel rig is down at the moment but as soon as I get it going i will make a link to my overlay.
Back to top
View user's profile Send private message
tsunam
Retired Dev
Retired Dev


Joined: 23 Feb 2004
Posts: 343

PostPosted: Fri Mar 30, 2007 7:19 pm    Post subject: Reply with quote

WilliamHeuts wrote:
Be aware that most projects penalize optimized clients. Although it's a nice feature to have with the use of USE flags.

5.8.17 (Development version) seems to solve the pointsdifference with Windows client. I don't know if it's because that 5.8.17 requires GCC 4.x instead of 3.x.

But first let's get the recommended version unmasked shall we? :)


If you want to get it unmasked, put a bug in for it =) (5.8.15 won't be unmasked fully til its been in the tree 30 days without any bugs actually reported against it). As for penalizing optimized clients..what do you mean?
_________________
I'm not afraid of happy endings, just afraid my life wont work that way.
Back to top
View user's profile Send private message
WilliamHeuts
n00b
n00b


Joined: 04 Dec 2003
Posts: 29

PostPosted: Mon Apr 02, 2007 8:01 am    Post subject: Reply with quote

tsunam wrote:
WilliamHeuts wrote:
Be aware that most projects penalize optimized clients. Although it's a nice feature to have with the use of USE flags.

5.8.17 (Development version) seems to solve the pointsdifference with Windows client. I don't know if it's because that 5.8.17 requires GCC 4.x instead of 3.x.

But first let's get the recommended version unmasked shall we? :)


If you want to get it unmasked, put a bug in for it =) (5.8.15 won't be unmasked fully til its been in the tree 30 days without any bugs actually reported against it). As for penalizing optimized clients..what do you mean?

#166920 IS my bugreport :D Running 5.8.15 stable and that's the most important part. Development versions are nice but in no way a necessity in the portage tree.

In projects like WCG and Rosetta@home the claimed points for a result are checked against 3 other returned results. If you're claim is way out of bounce due to the optimized client you'll get penalized for your result and your next result. i.e. you get lesser points than with the standard client. I don't know exactly how it works but running a optimized client on those projects has no benefit at all for your score.

More info from WCG:
http://www.worldcommunitygrid.org/help/viewTopic.do?shortName=linpointscalc
Back to top
View user's profile Send private message
elgrande71
Tux's lil' helper
Tux's lil' helper


Joined: 07 Oct 2004
Posts: 131
Location: France

PostPosted: Tue Apr 03, 2007 1:46 pm    Post subject: Reply with quote

I posted an ebuild for boinc-5.8.17 with linguas support ( https://bugs.gentoo.org/show_bug.cgi?id=173243 ).
Pay attention to the boinc source file located to http://olivier.mondoloni.free.fr/boinc_source/boinc-5.8.17.tar.bz2
Copy it to your /usr/portage/distfiles directory.
Try it please . :wink:
Thank you. :wink:
_________________
Asustek P5Q-PRO Core2Quad Q9550 - 4Gb DDRII1066
Gentoo Linux 10.0 amd64 - fs ext3 - 2.6.39-gentoo-r3
Back to top
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1287
Location: Netherlands

PostPosted: Wed Apr 04, 2007 10:25 am    Post subject: Reply with quote

I found some working optimized Seti@home clients at http://lunatics.at/index.php?module=Downloads;catd=14 ...

Greetz
swimmer
Back to top
View user's profile Send private message
elgrande71
Tux's lil' helper
Tux's lil' helper


Joined: 07 Oct 2004
Posts: 131
Location: France

PostPosted: Thu Apr 05, 2007 8:44 pm    Post subject: Reply with quote

Find the ebuild of the lastest boinc version (5.9.3) at https://bugs.gentoo.org/show_bug.cgi?id=173503
Give it a try. :wink:
I have a problem with linguas function in ebuild, could you help me with strip-linguas function for example ?
_________________
Asustek P5Q-PRO Core2Quad Q9550 - 4Gb DDRII1066
Gentoo Linux 10.0 amd64 - fs ext3 - 2.6.39-gentoo-r3
Back to top
View user's profile Send private message
kerstman
n00b
n00b


Joined: 27 Nov 2004
Posts: 68

PostPosted: Fri Apr 06, 2007 1:48 pm    Post subject: Reply with quote

doomhammer666 wrote:
I posted an ebuild for boinc-5.8.17 with linguas support ( https://bugs.gentoo.org/show_bug.cgi?id=173243 ).
Pay attention to the boinc source file located to http://olivier.mondoloni.free.fr/boinc_source/boinc-5.8.17.tar.bz2
Copy it to your /usr/portage/distfiles directory.
Try it please . :wink:
Thank you. :wink:


I had 2 issues

a) LINGUAS en_GB caused a problem - could not be found. I worked around it by removing it from /etc/make.conf
b) I lost /etc/init.d/boinc after the build was installed. Got it back from /usr/portage/sci-misc/boinc/files

Other than that works fine... thanks for the ebuild
Back to top
View user's profile Send private message
David Duvall
n00b
n00b


Joined: 16 Mar 2007
Posts: 4
Location: USA, Missouri, Columbia

PostPosted: Wed Aug 08, 2007 8:12 pm    Post subject: Successful Upgrade of Boinc Client using ~AMD64 Reply with quote

The very first post in this thread showed how to Upgrade to the latest release of BOINC and it worked for me using an Athlon64 4000+ with 64 bit Gentoo Linux. There were a couple of stumbling blocks along the way and I wanted to let you know how I got it to work for me. However, you should know that I built my machine to do one thing and only one thing -- BOINC.

I did a fresh install of Gentoo using a 3rd stage 2007.0 release for AMD64 using "CFLAGS=-march=k8 -O2 -pipe". I was very careful NOT to use ACCEPT_KEYWORDS="~amd64" during the installation of my base system. Upon basic installation I edited my USE flag to pull-in as many stable 64-bit programs that BOINC "might" need when I install it. I know that some of these aren't necessary but I used USE="X bash-completion bcmath blas bzip2 cblas cpudetection curl curlwrappers ffcall fortran fortran95 glib glibc-compat20 glut gtk gtkhtml icc libg++ libgda m17n-lib opengl multilib nptl nptlonly perl python qt3 qt3support qt4 shared szip type1 uclib uclib-compat unicode xorg zlib" (you can bash me all you want about using unnecessary flags but, my BOINC worked right the first time and is returning valid results).

I updated my portage tree with "emerge --sync" and then ran "emerge --emptytree world". As a personal preference I always run "emerge --fetchonly --emptytree world" before actually running "emerge --emptytree world" (you never know when your internet might go down). This rebuilt my world using only stable releases of 64 bit programs. I had no errors. After the world rebuild I used ""ACCEPT_KEYWORDS="~amd64" emerge boinc". This will pull-in the masked version of boinc, along with masked versions of programs needed by boinc. After this completed I started and stopped boinc in order to initialize it. Make sure to stop Boinc and use "nano -w /var/lib/boinc/gui_rpc_auth.cfg" to edit your password to whatever you like. Following the instructions in the very first post in this thread I downloaded boinc_5.10.8_x86_64-pc-linux-gnu.sh. The only problem I had was with a slight change in the command line format. When using ./boinc_cmd you have to use "./boinc_cmd --host localhost --passwd xyzzy" before any command (zyzzy is just a made-up password). Also remember to "/ect/init.d/boinc start" before trying to use any commands.... (yes, I made this silly mistake a couple of times and scratched my balding head). I use bam.boincstats.com so my command line looked like "./boinc_cmd --host localhost --passwd xyzzy --join_acct_mgr bam.boincstats.com "David Duvall" dfasefesd123". It has worked flawlessly for me. I wish you all good luck.
Back to top
View user's profile Send private message
smart
Guru
Guru


Joined: 19 Nov 2002
Posts: 455

PostPosted: Sat Oct 13, 2007 9:24 am    Post subject: Reply with quote

Hi all. Thanks for boinc 5.8.15 ebuild. I've got a question about it though.

It contains

append-flags -O3 -funroll-loops -fforce-addr -ffast-math

is that a technical need or developers preference ?
I haven't found support requests on the forum that would indicate it was a technical need.
Back to top
View user's profile Send private message
likewhoa
l33t
l33t


Joined: 04 Oct 2006
Posts: 731
Location: Brooklyn, New York

PostPosted: Mon Oct 15, 2007 8:28 am    Post subject: Reply with quote

developers preference, benchmarks have shown that those cflags optimized boinc client.
Back to top
View user's profile Send private message
Trog Dog
Apprentice
Apprentice


Joined: 04 Aug 2007
Posts: 282

PostPosted: Mon Oct 15, 2007 1:11 pm    Post subject: Reply with quote

smart wrote:
Hi all. Thanks for boinc 5.8.15 ebuild. I've got a question about it though.

It contains

append-flags -O3 -funroll-loops -fforce-addr -ffast-math

is that a technical need or developers preference ?
I haven't found support requests on the forum that would indicate it was a technical need.


G'day smart

You can find the build instructions here . The "ricing" settings were introduced to address the differences in benchmark figures turned in by the windows and the linux versions - linux versions used to report 50% less than the equivalent windows client.
_________________
CIC1=CC=C(C2=N[C@@H](CC(OC(C)(C)C)=O)C3=NN=C(C)N3C4=C2C(C)=C(C)S4)C=C1
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum