PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

Temporary license problems

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



Joined: 13 Dec 2004
Posts: 7

PostPosted: Tue Dec 14, 2004 10:37 am    Post subject: Temporary license problems Reply with quote

I installed the Linux trial version while logged on as root. (Otherwise I can't write into the /usr/pgi installation directory). When asked for the username to set up a temporary license file, I entered my usual username. I logged back in under my usual username, changed the PATH, and tried to use pgf90. I get an error:
LICENSE MANAGER PROBLEM: Cannot find license file
The license files (or server network addresses) attempted are
listed below. Use LM_LICENSE_FILE to use a different license file,
Feature: pgf90-linux86
Filename ./license.dat
License path ./license.dat
FLEXlm error: -1,359. System Eror: 2 "No such file or directory"

etc.

I am using Fedora Core 2

I don't understand why FLEXlm is referred to, since I thought the trial license didn't require it. All I did was ungzip, untar, and run ./install (as root).
Back to top
View user's profile
itano



Joined: 13 Dec 2004
Posts: 7

PostPosted: Tue Dec 14, 2004 1:36 pm    Post subject: Reply with quote

Getting closer. It seems to work if I copy license.dat and PGinstall to the directory with the source code.
Back to top
View user's profile
mkcolg



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

PostPosted: Tue Dec 14, 2004 2:59 pm    Post subject: Reply with quote

I think all you need to do is set the "PGI" environment varaible to /usr/pgi.

Someting like this depending upon you shell.
Code:
set PGI=/usr/pgi
or
Code:
setenv PGI /usr/pgi


- Mat
Back to top
View user's profile
David Norton



Joined: 18 Aug 2004
Posts: 20

PostPosted: Fri Dec 17, 2004 1:03 pm    Post subject: Reply with quote

My experience has been that you have to set two environment variables:

PGI and LM_LICENSE_FILE

If installed in the default location these would be:

Code:
> setenv PGI /usr/pgi
> setenv LM_LICENSE_FILE $PGI/license.dat


I think this is noted in the INSTALL.txt file that comes with the compiler. It might be nice have these locations set as the defaults without having to set the environment variables.

-dave
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