This programs can be compiled and run on following platforms(2011-09-23).
To download the source code of IGMTool
$ wget http://www.gfd-dennou.org/ftp/member/ykawai/work/IGMTool/dist/igmtool-1.x.x.tar.gz
$ tar -xzvf igmtool-1.x.x.tar.gz $ cd igmtool-1.x.x.tar.gz
Specify an environment variable of a compiler.
$ export FC=(compiler name)
If you want to set the compiler options,
$ export FCFLAGS=(compiler options)
For example, in the case of using gfortran as a Fortran compiler,
$ export FC=gfortran $ export FCFLAGS=-O2
Execute the configure scipt at the top directory, and automagically generate Makefile in each directory.
$ ./configure \ --prefix=(full path to the install directory) --with-netcdf=(full path to the NetCDF library file) \ --with-netcdff=(full path to the NetCDF library file for Fortran 90) \ --with-gtool5=(full path to the gtool5 library file) --with-IGMBaseLib1=(full path to the IGMBaseLib1 library file)
For example, in the case of using Debian pacakges,
$ ./configure \ --prefix=/usr/local/IGMTool1.x.x \ --with-netcdf=/usr/lib/libnetcdf.a \ --with-netcdf=/usr/lib/libnetcdff.a \ --with-gtool5=/usr/lib/libgtool5.a --with-IGMBaseLib1=/usr/local/IGMBaseLib1.x.x/lib/libIGMBaseLib.a
In order to build IGMTool, GNU make is used. Execute the following command at the top directory.
$ make
Execute the following command at the top directory. If you choose the administration domain where IGMTool is installed, this installation may require administrative access to your computer.
$ make install