CUDA Fortran samples compilation problem

Hello,

I am using PGI 9.0-4 for Fortran and I am trying to complile the GPU samples in /etc/samples. However, I get the following list of errors.

My configuration is:

Fedora 10 X86_64
gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC)
PGI 9.0-4
NVIDIA CUDA 2.2

ENVIRONMENT VARIABLES:

PATH=/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/apophys/bin:/usr/local/cuda/bin:/opt/pgi/linux86-64/9.0-4/bin

PGI=/opt/pgi

ERRORS:

NOTE: your trial license will expire in 14 days, 9.95 hours.
NOTE: your trial license will expire in 14 days, 9.95 hours.
/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h(1642): error: expected a “{”

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/bits/cpp_type_traits.h(74): error: expected a “{”

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/bits/cpp_type_traits.h(81): error: expected a “{”

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/bits/cpp_type_traits.h(299): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/bits/cpp_type_traits.h(299): error: too many arguments for class template “::__is_normal_iterator”

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/bits/cpp_type_traits.h(299): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/bits/cpp_type_traits.h(299): error: too many arguments for class template “::__is_normal_iterator”

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/bits/cpp_type_traits.h(299): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/bits/cpp_type_traits.h(299): error: too many arguments for class template “::__is_normal_iterator”

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(43): error: expected a “{”

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(70): error: namespace “std” has no member “__is_integer”

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(70): error: type name is not allowed

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(70): error: too few arguments for class template “::__enable_if”

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(70): error: explicit type is missing (“int” assumed)

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(70): error: explicit type is missing (“int” assumed)

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(70): error: template parameter “_Tp” may not be redeclared in this scope

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(70): error: expected a “;”

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(73): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(113): error: namespace “std” has no member “__is_integer”

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(113): error: type name is not allowed

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(113): error: too few arguments for class template “::__enable_if”

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(113): error: explicit type is missing (“int” assumed)

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(113): error: explicit type is missing (“int” assumed)

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(113): error: template parameter “_Tp” may not be redeclared in this scope

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(113): error: expected a “;”

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(116): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(164): error: namespace “std” has no member “__is_integer”

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(164): error: type name is not allowed

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(164): error: the global scope has no “__value”

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(169): error: a template argument list is not allowed in a declaration of a primary template

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(176): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(177): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(187): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(188): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(189): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(199): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(200): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(201): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/ext/type_traits.h(202): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(82): error: expected a “{”

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(121): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(121): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(137): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(137): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(153): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(153): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(170): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(171): error: expected an identifier

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(171): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(170): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(171): error: expected an identifier

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(171): error: “typename” may not be specified here

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(171): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(191): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(191): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(207): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(207): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(223): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(223): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(239): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(239): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(255): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(255): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(271): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(271): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(297): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(297): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(313): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(313): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(329): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(329): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(345): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(345): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(385): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(386): error: expected an identifier

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(386): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(385): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(386): error: expected an identifier

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(386): error: “typename” may not be specified here

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(386): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(406): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(406): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(422): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(422): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(438): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(438): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(454): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(454): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(470): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(470): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(475): error: expected a “;”

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(483): error: expected a “{”

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(505): error: expected a “{”

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(508): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(508): error: name followed by “::” must be a class or namespace name

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cmath(615): error: expected a “;”

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/bits/cmath.tcc(40): error: expected a “{”

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cstddef(53): error: expected a “{”

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cstdlib(105): error: expected a “{”

/usr/lib/gcc/x86_64-redhat-linux/4.3.2/…/…/…/…/include/c++/4.3.2/cstdlib(162): error: expected a “{”

Error limit reached.
100 errors detected in the compilation of “/tmp/pgnvdqQ4hWzw7PRrm.nv0”.
Compilation terminated.
PGF90-F-0000-Internal compiler error. pgnvd job exited with nonzero status code 0 (f1.f90: 53)
make: *** [f1.exe] Error 2

Seems like a configuration problem. Does anybody know a solution?

Thank you

Hi hupca_ovidiu,

From our FAQs c++config.h error messages

Q. When I try to compile any accelerator program I get the follow error messages:

% make f1.exe
pgfortran -o f1.exe f1.f90 -ta=nvidia -Minfo=accel -fast
/usr/include/c++/4.3/x86_64-suse-linux/bits/c++config.h(1642): error: expected a "{"

/usr/include/c++/4.3/bits/cpp_type_traits.h(74): error: expected a "{"

/usr/include/c++/4.3/bits/cpp_type_traits.h(81): error: expected a "{"

/usr/include/c++/4.3/bits/cpp_type_traits.h(299): error: name followed by "::" must be a class or namespace name

/usr/include/c++/4.3/bits/cpp_type_traits.h(299): error: too many arguments for class template "<error>::__is_normal_iterator"

/usr/include/c++/4.3/bits/cpp_type_traits.h(299): error: name followed by "::" must be a class or namespace name
... continues

A. This error is caused by an incompatibility between the GNU g++ 4.3 header files and the NVIDIA installation. To work around this issue add the line “set GCCVERSION=40301” line to your $PGI/linux86-64//bin/sitenvrc file.

For example:

cat /usr/pgi/linux86-64/9.0-1/bin/sitenvrc
set NVOPEN64DIR=/opt/cuda/open64/lib;
set CUDADIR=/opt/cuda/bin;
set CUDALIB=/opt/cuda/lib;
set GCCVERSION=40301;

Hope this helps,
Mat

Thank you, that was it.

I looked through some of the threads on the forum before posting, but that one’s title didn’t seem to relate to my problem…

Ovidiu

I know that this is a pretty ancient thread but I am still seeing this problem at our site. Setting the sitenvrc does not seem to help.

The original pgi compiler install was done under SLES10 which had an earlier version of GCC than under SLES11. I have tried creating a .mypgirc file that has the settings that would be placed under the localrc for the install. This seems to allow me to compile trivial code (hello world, etc) but if you attempt to use the pgi cudo fortran features you get the same list of errors as displayed in the original post.

I attempted to open up a support ticket but didn’t get any response. I am hoping someone else here has an idea. I can try re-installing the compilers under an alternative location but I would really like to avoid that if possible.

thanks
Nick

Hi Nick,

“sitenvrc” was deprecated and the GCCVERSION setting should now be placed in “localrc”. Though, you’ll also need to change in ‘localrc’ the location of the GCC directories as well. Note that the easiest thing to do when upgrading the OS, would be to also reinstall the compilers. While not necessary, it makes sure all the correct bits are set.

I attempted to open up a support ticket but didn’t get any response

I ask our Customer Support but unfortunately they haven’t seen a mail for you. When did you send it and to which email account?

Best regards,
Mat

There must be something up with the online ticket entry tool. I have tried to send this issue in twice and clicked the “cc” checkbox each time and I have not gotten a copy of the original message.

re-installing may work for the future but I guess what you are telling me is that I need to install PGI under SLES11 under an alternative location to have really any hope of getting this to work in the interim. I can’t re-install the version in use by our SLES10 hosts as they are still very much in use. We install multiple versions of PGI under /usr/local/pgi so this is also a bit of a pain (since I need to go through and re-install every version in use, not just the latest).

What I don’t understand is why setting the .mypgirc isn’t working for the nvidia configuration. It seems to work for everything else. Here is what I have:

localrc contents

set LFC=-lgfortran;
set LDSO=/lib64/ld-linux-x86-64.so.2;
set GCCDIR=/usr/lib64/gcc/x86_64-suse-linux/4.3;
set GCCINC=/usr/lib64/gcc/x86_64-suse-linux/4.3/include;
set G77DIR=/usr/lib64/gcc/x86_64-suse-linux/4.3/;
set OEM_INFO=64-bit target on x86-64 Linux $INFOTPVAL;
set LOCALRC=YES;
set THROW=__THROW=;
set EXTENSION=extension=;
set LC=$if(-Bstatic,-lgcc -lgcc_eh -lc -lgcc -lgcc_eh -lc, -lgcc -lc -lgcc);

GLIBC version 2.9

GCC version 4.3

set GCCVERSION=40301;
export PGI=/usr/local/pgi;

makelocalrc executed by nacks Mon Mar 7 13:25:28

############################

This config was created on the SLES11 system. The localrc still has the SLES10 config:

set LFC=-lgfortran;
set LDSO=/lib64/ld-linux-x86-64.so.2;
set GCCDIR=/usr/lib64/gcc/x86_64-suse-linux/4.1.2;
set GCCINC=/usr/lib64/gcc/x86_64-suse-linux/4.1.2/include;
set G77DIR=/usr/lib64/gcc/x86_64-suse-linux/4.1.2/;
set OEM_INFO=64-bit target on x86-64 Linux $INFOTPVAL;
set NUMALIBNAME=-lnuma ;
set LOCALRC=YES;
set THROW=__THROW=;
set EXTENSION=extension=;
set LC=$if(-Bstatic,-lgcc -lgcc_eh -lc -lgcc -lgcc_eh -lc, -lgcc -lc -lgcc);

GLIBC version 2.4

GCC version 4.1.2

set GCCVERSION=40102;
export PGI=/usr/local/pgi;

makelocalrc executed by nacks Fri Feb 11 16:34:53

set MPIVDIR=/usr/local/pgi/linux86-64/2011/mpi/mvapich;
set OFEDLIBDIR=/usr/lib64;

Hi Nick,

There must be something up with the online ticket entry tool. I have tried to send this issue in twice and clicked the “cc” checkbox each time and I have not gotten a copy of the original message.

I asked our Customer Service and they have been receiving mail from the web system so I’m not sure why it’s not working for you. Please feel free to contact them directly at trs@pgroup.com.

I can’t re-install the version in use by our SLES10 hosts as they are still very much in use.

So this installation serves multiple hosts from a shared file system? I misunderstood your earlier post and thought this was a single system installation.

For shared installation, it’s best to use a ‘network’ installation. In this case, a localrc file is created for each system, automatically upon first use of the compilers. Also, each system will then use the correct header files, GPU configuration, etc.

What I don’t understand is why setting the .mypgirc isn’t working for the nvidia configuration

I’m not sure either. Adding “-show” to the compile will show you what compiler configuration variables are being set. Can you please confirm the GCCVERSION is being set to 40301?

  • Mat