This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: OpenMP on gcc
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: tprince at computer dot org
- Cc: gcc-help at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Wed, 28 Mar 2007 17:05:45 -0700
- Subject: Re: OpenMP on gcc
- References: <e40293600703281135m7eb1e767xfbd0542f0bc04501@mail.gmail.com> <f7b109350703281428v455d9ca5yb58ecbe45ac91118@mail.gmail.com> <460AE8BC.3030504@aol.com>
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