Project

General

Profile

Compile FindEM » History » Revision 9

Revision 8 (Neil Voss, 05/12/2010 10:59 AM) → Revision 9/19 (Neil Voss, 05/13/2010 08:45 AM)

h1. Compile FindEM 

 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 
 </pre> 
 If it does not crash you are 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 Xmipp|< EMAN|< Install Xmipp]] EMAN]] | [[Compile Ace2|Compile Ace2 >]] 

 ______