CCDB: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
No edit summary
Boiarino (talk | contribs)
No edit summary
Line 7: Line 7:
  scons with-examples=true with-mysql=false
  scons with-examples=true with-mysql=false
   
   
Include following into $CLON/.setup file:
#ccdb setting
setenv CCDB_HOME /usr/local/src/ccdb
Do following in Makefiles:
CLON_FLAGS += -I$(CCDB_HOME)/include
LIBNAMES += $(CCDB_HOME)/lib/libccdb.a
Actual clas12 database will be provided as file 'clas12.sqlite', have to be placed into $CLON_PARMS directory
Actual clas12 database will be provided as file 'clas12.sqlite', have to be placed into $CLON_PARMS directory

Revision as of 12:09, 16 February 2016

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

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

Include following into $CLON/.setup file:

#ccdb setting
setenv CCDB_HOME /usr/local/src/ccdb

Do following in Makefiles:

CLON_FLAGS += -I$(CCDB_HOME)/include
LIBNAMES += $(CCDB_HOME)/lib/libccdb.a

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