<div dir="ltr"><span style="font-family:'Lucida Grande','Lucida Sans Unicode',Arial,Verdana,Helvetica,sans-serif;font-size:13px;line-height:19px">Bargava,</span><br><div><font face="Lucida Grande, Lucida Sans Unicode, Arial, Verdana, Helvetica, sans-serif"><span style="line-height:19px">     The llvm34 packaging in the fink packaging project (<a href="http://www.finkproject.org">http://www.finkproject.org</a>) is based on the <a href="http://llvm.org">llvm.org</a> 3.4.2 release with the changes from the clang-omp git applied. If you have fink installed on your Mavericks machine, you can install these with…</span></font></div>
<div><span style="font-family:'Lucida Grande','Lucida Sans Unicode',Arial,Verdana,Helvetica,sans-serif;font-size:13px;line-height:19px"><br></span></div><div><span style="font-family:'Lucida Grande','Lucida Sans Unicode',Arial,Verdana,Helvetica,sans-serif;font-size:13px;line-height:19px">fink install clang34</span></div>
<div><span style="font-family:'Lucida Grande','Lucida Sans Unicode',Arial,Verdana,Helvetica,sans-serif;font-size:13px;line-height:19px"><br></span></div><div><font face="Lucida Grande, Lucida Sans Unicode, Arial, Verdana, Helvetica, sans-serif"><span style="line-height:19px">which will give you a set of clang-3.4/clang++-3.4 compilers that default to linking libiomp5 from </span></font>/sw/opt/llvm-3.4/lib for -fopenmp.</div>
<div>     Note that the clang-omp git is still based on clang 3.4 and it will be impossible to cleanly merge those changes into either the upcoming clang 3.5 or 3.6 releases from <a href="http://llvm.org">llvm.org</a>. Currently, the <a href="http://llvm.org">llvm.org</a> clang 3.5/3.6svn compilers only contain the parsing/sema changes for the openmp support but not yet the changes to implement the openmp code generation. Thus, they perform very poorly in the OpenMP3.1_Validation test suite compared to clang-omp based compilers in the llvm34-3.4.2-1 package from…</div>
<div><br></div><div><a href="http://fink.cvs.sourceforge.net/fink/dists/10.7/stable/main/finkinfo/languages/llvm34.info?view=markup">http://fink.cvs.sourceforge.net/fink/dists/10.7/stable/main/finkinfo/languages/llvm34.info?view=markup</a><br>
</div><div><br></div><div>           Jack</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 21, 2014 at 8:22 AM, Bargava Raman, Subramanian <span dir="ltr"><<a href="mailto:bargava@gmail.com" target="_blank">bargava@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><<Apologies-This is a noob query>><div><br></div><div>My aim is to use OpenMP compiler to compile some libraries to make them run multi-threaded. I am on Mac OSX - Mavericks. (The command I need to run is g++ -fopenmp mylib.cpp)<br>

<div><br></div><div>Following instructions from <a href="http://openmp.llvm.org/" target="_blank">http://openmp.llvm.org/</a>, I did the following</div><div><span style="font-family:'Lucida Grande','Lucida Sans Unicode',Arial,Verdana,Helvetica,sans-serif;line-height:19.5px"><br>

</span></div><div><span style="font-family:'Lucida Grande','Lucida Sans Unicode',Arial,Verdana,Helvetica,sans-serif;line-height:19.5px"><i>svn co <a href="http://llvm.org/svn/llvm-project/openmp/trunk" target="_blank">http://llvm.org/svn/llvm-project/openmp/trunk</a> openmp</i></span></div>

<div><span style="font-family:'Lucida Grande','Lucida Sans Unicode',Arial,Verdana,Helvetica,sans-serif;line-height:19.5px"><i>cd openmp/runtime</i></span></div><div><span style="font-family:'Lucida Grande','Lucida Sans Unicode',Arial,Verdana,Helvetica,sans-serif;line-height:19.5px"><i>make compiler=gcc</i></span></div>

<div><span style="font-family:'Lucida Grande','Lucida Sans Unicode',Arial,Verdana,Helvetica,sans-serif;line-height:19.5px"><br></span></div><div><span style="font-family:'Lucida Grande','Lucida Sans Unicode',Arial,Verdana,Helvetica,sans-serif;line-height:19.5px">The make was successful. What should I do next? </span></div>

</div><div><span style="font-family:'Lucida Grande','Lucida Sans Unicode',Arial,Verdana,Helvetica,sans-serif;line-height:19.5px"><br></span></div><div><span style="font-family:'Lucida Grande','Lucida Sans Unicode',Arial,Verdana,Helvetica,sans-serif;line-height:19.5px">Can someone please provide guidance?</span></div>

<div><span style="font-family:'Lucida Grande','Lucida Sans Unicode',Arial,Verdana,Helvetica,sans-serif;line-height:19.5px"><br></span></div><div><span style="font-family:'Lucida Grande','Lucida Sans Unicode',Arial,Verdana,Helvetica,sans-serif;line-height:19.5px">Thanks,</span></div>

<div><span style="font-family:'Lucida Grande','Lucida Sans Unicode',Arial,Verdana,Helvetica,sans-serif;line-height:19.5px">Bargava</span></div><div><span style="font-family:'Lucida Grande','Lucida Sans Unicode',Arial,Verdana,Helvetica,sans-serif;line-height:19.5px"><br>

</span></div></div>
<br>_______________________________________________<br>
Openmp-dev mailing list<br>
<a href="mailto:Openmp-dev@dcs-maillist2.engr.illinois.edu">Openmp-dev@dcs-maillist2.engr.illinois.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/openmp-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/openmp-dev</a><br>
<br></blockquote></div><br></div>