I have a simple cluster (two nodes for now) set up and running using pbs_sched. I submit the following using qsub as a script:<br><br>#!/bin/bash<br># --- send the job to 4 nodes, with 2 processors per node<br># PBS -l nodes=2:ppn=4
<br># --- send the output to the test.out file<br># the default is .o<jobid><br>#PBS -o test.out<br># --- send the error output to the test.err file<br># the default is .e<jobid><br>#PBS -e test.err<br>
<br># --- print out the list of nodes this job is running upon<br>/bin/cat $PBS_NODEFILE<br><br>echo "Print out the hostname and date"<br>/bin/hostname<br>/bin/date<br>exit 0<br><br>The output that I get for $PBS_NODEFILE is a single line representing a single node. However, if I replace the node specification with:
<br><br>-l nodes=node1:ppn=4+node2:ppn=4<br><br>I get eight lines in PBS_NODEFILE, four for each node. I would have expected the output of both nodes specification to be the same. The documentation and examples I have seen suggest this, also. Have I missed some configuration flag or the like to get -l nodes=2:ppn=4 to get me four processors on each of two nodes?
<br><br>Thanks,<br>Sean<br><br>