PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

install probloem: CUDA is not available in this installation
Goto page 1, 2  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming
View previous topic :: View next topic  
Author Message
pwang234



Joined: 27 Jun 2011
Posts: 2

PostPosted: Wed Jun 29, 2011 3:42 am    Post subject: install probloem: CUDA is not available in this installation Reply with quote

hi,

I just download PGI accelerator Fortran/C/C++ workstation. As far as I can tell, I followed the install instructions. However, when I try to compile the first accelerator fortran code, I got:

pgfortran -ta=nvidia -Minfo main.F90
pgfortran-Warning-CUDA is not available in this installation; -ta=analysis assumed

What could be the reason for this problem? Thanks!

My system:
Ubuntu 10.04, x86_64
CUDA 4.0,
2 GPU: C2050/Quadro 5800.
Back to top
View user's profile
jtull



Joined: 30 Jun 2004
Posts: 445

PostPosted: Wed Jun 29, 2011 9:31 am    Post subject: pgfortran cannot find CUDA installation Reply with quote

Hello,

That message occurs because the 'cuda' directory cannot
be found under $PGI/linux86-64/2011, or
the $PGI/linux86/2011

Have you defined $PGI ( I am assuming this is a Linux install),
and is the directory present? If not, reinstall, and make sure you
said 'yes' and 'accept' to the license terms and agreements.

regards,
dave
Back to top
View user's profile
pwang234



Joined: 27 Jun 2011
Posts: 2

PostPosted: Wed Jun 29, 2011 8:16 pm    Post subject: Reply with quote

Thanks jtull!

Reinstall fixed the problem. I must missed something in my first install.

Thanks again.
Back to top
View user's profile
sslgamess



Joined: 23 Nov 2009
Posts: 35

PostPosted: Mon Feb 13, 2012 10:51 pm    Post subject: Reply with quote

I decided to re-use this thread since I'm now having a similar problem with the most recent installation of the PGI 12.1 compiler for Linux.

Now, I did not install this personally - our sys admin did.

When I try to link I get the following complaint:

Code:
pgfortran-Error-CUDA version 4.0 is not available in this installation
pgfortran-Warning-CUDA version 4.0 is not available in this installation; -ta=analysis assumed


Is there any way for me to determine if CUDA was installed with the PGI installation?
Back to top
View user's profile
mkcolg



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

PostPosted: Tue Feb 14, 2012 8:40 am    Post subject: Reply with quote

Hi sslgamess,

The CUDA components we ship would be located in the "$PGI/linux86-64/2012/cuda" directory. If it doesn't exist, then you'll need to ask your admin to re-install the compilers, and select 'yes' when prompted if the CUDA components should be 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
Goto page 1, 2  Next
Page 1 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