Whither Free PGI License?

All,

I hope I can get some help with something I’m doing wrong. I’m trying to build Open MPI 2.0.0 with Free PGI 16.4 on my Mac, but when I do:

pgc++: 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:       pgc++
Filename:      $__TEMP_PGI_PATH/license.dat
License path:  $__TEMP_PGI_PATH/license.dat:
FlexNet Licensing error:-1,359.  System Error: 2 "No such file or directory"
For further information, refer to the FlexNet Licensing documentation,
available at "www.flexerasoftware.com".
configure:18390: $? = 2

The thing is, I don’t seem to have a license.dat anywhere in the PGI path:

/A/F/Contents $ find /Applications/Free\ PGI.app -iname '*lice*'
/Applications/Free PGI.app/Contents/Resources/pgi/osx86/16.4/doc/LICENSE_LAPACK.txt
/Applications/Free PGI.app/Contents/Resources/pgi/osx86/16.4/doc/LICENSE_LAPACKE.txt
/Applications/Free PGI.app/Contents/Resources/pgi/osx86/16.4/doc/LICENSE_ScaLAPACK.txt
/Applications/Free PGI.app/Contents/Resources/pgi/osx86-64/16.4/doc/LICENSE_LAPACK.txt
/Applications/Free PGI.app/Contents/Resources/pgi/osx86-64/16.4/doc/LICENSE_LAPACKE.txt
/Applications/Free PGI.app/Contents/Resources/pgi/osx86-64/16.4/doc/LICENSE_ScaLAPACK.txt

Did I download something badly?

Thanks,
Matt

The free PGI OS X product is a special download, and not
PGI-Workstation-167.dmg. If you are downloading that file, you
will need a license.

If you downloaded https://www.pgroup.com…?file=FREE_PGI_OSX

, then you probably got FreePGI-164.dmg. If you did, the file
needs no license.dat to work.

There is no FreePGI-167.dmg - I am not sure when the next update comes.

We currently have a TPR indicating that there are problems with building
OpenMPI 2.0 , and we havenot fixed them yet.

dave

Dave,

That’s indeed what I got, see the path found by find:

/A/F/Contents $ find /Applications/Free\ PGI.app -iname '*lice*' 
/Applications/Free PGI.app/Contents/Resources/pgi/osx86/16.4/doc/LICENSE_LAPACK.txt 
/Applications/Free...

and yet it is saying I need a license. That’s why I’m a bit confused…

We currently have a TPR indicating that there are problems with building
OpenMPI 2.0 , and we have not fixed them yet.

Yeah, I kinda wanted to play around and see if I could find a workaround. Or see if somehow my laptop could do it.

Matt

run

pgfortran -V

if the first line of output does NOT have the word ‘developer’ in it,
it is not Free-PGI.

dave



(1) $ pgfortran -V 
pgfortran 16.4-0 64-bit target on Apple OS/X developer -tp haswell 
The Portland Group - PGI Compilers and Tools
Copyright (c) 2016, NVIDIA CORPORATION.  All rights reserved.

And, in case it helps:

~/Downloads $ shasum FreePGI-164.dmg
36c758cb0e74d2a243acf80f764ed0eedf6e6be7  FreePGI-164.dmg

I get the same error with Open MPI 1.10.2, which I thought to try just in case I was triggering some weird error.

So it is working now? Are you able to compile files?


dave

No. During the configure I still get:

configure:18212: $? = 0
configure:18201: pgc++ -qversion >&5
pgc++-Error-Unknown switch: -qversion
configure:18212: $? = 1
configure:18216: checking whether we are using the GNU C++ compiler
configure:18235: pgc++ -c -DNDEBUG -fpic  conftest.cpp >&5
pgc++: 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:       pgc++
Filename:      $__TEMP_PGI_PATH/license.dat
License path:  $__TEMP_PGI_PATH/license.dat:
FlexNet Licensing error:-1,359.  System Error: 2 "No such file or directory"
For further information, refer to the FlexNet Licensing documentation,
available at "www.flexerasoftware.com".
configure:18235: $? = 2
configure: failed program was:

I’m configuring with:

./configure --disable-wrapper-rpath CC=pgcc CXX=pgc++ FC=pgfortran CXXCPP='pgc++ -E' CFLAGS=-fpic CXXFLAGS=-fpic FCFLAGS=-fpic --without-verbs --prefix=/Users/fortran/MPI/openmpi-1.10.2-pgi-16.4 | & tee configure.pgi16.4.log

Sometimes I just miss the obvious.

FreePGI-OSX is a free product for C99 and Fortran, but not C++.

Sorry about taking this long to realize.

dave

Oh. Okay. Huh. Why is there even a pgc++ around then?

I guess I can try PGI F + GCC C and C++.

It does look strange that FreePGI OSX does not provide C++
support, but includes it in the package.

We found it was very difficult to create a Fortran only, or C only,
etc type products, as there are instances where libs or headers for
one language are needed for another.

So we chose to send everyone the same package, and let the license
determine what compilers will work.

This resulted in far fewer problems with users, and fewer packages that need QA and documentation/storage/management.

dave