Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1.04 KB

README.md

File metadata and controls

24 lines (17 loc) · 1.04 KB

Workbook

The art workbook is a 500+ document written for beginning C++ programmers who wish to learn about writing art plugins and modules. It comes with various exercises and example code, which can be found in this directory.

The workbook document is out of date at this time. Some information refers to older versions of art or the workbook code. Any references to the UPS package manager, buildtool etc. should be ignored. Neverthless, the bulk of the material about programming in C++ and writing art modules is still applicable. Just take things with a grain of salt. Updates will be forthcoming.

Build the workbook code as follows:

module use [ariel-install-prefix]/modulefiles
module load ariel
mkdir -p ~Analysis/art-workbook/{build,output}
cd ~Analysis/art-workbook/build
export ART_WORKBOOK_OUTPUT=~/Analysis/art-workbook/output
module load workbook
cmake $ARIEL/workbook
make -j$(nproc)

Then run the examples in the fcl directory like so:

art -c fcl/FirstModule/first.fcl

etc.