Project

General

Profile

Compile FindEM » History » Revision 12

Revision 11 (Amber Herold, 05/18/2010 02:27 PM) → Revision 12/19 (Amber Herold, 05/24/2010 02:49 PM)

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. good 

 h2. Install FindEM from source 

 If this does not work or you wish to compile it yourself follow the instructions 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]] | [[Compile Ace2|Compile Ace2 >]] 

 ______