Coral
For coral see example configure (not fully tested):
./configure --with-CFLAGS="-O2 -DNDEBUG" \
--without-Objectivity \
--without-ORACLE \
--with-CLHEP=$CLHEP_DIR \
--with-CERN_LIBRARY=$CERN_ROOT \
--with-RFIO=$RFIO \
--with-MySQL=$DIR_MySQL \
--with-LHCXX=$CLHEP_DIR --no-recursion \
--with-COMPASS_Date=/grid/fzk.de/compass/software/date/dateV371_slc3
A precompiled coral is installed and can be used by the
following commands:
export CORAL_LOCATION=/grid/fzk.de/compass/software/coral/prod-311003/coral
# . $CORAL_LOCATION/setup.sh
export CORAL=$CORAL_LOCATION
mkdir -p coral/src/user
cd coral/src/user
cp -r $CORAL_LOCATION/src/user/* .
# modify eventualy main.cc (and CoralUser.cc) to add your own stuff
make
#Linux/myprogram "option-file"
You can access the CVS repository at cern with these commands:
export CVSROOT=:ext:<your user name>@isscvs.cern.ch:/local/reps/coral
export CVS_RSH=ssh
This requires the following ssh config file (just cut an paste the 4 lines to the bash shell):
cat > ~/.ssh/config <<EOF
Host *.cern.ch
Port 22
EOF
To access the local copy of the mysql database add the lines to the coral options file:
CDB use MySQLDB
CDB server compass.gridka.de // located at GridKA (internal network)
CDB specialplace GRIDKA // location of calibrationfiles at GridKA