Hi,<br>we have cluser of 8 nodes and it is rhel 5.2 (64 bit). We have torque and <br>here is my submit script which is <br>#!/bin/csh -f<br>#PBS -l nodes=2:ppn=2<br>#PBS -r n<br>#PBS -A ourproj <br>#PBS -V<br>#PBS -o output_pvd3.6.txt <br>
#PBS -e error_pvd3.6.txt <br>echo PBS JOB id is $PBS_JOBID<br>echo PBS_NODEFILE is $PBS_NODEFILE<br>echo PBS_QUEUE is $PBS_QUEUE<br>setenv NPROCS `cat $PBS_NODEFILE|wc -l`<br>echo "NPOCS is $NPOCS"<br>#/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<br>
#sleep 100 <br>/bin/hostname<br>cat $PBS_NODEFILE<br><br><br>in output file i get <br><br>PBS JOB id is 1725.server1.gnps.tkl<br>PBS_NODEFILE is /opt/PBS/aux//1725.server1.gnps.tkl<br>PBS_QUEUE is batch<br>NPOCS is <br>y8.gnps.tkl<br>
y8.gnps.tkl<br>y7.gnps.tkl<br>y7.gnps.tkl<br><br>and error file says : <br>/opt/PBS/mom_priv/jobs/<a href="http://1725.server1.gnps.tkl.SC">1725.server1.gnps.tkl.SC</a>: line 11: setenv: command not found<br><br>kindly guide me.<br>
<br>