Discussion:
can't complete sample job[pscoast] GMT4.5.12
chi.el
2014-04-19 09:46:31 UTC
Permalink
Hello,

I ask a question for the first time.
I installed GMT4.5.12.(CentOS release 6.4 (Final))
However, test job does not move well.

It is a sample of an error.
(It will become an error if pscoast is used. )
make[1]: Entering directory `/root/app/gmt/gmt-4.5.12/doc/examples'
cd ex01 ; ./job01.sh
pscoast: crude resolution shoreline data base not installed
pscoast: No databases available - aborts
pscoast: crude resolution shoreline data base not installed
pscoast: No databases available - aborts
cd ex02 ; ./job02.sh
cd ex03 ; ./job03.sh
cd ex04 ; ./job04.sh
pscoast: low resolution shoreline data base not installed
pscoast: No databases available - aborts
cd ex04 ; ./job04c.sh
What has a problem?
What should I do next?
Is it insufficient only by performing a [install_gmt4.sh]?

I got [install_gmt4.sh] by [ftp://ftp.soest.hawaii.edu/gmt4/]
[netcdf] by [ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf.tar.gz]

And the used [GMT4param.txt] is here.
[***@localhost gmt]# cat GMT4param.txt
# This file contains parameters needed by the install script
# for GMT4 Version 4.5.12. Give this parameter file
# as the argument to the install_gmt.sh script and the whole
# installation process can be placed in the background.
# Default answers will be selected where none is given.
# You can edit the values, but do not remove definitions!
#
# This script was created by install_gmt.sh on
#
# Sat Apr 19 02:30:47 PDT 2014
#
# Do NOT add any spaces around the = signs. The
# file MUST conform to Bourne shell syntax
#---------------------------------------------
# GMT4 VERSION TO INSTALL
#---------------------------------------------
VERSION=4.5.12
#---------------------------------------------
# SYSTEM UTILITIES AND FTP SETTING
#---------------------------------------------
GMT_make=make
passive_ftp=n
#---------------------------------------------
# NETCDF SECTION
#---------------------------------------------
netcdf_path=/usr/local/netcdf-4.3.0
#---------------------------------------------
# GSHHG SECTION
#---------------------------------------------
GSHHG_install=y
GSHHG_ftp=y
GSHHG_path=/usr/local
#---------------------------------------------
# GDAL SECTION
#---------------------------------------------
use_gdal=n
gdal_path=
#---------------------------------------------
# GMT4 & GSHHG FTP SECTION
#---------------------------------------------
GMT_ftp=y
GMT_inst_gmt=y
GMT_ftpsite=1
#---------------------------------------------
# GMT4 SUPPLEMENTS SELECT SECTION
#---------------------------------------------
GMT_suppl_mex=d
GMT_suppl_xgrid=d
#---------------------------------------------
# GMT4 ENVIRONMENT SECTION
#---------------------------------------------
GMT_si=y
GMT_ps=y
GMT_prefix=/usr/lcoal/gmt-4.5.12
GMT_bin=/usr/lcoal/gmt-4.5.12/bin
GMT_lib=/usr/lcoal/gmt-4.5.12/lib
GMT_share=/usr/lcoal/gmt-4.5.12/share
GMT_include=/usr/lcoal/gmt-4.5.12/include
GMT_man=/usr/lcoal/gmt-4.5.12/man
GMT_doc=/usr/lcoal/gmt-4.5.12/share/doc/gmt
GMT_sharedir=/usr/lcoal/gmt-4.5.12/share
#---------------------------------------------
# COMPILING & LINKING SECTION
#---------------------------------------------
GMT_sharedlib=n
GMT_cc=
GMT_64=y
GMT_triangle=y
GMT_flock=n
#---------------------------------------------
# TEST & PRINT SECTION
#---------------------------------------------
GMT_run_examples=y
GMT_delete=n
#---------------------------------------------
# MEX SECTION
#---------------------------------------------
MATDIR=/usr/local/matlab
mex_mdir=
mex_xdir=

chi.el

To unsubscribe, send the message "signoff gmt-help" to ***@lists.hawaii.edu
Paul Wessel
2014-04-19 19:13:41 UTC
Permalink
Are the GSHHG files actually installed in /usr/local/gshhg*? What is the full path to, say binned_GSHHS_f.nc?
Does this match the directory compiled in, i.e., in your install source directory (gmt4-5-12/src) do
grep gshhg config.mk
Are they the same? If not, either move the gshhg files or change the config.mk and build again.

-p
Post by chi.el
Hello,
I ask a question for the first time.
I installed GMT4.5.12.(CentOS release 6.4 (Final))
However, test job does not move well.
It is a sample of an error.
(It will become an error if pscoast is used. )
make[1]: Entering directory `/root/app/gmt/gmt-4.5.12/doc/examples'
cd ex01 ; ./job01.sh
pscoast: crude resolution shoreline data base not installed
pscoast: No databases available - aborts
pscoast: crude resolution shoreline data base not installed
pscoast: No databases available - aborts
cd ex02 ; ./job02.sh
cd ex03 ; ./job03.sh
cd ex04 ; ./job04.sh
pscoast: low resolution shoreline data base not installed
pscoast: No databases available - aborts
cd ex04 ; ./job04c.sh
What has a problem?
What should I do next?
Is it insufficient only by performing a [install_gmt4.sh]?
I got [install_gmt4.sh] by [ftp://ftp.soest.hawaii.edu/gmt4/]
[netcdf] by [ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf.tar.gz]
And the used [GMT4param.txt] is here.
# This file contains parameters needed by the install script
# for GMT4 Version 4.5.12. Give this parameter file
# as the argument to the install_gmt.sh script and the whole
# installation process can be placed in the background.
# Default answers will be selected where none is given.
# You can edit the values, but do not remove definitions!
#
# This script was created by install_gmt.sh on
#
# Sat Apr 19 02:30:47 PDT 2014
#
# Do NOT add any spaces around the = signs. The
# file MUST conform to Bourne shell syntax
#---------------------------------------------
# GMT4 VERSION TO INSTALL
#---------------------------------------------
VERSION=4.5.12
#---------------------------------------------
# SYSTEM UTILITIES AND FTP SETTING
#---------------------------------------------
GMT_make=make
passive_ftp=n
#---------------------------------------------
# NETCDF SECTION
#---------------------------------------------
netcdf_path=/usr/local/netcdf-4.3.0
#---------------------------------------------
# GSHHG SECTION
#---------------------------------------------
GSHHG_install=y
GSHHG_ftp=y
GSHHG_path=/usr/local
#---------------------------------------------
# GDAL SECTION
#---------------------------------------------
use_gdal=n
gdal_path=
#---------------------------------------------
# GMT4 & GSHHG FTP SECTION
#---------------------------------------------
GMT_ftp=y
GMT_inst_gmt=y
GMT_ftpsite=1
#---------------------------------------------
# GMT4 SUPPLEMENTS SELECT SECTION
#---------------------------------------------
GMT_suppl_mex=d
GMT_suppl_xgrid=d
#---------------------------------------------
# GMT4 ENVIRONMENT SECTION
#---------------------------------------------
GMT_si=y
GMT_ps=y
GMT_prefix=/usr/lcoal/gmt-4.5.12
GMT_bin=/usr/lcoal/gmt-4.5.12/bin
GMT_lib=/usr/lcoal/gmt-4.5.12/lib
GMT_share=/usr/lcoal/gmt-4.5.12/share
GMT_include=/usr/lcoal/gmt-4.5.12/include
GMT_man=/usr/lcoal/gmt-4.5.12/man
GMT_doc=/usr/lcoal/gmt-4.5.12/share/doc/gmt
GMT_sharedir=/usr/lcoal/gmt-4.5.12/share
#---------------------------------------------
# COMPILING & LINKING SECTION
#---------------------------------------------
GMT_sharedlib=n
GMT_cc=
GMT_64=y
GMT_triangle=y
GMT_flock=n
#---------------------------------------------
# TEST & PRINT SECTION
#---------------------------------------------
GMT_run_examples=y
GMT_delete=n
#---------------------------------------------
# MEX SECTION
#---------------------------------------------
MATDIR=/usr/local/matlab
mex_mdir=
mex_xdir=
chi.el
To unsubscribe, send the message "signoff gmt-help" to ***@lists.hawaii.edu
chi.el
2014-04-20 15:22:50 UTC
Permalink
Hi Paul,

my GSHHG directory 
/usr/local/gshhg-gmt-2.3.0
and this PATH in config.mk

The result of a command is described.
These are in the state immediately after intall(install_gmt4.sh).
/root/app/gmt/gmt-4.5.12/src
40:GSHHG_DIR = /usr/local/gshhg-gmt-2.3.0
total 56228
-rw-r--r--. 1 root wheel 51353 Jan 30 13:30 binned_border_c.nc
-rw-r--r--. 1 root wheel 2119190 Jan 30 13:29 binned_border_f.nc
-rw-r--r--. 1 root wheel 498753 Jan 30 13:29 binned_border_h.nc
-rw-r--r--. 1 root wheel 207464 Jan 30 13:30 binned_border_i.nc
-rw-r--r--. 1 root wheel 89136 Jan 30 13:30 binned_border_l.nc
-rw-r--r--. 1 root wheel 126248 Jan 30 13:30 binned_GSHHS_c.nc
-rw-r--r--. 1 root wheel 31894477 Jan 30 13:29 binned_GSHHS_f.nc
-rw-r--r--. 1 root wheel 8424779 Jan 30 13:29 binned_GSHHS_h.nc
-rw-r--r--. 1 root wheel 2195458 Jan 30 13:30 binned_GSHHS_i.nc
-rw-r--r--. 1 root wheel 539726 Jan 30 13:30 binned_GSHHS_l.nc
-rw-r--r--. 1 root wheel 219755 Jan 30 13:30 binned_river_c.nc
-rw-r--r--. 1 root wheel 7610006 Jan 30 13:29 binned_river_f.nc
-rw-r--r--. 1 root wheel 2257602 Jan 30 13:29 binned_river_h.nc
-rw-r--r--. 1 root wheel 899143 Jan 30 13:30 binned_river_i.nc
-rw-r--r--. 1 root wheel 355433 Jan 30 13:30 binned_river_l.nc
-rw-r--r--. 1 root wheel 7651 Jan 21 19:40 COPYING.LESSERv3
-rw-r--r--. 1 root wheel 35147 Jan 21 19:40 COPYINGv3
-rw-r--r--. 1 root wheel 1352 Jan 21 19:40 LICENSE.TXT
-rw-r--r--. 1 root wheel 13100 Jan 30 12:13 README.TXT
I can't use psocoast.
/tmp/location_map1.ps
pscoast: low resolution shoreline data base not installed
pscoast: No databases available - aborts
Is there any place which I can check?

To unsubscribe, send the message "signoff gmt-help" to ***@lists.hawaii.edu
Paul Wessel
2014-04-20 19:14:40 UTC
Permalink
Are you sure pscoast is the 4.5.12 version? I.e., run pscoast -
Perhaps your path has a previous version.

-p
Post by chi.el
Hi Paul,
my GSHHG directory 
/usr/local/gshhg-gmt-2.3.0
and this PATH in config.mk
The result of a command is described.
These are in the state immediately after intall(install_gmt4.sh).
/root/app/gmt/gmt-4.5.12/src
40:GSHHG_DIR = /usr/local/gshhg-gmt-2.3.0
total 56228
-rw-r--r--. 1 root wheel 51353 Jan 30 13:30 binned_border_c.nc
-rw-r--r--. 1 root wheel 2119190 Jan 30 13:29 binned_border_f.nc
-rw-r--r--. 1 root wheel 498753 Jan 30 13:29 binned_border_h.nc
-rw-r--r--. 1 root wheel 207464 Jan 30 13:30 binned_border_i.nc
-rw-r--r--. 1 root wheel 89136 Jan 30 13:30 binned_border_l.nc
-rw-r--r--. 1 root wheel 126248 Jan 30 13:30 binned_GSHHS_c.nc
-rw-r--r--. 1 root wheel 31894477 Jan 30 13:29 binned_GSHHS_f.nc
-rw-r--r--. 1 root wheel 8424779 Jan 30 13:29 binned_GSHHS_h.nc
-rw-r--r--. 1 root wheel 2195458 Jan 30 13:30 binned_GSHHS_i.nc
-rw-r--r--. 1 root wheel 539726 Jan 30 13:30 binned_GSHHS_l.nc
-rw-r--r--. 1 root wheel 219755 Jan 30 13:30 binned_river_c.nc
-rw-r--r--. 1 root wheel 7610006 Jan 30 13:29 binned_river_f.nc
-rw-r--r--. 1 root wheel 2257602 Jan 30 13:29 binned_river_h.nc
-rw-r--r--. 1 root wheel 899143 Jan 30 13:30 binned_river_i.nc
-rw-r--r--. 1 root wheel 355433 Jan 30 13:30 binned_river_l.nc
-rw-r--r--. 1 root wheel 7651 Jan 21 19:40 COPYING.LESSERv3
-rw-r--r--. 1 root wheel 35147 Jan 21 19:40 COPYINGv3
-rw-r--r--. 1 root wheel 1352 Jan 21 19:40 LICENSE.TXT
-rw-r--r--. 1 root wheel 13100 Jan 30 12:13 README.TXT
I can't use psocoast.
/tmp/location_map1.ps
pscoast: low resolution shoreline data base not installed
pscoast: No databases available - aborts
Is there any place which I can check?
To unsubscribe, send the message "signoff gmt-help" to ***@lists.hawaii.edu
chi.el
2014-04-22 13:34:08 UTC
Permalink
Hi Paul,

Thank you for your advices.
finally I have suceeded to run pscoast.
As a result,
my [netcdf-4.3.0] was insufficient.
After building NetCDF With HDF5,
pscoast was successful.

I felt sorry for having become an unrelated question.
I have a lot of thanks for you.

To unsubscribe, send the message "signoff gmt-help" to ***@lists.hawaii.edu
Continue reading on narkive:
Loading...