On Tue, Feb 8, 2011 at 7:38 AM, mauede wrote:
>
> If I type "qstat" on a terminal line I get the batch running process ID
> which is not the same as $!.
You are confusing bash's jobs with the jobs of the batch utilities,
they are 2 unrelated things
On Mon, Feb 07, 2011 at 09:38:42PM -0800, mauede wrote:
> I launch a Monte Carlo simulation as a batch job from a bash script:
>
> exb BEAM_$acc_name $beamin 521icru2 long batch=PBS p=1&
You're launching it in the background.
> I can still get the process id (I think) through the command:
>
>
ich is not the same as $!.
I do not know of any bash variable that contain the same information
returned by qstat.
Thank you for any suggestion.
Mauede
--
View this message in context:
http://old.nabble.com/How-to-get-control-from-bash-script-of-a-batch-job-tp30870368p30870368.html
Sent from