pair_list.cpp from USER-MISC compilation error

Hi all,

I just updated to the latest lammps from lammps-icms repo. I have turned on USER-MISC package for installation. The compilation goes smooth on my machine but I get following compile error when I try to compile lammps on our clusters:

../pair_list.cpp(88): error: expected a ";"
     const dbl3_t * _noalias const x = (dbl3_t *) atom->x[0];
                             ^

I didn't have such an issue before for compiling on this cluster although I had USER-MISC turned on. Would you please tell what this problem is?

my machine compiler: mpic++ (MPICH and gcc version 4.6.3)
cluster compiler: mpic++ (Intel(R) C++ Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.0.0.079 Build 20120731 with openmpi)

Cheers,
Kasra.

Hi all,

I just updated to the latest lammps from lammps-icms repo. I have turned
on USER-MISC package for installation. The compilation goes smooth on my
machine but I get following compile error when I try to compile lammps
on our clusters:

../pair_list.cpp(88): error: expected a ";"
     const dbl3_t * _noalias const x = (dbl3_t *) atom->x[0];
                             ^

I didn't have such an issue before for compiling on this cluster
although I had USER-MISC turned on. Would you please tell what this
problem is?

some preprocessor magic that had to be tweaked recently.

my machine compiler: mpic++ (MPICH and gcc version 4.6.3)
cluster compiler: mpic++ (Intel(R) C++ Intel(R) 64 Compiler XE for
applications running on Intel(R) 64, Version 13.0.0.079 Build 20120731
with openmpi)

here is the point, when using the intel compiler you now have to add
-restrict to CCFLAGS in the makefile.

axel.