POV-Ray : Newsgroups : povray.unix : Compiling POV-Ray 3.6.1 on IA64 using Intel Compiler Server Time
23 Dec 2024 15:01:44 EST (-0500)
  Compiling POV-Ray 3.6.1 on IA64 using Intel Compiler (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: RedAndr
Subject: Compiling POV-Ray 3.6.1 on IA64 using Intel Compiler
Date: 8 May 2007 13:35:01
Message: <web.4640b3ab131fff106ee3c85e0@news.povray.org>
icc compilers the povray perfectly, however obtained binary can't run,
generates the following message:

Persistence of Vision(tm) Ray Tracer Version 3.6.1 (icc 9.1 @
 ia64-unknown-linux-gnu)
This is an unofficial version compiled by:
 RedAndr
 The POV-Ray Team(tm) is not responsible for supporting this version.
POV-Ray is based on DKBTrace 2.12 by David K. Buck & Aaron A. Collins
Copyright 1991-2003 Persistence of Vision Team
Copyright 2003-2004 Persistence of Vision Raytracer Pty. Ltd.

Primary POV-Ray 3.5/3.6 Developers: (Alphabetically)
  Chris Cason         Thorsten Froehlich  Nathan Kopp         Ron Parker

Contributing Authors: (Alphabetically)
  Steve Anger         Eric Barish         Dieter Bayer        Steve A.
Bennett
  David K. Buck       Nicolas Calimet     Aaron A. Collins    Chris Dailey
  Steve Demlow        Andreas Dilger      Alexander Enzmann   Dan Farmer
  Mark Gordon         Christoph Hormann   Mike Hough          Chris Huff
  Kari Kivisalo       Lutz Kretzschmar    Jochen Lippert      Pascal
Massimino
  Jim McElhiney       Douglas Muir        Juha Nieminen       Bill Pulver
  Eduard Schwan       Wlodzimierz Skiba   Robert Skinner      Yvo
Smellenbergh
  Zsolt Szalavari     Scott Taylor        Massimo Valentini   Timothy Wegner
  Drew Wells          Chris Young

Other contributors are listed in the documentation.

Support libraries used by POV-Ray:
  ZLib 1.2.1, Copyright 1995-1998 Jean-loup Gailly and Mark Adler
  LibPNG 1.2.5, Copyright 1998-2002 Glenn Randers-Pehrson
  LibJPEG 6b, Copyright 1998 Thomas G. Lane
  LibTIFF 3.6.1, Copyright 1988-1997 Sam Leffler, 1991-1997 SGI
Aborted

That's it. Any ideas what it means and how I should compile the povray?

Thanks!


Post a reply to this message

From: Nicolas Calimet
Subject: Re: Compiling POV-Ray 3.6.1 on IA64 using Intel Compiler
Date: 9 May 2007 04:47:50
Message: <46418ab6$1@news.povray.org>
> Aborted
> 
> That's it. Any ideas what it means and how I should compile the povray?

	You might try configuring povray so as to include debug information
and run it under a debugger:

./configure COMPILED_BY=you --enable-debug
make
gdb ./unix/povray
run test.pov options
bt

	and report the result.

	- NC


Post a reply to this message

From: RedAndr
Subject: Re: Compiling POV-Ray 3.6.1 on IA64 using Intel Compiler
Date: 9 May 2007 14:10:02
Message: <web.46420dc81a9ccb3c6ee3c85e0@news.povray.org>
> gdb ./unix/povray
> run test.pov options
> bt
>
>  and report the result.

Thanks for advice, here the output below:

<... the same output as in previous message...>
Program received signal SIGABRT, Aborted.
0xa000000000010641 in ?? ()
(gdb) bt
#0  0xa000000000010641 in ?? ()
#1  0x2000000000635190 in raise () from /lib/tls/libc.so.6.1
#2  0x2000000000637a60 in abort () from /lib/tls/libc.so.6.1
#3  0x20000000000580e0 in (anonymous namespace)::_default_terminate_handler
()
   from /local/programs/icc/9.1.045/lib/libcxa.so.6
#4  0x2000000000057aa0 in std::terminate () from
/local/programs/icc/9.1.045/lib/libcxa.so.6
#5  0x2000000000059530 in Terminate??unw () from
/local/programs/icc/9.1.045/lib/libcxa.so.6
#6  0x2000000000059c70 in __gxx_personality_v0??unw () from
/local/programs/icc/9.1.045/lib/libcxa.so.6
#7  0x20000000000599b0 in __intel_personality_routine??unw () from
/local/programs/icc/9.1.045/lib/libcxa.so.6
#8  0x20000000005c4140 in _Unwind_RaiseException () from /lib/libgcc_s.so.1
#9  0x20000000000594d0 in __cxa_throw??unw () from
/local/programs/icc/9.1.045/lib/libcxa.so.6
#10 0x400000000033ca10 in _ZN12POVMS_ObjectC9ERS_ (this=0xfffffffffffffff1,
source=@0x60000fffffff8820) at povmscpp.cpp:473
#11 0x4000000000340ea0 in POVMS_Object::operator() (this=0x60000fffffff8820)
at povmscpp.h:207
#12 0x4000000000340e40 in POVMS_MessageReceiver::ReceiveHandler () at
povmscpp.cpp:1031
#13 0x2000000000637a60 in abort () from /lib/tls/libc.so.6.1
(gdb)

And for idb also the same:

<... the same output as in previous message...>
Thread received signal ABRT
stopped at [0xa000000000010641]
(idb) where
>0  0xa000000000010641
#1  0x2000000000635190 in raise(...) in /lib/tls/libc.so.6.1
#2  0x2000000000637a60 in abort(...) in /lib/tls/libc.so.6.1
#3  0x20000000000580e0 in
_ZN37_GLOBAL__N__13_exception_cpp_a3e89b6426_default_terminate_handlerEv(...)
in /local/programs/icc/9.1.045/lib/libcxa.so.6
#4  0x2000000000057aa0 in _ZSt9terminatev(...) in
/local/programs/icc/9.1.045/lib/libcxa.so.6
#5  0x2000000000059530 in Terminate(...) in
/local/programs/icc/9.1.045/lib/libcxa.so.6
#6  0x2000000000059c70 in __gxx_personality_v0(...) in
/local/programs/icc/9.1.045/lib/libcxa.so.6
#7  0x20000000000599b0 in __intel_personality_routine(...) in
/local/programs/icc/9.1.045/lib/libcxa.so.6
#8  0x20000000005c4140 in _Unwind_RaiseException(...) in /lib/libgcc_s.so.1
#9  0x20000000000594d0 in __cxa_throw(...) in
/local/programs/icc/9.1.045/lib/libcxa.so.6
#10 0x400000000033ca10 in
((POVMS_Object*)0x7fffffff00000000)->POVMS_Object::POVMS_Object(source=&
class POVMS_Object { ... }) "povmscpp.cpp":473
#11 0x4000000000340ea0 in
((POVMS_Object*)0x7fffffff00000000)->POVMS_Object::operator()()
"povmscpp.cpp"
#12 0x4000000000340e40 in ((POVMS_Object*)<bad
value>)->POVMS_Object::operator()() "povmscpp.cpp":1031
#13 0x2000000000637a60 in abort(...) in /lib/tls/libc.so.6.1
(idb)


Post a reply to this message

From: Nicolas Calimet
Subject: Re: Compiling POV-Ray 3.6.1 on IA64 using Intel Compiler
Date: 9 May 2007 15:02:47
Message: <46421ad7$1@news.povray.org>
> Thanks for advice, here the output below:
> And for idb also the same:

	This looks like the compiler is generating bad code.  Did you try
compiling with gcc and/or without optimizations?

	- NC


Post a reply to this message

From: RedAndr
Subject: Re: Compiling POV-Ray 3.6.1 on IA64 using Intel Compiler
Date: 9 May 2007 15:25:01
Message: <web.46421eab1a9ccb3c6ee3c85e0@news.povray.org>
Nicolas Calimet <pov### [at] freefr> wrote:
> > Thanks for advice, here the output below:
> > And for idb also the same:
>
>  This looks like the compiler is generating bad code.  Did you try
> compiling with gcc and/or without optimizations?
>
>  - NC

Yes, I tried all options and cases I could imagine. GCC works fine, either
with optimizations or without it. However ICC doesn't whatever option or
switches combination I used. I suppose the problem is in the libcxa intel
library. Still trying to investigate this hypothesis.

BTW, when the multithreading version of the POV-Ray will be availabe for
UNIX machines like mine?


Post a reply to this message

From: RedAndr
Subject: Re: Compiling POV-Ray 3.6.1 on IA64 using Intel Compiler
Date: 9 May 2007 15:40:03
Message: <web.4642232e1a9ccb3c6ee3c85e0@news.povray.org>
> I suppose the problem is in the libcxa intel
> library. Still trying to investigate this hypothesis.

Yes! Finally I solved the problem. It was really a problem of
incompatibility between gcc and intel libraries. So, to obtain working
binaries the
LDFLAGS="-cxxlib-icc -lcxa" should be supplied for the configure.

Result is pretty good, look at gcc vs icc timings:

Total Scene Processing Times
  Parse Time:    0 hours  0 minutes  0 seconds (0 seconds)
  Photon Time:   0 hours  0 minutes  4 seconds (4 seconds)
  Render Time:   0 hours  1 minutes 46 seconds (106 seconds)
  Total Time:    0 hours  1 minutes 50 seconds (110 seconds)

Total Scene Processing Times
  Parse Time:    0 hours  0 minutes  1 seconds (1 seconds)
  Photon Time:   0 hours  0 minutes  4 seconds (4 seconds)
  Render Time:   0 hours  1 minutes 13 seconds (73 seconds)
  Total Time:    0 hours  1 minutes 18 seconds (78 seconds)

Almost 1.5x speedup!


Post a reply to this message

From: Warp
Subject: Re: Compiling POV-Ray 3.6.1 on IA64 using Intel Compiler
Date: 9 May 2007 16:19:43
Message: <46422cdf@news.povray.org>
RedAndr <Red### [at] gmailcom> wrote:
> Almost 1.5x speedup!

  Which version of gcc? Did you compile a 32-bit or a 64-bit binary with it?

-- 
                                                          - Warp


Post a reply to this message

From: RedAndr
Subject: Re: Compiling POV-Ray 3.6.1 on IA64 using Intel Compiler
Date: 9 May 2007 16:35:01
Message: <web.4642300f1a9ccb3c6ee3c85e0@news.povray.org>
> Which version of gcc?
gcc (GCC) 3.3.3 (SuSE Linux)

> Did you compile a 32-bit or a 64-bit binary with it?
Only 64-bit. It wouldn't even possible to compile 32-bit binaries on
Itanium.


Post a reply to this message

From: Warp
Subject: Re: Compiling POV-Ray 3.6.1 on IA64 using Intel Compiler
Date: 9 May 2007 16:54:13
Message: <464234f5@news.povray.org>
RedAndr <Red### [at] gmailcom> wrote:
> > Which version of gcc?
> gcc (GCC) 3.3.3 (SuSE Linux)

  I think gcc4 has better support for 64-bit code.

-- 
                                                          - Warp


Post a reply to this message

From: RedAndr
Subject: Re: Compiling POV-Ray 3.6.1 on IA64 using Intel Compiler
Date: 9 May 2007 17:10:02
Message: <web.4642383a1a9ccb3c6ee3c85e0@news.povray.org>
>   I think gcc4 has better support for 64-bit code.
Ok, thanks. I will try it, however I am not sure it can compete with Intel
compiler anyway.


Post a reply to this message

Goto Latest 10 Messages Next 1 Messages >>>

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