License manager problem

Hello,

I have installed OpenACC Toolkit on my Linux (Ubuntu 16) virtual machine (Mac host).

I have a PGI Accelerator Fortran/C/C++ Workstation for Linux - University Developer License and I have copied the licence file to /opt/pgi/license.dat

When I try to compile code I get the following error:

pgcc -fast -o Jacobi Jacobi.cpgcc: LICENSE MANAGER PROBLEM: Failed to checkout license
pgcc: LICENSE MANAGER PROBLEM: Failed to checkout license
pgcc: LICENSE MANAGER PROBLEM: Failed to checkout license
pgcc: LICENSE MANAGER PROBLEM: Failed to checkout license
pgcc: LICENSE MANAGER PROBLEM: Cannot connect to license server system.
The license server manager (lmgrd) has not been started yet,
the wrong port@host or license file is being used, or the
port or hostname in the license file has been changed.
Feature: pgcc
Server name: tomas-VirtualBox
License path: /opt/pgi/license.dat:
FlexNet Licensing error:-15,570. System Error: 115 “Operation now in progress”
For further information, refer to the FlexNet Licensing documentation,
available at “www.flexerasoftware.com”.

In some similar posts it was mentioned to check the flexlm.log. Where could I find this file?

Thank you in advance for your help,

Tomas

Tomas,

Send the following outputs from your virtual machine to license@pgroup.com .

Assuming you installed in /opt/pgi, and added the bin
directory to your $PATH

export PATH=$PGI/linux86-64/16.4/bin:$PATH

send the following outputs.
lmutil lmhostid
lmutil lmhostid -hostname
lmutil lmhostid -internet

/sbin/ifconfig

ps ax |grep lmgrd

also send the license.dat file and $PGI/flexlm.log file.

dave

Hi Dave,

Thanks for the reply. Apparently lmutil is not supported on current Ubuntu 16 version and I had to install 14. Could you regenerate my licence file?

Thank you,

Tomas

We can regenerate the license if necessary.

But if hostid and hostname did not change, just display the license.

dave

Hi Dave,

Thank you for your reply. My hostid (MAC address) has changed, so if I understand correctly I cannot use the same licence key. Could you please generate a new and disable the current one?

Thank you,

Tomas

In previous mail, I indicated what you should run

lmutil lmhostid

and

lmutil lmhostid -hostname

and send the results to license@pgroup.com

If lmutil does not run (“no such file or directory”, for example)
because, for example, you do not have LSB installed, then there
is no way a permanent license will work.

As a helpful future hint, don’t install the latest versions of Linux
or gcc, if you want the PGI compilers to install and run without problem.
We need some time to counter the many things that have changed
in these releases.

dave