Thanks Jody,

Is it possible to install openmpi without openmp ? Is there any option in configure for that ?


jody a écrit :

if i rememmber correctly, "omp.h" is a header file for OpenMP which is
not the same as Open MPI.
So it looks like you have to install OpenMP,
Then you can compile it with the compiler option -fopenmp (in gcc)


On Thu, Dec 16, 2010 at 11:56 AM, Bernard Secher - SFME/LGLS
<> wrote:
I get the following error message when I compile openmpi V1.5.1:

  CXX    otfprofile-otfprofile.o
erreur: omp.h : Aucun fichier ou dossier de ce type
In function ‘int main(int, const char**)’:
erreur: ‘omp_set_num_threads’ was not declared in this scope
erreur: ‘omp_get_thread_num’ was not declared in this scope
erreur: ‘omp_get_num_threads’ was not declared in this scope

The compiler doesn't find the omp.h file.
What happens ?


users mailing list


users mailing list

      (' 0 0 ')
____ooO  (_) Ooo______________________________________________________
 Bernard Sécher  DEN/DM2S/SFME/LGLS    mailto :
 CEA Saclay, Bât 454, Pièce 114        Phone  : 33 (0)1 69 08 73 78
 91191 Gif-sur-Yvette Cedex, France    Fax    : 33 (0)1 69 08 10 87
       oooO (   )
       (   ) ) /
        \ ( (_/

Ce message électronique et tous les fichiers attachés qu'il contient
sont confidentiels et destinés exclusivement à l'usage de la personne
à laquelle ils sont adressés. Si vous avez reçu ce message par erreur,
merci d'en avertir immédiatement son émetteur et de ne pas en conserver
de copie.

This e-mail and any files transmitted with it are confidential and
intended solely for the use of the individual to whom they are addressed.
If you have received this e-mail in error please inform the sender
immediately, without keeping any copy thereof.