Project

General

Profile

Install Xmipp » History » Revision 2

Revision 1 (Amber Herold, 03/17/2010 02:22 PM) → Revision 2/61 (Amber Herold, 03/17/2010 02:39 PM)

h1. Install Xmipp 

 *TODO:* List the lastest version that we have tested with. 

 * For more info, see http://xmipp.cnb.csic.es/twiki/bin/view/Xmipp/InstallingTheSoftware 
 * Go into Xmipp source directory 
 * Find openmpi directory 

 <pre> 
 $ locate libmpi.so 
 </pre> 

 <pre> 
 /usr/lib/openmpi/1.2.7-gcc/lib/libmpi.so 
 </pre> 

 * Setup Xmipp to use openmpi by changing three lines in SConstruct 

 <pre> 
 $ cp SConstruct SConstruct.orig 
 </pre> 

 <pre> 
 $ nano SConstruct 
 </pre> 

 <pre> 
 opts.Add('MPI_INCLUDE', 'MPI headers dir ', '/usr/lib/openmpi/1.2.7-gcc/include/') 
 opts.Add('MPI_LIBDIR', 'MPI libraries dir ', '/usr/lib/openmpi/1.2.7-gcc/lib/') 
 opts.Add('MPI_LIB', 'MPI library', 'mpi') 
 </pre> 

 * Compile 

 <pre> 
 $ sudo mpi-selector --yes --system --set `rpm --qf '%{NAME}-%{VERSION}-gcc-%{ARCH}\n' -q openmpi` 
 </pre> 

 <pre> 
 $ export PATH=$PATH:/usr/lib/openmpi/1.2.7-gcc/bin 
 </pre> 

 <pre> 
 $ ./scons.configure 
 </pre> 

 you should see the line: 

 <pre> 
 * Checking for MPI ... yes 
 </pre> 

 <pre> 
 $ ./scons.compile 
 </pre>