gtool5 ¥é¥¤¥Ö¥é¥ê¤Ï°Ê²¼¤Î´Ä¶¤Ç¤ÎÆ°ºî¤ò³Îǧ¤·¤Æ¤¤¤Þ¤¹.
²áµî¤Ë¤Ï°Ê²¼¤Î´Ä¶¤Ç¤âÆ°ºî¤·¤¿¤³¤È¤¬³Îǧ¤µ¤ì¤Æ¤¤¤Þ¤¹. ³Îǧ¤Ï¤·¤Æ¤¤¤Þ¤»¤ó¤¬, ¸½ºß¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤â¤ª¤½¤é¤¯Æ°ºî¤¹¤ë¤È´üÂÔ¤µ¤ì¤Þ¤¹.
gtool5 ¤Ï°Ê²¼¤Î¥Õ¥¡¥¤¥ë·Á¼°¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹.
¤Þ¤¿, º£¸å°Ê²¼¤Î¥Õ¥¡¥¤¥ë·Á¼°¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤ë¤È¤¤¤¤¤Ê¤È¹Í¤¨¤Æ¤¤¤Þ¤¹.
gtool5 ¤Î¥¤¥ó¥¹¥È¡¼¥ë¤Ï°Ê²¼¤Î¤è¤¦¤Ë¹Ô¤¤¤Þ¤¹. ¾Ü¤·¤¯¤Ï³Æ¹àÌܤò»²¾È¤·¤Æ¤¯¤À¤µ¤¤.
gtool ¥×¥í¥¸¥§¥¯¥È ¤Î¡Ö¥Á¥å¡¼¥È¥ê¥¢¥ë¡×¤Ç¤Ï, ¥¤¥ó¥¹¥È¡¼¥ë¤Î¼ÂÎã¤â¾Ò²ð¤µ¤ì¤Æ¤¤¤Þ¤¹. ¥¤¥ó¥¹¥È¡¼¥ë¤¬¤¦¤Þ¤¯¤¤¤«¤Ê¤¤¾ì¹ç¤Ï»²¾È¤·¤Æ¤¯¤À¤µ¤¤.
Debian GNU/Linux ¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç¤Ï, <URL:http://www.gfd-dennou.org/library/gtool/debian.htm> ¤Ë¤ÆÇÛÉÛ¤·¤Æ¤¤¤ë¥Ð¥¤¥Ê¥ê¥Ñ¥Ã¥±¡¼¥¸¤âÍøÍѤǤ¤Þ¤¹.
²µÉô ľ¿Í¤µ¤ó¤¬ gtool5 Windows ¥Ð¥¤¥Ê¥ê ¤Ë¤Æ Intel Visual Fortran ÍÑ ¤Î Windows ¥Ð¥¤¥Ê¥ê¤òºîÀ®¡¦¸ø³«¤·¤Æ¤¤¤Þ¤¹.
gtool5 ¤òÍøÍѤ¹¤ë¤¿¤á¤Ë¤Ï, °Ê²¼¤Î¥½¥Õ¥È¥¦¥§¥¢¤ò »öÁ°¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤ª¤¯É¬Íפ¬¤¢¤ê¤Þ¤¹.
Debian GNU/Linux ¤ò»ÈÍѤ·¤Æ¤ª¤ê, ¥Ð¥¤¥Ê¥ê¥Ñ¥Ã¥±¡¼¥¸¤òÍøÍѤ¹¤ë¾ì¹ç
debian ¥Ñ¥Ã¥±¡¼¥¸ [Fujitsu ver5 | Intel ver9.0 | G95]
¾åµ deb ¥Ñ¥Ã¥±¡¼¥¸¤Î¾¤Ë netCDF ¤Î Development kit (netcdf-bin ¥Ñ¥Ã¥±¡¼¥¸) ¤â¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹.
¥½¡¼¥¹¤«¤é¥Ó¥ë¥É¤¹¤ë¾ì¹ç
¥É¥¥å¥á¥ó¥È¤òÀ¸À®¤¹¤ë¤¿¤á¤Ë¤Ï°Ê²¼¤Î¥½¥Õ¥È¥¦¥§¥¢¤ò »öÁ°¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤ª¤¯É¬Íפ¬¤¢¤ê¤Þ¤¹. ¤¿¤À¤·, gtool5 ¤Î TGZ ¥Ñ¥Ã¥±¡¼¥¸ ¤«¤éÆþ¼ê¤¹¤ë¾ì¹ç¤Ë¤Ï´û¤ËÀ¸À®ºÑ¤ß¤Ç¤¹.
ŬÅö¤Êºî¶È¥Ç¥£¥ì¥¯¥È¥ê¤Ç¥½¡¼¥¹¥¢¡¼¥«¥¤¥Ö¤òŸ³«¤·¤Þ¤¹. ¥½¡¼¥¹¤Ï gtool5-¥Ð¡¼¥¸¥ç¥ó ¤È¤¤¤¦¥Ç¥£¥ì¥¯¥È¥ê¤ËŸ³«¤µ¤ì¤Þ¤¹.
$ tar xvzf gtool5_current.tgz
¤Þ¤¿¤Ï
$ zcat gtool5_current.tar.gz | tar -xvf -
´Ä¶ÊÑ¿ô FC ¤Ë»ÈÍѤ¹¤ë Fortran ¥³¥ó¥Ñ¥¤¥é¤ò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤. °Ê²¼¤Ï, ÍøÍѤ¹¤ë¥³¥ó¥Ñ¥¤¥é¤¬ frt ¤Î¾ì¹ç¤Ç¤¹.
sh, bash ¤Î¾ì¹ç
$ FC=frt ; export FC
csh, tcsh ¤Î¾ì¹ç
$ setenv FC frt
ºÇŬ²½¤ä¥Ç¥Ð¥Ã¥°¤Î¤¿¤á¤Î¥ª¥×¥·¥ç¥ó¤Ï´Ä¶ÊÑ¿ô FFLAGS ¤ËÀßÄꤷ¤Æ¤¯¤À¤µ¤¤. °Ê²¼¤ÎÎã¤Ï frt ¤Î¹â®²½¤È ÊÂÎ󲽤Τ¿¤á¤Î¥ª¥×¥·¥ç¥ó¤Ç¤¹.
sh, bash ¤Î¾ì¹ç
$ FFLAGS="-Kfast,parallel" ; export FFLAGS
csh, tcsh ¤Î¾ì¹ç
$ setenv FFLAGS "-Kfast,parallel"
Ÿ³«¤µ¤ì¤¿¥Ç¥£¥ì¥¯¥È¥ê¤Ë°ÜÆ°¤·, ./configure
¤ò¼Â¹Ô¤·¤Þ¤¹.
--with-netcdf=
¤Ë¤Ï netCDF ¥é¥¤¥Ö¥é¥ê¤Î¥Ñ¥¹¤ò»ØÄꤷ¤Þ¤¹.
(°Ê²¼¤ÎÎã¤Ï /usr/local/netcdf/lib/libnetcdf.a ¤Ë¥é¥¤¥Ö¥é¥ê¤¬¤¢¤ë
¾ì¹ç¤Î¤â¤Î¤Ç¤¹).
¤³¤Î¥³¥Þ¥ó¥É¤Ë¤è¤Ã¤Æ Config.mk
¥Õ¥¡¥¤¥ë¤¬À¸À®¤µ¤ì¤Þ¤¹.
netCDF ¥é¥¤¥Ö¥é¥ê¤¬¶¦Í¥é¥¤¥Ö¥é¥ê¤Ç¤¢¤ë¾ì¹ç,
--with-netcdff=
¤â»ØÄꤹ¤ëɬÍפ¬¤¢¤ë¤«¤â¤·¤ì¤Þ¤»¤ó.
¾Ü¤·¤¯¤Ï²¼µ¤Î¥ª¥×¥·¥ç¥ó¤Î¾ÜºÙ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤.
$ ./configure --with-netcdf=/usr/local/netcdf/lib/libnetcdf.a
gtool5 ¤ò MPI ÍѤ˥ӥë¥É¤¹¤ë¾ì¹ç¤Ë¤Ï, MPI ÍѤ˥ӥë¥É¤¹¤ë¾ì¹ç¤Ë¤Ï ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤.
¥Ó¥ë¥É¤Ë¤Ï GNU make ¤¬É¬ÍפȤʤ뤿¤á, configure ¤Ï PATH Æ⤫¤é ¼«Æ°¤Ç GNU make ¤òõºº¤·¤è¤¦¤È¤·¤Þ¤¹¤¬, ¤â¤·¸«¤Ä¤«¤é¤Ê¤¤¾ì¹ç, ¥¨¥é¡¼¤òÊÖ¤·¤Þ¤¹. ¤½¤Î¾ì¹ç¤Ë¤Ï´Ä¶ÊÑ¿ô MAKE ¤Ë GNU make ¥³¥Þ¥ó¥É¤ò»ØÄꤷ¤ÆºÆÅÙ configure ¤ò¼Â¹Ô¤·¤Æ¤¯¤À¤µ¤¤.
¥¤¥ó¥¹¥È¡¼¥ëÀè¤Ê¤É¤òÊѹ¹¤·¤¿¤¤¾ì¹ç¤Ï, °Ê²¼¤Î¤è¤¦¤Ë --help
¥ª¥×
¥·¥ç¥ó¤ò¤Ä¤±¤ë¤³¤È¤Ç, »ØÄê²Äǽ¤Ê¥ª¥×¥·¥ç¥ó¥ê¥¹¥È¤¬É½¼¨¤µ¤ì¤Þ¤¹.
$ ./configure --help
¼ç¤Ê¥ª¥×¥·¥ç¥ó¤Ë´Ø¤·¤Æ¤ÎÀâÌÀ¤Ç¤¹.
--with-netcdf=
ARG--with-netcdff=
ARG--prefix=
ARG /usr/local/gtool5
¤Ç¤¹.
--host=
ARG--libdir=
ARG /usr/local/gtool5/lib
¤Ç¤¹.
--includedir=
ARG /usr/local/gtool5/include
¤Ç¤¹.
--bindir=
ARG /usr/local/gtool5/bin
¤Ç¤¹.
--with-docdir=
ARG /usr/local/gtool5/doc
¤Ç¤¹.
--with-gt5libname=
ARGlib
<ARG>.a
¤È¤Ê¤ê¤Þ¤¹.
¥Ç¥Õ¥©¥ë¥È¤Ï gtool5
¤Ç¤¢¤ê, ¤½¤ÎºÝ¤Î¥é¥¤¥Ö¥é¥ê̾¤Ï
libgtool5.a
¤È¤Ê¤ê¤Þ¤¹.
--with-gt5suffix=
ARG ffc5
¤È»ØÄꤹ¤ë¤È,
¥¤¥ó¥¹¥È¡¼¥ëÀè¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Î¥×¥ì¥Õ¥£¥Ã¥¯¥¹¤¬
/usr/local/gtool5-ffc5
, ¥é¥¤¥Ö¥é¥ê̾¤¬
libgtool5-ffc5.a
, ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¼Â¹Ô¥Õ¥¡¥¤¥ë̾¤Ï
gt5frt.ffc5
, gt5config.ffc5
Åù¤Î¤è¤¦¤Ë
¤Ê¤ê¤Þ¤¹.
--with-lang_conform_check=
ARG95
"
¤Î¤ß»ØÄê²Äǽ¤Ç¤¹. ¥³¥ó¥Ñ¥¤¥é¤Ë¤è¤Ã¤Æ¤Ï»ØÄê¤Ç¤¤Þ¤»¤ó.
--enable-debug
--with-abort=
ARGabort, errtra-setrcd, exit, setrcd, stop
¤Î¤¤¤º¤ì¤«
¤ò»ØÄꤹ¤ë¤³¤È¤Ç, ½ªÎ»»þ¤ËÍѤ¤¤ë Fortran ¤ÎÆâÉô´Ø¿ô¤òÊѹ¹¤¹¤ë¤³¤È¤¬
²Äǽ¤Ç¤¹. ¥Ç¥Õ¥©¥ë¥È¤Ï abort
¤Ç¤¹.
--config-cache
¤Þ¤¿¤Ï -C
Config.mk
¥Õ¥¡¥¤¥ë¤¬À¸À®¤µ¤ì¤ë¤ÈƱ»þ¤Ë, config.cache
¥Õ¥¡¥¤¥ë¤¬ºîÀ®¤µ¤ì, ./configure
¤Î°ú¿ô¤Ë»ØÄꤵ¤ì¤¿ netCDF
¥é¥¤¥Ö¥é¥ê¤Î°ÌÃ֤ʤɤξðÊó¤¬ÊÝ»ý¤µ¤ì¤Þ¤¹.
ºÆÅÙ ./configure
¤ò¼Â¹Ô¤¹¤ëºÝ¤Ë¤â¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤³¤È¤Ç,
config.cache
¤¬Æɤ߹þ¤Þ¤ì, Á°²ó»ØÄꤷ¤¿¥ª¥×¥·¥ç¥óÅù¤¬°ú¤·Ñ¤¬¤ì¤Þ¤¹.
´û¤Ë¸ºß¤¹¤ë config.cache
¤ò̵»ë¤¹¤ë¾ì¹ç¤Ï¤³¤Î¥ª¥×¥·¥ç¥ó¤ò
»ØÄꤻ¤º¤Ë ./configure
¤ò¼Â¹Ô¤·¤Æ¤¯¤À¤µ¤¤.
Î㤨¤Ð²¼µ¤Î¤è¤¦¤Ë ./configure
¤ò¼Â¹Ô¤¹¤ë¤È¤·¤Þ¤¹.
$ ./configure -C --with-netcdf=/usr/local/netcdf/lib/libnetcdf.a --enable-debug
¤¹¤ë¤È¼¡²ó°Ê¹ß, ²¼µ¤Î¤è¤¦¤Ë ./configure
¤ò¼Â¹Ô¤¹¤ë¤³¤È¤Ç
netCDF ¥é¥¤¥Ö¥é¥ê¤Î°ÌÃÖ¤ä, ¥Ç¥Ð¥Ã¥°¥ª¥×¥·¥ç¥ó¤òÉղ乤ë¾ðÊó¤¬
°ú¤·Ñ¤¬¤ì¤Þ¤¹.
$ ./configure -C
Debian GNU/Linux ¤Ç Fujitsu Fortran ¤òÍøÍѤ·¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï,
Config.cache.debian-ffc* ¤ò config.cache
¤Ë°ÜÆ°¤·¤Æ
./configure
¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë¤À¤±¤Ç¼«Æ°Åª¤Ë
¥é¥¤¥Ö¥é¥ê¤Î°ÌÃÖ¤¬ÀßÄꤵ¤ì¤Þ¤¹.
$ cp Config.cache.debian-ffc5 config.cache $ ./configure -C
gtool5 ¤ò MPI ÍѤ˥ӥë¥É¤¹¤ë¾ì¹ç¤Ë¤Ï¤Þ¤º MPI ¥é¥¤¥Ö¥é¥ê¤ò¥·¥¹¥Æ¥à¤Ë ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¯¤À¤µ¤¤.
Config.mk ¤òºîÀ®¤¹¤ë¾ì¹ç¤Ë¤Ï, ´Ä¶ÊÑ¿ô FC ¤Ë¤Ï mpif90 ¤Ê¤É¤Î MPI ÍÑ¥³¥ó¥Ñ¥¤¥ë¥³¥Þ¥ó¥É¤ò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤. ¤½¤·¤Æ, °Ê²¼¤Î¤è¤¦¤Ë configure ¤Ë¤Ï¥ª¥×¥·¥ç¥ó --with-mpiexec ¤Ë MPI ¼Â¹Ô¥³¥Þ¥ó¥É¤ò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤.
$ ./configure --with-netcdf=/usr/local/netcdf/lib/libnetcdf.a --with-mpiexec=mpirun
´Ä¶¤Ë¤è¤Ã¤Æ¤Ï MPI ¼Â¹Ô¥³¥Þ¥ó¥É¤¬Æüì¤Ç, configure ¤¬¤¦¤Þ¤¯Æ°ºî¤·¤Ê¤¤¾ì¹ç¤¬¤¢¤ê¤Þ¤¹. ¤½¤Î¾ì¹ç¤Ë¤Ï°Ê²¼¤Î¤è¤¦¤Ë --enable-mpi ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤.
$ ./configure --with-netcdf=/usr/local/netcdf/lib/libnetcdf.a --enable-mpi
¤½¤Î¾¤Î¥ª¥×¥·¥ç¥ó¤Ê¤É¤Ë¤Ä¤¤¤Æ¤Ï, Config.mk ¤ÎºîÀ® ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤.
´Ä¶¤Ë¹ç¤ï¤» Config.mk
¤ò¼êÆ°¤ÇÊÔ½¸¤·¤Æ¤¯¤À¤µ¤¤.
²¼µ¤ÎÀßÄê¤Ë¤Ä¤¤¤Æ¤è¤¯Ê¬¤«¤é¤Ê¤¤¾ì¹ç¤Ë¤Ï¤È¤ê¤¢¤¨¤º
¥½¡¼¥¹¥³¡¼¥É¤Î¥³¥ó¥Ñ¥¤¥ë ¤Ø¿Ê¤ó¤Ç¤¯¤À¤µ¤¤.
FC : Fortran ¥³¥ó¥Ñ¥¤¥é SYSFFLAGS : ¥³¥ó¥Ñ¥¤¥ë»þ¡¦¥ê¥ó¥¯»þ¤ËɬÍפʥե饰 (Fortran ¥³¥ó¥Ñ¥¤¥é¼Â¹Ô»þ¤ËɬÍפʥª¥×¥·¥ç¥ó) SYSLDFLAGS : ¥ê¥ó¥¯»þ¤ËɬÍפʥե饰 SYSLDLIBS : ¥ê¥ó¥¯»þ¤ËɬÍפʥ饤¥Ö¥é¥ê F90MODTYPE : ¥â¥¸¥å¡¼¥ë¾ðÊó¤ÎÅϤ·Êý DEST_LIB : gtool5 ¥é¥¤¥Ö¥é¥ê¥¤¥ó¥¹¥È¡¼¥ë¥Ç¥£¥ì¥¯¥È¥ê DEST_INC : gtool5 ¥â¥¸¥å¡¼¥ë¥¤¥ó¥¹¥È¡¼¥ë¥Ç¥£¥ì¥¯¥È¥ê DEST_BIN : gtool5 ¼Â¹Ô¥Õ¥¡¥¤¥ë¥¤¥ó¥¹¥È¡¼¥ë¥Ç¥£¥ì¥¯¥È¥ê DEST_DOC : gtool5 ¥É¥¥å¥á¥ó¥È¥Õ¥¡¥¤¥ë¥¤¥ó¥¹¥È¡¼¥ë¥Ç¥£¥ì¥¯¥È¥ê MODS : ¥â¥¸¥å¡¼¥ë¥Õ¥¡¥¤¥ë³ÈÄ¥»Ò MAKE : GNU make ¥³¥Þ¥ó¥É AR : ¥¢¡¼¥«¥¤¥Ö¥³¥Þ¥ó¥É ARFLAGS : ¥¢¡¼¥«¥¤¥Ö»þ¤ËɬÍפʥե饰 RANLIB : ¥¢¡¼¥«¥¤¥Ö¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹¤òºîÀ®¤¹¤ë¥³¥Þ¥ó¥É
¥Ó¥ë¥É¤Ë¤Ïɬ¤º GNU make ¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤. ¾¤Î "make" ¥×¥í¥°¥é¥à¤ò»È ÍѤ¹¤ë¤È, Àµ¤·¤¯¥Ó¥ë¥É¤¬¹Ô¤ï¤ì¤Þ¤»¤ó. °Ê¹ß GNU make ¤Î¥³¥Þ¥ó¥É̾¤ò "make" ¤Èɽµ¤·¤Þ¤¹¤¬, ¤³¤ì¤é¤Ï¥·¥¹¥Æ¥à¤Î GNU make ¥³¥Þ¥ó¥É¤Î̾Á°¤ËÃÖ¤´¹¤¨¤Æ¤¯¤À¤µ¤¤.
./configure ¤ò¼Â¹Ô¤¹¤ë¤È, °Ê²¼¤Î¤è¤¦¤Ë GNU make ¤Î¥³¥Þ¥ó¥É̾¤¬ ɽ¼¨¤µ¤ì¤Þ¤¹. ¤³¤Î¥á¥Ã¥»¡¼¥¸¤Ë½¾¤Ã¤Æ GNU make ¤ò¼Â¹Ô¤·¤Æ¤¯¤À¤µ¤¤.
Execute GNU make in the current directory, as follows. /usr/bin/make
¥Þ¥Ë¥å¥¢¥ë¤È¥³¡¼¥É¥ê¥Õ¥¡¥ì¥ó¥¹¤Î¥³¥ó¥Ñ¥¤¥ë¤Ï¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê ¤Ë¤ª¤¤¤Æ, °Ê²¼¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ¤¯¤À¤µ¤¤. gtool5 ¤Î TGZ ¥Ñ¥Ã¥±¡¼¥¸ ¤«¤éÆþ¼ê¤¹¤ë¾ì¹ç¤Ë¤Ï´û¤ËÀ¸À®ºÑ¤ß¤Ç¤¹.
$ make doc
¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤Ç°Ê²¼¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ¤¯¤À¤µ¤¤. ¥·¥¹¥Æ¥àÎΰè¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¾ì¹ç¤Ë¤Ï´ÉÍý¼Ô¸¢¸Â¤¬ ɬÍפǤ¹. (¥Ç¥Õ¥©¥ë¥È¤Î¾ì¹ç¤Ï¥·¥¹¥Æ¥àÎΰè¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹).
# make install
¥É¥¥å¥á¥ó¥È¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¾ì¹ç¤Ë¤Ï°Ê²¼¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Þ¤¹.
# make install-doc
¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤ª¤¤¤Æ, °Ê²¼¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ¤¯¤À¤µ¤¤.
¥¨¥é¡¼¤¬À¸¤¸¤º¤Ë
" *** Compilation and installation are succeeded !! ***
"
¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤ì¤Ð¥¤¥ó¥¹¥È¡¼¥ë¤Ï´°Î»¤Ç¤¹.
$ make test-installed
¥é¥¤¥Ö¥é¥ê¤ò¥¯¥í¥¹¥³¥ó¥Ñ¥¤¥ë¤·¤¿¾ì¹ç¤Ï, ²¼µ¤Î¤è¤¦¤Ê¥á¥Ã¥»¡¼¥¸¤¬ ɽ¼¨¤µ¤ì¤Þ¤¹.
Cross compile mode will be used. First, change directory to ./test . Secondly, submit ... dc_string_test ... histtest ..., Thirdly, change directory to ./ . Last "make test-installed-c"
¤³¤Î¥á¥Ã¥»¡¼¥¸¤Ë½¾¤¤, °Ê²¼¤Î¤è¤¦¤Ë¥Æ¥¹¥È¤ò¹Ô¤Ã¤Æ¤¯¤À¤µ¤¤.
¥¨¥é¡¼¤¬À¸¤¸¤º¤Ë
" *** Compilation and installation are succeeded !! ***
"
¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤ì¤Ð¥¤¥ó¥¹¥È¡¼¥ë¤Ï´°Î»¤Ç¤¹.
¾åµ¤Î¤è¤¦¤ËÀµ¤·¤¯¥¤¥ó¥¹¥È¡¼¥ë¤¬¹Ô¤ï¤ì¤¿¤é,
gt5frt ¤È¤¤¤¦¥·¥§¥ë¥¹¥¯¥ê¥×¥È¤¬ --prefix=
ARG
¤Ç»ØÄꤵ¤ì¤¿¥Ç¥£¥ì¥¯¥È¥ê°Ê²¼¤Î bin ¥Ç¥£¥ì¥¯¥È¥ê ARG/bin
¤ËºîÀ®¤µ¤ì¤Æ¤¤¤ë¤Ï¤º¤Ç¤¹.
( --prefix=
¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¤Ï
/usr/local/gtool5/bin/
°Ê²¼).
¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ø¤Î¥Ñ¥¹¤òÄ̤·¤Æ¤¯¤À¤µ¤¤.
°Ê²¼¤Ï /usr/local/gtool5/bin/
°Ê²¼¤Ë gt5frt
¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤¿¾ì¹ç¤ÎÎã¤Ç¤¹.
sh, bash
$ PATH=$PATH:/usr/local/gtool5/bin ; export PATH
csh, tcsh
$ setenv PATH $PATH:/usr/local/gtool5/bin
gt5frt ¤Ï gtool5 ¥é¥¤¥Ö¥é¥ê¤òÍøÍѤ·¤¿ Fortran ¥×¥í¥°¥é¥à¤ò ´Êñ¤Ë¥³¥ó¥Ñ¥¤¥ë, ¥ê¥ó¥¯¤¹¤ë¤¿¤á¤Î¥·¥§¥ë¥¹¥¯¥ê¥×¥È¤Ç¤¹. ¤³¤ì¤Þ¤ÇÍøÍѤ·¤Æ¤¤¤¿ Fortran ¥³¥ó¥Ñ¥¤¥é¤Î¥³¥Þ¥ó¥É¤ÎÂå¤ï¤ê¤Ë gt5frt ¤òÍѤ¤¤ë¤³¤È¤Ç, ¼«Æ°Åª¤Ë gtool5 ¥é¥¤¥Ö¥é¥ê¤Ø¤Î ¥ê¥ó¥¯, ¥â¥¸¥å¡¼¥ë·²¤Ø¤Î¥Ç¥£¥ì¥¯¥È¥ê»ØÄê¤ò¹Ô¤Ã¤Æ¤¯¤ì¤Þ¤¹.
$ gt5frt test.f90 /usr/bin/g95 -I/usr/local/gtool5/include -O test.f90 \ -L/usr/local/gtool5/lib -lgtool5 -L/usr/local/lib -lnetcdf