CMAKE_INSTALL_PREFIX vs -fopenmp and clang search library search path

Yes, I consider that obvious. I'm not interested in the "smart" thing, I'm interested in the right thing.

If there are no known (and important) conflicts with libomp.so, we should just take it.

-Chris

Again - you may be missing a previous reply and also my reference to
that previous reply

From IBM in this thread

"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."

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@us.iChris Lattner —05/16/2015 12:36:22 AM—> On May 15, 2015, at 4:55 PM, Carlo Bertolli cbertol@us.ibm.com wrote: >

oh this wouldn’t be confusing at all…

graycol.gif

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.

There seems to be two choices:
-lllomp (libllomp.so) and -lomp (libomp.so)

Have we settled on libomp.so?

-- Johnny

From: "Jonathan L Peyton" <jonathan.l.peyton@intel.com>
To: "Hal Finkel" <hfinkel@anl.gov>, "C Bergström" <cbergstrom@pathscale.com>
Cc: openmp-dev@dcs-maillist2.engr.illinois.edu, "cfe-dev" <cfe-dev@cs.uiuc.edu>, openmp-dev-bounces@cs.uiuc.edu
Sent: Monday, May 18, 2015 11:28:17 AM
Subject: RE: [Openmp-dev] [cfe-dev] CMAKE_INSTALL_PREFIX vs -fopenmp and clang search library search path

There seems to be two choices:
-lllomp (libllomp.so) and -lomp (libomp.so)

Have we settled on libomp.so?

Yes, I think so. That's Chris's suggestion, and it makes sense to me.

-Hal