LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Yusuf Abdulghani (yusuf_at_[hidden])
Date: 2004-03-16 18:53:28


Hi,

I have compiled and installed LAM-MPI using the xlc/xlf compiler with
-O3 optimization. However, when I try compiling the CXX code that comes
in the examples directory (by running "make examples" command in the
top directory), I get the following error message. Any ideas what could
I be doing wrong? Thanks for your help.

Yusuf

...
make[2]: Nothing to be done for `all'.
Making all in cxx
source='chapter_10_mpi2.cc' object='chapter_10_mpi2.o' libtool=no \
depfile='.deps/chapter_10_mpi2.Po'
tmpdepfile='.deps/chapter_10_mpi2.TPo' \
depmode=none /bin/sh ../.././config/depcomp \
mpic++ -O3 -c -o chapter_10_mpi2.o `test -f 'chapter_10_mpi2.cc' ||
echo './'`chapter_10_mpi2.cc
"/usr/local/include/mpi2cxx/mpi2cxx_map.h", line 26.7: 1540-0121 (S) A
template cannot have "C" linkage.
"/usr/local/include/mpi2cxx/functions.h", line 59.1: 1540-1172 (S) More
than one function "Init" has non-C++ linkage.
"/usr/local/include/mpi2cxx/functions.h", line 56.1: 1540-0424 (I)
"Init" is declared on line 56 of
"/usr/local/include/mpi2cxx/functions.h".
"/usr/local/include/mpi2cxx/functions.h", line 78.1: 1540-1172 (S) More
than one function "Init_thread" has non-C++ linkage.
"/usr/local/include/mpi2cxx/functions.h", line 75.1: 1540-0424 (I)
"Init_thread" is declared on line 75 of
"/usr/local/include/mpi2cxx/functions.h".
"/usr/local/include/mpi2cxx/pcomm.h", line 263.21: 1540-0040 (S) The
text "<" is unexpected. "mpi2cppMap" may be undeclared or ambiguous.
"/usr/local/include/mpi2cxx/functions.h", line 59.1: 1540-1172 (S) More
than one function "Init" has non-C++ linkage.
"/usr/local/include/mpi2cxx/functions.h", line 56.1: 1540-0424 (I)
"Init" is declared on line 56 of
"/usr/local/include/mpi2cxx/functions.h".
"/usr/local/include/mpi2cxx/functions.h", line 78.1: 1540-1172 (S) More
than one function "Init_thread" has non-C++ linkage.
"/usr/local/include/mpi2cxx/functions.h", line 75.1: 1540-0424 (I)
"Init_thread" is declared on line 75 of
"/usr/local/include/mpi2cxx/functions.h".
"/usr/local/include/mpi2cxx/functions.h", line 93.1: 1540-1172 (S) More
than one function "Alloc_mem" has non-C++ linkage.
"/usr/local/include/mpi2cxx/functions.h", line 93.1: 1540-0424 (I)
"Alloc_mem" is declared on line 93 of
"/usr/local/include/mpi2cxx/functions.h".
"/usr/local/include/mpi2cxx/functions.h", line 108.1: 1540-1172 (S)
More than one function "Lookup_name" has non-C++ linkage.
"/usr/local/include/mpi2cxx/functions.h", line 108.1: 1540-0424 (I)
"Lookup_name" is declared on line 108 of
"/usr/local/include/mpi2cxx/functions.h".
"/usr/local/include/mpi2cxx/functions.h", line 112.1: 1540-1172 (S)
More than one function "Open_port" has non-C++ linkage.
"/usr/local/include/mpi2cxx/functions.h", line 112.1: 1540-0424 (I)
"Open_port" is declared on line 112 of
"/usr/local/include/mpi2cxx/functions.h".
"/usr/local/include/mpi2cxx/functions.h", line 116.1: 1540-1172 (S)
More than one function "Publish_name" has non-C++ linkage.
"/usr/local/include/mpi2cxx/functions.h", line 116.1: 1540-0424 (I)
"Publish_name" is declared on line 116 of
"/usr/local/include/mpi2cxx/functions.h".
"/usr/local/include/mpi2cxx/functions.h", line 120.1: 1540-1172 (S)
More than one function "Unpublish_name" has non-C++ linkage.
"/usr/local/include/mpi2cxx/functions.h", line 120.1: 1540-0424 (I)
"Unpublish_name" is declared on line 120 of
"/usr/local/include/mpi2cxx/functions.h".
"/usr/local/include/mpi2cxx/functions_inln.h", line 103.1: 1540-1172
(S) More than one function "Init" has non-C++ linkage.
"/usr/local/include/mpi2cxx/functions_inln.h", line 96.1: 1540-0425 (I)
"Init" is defined on line 96 of
"/usr/local/include/mpi2cxx/functions_inln.h".
"/usr/local/include/mpi2cxx/functions.h", line 56.1: 1540-0424 (I)
"Init" is declared on line 56 of
"/usr/local/include/mpi2cxx/functions.h".
"/usr/local/include/mpi2cxx/functions_inln.h", line 132.1: 1540-1172
(S) More than one function "Init_thread" has non-C++ linkage.
"/usr/local/include/mpi2cxx/functions.h", line 75.1: 1540-0424 (I)
"Init_thread" is declared on line 75 of
"/usr/local/include/mpi2cxx/functions.h".
"/usr/local/include/mpi2cxx/datatype_inln.h", line 130.38: 1540-0256
(S) A parameter of type "_comm *" cannot be initialized with an
expression of type "const PMPI::Comm".
"/usr/local/include/mpi2cxx/datatype_inln.h", line 130.38: 1540-1205
(I) The error occurred while converting to parameter 7 of
"MPI_Pack(void *, int, MPI_Datatype, void *, int, int *, MPI_Comm)".
"/usr/local/include/mpi2cxx/datatype_inln.h", line 139.52: 1540-0256
(S) A parameter of type "_comm *" cannot be initialized with an
expression of type "const PMPI::Comm".
"/usr/local/include/mpi2cxx/datatype_inln.h", line 139.52: 1540-1205
(I) The error occurred while converting to parameter 7 of
"MPI_Unpack(void *, int, int *, void *, int, MPI_Datatype, MPI_Comm)".
"/usr/local/include/mpi2cxx/datatype_inln.h", line 146.46: 1540-0256
(S) A parameter of type "_comm *" cannot be initialized with an
expression of type "const PMPI::Comm".
"/usr/local/include/mpi2cxx/datatype_inln.h", line 146.46: 1540-1205
(I) The error occurred while converting to parameter 3 of
"MPI_Pack_size(int, MPI_Datatype, MPI_Comm, int *)".
"/usr/local/include/mpi2cxx/win_inln.h", line 48.42: 1540-0256 (S) A
parameter of type "_errhdl *" cannot be initialized with an expression
of type "const PMPI::Errhandler".
"/usr/local/include/mpi2cxx/win_inln.h", line 48.42: 1540-1205 (I) The
error occurred while converting to parameter 2 of
"MPI_Win_set_errhandler(MPI_Win, MPI_Errhandler)".
"/usr/local/include/mpi2cxx/win_inln.h", line 84.62: 1540-0256 (S) A
parameter of type "_comm *" cannot be initialized with an expression of
type "const PMPI::Intracomm".
"/usr/local/include/mpi2cxx/win_inln.h", line 84.62: 1540-1205 (I) The
error occurred while converting to parameter 5 of "MPI_Win_create(void
*, MPI_Aint, int, MPI_Info, MPI_Comm, MPI_Win *)".
make[2]: *** [chapter_10_mpi2.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [examples] Error 2


  • text/enriched attachment: stored