PDA

View Full Version : install MPI-- "configure: error: Namespaces are required for the MPI C++ interface"



jaycui
October 17th, 2009, 07:07 PM
Hello:

I want to run mpi program

I download the mpich2-1.0.4p1.tar.gz. and get an error after: ./configure --prefix=/urs/local/mpich2
"checking for gcc... gcc
checking whether we are using the GNU C++ compiler... no
checking whether gcc accepts -g... no
checking whether the compiler supports exceptions... no
checking whether the compiler recognizes bool as a built-in type... no
checking whether the compiler implements namespaces... no
configure: error: Namespaces are required for the MPI C++ interface"

Has anyone also got such problem? What should I do to solve it?:confused:
Thanks!

MadCow108
October 17th, 2009, 07:36 PM
have you got the build essentials installed?
apt-get install build-essential

jaycui
October 17th, 2009, 07:56 PM
have you got the build essentials installed?
apt-get install build-essential

Thank you! problem solved.