Getting things to compile
The main thing we've run into are changes in the auto generated files. Both OKS by genconfig and IS by is_generator(?).
For genconfig, you now need to define TDAQ_PACKAGE_NAME so it can print some warning messages about deprecated methods.
For the IS stuff, arrays are now generated as std::vectors, which means anything that accesses these has to change.
In java, IS now uses enums, don't behave like ints. If you want an int you can do .ordinal() afterwards. This is done a couple of times in sctGUI. One could be removed, but the other is serialising to file.
Running igui (or various observations on OKS schema)
Unfortunately we can no longer use several Computer objects to be aliases of the same host.
While fixing host names, a question. Should SctDcsSegmentController? run on Host, or would ddc_station be better?
Handling of PATH and LD_LIBRARY_PATH variables has changed. But config_server runs OK without changes?
OKS more strict, have to include schemas used in each file.
The Parition OKS name and the "name" attribute must be identical, don't know if this was the case previously.
You can define a RunTagList?. This is presumably for things like whether the detector's in X1X, what threshold settings are used, etc. If so, should be useful, but need to work out where to read it from.
ROOTSYS is now defined in the base config.
A possible bug in the setup is that it looks for Resources and Applications in the Partition object as well as the Segments. This gives a "Severe" error but seems harmless.
Things Dave had to do to run tdaq-01-06 with combined-test database files
At /daqsoft/combined- install LCG software locally (see http://spi.cern.ch/lcgsoft/COOL_1_3_2_slc3_ia32_gcc323-download.html)
- install oracle into LCG dir manually (unpack http://atddoc.cern.ch/cmt/releases/download/externals/oracle-client-10.2.0.1-slc3_ia32_gcc323.tg)
- install tdaq-01-06-0x
- Define LCG_PATH=/daqsoft/lcg in setup script
- Define TDAQ_JAVA_HOME=/daqsoft/jdk1.5.0_02 BEFORE running tdaq setup
- In SctEnvironment?.data.xml ROOTSYS->SCT_ROOTSYS (because ROOTSYS is now defined in the tdaq installation), and, of course, set SCT_DAQ_ROOT to /daqsoft/sct/TDAQ16_TIP
- Remove all duplicate aliasing in hw/computers.data.xml
- Remove ddc_station from hw/SCTDDCHardware.data.xml and run all ddc related stuff (in sct_ddc.data.xml) on 'Host'
- In SCTSegment_Ttcvi.data.xml, change
<attr name="Parameters" type="string">"-k ReadoutApplication? -v anything2 -c RCDTtcviConfig?"</attr>
to
<attr name="Parameters" type="string">"-k ReadoutApplication? -v anything2 -c ROSDBConfig"</attr>
- Recompile ADC/TDC stuff:
- ssh sctroddq@pcatl-idsrv01 (need access to /home/trtdaq for CMT)
- source /daqsoft/tdaq-release/tdaq-01-06-0x/installed/setup.sh
- cd /daqsoft/sct
- cd TimingInfo?16/detectors/Tile (TimingInfo?16 includes code updates necessary for 01-06-01 implemented by Gordon Crone)
- ./compile me
- New database schema for new ROS with ROBINs: SCTBarrelSegment?_ROSWithROBINs.data.xml
- Updated database schema for TTcvi
Changes for TDAQ-01-06-01
lcg stuff is explicitly set to use afs in /daqsoft/tdaq-release/tdaq-01-06-01/installed/share/bin/setup_vars.sh
and /daqsoft/tdaq-release/tdaq-01-06-01/installed/share/data/DAQRelease/sw/tdaq-common-external-repository.data.xml
Set them all to /daqsoft/lcg manually!!