These tutorials are aimed at showing you
· How to obtain and build/use chroma
· How to write and compile chroma programs
· How to control and read the output from chroma using XML
They are largely a cut-down, and slightly reorganized, version of the tutorials given by Balint Joo at Hack Latt 06, and cut down so that I hope you will be able to tackle them in a morning.
A strength of chroma is that it is open, but not constricting – you can add to it, and use it both as a stand-alone executable, and as a library. The emphasis of the first two tutorials will be on writing code using the chroma library. Using the chroma executable to make physics measurements, using XML “lego blocks” to control its actions, will be introduced in the third tutorial.
Chroma has its own web page. The sidebar gives you a wealth of useful information, in particular the CVS changelog, and the full HackLatt06 tutorial. A full compilation of Chroma can take on the order of an hour, so we have installed a scalar build of chroma on the NESC workstations, specifically QDP++-1.23.2 and Chroma-3.22.10.
The tutorials are:
· Tutorial1: how to obtain and build code using chroma; XML input and output; physics measurements
· Chroma measurement: this is just Balint’s very complete description of the chroma measurement program.
· Tutorial2: exploiting features of chroma: handles, linear operators, and factories