Akroyd|Wallis

Vickers Armstrong Drawing #91768

Systems & Software Engineering


HPC filter chain utility

In our work with HPC we've been fustrated by the single filter hook.

So we wrote a pair of little utilities that allow multiple filters to be chained.

Usage

Download the two programs below and use HPC Cluster Manager to point to them.

Download filters.ini into the same folder as the programs and customise with your filter chains.

Synopsis

{program-name} JOBFILE

Where {program-name} is either:

Each program runs the job specified by JOBFILE through the chain of filters in filters.ini The first filter to reject/fail the job stops the filter-chain from processing.

Returns the highest exit code of all executed filters in the filter chain, or zero on error.

Note:In the case of an error in the filter chain processing the return value is deliberately zero so that jobs are submitted/started. This is on the basis that it's better to have too many jobs queued/activated than have jobs held up.

Report bugs to bugs@akroyd-wallis.co.uk.