Recipes for porting LHCb code to the Intel Compiler (icc)


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/
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 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