MPICH2-1.4 with PGI Compiler 11.1 how to configure.

I’m going to the configuration and installation of the mpich2 - the latest stable 1.4 version and the PGI Workstation compilers - 11.1 version is given the instruction below:

  1. I typed the command “./configure --prefix=/home/vignesh/mpich2/1.4/pgi CC=“pgcc” CXX=“pgCC” F77=“pgfortran” FC=“pgfortran” CPP=“pgCC -E” CFLAGS=”-fast " CXXFLAGS="-fast" FFLAGS="-fast " F77FLAGS="-fast " LDFLAGS="-fast " OPTFLAGS="-fast " | tee configure-mpich2-1.4-pgi-11.1.log"

  2. Configuration is fine.

  3. I typed the command “make VERBOSE=1 | tee build-mpich2-1.4-pgi-11.1.log” but got an error problem is given below:

PGC-S-0060-fds_bits is not a member of this struct or union (./tools/demux/demux_select.c: 36)
PGC-S-0054-Subscript operator () applied to non-array (./tools/demux/demux_select.c: 36)
PGC-S-0060-fds_bits is not a member of this struct or union (./tools/demux/demux_select.c: 38)
PGC-S-0054-Subscript operator () applied to non-array (./tools/demux/demux_select.c: 38)
PGC-S-0060-fds_bits is not a member of this struct or union (./tools/demux/demux_select.c: 65)
PGC-S-0054-Subscript operator () applied to non-array (./tools/demux/demux_select.c: 65)
PGC-S-0060-fds_bits is not a member of this struct or union (./tools/demux/demux_select.c: 67)
PGC-S-0054-Subscript operator () applied to non-array (./tools/demux/demux_select.c: 67)
PGC-S-0060-fds_bits is not a member of this struct or union (./tools/demux/demux_select.c: 112)
PGC-S-0054-Subscript operator () applied to non-array (./tools/demux/demux_select.c: 112)
PGC-S-0060-fds_bits is not a member of this struct or union (./tools/demux/demux_select.c: 118)
PGC-S-0054-Subscript operator () applied to non-array (./tools/demux/demux_select.c: 118)
PGC/x86 Linux 11.1-0: compilation completed with severe errors
make[4]: *** [demux_select.lo] Error 1
make[4]: Leaving directory /home/vignesh/Softwares/MPICH2/pgi/mpich2-1.4/src/pm/hydra' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory /home/vignesh/Softwares/MPICH2/pgi/mpich2-1.4/src/pm/hydra’
make[2]: *** [all-redirect] Error 1
make[2]: Leaving directory /home/vignesh/Softwares/MPICH2/pgi/mpich2-1.4/src/pm' make[1]: *** [all-redirect] Error 1 make[1]: Leaving directory /home/vignesh/Softwares/MPICH2/pgi/mpich2-1.4/src’
make: *** [all-redirect] Error 1

Please help me to analyse and solve the problem.

My system information:
Intel Core i3-350M Processor 2.26 GHz
Linux OS - Fedora 14 - 32-Bits
Linux Kernel Version - 2.6.35.13-92.fc14.i686

Thanks in advance,
Ashok.

I have compiled successfully today …

MPICH2:
./configure --prefix=/usr/local/mpich2 --enable-f77 --enable-fc --enable-cxx --enable-shared --enable-fast --with-pm=hydra:mpd:gforker --with-device=ch3:nemesis


environment variables:
CC = pgcc
F77 = pgf77
FC = pgf90
CXX = pgCC

the optimizations flags are related to my CPU (istanbul):
-O2 -tp istanbul-64