Parallel a script

2011-06-24 Thread yacob sen
Dear All, I have a small script that feeds a file name to a program and then the program start to run once it gets the file name and output the results in the directory that runs.  I have ubuntu 10.04 laptop with 64 bit with 4 cores. I want to parallel the script so that it can run at once at l

Re: Parallel a script

2011-06-24 Thread Ole Tange
On Fri, Jun 24, 2011 at 12:23 AM, yacob sen wrote: > > The script is simple and it looks like this: > for file in  *.a > .. > .. > do > prog -i $file -type s > done It is not really clear what the '..' represents, so maybe it is as simple as: parallel prog -i {} -type s ::: *.a Did

sshloginfile changes like -j procfile

2011-06-24 Thread Jon Wilson
Hi, I use parallel to distribute jobs over nodes in our 39-node cluster (embarrassingly parallel problems, so can split them up arbitrarily). However, sometimes some of the nodes are down (like now), and so what I would like to do is the following: 1) submit jobs that will take several hours to ru