Hello,
I am trying to run a fortran do loop in parallel. One variable needs to be of type FIRSTPRIVATE.
- If I do specify the variable as SHARED the code runs but the result is different each time I run it with multiple threads, which makes sense, due to the variable which needs to be private.
- If I run the code with FIRSTPRIVATE, the program crashes at the start of this loop (Windows error message: “The program stopped working”). Only allowing one thread does not make any diffference.
- If I run the same code on a unix system everything works.
However for different reasons I want to run it in windows.
Does anybody have any ideas?
Thanks
Boris