LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Bogdan Costescu (bogdan.costescu_at_[hidden])
Date: 2003-05-08 05:08:33


On Thu, 8 May 2003, Jerome BENOIT wrote:

> is it not more safe to install the LAM/MPI headers in a `lam' directory,
> i.e., `PREFIX/include/lam' rather than `PREFIX/include' ?

Operating systems other than Linux that come with a manufacturer supported
MPI library (like IRIX) put the mpi.h/mpif.h files directly into
/usr/include so that they appear as an OS facility, rather than an add-on.
Doing it this way (and putting libraries - or at least some links - into
/usr/lib) makes life easier for the developers as well, because the files
will be picked automatically by the compiler without need of -I or -L (of
course, one can use "mpicc" & co. just as well...)
One can use LAM-MPI to provide the same "look" on a Linux system, so
installing the headers in $PREFIX/include (with PREFIX=/usr in this case)
makes sense.
Also if one chooses PREFIX=/usr/local/lam-7.0 (I personally do it like
this to be able to install several versions of LAM-MPI and MPICH), it
really makes no sense to have include files in
/usr/local/lam-7.0/include/lam.

-- 
Bogdan Costescu
IWR - Interdisziplinaeres Zentrum fuer Wissenschaftliches Rechnen
Universitaet Heidelberg, INF 368, D-69120 Heidelberg, GERMANY
Telephone: +49 6221 54 8869, Telefax: +49 6221 54 8868
E-mail: Bogdan.Costescu_at_[hidden]