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: b...@lanl.gov<mailto:b...@lanl.gov>, kash...@qwest.net<mailto:kash...@qwest.net> <> <>Voice: 505-667-8812 <> Fax: 505-665-5926 <> <> Home: 505-988-7332 <> Cell: 505-795-5581 <> =======================================================================73
_______________________________________________ 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