Project

General

Profile

Compile FindEM » History » Version 6

Neil Voss, 05/12/2010 10:58 AM

1 1 Amber Herold
h1. Compile FindEM
2
3 6 Neil Voss
Both 32 and 64 bit findem binaries are already available in the myami/appion/bin directory. 
4
Test it by changing directories to myami/appion/bin and type the following commands:
5
<pre>
6
./findem64.exe
7
</pre>
8
If it does not crash you are good
9 1 Amber Herold
10 6 Neil Voss
<pre>
11
If this does not work or you wish to compile it yourself follow the instructions here.
12
NOTE:
13
14
* Goto myami/appion/findem folder to make findem.exe
15 1 Amber Herold
16
* Compile the libraries and binary
17
18
<pre>
19
$ make
20
</pre>
21
22
* Test findem.exe to see if it runs
23
24
<pre>
25
$ make test
26
</pre>
27
28
*WARNING*
29
Only if the first part fails, you must add the path to libg2c.so library file.
30
Otherwise skip to next section.
31
32
* locate libg2c.so library file
33
34
<pre>
35
$ ls /usr/lib/gcc/`uname -i`-redhat-linux/3.4.6/libg2c.so
36
</pre>
37
38
<pre>
39
$ locate libg2c.so
40
</pre>
41
42
* Edit Makefile with location of libg2c.so
43
44
<pre>
45 4 Neil Voss
EXLIBS=-L/usr/lib/gcc/i386-redhat-linux/3.4.6/ -lg2c
46 1 Amber Herold
</pre>
47
48
* Re-compile
49 2 Amber Herold
50
______
51
52 5 Neil Voss
[[Install EMAN|< Install EMAN]] | [[Compile Ace2|Compile Ace2 >]]
53 3 Amber Herold
54
______