PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

Could not find GPU binary file

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming
View previous topic :: View next topic  
Author Message
ciade



Joined: 17 Apr 2012
Posts: 6

PostPosted: Fri Apr 20, 2012 11:28 am    Post subject: Could not find GPU binary file Reply with quote

I finally got the compiler working, thanks Dave for the license key, but now I'm getting a few errors when targetting compute capability 1.1 (sadly, my laptop's card fx770m only supports cc11)

$ pgcc -o pgpiacc pi.c -Minfo=all -acc -ta=nvidia:cc11

PGC-S-0155-No valid compute capability generated (pi.c)
PGC-W-0155-Compiler failed to translate accelerator region (see -Minfo messages): Could not find GPU binary file (pi.c: 7)
main:
7, Double precision operations disable compute capability 1.1 kernel
8, Loop is parallelizable
#pragma acc loop gang, vector(256) /* blockIdx.x threadIdx.x */
9, Double precision operations disable compute capability 1.1 kernel
10, Sum reduction generated for pi
Double precision operations disable compute capability 1.1 kernel
PGC/x86 Linux 12.4-0: compilation completed with severe errors

If I set compute capability 1.3 or higher all is fine at compile time

$ pgcc -o pgpiacc pi.c -Minfo=all -acc -ta=nvidia:cc13
main:
7, Generating compute capability 1.3 binary
8, Loop is parallelizable
#pragma acc loop gang, vector(256) /* blockIdx.x threadIdx.x */
CC 1.3 : 21 registers; 2072 shared, 36 constant, 0 local memory bytes; 50% occupancy
10, Sum reduction generated for pi


Not so at run time (as expected)

$ ./pgpiacc
Compute capability mismatch
file: /home/k/workspace/pi.c
routine: main
line: 7
device: 0 compute capability 1.1
driver: 4000
Available compute capability: 1.3(elf) 1.3(ptx)


Any ideas?

TIA
Back to top
View user's profile
mkcolg



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

PostPosted: Fri Apr 20, 2012 4:13 pm    Post subject: Reply with quote

Hi ciade,

You'll need to change all double precision variables to single precision (i.e. change "double" to "float") since your card does not support double precision.

- Mat
Back to top
View user's profile
ciade



Joined: 17 Apr 2012
Posts: 6

PostPosted: Sat Apr 21, 2012 1:20 am    Post subject: Reply with quote

mkcolg wrote:
Hi ciade,

You'll need to change all double precision variables to single precision (i.e. change "double" to "float") since your card does not support double precision.

- Mat


it would've helped if i'd read the actual error messages ;)

thanks
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
Page 1 of 1

 
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