Dear all,
I’m interested in running benchmarks of Lammps on our heterogeneous memory processor (DRAM +NVM ). The setup I would like to use is only with OpenMP (no MPI, no GPU) with gnu.
I installed and built everything with cmake (cmake …, make -j ) and ran a benchmark with lj.in input.
However when monitoring cpu usage I can see that only 1 CPU is used during execution.
I did 2 tests:
- building lmp without any MPI libs and run with OMP_NUM_THREADS=16 + ./lmp -in in.lj
- building lmp with MPI (OpenMPI) libs and run with OMP_NUM_THREADS=16 + mpirun -np 1 lmp -in.lj
Log files show that nb of omp threads was taken into acount but this is not what I observe with htop. (100% on one CPU)
Also the in.lj input is only one I can use. When running the others (chain, chute, rhodo and eam) I get:
ERROR: Unrecognized atom style ‘bond’ is part of the MOLECULE package which is not enabled in this LAMMPS binary (chain example)
Did I miss something in terms of cmake options?
Is it possible to only use OpenMP?
I was going through the doc and this forum but could not find an answer to my question.
Thanks in advance,
Pierre