Hi Mat,
I’m trying to install mpich with PGI v14.1. The PGI was installed successfully (I think), but when I try to compile the mpich, it appears several errors.
I’m not using mpich included in PGI.
I exported the following environment variables:
export CC=pgcc
export FC=pgf90
export F77=pgf77
export CXX=pgcpp
export CFLAGS=-fast
export FCFLAGS=-fast
export FFLAGS=-fast
export CXXFLAGS=-fast
Appearing many errors:
PGC-F-0206-Can’t find include file ac_nonexistent.h (conftest.c: 9)
PGC/x86-64 Linux 14.1-0: compilation aborted
PGC-F-0206-Can’t find include file opa_primitives.h (conftest.c: 28)
PGC/x86-64 Linux 14.1-0: compilation aborted
PGC-S-0035-Syntax error: Recovery attempted by replacing identifier a by ‘(’ (conftest.c: 54)
PGC-S-0035-Syntax error: Recovery attempted by replacing identifier capable by ‘,’ (conftest.c: 54)
PGC-S-0036-Syntax error: Recovery attempted by inserting ‘)’ before keyword typedef (conftest.c: 56)
PGC-W-0156-Type not specified, ‘int’ assumed (conftest.c: 56)
PGC-S-0070-dummy is not a dummy argument (conftest.c: 56)
PGC-F-0034-Unrecoverable syntax error reading END (conftest.c: 56)
PGC/x86-64 Linux 14.1-0: compilation aborted
PGC-F-0206-Can’t find include file sys/sockio.h (conftest.c: 276)
PGC/x86-64 Linux 14.1-0: compilation aborted
configure:32988: checking whether available
configure:33007: pgcpp -c -fast -I/share/apps/source/mpich-3.1/src/mpl/include -I/share/apps/source/mpich-3.1/src/mpl/include -I/share/apps/source/mpich-3.1/src/openpa/src -I/share/apps/source/mpich-3.1/src/openpa/src -I/share/apps/source/mpich-3.1/src/mpi/romio/include conftest.cpp >&5
“conftest.cpp”, line 50: catastrophic error: cannot open source file “math”
#include
^
1 catastrophic error detected in the compilation of “conftest.cpp”.
Compilation terminated.
configure:33007: $? = 2
configure: failed program was:
| /* confdefs.h /
| #define PACKAGE_NAME “MPICH”
| #define PACKAGE_TARNAME “mpich”
| #define PACKAGE_VERSION “3.1”
| #define PACKAGE_STRING “MPICH 3.1”
| #define PACKAGE_BUGREPORT “discuss@mpich.org”
| #define PACKAGE_URL “http://www.mpich.org/”
| #define PACKAGE “mpich”
| #define VERSION “3.1”
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR “.libs/”
| #define HAVE_GETPAGESIZE 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_ERROR_CHECKING MPID_ERROR_LEVEL_ALL
| #define MPICH_ERROR_MSG_LEVEL MPICH_ERROR_MSG_ALL
| #define USE_LOGGING MPID_LOGGING_NONE
| #define MPICH_THREAD_LEVEL MPI_THREAD_MULTIPLE
| #define MPIU_THREAD_GRANULARITY MPIU_THREAD_GRANULARITY_GLOBAL
| #define MPIU_HANDLE_ALLOCATION_METHOD MPIU_HANDLE_ALLOCATION_MUTEX
| #define MPIU_THREAD_REFCOUNT MPIU_REFCOUNT_NONE
| #define HAVE_ROMIO 1
| #define HAVE__FUNC__ //
| #define HAVE__FUNCTION__ //
| #define HAVE_PRAGMA_WEAK 1
| #define USE_WEAK_SYMBOLS 1
| #define HAVE_MULTIPLE_PRAGMA_WEAK 1
| #define ENABLE_PVAR_NEM 0
| #define ENABLE_PVAR_RECVQ 0
| #define ENABLE_PVAR_RMA 0
| #define HAVE_LONG_LONG 1
| #define STDCALL
| #define F77_NAME_LOWER_USCORE 1
| #define HAVE_MPI_F_INIT_WORKS_WITH_C 1
| #define HAVE_FORTRAN_BINDING 1
| #define HAVE_CXX_EXCEPTIONS //
| #define HAVE_NAMESPACES //
| #define HAVE_NAMESPACE_STD /**/
| / end confdefs.h. */
|
| #include
|
| int
| main ()
| {
| using namespace std;
| ;
| return 0;
| }
Syntax error: Recovery attempted by replacing identifier big by ‘!=’ (conftest.c: 60)
PGC-S-0039-Use of undeclared variable not (conftest.c: 63)
PGC-S-0039-Use of undeclared variable endian (conftest.c: 63)
PGC/x86-64 Linux 14.1-0: compilation completed with severe errors
PGC-S-0047-Array dimension less than or equal to zero (conftest.c: 125)
PGC/x86-64 Linux 14.1-0: compilation completed with severe errors
PGC-S-0036-Syntax error: Recovery attempted by inserting identifier .Z0000 before ‘)’ (conftest.c: 137)
PGC/x86-64 Linux 14.1-0: compilation completed with severe errors
PGC-S-0040-Illegal use of symbol, size_t (conftest.c: 186)
PGC/x86-64 Linux 14.1-0: compilation completed with severe
PGC-S-0040-Illegal use of symbol, __thread (conftest.c: 185)
PGC/x86-64 Linux 14.1-0: compilation completed with severe errors
PGC-S-0040-Illegal use of symbol, choke (conftest.c: 14)
PGC-W-0156-Type not specified, ‘int’ assumed (conftest.c: 14)
PGC/x86-64 Linux 14.1-0: compilation completed with severe errors
PGC-S-0039-Use of undeclared variable FUNC (conftest.c: 40)
PGC-W-0095-Type cast required for this conversion (conftest.c: 40)
PGC-W-0155-Pointer value created from a nonlong integral type (conftest.c: 40)
PGC/x86-64 Linux 14.1-0: compilation completed with severe errors
PGC-S-0035-Syntax error: Recovery attempted by replacing identifier big by ‘!=’ (conftest.c: 60)
PGC-S-0039-Use of undeclared variable not (conftest.c: 63)
PGC-S-0039-Use of undeclared variable endian (conftest.c: 63)
PGC/x86-64 Linux 14.1-0: compilation completed with severe errors
configure:34989: $? = 2
I separated some errors that appeared during my compilation.
I do not know if these messages will hinder system performance.
Thanks!!!
Pedro Ivo Diogenis
Environmental Engineer