Introduction to Parallel Programming for Scientists and Engineers
The objective of this MP is to practice vector parallelism in Fortran 90. A routine stored in a file called mp2.f can be copied using the command "cp ~padua/mp2.f .". This file will be available tomorrow, Tuesday Feb 17 at 8 a.m. The MP has two parts. First, you should transform the code into Fortran 90, compile it, and test it (use the f90 command to compile your code). Your objective is to express as much vector parallelism as possible. For the second part of the MP, you should transform each Fortran 90 vector operation separately into OpenMP form. The OpenMP program should be compiled and tested.
You should test your program using matrices of your own. The subroutine does LU decomposition. That is, the subroutine transforms an input matrix A into two matrices, L and U, such that LU=A. L is lower triangular, and U is upper triangular. After the routine completes, L and U are stored in A. The only elements mising are the1's that form the diagonal of L.