Mat
I am posting the build log for the project here. the -ta= nvidia flag is present in the compiling but it is not in the linking.
PVF Build Log
Compiling Project …
ConsoleApp.f90
c:\program files\pgi\win64\11.6\bin\pgfortran.exe -Hx,123,8 -Hx,123,0x40000 -Hx,0,0x40000000 -Mx,0,0x40000000 -Hx,0,0x20000000 -V -Mpreprocess -g -Bstatic -Mbackslash -Mextend -mp -Mcuda=fastmath -Mfree -Mbounds -Mchkptr -Mchkstk -Mimsl -Mmkl -I"C:\Program Files\PGI\win64\11.6\include" -I"C:\Program Files\PGI\win64\11.6\lib" -I"C:\Program Files\PGI\win64\11.6\include_acc\OT_10" -I"C:\Program Files\PGI\win64\11.6\include_acc" -I"C:\Program Files\PGI\win64\2011\cuda\3.2\lib64" -I"C:\Program Files\PGI\win64\2011\cuda\3.2\include" -I"C:\Program Files\PGI\win64\2011\cuda\4.0\lib64" -I"C:\Program Files\PGI\win64\2011\cuda\4.0\include" -I"c:\program files\pgi\win64\11.6\include" -I"C:\Program Files\PGI\Microsoft Open Tools 10\include" -I"C:\Program Files\PGI\Microsoft Open Tools 10\PlatformSDK\include" -tp=core2-64 -ta=nvidia,fastmath,mul24,wait -Minform=warn -module “x64\Debug” -Mkeepasm -Manno -Minfo=accel,ccff,ftn,inline,ipa,intensity,loop,lre,mp,opt,par,unified,vect -o “x64\Debug\ConsoleApp.obj” -c “C:\Users\INTEL\Documents\Visual Studio 2010\Projects\test_for_acceleration\PVFProject4\ConsoleApp.f90”
Command exit code: 0
Command output: [PGF90/x86-64 Windows 11.6-0 Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved. Copyright 2000-2011, STMicroelectronics, Inc. All Rights Reserved. C:\Users\INTEL\Documents\Visual Studio 2010\Projects\test_for_acceleration\PVFProject4\ConsoleApp.f90(16) : warning W0115 : Assignment to DO variable j in loop 0 inform, 1 warnings, 0 severes, 0 fatal for etimetest PGF90/x86-64 Windows 11.6-0 Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved. Copyright 2000-2011, STMicroelectronics, Inc. All Rights Reserved. etimetest: 13, Intensity = 2002000400.00 Loop is parallelizable Accelerator kernel generated 13, !$acc do parallel, vector(256) ! blockidx%x threadidx%x 19, Sum reduction generated for i 14, Intensity = 5005000.00 Loop is parallelizable 15, Intensity = 1.00 Loop carried scalar dependence for ‘j’ at line 16 Inner sequential loop scheduled on accelerator pgfortran 11.6-0 64-bit target on x86-64 Windows -tp core2-64 Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved. Copyright 2000-2011, STMicroelectronics, Inc. All Rights Reserved. ]
Linking…
c:\program files\pgi\win64\11.6\bin\pgfortran.exe -Wl,/libpath:“c:\program files\pgi\win64\11.6\lib” -Wl,/libpath:“C:\Program Files\PGI\Microsoft Open Tools 10\lib\amd64” -Wl,/libpath:“C:\Program Files\PGI\Microsoft Open Tools 10\PlatformSDK\lib\AMD64” -Yl,“C:\Program Files\PGI\Microsoft Open Tools 10\bin\amd64” -g -Bstatic -o “C:\Users\INTEL\Documents\Visual Studio 2010\Projects\test_for_acceleration\PVFProject4\x64\Debug\PVFProject4.exe” “x64\Debug\ConsoleApp.obj”
Command exit code: 2
Command output: [ConsoleApp.obj : error LNK2019: unresolved external symbol _pgi_cu_init referenced in function MAIN ConsoleApp.obj : error LNK2019: unresolved external symbol _pgi_cuda_allock referenced in function MAIN ConsoleApp.obj : error LNK2019: unresolved external symbol _pgi_cuda_uploadk referenced in function MAIN ConsoleApp.obj : error LNK2019: unresolved external symbol _pgi_cuda_paramsetk referenced in function MAIN ConsoleApp.obj : error LNK2019: unresolved external symbol _pgi_cuda_launchk referenced in function MAIN ConsoleApp.obj : error LNK2019: unresolved external symbol _pgi_cuda_downloadk referenced in function MAIN ConsoleApp.obj : error LNK2019: unresolved external symbol _pgi_cuda_freek referenced in function MAIN ConsoleApp.obj : error LNK2019: unresolved external symbol _pgi_cu_close referenced in function MAIN ConsoleApp.obj : error LNK2019: unresolved external symbol _cudaRegisterFatBinary referenced in function MAIN ConsoleApp.obj : error LNK2019: unresolved external symbol _cudaRegisterFunction referenced in function MAIN ConsoleApp.obj : error LNK2019: unresolved external symbol _cudaRegisterVar referenced in function MAIN ConsoleApp.obj : error LNK2019: unresolved external symbol _cudaUnregisterFatBinary referenced in function MAIN C:\Users\INTEL\Documents\Visual Studio 2010\Projects\test_for_acceleration\PVFProject4\x64\Debug\PVFProject4.exe : fatal error LNK1120: 12 unresolved externals ]
PVFProject4 build failed.