> Well i though it was implicit.
> When you use -ftree-parallelize-loops=4, it enables OpenMP.
> When gcc links, it needs to link against pthread and gomp.
> That's why i added LDFLAGS="-lgomp". But i forgot -lpthread.
So the error is "i can't find libgomp's symbols."
--
Alexandre Bique
On Wed, Apr 1, 2009 at 7:41 PM, Aaron Griffin wrote:
> On Wed, Apr 1, 2009 at 1:17 PM, Alexandre Bique
> wrote:
>> Hi,
>>
>> I am trying these FLAGS:
>>
>> CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -ftree-vectorize
>> -ftree-parallelize-loops=4"
>> CXXFLAGS="${CFLAGS}"
>>
>> And i need
On Wed, Apr 1, 2009 at 1:17 PM, Alexandre Bique
wrote:
> Hi,
>
> I am trying these FLAGS:
>
> CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -ftree-vectorize
> -ftree-parallelize-loops=4"
> CXXFLAGS="${CFLAGS}"
>
> And i need to link to libgomp so i tried to add
>
> LDFLAGS="-lgomp"
>
> But
Hi,
I am trying these FLAGS:
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -ftree-vectorize
-ftree-parallelize-loops=4"
CXXFLAGS="${CFLAGS}"
And i need to link to libgomp so i tried to add
LDFLAGS="-lgomp"
But it doesn't work. What should i do doctor ?
Thanks.
--
Alexandre Bique
4 matches
Mail list logo