<div dir="ltr"><div><div><div>Hi,<br><br></div>I am using the clang provided by polly(which is version 3.7) in association with openmp shared library(<a href="http://openmp.llvm.org/">http://openmp.llvm.org/</a>).<br><br></div>Ultimately, I have to run clang with polly on multiple threads. So, I tried to compile a simple program with #pragma parallel. But I could not create more than one thread. This was because libgomp was getting linked instead of libomp.<br><br></div>So, as suggested on <a href="https://github.com/clang-omp/clang/issues/44">https://github.com/clang-omp/clang/issues/44</a>, I downloaded the clang-omp version and following the directions as in <a href="https://clang-omp.github.io/">https://clang-omp.github.io/</a>.<br><div><div><br>../build/bin/clang-3.5 -fopenmp -L/home/rajat/lulesh/openmp/runtime/exports/lin_32e/lib/ -I/home/rajat/lulesh/openmp/runtime/exports/common/include try.c<br><br></div><div>But, this gives segmentation fault with #pragma omp parallel.<br><br></div><div>Can you help me out in this.<br clear="all"></div><div><div><div><br></div><div>Thanks,<br></div><div><div class="gmail_signature"><div dir="ltr">Rajat</div></div>
</div></div></div></div></div>