Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Documentation, Tips & Tricks
  • Search

Upgrade BOINC to latest version

Unofficial documentation for various parts of Gentoo Linux. Note: This is not a support forum.
Post Reply
Advanced search
24 posts • Page 1 of 1
Author
Message
jsosic
Guru
Guru
User avatar
Posts: 510
Joined: Mon Aug 02, 2004 12:27 pm
Location: Split (Croatia)

Upgrade BOINC to latest version

  • Quote

Post by jsosic » Sat Mar 24, 2007 12:56 pm

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: Select all

# emerge sci-misc/boinc
or if you already have it installed

Code: Select all

# /etc/init.d/boinc stop
Step2:

Code: Select all

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

Code: Select all

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

Code: Select all

# 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: Select all

# 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
Top
likewhoa
l33t
l33t
Posts: 778
Joined: Wed Oct 04, 2006 12:28 pm
Location: Brooklyn, New York
Contact:
Contact likewhoa
Website

  • Quote

Post by likewhoa » Sat Mar 24, 2007 11:33 pm

that's just plain dirty.. why don't you just put some time into bumping/upgrading the ebuild?
Top
Phenax
l33t
l33t
User avatar
Posts: 972
Joined: Fri Mar 10, 2006 8:12 pm

  • Quote

Post by Phenax » Sat Mar 24, 2007 11:37 pm

Already an updated ebuild.. http://bugs.gentoo.org/show_bug.cgi?id=166920
Top
likewhoa
l33t
l33t
Posts: 778
Joined: Wed Oct 04, 2006 12:28 pm
Location: Brooklyn, New York
Contact:
Contact likewhoa
Website

  • Quote

Post by likewhoa » Sat Mar 24, 2007 11:53 pm

not a surprise to see it,.. boinc is a fairly easy install.
Top
jsosic
Guru
Guru
User avatar
Posts: 510
Joined: Mon Aug 02, 2004 12:27 pm
Location: Split (Croatia)

  • Quote

Post by jsosic » Sun Mar 25, 2007 12:55 am

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
Top
jsosic
Guru
Guru
User avatar
Posts: 510
Joined: Mon Aug 02, 2004 12:27 pm
Location: Split (Croatia)

  • Quote

Post by jsosic » Sun Mar 25, 2007 1:00 am

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
Top
likewhoa
l33t
l33t
Posts: 778
Joined: Wed Oct 04, 2006 12:28 pm
Location: Brooklyn, New York
Contact:
Contact likewhoa
Website

  • Quote

Post by likewhoa » Sun Mar 25, 2007 3:51 am

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.
Top
tsunam
Retired Dev
Retired Dev
User avatar
Posts: 343
Joined: Mon Feb 23, 2004 8:01 pm
Contact:
Contact tsunam
Website

  • Quote

Post by tsunam » Tue Mar 27, 2007 7:07 pm

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.
Top
likewhoa
l33t
l33t
Posts: 778
Joined: Wed Oct 04, 2006 12:28 pm
Location: Brooklyn, New York
Contact:
Contact likewhoa
Website

  • Quote

Post by likewhoa » Tue Mar 27, 2007 7:09 pm

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.
Top
tsunam
Retired Dev
Retired Dev
User avatar
Posts: 343
Joined: Mon Feb 23, 2004 8:01 pm
Contact:
Contact tsunam
Website

  • Quote

Post by tsunam » Tue Mar 27, 2007 7:12 pm

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.
Top
likewhoa
l33t
l33t
Posts: 778
Joined: Wed Oct 04, 2006 12:28 pm
Location: Brooklyn, New York
Contact:
Contact likewhoa
Website

  • Quote

Post by likewhoa » Tue Mar 27, 2007 9:26 pm

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.
Top
WilliamHeuts
n00b
n00b
Posts: 29
Joined: Thu Dec 04, 2003 1:40 pm

  • Quote

Post by WilliamHeuts » Fri Mar 30, 2007 6:51 am

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? :)
Top
swimmer
Veteran
Veteran
User avatar
Posts: 1330
Joined: Mon Jul 15, 2002 10:42 am
Location: Netherlands

  • Quote

Post by swimmer » Fri Mar 30, 2007 3:05 pm

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
Top
likewhoa
l33t
l33t
Posts: 778
Joined: Wed Oct 04, 2006 12:28 pm
Location: Brooklyn, New York
Contact:
Contact likewhoa
Website

  • Quote

Post by likewhoa » Fri Mar 30, 2007 7:07 pm

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.
Top
tsunam
Retired Dev
Retired Dev
User avatar
Posts: 343
Joined: Mon Feb 23, 2004 8:01 pm
Contact:
Contact tsunam
Website

  • Quote

Post by tsunam » Fri Mar 30, 2007 7:19 pm

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.
Top
WilliamHeuts
n00b
n00b
Posts: 29
Joined: Thu Dec 04, 2003 1:40 pm

  • Quote

Post by WilliamHeuts » Mon Apr 02, 2007 8:01 am

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/ ... pointscalc
Top
elgrande71
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 131
Joined: Thu Oct 07, 2004 2:54 pm
Location: France

  • Quote

Post by elgrande71 » Tue Apr 03, 2007 1:46 pm

I posted an ebuild for boinc-5.8.17 with linguas support ( http://bugs.gentoo.org/show_bug.cgi?id=173243 ).
Pay attention to the boinc source file located to http://olivier.mondoloni.free.fr/boinc_ ... 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
Top
swimmer
Veteran
Veteran
User avatar
Posts: 1330
Joined: Mon Jul 15, 2002 10:42 am
Location: Netherlands

  • Quote

Post by swimmer » Wed Apr 04, 2007 10:25 am

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

Greetz
swimmer
Top
elgrande71
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 131
Joined: Thu Oct 07, 2004 2:54 pm
Location: France

  • Quote

Post by elgrande71 » Thu Apr 05, 2007 8:44 pm

Find the ebuild of the lastest boinc version (5.9.3) at http://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
Top
kerstman
n00b
n00b
Posts: 68
Joined: Sat Nov 27, 2004 8:29 am

  • Quote

Post by kerstman » Fri Apr 06, 2007 1:48 pm

doomhammer666 wrote:I posted an ebuild for boinc-5.8.17 with linguas support ( http://bugs.gentoo.org/show_bug.cgi?id=173243 ).
Pay attention to the boinc source file located to http://olivier.mondoloni.free.fr/boinc_ ... 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
Top
David Duvall
n00b
n00b
Posts: 4
Joined: Fri Mar 16, 2007 2:58 pm
Location: USA, Missouri, Columbia
Contact:
Contact David Duvall
Website

Successful Upgrade of Boinc Client using ~AMD64

  • Quote

Post by David Duvall » Wed Aug 08, 2007 8:12 pm

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.
Top
smart
Guru
Guru
Posts: 455
Joined: Tue Nov 19, 2002 2:38 pm

  • Quote

Post by smart » Sat Oct 13, 2007 9:24 am

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.
Top
likewhoa
l33t
l33t
Posts: 778
Joined: Wed Oct 04, 2006 12:28 pm
Location: Brooklyn, New York
Contact:
Contact likewhoa
Website

  • Quote

Post by likewhoa » Mon Oct 15, 2007 8:28 am

developers preference, benchmarks have shown that those cflags optimized boinc client.
Top
Trog Dog
Apprentice
Apprentice
Posts: 282
Joined: Sat Aug 04, 2007 9:59 am

  • Quote

Post by Trog Dog » Mon Oct 15, 2007 1:11 pm

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
Top
Post Reply

24 posts • Page 1 of 1

Return to “Documentation, Tips & Tricks”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy