LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Andy Young (andy314159pi_at_[hidden])
Date: 2004-04-04 17:52:17


--- Amey Dharurkar <adharurk_at_[hidden]> wrote:
>
> Hi,
> lamtests configure is unable to find the mpi.h
> because *mpicc* (and other
> binaries) are not in your PATH. If you are going to
> use
> /usr/local/lam_mpi/bin/mpicc (mpiCC, mpif77 etc) for
> compiling MPI
> programs the you should append
> /usr/local/lam_mpi/bin to your PATH.
> After modifying your PATH you might want to do
> following checks --
> 1. Invoke 'which mpicc' on the shell to see if you
> are using right mpicc
> 2. Invoke 'mpicc --showme' on the shell and check if
> it uses right set of
> header and library files. (In your case, you
> might expect mpicc to use
> -L/usr/local/lam_mpi/lib and
> -I/usr/local/lam_mpi/include)

Hi LAM developers,
Here is the result from which mpicc, after the same
problem with finding mpicc:

checking for mpi.h... no
configure: error: cannot continue -- cannot find
<mpi.h>
:)which mpicc
/usr/local/lam_mpi/bin/mpicc

Here is the result from invoking mpicc with the
"showme" option:

:)mpicc --showme
xlc_r -I/usr/local/lam_mpi/include
-L/usr/local/lam_mpi/lib -llamf77mpi -lmpi -llam

It looks like it gets the correct include directory,
but I am not sure if I should add something like -impi
in a fashion analogous to the -lmpi for the library
file specification.
Thanks again,
Andy

__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/