Difference between revisions of "How to compile PHASER to run on multiple CPUs (Linux)"

From CCP4 wiki
Jump to navigationJump to search
(Created page with "Download the latest phaser source package, e.g. from [ftp://ftp.ccp4.ac.uk/ccp4/6.2.0/ccp4-6.2.0-phaser-cctbx-src.tar.gz CCP4 ftp server]. Untar the source code (this takes awhi...")
 
(remove text. current phaser _does_ already use multiple CPUs. no need to recompile)
Tag: Blanking
 
Line 1: Line 1:
Download the latest phaser source package, e.g. from [ftp://ftp.ccp4.ac.uk/ccp4/6.2.0/ccp4-6.2.0-phaser-cctbx-src.tar.gz CCP4 ftp server].
 
  
Untar the source code (this takes awhile)
 
 
'''''tar xvzf ccp4-6.2.0-phaser-cctbx-src.tar.gz'''''
 
 
Configure
 
 
'''''python ccp4-6.2.0/lib/cctbx/cctbx_sources/cctbx_project/libtbx/configure.py --repository=ccp4-6.2.0/src/phaser/source phaser --build-boost-python-extensions=False --enable-openmp-if-possible=True --static-exe'''''
 
 
Setup compilation (assuming bash)
 
 
'''''. ./setpaths.sh'''''
 
 
Now compile
 
 
'''''libtbx.scons'''''
 
 
The phaser binary is in ''exe'' folder.  If you prefer dynamic linking, omit the ''--static-exe'' flag.
 

Latest revision as of 18:22, 25 March 2020