Menu

PolyXSim - installation

Anonymous

Installation

The program can be downloaded from the Fable page on sourceforge.net. Presently the code has been distributed as a zip package or a compressed tarball of the source code. Download either one and unpack it.

e.g.
tar xvzf PolyXSim-1.0.0.tar.gz
or
unzip PolyXSim-1.0.0.zip

a files are unpacked into the directory PolyXSim-1.0.0. To install these do

cd PolyXSim-1.0.0

and install PolyXSim with (most likely you will need to be done with root privileges, e.g. put sudo in front of command)

python setup.py install

The newest development version can be obtained by checking it out from the subversion (SVN) repository. Do

svn co https://fable.svn.sourceforge.net/svnroot/fable/simulation/PolyXSim

Python and python modules needed

The installation of modules is easiest if Python 2.4 or later is installed. Since precompiled and installation ready versions are available of all the needed python modules.
For full functionality of PolyXSim the following modules need to be installed.

  • FabIO (FABle Input Output library) - OBS You have to use the numpy version of FabIO - found presently only on subversion. Do the checkout shown below and go to the directory fabio/branch/numpy and run python setyp.py install.
  • xfab (Xtallographic library for FABle) - Presently only available on SVN
  • PIL (python imaging library) - http://www.pythonware.com
  • numpy - http://www.numpy.org
  • scipy - http://www.scipy.org/Download
  • PyCifRW - python library for reading and writing CIF files - http://pycifrw.berlios.de/ (I you install this on an Linux distribution, you might have to install the Python development libraries as well. On Ubuntu (or distributions build from Ubuntu) this can be done on the command line: > sudo apt-get install python-dev)

SVN branch of FabIO and xfab is available at

svn co https://fable.svn.sourceforge.net/svnroot/fable/fabio
svn co https://fable.svn.sourceforge.net/svnroot/fable/xfab

these are installed by:

cd fabio/trunk (or cd xfab/trunk)
python setyp.py install    (posibly with sudo in front if running a linux dist.)

Ubuntu specific installation details

To run fabric (if you already have a running version of ImageD11 or fabian you have probably installed all the needed packages) on Ubuntu (a linux distribution based on Debian) most of the python modules can be installed either through the Synaptic Package Manager (found in System -> Administration) or using apt-get on from the command line in a terminal.
The extra ubuntu packages needed are:

  • python-imaging
  • python-numpy

using apt-get these can be installed as:

sudo apt-get install python-imaging python-numpy

using Synaptic Package Manager:

**search** to find the specific ubuntu packages instead
**mark** them for installation
**Apply** to install

Related

fabio: fabio
Wiki: PolyXSim

MongoDB Logo MongoDB