Mathias Münch
2000-02-14

READ ME for Hadaq

Introduction

This is hadaq-0.6. This Version of the HADES data acquisition represents the status of the system as it was at the end of the beam time in December 1999. All the different directories (daq, mdc, rich, shower, tof) have been merged into one single version. Some files (startacq, stopacq, writefile, dumpdata) and especially param.tcl are basically "unmergable". Therefore, daq_readout will probably complain about missing parameters at startup. You will have to re fit these files to your needs again or get your old files from the hades account in Munich, directory lt99. Additionally, a few changes from the beam time status have been made in agent.c, latm.c, makeenv, online.c and semaphore.c , mostly to make Hadaq compile on up to date Linux versions.

How to compile

Unpack the tar file, if not already done. It creates a subdirectory hadaq in the current directory.

For compiling, you need two additional libraries: hadesstd-2.3 and lvme-1.2 , both available at the E12 FTP server. The hadaq Makefile looks for these libraries in /usr/local/lib or in $HOME/lib/$SYSTYPE.

The Makefile itself is system independent, but is controlled by a set of environment variables. These are set with the makeenv shell source file. Known platforms are UNIX, UNIX_NOATM, LINUX (unfortunately not the same as UNIX), LYNXOS, LYNXOS_E7. Known readout configurations are MDC, RICH, SHOW, SOFT, TOF.


$ . ./makeenv UNIX SOFT

Don't forget the dot at the beginning of the command.

Now for creating a mini system as described in http://www.e12.physik.tu-muenchen.de/~muench/hadaq/doc/minihadaq.html.


$ make mini $ make anal
On Platforms where no ATM support is available, compiling daq_memnet and daq_netmem in senseless and will not even work.