Running an example

From UCL HEP PBT Wiki

Jump to: navigation, search
m
m
 
Line 20: Line 20:
</pre>
</pre>
-
SPACE should obviously be replaced with a space bar (do not type the word SPACE)
+
SPACE should obviously be replaced with a space bar (do not type the word SPACE).
5. Now type the command
5. Now type the command
Line 28: Line 28:
</pre>
</pre>
-
Into the command terminal
+
into the command terminal.
 +
 
 +
<span style="color:#ff0000"> IF RUNNING GEANT4 ON YOUR OWN MACHINE </span>
6. to run your example, type the following command into the terminal
6. to run your example, type the following command into the terminal
Line 37: Line 39:
This command tells the terminal where all the data files that are required to running and building your simulation are.
This command tells the terminal where all the data files that are required to running and building your simulation are.
 +
 +
<span style="color:#ff0000"> IF RUNNING GEANT4 ON PLUS1 SERVER TYPE THE FOLLOWING INSTEAD </span>
 +
 +
<pre style="color: #800000; background-color: #dcdcdc">
 +
source /unix/pbt/software/dev/bin/pbt-dev.sh
 +
</pre>
 +
 +
PS: If you are running Geant4 on your own machine you are likely to have the latest versions of CMAKE and GCC installed. If running Geant4 on PLUS1 you will need to enter the give source command to access the latest versions. The latest version is required to run certain processes faster.
7. Finally, to open your simulation type the command
7. Finally, to open your simulation type the command
Line 44: Line 54:
</pre>
</pre>
-
Into the terminal
+
into the terminal. To run the simulation type the following commands into the terminal:
-
 
+
-
To run the simulation type the following commands into the terminal:
+
<pre style="color: #800000; background-color: #dcdcdc">
<pre style="color: #800000; background-color: #dcdcdc">

Latest revision as of 15:45, 21 July 2014

Personal tools