Message: Re: 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

None Re: Intel Compiler (2016.3.06), Linux, and Geant4.10.p01 

Forum: Installation and Configuration
Re: Question Intel Compiler (2016.3.06), Linux, and Geant4.10.p01 (William Donahue)
Date: 04 Jul, 2017
From: Guy Barrand <Guy Barrand>

  HI All

 I fall on the same issue with a 10.03.p01 with clang 3.4, 3.5, 3.9 on an ubuntu VM. (While with the
g++ 4.8 it is ok).  Are we sure that it is a clang and/or icc problem and not g++ that takes liberty
with the STL standard around the usage of unoreder_map class done in
 G4FastPathHadronicCrossSection.hh ?

 (The code is rather tricky to follow, not so clear to me what the compilers want when asking to
"Cache the hash code etc...")

  Cheers. Guy

In file included from /usr/local/geant4/10.03.p01_clang34/geant4.10.03.p01/source/processes/hadronic/cross_sections/include/G4CrossSectionDataStore.hh:50:
In file included from /usr/local/geant4/10.03.p01_clang34/geant4.10.03.p01/source/processes/hadronic/cross_sections/include/G4FastPathHadronicCrossSection.hh:34:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/unordered_map:47:
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/hashtable.h:268:7: error: static_assert failed
      "Cache the hash code or make functors involved in hash code and bucket index computation default constructible"
      static_assert(__if_hash_not_cached<

 Add Message Add Message
to: "Re: 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 ]