Subir Singh Lamba wrote: > Hi, > I have to use Cmake to compile my program. The problem I am facing is to > how to change my compiler from gcc to mpicc. As I need to compile my > parallel code with it Create a new directory, and inside that new empty dir, do: export CC=mpicc export CXX=mpic++ cmake /full/path/to/VTK HTH Mathieu