Kahibaro
Login Register

Running Example

Example B1

In Geant4 folder there is another folder that it's name is example, here you can find many examples in different categories and also functions.

Here we want to open a basic example. Enter basic folder. In this folder you can find five examples (B1, B2, B3, B4 and B5). Enter B1 folder and make another folder.

mkdir build

Enter the folder build and write following commands in terminal:

cmake .. 
make -j4

For running example B1:

./exampleB1
Running example B1.

Views: 16

Comments

Please login to add a comment.

Don't have an account? Register now!