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/
|