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