I am now working on a multithreaded server application using OpenMP. I use some `parallel pragmas` inside it, it compiles with no trouble and then.. I have no parallelity support. The funny thing is that the same code (downloaded via SVN) works perfectly at my friend's. We are both using GCC (with libgomp enabled).
I've tried to run any of the simplest OpenMP examples - all of them stated, that omp_get_thread_num() was always returning 0 and omp_get_num_threads(): 1. I tried overriding with the `num_threads` clause and omp_set_num_threads() - no result.
AMD Turion 64 ML-37 (one-core)
Linux: tried in Debian and Arch
Compiler: GCC 4.3.1
Thank you in advance, Krotton.