Set up PSDM software: Difference between revisions

From cctbx_xfel
Jump to navigation Jump to search
(Add "External links section")
m (Clarify sourcing ana_env shell configuration.)
Line 13: Line 13:
or
or
  % source /reg/g/psdm/etc/ana_env.csh
  % source /reg/g/psdm/etc/ana_env.csh
for a csh(1).  These settings may be made persistent by adding
for a csh(1).  Sourcing <code>ana_env.sh</code> or <code>ana_env.csh</code> modifies the environment of the current shell, and would have to be repeated every time a new shell is started.  To make the changes persistent, add
  test -r /reg/g/psdm/etc/ana_env.sh && . /reg/g/psdm/etc/ana_env.sh
  test -r /reg/g/psdm/etc/ana_env.sh && . /reg/g/psdm/etc/ana_env.sh
to <code>~/.bashrc</code>, or
to <code>~/.bashrc</code>, or

Revision as of 01:33, 4 February 2014


If you are installing somewhere other than SLAC, follow these instructions to install SLAC's PSDM suite.

All users will need to follow these further instructions to configure pyana.


A test release, which refers to a particular release of the LCLS packages, is represented by a directory in the file system, often called analysis-rel or myrelease. An analysis package within the test release in turn refers to the files implementing the analysis modules of the package. Details about installing of a test release and analysis packages are covered in Analysis Workbook. Quick Tour. Assuming the LCLS software is installed at /reg/d/psdm, the LCLS environment is prepared in a bash(1) shell using

$ . /reg/g/psdm/etc/ana_env.sh

or

% source /reg/g/psdm/etc/ana_env.csh

for a csh(1). Sourcing ana_env.sh or ana_env.csh modifies the environment of the current shell, and would have to be repeated every time a new shell is started. To make the changes persistent, add

test -r /reg/g/psdm/etc/ana_env.sh && . /reg/g/psdm/etc/ana_env.sh

to ~/.bashrc, or

test -r /reg/g/psdm/etc/ana_env.csh && source /reg/g/psdm/etc/ana_env.csh

to ~/.cshrc as appropriate. A test released based on the most current LCLS software is then set up using

$ newrel ana-current myrelease
$ cd myrelease
$ newpkg my_ana_pkg

External links