#$ -l PAW
#
cd ~yoda/forces
/usr/people/program/paw/scripts/paw_opt chewbacca.1 > chewbacca.1.echo
To submit this with qsub should do the trick.
It is much better to specify memory requirements for your jobs (all
in the #$ lines; please refer here to the
qsub manpages etc., and the info sent out by Serguei).
Remember to cd to your directory first, because the queueing system starts all jobs in your homedirectory!!!
You might also want to have a look at the scripts qpaw
(submits paw_opt to PAW-queue) or qpawrun (submits
paw_run to the PAW-queue). They don not specify memeory reqs.,
either and are given only for convenience.
You might want to copy those e.g. to your bin-directory and modify
for your own needs.
qpaw <jobname>
or
qpawrun <jobname>
set_directive <jobname> <directive>
replaces the directive in <jobanem>.inp with <directive>.
set_keyword <jobname> <keyword> <value>
replaces the value for <keyword> in <jobanem>.inp with <value>
(limitation: this works currently only for "single
parameter" keywords like steps but not for something with more
parameters like lattice).
prot2xyz chewbacca.3.prot > chewbacca.3.xyz
paw_opt does that automatically for the last step (of course :-)