Project

General

Profile

Actions

Install EMAN » History » Revision 9

« Previous | Revision 9/21 (diff) | Next »
Neil Voss, 05/12/2010 02:31 PM


Install EMAN

EMAN1 is a fundamental package used in appion for general file conversion and image filtering.

Download latest EMAN1 (not EMAN2) binaries (currently version 1.9):

  1. Go to the EMAN webpage
  2. Click on (download) next to EMAN1
  3. Scroll to Download 1.9
  4. Click on Download 1.9 link
  5. Select the appropriate package
    • we recommend using the cluster version of EMAN1
    • x86 for 32bit and x86_64 for 64bit machines
    • In this case, we would download the "eman-linux-x86_64-cluster-1.9.tar.gz"
  6. Go to download directory and unzip the tar file:
    tar -zxvf eman-linux-x86_64-cluster-1.9.tar.gz
  7. Move the unzipped folder to a global location
    sudo mv -v EMAN /usr/local/
  8. Run the EMAN installer
    cd /usr/local/EMAN/
    ./eman-installer
    
  9. Set enivromental variables
    • For BASH, create an eman.sh and add the following lines:
      export EMANDIR=/usr/local/EMAN
      export PATH=${EMANDIR}/bin:${PATH}
      export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${EMANDIR}/lib
      export PYTHONPATH=${EMANDIR}/lib
      
    • For C shell, create an eman.csh and add the following lines:
      setenv EMANDIR /usr/local/EMAN
      setenv PATH ${EMANDIR}/bin:${PATH}
      setenv LD_LIBRARY_PATH ${EMANDIR}/lib
      setenv PYTHONPATH ${EMANDIR}/lib
      
    • And then add it to the global /etc/profile.d/ folder
      sudo cp -v eman.sh /etc/profile.d/eman.sh
      sudo chmod 755 /etc/profile.d/eman.sh
      
      sudo cp -v eman.csh /etc/profile.d/eman.csh
      sudo chmod 755 /etc/profile.d/eman.csh
      

Test EMAN install

Run proc2d

proc2d test.mrc test.mrc apix=2.0 addnoise=1.0 clip=64,64

Should create 64x64 image of noise, to view the file:

v2 test.mrc


< Install External Packages | Compile FindEM >


Updated by Neil Voss over 14 years ago · 9 revisions