Detailed ATLAS@Home installation instructions for Ubuntu


Advanced search

Message boards : Cafe : Detailed ATLAS@Home installation instructions for Ubuntu

Author Message
fabby
Avatar
Send message
Joined: 24 Oct 14
Posts: 31
Credit: 13,947
RAC: 0
    
Message 1110 - Posted: 26 Oct 2014, 10:55:26 UTC

This How-To was tested on Ubuntu 14.04.1 LTS (Trusty Tahr), but instructions are included for versions Ubuntu 13.10 (Saucy Salamander), Ubuntu 13.04 (Raring Ringtail) , Ubuntu 12.10 (Quantal Quetzal), Ubuntu 12.04.5 LTS (Precise Pangolin) and even 10.04 LTS (Lucid Lynx).

Requirements:
Open a terminal and copy-paste the following commands:
uname --processor
If a single line containing "x86_64" comes up, you've got a 64-bit computer and are good to go to the next requirement:
free --giga | head -n 2
If the "free" column has "4" or larger, you're good to go to the next requirement:
egrep -c '(vmx|svm)' /proc/cpuinfo
If a number of 1 or higher comes up you're good to ask yourself if you have a reasonably fast Internet connection...
The trickiest of all requirements: What is a "fast" Internet connection? If you've got a 24/8 Mbps VDSL you're not going to have any problems; on a 1 Mbps SDSL, you're obviously OK to go; but 128 Kbps ISDN is obviously too slow as ATLAS downloads entire virtual machines (basically a "computer in a file") worth 1.2 GB per task!

Installation:
Before you even install BOINC (or if you have BOINC already: before adding the ATLAS@Home Project to BOINC) you should install a reasonably recent version of VirtualBox as this is the hypervisor that will run the virtual machines that ATLAS@Home will send you.
(If you found this post because you came looking for a solution to a problem: no worries: just follow below lines now)

VirtualBox:
At the time of this writing, Ubuntu's standard repository contains an older version of VirtualBox known to cause problems with ATLAS@Home, therefore use one (1) of the following options:
(If you already installed the older version from Ubuntu's repository and don't need it for anything else, just delete it [right now] before you forget! ;) )
Direct Install:(Easiest, but if ATLAS@Home upgrades to a new version in the future, you'll have to do this again)
Go to: https://www.virtualbox.org/wiki/Linux_Downloads, download the AMD64 version for your Ubuntu version and double-click to install.
Repository install:(Recommended as these will update minor versions automatically)
gksudo gedit /etc/apt/sources.list
Add the following line to the end of the file:
For 14.04 (Trusty Tahr):
deb http://download.virtualbox.org/virtualbox/debian trusty contrib
For 13.10 (Saucy Salamander):
deb http://download.virtualbox.org/virtualbox/debian saucy contrib
For 13.04 (Raring Ringtail):
deb http://download.virtualbox.org/virtualbox/debian raring contrib
For 12.10 (Quantal Quetzal):
deb http://download.virtualbox.org/virtualbox/debian quantal contrib
For 12.04 (Precise Pangolin):
deb http://download.virtualbox.org/virtualbox/debian precise contrib
For 10.04 (Lucid Lynx):
deb http://download.virtualbox.org/virtualbox/debian lucid contrib non-free
The other versions are not supported by Canonical any more, so Oracle will probably sunset these versions too in the near future.

Save your file and close gedit.

Copy-paste the following lines in a terminal one by one:
cd /tmp && wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install virtualbox-4.x

(where x is the highest available number, x=3 at the time of this writing)
All the above looks like a lot of work, but it takes just 5 minutes and that way, you get bug fixes from Oracle automatically! :)

Install BOINC:
http://boinc.berkeley.edu/wiki/Installing_on_Linux

OPTIONAL: Move BOINC to it's own home directory.
As ATLAS@Home uses quite a bit of disk space, you probably want BOINC to have its own home directory... (At least: I do!)
Copy-paste the following lines in a terminal one by one:
/etc/init.d/boinc-client stop
sudo mkdir /home/boinc
sudo chown boinc:boinc /home/boinc
sudo cp --recursive --preserve /var/lib/boinc-client/ /home/boinc/
sudo mv /var/lib/boinc-client/ /var/lib/boinc-client-backup/
sudo ln --symbolic /home/boinc/boinc-client --target-directory=/var/lib/
/etc/init.d/boinc-client start

(Obviously, if the above works, the boinc-client-backup can be deleted afterwards)

Install ATLAS@Home(Just for completeness)
In the BOINC simple view ([Ctrl][Shift][V]), click "Add Project", Next, "ATLAS@Home", Next, Next, Finish. ;)

Set ATLAS@Home priorities:
Go to your account page, click "computing preferences"
Add 1 processor per 2 GB of RAM (dual-core processor: 4 G, Quad: 8, etc) under the "On multiprocessors, use at most" section
Add iNumberOfProcessors*iNumberOfCores*2 GB+33% of GB of disk under the "Disk: use at most" section.
These settings are shared between all BOINC sessions, so add the ATLAS@Home needs to your existing settings!

Happy number crunching!

Szekeres Tamas
Send message
Joined: 11 Aug 14
Posts: 11
Credit: 5,105
RAC: 0
  
Message 1111 - Posted: 26 Oct 2014, 14:11:12 UTC - in response to Message 1110.

Tnx!!!

fabby
Avatar
Send message
Joined: 24 Oct 14
Posts: 31
Credit: 13,947
RAC: 0
    
Message 1211 - Posted: 1 Nov 2014, 19:32:51 UTC - in response to Message 1110.

The section:

Copy-paste the following lines in a terminal one by one:
/etc/init.d/boinc-client stop
sudo mkdir /home/boinc
sudo chown boinc:boinc /home/boinc
sudo cp --recursive --preserve /var/lib/boinc-client/ /home/boinc/
sudo mv /var/lib/boinc-client/ /var/lib/boinc-client-backup/
sudo ln --symbolic /home/boinc/boinc-client --target-directory=/var/lib/
/etc/init.d/boinc-client start

(Obviously, if the above works, the boinc-client-backup can be deleted afterwards)

should read:
Copy-paste the following lines in a terminal one by one:
[b]sudo [/b]/etc/init.d/boinc-client stop sudo mkdir /home/boinc sudo chown boinc:boinc /home/boinc sudo cp --recursive --preserve /var/lib/boinc-client/ /home/boinc/ sudo mv /var/lib/boinc-client/ /var/lib/boinc-client-backup/ sudo ln --symbolic /home/boinc/boinc-client --target-directory=/var/lib/ [b]sudo [/b]/etc/init.d/boinc-client start

(Obviously, if the above works, the boinc-client-backup can be deleted afterwards)

vigilian
Send message
Joined: 24 Jul 14
Posts: 16
Credit: 1,289,899
RAC: 0
    
Message 3870 - Posted: 12 Mar 2016, 14:26:59 UTC

/media/DOCK/boinc-client /var/lib/boinc-client none bind 0 0

this work too in the fstab

Message boards : Cafe : Detailed ATLAS@Home installation instructions for Ubuntu