Intel Compiler and OS X Intel

Member Site Forums Rosetta 3 Rosetta 3 – General Intel Compiler and OS X Intel

Viewing 1 reply thread
  • Author
    Posts
    • #374
      Anonymous

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

        ./scons.py 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/dixon.cc
        g++: unrecognized option ‘-Qoption,c,-ip_ninl_max_stats=500’
        g++: unrecognized option ‘-Qoption,c,-ip_ninl_max_total_stats=5000’

        Any ideas?

      • #4243
        Anonymous

          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.

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.