PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

Where is the location of curand

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
Malcolm M.Bibby55695



Joined: 05 Feb 2014
Posts: 23

PostPosted: Mon Jul 06, 2015 1:39 pm    Post subject: Where is the location of curand Reply with quote

I am following the book "CUDA Fortran for Scientists and Engineers" In chapter 5, one needs to add the CUDA library (-lcurand) located in the cuda subdirectory of the PGI installation, p160. Where is this? I have tried /opt/pgi/linux86-64/2015/cuda/7.0/incude but that doesn't work.

I am using PGI 15.3 and Cuda 7.0.

Malcolm
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Jul 06, 2015 9:55 pm    Post subject: Reply with quote

Hi Malcom,

cuRand can be found in the CUDA installation's "lib64" directory (/opt/pgi/linux86-64/2015/cuda/7.0/lib64). The compiler will add the path to this directory on you link line when using the "-Mcuda" flag.

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