Koozali.org: home of the SME Server

BOINC Projects

Quail_Linux

BOINC Projects
« on: January 28, 2005, 06:38:49 PM »
Hi Girls and Guys

I have been playing around with BOINC SETI@home on my SME 6.01-01 server.

I have been having problems with the script in this forum at http://forums.contribs.org/index.php?topic=24965.msg100289#msg100289
where it has been failing to start.

So I hit freshmeat to see if there was anything for BOINC and I found this script at http://freshmeat.net/projects/boinc/
About: boinc can be used as a console tool to display information about BOINC projects and working units. It can also be used to start or stop BOINC.

Once you have configured the script to match your BOINC setup run the command chmod 750 on the script.

to run the script all you have to do is:
[root@hal2000 boinc]# sh boinc
and available options are:
-a, --apps
-p, --projects
-u, --units
-s, --start
-S  --stop
-l, --log [N]
-v, -V, --version
-?, -h, --help

And all i have done to start BOINC at bootup is modified my /etc/rc.d/rc.local file with the line of "sh boinc -s" without the quotation marks.

Hope this is some help to people make it easier to running BOINC on there SME servers

Quail_Linux

BOINC Projects
« Reply #1 on: January 28, 2005, 10:27:18 PM »
This is just and extra update, here is part of the script from http://freshmeat.net/projects/boinc/

below is just a snippit of the code.


#!/bin/bash
#=================================================
# BOINC starter/status displayer
# Jean Philippe EIMER - phil.eimer@9online.fr
#-------------------------------------------------
# Released under the GNU General Public License v2
#=================================================

#---------------------------------------------
#---------------------------------------------
# Parameters to be set before using the script

# The path where BOINC state files reside
BOINC_PATH=/home/boinc

# The path where BOINC client executable resides (without the client name)
# If client 'setiathome' is in /usr/bin, you'll have BOINC_BIN_PATH=/usr/bin
# This path may be absolute or relative to BOINC_PATH
BOINC_BIN_PATH/home/boinc

# LOG file for BOINC, with its absolute path
BOINC_LOG_FILE=$BOINC_PATH/boinc.log

# Options to give to the client when it starts
# See the documentation of the BOINC client
BOINC_OPTIONS=""

# Nothing should be modified below this line
#---------------------------------------------
#---------------------------------------------

#***********
# VARIABLES
#***********
VERSION="1.5"
DATE="9/2004"
AUTHOR="Jean Philippe EIMER"
EMAIL="phil.eimer@9online.fr"

BOINC_EXEC=boinc_4.19_i686-pc-linux-gnu

STATE_FILE=$BOINC_PATH/client_state.xml
PID_CMD=/sbin/pidof
DATE_CMD=date
PS_CMD=ps
GREP_CMD=grep

BOINC_DATE_FORMAT="%c"

# Comment if you don't want color
BOINC_WARNING="33[0;31m" # RED
BOINC_INFO="33[0;36m" # LIGHT BLUE
BOINC_TITLE_COLOR="33[01;34m" # BOLD BLUE
BOINC_SUBTITLE_COLOR="33[01;01m" # BOLD
BOINC_NORMAL="33[0m"


In bold is what i have modified to get the script to work right