On Wed, Feb 15, 2012 at 1:43 PM, Reuti <[email protected]> wrote:

> Hi,
>
> Am 15.02.2012 um 06:07 schrieb mahbube rustaee:
>
> > Hi all,
> > I submit a job but output cann't copy to NFS home directory.   that
> trace is:
> >
> > job_number:                 1091
> > exec_file:                  job_scripts/1091
> > submission_time:            Wed Feb 15 08:01:42 2012
> > owner:                      user07
> > uid:                        525
> > group:                      user07
> > gid:                        525
> > sge_o_home:                 /home/user07
> > sge_o_log_name:             user07
> > sge_o_path:
> /opt/gridengine/bin/lx24-amd64:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/java/default/bin:/opt/sun/webconsole/bin:/home/user07/bin
> > sge_o_shell:                /bin/bash
> > sge_o_workdir:              /home/user07
> > sge_o_host:                 xen
> > account:                    sge
> > merge:                      y
> > mail_list:                  [email protected]
> > notify:                     FALSE
> > job_name:                   TEST
> > jobshare:                   0
> > hard_queue_list:            windows.q
> > shell_list:                 NONE:/bin/bash
> > env_list:
> > script_file:                test.sh
> > error reason    1:          02/15/2012 03:32:09 [197725:1275]: error:
> can't open output file "/net/xen/home/user07
> >
> > Everything is OK for local output directory but problem is for cp output
> file to NFS mounted home folder!
> > I guess that administrator cann't copy file to NFS mounted user's home
>  directory behalf of the user. Why?
>
> It's written by the account of the user already.
>
> yep, user can switch user and modify /net/xen/home/user07  directly. a
> question :
>


> Do a User itself write output file or admin bahalf of the user ?
>

an important test was:

when I chenged "chmod 777 /home/user07" on nfs server, output was created
but with anonymous user !  UID=655534 GID=655534 . I don't know why?

> How can I debug that error . Can I review any script that run by SGE for
> submit and get output of submitted job?
>
> In contrast to Torque or PBS the output files are not written on the nodes
> and copied later on to the target destination, but written live. This is
> advantageous in many situations, as it avoids a redirection of the output
> file in case you want to observe the progress of the computation on the
> head node of the cluster from where you submitted the job.
>
> So the question boils down to:
>
> - Is "/net/xen/home/user07" the correct location on the node for the
> output file, i.e. a writable directory on the node for this particular user
> account?
>
Yes, it is writeble for owner

> - While the above ouptut was truncated, the complete line should be in the
> messages file of the node.
>
> As it's seems to be a Windows target I can't provide more help, but maybe
> the above helps.
>
> -- Reuti
>
>
> > Any help would be appreciated.
> >
> > _______________________________________________
> > 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