failed: Permission denied

when i build a transpose example cuda program in k20c , pgi vs 13.4with license, the enable cuda is set to YES ,the cuda emulation is set NO.

show output from:build
Compiling Project …
SourceFile1.cuf
failed: Permission denied
unlink(“C:\Users\jfliu\AppData\Local\Temp\pgfortran5d8asb06CXrzLb.s”) SourceFile1.cuf
PVFProject14 build failed.

why? please help me ,thank you!

Hi SWL_EGGBABY,

Hmm. This looks similar to the error you posted a few years ago. In that case, there was a compiler error which cause this message. Like before, can you please add the verbose flag (-v) to your command options (Project Properties->Fortran->Command Line-> Additional Options) and then send the full output of the build log to PGI Customer Service (trs@pgroup.com)?

Thanks,
Mat

I have send the build log to the trs@pgroup.com. but there is no reply.
thank you !

I have send the build log to the > trs@pgroup.com> . but there is no reply.

I don’t see your message in the TRS mailbox. It may have gotten caught in our sometimes overly aggressive spam filter. I’ll send you an email directly.

  • Mat

The mailbox @w.cn can not use at all, i send the message @163.com. so you can not see it
now i send the output log there:

SourceFile1.cuf

d:\pgi2013\win64\13.4\bin\pgfortran.exe -Hx,123,8 -Hx,123,0x40000 -Hx,0,0x40000000 -Mx,0,0x40000000 -Hx,0,0x20000000 -g -Bstatic -Mbackslash -Mcuda -Mfree -I"d:\pgi2013\win64\13.4\include" -I"d:\PGI2013\Microsoft Open Tools 11\include" -I"D:\Windows Kits\8.0\Include\shared" -I"D:\Windows Kits\8.0\Include\um" -Minform=warn -module “x64\Debug” -o “x64\Debug\SourceFile1.obj” -v -c “C:\Users\jfliu\Desktop\chengxu\juzhen chenfa\juzhen chenfa\SourceFile1.cuf”

Command exit code: 2

Command output: [ 0 inform, 0 warnings, 0 severes, 0 fatal for mmul_mod 0 inform, 0 warnings, 0 severes, 0 fatal for mmul_kernel 0 inform, 0 warnings, 0 severes, 0 fatal for mmul 0 inform, 0 warnings, 0 severes, 0 fatal for matmul PGF90/x86-64 Windows 13.4-0: compilation successful failed: Permission denied d:\pgi2013/win64/13.4/bin\pgf901.exe “C:\Users\jfliu\Desktop\chengxu\juzhen chenfa\juzhen chenfa\SourceFile1.cuf” -debug -x 120 0x200 -opt 0 -inform warn -nohpf -nostatic -quad -x 15 2 -x 49 0x400004 -x 51 0x20 -x 57 0x4c -x 58 0x10000 -x 124 0x1000 -x 120 0x80000000 -x 59 4 -x 124 0x400 -x 19 0x400000 -x 119 0x8800000 -x 57 0x7b0000 -x 58 0x78031040 -x 119 0x610400 -x 120 0x80000000 -x 59 4 -x 15 2 -x 49 0x100 -x 48 5376 -stdinc “d:\pgi2013/win64/13.4/include;D:/PGI2013/Microsoft Open Tools 11/include/sys;D:/PGI2013/Microsoft Open Tools 11/include;D:/Windows Kits/8.0/Include/shared;D:/Windows Kits/8.0/Include/um” -def _M_AMD64 -def _MT -def _WIN32 -def __WIN32 -def WIN32 -def _WIN64 -def __WIN64 -def WIN64 -def x86_64 -def X86_64 -def __unaligned= -def _INTEGRAL_MAX_BITS=64 -def extension= -def amd64 -def SSE -def MMX -def SSE2 -def SSE3 -def SSSE3 -def fastcall= -def __PGI_TOOLS11 -idir d:\pgi2013\win64\13.4\include -idir “d:\PGI2013\Microsoft Open Tools 11\include” -idir “D:\Windows Kits\8.0\Include\shared” -idir “D:\Windows Kits\8.0\Include\um” -def _CUDA -freeform -x 137 1 -x 180 0x4000000 -x 189 8 -x 176 0x140000 -x 177 0x0202007f -vect 48 -y 54 1 -x 123 8 -x 123 0x40000 -x 0 0x40000000 -x 0 0x20000000 -x 49 0x1000 -x 124 0x40 -x 137 1 -x 176 0x100 -x 186 0x10000 -x 176 0x100 -x 186 0x20000 -x 176 0x100 -x 176 0x100 -x 189 4 -freeform -moddir x64\Debug -modexport C:\Users\jfliu\AppData\Local\Temp\pgfortran3bCeyburX-PRxQ.cmod -modindex C:\Users\jfliu\AppData\Local\Temp\pgfortran4c8eyb0B77ll2o.cmdx -output C:\Users\jfliu\AppData\Local\Temp\pgfortran2a8eyb06HfmOHd.ilm d:\pgi2013/win64/13.4/bin\pgf902.exe C:\Users\jfliu\AppData\Local\Temp\pgfortran2a8eyb06HfmOHd.ilm -fn “C:\Users\jfliu\Desktop\chengxu\juzhen chenfa\juzhen chenfa\SourceFile1.cuf” -debug -x 120 0x200 -opt 0 -inform warn -x 51 0x20 -x 120 0x80000000 -x 59 4 -x 19 0x400000 -x 28 0x40000 -x 119 0x4a10400 -x 122 0x40 -x 123 0x1000 -x 127 0x15 -x 129 0x10 -quad -y 80 0x1000 -x 80 0x10800000 -tp nehalem -x 70 0x8000 -x 122 1 -x 125 0x20000 -x 120 0x10 -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 0 0x40000000 -x 124 0x40 -x 137 1 -x 180 0x4000000 -x 176 0x140000 -x 177 0x0202007f -x 176 0x100 -x 186 0x10000 -x 176 0x100 -x 186 0x20000 -x 176 0x100 -x 176 0x100 -x 189 4 -x 189 8 -cmdline “+pgfortran C:\Users\jfliu\Desktop\chengxu\juzhen chenfa\juzhen chenfa\SourceFile1.cuf -Hx,123,8 -Hx,123,0x40000 -Hx,0,0x40000000 -Mx,0,0x40000000 -Hx,0,0x20000000 -g -Bstatic -Mbackslash -Mcuda -Mfree -Id:\pgi2013\win64\13.4\include -Id:\PGI2013\Microsoft Open Tools 11\include -ID:\Windows Kits\8.0\Include\shared -ID:\Windows Kits\8.0\Include\um -Minform=warn -module x64\Debug -o x64\Debug\SourceFile1.obj -v -c” -asm C:\Users\jfliu\AppData\Local\Temp\pgfortran5dCeybu6wjdjb-.s pgfortran-Fatal-f902 completed with exit code -1073741819 Unlinking C:\Users\jfliu\AppData\Local\Temp\pgfortran2a8eyb06HfmOHd.ilm Unlinking C:\Users\jfliu\AppData\Local\Temp/pgfortran2a8eyb06HfmOHd.dbg Unlinking C:\Users\jfliu\AppData\Local\Temp\pgfortran3bCeyburX-PRxQ.cmod Unlinking C:\Users\jfliu\AppData\Local\Temp\pgfortran4c8eyb0B77ll2o.cmdx Unlinking C:\Users\jfliu\AppData\Local\Temp\pgfortran5dCeybu6wjdjb-.s unlink(“C:\Users\jfliu\AppData\Local\Temp\pgfortran5dCeybu6wjdjb-.s”) ]


Thanks SWL_EGGBABY,

send the message @163.com. so you can not see it

Found your email. It did get caught in our corporate email spam filter. I sent you a reply.

pgfortran-Fatal-f902 completed with exit code -1073741819

This is the problem. The back-end compiler is abnormally exiting for some reason. If you can, please send us the source file so we can recreate the issue and determine the cause.

Best Regards,
Mat