cern_env.csh 1.74 KB
Newer Older
Marco Clemencic's avatar
Marco Clemencic committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/usr/bin/printf you must "source %s"\n
###############################################################################
# (c) Copyright 2019 CERN for the benefit of the LHCb Collaboration           #
#                                                                             #
# This software is distributed under the terms of the GNU General Public      #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
#                                                                             #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization  #
# or submit itself to any jurisdiction.                                       #
###############################################################################
# CERN specific environment
setenv LHCBDEV /afs/cern.ch/lhcb/software/DEV
setenv LHCBDOC /eos/project/l/lhcbwebsites/www/projects
setenv LHCBNIGHTLIES /cvmfs/lhcbdev.cern.ch/nightlies

# For grid usage
if ( ! -n ?$X509_CERT_DIR ) then
  if ( -d /etc/grid-security/certificates ) then
    setenv X509_CERT_DIR /etc/grid-security/certificates
  elif ( -d /cvmfs/lhcb.cern.ch/etc/grid-security/certificates ) then
    setenv X509_CERT_DIR /cvmfs/lhcb.cern.ch/etc/grid-security/certificates
  fi
fi

if ( ! $?X509_VOMS_DIR ) then
  if ( -d /etc/grid-security/vomsdir ) then
    setenv X509_VOMS_DIR /etc/grid-security/vomsdir
  elif ( -d /cvmfs/lhcb.cern.ch/etc/grid-security/vomsdir ) then
    setenv X509_VOMS_DIR /cvmfs/lhcb.cern.ch/etc/grid-security/vomsdir
  fi
fi

# Variable to access the LHCb CASTOR instance
setenv STAGE_HOST castorlhcb.cern.ch

# LHCb Emacs mode
setenv EMACSDIR /cvmfs/lhcb.cern.ch/lib/lhcb/TOOLS/Tools/Emacs/pro