Compilation of Parmetis : MPI problem on Linux Mint

Recently I downloaded Parmetis: parmetis-4.0.1 .

I use linux mint, so, as in install.txt, I checked the software manager to download Cmake (version 2.8.3-3ubuntu7), and also, mpich2 1.3.1-1.

If I try : make config , I'm getting the error message:

CMake Warning at /usr/share/cmake-2.8/Modules/FindMPI.cmake:279 (message):
Unable to find MPI library cr
Call Stack (most recent call first):
CMakeLists.txt:12 (include)

-- Could NOT find MPI (missing: MPI_LIBRARY)
CMake Error at CMakeLists.txt:14 (message):
mpi is not found

On the other hand, if I try make config cc=mpicc

-- Check for working C compiler: /usr/bin/mpicc -- broken
CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
The C compiler "/usr/bin/mpicc" is not able to compile a simple test

It fails with the following output:

Change Dir: /home/dtadeu/softs/parmetis-4.0.1/build/Linux-i686/CMakeFiles/CMakeTmp

I have no ideas what to do.


RE: Try the 4.0.2 version of

Try the 4.0.2 version of ParMetis that has been just posted. Let me know if it solves the compilation problem.