PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

pgf77-Error-Required tool as was not found

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



Joined: 22 Feb 2011
Posts: 1

PostPosted: Tue May 24, 2011 10:52 am    Post subject: pgf77-Error-Required tool as was not found Reply with quote

After installing Fortran workstation 64-bit on a Red Hat Enterprise 6.1 system, pgf77 -V x.f resulted in the following errors.

Quote:
pgf77-Error-Required tool as was not found
pgf77... looked for as at /opt/pgi/linux86-64/11.5/bin/as
pgf77-Error-Required tool ld was not found
pgf77... looked for ld at /opt/pgi/linux86-64/11.5/bin/ld


The environment was set as:
Quote:
export PGI=/opt/pgi
export PATH=$PGI/linux86-64/11.5/bin:$PATH

The same error was posted in 2006, but this may not be PATH problem. I repeated the installation. There is no file "as" or "ld" in the bin directory. What's wrong?
Back to top
View user's profile
jtull



Joined: 30 Jun 2004
Posts: 373

PostPosted: Tue May 24, 2011 11:23 am    Post subject: pgf77 install fails on RHEL 6.1 Reply with quote

Hello,

I am sorry you are seeing problems. If you installed the product
in one directory and then copied the directory to another area, you
will have problems with files that do not copy.

The first thing to check is whether the PGI bin directory contents can be
executed by anyone. Sometime users install as root and permissions don't
allow them to run the executables as non-root.

The next thing to check is whether you have gcc support, for 32-bit and 64-bit,
in your path.

% more helloc.c
#include <stdio.h>

int main()
{
printf(" hello\n");

}

create helloc..c and place it in your current working directory


% gcc -m32 -o ./helloc_32 -v ./helloc.c

% gcc -m64 -o ./hello_64 -v ./helloc.c

Send the output of those instructions along with the output of

% /opt/pgi/linux86-64/11.5/bin/pgcc -v ./helloc.c -o ./helloc_64_pgcc
% file ./helloc_64_pgcc

and you can do a similar thing with pgf77 and hellof.f
% more hellof.f
print *,"hello"
end


Send the above output dialogs to trs@pgroup.com.

thanks,
dave
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