POV-Ray : Newsgroups : povray.unix : Compiling with icc 12.1 Server Time
2 May 2024 01:09:43 EDT (-0400)
  Compiling with icc 12.1 (Message 11 to 20 of 26)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 6 Messages >>>
From: Le Forgeron
Subject: Re: Compiling with icc 12.1
Date: 15 Dec 2011 16:45:40
Message: <4eea6a84@news.povray.org>
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)

From: jhu
Subject: Re: Compiling with icc 12.1
Date: 15 Dec 2011 17:15:00
Message: <web.4eea705bdc656ac1d19b0ec40@news.povray.org>
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

From: Le Forgeron
Subject: Re: Compiling with icc 12.1
Date: 15 Dec 2011 17:33:59
Message: <4eea75d7$1@news.povray.org>
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

From: Le Forgeron
Subject: Re: Compiling with icc 12.1
Date: 15 Dec 2011 17:38:51
Message: <4eea76fb@news.povray.org>
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

From: jhu
Subject: Re: Compiling with icc 12.1
Date: 15 Dec 2011 17:55:00
Message: <web.4eea79badc656ac1d19b0ec40@news.povray.org>
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

From: Le Forgeron
Subject: Re: Compiling with icc 12.1
Date: 16 Dec 2011 03:35:46
Message: <4eeb02e2$1@news.povray.org>
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

From: jhu
Subject: Re: Compiling with icc 12.1
Date: 16 Dec 2011 18:50:02
Message: <web.4eebd8f2dc656ac1d19b0ec40@news.povray.org>
Interesting. Added the following for CFLAGS/CXXFLAGS and configure works.

CC=icc CXX=icpc CFLAGS="-std=c++0x" CXXFLAGS=$CFLAGS ./configure


Unfortunately...

[jhu@PhenomIIx6:~/temp/povray-3.7.0.RC3]$ make
make  all-recursive
make[1]: Entering directory `/home/jhu/temp/povray-3.7.0.RC3'
Making all in source
make[2]: Entering directory `/home/jhu/temp/povray-3.7.0.RC3/source'
Making all in backend
make[3]: Entering directory `/home/jhu/temp/povray-3.7.0.RC3/source/backend'
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 -s -O3
-ip -xHost -std=c++0x -pthread -MT fnpovfpu.o -MD -MP -MF .deps/fnpovfpu.Tpo -c
-o fnpovfpu.o `test -f 'vm/fnpovfpu.cpp' || echo './'`vm/fnpovfpu.cpp
Warning #2928: the __GXX_EXPERIMENTAL_CXX0X__ macro is disabled when using GNU
version 4.6 with the c++0x option


/opt/intel/composer_xe_2011_sp1.7.256/compiler/include/boost/exception/detail/exception_ptr.hpp(276):
error: class "boost::exception_ptr" has no suitable copy constructor
              return boost::copy_exception(unknown_exception());
                     ^

/opt/intel/composer_xe_2011_sp1.7.256/compiler/include/boost/exception/detail/exception_ptr.hpp(283):
error: class "boost::exception_ptr" has no suitable copy constructor
              return boost::copy_exception(unknown_exception(e));
                     ^

etc., etc...

And the saga continues...


Post a reply to this message

From: jhu
Subject: Re: Compiling with icc 12.1
Date: 16 Dec 2011 19:30:01
Message: <web.4eebe260dc656ac1d19b0ec40@news.povray.org>
Interesting...

I was about to start over recompiling boost 1.47 and was in the middle of
reinstalling it before I realized icc wasn't compiling most of it. So I went
back and tried compiling povray 3.7 again, and now it works! I have absolutely
no idea how that happened.


Post a reply to this message

From: waggy
Subject: Re: Compiling with icc 12.1
Date: 16 Dec 2011 20:05:00
Message: <web.4eebea9bdc656ac19726a3c10@news.povray.org>
"jhu" wrote:
> I was about to start over recompiling boost 1.47 and was in the middle of
> reinstalling it before I realized icc wasn't compiling most of it. So I went
> back and tried compiling povray 3.7 again, and now it works! I have absolutely
> no idea how that happened.

It may have nothing to do with your observation, but I was only able to
successfully build a fairly large mixed C/FORTRAN application, on two different
HPC Linux platforms, by alternating Intel and GNU toolsets between repeated
invocations of make.  When the hybrid executable actually worked, I had to
concede there must be something to those claims of "binary compatibility".


Post a reply to this message

From: jhu
Subject: Re: Compiling with icc 12.1
Date: 17 Dec 2011 04:15:00
Message: <web.4eec5d57dc656ac1d19b0ec40@news.povray.org>
"jhu" <nomail@nomail> wrote:
> Interesting...
>
> I was about to start over recompiling boost 1.47 and was in the middle of
> reinstalling it before I realized icc wasn't compiling most of it. So I went
> back and tried compiling povray 3.7 again, and now it works! I have absolutely
> no idea how that happened.

Hmm... icc binaries are slower than gcc binaries on this processor. Well, that
really wasn't worthwhile, or at least until I get an Intel processor...


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 6 Messages >>>

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