• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Running SETI on a dual CPU linux system

AMDPwred

Diamond Member
Ok, I've got two seti directories under /opt/ (seti1 and seti2). I also renamed the executables so I can tell which is which under top. Now, I've made cron jobs for both of them to run every 4 hours. I had to start each client via command line so I could login under my name and all, and each of them seemed to use one of the CPUs. I was quite happy it was so simple. Now, when I try and run seti2 from cron, I get this error:

*************************************************

Output from command /opt/seti2/seti2 ..

Couldn't get lock file. This is probably because
another instance of SETI@home is running in this directory.
Each instance of SETI@home must run in a separate directory.

*************************************************

Can anybody help me out here? I can't leave ssh up 24/7 to do this. 🙁
 
sounds to me like you need to make another directory off of the root... copy the old setiathome cli into the new directory. Then try to run it... IE... Run one CLI from the old directory and the other CLI from the new directory...

I don't know that much about dual procs under linux hopefully someone else here may know...


Good Luck...
 
*If* it were a Windows based system, I'd say that in addition to having seperate sub-directories for each of the CLI clients, you'd also need to specify which processor is to be used, as a command-line switch. For instance, on my dual rig, I have directories "Seti1" and "Seti2" off of the root, with the cmd line for Seti1 being c:\Seti1\s1.exe -verbose -cpu 0 -proxy 192.168.1.145:5517

In this case, the -verbose is displaying the progress line by line(good for troubleshooting), the -cpu 0 denotes which cpu to use, and the -proxy 192.168.1.145:5517 points to my SetiQueue I'm running in my house.

For additional cpus, you'd just increase the number from 0; I know for a fact that this works fine up to 6 cpus (0-5) as I ran this on a ALR 6x6 Pentium Pro rig for a while.

Unfortunately, I'm not familiar with Linux, but I'd be surprised if it's all that different to setup the Seti client. 😉

 
I don't know, I am running the exact setup you are, except I did not rename the executable. I have
/home/Seti1 and /home/Seti2 directories, I run 1 on tty0 and one instance on tty1. I then go to tty2
to browse and do e-mail. When I look at the "top" command, I see 99% utilization on the 2 different
instances of Seti. I cannot tell which processor each is running on, but both post WU's to Smoke's
queue.

But again, I don't start them using cron, I just start them manually, if I ever reboot.

Hay
😎😎😎😎😎
 
Originally posted by: HayHauler
I don't know, I am running the exact setup you are, except I did not rename the executable. I have
/home/Seti1 and /home/Seti2 directories, I run 1 on tty0 and one instance on tty1. I then go to tty2
to browse and do e-mail. When I look at the "top" command, I see 99% utilization on the 2 different
instances of Seti. I cannot tell which processor each is running on, but both post WU's to Smoke's
queue.

But again, I don't start them using cron, I just start them manually, if I ever reboot.

Hay
😎😎😎😎😎

Starting it manually works fine, but since this a server I can't really do that.
 
What exactly are you putting in your crontab file?

BTW, for networkman, linux kernels before v.2.5.x do not allow you to set the affinity without a kernel patch.
 
I'm using webmin to schedule the actions. So all I'm doing is saying which hours everyday to run the command (/opt/seti2/seti2). Seti1 works fine in the same configuration.
 
You are telling it to change to the directory before running the executable, right? Otherwise, it's trying to run both executables from your root directory from the same config files. I don't run SETI , but I can see that as a potential problem.

You can see what in your crontab file with 'crontab -l'.
 
If I have two commands I'd like to run:

cd /opt/seti2/
./seti2

How do I format that for cron? At first, I was just doing this /opt/seti2/seti2
 
I just wrote a shell script to change the directory and start each SETI client. Then I just call each script from cron. Seems to be working well. Thanks for the help!
 
You can separate multiple commands on a single command line in *nix with a semicolon, e.g.,

cd /opt/seti2; ./seti2 -nice 19 > ...


Edit: Ok, that works, too. 🙂
 
Back
Top