This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: OpenMP WORKSHARE behaves strangely
- From: Ignacio Fernández Galván <jellby at yahoo dot com>
- To: fortran at gcc dot gnu dot org
- Date: Tue, 19 Feb 2008 17:55:26 +0000 (GMT)
- Subject: Re: OpenMP WORKSHARE behaves strangely
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=SzWPX5d2u5KCm6n9MBj8bp7khmVyIg0yPzGYcLf9UMkigF+M3wIVQXKA3fEa+kcN47CpRyT4TKnCD1y3Lqqv4eY/7u7W6g0pPHvdgU6sKnxJ9VOei4UWqq/k0NcCfeL6GWkFqFtud6nDXswP+qkywlPPJhqWNjDF5ixzu04odY4=;
--- Jerry DeLisle <jvdelisle@verizon.net> wrote:
> > This is the "proof" it's behaving randomly in my system:
> >
> > $ for i in $(seq 1 10) ; do ./a.out ; done
> > 1.00000000000000000
> > 1.00000000000000000
> > 1.00000000000000000
> > 0.10000000000000001
> > 1.00000000000000000
> > 0.10000000000000001
> > 1.00000000000000000
> > 0.10000000000000001
> > 1.00000000000000000
> > 1.00000000000000000
>
> Is there a PR filed for this issue? Seems it should be something to
> fix.
Obviously, I agree. But am I the only one to suffer this behaviour? To
test it, run the test program multiple files, ensuring that there are
several threads (OMP_NUM_THREADS > 1).
___________________________________________________________
Support the World Aids Awareness campaign this month with Yahoo! For Good http://uk.promotions.yahoo.com/forgood/