PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

an errer

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
Teslalady



Joined: 16 Mar 2012
Posts: 75

PostPosted: Fri Mar 30, 2012 3:25 am    Post subject: an errer Reply with quote

Hi,Mat, It's me again,

One of my customer said he install PGI successfully but when he begin to compile the code, there is somthing wrong as below:
pgi-cc-lin32: LICENSE MANAGER PROBLEM: Cannot find license file.
The license files (or license server system network addresses) attempted are
listed below. Use LM_LICENSE_FILE to use a different license file,
or contact your software provider for a license file.
Feature: pgi-cc-lin32
Filename: /opt/pgi/license.dat
License path: /opt/pgi/license.dat:
FLEXnet Licensing error:-1,73. System Error: 2 "No such file or directory"
For further information, refer to the FLEXnet Licensing documentation,
available at "www.flexerasoftware.com".


Do you know how to fix it ? Please kindly advise me
Back to top
View user's profile
mkcolg



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

PostPosted: Fri Mar 30, 2012 9:55 am    Post subject: Reply with quote

Hi Teslalady,

Quote:
pgi-cc-lin32: LICENSE MANAGER PROBLEM: Cannot find license file.
By default, the compiler will look in the "$PGI" directory (in this case /opt/pgi) for the license.dat file. This error indicates that the license file does not exist at this location.

To resolve this, the user needs to set the environment variable "LM_LICENSE_FILE" to the fully qualified path of the license file, or copy the license file to the default directory.

If the user is on a network with a license server, they either need to copy the license.dat file to the local system, or set "LM_LICENSE_FILE" to "port@host" of the license server. For example "export LM_LICENSE_FILE=27000@server.network.com".

Hope this helps,
Mat
Back to top
View user's profile
Teslalady



Joined: 16 Mar 2012
Posts: 75

PostPosted: Sat Mar 31, 2012 5:44 am    Post subject: Reply with quote

He said he tried but failed.

His Environment variables are as below:

export MANPATH=/opt/pgi/linux86/12.3/man:$MANPATH;
export LM_LICENSE_FILE=/opt/pgi/license.dat:$LM_LICENSE_FILE;
export PATH=/opt/pgi/linux86/12.3/bin:$PATH

Is there somthing wrong?

Best Regards
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Apr 02, 2012 8:25 am    Post subject: Reply with quote

I'm wondering if this post is by your customer? http://www.pgroup.com/userforum/viewtopic.php?t=3099 If not, then he may be encountering the same problem where he doesn't have read permission on the license file.

- Mat
Back to top
View user's profile
Teslalady



Joined: 16 Mar 2012
Posts: 75

PostPosted: Tue Apr 03, 2012 5:17 am    Post subject: Reply with quote

yes, he fixed the problem. Thanks a lot
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling 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