[Openmp-dev] How to compile OpenMP programs with Clang
sunita at cs.uh.edu
Thu Sep 11 15:14:01 PDT 2014
Did you set the path OK?
If it still doesn't work, please see me in my office ! :-)
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,
> Openmp-dev mailing list
> Openmp-dev at dcs-maillist2.engr.illinois.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openmp-dev