From: muench Date: Tue, 15 Feb 2000 12:40:20 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=91d45bcbe5798141913fce4706e26d1f716cac2e;p=daqdata.git *** empty log message *** --- diff --git a/hadaq/README.html b/hadaq/README.html index 6865fea..29629be 100644 --- a/hadaq/README.html +++ b/hadaq/README.html @@ -1,24 +1,78 @@ -README for Hadaq -

README for Hadaq

+ + + + + READ ME for Hadaq + + +
+ 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. + - -

For compiling, you need two libraries: - -hadesstd-2.3 - -and - -lvme-1.2 - -

The Makefile itself is system independent, but ist controlled -by a set of environment variables. These are set with the makeenv -shell source file. Don't forget the dot at the beginning of the command. - -$ . ./makeenv LINUX SOFT - -Now for creating a minisystem as described in -$ make mini -$ make anal - -On Platforms where no ATM support is availabe, compiling daq_memnet -and daq_netmem in senseless and will not even work. diff --git a/hadaq/makeenv b/hadaq/makeenv index 665539b..39c7749 100644 --- a/hadaq/makeenv +++ b/hadaq/makeenv @@ -3,57 +3,57 @@ HW_CONF=$2 if test $HADAQ_CONF = "UNIX" then -export CC="c89" -export RPCGEN="rpcgen" -export LOADLIBES="-L/usr/local/lib/ -lhadesstd -L/usr/fore/lib -latm -lrt -ltk -lX11 -ltcl -lm" -export INCLUDES="-I/usr/local/include -I/usr/fore/include" -export DEFINES="-UNDEBUG -DHADESSTD_NEXITSTAT -DHADESSTD_NGETOPT" -elif test $HADAQ_CONF = "UNIX_WO_ATM" -then -export CC="c89" -export RPCGEN="rpcgen" -export LOADLIBES="-L/usr/local/lib/ -lhadesstd -llvme -lrt -ltk -lX11 -ltcl -lm" -export INCLUDES="-I/usr/local/include -I/usr/fore/include" -export DEFINES="-UNDEBUG -DHADESSTD_NEXITSTAT -DHADESSTD_NGETOPT -DNOATM" + export CC="c89" + export RPCGEN="rpcgen" + export LOADLIBES="-L/usr/local/lib/ -L$HOME/lib/$SYSTYPE -lhadesstd -L/usr/fore/lib -latm -lrt -ltk -lX11 -ltcl -lm" + export INCLUDES="-I/usr/local/include -I$HOME/include -I/usr/fore/include" + export DEFINES="-UNDEBUG -DHADESSTD_NEXITSTAT -DHADESSTD_NGETOPT" +elif test $HADAQ_CONF = "UNIX_NOATM" +then + export CC="c89" + export RPCGEN="rpcgen" + export LOADLIBES="-L/usr/local/lib/ -L$HOME/lib/$SYSTYPE -lhadesstd -llvme -lrt -ltk -lX11 -ltcl -lm" + export INCLUDES="-I/usr/local/include -I$HOME/include" + export DEFINES="-UNDEBUG -DHADESSTD_NEXITSTAT -DHADESSTD_NGETOPT -DNOATM" elif test $HADAQ_CONF = "LINUX" then -export CC="gcc" -export RPCGEN="rpcgen -k" -export LOADLIBES="-L$HOME/lib/$SYSTYPE -lhadesstd -llvme" -export INCLUDES="-I$HOME/include" -export DEFINES="-UNDEBUG -DHADESSTD_NEXITSTAT -DHADESSTD_NGETOPT -DNOATM" + export CC="gcc" + export RPCGEN="rpcgen" + export LOADLIBES="-L$HOME/lib/$SYSTYPE -lhadesstd -llvme -ltk -L/usr/X11R6/lib -lX11 -ltcl -lm -ldl" + export INCLUDES="-I$HOME/include" + export DEFINES="-UNDEBUG -DHADESSTD_NEXITSTAT -DHADESSTD_NGETOPT -DNOATM" elif test $HADAQ_CONF = "LYNXOS" then -export CC="gcc" -export RPCGEN="rpcgen" -export LOADLIBES="-L/usr/local/lib -L$HOME/lib/$SYSTYPE -lhadesstd -llvme -ltcl -lm -lrpc -lnetinet -L/usr/ATM/lib -latm -L/lib/ces -lvme -lbma -luio" -export INCLUDES="-I/usr/local/include -I$HOME/include -I/usr/ATM/include" -export DEFINES="-UNDEBUG -DHADESSTD_NEXITSTAT" + export CC="gcc" + export RPCGEN="rpcgen" + export LOADLIBES="-L$HOME/lib/$SYSTYPE -lhadesstd -llvme -ltcl -lm -lrpc -lnetinet -L/usr/ATM/lib -latm -L/lib/ces -lvme -lbma -luio" + export INCLUDES="-I/usr/local/include -I$HOME/include -I/usr/ATM/include" + export DEFINES="-UNDEBUG -DHADESSTD_NEXITSTAT" elif test $HADAQ_CONF = "LYNXOS_E7" then -export CC="gcc" -export RPCGEN="rpcgen" -export LOADLIBES="-L/usr/local/lib -L$HOME/lib/$SYSTYPE -lhadesstd -llvme -ltcl -lm -lrpc -lnetinet ../*.o" -export INCLUDES="-I/usr/local/include -I$HOME/include" -export DEFINES="-UNDEBUG -DHADESSTD_NEXITSTAT -DNOATM" + export CC="gcc" + export RPCGEN="rpcgen" + export LOADLIBES="-L$HOME/lib/$SYSTYPE -lhadesstd -llvme -ltcl -lm -lrpc -lnetinet ../*.o" + export INCLUDES="-I/usr/local/include -I$HOME/include" + export DEFINES="-UNDEBUG -DHADESSTD_NEXITSTAT -DNOATM" fi if test $HW_CONF = "SOFT" then -export HW_OBJS="hwsoft.o" + export HW_OBJS="hwsoft.o" elif test $HW_CONF = "SEB" then -export HW_OBJS="hwtof.o hwv775.o hwv878.o hwv488.o hwdtu.o hwsis3801.o" + export HW_OBJS="hwtof.o hwv775.o hwv878.o hwv488.o hwdtu.o hwsis3801.o" elif test $HW_CONF = "RICH" then -export HW_OBJS="hwrich.o hwrace.o rc.o" + export HW_OBJS="hwrich.o hwrace.o rc.o" elif test $HW_CONF = "MDC" then -export HW_OBJS="hwmdc.o hwsam.o" + export HW_OBJS="hwmdc.o hwsam.o" elif test $HW_CONF = "SHOW" then -export HW_OBJS="hwshow.o hwship.o" + export HW_OBJS="hwshow.o hwship.o" elif test $HW_CONF = "TBUS" then -export HW_OBJS="hwtbus.o hwdtu.o" + export HW_OBJS="hwtbus.o hwdtu.o" fi