OpenMosix and boinc migrating problem

Questions and Answers : Unix/Linux : OpenMosix and boinc migrating problem
Message board moderation

To post messages, you must log in.

AuthorMessage
Falcon006

Send message
Joined: 21 Nov 07
Posts: 3
Credit: 1,006
RAC: 0
United States
Message 682385 - Posted: 22 Nov 2007, 5:18:49 UTC

I'm trying to get seti to utilize a small cluster of computers (running on openmosix 2.4 kernel). It only seems to run one instance of "setiahome-5.27" at a time. How can I force more then one process to run?

-Nick
ID: 682385 · Report as offensive
DJStarfox

Send message
Joined: 23 May 01
Posts: 1066
Credit: 1,226,053
RAC: 2
United States
Message 682879 - Posted: 23 Nov 2007, 0:47:22 UTC - in response to Message 682385.  

I'm trying to get seti to utilize a small cluster of computers (running on openmosix 2.4 kernel). It only seems to run one instance of "setiahome-5.27" at a time. How can I force more then one process to run?

-Nick


Two places to check:
"Use x processors" setting in your general preferences.

Failing that, you can hack it with ncpus tag (under options tag) in the cc_config.xml.
ID: 682879 · Report as offensive
Falcon006

Send message
Joined: 21 Nov 07
Posts: 3
Credit: 1,006
RAC: 0
United States
Message 684284 - Posted: 25 Nov 2007, 18:19:18 UTC

I failed to mention I'm using the command line version, but you lead me in the right direction. The file i needed to change under linux is

{homedir}/slots/0/init_data.xml

When i change the <p_ncpus>1</p_ncpus> to <p_ncpus>2<p_ncpus> and restart boinc_client it resets back to 1. Is there another way to do it?
ID: 684284 · Report as offensive
DJStarfox

Send message
Joined: 23 May 01
Posts: 1066
Credit: 1,226,053
RAC: 2
United States
Message 684551 - Posted: 26 Nov 2007, 4:37:25 UTC - in response to Message 684284.  

I failed to mention I'm using the command line version, but you lead me in the right direction. The file i needed to change under linux is

{homedir}/slots/0/init_data.xml

When i change the <p_ncpus>1</p_ncpus> to <p_ncpus>2<p_ncpus> and restart boinc_client it resets back to 1. Is there another way to do it?


That's not the right setting. The init_data.xml file is overwritten whenever the task starts up. There should be a file (create it, if needed) called cc_config.xml in your main BOINC folder. Make sure the option looks like this:
<?xml version="1.0" encoding="UTF-8" ?>
<cc_config>
<log_flags>
</log_flags>
<options>
<ncpus>2</ncpus>
</options>
</cc_config>
ID: 684551 · Report as offensive
Falcon006

Send message
Joined: 21 Nov 07
Posts: 3
Credit: 1,006
RAC: 0
United States
Message 685263 - Posted: 27 Nov 2007, 16:50:02 UTC

Success! I created the cc_config.xml in the home folder (of the user). I see two processes running under top now. The processes still do not want to migrate, but i think thats a openmosix issue. Thanks for the help DJStarfox.
ID: 685263 · 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 686987 - Posted: 30 Nov 2007, 23:13:52 UTC

I don't think BOINC works with the mosix shared memory system. The BOINC client uses shared memory to communicate with the science applications. So the science application running on another node would have to attach to the shared memory of the BOINC client on the master node... which I don't think is possible.
A member of The Knights Who Say NI!
For rankings, history graphs and more, check out:
My BOINC stats site
ID: 686987 · Report as offensive

Questions and Answers : Unix/Linux : OpenMosix and boinc migrating problem


 
©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.