Differences between revisions 33 and 34

Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
Download the file which fits your platform, the file name should be eman2.daily.linux.gcc4.tar.bz2, save it in the home directory. Download the file which fits your platform, the current file name is eman2.daily.linux.gcc4.tar.bz2(maybe changed in the future), save it in the home directory.

How to obtain EMAN2/sparx

Please visit the EMAN2 page of downloading EMAN2/sparx:

where you can find links to the source code and the binary distributions for Linux, Mac OS and Windows.

How to install EMAN2/sparx

The easiest way is to install the binary distribution. If you are interested in the detail, you can also build EMAN2/sparx from the source code.

Install the binary distribution

It is suggested to install EMAN2/sparx under your home directory.

If you are using linux:

Download the file which fits your platform, the current file name is eman2.daily.linux.gcc4.tar.bz2(maybe changed in the future), save it in the home directory.

then do

    cd $HOME
    tar --bzip2 -xvf eman2.daily.linux.gcc4.tar.bz2
    cd EMAN2
    ./eman2-installer

The installer will ask you about the version of python your are using. Then it will generate a file named eman2.bashrc. By running source eman2.bashrc the environmental variables will be set correctly.

When installing on a cluster, it is preferable to switch of bdb database cache (otherwise nodes can become out of sync with the front machine and parameters stored in the bdb database by the program running on the cluster may become invisible to the front machine). The cluster installation is thus preferably done by adding a flag to the installer:

    ./eman2-installer  --disable_cache

Note this also switches off the GUI usage in interactive sparx, a feature normally of not much use when working on remote machines. To active one of the options one has to modify appropriate flags in EMAN2/lib/global_def.py.

After that please following the instruction of MPI-installation to install the MPI-python binding and enable the MPI version of sparx.

Install from the source code

Detailed step-by-step instructions can by found in SourceCodeInstallation.

Installer (last edited 2010-07-30 16:07:10 by ranlin)