[cfe-dev] Clang/LLVM OpenMP program not spawning threads

C Bergström cbergstrom at pathscale.com
Tue Jul 28 08:19:28 PDT 2015


Requiring LD_LIBRARY_PATH is nasty stuff. Please do everything sane to
avoid this. The correct fix is as David pointed out - adding the
correct -L / -R (rpath) flags when the user specifies -fopenmp. (This
should go for both 3.7 branch as well as master)

On Tue, Jul 28, 2015 at 9:11 PM, Hal Finkel <hfinkel at anl.gov> wrote:
> ----- Original Message -----
>> From: "David Chisnall" <David.Chisnall at cl.cam.ac.uk>
>> To: "Anton Korobeynikov" <anton at korobeynikov.info>
>> Cc: "Jaime Arteaga" <jandres742 at gmail.com>, "cfe-dev" <cfe-dev at cs.uiuc.edu>
>> Sent: Tuesday, July 28, 2015 6:18:51 AM
>> Subject: Re: [cfe-dev] Clang/LLVM OpenMP program not spawning threads
>>
>> On 28 Jul 2015, at 12:13, Anton Korobeynikov
>> <anton at korobeynikov.info> wrote:
>> >
>> > Probably for 3.7 we'd need to issue a warning / error for -fopenmp
>> > w/o libomp.
>>
>> And make everyone using OpenMP modify their build systems for a
>> single release of clang, when we could just make -fopenmp do the
>> right thing?
>
> I agree that this would be quite unfortunate. It took some time to have a CMake build system for the runtime library that everyone has been satisfied with. I'm under the impression that we could change the default at this point, but I'm not sure what that would require in terms of the release cycle. I've cc'd Chandler, as he's been driving the project-level QoI requirements for this, and Hans for the obvious reason ;)
>
>  -Hal
>
>>
>> David
>>
>>
>> _______________________________________________
>> 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
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list