The problem seems to be related to those I/O operations, while read operations are thread-safe, in this case it seems that write ops are not. Maybe this is caused by our particular libraries (we use Fedora26 and gfortran 7.2.1). I've also compiled with -pthread, but problems are still there.
I have fixed this issue adding an OpenMP Critical section:
Hi!
We've been experiencing a recurring error:
Checking those lines I see:
The problem seems to be related to those I/O operations, while read operations are thread-safe, in this case it seems that write ops are not. Maybe this is caused by our particular libraries (we use Fedora26 and gfortran 7.2.1). I've also compiled with -pthread, but problems are still there.
I have fixed this issue adding an OpenMP Critical section:
Could you please let us know if there is a better way to fix this issue?
Thanks!