Linwei,
mpif.h is the include file for fortran programs to use openmpi. The
apple version does not support fortran. If you want to use openmpi
from fortran you will need to install a version of openmpi that
supports fortran, this will install mpif.h. I suggest you install the
new version in a different directory than the apple version ( use --
prefix in the openmpi configure command). You will also need to
remove the apple version or rename the openmpi include and library
files so that the linker can find your new, fortran supporting version.
Doug Reeder
On May 1, 2008, at 8:42 AM, Linwei Wang wrote:
Dear all,
I'm new to openmpi. I'm now trying to use BLACS and ScaLAPACK on
Leopard. Since it has built-in Open MPI, I didn't install any other
versions. I followed the BLACS install guidances in FAQ section, and
it generated errors as:
"No rule to make target `/usr/include/mpif.h', needed by
`mpif.h'. Stop."
The problem is I could not find "mpif.h" in my computer. Does this
mean I should install other Open MPI version rather than using
Leopard's
built-in version?
Thanks for the help!
Best,
Linwei
_______________________________________________
users mailing list
[email protected]
http://www.open-mpi.org/mailman/listinfo.cgi/users