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

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2011-02-22 - MarcoCattaneo
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback