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

23 строки
429 B
C

#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include "orte/constants.h"
#include "orte/util/proc_info.h"
#include "orte/runtime/runtime.h"
int main( int argc, char **argv )
{
int rc;
if (ORTE_SUCCESS != (rc = orte_init(&argc, &argv, ORTE_PROC_NON_MPI))) {
fprintf(stderr, "couldn't init orte - error code %d\n", rc);
return rc;
}
sleep(1);
orte_finalize();
return 0;
}