DAQ/Online Software Stricture

From CLONWiki
Jump to navigation Jump to search

CLAS DAQ/Online Software is located on clon file server in the directory /usr/local/clas/. Subdirectory release contains releases, recent of them typically used for production running. Subdirectory devel contains development version. To make new release do following steps (tar command must be run as root, otherwise files ownership will not be preserved):

su
cd /usr/local/clas
tar cvf devel.tar devel
mv devel.tar release
cd release
tar xvf devel.tar
rm devel.tar
mv devel 2.1 (or whatever new release number is)
rm current
ln -s 2.1 current

If you want to run from devel area, last command must be ln -s ../devel current (not recommended; normally before production run new release must be made).

File .cshrc in clasrun account must contains setenv CLAS /usr/local/clas/release/current. Other accounts running from development area must contains setenv CLAS /usr/local/clas/devel.

cd $CODA
gmake clean
gmake cleanppc
gmake
gmake ppc