PGI 2010 and RedHat compatibility

Based on the installation guide, Enterprise Linux Client release 5.4 is not in the list of supported OSs, and I also got compiling error with GCC 4.3.3.

Could any one confirm whether PGI 2010 is compatible with Redhat Enterprise 5.4 or how to work around this problem?

Errors :

/usr/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.4/../../../../include/c++/4.3.4/x86_64-unknown-linux-gnu/bits/c++config.h(233): error: expected a "{"

/usr/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.4/../../../../include/c++/4.3.4/bits/cpp_type_traits.h(74): error: expected a "{"

/usr/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.4/../../../../include/c++/4.3.4/bits/cpp_type_traits.h(81): error: expected a "{"

/usr/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.4/../../../../include/c++/4.3.4/bits/cpp_type_traits.h(308): error: name followed by "::" must be a class or namespace name

/usr/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.4/../../../../include/c++/4.3.4/bits/cpp_type_traits.h(308): error: too many arguments for class template "<error>::__is_normal_iterator"

/usr/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.4/../../../../include/c++/4.3.4/bits/cpp_type_traits.h(308): error: name followed by "::" must be a class or namespace name

Hi Tuan,

The NVCC compiler uses the gcc front end so need to know the gcc version. In 9.0, you would need to set this in the sitenvrc file if not the default (See c++config.h error messages).

In 10.0, the PGI installer will auto-detect the gcc version so the correct version is passed to nvcc. So on this new OS, either our installer is not recognizing the gcc version, or worse, nvcc has a new incompatability.

First, try adding a sitenvrc file with the line “set GCCVERSION=40301;”.

I’ll investigate further once our office opens again on Monday (We’re currently closed for the US Thanksgiving holiday).

  • Mat

Hi Mat,
Could you please double check the issue, one of our machine with RH installed still has the problem with PGI 10.2. The machine has gcc 4-3-4 and 4-4-0, with the former one default.

Tuan