No attachment On Wed, Aug 5, 2020, 12:01 PM Takashi Inoue <inoue.taka...@nihon-u.ac.jp> wrote:
> Hi All, > > This is my first post to here. Nice to meet you. > > I may found a bug in mingw-w64. > In particular, it is in OpenMP schedule(dynamic, chunk-size). > Let me ask your opinion. > > One of my fortran program with "!$omp do schedule(dynamic,1)" > produce slightly different result at time to time. > This does not happen with GCC on FreeBSD and NAG on Windows. > So, I think nothing is wrong in my code. (But, I'm not 100% sure.) > Mingw-w64 which I installed is the latest package for msys2. > > For those who are interested in this problem, > I attach a sample code which reproduce the problem. > (This may not be appropriate for mailing list. I'm sorry). > If you run the program several times, you will get slightly > different fort.99 at time to time. > Perhaps this problem has root in POSIX threading in mingw-w64. > > Any comments and suggestions will be appreciated. > > Best, > Takashi > > _______________________________________________ > Mingw-w64-public mailing list > Mingw-w64-public@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public