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