Hello,
> does the /var/spool/pbs/submit_filter.pl in question come from your rpms
> indirectly?
No, this is must be created by the system administrator if it is
desired. The default location is /usr/local/sbin/torque_submitfilter
(or a different location can be specified in the torque.cfg file with a
line "SUBMITFILTER /path/to/script/script.sh"). If the script exists it
will be used to filter the job script.
Note that this is a standard part of the later torque releases. It is
not a patch that I added. Though, I do use this functionality to
correctly support MPI jobs.
> I note the script assumes that all its arguments are job scripts,
> so either it should never have to see arguments like "-q short",
> or it needs to be fixed...
Yes it should be fixed, the while clause in the script should read:
while (<STDIN>) {
rather than
while (<>) {
Sometimes perl is a bit too "magic". For the submit filter, the command
line arguments can be processed for information, but cannot be changed
by the filter. The command line options always override any options
specified in the script itself.
Note, that although this produced warnings it did not disrupt the
submission of the job itself.
The problem looks to me more like a problem with the job manager and
non-shared home directories. Maniel is using the "pbs" job manager as
the "lcgpbs" job manager doesn't work with MPI. I seem to remember that
the pbs job manager doesn't work unless the home directories are shared.
Perhaps you can confirm/deny this.
I've not tracked down the problem with the lcgpbs job manager, but will
when I get a chance.
Cal
|