Project

General

Profile

Compile FindEM » History » Revision 15

Revision 14 (Amber Herold, 04/28/2011 09:16 AM) → Revision 15/19 (Amber Herold, 04/28/2011 09:20 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 does not work, or you wish to compile it yourself follow the instructions to [[install FindEM from source]]. 


 

 * 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 >]] 

 ______