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

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> grep -r MPI_COMPILE_FLAGS * Plugins/SQToolkit/script/config/config-svtk-longhorn-icc.sh: -DMPI_COMPILE_FLAGS:STRING=\

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