<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body><BLOCKQUOTE><BR>
<META content="Microsoft SafeHTML" name=Generator>
<STYLE>
.ExternalClass P
{padding:0px;}
.ExternalClass
{font-size:10pt;font-family:Tahoma;}
</STYLE>
&nbsp;&nbsp;&nbsp; I begin to learn about OpenMP. I would like to compare between OpenMP (shared memory ) and MPI (distributed memory). I have used OpenPBS to submit jobs for each&nbsp;processors on multicomputer but I have the problem that when I use " omp_get_num_procs() " to get the number of processors I found only one processor that is invalid because&nbsp;I setup 3 nodes( 1 head node and 2 compute nodes), I&nbsp;should found two processors. Can you introduce me about this problem ? Please help me.<BR>&nbsp;<BR>thanks so much,<BR>harry potter<BR>&nbsp;<BR>&nbsp;<BR></BLOCKQUOTE><br /><hr />Live Earth is coming.  Learn more about the hottest summer event - only on MSN. <a href='http://liveearth.msn.com?source=msntaglineliveearthwlm' target='_new'>Check it out!</a></body>
</html>