Install SPIDER » History » Version 11
Neil Voss, 05/13/2010 09:05 AM
1 | 1 | Neil Voss | h1. Install SPIDER |
---|---|---|---|
2 | |||
3 | 7 | Neil Voss | h2. Download SPIDER binary "from wadsworth.org":http://www.wadsworth.org/spider_doc/spider/docs/spi-register.html (250 MiB) |
4 | 4 | Neil Voss | |
5 | 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. |
6 | 1 | Neil Voss | |
7 | 7 | Neil Voss | h2. Extract the archive |
8 | |||
9 | <pre>tar -zxvf spiderweb.18.10.tar.gz</pre> |
||
10 | 1 | Neil Voss | |
11 | 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. |
12 | 8 | Neil Voss | |
13 | 10 | Neil Voss | h2. Install SPIDER |
14 | 1 | Neil Voss | |
15 | 10 | Neil Voss | * Copy the spider folder to global directory: |
16 | <pre>sudo mv -v spider /usr/local/</pre> |
||
17 | 1 | Neil Voss | |
18 | 10 | Neil Voss | * Next, you need to determine which version of the spider binary you need to use on your system. |
19 | 11 | Neil Voss | <pre> |
20 | cd /usr/local/spider/bin |
||
21 | ls spider* |
||
22 | spider_linux spider_linux_mp_intel64 spider_linux_mp_opt64 spider_osx_64_pgi |
||
23 | spider_linux_mp_intel spider_linux_mpi_opt64 spider_osx_32_pgi |
||
24 | </pre> |
||
25 | 10 | Neil Voss | |
26 | |||
27 | <pre>sudo ln -sv /usr/local/spider/bin/spider /usr/local/</pre> |
||
28 | |||
29 | h2. Set environmental variables |
||
30 | |||
31 | h3. For @BASH@, create an spider.sh and add the following lines: |
||
32 | |||
33 | 1 | Neil Voss | <pre> |
34 | 10 | Neil Voss | export SPIDER=/usr/local/spider |
35 | export SPMAN_DIR=${SPIDER}/man |
||
36 | export SPPROC_DIR=${SPIDER}/proc |
||
37 | export SPRGB_DIR=${SPIDER}/rgb |
||
38 | 8 | Neil Voss | </pre> |
39 | 1 | Neil Voss | |
40 | 10 | Neil Voss | h3. For @C@ shell, create an spider.csh and add the following lines: |
41 | 1 | Neil Voss | |
42 | <pre> |
||
43 | 10 | Neil Voss | setenv SPIDER /usr/local/spider |
44 | setenv SPMAN_DIR ${SPIDER}/man |
||
45 | setenv SPPROC_DIR ${SPIDER}/proc |
||
46 | setenv SPRGB_DIR ${SPIDER}/rgb |
||
47 | 8 | Neil Voss | </pre> |
48 | |||
49 | h3. And then add it to the global /etc/profile.d/ folder |
||
50 | |||
51 | <pre> |
||
52 | 10 | Neil Voss | sudo cp -v spider.sh /etc/profile.d/spider.sh |
53 | sudo chmod 755 /etc/profile.d/spider.sh |
||
54 | 8 | Neil Voss | |
55 | 10 | Neil Voss | -or- |
56 | |||
57 | sudo cp -v spider.csh /etc/profile.d/spider.csh |
||
58 | sudo chmod 755 /etc/profile.d/spider.csh |
||
59 | 1 | Neil Voss | </pre> |
60 | |||
61 | |||
62 | [[Install EMAN|< Install EMAN]] | [[Install Xmipp|Install Xmipp >]] |