i have the following.
jsv_url                      none
jsv_allowed_mod     ac,h,i,e,o,j,M,N,p,w
Rangam


On Sun, Jan 19, 2014 at 6:27 AM, Reuti <[email protected]> wrote:

> Am 19.01.2014 um 01:56 schrieb Srirangam Addepalli:
>
> > That was a typo  in pasting the script. Column 1 is not blank.  I tried
> escaping the charecter.
> > Which results in this.
> >
> > #!/bin/bash
> > #$ -N zzzz
> > #$ -cwd
> > #$ -o /home/user1/work/output/\$TASK_ID.out
> > #$ -e /home/user1/work/output/\$TASK_ID.err
> > #$ -t 1:10
> >  date
> > hostname
> > sleep 100
> >
> > qstat -j jobid | grep stdout
> >
> > stdout_path_list:           NONE:NONE:/home/user1/work/output/\$TASK_ID.o
>
> Do you have any JSV listed in `qconf -sconf` line "jsv_url"?
>
> -- Reuti
>
>
> > With out escaping the $
> >
> > #!/bin/bash
> > #$ -N zzzz
> > #$ -cwd
> > #$ -o /home/user1/work/output/$TASK_ID.out
> > #$ -e /home/user1/work/output/$TASK_ID.err
> > #$ -t 1:10
> >  date
> > hostname
> > sleep 100
> >
> > qstat -j jobid | grep stdout
> >
> > qstat -j jobid | grep stdout
> >
> > stdout_path_list:           NONE:NONE:/home/user1/work/3.o
> >
> > Not sure what i am missing.
> >
> > Rangam
> >
> >
> >
> > On Sat, Jan 18, 2014 at 3:01 PM, Reuti <[email protected]>
> wrote:
> > Am 18.01.2014 um 19:40 schrieb Srirangam Addepalli:
> >
> > > 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
> >
> > Due to the blank in column 1 this is not honored as an SGE directive and
> so not as an array job. For non-array jobs $TASK_ID is not substituted.
> >
> > -- Reuti
> >
> >
> > >  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

Reply via email to