root/orte/test/system/orte_no_op.c

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

DEFINITIONS

This source file includes following definitions.
  1. main

   1 /* -*- C -*-
   2  *
   3  * $HEADER$
   4  *
   5  * The most basic of applications
   6  */
   7 
   8 #include <stdio.h>
   9 #include "orte/constants.h"
  10 #include "orte/runtime/runtime.h"
  11 
  12 int main(int argc, char* argv[])
  13 {
  14     if (ORTE_SUCCESS != orte_init(&argc, &argv, ORTE_PROC_NON_MPI)) {
  15         fprintf(stderr, "Failed orte_init\n");
  16         exit(1);
  17     }
  18 
  19     if (ORTE_SUCCESS != orte_finalize()) {
  20         fprintf(stderr, "Failed orte_finalize\n");
  21         exit(1);
  22     }
  23     return 0;
  24 }

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