Example Code

The directory <prefix>/share/doc/opari2/example/openmp contains the following files:

      example.c
      example.f
      Makefile

The Makefile contains all required information for building the instrumented and uninstrumented binaries. It demonstrates the compilation and linking steps as described above.

Additional examples which illustrate the use of user instrumentation can be found in <prefix>/share/doc/opari2/example/pomp. The folder contains the following files:

       example.c
       example.f
       Makefile