Hi! No idea? No solution? It's annoying :-( . Did someone try my code? I would like to know at least if it works or not for you, because for the moment, I am sure that the segfault or deadlock is due to gcc which doesn't handle openmp and pthread properly. Indeed, when I compile whith icc, I have no problem. As a reminder, I tried with gcc 4.3 and 4.5. Thanks! -- View this message in context: http://old.nabble.com/Problem-with-an-openMP-and-pthread-program-compiled-with-gcc-tp29173546p29264178.html Sent from the gcc - Help mailing list archive at Nabble.com.