When logging on a HEPIX enabled machine like those in the lxplus.cern.ch cluster, the user environment is customized with experiment specific settings (AKA group login).

The LHCb group login script lives in the project LbEnvBootstrap and is deployed as /cvmfs/lhcb.cern.ch/lib/etc/cern_profile.sh (there's a tcsh version too, but take into account our UnixShellSupport).

The group login script has the task of

LHCb User Environment deployment flavours

The LHCb User Environment is available on /cvmfs/lhcb.cern.ch in 3 flavours:
stable
(default) version valid for production use
testing
validation version in preparation for the next stable version
  • when a bug is fixed in a tool, the new version is first deployed in the testing flavour and after some validation is moved to stable
unstable
developers' playground, new features or backward incompatible changes are first deployed in the unstable flavour

Tuning

The behaviour of LHCb group login script can be tuned by the user via special files in the $HOME directory:

~/.nogrouplogin
if present, completely disable environment customization
~/.nolbenv
if present, disable LbEnv, but keep CERN specific variables
~/.lbenv_flavour
it must contain any of stable, testing or unstable to select the version of the LbEnv deployment to use. If missing or invalid, it is equivalent to stable

For example, to enable the testing flavour:

# make sure the customization is enabled
rm ~/.nogrouplogin ~/.nolbenv
# select "testing" flavour
echo testing > ~/.lbenv_flavour

For backward compatibility it also honors some legacy customization files, see https://gitlab.cern.ch/lhcb-core/LbEnvBootstrap/blob/master/README.md for details.

-- MarcoClemencic - 2019-04-24

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2019-04-24 - MarcoClemencic
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback