install FreePGI on Mac 10.10 Yosemite

Simple question about install of FreePGI on Mac: uh, how?

First, this should not require a license file, right? The instructions seem to indicate so, and besides I can’t figure out how to generate a license file anyway. If I try, I get the following error on PG’s website:

PIN 5302xx: no control entry.

Second, instructions say install location is in /Appliations/, but that’s not right. Default install location is /opt/pgi. I assume the documentation is not up-to-date?

Third, if I double-click on PGI in Finder on my Mac in /opt/pgi/, I get an error:

/opt/pgi/PGI ; exit;
telos:~ peter$ /opt/pgi/PGI ; exit;
/opt/pgi/PGI: line 32: $1: unbound variable

[Process completed]

Fourth, if I try to run from the command-line, I get a complaint about a missing license:

telos:junk peter$ 
telos:junk peter$ cat junk.F90
program junk

   print "this is junk."

end program junk
telos:junk peter$ 
telos:junk peter$ 
telos:junk peter$ pgfortran junk.F90
pgi-f95-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-f95-osx64
Filename:      /opt/pgi/license.dat
License path:  /opt/pgi/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 "".
telos:junk peter$ 
telos:junk peter$

It seems it wants a license key, and yet the Portland website refuses to give me one. What am I missing?


I sent mail to address this. I suspect you did not download the
Free PGI OS X from the correct location.


Ahhh, yes (doh!!!), that was it. Thanks!

And pgfortran also kindly pointed out that I forgot a formatting string in my simple little Hello World! program. A bit rusty on the language, I am…

Thanks again,