You are here

Intel Compiler and OS X Intel

2 posts / 0 new
Last post
Intel Compiler and OS X Intel

I edited $rosetta_source/tools/build/user.settings to enable the icc compiler, and then start the compile like this:

./ bin cxx=icc mode=release

And it appears to be using icc options with g++:

g++ -o build/src/release/macos/10.4/32/x86/icc/protocols/moves/kinematic_closure/dixon.os -c -Qoption,c,-ip_ninl_max_stats=500 -Qoption,c,-ip_ninl_max_total_stats=5000 -fPIC -Isrc -Iexternal/include -Isrc/platform/macos/32/icc -Isrc/platform/macos/32 -Isrc/platform/macos -Iexternal/boost_1_38_0 -I/usr/local/include -I/usr/include src/protocols/moves/kinematic_closure/
g++: unrecognized option '-Qoption,c,-ip_ninl_max_stats=500'
g++: unrecognized option '-Qoption,c,-ip_ninl_max_total_stats=5000'

Any ideas?

Tue, 2009-10-20 10:20

You could try further editing user.settings to force it to use the icc compiler instead of calling g++. Basically, look for the type of compiling you want in the basic.settings file, and fill those in as override options in user.settings.

It might also be that icc still isn't on the path scons expects for some reason?

We've also had issues in the past with "unsupported" versions of icc and gcc - basically there's a list of versions in basic.settings somewhere like [3.0, 3.1, 3.2, 4.0, 4.1, ...] and you can just add your version to that list to get it to work. (Of course untested compilers may throw compilation errors.) I don't think this is your problem.

Tue, 2009-10-20 11:47