Error compilation LAMMPS - 10Aug15

Hello everyone,

I have a problem when trying to compile lammps - 10Aug15 , the machine has the icc compiler.

The steps to perform are:

make yes-colloid yes-opt yes-mpiio yes-user-omp

make ompi_icc

adding CCFLAG -fopenmp

I get the following error message:

…/angle_charmm_omp.cpp(94): error: expected a “;”
const dbl3_t * _noalias const x = (dbl3_t *) atom->x[0];
^

…/angle_charmm_omp.cpp(95): error: “restrict” has already been declared in the current scope
dbl3_t * _noalias const f = (dbl3_t *) thr->get_f()[0];
^

…/angle_charmm_omp.cpp(95): error: expected a “;”
dbl3_t * _noalias const f = (dbl3_t *) thr->get_f()[0];
^

…/angle_charmm_omp.cpp(96): error: “restrict” has already been declared in the current scope
const int4_t * _noalias const anglelist = (int4_t *) neighbor->anglelist[0];
^

…/angle_charmm_omp.cpp(96): error: expected a “;”
const int4_t * _noalias const anglelist = (int4_t *) neighbor->anglelist[0];
^

…/angle_charmm_omp.cpp(101): error: identifier “anglelist” is undefined
i1 = anglelist[n].a;
^

…/angle_charmm_omp.cpp(108): error: identifier “x” is undefined
delx1 = x[i1].x - x[i2].x;
^

…/angle_charmm_omp.cpp(178): error: identifier “f” is undefined
f[i1].x += f1[0];
^

…/angle_charmm_omp.cpp(184): error: identifier “f” is undefined
f[i2].x -= f1[0] + f3[0];
^

…/angle_charmm_omp.cpp(190): error: identifier “f” is undefined
f[i3].x += f3[0];
^

compilation aborted for …/angle_charmm_omp.cpp (code 2)

I’m missing some CCFLAGS ?

Sorry I realized my mistake . I lacked the LINKFLAGS -fopenmp and CCFLAGS = -restrict