/* this program was originally written by itakura@rccp.tukuba.ac.jp */
/* modified to seq'ed back and parallelized with OpenMP by
   msato@trc.rwcp.or.jp */

This directory contains NAS parallel benchmark (ver. 1) CG (Conjugate
Gradient ) kernel in OpenMP.

The following files are included:
  Makefile 	-- makefile 
  cg-makedata.c -- sparse matrix generation program
  cg.h 		-- header of CG
  cg.c 		-- CG parallelized in OpenMP.
  cg-orphan.c   -- CG parallelized in OpenMP using orphan directives.
  second.c      -- timer routine.

TO-DO:
1) edit Makefile to specify the problem size. Put "-DSIZE=size" into
CFLAGS. The default size is TINY.

1) Run "make" to compile the programs.
	% make
  You can find the following program after compilation:
	cg 	-- sequential version of CG
	cg-omp 	-- parallel CG
	cg-orhpan -- parallel CG with orphan directive
	cg-makedata -- matrix data generator

2) Run "cg-makedata" to generate matrix data file. 
	% makedata data

3) run "cg", "cg-omp", "cg-orphan"!
	% cg data

