CCNU LHCb farm 2


The computers for LHCb are comput19-23. CVMFS is installed on these machines.



The simplest way to set up root is by running

source /public/home/lhcb/setups/

It will set up latest version of ROOT from LCG on CVMFS. One can also set up a different version in a similar way. For example, if one needs 6.18.00 with python 2, this command will do it:

source /cvmfs/


aspell is installed on comput19 and comput23

slurm jobs


An example script for batch job submission can be found in the attachment and this command could be used to submit jobs:


Note that the options are given inside the script.

Useful webpages farm_slurm_commands Slurm Tutorial

Problems and solutions

Auto logout from comput19

comput19 is configured to auto logout inactive users by setting TMOUT=3600. One can keep some jobs running in screen by setting TMOUT= there. (TMOUT variable is readonly in the login session but could be overwritten inside a screen session). One can also put these lines inside .bashrc to overwrite the variable automatically in any screen sessions:

if [ "$STY" != "" ]; then ## check if this is a screen session
   export TMOUT=

Direct-access farm2 from hepfarm

We could use sshfs to mount part of the space in farm2 to hepfarm. This is not in place yet. We will only do this if it's considered useful.

  1. mount/unmout need root permission
  2. Need to set up a file to map the users
  3. If we want to set up this, we could use the lhcb account and just mount a subdirectory in its home


CcnuTeaching CCNULHCbFarm

-- DongliangZhang - 2020-02-21

Topic attachments
I Attachment History Action Size Date Who Comment
Unix shell scriptsh r1 manage 0.2 K 2020-06-03 - 08:52 DongliangZhang  
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r8 - 2021-05-08 - DongliangZhang
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox 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