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