Install Xmipp » History » Version 16
Neil Voss, 05/12/2010 12:10 PM
1 | 1 | Amber Herold | h1. Install Xmipp |
---|---|---|---|
2 | |||
3 | 10 | Neil Voss | * Download the v2.4 source code from http://xmipp.cnb.csic.es/twiki/bin/view/Xmipp/InstallingTheSoftware |
4 | 12 | Neil Voss | * Unzip the source code: |
5 | <pre>tar zxvf Xmipp-2.4-src.tar.gz</pre> |
||
6 | 1 | Amber Herold | * Go into Xmipp source directory |
7 | * Find openmpi directory |
||
8 | <pre> |
||
9 | 11 | Neil Voss | locate libmpi.so |
10 | 15 | Neil Voss | /usr/lib64/openmpi/1.3.2-gcc/lib/libmpi.so |
11 | 1 | Amber Herold | </pre> |
12 | |||
13 | * Setup Xmipp to use openmpi by changing three lines in SConstruct |
||
14 | <pre> |
||
15 | 11 | Neil Voss | cp -v SConstruct SConstruct.orig |
16 | 1 | Amber Herold | </pre> |
17 | <pre> |
||
18 | opts.Add('MPI_INCLUDE', 'MPI headers dir ', '/usr/lib/openmpi/1.2.7-gcc/include/') |
||
19 | opts.Add('MPI_LIBDIR', 'MPI libraries dir ', '/usr/lib/openmpi/1.2.7-gcc/lib/') |
||
20 | opts.Add('MPI_LIB', 'MPI library', 'mpi') |
||
21 | </pre> |
||
22 | |||
23 | * Compile |
||
24 | <pre> |
||
25 | 11 | Neil Voss | sudo mpi-selector --yes --system --set `rpm --qf '%{NAME}-%{VERSION}-gcc-%{ARCH}\n' -q openmpi` |
26 | 15 | Neil Voss | export PATH=$PATH:/usr/lib64/openmpi/1.3.2-gcc/bin |
27 | 11 | Neil Voss | ./scons.configure |
28 | 1 | Amber Herold | </pre> |
29 | |||
30 | 5 | Amber Herold | * Look for the following line in the output: |
31 | 1 | Amber Herold | <pre> |
32 | * Checking for MPI ... yes |
||
33 | </pre> |
||
34 | |||
35 | 11 | Neil Voss | * Now compile the source code |
36 | 1 | Amber Herold | <pre> |
37 | 11 | Neil Voss | ./scons.compile |
38 | 1 | Amber Herold | </pre> |
39 | 8 | Amber Herold | |
40 | ______ |
||
41 | |||
42 | 16 | Neil Voss | [[Compile Ace2|< Compile Ace2]] | [[Test Appion|Test Appion >]] |
43 | 9 | Amber Herold | |
44 | ______ |