---+ CCNU LHCb farm 2 %TOC% ---++ Computers The computers for LHCb are comput19-23. CVMFS is installed on these machines. ---++ Softwares ---+++ ROOT The simplest way to set up root is by running =source /home/lhcb/setups/setup_root.sh= It will set up ROOT from LCG on CVMFS. Currently, the version of root in this script is 6.18.04 with python 3 support. 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/sft.cern.ch/lcg/releases/LCG_96/ROOT/6.18.00/x86_64-centos7-gcc8-opt/ROOT-env.sh= ---+++ aspell aspell is installed on comput19 and comput23 ---++ slurm jobs [[CCNULHCbSubmitJob][中文教程]] An example script for batch job submission can be found in the attachment and this command could be used to submit jobs: <verbatim> sbatch test_job.sh</verbatim> Note that the options are given inside the script. Useful webpages [[https://scicomp.jlab.org/docs/farm_slurm_commands][farm_slurm_commands]] [[https://wikis.nyu.edu/display/NYUHPC/Slurm+Tutorial][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: <verbatim> if [ "$STY" != "" ]; then ## check if this is a screen session export TMOUT= fi </verbatim> ---+++ 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 1 Need to set up a file to map the users 1 If we want to set up this, we could use the lhcb account and just mount a subdirectory in its home ---++ Links Sandbox.CcnuTeaching Sandbox.CCNULHCbFarm -- Main.DongliangZhang - 2020-02-21
Attachments
Attachments
Topic attachments
I
Attachment
History
Action
Size
Date
Who
Comment
sh
test_job.sh
r1
manage
0.2 K
2020-06-03 - 08:52
UnknownUser
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r7
<
r6
<
r5
<
r4
<
r3
|
B
acklinks
|
V
iew topic
|
WYSIWYG
|
M
ore topic actions
Topic revision: r7 - 2021-01-04
-
unknown
Home
Plugins
Sandbox for tests
Support
Alice
Atlas
CMS
LHCb
Public Webs
Sandbox Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
View
Raw View
PDF version
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Cern Search
TWiki Search
Google Search
Sandbox
All webs
E
dit
A
ttach
Copyright &© 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