[mpich-discuss] Simple script to test MPI2

Rajeev Thakur thakur at mcs.anl.gov
Tue May 13 13:16:19 CDT 2008


I guess you mean MPICH-1 and MPICH2. In the MPICH2 examples directory, there
is an example cpi.c. If you compile it with the mpicc in the
"mpich2-install"/bin directory, and then run it, it will run with MPICH2. 

Rajeev



> -----Original Message-----
> From: owner-mpich-discuss at mcs.anl.gov 
> [mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Kimon Zagkouris
> Sent: Tuesday, May 13, 2008 7:51 AM
> To: mpich-discuss at mcs.anl.gov
> Subject: [mpich-discuss] Simple script to test MPI2
> 
> Hi all,
> 
> I have installed both MPI1 and MPI2 in a multicore machine 
> the problem 
> is that I am developing a code that I would like to make use 
> of the new 
> features in MPI2 but first of all I wouldlike to know if the MPI2 has 
> installed correctly. Since I am new to MPI2 I oly have 
> scripts written 
> for the MPI1 and they seem to run fine under MPI2 but I would like to 
> test it with a script that is made only for MPI2 do you have any idea 
> where I can find susc a simple script or what commands should 
> it contain 
> so that it won't run in MPI1 but only in MPI2. Thanks in advance.
> 
> Kimon
> 
> 
> 




More information about the mpich-discuss mailing list