Message: Intel Compiler (2016.3.06), Linux, and Geant4.10.p01 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Intel Compiler (2016.3.06), Linux, and Geant4.10.p01 

Forum: Installation and Configuration
Date: 30 May, 2016
From: William Donahue <William Donahue>

Hi All,

So I have been trying to install Geant4 on my linux VM using the latest Intel Compilers. The code compiles fine with gcc/g++ but when i use the Intel Compiler I get the following error:

In file included from /Work/wdonah2/g4install/geant4.10.02.p01/source/processes/hadronic/cross_sections/src/G4CrossSectionDataStore.cc(45):
/usr/include/c++/4.8.5/bits/hashtable.h(268): error: static assertion failed with "Cache the hash code or make functors involved in hash code and bucket index computation default constructible"
        static_assert(__if_hash_not_cached<
        ^
In file included from /Work/wdonah2/g4install/geant4.10.02.p01/source/processes/hadronic/cross_sections/src/G4CrossSectionDataStore.cc(45):
          detected during:
In file included from /Work/wdonah2/g4install/geant4.10.02.p01/source/processes/hadronic/cross_sections/src/G4CrossSectionDataStore.cc(45):
            instantiation of class "std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits> [with _Key=G4FastPathHadronicCrossSection::G4CrossSectionDataStore_Key, _Value=std::pair<const G4FastPathHadronicCrossSection::G4CrossSectionDataStore_Key, G4FastPathHadronicCrossSection::cycleCountEntry *>, _Alloc=std::allocator<std::pair<const G4FastPathHadronicCrossSection::G4CrossSectionDataStore_Key, G4FastPathHadronicCrossSection::cycleCountEntry *>>,
                      _ExtractKey=std::__detail::_Select1st, _Equal=G4FastPathHadronicCrossSection::G4CrossSectionDataStore_Key_EqualTo, _H1=G4FastPathHadronicCrossSection::G4CrossSectionDataStore_Key_Hash, _H2=std::__detail::_Mod_range_hashing, _Hash=std::__detail::_Default_ranged_hash, _RehashPolicy=std::__detail::_Prime_rehash_policy, _Traits=std::__umap_traits<false>]" at line 100 of "/usr/include/c++/4.8.5/bits/unordered_map.h"
In file included from /Work/wdonah2/g4install/geant4.10.02.p01/source/processes/hadronic/cross_sections/src/G4CrossSectionDataStore.cc(45):
            instantiation of class "std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc> [with _Key=G4FastPathHadronicCrossSection::G4CrossSectionDataStore_Key, _Tp=G4FastPathHadronicCrossSection::cycleCountEntry *, _Hash=G4FastPathHadronicCrossSection::G4CrossSectionDataStore_Key_Hash, _Pred=G4FastPathHadronicCrossSection::G4CrossSectionDataStore_Key_EqualTo, _Alloc=std::allocator<std::pair<const G4FastPathHadronicCrossSection::G4CrossSectionDataStore_Key,
                      G4FastPathHadronicCrossSection::cycleCountEntry *>>]" at line 150 of "/Work/wdonah2/g4install/geant4.10.02.p01/source/processes/hadronic/cross_sections/include/G4CrossSectionDataStore.hh"
In file included from /Work/wdonah2/g4install/geant4.10.02.p01/source/processes/hadronic/cross_sections/src/G4CrossSectionDataStore.cc(45):

compilation aborted for /Work/wdonah2/g4install/geant4.10.02.p01/source/processes/hadronic/cross_sections/src/G4CrossSectionDataStore.cc (code 2)

I am using CentOS 7. I know different compilers have problems with different things but I don't know what flag to use when compiling this to make it better.

Any Ideas?

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

1 Note: Re: Intel Compiler (2016.3.06), Linux, and Geant4.10.p01   (William Donahue - 01 Jun, 2016)
2 None: Re: Intel Compiler (2016.3.06), Linux, and Geant4.10.p01   (Guy Barrand - 04 Jul, 2017)
3 None: Re: Intel Compiler (2016.3.06), Linux, and Geant4.10.p01   (Guy Barrand - 04 Jul, 2017)
4 None: unordered_map problem also with clang on an ubuntu.   (Guy Barrand - 05 Jul, 2017)
1 Feedback: Re: unordered_map problem also with clang on an ubuntu.   (Gabriele Cosmo - 06 Jul, 2017)
(_ None: Re: unordered_map problem also with clang on an ubuntu.   (Guy Barrand - 06 Jul, 2017)
 Add Message Add Message
to: "Intel Compiler (2016.3.06), Linux, and Geant4.10.p01"

 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 ]