cannot find license.dat file on compile

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:

[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 "".
[James@localhost Desktop]$ cd /opt/pgi/
[James@localhost pgi]$ ls
INSTALL.txt  license.dat  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
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

Do you have read permissions on the file?

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