Hi,
we have cluser of 8 nodes and it is rhel 5.2 (64 bit). We have torque and
here is my submit script which is
#!/bin/csh -f
#PBS -l nodes=2:ppn=2
#PBS -r n
#PBS -A ourproj
#PBS -V
#PBS -o output_pvd3.6.txt
#PBS -e error_pvd3.6.txt
echo PBS JOB id is $PBS_JOBID
echo PBS_NODEFILE is $PBS_NODEFILE
echo PBS_QUEUE is $PBS_QUEUE
setenv NPROCS `cat $PBS_NODEFILE|wc -l`
echo "NPOCS is $NPOCS"
#/opt/intel/mpi/bin64/mpirun --totalnum=$NPROCS --file=$PBS_NODEFILE
--rsh=/usr/bin/ssh -1 --ordered --verbose -l -machinefile $PBS_NODEFILE
-np $NPROCS /home/aksharb/helloworld
#sleep 100
/bin/hostname
cat $PBS_NODEFILE


in output file i get

PBS JOB id is 1725.server1.gnps.tkl
PBS_NODEFILE is /opt/PBS/aux//1725.server1.gnps.tkl
PBS_QUEUE is batch
NPOCS is
y8.gnps.tkl
y8.gnps.tkl
y7.gnps.tkl
y7.gnps.tkl

and error file says :
/opt/PBS/mom_priv/jobs/1725.server1.gnps.tkl.SC: line 11: setenv: command
not found

kindly guide me.
_______________________________________________
Beowulf mailing list, Beowulf@beowulf.org sponsored by Penguin Computing
To change your subscription (digest mode or unsubscribe) visit 
http://www.beowulf.org/mailman/listinfo/beowulf

Reply via email to