<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="cid:aa9c486$38a127c6bfe143$Coremail$guchonglin-6@163.com"></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>