############################################################################### # DIRAC bashrc file used to set up the DIRAC run-time environment # # Last modified: 09.05.2018 # A.T. ############################################################################### export PYTHONUNBUFFERED=yes export PYTHONOPTIMIZE=x [ -z "$HOME" ] && export HOME=/home/diracsgm # CAs path for SSL verification export X509_CERT_DIR=/cvmfs/grid.cern.ch/etc/grid-security/certificates export SSL_CERT_DIR=/cvmfs/grid.cern.ch/etc/grid-security/certificates export REQUESTS_CA_BUNDLE=/cvmfs/grid.cern.ch/etc/grid-security/certificates export X509_VOMS_DIR=/cvmfs/grid.cern.ch/etc/grid-security/vomsdir # DIRAC location if not set before [ -z "$DIRAC" ] && export DIRAC=/cvmfs/dirac.egi.eu/dirac/pro # DIRAC platform if not set before [ -z "$DIRACPLAT" ] && export DIRACPLAT=`$DIRAC/scripts/dirac-platform` export DIRACBIN=$DIRAC/$DIRACPLAT/bin export DIRACSCRIPTS=$DIRAC/scripts export DIRACLIB=$DIRAC/$DIRACPLAT/lib export TERMINFO=$DIRAC/$DIRACPLAT/share/terminfo:/usr/share/terminfo:/etc/terminfo export RRD_DEFAULT_FONT=$DIRAC/$DIRACPLAT/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf # Prepend the PYTHONPATH, the LD_LIBRARY_PATH, and the DYLD_LIBRARY_PATH ( echo $PATH | grep -q $DIRACBIN ) || export PATH=$DIRACBIN:$PATH ( echo $PATH | grep -q $DIRACSCRIPTS ) || export PATH=$DIRACSCRIPTS:$PATH ( echo $LD_LIBRARY_PATH | grep -q $DIRACLIB ) || export LD_LIBRARY_PATH=$DIRACLIB:$LD_LIBRARY_PATH ( echo $LD_LIBRARY_PATH | grep -q $DIRACLIB/mysql ) || export LD_LIBRARY_PATH=$DIRACLIB/mysql:$LD_LIBRARY_PATH ( echo $DYLD_LIBRARY_PATH | grep -q $DIRACLIB ) || export DYLD_LIBRARY_PATH=$DIRACLIB:$DYLD_LIBRARY_PATH ( echo $DYLD_LIBRARY_PATH | grep -q $DIRACLIB/mysql ) || export DYLD_LIBRARY_PATH=$DIRACLIB/mysql:$DYLD_LIBRARY_PATH ( echo $PYTHONPATH | grep -q $DIRAC ) || export PYTHONPATH=$DIRAC:$PYTHONPATH # new OpenSSL version require OPENSSL_CONF to point to some accessible location export OPENSSL_CONF=/tmp # Gfal2 configuration and plugins export GFAL_CONFIG_DIR=$DIRAC/$DIRACPLAT/etc/gfal2.d export GFAL_PLUGIN_DIR=$DIRACLIB/gfal2-plugins # IPv6 support export GLOBUS_IO_IPV6=TRUE export GLOBUS_FTP_CLIENT_IPV6=TRUE # ARC Computing Element export ARC_PLUGIN_PATH=$DIRACLIB/arc