Please help me with linux and SETI/BOINC

Message boards : Number crunching : Please help me with linux and SETI/BOINC
Message board moderation

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
Profile Mixxster
Avatar

Send message
Joined: 3 Apr 99
Posts: 53
Credit: 15,295
RAC: 0
United States
Message 43679 - Posted: 6 Nov 2004, 20:44:21 UTC

Ok, I finaly got Linux. I could not configure mandrake to work on the internet, so I'm using fedora. I have no Idea how to install BOINC. I have downloaded the linux version, and extrated it till I got: boinc_4.13_i686-pc-linux-gnu then I clicked on it and an error poped up and said this: "There is no action associated with "boinc_4.13_i686-pc-linux-gnu". You can configure GNOME to associate applications with file types. Do you want to associate an application with this file type now?" So does anyone know what to do?
<a href="http://tinyurl.com/648fo"><img src="http://tinyurl.com/4cqql"></a><br><a href="http://tinyurl.com/484rh">Join "Firefox Rocks!" - The SETI Team</a>
ID: 43679 · Report as offensive
Alex

Send message
Joined: 26 Sep 01
Posts: 260
Credit: 2,327
RAC: 0
Canada
Message 43680 - Posted: 6 Nov 2004, 20:46:43 UTC - in response to Message 43679.  

> Ok, I finaly got Linux. I could not configure mandrake to work on the
> internet, so I'm using fedora. I have no Idea how to install BOINC. I have
> downloaded the linux version, and extrated it till I got:
> boinc_4.13_i686-pc-linux-gnu then I clicked on it and an error poped up and
> said this: "There is no action associated with "boinc_4.13_i686-pc-linux-gnu".
> You can configure GNOME to associate applications with file types. Do you want
> to associate an application with this file type now?" So does anyone know what
> to do?
>

You'd have to run the command line.

./ boinc_4.13_i686-pc-linux-gnu
ID: 43680 · Report as offensive
Guido Alexander Waldenmeier
Avatar

Send message
Joined: 3 Apr 99
Posts: 587
Credit: 18,397
RAC: 0
Canada
Message 43682 - Posted: 6 Nov 2004, 20:47:38 UTC

look this link maybe helpfull

http://a9.com/?q=linux+boinc&submit=+GO+

ID: 43682 · Report as offensive
Profile Mixxster
Avatar

Send message
Joined: 3 Apr 99
Posts: 53
Credit: 15,295
RAC: 0
United States
Message 43700 - Posted: 6 Nov 2004, 21:25:14 UTC - in response to Message 43680.  
Last modified: 6 Nov 2004, 21:30:33 UTC

Nevermind, I got it to work.
<a href="http://tinyurl.com/648fo"><img src="http://tinyurl.com/4cqql"></a><br><a href="http://tinyurl.com/484rh">Join "Firefox Rocks!" - The SETI Team</a>
ID: 43700 · Report as offensive
Profile 1202 Program Alarm
Avatar

Send message
Joined: 16 Jun 99
Posts: 239
Credit: 19,164,944
RAC: 38
United Kingdom
Message 43701 - Posted: 6 Nov 2004, 21:28:03 UTC - in response to Message 43700.  

You need to right click the boinc file and change the file's permissions to make it executable.

Support-Aurora.org.uk - Put Europeans On Mars!


S@h Berkeley's Staff Friends Club ©
[/url]
ID: 43701 · Report as offensive
Profile Mixxster
Avatar

Send message
Joined: 3 Apr 99
Posts: 53
Credit: 15,295
RAC: 0
United States
Message 43703 - Posted: 6 Nov 2004, 21:30:48 UTC - in response to Message 43701.  
Last modified: 6 Nov 2004, 21:31:13 UTC

Now how do I get it to start every time linux starts?

<a href="http://tinyurl.com/648fo"><img src="http://tinyurl.com/4cqql"></a><br><a href="http://tinyurl.com/484rh">Join "Firefox Rocks!" - The SETI Team</a>
ID: 43703 · Report as offensive
Alex

Send message
Joined: 26 Sep 01
Posts: 260
Credit: 2,327
RAC: 0
Canada
Message 43707 - Posted: 6 Nov 2004, 21:35:30 UTC - in response to Message 43703.  

> Now how do I get it to start every time linux starts?
>
>

Using a Klingon command called 'cron'.

ID: 43707 · Report as offensive
Profile Mixxster
Avatar

Send message
Joined: 3 Apr 99
Posts: 53
Credit: 15,295
RAC: 0
United States
Message 43709 - Posted: 6 Nov 2004, 21:38:10 UTC - in response to Message 43707.  

> > Now how do I get it to start every time linux starts?
> >
> >
>
> Using a Klingon command called 'cron'.
>
I have no clue what you mean, this IS my first time using Linux.
<a href="http://tinyurl.com/648fo"><img src="http://tinyurl.com/4cqql"></a><br><a href="http://tinyurl.com/484rh">Join "Firefox Rocks!" - The SETI Team</a>
ID: 43709 · Report as offensive
Profile Mixxster
Avatar

Send message
Joined: 3 Apr 99
Posts: 53
Credit: 15,295
RAC: 0
United States
Message 43714 - Posted: 6 Nov 2004, 21:44:58 UTC - in response to Message 43709.  

> > > Now how do I get it to start every time linux starts?
> > >
> > >
> >
> > Using a Klingon command called 'cron'.
> >
How do I use This command? I know very little about linux. Please help me.
<a href="http://tinyurl.com/648fo"><img src="http://tinyurl.com/4cqql"></a><br><a href="http://tinyurl.com/484rh">Join "Firefox Rocks!" - The SETI Team</a>
ID: 43714 · Report as offensive
Profile FalconFly
Avatar

Send message
Joined: 5 Oct 99
Posts: 394
Credit: 18,053,892
RAC: 0
Germany
Message 43749 - Posted: 7 Nov 2004, 0:42:29 UTC - in response to Message 43714.  
Last modified: 7 Nov 2004, 0:50:16 UTC

It really depends a bit on which Distribution you're using, but in your case, you could look for :

/etc/rc.local

It's a Textfile you can manually edit, and is processed a bit like an Autostart Folder.

As last new lines (in my case) I have :

cd /usr/data/boinc
./boinc

(/usr/data/boinc is my location of the BOINC Client, yours likely differs. The ./boinc Command starts it, I renamed the File to "boinc" for ease of use)

Note that this might probably be useful for dedicated Clients only, as my Linux Boinc Clients are dedicated Commandline Terminal-only Systems (no X-Server installed or used)

Launching it like "./boinc 2>/dev/null" redirects all Text output into Nirvana.

Installing it as a background service is likely the most 'clean' way of doing it, but I never got deeper into that variant (the simple one above works for me).
Others more deeply into Linux should be able to give an easy explanation of Cronjob however :)
ID: 43749 · Report as offensive
Profile Mixxster
Avatar

Send message
Joined: 3 Apr 99
Posts: 53
Credit: 15,295
RAC: 0
United States
Message 43773 - Posted: 7 Nov 2004, 2:37:59 UTC - in response to Message 43749.  
Last modified: 7 Nov 2004, 2:38:17 UTC

> It really depends a bit on which Distribution you're using, but in your case,
> you could look for :
>
> /etc/rc.local
>
> It's a Textfile you can manually edit, and is processed a bit like an
> Autostart Folder.
>
> As last new lines (in my case) I have :
>
> cd /usr/data/boinc
> ./boinc
>
> (/usr/data/boinc is my location of the BOINC Client, yours likely differs. The
> ./boinc Command starts it, I renamed the File to "boinc" for ease of use)
>
> Note that this might probably be useful for dedicated Clients only, as my
> Linux Boinc Clients are dedicated Commandline Terminal-only Systems (no
> X-Server installed or used)
>
> Launching it like "./boinc 2>/dev/null" redirects all Text output into
> Nirvana.
>
> Installing it as a background service is likely the most 'clean' way of doing
> it, but I never got deeper into that variant (the simple one above works for
> me).
> Others more deeply into Linux should be able to give an easy explanation of
> Cronjob however :)


Ok, Thanks. But I clicked on rc.local, and nothing happened, so I tried it in root, still nothing, so I tred it in the terminal, nothing. What do I do next?
<a href="http://tinyurl.com/648fo"><img src="http://tinyurl.com/4cqql"></a><br><a href="http://tinyurl.com/484rh">Join "Firefox Rocks!" - The SETI Team</a>
ID: 43773 · Report as offensive
Alex

Send message
Joined: 26 Sep 01
Posts: 260
Credit: 2,327
RAC: 0
Canada
Message 43775 - Posted: 7 Nov 2004, 2:44:37 UTC - in response to Message 43773.  


> > Others more deeply into Linux should be able to give an easy explanation
> of
> > Cronjob however :)
>
>
> Ok, Thanks. But I clicked on rc.local, and nothing happened, so I tried it in
> root, still nothing, so I tred it in the terminal, nothing. What do I do next?
>

You'd have to open it using a text editor.
Kate or Kedit should work.
ID: 43775 · Report as offensive
Profile Mixxster
Avatar

Send message
Joined: 3 Apr 99
Posts: 53
Credit: 15,295
RAC: 0
United States
Message 43780 - Posted: 7 Nov 2004, 3:06:35 UTC - in response to Message 43775.  

>
> > > Others more deeply into Linux should be able to give an easy
> explanation
> > of
> > > Cronjob however :)
> >
> >
> > Ok, Thanks. But I clicked on rc.local, and nothing happened, so I tried
> it in
> > root, still nothing, so I tred it in the terminal, nothing. What do I do
> next?
> >
>
> You'd have to open it using a text editor.
> Kate or Kedit should work.
>
also, Is this going to work if im not logged in as root, and do I need any more files besides "boinc_4.13_i686-pc-linux-gnu"?
<a href="http://tinyurl.com/648fo"><img src="http://tinyurl.com/4cqql"></a><br><a href="http://tinyurl.com/484rh">Join "Firefox Rocks!" - The SETI Team</a>
ID: 43780 · Report as offensive
HachPi
Avatar

Send message
Joined: 2 Aug 99
Posts: 481
Credit: 21,807,425
RAC: 21
Belgium
Message 43832 - Posted: 7 Nov 2004, 7:58:57 UTC - in response to Message 43780.  
Last modified: 7 Nov 2004, 8:20:50 UTC

A short overview to stimulate you,...

Installing BOINC

mkdir [Path]boinc
cd [Path]boinc
mv [Path]boinc_X.XX_i686-pc-linux-gnu.gz .
gunzip boinc_X.XX_i686-pc-linux-gnu.gz
chmod +x boinc_X.XX_i686-pc-linux-gnu
./boinc_X.XX_i686-pc-linux-gnu

X.XX Fill in with the actual version (e.g 4.13)
Path : the place were you want it on your harddisk

Operating BOINC Manually

Linux: BOINC can be operated from the commandline - This is called the Shell:
Start up the terminal window... (RTF - Read the f**ck*ng manual...)

BOINC start:
./boinc_X.XX_i686-pc-linux-gnu

Scheduler contact:
./boinc_X.XX_i686-pc-linux-gnu -update_prefs [URL]

Projekt resetting:
./boinc_X.XX_i686-pc-linux-gnu [URL]

BOINC stop:
In front running : press Ctrl-C
In background : kill -SIGINT [PID] (to kill means to stop an active process)


X.XX goes for the actual version number
URL type in the actual project URL here in this case:
http://setiathome.berkeley.edu/
[PID] fill in the ID of the running process

Note this is the manual setup...
Cron is the magic word to run things automatically... (do a search for the usage of cron / look in the MANs )

Note: To install some things you must be logged in as ROOT.
BEWARE!!! Being root gives you POWER - i.e. you have both - the Dark force and the Good force -
If you don't need this amount of power ALWAYS switch back to normal user.
The possession of the DARK force can ruin your installation of Linux.

May The Force of the Pinguin enlighten your brain and doorstep...
Greetz ;-))

ID: 43832 · Report as offensive
Profile Toby
Volunteer tester
Avatar

Send message
Joined: 26 Oct 00
Posts: 1005
Credit: 6,366,949
RAC: 0
United States
Message 43844 - Posted: 7 Nov 2004, 8:22:28 UTC
Last modified: 7 Nov 2004, 8:23:38 UTC

eek! All this clicking is making me sick! Grab an xterm and stay a while! :) In my experience, all system administration type tasks are usually done better with an xterm and a text editor (nano/pico/vi). All the graphical tools that Fedora gives you might work but 1) they will be fedora specific and if you rely on them you will not be able to use any other distros and 2) they don't always work quite right and when they break something, it can be much harder to clean up the mess.

Then again, this is coming from a Gentoo user so take it with a grain of salt :)

Mouse: (noun) a computer input device used to switch between xterms if your ALT or Tab keys aren't working
A member of The Knights Who Say NI!
For rankings, history graphs and more, check out:
My BOINC stats site
ID: 43844 · Report as offensive
HachPi
Avatar

Send message
Joined: 2 Aug 99
Posts: 481
Credit: 21,807,425
RAC: 21
Belgium
Message 43845 - Posted: 7 Nov 2004, 8:29:25 UTC
Last modified: 7 Nov 2004, 8:30:57 UTC

I like Gentoo...

Whad-diz a maus???

Greetz ;-))) (to keep this on top - so bump^ )

ID: 43845 · Report as offensive
Ned Slider

Send message
Joined: 12 Oct 01
Posts: 668
Credit: 4,375,315
RAC: 0
United Kingdom
Message 43855 - Posted: 7 Nov 2004, 9:08:22 UTC
Last modified: 7 Nov 2004, 9:09:53 UTC

A nice overview Mr Linux. I'll try and add a basic guide to my website in the next week or so for anyone else struggling with this.

And of course, now you've got boinc running, make sure you visit my site and download the latest optimised version of boinc to significantly improve your benchmark scores (see links below)

Ned

*** My Guide to Compiling Optimised BOINC and SETI Clients ***
*** Download Optimised BOINC and SETI Clients for Linux Here ***
ID: 43855 · Report as offensive
HachPi
Avatar

Send message
Joined: 2 Aug 99
Posts: 481
Credit: 21,807,425
RAC: 21
Belgium
Message 43857 - Posted: 7 Nov 2004, 9:19:44 UTC - in response to Message 43855.  
Last modified: 7 Nov 2004, 9:22:06 UTC

Thanks Mr Ned Slider, for :

1. The continuous work concerning the Optimized BOINC clients.
2. Feel free to copy some/part of my postings concerning the Linux installations of BOINC.
3. Is there info to for optimisation of P4 HT machines?
4. Some ideas towards computer farming in the thread
-Buying another pc purely to crunch more wu's?-

Greetings from Belgium
- Keep software free - ;-))
ID: 43857 · Report as offensive
Profile Dunc
Volunteer tester

Send message
Joined: 3 Jul 02
Posts: 129
Credit: 2,166,460
RAC: 0
United States
Message 43859 - Posted: 7 Nov 2004, 9:32:49 UTC
Last modified: 7 Nov 2004, 19:39:07 UTC

This is how I get Boinc to run at start up. This is using Ubuntu which is Debian based.

Open a terminal window

Under your home directory create a directory called boinc (substitue (your_user) for correct)
mkdir /home/your_user/boinc

Copy the downloaded executable into it
mv /home/your_user/boinc boinc_4.13_i686-pc-linux-gnu.gz

Change to boinc directory
cd /home/your_user/boinc

Unzip it
gunzip boinc_4.13_i686-pc-linux-gnu.gz

Change the permissions
chmod 755 boinc_4.13_i686-pc-linux-gnu

Run it manually to attch to the project
./boinc_4.13_i686-pc-linux-gnu

Once attached kill it
ctrl-c

Create a script to run boinc
type pico to open editor and paste the following into it without (script) tags and change the BOINC_PATH info
(script)
#!/bin/sh
# Script to start and stop the boinc client
BOINC_PATH="/home/your_user/boinc"

case "$1" in
start)
echo -n "Starting boinc client"
cd $BOINC_PATH
./boinc_4.13_i686-pc-linux-gnu -return_results_immediately >boinc.log 2>/dev/null&
;;

stop)
echo -n "Stopping boinc client"
killall boinc_4.13_i686-pc-linux-gnu
;;

*)
echo "Usage: $0 {start|stop}"
exit 1
esac

exit 0
(script)

Exit pico ctrl-x
Save modified buffer = yes
Save as filename = boinc

Create boinc.log file
Open pico, press the space bar, ctrl-x, save modified buffer = yes, save as boinc.log

Change permissions for boinc.log
chmod 755 boinc.log

Become root
type su, and enter password.

Copy boinc script to /etc/init.d/
cp /home/your_user/boinc/boinc /etc/init.d/

Change directory to /etc/init.d/
cd /etc/init.d/

Change permissions of the script
chmod 755 /etc/init.d/boinc

Create a symbolic link to the script in the runlevel2 directory
cd /etc/rc2.d/
ln -s /etc/init.d/boinc S99boinc
chmod 755 S99boinc

Exit root
exit

Check that the script works
/etc/init.d/boinc start

The script should now run, and you can check for message is the boinc.log file

You can stop the script by typing
/etc/init.d/boinc stop

When you re-start the computer boinc should start automagically

The above instructions may differ depending on your distro. This is only given as a guide, and I accept no resposibility for any damage etc etc etc... :-)

Hope this helps

Dunc
ID: 43859 · Report as offensive
Profile Charles Dennett

Send message
Joined: 29 Apr 00
Posts: 27
Credit: 18,785
RAC: 0
United States
Message 43897 - Posted: 7 Nov 2004, 14:03:00 UTC
Last modified: 7 Nov 2004, 14:03:59 UTC

I also have a boinc boot script for Linux. I mentioned it here a long time ago so it probably got lost amongst all the messages. Feel free to snarf a copy from

http://www.dennett.org/boincctl

It's designed to work on RedHat. Even if you don't run Redhat, this should at least give you a good starting point. Shell variables in the beginning of the script should be set to match you setup. As with other boot time scripts, can be run manually at any time to stop andor start boinc. Puts the process into the background so there's no need for cron.

Charlie

ID: 43897 · Report as offensive
1 · 2 · Next

Message boards : Number crunching : Please help me with linux and SETI/BOINC


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.