[mpich-discuss] please tell me

Anthony Chan chan at mcs.anl.gov
Tue Dec 22 01:32:47 CST 2009


For latest mpich2,
----- "Ajith Premarathne" <aindike at gmail.com> wrote:

> when i do mpi programming
> 1.where should i save my mpi program

Anywhere you like.  If you are using multiple nodes for
your mpi program, you probably would like to have your
mpi executable resided on a shared file system.

> 2.how do i compile it

using the mpi wrapper to compile/link your program, i.e.
use mpicc for C program, mpicxx for C++ program and
mpif90 for Fortran 90 program...

> 3.how do i run it

First launch mpd using mpdboot, then
use mpiexec to launch your mpi program.
> 
> please help me ,i am new to the linux and rock cluster and also to
> mpich

For more info, you may want to read the installer's and user's guides.

A.Chan



More information about the mpich-discuss mailing list