Am 26.07.2011 um 23:20 schrieb Carlos Scaloni:

> Ok. I put a sleep of 30 seconds!
> 
> [carlos@proyecto-192 c]$ cat orden.sh 
> #!/bin/bash
> ./hello
> sleep 30
> 
> ps -e f
> 
> 1601 ?        Sl     0:01 /usr/global/sge-6.2u5-bin/bin/lx24-amd64/sge_execd
>  2184 ?        S      0:00  \_ sge_shepherd-15 -bg
>  2185 ?        Ss     0:00      \_ -csh 
> /usr/global/sge-6.2u5-bin/default/spool/proyecto-10/proyecto-192/job_scripts/15
>  2202 ?        S      0:00          \_ sleep 30

Fine.


> But i think there's a problem because the hello program has a large duration!
> 
> cat hello.c
> #include <stdio.h>
> main()
> {
> int i;
> for (i=0; i<9999999999; i++){
>         printf("I= %d\n",i);
>     }
> }
> 
> It ends very fast....

Did you get any error message during compilation? For a 32 bit system the value 
is too largs.

And you got a large output file?

-- Reuti
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to