A public Phaser git repository is available for git clone and git pull only. This mirrors commits to the Phaser SVN respository in real time
The Phaser SVN repository is located in Cambridge on the CIMR server (password restricted)
The Berkeley mirror at cci.lbl.gov is updated at midnight Berkeley time
- You can download nightly builds of Phenix (binaries), which contain the latest version of Phaser that has passed regression tests
- You can compile code with real-time updates from the git repository. This code may not pass regression tests. The git repository is best used for obtaining instant bugfixes, after communication with one of the Phaser developers
- If you are developing a pipeline using Phaser, we are keen to work with you to add features, fix bugs and help you use Phaser optimally
- Note the University of Cambridge's Licences for Phaser with regards to making Phaser part of a pipeline available online
- Source code modifications are allowed under the University of Cambridge's Licences for Phaser, provided they are for internal use only. Distribution would require those changes to be incorporated into our SVN repository.
- Requests for permission to commit to the SVN repository via SSH should emailed to phaser-help
Building Phaser from source
Phaser requires at least an installation of CCTBX (available from http://cci.lbl.gov/cctbx_build/) to allow building the Phaser executable. Install CCTBX for the desired platform on your system first. For MinGW-W4 use the Windows build of CCTBX. Assuming python2.7 is present on your system Phaser can be built from a CCTBX installation with the following steps from a Bash shell or a Windows command prompt:
- Change directory to the modules/ folder within the CCTBX installation. Then do
- Change directory to the build/ folder within the CCTBX installation
- Delete all files and folders except config_modules.sh or config_modules.cmd
- Edit config_modules.sh or config_modules.cmd script to like:
- Linux or MacOS:
#!/bin/sh python ../modules/cctbx_project/libtbx/configure.py phaser --enable_openmp_if_possible=True
- Windows using Microsoft VC++ 9.0
python ..\modules\cctbx_project\libtbx\configure.py phaser --enable_openmp_if_possible=True
- Windows using MinGW-W64 5.3.0
python ..\modules\cctbx_project\libtbx\configure.py phaser --enable_openmp_if_possible=True --compiler=mingw --static_exe
- Execute the config_modules.sh or config_modules.cmd script.
- On Linux or MacOS source the file setpaths.sh, on Windows execute the file setpaths.bat
- On Linux or MacOS do libtbx.scons -j nproc exe/phaser, on Windows do libtbx.scons -j nproc exe\phaser.exe. Here nproc is the number of available CPUs to do the compilation. This will produce the Phaser executable within the build/exe directory. If Phaser python modules useful for python scripting are also desired then omit the exe/phaser or exe\phaser.exe argument (does not apply to MinGW build).
The steps to build Phaser changes from time to time as the development of required components like CCTBX are a moving target. The steps outlined here may therefore differ from the actual ones at short or no notice.