Re: [netcdfgroup] Error: Symbol 'nc_noquantize' at (1) has no IMPLICIT type

  • To: Dave Allured - NOAA Affiliate <dave.allured@xxxxxxxx>
  • Subject: Re: [netcdfgroup] Error: Symbol 'nc_noquantize' at (1) has no IMPLICIT type
  • From: Anel Hernandez <anel20002000@xxxxxxxxx>
  • Date: Thu, 19 Dec 2024 09:48:46 +0000 (UTC)
 Ok, Thank you very much

-----------------------------------------------------


     El miércoles, 18 de diciembre de 2024, 11:45:33 p.m. EST, Dave Allured - 
NOAA Affiliate <dave.allured@xxxxxxxx> escribió:  
 
 Anel, you do not need to be concerned about compressed data or Quantize.  The 
netCDF libraries will automatically uncompress any compressed data files that 
are produced by WRF, when reading with CALMET.  Therefore I recommend normal 
configurations for netcdf-C and netcdf-fortran.  Do not use --disable-hdf5.
If this does not work, then please show the version of CALMET and location of 
its source code, and I will take a closer look.

On Wed, Dec 18, 2024 at 4:12 AM Anel Hernandez <anel20002000@xxxxxxxxx> wrote:

 When I do:
./configure --enable-shared --prefix=$DIR/netcdf

I got a Feature:
Quantize: yes

How can I enable the Quantize feature?

thanks in advance,
A


On Tue, Dec 17, 2024 at 4:55 AM Anel Hernandez <anel20002000@xxxxxxxxx> wrote:
I run wrf without hdf5 because I need uncompressed data since I need to use the 
wrf outputs to feed calmet. I'm going to compile netcdf-c without both options: 
--enable-netcdf4 --disable-hdf5 and then tell my results. Thanks

 

     El martes, 17 de diciembre de 2024, 01:37:16 a.m. EST, Dave Allured - NOAA 
Affiliate <dave.allured@xxxxxxxx> escribió: 
 Anel, when configuring netcdf-c, this is unusual.  Why are you enabling one 
without the other?  Is this intentional?
      --enable-netcdf4    --disable-hdf5
> Error: Symbol 'nc_noquantize' at (1) has no IMPLICIT type
This is probably a bug in one of the configure steps.  If you don't mind 
installing an extra library, then the easiest workaround for now is probably to 
add the HDF5 library, and switch to --enable-hdf5 when configuring netcdf-c.

On Fri, Dec 13, 2024 at 2:14 AM Anel Hernandez <anel20002000@xxxxxxxxx> wrote:

in Ubuntu 24.04.1 LTS, 64bits. I try to install netcdf With these flags:

export DIR=$(pwd)
export PATH=$DIR/netcdf/bin:${PATH}
export LD_LIBRARY_PATH=$DIR/netcdf/lib:$DIR/grib2/lib

export JASPERLIB=$DIR/grib2/lib
export JASPERINC=$DIR/grib2/include
export NETCDF=$DIR/netcdf

export CC=gcc
export CXX=g++
export FC=gfortran
export FCFLAGS="-m64"
export F77=gfortran
export FFLAGS="-m64"

export LDFLAGS="-L$DIR/netcdf/lib -L$DIR/grib2/lib"
export CPPFLAGS="-I$DIR/netcdf/include -I$DIR/grib2/include"

and this code:
##############################Install NETCDF C 
Library############################
tar -xf netcdf-c-4.9.2.tar.gz
cd netcdf-c-4.9.2
./configure --prefix=$DIR/netcdf --enable-shared --enable-netcdf4 
--disable-filter-testing --disable-dap --disable-hdf5
make -j 4
make install
cd ..
rm -r netcdf-c-4.9.2
##############################NetCDF fortran library############################
export LIBS="-lnetcdf -lz"
tar -xf netcdf-fortran-4.6.1.tar.gz
cd netcdf-fortran-4.6.1
./configure --enable-shared --prefix=$DIR/netcdf
make -j 4
make install
cd ..
rm -r netcdf-fortran-4.6.1

I got this error:
module_netcdf_nf_data.F90:167:54:

167 | Integer, Parameter :: NF_NOQUANTIZE = NC_NOQUANTIZE
| 1
Error: Symbol 'nc_noquantize' at (1) has no IMPLICIT type; did you mean 
'nf_noquantize'?
module_netcdf_nf_data.F90:168:67:

168 | Integer, Parameter :: NF_QUANTIZE_BITGROOM = NC_QUANTIZE_BITGROOM
| 1
Error: Symbol 'nc_quantize_bitgroom' at (1) has no IMPLICIT type; did you mean 
'nf_quantize_bitgroom'?

What should I do?

thanks in advance,
A
Gracias de antemano por su comprensión y cooperación,
-----------------------------------------------------
Saludos,
Prof & Dr. Anel Hernández Garces

  
  
  • 2024 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: