pgi-cc-lin64: LICENSE MANAGER PROBLEM: Fail to checkout lice

After installing the 9.0-3 trial version of the PGI workstation 64-bit linux on my 64-bit Centos system, I can execute successfully pgCC, pgf95, pghpf but cannot execute successfully pgcc and pgf77 because of the license manager problem. The error messages are as follows:

pgcc:
pgi-cc-lin64: LICENSE MAMAGE PROBLEM: Failed to checkout license.

pgf77:
pgi-f77-lin64: LICENSE MAMAGE PROBLEM: Failed to checkout license.


I would like to use the pgicc and pgifortran to compile example programs of PGI Accelerator Programming Model as showed in the following page:

http://www.pgroup.com/lit/articles/insider/v1n1a1.htm

Is there any way to get out of this problem?

Thanks in advance,

Hi Viet,

Odd. If one fails, they should all fail.

Can you post the full error message? This may help in determining the issue.

Thanks,
Mat

Dear Mat,

The error messages are as follows:

[viet@localhost ~]$ pgf77 -V x.f

pgf77 9.0-3 64-bit target on x86-64 Linux -tp penryn-64
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2009, STMicroelectronics, Inc. All Rights Reserved.
pgi-f77-lin64: LICENSE MANAGER PROBLEM: Failed to checkout license
[viet@localhost ~]$ pgf95 -V x.f

pgf95 9.0-3 64-bit target on x86-64 Linux -tp penryn-64
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2009, STMicroelectronics, Inc. All Rights Reserved.
PGF90/x86-64 Linux 9.0-3
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2009, STMicroelectronics, Inc. All Rights Reserved.
PGF90-F-0002-Unable to open source input file: x.f
PGF90/x86-64 Linux 9.0-3: compilation aborted
[viet@localhost ~]$ pghpf -V x.f

pghpf 9.0-3 64-bit target on x86-64 Linux -tp penryn-64
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2009, STMicroelectronics, Inc. All Rights Reserved.
PGHPF/x86-64 Linux 9.0-3
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2009, STMicroelectronics, Inc. All Rights Reserved.
PGHPF-F-0002-Unable to open source input file: x.f
PGHPF/x86-64 Linux 9.0-3: compilation aborted
[viet@localhost ~]$ pgCC -V x.c

pgCC 9.0-3 64-bit target on x86-64 Linux -tp penryn-64
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2009, STMicroelectronics, Inc. All Rights Reserved.
Edison Design Group C/C++ Front End, version 3.6 (Aug 6 2009 16:54:27)
Copyright 1988-2006 Edison Design Group, Inc.

Catastrophic error: could not open source file “x.c”

1 catastrophic error detected in the compilation of “x.c”.
Compilation terminated.
[viet@localhost ~]$ pgcc -V x.c

pgcc 9.0-3 64-bit target on x86-64 Linux -tp penryn-64
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2009, STMicroelectronics, Inc. All Rights Reserved.
pgi-cc-lin64: LICENSE MANAGER PROBLEM: Failed to checkout license
[viet@localhost ~]$

As showed in the above masseges, the pgcc and pgf77 is not executed successfully due to the license manager problem.

When using pgcc and pgfortran to build the pgi_accelerator_examples, the error messages are as below:

[viet@localhost pgi_accelerator_examples]$ ls
c1.c c2.c c3.c f1.f90 f2.f90 f3.f90 makefile
[viet@localhost pgi_accelerator_examples]$ pgcc -o c1.exe c1.c -ta=nvidia -Minfo
pgi-cc-lin64: LICENSE MANAGER PROBLEM: Failed to checkout license
[viet@localhost pgi_accelerator_examples]$ pgfortran -o f1.exe f1.f90 -ta=nvidia -Minfo
pgi-f95-lin64: LICENSE MANAGER PROBLEM: Failed to checkout license
[viet@localhost pgi_accelerator_examples]$

Is It possible to use the 9.0-3 trial version of the 64-bit linux PGI workstation to run example programs of PGI Accelerator?
Thanks in advance,
Viet

Hi Viet,

If you try compiling with existing files, my guess is that all the drivers will fail due the license manager issue. It just happens that some are checking if the file exists before checking the license.

I think you’re on step 4 in Chapter 4 of the PGI Linux Installation Guide (http://www.pgroup.com/doc/pgiwsinstall.pdf), in which case, this error is expected since you haven’t started the license manager yet. Details on starting the license manager are in step 6.

Is It possible to use the 9.0-3 trial version of the 64-bit linux PGI workstation to run example programs of PGI Accelerator?

Yes. The trial license is valid for the Accelerator compiler and, in 9.0-4, the CUDA Fortran Beta. However, your binaries will time out at the end of the trial period.

Thanks,
Mat

Dear Mat,

As shown in the previous message, I compiled with nonexisting files x.f, x.c, and passed the license manager with pgCC, pgf95, pghpf and was not able to pass the license manager with pgcc and pgf77.
The guideline on step 6 is as follows:

  1. Start the License Manager daemon.
    Important
    If you are evaluating PGI software with trial keys, you do not need to perform this step and can proceed to Step 7.

I am using a trial license. Do I have to start the license manager?
Thanks,
Viet

Dear Mat,

Although I am evaluating PGI software with a trial key, I try starting the license manager as guided in the step 6 in Chapter 4 of the PGI Linux Installation Guide by the command: lmgrd start

[viet@localhost ~]$ /opt/pgi/linux86-64/9.0-3/bin/lmgrd start
[viet@localhost ~]$ 12:05:17 (lmgrd) -----------------------------------------------
12:05:17 (lmgrd) Please Note:
12:05:17 (lmgrd)
12:05:17 (lmgrd) This log is intended for debug purposes only.
12:05:17 (lmgrd) In order to capture accurate license
12:05:17 (lmgrd) usage data into an organized repository,
12:05:17 (lmgrd) please enable report logging. Use Acresso Software Inc.'s
12:05:17 (lmgrd) software license administration solution,
12:05:17 (lmgrd) FLEXnet Manager, to readily gain visibility
12:05:17 (lmgrd) into license usage data and to create
12:05:17 (lmgrd) insightful reports on critical information like
12:05:17 (lmgrd) license availability and usage. FLEXnet Manager
12:05:17 (lmgrd) can be fully automated to run these reports on
12:05:17 (lmgrd) schedule and can be used to track license
12:05:17 (lmgrd) servers and usage across a heterogeneous
12:05:17 (lmgrd) network of servers including Windows NT, Linux
12:05:17 (lmgrd) and UNIX. Contact Acresso Software Inc. at
12:05:17 (lmgrd) www.acresso.com for more details on how to
12:05:17 (lmgrd) obtain an evaluation copy of FLEXnet Manager
12:05:17 (lmgrd) for your enterprise.
12:05:17 (lmgrd)
12:05:17 (lmgrd) -----------------------------------------------
12:05:17 (lmgrd)
12:05:17 (lmgrd)
12:05:17 (lmgrd) “localhost.localdomain”: Not a valid server hostname, exiting.
12:05:17 (lmgrd) Valid license server system hosts are: “ANY”
12:05:17 (lmgrd) Using license file “/opt/pgi/license.dat”

It is also the same error message for a real localdomain.
Is there any way to get out of this problem?
Thanks,
Viet

Dear Mat,

I tried with a new trial key, and the problem was solved.

Thanks,

Viet.