[Shake-dev] run error
Bruce Worden
cbworden at caltech.edu
Mon Jun 21 16:29:44 UTC 2010
Hi,
This error appears to be a problem with the program sm_nearneighbor,
which resides in the directory src/contour. This is a C program that
must compile successfully. It appears that in the linking phase it is
being linked to a NetCDF library that is not found when the program is
executed. You will need to examine your GMT and NetCDF installations
to determine the locations of the libraries and then, in the file
include/macros, set the variables GMTLIB and CDFLIB (also set the
include directories for these installations). Once you have compiled
sm_nearneighbor so that it will run without linkage errors, try
running ShakeMap again.
Bruce
On Jun 21, 2010, at 1:37 AM, 王士成 wrote:
> Hi all,
> i run the ShakeMap v3.5 after installed it and modified the "config"
> files ,sth wrong was happened,the following were the details,and
> what should i do?
> Thanks,
> WSC
>
> wsc at wsc-desktop:~/shake_home/bin$ ./shake -event 9583161 -verbose
> shake: Running: '/home/wsc/shake_home/bin/../bin/retrieve -event
> 9583161'
> Using zone CI.
> Reading source.
> Extracting data.
> Reading directory /home/wsc/shake_home/bin/../data/unassoc.
> Got 0 files in /home/wsc/shake_home/bin/../data/unassoc.
> Reading directory /home/wsc/shake_home/bin/../data/unassoc/_temp.
> Got 0 files in /home/wsc/shake_home/bin/../data/unassoc/_temp.
> Got 0 files. Associated 0 to event 9583161.
> shake: Running: '/home/wsc/shake_home/bin/../bin/pending -event
> 9583161'
> transfer: ----- Starting Transfer at 06/21/2010 16:24:54 -----
> transfer: ----- Transfer finished at 06/21/2010 16:24:54 -----
> shake: Done with 'pending'
> shake: Running: '/home/wsc/shake_home/bin/../bin/grind - event
> 9583161 -qtm -xml -dev'
> grind: The 'dev' flag is deprecated. It will be removed in a future
> version. Please remove it from your configuration files.
> //home/wsc/shake_home/bin/../bin/sm_nearneighbor: error while
> loading shared libraries: libnetcdf.so.4: cannot open shared object
> file: No such file or directory
> grdmath: Not a supported grid format [/home/wsc/shake_home/bin/../
> data/9583161/output/lCHYeV67ag.grd]
> grdmath: Not a supported grid format [/home/wsc/shake_home/bin/../
> data/9583161/output/cS1u1OwVe9.grd]
> //home/wsc/shake_home/bin/../bin/sm_nearneighbor: error while
> loading shared libraries: libnetcdf.so.4: cannot open shared object
> file: No such file or directory
> grdmath: Not a supported grid format [/home/wsc/shake_home/bin/../
> data/9583161/output/0E504woZVn.grd]
> grdmath: GMT SYNTAX ERROR: /home/wsc/shake_home/bin/../data/9583161/
> richter/pga_rock.grd is not a number, operator or file name
> grdmath: Not a supported grid format [/home/ws c/shake_home/bin/../
> data/9583161/output/PJ3E_N7LsK.grd]
> grdmath: GMT SYNTAX ERROR: /home/wsc/shake_home/bin/../data/9583161/
> richter/pga_rock.grd is not a number, operator or file name
> grdmath: GMT SYNTAX ERROR: /home/wsc/shake_home/bin/../data/9583161/
> richter/pgv_rock.grd is not a number, operator or file name
> //home/wsc/shake_home/bin/../bin/sm_nearneighbor: error while
> loading shared libraries: libnetcdf.so.4: cannot open shared object
> file: No such file or directory
> grdmath: Not a supported grid format [/home/wsc/shake_home/bin/../
> data/9583161/output/511f2sGtGJ.grd]
> grdmath: GMT SYNTAX ERROR: /home/wsc/shake_home/bin/../data/9583161/
> richter/mi_rock.grd is not a number, operator or file name
> gmt2rgb: Not a supported grid format [/home/wsc/shake_home/bin/../
> data/9583161/output/esOKzzSQgM.grd]
> grdmath: GMT SYNTAX ERROR: /home/wsc/shake_home/bin/../data/9583161/
> output/map_r.grd is not a number, operator or file name
> grdmath: GMT SYNTAX ERROR: /home/wsc /shake_home/bin/../data/9583161/
> output/mi.grd is not a number, operator or file name
> grdinfo: Could not find file [/home/wsc/shake_home/bin/../data/
> 9583161/output/pga.grd]
> GMThd: unknown accessor 'file'
> at /home/wsc/shake_home/bin/../bin/grind line 1819
> shake: Error in grind: 2560
>
>
More information about the Shake-dev
mailing list