am thinking about running Linux on my dedicated Seti boxen. was wondering if anyone doing this, might be willing to post any setup tips. thanks.
Originally posted by sparK:
am thinking about running Linux on my dedicated Seti boxen. was wondering if anyone doing this, might be willing to post any setup tips. thanks.
Originally posted by Larry Loen:
See also the http://www.teamlambchop.com/tips.htm for more information. A lot of generic advise in all the articles applies to Linux.
Linux does perform a little less well than the Windows version, but this can be at least partly made up in practice with its administrative convenience. I've found it particularly easy to make hands-off running work under Linux. In any case, if that's the license you got, that's what you run.
Wine using the NT client is the fastest way to run SETI on Intel, period, but I've never bothered with it. I believe others can give the technique -- it might even be in one of the references. If not, I can add it to one of the FAQs if someone would send it to me. Or, at least, tell me what other ref has it so I can say where to go in the base FAQ.
I think I'll be getting another ~2 GHz machine at work sometime soon, and it'll be Linux only. What's a good program to do a bit of local caching? Like SETIDriver, but for linux? Also, what's the best way to go about having it auto-start?
while (/bin/true ) ; do
# Linux and Unix have a built-in sleep command
sleep 10
# Main directory
cd /usr/local/seti/1
./setiathome -proxy yourproxy:8080 -stop_after_process
cat result.sah >> results.txt
./setiathome -proxy yourproxy:8080 -stop_after_xfer
# Second directory
cd ../2
./setiathome -proxy yourproxy:8080 -stop_after_process
cat result.sah >> results.txt
./setiathome -proxy yourproxy:8080 -stop_after_xfer
[obviously repetitive info omitted]
# 24
cd ../24
./setiathome -proxy yourproxy:8080 -stop_after_process
cat result.sah >> results.txt
./setiathome -proxy yourproxy:8080 -stop_after_xfer
cd ..
done
./killseti
/usr/local/seti/setiscript > /dev/null &
while (ps -Al | grep setiathom) ; do
# kill off any scripts
ps -Al > processlist.txt
awk '/setiathom/ {print $5}' processlist.txt > ppids.txt
awk '/bash/ {print $4}' processlist.txt > bashpids.txt
awk '/setiathom/ {print $4}' processlist.txt > setilist.txt
# join files
cat ppids.txt >> bashpids.txt
# sort and find duplicates
cat bashpids.txt | sort | uniq -d > killlist.txt
kill -9 `cat killlist.txt` > /dev/null
# kill off any running s@h instances
kill -9 `cat setilist.txt` > /dev/null
# remove temp files
rm -f processlist.txt ppids.txt bashpids.txt killlist.txt setilist.txt
# sleep to give time for processes to die
sleep 1
done
windows et. al.) was already there. I just had to rummage around the default Red Hat config files until I found it, but I don't think I had drive emulation, just pointers to the emulation code. I was definitely executing the data out of my own directory. I forget if I downloaded a WU or not.3. Don't be so cheap on the sleep command. Go ahead and do a sleep 600.
4. To start up, the only file you need in each of your /1 and /2 and .../24 directories is user_info.sah.
7. Alternatively, in each diretory, pid.sah contains the most recent SETI process. You could use this to advantage in your killseti script and make it simpler (e.g. cd /usr/local/seti/3 ; kill `pid.sah` at any bash script window).
<plug type="shameless">
Bob_2k, KSetiSpy does wu caching.
</plug>