Maybe try to use GNU parallel

https://www.gnu.org/software/parallel/ <https://www.gnu.org/software/parallel/>

Best,
Shenglong

> On Jan 3, 2017, at 6:38 PM, Christopher Samuel <sam...@unimelb.edu.au> wrote:
> 
> 
> On 04/01/17 10:29, Koziol, Lucas wrote:
> 
>> I want to have 1 batch script, where I reserve a certain large number
>> of CPUs, and then run multiple 1-CPU tasks from within this single
>> script. The reason being that I do several cycles of these tasks, and
>> I need to process the outputs between tasks.
> 
> OK, I'm not sure how Slurm will behave with multiple srun's and cons_res
> and CR_LLN but it's still worth a shot.
> 
> Best of luck!
> Chris
> -- 
> Christopher Samuel        Senior Systems Administrator
> VLSCI - Victorian Life Sciences Computation Initiative
> Email: sam...@unimelb.edu.au Phone: +61 (0)3 903 55545
> http://www.vlsci.org.au/      http://twitter.com/vlsci

Reply via email to