[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Condor-users] Condor job goes in suspended mode if C program contains Sleep statements
- Date: Wed, 25 May 2011 10:32:44 +0530
- From: Raman Sehgal <sc.ramansehgal@xxxxxxxxx>
- Subject: [Condor-users] Condor job goes in suspended mode if C program contains Sleep statements
Hello Condor users,
I have written a very simple C program that will print
some message and then sleep for one second.
But when i submit this job using Condor then
my all the jobs goes to Suspended mode. I dont know
why ?
So i want to know is there any restriction in Condor that we
can submit batch jobs which containing sleep statements.
or is there any other solution so that this job executes properly
My program is as below:
#include<stdio.h>
#include<unistd.h>
int main()
{
int i=0;
for(i=0;i<10;i++)
{
printf("Testing Sleep\n");
sleep(1);
}
return 0;
}
Regards,
Raman Sehgal