CCDB: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
git clone https://github.com/JeffersonLab/ccdb | git clone https://github.com/JeffersonLab/ccdb | ||
cd ccdb/ | cd ccdb/ | ||
source environment.csh | source environment.csh (or source environment.bash) | ||
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: | |||
#ccdb | |||
CLON_FLAGS += -I$(CCDB_HOME)/include -I$(CCDB_HOME)/include/SQLite | |||
LIBNAMES += $(CCDB_HOME)/lib/libccdb.a | |||
LIBNAMES += $(CCDB_HOME)/tmp/SQLite/libccdb_sqlite.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 |
Latest revision as of 15:26, 15 September 2021
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 (or source environment.bash) 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:
#ccdb CLON_FLAGS += -I$(CCDB_HOME)/include -I$(CCDB_HOME)/include/SQLite LIBNAMES += $(CCDB_HOME)/lib/libccdb.a LIBNAMES += $(CCDB_HOME)/tmp/SQLite/libccdb_sqlite.a
Actual clas12 database will be provided as file 'clas12.sqlite', have to be placed into $CLON_PARMS directory