More details for rhel with root 6.30

This commit is contained in:
Zaher Salman 2024-02-06 09:52:06 +00:00
parent ff2a5599d8
commit c7ef08d7fa

View File

@ -17,7 +17,9 @@ Compile and install Geant4, we recommend the use of the following cmake flags
cmake -DCMAKE_INSTALL_PREFIX=/path/to/installation /path/to/source -DGEANT4_USE_QT=ON -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_OPENGL_X11=ON
Set the correct environment variable for Geant4. We recommend that you add the following to your .bashrc
We also recommend that you use `view3dscene` as a VRML viewer. This can be downloaded from here: `https://castle-engine.io/view3dscene.php`.
Following the installation of Gean4, set the correct environment variable. We recommend that you add the following to your `.bashrc` file.
export G4INSTALL="/path/to/installation"
export G4NEUTRONHPDATA="$G4INSTALL/share/Geant4-11.0.3/data/G4NDL4.6"
@ -31,7 +33,7 @@ Set the correct environment variable for Geant4. We recommend that you add the f
export G4ABLADATA="$G4INSTALL/share/Geant4-11.0.3/data/G4ABLA3.1"
export G4INCLDATA="$G4INSTALL/share/Geant4-11.0.3/data/G4INCL1.0"
export G4ENSDFSTATEDATA="$G4INSTALL/share/Geant4-11.0.3/data/G4ENSDFSTATE2.3"
export G4VRMLFILE_VIEWER="/path/to/your/vrmlviewer";
export G4VRMLFILE_VIEWER="/path/to/your/view3dscene";
Clone the musrSim repository
@ -56,9 +58,11 @@ Prepare a file, `finlename.mac`, with your beamline and spectrometer design foll
### RedHat and old systems ###
Compilation on RedHat systems that has an old defaul GCC compiler should be done using the follwoing command. Make sure that the `gcc-toolset-13` package is installed.
scl enable gcc-toolset-13 'make -j8'
For compilation on RedHat systems:
# Make sure that the `gcc-toolset-13` package is installed
# Use the follwoing compilation command: `scl enable gcc-toolset-13 'make -j8'`
# Use `CMakeLists_rhel8.txt`: `cp CMakeLists_rhel8.txt CMakeLists.txt`
# If you have Root 6.30 use `FindROOT_6.30.cmake`: `cp FindROOT_6.30.cmake FindROOT.cmake`
### Contact ###