You need to link to both the mpi and mpicxx libs. Put one in MPI_LIBRARIES and the other in MPI_EXTRA_LIBRARIES (or use path separator.)
I do not think it it matters whether mpich is compiled statically or not. David E DeMarle Kitware, Inc. R&D Engineer 28 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-371-3971 x109 On Tue, Dec 15, 2009 at 5:00 PM, Huan Sun <[email protected]> wrote: > Hello, > > I was trying to compile paraview against mpich2. > I wonder if I need to specify some extra mpi libraries the cmake > configuration. I don't have a root account so i built the mpich2 under > my own account. So ccmake cannot find it. > > Also, can I compile paraview against staticly built mpi libraries? > > Thanks, > > Huan > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
