Hi Ganesh,

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.

Burlen

On 08/06/2012 12:46 PM, Ganesh Vijayakumar wrote:
Dear All,

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

http://paraview.org/Wiki/ParaView_And_Mesa_3D

I'm using option 2 - i.e offscreen mesa only. So I made sure

  OPENGL_gl_LIBRARY =<empty>   -- *ENSURE THAT THIS IS EMPTY*.

The interesting part is that if I delete that line in my paraview compile script, the compilation goes through. Any ideas?

ganesh


On Fri, Jul 27, 2012 at 12:59 PM, Burlen Loring <blor...@lbl.gov <mailto:blor...@lbl.gov>> wrote:

    Hi Ganesh,

    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.

    Burlen

    #!/bin/bash
    BUILD_TYPE=Release

    CC_PATH=/opt/intel/Compiler/11.1/038
    MPI_PATH=/opt/sgi/mpt/mpt-2.04
    MESA_PATH=$OSMESA_ROOT

    PY_ROOT=/sw/analysis/python/2.7.1/sles11.1_intel11.1
    PY_EXEC=$PY_ROOT/bin/python
    PY_INCL=$PY_ROOT/include/python2.7
    PY_LIB=$PY_ROOT/lib/libpython2.7.so <http://libpython2.7.so>

    cmake \
      -DCMAKE_C_COMPILER=$CC_PATH/bin/intel64/icc \
      -DCMAKE_CXX_COMPILER=$CC_PATH/bin/intel64/icpc \
      -DCMAKE_LINKER=$CC_PATH/bin/intel64/icpc \
      -DCMAKE_CXX_FLAGS="-Wno-deprecated" \
      -DBUILD_TESTING=ON \
      -DBUILD_SHARED_LIBS=ON \
      -DCMAKE_BUILD_TYPE=$BUILD_TYPE \
      -DCMAKE_INSTALL_PREFIX=$SW_BLDDIR \
      -DPARAVIEW_ENABLE_PYTHON=ON \
      -DPYTHON_EXECUTABLE=$PY_EXEC \
      -DPYTHON_INCLUDE_DIR=$PY_INCL\
      -DPYTHON_LIBRARY=$PY_LIB \
      -DPARAVIEW_INSTALL_DEVELOPMENT=OFF \
      -DPARAVIEW_USE_MPI=ON \
      -DMPI_INCLUDE_PATH=$MPI_PATH/include \
      -DMPI_LIBRARY=$MPI_PATH/lib/libmpi.so \
      -DPARAVIEW_BUILD_QT_GUI=OFF \
      -DVTK_USE_X=OFF \
      -DVTK_OPENGL_HAS_OSMESA=ON \
      -DOPENGL_INCLUDE_DIR=$MESA_PATH/include \
      -DOPENGL_gl_LIBRARY="" \
      -DOPENGL_glu_LIBRARY=$MESA_PATH/lib64/libGLU.so \
      -DOPENGL_xmesa_INCLUDE_DIR=$MESA_PATH/include \
      -DOSMESA_INCLUDE_DIR=$MESA_PATH/include \
      -DOSMESA_LIBRARY=$MESA_PATH/lib64/libOSMesa.so \
      -DVTK_USE_BOOST=ON \
-DBOOST_ROOT=/sw/analysis/paraview/3.14.0/sles11.1_intel11.1.038/boost_1_46_1
    \
      -DPARAVIEW_ENABLE_PYTHON=ON \
      -DPARAVIEW_BUILD_PLUGIN=EyeDomeLighting \
      -DPARAVIEW_USE_VISITBRIDGE=ON \
      -DVISIT_BUILD_READER_CGNS=OFF \
      -DVISIT_BUILD_READER_Silo=OFF \
      $PV_SOURCES





    On 07/27/2012 09:12 AM, Ganesh Vijayakumar wrote:
    hi!

      I want to get Paraview installed on an SGI system with MPT. I
    ran into this thread.

    
http://article.gmane.org/gmane.comp.science.paraview.user/11954/match=sgi+mpt

    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

    http://www.paraview.org/pipermail/paraview/2011-April/021218.html

    A grep on MPI_COMPILE_FLAGS gives me this

    guv106@tg-login1:/brashear/guv106/OpenFOAM/ThirdParty-2.1.x/ParaView-3.12.0
    
<mailto:guv106@tg-login1:/brashear/guv106/OpenFOAM/ThirdParty-2.1.x/ParaView-3.12.0>>
    grep -r MPI_COMPILE_FLAGS *
Plugins/SQToolkit/script/config/config-svtk-longhorn-icc.sh: -DMPI_COMPILE_FLAGS:STRING=\

    ganesh


    _______________________________________________
    Powered bywww.kitware.com  <http://www.kitware.com>

    Visit other Kitware open-source projects 
athttp://www.kitware.com/opensource/opensource.html

    Please keep messages on-topic and check the ParaView Wiki 
at:http://paraview.org/Wiki/ParaView

    Follow this link to subscribe/unsubscribe:
    http://www.paraview.org/mailman/listinfo/paraview




--
ganesh


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to