Page 1 of 2 12 LastLast
Results 1 to 25 of 32

Thread: boinc on linux - with (k)ubuntu

  1. #1
    Xtreme Cruncher
    Join Date
    Jun 2006
    Posts
    612

    boinc on linux - with (k)ubuntu

    boinc on linux - with (k)ubuntu

    *not complete yet - i am writing right now and am saving my progress *

    I decided to write a little guide (but with maaaany pictures) how one could get boinc running in linux.
    There isnt just one linux, there are a huge number of so called distributions which differ in the installation tool and the applications they use and install. For the guide i have chosen (k)ubuntu because the latest release "gutsy gibbon" works really good, and it is very easy to install and use.
    Now whats up with that (k). It means that both kubuntu and ubuntu exist. Under the hood they are nearly the same, but they differ in the desktop environment they use. While kubuntu uses kde, ubuntu uses gnome. I personally use kde because you can make it look like the way you want, and you have lots of possibilities. Gnome tries to be more easy to use. Anyway, the best would be if you download both and test them, because they are so called live-cd's. you can use them as if they would be installed, they are only a little slower
    You can download kubuntu here and ubuntu there. You can choose between the 64-bit edition and the "standard pc version" so download the one fitting to your cpu

    After the download finished, burn the iso to a normal cd, and put it into the target pc. Note: I used a virtual pc to install, so my harddisk was empty. Installation gets easyer if the harddisk is empty, but there is no problem when you use a harddisk with data on it, as (k)ubuntu is able to resize partitions
    Now set the pc to boot from cd and you will be presented with the boot menu of the cd. The guide gets now split into to parts, so that it gets more readable. The ubuntu part will be the first one as the iso downloaded faster

    Ubuntu

    Installation

    After the Post your screen should look like this:

    Click on the pic for a bigger one

    As we want to install Ubuntu it should be clear which one to take It will take a bit to start up, and you will then be presented with the Ubuntu desktop.



    Start the installation with the nice Install button which has been put ther just for that purpose... You will then have to click next a few times, and select what you think is correct. Step 4 is the partitioning step.



    If the harddisk was empty, it will look like here, and you can hit next. if you need to delete or resize partitions first, select one of the other options and read carefully what you are going to do. You dont wanna loose your :banana::banana::banana::banana:, do you ?
    The next step is nothing special, just enter your username and pw to your favour. After you pressed the next button a few times more, you will see that it starts to install



    You will be asked to reboot and to remove your cd. This is done that you wont install ubuntu again, but boot the fresh installed os.
    After the booting has finished and you have logged in with the user and pass you entered during installation you are done.



    Thats how your ready to use linux will look like. So that the pc gets something to do while we play arround with all those new menus, we will install boinc.

    Get boinc running

    The first thing a windows user would do is to go to the boinc page and download the boinc setup. but we are on linux here and everything is organized in packages which are installed by a so called package manager. this is apt in our case. it is an console application, but as ubuntu tries to be very user friendly they have created a user interface called "synaptic package manager" which can be found here



    When you start it you will need to put in your password for the user, because you can really damage your system with synaptic



    You will be presented with the categories on the left. The packages are listed on top. Well, see for yourself...



    We could scroll arround looking for boinc, but that woud be tooo much work, so we will search for boinc... either ctrl+f or edit -> search



    After we get the results we want to install both boinc-client and boinc-manager, as one is the plain boinc application and the other one is the user interface. To mark something for installation click on the checkbox in front of the package name and select "Mark for installation"



    As boinc needs some other packages which are not installed by default synaptic says that they have to be installed to. just hit the mark button



    So after we tell the package manager to apply the pending changes (Apply button in toolbar of Synaptic) it will show us what gets changed and how much space it will use etc etc. so hit apply again It will then start to download and then install and setup the new packages, which looks like this



    When everything is done we can close synaptic, as we have to configure boinc now. Our newly installed application is hiding there



    After starting boinc nearly everyone should know what follows:



    The new view is something for weeners, and because of that we will switch to the advanced view as soon as possible and be happy that everything went well...





    The boinc client is installed as a service, and gets started everytime our pc starts, so we dont need to care anymore.


    omg, i wanna have 3d!

    The default driver for video is the opensource driver, which are without any 3d acceleration. If you want to play arround with compiz ( and after seeing that video i am sure you want) you will need to install the closed source driver. There is an assistant located here:





    Kubuntu

    Installation

    Ok, we are back at the point that you have the cd in your drive and set to boot from it. Its the kubuntu cd this time, so it wont look brown/orange but blue



    An additional screenshot is needed because the startup screen looks very nice



    Ok, so we are now at the kde desktop. You may play arround now, but as we need to hurry so that the pc crunches we will start the installation.



    Ok, now you will have to push next a few times and select your timezone and keyboard layout. The next important step is to set up the partitions. If you want to keep some data on your harddrives, take care so that you dont kill one of your important partitions.



    Then its time to use that next button again, and it will start to install:



    The installation tries to detect your hardware and needs to copy lots of files, but it should finish soon. The next step is to restart



    As you were asked to remove the cd the pc should now be able to boot our fresh kubuntu from the harddisk. While it starts up it looks like that:



    Now you only have to log in and you will be presented with the kubuntu desktop.



    Get boinc running

    See the ubuntu text for an explanation with packages and so on. The package manager in kubuntu is named adept and is hidden in the k menu



    You will need to enter your password because you can easily destroy the whole system with it, and kubuntu wants that only you can do this



    Dont be afraid of the not really intuitive interface, as it is just erm.. functional



    As we want to install boinc we type that into that searchbox. Now that we see the results we need to select that we want to install boinc-client and boinc-manager. Click on these and select request install.



    After you press the apply button and accept the next dialogs boinc is installed and configured. So close adept and look for the boinc manager in the kmenu



    You will be presented with the usual dialog to attach to a new project. After answering them and switching to the Advanced view we can see that boinc is running!

    Last edited by brot; 11-05-2007 at 11:54 AM.
    gentoo amd64/2008.0-beta, gcc-4.2.3, glibc-2.7-r2, kernel 2.6.25 x86_64
    I crunch, and you should too. STATS

  2. #2
    I am Xtreme
    Join Date
    Sep 2007
    Location
    New Jersey, U.S.
    Posts
    2,329
    Thanks brot - I'm right behind you.

  3. #3
    Xtreme Cruncher
    Join Date
    Aug 2006
    Location
    UK
    Posts
    835
    Very nice brot

    One question - once you have installed the Synaptic Boinc version (5.10.8) - how do you go about updating it to the latest linux Boinc version (5.10.21)downloaded from the berkeley site?

    I see they also have a beta version 5.10.28 (Ubuntu Release) listed there too - wonder if this is going to eventually be an update for Synaptic?
    DC Prostitute - Crunching In Memory of My Dad

  4. #4
    Join XS WCG or \/ !!
    Join Date
    Dec 2005
    Location
    Earth:\USA\OHIO
    Posts
    5,076
    Edit:Ady I was posting the same question

    Also just FYI that every one see S_B's post that Linux and WCG are not getting along 100% right now.

    Nice work Brot Good to have you back with us so I can pick you penguin brain



    Got an Xtreme System? Bring it here! <----

  5. #5
    I am Xtreme
    Join Date
    Sep 2007
    Location
    New Jersey, U.S.
    Posts
    2,329
    Thank brot for the very detailed and illustrated installation guide. I will be referring to it.

  6. #6
    Xtreme Cruncher
    Join Date
    Aug 2006
    Location
    UK
    Posts
    835
    Quote Originally Posted by [cTx] mysticmerlin View Post
    Also just FYI that every one see S_B's post that Linux and WCG are not getting along 100% right now.
    Yes, I've seen this (thanks SB ) - it only seems to be the HCC project on linux, and only in a small amount of cases by the looks of it, but an eye needs to be kept on it.
    DC Prostitute - Crunching In Memory of My Dad

  7. #7
    Xtreme Legend
    Join Date
    Dec 2003
    Location
    Northern California
    Posts
    204,166
    Here are a couple of how-to guides on installing BOINC on Linux:

    http://www.boinc-wiki.info/index.php...tware_on_Linux
    http://wiki.debian.org/BOINC

    I know these guides may seem confusing. There are a couple of things you need to know. After you've downloaded the BOINC installer, you need to make it executable. The first link explains how that's done. The other thing to remember is that in order to get a newer BOINC version to work, you must have the proper libraries and build dependencies (see second link). This is where it gets more complicated. In some cases, the Debian archive does not have the libraries needed for the latest BOINC version, in which case you're out of luck. Ubuntu is a Debian-based operating system.

    I'm sure brot will have other tips for you.
    Audentes fortuna iuvat

    "Fortune favors the bold"

  8. #8
    Xtreme Cruncher
    Join Date
    Jun 2006
    Posts
    612
    Quote Originally Posted by [cTx] mysticmerlin View Post
    Also just FYI that every one see S_B's post that Linux and WCG are not getting along 100% right now.
    What post As i only have linux it would be really intrested if there are some problems

    A note howto use the packets provided by boinc will follow soon
    gentoo amd64/2008.0-beta, gcc-4.2.3, glibc-2.7-r2, kernel 2.6.25 x86_64
    I crunch, and you should too. STATS

  9. #9
    Join XS WCG or \/ !!
    Join Date
    Dec 2005
    Location
    Earth:\USA\OHIO
    Posts
    5,076



    Got an Xtreme System? Bring it here! <----

  10. #10
    Xtreme Cruncher
    Join Date
    Jun 2006
    Posts
    612
    Quote Originally Posted by sierra_bound View Post
    The Kubuntu desktop interface is quite nice. A reminder to those of you trying 64-bit Linux. You may need to install the 32-bit libraries. WCG projects are 32-bit apps. Without those libraries installed, your work units will likely produce errors immediately.

    As mentioned in a previous post, the command for getting the libraries is:

    sudo apt-get install ia32-libs
    It did work here without it, but just in case you run into problems
    gentoo amd64/2008.0-beta, gcc-4.2.3, glibc-2.7-r2, kernel 2.6.25 x86_64
    I crunch, and you should too. STATS

  11. #11
    Xtreme Legend
    Join Date
    Dec 2003
    Location
    Northern California
    Posts
    204,166
    In my case, I had to install the 32-bit libraries. BOINC would not work properly without them. I think a lot depends on the processor you're using. If you have an Athlon64, Opteron or EM64T Xeon, you probably don't need the libraries. Intel x86 chips generally need full support for 32-bit code.
    Audentes fortuna iuvat

    "Fortune favors the bold"

  12. #12
    Registered User
    Join Date
    Jan 2007
    Posts
    71
    i recently joined the WCG and the XTREMESYSTEMS team (hmmm about two days) have a Quad Q6600 oc to 3.9 and an old dual opteron 270 running BOINC under Kubuntu , been a linux user for a long time , glad to see other people using it

  13. #13
    Xtreme Cruncher
    Join Date
    Apr 2006
    Location
    Slovenia
    Posts
    381
    Quote Originally Posted by neonflx View Post
    i recently joined the WCG and the XTREMESYSTEMS team (hmmm about two days) have a Quad Q6600 oc to 3.9 and an old dual opteron 270 running BOINC under Kubuntu , been a linux user for a long time , glad to see other people using it
    Thanks for joining Well i just love debian for server installations but who knows i might get used to ubuntu for my desktop machine, who knows
    Thermaltake Xaser 3 V2000a ALU
    Phenom x4 905e
    4G ddr3
    Ati radeon HD 4850 sapphire
    OCZ Vertex turbo 30G

  14. #14
    xtreme energy
    Join Date
    Oct 2004
    Location
    Europe, Latvia
    Posts
    4,145
    Don't forget my guide to compiling BOINC on 64bit linux but it is more advanced
    http://www.xtremesystems.org/forums/...12&postcount=1
    ...

  15. #15
    XS WCG Hamster Herder
    Join Date
    Mar 2007
    Location
    Pacific Northwest, USA
    Posts
    2,389
    Nice work brot!!
    If You ain't Crunching, you ain't Xtreme enough. Go Here
    Help cure CANCER, MS, AIDS, and other diseases.
    ....and don't let your GPU sit there bored...Crunch or Fold on it!!
    Go Here, Or Here

  16. #16
    Xtreme Member
    Join Date
    Apr 2005
    Location
    CO, USA
    Posts
    112
    Anyone know why Bionic will only use one of my Opteron cores? I have searched other places and cant seem to find the answer other than the x64 version doesn't have the problem. I'm running Ubuntu.
    MSI X370 XPOWER GAMING TITANIUM / AMD Ryzen 7 1800x

    Fold it until it breaks
    ASUS Rampage IV Extreme / Intel 3820

    RIP Abit

  17. #17
    Xtreme Legend
    Join Date
    Dec 2003
    Location
    Northern California
    Posts
    204,166
    Check your settings in Device Profiles on your WCG page. Under basic options, make sure processor time is set to 100%. Then go to Projects tab on the BOINC Manager and hit Update.
    Audentes fortuna iuvat

    "Fortune favors the bold"

  18. #18
    Xtreme Enthusiast
    Join Date
    May 2007
    Location
    There's no place like 127.0.0.1, Brazil
    Posts
    888
    Theres also another way to run boinc using Terminal (konsole), which i am currently using, because the boinc on repositories could'nt run in my machine, dont know why.This method is very useful to run boinc in linux without the system interface, like in the servers of your work company

    Download the latest version of boinc for the linux here . After downloading it,save in a easy location to find, usually /home/morais(example), open a terminal window, then write cd /home/morais (example).Then you have to make that file executable, doing . chmod 700 boinc_x.x.xx_i686-pc-linux-gnu.sh (which x means the version of boinc downloaded and note that i am running a 32 bit system because it shows i686.If youre running a 64bit OS it will be amd64).After that, install the boinc writing ./boinc_5.8.15_i686-pc-linux-gnu.sh.You shoud see something similiar to this:

    Later, do the following command to go to the boinc directory: cd BOINC (its case sensitive).

    The last step is to attach the project to the WCG.Its very simple and will automatically make boinc run.In this step, you will need to visit WCG page to get the ID needed to attach you to the account.Login in the www.worldcommunitygrid.org and go here
    Scroll down the page and you will see something like that


    run on terminal ./boinc -attach_project
    www.worldcommunitygrid.org xxxxxxyyyyyyzzzz111223344
    (where xyz1234 is your ID) and done! Youre already running boinc on linux!
    Last edited by Morais; 11-09-2007 at 03:32 AM.

  19. #19
    Xtreme Cruncher
    Join Date
    Nov 2005
    Location
    Netherlands
    Posts
    1,778
    Thanks a lot for this guide, it's very well written.

    I dont understand how BOINC is a package though, is it integrated or something? And what version do you get? And if I see it right, other Linux distro's are another story, only (k)ubuntu has this package?

    It's confusing for a Linux noob.

  20. #20
    Xtreme Legend
    Join Date
    Dec 2003
    Location
    Northern California
    Posts
    204,166
    BOINC 5.10.8 is included with Ubuntu 7.10. You just have to install the client and manager which is easy to do. Just use the Synaptic Package Manager.

    Ubuntu and Kubuntu both come with a lot of software. You can install programs using Synaptic Manager (for Ubuntu) or Adept Manager (Kubuntu). You can also download additional packages from the Debian repositories.

    While Windows automatically installs a lot of junk you don't really need, Linux installs just enough to get you started. You have the option of adding a lot more programs.
    Last edited by sierra_bound; 11-09-2007 at 08:41 AM.
    Audentes fortuna iuvat

    "Fortune favors the bold"

  21. #21
    version 2.0
    Join Date
    Feb 2005
    Location
    Flanders
    Posts
    3,862
    Brot, i need your help here

    I just installed the restricted nvidia driver. now I'm stuck at 1024x768 highest resolution. How do I change this back to 1280x1024 ?

    How do I install lmsensors ? Can I implement this in my Gkrellm system monitor?

    thanks

  22. #22
    version 2.0
    Join Date
    Feb 2005
    Location
    Flanders
    Posts
    3,862
    the resolution issue is solved
    now the lmsensors thingie

  23. #23
    Xtreme Cruncher
    Join Date
    Jun 2006
    Posts
    612
    i never played around with gkrellm, but i will look at it. should be possible imo.
    gentoo amd64/2008.0-beta, gcc-4.2.3, glibc-2.7-r2, kernel 2.6.25 x86_64
    I crunch, and you should too. STATS

  24. #24
    Xtreme Cruncher
    Join Date
    Jun 2006
    Posts
    612
    It is installed as a plugin for gkrellm here, you just have to set up lmsensors with synaptic, and then run "sensors-detect" as root in a terminal.
    then add the sensors plugin into gkrellm. you can access the gkrellm men&#252; by clicking on the upper edge of gkrellm.
    gentoo amd64/2008.0-beta, gcc-4.2.3, glibc-2.7-r2, kernel 2.6.25 x86_64
    I crunch, and you should too. STATS

  25. #25
    version 2.0
    Join Date
    Feb 2005
    Location
    Flanders
    Posts
    3,862
    Thanks , i got it working now
    I got coretemp , gpu temp , fan speed and vcore monitoring
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Screenshot.jpeg 
Views:	386 
Size:	147.6 KB 
ID:	68045  
    Last edited by Jaco; 11-30-2007 at 04:38 PM.

Page 1 of 2 12 LastLast

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
  •