Gcc 4.4.3 now part of Manycore Testing Lab to support OpenMP v3.0

Gcc 4.4.3 now part of Manycore Testing Lab to support OpenMP v3.0

Gcc v4.4.3 has been added to the Manycore testing lab to support OpenMP version 3.0 that now includes tasks.

The default installation of gcc on RHEL 5.4 included gcc v4.1.2, but this does not support the OpenMP 3.0 spec. gcc v4.4.3 (g++ & gfortran) suite has now been added to the Manycore testing lab.

To access the 4.4.3 gcc compiler, the user should modify the makefile to include:

GCC_VERSION = 4.4.3
PREFIX = /opt/gcc/${GCC_VERSION}/bin/
CC = ${PREFIX}gcc
CPP = ${PREFIX}g++
LD_LIBRARY_PATH = /opt/mpfr/lib:/opt/gmp/lib

This will ensure thegcc v4.4.3 compiler understandsthe "omp task" pragma, while gcc v4.1.2 will ignore such pragmas.

Note: Thecurrent Intel compiler (icc v11.1)on the Manycore testing lab already supports OpenMP v3.0.

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.