Currently, I usually first generate a job as a local job to be able to test it,
and then generate it as a gkigrid job when I'm convinced that it works. It would
be nice if there were a way to generate a job in such a way that it can be used
in both modes.
For example, the *.q files could detect whether they are called by the grid
(e.g. via the environment variables that also tell it the job id) and behave in
a special way in that case, and act as regular shell scripts otherwise.
There are a few more enhancements that would be useful in this context, e.g.
more verbose output when run as local jobs, or a way to clean up and restore a
job to its original state after a local test run. Maybe we can discuss this
further at one of our next meetings.
|