<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Greetings,<br>
      <br>
      I've managed to get ParaView's SuperBuild working/building on
      Windows, which uses Open-MPI 1.6.2 by default on ParaView 3.98.0.<br>
      <br>
      From ParaView's resulting "CMakeCache.txt", these were defined for
      the C and CXX flags: /DOMPI_IMPORTS /DOPAL_IMPORTS /DORTE_IMPORTS<br>
      <br>
      These are the binaries and libraries that were included:<br>
      <blockquote>MPIEXEC:FILEPATH=P:/install/bin/mpiexec.exe<br>
        MPI_CXX_COMPILER:FILEPATH=P:/install/bin/mpicxx.exe<br>
        MPI_CXX_INCLUDE_PATH:STRING=P:/install/include<br>
        MPI_CXX_LIBRARIES:STRING=P:/install/lib/libmpi_cxx.lib<br>
        MPI_C_COMPILER:FILEPATH=P:/install/bin/mpicc.exe<br>
        MPI_C_INCLUDE_PATH:STRING=P:/install/include<br>
MPI_C_LIBRARIES:STRING=P:/install/lib/libmpi.lib;P:/install/lib/libopen-rte.lib;P:/install/lib/libopen-pal.lib;advapi32.lib;Ws2_32.lib;shlwapi.lib<br>
        MPI_LIBRARY:FILEPATH=P:/install/lib/libmpi_cxx.lib<br>
      </blockquote>
      Hope this helps!<br>
      <br>
      <br>
      For those who may be curious about the modifications:
      <a class="moz-txt-link-freetext" href="http://code.google.com/p/unofficial-paraview-dev-install/wiki/Notes3980">http://code.google.com/p/unofficial-paraview-dev-install/wiki/Notes3980</a><br>
      When I've got some more time, I'll try to push some of these mods
      to the SuperBuild's Gerrit.<br>
      <br>
      Best regards,<br>
      Bruno<br>
      <br>
      On 08-01-2013 14:43, Utkarsh Ayachit wrote:<br>
    </div>
    <blockquote
cite="mid:CADHSJjATBvHYo=H=Rv7fbRBjVNcKcAj8RDs0aGX-tMG4JmQGeA@mail.gmail.com"
      type="cite">
      <pre wrap="">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
<a class="moz-txt-link-rfc2396E" href="mailto:Stephan.Rogge@tu-cottbus.de">&lt;Stephan.Rogge@tu-cottbus.de&gt;</a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">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"          =&gt; 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 <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the ParaView Wiki at: <a class="moz-txt-link-freetext" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>
</pre>
      </blockquote>
      <pre wrap="">_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the ParaView Wiki at: <a class="moz-txt-link-freetext" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>


</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.bluecape.com.pt">http://www.bluecape.com.pt</a>

blueCAPE Lda - CAE solutions
Rua Fonte dos Corvos, n.29
Casais da Serra
2665-305 Milharado
PORTUGAL

(+351) 219 755 345  Tel.
(+351) 219 755 345  Fax
(+351) 926 008 657  Mob. 
</pre>
  </body>
</html>