Re: Code lines for sequential runs through PsN

From: Paul Matthias Diderichsen Date: March 30, 2016 technical Source: mail-archive.com
Hi Matthew,
Quoted reply history
On 3/30/2016 10:26, HUI, Ka Ho wrote: > I have some 10,000 to 100,000 simulation files to run through PsN so I > typed in cmd something which looks like the following lines: [...] > But the string is too long in this case. provided that you're trying to do this on linux, you could take a look at the xargs command. Specifically, you could try the following: ls xxxxxyyyyy_*mod | xargs execute You can use the --max-lines parameter if you want xargs to divide the job into chunks of a given size (say 300 models per execute). See "man xargs" for the full documentation. -- Paul Matthias Diderichsen, PhD Quantitative Solutions, a Certara company +31 624 330 706
Mar 30, 2016 Ka Ho Hui Code lines for sequential runs through PsN
Mar 30, 2016 Rik Schoemaker RE: Code lines for sequential runs through PsN
Mar 30, 2016 Paul Matthias Diderichsen Re: Code lines for sequential runs through PsN