Hi All. I've got a couple of issues with using holds. It's probably a user error, but I can't work out what I need to do :-(
The first problem is that I want to start a job in a held state. the qsub man page says I can use the "-h" option to do this - but unfortunately, this doesn't give me a job number, or even return until I release the hold. Is there a way to submit the job as held, get the jobnum, do some other stuff, then release the job? Secondly, I'm getting some permission problems with qalter. I can start a job, set a user hold (with qhold), then try to resume with qalter. That gives me the error of "must be manager to remove manager hold", even though it's clearly a user hold (set up by the qhold command in the same terminal). Am I doing something truly stupid? The background to all this (in case anyone's interested) is that I have a bunch of long-running jobs that depend on an executable being in existence. My first job is a checkout/make operation that can take a little while (hence the need to do it in the queue), but sometimes will be complete in very short order. I'm trying to avoid the race between setting off the first job, and setting the last job to depend on it... Thanks! Vic. _______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
