From: Thierry Souleres <Thierry.Souleres@onecert.fr>
Newsgroups: comp.parallel
Subject: Difficulties with OPENMP
Date: 30 Dec 1998 19:50:08 GMT
Organization: <NONE>
Approved: bigrigg@cs.cmu.edu
Message-Id: <76e05g$294$1@encore.ece.cmu.edu>
Originator: bigrigg@ece.cmu.edu


Hello,

I am a newcomer in parallelism programming. I optimize a CFD program
(written in FORTRAN) for shared-memory machine and I use OpenMP
directives.  I have a question concerning the SHARED clause.  Can many
threads access simultanously to the same component of an array with
SHARED attribute? In case of problem, is the clause  FIRSTPRIVATE the
right solution ?  I want to parallelize a DO loop. The result of each
iteration is independant of other results but many iterations have to
access  (only access, no write ) to same datas.

Thanks a lot

Thierry.Souleres@onecert.fr

--
Articles to bigrigg+parallel@cs.cmu.edu (Admin: bigrigg@cs.cmu.edu)
Archive: http://www.hensa.ac.uk/parallel/internet/usenet/comp.parallel

