Install Xmipp » History » Revision 11
Revision 10 (Neil Voss, 05/12/2010 11:00 AM) → Revision 11/61 (Neil Voss, 05/12/2010 11:57 AM)
h1. Install Xmipp * Download the v2.4 source code from 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 -v SConstruct SConstruct.orig $ vi 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` $ export PATH=$PATH:/usr/lib/openmpi/1.2.7-gcc/bin $ ./scons.configure </pre> * Look for the following line in the output: <pre> * Checking for MPI ... yes </pre> * Now compile the source code <pre> $ ./scons.compile </pre> ______ [[Compile Radermacher|< Compile Radermacher]] | [[Test Appion|Test Appion >]] ______