Since HFS+ is not case sensitive, mpicc and mpiCC are the same file.
So on OS X, you need to use mpic++ to compile C++ code. But it's
worse than that, because the GNU compiler is smart enough to use the C+
+ parser / compiler instead of the C one, so you don't see the error
until link time
On MacOS 10.5.2 standard installation with Open MPI 1.2.3 the
following hello world program in normal C compiles just fine and runs
correctly.
But if I rename the file to mpihello.cpp and I get many undefined
symbols at link time!
This error cropped up while I was working with a much more