[torqueusers] Question about the difference between a node where pbs_server is run and a compute node
Ken Nielson
knielson at adaptivecomputing.com
Wed Jun 2 08:49:16 MDT 2010
Bas,
Here is my code.
#include <stdio.h>
#include <unistd.h>
#include <pbs_ifl.h>
main()
{
char *server_name;
int c;
server_name = pbs_default();
printf("server name = %s\n", server_name);
c = pbs_connect(server_name);
printf("pbs_connect: %d\n", c);
printf("Sleeping 60 seconds\n");
for ( c=0; c < 61; c++)
{
printf(".");
sleep(1);
}
printf("\n");
}
Ken
More information about the torqueusers
mailing list