| View previous topic :: View next topic |
| Author |
Message |
williamjacobs
Joined: 20 Apr 2009 Posts: 1
|
Posted: Sat Sep 19, 2009 1:10 pm Post subject: pgnvd job exited with nonzero status code |
|
|
I am running a fresh install of ubuntu 9.04 x64. pgaccelinfo finds both of my gpus, both compute capability 1.3.
When I try to compile the accelerator code samples, both in c and in fortran, I get this internal compiler error:
PGC-F-0000-Internal compiler error. pgnvd job exited with nonzero status code 0 (c2.c: 73)
The line in the source code referenced is always the last line. This error message is preceded by 100 errors from the standard gnu cpp library:
/usr/include/c++/4.3/x86_64-linux-gnu/bits/c++config.h(233): 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(308): error: name followed by "::" must be a class or namespace name
etc...
Thanks in advance. |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Sat Sep 19, 2009 8:36 pm Post subject: |
|
|
Hi williamjacobs,
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/linux8664/<release>/bin/sitenvrc file.
For example:
Code:
| Quote: |
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; |
- Mat |
|
| Back to top |
|
 |
|