hi urban,<div><br></div><div>hmmm... interesting.</div><div>was this the very latest cvs code?</div><div>it almost looked to me as if there were some </div><div>mpi calls within a multi-threaded region that </div><div>were messing things up...</div><div><br></div><div>also, can you comment on what these two defines are for?</div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="color: rgb(34, 34, 34); "> -D__USE_CP2K_TRACE -D__HAS_smm_dnn </span></div><div><span class="Apple-style-span" style="color: rgb(34, 34, 34); "><br></span></div><div><span class="Apple-style-span" style="color: rgb(34, 34, 34); ">this one is a bit of a surprise, since already gfortran 4.3.x claims to be OpenMP 3 compliant.</span></div><div><span class="Apple-style-span" style="color: rgb(34, 34, 34); ">-D__HAS_NO_OMP_3</span><br></div><div><br></div><div>as far as threaded libraries go. what about MKL?</div><div>last thing a remember is that it would not go multi-threaded</div><div>if it is called from within an OpenMP multi-threaded region,</div><div>but that may be wishful thinking...</div><div><br></div><div>in any case, i'll give it a try.</div><div><br></div><div>thanks,</div><div>     axel.</div>