Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create a working directory for CLHEP and go into it.
    No Format
    mkdir clhep
    cd clhep
    
  2. Download the CLHEP tarball.
    No Format
    wget http://cern.ch/clhep/clhep-1.9.2.0.tgz
    
  3. Unzip to your work directory.
    No Format
    tar -zxvf clhep-1.9.2.0.tgz
    
  4. Change to CLHEP directory.
    No Format
    cd 1.9.2.0/CLHEP
    
  5. Configure the build, make the library, and install it. . (This took 15-20 minutes on my machine.)
    No Format
    ./configure --prefix=`cd ../..; pwd` --disable-shared
    
  6. Build the library and install it. (Also takes a long time!)
    No Format
    make
    make install
    
  7. Add the following to setup.sh
    No Format
    export CLHEP_BASE_DIR=$sim_work/clhep
    

...