Dear LAMMPS Community,
There is a compilation problem with the most recent version of LAMMPS (19Dec15) and USER-INTEL:
mpiicpc -openmp -DLAMMPS_MEMALIGN=64 -no-offload -O3 -g -xavx -mavx -fast -fno-alias -ansi-alias -restrict -override-limits -DLAMMPS_GZIP -DLMP_USER_INTEL -DLMP_USER_OMP -DLMP_MPIIO -DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX=1 -DFFT_MKL -I/cluster/software/VERSIONS/intel-2016.0/compilers_and_libraries_2016.0.109/linux/mkl//include/fftw -I/cluster/software/VERSIONS/intel-2016.0/compilers_and_libraries_2016.0.109/linux/mkl//include -c …/compute_pressure.cpp
…/compute_hexorder_atom.cpp(252): error: namespace “std” has no member “complex”
std::complex z(x, y);
…/compute_hexorder_atom.cpp(252): error: identifier “z” is undefined
std::complex z(x, y);
…/compute_hexorder_atom.cpp(253): error: namespace “std” has no member “complex”
std::complex zn = pow(z, nnn);
…/compute_hexorder_atom.cpp(253): error: type name is not allowed
std::complex zn = pow(z, nnn);
^
…/compute_hexorder_atom.cpp(253): error: identifier “zn” is undefined
std::complex zn = pow(z, nnn);
^
…/compute_hexorder_atom.cpp(253): error: argument of type " (*)(…)" is incompatible with parameter of type “double”
std::complex zn = pow(z, nnn);
^
…/compute_hexorder_atom.cpp(254): error: identifier “real” is undefined
u = real(zn);
^
…/compute_hexorder_atom.cpp(255): error: identifier “imag” is undefined
v = imag(zn);
^
compilation aborted for …/compute_hexorder_atom.cpp (code 2)
make[1]: *** [compute_hexorder_atom.o] Error 2
Regards,
Vitaly