[Openmp-dev] [cfe-dev] CMAKE_INSTALL_PREFIX vs -fopenmp and clang search library search path
Peyton, Jonathan L
jonathan.l.peyton at intel.com
Mon May 18 09:28:17 PDT 2015
There seems to be two choices:
-lllomp (libllomp.so) and -lomp (libomp.so)
Have we settled on libomp.so?
-- Johnny
-----Original Message-----
From: openmp-dev-bounces at cs.uiuc.edu [mailto:openmp-dev-bounces at cs.uiuc.edu] On Behalf Of Hal Finkel
Sent: Saturday, May 16, 2015 11:10 AM
To: C Bergström
Cc: openmp-dev at dcs-maillist2.engr.illinois.edu; cfe-dev; openmp-dev-bounces at cs.uiuc.edu
Subject: Re: [Openmp-dev] [cfe-dev] CMAKE_INSTALL_PREFIX vs -fopenmp and clang search library search path
Indeed, no one else seems to be using libomp.so (*), so we're free to take it. Let's do that.
-Hal
(*) Searching for "libomp.so" on Google gives only a page of results: There is a library on HP-UX, but it seems to live on /usr/lib/hpux{32,64} on those systems, and this is not a concern regardless. The first hit, amusingly enough, is my BG/Q makefile for our OpenMP library. There's essentially nothing else.
----- Original Message -----
> From: "C Bergström" <cbergstrom at pathscale.com>
> To: "Carlo Bertolli" <cbertol at us.ibm.com>
> Cc: openmp-dev at dcs-maillist2.engr.illinois.edu, "cfe-dev"
> <cfe-dev at cs.uiuc.edu>, openmp-dev-bounces at cs.uiuc.edu
> Sent: Saturday, May 16, 2015 10:08:14 AM
> Subject: Re: [cfe-dev] [Openmp-dev] CMAKE_INSTALL_PREFIX vs -fopenmp
> and clang search library search path
>
>
>
> oh this wouldn't be confusing at all....
>
>
>
> On Sat, May 16, 2015 at 9:59 PM, Carlo Bertolli < cbertol at us.ibm.com
> > wrote:
>
>
>
>
>
> HI Chris,
>
> That's clear now, thanks.
>
> -- Carlo
>
> Inactive hide details for Chris Lattner ---05/16/2015 12:36:22 AM--->
> On May 15, 2015, at 4:55 PM, Carlo Bertolli <cbertol at us.iChris Lattner
> ---05/16/2015 12:36:22 AM---> On May 15, 2015, at 4:55 PM, Carlo
> Bertolli < cbertol at us.ibm.com > wrote: >
>
> From: Chris Lattner < clattner at apple.com >
> To: Carlo Bertolli/Watson/IBM at IBMUS
> Cc: cfe-dev < cfe-dev at cs.uiuc.edu >, "Peyton, Jonathan L" <
> jonathan.l.peyton at intel.com >, "
> openmp-dev at dcs-maillist2.engr.illinois.edu " <
> openmp-dev at dcs-maillist2.engr.illinois.edu >,
> openmp-dev-bounces at cs.uiuc.edu
> Date: 05/16/2015 12:36 AM
> Subject: Re: [Openmp-dev] [cfe-dev] CMAKE_INSTALL_PREFIX vs -fopenmp
> and clang search library search path
>
>
>
>
>
>
> On May 15, 2015, at 4:55 PM, Carlo Bertolli < cbertol at us.ibm.com >
> wrote:
>
> Hi Chris I sent an e-mail a while ago but I made a mistake when
> transforming it from daily digest into a single e-mail and you may not
> have seen it. lomp is already used for the "lightweight OpenMP"
> (LOMP) implementation, which is for PPC64, BlueGene, and Z-series
> systems. Here are some references to it:
> http://cscads.rice.edu/workshops/summer-2012/slides/performance-tools/
> OpenMP-for-exascale-CScADS.pdf
> https://www.alcf.anl.gov/files/BlueGeneQ_Optimization.pdf One
> important note is that LOMP supports the KMP* interface and can be
> (and currently is) used as a OpenMP library for LLVM. Unless you feel
> strongly for re-using the name, I would rather prefer LLOMP to avoid
> confusion.
>
> Sure, but “lomp” is presumably actually linked with the command line
> flag -llomp today. The “-l” part is an aspect of the compiler
> interface to specify a library to link, not part of the name of the
> library.
>
> -Chris
>
>
>
>
>
> _______________________________________________
> Openmp-dev mailing list
> Openmp-dev at dcs-maillist2.engr.illinois.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/openmp-dev
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
--
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory
_______________________________________________
Openmp-dev mailing list
Openmp-dev at dcs-maillist2.engr.illinois.edu
http://lists.cs.uiuc.edu/mailman/listinfo/openmp-dev
More information about the Openmp-dev
mailing list