license problem

I installed the PGI workdstation following the pgiinstall123.pdf file. And I had a license.dat file in /opt/pgi directory. But whe I compile the code,there was a problem:
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”.
And I reinstalled it several times , it couldn’t solve the problem.
What should I do ??
somebody help me. Thank you .

Hi wcj_uestc,

And I had a license.dat file in /opt/pgi directory.

Do you have read permissions on the file?

  • Mat

mkcolg,Thank you .