1
1
openmpi/contrib/scaling/orte_no_op.c
Ralph Castain 3068438022 Add scaling tests and script
This commit was SVN r26509.
2012-05-29 15:21:44 +00:00

25 строки
465 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;
}