So I have been submitting a lot of pbs jobs using the qsub command:
qsub -l nodes=1: ppn=1,walltime=4:00:00 run.csh
and everything works perfect except that I get the following error at the top of each output file:
Warning: no access to tty (Bad file descriptor).
Thus no job control in this shell.
It even happens for this simple script:
#!/bin/csh
#
if ( $?PBS_O_WORKDIR ) then
cd $PBS_O_WORKDIR
endif
echo "Hello"
I have a script that removes these lines but it seems like there should be some way to have them not show up. I've searched around and some people suggested using -V on the qsub command but it didn't do anything. I have also tried doing this in csh, bash, sh, and tcsh with the same results.
Thanks in advance.