Access Control

I couldn’t find much in the documentation…

When telling Workstation clients to use the PGI License Server (hosted somewhere else), the FAQ says to simply set LM_LICENSE_FILE=27000@host; which works.

I was wondering though, short of setting up a firewall, how to I control access? With this set up, couldn’t any one with access to that port (but not even an account) use my license?

I mean, I’ll likely close that port to external traffic and have it only accesible via SSH tunnelling, but is there any direct way?

A follow up to this. (Hopefully I can get an answer on that too though.)

I’m having issues setting this up.

On one computer, khea, outside the network, I have PGI workstation installed in /opt/pgi.

Meanwhile, on the server running the license, sahand, inside the network, pgi is installed at /opt/compilers/pgi

I set up a tunnel from khea to sahand to port 27000, and I get this error:

matt@khea:pgi$ pgfortran /tmp/prog.f -o /tmp/a.out
PGF90-S-0021-Label field of continuation line is not blank (/tmp/prog.f: 1)
pgi-f95-lin64: 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:       pgi-f95-lin64
Server name:   sahand
License path:  27000@localhost:/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".

It seems like the main problem is the path it’s searching, since there is nothing at /opt/pgi/license.dat

Help?

I mean, I’ll likely close that port to external traffic and have it only accesible via SSH tunnelling, but is there any direct way?

No, there isn’t a direct way. You need to use a firewall.

I set up a tunnel from khea to sahand to port 27000, and I get this error:

Let me ask Dave to jump in here since he knows much more about licence servers then I do.

Though, can you first double check that the FLEXnet license manager (lmgrd) is running on “sahand”? If it is running and you can run the compilers on “sahand”, then it’s a firewall issue and Dave can walk you through this process.

  • Mat