Project

General

Profile

Install EMAN » History » Revision 20

Revision 19 (Amber Herold, 12/02/2013 02:29 PM) → Revision 20/21 (Anchi Cheng, 01/31/2018 01:12 AM)

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 
 #* Note: For CentOS 6, you should download the latest nightly snapshot. (eman.daily.linuxcluster.tar.gz) 
 # 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" 

 * We have local tgz files in [[appion:Files]] 



 h2. Install EMAN 

 # 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, it sets up the EMAN python module (must be run from the EMAN directory) 
 <pre> 
 cd /usr/local/EMAN/ 
 ./eman-installer 
 </pre> 

 h2. 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 

 - or - 

 sudo cp -v eman.csh /etc/profile.d/eman.csh 
 sudo chmod 755 /etc/profile.d/eman.csh 
 </pre> 

 bq. You may need to log out and log back in for these changes to take place. 

 h2. Test EMAN install 

 Run @proc2d@ 
 <pre>proc2d help</pre> 

 Should popup a window displaying help for proc2d 

 ______ 

 [[Install_dosefgpu_driftcorr|< Install dosefgpu driftcorr]] | [[Install EMAN2|Install EMAN2 >]] 

 ______