Message: Geant with Intel compiler on Windows Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Geant with Intel compiler on Windows 

Forum: Installation and Configuration
Date: 13 Jun, 2015
From: Alexey Solovyev <Alexey Solovyev>

Is there a proper correct way to build Geant4 with Intel compiler on Windows (better without modifying Geant sources)?

I encountered several problems with Intel C++ Compiler 15.0, Geant4-10.1p01, CMake and MS Visual Studio 2013:

1) CMake doesn't have option for Intel compiler

2) If manually force to use icl.exe as C/C++ compiler, CMake still recognize MSVC 17 and build project for it

3) Project - Intel Compiler - Use Intel C++ option at MSVC works properly only for static build. When BUILD_SHARED_LIBS turned on only 'genwindef' project can switch to Intel properly.

4) Recommended option from for Intel '-fp-model precise' doesn't work on Windows

4) GEANT4_BUILD_CXXSTD is ignored on Windows by CMake, but while setting manually to use C++11 (e.g. Properties - Language - Enable C++ 11 Support) some projects cannot be build (e.g. G4expat-static)

5) 'error : expected identifier ... detected during' is for all calls for std::max at G4SimplexDownhill.icc and (though Intel's interprocedural optimization turned off)

6) In some projects WIN32 is not set as preprocessor definition and that caused several errors

Finally I was able to manually build G4clhep-static, G4expat-static, G4global-static, G4zlib-static with several source changes (and genwindef but seems it is ignored) and no other projects with lots of errors. Do you have any suggestions whether it will be possible to fix or do you have intends to make a Geant builds with Intel compiler on Windows in future?

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

1 None: Re: Geant with Intel compiler on Windows   (Alexey Solovyev - 09 Jul, 2015)
 Add Message Add Message
to: "Geant with Intel compiler on Windows"

 Subscribe Subscribe

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

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]