GROMACS version: 2021.3
GROMACS modification: Yes/No
By default, gmx is built with 64 openMP threads, but I want to increase it so I get better performance with mdrun. I used the following cmake option:
But I have gotten the following message:
“Manually-specified variables were not used by the project:
I should add that I used this same option for gmx 2019 anf that time it worked all right.
Any suggestions?

The correct name of the variable is GMX_OPENMP_MAX_THREADS with an S as the end. Did you read somewhere that it should be without an S?

But usually using more than 64 threads, and often even much less, gives much worse performance than using more MPI ranks and fewer OpenMP threads on the same hardware.

Oh, those typo mistakes…
thanks for the reply.
Once I had a system for which -ntmpi 1 -ntomp 64 gave 110 ns/day ( the combination was picked by gmx) and than when I increased the threads, -ntmpi 1 -ntomp 72 gave 147 ns/day.