PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

check to see if flexlm works correctly?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation
View previous topic :: View next topic  
Author Message
willsd



Joined: 03 Jan 2006
Posts: 5

PostPosted: Wed Jan 11, 2006 9:02 am    Post subject: check to see if flexlm works correctly? Reply with quote

I have just installed pgi workstation for the first time, and am somewhat of a newbie. Will untimately use pgi to build GAMESS, PSI3.2, and other computational quantum chemistry codes.

My machine is a single processor sun ultra 20 (opteron 152) running SuSE 10.

I installed pgi as root and may want to use it as root as well as when logged in as a user so generated flexlm licenses. I think (but am far from sure) that I put things in the correct places to start the flexlm manager at boot time. Lack of confidence is related to redhat directions being mapped onto SuSE.

After this setup I re-booted machine for test, logged in as a user and ran the suggested version test. I got the following:
willsd@ip-152010150166:~> pgf77 -V x.f

pgf77 6.1-1 64-bit target on x86-64 Linux
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2005, STMicroelectronics, Inc. All Rights Reserved.
NOTE: your evaluation license will expire in 14 days, 20.9 hours.
For a permanent license, please read the order acknowledgement
that you received. Connect to https://www.pgroup.com/License with
the username and password in the order acknowledgement.

Name: "steve williams"
User: root
Email: willsd@appstate.edu
Hostid: PGI=00E081E05542757C10B9EE
PGFTN/x86-64 Linux/x86-64 6.1-1
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2005, STMicroelectronics, Inc. All Rights Reserved.
PGFTN-F-0002-Unable to open source input file: x.f


I think that this means that my flexlm licenses are being ignored and that the default 15 day temporary license is being used instead. Is this the case? How can I check to be sure that the license manager has been started properly and is running?
Or maybe it is the case that the 15 day temporary license is always used untill the 15 day period has expired, then the system looks for (and hopefully finds) the permanent license....

Thanks,
Steve Williams
Back to top
View user's profile
mkcolg



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

PostPosted: Wed Jan 11, 2006 6:33 pm    Post subject: Reply with quote

Hi Steve,


The abbreviated steps to setting-up a license are:

1) Go to https://www.pgroup.com/support/keylogin.htm and generate a license.

2) Put the resulting keys in a "license.dat" file. This file typically is put in the base PGI directory ($PGI) but can be put anywhere. Be sure to set $PGI to the correct directory and LM_LICENSE_FILE to the actual path to this file.

3) Set up your configuration.
Code:

   setenv PGI /usr/pgi
   set path=($PGI/linux86/6.1/bin $path)      ! for 32-bit by default
   set path=($PGI/linux86-64/6.1/bin $path)   ! for 64-bit by default
   setenv LM_LICENSE_FILE $PGI/license.dat


or in bash

Code:
  export PGI=/usr/pgi
   export PATH=$PGI/linux86/6.1/bin:$PATH     ! for 32-bit
   export PATH=$PGI/linux86-64/6.1/bin:$PATH  ! for 64-bit
   export LM_LICENSE_FILE=$PGI/license.dat


4) If you need to run lmgrd, make sure it is not running already
Code:

   ps ax | grep lmgrd

Let it run if it is already running, or kill it and start our
version, which may be different (could be better)

Use the following to command to start the licence manager:
Code:
$PGI/linux86/6.1/bin/lmgrd.rc start



Some ideas for you is to make sure lmgrd is running, you have LM_LICENSE_FILE set to the correct license.dat file, and that you remove the eval license.

- Mat
Back to top
View user's profile
willsd



Joined: 03 Jan 2006
Posts: 5

PostPosted: Thu Jan 12, 2006 11:25 am    Post subject: Reply with quote

One of my problems is that I can't tell if lmgrd is running... I can check with ps -e or (as you suggested) ps -ax but do not see anything that looks like lmgrd in the lists provided. This is same if I run the lmgrd.rc start or not.

BUT I do see something interesting if I run the lmgrd.tc start and then try the corresponding stop:

ip-152010150166:/usr/pgi # lmgrd.rc start
ip-152010150166:/usr/pgi # lmgrd.rc stop
lmutil - Copyright (c) 1989-2004 by Macrovision Corporation. All rights reserved.
Shutdown failed: Cannot connect to license server system. (-15,570:115 "Operation now in progress")

No error message from the start, but the stop can't find the license server, which is the same machine...


Also, per your suggestion, I commented out the lines related to the default license (generated with the install), then tried the version test again.

This is what I got:
ip-152010150166:/usr/pgi # pgf77 -V x.f

pgf77 6.1-1 64-bit target on x86-64 Linux
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2005, STMicroelectronics, Inc. All Rights Reserved.
pgf77-linux86-64: LICENSE MANAGER PROBLEM: Failed to checkout license
pgf77-linux86-64: 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: pgf77-linux86-64
Server name: freesun
License path: /usr/pgi/license.dat
FLEXnet Licensing error:-15,570. System Error: 115 "Operation now in progress"
For further information, refer to the FLEXnet Licensing End User Guide,
available at "www.macrovision.com".


This was after running the lmgrd start command.

So, I clearly have a flexlm license problem...

Do you know if there is a "backdoor" way to speak to an engineer at PGI? I think a short phone conversation with an expert would likely solve my problem with flexlm. I have tried the trs email, but have not gotten a reply in 2 days.

TIA for any additional help you may have for me.
Steve
Back to top
View user's profile
mkcolg



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

PostPosted: Thu Jan 12, 2006 12:20 pm    Post subject: Reply with quote

Hi Steve,

I just talked with Dave who answers TRS and unfortunately did not get your first mail. However, he did get the one your sent to sales@pgroup.com forwarded to him and should be responding shortly. If needed, Dave may give you call or ask if he can access your system, but he'll try to resolve the issue via email first.

While Dave is the expert when it comes to licensing issues, I'm do know that lmgrd needs to establish a TCP/IP connection. Could something be preventing this, such as a firewall? Are you able to telnet to yourself?


-Mat
Back to top
View user's profile
willsd



Joined: 03 Jan 2006
Posts: 5

PostPosted: Mon Jan 16, 2006 6:29 am    Post subject: Reply with quote

mkcolg wrote:
Hi Steve,

I just talked with Dave who answers TRS and unfortunately did not get your first mail. However, he did get the one your sent to sales@pgroup.com forwarded to him and should be responding shortly. If needed, Dave may give you call or ask if he can access your system, but he'll try to resolve the issue via email first.

While Dave is the expert when it comes to licensing issues, I'm do know that lmgrd needs to establish a TCP/IP connection. Could something be preventing this, such as a firewall? Are you able to telnet to yourself?


-Mat

Mat:
I have the suse firewall set so that telnet is not accepted but ssh is.
I cannot telnet to 152.10.150.166 (my suse box's ip) since I get a
connection refused error message, but I can ssh to the same ip with
no trouble. So I do have TCP/IP but not telnet. Is there some other
service I should allow through the firewall to get flexlm to work? Right
now only ssh is permitted through.

Steve

BTW: I did get a couple of emails from Dave but the problem is not resolved and I have not heard from him since the 12th. (It is now the 16th).
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
Goto page 1, 2  Next
Page 1 of 2

 
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