Message: Error Using g4py Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Error Using g4py 

Forum: Run Management
Date: 02 Mar, 2009
From: Jorge Ferrera <Jorge Ferrera>

Hello everybody. I am a novice in using geant4. Well, I am trying to using g4py but I am having problems in compilation (make), that is my error: pyPhysicsLists.cc:90:24 QGSP_BIC2.hh: No such file or directory pyPhysicsLists.cc: In function 'void export_PhysicsLists()': pyPhysicsLists.cc:264: error 'QGSP_BIC2' was not declared in this scope pyPhysicsLists.cc:264: error 'QGSP_BIC2' cannot appear in a constant-expression pyPhysicsLists.cc:264: error template argument 1 is invalid pyPhysicsLists.cc:264: error template argument 2 is invalid make[2]: ***[pyPhysicsLists.o] Error 1

Well, this is the only error, but I can finish the make command
That was just an error than I try to execute g4py after using make install
Well, i received another error after python and from Geant4 import *:
Traceback (most recent call last):
 File "<stdin>", line 1, in ?
 File "Geant4/__init__.py", line 36, in ?
  from G4interface import *
ImportError: Geant4/G4interface.so: undefined symbol: _ZN11G4UImanager12GetUIpointerEv

I am using python 2.3.4 and Geant4 version 4.9.1 on SL (so)

Someone knows what can I try to execute g4py? Maybe using another version? I dunno thanks in advanced for answers and bye bye.

 Add Message Add Message
to: "Error Using g4py"

 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 ]