DAQ/Online Software Stricture: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
No edit summary
Boiarino (talk | contribs)
No edit summary
Line 14: Line 14:


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''.
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

Revision as of 16:53, 8 June 2008

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:

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