Question

I installed mpi on my Ubuntu 10.04 from terminal using the command

sudo apt-get install libcr-dev mpich2 mpich2-doc

I required mpi for running some benchmarks which internally use mpi. when I am build the benchmarks using make command I get

make[1]: /usr/lib/mpi/gcc/openmpi/bin/mpicxx: Command not found
make[1]: Entering directory `/home/saikirangvr/gpgpu-sim/ispass2009-benchmarks/DG'
make[1]: /usr/lib/mpi/gcc/openmpi/bin/mpicxx: Command not found
src/Mesh3d.c:1:17: error: mpi.h: No such file or directory

Is that my mpi not installed correctly or problem with other. how can I check whether mpi and all the required docs are installed perfectly......

Was it helpful?

Solution

It looks like you have two conflicting installations of MPI. You have one version of Open MPI and you installed another version of MPICH. You probably should uninstall both and try again with just one or the other.

UPDATE:

To summarize the extended comments below, the original poster had some issues with his environmental setup, specifically that the Makefile for the benchmarks was pointing to the wrong mpixcc and that the C_INCLUDE_PATH was not set correctly.

OTHER TIPS

This is a linking/path problem, type into terminal which mpicxx and it should spit out that mpicxx is not found

you should have mpicc and mpirun

so all you need todo is configure your makefile parameters properly

You should try installing libmpich-mpd1.0-dev by using your package manager:

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top