Actions
Install Xmipp » History » Revision 5
« Previous |
Revision 5/61
(diff)
| Next »
Amber Herold, 03/17/2010 03:13 PM
Install Xmipp¶
TODO: List the lastest version that we have tested with.
- Download the source code from http://xmipp.cnb.csic.es/twiki/bin/view/Xmipp/InstallingTheSoftware
- Go into Xmipp source directory
- Find openmpi directory
$ locate libmpi.so
/usr/lib/openmpi/1.2.7-gcc/lib/libmpi.so
- Setup Xmipp to use openmpi by changing three lines in SConstruct
$ cp SConstruct SConstruct.orig $ vi SConstruct
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')
- Compile
$ 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
- Look for the following line in the output:
* Checking for MPI ... yes
$ ./scons.compile
Updated by Amber Herold over 14 years ago · 5 revisions