This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Gfortran - mpif.h reading problem
- From: venkataraman thiagarajan <vtrajan22 at sbcglobal dot net>
- To: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>, "vtrajan at utexas dot edu" <vtrajan at utexas dot edu>
- Date: Thu, 1 May 2014 11:20:30 -0700 (PDT)
- Subject: Gfortran - mpif.h reading problem
- Authentication-results: sourceware.org; auth=none
- Reply-to: venkataraman thiagarajan <vtrajan22 at sbcglobal dot net>
Sirs,
I am trying to run some sample parallel problems using openmp, hybrid openmp and MPI using Gfortran in my laptop which has an Intel i7 core processor and uses Windows 8.1.
The openmp examples run fine. But, the hybrid ones using openmp and MPI fail with the message : "cannot read "mpif.h". I tried replacing mpif.h by " use mpi", per suggestions found on line and this also does not work. I downloaded the mpif.h from a website.
I will be grateful for your help in resolving the problem.
If there is a special version of mpif.h for windows 8.1, do let me know how I can download it.
I have a 64 bit machine and I downloaded the 64 bit Gfortran from the Gnu site.
Thanks for your help
Yours sincerely,
V. Thiagarajan