<div dir="ltr">Hi Bucky,<br><br>Attached is a CMakeCache.txt for Hopper@NERSC. It may be a bit outdated but I know it worked at one point. You can check it out for the MPI library specifications which can be quite hard to figure out on your own.<br>
<br>Regards,<br>Andy<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 1, 2014 at 8:56 AM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Bucky,<br>
<br>
Like Jean, suggests, FindMPI can be tricky. It's easier to just<br>
manually specify allt he MPI_<LANG>_<TYPE> flags explicitly. Let's<br>
start there. If FindMPI still ends up messing up the variables you<br>
set, can you force FindMPI to not do "interrogation" by adding the<br>
following variables.<br>
<br>
-D MPI_C_NO_INTERROGATE:STRING=<same value as MPI_C_COMPILER><br>
-D MPI_CXX_NO_INTERROGATE:STRING=<same value as MPI_CXX_COMPILER><br>
-D MPI_Fortran_NO_INTERROGATE:STRING=<same value as MPI_Fortran_COMPILER><br>
<span class="HOEnZb"><font color="#888888"><br>
Utkarsh<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Tue, Jul 1, 2014 at 4:32 AM, Favre  Jean <<a href="mailto:jfavre@cscs.ch">jfavre@cscs.ch</a>> wrote:<br>
> We're running ParaView on our Cray XC30, with GPU rendering<br>
><br>
> here's my cmake line:<br>
><br>
> 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<br>

 N_<br>
>  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<br>

><br>
> hope this helps.<br>
><br>
> -----------------<br>
> Jean M. Favre<br>
> Swiss National Supercomputing Center<br>
> CH-6900 Lugano<br>
> Switzerland<br>
><br>
><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> 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><br>
><br>
> 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><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
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><br>
<br>
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><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br></div>