1
1
openmpi/orte/test/system/orte_loop_child.c
Tim Prins b4e3ad8da0 Fixup tests for recent api changes
cleanup a ton of warnings, include proper files

fix orte_ring, it had a deadlock in it...

fix the abort test so it can be used with less than 4 processes

This commit was SVN r14787.
2007-05-29 16:22:50 +00:00

20 строки
386 B
C

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