Compile Ace2 from source » History » Version 10
Anchi Cheng, 01/18/2012 10:55 AM
1 | 1 | Neil Voss | h1. Compile Ace2 from source |
---|---|---|---|
2 | |||
3 | h2. Install supporting packages |
||
4 | |||
5 | |_.Name:|_.Download site:|_.yum package name|_.SuSE rpm name| |
||
6 | |gcc-objc||gcc-objc|| |
||
7 | 4 | Neil Voss | |fftw3-devel||_None_|| |
8 | 1 | Neil Voss | |gsl-devel||gsl-devel|| |
9 | |||
10 | 5 | Neil Voss | h2. Compile Ace 2 from source with FFTW 3.2 or later |
11 | 1 | Neil Voss | |
12 | 6 | Neil Voss | 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 |
13 | 1 | Neil Voss | |
14 | 6 | Neil Voss | h2. Compile Ace 2 from source with FFTW 3.1 |
15 | 1 | Neil Voss | |
16 | 10 | Anchi Cheng | * Goto myami/programs/ace2 folder |
17 | <pre>cd programs/ace2</pre> |
||
18 | 6 | Neil Voss | * Run the makefile |
19 | 1 | Neil Voss | <pre> |
20 | 6 | Neil Voss | make |
21 | 1 | Neil Voss | </pre> |
22 | 6 | Neil Voss | * Test to make sure the programs run: |
23 | <pre> |
||
24 | ./ace2.exe -h |
||
25 | ./ace2correct.exe -h |
||
26 | </pre> |
||
27 | * Copy the binary files to /usr/local/bin folder |
||
28 | <pre> |
||
29 | sudo cp -v ace2.exe ace2correct.exe /usr/local/bin/ |
||
30 | </pre> |
||
31 | 1 | Neil Voss | ______ |
32 | |||
33 | 9 | Neil Voss | [[Install Ace2|Install Ace2 ^]] |
34 | 1 | Neil Voss | |
35 | ______ |