See special instructions to run at Notre Dame.
Lobster requires Python 2.6. On SLC/RH 5, the following should be done
after issuing cmsenv
or equivalent in a release of the 5_3_X
series of
CMSSW.
Download version 4.2.0rc1 of the cctools from the Notre Dame Cooperative Computing Lab and install them with CVMFS (and, for chirp, globus authentication) enabled.
See instructions on github
of the Cooperative Computing Lab to obtain current versions of parrot
and
work_queue
.
Install the python setuptools
, if not already present, with
wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python - --user
Now lobster can be installed, and any further python dependencies will be
installed into your ~/.local
directory.
Install lobster itself with
easy_install https://github.com/matz-e/lobster/tarball/master
and lobster will be installed as ~/.local/bin/lobster
. Add it to your
path with
export PATH=$PATH:$HOME/.local/bin
The following steps are necessary to run lobster (using grid resources for CMS):
-
Setting up the CMSSW environment (i.e. via
cmsenv
) -
Obtaining a valid proxy
voms-proxy-init -voms cms -valid 192:00
-
Adjusting the configuration file, e.g.:
vi examples/beanprod.yaml
-
Running lobster
lobster process examples/beanprod.yaml
This will start a lobster instance in the background. Check the logfile printed on the terminal for info while running.
In case of errors, here is an explanation for custom exit codes of lobster.
-
Starting workers --- see below.
-
Stopping lobster
lobster terminate examples/beanprod.yaml
-
Creating summary plots
lobster plot --outdir <your output directory> <your config/working directory>
-
Publishing
lobster publish <labels> <your config/working directory>
To start 10 workers, 4 cores each, connecing to a lobster instance with id
chowder
, issue the following commands:
cores=4
condor_submit_workers -N lobster_chowder --cores $cores \
--memory $(($cores * 1100)) --disk $(($cores * 4500)) 10
If the workers get evicted by condor, the memory and disk settings might need
adjustment. Check in themlobster.py
for minimum settings (currently 1100 Mb for
memory, 4 Gb for disk).
The following environment variables may be set to influence the environment of the job, and may need adjusting to run on the site:
- PARROT_PATH
- The path of
parrot_run
. Default is to lookparrot_run
in thePATH
environment variable where lobster is started and send this version to the worker. If another parrot binary is preferred, set this environment variable to the corresponding directory. - PARROT_DEBUG_FLAGS
- Which debug flags to use. Default are none. See the
parrot_run
help for more details.
To receive CVMFS debug messages from parrot, alter your environment with the following command before submitting workers:
export PARROT_DEBUG_FLAGS=cvmfs