Message: Problem with exampleN02 (Graphics) Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Problem with exampleN02 (Graphics) 

Forum: Documentation and Examples
Date: 31 Dec, 2003
From: San <San>

Hi! I have problem with exampleN02. What is wrong with my execution of exampleN02?

After I've typed the command of "% exampleN02" to execute N02 in 'interactive mode' with visualization, according to README in N02, result as below came out, and I didn't see any graphics:

 [root@... N02]# /.../geant4/bin/exampleN02
 **********************************************
  Geant4 version $Name: geant4-06-00 $
                                 (12-December-2003)
              Copyright : Geant4 Collaboration
 **********************************************
 Visualization Manager instantiating...
 Visualization Manager initialising...
 Registering graphics systems...

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

 The materials defined are :

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

  Material:      Air     density:  1.290 mg/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength: 285.161 m
    --->  Element: Nitrogen  N   Z =  7.0   N =  14.0   A =  14.01 g/mole  fractionMass:  70.00 %  Abundance  72.71 %
    --->  Element:   Oxygen  O   Z =  8.0   N =  16.0   A =  16.00 g/mole  fractionMass:  30.00 %  Abundance  27.29 %

  Material:     Lead     density: 11.350 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:   5.612 mm
    --->  Element:     Lead      Z = 82.0   N = 207.2   A = 207.19 g/mole  fractionMass: 100.00 %  Abundance 100.00 %

  Material: XenonGas     density:  5.458 mg/cm3  temperature: 632420632.24 K  pressure:   0.00 atm  RadLength:  15.539 m
    --->  Element: XenonGas      Z = 54.0   N = 131.3   A = 131.29 g/mole  fractionMass: 100.00 %  Abundance 100.00 %

 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

 phot:  Total cross sections from Sandia parametrisation.
 /run/verbose 2
 #
 # create empty scene
 #
 /vis/scene/create
 #
 # Create a scene handler for a specific graphics system
 # (Edit the next line(s) to choose another graphic system)
 #
 ####/vis/open OGLIX
 #
 /vis/open DAWNFILE
 /vis/sceneHandler/create DAWNFILE
 1 DAWNFILE scene handlers extanct.
 /vis/sceneHandler/attach
 /vis/viewer/create ! ! 600
 WARNING: objects with visibility flag set to "false" will not be drawn!
   "/vis/viewer/set/culling global false" to Draw such objects.
   Also see other "/vis/viewer/set" commands.
 #
 # draw scene
 #
 /vis/viewer/set/viewpointThetaPhi 90 180 deg
 /vis/viewer/zoom 1.4
 /vis/viewer/flush
 /vis/viewer/refresh viewer-0
 Your "world" has no vis attributes or is marked as visible.
   For a better view of the contents, mark the world as invisible, e.g.,
   myWorldLogicalVol -> SetVisAttributes (G4VisAttributes::Invisible);
 G4Scene::AddWorldIfEmpty: The scene was empty,
    "world" has been added.
 ===========================================
 Output file: g4_01.prim
 Destination directory (current dir if NULL):
 Maximal number of files in the destination directory: 100
 Note:
   * The maximal number is customizable as:
        % setenv  G4DAWNFILE_MAX_FILE_NUM  number
   * The destination directory is customizable as:
        % setenv  G4DAWNFILE_DEST_DIR  dir_name/
      ** Do not forget "/" at the end of the
         dir_name, e.g. "./tmp/".
 ===========================================
 /vis/viewer/update viewer-0

 File  g4_01.prim  is generated.
 dawn g4_01.prim
 sh: line 1: dawn: command not found
 #
 # for drawing the tracks
 # (if too many tracks cause core dump => storeTrajectory 0)
 /tracking/storeTrajectory 1
 /vis/scene/endOfEventAction accumulate
 Idle>

Please Help! Thank you!

Regards, San

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

 Add Message Add Message
to: "Problem with exampleN02 (Graphics)"

 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 ]