LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Brooks Davis (brooks_at_[hidden])
Date: 2005-02-04 16:47:16


On Fri, Feb 04, 2005 at 11:10:28PM +0200, Angel Tsankov wrote:
> I get this error when I compile a simple Hello world program with mpicc
> (version 2.95.4): undefined reference to `cout'.
> What may be wrong?

You are attempting to use a C compiler to compile C++ code. Use mpiCC
or mpic++ instead.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4


  • application/pgp-signature attachment: stored