Bucky, Like Jean, suggests, FindMPI can be tricky. It's easier to just manually specify allt he MPI_<LANG>_<TYPE> flags explicitly. Let's start there. If FindMPI still ends up messing up the variables you set, can you force FindMPI to not do "interrogation" by adding the following variables.
-D MPI_C_NO_INTERROGATE:STRING=<same value as MPI_C_COMPILER> -D MPI_CXX_NO_INTERROGATE:STRING=<same value as MPI_CXX_COMPILER> -D MPI_Fortran_NO_INTERROGATE:STRING=<same value as MPI_Fortran_COMPILER> Utkarsh On Tue, Jul 1, 2014 at 4:32 AM, Favre Jean <[email protected]> wrote: > We're running ParaView on our Cray XC30, with GPU rendering > > here's my cmake line: > > cmake -DMPI_C_COMPILER=/opt/cray/craype/2.1.0/bin/cc > -DMPI_CXX_COMPILER=/opt/cray/craype/2.1.0/bin/CC > -DMPI_CXX_LIBRARIES="/opt/cray/mpt/6.3.0/gni/mpich2-gnu/48/lib/libmpichcxx.so" > -DMPI_C_LIBRARIES="/opt/cray/mpt/6.3.0/gni/mpich2-gnu/48/lib/libmpich.so" > -DMPI_C_LINK_FLAGS="-L/opt/cray/libsci/12.2.0/GNU/48/sandybridge/lib > -L/opt/cray/mpt/6.3.0/gni/mpich2-gnu/48/lib -L/opt/cray/atp/1.7.1/lib" > -DMPI_CXX_LINK_FLAGS="-L/opt/cray/libsci/12.2.0/GNU/48/sandybridge/lib > -L/opt/cray/mpt/6.3.0/gni/mpich2-gnu/48/lib -L/opt/cray/atp/1.7.1/lib" > -DMPI_C_INCLUDE_PATH=/opt/cray/mpt/6.3.0/gni/mpich2-gnu/48/include > -DMPI_CXX_INCLUDE_PATH=/opt/cray/mpt/6.3.0/gni/mpich2-gnu/48/include > -DCMAKE_C_COMPILER=/opt/gcc/4.8.2/bin/gcc > -DCMAKE_CXX_COMPILER=/opt/gcc/4.8.2/bin/g++ -DBUILD_TESTING=OFF > -DPARAVIEW_ENABLE_CATALYST=OFF -DVTK_COSMO_USE_MPI=OFF > -DPARAVIEW_BUILD_PLUGIN_SierraPlotTools=OFF > -DPARAVIEW_BUILD_PLUGIN_UncertaintyRendering=OFF > -DPARAVIEW_BUILD_PLUGIN_SciberQuestToolKit=OFF -DPARAVIEW_BUILD_PLUGI N_ > QuadView=OFF -DCMAKE_BUILD_TYPE=Release > -DCMAKE_EXE_LINKER_FLAGS_RELEASE=-Wl,-rpath,/opt/cray/nvidia/default/lib64 > -L/opt/cray/nvidia/default/lib64 -DPARAVIEW_ENABLE_PYTHON=ON > -DPARAVIEW_USE_MPI=ON -DCMAKE_INSTALL_PREFIX=/apps/santis/ParaView/4.1 > -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON > -DBUILD_SHARED_LIBS=ON -DOPENGL_INCLUDE_DIR=/opt/cray/nvidia/default/include > -DOPENGL_gl_LIBRARY=/opt/cray/nvidia/default/lib64/libGL.so > -DQT_QMAKE_EXECUTABLE=/apps/santis/Qt/4.8.5_gcc482/bin/qmake > /apps/santis/ParaView/src/ParaView-v4.1.0 > > hope this helps. > > ----------------- > Jean M. Favre > Swiss National Supercomputing Center > CH-6900 Lugano > Switzerland > > > _______________________________________________ > 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://public.kitware.com/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://public.kitware.com/mailman/listinfo/paraview
