OpenMP on gcc
Steve Kargl
sgk@troutmask.apl.washington.edu
Thu Mar 29 01:27:00 GMT 2007
On Wed, Mar 28, 2007 at 03:14:20PM -0700, Tim Prince wrote:
> ferad.zyulkyarov@bsc.es wrote:
> >As I know, OpenMP is being implemented since version 4.2+ But these
> >gcc versions does not have official release. Based on my experience, I
> >compiled few simple OpenMP programs in gcc and I was satisfied.
> >
>
> The one problem I have had is that gfortran rejects EQUIVALENCE in
> threadprivate COMMON blocks, as used extensively in legacy applications.
> I haven't investigated whether any standards bear on this (admittedly
> undesirable) practice.
The OpenMP vwrsion 2.5 spec is available on line.
A variable can only appear in a threadprivate directive in the scope
in which it is declared. It must not be an element of a common block
or be declared in an EQUIVALENCE statement.
--
Steve
More information about the Gcc-help
mailing list