Hi,
Did you compile your program with the i686 compiler or the x86_64 compiler? I
suspect it has something to do with the
floating-point environment.
My windows is 64bit version widows 8.1.
So, I installed x86_64 package via msys2 pacman.
Best,
Takashi
On 08/06/20 12:07, Liu Hao wrote:
在 2020/8/5 下午11:32, Takashi Inoue 写道:
Hi All,
This is my first post to here. Nice to meet you.
Nice to meet you, too.
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.
(I know no Fortran and this is only personal speculation.)
Did you compile your program with the i686 compiler or the x86_64 compiler? I
suspect it has something to do with the
floating-point environment.
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public