<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi Ganesh,<br>
    <br>
    your error log indicates that x11 support is being referred to but
    not provided, you don't need X11 for the pvserver with OS Mesa. I'm
    wondering if you had attempted to modify the cmake cache for an
    existing build? perhaps starting over fresh would help? by the way
    the script below was used to build paraview server version 3.10,
    3.12 and 3.14 on an sgi uv 1000 with osmesa 7.5.1. I would expect it
    would make a good starting point for building the server with osmesa
    your system.<br>
    <br>
    Burlen<br>
    <br>
    On 08/06/2012 12:46 PM, Ganesh Vijayakumar wrote:
    <blockquote
cite="mid:CAFtK+etkNzVd1zn1oOPsWdSUNWDjPEk1XciKGu+f3BYDaEo9+g@mail.gmail.com"
      type="cite">Dear All,
      <div><br>
      </div>
      <div>&nbsp;&nbsp;I tried this. It worked all right when I had the QT
        interface built. But now I want to use Paraview in the off
        screen mode with pvbatch. I've attached a part of the error log.
        I've read through this&nbsp;</div>
      <div><br>
      </div>
      <div><a moz-do-not-send="true"
          href="http://paraview.org/Wiki/ParaView_And_Mesa_3D">http://paraview.org/Wiki/ParaView_And_Mesa_3D</a></div>
      <div><br>
      </div>
      <div>I'm using option 2 - i.e offscreen mesa only. So I made sure&nbsp;</div>
      <div><br>
      </div>
      <div><span class="Apple-style-span" style="font-family:
          sans-serif; font-size: 13px; line-height: 19px;">
          <pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); color: black; background-color: rgb(249, 249, 249); line-height: 1.1em;"> OPENGL_gl_LIBRARY = &lt;empty&gt;  -- <b>ENSURE THAT THIS IS EMPTY</b>.
</pre>
          <div><br>
          </div>
          <div>The interesting part is that if I delete that line in my
            paraview compile script, the compilation goes through. Any
            ideas?</div>
          <div><br>
          </div>
          <div>ganesh</div>
          <div><br>
          </div>
        </span><br>
        <div class="gmail_quote">
          On Fri, Jul 27, 2012 at 12:59 PM, Burlen Loring <span
            dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:bloring@lbl.gov" target="_blank">bloring@lbl.gov</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">
            <div bgcolor="#ffffff" text="#000000"> Hi Ganesh,<br>
              <br>
              Here are the settings that worked on an SGI Altix UV. You
              may want to add "export MPI_TYPE_MAX=1000000"" to your run
              script as well.<br>
              <br>
              Burlen<br>
              <br>
              <tt>#!/bin/bash<br>
                BUILD_TYPE=Release<br>
                <br>
                CC_PATH=/opt/intel/Compiler/11.1/038<br>
                MPI_PATH=/opt/sgi/mpt/mpt-2.04<br>
                MESA_PATH=$OSMESA_ROOT<br>
                <br>
                PY_ROOT=/sw/analysis/python/2.7.1/sles11.1_intel11.1<br>
                PY_EXEC=$PY_ROOT/bin/python<br>
                PY_INCL=$PY_ROOT/include/python2.7<br>
                PY_LIB=$PY_ROOT/lib/<a moz-do-not-send="true"
                  href="http://libpython2.7.so" target="_blank">libpython2.7.so</a><br>
                <br>
                cmake \<br>
                &nbsp; -DCMAKE_C_COMPILER=$CC_PATH/bin/intel64/icc \<br>
                &nbsp; -DCMAKE_CXX_COMPILER=$CC_PATH/bin/intel64/icpc \<br>
                &nbsp; -DCMAKE_LINKER=$CC_PATH/bin/intel64/icpc \<br>
                &nbsp; -DCMAKE_CXX_FLAGS="-Wno-deprecated" \<br>
                &nbsp; -DBUILD_TESTING=ON \<br>
                &nbsp; -DBUILD_SHARED_LIBS=ON \<br>
                &nbsp; -DCMAKE_BUILD_TYPE=$BUILD_TYPE \<br>
                &nbsp; -DCMAKE_INSTALL_PREFIX=$SW_BLDDIR \<br>
                &nbsp; -DPARAVIEW_ENABLE_PYTHON=ON \<br>
                &nbsp; -DPYTHON_EXECUTABLE=$PY_EXEC \<br>
                &nbsp; -DPYTHON_INCLUDE_DIR=$PY_INCL\<br>
                &nbsp; -DPYTHON_LIBRARY=$PY_LIB \<br>
                &nbsp; -DPARAVIEW_INSTALL_DEVELOPMENT=OFF \<br>
                &nbsp; -DPARAVIEW_USE_MPI=ON \<br>
                &nbsp; -DMPI_INCLUDE_PATH=$MPI_PATH/include \<br>
                &nbsp; -DMPI_LIBRARY=$MPI_PATH/lib/libmpi.so \<br>
                &nbsp; -DPARAVIEW_BUILD_QT_GUI=OFF \<br>
                &nbsp; -DVTK_USE_X=OFF \<br>
                &nbsp; -DVTK_OPENGL_HAS_OSMESA=ON \<br>
                &nbsp; -DOPENGL_INCLUDE_DIR=$MESA_PATH/include \<br>
                &nbsp; -DOPENGL_gl_LIBRARY="" \<br>
                &nbsp; -DOPENGL_glu_LIBRARY=$MESA_PATH/lib64/libGLU.so \<br>
                &nbsp; -DOPENGL_xmesa_INCLUDE_DIR=$MESA_PATH/include \<br>
                &nbsp; -DOSMESA_INCLUDE_DIR=$MESA_PATH/include \<br>
                &nbsp; -DOSMESA_LIBRARY=$MESA_PATH/lib64/libOSMesa.so \<br>
                &nbsp; -DVTK_USE_BOOST=ON \<br>
                &nbsp;
                -DBOOST_ROOT=/sw/analysis/paraview/3.14.0/sles11.1_intel11.1.038/boost_1_46_1

                \<br>
                &nbsp; -DPARAVIEW_ENABLE_PYTHON=ON \<br>
                &nbsp; -DPARAVIEW_BUILD_PLUGIN=EyeDomeLighting \<br>
                &nbsp; -DPARAVIEW_USE_VISITBRIDGE=ON \<br>
                &nbsp; -DVISIT_BUILD_READER_CGNS=OFF \<br>
                &nbsp; -DVISIT_BUILD_READER_Silo=OFF \<br>
                &nbsp; $PV_SOURCES</tt>
              <div>
                <div class="h5"><br>
                  <br>
                  <br>
                  <br>
                  <br>
                  On 07/27/2012 09:12 AM, Ganesh Vijayakumar wrote: </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">hi!
                    <div><br>
                    </div>
                    <div>&nbsp;&nbsp;I want to get Paraview installed on an SGI
                      system with MPT. I ran into this thread.&nbsp;</div>
                    <div><br clear="all">
                      <div><a moz-do-not-send="true"
href="http://article.gmane.org/gmane.comp.science.paraview.user/11954/match=sgi+mpt"
                          target="_blank">http://article.gmane.org/gmane.comp.science.paraview.user/11954/match=sgi+mpt</a></div>
                      <div><br>
                      </div>
                      <div>Could some one please tell me where I can
                        change the settings to link using "-lmpi" and
                        also the the compile flags that Pratik talks
                        about here</div>
                      <div><br>
                      </div>
                      <div><a moz-do-not-send="true"
                          href="http://www.paraview.org/pipermail/paraview/2011-April/021218.html"
                          target="_blank">http://www.paraview.org/pipermail/paraview/2011-April/021218.html</a></div>
                      <div><br>
                      </div>
                      <div><span style="font-family: arial,sans-serif;
                          font-size: 12.5px; border-collapse: collapse;
                          color: rgb(34, 34, 34);">
                          <div>A grep on MPI_COMPILE_FLAGS gives me this</div>
                          <div><br>
                          </div>
                          <div>
                            <div><a moz-do-not-send="true"
href="mailto:guv106@tg-login1:/brashear/guv106/OpenFOAM/ThirdParty-2.1.x/ParaView-3.12.0"
                                target="_blank">guv106@tg-login1:/brashear/guv106/OpenFOAM/ThirdParty-2.1.x/ParaView-3.12.0</a>&gt;

                              grep -r MPI_COMPILE_FLAGS *</div>
                            <div>Plugins/SQToolkit/script/config/config-svtk-longhorn-icc.sh:

                              &nbsp; &nbsp;-DMPI_COMPILE_FLAGS:STRING=\</div>
                          </div>
                          <div><br>
                          </div>
                          <div>ganesh</div>
                        </span></div>
                    </div>
                  </div>
                </div>
                <pre><fieldset></fieldset>
_______________________________________________
Powered by <a moz-do-not-send="true" href="http://www.kitware.com" target="_blank">www.kitware.com</a>

Visit other Kitware open-source projects at <a moz-do-not-send="true" href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the ParaView Wiki at: <a moz-do-not-send="true" href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a>

Follow this link to subscribe/unsubscribe:
<a moz-do-not-send="true" href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a>
</pre>
              </blockquote>
              <br>
            </div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        ganesh<br>
        <br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>