Part 1. continued
20160801
I didn't care at the time of making the memo, but it seems that FTP of Tokai University is not connected.
Please download from the head family, not the mirror.
ftp://ftp.soest.hawaii.edu/gmt/
GMT4.5
Make the environment active
Installation of required libraries, etc.
Installation of the main unit
Confirmation
$ source activate gmt4
Installed except gshhg in the work of 1.
http://gmt.soest.hawaii.edu/projects/gmt/wiki/Download
Download gshhg-gmt
from
$ cd ${HOME}/anaconda3/envs/gmt4
$ mkdir -p src
$ mkdir -p share/gmt
$ cd src
#Move the downloaded one here
$ tar zxf gshhg-gmt-2.3.6.tar.gz
$ mv gshhg-gmt-2.3.6 ../share/gmt/gshhg
--If the old version is fine, ftp://ftp.scc.u-tokai.ac.jp/pub/gmt/gshhg-gmt-2.3.4.tar.gz
$ cd ${HOME}/anaconda3/envs/gmt4/src
$ wget -q ftp://ftp.scc.u-tokai.ac.jp/pub/gmt/gmt-4.5.13-src.tar.bz2
$ tar xjf gmt-4.5.13-src.tar.bz2
$ cd gmt-4.5.13
$ ./configure \
--prefix=${HOME}/anaconda3/envs/gmt4 \
--with-gshhg-dir=${HOME}/anaconda3/envs/gmt4/share/gmt/gshhg \
--enable-triangle \
--disable-flock \
--enable-eps
$ make
$ make install-gmt
$ make install-data
$ make install-man
$ make install-doc
$ gmtdefaults -D | head
#
# GMT-SYSTEM 4.5.13 [64-bit] Defaults file
#
#-------- Plot Media Parameters -------------
PAGE_COLOR = white
PAGE_ORIENTATION = landscape
PAPER_MEDIA = a4+
#-------- Basemap Annotation Parameters ------
ANNOT_MIN_ANGLE = 20
ANNOT_MIN_SPACING = 0
GMT5
Make the environment active
Installation of required libraries, etc.
Installation of the main unit
Confirmation
$ source activate gmt5
Installed except for gshhg
and dcw
in the work of 1.
http://gmt.soest.hawaii.edu/projects/gmt/wiki/Download
Download gshhg
, dcw
from
$ cd ${HOME}/anaconda3/envs/gmt5
$ mkdir -p src
$ mkdir -p share/gmt
$ cd src
#Move the downloaded one here
$ tar zxf dcw-gmt-1.1.2.tar.gz
$ tar zxf gshhg-gmt-2.3.5.tar.gz
$ mv src/dcw-gmt-1.1.2 share/gmt/dcw
$ mv src/gshhg-gmt-2.3.5 share/gmt/gshhg
--If the old version is fine,
- ftp://ftp.scc.u-tokai.ac.jp/pub/gmt/gshhg-gmt-2.3.4.tar.gz
- ftp://ftp.scc.u-tokai.ac.jp/pub/gmt/dcw-gmt-1.1.1.tar.gz
http://gmt.soest.hawaii.edu/projects/gmt/wiki/Download
Download the main body
$ cd ${HOME}/anaconda3/envs/gmt5/src
#Move the downloaded one here
$ tar xzf gmt-5.2.1-src.tar.gz
$ cd gmt-5.2.1/
$ cp cmake/ConfigUserTemplate.cmake cmake/ConfigUser.cmake
$ mkdir build
$ cd build
$ cmake -DCMAKE_INSTALL_PREFIX=${HOME}/anaconda3/envs/gmt5 ..
$ make all
$ make install
$ gmtdefaults -D | head
#
# GMT 5.2.1 Defaults file
# vim:sw=8:ts=8:sts=8
# $Revision: 15178 $
# $LastChangedDate: 2015-11-06 11:45:03 +0100 (Fri, 06 Nov 2015) $
#
# COLOR Parameters
#
COLOR_BACKGROUND = black
COLOR_FOREGROUND = white
Recommended Posts