Maintaining an installation: Difference between revisions
(Unified maintenance for regular users and developers.i) |
m (Updated link to PSDM installation instructions.) |
||
(One intermediate revision by the same user not shown) | |||
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/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, | ||
Line 8: | Line 10: | ||
$ scons | $ scons | ||
It is possible to manually edit <code><b><i>/path/to/test/release</i></b>/.sit_release</code> to contain <code>ana-current</code> instead of a particular version number. This ensures that the latest version of the PSDM software distribution is used during each session. | It is possible to manually edit <code><b><i>/path/to/test/release</i></b>/.sit_release</code> to contain <code>ana-current</code> 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 == | == Keeping a developer installation up to date == |
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