Package: blacs-mpi
Version: 1.1-33.1
Severity: wishlist
Tags: patch

Hi,

while blacs ships a package with the test suite, I think it is crucial
to also run the test suite during package build in order to catch issues
on unpopular architectures for example.

One issue is that you need at least 4 processes, but the test suite is
rather quick (at least on my notebook) so I think it should be
tolerable.

To enable, you need to add mpi-default-bin to debian/control.in and
something like the following (I put it at the of build-stamp-*):

ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
        -(cd TESTING/EXE && mpirun -np 4 ./xFbtest_MPI-LINUX-0-static-openmpi)
        -(cd TESTING/EXE && mpirun -np 4 ./xFbtest_MPI-LINUX-0-shared-openmpi)
        -(cd TESTING/EXE && mpirun -np 4 ./xCbtest_MPI-LINUX-0-static-openmpi)
        -(cd TESTING/EXE && mpirun -np 4 ./xCbtest_MPI-LINUX-0-shared-openmpi)
endif

Ignoring errors is required for openmpi at least cause the test suite
seems to make an abort test at the end which results in an exit code
other than zero for me.


Michael

Reply via email to