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 WORKSHARE behaves strangely


--- 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/


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