omp_get_thread_num

Patrick Dupre Patrick.Dupre at univ-littoral.fr
Wed Mar 6 16:47:54 UTC 2013


Quoting mer, 06 mar 2013 Patrick Dupre <Patrick.Dupre at univ-littoral.fr>:

>
> Quoting mer, 06 mar 2013 Jakub Jelinek <jakub at redhat.com>:
>
>> 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
>> --
> Hello Jakub,
>
> Thank, but when I look for openmp or OpenPM (on findrpm), I only get
> packages for Mandriva.
> When I try yum install OpenMP or openmp, or libopenm, or whatever,
> yum does not find any thing.
>
OK, I found libgomp
Thank.

-- 
======================================================================
  Patrick DUPRÉ                          | |  email: pdupre at kegtux.org
  Laboratoire de Physico-Chimie de l'Atmosphère
  Université du Littoral-Côte d'Opale      | |
  Tel.                                     | | Fax: 03 28 65 82 44
  189A, avenue Maurice Schumann            | | 59140 Dunkerque, France
======================================================================




More information about the users mailing list