# preparation before installing gtool4

2001-02-07 TOYODA Eizi
2001-06-15 TOYODA Eizi iso_varying_string no longer needed
2001-06-17 TOYODA Eizi translation into English

2001-06-18 ODAKA Masatsugu dcl-f90 information is changed

## Introduction

This document explains about the necessary preparation to use the gtool4-beta library/tools with Linux and the Fortran compiler manufactured by Fujitsu Kyushu Engineering, Ltd. (hereafter, this compiler is called as FQS-frt). There may be situations that some modification becomes necessary though this document is helpful with most UNIX systems.

## What is needed for gtool4

Following libraries should be necessary for gtool4 library to work.

- DCL (GFD-Dennou Club Library)
- DCL Fortran 90 interface
- NetCDF (by UCAR UNIDATA)

Of cource, you must have Fortran 90 and C compilers.

## DCL

### how to get it

please consult http://www.gfd-dennou.org/arch/dcl .

### building dcl

Refer to the document of DCL in the first. Because it has a configure script, DCL will be able to be installed easily. For example there is a function of system dependence in DCL in such cases as the acquisition of the command line argument. Because it isn't so smart, configure may not be able to set these up properly. But, it doesn't cause failure even if it is left configured because it isn't being used for present gtool4.

## DCL Fortran 90 interface

Unix version of DCL-F90-interface is available at http://www.gfd-dennou.org/arch/dcl/dcl-dvlp/dcl-f90-unix/dcl-f90-linux/.

When you expand the tarball, a dcl-f90 directory appears. Edit Mkinclude appropriately.

## NetCDF

NetCDF is available at http://www.unidata.ucar.edu/packages/netcdf/ .

I have used netcdf-3.4, which is saved at http://www.gfd-dennou.org/arch/gtool4/needed/netcdf-3.4.tar.Z . It is sufficient if an attached document is referred to. But, because it isn't expected, the combination of Linux+FQSfrt requires some modification. My modifications are saved at http://www.gfd-dennou.org/arch/gtool4/needed/netcdf-3.4-patch.txt .