User:Mtmiller/Notes
Jump to navigation
Jump to search
Intel Compiler
To compile Octave with the Intel compiler (tested with version 12.0.0.084) pass the following variables to configure:
Code: Intel compiler variables |
CC=icc CXX=icpc F77=ifort CFLAGS="-g -O2 -diag-error 10006,10155,10156,10157,10158" CXXFLAGS="-g -O2 -diag-error 10006,10155,10156,10157,10158 -diag-disable 654,1125" FFLAGS="-g -O2 -diag-error 10006,10155,10156,10157,10158" |
The -diag-error
options tell the compiler to treat unknown options as errors instead of warnings, this is to allow the checks in the configure script for supported options to work.
The -diag-disable 654,1125
for C++ turns off warnings about shadowing member functions. I may turn these back on at some point to compile a list of these warnings, but ignore for now.