Lammps GPU compile error

Dear all,

There is a missing header file in the latest lammps version, which obstructs compiling Lammps with GPU package:
when I include the GPU-package, compilation throws the following error:

…/pppm_gpu.cpp(27): catastrophic error: cannot open source file “commgrid.h”
#include “commgrid.h”
^
compilation aborted for …/pppm_gpu.cpp (code 4)

With GPU-package uninstalled I can still compile lammps. The gpu-lib itself compiles w/o any problems. I have also checked if it compiles with previous versions, and can confirm that with the ver. 18Apr2014 everything seems to be fine. However, simply copying the missing commgrid files from the previous lammps version does make other compilation errors.
Attached are my Makefile, gpu-makefile and an output of the make package-status.

Best,

Vitaly

Makefile.linux (1.24 KB)

Makefile.mkl (3.3 KB)

package-status.txt (1.76 KB)

Dear all,

There is a missing header file in the latest lammps version, which
obstructs compiling Lammps with GPU package:
when I include the GPU-package, compilation throws the following error:

../pppm_gpu.cpp(27): catastrophic error: cannot open source file
"commgrid.h"
  #include "commgrid.h"
                       ^
compilation aborted for ../pppm_gpu.cpp (code 4)

​please change this line to:

#include "gridcomm.h"

or undo the latest patch. it has this little oversight.

axel.​

It works now! Thanks
--Vitaly

Axel,
FYI, the same error appears with the USER-OMP package in the current release.

Best,
–Vitaly

Axel,
FYI, the same error appears with the USER-OMP package in the current release.

Which file?

I haven’t checked all _omp files, but at least in msm_cg_omp.cpp it uses commgrid.h, not gridcomm.h

–Vitaly