SetEnv.sh 560 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. SIMMACHINE=$(uname -n)
  3. # change SIMPATH if you installed FairSoft not to the '/opt/fairsoft/install' directory
  4. export SIMPATH=/opt/fairsoft/install
  5. # change FAIRROOTPATH if you installed FairRoot not to the '/opt/fairroot/install' directory
  6. export FAIRROOTPATH=/opt/fairroot/install
  7. export ROOTSYS=$SIMPATH
  8. export PATH=$SIMPATH/bin:$PATH
  9. export LD_LIBRARY_PATH=$SIMPATH/lib:$SIMPATH/lib/root:$LD_LIBRARY_PATH
  10. source geant4.sh
  11. platform=$(root-config --arch)
  12. echo SIMPATH is pointing to $SIMPATH
  13. echo FAIRROOTPATH is pointing to $FAIRROOTPATH