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)
You can change your settings by clicking 'Edit Options' on
http://www.lam-mpi.org/mailman/listinfo.cgi/lam
Hope this helps.
Amey S. Dharurkar
----------------------------------------------------------
Graduate Student, Indiana University
Ph. O:(812)855-3609, H:(812)331-8203
On Fri, 2 Apr 2004, Andy Young wrote:
> Hi LAM developers,
> I compiled LAM succesfully on an RS6000 with xlc, xlC
> and xlf. I want to run the lam tests that are
> available on the lam_mpi website. The lam test
> configure script can't seem to find my mpi.h which is
> in /usr/local/lam_mpi/include.
> I am sure this is a minor problem, but I don't know
> how to program in C! (I am using only the Fortran
> bindings.)
> Any help on this would be kindly appreciated. Attached
> are the output to the configure script and also the
> "laminfo" output.
> Thanks,
> Andy
>
> P.S. Also I would like to change my settings on the
> LAM-MPI mailing list so that I get the mailing list
> sent to my email. How can I do that? ( I over looked
> the option when I signed up.)
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Small Business $15K Web Design Giveaway
> http://promotions.yahoo.com/design_giveaway/
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
|