The script as is (only changing the 'user1' part) works fine as is in OGS 
2011.11p1 for me. Hmm.

-Hugh
________________________________________
From: [email protected] [[email protected]] on behalf of 
Reuti [[email protected]]
Sent: Saturday, January 18, 2014 10:46 AM
To: Srirangam Addepalli
Cc: [email protected]
Subject: Re: [gridengine users] sge_execd failing to pass complete path for     
stderr and stdout

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

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

Reply via email to