public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* GCC 4.3.2 OpenMP Support in Cygwin
@ 2009-02-11  2:43 Michael Craft
  2009-02-11  3:21 ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Craft @ 2009-02-11  2:43 UTC (permalink / raw)
  To: cygwin

I am trying to compile an OpenMP program in Cygwin using GCC 4.3.2
installed from the repositories. This program compiles in linux with
the exact same compiler fine.

$ gcc-4 -std=gnu99 -fopenmp -o mvp-cygwin matrix-vector-bench.c
matrix-vector-bench.c:11:18: error: omp.h: No such file or directory

Can anyone help?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: GCC 4.3.2 OpenMP Support in Cygwin
  2009-02-11  2:43 GCC 4.3.2 OpenMP Support in Cygwin Michael Craft
@ 2009-02-11  3:21 ` Larry Hall (Cygwin)
  2009-02-11  6:49   ` Dave Korn
  0 siblings, 1 reply; 4+ messages in thread
From: Larry Hall (Cygwin) @ 2009-02-11  3:21 UTC (permalink / raw)
  To: cygwin

Michael Craft wrote:
> I am trying to compile an OpenMP program in Cygwin using GCC 4.3.2
> installed from the repositories. This program compiles in linux with
> the exact same compiler fine.
> 
> $ gcc-4 -std=gnu99 -fopenmp -o mvp-cygwin matrix-vector-bench.c
> matrix-vector-bench.c:11:18: error: omp.h: No such file or directory
> 
> Can anyone help?

Sorry, I know nothing about OpenMP but the above suggests to me that
the compiler can't find "omp.h".  Does it exist?  Is it in the same
directory as matrix-vector-bench.c?  If not, does it work if you
add '-I <path>' where <path> is the path to the directory where "omp.h"
lives?

-- 
Larry Hall                              http://www.rfk.com
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:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: GCC 4.3.2 OpenMP Support in Cygwin
  2009-02-11  3:21 ` Larry Hall (Cygwin)
@ 2009-02-11  6:49   ` Dave Korn
  2009-02-12 20:52     ` Michael Craft
  0 siblings, 1 reply; 4+ messages in thread
From: Dave Korn @ 2009-02-11  6:49 UTC (permalink / raw)
  To: cygwin

Larry Hall (Cygwin) wrote:
> Michael Craft wrote:
>> I am trying to compile an OpenMP program in Cygwin using GCC 4.3.2
>> installed from the repositories. This program compiles in linux with
>> the exact same compiler fine.
>>
>> $ gcc-4 -std=gnu99 -fopenmp -o mvp-cygwin matrix-vector-bench.c
>> matrix-vector-bench.c:11:18: error: omp.h: No such file or directory
>>
>> Can anyone help?
> 
> Sorry, I know nothing about OpenMP but the above suggests to me that
> the compiler can't find "omp.h".  Does it exist?  

  GOMP, the GNU OpenMP library implementation, is shipped with GCC series 4,
but was not enabled in earlier builds of the Cygwin distro compiler.  It will
be included in the upcoming gcc4-4.3.2-2 release, ETA within the next seven
days.  There's a home page at:

http://gcc.gnu.org/projects/gomp/

    cheers,
      DaveK

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: GCC 4.3.2 OpenMP Support in Cygwin
  2009-02-11  6:49   ` Dave Korn
@ 2009-02-12 20:52     ` Michael Craft
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Craft @ 2009-02-12 20:52 UTC (permalink / raw)
  To: cygwin

I compiled it myself using the "--enable-libgomp" flag on the configure script.

On Wed, Feb 11, 2009 at 1:57 AM, Dave Korn
<dave.korn.cygwin@googlemail.com> wrote:
> Larry Hall (Cygwin) wrote:
>> Michael Craft wrote:
>>> I am trying to compile an OpenMP program in Cygwin using GCC 4.3.2
>>> installed from the repositories. This program compiles in linux with
>>> the exact same compiler fine.
>>>
>>> $ gcc-4 -std=gnu99 -fopenmp -o mvp-cygwin matrix-vector-bench.c
>>> matrix-vector-bench.c:11:18: error: omp.h: No such file or directory
>>>
>>> Can anyone help?
>>
>> Sorry, I know nothing about OpenMP but the above suggests to me that
>> the compiler can't find "omp.h".  Does it exist?
>
>  GOMP, the GNU OpenMP library implementation, is shipped with GCC series 4,
> but was not enabled in earlier builds of the Cygwin distro compiler.  It will
> be included in the upcoming gcc4-4.3.2-2 release, ETA within the next seven
> days.  There's a home page at:
>
> http://gcc.gnu.org/projects/gomp/
>
>    cheers,
>      DaveK
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-02-12 20:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-11  2:43 GCC 4.3.2 OpenMP Support in Cygwin Michael Craft
2009-02-11  3:21 ` Larry Hall (Cygwin)
2009-02-11  6:49   ` Dave Korn
2009-02-12 20:52     ` Michael Craft

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).