Pixel-ROD-Crate-Controller(Pxl-RCC) @ CPPM

Atlas

PixLib Installation

Atlas

Recipe for installing PixLib

received from Paolo; March 11th, 2004
I've put in the repository an updated mainpage.h for PixLib. It contains some info on how to compile the library.

This is a summary. The environment used for the tests is:

  • CERN RedHat 7.3.3
  • Kernel 2.4.20-28.7
    Any 2.4 kernel/gcc 3.2 should be ok as well.
  • online software 00-21-01
    In fact the online software is not used but required by the dataflow.
  • dataflow 00-07-00
    As far as I know any dataflow release starting from 00-04-00 should be ok, even a gcc2.95: we are just using io_rcc, cmem_rcc and vme_rcc which are C libraries.
  • root 3.10/02
  • gcc 3.2

You have to check out at least the following:

  • VmeInterface
  • RodDaq/RodCrate
  • RodDaq/CommonWithDsp
  • RodDaq/CommonForHosts
  • RodDaq/Dsp/Pixel
  • Applications/Pixel/PixLib
Check the CVS tag recipe for getting the right revisions/tags/versions from the CVS repository!

At this point you can execute make in

  • VmeInterface
  • RodDaq/RodModule
  • Applications/Pixel/PixLib
  • Applications/Pixel/PixLib/Examples

There is no need to patch the cvs output in any way. This morning I removed a CommonWithDsp.tar.gz file in PixLib since it's not needed anymore.

In PixLib/Example you can edit ExampleConf.cfg to adapt it to your setup. At least you have to change the ROD slot number at line 54 and the Input and Output Links at 62-66. A ROD Rev E and a FE I1/MCC I1 module are assumed at this point. Even the module configuration (line 61 plus everything in Example/ExampleConf/ will have to be replaced by a good configuration for your module.

If you run SingleEvents you should get a dump of a couple of events.

Environment

Original Setup, for Genoa testbench Comments (CPPM)
#=========================== User dependent setup

#== SctPixel DAQ software
setenv SCTPIXEL_ROOT /usr/local/Atlas/paolo

#== CVS setup
setenv CVSROOT :ext:moretti@lxplus.cern.ch:/afs/cern.ch/user/s/sctpixel/private/cvsroot
setenv CVS_RSH ssh
/usr/people/home/hoffmann/Pxl/ or simply ..

ini cvs-rod

#=========================== System dependent setup

#== Online
setenv TDAQ_INST_PATH /usr/local/online-release/online-00-21-01/installed
setenv TDAQ_TARGET    i686-rh73-gcc32-opt
setenv PATH    $TDAQ_INST_PATH/$TDAQ_TARGET/bin:$TDAQ_INST_PATH/share/bin:$PATH
setenv LD_LIBRARY_PATH $TDAQ_INST_PATH/$TDAQ_TARGET/lib:$LD_LIBRARY_PATH
ini online002102
#== DataFlow
setenv DF_INST_PATH   /usr/local/DataFlowSW/DF-00-07-00/installed
setenv DF_TARGET      i686-rh73-gcc32-opt
setenv PATH           $DF_INST_PATH/$DF_TARGET/bin:$DF_INST_PATH/share/bin:$PATH
setenv LD_LIBRARY_PATH $DF_INST_PATH/$DF_TARGET/lib:$LD_LIBRARY_PATH
ini df000900
#== ROOT
setenv ROOTSYS         /usr/local/root
setenv PATH            /usr/local/root/bin:$PATH
setenv LD_LIBRARY_PATH /usr/local/root/lib:$LD_LIBRARY_PATH
ini root (for pro version)
#== gcc 3.2
setenv PATH            /usr/local/gcc-alt-3.2.3/bin:$PATH
setenv LD_LIBRARY_PATH /usr/local/gcc-alt-3.2.3/lib:$LD_LIBRARY_PATH
ini gcc322
#=========================== System/User independent setup

setenv DAQ_LIB_DIR $DF_INST_PATH/$DF_TARGET/lib
setenv DAQ_INCL_DIR $DF_INST_PATH/include

setenv SCTPIXEL_DAQ_ROOT $SCTPIXEL_ROOT/RodDaq
setenv VME_INTERFACE $SCTPIXEL_ROOT/VmeInterface
setenv ROD_DAQ $SCTPIXEL_ROOT/RodDaq
setenv PIX_LIB $SCTPIXEL_ROOT/Applications/Pixel/PixLib
setenv ROD_TYPE PIXEL_ROD

Remarks, Comments

The recipe was written by Paolo; credits for that go to him. If it is however not up to date or tested yet, blame goes to me! Up to now I added some comments in order to clarify certain points.

The PxlDAQ group agreed to fix GCC3 as working compiler.

Let us know, if these recipes don't work or you want to suggest improvements.
(Paolo.Morettini@ge.infn.it, Hoffmann@cppm.in2p3.fr)


Created: May 2004; last updated: May 2004