5dc4a2b1e0
This commit was SVN r20603.
25 строки
447 B
C
25 строки
447 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(ORTE_NON_TOOL)) {
|
|
fprintf(stderr, "Failed orte_init\n");
|
|
exit(1);
|
|
}
|
|
|
|
if (ORTE_SUCCESS != orte_finalize()) {
|
|
fprintf(stderr, "Failed orte_finalize\n");
|
|
exit(1);
|
|
}
|
|
return 0;
|
|
}
|