Difference between revisions of "Set up PSDM software"

From cctbx_xfel
Jump to: navigation, search
m (Comments, thanks to mamin@.)
m (Paste text from old installation page.)
Line 1: Line 1:
 
<!-- XXX Prerequisites: PSDM must be installed XXX On viper these paths are all wrong XXX What's PSDM?  That should either be explained here (an everybody would see it) or in the PSDM installation instructions (but then only those actually needing to install it would see it).  -->
 
<!-- XXX Prerequisites: PSDM must be installed XXX On viper these paths are all wrong XXX What's PSDM?  That should either be explained here (an everybody would see it) or in the PSDM installation instructions (but then only those actually needing to install it would see it).  -->
 +
 +
<!-- XXX BELOW NEEDS SOME WORK, headings, etc -->
 +
If you are installing somewhere other than SLAC, follow [https://confluence.slac.stanford.edu/display/PCDS/PSDM+software+distribution these instructions] to install SLAC's PSDM suite.
 +
 +
All users will need to follow these [https://confluence.slac.stanford.edu/display/PCDS/Analysis+Workbook.+Quick+Tour further instructions] to configure ''pyana''.
 +
<!-- XXX ABOVE NEEDS SOME WORK, headings, etc -->
 +
 +
  
 
A ''test release'', which refers to a particular release of the LCLS packages, is represented by a directory in the file system, often called <code>analysis-rel</code> or <code>myrelease</code>. 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 [https://confluence.slac.stanford.edu/display/PCDS/Analysis+Workbook.+Quick+Tour Analysis Workbook.  Quick Tour].  Assuming the LCLS software is installed at <code>/reg/d/psdm</code>, the LCLS environment is prepared in a bash(1) shell using
 
A ''test release'', which refers to a particular release of the LCLS packages, is represented by a directory in the file system, often called <code>analysis-rel</code> or <code>myrelease</code>. 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 [https://confluence.slac.stanford.edu/display/PCDS/Analysis+Workbook.+Quick+Tour Analysis Workbook.  Quick Tour].  Assuming the LCLS software is installed at <code>/reg/d/psdm</code>, the LCLS environment is prepared in a bash(1) shell using

Revision as of 01:21, 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). These settings may be made persistent by adding

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