[vtkusers] VTK + openMPI + CMake

Kevin H. Hobbs hobbsk at ohio.edu
Mon Nov 26 13:01:04 EST 2012


On 11/26/2012 12:06 PM, Matthias Härtel wrote:

> //MPI compiler. Used only to detect MPI compilation flags.
> MPI_COMPILER:FILEPATH=C:/Program Files (x86)/OpenMPI_v1.6-x64/bin/mpic++.exe
> 

What does "mpic++ -showme hello.cxx" say? (Or is it more like
"mpic++.exe /showme hello.cxx" on windows?)

> //MPI include path
> MPI_INCLUDE_PATH:STRING="C:\Program;Files;(x86)\OpenMPI_v1.6-x64/include"

This is a very strange path.

> //MPI library to link against
> MPI_LIBRARY:FILEPATH=NOTFOUND
> 

Are the libraries actually there?

I have:
MPI_CXX_LIBRARIES:STRING=/usr/lib64/openmpi/lib/libmpi_cxx.so;/usr/lib64/openmpi/lib/libmpi.so;/usr/lib64/libdl.so

So if you have to set MPI_LIBRARY manually just add everything that
mpic++ does separated by ';'.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121126/442c9e52/attachment.pgp>


More information about the vtkusers mailing list