Running gtr

D. Adams
08jun01 0920


The package gtr_sys builds the global tracking executable gtr and provides scripts so that the program may be run outside the D0 environment. The enables the program to be run on computers where D0RunII is not installed or where the release of interest is no longer present.

Capturing the release

If the program is to be run on a platform where the D0RunII release of interest is not present or if one simply wishes to be insulated from changes in an existing release, then the first step is to capture the present release.

First capture the public release with

> setup D0RunII t01.14.00
> gtr_copy_public_release
Of course the user should substitute the release of interest for t01.14.00. A directory public is created and the relevant files from the public release are copied to it.

Next capture the private release with

> cd my_private_release_area
> d0setwa
> cd anywhere
> gtr_copy_private_release
A directory private is created and the relevant files from the private release are copied to it.

These directories are then installed on the machine where global tracking is to be run. For example one might tar them, transfer with ftp and then untar.

Creating the run directory

Create a run directory with the command

gtr_create_rundir DIR PUBLIC_DIR PRIVATE_DIR
where DIR is the name of the directory to create, PUBLIC_DIR is the location of the public release and PRIVATE_DIR is the name of the private release. If the last two arguments are omitted then the release areas defined with setup D0RunII and d0setwa are used. If the last argument is omitted, then only the public release area is used.

Edit DIR/runenv.sh to define the run conditions. Or copy the file from another run directory. The list of framework packages specified here is copied to find.rcp before running.

Running

Execute the local script run to run the program.


dladams@fnal.gov