[Shake-dev] mapping program hangs then GMT Fatal Error
Bruce Worden
cbworden at gmail.com
Mon Feb 2 22:38:30 UTC 2015
Hi Branden,
Don't waste your time with GMT 5 -- I haven't even had a chance to look at it yet for ShakeMap. It almost certainly won't work.
I'm running GMT 4.5.5, but I think any of the 4.5.X versions should work. I'd suggest you use whatever version your package manager installs, since that's the easiest way to install. If for some reason you have to install from source, you might as well try 4.5.13 first.
Bruce
On Feb 2, 2015, at 2:06 PM, Branden Christensen <branden.christensen at osop.com.pa> wrote:
> 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/789925f8/attachment-0001.html>
More information about the Shake-dev
mailing list