Free PGI fortran install

Hello,

Just installed Free PGI, to confirm setup

I ran

pgcc -V

and returned

pgcc 14.3-0 64-bit target on Apple OS/X developer
The Portland Group - PGI Compilers and Tools
Copyright © 2014, NVIDIA CORPORATION. All rights reserved.

However, pgfortran -V
File with unknown suffix passed to linker: -V
ld: file not found: -V

my system 10.8.5, Xcode 5.1.1

Is this a bug?

Please send the output dialogs of


hello.c

#include <stdio.h>
int main(){printf(“Hello!\n”);}

% gcc -v hello.c

% pgfortran -dryrun x.f
(x.f need not exist)

and

% pgcc -dryrun hello.c

to trs@pgroup.com

thanks,
dave

ok.

done.

Thanks. This could be a problem with defaults.

Remove the installation and install it in the default /Applications,
instead of /Applications/HACK, and see if the bad behavior persists.

regards,
dave

it’s still broken with same errors.

1)Try:
%pgf90 -V
%pgf95 -V

  1. Can you compile a real file?

Example of x.f90:

print *, “Hello\n”
end


Try each:
%pgfortran x.f90 -o a.out1
%pgf90 x.f90 -o a.out2
% pgf95 x.90 -o a.out3

I suspect it may be some environments or $PATH is causing this error.

If any fail of the above, send the output dialog of


%pgfortran x.f90 -o a.out1 -v
%pgf90 x.f90 -o a.out2 -v
% pgf95 x.90 -o a.out3 -v

hello,

the original dmg did not work but i re-downloaded the file and now it is working.

3[~/builds]=> pgcc -V

pgcc 14.3-0 64-bit target on Apple OS/X developer
The Portland Group - PGI Compilers and Tools
Copyright © 2014, NVIDIA CORPORATION. All rights reserved.

4[~/builds]=> pgf90 -V

pgf90 14.3-0 64-bit target on Apple OS/X developer
The Portland Group - PGI Compilers and Tools
Copyright © 2014, NVIDIA CORPORATION. All rights reserved.

5[~/builds]=> pgf95 -V

pgf95 14.3-0 64-bit target on Apple OS/X developer
The Portland Group - PGI Compilers and Tools
Copyright © 2014, NVIDIA CORPORATION. All rights reserved.

all targets compiled the x.f90 file with correct results.

thanks!

After using some f77 code, there appears to be another anomaly.

pgi-f77-osx64: LICENSE MANAGER PROBLEM: Cannot find license file.
The license files (or license server system network addresses) attempted are
listed below. Use LM_LICENSE_FILE to use a different license file,
or contact your software provider for a license file.
Feature: pgi-f77-osx64
Filename: $__TEMP_PGI_PATH/license.dat
License path: $__TEMP_PGI_PATH/license.dat:
FLEXnet Licensing error:-1,359. System Error: 2 “No such file or directory”
For further information, refer to the FLEXnet Licensing documentation,
available at “www.flexerasoftware.com”.

This is “free version”, so maybe your product is proving “you get what you pay for”.

There appear to be so many bugs and inconsistencies in the fortran compilers that I’m going to bail on your product and go back to IBM/Absoft.

Hi OSXCoder,

pgf77 isn’t provided as part of the Free PGI OSX product. Please use pgfortran instead. pgfortran supports F77 syntax.

  • Mat