Seti at home installation
Hi guys
OK i,ve just installed Seti at home and placed the folder in /usr/share and can start it up without problems using /usr/share/seti/setiathome -verbose however I dont want to do this Ideally I would prefer to just type in seti does anyone know how I can do this, and allow any user to start it up. Thx guys RecoilUK |
make a script file called 'seti' that would look like this
Code:
#!/bin/bash Code:
chmod +x seti |
Hi there
Ok so I just make a text file with a .sh extension is this right? And I would save this in /bin or not? I havnt done anything like this before. Thx m8 RecoilUK |
Hi again
Nevermind i,ve sorted it I made a text file instead of a shell script with the command that I usually type in it and called it seti. I placed this in /usr/bin and it works for any user but each user can have a seperate file that they are scanning, which is what I wanted Thx RecoilUK |
Services
mcleodnine,
I too have a problem with seti but slightly different, I want seti to start as a service with all the other services, can you help me there? James |
Re: Services
Quote:
To RecoilUK Seti needs a directory with executable for every user. You can solve it by creating it into users' home directories (for example ~/seti). So there will be a script starting seti for user that starts the script: #!/bin/bash ~/seti/setiathome --verbose |
warfie
I'm obviosly more of a newbie than you realise!
you say "Add a script (or a line running seti) to your starting scripts" I say ......"whaaaa?" can you please dumb it down a little for me? James-the-moron |
It's as easy as I say :) Really.
How do you start seti? Something like /usr/seti/setiathome , right? So open /etc/rc.d/rc.local in your favourite text editor (beeing root!). There will be #!/bin/sh Then lines with # at the beginning, then some strange texts :) After those #s, in new line write the command you use to run seti. If you run it using /usr/seti/setiathome, write /usr/seti/setiathome & (this & is quite important, it makes seti to run in background) And that's all. If you don't know where's your seti (nearly impossible, but maybe...) use whereis setiathome I'll show you the right location. |
warfie, what seti team do you crunch for? TP?
|
None
|
Didn work Mara?!?!
I did exactly as you said, no joy, any idea, or maybe you need more info?
|
Send this part of the file you've modified. Then I can look into it :)
|
umm. just a quicki.. what is seti?
|
Setiathome (sometimes called 'seti' ).
SETI Search for Extraterestrial Inteligence. Setiathome is a program used by 3mln users worldwide to work on data from observatory to find other habitated planets. You download the program, start it, it downloads a package and works on it. When finished sends the results back and gets new package. :) |
kinda like the UD cancer research thingy.. cool when i get my machine working again i'll download it. :)
|
SETI is a distributed computing effort that attempts to identify possible extraterestrials. Each chunk of data that you crunch is called a work unit or WU for short. Crunching on a SETI team is very competitive and alot of fun, and a good use for idle CPU cycles. This link is to the AMDMB.com SETI forum, aka 'The Killer Frogs'.
Join a team, cooperative crunching is great. |
what are the benefits of team crunching?
|
Quote:
|
sending the file I modified
Copy and Paste is not the same as windows? how do I?
|
To copy and paste...
Select the text with your mouse... Move to where you want to paste, then click the middle mouse button. (You need to make sure the text you want copied is highlighted... when you move to the new window, dont' select anything new on accident...) |
cheers
#!/bin/sh
# # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. /home/james/seti/setiathome & [ -f /etc/sysconfig/msec ] && source /etc/sysconfig/msec [ -z "$SECURE_LEVEL" ] && SECURE_LEVEL=3 |
The way SETI suggests doing this is to make an entry in your crontab.
That way if SETI stops running for some reason (usually a communication error back to berkely) it will automatically restart without rebooting. Here are my crontab entries: 0 * * * * cd /home/cfarley/seti; setiathome -nice 1 > /dev/null 2> /dev/null 15 * * * * cd /home/cfarley/seti; setiathome -nice 1 > /dev/null 2> /dev/null 30 * * * * cd /home/cfarley/seti; setiathome -nice 1 > /dev/null 2> /dev/null 45 * * * * cd /home/cfarley/seti; setiathome -nice 1 > /dev/null 2> /dev/null cron will attempt to start seti every 15 minutes. If it is already running it ingores it. If it fails to start, it will try again 15 minutes later. The SETI Unix README: setiathome.ssl.berkeley.edu/README.unix.txt There is a nice PHP script I found to display your SETI stats. There is a link to it on my homepage. I'll send it to you if you're interested. |
i'm running seti the easy (no cron jobs) way and i noticed with "top" that it runs in 'nice' mode. i have a couple questions...
'nice' means low priority, right? does that effect performance when i'm leaving my computer to run only seti? |
Nice usually has a number associated with it as in
45 * * * * cd /home/cfarley/seti; setiathome -nice 1 > /dev/null 2> /dev/null The lower the number the higher the priority. $ nice --help Usage: nice [OPTION] [COMMAND [ARG]...] Run COMMAND with an adjusted scheduling priority. With no COMMAND, print the current scheduling priority. ADJUST is 10 by default. Range goes from -20 (highest priority) to 19 (lowest). -n, --adjustment=ADJUST increment priority by ADJUST first --help display this help and exit --version output version information and exit Report bugs to <bug-sh-utils@gnu.org>. |
All times are GMT -5. The time now is 06:19 AM. |