Gaussian job is not running

#!/bin/csh
#PBS -l nodes=1:ppn=16:debug
#PBS -l walltime=24:00:00
#PBS -j oe

cd /localscratch/xyz

setenv g09root /home/pkg/lic/g09/em64t
source /home/pkg/lic/g09/em64t/g09/bsd/g09.login
setenv GAUSS_LFLAGS ‘-opt “Tsnet.Node.lindarsharg: ssh”’
set LINDA=cat $PBS_NODEFILE | uniq | tr '\n' "," | sed ‘s|,$|:2|’ | sed 's|,|:2,|g'
echo “-W-” $LINDA > ./Default.Route
setenv GAUSS_SCRDIR /localscratch/xyz
g09<methane.gjf>methane.out

Error

Warning: no access to tty (Bad file descriptor).
Thus no job control in this shell.
tput: No value for $TERM and no -T specified
Illegal variable name.
ntrex1: Bad file descriptor
Error: segmentation violation
rax 0000000000000000, rbx 00007fffc4f65360, rcx ffffffffffffffff
rdx 000000000001d0a4, rsp 00007fffc4f65278, rbp 00007fffc4f65370
rsi 000000000000000b, rdi 000000000001d0a4, r8 00002b256850f160
r9 0000000000000000, r10 00007fffc4f65000, r11 0000000000000206
r12 00000000ffffffff, r13 0000000000615890, r14 0000000000000001
r15 0000000000010000
0 0x3e96c32b87
1 0x4a0945 ntropn_ + 0xb15
2 0x4b416b fopen_ + 0x7b
3 0x49e5ed lxopen_ + 0x2ad
4 0x41afea l1open_ + 0x19a
5 0x40588f dollar_ + 0x64f
6 0x4039ad link1_ + 0x37d
7 0x40360c MAIN_ + 0x6c
8 0x403588

Anyone, please help me to rectify the issue. Thanks in advance

The error is Gaussian specific, the below link might help Can anyone help with this Gaussian error message- "write error in NtrEx1"?