Re: OT: launching jobs in a combined serial parallel way
Doug writes:
> While you may think its terribly inefficient, it isn't really. A fancy
> "wait" function is just polling anyway, you're just making it overt. You
> also have the ability to have proga and progb only touch the file if they
> complete successfully.
Have each of them check for a completion file when they complete
successfully. If it exists remove it and start progc. If not create a
completion file and exit (there is a possible race condition here).
Both should be started from the same script, of course, which should handle
the completion file, errors and cleanup. No need to modify the programs.
--
John Hasler
Reply to: