2007-04-04 21:02:18 +00:00
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
2007-05-29 16:22:50 +00:00
|
|
|
#include <unistd.h>
|
2007-04-04 21:02:18 +00:00
|
|
|
|
2009-12-04 04:31:06 +00:00
|
|
|
#include "orte/constants.h"
|
|
|
|
|
2009-05-04 11:07:40 +00:00
|
|
|
#include "orte/util/proc_info.h"
|
2007-04-04 21:02:18 +00:00
|
|
|
#include "orte/runtime/runtime.h"
|
|
|
|
|
2015-06-23 20:59:57 -07:00
|
|
|
int main( int argc, char **argv )
|
2007-04-04 21:02:18 +00:00
|
|
|
{
|
|
|
|
int rc;
|
2015-06-23 20:59:57 -07:00
|
|
|
|
2009-12-04 04:31:06 +00:00
|
|
|
if (ORTE_SUCCESS != (rc = orte_init(&argc, &argv, ORTE_PROC_NON_MPI))) {
|
2007-04-04 21:02:18 +00:00
|
|
|
fprintf(stderr, "couldn't init orte - error code %d\n", rc);
|
|
|
|
return rc;
|
|
|
|
}
|
|
|
|
sleep(1);
|
|
|
|
orte_finalize();
|
2015-06-23 20:59:57 -07:00
|
|
|
|
2007-04-04 21:02:18 +00:00
|
|
|
return 0;
|
|
|
|
}
|