Epics For MBS
In cooperation with the
Data processing group,
for platforms/architectures running the
MBS Multi Branch System DAQ System are foreseen to have
- installations of EPICS at all supported architectures (linux-ppc, linux-x86(_64)) and optionally not yet supported operating system LynxOS
- provide access methods (drivers, protocols, ... ) to the control functions of the MBS systems.
Experiments
People
Electronics
other
Objectives
EPICS installations
Following the EPICS@GSI methodology (c.f.
EpicsInstallationsAtGsi)
- base
- base 3.14.12.5
- base 3.15.2
- architectures
- os
Goal: collect all reasonable packages for MBS into installer distribution together with tailored scripts
EPICS access to MBS controls
- interface to
gosipcmd
or libmbspex
- VMEbus tools (NK)
HowTo
Setting environment
To activate EPICS environment on any MBS node, invoke the common script
epicslogin under bash:
R4L-14 adamczew > bash
bash-3.2$ . epics
sourcing ./myepicslogin.sh seen from directory /epics/install/RIO4/Linux/OSV_2_6_33/EPICS-3.14.12.5
MYEPICS_VERSION set to EPICS-3.14.12.5
EPICS_VERSION set to EPICS-3.14.12.5
sourcing /epics/install/RIO4/Linux/OSV_2_6_33/EPICS-3.14.12.5/base/startup/Site.profile
EPICS_HOME set to /epics/install/RIO4/Linux/OSV_2_6_33/EPICS-3.14.12.5
....
All platform specific EPICS installations are on NFS mounted location
/epics/install/${GSI_CPU_PLATFORM}/${GSI_OS}/${GSI_OS_VERSIONX}
NOTE: The EPICS login script is at
/epics/install/bin/epics
. There should be a soft link from
/usr/local/bin
to it.
If this may not exist, one can put
/epics/install/bin/
to the user's
PATH
or call directly
. /epics/install/bin/epics
.
New installation on MBS node
All required packages and scripts have been put into MBS specific distribution
EPICS-3.14.12.5_mbs.tar.gz
.
This is available in directory
/epics/install/package/
and provides installation script
install4mbs.sh
.
To install this on any platform for MBS do:
R4L-1 epics > cd /epics/install/package/EPICS-3.14.12
R4L-1 epics >./install4mbs.sh
Starting epics installation to /epics/install/RIO4/Linux/OSV_2_6_24/EPICS-3.14.12.5
mkdir: created directory `/epics/install/RIO4/Linux/OSV_2_6_24'
mkdir: created directory `/epics/install/RIO4/Linux/OSV_2_6_24/EPICS-3.14.12.5'
+++++++++++ provide re2c tool...
sourcing ./myepicslogin.sh seen from directory /epics/install/RIO4/Linux/OSV_2_6_24/EPICS-3.14.12.5
MYEPICS_VERSION set to EPICS-3.14.12.5
EPICS_VERSION set to EPICS-3.14.12.5
sourcing /epics/install/RIO4/Linux/OSV_2_6_24/EPICS-3.14.12.5/base/startup/Site.profile
EPICS_HOME set to /epics/install/RIO4/Linux/OSV_2_6_24/EPICS-3.14.12.5
EPICS_BASE set to /epics/install/RIO4/Linux/OSV_2_6_24/EPICS-3.14.12.5/base
.....
+++++++++++ making epics base...
+++++++++++ installing epics extensions...
+++++++++++ installing ezca...
+++++++++++ installing msi...
+++++++++++ building extensions...
....
+++++++++++ installing epics modules...
+++++++++++ building soft/seq...
+++++++++++ building support/autosave...
+++++++++++ building soft/asyn...
+++++++++++ building support/sscan...
+++++++++++ building support/busy...
+++++++++++ building support/modbus...
+++++++++++ building support/devIocStats...
+++++++++++ building support/calc...
+++++++++++ building StreamDevice...
EPICS at /epics/install/RIO4/Linux/OSV_2_6_24/EPICS-3.14.12.5 is ready.
Note that all makefile outputs are written to logfile
makelog.txt
in each specific subdirectory.
--
JoernAdamczewski - 13 Nov 2015
Status
|
mount point for epics created (NK) |
|
EPICS installations on linux-ppc RIO4 systems (JAM) |
|
|
|
needed patch to recognize architecture, currrently hardcoded in Startup.profile |
|
|
|
|
better patch EpicsHostArch.pl to recognize linux-ppc. Done for further installations JAM |
|
|
|
needed installations of missing perl include file (generated by Configure from source distribution JAM) |
|
|
|
missing tool re2c on Sugarhat distribution (installed from source under EPICS_BASE/tools and put into PATH JAM) |
|
|
|
add missing configuration for libreadline and libncurses in configure/os/CONFIG.linux-ppc.linux-ppc . This enables command history in ioc shell JAM |
|
|
extensions |
|
Provide EPICS "distribution" package for MBS with install4mbs.sh script (JAM) |
|
EPICS installations on linux X86 systems |
|
EPICS installations on LynxOS X86 systems |
|
EPICS installations on LynxOS RIO4 systems |
Here table of installed platforms:
--
JoernAdamczewski - 10 Nov 2015
--
PeterZumbruch - 06 Nov 2015