Closed GoogleCodeExporter closed 8 years ago
Hello Abhay,
I can reproduce the error with gcc-4.6.
You can try compiling a-dda using gcc-4.4 from the Ubuntu repository with:
sudo apt-get install gcc-4.4
and then compile the sequential version of a-dda like:
make seq CC=gcc-4.4
Best Regards,
Marcus
Original comment by Marcus.H...@gmail.com
on 1 Apr 2014 at 6:30
Many thanks for replying Marcus. I installed gcc-4.4 and then tried to compiled
as you have told. But again I got an error which is following:
-----------------------------
root@cpl2:/home/administrator/softwares/adda_1.3b4/src# make seq CC=gcc-4.4
--- Compilation options: ---
Release mode
FFTW3
Compiler set 'gnu'
----------------------------
Compiling sequential version of ADDA
make -C seq
make[1]: Entering directory `/home/administrator/softwares/adda_1.3b4/src/seq'
C sources need to be recompiled
echo -n "gcc-4.4 -O3 -ffast-math -funroll-loops -w -std=c99 " > .copts
gcc-4.4 -c -O3 -ffast-math -funroll-loops -w -std=c99 -MD ../ADDAmain.c
gcc-4.4 -c -O3 -ffast-math -funroll-loops -w -std=c99 -MD ../CalculateE.c
gcc-4.4 -c -O3 -ffast-math -funroll-loops -w -std=c99 -MD ../calculator.c
gcc-4.4 -c -O3 -ffast-math -funroll-loops -w -std=c99 -MD ../chebyshev.c
gcc-4.4 -c -O3 -ffast-math -funroll-loops -w -std=c99 -MD ../comm.c
gcc-4.4 -c -O3 -ffast-math -funroll-loops -w -std=c99 -MD ../crosssec.c
gcc-4.4 -c -O3 -ffast-math -funroll-loops -w -std=c99 -MD ../GenerateB.c
gcc-4.4 -c -O3 -ffast-math -funroll-loops -w -std=c99 -MD ../interaction.c
gcc-4.4 -c -O3 -ffast-math -funroll-loops -w -std=c99 -MD ../io.c
gcc-4.4 -c -O3 -ffast-math -funroll-loops -w -std=c99 -MD ../iterative.c
gcc-4.4 -c -O3 -ffast-math -funroll-loops -w -std=c99 -MD ../linalg.c
gcc-4.4 -c -O3 -ffast-math -funroll-loops -w -std=c99 -MD ../make_particle.c
gcc-4.4 -c -O3 -ffast-math -funroll-loops -w -std=c99 -MD ../matvec.c
gcc-4.4 -c -O3 -ffast-math -funroll-loops -w -std=c99 -MD ../memory.c
../memory.c:30: fatal error: fftw3.h: No such file or directory
compilation terminated.
make[1]: *** [memory.o] Error 1
make[1]: Leaving directory `/home/administrator/softwares/adda_1.3b4/src/seq'
make: *** [seq] Error 2
--------------------------------------------------------------
I think fftw3.h is related to MKL and I have intel mkl installed.
So still I am baffled in installation.
Thanks and Regards,
Abhay
Original comment by bhu.ab...@gmail.com
on 1 Apr 2014 at 6:52
Hello Abhay,
FFTW is an external dependency and not directly related to the intel mkl. You
can install it also from the repository with:
apt-get libfftw3-3 libfftw3-double3 libfftw3-dev
I'm not exactly sure if all three packages are needed, but it should work
afterwards.
Regards,
Marcus
Original comment by Marcus.H...@gmail.com
on 1 Apr 2014 at 7:00
Marcus has already solved the problem.
I can only add some minor things: see InstallingFFTW for more details on FFTW,
and the compiler issue was discussed at
https://groups.google.com/forum/#!topic/adda-discuss/uO_7j7WopvY
Original comment by yurkin
on 2 Apr 2014 at 5:41
Here is the link to the wiki page -
http://code.google.com/p/a-dda/wiki/InstallingFFTW3
Original comment by yurkin
on 2 Apr 2014 at 5:42
Original issue reported on code.google.com by
bhu.ab...@gmail.com
on 1 Apr 2014 at 6:11