|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Le 15/12/2011 11:46, clipka nous fit lire :
> - Once you get it to compile, can you please run some extensive testing
> with photons scenes (for example the "balcony" and "optics" advanced
> sample scenes)? On my Linux system I still get some very obscure
> sporadic segfaults with icpc-compiled POV-Ray when rendering photons
> scenes.
Done more than one hundred renders of optics.pov, with icpc 12.0.5, no
problem. (ulimit -c unlimited, no core dumped.)
(i=0; while [ $i -le 100 ]; do povrayicpc optics.pov -w800 -h600
+a0.3; i=$i+1; done )
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Le_Forgeron <jgr### [at] freefr> wrote:
> Le 15/12/2011 13:50, Le_Forgeron nous fit lire :
> > 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)
>
> Yep, 12.0.5
>
> Had to install in /opt/intel a version of boost (from tar ball, compiled
> & installed with icc/icpc)
>
> $ source /opt/intel/bin/compilervars.sh intel64
>
> $ ./configure COMPILED_BY="the name which matter"
> --disable-io-restrictions --with-boost-libdir=/opt/intel/lib
> --with-boost-thread=boost_thread --with-boost=/opt/intel CC=icc CXX=icpc
> --disable-debug
>
>
>
> --disable-io-restrictions : just my personal taste.
Aarrrgh!
Ok, just downloaded boost 1.45, compiled with icc, installed into /opt/intel.
I run the command you gave (copy and paste) and...
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
??? I don't understand why it can't find the libraries when I've explicitly
stated where they are?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Le 15/12/2011 20:33, jhu nous fit lire :
> Le_Forgeron <jgr### [at] freefr> wrote:
>> Le 15/12/2011 13:50, Le_Forgeron nous fit lire :
>>> 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)
>>
>> Yep, 12.0.5
>>
>> Had to install in /opt/intel a version of boost (from tar ball, compiled
>> & installed with icc/icpc)
>>
>> $ source /opt/intel/bin/compilervars.sh intel64
>>
>> $ ./configure COMPILED_BY="the name which matter"
>> --disable-io-restrictions --with-boost-libdir=/opt/intel/lib
>> --with-boost-thread=boost_thread --with-boost=/opt/intel CC=icc CXX=icpc
>> --disable-debug
>>
>>
>>
>> --disable-io-restrictions : just my personal taste.
>
> Aarrrgh!
>
> Ok, just downloaded boost 1.45, compiled with icc, installed into /opt/intel.
>
> I run the command you gave (copy and paste) and...
>
> 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
>
>
> ??? I don't understand why it can't find the libraries when I've explicitly
> stated where they are?
>
>
IIRC, the build of boost might not build everything by default.
my listing of /opt/intel/lib:
ia32 libboost_prg_exec_monitor.so
intel64 libboost_prg_exec_monitor.so.1.47.0
libboost_chrono.a libboost_program_options.a
libboost_chrono.so libboost_program_options.so
libboost_chrono.so.1.47.0 libboost_program_options.so.1.47.0
libboost_date_time.a libboost_python.a
libboost_date_time.so libboost_python.so
libboost_date_time.so.1.47.0 libboost_python.so.1.47.0
libboost_exception.a libboost_random.a
libboost_filesystem.a libboost_random.so
libboost_filesystem.so libboost_random.so.1.47.0
libboost_filesystem.so.1.47.0 libboost_regex.a
libboost_graph.a libboost_regex.so
libboost_graph.so libboost_regex.so.1.47.0
libboost_graph.so.1.47.0 libboost_serialization.a
libboost_iostreams.a libboost_serialization.so
libboost_iostreams.so libboost_serialization.so.1.47.0
libboost_iostreams.so.1.47.0 libboost_signals.a
libboost_math_c99.a libboost_signals.so
libboost_math_c99f.a libboost_signals.so.1.47.0
libboost_math_c99f.so libboost_system.a
libboost_math_c99f.so.1.47.0 libboost_system.so
libboost_math_c99l.a libboost_system.so.1.47.0
libboost_math_c99l.so libboost_test_exec_monitor.a
libboost_math_c99l.so.1.47.0 libboost_thread.a
libboost_math_c99.so libboost_thread.so
libboost_math_c99.so.1.47.0 libboost_thread.so.1.47.0
libboost_math_tr1.a libboost_unit_test_framework.a
libboost_math_tr1f.a libboost_unit_test_framework.so
libboost_math_tr1f.so libboost_unit_test_framework.so.1.47.0
libboost_math_tr1f.so.1.47.0 libboost_wave.a
libboost_math_tr1l.a libboost_wave.so
libboost_math_tr1l.so libboost_wave.so.1.47.0
libboost_math_tr1l.so.1.47.0 libboost_wserialization.a
libboost_math_tr1.so libboost_wserialization.so
libboost_math_tr1.so.1.47.0 libboost_wserialization.so.1.47.0
libboost_prg_exec_monitor.a
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
But it's all there...
[jhu@PhenomIIx6:/opt/intel/lib]$ ls
intel64 libboost_program_options.so
libboost_date_time.a libboost_program_options.so.1.45.0
libboost_date_time.so libboost_random.a
libboost_date_time.so.1.45.0 libboost_random.so
libboost_exception.a libboost_random.so.1.45.0
libboost_filesystem.a libboost_random.so.1.47.0
libboost_filesystem.so libboost_regex.a
libboost_filesystem.so.1.45.0 libboost_regex.so
libboost_graph.a libboost_regex.so.1.45.0
libboost_graph.so libboost_serialization.a
libboost_graph.so.1.45.0 libboost_serialization.so
libboost_math_c99.a libboost_serialization.so.1.45.0
libboost_math_c99.so libboost_signals.a
libboost_math_c99.so.1.45.0 libboost_signals.so
libboost_math_c99f.a libboost_signals.so.1.45.0
libboost_math_c99f.so libboost_system.a
libboost_math_c99f.so.1.45.0 libboost_system.so
libboost_math_c99l.a libboost_system.so.1.45.0
libboost_math_c99l.so libboost_system.so.1.47.0
libboost_math_c99l.so.1.45.0 libboost_test_exec_monitor.a
libboost_math_tr1.a libboost_thread.a
libboost_math_tr1.so libboost_thread.so
libboost_math_tr1.so.1.45.0 libboost_thread.so.1.45.0
libboost_math_tr1f.a libboost_unit_test_framework.a
libboost_math_tr1f.so libboost_unit_test_framework.so
libboost_math_tr1f.so.1.45.0 libboost_unit_test_framework.so.1.45.0
libboost_math_tr1l.a libboost_wave.a
libboost_math_tr1l.so libboost_wave.so
libboost_math_tr1l.so.1.45.0 libboost_wave.so.1.45.0
libboost_prg_exec_monitor.a libboost_wserialization.a
libboost_prg_exec_monitor.so libboost_wserialization.so
libboost_prg_exec_monitor.so.1.45.0 libboost_wserialization.so.1.45.0
libboost_program_options.a
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Le 15/12/2011 22:35, jhu nous fit lire :
> But it's all there...
>
> [jhu@PhenomIIx6:/opt/intel/lib]$ ls
Back to config.log (attached): hopefully you can use some smart diff for
the details.
Have you tried to compiled a hello world with icc ? icpc ? (c, c++)
(well, if boost compiled, i guess that yes...)
Post a reply to this message
Attachments:
Download 'us-ascii' (84 KB)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Le_Forgeron <jgr### [at] freefr> wrote:
> Le 15/12/2011 22:35, jhu nous fit lire :
> > But it's all there...
> >
> > [jhu@PhenomIIx6:/opt/intel/lib]$ ls
>
> Back to config.log (attached): hopefully you can use some smart diff for
> the details.
>
> Have you tried to compiled a hello world with icc ? icpc ? (c, c++)
> (well, if boost compiled, i guess that yes...)
So now I've resorted to brute-forcing the compile (manually compiling each file
with icc... ugh). Unfortunately:
icpc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../source -I../../source
-I../../source/base -I../../unix -I../../vfe -I../../vfe/unix -pthread
-I/usr/include -I/usr/include -pipe -Wno-multichar -Wno-write-strings
-fno-enforce-eh-specs -s -O3 -ffast-math -march=native -pthread -MT fnpovfpu.o
-MD -MP -MF .deps/fnpovfpu.Tpo -c -o fnpovfpu.o `test -f 'vm/fnpovfpu.cpp' ||
echo './'`vm/fnpovfpu.cpp
gives me:
/opt/intel/composer_xe_2011_sp1.7.256/compiler/include/boost/smart_ptr/detail/shared_count.hpp(321):
error: copy constructor for class "boost::detail::shared_count" may not have a
parameter of type "boost::detail::shared_count"
shared_count(shared_count && r): pi_(r.pi_) // nothrow
^
/opt/intel/composer_xe_2011_sp1.7.256/compiler/include/boost/smart_ptr/detail/shared_count.hpp(321):
error: expected a ")"
shared_count(shared_count && r): pi_(r.pi_) // nothrow
^
etc., etc.,
I have almost no hair on my head since they have been pulled out!
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Le 15/12/2011 23:10, jhu nous fit lire :
> Le_Forgeron <jgr### [at] freefr> wrote:
>> Le 15/12/2011 22:35, jhu nous fit lire :
>>> But it's all there...
>>>
>>> [jhu@PhenomIIx6:/opt/intel/lib]$ ls
>>
>> Back to config.log (attached): hopefully you can use some smart diff for
>> the details.
>>
>> Have you tried to compiled a hello world with icc ? icpc ? (c, c++)
>> (well, if boost compiled, i guess that yes...)
>
> So now I've resorted to brute-forcing the compile (manually compiling each file
> with icc... ugh). Unfortunately:
>
> icpc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../source -I../../source
> -I../../source/base -I../../unix -I../../vfe -I../../vfe/unix -pthread
> -I/usr/include -I/usr/include -pipe -Wno-multichar -Wno-write-strings
> -fno-enforce-eh-specs -s -O3 -ffast-math -march=native -pthread -MT fnpovfpu.o
> -MD -MP -MF .deps/fnpovfpu.Tpo -c -o fnpovfpu.o `test -f 'vm/fnpovfpu.cpp' ||
> echo './'`vm/fnpovfpu.cpp
>
> gives me:
>
>
>
/opt/intel/composer_xe_2011_sp1.7.256/compiler/include/boost/smart_ptr/detail/shared_count.hpp(321):
> error: copy constructor for class "boost::detail::shared_count" may not have a
> parameter of type "boost::detail::shared_count"
> shared_count(shared_count && r): pi_(r.pi_) // nothrow
> ^
>
>
/opt/intel/composer_xe_2011_sp1.7.256/compiler/include/boost/smart_ptr/detail/shared_count.hpp(321):
> error: expected a ")"
> shared_count(shared_count && r): pi_(r.pi_) // nothrow
> ^
>
> etc., etc.,
>
> I have almost no hair on my head since they have been pulled out!
>
>
Yep, still the same initial error.
Your :
/opt/intel/composer_xe_2011_sp1.7.256/
Mine:
/opt/intel/composerxe-2011.5.220/
icpc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../source -I../../source
-I../../source/base -I../../unix -I../../vfe -I../../vfe/unix
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread
-I/usr/include/OpenEXR -pthread -I/opt/intel/include -I/usr/include
-pipe -Wno-multichar -Wno-write-strings -s -O3 -ip -xHost -pthread -MT
fnpovfpu.o -MD -MP -MF .deps/fnpovfpu.Tpo -c -o fnpovfpu.o `test -f
'vm/fnpovfpu.cpp' || echo './'`vm/fnpovfpu.cpp
Results only in warnings:
../../source/base/image/colourspace.h(445): warning #1125: overloaded
function "pov_base::GammaCurve::IsNeutral" is hidden by
"pov_base::PowerLawGammaCurve::IsNeutral" -- virtual function override
intended?
static bool IsNeutral(float gamma);
^
../../source/base/image/colourspace.h(464): warning #1125: overloaded
function "pov_base::GammaCurve::IsNeutral" is hidden by
"pov_base::ScaledGammaCurve::IsNeutral" -- virtual function override
intended?
static bool IsNeutral(float factor);
^
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Final link with:
icpc -pipe -Wno-multichar -Wno-write-strings -s -O3 -ip -xHost -pthread
-L/opt/intel/lib -L/usr/lib -o povray disp_sdl.o disp_text.o
../vfe/libvfe.a ../source/backend/libbackend.a
../source/frontend/libfrontend.a ../source/base/libbase.a
../source/libpovray.a -lSDL -L/usr/lib -lSDL -lXpm -lSM -lICE -lX11
-lIlmImf -pthread -lIlmImf -lz -lImath -lHalf -lIex -lIlmThread
-lIlmThread -ltiff -ljpeg -lpng -lz -lrt -lm -lboost_thread -pthread
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Le_Forgeron <jgr### [at] freefr> wrote:
> Final link with:
>
> icpc -pipe -Wno-multichar -Wno-write-strings -s -O3 -ip -xHost -pthread
> -L/opt/intel/lib -L/usr/lib -o povray disp_sdl.o disp_text.o
> ../vfe/libvfe.a ../source/backend/libbackend.a
> ../source/frontend/libfrontend.a ../source/base/libbase.a
> ../source/libpovray.a -lSDL -L/usr/lib -lSDL -lXpm -lSM -lICE -lX11
> -lIlmImf -pthread -lIlmImf -lz -lImath -lHalf -lIex -lIlmThread
> -lIlmThread -ltiff -ljpeg -lpng -lz -lrt -lm -lboost_thread -pthread
What version of icc do you have, and how do I downgrade?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Le 15/12/2011 23:50, jhu a écrit :
> Le_Forgeron <jgr### [at] freefr> wrote:
>> Final link with:
>>
>> icpc -pipe -Wno-multichar -Wno-write-strings -s -O3 -ip -xHost -pthread
>> -L/opt/intel/lib -L/usr/lib -o povray disp_sdl.o disp_text.o
>> ../vfe/libvfe.a ../source/backend/libbackend.a
>> ../source/frontend/libfrontend.a ../source/base/libbase.a
>> ../source/libpovray.a -lSDL -L/usr/lib -lSDL -lXpm -lSM -lICE -lX11
>> -lIlmImf -pthread -lIlmImf -lz -lImath -lHalf -lIex -lIlmThread
>> -lIlmThread -ltiff -ljpeg -lpng -lz -lrt -lm -lboost_thread -pthread
>
> What version of icc do you have, and how do I downgrade?
>
>
I have 12.0.5, taken at the relevant time from intel's site.
One point of last interest: I need to
"export LD_LIBRARY_PATH=/opt/intel/lib" in addition to the source of the
script from intel.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |