<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Bill,<br>
      <br>
      It sounds like you've not configured your build correctly.<br>
      <br>
      <blockquote type="cite">do I need to have PARAVIEW_USE_MPI
      </blockquote>
      yes. it's Cray what's the point of running a serial build there?<br>
      <br>
      <blockquote type="cite">I'm using is MPICH 3.0.4, and I've
        compiled
        <br>
        it myself</blockquote>
      don't do that, :-). Better use highly optimized Cray MPT on Cray
      systems.<br>
      <br>
      You need to set MPI_C_INCLUDE_PATH/MPI_CXX_INCLUDE_PATH and
      MPI_C_LIBRARIES/MPI_CXX_LIBRARIES.<br>
      <br>
      Make sure your using PrgEnv-gnu then you can dump the libraries
      and paths that are used with "CC --verbose". Also
      CRAY_LD_LIBRARY_PATH can be helpful for getting the right system
      paths.<br>
      <br>
      <blockquote type="cite">the
        <br>
        Plugin's don't compile.&nbsp;</blockquote>
      If you're trying to static link, that's a known issue and was just
      recently fixed. IMO It's better to have them off when static
      linking anyway, cause they'll *all* be automatically loaded on the
      server side and you'll need to do the same in the client(or it
      will crash) which is a bit of a pain, and confusing for new users.<br>
      <br>
      On 09/29/2013 08:30 PM, William Sherman wrote:<br>
    </div>
    <blockquote cite="mid:5248F059.3040701@indiana.edu" type="cite">Hello
      everyone,
      <br>
      <br>
      So I've been working on getting ParaView compiled on a new
      <br>
      Cray XE/XK7 system, and I seem to have made some progress,
      <br>
      but not enough to have ParaView running.
      <br>
      <br>
      So my main problem is that when I do get the make process
      <br>
      to complete, it doesn't produce the "pvserver" executable.
      <br>
      Here's what it does produce:
      <br>
      &nbsp;&nbsp;&nbsp;&nbsp;% ls bin
      <br>
      &nbsp;&nbsp;&nbsp;&nbsp;H5detect&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vtkmkg3states-pv4.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      vtkWrapHierarchy-pv4.0
      <br>
      &nbsp;&nbsp;&nbsp;&nbsp;H5make_libsettings&nbsp;&nbsp;&nbsp;&nbsp; vtkParseJava-pv4.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      vtkWrapJava-pv4.0
      <br>
      &nbsp;&nbsp;&nbsp;&nbsp;protoc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vtkParseOGLExt-pv4.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      vtkWrapPythonInit-pv4.0
      <br>
      &nbsp;&nbsp;&nbsp;&nbsp;smTestDriver&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vtkProcessShader-pv4.0&nbsp;&nbsp;&nbsp;&nbsp;
      vtkWrapPython-pv4.0
      <br>
      &nbsp;&nbsp;&nbsp;&nbsp;vtkEncodeString-pv4.0&nbsp; vtkpython&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      vtkWrapTclInit-pv4.0
      <br>
      &nbsp;&nbsp;&nbsp;&nbsp;vtkHashSource-pv4.0&nbsp;&nbsp;&nbsp; vtkWrapClientServer-pv4.0&nbsp;
      vtkWrapTcl-pv4.0
      <br>
      <br>
      So there's no "paraview" itself because I turned off the
      <br>
      QT-GUI flag.&nbsp; As this is an HPC machine, I expect to use
      <br>
      it in server mode.
      <br>
      <br>
      <br>
      There is another problem, which I'm not sure whether it's
      <br>
      related or not, and that is that I can't get it to compile
      <br>
      when the PARAVIEW_USE_MPI flag is on.
      <br>
      <br>
      So I guess my first question is: do I need to have
      PARAVIEW_USE_MPI
      <br>
      on in order to get "pvserver" built?&nbsp; In theory, I can choose
      <br>
      to run with only one "pvserver" process, in which case it doesn't
      <br>
      need MPI, but in general of course one would run more than one.
      <br>
      But I think in other circumstances I've compiled "pvserver"
      without
      <br>
      MPI, so I'm not sure whether this is the problem.&nbsp; (But I'm not
      <br>
      sure what's going on with MPI.)
      <br>
      <br>
      <br>
      I'll attach the "CMakeCache.txt" file since that may provide a
      <br>
      clue to someone who knows what they're looking for -- I didn't
      <br>
      notice anything that would indicate why no "pvserver".
      <br>
      <br>
      <br>
      As for the MPI issue, I continue to get a message of this type:
      <br>
      <br>
      ---------
      <br>
      [ 19%] Building CXX object
      VTK/Parallel/MPI/CMakeFiles/vtkParallelMPI.dir/vtkMPIController.cxx.o
      <br>
      Linking CXX shared library
      ../../../lib/libvtkParallelMPI-pv4.0.so/usr/bin/ld:
      /N/soft/cle4/paraview/MPI/install-3.0.4/lib/libmpich.a(setbotf.o):
      relocation R_X86_64_32 against `mpifcmb2_' can not be used when
      making a shared object; recompile with
      -fPIC/N/soft/cle4/paraview/MPI/install-3.0.4/lib/libmpich.a: could
      not read symbols: Bad value
      <br>
      collect2: error: ld returned 1 exit status
      <br>
      make[2]: *** [lib/libvtkParallelMPI-pv4.0.so.1] Error 1make[1]:
      *** [VTK/Parallel/MPI/CMakeFiles/vtkParallelMPI.dir/all] Error 2
      <br>
      make: *** [all] Error 2
      <br>
      ----------
      <br>
      <br>
      So the MPI version that I'm using is MPICH 3.0.4, and I've
      compiled
      <br>
      it myself, and I set environment variables to cause the -fPIC
      compile
      <br>
      flag to be used, but that doesn't seem to help.&nbsp; Not sure what's
      <br>
      going on there, or what command to run to verify that the -fPIC
      <br>
      flag took.
      <br>
      <br>
      <br>
      I'm using this version of gcc/g++ for both paraview and MPICH:
      <br>
      &nbsp;&nbsp;&nbsp;&nbsp;g++ (GCC) 4.8.1 20130531 (Cray Inc.)
      <br>
      <br>
      <br>
      There is one other thing I'm mention in case it's related -- the
      <br>
      Plugin's don't compile.&nbsp; I have to disable all the plugins in
      order
      <br>
      to get through the compilation process.
      <br>
      <br>
      <br>
      Thoughts?
      <br>
      <br>
      &nbsp;&nbsp;&nbsp;&nbsp;Thank you in advance,
      <br>
      &nbsp;&nbsp;&nbsp;&nbsp;Bill
      <br>
      <br>
      --
      <br>
      Bill Sherman
      <br>
      Sr. Technology Advisor
      <br>
      Advanced Visualization Lab
      <br>
      Pervasive Technology Inst
      <br>
      Indiana University
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:shermanw@indiana.edu">shermanw@indiana.edu</a>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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>
  </body>
</html>