Local release

D. Adams
18may01 1045


You can modify and rebuild any of the D0 software in a local release area. This is the typical procedure for software development.

Many of the run II executables also expect you to create a local release and build a local version of a special package to use when running the executable. Otherwise, it should not be neccessary to have a local release area just to run existing programs.

Before creating or using a local release, you must first declare a D0 base release--see the page "Choosing a release".

A local release is created with the newrel command, e.g.

newrel -t t01.07.00 t01.07.00_dev
The first argument is the release name and should be the same used in the D0RunII setup. The second is the name of the subdirectory in which the release is created. I will call this the local release directory.

The next time you log in, you can use the same release directory as long as you setup D0RunII with same release name.

You may have multiple directories for the same or different releases. I recommend you include some form of the release name in the directory name so you do not confuse directories from different releases.

If you want to build against an optimized release (and so use optimzation for your local compilations), then use the following command:

  srt_setup SRT_QUAL=maxopt
This will be lost after the next setup of D0RunII.


dladams@fnal.gov