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 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?
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.