Project

General

Profile

Compile Ace2 from source » History » Revision 9

Revision 8 (Neil Voss, 05/24/2010 04:50 PM) → Revision 9/11 (Neil Voss, 05/24/2010 04:50 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 is much harder*. You will need to install FFTW 3.2 from source code and then add the -DFFTW32 flag to the CFLAGS line in the Makefile 

 h2. Compile Ace 2 from source with FFTW 3.1 

 * Goto myami/appion/ace2 folder 
 <pre>cd appion/ace2</pre> 
 * Run the makefile 
 <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 -v ace2.exe ace2correct.exe /usr/local/bin/ 
 </pre> 
 ______ 

 [[Install Ace2|Install Ace2 ^]] 

 ______