Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29284 Discussions

icpc in Linux, compiling pbrt -- IPO breaks program

quince
Beginner
421 Views
pbrt is the physically based renderer from pbrt.org
I'm building on a dual Xeon machine.
I tried to compile as follows, by changing the Makefile:
CXX=icpc
OPT=-ipo -O3 -no-prec-div -axP -ssp -parallel
When running the executable, it has a problem finding routines in the library files, with errors such as:
Error: Can't open plug-in "some_path/pbrt/bin/distant.so" (some_path/pbrt/bin/distant.so: undefined symbol: _ZNK5Scene10WorldBoundEv)
Changing -ipo to -ip fixes the problem. However, this is an unsatisfactory compromise, as I've found that multi-file IPO gives significant results on this kind of C++ program. Any suggestions how to get -ipo to work OK in this instance?
0 Kudos
0 Replies
Reply