590ac70e88
This commit was SVN r25007.
31 строка
541 B
C
31 строка
541 B
C
/* -*- C -*-
|
|
*
|
|
* $HEADER$
|
|
*
|
|
* Check error messages
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
#include <unistd.h>
|
|
|
|
#include "orte/runtime/runtime.h"
|
|
#include "orte/mca/errmgr/errmgr.h"
|
|
|
|
int main(int argc, char* argv[])
|
|
{
|
|
|
|
int rc, i;
|
|
|
|
if (0 > (rc = orte_init(&argc, &argv, ORTE_PROC_NON_MPI))) {
|
|
fprintf(stderr, "orte_abort: couldn't init orte - error code %d\n", rc);
|
|
return rc;
|
|
}
|
|
|
|
for (i=0; ORTE_ERR_MAX < i; i--) {
|
|
fprintf(stderr, "%d: %s\n", -1*i, ORTE_ERROR_NAME(i));
|
|
}
|
|
|
|
orte_finalize();
|
|
return 0;
|
|
}
|