LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Brian Barrett (brbarret_at_[hidden])
Date: 2003-11-20 12:45:00


On Nov 20, 2003, at 9:50 AM, Praveen Agrawal wrote:

> Probably a fun problem:
> Why cann't i compile an mpi program by gcc after
> including mpi.h with -I and mpi libs in -L. i.e. How
> is mpicc peculiar from gcc??

mpicc adds a number of flags in addition to the -I, -L, and -l flags.
In particular, it may add some special flags for threads and special
interconnects and whatnot. If you run the command "mpicc -showme", you
can get the list of flags that it will add.

Hope this helps,

Brian

-- 
   Brian Barrett
   LAM/MPI developer and all around nice guy
   Have a LAM/MPI day: http://www.lam-mpi.org/