PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

cuModuleLoadData returned error 300

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



Joined: 25 Jun 2009
Posts: 6

PostPosted: Tue Jun 30, 2009 10:46 am    Post subject: cuModuleLoadData returned error 300 Reply with quote

Hello!

I installed the current CUDA toolkit and verify the installation by the SDK samples (eigenvalues, MonteCarlo).

Code:
pgcc -o c1.exe c1.c -ta=nvidia -Minfo=accel -fast


compilied without any error, but when I run the programm I obtain the error
Code:
call to cuModuleLoadData returned error 300: Invalid source


What's the problem?

Thanks a lot!

With kind regards
Mathias

My System
Ubuntu 9.10
Intel Core 2 Duo E6750
GeForce 9800 GTX
NVIDIA Driver Version 180.44
NV-Control Version 1.17

I established the file sitevrc with the entry GCCVERSION=40301[/code]
Back to top
View user's profile
hongyon



Joined: 19 Jul 2004
Posts: 551

PostPosted: Tue Jun 30, 2009 12:14 pm    Post subject: Reply with quote

Hi,


Can you please send code to trs@pgroup.com so we can investigate?


Thank you,
Hongyon
Back to top
View user's profile
mkcolg



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

PostPosted: Wed Jul 01, 2009 4:26 pm    Post subject: Reply with quote

Hi Mathias,

Try compilng with "-ta=nvidia,cc11". This error typically occurs when there is a mismatch in the compute capabitity version. By default, the compiler targets CC 1.3. "cc11" tells the compiler to target CC 1.1.

Also, "GCCVERSION=40301" should only be used if you have GCC 4.3 installed.

- Mat
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