Daniel wrote:
Certainly it's possible, it'd just be a question of how you make your loop.
Inside the loop of your jobs you could evaluate whether it's an odd or even
job and check if the previous job has been finished, then start the next
one. I'm not sure what your code looks like, but I've condensed Hamish's
script for my own reference into an example gist so that I can remember some
of the cool tricks. I don't know if it would help you to look at it since
you're already seen the original script, but if you want to take a look
feel free to:
Hi,
please consider to add this sort of thing to the GRASS wiki. it is very
helpful to have these snippets there.
to mark up python code in the wiki with nice colors:
<source lang="python">
code goes here
</source>
[[Category: Development]]
[[Category: Parallelization]]
thanks,
Hamish