You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 24 Next »

Table of Contents

I. Overview

The FACET facility is controlled by the VMS-based SCP control system, and EPICS controls for some systems.  This is a basic FACET control system physics development guide.

confluence test area:
bqp.test
test2


II. Logging into the FACET control system network

The FACET EPICS control system resides on its own MCC-based private network, parallel to and separate from the LCLS network.  The FACET servers that will be used for matlab work are:

  • facet-srv01
  • facet-srv02

The FACET and LCLS directory structures have a parallel naming convention:

  • LCLS top-level directory: /usr/local/lcls
  • FACET top-level directory: /usr/local/facet

To log into the FACET network from a linux terminal session:

  • Account setup:
    • Your afs unix account must be added to the facet group.  Contact Ken Brobeck (x2558).
    • You will be logging into the facet network as the shared fphysics account. For personal matlab settings, Mike Zelazny (x3673) will set you up with an (optional) user-specific directory and environment (ENVS script file) under fphysics.
  • Log into the mcclogin machine with your afs account:
    • ssh mcclogin
  • Then, from mcclogin, log into facet-srv01 or facet-srv02 as the fphysics account, for example:
    • ssh fphysics@facet-srv01
    • When prompted, enter your user number assigned by Mike (or 0 if you don't have one.)
    • With Mike's setup, you are now in /home/fphysics/yourUserID (e.g. /home/fphysics/fred)

To log into the FACET network from an OPI in MCC:

  • Click the ..... icon on the desktop.

III. FACET edm displays: facethome

facethome is the toplevel display for the FACET accelerator. It is similar to lclshome, a grid showing all areas and subsystems, with clickability into the various displays.

To run facethome from a terminal session on the facet network (see above) enter:

  • enter facethome at the command prompt

To run facethome from a an MCC opi:

  • click the ... icon on the screen

IV. SCP

To run a SCP from a terminal session window:

  • you will need a VMS account on MCC. To get one, please contact Ken Brobeck (x2558)
  • from your afs account on mcclogin, log into mcc and run the scp:
    • ssh mcc
    • scp xt yourVMSUserID (e.g. scp xt fred)

To run a SCP from facethome:

  • click the "SCP..." button

V. Matlab

Environment setup
After you log onto a Linux machine using the fphysics account, you'll need to customize the environment for matlab. Once Mike Z. has set up your user directory under fphysics as described in II. above, add these commands to your /home/fphysics/yourUserID/ENVS file, and they will be automatically invoked every time you log in. Note: All strings are case-sensitive.

  • source /usr/local/facet/tools/script/ENVS_facet.bash
  • export EPICS_CA_MAX_ARRAY_BYTES=40000000 (if you'll be using OTR image data)
  • export DISPLAY=your_IP_address:0 (if you're logging in from Windows)

Note: your_IP_address can be found after e.g. running ipconfig on Windows.

  • Start matlab
    • If you want the full development environment, type
      matlab
      to start the full GUI version If you want to run applications only and/or do some basic scripting (recommended), type
      matlab -nodesktop -nosplash
      to start the fully working command-line version that requires much less resources.

BSA: beam synchronous data


AIDA

http://www.slac.stanford.edu/grp/cd/soft/aida/

  • No labels