RCDB: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 29: | Line 29: | ||
#rcdb | #rcdb | ||
CLON_FLAGS += -I$(RCDB_HOME)/cpp/include -I$(RCDB_HOME)/include/SQLite | CLON_FLAGS += -I$(RCDB_HOME)/cpp/include -I$(RCDB_HOME)/cpp/include/SQLite | ||
LIBNAMES += $(RCDB_HOME)/lib/librcdb.a | LIBNAMES += $(RCDB_HOME)/cpp/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 | ??? Actual clas12 database will be provided as file 'clas12.sqlite', have to be placed into $CLON_PARMS directory |
Revision as of 09:01, 21 April 2017
NOT READY !!!!!!!!!!!!!!!!!!!!!!!!!!!!
To install RCDB, do following on RHEL7 machines:
su cd /usr/local/src git clone https://github.com/JeffersonLab/rcdb cd rcdb/ source environment.bash cd cpp scons with-examples=true
NOTE1: header files for CPP is in $RCDB_HOME/cpp/include/RCDB/
NOTE2: cpp example how to write database: $RCDB_HOME/cpp/examples/write_conditions.cpp
Include following into $CLON/.setup file:
#rcdb setting setenv RCDB_HOME /usr/local/src/rcdb
Also if needed:
appends $PYTHONPATH - with $RCDB_HOME/python appends $PATH - with rcdb bin folder
Do following in Makefiles:
#rcdb CLON_FLAGS += -I$(RCDB_HOME)/cpp/include -I$(RCDB_HOME)/cpp/include/SQLite LIBNAMES += $(RCDB_HOME)/cpp/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