Project

General

Profile

Install SPIDER » History » Revision 10

Revision 9 (Neil Voss, 05/13/2010 08:57 AM) → Revision 10/32 (Neil Voss, 05/13/2010 09:04 AM)

h1. Install SPIDER 

 h2. Download SPIDER binary "from wadsworth.org":http://www.wadsworth.org/spider_doc/spider/docs/spi-register.html (250 MiB) 

 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. 

 h2. Extract the archive 

 <pre>tar -zxvf spiderweb.18.10.tar.gz</pre> 

 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. 

 h2. Install SPIDER 

 * Copy the spider folder to global directory: 
 <pre>sudo mv -v spider /usr/local/</pre> 

 * Next, you need to determine which version of the spider binary you need to use on your system. 


 <pre>sudo ln -sv /usr/local/spider/bin/spider /usr/local/</pre> 

 h2. Set environmental enivromental variables 

 h3. For @BASH@, create an spider.sh eman.sh and add the following lines: 

 <pre> 
 export SPIDER=/usr/local/spider EMANDIR=/usr/local/EMAN 
 export SPMAN_DIR=${SPIDER}/man PATH=${EMANDIR}/bin:${PATH} 
 export SPPROC_DIR=${SPIDER}/proc LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${EMANDIR}/lib 
 export SPRGB_DIR=${SPIDER}/rgb PYTHONPATH=${EMANDIR}/lib 
 </pre> 

 h3. For @C@ shell, create an spider.csh eman.csh and add the following lines: 

 <pre> 
 setenv SPIDER /usr/local/spider EMANDIR /usr/local/EMAN 
 setenv SPMAN_DIR ${SPIDER}/man PATH ${EMANDIR}/bin:${PATH} 
 setenv SPPROC_DIR ${SPIDER}/proc LD_LIBRARY_PATH ${EMANDIR}/lib 
 setenv SPRGB_DIR ${SPIDER}/rgb PYTHONPATH ${EMANDIR}/lib 
 </pre> 

 h3. And then add it to the global /etc/profile.d/ folder 

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

 -or- 

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


 [[Install EMAN|< Install EMAN]] | [[Install Xmipp|Install Xmipp >]]