Am 27.07.2011 um 12:19 schrieb Carlos Scaloni:

> I think the problem is that SGE doesn't find the program hello in my home... 
> hello is in another directory!
> 
> In the script file I put: ./hello 

Well, if it's in another directory you might need -cwd or specify an absolute 
path to the binary, but I wonder why there was no error output.

-- Reuti


> 2011/7/27 Carlos Scaloni <[email protected]>
> I don't have any message of error during the compilation!!
> 
> I see the "ps -e f" and I never see the hello program....
> 
> I changed the value to another valid value and the result is the same.... 
> It's very rare!
> I only see running the sleep :(
> 
> 2011/7/26 Reuti <[email protected]>
> 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