[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #VIC-618422]: Erro Netcdf



Marco,

> Results when I use GMT:
> 
> Unable to open /usr/local/gmt/GSHHG/gshhg-gmt-2.3.4/binned_GSHHS_h.nc. Make 
> sure you have netCDF library version >= 4.0, with HDF5 support pscoast: 
> NetCDF: Unknown file format [GSHHG high resolution shoreline]
> pscoast: NetCDF: Unknown file format [GSHHG high resolution political 
> boundary data]
> pscoast: No GSHHG databases available - must abort
> 
> But according to this netcdf enabled HDF5.

This probably means that you need to set the LD_LIBRARY_PATH variable to
include the directory where the netCDF library is installed.

After success of make check and make install for the netCDF-C library, it will
be installed in /usr/local/netcdf/lib/, according to the config.log file you 
sent
with

  $ ./configure --prefix=/usr/local/netcdf 

So before you try to build GMT, you can make sure your new netCDF-4 library 
is found by setting LD_LIBRARY_PATH=/usr/local/netcdf/lib:$LD_LIBRARY_PATH.

--Russ

> Para: "marco claro" <address@hidden>
> 
> | Cc: address@hidden
> | Enviadas: Quarta-feira, 26 de Agosto de 2015 18:07:16
> | Assunto: [netCDF #VIC-618422]: Erro Netcdf
> 
> | Hi Marco.
> 
> | > Makefile:984: recipe for target 'test-suite.log' failed
> | > make[3]: *** [test-suite.log] Error 1
> | > make[3]: Leaving directory '/usr/local/netcdf-4.3.3.1/h5_test'
> | > Makefile:1090: recipe for target 'check-TESTS' failed
> | > make[2]: *** [check-TESTS] Error 2
> | > make[2]: Leaving directory '/usr/local/netcdf-4.3.3.1/h5_test'
> | > Makefile:1359: recipe for target 'check-am' failed
> | > make[1]: *** [check-am] Error 2
> | > make[1]: Leaving directory '/usr/local/netcdf-4.3.3.1/h5_test'
> | > Makefile:663: recipe for target 'check-recursive' failed
> | > make: *** [check-recursive] Error 1
> 
> | Could you please send us the config.log file that was generated when
> | you ran the 'configure' script?
> 
> | It would also help if we could see all the output from "make check"
> | that
> | preceded the lines above.
> 
> | Thanks.
> 
> | --Russ
> 
> | Russ Rew UCAR Unidata Program
> | address@hidden http://www.unidata.ucar.edu
> 
> | Ticket Details
> | ===================
> | Ticket ID: VIC-618422
> | Department: Support netCDF
> | Priority: Normal
> | Status: Closed
> 
> Results when I use GMT
> 
Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: VIC-618422
Department: Support netCDF
Priority: Normal
Status: Closed