omp_get_thread_num

Jakub Jelinek jakub at redhat.com
Wed Mar 6 16:27:49 UTC 2013


On Wed, Mar 06, 2013 at 05:25:09PM +0100, Patrick Dupre wrote:
> In Fedora 16, I used to use a call to the function:
> omp_get_thread_num
> which was probably provided by one on the openmotif package.
> I cannot find such a library anywhere now.

You have OpenMP code than, so either compile/link with -fopenmp,
or if the code actually doesn't contain any OpenMP pragmas, just
omp_* calls, you can also just link against -lgomp.

	Jakub


More information about the users mailing list