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:
(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.
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:
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.