Page 1 of 1

When OSH code gets generated?

Posted: Fri Mar 09, 2007 9:13 pm
by videsh77
When OSH code gets generated, is it after compilation or execution of parallel job?

Posted: Fri Mar 09, 2007 9:18 pm
by kumar_s
During compilation.

Posted: Fri Mar 09, 2007 9:25 pm
by ray.wurlod
Compiling a parallel job generates osh and, possibly C++ source code that is compiled and linked and callable at run time.

When the job starts the generated OSH and the currently selected configuration file are used as input to a set of execution instructions called the "score", which contains the operators that are actually executed.

Due to optimization and other factors the score may not have a one-to-one correspondence with the generated osh. Indeed, it rarely does, except in the very simplest of job designs.

If you set APT_STARTUP_STATUS to True you will get events logged that show the score being distributed to the various processing nodes. APT_DUMP_SCORE or DS_PX_DEBUG will get the score dumped in human-readable form.