Message: Re: Compile Geant4 with intel compiler on Ubuntu Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: Compile Geant4 with intel compiler on Ubuntu 

Forum: Multithreading
Re: Note Compile Geant4 with intel compiler on Ubuntu (Don Vernekohl)
Date: 18 Aug, 2016
From: Andrea Dotti <Andrea Dotti>

Hello, thank you for the feedback. I want to add an important point that it may be relevant for this topic. Since 10.2 Geant4 requires c++11 standard-enabled compiler.

When using Intel Compiler (icc), the compiler itself requires that the Linux OS has ALSO configured correctly a gcc system. This is called "compatibility layer". Due to some known bugs with icc you need to be sure that gcc 4.9 (or more recent) is available and setup correctly in your system to use icc:
 1. Setup gcc 4.9 or more recent. Try: gcc --version to verify that the correct one is picked up
 2. Setup icc and check the compatibility layer: "icc -x c++ -E -v < /dev/null" verify that the very first line claims the compatibility is gcc 4.9 (or whatever setup in step 1.)
 3. Follow the instructions on the twiki to compile G4 for icc. G4 should compile out of the box.

Andrea

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 More: Re: Compile Geant4 with intel compiler on Ubuntu   (Don Vernekohl - 19 Aug, 2016)
(_ Ok: Re: Compile Geant4 with intel compiler on Ubuntu   (Don Vernekohl - 30 Aug, 2016)
(_ Feedback: Re: Compile Geant4 with intel compiler on Ubuntu   (Andrea Dotti - 02 Sep, 2016)
(_ Question: Re: Compile Geant4 with intel compiler on Ubuntu   (EugenyZhevak - 12 Sep, 2016)
(_ Ok: Re: Compile Geant4 with intel compiler on Ubuntu   (EugenyZhevak - 12 Sep, 2016)
 Add Message Add Message
to: "Re: Compile Geant4 with intel compiler on Ubuntu"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews