PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

sitenvrc in PGI 10.0

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



Joined: 11 Jun 2009
Posts: 233

PostPosted: Tue Nov 24, 2009 5:35 am    Post subject: sitenvrc in PGI 10.0 Reply with quote

As a CUDA folder is included along with the new version of PGI Fortran, I dont know if we still need to create the sitenvrc file.

I have CUDA installed separately previously, and I'm using that, i.e. my PATH doesnt point to the new CUDA location in Fortran 10.0.
Back to top
View user's profile
mkcolg



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

PostPosted: Tue Nov 24, 2009 9:16 am    Post subject: Reply with quote

Hi Tuan,

The sitenvrc file is no longer used since we're now able to ship the CUDA runtime libraries and tools with the PGI compilers. Note that we only test with the CUDA version we ship.

- Mat
Back to top
View user's profile
Tuan



Joined: 11 Jun 2009
Posts: 233

PostPosted: Tue Nov 24, 2009 9:29 am    Post subject: Reply with quote

mkcolg wrote:
Hi Tuan,

The sitenvrc file is no longer used since we're now able to ship the CUDA runtime libraries and tools with the PGI compilers. Note that we only test with the CUDA version we ship.

- Mat


In that case, do we have to set any environment var. to point to this CUDA folder. Do we still need the LD_LIBRARY_PATH and should we modify this?

Tuan
Back to top
View user's profile
mkcolg



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

PostPosted: Tue Nov 24, 2009 9:36 am    Post subject: Reply with quote

Hi Tuan,

Your binary will be linked with an "rpath" to the CUDA runtime libraries that ship with the PGI compilers. You only need to set LD_LIBRARY_PATH if running on a system that does not have the PGI compilers 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