I get the following messages when I try to build LAMMPS.
pppm_cuda.cpp(941): error: class “LAMMPS_NS::FFT3dCuda” has no member “set_cudata”
pppm_cuda.cpp(942): error: class “LAMMPS_NS::FFT3dCuda” has no member “set_cudata”
compilation aborted for pppm_cuda.cpp (code 2)
Please let me know how to fix the problem. I’m using the most recent branch from the repository.
this looks like you have some incompatible settings for what FFT libraries to use. Can you post your lammps/lib/cuda/Makefile.lammps and your MAKE/Makefile.WHATEVERYOUAREUSING? The former should contain "-DFFT_CUFFT" and the latter should have a "-DFFT_FFTW" or "-DFFT_FFTW3". I did not test with other choices for fft libraries.
-------- Original-Nachricht --------
I used the flags you mentioned. I now get,
pppm_cuda.h(101): warning #1125: function “LAMMPS_NS::PPPMOld::poisson()” is hidden by “LAMMPS_NS::PPPMCuda::poisson” – virtual function override intended?
void poisson(int, int);
pppm_cuda.cpp(1301): error: name followed by “::” must be a class or namespace name