Hello Reuti, Yes this is correct. Output is being removed. >> It's not replaced, but removed - or? I mean the "output" is missing here. The reason i suspect it is a substitution is when i try to run the same using this script but with using the -cwd is that the output files do get generated but with the name $TASK_ID.out and $TASK_ID.err in the output directory.
#!/bin/bash #$ -N zzzz #$ -cwd #$ -o /home/user1/work/output/$TASK_ID.out #$ -e /home/user1/work/output/$TASK_ID.err #$ -t 1:1 date hostname sleep 100 stdout_path_list: NONE:NONE:/home/user1/work/output/$TASK_ID.o Rangam On Sat, Jan 18, 2014 at 9:46 AM, Reuti <[email protected]> wrote: > Hi, > > Am 18.01.2014 um 06:14 schrieb Srirangam Addepalli: > > > I see a strange problem with using OGS/GE 2011.11p1. It appears that > sge_execd is unable to get TASK_ID > > > > Following job submission script that is being used. > > > > #!/bin/bash > > #$ -N zzzz > > #$ -o /home/user1/work/output/$TASK_ID.out > > #$ -e /home/user1/work/output/$TASK_ID.err > > #$ -t 1:1 > > date > > hostname > > sleep 100 > > > > How ever the output is generated in /home/user1/work/.Looking at the log > files in active_jobs config file looks like this > > > > config:stdout_path=/home/user1/work//1.o > > config:stderr_path=/home/user1/work//1.err > > > > I appears that the $ somehow is replacing the last subdirectory because > of some substitution or some sort of aliases. > > It's not replaced, but removed - or? I mean the "output" is missing here. > > > > I do not have any sge_aliases other than the default ones. Any > suggestions. > > They are only honored in case you use the option -cwd and targets the > start directory for the job, not the given paths to the -o/-e options. > > I never used OGS and I can't reproduce it with other variants. I assume > the output of `qstat -j <job_id>` shows the same false entry? > > -- Reuti
_______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
