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

Bruce Worden cbworden at gmail.com
Mon Feb 2 23:12:25 UTC 2015


If gdal is a problem, you might consider backing up to a pre-gdal version of GMT. I'm not sure where it made its first appearance, but you could try GMT 4.4.X.

Bruce

On Feb 2, 2015, at 2:52 PM, Branden Christensen <branden.christensen at osop.com.pa> wrote:

> Hi Bruce:
> 
> 
> Thank you for the email. Yes, I have to install from sources because of the problem that started this thread (issue with grdcontour...). I will try again. gmt does not like Ubuntu 14.04 because of gdal compatibility issues. 
> 
> 
> Branden
> --
> 
> Branden Christensen
> Director, OSOP
> Sign up for the OSOP mailing list: http://www.osop.com.pa/about/osop-mailing-list/
> 
> 
> 
> Read all about it here.
> Densify your seismic network with OSOP short-period seismometers. Improve speed and accuracy with:
> 
> Darien about $1500 each
> Sixaola about $5000 each
> --
> 
> On Mon, Feb 2, 2015 at 5:38 PM, Bruce Worden <cbworden at gmail.com> wrote:
> 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/336c03fb/attachment-0001.html>


More information about the Shake-dev mailing list