OpenMP data scope attributes for C code

This exercise is to help you learn and use the OpenMP data scope attributes introduced in the lecture. Please take the existing code jacobi.c and insert the following OpenMP data scope attributes into this C code:

shared
private
lastprivate
reduction
schedule (static, dynamic, guided)

In addition, please use different schedule options (static, dynamic or guided) in the code and compare the performance of different schedulings. You may do this by setting the environment parameter, for example:

setenv OMP_SCHEDULE dynamic