Installation and environment at JLab
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ce
doc
install
sbsInstall
.gitignore
Announcement
README.md
changelog
go_reload
go_tar
printVersion.csh
releaseScheme.key
softenv.csh
softenv.sh

README.md

ceInstall

Installation and environment settings of the following libraries:

  • banks
  • ccdb
  • clhep
  • evio
  • geant4
  • geant4Data
  • gemc
  • jana
  • mlibrary
  • qt
  • root
  • scons
  • xercesc

Both installation and system environment are independent of the location and OS of the software, provided it is recent enough.

To release a JLAB_VERSION:

  1. change release date in ce/jlab.csh script
  2. change default JLAB_VERSION in jlab.csh and jlab.sh (usually from devel to tag).
  3. change default JLAB_VERSION in go_reload
  4. make sure versions.env is updated
  5. if necessary add the QT_VERSION tag in softenv.csh and jlab.sh for JLAB.
  6. add the tag in sbsinstall/template alternative installation lines. Notice you need to add that line in devel_install as that one is not overwritten.
  7. Use go_tar ceInstall tag local.
  8. test installation, copy log in sbsInstall/template_install.html
  9. test installation on docker
  10. after test add github tag. Notice: deleting a github release is not enough: need to delete the tag also.
  11. tag the libraries below. To tag, use v1.4 and 1.4 as release name. Add notes.

Remember that go_tar supports the "local" third option to create a "debug" tar file instead of using the github tag feature.

  • banks
  • gemc
  • mlibrary
  • scons_bm

NOTES:

  • go_tar ceInstall will generate the _install.html based on the release number
  • for JLAB interactive farm. Usually it cannot access the outside web, but setting these bypass this:

a. setenv http_proxy http://jprox.jlab.org:8082 b. setenv https_proxy http://jprox.jlab.org:8082

For ROOT in particular one can also download these "src" and put them in the "dst".

a. src1='http://lcgpackages.web.cern.ch/lcgpackages/tarFiles/sources/lz4-v1.7.5.tar.gz' to: dst1='/group/halla/analysis/rootbuild/ifarm1402/root-6.12.06/build/LZ4-prefix/src/lz4-v1.7.5.tar.gz' b. src2='http://lcgpackages.web.cern.ch/lcgpackages/tarFiles/sources/tbb2017_U5.tar.gz' to: dst2='/group/halla/analysis/rootbuild/ifarm1402/root-6.12.06/build/TBB-prefix/src/tbb2017_U5.tar.gz'

TODO:

  • add CERN LIBS if user so requests