Message: Novice Example 2 visualization error. Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Novice Example 2 visualization error. 

Forum: Installation and Configuration
Date: 24 Feb, 2011
From: Nicholi Shiell <Nicholi Shiell>

Hello all,
I just finished compiling Geant4 on my laptop and it went off with out a hitch! I was pretty impressed since everyone was saying it was very difficult. To test out the installation I compiled novice example 2 and tried to run it with the following command:

nich@Hal:~/GEANT4/work/N02$ exampleN02 vis.mac

the output I got was:

*************************************************************
 Geant4 version Name: geant4-09-04 (17-December-2010)
                      Copyright : Geant4 Collaboration
                      Reference : NIM A 506 (2003), 250-303
                            WWW : http://cern.ch/geant4
*************************************************************


The materials defined are :


***** Table : Nb of materials = 3 *****

 Material: Air density: 1.290 mg/cm3 RadL: 285.161 m Nucl.Int.Length: 662.904 m Imean: 85.703 eV temperature: 273.15 K pressure: 1.00 atm
   ---> Element: Nitrogen (N) Z = 7.0 N = 14.0 A = 14.01 g/mole ElmMassFraction: 70.00 % ElmAbundance 72.71 %
   ---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole ElmMassFraction: 30.00 % ElmAbundance 27.29 %

 Material: Lead density: 11.350 g/cm3 RadL: 5.612 mm Nucl.Int.Length: 18.258 cm Imean: 823.000 eV
   ---> Element: Lead ( ) Z = 82.0 N = 207.2 A = 207.19 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 %

 Material: XenonGas density: 5.458 mg/cm3 RadL: 15.539 m Nucl.Int.Length: 326.401 m Imean: 482.000 eV temperature: 293.15 K pressure: 1.00 atm
   ---> Element: XenonGas ( ) Z = 54.0 N = 131.3 A = 131.29 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 %


Computed tolerance = 5.82e-08 mm
Target is 5 cm of Lead
There are 5 chambers in the tracker region. The chambers are 200 mm of XenonGas
 The distance between chamber is 80 cm
Visualization Manager instantiating with verbosity "warnings (3)"...
Visualization Manager initialising...
Registering graphics systems...

You have successfully registered the following graphics systems.
Current available graphics systems are:
  ASCIITree (ATree)
  DAWNFILE (DAWNFILE)
  G4HepRep (HepRepXML)
  G4HepRepFile (HepRepFile)
  RayTracer (RayTracer)
  VRML1FILE (VRML1FILE)
  VRML2FILE (VRML2FILE)
  gMocrenFile (gMocrenFile)

Registering model factories...

You have successfully registered the following model factories.
Registered model factories:
  generic
  drawByCharge
  drawByParticleID
  drawByOriginVolume
  drawByAttribute

Registered filter factories:
  chargeFilter
  particleFilter
  originVolumeFilter
  attributeFilter

/run/verbose 2
#
# Use this open statement to create an OpenGL view:
/vis/open OGL 600x600-0+0
parameter value is not listed in the candidate List.
***** Illegal parameter (0) </vis/open OGL 600x600-0+0> *****

***** Batch is interrupted!! *****
UserDetectorConstruction deleted.
UserPhysicsList deleted.
UserRunAction deleted.
UserPrimaryGenerator deleted.
G4 kernel has come to Quit state.
G4SDManager deleted.
EventManager deleted.
UImanager deleted.
Units table cleared.
StateManager deleted.
RunManagerKernel is deleted.
RunManager is deleting.

It looks like there was an error with the installation of OpenGL. I look back at the log file and the only error I see is this:

Building library management utility liblist ...
/usr/share/GEANT4/geant4.9.4/config/liblist.c: In function ‘main’:
/usr/share/GEANT4/geant4.9.4/config/liblist.c:202: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
/usr/share/GEANT4/geant4.9.4/config/liblist.c:264: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
/usr/share/GEANT4/geant4.9.4/config/liblist.c:327: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
/usr/share/GEANT4/geant4.9.4/config/liblist.c:426: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
Libraries installation completed !

I tried finding this problem in a couple of forums but had no luck. Does anyone know what I might have done wrong? Here is what I get when I type printenv:

CLHEP_LIB_DIR=/usr/share/CLHEP/lib
G4LEVELGAMMADATA=/usr/share/GEANT4/geant4.9.4/data/PhotonEvaporation2.1
ORBIT_SOCKETDIR=/tmp/orbit-nich
SSH_AGENT_PID=1607
G4INSTALL=/usr/share/GEANT4/geant4.9.4
TERM=xterm
SHELL=/bin/bash
XDG_SESSION_COOKIE=88f6c4bae526db9b1bc41d8b00000007-1298469362.990829-611247495
WINDOWID=46137348
OLDPWD=/home/nich/GEANT4/work
GNOME_KEYRING_CONTROL=/tmp/keyring-SzbdCc
G4NEUTRONXSDATA=/usr/share/GEANT4/geant4.9.4/data/G4NEUTRONXS1.0
GTK_MODULES=canberra-gtk-module
G4LEDATA=/usr/share/GEANT4/geant4.9.4/data/G4EMLOW6.19
USER=nich
XMFLAGS=
LD_LIBRARY_PATH=/usr/share/CLHEP/lib:/home/nich/root/lib:/usr/share/CLHEP/lib:/home/nich/root/lib:/home/nich/root/lib::/usr/share/GEANT4/geant4.9.4/lib/Linux-g++:/usr/share/CLHEP/lib
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
XMLIBS=
G4NEUTRONHPDATA=/usr/share/GEANT4/geant4.9.4/data/G4NDL3.14
SSH_AUTH_SOCK=/tmp/keyring-SzbdCc/ssh
G4VIS_BUILD_OPENGLX_DRIVER=1
G4RADIOACTIVEDATA=/usr/share/GEANT4/geant4.9.4/data/RadioactiveDecay3.3
DEFAULTS_PATH=/usr/share/gconf/gnome.default.path
SESSION_MANAGER=local/Hal:@/tmp/.ICE-unix/1577,unix/Hal:/tmp/.ICE-unix/1577
USERNAME=nich
G4ABLADATA=/usr/share/GEANT4/geant4.9.4/data/G4ABLA3.0
XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome:/etc/xdg
DESKTOP_SESSION=gnome
PATH=/home/nich/root/bin:/home/nich/root/bin:/home/nich/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/nich/GEANT4/work//bin/Linux-g++
G4LIB=/usr/share/GEANT4/geant4.9.4/lib
G4VIS_BUILD_RAYTRACERX_DRIVER=1
G4LIB_BUILD_SHARED=1
G4PIIDATA=/usr/share/GEANT4/geant4.9.4/data/G4PII1.2
PWD=/home/nich/GEANT4/work/N02
GDM_KEYBOARD_LAYOUT=us
CLHEP_BASE_DIR=/usr/share/CLHEP
LANG=en_US.utf8
GNOME_KEYRING_PID=1558
MANDATORY_PATH=/usr/share/gconf/gnome.mandatory.path
GDM_LANG=en_US.utf8
GDMSESSION=gnome
G4VIS_USE_OPENGLX=1
ROOTSYS=/home/nich/root
G4UI_USE_TCSH=1
G4VIS_USE_RAYTRACERX=1
CLHEP_INCLUDE_DIR=/usr/share/CLHEP/include
SHLVL=1
HOME=/home/nich
G4REALSURFACEDATA=/usr/share/GEANT4/geant4.9.4/data/RealSurface1.0
G4SYSTEM=Linux-g++
XAWLIBS=
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
LOGNAME=nich
XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-DGUeEeBBcB,guid=eedaca768a74e52816875cd4000000bd
G4WORKDIR=/home/nich/GEANT4/work/
LESSOPEN=| /usr/bin/lesspipe %s
WINDOWPATH=7
DISPLAY=:0.0
CLHEP_LIB=CLHEP
XAWFLAGS=
LESSCLOSE=/usr/bin/lesspipe %s %s
XAUTHORITY=/var/run/gdm/auth-for-nich-q2qSbQ/database
COLORTERM=gnome-terminal
_=/usr/bin/printenv

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

1 None: Re: Novice Example 2 visualization error.   (Joseph Perl - 24 Feb, 2011)
(_ None: Re: Novice Example 2 visualization error.   (Nicholi Shiell - 24 Feb, 2011)
 Add Message Add Message
to: "Novice Example 2 visualization error."

 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 ]