PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

cannot find license.dat file on compile

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



Joined: 30 Jun 2011
Posts: 102

PostPosted: Fri Sep 13, 2013 1:10 pm    Post subject: cannot find license.dat file on compile Reply with quote

I created a virtual machine on my system and I ported PGI 13.6 workstation to it. I then
ported the license.dat file to the same virtual box from the host machine.

I then tried to compile c1.c which is very basic, the output is:


Code:

[James@localhost Desktop]$ ls -al c1.c
-r--r--r--. 1 James James 1401 Sep 13 13:47 c1.c
[James@localhost Desktop]$ gedit c1.c
[James@localhost Desktop]$ pgcc -ta=nvidia -Minfo=accel -fast c1.c
pgi-cc-lin64: 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-lin64
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".
[James@localhost Desktop]$ cd /opt/pgi/
[James@localhost pgi]$ ls
INSTALL.txt  license.dat  license.info  linux86  linux86-64  SUBSCRIPTION_SERVICE
[James@localhost pgi]$ ls -al
total 68
drwxr-xr-x. 4 root root    4096 Sep 13 13:13 .
drwxr-xr-x. 4 root root    4096 Sep 13 12:14 ..
-rw-r--r--. 1 root root   36892 Sep 13 12:16 INSTALL.txt
-rw-rw----. 1 root vboxsf  1664 Sep 13 12:29 license.dat
-rw-r--r--. 1 root root     627 Sep 13 12:24 license.info
dr-xr-xr-x. 3 root root    4096 Sep 13 12:16 linux86
dr-xr-xr-x. 4 root root    4096 Sep 13 12:16 linux86-64
-rw-r--r--. 1 root root    2608 Sep 13 12:16 SUBSCRIPTION_SERVICE


It is not finding the license.dat file.


The license file is there so what is going on? It should compile quite easily. It should not have any trouble finding the license.dat (which is the file that you sent to me).

I put the license.dat file in opt/pgi/ directory which is where I always put it, it is just now on the virtaulbox.

How can I make sure it is finding the license.dat file?

Any help appreciated. Thanks in advance.

THX 1138
Back to top
View user's profile
mkcolg



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

PostPosted: Fri Sep 13, 2013 1:41 pm    Post subject: Reply with quote

Do you have read permissions on the file?

Quote:
-rw-rw----. 1 root vboxsf 1664 Sep 13 12:29 license.dat


-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