<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 12px; font-family: Courier, sans-serif;">
<div>
<div>
<div>I’m using cmake/2.8.10.2 to do an mpi build on the cray, and cmake fails to find the MPI_C_INCLUDE_PATH and the MPI_C_LIBRARIES.  It also seems to ignore my specification of the gcc and g++ compilers.  Attached below is my ccmake command line.  I’m guessing
 that ccmake fails to find the MPI goods because in this environment there is neither an ‘mpirun’ nor an ‘mpiexec’ command (instead the cray system is using /usr/bin/aprun).  Does anyone have a simple workaround?  Just hoping.  Thanks, b.</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>ccmake2.8 \</div>
<div>-D BUILD_FORTRAN_COPROCESSING_ADAPTORS:BOOL=ON \</div>
<div>-D BUILD_PAGOSA_COPROCESSING_ADAPTORS:BOOL=ON \</div>
<div>-D BUILD_SHARED_LIBS:BOOL=ON \</div>
<div>-D BUILD_TESTING:BOOL=OFF \</div>
<div>-D CMAKE_BUILD_TYPE:STRING=Release \</div>
<div>-D CMAKE_C_COMPILER:FILEPATH=/opt/gcc/4.7.2/bin/gcc \</div>
<div>-D CMAKE_CXX_COMPILER:FILEPATH=/opt/gcc/4.7.2/bin/g++ \</div>
<div>-D CMAKE_C_FLAGS:STRING=-fPIC \</div>
<div>-D CMAKE_CXX_FLAGS:STRING=-fPIC \</div>
<div>-D CMAKE_Fortran_COMPILER:FILEPATH=/opt/gcc/4.7.2/bin/gfortran \</div>
<div>-D CMAKE_INSTALL_PREFIX:PATH=/usr/projects/pv_dev/PV-3.98.1-CM \</div>
<div>-D OPENGL_gl_LIBRARY:FILEPATH= \</div>
<div>-D OPENGL_glu_LIBRARY:FILEPATH= \</div>
<div>-D OPENGL_INCLUDE_DIR:PATH= \</div>
<div>-D OSMESA_INCLUDE_DIR:PATH=/usr/projects/pv_dev/OSMesa-9.0.1/include \</div>
<div>-D OSMESA_LIBRARY:FILEPATH=/usr/projects/pv_dev/OSMesa-9.0.1/lib/libOSMesa.so \</div>
<div>-D PARAVIEW_BUILD_QT_GUI:BOOL=OFF \</div>
<div>-D PARAVIEW_ENABLE_COPROCESSING:BOOL=ON \</div>
<div>-D PARAVIEW_ENABLE_PYTHON:BOOL=ON \</div>
<div>-D PARAVIEW_USE_MPI:BOOL=ON \</div>
<div>-D PYTHON_EXECUTABLE:FILEPATH=/usr/projects/pv_dev/Python-2.7.4/bin/python \</div>
<div>-D PYTHON_INCLUDE_DIR:PATH=/usr/projects/pv_dev/Python-2.7.4/include/python2.7 \</div>
<div>-D PYTHON_LIBRARY:FILEPATH=/usr/projects/pv_dev/Python-2.7.4/lib/libpython2.7.so \</div>
<div>-D QT_QMAKE_EXECUTABLE:FILEPATH=/usr/projects/pv_dev/Qt-4.8.4/bin/qmake \</div>
<div>-D VTK_OPENGL_HAS_OSMESA:BOOL=ON \</div>
<div>-D VTK_USE_X:BOOL=OFF \</div>
<div>-D VTK_MPIRUN_EXE:FILEPATH=/usr/bin/aprun \</div>
<div> ../ParaView-3.98.1-source</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>The foregoing ccmake command works just fine with openmpi, which uses ../mpirun instead of ../aprun</div>
<div><br>
</div>
<div><span class="Apple-style-span" style="font-family: Courier;">=======================================================================73</span><span class="Apple-style-span" style="font-family: Courier;"><br>
</span><span class="Apple-style-span" style="font-family: Courier;"><>Bucky Kashiwa PhD, PE  <> Post: MS B216, Los Alamos, NM  87545       <></span><span class="Apple-style-span" style="font-family: Courier;"><br>
</span><span class="Apple-style-span" style="font-family: Courier;"><>  Ofc: TA3-SM123-RM276 <>Email: <a href="mailto:bak@lanl.gov">bak@lanl.gov</a>, <a href="mailto:kashiwa@qwest.net">kashiwa@qwest.net</a>      <></span><span class="Apple-style-span" style="font-family: Courier;"><br>
</span><span class="Apple-style-span" style="font-family: Courier;"><>Voice: 505-667-8812    <>  Fax: 505-665-5926  <> </span><span class="Apple-style-span" style="font-family: Courier;"><br>
</span><span class="Apple-style-span" style="font-family: Courier;">                         <> Home: 505-988-7332  <> Cell: 505-795-5581  <></span><span class="Apple-style-span" style="font-family: Courier;"><br>
</span><span class="Apple-style-span" style="font-family: Courier;">=======================================================================73</span></div>
</div>
</div>
</body>
</html>