guagua-pamcn / a-dda

Automatically exported from code.google.com/p/a-dda
0 stars 0 forks source link

Error compiling #163

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I downloaded adda_1.1.zip and decompressed into my desktop. In the terminal (I 
am using a macbook pro with IOS 10.8.3) I located the src/ folder, ran "make 
clean" and then "make seq".
It started compiling and the terminal plotted the lines that I present in the 
attachment.

What steps will reproduce the problem?
1. make clean and make seq

What is the expected output? What do you see instead?
It is the first time I use adda. I don't know what to expect.

What version of the product are you using? On what operating system?
adda_1.1 / IOS 10.8.3

Please provide any additional information below.

Original issue reported on code.google.com by azevedo....@gmail.com on 29 Mar 2013 at 11:52

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the detailed description. By default ADDA compiles with FFTW 
support, which seems to be not installed on your system. This causes the 
problem (fftw.h is not found), but the final error appears somewhat later in 
the compilation. This propagation of errors is not perfect, but it is already 
fixed in the recent code.

Concerning your problem, you need either to install FFTW (recommended, see  
InstallingFFTW3) or switch to using Temperton FFT - 'make seq 
OPTIONS=FFT_TEMPERTON', see CompilingADDA.

Original comment by yurkin on 30 Mar 2013 at 1:52

GoogleCodeExporter commented 8 years ago
Somehow the wikipages didn't autolinked, so here are the explicit links:
http://code.google.com/p/a-dda/wiki/InstallingFFTW3
http://code.google.com/p/a-dda/wiki/CompilingADDA

Original comment by yurkin on 30 Mar 2013 at 1:53

GoogleCodeExporter commented 8 years ago
Good afternoon,
I tried to install the FFTW by
1) downloading it
2) decompressing
3) in the terminal, cd to its directory and typing:
"./configure --prefix=$HOME [--enable-sse2]"
"make"
"make install"

The result is presented in file FFTW.

Then I tried to compile adda by using 
"make seq OPTIONS=FFT_TEMPERTON"
after "make clean"

The result is presented in file adda.

I have the possibility to try this in ubuntu and windows. What do you recommend 
me?

Original comment by azevedo....@gmail.com on 31 Mar 2013 at 3:40

Attachments:

GoogleCodeExporter commented 8 years ago
1) The file FFTW.txt is identical to adda.txt. So I can't advice on that. In 
general, it is better to consult the FFTW website for installing FFTW.

2) Concerning the adda.txt there is another problem with MacOS - see issue 83 
(fixed but not yet released). Quick fix is to add NOT_USE_LOCK to OPTIONS. So 
you should use OPTIONS=NOT_USE_LOCK with FFTW and OPTIONS="FFT_TEMPERTON 
NOT_USE_LOCK" without FFTW. This concerns only MacOS, should work fine on 
Ubuntu. Windows is a bit tricky - see 
http://code.google.com/p/a-dda/wiki/InstallingMinGW

Original comment by yurkin on 31 Mar 2013 at 4:56