On 10/25/06, <b class="gmail_sendername">Yixun Liu</b> <<a href="mailto:yxliu@fudan.edu.cn">yxliu@fudan.edu.cn</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff">
<div><font face="Bookman Old Style">Hi,</font></div>
<div><font face="Bookman Old Style"></font> </div>
<div><font face="Bookman Old Style">My computer is a standare dual processors PC
of Dell corp., but after calling ierr =
PI_Comm_size(PETSC_COMM_WORLD,&size), I find the size is one. Is it
correct?</font></div></div></blockquote><div><br>MPI only knows what mpiruns tells it. You ran the exampe with -np 1. If you use -np 2, then it will have size 2.<br><br> Matt<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff"><div><font face="Bookman Old Style">Best,</font></div>
<div><font face="Bookman Old Style"></font> </div>
<div><font face="Bookman Old Style">Yixun</font></div>
</div>
</blockquote></div>-- <br>"Failure has a thousand explanations. Success doesn't need one" -- Sir Alec Guiness