Compiling on Linux-PPC970-Myrinet-MPI-xlC

From: Jordi Camps (jcamps_at_lsi.upc.edu)
Date: Thu Mar 10 2005 - 12:57:47 CST

Hello everybody,

I'm trying to compile NAMD on a cluster of PPC970 (G5) processors connected
through a Myrinet and using a SuSe Linux 2.6.5 as operating system. The
compiler set that I want to use is the IBM compilers: xlc, xlC, *_r...

At this first stage I'm trying to compile only the basic NAMD: no fftw, no
tcl, no plugins.

I updated the charm++ to the last version (5.8) and it compiled OK and
passed megatest tests with up to 16 processors (8 nodes).

But when I try to compile the NAMD, I get some errors. The process followed
to compile NAMD has been this:
        Update Make.charm
        Create files Linux-PPC-MPI-xlC.arch & Linux-PPC-MPI-xlC.base (.fftw,
.tcl & .plugins coming soon ;-))
        ./config Linux-PPC-MPI-xlC
        cd Linux-PPC-MPI-xlC
        make

But the first lines say this:
        mkdir inc
        mkdir obj
        mpicxx -w -DSOCKLEN_T=size_t
-I.rootdir/charm-5.8/mpi-linux-gm2-xlc64/include -DCMK_OPTIMIZE=1 -Isrc
-Iinc -DNAMD_VERSION=\"2.5\" -DNAMD_PLATFORM=\"Linux-PPC-MPI-xlC-MPI\" -O3
-o obj/common.o -c src/common.C
        "src/InfoStream.h", line 17.10: 1540-0836 (S) The #include file
<strstream.h> is not found.
        make: *** [obj/common.o] Error 1

If I edit the InfoStream.h file and change <strstream.h> to <strstream> I
get another bunch of messages like:
        "src/common.C", line 218.3: 1540-0256 (I) A parameter of type
"std::basic_ostream<char,std::char_traits<char> > &" cannot be initialized
with an expression of type "infostream".
        "src/InfoStream.h", line 67.13: 1540-1283 (I) "operator<<(infostream
&, const Vector &)" is not a viable candidate."

Someone has compiled NAMD with xlC? Someone can help me?

Thanks in advance.

--
Jordi Camps Puchades
Instituto Nacional de Bioinformatica (INB) Nodo Computacional GNHC-2
UPC-CIRI
c/. Jordi Girona 1-3 
Modul C6-E201                     Tel. : 934 011 650
E-08034 Barcelona                 Fax  : 934 017 014
Catalunya (Spain)                 e-mail: jcamps_at_lsi.upc.edu

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:39:14 CST