POV-Ray : Newsgroups : povray.unix : Compiling with icc 12.1 : Re: Compiling with icc 12.1 Server Time
1 May 2024 21:58:50 EDT (-0400)
  Re: Compiling with icc 12.1  
From: Le Forgeron
Date: 15 Dec 2011 07:50:03
Message: <4ee9ecfb$1@news.povray.org>
Le 15/12/2011 11:46, clipka a écrit :
> Am 15.12.2011 09:29, schrieb jhu:
>> Running Debian 7. I can get Povray 3.7 to compile with gcc 4.6. I'm
>> having
>> issues with icc 12.1 however.
>>
>>
>> Libraries
>> ---------
>> checking whether to link with cygwin DLL... no
>> checking whether to enable static linking... no
>> checking for the pthreads library -lpthreads... no
>> checking whether pthreads work without any flags... no
>> checking whether pthreads work with -Kthread... no
>> checking whether pthreads work with -kthread... no
>> checking for the pthreads library -llthread... no
>> checking whether pthreads work with -pthread... yes
>> checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
>> checking if more special flags are required for pthreads... no
>> checking for boostlib>= 1.37... yes
>> checking whether the Boost::Thread library is available... no
>> configure: error: cannot find a suitable boost thread library
>>
>> Probably some configure option I'm missing. Halp!
> 
> Did you add the path to the boost library to the linker path (LD_PATH or
> whatever it's caled)?
> 
> IRC there are also some issues with icpc regarding the header files &
> runtime libraries it is compatible with.
> 
> I guess you did remember to "source" the proper script file to set the
> icpc environment stuff, so I won't mention that. (Uh, I just did - sorry
> ;-))
> 


From my personal play with icpc, you need to compile a dedicated version
of boost libraries for it (you cannot reuse the one installed for gcc in
/usr/lib : the headers are fine, but the libraries are not)

Then it's only a matter of setting the environment with the icc script
to compile. And it run benchmark in very good time (~130 s vs ~155 s)

More technical details if still needed tonight (about 6 hours away),
once I'm back on the actual system with icc. (but I'm not sure it was in
the 12 serie or not)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.