[Paraview] openmpi compilation

Kevin H. Hobbs hobbsk at ohiou.edu
Mon Nov 19 10:02:34 EST 2007


On Mon, 2007-11-19 at 11:47 +0100, Michele Vascellari wrote:
> 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.

I build ParaView nightly with the same non system Qt, and OpenMPI. I set
a few variables in my ~/.bash_profile that help CMake find QT:

	QT423=/opt/qt-4.2.3
	PATH=$QT423/bin:$PATH
	export PATH
	CMAKE_LIBRARY_PATH=$QT423/lib:$CMAKE_LIBRARY_PATH
	export CMAKE_LIBRARY_PATH
	CMAKE_INCLUDE_PATH=$QT423/include:$CMAKE_INCLUDE_PATH
	export CMAKE_INCLUDE_PATH
	
I also set the CMake initial path with:
	CMAKE_C_FLAGS:STRING=-I/usr/include/openmpi/openmpi/
	CMAKE_CXX_FLAGS:STRING=-I/usr/include/openmpi/openmpi/
	PARAVIEW_USE_MPI:BOOL=ON
	MPI_INCLUDE_PATH:PATH=/usr/include/openmpi
	MPI_LIBRARY:FILEPATH=/usr/lib64/openmpi/libmpi_cxx.so;/usr/lib64/openmpi/libmpi.so


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://public.kitware.com/pipermail/paraview/attachments/20071119/5efaf98d/attachment.pgp


More information about the ParaView mailing list