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:
(default) version valid for production use. Currently (December 2019) it redirects to LbLogin, as LbEnv is not yet in production
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
developers' playground, new features or backward incompatible changes are first deployed in the unstable flavour


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

if present, completely disable environment customization
if present, disable LbEnv, but keep CERN specific variables
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: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2019-12-04 - MarcoCattaneo
    • 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-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback