PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

First try compile errors
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming
View previous topic :: View next topic  
Author Message
riskysp



Joined: 11 Jan 2013
Posts: 8

PostPosted: Mon Aug 26, 2013 12:19 pm    Post subject: Reply with quote

Here are the 2 runs requested:

First:

Quote:
C:\tmp>pgfortran -v -Mcuda=keepgpu,cc20 saxpy.cuf

C:\PROGRA~1\PGI/win64/13.7/bin\pgf901.exe saxpy.cuf -opt 1 -nohpf -nostatic -quad -x 15 2 -x 49 0x400004 -x 51 0x20 -x 57 0x4c -x 58 0x10000 -x 124 0x1000 -x 12
0 0x80000000 -x 59 4 -x 124 0x400 -x 19 0x400000 -x 119 0x8800000 -tp sandybridge -x 57 0x7b0000 -x 58 0x78031040 -x 119 0x610400 -x 120 0x80000000 -x 59 4 -x 1
5 2 -x 49 0x100 -x 48 5376 -stdinc "C:\PROGRA~1\PGI/win64/13.7/include;C:/Program Files/PGI/Microsoft Open Tools 11/include/sys;C:/Program Files/PGI/Microsoft O
pen Tools 11/include;C:/Program Files (x86)/Windows Kits/8.0/Include/shared;C:/Program Files (x86)/Windows Kits/8.0/Include/um" -def _M_AMD64 -def _MT -def _WIN
32 -def __WIN32 -def __WIN32__ -def _WIN64 -def __WIN64 -def __WIN64__ -def __x86_64__ -def __X86_64__ -def __unaligned= -def _INTEGRAL_MAX_BITS=64 -def __exten
sion__= -def __amd64__ -def __SSE__ -def __MMX__ -def __SSE2__ -def __SSE3__ -def __SSSE3__ -def __PGI_TOOLS11 -def _CUDA -freeform -x 137 1 -x 180 0x4000000 -x
189 8 -x 176 0x140000 -x 177 0x0202007f -vect 48 -y 54 1 -x 137 1 -x 176 0x100-x 176 0x2100 -modexport C:\temp\pgfortran3bfCWpqnVcX8u.cmod -modindex C:\temp\p
gfortran4cTCWhsx-I3EA.cmdx -output C:\temp\pgfortran2aDCWxLOV7XcH.ilm
0 inform, 0 warnings, 0 severes, 0 fatal for mymodule
0 inform, 0 warnings, 0 severes, 0 fatal for saxpy
0 inform, 0 warnings, 0 severes, 0 fatal for main
PGF90/x86-64 Windows 13.7-0: compilation successful

C:\PROGRA~1\PGI/win64/13.7/bin\pgf902.exe C:\temp\pgfortran2aDCWxLOV7XcH.ilm -fn saxpy.cuf -opt 1 -x 51 0x20 -x 120 0x80000000 -x 59 4 -x 19 0x400000 -x 28 0x40
000 -x 119 0x4a10400 -x 122 0x40 -x 123 0x1000 -x 127 0x15 -x 129 0x10 -quad -y80 0x1000 -x 80 0x10800000 -tp sandybridge -x 70 0x8000 -x 122 1 -x 125 0x20000
-x 120 0x1000 -x 124 0x400 -x 119 0x400000 -x 120 0x80 -y 15 2 -x 57 0x3b0000 -x 58 0x48000000 -x 15 2 -x 49 0x100 -astype 0 -x 137 1 -x 180 0x4000000 -x 189 8
-x 176 0x140000 -x 177 0x0202007f -x 124 1 -x 137 1 -x 180 0x4000000 -x 163 8 -x 176 0x140000 -x 177 0x0202007f -x 176 0x100 -x 176 0x2100 -x 189 8 -cmdline "+p
gfortran saxpy.cuf -v -Mcuda=keepgpu,cc20" -asm C:\temp\pgfortran5dvCW-IXeB-V7.s

0 inform, 0 warnings, 0 severes, 0 fatal for mymodule
0 inform, 0 warnings, 0 severes, 0 fatal for saxpy
executing C:\PROGRA~1\PGI/win64/13.7/bin/pgnvd saxpy.n001.gpu -computecap=20 -ptx C:\temp\pgcudafor2aaCLca7hbbXxZ.ptx -o C:\temp\pgcudafor3baCLcathQb5vU.bin -4.
2
PGF90-F-0155-Compiler failed to translate accelerator region (see -Minfo messages): Device compiler exited with error status code (saxpy.cuf: 1)
PGF90/x86-64 Windows 13.7-0: compilation aborted
pgfortran-Fatal-f902 completed with exit code 1

Unlinking C:\temp\pgfortran2aDCWxLOV7XcH.ilm
Unlinking C:\temp\pgfortran3bfCWpqnVcX8u.cmod
Unlinking C:\temp\pgfortran4cTCWhsx-I3EA.cmdx
Unlinking C:\temp\pgfortran5dvCW-IXeB-V7.s


Second:

Quote:
C:\tmp>C:\PROGRA~1\PGI/win64/13.7/bin/pgnvd saxpy.n001.gpu -v -computecap=20 -ptx "C:\temp\pgcudafor2aaCLca7hbbXxZ.ptx" -o "C:\temp\pgcudafor3baCLcathQb5vU.bin"
-4.2

"C:/Program Files/PGI/Microsoft Open Tools 11/bin/amd64\cl.exe" -E -C -TP -nologo -D_DO_NOT_USE_NULLPTR_IN_STL saxpy.n001.gpu -D__CUDA_ARCH__=200 -D__PGI_M64 -I
C:\PROGRA~1\PGI\win64/2013/cuda/4.2/include -IC:\PROGRA~1\PGI\win64/2013/cuda/4.2/include/cudart -IC:\PROGRA~1\PGI\win64\13.7/include_acc -IC:\PROGRA~1\PGI\win6
4\13.7/include_acc/OT_11 "-IC:/Program Files/PGI/Microsoft Open Tools 11/include" "-IC:/Program Files (x86)/Windows Kits/8.0/Include/shared" "-IC:/Program Files
(x86)/Windows Kits/8.0/Include/um" -D__CUDACC__ -DCUDA_DOUBLE_MATH_FUNCTIONS -DCUDA_PREC_DIV -DCUDA_PREC_SQRT -D_USE_DECLSPECS_FOR_SAL -DV4_2 > C:\temp\pgnvd2a
wyAdcPqbtIO_.nv0 2> nul
pgnvd-Fatal-prepro1 completed with exit code 2

Unlinking C:\temp\pgnvd2awyAdcPqbtIO_.nv0
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6134
Location: The Portland Group Inc.

PostPosted: Mon Aug 26, 2013 1:05 pm    Post subject: Reply with quote

Getting closer though nothing diffinative yet. Next let try and capture why cl is failing to preprocess the file.

Either add "--keeptmp" to the pgnvd.exe command and then post the output from the ".nv0" file, or run the "cl.exe" directly but don't redirect the output to a file.

- Mat
Back to top
View user's profile
riskysp



Joined: 11 Jan 2013
Posts: 8

PostPosted: Wed Aug 28, 2013 11:02 am    Post subject: Reply with quote

Mat,

I am having trouble using the "---keeptmp" flag. Can you provide some guidance on it's use?
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6134
Location: The Portland Group Inc.

PostPosted: Wed Aug 28, 2013 3:52 pm    Post subject: Reply with quote

Sorry, I was writting from memory. The correct spelling is "-keeptemp".

- Mat
Back to top
View user's profile
riskysp



Joined: 11 Jan 2013
Posts: 8

PostPosted: Thu Aug 29, 2013 6:46 am    Post subject: Reply with quote

Mat,

Thanks for your help to this point.

Out of curiosity and frustration, I spent over an hour removing every trace of NVIDIA, CUDA, PGI, etc. from my computer. I then reinstalled the latest versions of everything from drivers to compilers.

I am happy to say that all is working now. Programs compile and execute as they should.

Let's consider this issue closed.

Thanks again and hope you will be around when I need advice in the future.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming All times are GMT - 7 Hours
Goto page Previous  1, 2, 3, 4  Next
Page 3 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group