On Thu, May 03, 2007 at 01:57:27PM +0200, Chaloupka Zden?k wrote: > Hello,
Hi! > MPI_Init(&argv, &argc); > > [chaloz@chaloupka src]$ mpicc main.cc > /tmp/ccBJb7ZI.o: In function > `__static_initialization_and_destruction_0(int, > int)':main.cc:(.text+0x23): undefined reference to > `std::ios_base::Init::Init()' You have C code, but your filename tells the compiler it is C++. Rename main.cc to main.c, this should fix your problem. (or use mpic++ instead of mpicc) HTH -- Cluster and Metacomputing Working Group Friedrich-Schiller-Universität Jena, Germany private: http://adi.thur.de