<div dir="ltr"><div><div>Hi,<br><br></div>I don't know much about this but I will try to contribute anyway :)<br>I had some GMT related problems as well (tried a few different versions of 4.5.X) until I tried GMT 4.5.13, which seems to have solved my problem. Though, running Scientific Linux.<br><br></div><div>Regards,<br></div><div>Erik Bäckman<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-03 0:12 GMT+01:00 Bruce Worden <span dir="ltr"><<a href="mailto:cbworden@gmail.com" target="_blank">cbworden@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">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.<span class="HOEnZb"><font color="#888888"><div><br></div><div>Bruce</div></font></span><div><div class="h5"><div><br><div><div>On Feb 2, 2015, at 2:52 PM, Branden Christensen <<a href="mailto:branden.christensen@osop.com.pa" target="_blank">branden.christensen@osop.com.pa</a>> wrote:</div><br><blockquote type="cite"><div dir="ltr">Hi Bruce:<div><br></div><div><br></div><div>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. </div><div><br></div><div><br></div><div>Branden</div><div>--</div></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><b>Branden Christensen</b><br></div><div>Director, OSOP</div><div>Sign up for the OSOP mailing list: <a href="http://www.osop.com.pa/about/osop-mailing-list/" target="_blank">http://www.osop.com.pa/about/osop-mailing-list/</a></div><div><br></div><div><img src="https://docs.google.com/uc?export=download&id=0B33xeji4vMAKS3RJTUR1MDJERFU&revid=0B33xeji4vMAKa3FUQnRHUy9pN3MvTzRqMnU1RldXQ29JZFNzPQ"><br></div><div><br></div><div><div style="font-size:small"><div><span style="font-size:12.7272720336914px;font-family:'Trebuchet MS',Arial,sans-serif;line-height:18.2000007629395px">Read all about it </span><a href="http://www.latimes.com/local/california/la-me-1123-earthquake-early-warning-20141123-story.html#page=1" style="color:rgb(17,85,204);font-size:12.7272720336914px;font-family:'Trebuchet MS',Arial,sans-serif;line-height:18.2000007629395px" target="_blank">here</a><span style="font-size:12.7272720336914px;font-family:'Trebuchet MS',Arial,sans-serif;line-height:18.2000007629395px">.</span></div><div><p style="font-family:'Trebuchet MS',Arial,sans-serif;font-size:12.7272720336914px;line-height:18.2000007629395px">Densify your seismic network with OSOP short-period seismometers. Improve speed and accuracy with:</p><ul style="font-family:'Trebuchet MS',Arial,sans-serif;font-size:12.7272720336914px;line-height:18.2000007629395px"><li style="margin-left:15px"><a href="http://www.osop.com.pa/wp-content/uploads/2013/11/darien_short_period_seismometer_brochure.pdf?5ef662&5ef662" style="color:rgb(17,85,204)" target="_blank">Darien</a> about $1500 each</li><li style="margin-left:15px"><a href="http://www.osop.com.pa/wp-content/uploads/2013/11/sixaola_short_period_seismometer_brochure.pdf?5ef662&5ef662" style="color:rgb(17,85,204)" target="_blank">Sixaola</a> about $5000 each</li></ul></div></div><div style="font-size:small">--</div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Mon, Feb 2, 2015 at 5:38 PM, Bruce Worden <span dir="ltr"><<a href="mailto:cbworden@gmail.com" target="_blank">cbworden@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Branden,<div><br></div><div>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.</div><div><br></div><div>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.</div><span><font color="#888888"><div><br></div><div>Bruce</div></font></span><div><div><div><br></div><div><div><div>On Feb 2, 2015, at 2:06 PM, Branden Christensen <<a href="mailto:branden.christensen@osop.com.pa" target="_blank">branden.christensen@osop.com.pa</a>> wrote:</div><br><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><span style="font-size:12.7272720336914px">It seems we have </span>compatibility<span style="font-size:12.7272720336914px"> problem (what I suspected earlier mail). Please check the bold letters below:</span><br style="font-size:12.7272720336914px"><br style="font-size:12.7272720336914px"><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">osop@seismo1:/opt/shakemap$ make all</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">svn info | grep Revision: > lib/shakemap.revision</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">( cd install && /usr/bin/make ../bin/configmacro )</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[1]: Entering directory `/opt/shakemap/install'</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">configmacro syntax OK</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[1]: Leaving directory `/opt/shakemap/install'</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">( cd src && /usr/bin/make all )</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[1]: Entering directory `/opt/shakemap/src'</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">/usr/bin/make -C config</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[2]: Entering directory `/opt/shakemap/src/config'</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">config syntax OK</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">Installing ShakeConfig.pm</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">Installing WatcherConfig.pm</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">(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)</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[2]: Leaving directory `/opt/shakemap/src/config'</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">/usr/bin/make -C lib</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[2]: Entering directory `/opt/shakemap/src/lib'</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">/usr/bin/make -C GMPE</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[3]: Entering directory `/opt/shakemap/src/lib/GMPE'</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[3]: Nothing to be done for `all'.</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[3]: Leaving directory `/opt/shakemap/src/lib/GMPE'</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">/usr/bin/make -C IPE</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[3]: Entering directory `/opt/shakemap/src/lib/IPE'</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[3]: Nothing to be done for `all'.</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[3]: Leaving directory `/opt/shakemap/src/lib/IPE'</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">/usr/bin/make -C GMICE</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[3]: Entering directory `/opt/shakemap/src/lib/GMICE'</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[3]: Nothing to be done for `all'.</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[3]: Leaving directory `/opt/shakemap/src/lib/GMICE'</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">/usr/bin/make -C Basin</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[3]: Entering directory `/opt/shakemap/src/lib/Basin'</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[3]: Nothing to be done for `all'.</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[3]: Leaving directory `/opt/shakemap/src/lib/Basin'</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[2]: Leaving directory `/opt/shakemap/src/lib'</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">/usr/bin/make -C genexlib</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[2]: Entering directory `/opt/shakemap/src/genexlib'</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[2]: Nothing to be done for `all'.</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[2]: Leaving directory `/opt/shakemap/src/genexlib'</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">/usr/bin/make -C cdmglib</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[2]: Entering directory `/opt/shakemap/src/cdmglib'</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[2]: Nothing to be done for `all'.</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[2]: Leaving directory `/opt/shakemap/src/cdmglib'</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">/usr/bin/make -C watcherlib</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[2]: Entering directory `/opt/shakemap/src/watcherlib'</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[2]: Nothing to be done for `all'.</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[2]: Leaving directory `/opt/shakemap/src/watcherlib'</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">/usr/bin/make -C contour</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">make[2]: Entering directory `/opt/shakemap/src/contour'</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">/usr/bin/cc -O -I . -I /usr/include/gmt -I /usr/include -c contour.c</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">contour.c: In function 'main':</span><br style="font-size:12.7272720336914px"><b style="font-size:12.7272720336914px">contour.c:422:3: warning: passing argument 8 of 'GMT_read_grd' from <font color="#cc0000">incompatible pointer type</font> [enabled by default]</b><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">   if( GMT_read_grd(grdfile, &gh, grid, 0, 0, 0, 0, pad, FALSE) ) {</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">   ^</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">In file included from /usr/include/gmt/gmt.h:643:0,</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">                 from contour.c:8:</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px">/usr/include/gmt/gmt_grdio.h:</span><span style="font-size:12.7272720336914px">56:21: note: expected 'GMT_LONG *' but argument is of type 'int *'</span><br style="font-size:12.7272720336914px"><span style="font-size:12.7272720336914px"> 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);</span><br></div><div class="gmail_extra"><span style="font-size:12.7272720336914px"><br></span></div><div class="gmail_extra"><span style="font-size:12.7272720336914px">Bruce, what version of gmt do you recommend?</span></div><div class="gmail_extra"><span style="font-size:12.7272720336914px"><br></span></div><div class="gmail_extra"><span style="font-size:12.7272720336914px"><br></span></div><div class="gmail_extra"><span style="font-size:12.7272720336914px">Best, </span></div><div class="gmail_extra"><span style="font-size:12.7272720336914px"><br></span></div><div class="gmail_extra"><span style="font-size:12.7272720336914px"><br></span></div><div class="gmail_extra"><span style="font-size:12.7272720336914px">Branden</span></div><div class="gmail_extra"><span style="font-size:12.7272720336914px">--</span></div></div>
</blockquote></div><br></div></div></div></div></blockquote></div><br></div>
</blockquote></div><br></div></div></div></div><br>_______________________________________________<br>
Shake-dev mailing list<br>
<a href="mailto:Shake-dev@geohazards.usgs.gov">Shake-dev@geohazards.usgs.gov</a><br>
<a href="https://geohazards.usgs.gov/mailman/listinfo/shake-dev" target="_blank">https://geohazards.usgs.gov/mailman/listinfo/shake-dev</a><br>
<br></blockquote></div><br></div>