When OpenMP was introduced to tmLQCD some OpenMP implementations did not respect the OMP_NUM_THREADS environment variable. This is why we set the number of threads via set_omp_num_threads() based on the OmpNumThreads input parameter in the input file.
This is definitely confusing and not required any more. OmpNumThreads should be removed from the input file.
When OpenMP was introduced to tmLQCD some OpenMP implementations did not respect the
OMP_NUM_THREADSenvironment variable. This is why we set the number of threads viaset_omp_num_threads()based on theOmpNumThreadsinput parameter in the input file.This is definitely confusing and not required any more.
OmpNumThreadsshould be removed from the input file.