1
1
Ralph Castain 51efaff00f Move the name server test directory to new location.
This commit was SVN r1583.
2004-07-07 23:11:22 +00:00

24 строки
412 B
C

#include <stdio.h>
#include "ns/name_server.h"
int main(int argc, char **argv)
{
int i;
uint32_t *foo;
ompi_process_name_t j;
foo = (uint32_t*) &j;
for (i=0; i<30; i++) {
j = ompi_process_name_new();
fprintf(stderr, "name: %x %x\n", foo[0], foo[1]);
}
for (i=0; i<3; i++) {
j = ompi_process_name_get_range(30000);
fprintf(stderr, "range name: %x %x\n", foo[0], foo[1]);
}
}