PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Access Control

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation
View previous topic :: View next topic  
Author Message
khea_actua1



Joined: 06 Nov 2008
Posts: 42
Location: Carleton University

PostPosted: Mon Mar 12, 2012 2:59 pm    Post subject: Access Control Reply with quote

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?
Back to top
View user's profile
khea_actua1



Joined: 06 Nov 2008
Posts: 42
Location: Carleton University

PostPosted: Wed Mar 14, 2012 9:15 am    Post subject: Reply with quote

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:

Code:

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?
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 5871
Location: The Portland Group Inc.

PostPosted: Wed Mar 14, 2012 10:07 am    Post subject: Reply with quote

Quote:
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.
Quote:
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
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group