[Paraview] openmpi compilation

Michele Vascellari michele.vascellari at gmail.com
Mon Nov 19 05:47:25 EST 2007


Dear paraview user and developers!

I'd like to compile the 3.2 version of paraview with the support for
parallel processing using openmpi libraries:

Since my distro (debian testing) has a newer version of qt4 libraries, I
have compiled the 4.2 version of Qt, installing them in the default path
/usr/local/Trolltech/Qt-4.2.3.

Configuring paraview with ccmake, I set:

QT_QMAKE_EXECUTABLE = /usr/local/Trolltech/Qt-4.2.3/bin/qmake (instead of
/usr/bin/qmake-qt4)

I have modified also:

PARAVIEW_ENABLE_PYTHON = ON
PARAVIEW_USE_MPI = ON

The path for mpi library (openmpi) is:
MPI_LIBRARY=/usr/lib/libmpi.so
MPI_EXTRA_LIBRARY= NOTHING

After running the configuration command, I obtain the following error during
make compilation:

Scanning dependencies of target QVTK
[ 22%] Building CXX object
VTK/GUISupport/Qt/CMakeFiles/QVTK.dir/vtkEventQtSlotConnect.o
[ 22%] Building CXX object
VTK/GUISupport/Qt/CMakeFiles/QVTK.dir/QVTKWidget.o
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:
In member function 'void QVTKWidget::x11_setup_window()':
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1305:
error: 'XVisualInfo' was not declared in this scope
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1305:
error: 'vi' was not declared in this scope
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1306:
error: 'Colormap' was not declared in this scope
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1306:
error: expected `;' before 'cmap'
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1342:
error: 'XSetWindowAttributes' was not declared in this scope
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1342:
error: expected `;' before 'attrib'
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1343:
error: 'attrib' was not declared in this scope
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1343:
error: 'cmap' was not declared in this scope
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1344:
error: 'DefaultScreen' was not declared in this scope
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1344:
error: 'BlackPixel' was not declared in this scope
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1346:
error: 'Window' was not declared in this scope
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1346:
error: expected `;' before 'p'
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1349:
error: 'p' was not declared in this scope
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1352:
error: 'XWindowAttributes' was not declared in this scope
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1352:
error: expected `;' before 'a'
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1353:
error: 'a' was not declared in this scope
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1353:
error: 'XGetWindowAttributes' was not declared in this scope
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1355:
error: expected `;' before 'win'
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1360:
error: 'cmw' was not declared in this scope
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1361:
error: 'cmwret' was not declared in this scope
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1363:
error: 'XGetWMColormapWindows' was not declared in this scope
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1365:
error: expected type-specifier before 'Window'
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1365:
error: expected `;' before 'Window'
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1367:
error: 'XFree' was not declared in this scope
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1373:
error: 'win' was not declared in this scope
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1379:
error: 'win' was not declared in this scope
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1385:
error: expected type-specifier before 'Window'
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1385:
error: expected `;' before 'Window'
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1386:
error: 'win' was not declared in this scope
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1391:
error: 'win' was not declared in this scope
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1394:
error: 'XSetWMColormapWindows' was not declared in this scope
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1396:
error: type '<type error>' argument given to 'delete', expected pointer
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1397:
error: 'XFree' was not declared in this scope
/home/michele/stuff/paraview/ParaView3.2/VTK/GUISupport/Qt/QVTKWidget.cxx:1399:
error: 'XFlush' was not declared in this scope
make[2]: *** [VTK/GUISupport/Qt/CMakeFiles/QVTK.dir/QVTKWidget.o] Error 1
make[1]: *** [VTK/GUISupport/Qt/CMakeFiles/QVTK.dir/all] Error 2
make: *** [all] Error 2

Any ideas about these errors?

Michele
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20071119/25c1be61/attachment.htm


More information about the ParaView mailing list