Project

General

Profile

Install EMAN » History » Revision 9

Revision 8 (Neil Voss, 05/12/2010 01:21 PM) → Revision 9/21 (Neil Voss, 05/12/2010 02:31 PM)

h1. Install EMAN 

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

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

 # Go to the "EMAN webpage":http://blake.bcm.tmc.edu/eman/ 
 # Click on @(download)@ next to @EMAN1@ 
 # Scroll to Download 1.9 
 # Click on @Download 1.9@ link 
 # 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" 
 # Go to download directory and unzip the tar file: 
 <pre>tar -zxvf eman-linux-x86_64-cluster-1.9.tar.gz</pre> 
 # Move the unzipped folder to a global location 
 <pre>sudo mv -v EMAN /usr/local/</pre> 
 # Run the EMAN installer  
 <pre> 
 cd /usr/local/EMAN/ 
 ./eman-installer 
 </pre> 
 # Set enivromental variables 
 #* For @BASH@, create an eman.sh and add the following lines: 
 <pre> 
 export EMANDIR=/usr/local/EMAN 
 export PATH=${EMANDIR}/bin:${PATH} 
 export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${EMANDIR}/lib 
 export PYTHONPATH=${EMANDIR}/lib 
 </pre> 
 #* For @C@ shell, create an eman.csh and add the following lines: 
 <pre> 
 setenv EMANDIR /usr/local/EMAN 
 setenv PATH ${EMANDIR}/bin:${PATH} 
 setenv LD_LIBRARY_PATH ${EMANDIR}/lib 
 setenv PYTHONPATH ${EMANDIR}/lib 
 </pre> 
 #* And then add it to the global /etc/profile.d/ folder 
 <pre> 
 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 
 </pre> 

 h2. Test EMAN install 

 Run @proc2d@ 
 <pre>proc2d test.mrc test.mrc apix=2.0 addnoise=1.0 clip=64,64</pre> 

 Should create 64x64 image of noise, to view the file: 
 <pre>v2 test.mrc</pre> 


 ______ 

 [[Install External Packages|< Install External Packages]] | [[Compile FindEM|Compile FindEM >]] 

 ______