LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: bhaarat Sharma (bhaarat.s_at_[hidden])
Date: 2006-01-05 12:04:50


Hello
I have recently installed mpi-gm on the system. In the examples
folder..i try to run hello++.cc with this command

mpicc -o hello++.out hello++.cc but it gives me errors saying that it
cant recognize MPI calls or even the "<<" ">>" operators.

However when i run an example called cpi.c with the command
mpicc -o cpi.o cpi.c it runs fine without any errors

So mpicc is not working for C++ programs but is working for C
programs. Is there a different compiler i should be using to compile
C++ programs??

Thanks

--
-bhaarat