[ English | Japanese ] [ GFD Dennou Club / IGModel: Icosahedral Grid Atmospheric model ]

IGMTool Installation Guide

Supported system

This programs can be compiled and run on following platforms(2011-09-23).

Required softwares

netCDF (version 3.6.x)
For user who builds binary from source archive
gtool5
For user who builds binary from source archive
IGMBaseLib1
For user who builds binary from source archive

How to install

Getting source code

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

Expand tar.tgz file and move to project directory

$ tar -xzvf igmtool-1.x.x.tar.gz
$ cd igmtool-1.x.x.tar.gz

Setting of envrinment variables

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

Generate Makefile

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

Compile Sources

In order to build IGMTool, GNU make is used. Execute the following command at the top directory.

$ make

Generate Documents

Install

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

Last Updated: unknown, Since: unknown