Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A handful of EPICS modules have been built for the new EPICS base.
Most of them have been built cross-compiled for several targets including the following:


linuxRT-x86
linux-x86
linux-x86_64

5. What do I do if I need a new module or a specific version for an existing module built for the new base?

...

6. What do I need to setup a new EPICS APP and IOC to use linuxRT-86 OS? (Ex. 'vioc-b34-my01' for 'MyApp')

When the go_epics*.bash script was sourced, several environment variables pertaining to EPICS were setup in your bash shell:

Some variables are paths to ''TOP-level' directories:

EPICS_TOP=/afs/slac/g/lcls/epics/R3-14-12-3_1-0

EPICS_BASE_TOP=/afs/slac/g/lcls/epics/R3-14-12-3_1-0/base

EPICS_MODULES_TOP=/afs/slac/g/lcls/epics/R3-14-12-3_1-0/modules

EPICS_IOC_TOP=/afs/slac/g/lcls/epics/R3-14-12-3_1-0/iocTop

EPICS_IOC_TOP is the EPICS IOCs Application Top level directory.

It is here where all EPICS applications are created. EPICS_IOC_TOP is the same as the APP variable.

Other environment variables setup in your bash shell are:

IOC=/afs/slac/g/lcls/epics/R3-14-12-3_1-0/iocCommon

$IOC is the directory where all the iocs' startup scripts are stored.

IOC_DATA=/nfs/slac/g/lcls/epics/ioc/data

$IOC_DATA is the data directory. This is where the outputs from the ioc and in some case inputs are stored.

In LCLSDEV, the iocs must have special permissions to write to the $IOC_DATA directory.

Fill out an online form provided by SCCS to obtain permissions for your ioc to write to this directory.
 

(a) Create the following directories:
$IOC/ioc-b34-my01
$IOC_DATA/ioc-b34-my01
$APP/Test(a) Create the following directories:
$IOC/ioc-b34-my01
$IOC_DATA/ioc-b34-my01
$APP/Test (look at this as an example)

Now create the EPICS application using standard templates and scripts:

(b) cd $APP/Test

 mkdir  mkdir Developmentcd Development

(c) cd Development

You are currently in:

/afs/slac/g/lcls/epics/R3-14-12-3_1-0/iocTop/Test/Development

...