You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

1.9.4.2

These are instructions for building CLHEP 1.9.4.2 for the various OSes supported.

redhat4-x86_64-64bit

These instructions should be performed as the glastrm user on a machine running 64bit version of rhel4 (noric14 as of this writing).

  1. Download CLHEP 1.9.4.3 from http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/distributions/clhep-1.9.4.2.tgz and save to /afs/slac/g/glast/ground/GLAST_EXT/redhat4-x86_64-64bit/CLHEP if it doesn't already exist.
  2. Change directory to /afs/slac/g/glast/ground/GLAST_EXT/redhat4-x86_64-64bit/CLHEP
  3. Ungzip and Untar the file clhep-1.9.4.2.tgz
  4. Change directory to 1.9.4.2/CLHEP
  5. Execute ./configure --prefix /afs/slac/g/glast/ground/GLAST_EXT/redhat4-x86_64-64bit/CLHEP/1.9.4.2/gcc34
  6. Execute make
  7. Execute make install
  8. Leave and erase the current directory (CLHEP)

redhat4-i686-32bit

These instructions should be performed as the glastrm user on a machine running 32bit version of rhel4 (glastlnx14 as of this writing).

  1. Download CLHEP 1.9.4.3 from http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/distributions/clhep-1.9.4.2.tgz and save to /afs/slac/g/glast/ground/GLAST_EXT/redhat4-i686-32bit/CLHEP if it doesn't already exist.
  2. Change directory to /afs/slac/g/glast/ground/GLAST_EXT/redhat4-i686-32bit/CLHEP
  3. Ungzip and Untar the file clhep-1.9.4.2.tgz
  4. Change directory to 1.9.4.2/CLHEP
  5. Execute ./configure --prefix /afs/slac/g/glast/ground/GLAST_EXT/redhat4-i686-32bit/CLHEP/1.9.4.2/gcc34
  6. Execute make
  7. Execute make install
  8. Leave and erase the current directory (CLHEP)

redhat3-i686-32bit

These instructions should be performed as the glastrm user on a machine running 32bit version of rhel3 (noric02 as of this writing).

  1. Download CLHEP 1.9.4.3 from http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/distributions/clhep-1.9.4.2.tgz and save to /afs/slac/g/glast/ground/GLAST_EXT/redhat3-i686-32bit/CLHEP if it doesn't already exist.
  2. Change directory to /afs/slac/g/glast/ground/GLAST_EXT/redhat3-i686-32bit/CLHEP
  3. Ungzip and Untar the file clhep-1.9.4.2.tgz
  4. Change directory to 1.9.4.2/CLHEP
  5. Execute ./configure --prefix /afs/slac/g/glast/ground/GLAST_EXT/redhat3-i686-32bit/CLHEP/1.9.4.2/gcc32
  6. Execute make
  7. Execute make install
  8. Leave and erase the current directory (CLHEP)

1.9.2.2

These are instructions for building CLHEP 1.9.2.2 for the various OSes supported.

leopard-i386-32bit

These instructions should be performed as the glastrm user on a machine running leopard (bldmac02 as of this writing).

  1. Download CLHEP 1.9.2.2 from http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/distributions/clhep-1.9.2.2.tgz and save to /afs/slac/g/glast/ground/GLAST_EXT/leopard-i386-32bit/CLHEP if it doesn't already exist.
  2. Change directory to /afs/slac/g/glast/ground/GLAST_EXT/leopard-i386-32bit/CLHEP
  3. Ungzip and Untar the file clhep-1.9.2.2.tgz
  4. Change directory to 1.9.2.2/CLHEP
  5. Execute ./configure --prefix /afs/slac/g/glast/ground/GLAST_EXT/leopard-i386-32bit/CLHEP/1.9.2.2/gcc40
  6. Edit the following files and uncomment shareddir, lib_shared (first occurance), SHFLAGS, SHLINK, SHNAME,
    • Makefile
    • Cast/src/Makefile
    • Evaluator/src/Makefile
    • Exceptions/src/Makefile
    • GenericFunctions/src/Makefile
    • Geometry/src/Makefile
    • HepMC/src/Makefile
    • HepPDT/src/Makefile
    • Matrix/src/Makefile
    • Random/src/Makefile
    • RandomObjects/src/Makefile
    • RefCount/src/Makefile
    • StdHep/src/Makefile
    • Vector/src/Makefile
  7. Edit RandomObjects/src/Makefile and append "-L../../Random/src -L../../Vector/src -L../../Matrix/src/ -lCLHEP-Random-1.9.2.2 -lCLHEP-Matrix-1.9.2.2 -lCLHEP-Vector-1.9.2.2" to line 472
  8. Edit StdHep/src/Makefile and append "-L../../HepMC/src -L../../Vector/src -L../../HepPDT/src/ -lCLHEP-HepMC-1.9.2.2 -lCLHEP-HepPDT-1.9.2.2 -lCLHEP-Vector-1.9.2.2" to line 552
  9. Edit Exceptions/src/Makefile and append "-L../../RefCount/src -lCLHEP-RefCount-1.9.2.2" to line 484
  10. Execute make
  11. Execute make install
  12. Leave and erase the current directory (CLHEP)
  • No labels