PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

undefined reference to __pgi_cu_init

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



Joined: 21 Mar 2010
Posts: 5

PostPosted: Wed Mar 31, 2010 5:35 pm    Post subject: undefined reference to __pgi_cu_init Reply with quote

Hi guys,
I add the accelerator directives, !$acc region !$acc end region, to a loop in a short test code, it works fairly well. Then I tried to add them to a quite big program, the following information shows, I don't know what's wrong. Help me, please. Many thanks!

undefined reference to `__pgi_cu_init'
undefined reference to `__pgi_cu_module3'
undefined reference to `__pgi_cu_module_func
undefined reference to `__pgi_cu_alloc'
undefined reference to `__pgi_cu_uploadc'
undefined reference to `__pgi_cu_paramset'
undefined reference to `__pgi_cu_launch'
undefined reference to `__pgi_cu_download1'
undefined reference to `__pgi_cu_datadone'
undefined reference to `__pgi_cu_free'
undefined reference to `__pgi_cu_close'
Back to top
View user's profile
mkcolg



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

PostPosted: Wed Mar 31, 2010 7:42 pm    Post subject: Reply with quote

You most likely missing "-ta=nvidia" as a link option.

- 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