[Wien] submitting jobs interactivly

Matthew D. Jones jonesm at ccr.buffalo.edu
Fri Aug 20 17:49:22 CEST 2004


On Fri, 20 Aug 2004, Travis Sefzik wrote:

->i am trying to submit a wien job as a batch file while interacting with
->it so to run init_lapw.  the batch scheduler is PBS

Yes, I've done that a few times - useful for running, say, a long
dstart calculation in batch (especially if there is an interactive
cpu time limit).

->
->my command that i use is: qsub {batch script} -I -l walltime={time}
->
->instead of "interacting" with me (starting x nn within the init_lapw
->command) i simply return to the shell prompt

That is actually how the pbs interactive mode is supposed to work -
it will connect a batch job to your terminal session, but it will
not execute the job script (so you end up with a typical shell prompt,
but inside the pbs environment).  You can still use the usual pbs
env variables (e.g. "cd $PBS_O_WORKDIR" typed into that interactive
session will cd to the directory from which you launched the qsub).
Watch out for your EDITOR setting - very few PBS installations, in
my experience at least, handle graphical output properly, so if yours
is set to a graphical editor, you might have some display trouble
viewing the output files in init_lapw.
  Hope this helps you out,

							Matt

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Matthew D. Jones, Ph.D. | Center for Computational Research %
% jonesm at ccr.buffalo.edu  |                     9 Norton Hall %
% Ph:  (716)645-6500x506  |       University at Buffalo, SUNY %
% FAX: (716)645-6505      |            Buffalo, NY 14260-1800 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%





More information about the Wien mailing list