Hi,
I am trying to compile a first Fortran CUDA project under PGI Visual Accelerator 11.8. I created the project and edited the properties pages, but the compiler outputs the message
“error S0011 : Unrecognized command line switch: nvidia”
It is supposed to be due the switch -ta=nvidia concerning the accelerator target
Does anybody KNOW how to go solve this?
Thanks a lot!
Below is a small part from the build logfile and from output window in Visual Studio ( I have a permanent license, but I am testing vs. 11.8 under a trial key. I hope it doesnt matter ):
output window:
…
------ Build started: Project: PVFProject1, Configuration: Debug Win32 ------
Compiling Project …
Kernel_mod.cuf
NOTE: your trial license will expire in 12 days, 8.85 hours.
NOTE: your trial license will expire in 12 days, 8.85 hours.
: error S0011 : Unrecognized command line switch: nvidia
Cuda_teste_01_main.f90
NOTE: your trial license will expire in 12 days, 8.85 hours.
NOTE: your trial license will expire in 12 days, 8.85 hours.
: error S0011 : Unrecognized command line switch: nvidia
Kernel_mod.cuf
NOTE: your trial license will expire in 12 days, 8.85 hours.
NOTE: your trial license will expire in 12 days, 8.85 hours.
: error S0011 : Unrecognized command line switch: nvidia
PVFProject1 build failed.
Compiling Project …
Kernel_mod.cuf
===========
Build log:
…
c:\program files\pgi\win32\11.8\bin\pgfortran.exe -Hx,123,8 -Hx,123,0x40000 -Hx,0,0x40000000 -Mx,0,0x40000000 -Hx,0,0x20000000 -g -Bstatic -Mbackslash -Mcuda -Mfree -I"c:\program files\pgi\win32\11.8\include" -I"C:\Program Files\PGI\Microsoft Open Tools 10\include" -I"C:\Program Files\PGI\Microsoft Open Tools 10\PlatformSDK\include" -tp=px-32 -ta=nvidia,noflushz,wait,cuda4.0,cc11 -Minform=warn -module “Win32\Debug” -Minfo=accel,ftn -o “Win32\Debug\Kernel_mod.obj” -c “D:\Projetos\PVFProject1\PVFProject1\Kernel_mod.cuf”
Command exit code: 2
…