The following occurs when using PGI 12.8 to compile OpenMPI 1.6 (any sub-version, including 1.6 and a 1.6.2 nightly). The OS is CentOS 5.8. Any ideas?
*** C++ compiler and preprocessor
checking whether we are using the GNU C++ compiler... no
checking whether pgcpp accepts -g... no
checking dependency style of pgcpp... none
checking how to run the C++ preprocessor... /lib/cpp
checking for the C++ compiler vendor... unknown
checking if C and C++ are link compatible... no
**********************************************************************
* It appears that your C++ compiler is unable to link against object
* files created by your C compiler. This generally indicates either
* a conflict between the options specified in CFLAGS and CXXFLAGS
* or a problem with the local compiler installation. More
* information (including exactly what command was given to the
* compilers and what error resulted when the commands were executed) is
* available in the config.log file in this directory.
**********************************************************************
configure: error: C and C++ compilers are not link compatible. Can not continue.
I just downloaded OpenMPI 1.6.3 and didn’t have any issues getting it to configure, build, and install with PGI 12.10. What error are you getting? How are you setting your environment variables? In some shells, the “env” command doesn’t work so you may need to set the environment variables before running configure.