2013-10-12 23:15:36 +04:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2012 Mellanox Technologies, Inc.
|
|
|
|
* All rights reserved.
|
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
#include "oshmem_config.h"
|
|
|
|
|
|
|
|
#include "oshmem/include/shmem.h"
|
|
|
|
#include "oshmem/runtime/runtime.h"
|
|
|
|
|
|
|
|
#include "orte/mca/errmgr/errmgr.h"
|
|
|
|
|
|
|
|
extern int inGlobalExit;
|
|
|
|
|
|
|
|
void globalexit(int status)
|
|
|
|
{
|
|
|
|
inGlobalExit++;
|
|
|
|
|
2013-10-14 13:48:35 +04:00
|
|
|
orte_errmgr.abort(status, NULL);
|
2013-10-12 23:15:36 +04:00
|
|
|
|
|
|
|
oshmem_shmem_aborted = true;
|
|
|
|
exit(status);
|
|
|
|
}
|