[Beowulf] in pbs submit script, setenv command is not working
akshar bhosale
akshar.bhosale at gmail.com
Wed Apr 7 10:55:50 PDT 2010
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.beowulf.org/pipermail/beowulf/attachments/20100407/698aee02/attachment.html>
More information about the Beowulf
mailing list