Install lammps with clmath

Hi Lammps people!
I try appml / clMath (clFft) compiled Lammps, but after I added the
appropriate environment make linux given, it should be about changing the
FFTW result. I would like to ask you, whether by replacing the FFTW
library that implements the AMD GPU computing.
lammps version lammps-30Oct13
libclFFT.so.2.1.0==>libfftw.so
clAmdFft.h==>fftw.h
Makefile
CC = mpicc
CCFLAGS = -O
SHFLAGS = -fPIC
DEPFLAGS = -M

LINK = mpicc
LINKFLAGS = -O
LIB = -lstdc++
SIZE = size

ARCHIVE = ar
ARFLAGS = -rc
SHLIBFLAGS = -shared
LMP_INC = -DLAMMPS_GZIP -DLAMMPS_JPEG

MPI_INC = -DMPICH_SKIP_MPICXX
MPI_PATH =
MPI_LIB = -lmpich -lmpl -lpthread
FFT_INC = -DFFT_FFTW
-I/home/zpg/Downloads/clFFT-develop/src/include/ -I/opt/AMDAPP/include/
FFT_PATH =
FFT_LIB = /home/zpg/Downloads/clFFT-develop/src/library/libfftw.so

Error message��

mpicc -O -DLAMMPS_GZIP -DLAMMPS_JPEG -DMPICH_SKIP_MPICXX -DFFT_FFTW
-I/home/zpg/Downloads/clFFT-develop/src/include/ -I/opt/AMDAPP/include/
-c ../ewald_disp.cpp
mpicc -O -DLAMMPS_GZIP -DLAMMPS_JPEG -DMPICH_SKIP_MPICXX -DFFT_FFTW
-I/home/zpg/Downloads/clFFT-develop/src/include/ -I/opt/AMDAPP/include/
-c ../fft3d.cpp
In file included from ../fft3d.cpp:25:
../fft3d.h:214: ���󣺡�FFTW_COMPLEX��û������һ������
../fft3d.h:250: ����ISO C++ ���������������͵ġ�FFT_DATA��
../fft3d.h:250: ����expected ��;�� before ��*�� token
../fft3d.h:251: ����ISO C++ ���������������͵ġ�FFT_DATA��
../fft3d.h:251: ����expected ��;�� before ��*�� token
../fft3d.h:292: ���󣺡�fftw_plan��û������һ������
../fft3d.h:293: ���󣺡�fftw_plan��û������һ������
../fft3d.h:294: ���󣺡�fftw_plan��û������һ������
../fft3d.h:295: ���󣺡�fftw_plan��û������һ������
../fft3d.h:296: ���󣺡�fftw_plan��û������һ������
../fft3d.h:297: ���󣺡�fftw_plan��û������һ������
../fft3d.h:318: ���󣺱������ֶΡ�fft_3d������Ϊ void
../fft3d.h:318: ���󣺡�FFT_DATA���ڴ�����������δ����
../fft3d.h:318: ����expected primary-expression before ��,�� token
../fft3d.h:318: ���󣺡�FFT_DATA���ڴ�����������δ����
../fft3d.h:318: ����expected primary-expression before ��,�� token
../fft3d.h:318: ����expected primary-expression before ��int��
../fft3d.h:318: ����expected primary-expression before ��struct��
../fft3d.h:326: ���󣺱������ֶΡ�fft_1d_only������Ϊ void
../fft3d.h:326: ���󣺡�FFT_DATA���ڴ�����������δ����
../fft3d.h:326: ����expected primary-expression before ��,�� token
../fft3d.h:326: ����expected primary-expression before ��int��
../fft3d.h:326: ����expected primary-expression before ��int��
../fft3d.h:326: ����expected primary-expression before ��struct��
../fft3d.cpp:66: ���󣺱������ֶΡ�fft_3d������Ϊ void
../fft3d.cpp:66: ���󣺡�FFT_DATA���ڴ�����������δ����
../fft3d.cpp:66: ���󣺡�in���ڴ�����������δ����
../fft3d.cpp:66: ���󣺡�FFT_DATA���ڴ�����������δ����
../fft3d.cpp:66: ���󣺡�out���ڴ�����������δ����
../fft3d.cpp:66: ����expected primary-expression before ��int��
../fft3d.cpp:66: ����expected primary-expression before ��struct�� make[1]:
*** [fft3d.o] ���� 1
make[1]: Leaving directory
`/home/zpg/Downloads/lammps-30Oct13/src/Obj_linux' make: *** [linux] ���� 2

I can’t read Chinese error messages, but if the API that

clmath is identical to what FFTW expects, then it should
work. If it is not, then there is no reason it should work.

Steve

I can't read Chinese error messages, but if the API that
clmath is identical to what FFTW expects, then it should
work. If it is not, then there is no reason it should work.

the clMath API is *definitely* different. apart from that, i already
explained multiple times that it is a pointless exercise as it is
highly unlikely to get any speedup from replacing FFTW with a GPU
accelerated FFT. particularly not for LAMMPS, because it only uses the
1d-FFT.

axel.