Hi! I just noted the following in openmpi's mpif.h:
! Do ***not*** copy this file to the directory where your Fortran ! fortran application is compiled unless it is absolutely necessary! Most ! modern Fortran compilers now support the -I command line flag, which ! tells the compiler where to find .h files (specifically, this one). For ! example: ! ! shell$ mpif77 foo.f -o foo -I$OMPI_HOME/include ! ! will probably do the trick (assuming that you have set OMPI_HOME ! properly). ! ! That being said, OMPI's "mpif77" wrapper compiler should ! automatically include the -I option for you. Like I said in the original report, this is not the case. At lest CentOS openmpi/mpif77 *do* find mpif.h automatically. It would not be much of a patch to fix this, either. I would much appreciate your either tagging the bug "wontfix" or giving some idea of a timeframe of when will this get fixed. We have a bunch of users, who'll be pestering me about this when (staying with lam no longer is an option) we switch from sarge/lam to etch/openmpi and I'll need to figure out a way of not making that happen unless I can rest assured that a fix is going to appear in the official package (in which case we can just wait for it). -Juha -- ----------------------------------------------- | Juha Jäykkä, [EMAIL PROTECTED] | | Laboratory of Theoretical Physics | | Department of Physics, University of Turku | | home: http://www.utu.fi/~juolja/ | -----------------------------------------------
signature.asc
Description: PGP signature