[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.2b1-14-g7bb8bd5

Service Account noreply at mpich.org
Wed Mar 25 16:34:36 CDT 2015

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MPICH primary repository".

The branch, master has been updated
       via  7bb8bd5987fc18074ffd2f8424dbfd87b477af12 (commit)
      from  cc663e7622ea5317db959b8bc2994ea72042beeb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit 7bb8bd5987fc18074ffd2f8424dbfd87b477af12
Author: Ken Raffenetti <raffenet at mcs.anl.gov>
Date:   Wed Mar 25 15:48:13 2015 -0500

    gforker: implement PMI_Abort handler
    Since [b1e89abf], PMI_Abort sends an abort command to the PMI server
    and relies on it to cleanup the application. In the case of gforker,
    nothing was done with this command, leaving the PMI client hanging
    waiting for a response. Gforker will now exit with the requested abort
    code upon receiving the command. Fixes #2249
    Signed-off-by: Huiwei Lu <huiweilu at mcs.anl.gov>

diff --git a/src/pm/util/pmiserv.c b/src/pm/util/pmiserv.c
index ccd96be..e0c180e 100644
--- a/src/pm/util/pmiserv.c
+++ b/src/pm/util/pmiserv.c
@@ -412,6 +412,14 @@ static int fPMI_Handle_finalize( PMIProcess *pentry )
 static int fPMI_Handle_abort( PMIProcess *pentry )
+    char exitcodestr[MAXVALLEN];
+    int  exitcode = 1; /* non-zero default */
+    exitcode = atoi(PMIU_getval( "exitcode", exitcodestr, MAXVALLEN ));
+    exit(exitcode);
+    /* should never reach here */
     return 1;


Summary of changes:
 src/pm/util/pmiserv.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

MPICH primary repository

More information about the commits mailing list