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