license problem

Hi,

Here comes another problem after I installed the PGI workstation. I used the workstation to pgfortran a file while an error ouccured.

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: 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: IPIU2
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”.


What should I do? Thanks.

Jing

I assume this is a Linux machine, as the Unidev license you are using
is only for Linux. You have $PGI defined and the PGI bin directory
in your $PATH.

The only machine that can run the compilers is the machine running the
license service (IPIU2).

lmutil lmhostid -hostname
on IPIU2 should return “HOSTNAME=IPIU2”

lmutil lmhostid
should return 24be05e20592

lmutil lmhostid -internet
should return (most of the time) the same IPaddress as
ping IPIU2

Make sure the license service is running.

ps ax |grep lmgrd
should return something like

21155 ? S 0:21 /opt/pgi/linux86-64/16.5/bin/lmgrd -c /opt/pgi/license.dat
32543 pts/18 S+ 0:00 grep lmgrd

If not, store the license as $PGI/license.dat, and then run
export PGROUPD_LICENSE_FILE=$PGI/license.dat
rm -rf $PGI/flexlm.log ! to get rid of old license info.
lmgrd.rc start

If running, $PGI/flexlm.log should have information in it
about what compile requests made. If not, it will have info
as to what is wrong (can’t find license, etc).

Thanks for your reply.

The problem still exist.

dlg@IPIU2:~$ lmutil lmhostid -hostname
lmutil - Copyright (c) 1989-2015 Flexera Software LLC. All Rights Reserved.
The FlexNet host ID of this machine is “HOSTNAME=IPIU2”

and $PGI/flexlm.log have info as to what is wrong
Failed to open the TCP port number in the license.
What should I do? Thanks.

Jing

The problem is handled depending on why it occurs.

If it occurs simply because the port 27000 in the SERVER line
of the license is already in use or not allowed, simply edit the license
file and change 27000 to another value, like 7496.

We don’t know how to tell you which ports are available, so it may
not work the first time.

The other reason why it fails is due to a firewall preventing the compilers
from talking to pgroupd, and pgroupd from talking to lmgrd .

In this case you need to have the firewall allow one two ports through
so that pgroupd and lmgrd can communicate. For example, the lmgrd
port provided by IT or the firewall app could be 7496, and the pgroupd
port could be 6789. You would edit the license then to be


SERVER IPIU2 24be05e20592 7496
DAEMON pgroupd PORT=6789


and run the license service.

dave