Maintaining an installation: Difference between revisions

From cctbx_xfel
Jump to navigation Jump to search
m (Noted missing bits.)
m (Updated link to PSDM installation instructions.)
 
Line 1: Line 1:
== Keeping up to date with PSDM releases==
== Keeping up to date with PSDM releases==


<!-- XXX Separate installation and maintenance instructions are provided by the PSDM project at [https://confluence.slac.stanford.edu/display/PCDS/PSDM+software+distribution PSDM software distribution].  XXX Also missing bit on how to update cctbx for non-developers.  -->
<!-- XXX Separate installation and maintenance instructions are provided by the PSDM project at [https://confluence.slac.stanford.edu/display/PSDM/Software+Distribution PSDM software distribution].  XXX Also missing bit on how to update cctbx for non-developers.  -->


Since the ''cctbx.xfel'' modules do not critically depend on any particular version of ''pyana'', it is generally safe to closely track the latest version of the PSDM software distribution.  To upgrade to the current PSDM release,
Since the ''cctbx.xfel'' modules do not critically depend on any particular version of ''pyana'', it is generally safe to closely track the latest version of the PSDM software distribution.  To upgrade to the current PSDM release,

Latest revision as of 23:45, 28 February 2014

Keeping up to date with PSDM releases

Since the cctbx.xfel modules do not critically depend on any particular version of pyana, it is generally safe to closely track the latest version of the PSDM software distribution. To upgrade to the current PSDM release,

$ cd /path/to/test/release
$ relupgrade ana-current

where /path/to/test/release must be substituted for path of the test release. The cctbx.xfel modules should then be rebuilt using

$ scons -c
$ scons

It is possible to manually edit /path/to/test/release/.sit_release to contain ana-current instead of a particular version number. This ensures that the latest version of the PSDM software distribution is used during each session.

Keeping a developer installation up to date

Given the rapid development of the PHENIX suite, it is recommended to update the sources and rebuild often. Certain changes may require the configure command (or libtbx.refresh) to be rerun.

$ cd /path/to/cctbx/sources
$ ./allsvn update
$ cd /path/to/cctbx/build
$ make