Project

General

Profile

Compile FindEM » History » Revision 5

Revision 4 (Neil Voss, 05/12/2010 10:32 AM) → Revision 5/19 (Neil Voss, 05/12/2010 10:35 AM)

h1. Compile FindEM 

 Note: a 64bit binary is provided in the myami package. It is only necessary to compile a new version if it does not work. 

 * Goto 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 EMAN|< External Packages|< Install EMAN]] External Packages]] | [[Compile Ace2|Compile Ace2 >]] 

 ______