Message: problem with OGLIX Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question problem with OGLIX 

Keywords: problem with OGLIX
Forum: Documentation and Examples
Date: 29 Jul, 2005
From: Juan <Juan>

I have installed GEANT4 7.1
with gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-52)

The env variables are
On this machine the G4SYSTEM=Linux-g++
On this machine the G4INSTALL=/usr/local/geant4/geant4.7.1
On this machine the G4LIB=/usr/local/geant4/geant4.7.1/lib
On this machine the G4LEVELGAMMADATA=/usr/local/geant4/geant4.7.1/data/PhotonEvaporation2.0
On this machine the G4RADIOACTIVEDATA=/usr/local/geant4/geant4.7.1/data/RadiativeDecay3.0
On this machine the G4LEDATA=/usr/local/geant4/geant4.7.1/data/G4EMLOW3.0
On this machine the NeutronHPCrossSections=/usr/local/geant4/geant4.7.1/data/G4NDL3.7
On this machine the G4ELASTICDATA=/usr/local/geant4/geant4.7.1/data/G4ELASTIC1.1
On this machine the CLHEP_BASE_DIR=/usr/local/clhep
On this machine the CLHEP_INCLUDE_DIR=/usr/local/clhep/include
On this machine the CLHEP_LIB_DIR=/usr/local/clhep/lib
On this machine the CLHEP_LIB=CLHEP
On this machine the G4UI_BUILD_XAW_SESSION=1
On this machine the G4UI_USE_XAW=1
On this machine the G4UI_BUILD_XM_SESSION=1
On this machine the G4UI_USE_XM=1
On this machine the G4VIS_BUILD_DAWN_DRIVER=1
On this machine the G4VIS_BUILD_OPENGLX_DRIVER=1
On this machine the G4VIS_BUILD_OPENGLXM_DRIVER=1
On this machine the G4VIS_BUILD_VRML_DRIVER=1
On this machine the G4VIS_USE_DAWN=1
On this machine the G4VIS_USE_OPENGLX=1
On this machine the G4VIS_USE_OPENGLXM=1
On this machine the G4VIS_USE_VRML=1
On this machine the OGLHOME=/usr/X11R6
On this machine the G4LIB_BUILD_STATIC=1
On this machine the G4LIB_USE_GRANULAR=1
On this machine the G4UI_USE_TCSH=1
In your environment you have the G4WORKDIR=.

When I compile any example I have a warning like this :

......
Making dependency for file src/ExN02DetectorConstruction.cc ...
Making dependency for file src/ExN02ChamberParameterisation.cc ...
make: *** Warning: File `tmp/Linux-g++/exampleN02/exe/exampleN02.d' has modification time in the future (2005-07-29 12:32:20 > 2005-07-29 12:30:41.834185)
Compiling ExN02ChamberParameterisation.cc ...
Compiling ExN02DetectorConstruction.cc ...
......
Creating/replacing object files in ./tmp/Linux-g++/exampleN02/libexampleN02.a ...
Compiling exampleN02.cc ...
Using granular libraries ...
Linking exampleN02 ...
make: warning:  Clock skew detected.  Your build may be incomplete.

Is it normal ? If not, somebody has an idea where this warning comes from?

When I run the program exampleN02 with HepRepFile and DAWNFILE it gives
me a good view of the set up but with OGLIX and OGLSX it gives the
same error :

.....
/vis/open OGLIX
/vis/sceneHandler/create OGLIX
/vis/sceneHandler/attach
/vis/viewer/create ! ! 600
G4OpenGLViewer::G4OpenGLViewer X Server has no GLX extension.
G4OpenGLImmediateX::CreateViewer: error flagged by negative view id in G4OpenGLImmediateXViewer creation.
 Destroying view and returning null pointer.
ERROR in G4VisManager::CreateViewer during OpenGLImmediateX viewer creation.
  No action taken.
Memory fault

As shown before, I have the enviremental variable 
OGLHOME=/usr/X11R6
where the OGL include and lib directories are

Somme body have an idea of where is the problem ?

Thanks

Juan

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: problem with OGLIX   (John Allison - 15 Aug, 2005)
3 Idea: Re: problem with OGLIX   (Juan - 30 Aug, 2005)
 Add Message Add Message
to: "problem with OGLIX"

 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 ]