PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Olimit exceeded....

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



Joined: 08 Apr 2010
Posts: 79

PostPosted: Tue Nov 09, 2010 7:40 am    Post subject: Olimit exceeded.... Reply with quote

Hi. can anyone explain what might be causing this? Note, I don't get it if I I use -Mcuda=cuda3.1 :

Code:
$ pgfortran -c curk4_mod.cuf -Mpreprocess
/tmp/pgnvdLD3gVPbtUj9x.nv4(0): Warning: Olimit was exceeded on function curk4_kernel; will not perform function-scope optimization.
        To still perform function-scope optimization, use -OPT:Olimit=0 (no limit) or -OPT:Olimit=48636
/tmp/pgnvdLD3gVPbtUj9x.nv4(0): Warning: To override Olimit for all functions in file, use -OPT:Olimit=48636
        (Compiler may run out of memory or run very slowly for large Olimit values)
^Ccleaning up after signal(2)...
cleaning up after signal(2)...
Back to top
View user's profile
mkcolg



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

PostPosted: Tue Nov 09, 2010 2:22 pm    Post subject: Reply with quote

Hi Rob,

We use a few NVIDIA's CUDA back end tools to create the GPU binary. I believe this error comes from one of these tools when performing register allocation. Basically, you have too many local variables and were hitting an internal limit within the tool. NVIDIA has fixed this issue in later CUDA versions (by default the 2010 compilers use CUDA 2.3).

Hope this helps,
Mat


Last edited by mkcolg on Tue Nov 09, 2010 3:44 pm; edited 1 time in total
Back to top
View user's profile
alfvenwave



Joined: 08 Apr 2010
Posts: 79

PostPosted: Tue Nov 09, 2010 3:40 pm    Post subject: Reply with quote

Cheers for the info Mat.

Rob.
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