From MetaComputing -- MRA Meeting Part I:Concepts and Issues Tutorial for CRPC MRA Meeting at Cornell -- May 7 1996. byMark Baker, Geoffrey Fox
#define NNODES 4
#include <stdio.h>
int node(int taskId) {
printf("Hello from task %d.\n", taskId) ;
return 0 ;
}
void real_main()
{
int i ;
for (i = 0 ; i < NNODES ; i++)
eval("worker", node(i)) ;
}
Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.