Project

General

Profile

Compile FindEM » History » Version 7

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