High-precision dosimetry
From UCL HEP PBT Wiki
m (Created page with "== Introduction == == Setting up the environment == == How to get the code == == How to run the code == == How to analyze data ==") |
m |
||
Line 1: | Line 1: | ||
- | == Introduction == | + | == <span style="color:#000080"> Introduction </span> == |
- | == Setting up the environment == | + | |
- | == How to get the code == | + | == <span style="color:#000080"> Setting up the environment </span> == |
- | == How to run the code == | + | |
- | == | + | ; Connect to HEP cluster and create folder DosimetryFolder in your area |
+ | |||
+ | <pre style="color: #800000; background-color: #dcdcdc"> | ||
+ | ssh -X username@plus1.hep.ucl.ac.uk | ||
+ | |||
+ | password: type your password here | ||
+ | |||
+ | cd /home/username/ | ||
+ | |||
+ | mkdir DosimetryFolder | ||
+ | |||
+ | cd DosimetryFolder | ||
+ | </pre> | ||
+ | |||
+ | ; Setup your environment | ||
+ | |||
+ | <pre style="color: #800000; background-color: #dcdcdc"> | ||
+ | source /unix/pbt/software/dev/bin/pbt-dev.sh | ||
+ | </pre> | ||
+ | |||
+ | == <span style="color:#000080"> How to get the code </span> == | ||
+ | |||
+ | ; Copy the code to your working directory and rename it | ||
+ | |||
+ | <pre style="color: #800000; background-color: #dcdcdc"> | ||
+ | cp -r /unix/pbt/tutorials/advanced/Dosimetry . | ||
+ | |||
+ | mv Dosimetry Dosimetry_source | ||
+ | </pre> | ||
+ | |||
+ | == <span style="color:#000080"> How to run the code </span> == | ||
+ | |||
+ | ; Inside /home/username/DosimetryFolder/ create a directory | ||
+ | |||
+ | <pre style="color: #800000; background-color: #dcdcdc"> | ||
+ | mkdir Dosimetry_build | ||
+ | </pre> | ||
+ | |||
+ | ; To compile the code enter this directory and run cmake and make | ||
+ | |||
+ | <pre style="color: #800000; background-color: #dcdcdc"> | ||
+ | cd Dosimetry_build | ||
+ | |||
+ | cmake -DGeant4_DIR=/unix/pbt/software/dev /home/username/DosimetryFolder/Dosimetry_source | ||
+ | |||
+ | make | ||
+ | </pre> |