| 3 |
|
|
| 4 |
To build: |
To build: |
| 5 |
|
|
| 6 |
a) Parameterization of SIZE.h: |
a) Parameterizations: |
| 7 |
|
i) of SIZE.h: |
| 8 |
sNx = size of tile in x-direction (ideally fits in cache, 30-60) |
sNx = size of tile in x-direction (ideally fits in cache, 30-60) |
| 9 |
sNy = size of tile in y-direction (ideally fits in cache, 30-60) |
sNy = size of tile in y-direction (ideally fits in cache, 30-60) |
| 10 |
OLx = overlap size in x-direction (1 or 3 usually) |
OLx = overlap size in x-direction (1 or 3 usually) |
| 11 |
OLy = overlap size in y-direction (1 or 3 usually) |
OLy = overlap size in y-direction (1 or 3 usually) |
| 12 |
|
ii) of ini_params.F: |
| 13 |
|
nTimeSteps = number of pseudo-timesteps to run for |
| 14 |
|
cg2dMaxIters = maximum number of CG iterations per timestep |
| 15 |
|
|
| 16 |
b) Compilation |
b) Compilation |
| 17 |
$CC $CFLAGS -c tim.c |
$CC $CFLAGS -c tim.c |
| 18 |
$FC $DEFINES $INCLUDES $FCFLAGS -o cg2d *.F tim.o $LIBS -lm |
$FC $DEFINES $INCLUDES $FCFLAGS -o cg2d *.F tim.o $LIBS -lm |