Re: [VMC] VMC+geant4

From: paolo maestro (paolo.maestro@pi.infn.it)
Date: Wed Apr 21 2004 - 12:20:32 MEST


Hi Ivana,
I have recompiled the G4 dynamic libraries and now
the example03 is working . Probably last time I forgot to set some
enviroment variable
when I built them.
Anyhow, I have one more question to ask
When I run the ex03 with
     > root run_g4.C
     I got the warning message I put in attachment concerning the G4
visualization
     libraries. Is it what you expect ? I mean , since VMC is using the
TGeoManager classes
     to track particles and also for visualization (if I'm not mistaken),
     how the G4 visualization libraries are handled ?
     In fact I built the G4 VRML  drivers and set the G4_VIS_VRML
environment variable
     but it seems that has no effect.

Thanks
Best regards
                Paolo




Ivana Hrivnacova wrote:

>  Hi Paolo,
>
>  Change in geant4_vmc/examples/macro/g4libs.C
>  the order of the libraries G4cuts and G4transportation
>  to:
>   gSystem->Load("libG4cuts");
>   gSystem->Load("libG4transportation");
>
>  Let me know, if it helps.
>  What is your platform & compiler version?
>  (I don't get your error on my system.)
>
>  Best regards,
>
>  Ivana
>
> ==============================================================
> e-mail:  Ivana.Hrivnacova@cern.ch
> address: Institut Physique Nucleaire, 91406 Orsay, France
> phone:   (33) 01 69 15 65 94
> ==============================================================
>
> On Wed, 14 Apr 2004, paolo maestro wrote:
>
> > Hi ,
> > I installed geant4.6.0 and geant4_vmc1.2.
> > When I try to run the example03 ,
> > I got the following error
> >
> > /geant4.6.0.p01/lib/tgt_Linux/libG4transportation.so: undefined symbol
> > GetProductionCutsTable__21G4ProductionCutsTable
> >
> > failed to load dynamic link library libG4transportation.so ...
> >
> >
> > Can you tell me where is the error?
> > Thanks
> >             Paolo
> >
> >
> >
> >
> >
> >
>
> --

--
Paolo Maestro
Universita' di Siena-INFN
Phone ++39-050-2214349
      ++39-050-2214356
Fax   ++39-050-2214317







Visualization Manager instantiating...
Visualization Manager initialising...
Registering graphics systems...
G4VisManager::GetAvailableGraphicsSystems: WARNING: no
 graphics system available!
  1) Did you have environment variables G4VIS_BUILD_xxxx_DRIVER set
     when you compiled/built the visualization code?
  2) Did you instantiate your own Visualization Manager and forget
     to implement RegisterGraphicsSystems correctly?
  3) You can register your own graphics system, e.g.,
     visManager->RegisterGraphicsSystem(new MyGraphicsSystem);)
     after instantiating your vis manager and before
     visManager->Initialize().
G4VisManager::GetAvailableGraphicsSystems: WARNING: no
 graphics system available!
  1) Did you have environment variables G4VIS_BUILD_xxxx_DRIVER set
     when you compiled/built the visualization code?
  2) Did you instantiate your own Visualization Manager and forget
     to implement RegisterGraphicsSystems correctly?
  3) You can register your own graphics system, e.g.,
     visManager->RegisterGraphicsSystem(new MyGraphicsSystem);)
     after instantiating your vis manager and before
     visManager->Initialize().
Geant4 has been created.
SetNewValueToAll



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 11:25:00 MET