Rate This Document
Findability
Accuracy
Completeness
Readability

Running and Verification

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Set the environment variables.
    export PATH=/path/to/grads-2.2.1/bin:$PATH
    export LD_LIBRARY_PATH=/path/to/grads-2.2.1/lib:$LD_LIBRARY_PATH
    export GADDIR=/path/to/grads-2.2.1/data
    export GASCRP=/path/to/grads-2.2.1/src
    export GAUDPT=/path/to/grads-2.2.1/udpt
  3. Create a configuration file.
    vim /path/to/grads-2.2.1/udpt

    Add the following content to the file:

    # Type     Name     Full path to shared object file
    # ----     ----     -------------------------------
    gxdisplay  Cairo    /path/to/grads-2.2.1/lib/libgxdCairo.so
    gxdisplay  X11      /path/to/grads-2.2.1/lib/libgxdX11.so
    gxdisplay  gxdummy  /path/to/grads-2.2.1/lib/libgxdummy.so
    *
    gxprint    Cairo    /path/to/grads-2.2.1/lib/libgxpCairo.so
    gxprint    GD       /path/to/grads-2.2.1/lib/libgxpGD.so
    gxprint    gxdummy  /path/to/grads-2.2.1/lib/libgxdummy.so
    *
    #function   dothis   /home/username/grads/udp/dothis.so
  4. Decompress the test case file.
    tar -zxvf example.tar.gz
  5. Run GrADS.
    grads

    After you log in to the system, the system asks you whether to use the Landscape mode. Press Enter.

    In GrADS, run the following command to open the test file:

    open model.ctl
    query file
    d ps

    If the following information is displayed, the running is successful.

    If the preceding information is displayed, GrADS is successfully installed.