Set up PSDM software: Difference between revisions
m (Added sit_setup.) |
m (Migrate comments from google document.) |
||
Line 20: | Line 20: | ||
$ newpkg <i>my_ana_pkg</i> | $ newpkg <i>my_ana_pkg</i> | ||
<!-- XXX Should note that these names are pretty arbitrary --> | <!-- XXX Should note that these names are pretty arbitrary --> | ||
<!-- XXX MAYBE HERE, MAYBE ELSEWHERE: Keeping up to date: | |||
To upgrade to a new release, do | |||
psana$ relupgrade release | |||
Where release is any valid release name under $SIT_RELDIR. Since the PHENIX modules do not critically depend on any particular version of pyana, it is possible to track ana-current, i. e. | |||
psana$ relupgrade ana-current | |||
If relinfo doesn’t say ana-current after that, one can edit myrelease/.sit_release manually to that effect. After an upgrade, any non-PHENIX user modules may need to upgraded, by removing their corresponding directories and re-installing them using addpkg as above (and remember to port any changes into the new module). Then rebuild | |||
psana$ scons -c | |||
psana$ scons | |||
--> | |||
== External links == | == External links == | ||
* More detailed manual: [https://confluence.slac.stanford.edu/display/PCDS/Pyana+User+Manual Pyana User Manual] | * More detailed manual: [https://confluence.slac.stanford.edu/display/PCDS/Pyana+User+Manual Pyana User Manual] |
Revision as of 22:18, 4 February 2014
If you are installing somewhere other than SLAC, follow these instructions to install SLAC's PSDM suite.
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 in the current working directory using
$ newrel ana-current myrelease $ cd myrelease $ sit_setup $ newpkg my_ana_pkg
External links
- More detailed manual: Pyana User Manual