RCDB

From CLONWiki
Revision as of 14:33, 8 November 2016 by Boiarino (talk | contribs) (Created page with "To use RCDB for online/trigger purposes, do following on clon machines: cd /usr/local/src git clone https://github.com/JeffersonLab/rcdb cd rcdb/ source environment.csh...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

To use RCDB for online/trigger purposes, do following on clon machines:

cd /usr/local/src
git clone https://github.com/JeffersonLab/rcdb
cd rcdb/
source environment.csh
scons with-examples=true with-mysql=false

Include following into $CLON/.setup file:

#rcdb setting
setenv RCDB_HOME /usr/local/src/rcdb

Do following in Makefiles:

#rcdb
CLON_FLAGS += -I$(RCDB_HOME)/include -I$(RCDB_HOME)/include/SQLite
LIBNAMES += $(RCDB_HOME)/lib/librcdb.a
LIBNAMES += $(RCDB_HOME)/tmp/SQLite/librcdb_sqlite.a


??? Actual clas12 database will be provided as file 'clas12.sqlite', have to be placed into $CLON_PARMS directory