LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Brian W. Barrett (brbarret_at_[hidden])
Date: 2004-03-16 21:59:53


On Mar 16, 2004, at 3:53 PM, Yusuf Abdulghani wrote:

> 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.

> ...
> 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.

That error is a little unexpected. Even more fun, I was unable to
replicate on my system. Do you have an old version of LAM or MPICH
already installed in /usr/local/, by any chance? Also, could you send
the output of 'mpic++ -showme'?

Thanks,

Brian

-- 
   Brian Barrett
   LAM/MPI developer and all around nice guy
   Have a LAM/MPI day: http://www.lam-mpi.org/