[torqueusers] The issues on using -o option.

Axel Kohlmeyer akohlmey at cmm.chem.upenn.edu
Tue Nov 8 09:04:55 MST 2011


On Tue, Nov 8, 2011 at 10:05 AM, Hongsheng Zhao <zhaohscas at yahoo.com.cn> wrote:
> Hi all,
>
>  From the following webpage,
>
> http://www.clusterresources.com/torquedocs/commands/qsub.shtml
>
> I can find the following notes:
>
> -------------
> -o path
>     Defines the path to be used for the standard output stream of the
> batch job. The path argument is of the form:
>
>         [hostname:]path_name
> -------------
>
> Accordingly, in my pbs script, I use the following line:
>
> ----------
>  #PBS -o out
> ----------
>
> Then, in the result folder of my job, I obtained a file named out with
> the following file permissions:
>
> zhaohongsheng at node32:~/Castep_test> ls -la out
> -rw------- 1 zhaohongsheng users 0 2011-12-13 11:32 out
>
> As you can see, the file permission is 600 for this file.  Why does this
> happen?  I think it should be 644 for convenience.  Any hints on this
> issue?  Thanks in advance.

not everybody likes god and the world to read their outputs,
so this is a reasonable default.

but since you set the name of your output, nothing keeps
you from using "chmod 0644 out" in you submit script to
change the permissions to what you like them to be.

axel.


>
> Regards
> --
> Hongsheng Zhao <zhaohscas at yahoo.com.cn>
> School of Physics and Electrical Information Science,
> Ningxia University, Yinchuan 750021, China
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
>



-- 
Dr. Axel Kohlmeyer    akohlmey at gmail.com
http://sites.google.com/site/akohlmey/

Institute for Computational Molecular Science
Temple University, Philadelphia PA, USA.


More information about the torqueusers mailing list