Maintaining an installation: Difference between revisions

From cctbx_xfel
Jump to navigation Jump to search
(Migrated text from PSDM page.)
 
(Unified maintenance for regular users and developers.i)
Line 8: Line 8:
  $ 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 ==
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 <code>libtbx.refresh</code>) to be rerun.
$ cd <b><i>/path/to/cctbx/sources</i></b>
$ ./allsvn update
$ cd <b><i>/path/to/cctbx/build</i></b>
$ make
<!-- XXX How often should one do something about the hot tarballs (i.e. annlib_hot.tar.gz, boost_hot.tar.gz, and scons_hot.tar.gz)? XXX See also Nick’s note at the end of document about the New framework for specifying crystal targets. -->

Revision as of 10:56, 7 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