<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi all<div><br></div><div>We are running ShakeMap v3.5, but testing It we are receiving this message:</div><div><div><b>shake@shake1:~/ShakeMap></b> bin/shake -event 9583161 -verbose</div><div>shake: Running: '/home/shake/ShakeMap/bin/../bin/retrieve -event 9583161'</div><div>shake: Running: '/home/shake/ShakeMap/bin/../bin/pending -event 9583161'</div><div>transfer: ----- Starting Transfer at 09/08/2010 08:40:07 -----</div><div>transfer: ----- Transfer finished at 09/08/2010 08:40:07 -----</div><div>shake: Done with 'pending'</div><div>shake: Running: '/home/shake/ShakeMap/bin/../bin/grind -event 9583161 -qtm -xml'</div><div>//home/shake/ShakeMap/bin/../bin/sm_nearneighbor: error while loading shared libraries: libnetcdf.so.4: cannot open shared object file: No such file or directory</div><div>grdmath: Not a supported grid format [/home/shake/ShakeMap/bin/../data/9583161/output/XUjmmQOVU0.grd]</div><div>grdmath: Not a supported grid format [/home/shake/ShakeMap/bin/../data/9583161/output/rK0FwR8Gfc.grd]</div><div>//home/shake/ShakeMap/bin/../bin/sm_nearneighbor: error while loading shared libraries: libnetcdf.so.4: cannot open shared object file: No such file or directory</div><div>grdmath: Not a supported grid format [/home/shake/ShakeMap/bin/../data/9583161/output/c0DqvB8ZQY.grd]</div><div>grdmath: GMT SYNTAX ERROR: /home/shake/ShakeMap/bin/../data/9583161/richter/pga_rock.grd is not a number, operator or file name</div><div>grdmath: Not a supported grid format [/home/shake/ShakeMap/bin/../data/9583161/output/eF5FziychM.grd]</div><div>grdmath: GMT SYNTAX ERROR: /home/shake/ShakeMap/bin/../data/9583161/richter/pga_rock.grd is not a number, operator or file name</div><div>grdmath: GMT SYNTAX ERROR: /home/shake/ShakeMap/bin/../data/9583161/richter/pgv_rock.grd is not a number, operator or file name</div><div>//home/shake/ShakeMap/bin/../bin/sm_nearneighbor: error while loading shared libraries: libnetcdf.so.4: cannot open shared object file: No such file or directory</div><div>grdmath: Not a supported grid format [/home/shake/ShakeMap/bin/../data/9583161/output/MRMsVbuWe1.grd]</div><div>grdmath: GMT SYNTAX ERROR: /home/shake/ShakeMap/bin/../data/9583161/richter/mi_rock.grd is not a number, operator or file name</div><div>gmt2rgb: Not a supported grid format [/home/shake/ShakeMap/bin/../data/9583161/output/0PecsZeBtB.grd]</div><div>grdmath: GMT SYNTAX ERROR: /home/shake/ShakeMap/bin/../data/9583161/output/map_r.grd is not a number, operator or file name</div><div>grdmath: GMT SYNTAX ERROR: /home/shake/ShakeMap/bin/../data/9583161/output/mi.grd is not a number, operator or file name</div><div>grdinfo: Could not find file [/home/shake/ShakeMap/bin/../data/9583161/output/pga.grd]</div><div>GMThd: unknown accessor 'file'</div><div> at /home/shake/ShakeMap/bin/../bin/grind line 1825</div><div>shake: Error in grind: 2560</div><div><b>shake@shake1:~/ShakeMap> </b></div><div><br></div></div><div>What does it mean?</div><div><br></div><div><br></div><div>Compiling "sm_nearneighbor" again, this is the output:</div><div><div><b>shake@shake1:~/ShakeMap/src/contour></b> make all</div><div>/usr/bin/cc -O -I . -I /opt/GMT4.5.2/include -I /opt/netcdf-3.6.3/include -c contour.c</div><div>contour.c: In function ‘main’:</div><div>contour.c:411: warning: passing argument 8 of ‘GMT_read_grd’ from incompatible pointer type</div><div>/opt/GMT4.5.2/include/gmt_grdio.h:52: note: expected ‘GMT_LONG *’ but argument is of type ‘int *’</div><div>/usr/bin/cc -O -I . -I /opt/GMT4.5.2/include -I /opt/netcdf-3.6.3/include -c shpopen.c</div><div>/usr/bin/cc -O -I . -I /opt/GMT4.5.2/include -I /opt/netcdf-3.6.3/include -c dbfopen.c</div><div>/usr/bin/cc -L/opt/GMT4.5.2/lib -L/opt/netcdf-3.6.3/lib contour.o shpopen.o dbfopen.o -lgmt -lnetcdf -lpsl -lm -o contour</div><div>/usr/bin/install -m 0755 contour /home/shake/ShakeMap/bin</div><div>/usr/bin/cc -O -I . -I /opt/GMT4.5.2/include -I /opt/netcdf-3.6.3/include -c sm_nearneighbor.c</div><div>sm_nearneighbor.c: In function ‘main’:</div><div>sm_nearneighbor.c:424: warning: passing argument 1 of ‘GMT_y_out_of_bounds’ from incompatible pointer type</div><div>/opt/GMT4.5.2/include/gmt_boundcond.h:54: note: expected ‘GMT_LONG *’ but argument is of type ‘int *’</div><div>sm_nearneighbor.c:429: warning: passing argument 1 of ‘GMT_x_out_of_bounds’ from incompatible pointer type</div><div>/opt/GMT4.5.2/include/gmt_boundcond.h:55: note: expected ‘GMT_LONG *’ but argument is of type ‘int *’</div><div>/usr/bin/cc -L/opt/GMT4.5.2/lib -L/opt/netcdf-3.6.3/lib sm_nearneighbor.o -lgmt -lnetcdf -lpsl -lm -o sm_nearneighbor</div><div>/usr/bin/install -m 0755 sm_nearneighbor /home/shake/ShakeMap/bin</div><div>/usr/bin/cc -O -I . -I /opt/GMT4.5.2/include -I /opt/netcdf-3.6.3/include -c dist_rrupt.c</div><div>/usr/bin/cc dist_rrupt.o -lm -o dist_rrupt</div><div>/usr/bin/install -m 0755 dist_rrupt /home/shake/ShakeMap/bin</div><div>/usr/bin/cc -O -I . -I /opt/GMT4.5.2/include -I /opt/netcdf-3.6.3/include -c dist_rx.c</div><div>/usr/bin/cc dist_rx.o -lm -o dist_rx</div><div>/usr/bin/install -m 0755 dist_rx /home/shake/ShakeMap/bin</div><div><b>shake@shake1:~/ShakeMap/src/contour></b></div></div><div><b><br></b></div><div>I resolved the problem using:</div><div>export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/netcdf-3.6.3/lib</div><div><br></div><div>but is this the best solution?</div><div><br></div><div>Thank you for your support.</div><div><br></div></body></html>