MMM
Results 1 to 5 of 5

Thread: Guide: compiling BOINC on 64bit linux

  1. #1
    xtreme energy
    Join Date
    Oct 2004
    Location
    Europe, Latvia
    Posts
    4,145

    Guide: compiling BOINC on 64bit linux

    I made a little guide to make BOINC run on 64bit linux (x86_64) and take advantage of 64bit capable cpus. According to my tests BOINC scores higher on 64bit linux than on Windows XP


    Let's begin

    I will be using CentOS linux x86_64 (very similar to Redhat and Fedora core)

    All commands are done using root user. You can also use regular user if you use your own directory for files/software.


    Software prerequisites for client:
    GNU tools (find them here): make 3.79+, m4 1.4+, libtool 1.4+, pkg-config 0.15+, autoconf 2.58+, automake 1.8+, GCC 3.0.4+
    OpenSSL version 0.9.8+
    libcurl version 7.15.5
    svn - Subversion command line client tool


    You will have them already installed in most cases. If your linux uses RPM package manager run and make sure you get some output:
    # rpm -qa|grep -i openssl
    # rpm -qa|grep -i gcc
    # rpm -qa|grep -i make
    # rpm -qa|grep -i subversion



    If you don't get any output then you need to install those packages.
    For example, try

    # yum install gcc

    to install gcc package (it will connect to Internet and download/install automatically)

    Now BOINC

    # cd /opt
    # mkdir boinc-src
    # svn co http://boinc.berkeley.edu/svn/trunk/boinc
    # svn co http://boinc.berkeley.edu/svn/trunk/boinc_samples

    It might take some time, it will download more than 100MB of source files

    # cd boinc
    # ./_autosetup


    We just want a client and install dir is /opt/boinc
    # ./configure --disable-server --prefix=/opt/boinc

    It will check if all prerequisites are there, if you have errors check what they say
    # make

    Now it compiles software
    If you have errors check what they say
    # make install


    Now you will have only command line version
    If you want a GUI BOINC manager you have to download x86 linux boinc client and copy a few files

    Say you have downloaded Linux/x86 file boinc_5.9.4_i686-pc-linux-gnu.sh to /tmp

    # chmod 755 /tmp/boinc_5.9.4_i686-pc-linux-gnu.sh
    # sh /tmp/boinc_5.9.4_i686-pc-linux-gnu.sh


    Now copy 3 files to our real boinc directory
    # cp /tmp/BOINC/boincmgr /opt/boinc/bin/.
    # cp /tmp/BOINC/run_manager /opt/boinc/bin/.
    # cp /tmp/BOINC/ca-bundle.crt /opt/boinc/bin/.



    And the last step is to rename boinc_client to boinc since X86 version has that file named boinc

    # cd /opt/boinc/bin
    # mv boinc_client boinc


    Now you are ready to run boinc manager
    # ./boincmgr

    or

    #./run_manager


    After attaching to project it might display that it failed but just continue/update project and it should run fine

    Good luck

    Advantages of running 64bit Linux on your crunching box:
    * Free and stable OS
    * Multiple cpu/core support (1000+)
    * Better BOINC numbers
    Last edited by kiwi; 04-25-2007 at 02:42 AM.
    ...

  2. #2
    OC Jedi (on stand-by)
    Join Date
    Jan 2005
    Location
    Germany
    Posts
    5,576
    Test it for a few days and report back if you are getting invalid claims for having a to high benchmark. I tried something similar to what you did a while back and it resulted in almost all WUs being invalid, thus getting almost no points.

    But thats a good while ago, so things might have changed by now.
    Great how-to, btw
    オタク
    "Perfection is a state you should always try to attain, yet one you can never reach." - me =)

  3. #3
    Xtreme Cruncher
    Join Date
    Sep 2006
    Location
    Lancaster, UK
    Posts
    265
    Great How-To kiwi, I vote for a sticky?


    Crunching:
    Main Rig: Dual Opty 2536s, SM H8DA8-2, 6gb DDR2 ECC
    Pentium Dual Core E2180 2.0GHz, 2GB PC5400.
    HTPC - Core 2 Duo T7200 @ 1.6, 1GB DDR2, Philips HDTV
    Pentium 4 3.0E @ 3.8GHz, 1GB Ballistix PC4000
    1.0GHz Pentium !!! 384MB PC133
    Apple MacBook Pro 2.4GHz, 4GB 667MHz.
    Pentium D820, 2GB DDR2, 1TB Hard Drive.

    I'm not like you - I won't Overclock the toaster until it can cook a whole Turkey in 15 Seconds

  4. #4
    xtreme energy
    Join Date
    Oct 2004
    Location
    Europe, Latvia
    Posts
    4,145
    OK, will report This is a Celeron @ 3.4ghz rig where I can run linux 24/7

    It benches around 1600/3700
    ...

  5. #5
    xtreme energy
    Join Date
    Oct 2004
    Location
    Europe, Latvia
    Posts
    4,145
    Granted credit is always less than claimed, sad

    http://www.xtremesystems.org/forums/...1&d=1177747044
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	x64_boinc.jpg 
Views:	109 
Size:	52.3 KB 
ID:	58117  
    ...

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •