Project

General

Profile

Install SPIDER » History » Version 12

Neil Voss, 05/13/2010 09:08 AM

1 1 Neil Voss
h1. Install SPIDER
2
3 12 Neil Voss
h2. Install documentation at wadsworth.org
4
5
the Wadsworth Institute provides "detailed documentation"http://www.wadsworth.org/spider_doc/spider/docs/spider-inst-linux.html" on how to install SPIDER on various systems. Below we cover a _our way_ to get it working on your system.
6
7 7 Neil Voss
h2. Download SPIDER binary "from wadsworth.org":http://www.wadsworth.org/spider_doc/spider/docs/spi-register.html (250 MiB)
8 4 Neil Voss
9 7 Neil Voss
bq. Most of our SPIDER scripts were originally designed around SPIDER v14 and v15, but we are diligently working toward compatibility with SPIDER v18. That said you are probably best off using the newest version of SPIDER (v18.10 as of May 2010) and then reporting any bugs to us.
10 1 Neil Voss
11 7 Neil Voss
h2. Extract the archive
12
13
<pre>tar -zxvf spiderweb.18.10.tar.gz</pre>
14 1 Neil Voss
15 9 Neil Voss
bq. The archive will create 3 folders: spider, spire, and web. At this time only the *spider* program is used within Appion, you can safely ignore web and spire.
16 8 Neil Voss
17 10 Neil Voss
h2. Install SPIDER
18 1 Neil Voss
19 10 Neil Voss
* Copy the spider folder to global directory:
20
<pre>sudo mv -v spider /usr/local/</pre>
21 1 Neil Voss
22 10 Neil Voss
* Next, you need to determine which version of the spider binary you need to use on your system.
23 11 Neil Voss
<pre>
24
cd /usr/local/spider/bin
25
ls spider*
26
  spider_linux           spider_linux_mp_intel64  spider_linux_mp_opt64  spider_osx_64_pgi
27
  spider_linux_mp_intel  spider_linux_mpi_opt64   spider_osx_32_pgi
28
</pre>
29 10 Neil Voss
30
31
<pre>sudo ln -sv /usr/local/spider/bin/spider /usr/local/</pre>
32
33
h2. Set environmental variables
34
35
h3. For @BASH@, create an spider.sh and add the following lines:
36
37 1 Neil Voss
<pre>
38 10 Neil Voss
export SPIDER=/usr/local/spider
39
export SPMAN_DIR=${SPIDER}/man
40
export SPPROC_DIR=${SPIDER}/proc
41
export SPRGB_DIR=${SPIDER}/rgb
42 8 Neil Voss
</pre>
43 1 Neil Voss
44 10 Neil Voss
h3. For @C@ shell, create an spider.csh and add the following lines:
45 1 Neil Voss
46
<pre>
47 10 Neil Voss
setenv SPIDER /usr/local/spider
48
setenv SPMAN_DIR ${SPIDER}/man
49
setenv SPPROC_DIR ${SPIDER}/proc
50
setenv SPRGB_DIR ${SPIDER}/rgb
51 8 Neil Voss
</pre>
52
53
h3. And then add it to the global /etc/profile.d/ folder
54
55
<pre>
56 10 Neil Voss
sudo cp -v spider.sh /etc/profile.d/spider.sh
57
sudo chmod 755 /etc/profile.d/spider.sh
58 8 Neil Voss
59 10 Neil Voss
-or-
60
61
sudo cp -v spider.csh /etc/profile.d/spider.csh
62
sudo chmod 755 /etc/profile.d/spider.csh
63 1 Neil Voss
</pre>
64
65
66
[[Install EMAN|< Install EMAN]] | [[Install Xmipp|Install Xmipp >]]