Good morning!
I need information, if possible.
I installed the PGI with a license trial still has 13 days, but the pgf90 will not work.
If I test the the pgf77 the message returned is:
pgf77 8.0-4 64-bit target on x86-64 Linux-tp Penryn-64
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2009, STMicroelectronics, Inc. All Rights Reserved.
NOTE: your trial license will expire in 13 days, 15.7 hours.
PGFTN/x86-64 Linux 8.0-4
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2009, STMicroelectronics, Inc. All Rights Reserved.
PGFTN-F-0002-Unable to open source input file: x.f
But if the test pgf90, I get an error, the operation is aborted and the message is displayed:
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2009, STMicroelectronics, Inc. All Rights Reserved.
PGF90/x86-64 Linux 8.0-4
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2009, STMicroelectronics, Inc. All Rights Reserved.
PGF90-F-0002-Unable to open source input file: x.f
PGF90/x86-64 Linux 8.0-4: compilation aborted
Do you have a problem with this version?
Can you help me?
It appears to me that you’re getting the same error message for both pgf77 and pgf90 where they can’t find the file named “x.f”. Does this file exist in your local directory? If not, then this error is correct.
Try compiling this simple ‘Hello World’ program:
% cat hello.f
print *, 'Hello World'
end
% pgf90 hello.f -o hello_f90.out
% pgf77 hello.f -o hello_f77.out
% hello_f90.out
Hello World
% hello_f77.out
Hello World
But I compile in the directory “/ opt/pgi/linux86-64/8.0/bin” is a problem of road, but most do not know what is missing so that compilers are recognized in any directory that I am. You must specify something that is recognized in the boot of linux?
On Linux, it’s quite common to have to add directories to your environment’s PATH variable. You can do this each time you open a new shell, either by hand or via a source file, or you can add this to your shell’s RC file (such as ~/.bashrc or ~/.cshrc).
If you have someone else locally that is more familiar with Linux, you may want to contat them for help on how to setup your environment.