DRIVER=processor
MODALIAS=cpu:type:x86,ven0002fam0017mod0031:feature:,0000,0001,0002,0003,0004,0005,0006,0007,0008,0009,000B,000C,000D,000E,000F,0010,0011,0013,0017,0018,0019,001A,0020,0021,0022,0023,0024,0025,0026,0027,0028,0029,002B,002C,002D,002E,002F,0030,0031,0034,0036,0037,0038,0039,003A,003B,003D,0064,006E,0070,0072,0074,0075,0079,007A,007F,0080,0081,0089,008C,008D,0093,0094,0095,0096,0097,0098,0099,009A,009B,009C,009D,009E,009F,00C0,00C1,00C4,00C5,00C6,00C7,00C8,00C9,00D7,00EA,00ED,00F0,00F1,00F3,00F5,00F9,00FA,00FB,00FC,010F,0114,0115,0120,0121,0123,0125,0127,0128,0132,0133,0134,0137,0138,013D,0140,0141,0142,0165,016C,016E,016F,0170,017C,01A0,01A2,01A9,01AC,01AE,01AF,01B8,01C2,0202,0216,0220,0221,025A,025B,025D,025F,0282,0286,029C,029D

 $ì    #! /bin/sh
#
# This forms the basis for the nc-config utility, which tells you
# various things about the netCDF installation. This code was
# contributed by netCDF user Arlindo DaSilva. Thanks Arlindo!

prefix="/usr"
exec_prefix="/usr"
libdir="/usr/lib/x86_64-linux-gnu"
includedir="/usr/include"

cc="/usr/bin/cc"
cflags="-I/usr/include -I/usr/include/hdf5/serial"
libs="-L/usr/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu/hdf5/serial -lnetcdf"
libsprivate="-lhdf5_hl -lhdf5 -lcrypto -lcurl -lpthread -lsz -lz -ldl -lm -lxml2"
HAS_STATIC=""

has_dap2="ON"
if [ -z $has_dap2 -o "$has_dap2" = "OFF" ]; then
    has_dap2="no"
else
    has_dap2="yes"
fi

has_dap4="ON"
if [ -z $has_dap4 -o "$has_dap4" = "OFF" ]; then
    has_dap4="no"
else
    has_dap4="yes"
fi

has_nc2="ON"


if [ -z "$has_nc2" -o "$has_nc2" = "OFF" ]; then
    has_nc2="no"
else
    has_nc2="yes"
fi

has_nc4="ON"
if [ -z "$has_nc4" -o "$has_nc4" = "OFF" ]; then
    has_nc4="no"
else
    has_nc4="yes"
fi

has_logging="OFF"
if [ -z "$has_logging" -o "$has_logging" = "OFF" ]; then
    has_logging="no"
else
    has_logging="yes"
fi

has_hdf4=""
if [ -z "$has_hdf4" -o "$has_hdf4" = "OFF" ]; then
    has_hdf4="no"
else
    has_hdf4="yes"
fi

has_pnetcdf=""
if [ -z "$has_pnetcdf" -o "$has_pnetcdf" = "OFF" ]; then
    has_pnetcdf="no"
else
    has_pnetcdf="yes"
fi

has_hdf5="ON"
if [ -z "$has_hdf5" -o "$has_hdf5" = "OFF" ]; then
    has_hdf5="no"
else
    has_hdf5="yes"
fi

has_szlib=""
if [ -z "$has_szlib" -o "$has_szlib" = "OFF" ]; then
    has_szlib="no"
else
    has_szlib="yes"
fi

has_cdf5="AUTO"
if [ -z "$has_cdf5" -o "$has_cdf5" = "OFF" -o "$has_cdf5" = "FALSE" ]; then
    has_cdf5="no"
else
    has_cdf5="yes"
fi

has_parallel4=""
if [ -z $has_parallel4 ]; then
    has_parallel4="no"
else
    has_parallel4="yes"
fi

has_parallel=""
if [ -z $has_parallel ]; then
    has_parallel="no"
else
    has_parallel="yes"
fi

has_nczarr="ON"
if [ -z "$has_nczarr" -o "$has_nczarr" = "OFF" -o "$has_nczarr" = "FALSE" ]; then
    has_nczarr="no"
else
    has_nczarr="yes"
fi

version="netCDF 4.9.0"


has_fortran="no"
has_f90="no"
has_f03="no"

nfconf=$(which nf-config 2>/dev/null)

if [ -f "$nfconf" ]; then
  has_fortran="yes"
  fc=`nf-config --fc`
  fflags=`nf-config --fflags`
  flibs=`nf-config --flibs`
  has_f90=`nf-config --has-f90`
  has_f03=`nf-config --has-f03`
fi

has_cxx="no"
has_cxx4="no"

ncxxconf=$(which ncxx-config 2>/dev/null)
ncxx4conf=$(which ncxx4-config 2>/dev/null)

if [ -f "$ncxx4conf" ]; then
  cxx4=`ncxx4-config --cxx`
  cxx4flags=`ncxx4-config --cflags`
  cxx4libs=`ncxx4-config --libs`
  has_cxx4="yes"
elif [ -f "$ncxxconf" ]; then
  cxx=`ncxx-config --cxx`
  cxxflags=`ncxx-config --cflags`
  cxxlibs=`ncxx-config --libs`
  has_cxx="yes"
fi

usage()
{
    cat <<EOF
Usage: nc-config [OPTION]

Available values for OPTION include:

  --help          display this help message and exit
  --all           display all options
  --cc            C compiler
  --cflags        pre-processor and compiler flags
  --has-c++       whether C++ API is installed
  --has-c++4      whether netCDF-4 C++ API is installed
  --has-fortran   whether Fortran API is installed
  --has-dap2      whether OPeNDAP (DAP2) is enabled in this build
  --has-dap4      whether DAP4 is enabled in this build
  --has-dap       same as --has-dap2 (D