[Shake-dev] mapping program hangs then GMT Fatal Error

Branden Christensen branden.christensen at osop.com.pa
Mon Feb 2 22:06:06 UTC 2015


It seems we have compatibility problem (what I suspected earlier mail).
Please check the bold letters below:


osop at seismo1:/opt/shakemap$ make all
svn info | grep Revision: > lib/shakemap.revision
( cd install && /usr/bin/make ../bin/configmacro )
make[1]: Entering directory `/opt/shakemap/install'
configmacro syntax OK
make[1]: Leaving directory `/opt/shakemap/install'
( cd src && /usr/bin/make all )
make[1]: Entering directory `/opt/shakemap/src'
/usr/bin/make -C config
make[2]: Entering directory `/opt/shakemap/src/config'
config syntax OK
Installing ShakeConfig.pm
Installing WatcherConfig.pm
(cd /opt/shakemap//lib; /usr/bin/perl /opt/shakemap//bin/config -perl
'/usr/bin/perl ' -gmt /usr/local/bin -gs /usr/bin -convert /usr/bin -port
2345 -gmtversion 5.1 -demdir /opt/shakemap/dem -paper_region US
-xml_encoding UTF-8 ShakeConfig.pm WatcherConfig.pm)
make[2]: Leaving directory `/opt/shakemap/src/config'
/usr/bin/make -C lib
make[2]: Entering directory `/opt/shakemap/src/lib'
/usr/bin/make -C GMPE
make[3]: Entering directory `/opt/shakemap/src/lib/GMPE'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/opt/shakemap/src/lib/GMPE'
/usr/bin/make -C IPE
make[3]: Entering directory `/opt/shakemap/src/lib/IPE'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/opt/shakemap/src/lib/IPE'
/usr/bin/make -C GMICE
make[3]: Entering directory `/opt/shakemap/src/lib/GMICE'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/opt/shakemap/src/lib/GMICE'
/usr/bin/make -C Basin
make[3]: Entering directory `/opt/shakemap/src/lib/Basin'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/opt/shakemap/src/lib/Basin'
make[2]: Leaving directory `/opt/shakemap/src/lib'
/usr/bin/make -C genexlib
make[2]: Entering directory `/opt/shakemap/src/genexlib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/shakemap/src/genexlib'
/usr/bin/make -C cdmglib
make[2]: Entering directory `/opt/shakemap/src/cdmglib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/shakemap/src/cdmglib'
/usr/bin/make -C watcherlib
make[2]: Entering directory `/opt/shakemap/src/watcherlib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/shakemap/src/watcherlib'
/usr/bin/make -C contour
make[2]: Entering directory `/opt/shakemap/src/contour'
/usr/bin/cc -O -I . -I /usr/include/gmt -I /usr/include -c contour.c
contour.c: In function 'main':
*contour.c:422:3: warning: passing argument 8 of 'GMT_read_grd'
from incompatible pointer type [enabled by default]*
   if( GMT_read_grd(grdfile, &gh, grid, 0, 0, 0, 0, pad, FALSE) ) {
   ^
In file included from /usr/include/gmt/gmt.h:643:0,
                 from contour.c:8:
/usr/include/gmt/gmt_grdio.h:56:21: note: expected 'GMT_LONG *' but
argument is of type 'int *'
 EXTERN_MSC GMT_LONG GMT_read_grd (char *file, struct GRD_HEADER *header,
float *grid, double w, double e, double s, double n, GMT_LONG *pad,
GMT_LONG complex);

Bruce, what version of gmt do you recommend?


Best,


Branden
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://geohazards.usgs.gov/pipermail/shake-dev/attachments/20150202/b2ea3a1f/attachment.html>


More information about the Shake-dev mailing list