Errors during the PGI Accelerator C/C++ W.St. installation

Hello everyone!

When I extract the PGI from the archive and run ./install in it, I got an error. Here’s how the installation procedure was happening:

Welcome to the PGI Workstation Linux installer

You are installing PGI 2015 version 15.5 for x86_64.
Please note that all Trademarks and Marks are the properties
of their respective owners.

Press enter to continue...

NVIDIA End-User License Agreement for PGI Software

NOTICE: PLEASE READ THIS DOCUMENT CAREFULLY BEFORE DOWNLOADING, COPYING OR
USING THE LICENSED SOFTWARE. THIS END-USER LICENSE AGREEMENT ("ELA") IS A
LEGAL AGREEMENT BETWEEN YOU, THE LICENSEE (A SINGLE PERSON, INSTITUTION, OR
LEGAL ENTITY) ("YOU"), AND NVIDIA CORPORATION, A DELAWARE CORPORATION HAVING
ITS PRINCIPAL PLACE OF BUSINESS AT 2701 SAN TOMAS EXPRESSWAY, SANTA CLARA CA
AND ITS SUBSIDIARIES ("NVIDIA") FOR THE LICENSED SOFTWARE, ASSOCIATED MEDIA,
PRINTED MATERIAL, ELECTRONIC DOCUMENTATION OR ANY PORTION THEREOF ("SOFTWARE").
NVIDIA IS WILLING TO LICENSE THE SOFTWARE TO YOU ONLY UPON THE CONDITION THAT
YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS ELA. PLEASE READ THE ELA
CAREFULLY. BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING THIS
SOFTWARE, YOU ACCEPT ALL OF THE TERMS OF THE ELA. IF YOU DO NOT AGREE TO THE
TERMS OF THIS ELA, DO NOT DOWNLOAD, INSTALL, COPY OR OTHERWISE USE THIS
SOFTWARE.

1)  Ownership

    The Software distributed and licensed to You hereunder, including, if
    and when provided, any updates furnished to You for free or for
    additional fees, is proprietary to NVIDIA or its licensors (NVIDIA and
    licensors hereafter referred to as "Licensor"). The Software is not sold,
    and instead is only licensed for Your use, strictly in accordance with

Do you accept these terms? (accept,decline) accept

A network installation will save disk space by having only one copy of the
compilers and most of the libraries for all compilers on the network, and
the main installation needs to be done once for all systems on the network.

1  Single system install
2  Network install

Please choose install option: 1

Please specify the directory path under which the software will be installed.
The default directory is /opt/pgi, but you may install anywhere you wish,
assuming you have permission to do so.

Installation directory? [/opt/pgi] /export/users/mblument/pgi_install


This release of PGI software includes the NVIDIA CUDA Toolkit.  PGI's
accelerator compilers and CUDA Fortran use components from this Toolkit.

This release contains CUDA 5.5, CUDA 6.5, and CUDA 7.0.  If you have not
installed these versions from PGI previously, you should install these now.

More information about CUDA technology can be found at the NVIDIA web site,
http://www.nvidia.com/object/cuda_home.html

Install CUDA Toolkit Components? (y/n) y

In order to install the CUDA software, please read and accept the
following license.
End User License Agreement
--------------------------

NVIDIA CUDA Toolkit

Description

The NVIDIA CUDA Toolkit provides command-line and graphical
tools for building, debugging and optimizing the performance
of applications accelerated by NVIDIA GPUs, runtime and math
libraries, and documentation including programming guides,
user manuals, and API references. The NVIDIA CUDA Toolkit
License Agreement is available in Chapter 1.


1. NVIDIA CUDA Toolkit License Agreement
----------------------------------------


Important Notice
----------------

READ CAREFULLY: This Software License Agreement ("Agreement")

Do you accept these terms? (accept,decline) accept

The NVIDIA CUDA Toolkit EULA in its entirety is located
under the $REL_VERSION/cuda directory

This release of PGI software includes software from AMD:

The ACML is a tuned math library designed for high performance
on AMD64 machines, including Opteron(TM) and Athlon(TM) 64,
and includes both 32-bit and 64-bit library versions.

PGI OpenACC compilers that support AMD GPUs.

More information about the ACML can be found at the AMD Developer web site,
http://www.developwithamd.com/acml

Install AMD software components? (y/n) n
This release of PGI software includes the JAVA JRE.  PGI's graphical
debugger and profiler use components from this package.  If you choose not to
install JAVA, you will be limited to running command line versions of pgdbg
and pgprof, using the -text option.

The JAVA JRE will be installed into
  /export/users/mblument/pgi_install/linux86-64/2015/java

and will not affect applications other than PGI's pgdbg and pgprof.

Install JAVA JRE [yes]

In order to install the JAVA software, please read and accept the
following license.
Oracle Binary Code License Agreement for the Java SE Platform Products
and JavaFX

ORACLE AMERICA, INC. ("ORACLE"), FOR AND ON BEHALF OF ITSELF AND ITS
SUBSIDIARIES AND AFFILIATES UNDER COMMON CONTROL, IS WILLING TO
LICENSE THE SOFTWARE TO YOU ONLY UPON THE CONDITION THAT YOU ACCEPT
ALL OF THE TERMS CONTAINED IN THIS BINARY CODE LICENSE AGREEMENT AND
SUPPLEMENTAL LICENSE TERMS (COLLECTIVELY "AGREEMENT"). PLEASE READ THE
AGREEMENT CAREFULLY. BY SELECTING THE "ACCEPT LICENSE AGREEMENT" (OR
THE EQUIVALENT) BUTTON AND/OR BY USING THE SOFTWARE YOU ACKNOWLEDGE
THAT YOU HAVE READ THE TERMS AND AGREE TO THEM. IF YOU ARE AGREEING TO
THESE TERMS ON BEHALF OF A COMPANY OR OTHER LEGAL ENTITY, YOU
REPRESENT THAT YOU HAVE THE LEGAL AUTHORITY TO BIND THE LEGAL ENTITY
TO THESE TERMS. IF YOU DO NOT HAVE SUCH AUTHORITY, OR IF YOU DO NOT
WISH TO BE BOUND BY THE TERMS, THEN SELECT THE "DECLINE LICENSE
AGREEMENT" (OR THE EQUIVALENT) BUTTON AND YOU MUST NOT USE THE
SOFTWARE ON THIS SITE OR ANY OTHER MEDIA ON WHICH THE SOFTWARE IS
CONTAINED.

1. DEFINITIONS. "Software" means the software identified above in
binary form that you selected for download, install or use (in the
version You selected for download, install or use) from Oracle or its
authorized licensees, any other machine readable materials (including,

Do you accept these terms? (accept,decline) accept

Would you like to install the PGI OpenACC Unified Memory Evaluation package?
Before using this package, please see the included README file located in
doc/README_UM_EVAL.txt.

Install OpenACC Unified Memory Evaluation package? (y/n) n
Installing PGI Compilers and Tools version 15.5 into /export/users/mblument/pgi_                                                                                        install


If you use the 2015 directory in your path, you may choose to
update the links in that directory to point to the 15.5 directory

Do you wish to update/create links in the 2015 directory? (y/n) n

Installing PGI JAVA components into /export/users/mblument/pgi_install
Installing PGI CUDA components into /export/users/mblument/pgi_install
Do you wish to install MPICH? (y/n) n
The specified pgi install directory is invalid
/export/users/mblument/pgi_install/linux86 and /export/users/mblument/pgi_instal                                                                                        l/linux86-64 have no installed PGI versions
Usage: pgi.module.install
  [-all | version version...]
  [-pgi /opt/pgi/linux86/7.0/module]
  [-install /usr/local/Modules/modulefiles]
Done
ERROR: /export/users/mblument/pgi_install/linux86-64/15.5/bin/pgi_license_tool:                                                                                         file not found.

Do you want the files in the install directory to be read-only? (y/n)

Summary:

  • Please choose install option: 1
  • Installation directory? [/opt/pgi] /export/users/mblument/pgi_install
  • Install CUDA Toolkit Components? (y/n) y
  • Install AMD software components? (y/n) n
  • Install JAVA JRE [yes] yes
  • Install OpenACC Unified Memory Evaluation package? (y/n) n
  • Do you wish to update/create links in the 2015 directory? (y/n) n
  • Do you wish to install MPICH? (y/n) n

And then the error follows: pgi_license_tool: file not found.

Here’s the content of the installation directory:

 linux86-64  modulefiles

What might be the reason of the error? If the information provided is incomplete/irrelevant tell me: I’ll add what you need.

I recommend you start over.

  1. download and install the 64-bit Linux 15.5 PGI download.
    Filename: pgilinux-2015-155-x86-64.tar.gz at about 836 Mb,
    and having a checksum of
    01a693b09382ea99dfc7de5c77183d56
    % md5sum pgilinux-2015-155-x86-64.tar.gz
    should return 01a693b09382ea99dfc7de5c77183d56

  2. untar the download into some scratch area, like /tmp/pgi
    % cd /tmp; mkdir pgi; cd pgi ; tar xvf …/pgilinux-2015-155-x86-64.tar.gz
    (assumes pgilinux-2015-155-x86-64.tar.gz is in /tmp.

  3. After untarring, never copy the directory untarred. Install from
    /tmp/pgi
    % ./install
    and target the final directory
    /export/users/mblument/pgi_install
    which needs to be different from the untar directory.

The program will not install if gcc is not in your $PATH

% gcc -v hello.c -m64 -o hello_64
should create a 64-bit executable, or the PGI install will fail.

After installing the 64-bit compilers, install the 32-bit compilers,
in the same $PGI directory.

Generate the license manually with
% lmutil lmhostid
% lmutil lmhostid -hostname

or send the outputs to trs@pgroup.com and we will generate.

dave