This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem compiling MPI examples under cygwin

madfran wrote:
Sorry, but the problem it is not so easy to solve.

I'd be surprised if my prescribed solution doesn't work for you. You should try it.

If you read carrefully my original post, you realize that:

Actually, I consciously read your posting twice to make sure that you didn't show some indication that the compiler should be able to find the include file. My recommendation is to do what I suggested and take a look at the 'gcc' documentation. If you have questions and/or problems after that, then you can follow-up to this list or, more appropriately, some gcc users list. What you've demonstrated so far would have the same problems on any POSIX platform, given the install path you have for MPI.

madfran@8156 /cygdrive/c/cygwin/tmp/mpi/mpich2-1.0.6p1/examples
$ which mpi.h /cygdrive/c/Program files/MPICH2/include/mpi.h

That means which is able to find mpi.h

This has no bearing on whether the compiler will find the include file.

madfran@8156 /cygdrive/c/cygwin/tmp/mpi/mpich2-1.0.6p1/examples
$ echo
rive/c/Program files/MPICH2/lib:/cygdrive/c/Program files/MPICH2/include:.....

That means the PATH is correct.

This also has no bearing on whether the compiler will find the include file.

madfran@8156 /cygdrive/c/cygwin/tmp/mpi/mpich2-1.0.6p1/examples
$ ls -l /cygdrive/c/"Program Files"/MPICH2/include/mpi.h -rwxrwxrwx+ 1
madfran root 51473 Oct 30 16:05 /cygdrive/c/Program Files/MPICH2/include/mpi.h

That means I have rights over mpi.h

That, of course, is relevant but even if you didn't have permissions, that still wouldn't explain your problem.

Larry Hall                    
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746


A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]