Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Mikhail_O_
Beginner
62 Views

icc -xMIC-AVX512 internal error: IERROR_MODULE_ID_1204

 

I was trying to compile Geant4 package with parallel_studio_xe_2017.4.056 software (on CentOS Linux release 7.3.1611, machine KNL Xeon Phi CPU 7210), it was working fine however when I tried to compile static libraries it gave me:

geant4.10.02/source/processes/electromagnetic/standard/src/G4PAIxSection.cc(874) (col. 1): internal error: IERROR_MODULE_ID_1204

there is nothing special about line 874 in the quoted file (definition of a function), and it compiles into shared libraries and runs well. It also compiles on Xeon E5 machine with the same flags. Cross compilation on Xeon E5 yields the same error. I am wondering why static libraries give me this error?

Here is the code around line 874:


873   void G4PAIxSection::NormShift(G4double betaGammaSq)
874   {
875      G4int i, j;

876      if(fVerbose>0) G4cout<<"      G4PAIxSection::NormShift call "<<G4endl;

 

0 Kudos
4 Replies
Viet_H_Intel
Moderator
62 Views

Hi Mikhail,

Can you create a preprocess file for G4PAIxSection.cc, then provide it to us along with your command line options?

Regards,

Viet Hoang

Mikhail_O_
Beginner
62 Views

The compilation command was:

icpc -DG4EM_ALLOC_EXPORT -DG4HADRONIC_ALLOC_EXPORT -DG4MULTITHREADED -DGEANT4_DEVELOPER_RelWithDebInfo -DXML_STATIC -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/externals/clhep/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/digits_hits/detector/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/digits_hits/hits/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/geometry/biasing/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/geometry/magneticfield/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/geometry/management/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/geometry/navigation/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/geometry/volumes/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/global/HEPGeometry/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/global/HEPRandom/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/global/management/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/intercoms/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/materials/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/particles/management/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/cuts/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/electromagnetic/utils/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/management/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/transportation/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/track/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/biasing/management/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/biasing/generic/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/biasing/importance/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/geometry/solids/CSG/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/decay/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/global/HEPNumerics/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/particles/adjoint/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/particles/bosons/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/particles/hadrons/barions/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/particles/hadrons/ions/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/particles/hadrons/mesons/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/particles/leptons/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/electromagnetic/standard/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/electromagnetic/adjoint/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/electromagnetic/lowenergy/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/electromagnetic/dna/models/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/electromagnetic/dna/utils/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/electromagnetic/dna/molecules/management/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/electromagnetic/dna/molecules/types/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/electromagnetic/dna/management/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/electromagnetic/dna/processes/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/electromagnetic/muons/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/electromagnetic/highenergy/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/electromagnetic/pii/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/electromagnetic/polarisation/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/electromagnetic/xrays/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/management/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/util/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/util/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/cross_sections/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/management/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/de_excitation/handler/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/de_excitation/evaporation/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/abla/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/particles/shortlived/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/de_excitation/ablation/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/de_excitation/fermi_breakup/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/de_excitation/management/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/de_excitation/multifragmentation/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/de_excitation/photon_evaporation/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/de_excitation/util/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/im_r_matrix/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/pre_equilibrium/exciton_model/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/processes/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/abrasion/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/binary_cascade/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/cascade/cascade/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/coherent_elastic/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/de_excitation/fission/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/de_excitation/gem_evaporation/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/em_dissociation/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/particle_hp/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/fission/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/inclxx/utils/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/inclxx/incl_physics/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/inclxx/interface/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/externals/expat/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/lend/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/parton_string/hadronization/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/parton_string/diffraction/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/parton_string/management/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/theo_high_energy/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/lepto_nuclear/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/externals/zlib/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02-build/source/externals/zlib -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/parton_string/qgsm/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/qmd/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/radioactive_decay/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/quasi_elastic/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/models/rpg/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/scoring/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/hadronic/stopping/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/optical/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/phonon/include -I/farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/parameterisation/include  -xMIC-AVX512 -qopenmp -O2 -mkl -mcmodel=large -fp-model fast=1 -fimf-domain-exclusion=15 -DG4USE_STD11 -pthread -ftls-model=initial-exec -O2 -g   -std=c++11 -o CMakeFiles/G4processes-static.dir/electromagnetic/standard/src/G4PAIxSection.cc.o -c /farmdisk1/osipenko/cern_intel/geant4.10.02/source/processes/electromagnetic/standard/src/G4PAIxSection.cc

I have made a preprocess file by addind "-EP -P" to the command above and taking the obtained *.o file. Let me know if it is correct way to produce it. I have noticed also that with -O1 it compiles...

 

Viet_H_Intel
Moderator
62 Views

 

Thanks for the .i file. I'll look at it and get back to you.

Regards,

Viet Hoang

Viet_H_Intel
Moderator
62 Views

 

Hi Mikhail,

This looks like a compiler bug. I'll report it to our developer for a fix. In the meantime, can you compile G4PAIxSection.cc at -O1 or remove  -xMIC-AVX512 as a workaround?

Regards,

Viet Hoang