[mpich-discuss] mpif.h in mpich2
Rajeev Thakur
thakur at mcs.anl.gov
Fri Jul 31 13:59:18 CDT 2009
Can you send us the output of configure and make? You could send it to
mpich2-maint at mcs.anl.gov.
Rajeev
_____
From: mpich-discuss-bounces at mcs.anl.gov
[mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Ahmad Ali
Sent: Friday, July 31, 2009 6:14 AM
To: mpich-discuss at mcs.anl.gov
Subject: [mpich-discuss] mpif.h in mpich2
I have installed mpich2 by following the steps mentioned in the user
guide document. I can run example programs as well. However, i am trying
to run NPB benchmarks and when i try to compile them, i get an error
that
"Cannot find mpif.h"
I have seen the include folder of mpich2 installation directory and
there is no such file.... So where is this file located? Shouldnt this
file get installed after mpich2 installation
I have also seen /usr/include but couldnt find mpif.h
More Information:
My fortran compiler is gfortran. I have set all the environment
variables for F77 and F90.
I have installed mpich2 with different options such as
./configure --enable-f90 --enable-f77 --enable-mpe
-prefix=/export/home/ahmad/mpich2-install/
But its not working [there is no mpif.h file genereted in the include
folder]
Any help on this issue is appreciated
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20090731/bcc67c73/attachment.htm>
More information about the mpich-discuss
mailing list