4be24521aa
Minor mod to the ompi layer to use the new #define's - just one-line name replacements. This commit was SVN r21144.
21 строка
392 B
C
21 строка
392 B
C
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <unistd.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(ORTE_PROC_TOOL))) {
|
|
fprintf(stderr, "couldn't init orte - error code %d\n", rc);
|
|
return rc;
|
|
}
|
|
sleep(1);
|
|
orte_finalize();
|
|
|
|
return 0;
|
|
}
|