<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.3103.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2><FONT color=#000000 face=Arial>My guess is that you 
need to let mpi (or whatever you are using) know what nodes to run on.&nbsp; PBS 
creates a file with a list of the nodes it has allocated - $PBS_NODEFILE.&nbsp; 
But it is up to your application or environment to do something with this 
file.&nbsp; You need to pass this to mpi. For mpich, you can edit mpirun.args 
(in the bin directory) to look like:</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT color=#000000 
face=Arial></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><FONT color=#000000 face=Arial>if [ "$PBS_NODEFILE" 
!= "" ]<BR>then<BR>&nbsp; 
machineFile=$PBS_NODEFILE<BR>fi<BR></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT color=#000000 
face=Arial></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><FONT color=#000000 face=Arial>Hope this 
helps.</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT color=#000000 
face=Arial></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><FONT color=#000000 
face=Arial>Jim</DIV></FONT></FONT>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A href="mailto:jraheb@julian.uwo.ca" title=jraheb@julian.uwo.ca>Joey 
  Raheb</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A href="mailto:beowulf@beowulf.org" 
  title=beowulf@beowulf.org>beowulf@beowulf.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, January 17, 2001 10:56 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> PBS</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=Arial size=2>Hello everyone,</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>I tried a post on the PBS site and no one seems 
  to want to respond.&nbsp; I have set up an execution queue on our cluster 
  using PBS.&nbsp; However, I am having problems getting the jobs to distribute 
  themselves among the different nodes and different CPUS on the nodes.&nbsp; If 
  I send three jobs at the same time to the queue they all seem to end up on the 
  same node on the same CPU?&nbsp; Why is that and how do I change 
  that?</FONT></DIV>
  <DIV><FONT face=Arial size=2><BR>Joey</FONT></DIV></BLOCKQUOTE></BODY></HTML>