|
|
hi,
i am trying to get some benchmarking numbers on the Itanium2, running
Debian.
I use the following ..
make CXX=icpc CC=icc CXXFLAGS="-O3 -cxxlib-icc -prof_gen
-prof_dir=/../../../povray4/povray-3.6.1/profgen1
-I/../../../povray4/povray3.6.1/libraries/jpeg " CFLAGS="-O3 -prof_gen
-prof_dir=/../../../povray4/povray-3.6.1/profgen1
-I/../../../povray4/povray-3.6.1/libraries/jpeg
-I/opt/intel_cc_80/include/c++"
this creates the .dyn files in my prof_dir folder.
Now when i try to run the benchmark..
time /../../../povray4/povray-3.6.1/unix/povray benchmark.ini
it fails giving the follwoing erro..
Persistence of Vision(tm) Ray Tracer Version 3.6.1 (icpc 8.1 @
ia64-unknown-linux-gnu)
This is an unofficial version compiled by:
ssp
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
Redirecting Options
All Streams to console..........On
Debug Stream to console.........On
Fatal Stream to console.........On
Render Stream to console........On
Statistics Stream to console....On
Warning Stream to console.......On
Parsing Options
Input file: benchmark.pov (compatible to version 3.50)
Remove bounds........On
Split unions.........Off
Library paths:
/povray-3.6/share/povray-3.6
/povray-3.6/share/povray-3.6/ini
/povray-3.6/share/povray-3.6/include
/share/povray-3.6
/share/povray-3.6/ini
/share/povray-3.6/include
/usr/local/share/povray-3.6
/usr/local/share/povray-3.6/ini
/usr/local/share/povray-3.6/include
Output Options
Image resolution 384 by 384 (rows 1 to 384, columns 1 to 384).
Graphic display......Off
Mosaic preview.......Off
CPU usage histogram..Off
Continued trace......Off
Tracing Options
Quality: 9
Bounding boxes.......On Bounding threshold: 3
Light Buffer.........On
Vista Buffer.........On Draw Vista Buffer....Off
Antialiasing.........On (Method 1, Threshold 0.300, Depth 3, Jitter 1.00)
Clock value: 0.000 (Animation off)
0:00:00 Parsing
File: benchmark.pov Line: 136
File Context (5 lines):
// Width=384
//
// ==================================================================
#version
Parse Error: Expected 'object or directive', undeclared identifier '' found
instead
Total Scene Processing Times
Parse Time: 0 hours 0 minutes 0 seconds (0 seconds)
Photon Time: 0 hours 0 minutes 0 seconds (0 seconds)
Render Time: 0 hours 0 minutes 0 seconds (0 seconds)
Total Time: 0 hours 0 minutes 0 seconds (0 seconds)
0.029u 0.008s 0:00.06 33.3% 0+0k 0+0io 0pf+0w
Any feedback will be appreciated.
thankyou,
shailesh
Post a reply to this message
|
|
|
|
> running
> Debian.
Not necessarily a good idea ;-) (private joke)
> I use the following ..
> make CXX=icpc CC=icc CXXFLAGS="-O3 -cxxlib-icc -prof_gen
> -prof_dir=/../../../povray4/povray-3.6.1/profgen1
> -I/../../../povray4/povray3.6.1/libraries/jpeg " CFLAGS="-O3 -prof_gen
> -prof_dir=/../../../povray4/povray-3.6.1/profgen1
> -I/../../../povray4/povray-3.6.1/libraries/jpeg
> -I/opt/intel_cc_80/include/c++"
In general, you'd better pass all those flags at configure time,
as giving them to 'make' will override anything that configure has set.
But in this particular context that is not critical. Only I'm not sure
whether the linker gets the correct -prof_xxx flags here.
> this creates the .dyn files in my prof_dir folder.
Only when you actually run the binary :-)
Note that running configure will also create some .dyn files. You
should remove them before running povray on your test suite (or at least,
before profmerge will be used to compile the final binary with PGO).
Also you might need to add other platform-specific flags at the final
compilation pass to better suit your Itanium2; check the icc docs.
> #version
> Parse Error: Expected 'object or directive', undeclared identifier '' found
> instead
Assuming your benchmark.pov file was not screwed up somehow, it seems
you indeed have a problem with the binary you compiled. I have myself prepared
several binaries with icc 8.1 and PGO, similarly as you did, and don't face
such problem. The only important difference is that I don't use the -cxxlib-icc
flag, i.e. icc links with the gcc libs instead (which is the default behaviour;
in my case these are the 3.4.x gcc libs).
I'd suggest to try again without the flag (if gcc is installed on your
system) and see whether it solves your problem. Otherwise I have no idea what
can possibly happen here :-(
- NC
PS: just out of curiosity, which version of glibc is installed on your Debian
distro?
Post a reply to this message
|
|