I know that there are information on this forum about changing makefile if you want to use TBB, ICPC or openMP, but i think that all these information should be on the one place. I will start and tell what i know: - If you want to use TBB , this is important line: LDLIBS = -ltbb -ltbbmalloc - How to use openMP ? LDLIBS = -fopenmp ? I have tried to compile my code in which i added #pragma omp parallel for and it worked very well without upper line. No errors, warning or something like that. - ..and ICPC (intel compiler) ? I have installed PS XE 2011, but terminal tells me that icpc command is unrecognized. Should i add path to the makefile? Something like opt/intel/bin ? Thanks for help :)
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.