I am trying to run LIBSVM in parallel mode, however my question is in OpenMP in general. According to LIBSVM FAQ, I have modified the code with #pragma calls to use OpenMP. I al
You can use the function omp_get_num_threads(). It will return you the number of threads that are used by your program.
omp_get_num_threads()