Wiki Page Content

EMAN1 Installation and Tips

IMPORTANT NOTE FOR WINDOWS USERS : EMAN1 is NOT fully windows compatible. The GUI programs should largely work without problems, and many of the command line utility programs, like proc2d and proc3d will work fine, but you cannot run refinements under windows. This includes '', 'refine' and 'multirefine'. You will need to use Linux or a Mac if you wish to run these programs. In EMAN2 we are attempting to provide full Windows support for all aspects of the refinement process.

Binary Packages

We provide EMAN1 binary packages on several platforms: Linux(x86), Linux(x86_64), SGI(Irix6.5), Win32, Mac OS X. For Linux copy, there are stand alone version and cluster version. For 32 bit Linux platform, Linux(x86), there is a athlon version which is for athlon based machine. This athlon version linked with a athtlon optimized fftw library, fftw-gel.

If you are not sure your Linux is 32 bit or 64 bit, you can type "uname -m -p". If it print out x86_64, it is a 64 bit machine. Or it print out i686, i386 etc., it is a 32 bit machine.

On Linux or SGI platform, after you untar the binary package, it will create a directory called "EMAN", you have to run eman-installer script in this directory and follow the output instruction. This eman-installer is a shell script which will create a shell script to setup the corresponding environment variables for you.

We limit the external library dependecy by linking them statically as much as we can. So you don't need those external libraries to run EMAN1, i.e. boost_python, gsl, fftw, etc..

Compile from source

1. Compile EMAN on UNIX like systems(Linux, SGI etc.).

2. Compile EMAN on Windows XP with visual C++ 2003.

3. Semi-statically build EMAN on 64 bit Linux(x86_64).

4. Compile EMAN on Ubuntu 7.04, 7.10, 8.04.

5. Compile EMAN on Ubuntu 10.04.

5. Compile EMAN on OS X to use on your own machine. *new*

6. Compile EMAN on OS X and package for distribution. *new*

Environement Variable Setting For EMAN

We need set up environment variables like PATH, LD_LIBRARY_PATH and PYTHONPATH for EMAN to working correctly.

These environment variables will be automatically set when you run eman-installer script when you install binary EMAN release.

But for people compile from source and other diagnosis purpose, user may want to know how those environment variables should be set.

  1. For sh/bash like shells on Linux/UNIX system (suppose you install EMAN under your home directory):

export PATH=${PATH}:${EMANDIR}/bin
  1. For csh/tcsh like shell on Linux/UNIX system (suppose you install EMAN under your home directory):

setenv PATH ${PATH}:${EMANDIR}/bin
setenv PYTHONPATH ${EMANDIR}/lib         #setenv PYTHONPATH ${PYTHONPATH}:${EMANDIR}/lib  if you have PYTHONPATH set
  1. For windows system (suppose you install EMAN under C:\):

right click "my computer"->properties->Advanced->Environment Variables, edit the "path" entry,
-> then add the EMAN's bin and lib directory into it. Add PYTHONPATH to EMAN's lib directory.

EMAN1/Install (last edited 2010-05-28 21:14:01 by gtang)