Versions Compared

Key

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

...

Panel
2. How do I setup my bash shell to use the new EPICS?

From a bash shell in an LCLSDEV host (Ex. lcls-dev2), type the following:

source /afs/slac/g/lcls/epics/setup/go_epics_3-14-12-3_1-0.bash

The above script sets up several EPICS environment variables 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_EXTENSIONS=/afs/slac/g/lcls/epics/R3-14-12-3_1-0/extensions/extensions-R3-14-12

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

 EPICS_MBA_TEMPLATE_TOP=/afs/slac/g/lcls/epics/R3-14-12-3_1-0/modules/icdTemplates/icdTemplates-R1-0-1

PACKAGE_TOP=/afs/slac/g/lcls/package

EPICS_IOC_TOP is the top level application directory for all EPICS iocs that use this EPICS version.

It is here where all new EPICS applications must be 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 the startup scripts for all the iocs are located. 

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

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

...