1
1
openmpi/orte/test/system/orte_no_op.c
2015-06-23 20:59:57 -07:00

25 строки
461 B
C

/* -*- C -*-
*
* $HEADER$
*
* The most basic of applications
*/
#include <stdio.h>
#include "orte/constants.h"
#include "orte/runtime/runtime.h"
int main(int argc, char* argv[])
{
if (ORTE_SUCCESS != orte_init(&argc, &argv, ORTE_PROC_NON_MPI)) {
fprintf(stderr, "Failed orte_init\n");
exit(1);
}
if (ORTE_SUCCESS != orte_finalize()) {
fprintf(stderr, "Failed orte_finalize\n");
exit(1);
}
return 0;
}