[Openmp-dev] How to compile OpenMP programs with Clang

Sunita Chandrasekaran sunita at cs.uh.edu
Thu Sep 11 15:14:01 PDT 2014


Millad

Did you set the path OK?
http://clang-omp.github.io/

If it still doesn't work, please see me in my office ! :-)

Sunita

On Thu, Sep 11, 2014 at 5:07 PM, Millad Ghane <millad.mg at gmail.com> wrote:

> Hello everybody,
>
> I am a little new to the community. So, my question may look like a bit
> simple to you.
>
> I want to compile my OpenMP programs with Clang. So, I installed it as
> mentioned in this URL (http://clang.llvm.org/get_started.html). Then, I
> downloaded the source of OpenMP from the public svn repo and build the
> program as mentioned in here (http://openmp.llvm.org/). I run following
> commands after downloading the source code from SVN:
> 1- cd openmp/runtime
> 2- make compiler=clang
>
> Now, my question lies in here. How can I compile my simple OpenMP
> Hello-World program? Can somebody write down the commands and its options
> for me? I am really confused. It is told that Clang can do the compilation
> by itself by providing the "-fopenmp" switch (option). But, I can see that
> it does nothing.
>
>
>
> Best Regards,
> Millad
>
>
>
> _______________________________________________
> Openmp-dev mailing list
> Openmp-dev at dcs-maillist2.engr.illinois.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/openmp-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20140911/57a54238/attachment.html>


More information about the Openmp-dev mailing list