license.dat and Free PGI


This is probably a dumb question, but maybe you can help. I downloaded and installed Free PGI for my Macbook Air to try it out, and I’m able to compile, say, helloWorld.F90 just fine and run it.

However, now I’m trying to compile Open MPI 1.6.5 and it’s bombing out because it can’t find license.dat:

configure:28712: checking if Fortran 77 compiler works
configure:28741: pgf77 -o conftest -fpic -m64  conftest.f  >&5
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 "".
configure:28741: $? = 2
configure: program exited with status 2
configure: failed program was:
|       program main
|       end
configure:28757: result: no
configure:28771: error: Could not run a simple Fortran 77 program.  Aborting.

A quick ‘find’ in the PGI directory shows that, indeed, there is no license.dat, and the AppleScript doesn’t seem to set one either (in an LM_LICENSE_FILE or other). And yet I was able to compile helloWorld.F90 without one being there.

I even tried so far as to “duplicate” the environment the AppleScript launches in a .tcshrc (fragile, yes, but I’m trying it out), and then passing in every PGI_ environment variable I could to the configure step of Open MPI, but no go.

What simple, dumb thing am I missing here?



We unintentionally packaged pgf77 driver in Free PGI. Please use pgfortran for your compilation. We will fix this in the next release.

Thank you,


Ahh, okay. That helped. I was able to configure. Now I’m having issues with the build, but I’ll move that to a new topic.