[torqueusers] Question about the difference between a node where pbs_server is run and a compute node
Ken Nielson
knielson at adaptivecomputing.com
Tue Jun 1 08:16:24 MDT 2010
On 05/03/2010 05:35 AM, Bas van der Vlies wrote:
> #include<stdio.h>
> #include<unistd.h>
>
> #include<torque/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("Sleeping 60 seconds\n");
>
> for ( c=0; c< 61; c++)
> {
> printf(".");
> sleep(1);
> }
> printf("\n");
> }
>
Bas,
I finally ran your program and it ran successfully for me. I am running
against the 2.4-fixes branch.
Ken
More information about the torqueusers
mailing list