[petsc] 01/01: add flag to allow build-time testing with MPI in a chroot

Drew Parsons dparsons at moszumanska.debian.org
Fri Oct 9 16:02:19 UTC 2015


This is an automated email from the git hooks/post-receive script.

dparsons pushed a commit to branch master
in repository petsc.

commit d61a829da98ad27e967ee8df9af62b746830758e
Author: Drew Parsons <dparsons at debian.org>
Date:   Fri Oct 9 23:57:15 2015 +0800

    add flag to allow build-time testing with MPI in a chroot
    
    export OMPI_MCA_orte_rsh_agent=/bin/false
    
    Without this flag, testing fails when building in chroot (sbuild or
    pbuilder), giving errors like:
    
    Possible error running C/C++ src/snes/examples/tutorials/ex19 with 1 MPI process
    See http://www.mcs.anl.gov/petsc/documentation/faq.html
    [schumann:13424] [[INVALID],INVALID] ORTE_ERROR_LOG: Not found in file ess_hnp_module.c at line 170
    --------------------------------------------------------------------------
    It looks like orte_init failed for some reason; your parallel process is
    likely to abort.  There are many reasons that a parallel process can
    fail during orte_init; some of which are due to configuration or
    environment problems.  This failure appears to be an internal failure;
    here's some additional information (which may only be relevant to an
    Open MPI developer):
    
      orte_plm_base_select failed
      --> Returned value Not found (-13) instead of ORTE_SUCCESS
    --------------------------------------------------------------------------
    
    Thanks to Johannes Ring from simula.no for identifying the flag.
---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index 098fe61..a5750b9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,6 +37,9 @@ include /usr/share/mpi-default-dev/debian_defaults
 PETSC_MPI=$(ARCH_DEFAULT_MPI_IMPL)
 PETSC_MPI_DIR=/usr/lib/$(PETSC_MPI)
 
+# facilitate build-time testing (invoking OpenMPI) when building in a chroot (pbuilder or sbuild)
+export OMPI_MCA_orte_rsh_agent=/bin/false
+
 PETSC_HDF5_FLAGS=$(shell if [ -e /usr/lib/libhdf5.so ]; then echo "--with-hdf5=1 --with-hdf5-dir=/usr"; fi)
 
 PETSC_BUILD_DIR=$(PETSC_ARCH)-real

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/petsc.git



More information about the debian-science-commits mailing list