Dear Lammps_users
I get troubles in compiling the latest version of lammps. After "make linux", I get errors like this:
(My computer: Linux Red Hat, lam7.1.2, fftw3.1.2, 4*xeron 2.6 G )
fft3d.h(165): error: identifier "FFTW_COMPLEX" is undefined
typedef FFTW_COMPLEX FFT_DATA;
^
fft3d.cpp(127): error: identifier "fftw" is undefined
fftw(plan->plan_fast_forward,total/length,data,1,length,NULL,0,0);
^
fft3d.cpp(129): error: identifier "fftw" is undefined
fftw(plan->plan_fast_backward,total/length,data,1,length,NULL,0,0);
^
fft3d.cpp(174): error: identifier "fftw" is undefined
fftw(plan->plan_mid_forward,total/length,data,1,length,NULL,0,0);
^
fft3d.cpp(176): error: identifier "fftw" is undefined
fftw(plan->plan_mid_backward,total/length,data,1,length,NULL,0,0);
^
fft3d.cpp(221): error: identifier "fftw" is undefined
fftw(plan->plan_slow_forward,total/length,data,1,length,NULL,0,0);
^
fft3d.cpp(223): error: identifier "fftw" is undefined
fftw(plan->plan_slow_backward,total/length,data,1,length,NULL,0,0);
^
fft3d.cpp(692): error: identifier "FFTW_IN_PLACE" is undefined
fftw_create_plan(nfast,FFTW_FORWARD,FFTW_ESTIMATE | FFTW_IN_PLACE);
^
fft3d.cpp(692): error: identifier "fftw_create_plan" is undefined
fftw_create_plan(nfast,FFTW_FORWARD,FFTW_ESTIMATE | FFTW_IN_PLACE);
^
fft3d.cpp(968): error: identifier "fftw" is undefined
fftw(plan->plan_fast_forward,total1/length1,data,1,0,NULL,0,0);
^
fft3d.cpp(972): error: identifier "fftw" is undefined
fftw(plan->plan_fast_backward,total1/length1,data,1,0,NULL,0,0);
^
compilation aborted for fft3d.cpp (code 2)
make[1]: *** [fft3d.o] Error 2
make[1]: Leaving directory `/home/yzy/lammps-12Feb07/src/Obj_linux'
make: *** [linux] Error 2
Does this problem result from the installation of fftw?
Any suggestion will be appreciated.
Best Regards
Zhenyu Yang
State Key Laboratory of Nonlinear Mechanics (LNM)
Institute of Mechanics, Chinese Academy of Sciences
No.15 Beisihuanxi Road
Beijing 100080, P. R. China
FAX: 010-62579511
[email protected]...
2007-03-06