Recipes for porting LHCb code to the Intel Compiler (icc)
Usage
The Intel compiler is a commercial product that requires a license, available site wide at CERN. To use icc, you have to be on a CERN slc5 machine, and type the following commands to set up the environment:
source /afs/cern.ch/sw/IntelSoftware/linux/x86_64/Compiler/11.1/072/bin/intel64/iccvars_intel64.csh setenv INTEL_LICENSE_FILE 28518@lxlic01.cern.ch:28518@lxlic02.cern.ch:28518@lxlic03.cern.ch setenv CMTCONFIG x86_64-slc5-icc11-dbg |
Coding recommendations
Common warnings
warning #654: overloaded virtual function "Base::f" is only partially overridden in class "Derived"
Occurs when the Derived class provides overridden virtual function for one overload but not the complete set of overloads. You can resolve the warning by adding the missing function overloads, that typically would just call the Base class functions.
warning #1125 function "Base::f()" is hidden by "Derived::f" -- virtual function override intended?
Occurs when Derived class implements the Base virtual function that is another entity with same name and different parameters. See
intel.com article
.
--
MarcoCattaneo - 22-Feb-2011