PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Course

Error in compiling PGI 6.1.6 on Linux FC5(kernel-2.6.15_smp)

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



Joined: 17 Aug 2006
Posts: 1

PostPosted: Thu Aug 17, 2006 6:53 pm    Post subject: Error in compiling PGI 6.1.6 on Linux FC5(kernel-2.6.15_smp) Reply with quote

Dear sir:

When compiling PGI 6.1.6 on FC5 today, I encountered some problems.

It says 'ERROR: directory /usr/lib/gcc/i386-redhat-linux/4.1.0/: not found;

successful use of compilers requires existence of gcc libraries'

But I found this directory does exist! I was confused.

I don't know why it is error and how can I resolve it.

Should I updates my GCC?

I will appreciate if you could give me some advice. Thank you!
Back to top
View user's profile
brentl



Joined: 20 Jul 2004
Posts: 138

PostPosted: Mon Aug 21, 2006 2:16 pm    Post subject: Reply with quote

I might need some more info. Was FC5 on the system when you installed our compilers? Is gcc installed?

Try this: gcc -v hello.c (Make up a hello world example).
Check out the paths of where gcc is finding the includes and libraries.

Then look in the pgi bin directory at the localrc file. Compare where we think the gcc includes and libraries are.

Might be easier to move this discussion to our support email, trs@pgroup.com

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