Project

General

Profile

Install EMAN » History » Version 20

Anchi Cheng, 01/31/2018 01:12 AM

1 1 Neil Voss
h1. Install EMAN
2
3 15 Amber Herold
EMAN1 is a fundamental package used in Appion for general file conversion and image filtering.
4 4 Neil Voss
5
h2. Download latest EMAN1 (not EMAN2) binaries (currently version 1.9):
6
7
# Go to the "EMAN webpage":http://blake.bcm.tmc.edu/eman/
8 5 Neil Voss
# Click on @(download)@ next to @EMAN1@
9
# Scroll to Download 1.9
10 18 Amber Herold
#* Note: For CentOS 6, you should download the latest nightly snapshot. (eman.daily.linuxcluster.tar.gz)
11 5 Neil Voss
# Click on @Download 1.9@ link
12
# Select the appropriate package
13 18 Amber Herold
#* we recommend using the @cluster@ version of EMAN1 
14 5 Neil Voss
#* x86 for 32bit and x86_64 for 64bit machines
15
#* In this case, we would download the "eman-linux-x86_64-cluster-1.9.tar.gz"
16 17 Neil Voss
17 20 Anchi Cheng
* We have local tgz files in [[appion:Files]]
18
19 17 Neil Voss
20 13 Neil Voss
21
h2. Install EMAN
22
23 5 Neil Voss
# Go to download directory and unzip the tar file:
24
<pre>tar -zxvf eman-linux-x86_64-cluster-1.9.tar.gz</pre>
25
# Move the unzipped folder to a global location
26
<pre>sudo mv -v EMAN /usr/local/</pre>
27 11 Neil Voss
# Run the EMAN installer, it sets up the EMAN python module (must be run from the EMAN directory)
28 5 Neil Voss
<pre>
29
cd /usr/local/EMAN/
30
./eman-installer
31 1 Neil Voss
</pre>
32 13 Neil Voss
33
h2. Set enivromental variables
34
35 8 Neil Voss
#* For @BASH@, create an eman.sh and add the following lines:
36 1 Neil Voss
<pre>
37 8 Neil Voss
export EMANDIR=/usr/local/EMAN
38
export PATH=${EMANDIR}/bin:${PATH}
39
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${EMANDIR}/lib
40
export PYTHONPATH=${EMANDIR}/lib
41 5 Neil Voss
</pre>
42 8 Neil Voss
#* For @C@ shell, create an eman.csh and add the following lines:
43 5 Neil Voss
<pre>
44
setenv EMANDIR /usr/local/EMAN
45
setenv PATH ${EMANDIR}/bin:${PATH}
46 1 Neil Voss
setenv LD_LIBRARY_PATH ${EMANDIR}/lib
47
setenv PYTHONPATH ${EMANDIR}/lib
48
</pre>
49 5 Neil Voss
#* And then add it to the global /etc/profile.d/ folder
50
<pre>
51 8 Neil Voss
sudo cp -v eman.sh /etc/profile.d/eman.sh
52
sudo chmod 755 /etc/profile.d/eman.sh
53
54 14 Neil Voss
- or -
55
56 5 Neil Voss
sudo cp -v eman.csh /etc/profile.d/eman.csh
57
sudo chmod 755 /etc/profile.d/eman.csh
58 1 Neil Voss
</pre>
59 14 Neil Voss
60
bq. You may need to log out and log back in for these changes to take place.
61 3 Neil Voss
62 9 Neil Voss
h2. Test EMAN install
63
64
Run @proc2d@
65 10 Neil Voss
<pre>proc2d help</pre>
66 9 Neil Voss
67 10 Neil Voss
Should popup a window displaying help for proc2d
68 9 Neil Voss
69 3 Neil Voss
______
70 2 Neil Voss
71 19 Amber Herold
[[Install_dosefgpu_driftcorr|< Install dosefgpu driftcorr]] | [[Install EMAN2|Install EMAN2 >]]
72 3 Neil Voss
73 1 Neil Voss
______