Hi,Mat, It’s me again,
One of my customer said he install PGI successfully but when he begin to compile the code, there is somthing wrong as below:
pgi-cc-lin32: 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-cc-lin32
Filename: /opt/pgi/license.dat
License path: /opt/pgi/license.dat:
FLEXnet Licensing error:-1,73. System Error: 2 “No such file or directory”
For further information, refer to the FLEXnet Licensing documentation,
available at “www.flexerasoftware.com”.
Do you know how to fix it ? Please kindly advise me
Hi Teslalady,
pgi-cc-lin32: LICENSE MANAGER PROBLEM: Cannot find license file.
By default, the compiler will look in the “$PGI” directory (in this case /opt/pgi) for the license.dat file. This error indicates that the license file does not exist at this location.
To resolve this, the user needs to set the environment variable “LM_LICENSE_FILE” to the fully qualified path of the license file, or copy the license file to the default directory.
If the user is on a network with a license server, they either need to copy the license.dat file to the local system, or set “LM_LICENSE_FILE” to “port@host” of the license server. For example “export LM_LICENSE_FILE=27000@server.network.com”.
Hope this helps,
Mat
He said he tried but failed.
His Environment variables are as below:
export MANPATH=/opt/pgi/linux86/12.3/man:$MANPATH;
export LM_LICENSE_FILE=/opt/pgi/license.dat:$LM_LICENSE_FILE;
export PATH=/opt/pgi/linux86/12.3/bin:$PATH
Is there somthing wrong?
Best Regards
I’m wondering if this post is by your customer? license problem If not, then he may be encountering the same problem where he doesn’t have read permission on the license file.
yes, he fixed the problem. Thanks a lot