PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

pgfortran-Error-Please run makelocalrc to complete your inst

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation
View previous topic :: View next topic  
Author Message
cessenat



Joined: 07 Mar 2010
Posts: 4

PostPosted: Sun Mar 07, 2010 10:24 am    Post subject: pgfortran-Error-Please run makelocalrc to complete your inst Reply with quote

Hello,

I perform a local "Single system install" and got a message:
<<
Installing software into /opt/pgi (this may take some time).
############################################

ERROR: directory installÚs: /usr/lib/gcc/x86_64-manbo-linux-gnu/4.4.1: not found;
successful use of compilers requires existence of gcc libraries
ERROR: directory installÚs: /usr/lib/gcc/x86_64-manbo-linux-gnu/4.4.1: not found;
successful use of compilers requires existence of gcc libraries
>>
Then, when I compile a fortran file, I get:
<<
pgfortran-Error-Please run makelocalrc to complete your installation
>>
This is with a Mandriva 2010.0 system, where gcc 4.1.1 is installed and directory
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.4.1
exists.

Any idea of what I could do to try testing the PGI fortran compiler ?

Thanks,

Olivier.
Back to top
View user's profile
cessenat



Joined: 07 Mar 2010
Posts: 4

PostPosted: Mon Mar 08, 2010 10:33 am    Post subject: Modify makelocalrc Reply with quote

gcc -print-search-dirs
provided (in fr local):
installÚs: /usr/lib/gcc/x86_64-manbo-linux-gnu/4.2.3/

So, modify makelocalrc so that gccbase is correct:
gccbase=`"$gcc" -print-search-dirs | sed -e 's/^install: //' -e 's/\/$//' -e 1q | cut -f2 -d':'`
gccbase=`echo $gccbase`

Installation is now complete.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation 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