Client tools for Panda analysis jobs

     IDEA!   Current version of panda-client : 1.4.17 (3/12/2020)   IDEA!


The panda-client package contains following tools to submit/manage analysis jobs on PanDA.

  • pathena
    • Athena jobs
  • prun
    • ROOT/general jobs
  • pbook
    • Bookkeeping


First of all, please make sure you have a grid certificate. See Starting on the Grid. You should have usercert.pem and userkey.pem under ~/.globus.
$ ls ~/.globus/*
usercert.pem userkey.pem


The panda-client package is distributed in two kinds of format, tarball and rpm. Users can choose one format as they like. Installation procedure is described individually. You can find available release packages in the repository. If you are using CERN AFS or CVMFS you can skip this section and go directly to setup for CERN AFS users or setup for CVMFS user.


wget --no-check-certificate
tar xvfz panda-client-*
cd panda-client-*
python install --prefix=[install dir]
python install --prefix=~/mypanda


You need root privilege, or to use --user, or virtualenv.
pip install panda-client


If you are using CERN AFS or CVMFS see setup for CERN AFS users or setup for CVMFS user.

First, you need to set an environment variable PATHENA_GRID_SETUP_SH which configures Grid runtine environment. Ask your site admin if you don't know its location. Note that PATHENA_GRID_SETUP_SH must be .sh even if you are using csh or tcsh. e.g.,

CERN/lxplus on SLC6

export PATHENA_GRID_SETUP_SH=/dev/null
CERN/lxplus5 on SLC5

Next, source the panda setup script according to your installation. The script sets PANDA_CONFIG_ROOT (~/.pathena by default) in addition to some environment variables. PANDA_CONFIG_ROOT is a directory name where user's configuration/data files are contained.

source [install dir]/etc/panda/panda_setup.[c]sh
source ~/mypanda/etc/panda/
For rpm,
source /etc/panda/

Warning, important If you are going to use pathena, this step needs to be done after sourcing Athena's since it changes the PATH environment variable. e.g.,

source -tag=15.6.10,32,setup
source ~/mypanda/etc/panda/

Setup file on CERN AFS

The latest version of panda-client is available on CERN AFS. If you use CERN AFS you don't need to install the package by yourself. To setup
source /afs/[c]sh
source -tag=15.6.10,32,setup
source /afs/

Setup file on CVMFS

The latest version of panda-client is also available on CVMFS. You don't need to maintain the package by yourself. To setup
export ATLAS_LOCAL_ROOT_BASE=/cvmfs/
source $ATLAS_LOCAL_ROOT_BASE/user/atlasLocalSetup.[c]sh  
localSetupPandaClient --noAthenaCheck
Use either or atlasLocalSetup.csh according to your shell.

Documentation on individual tool

The following pages describe how to use tools;

Release Notes

See ChangeLog.

Edit | Attach | Watch | Print version | History: r134 < r133 < r132 < r131 < r130 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r134 - 2020-03-12 - TadashiMaeno
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    PanDA All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback