Hi All,
I've been having this trouble for a while now, but tried lurking in the
mailing list, as it seems that others have had similar troubles.
However, I haven't seen a fix for it yet. I compile an out-of-the-box
lam7.1.1 with the following configure options (that are a fortran-free
set that Eric Circlaeys said worked for him):
./configure --disable-tv --disable-tv-queue --with-memory-manager=none
--with-rsh="/usr/bin/ssh -x" --without-fc CC=xlc CFLAGS='' CXX=xlc++
CXXFLAGS='' --without-cs-fs
This is on a PMG52.5, with MacOSX10.3.5 and xlc version 6.0. I tried
it with stronger optimisations, but found that even the zero
optimisation version does not work. LAM configures, makes and
installs happily, but then I try to compile any C++ code in the
examples directory (or elsewhere) I get a spew of errors, and it fails.
The typical errors are:
"/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".
...
[many following errors deleted, as I suspect the first line is the root
cause]
I have tried many other configure options, but there seems to be
something quite fundamentally wrong here, and I haven't seen a reply
address this problem. Attached are all the stdout and stderr from the
configure, make, make install, and make examples processes.
Thanks in advance,
Joe
Dr. Joseph Hope
Research Fellow
Australian Centre for Quantum Atom Optics
Department of Physics, Faculty of Science,
Building 38a,
The Australian National University,
Canberra, ACT 0200, AUSTRALIA
T: +61 2 6125 2780
F: +61 2 6125 0741
CRICOS Provider #00120C
I can't understand why people are frightened of new ideas. I'm
frightened of the old ones. -- John Cage
|