How to use TDAQ s/w on non-SLC Linux, for example on Ubuntu Linux (64bit Ubuntu 12.04 LTS ):

Install additional packages for AFS and kerberos V support (Kerberos realm is CERN.CH - you'll be asked)

> sudo apt-get install openafs-krb5 openafs-client krb5-user

and start AFS client:

> service openafs-client start

Now you can use afs and authenticate yourself as usual:

> klog -principal <your-afs-id> -k CERN.CH

more packages are needed to run & compile TDAQ s/w:

> sudo apt-get install libjpeg62-dev libmotif-dev libxext-dev gcc-multilib

(this will also install a number of dependent packages). You may also need to tweak the development environment:

> sudo ln -s /usr/lib/x86_64-linux-gnu /usr/lib64
or better add the following to your requirements file:
macro_append cppflags "" x86_64-slc6 "/usr/lib/x86_64-linux-gnu"

Set up TDAQ s/w release for slc6 tag (e.g. nightly.max):

> source /afs/cern.ch/atlas/project/tdaq/cmt/bin/cmtsetup.sh nightly.max x86_64-slc6-gcc47-opt

Make sure that

  • >hostname -f works and returns FQDN, otherwise edit /etc/hosts file and add full name to 127.0.0.1 interface.
  • Your local host is described in workstations.data.xml as having x86_64-slc6 HW_Tag
  • You're using 64bit version of Java:
    > export TDAQ_JAVA_HOME=/afs/cern.ch/sw/lcg/external/Java/JDK/1.6.0/amd64
Now run partition as usual:
> setup_daq daq/partitions/be_test.data.xml be_test
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2013-04-03 - AndreiKazarov
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback