[Paraview] Linker error with OpenMPI 1.6.2

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Jan 8 09:43:20 EST 2013


Ah, yea, that makes sense. On Windows shared builds with OpenMPI
(built shared), those are indeed needed to be set.

On Tue, Jan 8, 2013 at 6:05 AM, Stephan Rogge
<Stephan.Rogge at tu-cottbus.de> wrote:
> Utkarsh,
>
> Thank you for that hint. I've added openlib-pal.lib and openlib-rte.lib to
> the linker list.  No success. The linker error remains.
>
> But after some research I found an advice to add the definition
> "OMPI_IMPORTS" to pre-processor:
>
> CMAKE_CXX_FLAGS = ... /D "OMPI_IMPORTS"
> CMAKE_C_FLAGS = ... /D "OMPI_IMPORTS"          => Maybe not required
>
> This solves my problem and ninja is running until the end :-).
>
> Is this an individual problem? I wonder if someone else had this error too.
>
> Best regards,
> Stephan
>
>
> _______________________________________________
> 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


More information about the ParaView mailing list