OpenMP on gcc
Ferad Zyulkyarov
ferad.zyulkyarov@bsc.es
Wed Mar 28 22:14:00 GMT 2007
As I know, OpenMP is being implemented since version 4.2+ But these
gcc versions does not have official release. Based on my experience, I
compiled few simple OpenMP programs in gcc and I was satisfied.
> 1) Starting from which version does GCC support OpenMP ?
As I know 4.2
> 2) Will old versions of GCC just ignore OpenMP pragmas, or these
> will cause errors ?
Based on the pragma specification unknown pragmas are ignored. But you
have to deal with the omp_* stuff (i.e. omp_set_lock function)
Regards,
Ferad
--
Ferad Zyulkyarov
Barcelona Supercomputing Center
More information about the Gcc-help
mailing list