This source file includes following definitions.
- main
   1 
   2 
   3 
   4 
   5 
   6 
   7 
   8 #include <stdio.h>
   9 #include <unistd.h>
  10 
  11 #include "orte/runtime/runtime.h"
  12 #include "orte/mca/errmgr/errmgr.h"
  13 
  14 int main(int argc, char* argv[])
  15 {
  16 
  17     int rc, i;
  18 
  19     putenv("OMPI_MCA_orte_report_silent_errors=1");
  20 
  21     if (0 > (rc = orte_init(&argc, &argv, ORTE_PROC_NON_MPI))) {
  22         fprintf(stderr, "orte_abort: couldn't init orte - error code %d\n", rc);
  23         return rc;
  24     }
  25 
  26     for (i=0; ORTE_ERR_MAX < i; i--) {
  27         fprintf(stderr, "%d: %s\n", -1*i,
  28                 (NULL == ORTE_ERROR_NAME(i)) ? "NULL" : ORTE_ERROR_NAME(i));
  29     }
  30 
  31     orte_finalize();
  32     return 0;
  33 }