Test Running GEANT4 to verify software installation
We ask all participants of GEANT4 Tutorial at TUNL to make sure that
GEANT4 runs from your environment.
After required softwares are installed on your laptop which you will bring
to the tutorial, please do the followings
before coming to the first class.
(If you have not installed the required softwares,
please do so first.
1. Log onto one of the following TUNL computers from your laptop:
Available computer hostnames for GEANT4 Tutorial are:
  ackbar.tunl.duke.edu
  obiwan.tunl.duke.edu
  positron.tunl.duke.edu
  storm.tunl.duke.edu
Please make a 'ssh' connection to one of those computers above
using the
following software:
- Windows users: start Xming and open Putty (make sure to check the box "enable X11 forwarding" in the Putty configuration window)
- Linux users: open a X-terminal and issue a command:
ssh -X 'hostname'.
- Mac users: open a Terminal (OSX 10.5 users) or X11 terminal
(OSX 10.4 and 10.3 users) and issue a command:
ssh -X 'hostname'.
2. After logging onto one of those computers, type the following
command after the prompt [Note: Linux commands are case sensitive]:
cd /usr/local/geant4/examples/novice/N03
3. Then, type the following command to test running a geant4 program
~tajima/exampleN03
A new geant4 window should show up. In addition, Idle> prompt
appears on your terminal. (If this window does not show up,
see the troubleshooting section below.)
4. type the following command after the Idle>
prompt.
/run/beamOn 3
If you get a picture similar to this, your software
and your tunl computing environment are correctly configured!
[NOTE: depending on your computing environment,
this picture may disappear
easily when the window is moved etc,
but that is not a problem.]
5. type 'exit' to end this program.
Troubleshouting:
If a geant4 window does not show up, please exit geant4 and
log out of a tunl computer.
If you are a Windows user, make sure
"enable x11 forwarding"
is checked in the Putty configuration window.
Then, make a ssh connection again.
If you are a linux or mac user, try making a ssh connection
again using '-Y' option:
ssh -Y 'hostname'. If that still doesn't
work, try using '-XY' option.
Shigeyuki Tajima
(tajima@tunl.duke.edu)
Useful LINKS:
Return to GEANT4 Tutorial Course @TUNL web page