--- MITgcm_contrib/cg2d_bench/README 2006/05/12 22:28:30 1.1 +++ MITgcm_contrib/cg2d_bench/README 2006/05/12 22:32:02 1.2 @@ -1,13 +1,18 @@ -# $Id: README,v 1.1 2006/05/12 22:28:30 ce107 Exp $ +# $Id: README,v 1.2 2006/05/12 22:32:02 ce107 Exp $ Benchmarking routine of the CG2D solver in MITgcm (barotropic solve) To build: -a) Parameterization of SIZE.h: +a) Parameterizations: +i) of SIZE.h: sNx = size of tile in x-direction (ideally fits in cache, 30-60) sNy = size of tile in y-direction (ideally fits in cache, 30-60) OLx = overlap size in x-direction (1 or 3 usually) OLy = overlap size in y-direction (1 or 3 usually) +ii) of ini_params.F: +nTimeSteps = number of pseudo-timesteps to run for +cg2dMaxIters = maximum number of CG iterations per timestep + b) Compilation $CC $CFLAGS -c tim.c $FC $DEFINES $INCLUDES $FCFLAGS -o cg2d *.F tim.o $LIBS -lm