<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:#073763">Thank you all for your replies. And yes, as Andrey indicated, after adding <span style="font-size:12.8000001907349px;font-family:arial,sans-serif;color:rgb(34,34,34)"> </span><span style="font-size:12.8000001907349px;font-family:arial,sans-serif;color:rgb(34,34,34)">-fopenmp=libomp (and assuming LD_LIBRARY_PATH is correctly set up), the example now works as expected.</span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:#073763"><span style="font-size:12.8000001907349px;font-family:arial,sans-serif;color:rgb(34,34,34)"><br></span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:#073763"><span style="font-size:12.8000001907349px;font-family:arial,sans-serif;color:rgb(34,34,34)">Thanks!</span></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><font face="arial, helvetica, sans-serif"><span style="color:rgb(0,0,153)"><span style="color:rgb(7,55,99)"><b>___________________________________<br>Jaime Arteaga</b></span><br><span style="color:rgb(7,55,99)"><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.linkedin.com_in_jandres742&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=CnzuN65ENJ1H9py9XLiRvC_UQz6u3oG6GUNn7_wosSM&m=Ll183lB0NXLHCUWrNfOb97w1vENbR-ah576bC97YHYc&s=9_xOhZZHM9_JOthB-TuvBaDtLFOaAo0vyzZt9KmVnDU&e=" target="_blank">http://www.linkedin.com/in/jandres742</a></span><br><span></span><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.linkedin.com_in_jandres742&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=CnzuN65ENJ1H9py9XLiRvC_UQz6u3oG6GUNn7_wosSM&m=Ll183lB0NXLHCUWrNfOb97w1vENbR-ah576bC97YHYc&s=9_xOhZZHM9_JOthB-TuvBaDtLFOaAo0vyzZt9KmVnDU&e=" target="_blank"> </a><span></span><br></span></font></div></div></div>
<br><div class="gmail_quote">On Tue, Jul 28, 2015 at 6:18 AM, David Chisnall <span dir="ltr"><<a href="mailto:David.Chisnall@cl.cam.ac.uk" target="_blank">David.Chisnall@cl.cam.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 28 Jul 2015, at 12:13, Anton Korobeynikov <<a href="mailto:anton@korobeynikov.info">anton@korobeynikov.info</a>> wrote:<br>
><br>
> Probably for 3.7 we'd need to issue a warning / error for -fopenmp w/o libomp.<br>
<br>
</span>And make everyone using OpenMP modify their build systems for a single release of clang, when we could just make -fopenmp do the right thing?<br>
<span class="HOEnZb"><font color="#888888"><br>
David<br>
<br>
</font></span></blockquote></div><br></div></div>