[torqueusers] pbsmom and per job epilogue scripts

Ken Nielson knielson at adaptivecomputing.com
Thu Dec 17 08:43:43 MST 2009


Stijn,

It sounds like this is a bug. We need to enter it into Bugzilla. 
www.clusterresources.com/bugzilla.

If you could enter the bug and as much information about how to 
reproduce the problem it would be greatly appreciated.

Thanks

Ken Nielson
Adaptive Computing


Stijn De Weirdt wrote:
> hi all,
>
> i'm looking at per job user epi/prologue scripts (the ones a user can
> specify when submitting a job with -l epilogue=/some/file)
>
> the manual says that the following abou the permissions of the scripts.
> "The files must be owned by the user with at least execute and write
> privileges, and the permissions must not be writeable by group or
> other."
> (http://www.clusterresources.com/torquedocs21/a.gprologueepilogue.shtml
> section g.2)
>
> but when i submit jobs that are eg in my homedirectory (which has 0700
> permission), pbs_mom fails to run them with message:
> LOG_ERROR::run_pelog, prolog/epilog failed,
> file: /home/someuser/epilogue, exit: 13, cannot stat
>
> now this is because the directories are mounted with NFS with root
> squash (so root can't stat them). but they are owned and accessible by
> the user. so now i have 3 choices:
> a. change teh permissions on my homedir (eg +x)
> b. don't use root squash
> c. hope someone can fix this in the pelog.c code
>
> i'd very much appreciate it that someone could look at the c option ;)
> (or has some better advice)
>
> thanks a lot
>
> stijn
>   



More information about the torqueusers mailing list