Package: libvtk6.1
Severity: normal
Tags: patch

Dear Maintainer,

VTK currently builds in serial mode. To unlock the capabilities offered by MPI
(like parallel I/O), we need to depend on hdf5-mpi-dev (instead of hdf5-dev)
and use the MPI compilers to build VTK. (We already depend on MPI for another
reason.)

The attached patch takes care of that.



-- System Information:
Debian Release: jessie/sid
  APT prefers vivid-updates
  APT policy: (500, 'vivid-updates'), (500, 'vivid-security'), (500, 'vivid'), 
(100, 'vivid-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.19.0-18-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff --git a/debian/control b/debian/control
index dd92e6d..6b0986e 100644
--- a/debian/control
+++ b/debian/control
@@ -30,7 +30,7 @@ Build-Depends: chrpath,
                libgl2ps-dev,
                libglew-dev,
                libglu1-mesa-dev | libglu-dev,
-               libhdf5-dev,
+               libhdf5-mpi-dev,
                libjpeg-dev,
                libjsoncpp-dev,
                libmrmpi-dev,
diff --git a/debian/rules b/debian/rules
index c36d893..5f69f91 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,8 @@ export JAVA_HOME=/usr/lib/jvm/default-java
 
 extra_flags +=  \
   -DCMAKE_VERBOSE_MAKEFILE=ON \
+	-DCMAKE_C_COMPILER=mpicc \
+	-DCMAKE_CXX_COMPILER=mpic++ \
 	-DBUILD_DOCUMENTATION=ON \
 	-DBUILD_EXAMPLES=ON \
 	-DBUILD_SHARED_LIBS=ON \
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to