Project

General

Profile

Compile FindEM » History » Revision 14

Revision 13 (Neil Voss, 05/24/2010 03:55 PM) → Revision 14/19 (Amber Herold, 04/28/2011 09:16 AM)

h1. Compile FindEM 

 h2. Install supporting packages: 

 |_.Name:|_.Download site:|_.yum package name|_.SuSE rpm name| 
 |compat-gcc-34-g77| |compat-gcc-34-g77|| 
 |gcc-gfortran| |gcc-gfortran| | 

 h2. Test FindEM binary 

 Both 32 and 64 bit findem binaries are already available in the myami/appion/bin directory.  
 Test it by changing directories to myami/appion/bin and type the following commands: 
 <pre> 
 ./findem64.exe           (64 bit version) 

 or 

 ./findem32.exe           (32 bit version) 
 </pre> 
 If it does not crash you are good. 

 h2. Install FindEM from source 

 If the binary included with Appion this does not work, work or you wish to compile it yourself follow the instructions to [[install FindEM from source]]. here. 

 * Goto myami/appion/findem folder to make findem.exe 

 * Compile the libraries and binary 

 <pre> 
 $ make 
 </pre> 

 * Test findem.exe to see if it runs 

 <pre> 
 $ make test 
 </pre> 

 *WARNING* 
 Only if the first part fails, you must add the path to libg2c.so library file. 
 Otherwise skip to next section. 

 * locate libg2c.so library file 

 <pre> 
 $ ls /usr/lib/gcc/`uname -i`-redhat-linux/3.4.6/libg2c.so 
 </pre> 

 <pre> 
 $ locate libg2c.so 
 </pre> 

 * Edit Makefile with location of libg2c.so 

 <pre> 
 EXLIBS=-L/usr/lib/gcc/i386-redhat-linux/3.4.6/ -lg2c 
 </pre> 

 * Re-compile 

 ______ 

 [[Install Grigorieff lab software|< Install Grigorieff lab software]] | [[Install Ace2|Install Ace2 >]] 

 ______