Basics of Boinc install on Linux ( old but not obsolete )

User avatar
Alez
[ TSBT's Pirate ]
[ TSBT's Pirate ]
Posts: 10363
Joined: Thu Oct 04, 2012 1:22 pm
Location: roaming the planet

#1 Basics of Boinc install on Linux ( old but not obsolete )

Post by Alez »

for some help and guides to installing Boinc on Linux see
http://boinc.berkeley.edu/wiki/Installing_on_Linux

specific to ubuntu install
http://boinc.berkeley.edu/wiki/Installi ... _on_Ubuntu

BOINC instalation
(you still at root, but you can do this once you have restarted your computer)
apt-get install boinc-client boinc-manager
64 Bit Considerations
To allow 32 bit applications to run on 64 bit Linux you must install 32 bit versions of certain shared libraries.
apt-get install ia32-libs libstdc++6 libstdc++5 freeglut3

Now you can restart and configure BOINC and Ubuntu as you wish.
If BOINC doesn't recognise your GPU card put a delay in the start up

copied from here http://boinc.berkeley.edu/dev/forum_thread.php?id=6307 is how to allow linux to see more than one gpu if you have that issue. The main fix is below

Issues & Solutions:

ISSUE #1: BOINC starts before GDM can finish getting up and running. This makes the BOINC think the video card is absent. This can occur with both ATI and Nvidia cards but I first found it on Nvidia card equipped machines. If your GPU is recognized after you restart BOINC but doesn't find the card right after a reboot this is likely your problem. This can be a bit sporadic on some machines where it'll find it after one reboot but not another. If this is the only problem it'll find it every time after a restart of just BOINC.
sudo /etc/init.d/boinc-client restart

See history here: https://bugs.launchpad.net/ubuntu/+sour ... bug/414244

FIX #1: My fix was to add a delay into the start-up script so that GDM/X has a chance to have drivers fully loaded. This solution inserts a 6 second delay in the boinc start-up script which allows ample time for the driver to be available on all machines tested to date.
(a)Edit the start-up script file /etc/init.d/boinc-client with sudo gedit /etc/init.d/boinc-client.
(b)Find this function code and add the line “sleep 6” where it's shown here:
start()
{
log_begin_msg "Starting $DESC: $NAME"
if is_running; then
log_progress_msg "already running"
else
sleep 6
start-stop-daemon --start --quiet --background --pidfile $PIDFILE \
--make-pidfile --user $BOINC_USER --chuid $BOINC_USER \
--chdir $BOINC_DIR --exec $BOINC_CLIENT -- $BOINC_OPTS
fi
log_end_msg 0

if [ "$SCHEDULE" = "1" ]; then
schedule
fi
}


FIX #2: Modify the start-up sequence of the /etc/init.d/boinc-client script.
(a)I got this from gfarmerfr an ATI/Ubuntu user on the DNETC forums after telling him how I was putting the delay in. I haven't actually tried it. It worked for gfarmerfr and he knows what he's doing. I believe this was tested on v9.10. In many ways this is a better fix but I was already into the script for other reasons (adding fan speed control) so I stuck with my sleep 6 version.
(b)Execute the following two commands to move BOINC start-up to the end of start-up processing:
sudo update-rc.d -f boinc-client remove
sudo update-rc.d boinc-client defaults 99
Image
The best form of help from above is a sniper on the rooftop....
User avatar
Alez
[ TSBT's Pirate ]
[ TSBT's Pirate ]
Posts: 10363
Joined: Thu Oct 04, 2012 1:22 pm
Location: roaming the planet

#2 Re: Basics of Boinc install on Linux

Post by Alez »

A slightly newer list of additional libraries to install if you install 64 bit Ubuntu is below.

libwxgtk2.8-dev
libcurl4-openssl-dev
libxss-dev
libstdc++6
freeglut3
ia32-libs

copy and paste this in terminal should get you all

sudo apt-get install libwxgtk2.8-dev libcurl4-openssl-dev libxss-dev libstdc++6 freeglut3 ia32-libs
Image
The best form of help from above is a sniper on the rooftop....
Post Reply Previous topicNext topic

Return to “Linux”