If the installation is correctly done as stated above, shell script (({\itshape gt5frt})) is made under the directory {\ttfamily -\/-\/prefix=A\+RG}/bin (By default, {\ttfamily /usr/local/gtool5/bin/} ).

Please specify P\+A\+TH to this directory. It is an example as follows when (({\itshape gt5frt})) is installed in {\ttfamily /usr/local/gtool5/bin/} .

(({\itshape gt5frt})) is a shell script in order to easily compile and link Fortran programs which utilizes the \hyperlink{namespacegtool5}{gtool5} library. Link to the \hyperlink{namespacegtool5}{gtool5} library and directory appointment to the modules are done automatically by using gt5frt in place of command of the Fortran compiler. \begin{DoxyVerb}$ gt5frt test.f90
/usr/bin/gfortran -I/usr/local/gtool5/include -I/usr/include -g -O2 test.f90 \
  -L/usr/local/stow/gtool5/lib -lgtool -L/usr/lib -lnetcdff -lnetcdf
\end{DoxyVerb}


To use the \hyperlink{namespacegtool5}{gtool5} fortran library, the following software is required.


\begin{DoxyItemize}
\item Fortran Compiler\+: support $>$= fortran 2003 standard.
\item \href{http://www.unidata.ucar.edu/software/netcdf/}{\tt Unidata $\vert$ Net\+C\+DF C Library}
\item \href{http://www.unidata.ucar.edu/downloads/netcdf/index.jsp}{\tt Unidata $\vert$ Net\+C\+DF Fortran Library}
\item Optional\+: \href{http://www.stack.nl/~dimitri/doxygen/}{\tt Doxygen} \+: For regeneration of doucments.
\end{DoxyItemize}

\subsubsection*{Extract tar.\+gz}

Make an empty directory, and extract archive. A directory {\ttfamily gtool5-\/}version`\textquotesingle{} created at the current working directory. \begin{DoxyVerb}$ tar xvf gtool5_current.tar.gz
\end{DoxyVerb}


\subsubsection*{Specify Fortran Compiler}

Specify Fortran compiler to environment variable (($\ast$ FC $\ast$)), e.\+g. \begin{DoxyVerb}% FC=gfortran
\end{DoxyVerb}


Specify Fortran compiler options for optimization and debug to environment variable {\ttfamily F\+C\+F\+L\+A\+GS}, e.\+g., \begin{DoxyVerb}% FCFLAGS="-g -O2 -fopenmp"
\end{DoxyVerb}


Move created directroy, and excute {\ttfamily ./configure}\textquotesingle{}. \begin{DoxyVerb}% ./configure
\end{DoxyVerb}


If you want to change directory to which the library and the module, etc. are installed, please set {\ttfamily -\/-\/help} option as follow. Available options are showed. \begin{DoxyVerb}% ./configure --help
\end{DoxyVerb}


Descriptions about principal options are listed below.


\begin{DoxyItemize}
\item {\ttfamily -\/-\/with-\/nf-\/config=A\+RG}
\begin{DoxyItemize}
\item Default\+: search {\ttfamily nf-\/config} from ((\+:P\+A\+TH\+:)).
\item If you want to use another {\ttfamily nf-\/config}, set the location of {\ttfamily nf-\/config} to {\ttfamily A\+RG} explicitly.
\end{DoxyItemize}
\item {\ttfamily -\/-\/with-\/netcdf=A\+RG}
\begin{DoxyItemize}
\item When you can\textquotesingle{}t execute {\ttfamily nf-\/config}, set the location of Net\+C\+DF C Library to {\ttfamily A\+RG} explicitly.
\end{DoxyItemize}
\item {\ttfamily -\/-\/with-\/netcdff=A\+RG}
\begin{DoxyItemize}
\item When you can\textquotesingle{}t execute {\ttfamily nf-\/config}, set the location of Net\+C\+DF Fortran library to {\ttfamily A\+RG} explicitly.
\end{DoxyItemize}
\item {\ttfamily -\/-\/with-\/netcdff-\/include=A\+RG}
\begin{DoxyItemize}
\item When you can\textquotesingle{}t execute {\ttfamily nf-\/config}, set the location of module file {\ttfamily netcdf.\+mod} to {\ttfamily A\+RG} explicitly.
\end{DoxyItemize}
\item {\ttfamily -\/-\/prefix=A\+RG}
\begin{DoxyItemize}
\item Default\+: {\ttfamily /usr/local/gtool5}. set prefix to {\ttfamily A\+RG}.
\end{DoxyItemize}
\item {\ttfamily -\/-\/host=A\+RG}
\begin{DoxyItemize}
\item When cross-\/compiling, set the type of system on which the package will run to {\ttfamily A\+RG}.
\end{DoxyItemize}
\item {\ttfamily -\/-\/enable-\/mpi}
\begin{DoxyItemize}
\item Default\+: enable
\item Enable M\+PI support. Set M\+PI Fortran Compiler to ((\+:FC\+:)), e.\+g. mpif90.
\end{DoxyItemize}
\item {\ttfamily -\/-\/with-\/mpiexec}
\begin{DoxyItemize}
\item Default\+: none
\item Set M\+PI execute program for test.
\end{DoxyItemize}
\item {\ttfamily -\/-\/with-\/ncdump}
\begin{DoxyItemize}
\item Default\+: search ((\+:ncdump\+:)) from ((\+:P\+A\+TH\+:)).
\item Set ((\+:ncdump\+:)) for test. 
\end{DoxyItemize}
\end{DoxyItemize}