Using OpenMP

Dear lammps users,
How can I use lammps with openMP? DO I need to install OMP package for same or need to build lammps with openMP environment?

Thank you.
Rajesh

You should recompile LAMMPS with the USER-OMP package:
http://lammps.sandia.gov/doc/accelerate_omp.html

and specify the -fopenmp compiler flag.

Lastly, you need to run LAMMPS specifying the number of threads.

All instructions are in the link above, which you should read carefully.

Giacomo

Thank you! Dr Fiorin.