root/orte/test/system/orte_loop_child.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. main

   1 #include <stdlib.h>
   2 #include <stdio.h>
   3 #include <unistd.h>
   4 
   5 #include "orte/constants.h"
   6 
   7 #include "orte/util/proc_info.h"
   8 #include "orte/runtime/runtime.h"
   9 
  10 int main( int argc, char **argv )
  11 {
  12     int rc;
  13 
  14     if (ORTE_SUCCESS != (rc = orte_init(&argc, &argv, ORTE_PROC_NON_MPI))) {
  15         fprintf(stderr, "couldn't init orte - error code %d\n", rc);
  16         return rc;
  17     }
  18     sleep(1);
  19     orte_finalize();
  20 
  21     return 0;
  22 }

/* [<][>][^][v][top][bottom][index][help] */