Tags:
create new tag
view all tags
---+ Beam Line PC Setup %TOC% ---++ Install !CentOS7 Installed CERN !CentOS 7 normally (see http://linux.web.cern.ch/linux/centos7/ ) <VERBATIM>yum -y install !ImageMagick aspell aspell-en finger chkconfig psacct on service psacct start yum install -y centos-release-scl yum install -y devtoolset-4 yum install -y devtoolset-7</VERBATIM> ---++ Install HSIO2 software with eudaq v1.7 see https://confluence.slac.stanford.edu/display/Atlas/Test+Beam+Server+Box+Setup for more instruction <VERBATIM> emacs -nw /etc/sysconfig/selinux ### SELINUX=permissive echo 0 >> /etc/selinux/enable systemctl disable firewalld source /opt/rh/devtoolset-4/enable yum install -y python-paramiko python-scp yum install -y root root-physics mkdir -p /opt/AtlasRceSdk/ cd /opt/AtlasRceSdk/ #wget -O - http://rceprojectportal.web.cern.ch/RceProjectPortal/software/SDK/V0.11.1.tar.gz | sudo tar xfz - curl --socks5-hostname 127.0.0.1:1080 http://rceprojectportal.web.cern.ch/RceProjectPortal/software/SDK/V0.11.1.tar.gz | tar xvfz git clone --recurse-submodules https://:@gitlab.cern.ch:8443/rce/pixelrce.git cd pixelrce/rce source /opt/rh/devtoolset-4/enable source scripts/setup-dev.sh (cd build.rce ; make -j4 ) && ( cd build.host; make -j4 ) </VERBATIM> Note : need to modify following code for eudaq v1.7 <VERBATIM> diff --git a/main/include/eudaq/DataSender.hh b/main/include/eudaq/DataSender.hh index 6d5a5dc..05d65f4 100644 --- a/main/include/eudaq/DataSender.hh +++ b/main/include/eudaq/DataSender.hh @@ -2,11 +2,12 @@ #define EUDAQ_INCLUDED_DataSender #include "eudaq/Platform.hh" +#include <eudaq/TransportClient.hh> #include <string> namespace eudaq { - class TransportClient; + // class TransportClient; class Event; class AidaPacket; @@ -17,7 +18,7 @@ namespace eudaq { void Connect(const std::string &server); void SendEvent(const Event &); void SendPacket(const AidaPacket &); - + void SendPacket(unsigned char *data,int size) {m_dataclient->SendPacket(data,size);} private: std::string m_type, m_name; TransportClient *m_dataclient; </VERBATIM> ---++ Install Yarr software with eudaq v1.7 <VERBATIM> mkdir ~/work/yarr_rd53a cd ~/work/yarr_rd53a git clone https://gitlab.cern.ch/YARR/YARR-FW.git YARR-FW git clone https://gitlab.cern.ch/YARR/YARR.git YARR cd YARR git checkout devel source /opt/rh/devtoolset-7/enable cd src/kernel make sudo make install sudo depmod sudo rmmod specDriver sudo modprobe specDriver cd ../ make -j4 ##### # see https://gitlab.cern.ch/YARR/YarrEudaqProducer cd ~/work/yarr_rd53a git clone https://gitlab.cern.ch/YARR/YarrEudaqProducer.git YarrEudaqProducer_20180704 cd YarrEudaqProducer_20180704 cmake3 . make -j5 </VERBATIM> -- %USERSIG{KojiNakamura - 2018-07-07}%
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2018-07-07
-
KojiNakamura
Home
Site map
Main web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
E
dit
A
ttach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback