You could put that code in the exec startup script, above the line that starts 
execd, and error out if that part doesn’t complete successfully.

Seems weird, though. Shouldn’t the node build include all necessary bits to set 
up your execd nodes to ‘run jobs’? Are these on your Cygwin cluster? Perhaps 
you could tell us all a bit more about the project in general, so that we can 
think further ahead than your single-answer questions?

-Hugh

On Nov 6, 2017, at 16:32, Simon Matthews 
<[email protected]<mailto:[email protected]>> wrote:

I need to run a job on every execd host that must be run before the
main batch of jobs are run.

I could submit a "setup" job on each specific execd host and make all
the subsequent jobs dependent on the list of "setup" jobs, but, if one
setup job gets hung up, all the subsequent jobs will wait, even though
they could be executed on other execd hosts.

Is there some way to prevent jobs from  running on a particular execd
hosts until after a "setup" job has run on that host? Or, to put it
another way, the setup job enables other jobs to run on  the execd
host?

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

Reply via email to