<P>Hello:</P>
<P> Now my problem changes to the following:</P>
<P> I use the function MPI_Comm_rank anf MPI_Comm_sizeĦ£but the reslut is</P>
<P> <IMG src="http://eg1a119.mail.163.com/js3/s?func=mbox:getComposeData&sid=*&composeId=jCmWHnmmgODUdyWqgCmmzDMiIIMTRLBe&attachId=1&rnd=0.049079181065808886"></P>
<P>The code is the following, so I want to know why like this:</P>
<P>#include <stdio.h><BR>#include "mpi.h"</P>
<P>int main(int argc,char **argv)<BR>{<BR> int myid,numprocs;<BR> int namelen;<BR> char processor_name[MPI_MAX_PROCESSOR_NAME];<BR> MPI_Init(&argc,&argv);<BR> <BR> MPI_Comm_rank(MPI_COMM_WORLD,&myid);<BR> MPI_Comm_size(MPI_COMM_WORLD,&numprocs);<BR> MPI_Get_processor_name(processor_name,&namelen);<BR> printf("HELLOWORLD!process%d of %d on %s\n",myid,numprocs,processor_name);<BR> MPI_Finalize();<BR>return 0;<BR>}</P><br><br><span title="neteasefooter"/></span>