LAMPS project (Large Acceptance Multi-purpose Spectrometer)

Geant4 Simulation

Geant4 Install

Ubuntu (14.0X)

  • Need to setup of Ubuntu before installing applications
     - sudo apt-get update
     - sudo apt-get install build-essential
     - sudo apt-get install freeglut3-dev
     - sudo apt-get install cmake
     - sudo apt-get install ibus-hangul 
  • Intall Root (recommend 6.0X version) :
     - Download binary version of ROOT6 (or 5)
     - Unpack tar file
     - source ./bin/thisroot.sh (maybe you might want to add this in .bash_profile)
     - excute root
  • Install Geant4
     - Download package (http://geant4.web.cern.ch/geant4/support/download.shtml)
     - Unpack file
     - Install libxmu-dev : sudo apt-get install libxmu-dev libxi-dev (to avoid the Xmu problem)
     - Set directory to install : (for example : dir=/home/dmoon/Work/Geant4/)
     - cd /home/dhmoon/Work/Geant4/
     - cp “Unpacked directory” .
     - mkdir geant4.10.01-build geant4.10.01-install
     - cd geant4.10.01-build
     - cmake -DCMAKE_INSTALL_PREFIX=/home/dmoon/Work/Geant4/geant4.10.01-install -DGEANT4_INSTALL_DATA=ON -DGEANT4_INSTALL_DATA_TIMEOUT=3600 -DGEANT4_USE_OPENGL_X11=ON 
             -DGEANT4_USE_RAYTRACER_X11=ON -DGEANT4_BUILD_EXAMPLES=ON -DGEANT4_USE_SYSTEM_EXPAT=OFF -DGEANT4_BUILD_CXXSTD=c++11 /home/dmoon/Work/Geant4/geant4.10.01.p02
     - make -j 2
     - make install

MAC OS

  • El Capitan (10.11.3) : have to use gcc compiler instead of clang

Linux (SL7)

Running LAMPS with Geant4

     - complie : make (if you see lCint problem, please remove that line in GNUMakeFile)
     - ln -l bin/Linux-g++/lampslow lampslow
     - ./lamplslow vis.mac
-- DongHoMoon - 26 Jan 2016
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2016-03-02 - DongHoMoon
 
KOREA-CMS
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding KoreaCmsWiki? Send feedback