Temporary license problems

I installed the Linux trial version while logged on as root. (Otherwise I can’t write into the /usr/pgi installation directory). When asked for the username to set up a temporary license file, I entered my usual username. I logged back in under my usual username, changed the PATH, and tried to use pgf90. I get an error:
LICENSE MANAGER PROBLEM: Cannot find license file
The license files (or server network addresses) attempted are
listed below. Use LM_LICENSE_FILE to use a different license file,
Feature: pgf90-linux86
Filename ./license.dat
License path ./license.dat
FLEXlm error: -1,359. System Eror: 2 “No such file or directory”


I am using Fedora Core 2

I don’t understand why FLEXlm is referred to, since I thought the trial license didn’t require it. All I did was ungzip, untar, and run ./install (as root).

Getting closer. It seems to work if I copy license.dat and PGinstall to the directory with the source code.

I think all you need to do is set the “PGI” environment varaible to /usr/pgi.

Someting like this depending upon you shell.

set PGI=/usr/pgi


setenv PGI /usr/pgi
  • Mat

My experience has been that you have to set two environment variables:


If installed in the default location these would be:

> setenv PGI /usr/pgi
> setenv LM_LICENSE_FILE $PGI/license.dat

I think this is noted in the INSTALL.txt file that comes with the compiler. It might be nice have these locations set as the defaults without having to set the environment variables.