These Kppa-generated codes simulate the stratospheric mechanism described in the KPP User’s manual. We used this mechanism so that you can easily compare Kppa-generated codes with KPP-generated codes. Choose a combination of language and accelerator to see the input files and generated code. There are two input files in the archive: small.kpp andsmall_strato.def. All other files were generated automatically by Kppa.
These example codes use a Kppa driver that prints species concentrations to stdout as they are calculated. Note that this makes them unsuitable for benchmarking (especially in the GPU case) since concentrations are copied from accelerator memory to host memory. When benchmarking, use the “performance” driver.