Message: Execution Problems With Example B1 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Execution Problems With Example B1 

Forum: Documentation and Examples
Date: 15 Dec, 2013
From: Maluba Vernon <Maluba Vernon>

When I ran example B1 in my Ubuntu 12.04.3, I get the following message. Can anyone please help me with how to resolve this:

maluba@maluba-Satellite-C850-F32Z:~/GEANT4/geant4.9.6-build/B1$ ls CMakeCache.txt cmake_install.cmake init.mac Makefile run2.mac CMakeFiles exampleB1 exampleB1.out init_vis.mac run1.mac vis.mac maluba@maluba-Satellite-C850-F32Z:~/GEANT4/geant4.9.6-build/B1$ ./exampleB1

 Geant4 version Name: geant4-09-06    (30-November-2012)
                      Copyright : Geant4 Collaboration
                      Reference : NIM A 506 (2003), 250-303
                            WWW :

-------- EEEE ------- G4Exception-START -------- EEEE -------
*** G4Exception : PhysicsLists002
      issued by : G4DataQuestionaire

Low energy electromagnetic data are needed. This is a NEW requirement for standard EM physics since geant4 9.5. Please set the environmental variable G4LEDATA to point to your G4EMLOW directory. Note: EMLOW6.23 or above is needed for Bremsstrahlung data. Data are available from the Geant4 download page.

Photon-evaporation data are needed. Please set the environmental variable G4LEVELGAMMADATA to point to your PhotonEvaporation directory. Data are available from the Geant4 download page.

G4NEUTRONXS are needed. Please set the environmental variable G4NEUTRONXSDATA to point to your G4NEUTRONXS directory. Data are available from the Geant4 download page.

*** Fatal error: Missing mandatory data for this simulation engine ***

*** Fatal Exception *** core dump *** -------- EEEE -------- G4Exception-END --------- EEEE -------

*** G4Exception: Aborting execution *** Aborted maluba@maluba-Satellite-C850-F32Z:~/GEANT4/geant4.9.6-build/B1$

It may also be worth mentioning here that I use ccmake: cmake-gui interface

                                                     Page 1 of 2
 CLHEP_INCLUDE_DIR                /home/maluba/GEANT4/geant4.9.6-install/include/Geant4  
 CLHEP_LIBRARY                    #/home/maluba/GEANT4/geant4.9.6-install                
 CMAKE_BUILD_TYPE                 Release                                                
 CMAKE_INSTALL_PREFIX             /home/maluba/GEANT4/geant4.9.6-install                 
 GEANT4_INSTALL_DATA              ON                                                     
 GEANT4_INSTALL_DATADIR           /home/maluba/GEANT4/geant4.9.6-install/share/Geant4-9.6
 GEANT4_USE_G3TOG4                OFF                                                    
 GEANT4_USE_GDML                  OFF                                                    
 GEANT4_USE_INVENTOR              OFF                                                    
 GEANT4_USE_OPENGL_X11            OFF                                                    
 GEANT4_USE_QT                    OFF                                                    
 GEANT4_USE_RAYTRACER_X11         OFF                                                    
 GEANT4_USE_SYSTEM_CLHEP          OFF                                                    
 GEANT4_USE_SYSTEM_EXPAT          ON                                                     
 GEANT4_USE_XM                    OFF                                                    
 INVENTOR_INCLUDE_DIR             INVENTOR_INCLUDE_DIR-NOTFOUND                          
 INVENTOR_LIBRARY                 INVENTOR_LIBRARY-NOTFOUND                              
 OPENGL_xmesa_INCLUDE_DIR         OPENGL_xmesa_INCLUDE_DIR-NOTFOUND                      

CLHEP_INCLUDE_DIR: Path to the CLHEP headers Press [enter] to edit option CMake Version 2.8.7 Press [c] to configure Press [h] for help Press [q] to quit without generating Press [t] to toggle advanced mode (Currently Off)

and it does not always find the packages automatically (like was the case inthe choices above), especially when I turn on parameters such as GEANT4_USE_GDML, OPENGL, QT etc, even though I have installed these packages.

For example, I get this error when I set GDML, OpenGL, and QT in the ccmake:

 CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91
   Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY)
 Call Stack (most recent call first):
   /usr/share/cmake-2.8/Modules/FindOpenGL.cmake:153 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
   cmake/Modules/Geant4InterfaceOptions.cmake:87 (find_package)
   CMakeLists.txt:84 (include)

I would appreciate very much if I got any help on how to work around these problems, especially how to be able to successfuly compile and generate after making changes on the required packages in the ccmake gui interface or simply put, is there a way of geting the required packages be successfuly installed in such a way that geant4 can automatically acceses them?

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

1 None: Re: Execution Problems With Example B1   (Ivana Hrivnacova - 16 Dec, 2013)
 Add Message Add Message
to: "Execution Problems With Example B1"

 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 ]