Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 1.81 KB

README.md

File metadata and controls

21 lines (11 loc) · 1.81 KB

Pyjama patternlets

Java patternlets for OpenMP with Pyjama.

These Pyjama OpenMP patternlets are reusable solution that are based on the original OpenMP patternlets in C language by Joel Adams:

Adams, Joel C. "Patternlets: A Teaching Tool for Introducing Students to Parallel Design Patterns." 2015 IEEE International Parallel and Distributed Processing Symposium Workshop. IEEE, 2015.

Getting started

If you want to explore these patternlets, you can open the Jupyter notebook provided in Google Colab.

Alternatively, you can check out the companion e-book, which is made available by CSinParallel group and work through the examples on your machine.

  • To start compiling and running the examples, first run make in the lib directory. This will download Pyjama compiler and runtime from Tennessee Tech's iPDC website.
  • Each sample program directory contains a Makefile. To compile and run the example, type make run in the directory. This will invoke Pyjama compiler to preprocess the Java file, run the Java compiler on the parallelized source code, then it will launch the Java VM with the parallelized code along with Pyjama runtime.

Creating New Java Program with Pyjama

To create a new Java program from scratch with Pyjama, you can use the following pyjama-starter Maven archetype.