Hi all,

It seems that attaching two files is not accepted(?).
I attach sample code alone to this mail.
You can find Makefile in my previous mail.

This very simple sample code hits a possible bug in mingw-w64.
I would be grateful if you could test on your system.

Best,
Takashi

-------------------------------------------------------------
Hi All,

Finally, I found the minimal condition of my problem.
Attached very simple code reproduce the problem.
You will get different result(fort.99) at time to time.

Essential point is combination of power operation(**)
and "omp do schedule(dynamic,chunk-size)".
If we have operation ** in a do loop parallelized
with schedule(dynamic),  result becomes unstable.
I don't know fundamental origin of this problem.
But, I believe this is unexpected abnormal behavior.

As I wrote, my mingw-w64 is a x86_64 package of msys2.
I have not tested other versions of  mingw-w64 yet.
So, I would be grateful if you could test on your system.

Any comments and suggestions will be appreciated.

Best,
Takashi


_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to