Re: Using Mosix: How to do 100 simulation runs, 7 at a time

Matt W <[email protected]>
Newsgroups gmane.linux.cluster.openmosix.general
Organization UW CSDE
Message-ID <[email protected]>



Greetings Mosix Comrades,

Thank you to all who replied to this inquiry!

As I followup, I wanted to offer that we are using
the UNIX "xargs" program at the moment to solve this problem:


   # find ./ -name "*.control"-print |  nohup xargs --verbose --max-procs=7 
--max-args=1 ~/bin/simulation


A translation of the above command:

For all the "Control files" in my current directory
(approx 100 control files), run the binary "simulation"
with the argument "control file":


Tune the "--max-procs" to however many processes you want to run at once

Matt







-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.