please always send a copy of your reply to the mailing list. thanks.
i don't know. never saw this. which version of LAMMPS are you using?
I am using Intel's icpc 14.0.2 compiler.
have you tried gcc?
I see the same problem with gcc 4.4.7:
mpic++ -O2 -funroll-loops -fstrict-aliasing -Wall -W -Wno-uninitialized -g
-DPROFILE -fopenmp -DLAMMPS_GZIP -I -DLMP_USER_OMP -c ../domain_omp.cpp
../domain_omp.cpp:42: error: 'DomainOMP' has not been declared
sorry, i cannot reproduce this. both mainline LAMMPS and LAMMPS-ICMS
compile fine for me.
please carefully check, whether you have a file src/accellerator_omp.h
that is complete. it should contain the class declaration of
DomainOMP::pbc() that your compilers are complaining about.