Thanks Burlen. It turned out that VTK_USE_X was still ON. It worked fine otherwise. I&#39;m now able to execute a script file with pvpython offscreen. <div><br></div><div>ganesh<br><br><div class="gmail_quote">On Tue, Aug 7, 2012 at 1:49 PM, Burlen Loring <span dir="ltr">&lt;<a href="mailto:bloring@lbl.gov" target="_blank">bloring@lbl.gov</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>

  
    
    
  
  <div bgcolor="#ffffff" text="#000000">
    Hi Ganesh,<br>
    <br>
    your error log indicates that x11 support is being referred to but
    not provided, you don&#39;t need X11 for the pvserver with OS Mesa. I&#39;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.<span class="HOEnZb"><font color="#888888"><br>
    <br>
    Burlen</font></span><div><div class="h5"><br>
    <br>
    On 08/06/2012 12:46 PM, Ganesh Vijayakumar wrote:
    <blockquote type="cite">Dear All,
      <div><br>
      </div>
      <div>  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&#39;ve attached a part of the error log.
        I&#39;ve read through this </div>
      <div><br>
      </div>
      <div><a href="http://paraview.org/Wiki/ParaView_And_Mesa_3D" target="_blank">http://paraview.org/Wiki/ParaView_And_Mesa_3D</a></div>
      <div><br>
      </div>
      <div>I&#39;m using option 2 - i.e offscreen mesa only. So I made sure </div>
      <div><br>
      </div>
      <div><span style="font-family:sans-serif;font-size:13px;line-height:19px">
          <pre style="line-height:1.1em;background-color:rgb(249,249,249);border:1px dashed rgb(47,111,171);padding: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 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 &quot;export MPI_TYPE_MAX=1000000&quot;&quot; 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 href="http://libpython2.7.so" target="_blank">libpython2.7.so</a><br>
                <br>
                cmake \<br>
                  -DCMAKE_C_COMPILER=$CC_PATH/bin/intel64/icc \<br>
                  -DCMAKE_CXX_COMPILER=$CC_PATH/bin/intel64/icpc \<br>
                  -DCMAKE_LINKER=$CC_PATH/bin/intel64/icpc \<br>
                  -DCMAKE_CXX_FLAGS=&quot;-Wno-deprecated&quot; \<br>
                  -DBUILD_TESTING=ON \<br>
                  -DBUILD_SHARED_LIBS=ON \<br>
                  -DCMAKE_BUILD_TYPE=$BUILD_TYPE \<br>
                  -DCMAKE_INSTALL_PREFIX=$SW_BLDDIR \<br>
                  -DPARAVIEW_ENABLE_PYTHON=ON \<br>
                  -DPYTHON_EXECUTABLE=$PY_EXEC \<br>
                  -DPYTHON_INCLUDE_DIR=$PY_INCL\<br>
                  -DPYTHON_LIBRARY=$PY_LIB \<br>
                  -DPARAVIEW_INSTALL_DEVELOPMENT=OFF \<br>
                  -DPARAVIEW_USE_MPI=ON \<br>
                  -DMPI_INCLUDE_PATH=$MPI_PATH/include \<br>
                  -DMPI_LIBRARY=$MPI_PATH/lib/libmpi.so \<br>
                  -DPARAVIEW_BUILD_QT_GUI=OFF \<br>
                  -DVTK_USE_X=OFF \<br>
                  -DVTK_OPENGL_HAS_OSMESA=ON \<br>
                  -DOPENGL_INCLUDE_DIR=$MESA_PATH/include \<br>
                  -DOPENGL_gl_LIBRARY=&quot;&quot; \<br>
                  -DOPENGL_glu_LIBRARY=$MESA_PATH/lib64/libGLU.so \<br>
                  -DOPENGL_xmesa_INCLUDE_DIR=$MESA_PATH/include \<br>
                  -DOSMESA_INCLUDE_DIR=$MESA_PATH/include \<br>
                  -DOSMESA_LIBRARY=$MESA_PATH/lib64/libOSMesa.so \<br>
                  -DVTK_USE_BOOST=ON \<br>
                 
                -DBOOST_ROOT=/sw/analysis/paraview/3.14.0/sles11.1_intel11.1.038/boost_1_46_1

                \<br>
                  -DPARAVIEW_ENABLE_PYTHON=ON \<br>
                  -DPARAVIEW_BUILD_PLUGIN=EyeDomeLighting \<br>
                  -DPARAVIEW_USE_VISITBRIDGE=ON \<br>
                  -DVISIT_BUILD_READER_CGNS=OFF \<br>
                  -DVISIT_BUILD_READER_Silo=OFF \<br>
                  $PV_SOURCES</tt>
              <div>
                <div><br>
                  <br>
                  <br>
                  <br>
                  <br>
                  On 07/27/2012 09:12 AM, Ganesh Vijayakumar wrote: </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div>hi!
                    <div><br>
                    </div>
                    <div>  I want to get Paraview installed on an SGI
                      system with MPT. I ran into this thread. </div>
                    <div><br clear="all">
                      <div><a 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 &quot;-lmpi&quot; and
                        also the the compile flags that Pratik talks
                        about here</div>
                      <div><br>
                      </div>
                      <div><a 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 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:

                                 -DMPI_COMPILE_FLAGS:STRING=\</div>
                          </div>
                          <div><br>
                          </div>
                          <div>ganesh</div>
                        </span></div>
                    </div>
                  </div>
                </div>
                <pre><fieldset></fieldset>
_______________________________________________
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>

Visit other Kitware open-source projects at <a 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 href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a>

Follow this link to subscribe/unsubscribe:
<a 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><fieldset></fieldset>
_______________________________________________
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>

Visit other Kitware open-source projects at <a 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 href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a>

Follow this link to subscribe/unsubscribe:
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a>
</pre>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br>ganesh<br><br>
</div>