%% This LaTeX-file was created by <sumedh> Tue Feb  8 12:30:16 2000
%% LyX 0.12 (C) 1995-1998 by Matthias Ettrich and the LyX Team

%% Do not edit this file unless you know what you are doing.
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}

\makeatletter


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\newcommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\spacefactor1000}

\makeatother

\begin{document}


\title{\textbf{CS 320/CSE 302/ECE 392}\\
Introduction to Parallel Programming for Scientists and Engineers\\
~\\
Machine Problem 1}


\date{Assigned: Tuesday, February 8, 2000\\
Due: Friday, February 18, 2000}

\maketitle
The objective of this MP is to transform traditional loops of a Fortran/C program
into an equivalent parallel form using the OpenMP extensions. 

The development machine is \texttt{newton.cse.uiuc.edu.} The OpenMP implementation
from KAI may be found in \texttt{/home/cse/cse302/cse302/class}. Add the path
\texttt{/home/cse/cse302/cse302/class/bin} to your PATH environment variable.
For convenience add it to your .login (something like: \texttt{set~path=(\$path
/home/cse/cse302/cse302/class/bin})). The compiler is called \texttt{guidef77/guidec}
for Fortran 77 and C respectively. A debugger for OpenMP is also present: \texttt{assuref77}
(Fortran 77) and \texttt{assurec} (C). The manuals can be found in the directory
\texttt{/home/cse/cse302/cse302/class/docs}. To invoke the compiler/debugger
use: <compiler/debugger> <program\_file> which will produce an \texttt{a.out}
file. Further usage can be found in the manuals.

For this MP we shall use the program mp1.f (Fortran)/mp1.c (C) which can be
found in \texttt{/home/cse/cse302/cse302/class/mp1}. Both represent the same
program in two different languages. You can work on whichever version you prefer. 

The program is an implementation of the LU decomposition of a matrix (for non-singular
matrices) alongwith a permutation matrix. This is then used to find the solution
to the standard linear equation \( \mathbf{A}\cdot \mathbf{x}=\mathbf{D} \).
You have to convert the loops to a parallel form. The credit you receive will
be in accordance with the number of loops you parallelize.

Instructions for handing the MP will be posted on the web page shortly.

\end{document}
