omp question

omp question

how to set KMP_LIBRARY enviroment variable in the make file, using gcc.

Thanks in advance.

7 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.

One more question:

how to use openmp with map iterator in c++ ?

thnx

I would say that you can't directly. At least for the #pragma omp for directive. It depends on your algorithm but you could try the omp tasks.

answer for my question :

http://software.intel.com/en-us/blogs/2009/11/09/openmp-30-and-iterators/

but... do u (Intel) have openmp3.0 which would work with gcc (g++) ? I HOPE !

I'm pretty sure openmp 3.0 is supported, it's not so new. This link might help:
http://gcc.gnu.org/wiki/openmp
I think there was another post which states the gcc version used on the benchmark servers, so find it and check with the link.

Best regards,
Nenad

OpenMP 3.0 is supported since GCC 4.4. The 12-core machine uses GCC 4.6 and the 40-core machine GCC 4.5 (if I detected that correctly).

Laisser un commentaire

Veuillez ouvrir une session pour ajouter un commentaire. Pas encore membre ? Rejoignez-nous dès aujourd’hui