Message: Can't run example B1 in graphic model Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Can't run example B1 in graphic model 

Forum: (Graphical) User Interfaces
Date: 10 Jul, 2014
From: <junhui.works@gmail.com>

Hi,

I've recently installed Geant4.10.0.p02 on a Linux machine(SL6.5). I can run example B1 in the non-graphic model without any problem(by following http://geant4.slac.stanford.edu/SLACTutorial14/HandsOn1/); while once I switched to the graphic model, the problem was there. Error messages are shown in [1] .

Following relative posts like this one : http://hypernews.slac.stanford.edu:5090/HyperNews/geant4/get/installconfig/1612/1/1/1/1.html, I created a new directory and modified the cmake command like "cmake -DGeant4_DIR=/home/junhui/geantf/geantf_install/lib64/Geant4-10.0.2 -DGEANT4_USE_OPENGL_X11=ON /home/junhui/geantf/geantf_install/share/Geant4-10.0.2/examples/basic/B1" . The problem was still there.

Considering the possible reason is due to the lack of QT in this machine, I've downloaded QT5.3 , and re-installed the geant4. No any improvement neither. Also, I need to point out that the Qt hasn't been installed in the directory of geant4 source code, instead, it's in another directory. I assumed geant4 can find it.

Can any people kindly please help me out ?

Thanks in advance !

Best, Junhui

[1] [junhui@damic-qf build_newB1]$ ./exampleB1

*************************************************************
 Geant4 version Name: geant4-10-00-patch-02    (13-June-2014)
                      Copyright : Geant4 Collaboration
                      Reference : NIM A 506 (2003), 250-303
                            WWW : http://cern.ch/geant4
*************************************************************

<<< Reference Physics List QBBC Checking overlaps for volume Envelope ... OK! Checking overlaps for volume Shape1 ... OK! Checking overlaps for volume Shape2 ... OK! ### Adding tracking cuts for neutron TimeCut(ns)= 10000 KinEnergyCut(MeV)= 0 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

You have successfully registered the following user vis actions. Run Duration User Vis Actions: none End of Event User Vis Actions: none End of Run User Vis Actions: none

Some /vis commands (optionally) take a string to specify colour.
Available colours:
  black, blue, brown, cyan, gray, green, grey, magenta, red, white, yellow

Available UI session types: [ GAG, tcsh, csh ] /control/saveHistory /run/verbose 2

#
# Visualization setting
/control/execute vis.mac
# Macro file for the visualization setting in the initialization phase
# of the B1 example when running in interactive mode
#
# Use these open statements to open selected visualization
#
# 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!! ***** Idle>

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

1 None: Re: Can't run example B1 in graphic model   (John Allison - 11 Jul, 2014)
(_ None: Re: Can't run example B1 in graphic model   (junhui.works@gmail.com - 11 Jul, 2014)
1 None: Re: Can't run example B1 in graphic model   (John Allison - 11 Jul, 2014)
2 Idea: Re: Can't run example B1 in graphic model   (Garnier Laurent - 15 Jul, 2014)
 Add Message Add Message
to: "Can't run example B1 in graphic model"

 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 ]