[Paraview] CRAY building with cray-mpich2
Kashiwa, Bucky
bak at lanl.gov
Mon Jun 30 14:00:04 EDT 2014
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.
ccmake2.8 \
-D BUILD_FORTRAN_COPROCESSING_ADAPTORS:BOOL=ON \
-D BUILD_PAGOSA_COPROCESSING_ADAPTORS:BOOL=ON \
-D BUILD_SHARED_LIBS:BOOL=ON \
-D BUILD_TESTING:BOOL=OFF \
-D CMAKE_BUILD_TYPE:STRING=Release \
-D CMAKE_C_COMPILER:FILEPATH=/opt/gcc/4.7.2/bin/gcc \
-D CMAKE_CXX_COMPILER:FILEPATH=/opt/gcc/4.7.2/bin/g++ \
-D CMAKE_C_FLAGS:STRING=-fPIC \
-D CMAKE_CXX_FLAGS:STRING=-fPIC \
-D CMAKE_Fortran_COMPILER:FILEPATH=/opt/gcc/4.7.2/bin/gfortran \
-D CMAKE_INSTALL_PREFIX:PATH=/usr/projects/pv_dev/PV-3.98.1-CM \
-D OPENGL_gl_LIBRARY:FILEPATH= \
-D OPENGL_glu_LIBRARY:FILEPATH= \
-D OPENGL_INCLUDE_DIR:PATH= \
-D OSMESA_INCLUDE_DIR:PATH=/usr/projects/pv_dev/OSMesa-9.0.1/include \
-D OSMESA_LIBRARY:FILEPATH=/usr/projects/pv_dev/OSMesa-9.0.1/lib/libOSMesa.so \
-D PARAVIEW_BUILD_QT_GUI:BOOL=OFF \
-D PARAVIEW_ENABLE_COPROCESSING:BOOL=ON \
-D PARAVIEW_ENABLE_PYTHON:BOOL=ON \
-D PARAVIEW_USE_MPI:BOOL=ON \
-D PYTHON_EXECUTABLE:FILEPATH=/usr/projects/pv_dev/Python-2.7.4/bin/python \
-D PYTHON_INCLUDE_DIR:PATH=/usr/projects/pv_dev/Python-2.7.4/include/python2.7 \
-D PYTHON_LIBRARY:FILEPATH=/usr/projects/pv_dev/Python-2.7.4/lib/libpython2.7.so \
-D QT_QMAKE_EXECUTABLE:FILEPATH=/usr/projects/pv_dev/Qt-4.8.4/bin/qmake \
-D VTK_OPENGL_HAS_OSMESA:BOOL=ON \
-D VTK_USE_X:BOOL=OFF \
-D VTK_MPIRUN_EXE:FILEPATH=/usr/bin/aprun \
../ParaView-3.98.1-source
The foregoing ccmake command works just fine with openmpi, which uses ../mpirun instead of ../aprun
=======================================================================73
<>Bucky Kashiwa PhD, PE <> Post: MS B216, Los Alamos, NM 87545 <>
<> Ofc: TA3-SM123-RM276 <>Email: bak at lanl.gov<mailto:bak at lanl.gov>, kashiwa at qwest.net<mailto:kashiwa at qwest.net> <>
<>Voice: 505-667-8812 <> Fax: 505-665-5926 <>
<> Home: 505-988-7332 <> Cell: 505-795-5581 <>
=======================================================================73
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20140630/d4d1c3c4/attachment-0001.html>
More information about the ParaView
mailing list