<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">I get the same linking errors when i
      try to run a helloworld with mpi.<br>
      <br>
      I have install from the "<b><span style="font-family: verdana,
          arial, helvetica; font-size: 12px; font-style: normal;
          font-variant: normal; font-weight: normal; letter-spacing:
          normal; line-height: normal; orphans: 2; text-align: start;
          text-indent: 0px; text-transform: none; white-space: normal;
          widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto;
          -webkit-text-stroke-width: 0px;">OpenMPI_v1.6-1_win64.exe"</span></b>
      from here: <a class="moz-txt-link-freetext" href="http://www.open-mpi.de/software/ompi/v1.6/">http://www.open-mpi.de/software/ompi/v1.6/</a> and install
      it to C:\Program Files (x86)\OpenMPI_v1.6-x64<br>
      <br>
      i try this cmake commands in the cmakelists: <br>
      find_package(MPI REQUIRED)<br>
      set(CMAKE_CXX_COMPILE_FLAGS ${CMAKE_CXX_COMPILE_FLAGS}
      ${MPI_COMPILE_FLAGS})<br>
      set(CMAKE_CXX_LINK_FLAGS ${CMAKE_CXX_LINK_FLAGS}
      ${MPI_LINK_FLAGS})<br>
      target_link_libraries(mytest ${MPI_LIBRARIES})<br>
      <br>
      <br>
      In Cmake i must set some entries manually: i set MPI_LIBRARY to
      "C:\Program Files (x86)\OpenMPI_v1.6-x64\lib\libmpi_cxx.lib" (try
      also the libmpi.lib). I set nothing to the EXTRA-LIBRARY, cause i
      dont know whats the right entry<br>
      <br>
      <br>
      In visual studio i check if there is an additional include path to
      "C:\Program Files (x86)\OpenMPI_v1.6-x64\include" and if the lib
      is added right.<br>
      <br>
      <br>
      when i try to compile some helloworld i get this linker error:<br>
      1&gt;main.obj : error LNK2001: Nicht aufgel&ouml;stes externes Symbol
      "_ompi_mpi_comm_world".<br>
      <br>
      So, do you know whats wrong?<br>
      <br>
      <br>
      <br>
      Am 26.11.2012 16:13, schrieb Kevin H. Hobbs:<br>
    </div>
    <blockquote cite="mid:50B38733.5000106@ohio.edu" type="cite">
      <pre wrap="">On 11/26/2012 09:42 AM, Matthias H&auml;rtel wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">thanks for your answer!

I looked at your link, but cant find useful informations for my problem...

Any further hints?

</pre>
      </blockquote>
      <pre wrap="">

The link is to the list of ParaView test builds that ran "TestMPI" this
morning on the dashboard.

To build ParaView VTK must also be built,  so it should give you useful
information.

Some of them run on windows.

Each of the links in the "Build Name" column points to more information
about the build.

There should be a notes file associated with each build... Ah, I see it
takes a bit of clicking to get to it.

Here are some:

<a class="moz-txt-link-freetext" href="http://open.cdash.org/viewNotes.php?buildid=2683533">http://open.cdash.org/viewNotes.php?buildid=2683533</a>
<a class="moz-txt-link-freetext" href="http://open.cdash.org/viewNotes.php?buildid=2683625">http://open.cdash.org/viewNotes.php?buildid=2683625</a>
<a class="moz-txt-link-freetext" href="http://open.cdash.org/viewNotes.php?buildid=2682562">http://open.cdash.org/viewNotes.php?buildid=2682562</a>
<a class="moz-txt-link-freetext" href="http://open.cdash.org/viewNotes.php?buildid=2682804">http://open.cdash.org/viewNotes.php?buildid=2682804</a>
<a class="moz-txt-link-freetext" href="http://open.cdash.org/viewNotes.php?buildid=2682807">http://open.cdash.org/viewNotes.php?buildid=2682807</a>
<a class="moz-txt-link-freetext" href="http://open.cdash.org/viewNotes.php?buildid=2683296">http://open.cdash.org/viewNotes.php?buildid=2683296</a>
<a class="moz-txt-link-freetext" href="http://open.cdash.org/viewNotes.php?buildid=2683675">http://open.cdash.org/viewNotes.php?buildid=2683675</a>
<a class="moz-txt-link-freetext" href="http://open.cdash.org/viewNotes.php?buildid=2682616">http://open.cdash.org/viewNotes.php?buildid=2682616</a>
<a class="moz-txt-link-freetext" href="http://open.cdash.org/viewNotes.php?buildid=2683519">http://open.cdash.org/viewNotes.php?buildid=2683519</a>

The notes files show essentially every CMake variable that was not set
to the default.

It looks to me like all that was set was PARAVIEW_USE_MPI:BOOL=ON.

What error are you encountering?

What have you tried?

What CMake variables did you set?

Where did you install openMPI?

Can you run HelloWorld type MPI programs?

...

</pre>
    </blockquote>
    <br>
  </body>
</html>