[English | Japanese] [GFD Dennou Club | Gtool4 Project]
This program is operated by following environments.
gt4f90io support following data format.
To use gt4f90io, following softwares should be installed.
Following softwares should be installed for generating documentations. But, if you get from gt4f90io TGZ package, documentations are already generated.
Make an empty directory, and extract archive. A directory `gt4f90io-version' created at the current working directory.
$ tar xvzf gt4f90io-current.tgz
Move created directroy, and excute ` ./configure
'.
If your path of netCDF library is `/usr/local/netcdf/lib/libnetcdf.a', you should set options as follow.
A configure file `Config.mk' created at the current working directory.
$ ./configure --with-netcdf=/usr/local/netcdf/lib/libnetcdf.a
If you want to change directory to which the library and the module, etc.
are installed, please set --help
option as follow. Available
options are showed.
$ ./configure --help
Descriptions about principal options are listed below.
--with-netcdf=
ARG--prefix=
ARG /usr/local/gt4f90io
.
--libdir=
ARG /usr/local/gt4f90io/lib
.
--includedir=
ARG /usr/local/gt4f90io/include
.
--bindir=
ARG /usr/local/gt4f90io/bin
.
--with-docdir=
ARG /usr/local/gt4f90io/doc
.
--with-gt4libname=
ARGlib
<ARG>.a
.
Default value is gt4f90io
, so library name becomes
libgt4f90io.a
.
--with-gt4suffix=
ARG ffc5
when others are default,
prefix of installdir becomes /usr/local/gt4f90io-ffc5
,
library name becomes libgt4f90io-ffc5.a
,
executable files become gt4frt.ffc5
, gt4config.ffc5
.
--with-lang_conform_check=
ARG95
" is valid.
The compiler that can be used is limited.
--enable-debug
--with-abort=
ARGabort, errtra-setrcd, exit, setrcd, stop
to
ARG.
Default value is abort
.
Edit `Config.mk
' manually, if you want to change.
FC : Fortran Compiler SYSFLAGS : Flags needed when compiled and linked SYSLDFLAGS : Flags needed when linked SYSLDLIBS : Libraries needed when linked F90MODTYPE : Information of Modules (std.mod, HP.mod, fqs.mod, intel.d, hitachi.f90) DEST_LIB : Directory to which the library file is installed DEST_INC : directory to which the module files are installed DEST_BIN : directory to which the executable files are installed DEST_DOC : directory to which the documantation files are installed MODS : Extensions of Module Files used when "make clean" AR : Archive command
In current directory, execute following command.
$ make
To generate documentations, execute following command in current directory. If you get from gt4f90io TGZ package, documentations are already generated.
$ make doc
In current directory, execute following command. If you install to system, you need to be administrator. (By default, you install to system).
# make install
If you want to install documentation files, execute following command.
# make install-doc
In current directry, execute following command.
If message " *** Compilation and installation are succeeded !! ***
"
are showed without error, installation is completed.
$ make test-installed