Using the old CMT version
( Document last updated 12
November
2004 by Florence Ranjard )
The CMT version is set at login time with the script CMT.(c)sh stored in $LHCBHOME/scripts
> source $LHCBHOME/scripts/CMT.csh
This script can be sourced at any time with the lbcmt alias
This script sets:
- the CMT version
- several environment variables and aliases
- $CMTCONFIG, $CMTDEB, $CMTSTATIC, $<project>_release_area, <project>Env
- the compiler version
- the user working directory
A similar script, oldcmt, is available to go back to the older cmt
version.
===========================================================================================================
All project versions built with
Gaudi v14r* have been released with this version of CMT
v1r14p20031127 and the compiler
version gcc32
- CMT version: v1r14p20031127
- compiler version: gcc32
- $CMTCONFIG=rh73_gcc32, $CMTDEB=rh73_gcc32dbx, $CMTSTATIC=rh73_gcc32Static
- the user working directory: $HOME/newmycmt
- $CMTPATH = $HOME/newmycmt
All project versions built with
Gaudi v15r* have been released with CMT
v1r16p20040701 and
gcc323
adopting the LCG convention for debug binary directory name.
- CMT version : v1r16p20040701
- compiler version gcc323
- $CMTCONFIG=rh73_gcc323, $CMTDEB=rh73_gcc323_dbg, $CMTSTATIC=rh73_gcc323Static
- the user working directory: $HOME/cmtuser
- $CMTPATH = $HOME/cmtuser
To avoid confusion a new user
working directory is created when it does not exist yet : $HOME/cmtuser
===============================================================================================================
Since Monday 17 August 2004 the new configuration has become the default:
- lbcmt = source $LHCBHOME/scripts/CMT.(c)sh
- user working directory $HOME/cmtuser
- the old configuration could be restored with:
- oldcmt = source $LHCBHOME/scripts/oldCMT.(c)sh
- user working directory $HOME/newmycmt
As an example to run Brunel v23r7
- > oldcmt
- > cd $HOME/newmycmt
- > BrunelEnv v23r7
- > getpack Rec/Brunel v23r7
- > cd Rec/Brunel/v23r7/cmt
- > source setup.csh -tag=$CMTDEB
- > gmake tags=$CMTDEB|
debug binary in rh73_gcc32dbx
To go back and run Brunel v24r1
- > lbcmt (or newcmt)
- > cd $HOME/cmtuser
- > BrunelEnv v24r1
To run DaVinci v11r11
- > oldcmt
- > cd $HOME/newmycmt
- > DaVinci v11r11
- > getpack Phys/DaVinci v11r11
- > cd Phys/DaVinci/v11r11/cmt
- > source setup.csh
- > gmake