makefile - g4py building errors with TLS reference -
I'm trying to compile g4py I have already used ".configure" and now I am trying to run "make", but some errors are shown during the compilation, all of which look like this before:
Building a module G4event.so ... / usr / bin / ld: anEventAllocator: /home/marcin/geant4/geant4.10.0-install/lib64/libG4persistency.so in TLS reference pyG4Event.o / home / Non-TLS reference mismatch is Marcin / GIT4 / GIT 4.10.0 -instal / Lib 64 / BBG4 Persistency. SE: Error adding signal: Poor Value Assemble 2: Error: Returned to exit position of LD1 The same erros and then I can not import g4py due to error:
Traceback (most recent call final): File "& lt; stdin>", line 1, & lt; Module & gt; The file "/home/marcin/geant4/geant4.10.0-install/g4py/lib/Geant4/__init__.py", line 17, & lt; Module & gt; Import from G4intercoms import * Import: /home/marcin/geant4/geant4.10.0-install/g4py/lib/Geant4/G4intercoms.so: Undefined Icons: G4cout Does anyone know What are you going to do about it ??
Be sure to link to the non-multithreading build of Gir 4.10, as g4py does not have multithreading support However, when configuring your GEANT4 configuration using - you can create a non-multithreading version by specifying DGEANT4_BUILD_MULTITHREADED = OFF.
Comments
Post a Comment