2: Simple example
4: Finer Control
5: X-Y Plots
6: Contour Plots
7: Image Plots
9: Gri Commands
12: Emacs Mode
15: Gri Bugs
16: Test Suite
17: Gri in Press
14.4: Compilation on x86 (PC-style) Computers
Versions exist for MSDOS, windows, and Linux operating systems.
(Actually, the windows version is just the MSDOS version, which can be
run inside an msdos window within windows-95, windows-NT, etc.)
220.127.116.11: MSDOS Operating System
To compile and install Gri under MSDOS, do this:
To begin, install `
DJGPP V2', if it is not on your system already.
It can be found at
Uncompress and extract from gri source package (see Uncompiled Unix).
make -f Makefile.dj2' to compile. If it fails, you might
have to edit the file `Makefile.dj2' to match the characteristics
of your system. Please inform the author,
at Dan.Kelley@Dal.CA, if you think your modifications might be useful
make -f Makefile.dj2 install' to install it (normally on the
If you encounter problems, read the first few lines of the Makefile
(i.e. the file `Makefile.dj2') for hints on things to try. For
example, in the present version of `Makefile.dj2' these hints are
There is a good chance that this Makefile will work as is, so try that
If you have the `netcdf' library (used for certain types of
atmospheric and oceanographic datasets), then un-comment and possibly
edit the appropriate `
NETCDF_...' lines below, as instructed by the
comments preceding these lines.
If you don't want Gri inserted in the directory `c:/gri', edit the
instdir = ...' line below.
If you get error messages about the `stdcxx' library, edit the
LIBS' line below, rewriting `-lstdcxx' as `-lstdcx'.
If you get compilation errors relating to `
time' or to
ftime', try putting the token `
-DHAVE_FTIME=1' in the list of
similar token in the `
DEFS = ...' line. For consistency
(basically, so the author can help you if you do this), put it right
after the `
To view the output, use a PostScript viewer such as GSview.
18.104.22.168: LINUX Operating System
Linux is a good emulation of unix, and it is free. Gri for linux is
compiled and installed according to the normal unix instructions.
The compiled version is with a name like
gri-binary-solaris-2.1.10.tar.gz'; treat it as in other unix
systems (see Uncompiled Unix).