Hi.  Thanks for your reply!

Reuti ([email protected]) wrote:
>
>> But from what I've read in users guides, I shouldn't invoke processes in the 
>> background
>> in jobs submitted to GE;
>
> Yes, as it might oversubscribe your granted slot count, or some scripts try 
> to jump out
> of the process tree and might get out of SGE's control (these could be caught 
> the
> additional group id though). But there are exceptions of course.
>
> a) define a PE with "allocation_rule $pe_slots"
> 
> b) request the overall slot count during the submission with the PE:
> 
> qsub -pe smp 3 foobar.sh # in case you have just 3 serial tasks
> 
> qsub -pe smp 5 foobar.sh # for your example below
> 
> c) Put a` wait` at the end of the script, so that it wait for the completion 
> of all
> started background processes

Cool.  a) and b) above indicate I still have some reading to do, since I didn't
know about parallel environments before; but that's good.

Thanks for the quick responses, everyone!

-c


_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to