Re: C++: icc 7 and MPICH-GM-1.2.5..10 not working!?

William Gropp <[email protected]> Mon, 26 May 2003 09:48:57 -0500
Newsgroups gmane.network.myrinet.general
Message-ID <5.1.1.6.2.20030526094330.02b92370@localhost>
At 11:33 AM 5/26/2003 +0200, Christian Peter wrote:
>hi everybody,
>
>i just noticed that (for our system) there is no C++ support for the
>combination Intel C++ compiler version 7 and MPICH-GM 1.2.5..10.
>
>using "mpich.make.intel_ia32" for our SuSE SLES8 linux systems, C++
>support seems to be switched off by "configure":
>
>---------------------------------------------------------------------
>Compiling C++ interface with icc
>checking whether filesystem respects case in file names... yes
>checking for current directory name... /usr/local/src/Myri/mpich-1.2.5..10
>checking for architecture... LINUX
>checking for install
>checking for ranlib
>checking gnumake... yes using --no-print-directory
>checking whether make supports include... yes
>checking OSF V3 make... no
>checking for virtual path format... VPATH
>checking if icc returns correct error code... yes
>checking that selected C++ compiler can compile iostream.h... no!...Cannot
>use icc compiler
>-----------------------------------------------------------------------
>
>is that a known problem? any ideas or workarounds?

Since this is an MPICH issue rather than a Myrinet issue, I'll answer.  The 
C++ code used in MPICH comes from the University of Notre Dame (the group 
has since moved to Indiana).  The version that we have requires iostream.h, 
and (as the configure test shows), we have had problems with some compilers 
handling this header file.  You can check the config.log file or use the 
--enable-echo to get a complete list of what configure is doing 
(--enable-echo just does a "set -x" in the shell script that is configure).

MPICH2 uses an all-new implementation of the C++ bindings and does not need 
iostream.h .  We'd also be interested in any patch for the version used in 
MPICH1, but we haven't had time to develop one ourselves.

Bill