Project

General

Profile

Compile Ace2 from source » History » Revision 6

Revision 5 (Neil Voss, 05/24/2010 04:45 PM) → Revision 6/11 (Neil Voss, 05/24/2010 04:48 PM)

h1. Compile Ace2 from source 

 h2. Install supporting packages 

 |_.Name:|_.Download site:|_.yum package name|_.SuSE rpm name| 
 |gcc-objc||gcc-objc|| 
 |fftw3-devel||_None_|| 
 |gsl-devel||gsl-devel|| 

 h2. Compile Ace 2 from source with FFTW 3.2 or later 

 It is recommended that you use FFTW version 3.2 or later, because there are optimizations in FFTW 3.2 that make Ace2 run significantly faster than FFTW 3.1 (which is distributed with CentOS). But *this 

 There is much harder*. You will need to install FFTW 3.2 from source code and then add the -DFFTW32 a FFTW_WISDOM_ONLY flag to the CFLAGS line in Image.m that can be commented in if you are using fftw 3.2 or greater. 
 *TODO: Can we have the Makefile make file detect which version is installed?* 

 h2. Compile Ace 2 from source with FFTW 3.1 

 * Goto myami/appion/ace2 
 * Run compile the makefile libraries and binary 
 * test to see if program runs 

 <pre> 
 $ make 
 </pre> 
 * Test to make sure the programs run: 
 <pre> 
 $ ./ace2.exe -h 
 $ ./ace2correct.exe -h 
 </pre> 
 * Copy the binary files to /usr/local/bin folder 
 <pre> 
 sudo cp $ mv -v ace2.exe ace2correct.exe /usr/local/bin/ ./ace2*.exe ../bin 
 </pre> 
 

 ______ 

 [[Compile FindEM|< Compile FindEM]] | [[Test Appion|Test Appion >]] 

 ______