You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Requirements

The skimmer is only usable on linux.
At run time, the release v5r0 depends on :

  • Perl 5, which should be found with "/usr/bin/env perl".
  • ROOT 5.10 to 5.18 : the user can specify $ROOTSYS to any ROOT release, and it will be used as is by the skimmer, but the only really validated releases are 5.10/00, 5.14/00g, 5.16/00 and 5.18/00.
    At installation time, it also depends on gmake.

Installation

Check out

When one wants a given <release> of the skimmer, he must check out the package "DataServer" with the tag <release> from the GLAST CVS repository. Then he just needs to make "bin/skimmer" a reachable executable. For example, if one stores all the release under a single <SKIMMER_DIR> directory :

prompt> export CVSROOT=:ext:<user>@centaurusa.slac.stanford.edu:/nfs/slac/g/glast/ground/cvs
prompt> cd <SKIMMER_DIR>
prompt> cvs co -r <release> -d <release> DataServer

Compile

Configure shell environment

At last, the administrator should make the main access routine "bin/skimmer" a reachable executable. For example, if one stores all the release under a single <SKIMMER_DIR> directory, he can add a software link to "bin/skimmer" in one of the standard directiry declared in $PATH, or extend the definition of $PATH in the site setup files :

sh> export PATH=<SKIMMER_DIR>/<release>/bin/skimmer:${PATH}
csh> setenv PATH <SKIMMER_DIR>/<release>/bin/skimmer:${PATH}

Some tips when installing and using the skimmer outside SLAC

If you want to skim a kind of data which is not tuple-like, remember the skimmer will need to load the corresponding libraries (such as libmcRootData.so for mc data). So you must ensure those libraries are reachable from the machine where the skimmer will be running, for all the releases which were used when generating the data to be skimmed. If you recompile those libraries locally or copy them from SLAC, you must mimic the directory structure used at SLAC (as expected by the skimmer). Especially, for a given <main_package> and a given <release> (for example GlastRelease and v9r3) the path of the directory containing the libraries should end with "/<main_package>/<main_package>-<release>/lib/" (for the example : /GlastRelease/GlastRelease-v9r3/lib/). The top directories of those libraries should be declared in shell variable SK_LIBRARY_DIRS.

  • No labels