PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

pgf95 compiling errors
Goto page Previous  1, 2
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
crip_crop



Joined: 28 Jul 2010
Posts: 68

PostPosted: Mon Oct 01, 2012 9:18 am    Post subject: Reply with quote

Hi there,

I'm having the same problem as funnyway so I tried installing acml and adding a library link to it in my makefile but it doesn't seem to be working.

Presumably lapack is still going straight to the other version... how do I make sure it always uses the 64-bit version?

Thanks in advance,
Crip_crop
Back to top
View user's profile
mkcolg



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

PostPosted: Tue Oct 02, 2012 9:50 am    Post subject: Reply with quote

Hi Crip Crop,

Quote:
Presumably lapack is still going straight to the other version... how do I make sure it always uses the 64-bit version?
The Lapack that we ship is only available as static library build with 32-bit addressing, i.e. -mcmodel=small, (not to be confused with 32-bit pointer sizes, the library is still 64-bit). For the medium memory model, you need to use a library compiled with Position Independent Code (-fpic) enabled. Hence for you, we'd suggest using the ACML Shared libraries by compiling "-fpic -lacml".

Hope this helps,
Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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