Jakub, A colleague of mine at Meteo France, Toulouse, managed to reduce a problem he had with our common weather forecasting code when using OpenMP down to the attached code and the transition from 4.9.0 -> 4.9.1. In 4.9.1 OpenMP 4.0 was introduced. That is of course a big hammer to start looking for the culprit, but you are the best person to go to on this code. The attached code produces with 4.9.1, 5.4 and 6.1: 99999.0000 99999.0000 99999.0000 99999.0000 whereas it should produce four zeros. Compile with gfortran -fopenmp elkhatib.f90. Thanks for any help - kind regards, PS: I will make a Bugzilla report if it doesn't ring a bell immediately. -- Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290 Saturnushof 14, 3738 XG Maartensdijk, The Netherlands At home: http://moene.org/~toon/; weather: http://moene.org/~hirlam/ Progress of GNU Fortran: http://gcc.gnu.org/wiki/GFortran#news