This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: OpenMP on gcc


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


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