Hi,
I just tried to compile the LAMMPS USER-OMP package by:
- Add -openmp flag to both the CCFLAGS and LINKFLAGS to the MAKE/Makefile.openmpi
- Compile LAMMPS
- make yes-user-omp
- Recompile LAMMPS
Unfortunately (4) is not working for me; this is the error that I receive:
…/domain_omp.cpp(42): error: name followed by “::” must be a class or namespace name
� void DomainOMP::pbc()
What am I missing here?
I am using Intel’s icpc 14.0.2 compiler.
Thank you,
Paul
Hi,
I just tried to compile the LAMMPS USER-OMP package by:
1) Add -openmp flag to both the CCFLAGS and LINKFLAGS to the
MAKE/Makefile.openmpi
2) Compile LAMMPS
3) make yes-user-omp
4) Recompile LAMMPS
Unfortunately (4) is not working for me; this is the error that I receive:
../domain_omp.cpp(42): error: name followed by "::" must be a class or
namespace name
void DomainOMP::pbc()
What am I missing here?
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?
axel.