[Met_help] [rt.rap.ucar.edu #100256] History for NetCDF Build Issue

Julie Prestopnik via RT met_help at ucar.edu
Tue Jun 22 09:19:43 MDT 2021


----------------------------------------------------------------
  Initial Request
----------------------------------------------------------------

Hello,

I am trying to build MET version 9.1.3 and I'm running into some issues
with NetCDF.  When the build progresses to nc_var_info.cc, I receive a
number of undefined identifier messages:

---
icpc -DHAVE_CONFIG_H -I. -I../../..  -I../../../src/basic/vx_cal
-I../../../src/basic/vx_config -I../../../src/basic/vx_log
-I../../../src/basic/vx_math -I../../../src/basic/vx_util
-I../../../src/libcode/vx_afm -I../../../src/libcode/vx_analysis_util
-I../../../src/libcode/vx_color -I../../../src/libcode/vx_data2d
-I../../../src/libcode/vx_data2d_factory
-I../../../src/libcode/vx_data2d_grib
-I../../../src/libcode/vx_data2d_grib2
-I../../../src/libcode/vx_data2d_nccf
-I../../../src/libcode/vx_data2d_nc_met
-I../../../src/libcode/vx_data2d_nc_pinterp
-I../../../src/libcode/vx_data2d_python
-I../../../src/libcode/vx_python3_utils -I../../../src/libcode/vx_geodesy
-I../../../src/libcode/vx_gis -I../../../src/libcode/vx_gnomon
-I../../../src/libcode/vx_grid -I../../../src/libcode/vx_gsl_prob
-I../../../src/libcode/vx_nav -I../../../src/libcode/vx_nc_obs
-I../../../src/libcode/vx_nc_util -I../../../src/libcode/vx_pb_util
-I../../../src/libcode/vx_plot_util -I../../../src/libcode/vx_ps
-I../../../src/libcode/vx_pxm -I../../../src/libcode/vx_render
-I../../../src/libcode/vx_regrid -I../../../src/libcode/vx_shapedata
-I../../../src/libcode/vx_solar -I../../../src/libcode/vx_statistics
-I../../../src/libcode/vx_stat_out -I../../../src/libcode/vx_summary
-I../../../src/libcode/vx_time_series -I../../../src/libcode/vx_series_data
-I../../../src/libcode/vx_tc_util
-I/data/prod/hpc-stack/intel-18.0.3/impi-18.0.3/netcdf/4.7.4/include
-I/data/prod/hpc-stack/intel-18.0.3/impi-18.0.3/hdf5/1.10.6/include
-I/data/prod/hpc-stack/intel-18.0.3/g2c/1.6.2/include -I../../basic/vx_log
-I../../basic/vx_util -I/opt/miniconda/3.8-s4/include/python3.8
-I/opt/miniconda/3.8-s4/include/python3.8 -Wsign-compare -march=nocona
-mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -O3
-ffunction-sections -pipe -isystem /home/opt/miniconda/3.8-s4/include
-ffat-lto-objects -flto-partition=none -DNDEBUG -fwrapv -O3 -Wall
-I/opt/gsl/2.6/include -I/opt/hdf4/4.2.14-intel-18.0.3/include -DBLOCK4
-DWITH_GRIB2 -DWITH_PYTHON
-DMET_BASE="\"/data/users/dhuber/MET/share/met\""  -g -MT
libvx_nc_util_a-nc_var_info.o -MD -MP -MF
.deps/libvx_nc_util_a-nc_var_info.Tpo -c -o libvx_nc_util_a-nc_var_info.o
`test -f 'nc_var_info.cc' || echo './'`nc_var_info.cc
icpc: command line warning #10159: invalid argument for option '-flto'
icpc: warning #10193: -vec is default; use -x and -ax to configure
vectorization
icpc: command line warning #10385: option '-ffat-lto-objects' requires use
of '-ipo -c'. Option ignored.
In file included from
/data/prod/hpc-stack/intel-18.0.3/impi-18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
                 from
/data/prod/hpc-stack/intel-18.0.3/impi-18.0.3/netcdf/4.7.4/include/netcdf(7),
                 from nc_utils.h(21),
                 from nc_var_info.cc(24):
/data/prod/hpc-stack/intel-18.0.3/impi-18.0.3/netcdf/4.7.4/include/ncType.h(30):
error: identifier "NC_INT" is undefined
        nc_INT      = NC_INT,   //!< signed 4 byte integer
                      ^

In file included from
/data/prod/hpc-stack/intel-18.0.3/impi-18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
                 from
/data/prod/hpc-stack/intel-18.0.3/impi-18.0.3/netcdf/4.7.4/include/netcdf(7),
                 from nc_utils.h(21),
                 from nc_var_info.cc(24):
/data/prod/hpc-stack/intel-18.0.3/impi-18.0.3/netcdf/4.7.4/include/ncType.h(33):
error: identifier "NC_UBYTE" is undefined
        nc_UBYTE    = NC_UBYTE, //!< unsigned 1 byte int
                      ^

In file included from
/data/prod/hpc-stack/intel-18.0.3/impi-18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
                 from
/data/prod/hpc-stack/intel-18.0.3/impi-18.0.3/netcdf/4.7.4/include/netcdf(7),
                 from nc_utils.h(21),
                 from nc_var_info.cc(24):
/data/prod/hpc-stack/intel-18.0.3/impi-18.0.3/netcdf/4.7.4/include/ncType.h(34):
error: identifier "NC_USHORT" is undefined
        nc_USHORT   = NC_USHORT,        //!< unsigned 2-byte int

---

These variables are defined in netcdf.h, but this header is never
included.  In older versions of NetCDF, the line
#include <netcdf.h>
in $MET_NETCDFINC/netcdf would automatically include netcdf.h, but in
version 4.7.4, this line is replaced with
extern "C" {
#include <netcdf.h>
}
So netcdf.h is not included for C++ source files.  I haven't tested it yet,
but I suspect I could add #include <netcdf.h> to nc_var_info.h.  I'm not
sure just how many header files I would need to add this line, though, nor
if it is the best solution.  Would that be my best bet here or do you have
another suggestion on how to get this to compile?

Thanks,

Dave


----------------------------------------------------------------
  Complete Ticket History
----------------------------------------------------------------

Subject: NetCDF Build Issue
From: Minna Win
Time: Thu Jun 17 08:08:23 2021

Hello Dave,

It looks like you are trying to install an older version of MET.  MET
10.0.0 is available and we recommend you try installing that instead.
I am
going to refer your ticket to Julie Prestopnik, who has a lot of
expertise
in building MET.  Please allow a few business days for a full
response.

Regards,
Minna
---------------
Minna Win
Pronouns: she/her
National Center for Atmospheric Research
Developmental Testbed Center
Phone: 303-497-8423
Fax:   303-497-8401
---------------



On Thu, Jun 17, 2021 at 6:36 AM David Huber - NOAA Affiliate via RT <
met_help at ucar.edu> wrote:

>
> Thu Jun 17 06:35:49 2021: Request 100256 was acted upon.
> Transaction: Ticket created by david.huber at noaa.gov
>        Queue: met_help
>      Subject: NetCDF Build Issue
>        Owner: Nobody
>   Requestors: david.huber at noaa.gov
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
>
>
> Hello,
>
> I am trying to build MET version 9.1.3 and I'm running into some
issues
> with NetCDF.  When the build progresses to nc_var_info.cc, I receive
a
> number of undefined identifier messages:
>
> ---
> icpc -DHAVE_CONFIG_H -I. -I../../..  -I../../../src/basic/vx_cal
> -I../../../src/basic/vx_config -I../../../src/basic/vx_log
> -I../../../src/basic/vx_math -I../../../src/basic/vx_util
> -I../../../src/libcode/vx_afm
-I../../../src/libcode/vx_analysis_util
> -I../../../src/libcode/vx_color -I../../../src/libcode/vx_data2d
> -I../../../src/libcode/vx_data2d_factory
> -I../../../src/libcode/vx_data2d_grib
> -I../../../src/libcode/vx_data2d_grib2
> -I../../../src/libcode/vx_data2d_nccf
> -I../../../src/libcode/vx_data2d_nc_met
> -I../../../src/libcode/vx_data2d_nc_pinterp
> -I../../../src/libcode/vx_data2d_python
> -I../../../src/libcode/vx_python3_utils
-I../../../src/libcode/vx_geodesy
> -I../../../src/libcode/vx_gis -I../../../src/libcode/vx_gnomon
> -I../../../src/libcode/vx_grid -I../../../src/libcode/vx_gsl_prob
> -I../../../src/libcode/vx_nav -I../../../src/libcode/vx_nc_obs
> -I../../../src/libcode/vx_nc_util -I../../../src/libcode/vx_pb_util
> -I../../../src/libcode/vx_plot_util -I../../../src/libcode/vx_ps
> -I../../../src/libcode/vx_pxm -I../../../src/libcode/vx_render
> -I../../../src/libcode/vx_regrid -I../../../src/libcode/vx_shapedata
> -I../../../src/libcode/vx_solar -I../../../src/libcode/vx_statistics
> -I../../../src/libcode/vx_stat_out -I../../../src/libcode/vx_summary
> -I../../../src/libcode/vx_time_series
-I../../../src/libcode/vx_series_data
> -I../../../src/libcode/vx_tc_util
> -I/data/prod/hpc-stack/intel-18.0.3/impi-18.0.3/netcdf/4.7.4/include
> -I/data/prod/hpc-stack/intel-18.0.3/impi-18.0.3/hdf5/1.10.6/include
> -I/data/prod/hpc-stack/intel-18.0.3/g2c/1.6.2/include
-I../../basic/vx_log
> -I../../basic/vx_util -I/opt/miniconda/3.8-s4/include/python3.8
> -I/opt/miniconda/3.8-s4/include/python3.8 -Wsign-compare
-march=nocona
> -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -O3
> -ffunction-sections -pipe -isystem /home/opt/miniconda/3.8-
s4/include
> -ffat-lto-objects -flto-partition=none -DNDEBUG -fwrapv -O3 -Wall
> -I/opt/gsl/2.6/include -I/opt/hdf4/4.2.14-intel-18.0.3/include
-DBLOCK4
> -DWITH_GRIB2 -DWITH_PYTHON
> -DMET_BASE="\"/data/users/dhuber/MET/share/met\""  -g -MT
> libvx_nc_util_a-nc_var_info.o -MD -MP -MF
> .deps/libvx_nc_util_a-nc_var_info.Tpo -c -o libvx_nc_util_a-
nc_var_info.o
> `test -f 'nc_var_info.cc' || echo './'`nc_var_info.cc
> icpc: command line warning #10159: invalid argument for option '-
flto'
> icpc: warning #10193: -vec is default; use -x and -ax to configure
> vectorization
> icpc: command line warning #10385: option '-ffat-lto-objects'
requires use
> of '-ipo -c'. Option ignored.
> In file included from
>
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
>                  from
>
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
>                  from nc_utils.h(21),
>                  from nc_var_info.cc(24):
>
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(30):
> error: identifier "NC_INT" is undefined
>         nc_INT      = NC_INT,   //!< signed 4 byte integer
>                       ^
>
> In file included from
>
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
>                  from
>
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
>                  from nc_utils.h(21),
>                  from nc_var_info.cc(24):
>
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(33):
> error: identifier "NC_UBYTE" is undefined
>         nc_UBYTE    = NC_UBYTE, //!< unsigned 1 byte int
>                       ^
>
> In file included from
>
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
>                  from
>
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
>                  from nc_utils.h(21),
>                  from nc_var_info.cc(24):
>
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(34):
> error: identifier "NC_USHORT" is undefined
>         nc_USHORT   = NC_USHORT,        //!< unsigned 2-byte int
>
> ---
>
> These variables are defined in netcdf.h, but this header is never
> included.  In older versions of NetCDF, the line
> #include <netcdf.h>
> in $MET_NETCDFINC/netcdf would automatically include netcdf.h, but
in
> version 4.7.4, this line is replaced with
> extern "C" {
> #include <netcdf.h>
> }
> So netcdf.h is not included for C++ source files.  I haven't tested
it yet,
> but I suspect I could add #include <netcdf.h> to nc_var_info.h.  I'm
not
> sure just how many header files I would need to add this line,
though, nor
> if it is the best solution.  Would that be my best bet here or do
you have
> another suggestion on how to get this to compile?
>
> Thanks,
>
> Dave
>
>

------------------------------------------------
Subject: NetCDF Build Issue
From: Julie Prestopnik
Time: Thu Jun 17 09:32:38 2021

Hi Dave.

I see that you are trying to compile MET version 9.1.3 but are having
some
issues with NetCDF.  As Minna mentioned, we have released METversion
10.0.0
and always encourage users to install our latest stable release.

You can find the latest recommended version on our Downloads page:
https://dtcenter.org/community-code/model-evaluation-tools-
met/download

Here is a direct link to the tar file:
https://github.com/dtcenter/MET/releases/download/v10.0.0/met-
10.0.0.20210510.tar.gz

To compile MET, we do have a script available that can be used if
you'd
like.  It can be found on that Downloads page under "Sample Script For
Compiling External Libraries And MET".

However, I can help with installing either version of MET.

Modifying nc_var_info.h or any other file should not be necessary.  If
you
could please pass along the config.log and make.log file for whichever
version you are installing, I will be able to better see what is going
on.
Once I receive those files, I'll take a look and will get back to you.

Julie



On Thu, Jun 17, 2021 at 8:08 AM Minna Win via RT <met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
>
> Hello Dave,
>
> It looks like you are trying to install an older version of MET.
MET
> 10.0.0 is available and we recommend you try installing that
instead.  I am
> going to refer your ticket to Julie Prestopnik, who has a lot of
expertise
> in building MET.  Please allow a few business days for a full
response.
>
> Regards,
> Minna
> ---------------
> Minna Win
> Pronouns: she/her
> National Center for Atmospheric Research
> Developmental Testbed Center
> Phone: 303-497-8423
> Fax:   303-497-8401
> ---------------
>
>
>
> On Thu, Jun 17, 2021 at 6:36 AM David Huber - NOAA Affiliate via RT
<
> met_help at ucar.edu> wrote:
>
> >
> > Thu Jun 17 06:35:49 2021: Request 100256 was acted upon.
> > Transaction: Ticket created by david.huber at noaa.gov
> >        Queue: met_help
> >      Subject: NetCDF Build Issue
> >        Owner: Nobody
> >   Requestors: david.huber at noaa.gov
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
> >
> >
> > Hello,
> >
> > I am trying to build MET version 9.1.3 and I'm running into some
issues
> > with NetCDF.  When the build progresses to nc_var_info.cc, I
receive a
> > number of undefined identifier messages:
> >
> > ---
> > icpc -DHAVE_CONFIG_H -I. -I../../..  -I../../../src/basic/vx_cal
> > -I../../../src/basic/vx_config -I../../../src/basic/vx_log
> > -I../../../src/basic/vx_math -I../../../src/basic/vx_util
> > -I../../../src/libcode/vx_afm
-I../../../src/libcode/vx_analysis_util
> > -I../../../src/libcode/vx_color -I../../../src/libcode/vx_data2d
> > -I../../../src/libcode/vx_data2d_factory
> > -I../../../src/libcode/vx_data2d_grib
> > -I../../../src/libcode/vx_data2d_grib2
> > -I../../../src/libcode/vx_data2d_nccf
> > -I../../../src/libcode/vx_data2d_nc_met
> > -I../../../src/libcode/vx_data2d_nc_pinterp
> > -I../../../src/libcode/vx_data2d_python
> > -I../../../src/libcode/vx_python3_utils
-I../../../src/libcode/vx_geodesy
> > -I../../../src/libcode/vx_gis -I../../../src/libcode/vx_gnomon
> > -I../../../src/libcode/vx_grid -I../../../src/libcode/vx_gsl_prob
> > -I../../../src/libcode/vx_nav -I../../../src/libcode/vx_nc_obs
> > -I../../../src/libcode/vx_nc_util
-I../../../src/libcode/vx_pb_util
> > -I../../../src/libcode/vx_plot_util -I../../../src/libcode/vx_ps
> > -I../../../src/libcode/vx_pxm -I../../../src/libcode/vx_render
> > -I../../../src/libcode/vx_regrid
-I../../../src/libcode/vx_shapedata
> > -I../../../src/libcode/vx_solar
-I../../../src/libcode/vx_statistics
> > -I../../../src/libcode/vx_stat_out
-I../../../src/libcode/vx_summary
> > -I../../../src/libcode/vx_time_series
> -I../../../src/libcode/vx_series_data
> > -I../../../src/libcode/vx_tc_util
> > -I/data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include
> > -I/data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/hdf5/1.10.6/include
> > -I/data/prod/hpc-stack/intel-18.0.3/g2c/1.6.2/include
> -I../../basic/vx_log
> > -I../../basic/vx_util -I/opt/miniconda/3.8-s4/include/python3.8
> > -I/opt/miniconda/3.8-s4/include/python3.8 -Wsign-compare
-march=nocona
> > -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -O3
> > -ffunction-sections -pipe -isystem /home/opt/miniconda/3.8-
s4/include
> > -ffat-lto-objects -flto-partition=none -DNDEBUG -fwrapv -O3 -Wall
> > -I/opt/gsl/2.6/include -I/opt/hdf4/4.2.14-intel-18.0.3/include
-DBLOCK4
> > -DWITH_GRIB2 -DWITH_PYTHON
> > -DMET_BASE="\"/data/users/dhuber/MET/share/met\""  -g -MT
> > libvx_nc_util_a-nc_var_info.o -MD -MP -MF
> > .deps/libvx_nc_util_a-nc_var_info.Tpo -c -o libvx_nc_util_a-
nc_var_info.o
> > `test -f 'nc_var_info.cc' || echo './'`nc_var_info.cc
> > icpc: command line warning #10159: invalid argument for option '-
flto'
> > icpc: warning #10193: -vec is default; use -x and -ax to configure
> > vectorization
> > icpc: command line warning #10385: option '-ffat-lto-objects'
requires
> use
> > of '-ipo -c'. Option ignored.
> > In file included from
> >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> >                  from
> >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> >                  from nc_utils.h(21),
> >                  from nc_var_info.cc(24):
> >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(30):
> > error: identifier "NC_INT" is undefined
> >         nc_INT      = NC_INT,   //!< signed 4 byte integer
> >                       ^
> >
> > In file included from
> >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> >                  from
> >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> >                  from nc_utils.h(21),
> >                  from nc_var_info.cc(24):
> >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(33):
> > error: identifier "NC_UBYTE" is undefined
> >         nc_UBYTE    = NC_UBYTE, //!< unsigned 1 byte int
> >                       ^
> >
> > In file included from
> >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> >                  from
> >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> >                  from nc_utils.h(21),
> >                  from nc_var_info.cc(24):
> >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(34):
> > error: identifier "NC_USHORT" is undefined
> >         nc_USHORT   = NC_USHORT,        //!< unsigned 2-byte int
> >
> > ---
> >
> > These variables are defined in netcdf.h, but this header is never
> > included.  In older versions of NetCDF, the line
> > #include <netcdf.h>
> > in $MET_NETCDFINC/netcdf would automatically include netcdf.h, but
in
> > version 4.7.4, this line is replaced with
> > extern "C" {
> > #include <netcdf.h>
> > }
> > So netcdf.h is not included for C++ source files.  I haven't
tested it
> yet,
> > but I suspect I could add #include <netcdf.h> to nc_var_info.h.
I'm not
> > sure just how many header files I would need to add this line,
though,
> nor
> > if it is the best solution.  Would that be my best bet here or do
you
> have
> > another suggestion on how to get this to compile?
> >
> > Thanks,
> >
> > Dave
> >
> >
>
>

--
Julie Prestopnik (she/her)
Software Engineer
National Center for Atmospheric Research
Research Applications Laboratory
Email: jpresto at ucar.edu

My working day may not be your working day.  Please do not feel
obliged to
reply to this email outside of your normal working hours.

------------------------------------------------
Subject: NetCDF Build Issue
From: David Huber - NOAA Affiliate
Time: Thu Jun 17 11:13:23 2021

Hi Julie,

For my purposes, I will need 9.1.3 installed.  We'll probably get
10.0.0
installed as well at a later time.

Attached are the two log files.

Thanks,

Dave

On Thu, Jun 17, 2021 at 11:32 AM Julie Prestopnik via RT
<met_help at ucar.edu>
wrote:

> Hi Dave.
>
> I see that you are trying to compile MET version 9.1.3 but are
having some
> issues with NetCDF.  As Minna mentioned, we have released METversion
10.0.0
> and always encourage users to install our latest stable release.
>
> You can find the latest recommended version on our Downloads page:
> https://dtcenter.org/community-code/model-evaluation-tools-
met/download
>
> Here is a direct link to the tar file:
>
> https://github.com/dtcenter/MET/releases/download/v10.0.0/met-
10.0.0.20210510.tar.gz
>
> To compile MET, we do have a script available that can be used if
you'd
> like.  It can be found on that Downloads page under "Sample Script
For
> Compiling External Libraries And MET".
>
> However, I can help with installing either version of MET.
>
> Modifying nc_var_info.h or any other file should not be necessary.
If you
> could please pass along the config.log and make.log file for
whichever
> version you are installing, I will be able to better see what is
going on.
> Once I receive those files, I'll take a look and will get back to
you.
>
> Julie
>
>
>
> On Thu, Jun 17, 2021 at 8:08 AM Minna Win via RT <met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
> >
> > Hello Dave,
> >
> > It looks like you are trying to install an older version of MET.
MET
> > 10.0.0 is available and we recommend you try installing that
instead.  I
> am
> > going to refer your ticket to Julie Prestopnik, who has a lot of
> expertise
> > in building MET.  Please allow a few business days for a full
response.
> >
> > Regards,
> > Minna
> > ---------------
> > Minna Win
> > Pronouns: she/her
> > National Center for Atmospheric Research
> > Developmental Testbed Center
> > Phone: 303-497-8423
> > Fax:   303-497-8401
> > ---------------
> >
> >
> >
> > On Thu, Jun 17, 2021 at 6:36 AM David Huber - NOAA Affiliate via
RT <
> > met_help at ucar.edu> wrote:
> >
> > >
> > > Thu Jun 17 06:35:49 2021: Request 100256 was acted upon.
> > > Transaction: Ticket created by david.huber at noaa.gov
> > >        Queue: met_help
> > >      Subject: NetCDF Build Issue
> > >        Owner: Nobody
> > >   Requestors: david.huber at noaa.gov
> > >       Status: new
> > >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
> >
> > >
> > >
> > > Hello,
> > >
> > > I am trying to build MET version 9.1.3 and I'm running into some
issues
> > > with NetCDF.  When the build progresses to nc_var_info.cc, I
receive a
> > > number of undefined identifier messages:
> > >
> > > ---
> > > icpc -DHAVE_CONFIG_H -I. -I../../..  -I../../../src/basic/vx_cal
> > > -I../../../src/basic/vx_config -I../../../src/basic/vx_log
> > > -I../../../src/basic/vx_math -I../../../src/basic/vx_util
> > > -I../../../src/libcode/vx_afm
-I../../../src/libcode/vx_analysis_util
> > > -I../../../src/libcode/vx_color -I../../../src/libcode/vx_data2d
> > > -I../../../src/libcode/vx_data2d_factory
> > > -I../../../src/libcode/vx_data2d_grib
> > > -I../../../src/libcode/vx_data2d_grib2
> > > -I../../../src/libcode/vx_data2d_nccf
> > > -I../../../src/libcode/vx_data2d_nc_met
> > > -I../../../src/libcode/vx_data2d_nc_pinterp
> > > -I../../../src/libcode/vx_data2d_python
> > > -I../../../src/libcode/vx_python3_utils
> -I../../../src/libcode/vx_geodesy
> > > -I../../../src/libcode/vx_gis -I../../../src/libcode/vx_gnomon
> > > -I../../../src/libcode/vx_grid
-I../../../src/libcode/vx_gsl_prob
> > > -I../../../src/libcode/vx_nav -I../../../src/libcode/vx_nc_obs
> > > -I../../../src/libcode/vx_nc_util
-I../../../src/libcode/vx_pb_util
> > > -I../../../src/libcode/vx_plot_util -I../../../src/libcode/vx_ps
> > > -I../../../src/libcode/vx_pxm -I../../../src/libcode/vx_render
> > > -I../../../src/libcode/vx_regrid
-I../../../src/libcode/vx_shapedata
> > > -I../../../src/libcode/vx_solar
-I../../../src/libcode/vx_statistics
> > > -I../../../src/libcode/vx_stat_out
-I../../../src/libcode/vx_summary
> > > -I../../../src/libcode/vx_time_series
> > -I../../../src/libcode/vx_series_data
> > > -I../../../src/libcode/vx_tc_util
> > > -I/data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include
> > > -I/data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/hdf5/1.10.6/include
> > > -I/data/prod/hpc-stack/intel-18.0.3/g2c/1.6.2/include
> > -I../../basic/vx_log
> > > -I../../basic/vx_util -I/opt/miniconda/3.8-s4/include/python3.8
> > > -I/opt/miniconda/3.8-s4/include/python3.8 -Wsign-compare
-march=nocona
> > > -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong
-O3
> > > -ffunction-sections -pipe -isystem /home/opt/miniconda/3.8-
s4/include
> > > -ffat-lto-objects -flto-partition=none -DNDEBUG -fwrapv -O3
-Wall
> > > -I/opt/gsl/2.6/include -I/opt/hdf4/4.2.14-intel-18.0.3/include
-DBLOCK4
> > > -DWITH_GRIB2 -DWITH_PYTHON
> > > -DMET_BASE="\"/data/users/dhuber/MET/share/met\""  -g -MT
> > > libvx_nc_util_a-nc_var_info.o -MD -MP -MF
> > > .deps/libvx_nc_util_a-nc_var_info.Tpo -c -o
> libvx_nc_util_a-nc_var_info.o
> > > `test -f 'nc_var_info.cc' || echo './'`nc_var_info.cc
> > > icpc: command line warning #10159: invalid argument for option
'-flto'
> > > icpc: warning #10193: -vec is default; use -x and -ax to
configure
> > > vectorization
> > > icpc: command line warning #10385: option '-ffat-lto-objects'
requires
> > use
> > > of '-ipo -c'. Option ignored.
> > > In file included from
> > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > >                  from
> > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > >                  from nc_utils.h(21),
> > >                  from nc_var_info.cc(24):
> > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(30):
> > > error: identifier "NC_INT" is undefined
> > >         nc_INT      = NC_INT,   //!< signed 4 byte integer
> > >                       ^
> > >
> > > In file included from
> > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > >                  from
> > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > >                  from nc_utils.h(21),
> > >                  from nc_var_info.cc(24):
> > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(33):
> > > error: identifier "NC_UBYTE" is undefined
> > >         nc_UBYTE    = NC_UBYTE, //!< unsigned 1 byte int
> > >                       ^
> > >
> > > In file included from
> > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > >                  from
> > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > >                  from nc_utils.h(21),
> > >                  from nc_var_info.cc(24):
> > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(34):
> > > error: identifier "NC_USHORT" is undefined
> > >         nc_USHORT   = NC_USHORT,        //!< unsigned 2-byte int
> > >
> > > ---
> > >
> > > These variables are defined in netcdf.h, but this header is
never
> > > included.  In older versions of NetCDF, the line
> > > #include <netcdf.h>
> > > in $MET_NETCDFINC/netcdf would automatically include netcdf.h,
but in
> > > version 4.7.4, this line is replaced with
> > > extern "C" {
> > > #include <netcdf.h>
> > > }
> > > So netcdf.h is not included for C++ source files.  I haven't
tested it
> > yet,
> > > but I suspect I could add #include <netcdf.h> to nc_var_info.h.
I'm
> not
> > > sure just how many header files I would need to add this line,
though,
> > nor
> > > if it is the best solution.  Would that be my best bet here or
do you
> > have
> > > another suggestion on how to get this to compile?
> > >
> > > Thanks,
> > >
> > > Dave
> > >
> > >
> >
> >
>
> --
> Julie Prestopnik (she/her)
> Software Engineer
> National Center for Atmospheric Research
> Research Applications Laboratory
> Email: jpresto at ucar.edu
>
> My working day may not be your working day.  Please do not feel
obliged to
> reply to this email outside of your normal working hours.
>
>

------------------------------------------------
Subject: NetCDF Build Issue
From: Julie Prestopnik
Time: Thu Jun 17 11:42:17 2021

Ok, sounds good.  Thank you for attaching the log files.

Can you please tell me if the following files exist in the include and
lib
directories of /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4?

Files needed for NetCDF4 C:
>    - $MET_NETCDF/include/netcdf.h
>    - $MET_NETCDF/lib/libnetcdf.a
>    - $MET_NETCDF/lib/libnetcdf.so
> Files needed for NetCDF4 C++:
>    - $MET_NETCDF/include/netcdf
>    - $MET_NETCDF/lib/libnetcdf_c++4.a
>    - $MET_NETCDF/lib/libnetcdf_c++4.so


Also, can you please modify the value of MET_PYTHON_CC to be the
following
instead?

> MET_PYTHON_CC='-I/opt/miniconda/3.8-s4/include/python3.8'


Assuming the NetCDF files exist and after you have modified the value
of
MET_PYTHON_CC, please reconfigure and try to rebuild MET.

Please let us know how it goes.

Julie

On Thu, Jun 17, 2021 at 11:13 AM David Huber - NOAA Affiliate via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
>
> Hi Julie,
>
> For my purposes, I will need 9.1.3 installed.  We'll probably get
10.0.0
> installed as well at a later time.
>
> Attached are the two log files.
>
> Thanks,
>
> Dave
>
> On Thu, Jun 17, 2021 at 11:32 AM Julie Prestopnik via RT <
> met_help at ucar.edu>
> wrote:
>
> > Hi Dave.
> >
> > I see that you are trying to compile MET version 9.1.3 but are
having
> some
> > issues with NetCDF.  As Minna mentioned, we have released
METversion
> 10.0.0
> > and always encourage users to install our latest stable release.
> >
> > You can find the latest recommended version on our Downloads page:
> > https://dtcenter.org/community-code/model-evaluation-tools-
met/download
> >
> > Here is a direct link to the tar file:
> >
> >
> https://github.com/dtcenter/MET/releases/download/v10.0.0/met-
10.0.0.20210510.tar.gz
> >
> > To compile MET, we do have a script available that can be used if
you'd
> > like.  It can be found on that Downloads page under "Sample Script
For
> > Compiling External Libraries And MET".
> >
> > However, I can help with installing either version of MET.
> >
> > Modifying nc_var_info.h or any other file should not be necessary.
If
> you
> > could please pass along the config.log and make.log file for
whichever
> > version you are installing, I will be able to better see what is
going
> on.
> > Once I receive those files, I'll take a look and will get back to
you.
> >
> > Julie
> >
> >
> >
> > On Thu, Jun 17, 2021 at 8:08 AM Minna Win via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
> > >
> > > Hello Dave,
> > >
> > > It looks like you are trying to install an older version of MET.
MET
> > > 10.0.0 is available and we recommend you try installing that
instead.
> I
> > am
> > > going to refer your ticket to Julie Prestopnik, who has a lot of
> > expertise
> > > in building MET.  Please allow a few business days for a full
response.
> > >
> > > Regards,
> > > Minna
> > > ---------------
> > > Minna Win
> > > Pronouns: she/her
> > > National Center for Atmospheric Research
> > > Developmental Testbed Center
> > > Phone: 303-497-8423
> > > Fax:   303-497-8401
> > > ---------------
> > >
> > >
> > >
> > > On Thu, Jun 17, 2021 at 6:36 AM David Huber - NOAA Affiliate via
RT <
> > > met_help at ucar.edu> wrote:
> > >
> > > >
> > > > Thu Jun 17 06:35:49 2021: Request 100256 was acted upon.
> > > > Transaction: Ticket created by david.huber at noaa.gov
> > > >        Queue: met_help
> > > >      Subject: NetCDF Build Issue
> > > >        Owner: Nobody
> > > >   Requestors: david.huber at noaa.gov
> > > >       Status: new
> > > >  Ticket <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
> > >
> > > >
> > > >
> > > > Hello,
> > > >
> > > > I am trying to build MET version 9.1.3 and I'm running into
some
> issues
> > > > with NetCDF.  When the build progresses to nc_var_info.cc, I
receive
> a
> > > > number of undefined identifier messages:
> > > >
> > > > ---
> > > > icpc -DHAVE_CONFIG_H -I. -I../../..
-I../../../src/basic/vx_cal
> > > > -I../../../src/basic/vx_config -I../../../src/basic/vx_log
> > > > -I../../../src/basic/vx_math -I../../../src/basic/vx_util
> > > > -I../../../src/libcode/vx_afm
-I../../../src/libcode/vx_analysis_util
> > > > -I../../../src/libcode/vx_color
-I../../../src/libcode/vx_data2d
> > > > -I../../../src/libcode/vx_data2d_factory
> > > > -I../../../src/libcode/vx_data2d_grib
> > > > -I../../../src/libcode/vx_data2d_grib2
> > > > -I../../../src/libcode/vx_data2d_nccf
> > > > -I../../../src/libcode/vx_data2d_nc_met
> > > > -I../../../src/libcode/vx_data2d_nc_pinterp
> > > > -I../../../src/libcode/vx_data2d_python
> > > > -I../../../src/libcode/vx_python3_utils
> > -I../../../src/libcode/vx_geodesy
> > > > -I../../../src/libcode/vx_gis -I../../../src/libcode/vx_gnomon
> > > > -I../../../src/libcode/vx_grid
-I../../../src/libcode/vx_gsl_prob
> > > > -I../../../src/libcode/vx_nav -I../../../src/libcode/vx_nc_obs
> > > > -I../../../src/libcode/vx_nc_util
-I../../../src/libcode/vx_pb_util
> > > > -I../../../src/libcode/vx_plot_util
-I../../../src/libcode/vx_ps
> > > > -I../../../src/libcode/vx_pxm -I../../../src/libcode/vx_render
> > > > -I../../../src/libcode/vx_regrid
-I../../../src/libcode/vx_shapedata
> > > > -I../../../src/libcode/vx_solar
-I../../../src/libcode/vx_statistics
> > > > -I../../../src/libcode/vx_stat_out
-I../../../src/libcode/vx_summary
> > > > -I../../../src/libcode/vx_time_series
> > > -I../../../src/libcode/vx_series_data
> > > > -I../../../src/libcode/vx_tc_util
> > > > -I/data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include
> > > > -I/data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/hdf5/1.10.6/include
> > > > -I/data/prod/hpc-stack/intel-18.0.3/g2c/1.6.2/include
> > > -I../../basic/vx_log
> > > > -I../../basic/vx_util -I/opt/miniconda/3.8-
s4/include/python3.8
> > > > -I/opt/miniconda/3.8-s4/include/python3.8 -Wsign-compare
> -march=nocona
> > > > -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong
-O3
> > > > -ffunction-sections -pipe -isystem /home/opt/miniconda/3.8-
s4/include
> > > > -ffat-lto-objects -flto-partition=none -DNDEBUG -fwrapv -O3
-Wall
> > > > -I/opt/gsl/2.6/include -I/opt/hdf4/4.2.14-intel-18.0.3/include
> -DBLOCK4
> > > > -DWITH_GRIB2 -DWITH_PYTHON
> > > > -DMET_BASE="\"/data/users/dhuber/MET/share/met\""  -g -MT
> > > > libvx_nc_util_a-nc_var_info.o -MD -MP -MF
> > > > .deps/libvx_nc_util_a-nc_var_info.Tpo -c -o
> > libvx_nc_util_a-nc_var_info.o
> > > > `test -f 'nc_var_info.cc' || echo './'`nc_var_info.cc
> > > > icpc: command line warning #10159: invalid argument for option
> '-flto'
> > > > icpc: warning #10193: -vec is default; use -x and -ax to
configure
> > > > vectorization
> > > > icpc: command line warning #10385: option '-ffat-lto-objects'
> requires
> > > use
> > > > of '-ipo -c'. Option ignored.
> > > > In file included from
> > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > >                  from
> > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > >                  from nc_utils.h(21),
> > > >                  from nc_var_info.cc(24):
> > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(30):
> > > > error: identifier "NC_INT" is undefined
> > > >         nc_INT      = NC_INT,   //!< signed 4 byte integer
> > > >                       ^
> > > >
> > > > In file included from
> > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > >                  from
> > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > >                  from nc_utils.h(21),
> > > >                  from nc_var_info.cc(24):
> > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(33):
> > > > error: identifier "NC_UBYTE" is undefined
> > > >         nc_UBYTE    = NC_UBYTE, //!< unsigned 1 byte int
> > > >                       ^
> > > >
> > > > In file included from
> > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > >                  from
> > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > >                  from nc_utils.h(21),
> > > >                  from nc_var_info.cc(24):
> > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(34):
> > > > error: identifier "NC_USHORT" is undefined
> > > >         nc_USHORT   = NC_USHORT,        //!< unsigned 2-byte
int
> > > >
> > > > ---
> > > >
> > > > These variables are defined in netcdf.h, but this header is
never
> > > > included.  In older versions of NetCDF, the line
> > > > #include <netcdf.h>
> > > > in $MET_NETCDFINC/netcdf would automatically include netcdf.h,
but in
> > > > version 4.7.4, this line is replaced with
> > > > extern "C" {
> > > > #include <netcdf.h>
> > > > }
> > > > So netcdf.h is not included for C++ source files.  I haven't
tested
> it
> > > yet,
> > > > but I suspect I could add #include <netcdf.h> to
nc_var_info.h.  I'm
> > not
> > > > sure just how many header files I would need to add this line,
> though,
> > > nor
> > > > if it is the best solution.  Would that be my best bet here or
do you
> > > have
> > > > another suggestion on how to get this to compile?
> > > >
> > > > Thanks,
> > > >
> > > > Dave
> > > >
> > > >
> > >
> > >
> >
> > --
> > Julie Prestopnik (she/her)
> > Software Engineer
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Email: jpresto at ucar.edu
> >
> > My working day may not be your working day.  Please do not feel
obliged
> to
> > reply to this email outside of your normal working hours.
> >
> >
>
>

--
Julie Prestopnik (she/her)
Software Engineer
National Center for Atmospheric Research
Research Applications Laboratory
Email: jpresto at ucar.edu

My working day may not be your working day.  Please do not feel
obliged to
reply to this email outside of your normal working hours.

------------------------------------------------
Subject: NetCDF Build Issue
From: David Huber - NOAA Affiliate
Time: Thu Jun 17 12:07:10 2021

Hi Julie,

The files do all exist.  I attempted the rebuild with the modified
MET_PYTHON_CC flags, but the errors are still present.

-Dave

On Thu, Jun 17, 2021 at 1:42 PM Julie Prestopnik via RT
<met_help at ucar.edu>
wrote:

> Ok, sounds good.  Thank you for attaching the log files.
>
> Can you please tell me if the following files exist in the include
and lib
> directories of /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4?
>
> Files needed for NetCDF4 C:
> >    - $MET_NETCDF/include/netcdf.h
> >    - $MET_NETCDF/lib/libnetcdf.a
> >    - $MET_NETCDF/lib/libnetcdf.so
> > Files needed for NetCDF4 C++:
> >    - $MET_NETCDF/include/netcdf
> >    - $MET_NETCDF/lib/libnetcdf_c++4.a
> >    - $MET_NETCDF/lib/libnetcdf_c++4.so
>
>
> Also, can you please modify the value of MET_PYTHON_CC to be the
following
> instead?
>
> > MET_PYTHON_CC='-I/opt/miniconda/3.8-s4/include/python3.8'
>
>
> Assuming the NetCDF files exist and after you have modified the
value of
> MET_PYTHON_CC, please reconfigure and try to rebuild MET.
>
> Please let us know how it goes.
>
> Julie
>
> On Thu, Jun 17, 2021 at 11:13 AM David Huber - NOAA Affiliate via RT
<
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
> >
> > Hi Julie,
> >
> > For my purposes, I will need 9.1.3 installed.  We'll probably get
10.0.0
> > installed as well at a later time.
> >
> > Attached are the two log files.
> >
> > Thanks,
> >
> > Dave
> >
> > On Thu, Jun 17, 2021 at 11:32 AM Julie Prestopnik via RT <
> > met_help at ucar.edu>
> > wrote:
> >
> > > Hi Dave.
> > >
> > > I see that you are trying to compile MET version 9.1.3 but are
having
> > some
> > > issues with NetCDF.  As Minna mentioned, we have released
METversion
> > 10.0.0
> > > and always encourage users to install our latest stable release.
> > >
> > > You can find the latest recommended version on our Downloads
page:
> > >
> https://dtcenter.org/community-code/model-evaluation-tools-
met/download
> > >
> > > Here is a direct link to the tar file:
> > >
> > >
> >
> https://github.com/dtcenter/MET/releases/download/v10.0.0/met-
10.0.0.20210510.tar.gz
> > >
> > > To compile MET, we do have a script available that can be used
if you'd
> > > like.  It can be found on that Downloads page under "Sample
Script For
> > > Compiling External Libraries And MET".
> > >
> > > However, I can help with installing either version of MET.
> > >
> > > Modifying nc_var_info.h or any other file should not be
necessary.  If
> > you
> > > could please pass along the config.log and make.log file for
whichever
> > > version you are installing, I will be able to better see what is
going
> > on.
> > > Once I receive those files, I'll take a look and will get back
to you.
> > >
> > > Julie
> > >
> > >
> > >
> > > On Thu, Jun 17, 2021 at 8:08 AM Minna Win via RT
<met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
>
> > > >
> > > > Hello Dave,
> > > >
> > > > It looks like you are trying to install an older version of
MET.  MET
> > > > 10.0.0 is available and we recommend you try installing that
instead.
> > I
> > > am
> > > > going to refer your ticket to Julie Prestopnik, who has a lot
of
> > > expertise
> > > > in building MET.  Please allow a few business days for a full
> response.
> > > >
> > > > Regards,
> > > > Minna
> > > > ---------------
> > > > Minna Win
> > > > Pronouns: she/her
> > > > National Center for Atmospheric Research
> > > > Developmental Testbed Center
> > > > Phone: 303-497-8423
> > > > Fax:   303-497-8401
> > > > ---------------
> > > >
> > > >
> > > >
> > > > On Thu, Jun 17, 2021 at 6:36 AM David Huber - NOAA Affiliate
via RT <
> > > > met_help at ucar.edu> wrote:
> > > >
> > > > >
> > > > > Thu Jun 17 06:35:49 2021: Request 100256 was acted upon.
> > > > > Transaction: Ticket created by david.huber at noaa.gov
> > > > >        Queue: met_help
> > > > >      Subject: NetCDF Build Issue
> > > > >        Owner: Nobody
> > > > >   Requestors: david.huber at noaa.gov
> > > > >       Status: new
> > > > >  Ticket <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
> > > >
> > > > >
> > > > >
> > > > > Hello,
> > > > >
> > > > > I am trying to build MET version 9.1.3 and I'm running into
some
> > issues
> > > > > with NetCDF.  When the build progresses to nc_var_info.cc, I
> receive
> > a
> > > > > number of undefined identifier messages:
> > > > >
> > > > > ---
> > > > > icpc -DHAVE_CONFIG_H -I. -I../../..
-I../../../src/basic/vx_cal
> > > > > -I../../../src/basic/vx_config -I../../../src/basic/vx_log
> > > > > -I../../../src/basic/vx_math -I../../../src/basic/vx_util
> > > > > -I../../../src/libcode/vx_afm
> -I../../../src/libcode/vx_analysis_util
> > > > > -I../../../src/libcode/vx_color
-I../../../src/libcode/vx_data2d
> > > > > -I../../../src/libcode/vx_data2d_factory
> > > > > -I../../../src/libcode/vx_data2d_grib
> > > > > -I../../../src/libcode/vx_data2d_grib2
> > > > > -I../../../src/libcode/vx_data2d_nccf
> > > > > -I../../../src/libcode/vx_data2d_nc_met
> > > > > -I../../../src/libcode/vx_data2d_nc_pinterp
> > > > > -I../../../src/libcode/vx_data2d_python
> > > > > -I../../../src/libcode/vx_python3_utils
> > > -I../../../src/libcode/vx_geodesy
> > > > > -I../../../src/libcode/vx_gis
-I../../../src/libcode/vx_gnomon
> > > > > -I../../../src/libcode/vx_grid
-I../../../src/libcode/vx_gsl_prob
> > > > > -I../../../src/libcode/vx_nav
-I../../../src/libcode/vx_nc_obs
> > > > > -I../../../src/libcode/vx_nc_util
-I../../../src/libcode/vx_pb_util
> > > > > -I../../../src/libcode/vx_plot_util
-I../../../src/libcode/vx_ps
> > > > > -I../../../src/libcode/vx_pxm
-I../../../src/libcode/vx_render
> > > > > -I../../../src/libcode/vx_regrid
> -I../../../src/libcode/vx_shapedata
> > > > > -I../../../src/libcode/vx_solar
> -I../../../src/libcode/vx_statistics
> > > > > -I../../../src/libcode/vx_stat_out
> -I../../../src/libcode/vx_summary
> > > > > -I../../../src/libcode/vx_time_series
> > > > -I../../../src/libcode/vx_series_data
> > > > > -I../../../src/libcode/vx_tc_util
> > > > >
> -I/data/prod/hpc-stack/intel-18.0.3/impi-18.0.3/netcdf/4.7.4/include
> > > > > -I/data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/hdf5/1.10.6/include
> > > > > -I/data/prod/hpc-stack/intel-18.0.3/g2c/1.6.2/include
> > > > -I../../basic/vx_log
> > > > > -I../../basic/vx_util -I/opt/miniconda/3.8-
s4/include/python3.8
> > > > > -I/opt/miniconda/3.8-s4/include/python3.8 -Wsign-compare
> > -march=nocona
> > > > > -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-
strong -O3
> > > > > -ffunction-sections -pipe -isystem
> /home/opt/miniconda/3.8-s4/include
> > > > > -ffat-lto-objects -flto-partition=none -DNDEBUG -fwrapv -O3
-Wall
> > > > > -I/opt/gsl/2.6/include -I/opt/hdf4/4.2.14-intel-
18.0.3/include
> > -DBLOCK4
> > > > > -DWITH_GRIB2 -DWITH_PYTHON
> > > > > -DMET_BASE="\"/data/users/dhuber/MET/share/met\""  -g -MT
> > > > > libvx_nc_util_a-nc_var_info.o -MD -MP -MF
> > > > > .deps/libvx_nc_util_a-nc_var_info.Tpo -c -o
> > > libvx_nc_util_a-nc_var_info.o
> > > > > `test -f 'nc_var_info.cc' || echo './'`nc_var_info.cc
> > > > > icpc: command line warning #10159: invalid argument for
option
> > '-flto'
> > > > > icpc: warning #10193: -vec is default; use -x and -ax to
configure
> > > > > vectorization
> > > > > icpc: command line warning #10385: option '-ffat-lto-
objects'
> > requires
> > > > use
> > > > > of '-ipo -c'. Option ignored.
> > > > > In file included from
> > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > >                  from
> > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > >                  from nc_utils.h(21),
> > > > >                  from nc_var_info.cc(24):
> > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(30):
> > > > > error: identifier "NC_INT" is undefined
> > > > >         nc_INT      = NC_INT,   //!< signed 4 byte integer
> > > > >                       ^
> > > > >
> > > > > In file included from
> > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > >                  from
> > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > >                  from nc_utils.h(21),
> > > > >                  from nc_var_info.cc(24):
> > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(33):
> > > > > error: identifier "NC_UBYTE" is undefined
> > > > >         nc_UBYTE    = NC_UBYTE, //!< unsigned 1 byte int
> > > > >                       ^
> > > > >
> > > > > In file included from
> > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > >                  from
> > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > >                  from nc_utils.h(21),
> > > > >                  from nc_var_info.cc(24):
> > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(34):
> > > > > error: identifier "NC_USHORT" is undefined
> > > > >         nc_USHORT   = NC_USHORT,        //!< unsigned 2-byte
int
> > > > >
> > > > > ---
> > > > >
> > > > > These variables are defined in netcdf.h, but this header is
never
> > > > > included.  In older versions of NetCDF, the line
> > > > > #include <netcdf.h>
> > > > > in $MET_NETCDFINC/netcdf would automatically include
netcdf.h, but
> in
> > > > > version 4.7.4, this line is replaced with
> > > > > extern "C" {
> > > > > #include <netcdf.h>
> > > > > }
> > > > > So netcdf.h is not included for C++ source files.  I haven't
tested
> > it
> > > > yet,
> > > > > but I suspect I could add #include <netcdf.h> to
nc_var_info.h.
> I'm
> > > not
> > > > > sure just how many header files I would need to add this
line,
> > though,
> > > > nor
> > > > > if it is the best solution.  Would that be my best bet here
or do
> you
> > > > have
> > > > > another suggestion on how to get this to compile?
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Dave
> > > > >
> > > > >
> > > >
> > > >
> > >
> > > --
> > > Julie Prestopnik (she/her)
> > > Software Engineer
> > > National Center for Atmospheric Research
> > > Research Applications Laboratory
> > > Email: jpresto at ucar.edu
> > >
> > > My working day may not be your working day.  Please do not feel
obliged
> > to
> > > reply to this email outside of your normal working hours.
> > >
> > >
> >
> >
>
> --
> Julie Prestopnik (she/her)
> Software Engineer
> National Center for Atmospheric Research
> Research Applications Laboratory
> Email: jpresto at ucar.edu
>
> My working day may not be your working day.  Please do not feel
obliged to
> reply to this email outside of your normal working hours.
>
>

------------------------------------------------
Subject: NetCDF Build Issue
From: Julie Prestopnik
Time: Thu Jun 17 12:55:08 2021

Hi Dave.

Could you please try setting these variables in your environment and
then
reconfigure and try to rebuild MET?

export LDFLAGS="${LDFLAGS} -Wl,
rpath,${LIB_DIR}/lib${MET_NETCDF:+:$MET_NETCDF/lib}${MET_HDF5:+:$MET_HDF5/lib}${MET_BUFRLIB:+:$MET_BUFRLIB}${MET_GRIB2CLIB:+:$MET_GRIB2C\
LIB}${MET_PYTHON:+:$MET_PYTHON/lib}${MET_GSL:+:$MET_GSL/lib}"
export LDFLAGS="${LDFLAGS}
-Wl,-
rpath,${LIB_JASPER:+$LIB_JASPER}${LIB_LIBPNG:+:$LIB_PNG}${LIB_Z:+$LIB_Z}"
export LDFLAGS="${LDFLAGS} ${LIB_JASPER:+-L$LIB_JASPER}
${LIB_LIBPNG:+-L$LIB_LIBPNG} ${MET_HDF5:+-L$MET_HDF5/lib}"
export LIBS="${LIBS} -lnetcdf -lhdf5_hl -lhdf5 -lz"
export CFLAGS="-D__64BIT__"
export CXXFLAGS="-D__64BIT__"

Please let us know how that goes.

Julie

On Thu, Jun 17, 2021 at 12:07 PM David Huber - NOAA Affiliate via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
>
> Hi Julie,
>
> The files do all exist.  I attempted the rebuild with the modified
> MET_PYTHON_CC flags, but the errors are still present.
>
> -Dave
>
> On Thu, Jun 17, 2021 at 1:42 PM Julie Prestopnik via RT
<met_help at ucar.edu
> >
> wrote:
>
> > Ok, sounds good.  Thank you for attaching the log files.
> >
> > Can you please tell me if the following files exist in the include
and
> lib
> > directories of
> /data/prod/hpc-stack/intel-18.0.3/impi-18.0.3/netcdf/4.7.4?
> >
> > Files needed for NetCDF4 C:
> > >    - $MET_NETCDF/include/netcdf.h
> > >    - $MET_NETCDF/lib/libnetcdf.a
> > >    - $MET_NETCDF/lib/libnetcdf.so
> > > Files needed for NetCDF4 C++:
> > >    - $MET_NETCDF/include/netcdf
> > >    - $MET_NETCDF/lib/libnetcdf_c++4.a
> > >    - $MET_NETCDF/lib/libnetcdf_c++4.so
> >
> >
> > Also, can you please modify the value of MET_PYTHON_CC to be the
> following
> > instead?
> >
> > > MET_PYTHON_CC='-I/opt/miniconda/3.8-s4/include/python3.8'
> >
> >
> > Assuming the NetCDF files exist and after you have modified the
value of
> > MET_PYTHON_CC, please reconfigure and try to rebuild MET.
> >
> > Please let us know how it goes.
> >
> > Julie
> >
> > On Thu, Jun 17, 2021 at 11:13 AM David Huber - NOAA Affiliate via
RT <
> > met_help at ucar.edu> wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
> > >
> > > Hi Julie,
> > >
> > > For my purposes, I will need 9.1.3 installed.  We'll probably
get
> 10.0.0
> > > installed as well at a later time.
> > >
> > > Attached are the two log files.
> > >
> > > Thanks,
> > >
> > > Dave
> > >
> > > On Thu, Jun 17, 2021 at 11:32 AM Julie Prestopnik via RT <
> > > met_help at ucar.edu>
> > > wrote:
> > >
> > > > Hi Dave.
> > > >
> > > > I see that you are trying to compile MET version 9.1.3 but are
having
> > > some
> > > > issues with NetCDF.  As Minna mentioned, we have released
METversion
> > > 10.0.0
> > > > and always encourage users to install our latest stable
release.
> > > >
> > > > You can find the latest recommended version on our Downloads
page:
> > > >
> > https://dtcenter.org/community-code/model-evaluation-tools-
met/download
> > > >
> > > > Here is a direct link to the tar file:
> > > >
> > > >
> > >
> >
> https://github.com/dtcenter/MET/releases/download/v10.0.0/met-
10.0.0.20210510.tar.gz
> > > >
> > > > To compile MET, we do have a script available that can be used
if
> you'd
> > > > like.  It can be found on that Downloads page under "Sample
Script
> For
> > > > Compiling External Libraries And MET".
> > > >
> > > > However, I can help with installing either version of MET.
> > > >
> > > > Modifying nc_var_info.h or any other file should not be
necessary.
> If
> > > you
> > > > could please pass along the config.log and make.log file for
> whichever
> > > > version you are installing, I will be able to better see what
is
> going
> > > on.
> > > > Once I receive those files, I'll take a look and will get back
to
> you.
> > > >
> > > > Julie
> > > >
> > > >
> > > >
> > > > On Thu, Jun 17, 2021 at 8:08 AM Minna Win via RT
<met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
> > > > >
> > > > > Hello Dave,
> > > > >
> > > > > It looks like you are trying to install an older version of
MET.
> MET
> > > > > 10.0.0 is available and we recommend you try installing that
> instead.
> > > I
> > > > am
> > > > > going to refer your ticket to Julie Prestopnik, who has a
lot of
> > > > expertise
> > > > > in building MET.  Please allow a few business days for a
full
> > response.
> > > > >
> > > > > Regards,
> > > > > Minna
> > > > > ---------------
> > > > > Minna Win
> > > > > Pronouns: she/her
> > > > > National Center for Atmospheric Research
> > > > > Developmental Testbed Center
> > > > > Phone: 303-497-8423
> > > > > Fax:   303-497-8401
> > > > > ---------------
> > > > >
> > > > >
> > > > >
> > > > > On Thu, Jun 17, 2021 at 6:36 AM David Huber - NOAA Affiliate
via
> RT <
> > > > > met_help at ucar.edu> wrote:
> > > > >
> > > > > >
> > > > > > Thu Jun 17 06:35:49 2021: Request 100256 was acted upon.
> > > > > > Transaction: Ticket created by david.huber at noaa.gov
> > > > > >        Queue: met_help
> > > > > >      Subject: NetCDF Build Issue
> > > > > >        Owner: Nobody
> > > > > >   Requestors: david.huber at noaa.gov
> > > > > >       Status: new
> > > > > >  Ticket <URL:
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
> > > > >
> > > > > >
> > > > > >
> > > > > > Hello,
> > > > > >
> > > > > > I am trying to build MET version 9.1.3 and I'm running
into some
> > > issues
> > > > > > with NetCDF.  When the build progresses to nc_var_info.cc,
I
> > receive
> > > a
> > > > > > number of undefined identifier messages:
> > > > > >
> > > > > > ---
> > > > > > icpc -DHAVE_CONFIG_H -I. -I../../..
-I../../../src/basic/vx_cal
> > > > > > -I../../../src/basic/vx_config -I../../../src/basic/vx_log
> > > > > > -I../../../src/basic/vx_math -I../../../src/basic/vx_util
> > > > > > -I../../../src/libcode/vx_afm
> > -I../../../src/libcode/vx_analysis_util
> > > > > > -I../../../src/libcode/vx_color
-I../../../src/libcode/vx_data2d
> > > > > > -I../../../src/libcode/vx_data2d_factory
> > > > > > -I../../../src/libcode/vx_data2d_grib
> > > > > > -I../../../src/libcode/vx_data2d_grib2
> > > > > > -I../../../src/libcode/vx_data2d_nccf
> > > > > > -I../../../src/libcode/vx_data2d_nc_met
> > > > > > -I../../../src/libcode/vx_data2d_nc_pinterp
> > > > > > -I../../../src/libcode/vx_data2d_python
> > > > > > -I../../../src/libcode/vx_python3_utils
> > > > -I../../../src/libcode/vx_geodesy
> > > > > > -I../../../src/libcode/vx_gis
-I../../../src/libcode/vx_gnomon
> > > > > > -I../../../src/libcode/vx_grid
-I../../../src/libcode/vx_gsl_prob
> > > > > > -I../../../src/libcode/vx_nav
-I../../../src/libcode/vx_nc_obs
> > > > > > -I../../../src/libcode/vx_nc_util
> -I../../../src/libcode/vx_pb_util
> > > > > > -I../../../src/libcode/vx_plot_util
-I../../../src/libcode/vx_ps
> > > > > > -I../../../src/libcode/vx_pxm
-I../../../src/libcode/vx_render
> > > > > > -I../../../src/libcode/vx_regrid
> > -I../../../src/libcode/vx_shapedata
> > > > > > -I../../../src/libcode/vx_solar
> > -I../../../src/libcode/vx_statistics
> > > > > > -I../../../src/libcode/vx_stat_out
> > -I../../../src/libcode/vx_summary
> > > > > > -I../../../src/libcode/vx_time_series
> > > > > -I../../../src/libcode/vx_series_data
> > > > > > -I../../../src/libcode/vx_tc_util
> > > > > >
> > -I/data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include
> > > > > >
> -I/data/prod/hpc-stack/intel-18.0.3/impi-18.0.3/hdf5/1.10.6/include
> > > > > > -I/data/prod/hpc-stack/intel-18.0.3/g2c/1.6.2/include
> > > > > -I../../basic/vx_log
> > > > > > -I../../basic/vx_util -I/opt/miniconda/3.8-
s4/include/python3.8
> > > > > > -I/opt/miniconda/3.8-s4/include/python3.8 -Wsign-compare
> > > -march=nocona
> > > > > > -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-
strong
> -O3
> > > > > > -ffunction-sections -pipe -isystem
> > /home/opt/miniconda/3.8-s4/include
> > > > > > -ffat-lto-objects -flto-partition=none -DNDEBUG -fwrapv
-O3 -Wall
> > > > > > -I/opt/gsl/2.6/include -I/opt/hdf4/4.2.14-intel-
18.0.3/include
> > > -DBLOCK4
> > > > > > -DWITH_GRIB2 -DWITH_PYTHON
> > > > > > -DMET_BASE="\"/data/users/dhuber/MET/share/met\""  -g -MT
> > > > > > libvx_nc_util_a-nc_var_info.o -MD -MP -MF
> > > > > > .deps/libvx_nc_util_a-nc_var_info.Tpo -c -o
> > > > libvx_nc_util_a-nc_var_info.o
> > > > > > `test -f 'nc_var_info.cc' || echo './'`nc_var_info.cc
> > > > > > icpc: command line warning #10159: invalid argument for
option
> > > '-flto'
> > > > > > icpc: warning #10193: -vec is default; use -x and -ax to
> configure
> > > > > > vectorization
> > > > > > icpc: command line warning #10385: option '-ffat-lto-
objects'
> > > requires
> > > > > use
> > > > > > of '-ipo -c'. Option ignored.
> > > > > > In file included from
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > > >                  from
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > > >                  from nc_utils.h(21),
> > > > > >                  from nc_var_info.cc(24):
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(30):
> > > > > > error: identifier "NC_INT" is undefined
> > > > > >         nc_INT      = NC_INT,   //!< signed 4 byte integer
> > > > > >                       ^
> > > > > >
> > > > > > In file included from
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > > >                  from
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > > >                  from nc_utils.h(21),
> > > > > >                  from nc_var_info.cc(24):
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(33):
> > > > > > error: identifier "NC_UBYTE" is undefined
> > > > > >         nc_UBYTE    = NC_UBYTE, //!< unsigned 1 byte int
> > > > > >                       ^
> > > > > >
> > > > > > In file included from
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > > >                  from
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > > >                  from nc_utils.h(21),
> > > > > >                  from nc_var_info.cc(24):
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(34):
> > > > > > error: identifier "NC_USHORT" is undefined
> > > > > >         nc_USHORT   = NC_USHORT,        //!< unsigned 2-
byte int
> > > > > >
> > > > > > ---
> > > > > >
> > > > > > These variables are defined in netcdf.h, but this header
is never
> > > > > > included.  In older versions of NetCDF, the line
> > > > > > #include <netcdf.h>
> > > > > > in $MET_NETCDFINC/netcdf would automatically include
netcdf.h,
> but
> > in
> > > > > > version 4.7.4, this line is replaced with
> > > > > > extern "C" {
> > > > > > #include <netcdf.h>
> > > > > > }
> > > > > > So netcdf.h is not included for C++ source files.  I
haven't
> tested
> > > it
> > > > > yet,
> > > > > > but I suspect I could add #include <netcdf.h> to
nc_var_info.h.
> > I'm
> > > > not
> > > > > > sure just how many header files I would need to add this
line,
> > > though,
> > > > > nor
> > > > > > if it is the best solution.  Would that be my best bet
here or do
> > you
> > > > > have
> > > > > > another suggestion on how to get this to compile?
> > > > > >
> > > > > > Thanks,
> > > > > >
> > > > > > Dave
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > > --
> > > > Julie Prestopnik (she/her)
> > > > Software Engineer
> > > > National Center for Atmospheric Research
> > > > Research Applications Laboratory
> > > > Email: jpresto at ucar.edu
> > > >
> > > > My working day may not be your working day.  Please do not
feel
> obliged
> > > to
> > > > reply to this email outside of your normal working hours.
> > > >
> > > >
> > >
> > >
> >
> > --
> > Julie Prestopnik (she/her)
> > Software Engineer
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Email: jpresto at ucar.edu
> >
> > My working day may not be your working day.  Please do not feel
obliged
> to
> > reply to this email outside of your normal working hours.
> >
> >
>
>

--
Julie Prestopnik (she/her)
Software Engineer
National Center for Atmospheric Research
Research Applications Laboratory
Email: jpresto at ucar.edu

My working day may not be your working day.  Please do not feel
obliged to
reply to this email outside of your normal working hours.

------------------------------------------------
Subject: NetCDF Build Issue
From: David Huber - NOAA Affiliate
Time: Thu Jun 17 13:43:02 2021

Hi Julie,

That failed to configure.  A few of the variable names are undefined
in my
environment:

LIB_DIR, MET_BUFRLIB, MET_PYTHON, LIB_JASPER, LIB_LIBPNG, LIB_Z

I tried replacing the latter five with
MET_BUFR/lib, MET_PYTHON_LD, JASPER_LIB, LIB_PNG, and Z_LIB
but that didn't work, either.  Should LIB_DIR be something else?  And
is
MET_PYTHON_LD correct or should it be something different as well.

For reference, I've attached the script I'm using to configure and
make MET.

Thanks,

Dave

On Thu, Jun 17, 2021 at 2:55 PM Julie Prestopnik via RT
<met_help at ucar.edu>
wrote:

> Hi Dave.
>
> Could you please try setting these variables in your environment and
then
> reconfigure and try to rebuild MET?
>
> export LDFLAGS="${LDFLAGS} -Wl,
>
>
rpath,${LIB_DIR}/lib${MET_NETCDF:+:$MET_NETCDF/lib}${MET_HDF5:+:$MET_HDF5/lib}${MET_BUFRLIB:+:$MET_BUFRLIB}${MET_GRIB2CLIB:+:$MET_GRIB2C\
> LIB}${MET_PYTHON:+:$MET_PYTHON/lib}${MET_GSL:+:$MET_GSL/lib}"
> export LDFLAGS="${LDFLAGS}
>
> -Wl,-
rpath,${LIB_JASPER:+$LIB_JASPER}${LIB_LIBPNG:+:$LIB_PNG}${LIB_Z:+$LIB_Z}"
> export LDFLAGS="${LDFLAGS} ${LIB_JASPER:+-L$LIB_JASPER}
> ${LIB_LIBPNG:+-L$LIB_LIBPNG} ${MET_HDF5:+-L$MET_HDF5/lib}"
> export LIBS="${LIBS} -lnetcdf -lhdf5_hl -lhdf5 -lz"
> export CFLAGS="-D__64BIT__"
> export CXXFLAGS="-D__64BIT__"
>
> Please let us know how that goes.
>
> Julie
>
> On Thu, Jun 17, 2021 at 12:07 PM David Huber - NOAA Affiliate via RT
<
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
> >
> > Hi Julie,
> >
> > The files do all exist.  I attempted the rebuild with the modified
> > MET_PYTHON_CC flags, but the errors are still present.
> >
> > -Dave
> >
> > On Thu, Jun 17, 2021 at 1:42 PM Julie Prestopnik via RT <
> met_help at ucar.edu
> > >
> > wrote:
> >
> > > Ok, sounds good.  Thank you for attaching the log files.
> > >
> > > Can you please tell me if the following files exist in the
include and
> > lib
> > > directories of
> > /data/prod/hpc-stack/intel-18.0.3/impi-18.0.3/netcdf/4.7.4?
> > >
> > > Files needed for NetCDF4 C:
> > > >    - $MET_NETCDF/include/netcdf.h
> > > >    - $MET_NETCDF/lib/libnetcdf.a
> > > >    - $MET_NETCDF/lib/libnetcdf.so
> > > > Files needed for NetCDF4 C++:
> > > >    - $MET_NETCDF/include/netcdf
> > > >    - $MET_NETCDF/lib/libnetcdf_c++4.a
> > > >    - $MET_NETCDF/lib/libnetcdf_c++4.so
> > >
> > >
> > > Also, can you please modify the value of MET_PYTHON_CC to be the
> > following
> > > instead?
> > >
> > > > MET_PYTHON_CC='-I/opt/miniconda/3.8-s4/include/python3.8'
> > >
> > >
> > > Assuming the NetCDF files exist and after you have modified the
value
> of
> > > MET_PYTHON_CC, please reconfigure and try to rebuild MET.
> > >
> > > Please let us know how it goes.
> > >
> > > Julie
> > >
> > > On Thu, Jun 17, 2021 at 11:13 AM David Huber - NOAA Affiliate
via RT <
> > > met_help at ucar.edu> wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
>
> > > >
> > > > Hi Julie,
> > > >
> > > > For my purposes, I will need 9.1.3 installed.  We'll probably
get
> > 10.0.0
> > > > installed as well at a later time.
> > > >
> > > > Attached are the two log files.
> > > >
> > > > Thanks,
> > > >
> > > > Dave
> > > >
> > > > On Thu, Jun 17, 2021 at 11:32 AM Julie Prestopnik via RT <
> > > > met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > > Hi Dave.
> > > > >
> > > > > I see that you are trying to compile MET version 9.1.3 but
are
> having
> > > > some
> > > > > issues with NetCDF.  As Minna mentioned, we have released
> METversion
> > > > 10.0.0
> > > > > and always encourage users to install our latest stable
release.
> > > > >
> > > > > You can find the latest recommended version on our Downloads
page:
> > > > >
> > >
> https://dtcenter.org/community-code/model-evaluation-tools-
met/download
> > > > >
> > > > > Here is a direct link to the tar file:
> > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/dtcenter/MET/releases/download/v10.0.0/met-
10.0.0.20210510.tar.gz
> > > > >
> > > > > To compile MET, we do have a script available that can be
used if
> > you'd
> > > > > like.  It can be found on that Downloads page under "Sample
Script
> > For
> > > > > Compiling External Libraries And MET".
> > > > >
> > > > > However, I can help with installing either version of MET.
> > > > >
> > > > > Modifying nc_var_info.h or any other file should not be
necessary.
> > If
> > > > you
> > > > > could please pass along the config.log and make.log file for
> > whichever
> > > > > version you are installing, I will be able to better see
what is
> > going
> > > > on.
> > > > > Once I receive those files, I'll take a look and will get
back to
> > you.
> > > > >
> > > > > Julie
> > > > >
> > > > >
> > > > >
> > > > > On Thu, Jun 17, 2021 at 8:08 AM Minna Win via RT <
> met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
> > > > > >
> > > > > > Hello Dave,
> > > > > >
> > > > > > It looks like you are trying to install an older version
of MET.
> > MET
> > > > > > 10.0.0 is available and we recommend you try installing
that
> > instead.
> > > > I
> > > > > am
> > > > > > going to refer your ticket to Julie Prestopnik, who has a
lot of
> > > > > expertise
> > > > > > in building MET.  Please allow a few business days for a
full
> > > response.
> > > > > >
> > > > > > Regards,
> > > > > > Minna
> > > > > > ---------------
> > > > > > Minna Win
> > > > > > Pronouns: she/her
> > > > > > National Center for Atmospheric Research
> > > > > > Developmental Testbed Center
> > > > > > Phone: 303-497-8423
> > > > > > Fax:   303-497-8401
> > > > > > ---------------
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Thu, Jun 17, 2021 at 6:36 AM David Huber - NOAA
Affiliate via
> > RT <
> > > > > > met_help at ucar.edu> wrote:
> > > > > >
> > > > > > >
> > > > > > > Thu Jun 17 06:35:49 2021: Request 100256 was acted upon.
> > > > > > > Transaction: Ticket created by david.huber at noaa.gov
> > > > > > >        Queue: met_help
> > > > > > >      Subject: NetCDF Build Issue
> > > > > > >        Owner: Nobody
> > > > > > >   Requestors: david.huber at noaa.gov
> > > > > > >       Status: new
> > > > > > >  Ticket <URL:
> > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Hello,
> > > > > > >
> > > > > > > I am trying to build MET version 9.1.3 and I'm running
into
> some
> > > > issues
> > > > > > > with NetCDF.  When the build progresses to
nc_var_info.cc, I
> > > receive
> > > > a
> > > > > > > number of undefined identifier messages:
> > > > > > >
> > > > > > > ---
> > > > > > > icpc -DHAVE_CONFIG_H -I. -I../../..
> -I../../../src/basic/vx_cal
> > > > > > > -I../../../src/basic/vx_config
-I../../../src/basic/vx_log
> > > > > > > -I../../../src/basic/vx_math
-I../../../src/basic/vx_util
> > > > > > > -I../../../src/libcode/vx_afm
> > > -I../../../src/libcode/vx_analysis_util
> > > > > > > -I../../../src/libcode/vx_color
> -I../../../src/libcode/vx_data2d
> > > > > > > -I../../../src/libcode/vx_data2d_factory
> > > > > > > -I../../../src/libcode/vx_data2d_grib
> > > > > > > -I../../../src/libcode/vx_data2d_grib2
> > > > > > > -I../../../src/libcode/vx_data2d_nccf
> > > > > > > -I../../../src/libcode/vx_data2d_nc_met
> > > > > > > -I../../../src/libcode/vx_data2d_nc_pinterp
> > > > > > > -I../../../src/libcode/vx_data2d_python
> > > > > > > -I../../../src/libcode/vx_python3_utils
> > > > > -I../../../src/libcode/vx_geodesy
> > > > > > > -I../../../src/libcode/vx_gis
-I../../../src/libcode/vx_gnomon
> > > > > > > -I../../../src/libcode/vx_grid
> -I../../../src/libcode/vx_gsl_prob
> > > > > > > -I../../../src/libcode/vx_nav
-I../../../src/libcode/vx_nc_obs
> > > > > > > -I../../../src/libcode/vx_nc_util
> > -I../../../src/libcode/vx_pb_util
> > > > > > > -I../../../src/libcode/vx_plot_util
> -I../../../src/libcode/vx_ps
> > > > > > > -I../../../src/libcode/vx_pxm
-I../../../src/libcode/vx_render
> > > > > > > -I../../../src/libcode/vx_regrid
> > > -I../../../src/libcode/vx_shapedata
> > > > > > > -I../../../src/libcode/vx_solar
> > > -I../../../src/libcode/vx_statistics
> > > > > > > -I../../../src/libcode/vx_stat_out
> > > -I../../../src/libcode/vx_summary
> > > > > > > -I../../../src/libcode/vx_time_series
> > > > > > -I../../../src/libcode/vx_series_data
> > > > > > > -I../../../src/libcode/vx_tc_util
> > > > > > >
> > > -I/data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include
> > > > > > >
> > -I/data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/hdf5/1.10.6/include
> > > > > > > -I/data/prod/hpc-stack/intel-18.0.3/g2c/1.6.2/include
> > > > > > -I../../basic/vx_log
> > > > > > > -I../../basic/vx_util -I/opt/miniconda/3.8-
s4/include/python3.8
> > > > > > > -I/opt/miniconda/3.8-s4/include/python3.8 -Wsign-compare
> > > > -march=nocona
> > > > > > > -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-
strong
> > -O3
> > > > > > > -ffunction-sections -pipe -isystem
> > > /home/opt/miniconda/3.8-s4/include
> > > > > > > -ffat-lto-objects -flto-partition=none -DNDEBUG -fwrapv
-O3
> -Wall
> > > > > > > -I/opt/gsl/2.6/include -I/opt/hdf4/4.2.14-intel-
18.0.3/include
> > > > -DBLOCK4
> > > > > > > -DWITH_GRIB2 -DWITH_PYTHON
> > > > > > > -DMET_BASE="\"/data/users/dhuber/MET/share/met\""  -g
-MT
> > > > > > > libvx_nc_util_a-nc_var_info.o -MD -MP -MF
> > > > > > > .deps/libvx_nc_util_a-nc_var_info.Tpo -c -o
> > > > > libvx_nc_util_a-nc_var_info.o
> > > > > > > `test -f 'nc_var_info.cc' || echo './'`nc_var_info.cc
> > > > > > > icpc: command line warning #10159: invalid argument for
option
> > > > '-flto'
> > > > > > > icpc: warning #10193: -vec is default; use -x and -ax to
> > configure
> > > > > > > vectorization
> > > > > > > icpc: command line warning #10385: option '-ffat-lto-
objects'
> > > > requires
> > > > > > use
> > > > > > > of '-ipo -c'. Option ignored.
> > > > > > > In file included from
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > > > >                  from
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > > > >                  from nc_utils.h(21),
> > > > > > >                  from nc_var_info.cc(24):
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(30):
> > > > > > > error: identifier "NC_INT" is undefined
> > > > > > >         nc_INT      = NC_INT,   //!< signed 4 byte
integer
> > > > > > >                       ^
> > > > > > >
> > > > > > > In file included from
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > > > >                  from
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > > > >                  from nc_utils.h(21),
> > > > > > >                  from nc_var_info.cc(24):
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(33):
> > > > > > > error: identifier "NC_UBYTE" is undefined
> > > > > > >         nc_UBYTE    = NC_UBYTE, //!< unsigned 1 byte int
> > > > > > >                       ^
> > > > > > >
> > > > > > > In file included from
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > > > >                  from
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > > > >                  from nc_utils.h(21),
> > > > > > >                  from nc_var_info.cc(24):
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(34):
> > > > > > > error: identifier "NC_USHORT" is undefined
> > > > > > >         nc_USHORT   = NC_USHORT,        //!< unsigned 2-
byte
> int
> > > > > > >
> > > > > > > ---
> > > > > > >
> > > > > > > These variables are defined in netcdf.h, but this header
is
> never
> > > > > > > included.  In older versions of NetCDF, the line
> > > > > > > #include <netcdf.h>
> > > > > > > in $MET_NETCDFINC/netcdf would automatically include
netcdf.h,
> > but
> > > in
> > > > > > > version 4.7.4, this line is replaced with
> > > > > > > extern "C" {
> > > > > > > #include <netcdf.h>
> > > > > > > }
> > > > > > > So netcdf.h is not included for C++ source files.  I
haven't
> > tested
> > > > it
> > > > > > yet,
> > > > > > > but I suspect I could add #include <netcdf.h> to
nc_var_info.h.
> > > I'm
> > > > > not
> > > > > > > sure just how many header files I would need to add this
line,
> > > > though,
> > > > > > nor
> > > > > > > if it is the best solution.  Would that be my best bet
here or
> do
> > > you
> > > > > > have
> > > > > > > another suggestion on how to get this to compile?
> > > > > > >
> > > > > > > Thanks,
> > > > > > >
> > > > > > > Dave
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > > --
> > > > > Julie Prestopnik (she/her)
> > > > > Software Engineer
> > > > > National Center for Atmospheric Research
> > > > > Research Applications Laboratory
> > > > > Email: jpresto at ucar.edu
> > > > >
> > > > > My working day may not be your working day.  Please do not
feel
> > obliged
> > > > to
> > > > > reply to this email outside of your normal working hours.
> > > > >
> > > > >
> > > >
> > > >
> > >
> > > --
> > > Julie Prestopnik (she/her)
> > > Software Engineer
> > > National Center for Atmospheric Research
> > > Research Applications Laboratory
> > > Email: jpresto at ucar.edu
> > >
> > > My working day may not be your working day.  Please do not feel
obliged
> > to
> > > reply to this email outside of your normal working hours.
> > >
> > >
> >
> >
>
> --
> Julie Prestopnik (she/her)
> Software Engineer
> National Center for Atmospheric Research
> Research Applications Laboratory
> Email: jpresto at ucar.edu
>
> My working day may not be your working day.  Please do not feel
obliged to
> reply to this email outside of your normal working hours.
>
>

------------------------------------------------
Subject: NetCDF Build Issue
From: Julie Prestopnik
Time: Thu Jun 17 15:02:31 2021

Right!  My apologies for not catching that!  I copied and pasted from
the
script I use to compile MET.

Please try the following instead:

export LDFLAGS="${LDFLAGS} -Wl,
rpath,${$MET_NETCDF}/lib:${MET_HDF5}/lib:${MET_GRIB2CLIB}:${MET_GSL}/lib:${MET_BUFR}/lib:/opt/miniconda/3.8-
s4/lib/python3.8/config-3.8-x86_64-linux-gnu:/opt/miniconda/3.8-
s4/lib"
export LDFLAGS="${LDFLAGS}
-Wl,-rpath,/data/prod/hpc-stack/intel-
18.0.3/jasper/2.0.22/lib:/data/prod/hpc-stack/intel-
18.0.3/png/1.6.35/lib:/data/prod/hpc-stack/intel-
18.0.3/zlib/1.2.11/lib"
export LDFLAGS="${LDFLAGS} -L${MET_HDF5}/lib -L${MET_NETCDF}/lib"
export LIBS="${LIBS} -lnetcdf -lhdf5_hl -lhdf5 -lz"
export CFLAGS="-D__64BIT__"
export CXXFLAGS="-D__64BIT__"

Julie

On Thu, Jun 17, 2021 at 1:43 PM David Huber - NOAA Affiliate via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
>
> Hi Julie,
>
> That failed to configure.  A few of the variable names are undefined
in my
> environment:
>
> LIB_DIR, MET_BUFRLIB, MET_PYTHON, LIB_JASPER, LIB_LIBPNG, LIB_Z
>
> I tried replacing the latter five with
> MET_BUFR/lib, MET_PYTHON_LD, JASPER_LIB, LIB_PNG, and Z_LIB
> but that didn't work, either.  Should LIB_DIR be something else?
And is
> MET_PYTHON_LD correct or should it be something different as well.
>
> For reference, I've attached the script I'm using to configure and
make
> MET.
>
> Thanks,
>
> Dave
>
> On Thu, Jun 17, 2021 at 2:55 PM Julie Prestopnik via RT
<met_help at ucar.edu
> >
> wrote:
>
> > Hi Dave.
> >
> > Could you please try setting these variables in your environment
and then
> > reconfigure and try to rebuild MET?
> >
> > export LDFLAGS="${LDFLAGS} -Wl,
> >
> >
>
rpath,${LIB_DIR}/lib${MET_NETCDF:+:$MET_NETCDF/lib}${MET_HDF5:+:$MET_HDF5/lib}${MET_BUFRLIB:+:$MET_BUFRLIB}${MET_GRIB2CLIB:+:$MET_GRIB2C\
> > LIB}${MET_PYTHON:+:$MET_PYTHON/lib}${MET_GSL:+:$MET_GSL/lib}"
> > export LDFLAGS="${LDFLAGS}
> >
> >
> -Wl,-
rpath,${LIB_JASPER:+$LIB_JASPER}${LIB_LIBPNG:+:$LIB_PNG}${LIB_Z:+$LIB_Z}"
> > export LDFLAGS="${LDFLAGS} ${LIB_JASPER:+-L$LIB_JASPER}
> > ${LIB_LIBPNG:+-L$LIB_LIBPNG} ${MET_HDF5:+-L$MET_HDF5/lib}"
> > export LIBS="${LIBS} -lnetcdf -lhdf5_hl -lhdf5 -lz"
> > export CFLAGS="-D__64BIT__"
> > export CXXFLAGS="-D__64BIT__"
> >
> > Please let us know how that goes.
> >
> > Julie
> >
> > On Thu, Jun 17, 2021 at 12:07 PM David Huber - NOAA Affiliate via
RT <
> > met_help at ucar.edu> wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
> > >
> > > Hi Julie,
> > >
> > > The files do all exist.  I attempted the rebuild with the
modified
> > > MET_PYTHON_CC flags, but the errors are still present.
> > >
> > > -Dave
> > >
> > > On Thu, Jun 17, 2021 at 1:42 PM Julie Prestopnik via RT <
> > met_help at ucar.edu
> > > >
> > > wrote:
> > >
> > > > Ok, sounds good.  Thank you for attaching the log files.
> > > >
> > > > Can you please tell me if the following files exist in the
include
> and
> > > lib
> > > > directories of
> > > /data/prod/hpc-stack/intel-18.0.3/impi-18.0.3/netcdf/4.7.4?
> > > >
> > > > Files needed for NetCDF4 C:
> > > > >    - $MET_NETCDF/include/netcdf.h
> > > > >    - $MET_NETCDF/lib/libnetcdf.a
> > > > >    - $MET_NETCDF/lib/libnetcdf.so
> > > > > Files needed for NetCDF4 C++:
> > > > >    - $MET_NETCDF/include/netcdf
> > > > >    - $MET_NETCDF/lib/libnetcdf_c++4.a
> > > > >    - $MET_NETCDF/lib/libnetcdf_c++4.so
> > > >
> > > >
> > > > Also, can you please modify the value of MET_PYTHON_CC to be
the
> > > following
> > > > instead?
> > > >
> > > > > MET_PYTHON_CC='-I/opt/miniconda/3.8-s4/include/python3.8'
> > > >
> > > >
> > > > Assuming the NetCDF files exist and after you have modified
the value
> > of
> > > > MET_PYTHON_CC, please reconfigure and try to rebuild MET.
> > > >
> > > > Please let us know how it goes.
> > > >
> > > > Julie
> > > >
> > > > On Thu, Jun 17, 2021 at 11:13 AM David Huber - NOAA Affiliate
via RT
> <
> > > > met_help at ucar.edu> wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
> > > > >
> > > > > Hi Julie,
> > > > >
> > > > > For my purposes, I will need 9.1.3 installed.  We'll
probably get
> > > 10.0.0
> > > > > installed as well at a later time.
> > > > >
> > > > > Attached are the two log files.
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Dave
> > > > >
> > > > > On Thu, Jun 17, 2021 at 11:32 AM Julie Prestopnik via RT <
> > > > > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > > Hi Dave.
> > > > > >
> > > > > > I see that you are trying to compile MET version 9.1.3 but
are
> > having
> > > > > some
> > > > > > issues with NetCDF.  As Minna mentioned, we have released
> > METversion
> > > > > 10.0.0
> > > > > > and always encourage users to install our latest stable
release.
> > > > > >
> > > > > > You can find the latest recommended version on our
Downloads
> page:
> > > > > >
> > > >
> > https://dtcenter.org/community-code/model-evaluation-tools-
met/download
> > > > > >
> > > > > > Here is a direct link to the tar file:
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/dtcenter/MET/releases/download/v10.0.0/met-
10.0.0.20210510.tar.gz
> > > > > >
> > > > > > To compile MET, we do have a script available that can be
used if
> > > you'd
> > > > > > like.  It can be found on that Downloads page under
"Sample
> Script
> > > For
> > > > > > Compiling External Libraries And MET".
> > > > > >
> > > > > > However, I can help with installing either version of MET.
> > > > > >
> > > > > > Modifying nc_var_info.h or any other file should not be
> necessary.
> > > If
> > > > > you
> > > > > > could please pass along the config.log and make.log file
for
> > > whichever
> > > > > > version you are installing, I will be able to better see
what is
> > > going
> > > > > on.
> > > > > > Once I receive those files, I'll take a look and will get
back to
> > > you.
> > > > > >
> > > > > > Julie
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Thu, Jun 17, 2021 at 8:08 AM Minna Win via RT <
> > met_help at ucar.edu>
> > > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
> >
> > > > > > >
> > > > > > > Hello Dave,
> > > > > > >
> > > > > > > It looks like you are trying to install an older version
of
> MET.
> > > MET
> > > > > > > 10.0.0 is available and we recommend you try installing
that
> > > instead.
> > > > > I
> > > > > > am
> > > > > > > going to refer your ticket to Julie Prestopnik, who has
a lot
> of
> > > > > > expertise
> > > > > > > in building MET.  Please allow a few business days for a
full
> > > > response.
> > > > > > >
> > > > > > > Regards,
> > > > > > > Minna
> > > > > > > ---------------
> > > > > > > Minna Win
> > > > > > > Pronouns: she/her
> > > > > > > National Center for Atmospheric Research
> > > > > > > Developmental Testbed Center
> > > > > > > Phone: 303-497-8423
> > > > > > > Fax:   303-497-8401
> > > > > > > ---------------
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On Thu, Jun 17, 2021 at 6:36 AM David Huber - NOAA
Affiliate
> via
> > > RT <
> > > > > > > met_help at ucar.edu> wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > Thu Jun 17 06:35:49 2021: Request 100256 was acted
upon.
> > > > > > > > Transaction: Ticket created by david.huber at noaa.gov
> > > > > > > >        Queue: met_help
> > > > > > > >      Subject: NetCDF Build Issue
> > > > > > > >        Owner: Nobody
> > > > > > > >   Requestors: david.huber at noaa.gov
> > > > > > > >       Status: new
> > > > > > > >  Ticket <URL:
> > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Hello,
> > > > > > > >
> > > > > > > > I am trying to build MET version 9.1.3 and I'm running
into
> > some
> > > > > issues
> > > > > > > > with NetCDF.  When the build progresses to
nc_var_info.cc, I
> > > > receive
> > > > > a
> > > > > > > > number of undefined identifier messages:
> > > > > > > >
> > > > > > > > ---
> > > > > > > > icpc -DHAVE_CONFIG_H -I. -I../../..
> > -I../../../src/basic/vx_cal
> > > > > > > > -I../../../src/basic/vx_config
-I../../../src/basic/vx_log
> > > > > > > > -I../../../src/basic/vx_math
-I../../../src/basic/vx_util
> > > > > > > > -I../../../src/libcode/vx_afm
> > > > -I../../../src/libcode/vx_analysis_util
> > > > > > > > -I../../../src/libcode/vx_color
> > -I../../../src/libcode/vx_data2d
> > > > > > > > -I../../../src/libcode/vx_data2d_factory
> > > > > > > > -I../../../src/libcode/vx_data2d_grib
> > > > > > > > -I../../../src/libcode/vx_data2d_grib2
> > > > > > > > -I../../../src/libcode/vx_data2d_nccf
> > > > > > > > -I../../../src/libcode/vx_data2d_nc_met
> > > > > > > > -I../../../src/libcode/vx_data2d_nc_pinterp
> > > > > > > > -I../../../src/libcode/vx_data2d_python
> > > > > > > > -I../../../src/libcode/vx_python3_utils
> > > > > > -I../../../src/libcode/vx_geodesy
> > > > > > > > -I../../../src/libcode/vx_gis
> -I../../../src/libcode/vx_gnomon
> > > > > > > > -I../../../src/libcode/vx_grid
> > -I../../../src/libcode/vx_gsl_prob
> > > > > > > > -I../../../src/libcode/vx_nav
> -I../../../src/libcode/vx_nc_obs
> > > > > > > > -I../../../src/libcode/vx_nc_util
> > > -I../../../src/libcode/vx_pb_util
> > > > > > > > -I../../../src/libcode/vx_plot_util
> > -I../../../src/libcode/vx_ps
> > > > > > > > -I../../../src/libcode/vx_pxm
> -I../../../src/libcode/vx_render
> > > > > > > > -I../../../src/libcode/vx_regrid
> > > > -I../../../src/libcode/vx_shapedata
> > > > > > > > -I../../../src/libcode/vx_solar
> > > > -I../../../src/libcode/vx_statistics
> > > > > > > > -I../../../src/libcode/vx_stat_out
> > > > -I../../../src/libcode/vx_summary
> > > > > > > > -I../../../src/libcode/vx_time_series
> > > > > > > -I../../../src/libcode/vx_series_data
> > > > > > > > -I../../../src/libcode/vx_tc_util
> > > > > > > >
> > > > -I/data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include
> > > > > > > >
> > > -I/data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/hdf5/1.10.6/include
> > > > > > > > -I/data/prod/hpc-stack/intel-18.0.3/g2c/1.6.2/include
> > > > > > > -I../../basic/vx_log
> > > > > > > > -I../../basic/vx_util
> -I/opt/miniconda/3.8-s4/include/python3.8
> > > > > > > > -I/opt/miniconda/3.8-s4/include/python3.8 -Wsign-
compare
> > > > > -march=nocona
> > > > > > > > -mtune=haswell -ftree-vectorize -fPIC
> -fstack-protector-strong
> > > -O3
> > > > > > > > -ffunction-sections -pipe -isystem
> > > > /home/opt/miniconda/3.8-s4/include
> > > > > > > > -ffat-lto-objects -flto-partition=none -DNDEBUG
-fwrapv -O3
> > -Wall
> > > > > > > > -I/opt/gsl/2.6/include
> -I/opt/hdf4/4.2.14-intel-18.0.3/include
> > > > > -DBLOCK4
> > > > > > > > -DWITH_GRIB2 -DWITH_PYTHON
> > > > > > > > -DMET_BASE="\"/data/users/dhuber/MET/share/met\""  -g
-MT
> > > > > > > > libvx_nc_util_a-nc_var_info.o -MD -MP -MF
> > > > > > > > .deps/libvx_nc_util_a-nc_var_info.Tpo -c -o
> > > > > > libvx_nc_util_a-nc_var_info.o
> > > > > > > > `test -f 'nc_var_info.cc' || echo './'`nc_var_info.cc
> > > > > > > > icpc: command line warning #10159: invalid argument
for
> option
> > > > > '-flto'
> > > > > > > > icpc: warning #10193: -vec is default; use -x and -ax
to
> > > configure
> > > > > > > > vectorization
> > > > > > > > icpc: command line warning #10385: option '-ffat-lto-
objects'
> > > > > requires
> > > > > > > use
> > > > > > > > of '-ipo -c'. Option ignored.
> > > > > > > > In file included from
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > > > > >                  from
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > > > > >                  from nc_utils.h(21),
> > > > > > > >                  from nc_var_info.cc(24):
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(30):
> > > > > > > > error: identifier "NC_INT" is undefined
> > > > > > > >         nc_INT      = NC_INT,   //!< signed 4 byte
integer
> > > > > > > >                       ^
> > > > > > > >
> > > > > > > > In file included from
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > > > > >                  from
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > > > > >                  from nc_utils.h(21),
> > > > > > > >                  from nc_var_info.cc(24):
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(33):
> > > > > > > > error: identifier "NC_UBYTE" is undefined
> > > > > > > >         nc_UBYTE    = NC_UBYTE, //!< unsigned 1 byte
int
> > > > > > > >                       ^
> > > > > > > >
> > > > > > > > In file included from
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > > > > >                  from
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > > > > >                  from nc_utils.h(21),
> > > > > > > >                  from nc_var_info.cc(24):
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(34):
> > > > > > > > error: identifier "NC_USHORT" is undefined
> > > > > > > >         nc_USHORT   = NC_USHORT,        //!< unsigned
2-byte
> > int
> > > > > > > >
> > > > > > > > ---
> > > > > > > >
> > > > > > > > These variables are defined in netcdf.h, but this
header is
> > never
> > > > > > > > included.  In older versions of NetCDF, the line
> > > > > > > > #include <netcdf.h>
> > > > > > > > in $MET_NETCDFINC/netcdf would automatically include
> netcdf.h,
> > > but
> > > > in
> > > > > > > > version 4.7.4, this line is replaced with
> > > > > > > > extern "C" {
> > > > > > > > #include <netcdf.h>
> > > > > > > > }
> > > > > > > > So netcdf.h is not included for C++ source files.  I
haven't
> > > tested
> > > > > it
> > > > > > > yet,
> > > > > > > > but I suspect I could add #include <netcdf.h> to
> nc_var_info.h.
> > > > I'm
> > > > > > not
> > > > > > > > sure just how many header files I would need to add
this
> line,
> > > > > though,
> > > > > > > nor
> > > > > > > > if it is the best solution.  Would that be my best bet
here
> or
> > do
> > > > you
> > > > > > > have
> > > > > > > > another suggestion on how to get this to compile?
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > >
> > > > > > > > Dave
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > --
> > > > > > Julie Prestopnik (she/her)
> > > > > > Software Engineer
> > > > > > National Center for Atmospheric Research
> > > > > > Research Applications Laboratory
> > > > > > Email: jpresto at ucar.edu
> > > > > >
> > > > > > My working day may not be your working day.  Please do not
feel
> > > obliged
> > > > > to
> > > > > > reply to this email outside of your normal working hours.
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > > --
> > > > Julie Prestopnik (she/her)
> > > > Software Engineer
> > > > National Center for Atmospheric Research
> > > > Research Applications Laboratory
> > > > Email: jpresto at ucar.edu
> > > >
> > > > My working day may not be your working day.  Please do not
feel
> obliged
> > > to
> > > > reply to this email outside of your normal working hours.
> > > >
> > > >
> > >
> > >
> >
> > --
> > Julie Prestopnik (she/her)
> > Software Engineer
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Email: jpresto at ucar.edu
> >
> > My working day may not be your working day.  Please do not feel
obliged
> to
> > reply to this email outside of your normal working hours.
> >
> >
>
>

--
Julie Prestopnik (she/her)
Software Engineer
National Center for Atmospheric Research
Research Applications Laboratory
Email: jpresto at ucar.edu

My working day may not be your working day.  Please do not feel
obliged to
reply to this email outside of your normal working hours.

------------------------------------------------
Subject: NetCDF Build Issue
From: David Huber - NOAA Affiliate
Time: Fri Jun 18 05:42:14 2021

OK, thanks.  I gave this a try, but I'm still getting the same errors.

-Dave

On Thu, Jun 17, 2021 at 5:02 PM Julie Prestopnik via RT
<met_help at ucar.edu>
wrote:

> Right!  My apologies for not catching that!  I copied and pasted
from the
> script I use to compile MET.
>
> Please try the following instead:
>
> export LDFLAGS="${LDFLAGS} -Wl,
>
>
rpath,${$MET_NETCDF}/lib:${MET_HDF5}/lib:${MET_GRIB2CLIB}:${MET_GSL}/lib:${MET_BUFR}/lib:/opt/miniconda/3.8-
s4/lib/python3.8/config-3.8-x86_64-linux-gnu:/opt/miniconda/3.8-
s4/lib"
> export LDFLAGS="${LDFLAGS}
>
> -Wl,-rpath,/data/prod/hpc-stack/intel-
18.0.3/jasper/2.0.22/lib:/data/prod/hpc-stack/intel-
18.0.3/png/1.6.35/lib:/data/prod/hpc-stack/intel-
18.0.3/zlib/1.2.11/lib"
> export LDFLAGS="${LDFLAGS} -L${MET_HDF5}/lib -L${MET_NETCDF}/lib"
> export LIBS="${LIBS} -lnetcdf -lhdf5_hl -lhdf5 -lz"
> export CFLAGS="-D__64BIT__"
> export CXXFLAGS="-D__64BIT__"
>
> Julie
>
> On Thu, Jun 17, 2021 at 1:43 PM David Huber - NOAA Affiliate via RT
<
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
> >
> > Hi Julie,
> >
> > That failed to configure.  A few of the variable names are
undefined in
> my
> > environment:
> >
> > LIB_DIR, MET_BUFRLIB, MET_PYTHON, LIB_JASPER, LIB_LIBPNG, LIB_Z
> >
> > I tried replacing the latter five with
> > MET_BUFR/lib, MET_PYTHON_LD, JASPER_LIB, LIB_PNG, and Z_LIB
> > but that didn't work, either.  Should LIB_DIR be something else?
And is
> > MET_PYTHON_LD correct or should it be something different as well.
> >
> > For reference, I've attached the script I'm using to configure and
make
> > MET.
> >
> > Thanks,
> >
> > Dave
> >
> > On Thu, Jun 17, 2021 at 2:55 PM Julie Prestopnik via RT <
> met_help at ucar.edu
> > >
> > wrote:
> >
> > > Hi Dave.
> > >
> > > Could you please try setting these variables in your environment
and
> then
> > > reconfigure and try to rebuild MET?
> > >
> > > export LDFLAGS="${LDFLAGS} -Wl,
> > >
> > >
> >
>
rpath,${LIB_DIR}/lib${MET_NETCDF:+:$MET_NETCDF/lib}${MET_HDF5:+:$MET_HDF5/lib}${MET_BUFRLIB:+:$MET_BUFRLIB}${MET_GRIB2CLIB:+:$MET_GRIB2C\
> > > LIB}${MET_PYTHON:+:$MET_PYTHON/lib}${MET_GSL:+:$MET_GSL/lib}"
> > > export LDFLAGS="${LDFLAGS}
> > >
> > >
> >
> -Wl,-
rpath,${LIB_JASPER:+$LIB_JASPER}${LIB_LIBPNG:+:$LIB_PNG}${LIB_Z:+$LIB_Z}"
> > > export LDFLAGS="${LDFLAGS} ${LIB_JASPER:+-L$LIB_JASPER}
> > > ${LIB_LIBPNG:+-L$LIB_LIBPNG} ${MET_HDF5:+-L$MET_HDF5/lib}"
> > > export LIBS="${LIBS} -lnetcdf -lhdf5_hl -lhdf5 -lz"
> > > export CFLAGS="-D__64BIT__"
> > > export CXXFLAGS="-D__64BIT__"
> > >
> > > Please let us know how that goes.
> > >
> > > Julie
> > >
> > > On Thu, Jun 17, 2021 at 12:07 PM David Huber - NOAA Affiliate
via RT <
> > > met_help at ucar.edu> wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
>
> > > >
> > > > Hi Julie,
> > > >
> > > > The files do all exist.  I attempted the rebuild with the
modified
> > > > MET_PYTHON_CC flags, but the errors are still present.
> > > >
> > > > -Dave
> > > >
> > > > On Thu, Jun 17, 2021 at 1:42 PM Julie Prestopnik via RT <
> > > met_help at ucar.edu
> > > > >
> > > > wrote:
> > > >
> > > > > Ok, sounds good.  Thank you for attaching the log files.
> > > > >
> > > > > Can you please tell me if the following files exist in the
include
> > and
> > > > lib
> > > > > directories of
> > > > /data/prod/hpc-stack/intel-18.0.3/impi-18.0.3/netcdf/4.7.4?
> > > > >
> > > > > Files needed for NetCDF4 C:
> > > > > >    - $MET_NETCDF/include/netcdf.h
> > > > > >    - $MET_NETCDF/lib/libnetcdf.a
> > > > > >    - $MET_NETCDF/lib/libnetcdf.so
> > > > > > Files needed for NetCDF4 C++:
> > > > > >    - $MET_NETCDF/include/netcdf
> > > > > >    - $MET_NETCDF/lib/libnetcdf_c++4.a
> > > > > >    - $MET_NETCDF/lib/libnetcdf_c++4.so
> > > > >
> > > > >
> > > > > Also, can you please modify the value of MET_PYTHON_CC to be
the
> > > > following
> > > > > instead?
> > > > >
> > > > > > MET_PYTHON_CC='-I/opt/miniconda/3.8-s4/include/python3.8'
> > > > >
> > > > >
> > > > > Assuming the NetCDF files exist and after you have modified
the
> value
> > > of
> > > > > MET_PYTHON_CC, please reconfigure and try to rebuild MET.
> > > > >
> > > > > Please let us know how it goes.
> > > > >
> > > > > Julie
> > > > >
> > > > > On Thu, Jun 17, 2021 at 11:13 AM David Huber - NOAA
Affiliate via
> RT
> > <
> > > > > met_help at ucar.edu> wrote:
> > > > >
> > > > > >
> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
> > > > > >
> > > > > > Hi Julie,
> > > > > >
> > > > > > For my purposes, I will need 9.1.3 installed.  We'll
probably get
> > > > 10.0.0
> > > > > > installed as well at a later time.
> > > > > >
> > > > > > Attached are the two log files.
> > > > > >
> > > > > > Thanks,
> > > > > >
> > > > > > Dave
> > > > > >
> > > > > > On Thu, Jun 17, 2021 at 11:32 AM Julie Prestopnik via RT <
> > > > > > met_help at ucar.edu>
> > > > > > wrote:
> > > > > >
> > > > > > > Hi Dave.
> > > > > > >
> > > > > > > I see that you are trying to compile MET version 9.1.3
but are
> > > having
> > > > > > some
> > > > > > > issues with NetCDF.  As Minna mentioned, we have
released
> > > METversion
> > > > > > 10.0.0
> > > > > > > and always encourage users to install our latest stable
> release.
> > > > > > >
> > > > > > > You can find the latest recommended version on our
Downloads
> > page:
> > > > > > >
> > > > >
> > >
> https://dtcenter.org/community-code/model-evaluation-tools-
met/download
> > > > > > >
> > > > > > > Here is a direct link to the tar file:
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/dtcenter/MET/releases/download/v10.0.0/met-
10.0.0.20210510.tar.gz
> > > > > > >
> > > > > > > To compile MET, we do have a script available that can
be used
> if
> > > > you'd
> > > > > > > like.  It can be found on that Downloads page under
"Sample
> > Script
> > > > For
> > > > > > > Compiling External Libraries And MET".
> > > > > > >
> > > > > > > However, I can help with installing either version of
MET.
> > > > > > >
> > > > > > > Modifying nc_var_info.h or any other file should not be
> > necessary.
> > > > If
> > > > > > you
> > > > > > > could please pass along the config.log and make.log file
for
> > > > whichever
> > > > > > > version you are installing, I will be able to better see
what
> is
> > > > going
> > > > > > on.
> > > > > > > Once I receive those files, I'll take a look and will
get back
> to
> > > > you.
> > > > > > >
> > > > > > > Julie
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On Thu, Jun 17, 2021 at 8:08 AM Minna Win via RT <
> > > met_help at ucar.edu>
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
> > >
> > > > > > > >
> > > > > > > > Hello Dave,
> > > > > > > >
> > > > > > > > It looks like you are trying to install an older
version of
> > MET.
> > > > MET
> > > > > > > > 10.0.0 is available and we recommend you try
installing that
> > > > instead.
> > > > > > I
> > > > > > > am
> > > > > > > > going to refer your ticket to Julie Prestopnik, who
has a lot
> > of
> > > > > > > expertise
> > > > > > > > in building MET.  Please allow a few business days for
a full
> > > > > response.
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > > Minna
> > > > > > > > ---------------
> > > > > > > > Minna Win
> > > > > > > > Pronouns: she/her
> > > > > > > > National Center for Atmospheric Research
> > > > > > > > Developmental Testbed Center
> > > > > > > > Phone: 303-497-8423
> > > > > > > > Fax:   303-497-8401
> > > > > > > > ---------------
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > On Thu, Jun 17, 2021 at 6:36 AM David Huber - NOAA
Affiliate
> > via
> > > > RT <
> > > > > > > > met_help at ucar.edu> wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > Thu Jun 17 06:35:49 2021: Request 100256 was acted
upon.
> > > > > > > > > Transaction: Ticket created by david.huber at noaa.gov
> > > > > > > > >        Queue: met_help
> > > > > > > > >      Subject: NetCDF Build Issue
> > > > > > > > >        Owner: Nobody
> > > > > > > > >   Requestors: david.huber at noaa.gov
> > > > > > > > >       Status: new
> > > > > > > > >  Ticket <URL:
> > > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
> > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Hello,
> > > > > > > > >
> > > > > > > > > I am trying to build MET version 9.1.3 and I'm
running into
> > > some
> > > > > > issues
> > > > > > > > > with NetCDF.  When the build progresses to
nc_var_info.cc,
> I
> > > > > receive
> > > > > > a
> > > > > > > > > number of undefined identifier messages:
> > > > > > > > >
> > > > > > > > > ---
> > > > > > > > > icpc -DHAVE_CONFIG_H -I. -I../../..
> > > -I../../../src/basic/vx_cal
> > > > > > > > > -I../../../src/basic/vx_config
-I../../../src/basic/vx_log
> > > > > > > > > -I../../../src/basic/vx_math
-I../../../src/basic/vx_util
> > > > > > > > > -I../../../src/libcode/vx_afm
> > > > > -I../../../src/libcode/vx_analysis_util
> > > > > > > > > -I../../../src/libcode/vx_color
> > > -I../../../src/libcode/vx_data2d
> > > > > > > > > -I../../../src/libcode/vx_data2d_factory
> > > > > > > > > -I../../../src/libcode/vx_data2d_grib
> > > > > > > > > -I../../../src/libcode/vx_data2d_grib2
> > > > > > > > > -I../../../src/libcode/vx_data2d_nccf
> > > > > > > > > -I../../../src/libcode/vx_data2d_nc_met
> > > > > > > > > -I../../../src/libcode/vx_data2d_nc_pinterp
> > > > > > > > > -I../../../src/libcode/vx_data2d_python
> > > > > > > > > -I../../../src/libcode/vx_python3_utils
> > > > > > > -I../../../src/libcode/vx_geodesy
> > > > > > > > > -I../../../src/libcode/vx_gis
> > -I../../../src/libcode/vx_gnomon
> > > > > > > > > -I../../../src/libcode/vx_grid
> > > -I../../../src/libcode/vx_gsl_prob
> > > > > > > > > -I../../../src/libcode/vx_nav
> > -I../../../src/libcode/vx_nc_obs
> > > > > > > > > -I../../../src/libcode/vx_nc_util
> > > > -I../../../src/libcode/vx_pb_util
> > > > > > > > > -I../../../src/libcode/vx_plot_util
> > > -I../../../src/libcode/vx_ps
> > > > > > > > > -I../../../src/libcode/vx_pxm
> > -I../../../src/libcode/vx_render
> > > > > > > > > -I../../../src/libcode/vx_regrid
> > > > > -I../../../src/libcode/vx_shapedata
> > > > > > > > > -I../../../src/libcode/vx_solar
> > > > > -I../../../src/libcode/vx_statistics
> > > > > > > > > -I../../../src/libcode/vx_stat_out
> > > > > -I../../../src/libcode/vx_summary
> > > > > > > > > -I../../../src/libcode/vx_time_series
> > > > > > > > -I../../../src/libcode/vx_series_data
> > > > > > > > > -I../../../src/libcode/vx_tc_util
> > > > > > > > >
> > > > >
> -I/data/prod/hpc-stack/intel-18.0.3/impi-18.0.3/netcdf/4.7.4/include
> > > > > > > > >
> > > > -I/data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/hdf5/1.10.6/include
> > > > > > > > > -I/data/prod/hpc-stack/intel-
18.0.3/g2c/1.6.2/include
> > > > > > > > -I../../basic/vx_log
> > > > > > > > > -I../../basic/vx_util
> > -I/opt/miniconda/3.8-s4/include/python3.8
> > > > > > > > > -I/opt/miniconda/3.8-s4/include/python3.8 -Wsign-
compare
> > > > > > -march=nocona
> > > > > > > > > -mtune=haswell -ftree-vectorize -fPIC
> > -fstack-protector-strong
> > > > -O3
> > > > > > > > > -ffunction-sections -pipe -isystem
> > > > > /home/opt/miniconda/3.8-s4/include
> > > > > > > > > -ffat-lto-objects -flto-partition=none -DNDEBUG
-fwrapv -O3
> > > -Wall
> > > > > > > > > -I/opt/gsl/2.6/include
> > -I/opt/hdf4/4.2.14-intel-18.0.3/include
> > > > > > -DBLOCK4
> > > > > > > > > -DWITH_GRIB2 -DWITH_PYTHON
> > > > > > > > > -DMET_BASE="\"/data/users/dhuber/MET/share/met\""
-g -MT
> > > > > > > > > libvx_nc_util_a-nc_var_info.o -MD -MP -MF
> > > > > > > > > .deps/libvx_nc_util_a-nc_var_info.Tpo -c -o
> > > > > > > libvx_nc_util_a-nc_var_info.o
> > > > > > > > > `test -f 'nc_var_info.cc' || echo
'./'`nc_var_info.cc
> > > > > > > > > icpc: command line warning #10159: invalid argument
for
> > option
> > > > > > '-flto'
> > > > > > > > > icpc: warning #10193: -vec is default; use -x and
-ax to
> > > > configure
> > > > > > > > > vectorization
> > > > > > > > > icpc: command line warning #10385: option
> '-ffat-lto-objects'
> > > > > > requires
> > > > > > > > use
> > > > > > > > > of '-ipo -c'. Option ignored.
> > > > > > > > > In file included from
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > > > > > >                  from
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > > > > > >                  from nc_utils.h(21),
> > > > > > > > >                  from nc_var_info.cc(24):
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(30):
> > > > > > > > > error: identifier "NC_INT" is undefined
> > > > > > > > >         nc_INT      = NC_INT,   //!< signed 4 byte
integer
> > > > > > > > >                       ^
> > > > > > > > >
> > > > > > > > > In file included from
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > > > > > >                  from
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > > > > > >                  from nc_utils.h(21),
> > > > > > > > >                  from nc_var_info.cc(24):
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(33):
> > > > > > > > > error: identifier "NC_UBYTE" is undefined
> > > > > > > > >         nc_UBYTE    = NC_UBYTE, //!< unsigned 1 byte
int
> > > > > > > > >                       ^
> > > > > > > > >
> > > > > > > > > In file included from
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > > > > > >                  from
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > > > > > >                  from nc_utils.h(21),
> > > > > > > > >                  from nc_var_info.cc(24):
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(34):
> > > > > > > > > error: identifier "NC_USHORT" is undefined
> > > > > > > > >         nc_USHORT   = NC_USHORT,        //!<
unsigned
> 2-byte
> > > int
> > > > > > > > >
> > > > > > > > > ---
> > > > > > > > >
> > > > > > > > > These variables are defined in netcdf.h, but this
header is
> > > never
> > > > > > > > > included.  In older versions of NetCDF, the line
> > > > > > > > > #include <netcdf.h>
> > > > > > > > > in $MET_NETCDFINC/netcdf would automatically include
> > netcdf.h,
> > > > but
> > > > > in
> > > > > > > > > version 4.7.4, this line is replaced with
> > > > > > > > > extern "C" {
> > > > > > > > > #include <netcdf.h>
> > > > > > > > > }
> > > > > > > > > So netcdf.h is not included for C++ source files.  I
> haven't
> > > > tested
> > > > > > it
> > > > > > > > yet,
> > > > > > > > > but I suspect I could add #include <netcdf.h> to
> > nc_var_info.h.
> > > > > I'm
> > > > > > > not
> > > > > > > > > sure just how many header files I would need to add
this
> > line,
> > > > > > though,
> > > > > > > > nor
> > > > > > > > > if it is the best solution.  Would that be my best
bet here
> > or
> > > do
> > > > > you
> > > > > > > > have
> > > > > > > > > another suggestion on how to get this to compile?
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > >
> > > > > > > > > Dave
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Julie Prestopnik (she/her)
> > > > > > > Software Engineer
> > > > > > > National Center for Atmospheric Research
> > > > > > > Research Applications Laboratory
> > > > > > > Email: jpresto at ucar.edu
> > > > > > >
> > > > > > > My working day may not be your working day.  Please do
not feel
> > > > obliged
> > > > > > to
> > > > > > > reply to this email outside of your normal working
hours.
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > > --
> > > > > Julie Prestopnik (she/her)
> > > > > Software Engineer
> > > > > National Center for Atmospheric Research
> > > > > Research Applications Laboratory
> > > > > Email: jpresto at ucar.edu
> > > > >
> > > > > My working day may not be your working day.  Please do not
feel
> > obliged
> > > > to
> > > > > reply to this email outside of your normal working hours.
> > > > >
> > > > >
> > > >
> > > >
> > >
> > > --
> > > Julie Prestopnik (she/her)
> > > Software Engineer
> > > National Center for Atmospheric Research
> > > Research Applications Laboratory
> > > Email: jpresto at ucar.edu
> > >
> > > My working day may not be your working day.  Please do not feel
obliged
> > to
> > > reply to this email outside of your normal working hours.
> > >
> > >
> >
> >
>
> --
> Julie Prestopnik (she/her)
> Software Engineer
> National Center for Atmospheric Research
> Research Applications Laboratory
> Email: jpresto at ucar.edu
>
> My working day may not be your working day.  Please do not feel
obliged to
> reply to this email outside of your normal working hours.
>
>

------------------------------------------------
Subject: NetCDF Build Issue
From: Julie Prestopnik
Time: Fri Jun 18 09:38:24 2021

Thanks, Dave.

I just noticed that you're building MET with some libraries that have
paths
with "impi-18.0.3" in them.  These libraries (hdf5, netcdf, etc.) were
likely built using the mpi intel compilers (e.g. mpicc, mpicxx,
mpif77).
You're also compiler MET with some libraries (grib2c, jasper, png, z,
etc.)
that likely weren't built using the mpi intel compilers (icc, icpc,
ifort).

We always tell users MET and its dependent libraries need to be built
with
the same family of compilers, and while you are using the intel family
of
compilers, I'm not sure exactly what effect mixing mpi with non-mpi
compilers has.  I have built MET and its dependent libraries
successfully
on many different machines using the script and tar_files using the
"Sample
Script For Compiling External Libraries And MET" section on the
Downloads
<https://dtcenter.org/community-code/model-evaluation-tools-
met/download> page
and would like to have you try building MET and its external libraries
using the script.

The instructions on the Downloads page refer to a configuration file,
which
I have already put together for your system.  However, I did not know
if
you were using module files to load, for example, the intel compilers
and
Python. I assumed you were not, but if you are, you'll want to change
the
value of USE_MODULES to TRUE and then add any module loads to the top
of
the file as indicated.  If some of the libraries are installed
successfully
and others have problems, to avoid having to recompile the already
successfully built libraries, simply uncomment the variables at the
bottom
of the file.

Also, below I have put a link to a step by step tutorial and video on
how
to install MET using this script and config file.  One difference to
note
is that I have made some improvements to the compile_MET_all.sh
script,
which is linked to on the Downloads page, but it should still function
the
same.

https://metplus-
training.readthedocs.io/en/latest/modules/Environment/met_installation.html

Please let me know if you have any questions.

Julie

On Fri, Jun 18, 2021 at 5:42 AM David Huber - NOAA Affiliate via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
>
> OK, thanks.  I gave this a try, but I'm still getting the same
errors.
>
> -Dave
>
> On Thu, Jun 17, 2021 at 5:02 PM Julie Prestopnik via RT
<met_help at ucar.edu
> >
> wrote:
>
> > Right!  My apologies for not catching that!  I copied and pasted
from the
> > script I use to compile MET.
> >
> > Please try the following instead:
> >
> > export LDFLAGS="${LDFLAGS} -Wl,
> >
> >
>
rpath,${$MET_NETCDF}/lib:${MET_HDF5}/lib:${MET_GRIB2CLIB}:${MET_GSL}/lib:${MET_BUFR}/lib:/opt/miniconda/3.8-
s4/lib/python3.8/config-3.8-x86_64-linux-gnu:/opt/miniconda/3.8-
s4/lib"
> > export LDFLAGS="${LDFLAGS}
> >
> >
> -Wl,-rpath,/data/prod/hpc-stack/intel-
18.0.3/jasper/2.0.22/lib:/data/prod/hpc-stack/intel-
18.0.3/png/1.6.35/lib:/data/prod/hpc-stack/intel-
18.0.3/zlib/1.2.11/lib"
> > export LDFLAGS="${LDFLAGS} -L${MET_HDF5}/lib -L${MET_NETCDF}/lib"
> > export LIBS="${LIBS} -lnetcdf -lhdf5_hl -lhdf5 -lz"
> > export CFLAGS="-D__64BIT__"
> > export CXXFLAGS="-D__64BIT__"
> >
> > Julie
> >
> > On Thu, Jun 17, 2021 at 1:43 PM David Huber - NOAA Affiliate via
RT <
> > met_help at ucar.edu> wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
> > >
> > > Hi Julie,
> > >
> > > That failed to configure.  A few of the variable names are
undefined in
> > my
> > > environment:
> > >
> > > LIB_DIR, MET_BUFRLIB, MET_PYTHON, LIB_JASPER, LIB_LIBPNG, LIB_Z
> > >
> > > I tried replacing the latter five with
> > > MET_BUFR/lib, MET_PYTHON_LD, JASPER_LIB, LIB_PNG, and Z_LIB
> > > but that didn't work, either.  Should LIB_DIR be something else?
And
> is
> > > MET_PYTHON_LD correct or should it be something different as
well.
> > >
> > > For reference, I've attached the script I'm using to configure
and make
> > > MET.
> > >
> > > Thanks,
> > >
> > > Dave
> > >
> > > On Thu, Jun 17, 2021 at 2:55 PM Julie Prestopnik via RT <
> > met_help at ucar.edu
> > > >
> > > wrote:
> > >
> > > > Hi Dave.
> > > >
> > > > Could you please try setting these variables in your
environment and
> > then
> > > > reconfigure and try to rebuild MET?
> > > >
> > > > export LDFLAGS="${LDFLAGS} -Wl,
> > > >
> > > >
> > >
> >
>
rpath,${LIB_DIR}/lib${MET_NETCDF:+:$MET_NETCDF/lib}${MET_HDF5:+:$MET_HDF5/lib}${MET_BUFRLIB:+:$MET_BUFRLIB}${MET_GRIB2CLIB:+:$MET_GRIB2C\
> > > > LIB}${MET_PYTHON:+:$MET_PYTHON/lib}${MET_GSL:+:$MET_GSL/lib}"
> > > > export LDFLAGS="${LDFLAGS}
> > > >
> > > >
> > >
> >
> -Wl,-
rpath,${LIB_JASPER:+$LIB_JASPER}${LIB_LIBPNG:+:$LIB_PNG}${LIB_Z:+$LIB_Z}"
> > > > export LDFLAGS="${LDFLAGS} ${LIB_JASPER:+-L$LIB_JASPER}
> > > > ${LIB_LIBPNG:+-L$LIB_LIBPNG} ${MET_HDF5:+-L$MET_HDF5/lib}"
> > > > export LIBS="${LIBS} -lnetcdf -lhdf5_hl -lhdf5 -lz"
> > > > export CFLAGS="-D__64BIT__"
> > > > export CXXFLAGS="-D__64BIT__"
> > > >
> > > > Please let us know how that goes.
> > > >
> > > > Julie
> > > >
> > > > On Thu, Jun 17, 2021 at 12:07 PM David Huber - NOAA Affiliate
via RT
> <
> > > > met_help at ucar.edu> wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
> > > > >
> > > > > Hi Julie,
> > > > >
> > > > > The files do all exist.  I attempted the rebuild with the
modified
> > > > > MET_PYTHON_CC flags, but the errors are still present.
> > > > >
> > > > > -Dave
> > > > >
> > > > > On Thu, Jun 17, 2021 at 1:42 PM Julie Prestopnik via RT <
> > > > met_help at ucar.edu
> > > > > >
> > > > > wrote:
> > > > >
> > > > > > Ok, sounds good.  Thank you for attaching the log files.
> > > > > >
> > > > > > Can you please tell me if the following files exist in the
> include
> > > and
> > > > > lib
> > > > > > directories of
> > > > > /data/prod/hpc-stack/intel-18.0.3/impi-18.0.3/netcdf/4.7.4?
> > > > > >
> > > > > > Files needed for NetCDF4 C:
> > > > > > >    - $MET_NETCDF/include/netcdf.h
> > > > > > >    - $MET_NETCDF/lib/libnetcdf.a
> > > > > > >    - $MET_NETCDF/lib/libnetcdf.so
> > > > > > > Files needed for NetCDF4 C++:
> > > > > > >    - $MET_NETCDF/include/netcdf
> > > > > > >    - $MET_NETCDF/lib/libnetcdf_c++4.a
> > > > > > >    - $MET_NETCDF/lib/libnetcdf_c++4.so
> > > > > >
> > > > > >
> > > > > > Also, can you please modify the value of MET_PYTHON_CC to
be the
> > > > > following
> > > > > > instead?
> > > > > >
> > > > > > > MET_PYTHON_CC='-I/opt/miniconda/3.8-
s4/include/python3.8'
> > > > > >
> > > > > >
> > > > > > Assuming the NetCDF files exist and after you have
modified the
> > value
> > > > of
> > > > > > MET_PYTHON_CC, please reconfigure and try to rebuild MET.
> > > > > >
> > > > > > Please let us know how it goes.
> > > > > >
> > > > > > Julie
> > > > > >
> > > > > > On Thu, Jun 17, 2021 at 11:13 AM David Huber - NOAA
Affiliate via
> > RT
> > > <
> > > > > > met_help at ucar.edu> wrote:
> > > > > >
> > > > > > >
> > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
> >
> > > > > > >
> > > > > > > Hi Julie,
> > > > > > >
> > > > > > > For my purposes, I will need 9.1.3 installed.  We'll
probably
> get
> > > > > 10.0.0
> > > > > > > installed as well at a later time.
> > > > > > >
> > > > > > > Attached are the two log files.
> > > > > > >
> > > > > > > Thanks,
> > > > > > >
> > > > > > > Dave
> > > > > > >
> > > > > > > On Thu, Jun 17, 2021 at 11:32 AM Julie Prestopnik via RT
<
> > > > > > > met_help at ucar.edu>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Hi Dave.
> > > > > > > >
> > > > > > > > I see that you are trying to compile MET version 9.1.3
but
> are
> > > > having
> > > > > > > some
> > > > > > > > issues with NetCDF.  As Minna mentioned, we have
released
> > > > METversion
> > > > > > > 10.0.0
> > > > > > > > and always encourage users to install our latest
stable
> > release.
> > > > > > > >
> > > > > > > > You can find the latest recommended version on our
Downloads
> > > page:
> > > > > > > >
> > > > > >
> > > >
> > https://dtcenter.org/community-code/model-evaluation-tools-
met/download
> > > > > > > >
> > > > > > > > Here is a direct link to the tar file:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/dtcenter/MET/releases/download/v10.0.0/met-
10.0.0.20210510.tar.gz
> > > > > > > >
> > > > > > > > To compile MET, we do have a script available that can
be
> used
> > if
> > > > > you'd
> > > > > > > > like.  It can be found on that Downloads page under
"Sample
> > > Script
> > > > > For
> > > > > > > > Compiling External Libraries And MET".
> > > > > > > >
> > > > > > > > However, I can help with installing either version of
MET.
> > > > > > > >
> > > > > > > > Modifying nc_var_info.h or any other file should not
be
> > > necessary.
> > > > > If
> > > > > > > you
> > > > > > > > could please pass along the config.log and make.log
file for
> > > > > whichever
> > > > > > > > version you are installing, I will be able to better
see what
> > is
> > > > > going
> > > > > > > on.
> > > > > > > > Once I receive those files, I'll take a look and will
get
> back
> > to
> > > > > you.
> > > > > > > >
> > > > > > > > Julie
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > On Thu, Jun 17, 2021 at 8:08 AM Minna Win via RT <
> > > > met_help at ucar.edu>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
> > > >
> > > > > > > > >
> > > > > > > > > Hello Dave,
> > > > > > > > >
> > > > > > > > > It looks like you are trying to install an older
version of
> > > MET.
> > > > > MET
> > > > > > > > > 10.0.0 is available and we recommend you try
installing
> that
> > > > > instead.
> > > > > > > I
> > > > > > > > am
> > > > > > > > > going to refer your ticket to Julie Prestopnik, who
has a
> lot
> > > of
> > > > > > > > expertise
> > > > > > > > > in building MET.  Please allow a few business days
for a
> full
> > > > > > response.
> > > > > > > > >
> > > > > > > > > Regards,
> > > > > > > > > Minna
> > > > > > > > > ---------------
> > > > > > > > > Minna Win
> > > > > > > > > Pronouns: she/her
> > > > > > > > > National Center for Atmospheric Research
> > > > > > > > > Developmental Testbed Center
> > > > > > > > > Phone: 303-497-8423
> > > > > > > > > Fax:   303-497-8401
> > > > > > > > > ---------------
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On Thu, Jun 17, 2021 at 6:36 AM David Huber - NOAA
> Affiliate
> > > via
> > > > > RT <
> > > > > > > > > met_help at ucar.edu> wrote:
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Thu Jun 17 06:35:49 2021: Request 100256 was acted
upon.
> > > > > > > > > > Transaction: Ticket created by
david.huber at noaa.gov
> > > > > > > > > >        Queue: met_help
> > > > > > > > > >      Subject: NetCDF Build Issue
> > > > > > > > > >        Owner: Nobody
> > > > > > > > > >   Requestors: david.huber at noaa.gov
> > > > > > > > > >       Status: new
> > > > > > > > > >  Ticket <URL:
> > > > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Hello,
> > > > > > > > > >
> > > > > > > > > > I am trying to build MET version 9.1.3 and I'm
running
> into
> > > > some
> > > > > > > issues
> > > > > > > > > > with NetCDF.  When the build progresses to
> nc_var_info.cc,
> > I
> > > > > > receive
> > > > > > > a
> > > > > > > > > > number of undefined identifier messages:
> > > > > > > > > >
> > > > > > > > > > ---
> > > > > > > > > > icpc -DHAVE_CONFIG_H -I. -I../../..
> > > > -I../../../src/basic/vx_cal
> > > > > > > > > > -I../../../src/basic/vx_config
> -I../../../src/basic/vx_log
> > > > > > > > > > -I../../../src/basic/vx_math
-I../../../src/basic/vx_util
> > > > > > > > > > -I../../../src/libcode/vx_afm
> > > > > > -I../../../src/libcode/vx_analysis_util
> > > > > > > > > > -I../../../src/libcode/vx_color
> > > > -I../../../src/libcode/vx_data2d
> > > > > > > > > > -I../../../src/libcode/vx_data2d_factory
> > > > > > > > > > -I../../../src/libcode/vx_data2d_grib
> > > > > > > > > > -I../../../src/libcode/vx_data2d_grib2
> > > > > > > > > > -I../../../src/libcode/vx_data2d_nccf
> > > > > > > > > > -I../../../src/libcode/vx_data2d_nc_met
> > > > > > > > > > -I../../../src/libcode/vx_data2d_nc_pinterp
> > > > > > > > > > -I../../../src/libcode/vx_data2d_python
> > > > > > > > > > -I../../../src/libcode/vx_python3_utils
> > > > > > > > -I../../../src/libcode/vx_geodesy
> > > > > > > > > > -I../../../src/libcode/vx_gis
> > > -I../../../src/libcode/vx_gnomon
> > > > > > > > > > -I../../../src/libcode/vx_grid
> > > > -I../../../src/libcode/vx_gsl_prob
> > > > > > > > > > -I../../../src/libcode/vx_nav
> > > -I../../../src/libcode/vx_nc_obs
> > > > > > > > > > -I../../../src/libcode/vx_nc_util
> > > > > -I../../../src/libcode/vx_pb_util
> > > > > > > > > > -I../../../src/libcode/vx_plot_util
> > > > -I../../../src/libcode/vx_ps
> > > > > > > > > > -I../../../src/libcode/vx_pxm
> > > -I../../../src/libcode/vx_render
> > > > > > > > > > -I../../../src/libcode/vx_regrid
> > > > > > -I../../../src/libcode/vx_shapedata
> > > > > > > > > > -I../../../src/libcode/vx_solar
> > > > > > -I../../../src/libcode/vx_statistics
> > > > > > > > > > -I../../../src/libcode/vx_stat_out
> > > > > > -I../../../src/libcode/vx_summary
> > > > > > > > > > -I../../../src/libcode/vx_time_series
> > > > > > > > > -I../../../src/libcode/vx_series_data
> > > > > > > > > > -I../../../src/libcode/vx_tc_util
> > > > > > > > > >
> > > > > >
> > -I/data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include
> > > > > > > > > >
> > > > > -I/data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/hdf5/1.10.6/include
> > > > > > > > > > -I/data/prod/hpc-stack/intel-
18.0.3/g2c/1.6.2/include
> > > > > > > > > -I../../basic/vx_log
> > > > > > > > > > -I../../basic/vx_util
> > > -I/opt/miniconda/3.8-s4/include/python3.8
> > > > > > > > > > -I/opt/miniconda/3.8-s4/include/python3.8 -Wsign-
compare
> > > > > > > -march=nocona
> > > > > > > > > > -mtune=haswell -ftree-vectorize -fPIC
> > > -fstack-protector-strong
> > > > > -O3
> > > > > > > > > > -ffunction-sections -pipe -isystem
> > > > > > /home/opt/miniconda/3.8-s4/include
> > > > > > > > > > -ffat-lto-objects -flto-partition=none -DNDEBUG
-fwrapv
> -O3
> > > > -Wall
> > > > > > > > > > -I/opt/gsl/2.6/include
> > > -I/opt/hdf4/4.2.14-intel-18.0.3/include
> > > > > > > -DBLOCK4
> > > > > > > > > > -DWITH_GRIB2 -DWITH_PYTHON
> > > > > > > > > > -DMET_BASE="\"/data/users/dhuber/MET/share/met\""
-g -MT
> > > > > > > > > > libvx_nc_util_a-nc_var_info.o -MD -MP -MF
> > > > > > > > > > .deps/libvx_nc_util_a-nc_var_info.Tpo -c -o
> > > > > > > > libvx_nc_util_a-nc_var_info.o
> > > > > > > > > > `test -f 'nc_var_info.cc' || echo
'./'`nc_var_info.cc
> > > > > > > > > > icpc: command line warning #10159: invalid
argument for
> > > option
> > > > > > > '-flto'
> > > > > > > > > > icpc: warning #10193: -vec is default; use -x and
-ax to
> > > > > configure
> > > > > > > > > > vectorization
> > > > > > > > > > icpc: command line warning #10385: option
> > '-ffat-lto-objects'
> > > > > > > requires
> > > > > > > > > use
> > > > > > > > > > of '-ipo -c'. Option ignored.
> > > > > > > > > > In file included from
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > > > > > > >                  from
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > > > > > > >                  from nc_utils.h(21),
> > > > > > > > > >                  from nc_var_info.cc(24):
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(30):
> > > > > > > > > > error: identifier "NC_INT" is undefined
> > > > > > > > > >         nc_INT      = NC_INT,   //!< signed 4 byte
> integer
> > > > > > > > > >                       ^
> > > > > > > > > >
> > > > > > > > > > In file included from
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > > > > > > >                  from
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > > > > > > >                  from nc_utils.h(21),
> > > > > > > > > >                  from nc_var_info.cc(24):
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(33):
> > > > > > > > > > error: identifier "NC_UBYTE" is undefined
> > > > > > > > > >         nc_UBYTE    = NC_UBYTE, //!< unsigned 1
byte int
> > > > > > > > > >                       ^
> > > > > > > > > >
> > > > > > > > > > In file included from
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > > > > > > >                  from
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > > > > > > >                  from nc_utils.h(21),
> > > > > > > > > >                  from nc_var_info.cc(24):
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(34):
> > > > > > > > > > error: identifier "NC_USHORT" is undefined
> > > > > > > > > >         nc_USHORT   = NC_USHORT,        //!<
unsigned
> > 2-byte
> > > > int
> > > > > > > > > >
> > > > > > > > > > ---
> > > > > > > > > >
> > > > > > > > > > These variables are defined in netcdf.h, but this
header
> is
> > > > never
> > > > > > > > > > included.  In older versions of NetCDF, the line
> > > > > > > > > > #include <netcdf.h>
> > > > > > > > > > in $MET_NETCDFINC/netcdf would automatically
include
> > > netcdf.h,
> > > > > but
> > > > > > in
> > > > > > > > > > version 4.7.4, this line is replaced with
> > > > > > > > > > extern "C" {
> > > > > > > > > > #include <netcdf.h>
> > > > > > > > > > }
> > > > > > > > > > So netcdf.h is not included for C++ source files.
I
> > haven't
> > > > > tested
> > > > > > > it
> > > > > > > > > yet,
> > > > > > > > > > but I suspect I could add #include <netcdf.h> to
> > > nc_var_info.h.
> > > > > > I'm
> > > > > > > > not
> > > > > > > > > > sure just how many header files I would need to
add this
> > > line,
> > > > > > > though,
> > > > > > > > > nor
> > > > > > > > > > if it is the best solution.  Would that be my best
bet
> here
> > > or
> > > > do
> > > > > > you
> > > > > > > > > have
> > > > > > > > > > another suggestion on how to get this to compile?
> > > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > >
> > > > > > > > > > Dave
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Julie Prestopnik (she/her)
> > > > > > > > Software Engineer
> > > > > > > > National Center for Atmospheric Research
> > > > > > > > Research Applications Laboratory
> > > > > > > > Email: jpresto at ucar.edu
> > > > > > > >
> > > > > > > > My working day may not be your working day.  Please do
not
> feel
> > > > > obliged
> > > > > > > to
> > > > > > > > reply to this email outside of your normal working
hours.
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > --
> > > > > > Julie Prestopnik (she/her)
> > > > > > Software Engineer
> > > > > > National Center for Atmospheric Research
> > > > > > Research Applications Laboratory
> > > > > > Email: jpresto at ucar.edu
> > > > > >
> > > > > > My working day may not be your working day.  Please do not
feel
> > > obliged
> > > > > to
> > > > > > reply to this email outside of your normal working hours.
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > > --
> > > > Julie Prestopnik (she/her)
> > > > Software Engineer
> > > > National Center for Atmospheric Research
> > > > Research Applications Laboratory
> > > > Email: jpresto at ucar.edu
> > > >
> > > > My working day may not be your working day.  Please do not
feel
> obliged
> > > to
> > > > reply to this email outside of your normal working hours.
> > > >
> > > >
> > >
> > >
> >
> > --
> > Julie Prestopnik (she/her)
> > Software Engineer
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Email: jpresto at ucar.edu
> >
> > My working day may not be your working day.  Please do not feel
obliged
> to
> > reply to this email outside of your normal working hours.
> >
> >
>
>

--
Julie Prestopnik (she/her)
Software Engineer
National Center for Atmospheric Research
Research Applications Laboratory
Email: jpresto at ucar.edu

My working day may not be your working day.  Please do not feel
obliged to
reply to this email outside of your normal working hours.

------------------------------------------------
Subject: NetCDF Build Issue
From: David Huber - NOAA Affiliate
Time: Fri Jun 18 14:04:54 2021

Hi Julie,

The intel compiler version on S4 has impi included, so there's no
additional module calls (thus, I think the MPI libraries are available
for
all builds).  That said, the hpc-stack library packages are organized
so
that any package that is capable of running with the MPI libraries are
separated from those that cannot.

The system does use modules, so I've amended the install_met_env.huber
script accordingly.  I'm now getting an error during configuration
that C++
compiler does not work,  I suspect this means that it is not correctly
identifying the compiler executable.  Would you be able to take a look
at
the script and configuration log and let me know what you think the
fix is
here?

Thanks,

Dave

On Fri, Jun 18, 2021 at 11:38 AM Julie Prestopnik via RT
<met_help at ucar.edu>
wrote:

> Thanks, Dave.
>
> I just noticed that you're building MET with some libraries that
have paths
> with "impi-18.0.3" in them.  These libraries (hdf5, netcdf, etc.)
were
> likely built using the mpi intel compilers (e.g. mpicc, mpicxx,
mpif77).
> You're also compiler MET with some libraries (grib2c, jasper, png,
z, etc.)
> that likely weren't built using the mpi intel compilers (icc, icpc,
> ifort).
>
> We always tell users MET and its dependent libraries need to be
built with
> the same family of compilers, and while you are using the intel
family of
> compilers, I'm not sure exactly what effect mixing mpi with non-mpi
> compilers has.  I have built MET and its dependent libraries
successfully
> on many different machines using the script and tar_files using the
"Sample
> Script For Compiling External Libraries And MET" section on the
Downloads
> <https://dtcenter.org/community-code/model-evaluation-tools-
met/download>
> page
> and would like to have you try building MET and its external
libraries
> using the script.
>
> The instructions on the Downloads page refer to a configuration
file, which
> I have already put together for your system.  However, I did not
know if
> you were using module files to load, for example, the intel
compilers and
> Python. I assumed you were not, but if you are, you'll want to
change the
> value of USE_MODULES to TRUE and then add any module loads to the
top of
> the file as indicated.  If some of the libraries are installed
successfully
> and others have problems, to avoid having to recompile the already
> successfully built libraries, simply uncomment the variables at the
bottom
> of the file.
>
> Also, below I have put a link to a step by step tutorial and video
on how
> to install MET using this script and config file.  One difference to
note
> is that I have made some improvements to the compile_MET_all.sh
script,
> which is linked to on the Downloads page, but it should still
function the
> same.
>
>
> https://metplus-
training.readthedocs.io/en/latest/modules/Environment/met_installation.html
>
> Please let me know if you have any questions.
>
> Julie
>
> On Fri, Jun 18, 2021 at 5:42 AM David Huber - NOAA Affiliate via RT
<
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
> >
> > OK, thanks.  I gave this a try, but I'm still getting the same
errors.
> >
> > -Dave
> >
> > On Thu, Jun 17, 2021 at 5:02 PM Julie Prestopnik via RT <
> met_help at ucar.edu
> > >
> > wrote:
> >
> > > Right!  My apologies for not catching that!  I copied and pasted
from
> the
> > > script I use to compile MET.
> > >
> > > Please try the following instead:
> > >
> > > export LDFLAGS="${LDFLAGS} -Wl,
> > >
> > >
> >
>
rpath,${$MET_NETCDF}/lib:${MET_HDF5}/lib:${MET_GRIB2CLIB}:${MET_GSL}/lib:${MET_BUFR}/lib:/opt/miniconda/3.8-
s4/lib/python3.8/config-3.8-x86_64-linux-gnu:/opt/miniconda/3.8-
s4/lib"
> > > export LDFLAGS="${LDFLAGS}
> > >
> > >
> >
> -Wl,-rpath,/data/prod/hpc-stack/intel-
18.0.3/jasper/2.0.22/lib:/data/prod/hpc-stack/intel-
18.0.3/png/1.6.35/lib:/data/prod/hpc-stack/intel-
18.0.3/zlib/1.2.11/lib"
> > > export LDFLAGS="${LDFLAGS} -L${MET_HDF5}/lib
-L${MET_NETCDF}/lib"
> > > export LIBS="${LIBS} -lnetcdf -lhdf5_hl -lhdf5 -lz"
> > > export CFLAGS="-D__64BIT__"
> > > export CXXFLAGS="-D__64BIT__"
> > >
> > > Julie
> > >
> > > On Thu, Jun 17, 2021 at 1:43 PM David Huber - NOAA Affiliate via
RT <
> > > met_help at ucar.edu> wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
>
> > > >
> > > > Hi Julie,
> > > >
> > > > That failed to configure.  A few of the variable names are
undefined
> in
> > > my
> > > > environment:
> > > >
> > > > LIB_DIR, MET_BUFRLIB, MET_PYTHON, LIB_JASPER, LIB_LIBPNG,
LIB_Z
> > > >
> > > > I tried replacing the latter five with
> > > > MET_BUFR/lib, MET_PYTHON_LD, JASPER_LIB, LIB_PNG, and Z_LIB
> > > > but that didn't work, either.  Should LIB_DIR be something
else?  And
> > is
> > > > MET_PYTHON_LD correct or should it be something different as
well.
> > > >
> > > > For reference, I've attached the script I'm using to configure
and
> make
> > > > MET.
> > > >
> > > > Thanks,
> > > >
> > > > Dave
> > > >
> > > > On Thu, Jun 17, 2021 at 2:55 PM Julie Prestopnik via RT <
> > > met_help at ucar.edu
> > > > >
> > > > wrote:
> > > >
> > > > > Hi Dave.
> > > > >
> > > > > Could you please try setting these variables in your
environment
> and
> > > then
> > > > > reconfigure and try to rebuild MET?
> > > > >
> > > > > export LDFLAGS="${LDFLAGS} -Wl,
> > > > >
> > > > >
> > > >
> > >
> >
>
rpath,${LIB_DIR}/lib${MET_NETCDF:+:$MET_NETCDF/lib}${MET_HDF5:+:$MET_HDF5/lib}${MET_BUFRLIB:+:$MET_BUFRLIB}${MET_GRIB2CLIB:+:$MET_GRIB2C\
> > > > >
LIB}${MET_PYTHON:+:$MET_PYTHON/lib}${MET_GSL:+:$MET_GSL/lib}"
> > > > > export LDFLAGS="${LDFLAGS}
> > > > >
> > > > >
> > > >
> > >
> >
> -Wl,-
rpath,${LIB_JASPER:+$LIB_JASPER}${LIB_LIBPNG:+:$LIB_PNG}${LIB_Z:+$LIB_Z}"
> > > > > export LDFLAGS="${LDFLAGS} ${LIB_JASPER:+-L$LIB_JASPER}
> > > > > ${LIB_LIBPNG:+-L$LIB_LIBPNG} ${MET_HDF5:+-L$MET_HDF5/lib}"
> > > > > export LIBS="${LIBS} -lnetcdf -lhdf5_hl -lhdf5 -lz"
> > > > > export CFLAGS="-D__64BIT__"
> > > > > export CXXFLAGS="-D__64BIT__"
> > > > >
> > > > > Please let us know how that goes.
> > > > >
> > > > > Julie
> > > > >
> > > > > On Thu, Jun 17, 2021 at 12:07 PM David Huber - NOAA
Affiliate via
> RT
> > <
> > > > > met_help at ucar.edu> wrote:
> > > > >
> > > > > >
> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
> > > > > >
> > > > > > Hi Julie,
> > > > > >
> > > > > > The files do all exist.  I attempted the rebuild with the
> modified
> > > > > > MET_PYTHON_CC flags, but the errors are still present.
> > > > > >
> > > > > > -Dave
> > > > > >
> > > > > > On Thu, Jun 17, 2021 at 1:42 PM Julie Prestopnik via RT <
> > > > > met_help at ucar.edu
> > > > > > >
> > > > > > wrote:
> > > > > >
> > > > > > > Ok, sounds good.  Thank you for attaching the log files.
> > > > > > >
> > > > > > > Can you please tell me if the following files exist in
the
> > include
> > > > and
> > > > > > lib
> > > > > > > directories of
> > > > > > /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4?
> > > > > > >
> > > > > > > Files needed for NetCDF4 C:
> > > > > > > >    - $MET_NETCDF/include/netcdf.h
> > > > > > > >    - $MET_NETCDF/lib/libnetcdf.a
> > > > > > > >    - $MET_NETCDF/lib/libnetcdf.so
> > > > > > > > Files needed for NetCDF4 C++:
> > > > > > > >    - $MET_NETCDF/include/netcdf
> > > > > > > >    - $MET_NETCDF/lib/libnetcdf_c++4.a
> > > > > > > >    - $MET_NETCDF/lib/libnetcdf_c++4.so
> > > > > > >
> > > > > > >
> > > > > > > Also, can you please modify the value of MET_PYTHON_CC
to be
> the
> > > > > > following
> > > > > > > instead?
> > > > > > >
> > > > > > > > MET_PYTHON_CC='-I/opt/miniconda/3.8-
s4/include/python3.8'
> > > > > > >
> > > > > > >
> > > > > > > Assuming the NetCDF files exist and after you have
modified the
> > > value
> > > > > of
> > > > > > > MET_PYTHON_CC, please reconfigure and try to rebuild
MET.
> > > > > > >
> > > > > > > Please let us know how it goes.
> > > > > > >
> > > > > > > Julie
> > > > > > >
> > > > > > > On Thu, Jun 17, 2021 at 11:13 AM David Huber - NOAA
Affiliate
> via
> > > RT
> > > > <
> > > > > > > met_help at ucar.edu> wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
> > >
> > > > > > > >
> > > > > > > > Hi Julie,
> > > > > > > >
> > > > > > > > For my purposes, I will need 9.1.3 installed.  We'll
probably
> > get
> > > > > > 10.0.0
> > > > > > > > installed as well at a later time.
> > > > > > > >
> > > > > > > > Attached are the two log files.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > >
> > > > > > > > Dave
> > > > > > > >
> > > > > > > > On Thu, Jun 17, 2021 at 11:32 AM Julie Prestopnik via
RT <
> > > > > > > > met_help at ucar.edu>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Hi Dave.
> > > > > > > > >
> > > > > > > > > I see that you are trying to compile MET version
9.1.3 but
> > are
> > > > > having
> > > > > > > > some
> > > > > > > > > issues with NetCDF.  As Minna mentioned, we have
released
> > > > > METversion
> > > > > > > > 10.0.0
> > > > > > > > > and always encourage users to install our latest
stable
> > > release.
> > > > > > > > >
> > > > > > > > > You can find the latest recommended version on our
> Downloads
> > > > page:
> > > > > > > > >
> > > > > > >
> > > > >
> > >
> https://dtcenter.org/community-code/model-evaluation-tools-
met/download
> > > > > > > > >
> > > > > > > > > Here is a direct link to the tar file:
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/dtcenter/MET/releases/download/v10.0.0/met-
10.0.0.20210510.tar.gz
> > > > > > > > >
> > > > > > > > > To compile MET, we do have a script available that
can be
> > used
> > > if
> > > > > > you'd
> > > > > > > > > like.  It can be found on that Downloads page under
"Sample
> > > > Script
> > > > > > For
> > > > > > > > > Compiling External Libraries And MET".
> > > > > > > > >
> > > > > > > > > However, I can help with installing either version
of MET.
> > > > > > > > >
> > > > > > > > > Modifying nc_var_info.h or any other file should not
be
> > > > necessary.
> > > > > > If
> > > > > > > > you
> > > > > > > > > could please pass along the config.log and make.log
file
> for
> > > > > > whichever
> > > > > > > > > version you are installing, I will be able to better
see
> what
> > > is
> > > > > > going
> > > > > > > > on.
> > > > > > > > > Once I receive those files, I'll take a look and
will get
> > back
> > > to
> > > > > > you.
> > > > > > > > >
> > > > > > > > > Julie
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On Thu, Jun 17, 2021 at 8:08 AM Minna Win via RT <
> > > > > met_help at ucar.edu>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > <URL:
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
> > > > >
> > > > > > > > > >
> > > > > > > > > > Hello Dave,
> > > > > > > > > >
> > > > > > > > > > It looks like you are trying to install an older
version
> of
> > > > MET.
> > > > > > MET
> > > > > > > > > > 10.0.0 is available and we recommend you try
installing
> > that
> > > > > > instead.
> > > > > > > > I
> > > > > > > > > am
> > > > > > > > > > going to refer your ticket to Julie Prestopnik,
who has a
> > lot
> > > > of
> > > > > > > > > expertise
> > > > > > > > > > in building MET.  Please allow a few business days
for a
> > full
> > > > > > > response.
> > > > > > > > > >
> > > > > > > > > > Regards,
> > > > > > > > > > Minna
> > > > > > > > > > ---------------
> > > > > > > > > > Minna Win
> > > > > > > > > > Pronouns: she/her
> > > > > > > > > > National Center for Atmospheric Research
> > > > > > > > > > Developmental Testbed Center
> > > > > > > > > > Phone: 303-497-8423
> > > > > > > > > > Fax:   303-497-8401
> > > > > > > > > > ---------------
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > On Thu, Jun 17, 2021 at 6:36 AM David Huber - NOAA
> > Affiliate
> > > > via
> > > > > > RT <
> > > > > > > > > > met_help at ucar.edu> wrote:
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Thu Jun 17 06:35:49 2021: Request 100256 was
acted
> upon.
> > > > > > > > > > > Transaction: Ticket created by
david.huber at noaa.gov
> > > > > > > > > > >        Queue: met_help
> > > > > > > > > > >      Subject: NetCDF Build Issue
> > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > >   Requestors: david.huber at noaa.gov
> > > > > > > > > > >       Status: new
> > > > > > > > > > >  Ticket <URL:
> > > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Hello,
> > > > > > > > > > >
> > > > > > > > > > > I am trying to build MET version 9.1.3 and I'm
running
> > into
> > > > > some
> > > > > > > > issues
> > > > > > > > > > > with NetCDF.  When the build progresses to
> > nc_var_info.cc,
> > > I
> > > > > > > receive
> > > > > > > > a
> > > > > > > > > > > number of undefined identifier messages:
> > > > > > > > > > >
> > > > > > > > > > > ---
> > > > > > > > > > > icpc -DHAVE_CONFIG_H -I. -I../../..
> > > > > -I../../../src/basic/vx_cal
> > > > > > > > > > > -I../../../src/basic/vx_config
> > -I../../../src/basic/vx_log
> > > > > > > > > > > -I../../../src/basic/vx_math
> -I../../../src/basic/vx_util
> > > > > > > > > > > -I../../../src/libcode/vx_afm
> > > > > > > -I../../../src/libcode/vx_analysis_util
> > > > > > > > > > > -I../../../src/libcode/vx_color
> > > > > -I../../../src/libcode/vx_data2d
> > > > > > > > > > > -I../../../src/libcode/vx_data2d_factory
> > > > > > > > > > > -I../../../src/libcode/vx_data2d_grib
> > > > > > > > > > > -I../../../src/libcode/vx_data2d_grib2
> > > > > > > > > > > -I../../../src/libcode/vx_data2d_nccf
> > > > > > > > > > > -I../../../src/libcode/vx_data2d_nc_met
> > > > > > > > > > > -I../../../src/libcode/vx_data2d_nc_pinterp
> > > > > > > > > > > -I../../../src/libcode/vx_data2d_python
> > > > > > > > > > > -I../../../src/libcode/vx_python3_utils
> > > > > > > > > -I../../../src/libcode/vx_geodesy
> > > > > > > > > > > -I../../../src/libcode/vx_gis
> > > > -I../../../src/libcode/vx_gnomon
> > > > > > > > > > > -I../../../src/libcode/vx_grid
> > > > > -I../../../src/libcode/vx_gsl_prob
> > > > > > > > > > > -I../../../src/libcode/vx_nav
> > > > -I../../../src/libcode/vx_nc_obs
> > > > > > > > > > > -I../../../src/libcode/vx_nc_util
> > > > > > -I../../../src/libcode/vx_pb_util
> > > > > > > > > > > -I../../../src/libcode/vx_plot_util
> > > > > -I../../../src/libcode/vx_ps
> > > > > > > > > > > -I../../../src/libcode/vx_pxm
> > > > -I../../../src/libcode/vx_render
> > > > > > > > > > > -I../../../src/libcode/vx_regrid
> > > > > > > -I../../../src/libcode/vx_shapedata
> > > > > > > > > > > -I../../../src/libcode/vx_solar
> > > > > > > -I../../../src/libcode/vx_statistics
> > > > > > > > > > > -I../../../src/libcode/vx_stat_out
> > > > > > > -I../../../src/libcode/vx_summary
> > > > > > > > > > > -I../../../src/libcode/vx_time_series
> > > > > > > > > > -I../../../src/libcode/vx_series_data
> > > > > > > > > > > -I../../../src/libcode/vx_tc_util
> > > > > > > > > > >
> > > > > > >
> > > -I/data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include
> > > > > > > > > > >
> > > > > >
> -I/data/prod/hpc-stack/intel-18.0.3/impi-18.0.3/hdf5/1.10.6/include
> > > > > > > > > > > -I/data/prod/hpc-stack/intel-
18.0.3/g2c/1.6.2/include
> > > > > > > > > > -I../../basic/vx_log
> > > > > > > > > > > -I../../basic/vx_util
> > > > -I/opt/miniconda/3.8-s4/include/python3.8
> > > > > > > > > > > -I/opt/miniconda/3.8-s4/include/python3.8
> -Wsign-compare
> > > > > > > > -march=nocona
> > > > > > > > > > > -mtune=haswell -ftree-vectorize -fPIC
> > > > -fstack-protector-strong
> > > > > > -O3
> > > > > > > > > > > -ffunction-sections -pipe -isystem
> > > > > > > /home/opt/miniconda/3.8-s4/include
> > > > > > > > > > > -ffat-lto-objects -flto-partition=none -DNDEBUG
-fwrapv
> > -O3
> > > > > -Wall
> > > > > > > > > > > -I/opt/gsl/2.6/include
> > > > -I/opt/hdf4/4.2.14-intel-18.0.3/include
> > > > > > > > -DBLOCK4
> > > > > > > > > > > -DWITH_GRIB2 -DWITH_PYTHON
> > > > > > > > > > >
-DMET_BASE="\"/data/users/dhuber/MET/share/met\""  -g
> -MT
> > > > > > > > > > > libvx_nc_util_a-nc_var_info.o -MD -MP -MF
> > > > > > > > > > > .deps/libvx_nc_util_a-nc_var_info.Tpo -c -o
> > > > > > > > > libvx_nc_util_a-nc_var_info.o
> > > > > > > > > > > `test -f 'nc_var_info.cc' || echo
'./'`nc_var_info.cc
> > > > > > > > > > > icpc: command line warning #10159: invalid
argument for
> > > > option
> > > > > > > > '-flto'
> > > > > > > > > > > icpc: warning #10193: -vec is default; use -x
and -ax
> to
> > > > > > configure
> > > > > > > > > > > vectorization
> > > > > > > > > > > icpc: command line warning #10385: option
> > > '-ffat-lto-objects'
> > > > > > > > requires
> > > > > > > > > > use
> > > > > > > > > > > of '-ipo -c'. Option ignored.
> > > > > > > > > > > In file included from
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > > > > > > > >                  from
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > > > > > > > >                  from nc_utils.h(21),
> > > > > > > > > > >                  from nc_var_info.cc(24):
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(30):
> > > > > > > > > > > error: identifier "NC_INT" is undefined
> > > > > > > > > > >         nc_INT      = NC_INT,   //!< signed 4
byte
> > integer
> > > > > > > > > > >                       ^
> > > > > > > > > > >
> > > > > > > > > > > In file included from
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > > > > > > > >                  from
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > > > > > > > >                  from nc_utils.h(21),
> > > > > > > > > > >                  from nc_var_info.cc(24):
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(33):
> > > > > > > > > > > error: identifier "NC_UBYTE" is undefined
> > > > > > > > > > >         nc_UBYTE    = NC_UBYTE, //!< unsigned 1
byte
> int
> > > > > > > > > > >                       ^
> > > > > > > > > > >
> > > > > > > > > > > In file included from
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > > > > > > > >                  from
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > > > > > > > >                  from nc_utils.h(21),
> > > > > > > > > > >                  from nc_var_info.cc(24):
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(34):
> > > > > > > > > > > error: identifier "NC_USHORT" is undefined
> > > > > > > > > > >         nc_USHORT   = NC_USHORT,        //!<
unsigned
> > > 2-byte
> > > > > int
> > > > > > > > > > >
> > > > > > > > > > > ---
> > > > > > > > > > >
> > > > > > > > > > > These variables are defined in netcdf.h, but
this
> header
> > is
> > > > > never
> > > > > > > > > > > included.  In older versions of NetCDF, the line
> > > > > > > > > > > #include <netcdf.h>
> > > > > > > > > > > in $MET_NETCDFINC/netcdf would automatically
include
> > > > netcdf.h,
> > > > > > but
> > > > > > > in
> > > > > > > > > > > version 4.7.4, this line is replaced with
> > > > > > > > > > > extern "C" {
> > > > > > > > > > > #include <netcdf.h>
> > > > > > > > > > > }
> > > > > > > > > > > So netcdf.h is not included for C++ source
files.  I
> > > haven't
> > > > > > tested
> > > > > > > > it
> > > > > > > > > > yet,
> > > > > > > > > > > but I suspect I could add #include <netcdf.h> to
> > > > nc_var_info.h.
> > > > > > > I'm
> > > > > > > > > not
> > > > > > > > > > > sure just how many header files I would need to
add
> this
> > > > line,
> > > > > > > > though,
> > > > > > > > > > nor
> > > > > > > > > > > if it is the best solution.  Would that be my
best bet
> > here
> > > > or
> > > > > do
> > > > > > > you
> > > > > > > > > > have
> > > > > > > > > > > another suggestion on how to get this to
compile?
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > >
> > > > > > > > > > > Dave
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Julie Prestopnik (she/her)
> > > > > > > > > Software Engineer
> > > > > > > > > National Center for Atmospheric Research
> > > > > > > > > Research Applications Laboratory
> > > > > > > > > Email: jpresto at ucar.edu
> > > > > > > > >
> > > > > > > > > My working day may not be your working day.  Please
do not
> > feel
> > > > > > obliged
> > > > > > > > to
> > > > > > > > > reply to this email outside of your normal working
hours.
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Julie Prestopnik (she/her)
> > > > > > > Software Engineer
> > > > > > > National Center for Atmospheric Research
> > > > > > > Research Applications Laboratory
> > > > > > > Email: jpresto at ucar.edu
> > > > > > >
> > > > > > > My working day may not be your working day.  Please do
not feel
> > > > obliged
> > > > > > to
> > > > > > > reply to this email outside of your normal working
hours.
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > > --
> > > > > Julie Prestopnik (she/her)
> > > > > Software Engineer
> > > > > National Center for Atmospheric Research
> > > > > Research Applications Laboratory
> > > > > Email: jpresto at ucar.edu
> > > > >
> > > > > My working day may not be your working day.  Please do not
feel
> > obliged
> > > > to
> > > > > reply to this email outside of your normal working hours.
> > > > >
> > > > >
> > > >
> > > >
> > >
> > > --
> > > Julie Prestopnik (she/her)
> > > Software Engineer
> > > National Center for Atmospheric Research
> > > Research Applications Laboratory
> > > Email: jpresto at ucar.edu
> > >
> > > My working day may not be your working day.  Please do not feel
obliged
> > to
> > > reply to this email outside of your normal working hours.
> > >
> > >
> >
> >
>
> --
> Julie Prestopnik (she/her)
> Software Engineer
> National Center for Atmospheric Research
> Research Applications Laboratory
> Email: jpresto at ucar.edu
>
> My working day may not be your working day.  Please do not feel
obliged to
> reply to this email outside of your normal working hours.
>
>

------------------------------------------------
Subject: NetCDF Build Issue
From: Julie Prestopnik
Time: Mon Jun 21 12:57:59 2021

Hi Dave.

Thanks for the information and for sending these files.
Unfortunately,
configure.log doesn't contain very much useful information.  Could you
please instead send the config.log file (after making the
modification below and rerunning)?

Also, I don't see anything that is obviously wrong in your
install_met_env.huber file.  Hopefully, the config.log file will give
me
some more insight into what might be going on.

I did see that you are using version 1.6.2 of g2c.  Because you are
using
version 1.6.2, you will need to set another variable in your
install_met_env.huber file.  Please add the following:

export SET_D64BIT=TRUE

and then rerun the script and send me the config.log file?  That will
tell
MET to use that 64bit flag.  If g2c was built with it, MET needs to be
built with it too.

Thanks!

Julie

On Fri, Jun 18, 2021 at 2:05 PM David Huber - NOAA Affiliate via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
>
> Hi Julie,
>
> The intel compiler version on S4 has impi included, so there's no
> additional module calls (thus, I think the MPI libraries are
available for
> all builds).  That said, the hpc-stack library packages are
organized so
> that any package that is capable of running with the MPI libraries
are
> separated from those that cannot.
>
> The system does use modules, so I've amended the
install_met_env.huber
> script accordingly.  I'm now getting an error during configuration
that C++
> compiler does not work,  I suspect this means that it is not
correctly
> identifying the compiler executable.  Would you be able to take a
look at
> the script and configuration log and let me know what you think the
fix is
> here?
>
> Thanks,
>
> Dave
>
> On Fri, Jun 18, 2021 at 11:38 AM Julie Prestopnik via RT <
> met_help at ucar.edu>
> wrote:
>
> > Thanks, Dave.
> >
> > I just noticed that you're building MET with some libraries that
have
> paths
> > with "impi-18.0.3" in them.  These libraries (hdf5, netcdf, etc.)
were
> > likely built using the mpi intel compilers (e.g. mpicc, mpicxx,
mpif77).
> > You're also compiler MET with some libraries (grib2c, jasper, png,
z,
> etc.)
> > that likely weren't built using the mpi intel compilers (icc,
icpc,
> > ifort).
> >
> > We always tell users MET and its dependent libraries need to be
built
> with
> > the same family of compilers, and while you are using the intel
family of
> > compilers, I'm not sure exactly what effect mixing mpi with non-
mpi
> > compilers has.  I have built MET and its dependent libraries
successfully
> > on many different machines using the script and tar_files using
the
> "Sample
> > Script For Compiling External Libraries And MET" section on the
Downloads
> > <https://dtcenter.org/community-code/model-evaluation-tools-
met/download
> >
> > page
> > and would like to have you try building MET and its external
libraries
> > using the script.
> >
> > The instructions on the Downloads page refer to a configuration
file,
> which
> > I have already put together for your system.  However, I did not
know if
> > you were using module files to load, for example, the intel
compilers and
> > Python. I assumed you were not, but if you are, you'll want to
change the
> > value of USE_MODULES to TRUE and then add any module loads to the
top of
> > the file as indicated.  If some of the libraries are installed
> successfully
> > and others have problems, to avoid having to recompile the already
> > successfully built libraries, simply uncomment the variables at
the
> bottom
> > of the file.
> >
> > Also, below I have put a link to a step by step tutorial and video
on how
> > to install MET using this script and config file.  One difference
to note
> > is that I have made some improvements to the compile_MET_all.sh
script,
> > which is linked to on the Downloads page, but it should still
function
> the
> > same.
> >
> >
> >
> https://metplus-
training.readthedocs.io/en/latest/modules/Environment/met_installation.html
> >
> > Please let me know if you have any questions.
> >
> > Julie
> >
> > On Fri, Jun 18, 2021 at 5:42 AM David Huber - NOAA Affiliate via
RT <
> > met_help at ucar.edu> wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
> > >
> > > OK, thanks.  I gave this a try, but I'm still getting the same
errors.
> > >
> > > -Dave
> > >
> > > On Thu, Jun 17, 2021 at 5:02 PM Julie Prestopnik via RT <
> > met_help at ucar.edu
> > > >
> > > wrote:
> > >
> > > > Right!  My apologies for not catching that!  I copied and
pasted from
> > the
> > > > script I use to compile MET.
> > > >
> > > > Please try the following instead:
> > > >
> > > > export LDFLAGS="${LDFLAGS} -Wl,
> > > >
> > > >
> > >
> >
>
rpath,${$MET_NETCDF}/lib:${MET_HDF5}/lib:${MET_GRIB2CLIB}:${MET_GSL}/lib:${MET_BUFR}/lib:/opt/miniconda/3.8-
s4/lib/python3.8/config-3.8-x86_64-linux-gnu:/opt/miniconda/3.8-
s4/lib"
> > > > export LDFLAGS="${LDFLAGS}
> > > >
> > > >
> > >
> >
> -Wl,-rpath,/data/prod/hpc-stack/intel-
18.0.3/jasper/2.0.22/lib:/data/prod/hpc-stack/intel-
18.0.3/png/1.6.35/lib:/data/prod/hpc-stack/intel-
18.0.3/zlib/1.2.11/lib"
> > > > export LDFLAGS="${LDFLAGS} -L${MET_HDF5}/lib
-L${MET_NETCDF}/lib"
> > > > export LIBS="${LIBS} -lnetcdf -lhdf5_hl -lhdf5 -lz"
> > > > export CFLAGS="-D__64BIT__"
> > > > export CXXFLAGS="-D__64BIT__"
> > > >
> > > > Julie
> > > >
> > > > On Thu, Jun 17, 2021 at 1:43 PM David Huber - NOAA Affiliate
via RT <
> > > > met_help at ucar.edu> wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
> > > > >
> > > > > Hi Julie,
> > > > >
> > > > > That failed to configure.  A few of the variable names are
> undefined
> > in
> > > > my
> > > > > environment:
> > > > >
> > > > > LIB_DIR, MET_BUFRLIB, MET_PYTHON, LIB_JASPER, LIB_LIBPNG,
LIB_Z
> > > > >
> > > > > I tried replacing the latter five with
> > > > > MET_BUFR/lib, MET_PYTHON_LD, JASPER_LIB, LIB_PNG, and Z_LIB
> > > > > but that didn't work, either.  Should LIB_DIR be something
else?
> And
> > > is
> > > > > MET_PYTHON_LD correct or should it be something different as
well.
> > > > >
> > > > > For reference, I've attached the script I'm using to
configure and
> > make
> > > > > MET.
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Dave
> > > > >
> > > > > On Thu, Jun 17, 2021 at 2:55 PM Julie Prestopnik via RT <
> > > > met_help at ucar.edu
> > > > > >
> > > > > wrote:
> > > > >
> > > > > > Hi Dave.
> > > > > >
> > > > > > Could you please try setting these variables in your
environment
> > and
> > > > then
> > > > > > reconfigure and try to rebuild MET?
> > > > > >
> > > > > > export LDFLAGS="${LDFLAGS} -Wl,
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
rpath,${LIB_DIR}/lib${MET_NETCDF:+:$MET_NETCDF/lib}${MET_HDF5:+:$MET_HDF5/lib}${MET_BUFRLIB:+:$MET_BUFRLIB}${MET_GRIB2CLIB:+:$MET_GRIB2C\
> > > > > >
LIB}${MET_PYTHON:+:$MET_PYTHON/lib}${MET_GSL:+:$MET_GSL/lib}"
> > > > > > export LDFLAGS="${LDFLAGS}
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> -Wl,-
rpath,${LIB_JASPER:+$LIB_JASPER}${LIB_LIBPNG:+:$LIB_PNG}${LIB_Z:+$LIB_Z}"
> > > > > > export LDFLAGS="${LDFLAGS} ${LIB_JASPER:+-L$LIB_JASPER}
> > > > > > ${LIB_LIBPNG:+-L$LIB_LIBPNG} ${MET_HDF5:+-L$MET_HDF5/lib}"
> > > > > > export LIBS="${LIBS} -lnetcdf -lhdf5_hl -lhdf5 -lz"
> > > > > > export CFLAGS="-D__64BIT__"
> > > > > > export CXXFLAGS="-D__64BIT__"
> > > > > >
> > > > > > Please let us know how that goes.
> > > > > >
> > > > > > Julie
> > > > > >
> > > > > > On Thu, Jun 17, 2021 at 12:07 PM David Huber - NOAA
Affiliate via
> > RT
> > > <
> > > > > > met_help at ucar.edu> wrote:
> > > > > >
> > > > > > >
> > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
> >
> > > > > > >
> > > > > > > Hi Julie,
> > > > > > >
> > > > > > > The files do all exist.  I attempted the rebuild with
the
> > modified
> > > > > > > MET_PYTHON_CC flags, but the errors are still present.
> > > > > > >
> > > > > > > -Dave
> > > > > > >
> > > > > > > On Thu, Jun 17, 2021 at 1:42 PM Julie Prestopnik via RT
<
> > > > > > met_help at ucar.edu
> > > > > > > >
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Ok, sounds good.  Thank you for attaching the log
files.
> > > > > > > >
> > > > > > > > Can you please tell me if the following files exist in
the
> > > include
> > > > > and
> > > > > > > lib
> > > > > > > > directories of
> > > > > > > /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4?
> > > > > > > >
> > > > > > > > Files needed for NetCDF4 C:
> > > > > > > > >    - $MET_NETCDF/include/netcdf.h
> > > > > > > > >    - $MET_NETCDF/lib/libnetcdf.a
> > > > > > > > >    - $MET_NETCDF/lib/libnetcdf.so
> > > > > > > > > Files needed for NetCDF4 C++:
> > > > > > > > >    - $MET_NETCDF/include/netcdf
> > > > > > > > >    - $MET_NETCDF/lib/libnetcdf_c++4.a
> > > > > > > > >    - $MET_NETCDF/lib/libnetcdf_c++4.so
> > > > > > > >
> > > > > > > >
> > > > > > > > Also, can you please modify the value of MET_PYTHON_CC
to be
> > the
> > > > > > > following
> > > > > > > > instead?
> > > > > > > >
> > > > > > > > > MET_PYTHON_CC='-I/opt/miniconda/3.8-
s4/include/python3.8'
> > > > > > > >
> > > > > > > >
> > > > > > > > Assuming the NetCDF files exist and after you have
modified
> the
> > > > value
> > > > > > of
> > > > > > > > MET_PYTHON_CC, please reconfigure and try to rebuild
MET.
> > > > > > > >
> > > > > > > > Please let us know how it goes.
> > > > > > > >
> > > > > > > > Julie
> > > > > > > >
> > > > > > > > On Thu, Jun 17, 2021 at 11:13 AM David Huber - NOAA
Affiliate
> > via
> > > > RT
> > > > > <
> > > > > > > > met_help at ucar.edu> wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
> > > >
> > > > > > > > >
> > > > > > > > > Hi Julie,
> > > > > > > > >
> > > > > > > > > For my purposes, I will need 9.1.3 installed.  We'll
> probably
> > > get
> > > > > > > 10.0.0
> > > > > > > > > installed as well at a later time.
> > > > > > > > >
> > > > > > > > > Attached are the two log files.
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > >
> > > > > > > > > Dave
> > > > > > > > >
> > > > > > > > > On Thu, Jun 17, 2021 at 11:32 AM Julie Prestopnik
via RT <
> > > > > > > > > met_help at ucar.edu>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > Hi Dave.
> > > > > > > > > >
> > > > > > > > > > I see that you are trying to compile MET version
9.1.3
> but
> > > are
> > > > > > having
> > > > > > > > > some
> > > > > > > > > > issues with NetCDF.  As Minna mentioned, we have
released
> > > > > > METversion
> > > > > > > > > 10.0.0
> > > > > > > > > > and always encourage users to install our latest
stable
> > > > release.
> > > > > > > > > >
> > > > > > > > > > You can find the latest recommended version on our
> > Downloads
> > > > > page:
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> > https://dtcenter.org/community-code/model-evaluation-tools-
met/download
> > > > > > > > > >
> > > > > > > > > > Here is a direct link to the tar file:
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/dtcenter/MET/releases/download/v10.0.0/met-
10.0.0.20210510.tar.gz
> > > > > > > > > >
> > > > > > > > > > To compile MET, we do have a script available that
can be
> > > used
> > > > if
> > > > > > > you'd
> > > > > > > > > > like.  It can be found on that Downloads page
under
> "Sample
> > > > > Script
> > > > > > > For
> > > > > > > > > > Compiling External Libraries And MET".
> > > > > > > > > >
> > > > > > > > > > However, I can help with installing either version
of
> MET.
> > > > > > > > > >
> > > > > > > > > > Modifying nc_var_info.h or any other file should
not be
> > > > > necessary.
> > > > > > > If
> > > > > > > > > you
> > > > > > > > > > could please pass along the config.log and
make.log file
> > for
> > > > > > > whichever
> > > > > > > > > > version you are installing, I will be able to
better see
> > what
> > > > is
> > > > > > > going
> > > > > > > > > on.
> > > > > > > > > > Once I receive those files, I'll take a look and
will get
> > > back
> > > > to
> > > > > > > you.
> > > > > > > > > >
> > > > > > > > > > Julie
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > On Thu, Jun 17, 2021 at 8:08 AM Minna Win via RT <
> > > > > > met_help at ucar.edu>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > <URL:
> > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
> > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Hello Dave,
> > > > > > > > > > >
> > > > > > > > > > > It looks like you are trying to install an older
> version
> > of
> > > > > MET.
> > > > > > > MET
> > > > > > > > > > > 10.0.0 is available and we recommend you try
installing
> > > that
> > > > > > > instead.
> > > > > > > > > I
> > > > > > > > > > am
> > > > > > > > > > > going to refer your ticket to Julie Prestopnik,
who
> has a
> > > lot
> > > > > of
> > > > > > > > > > expertise
> > > > > > > > > > > in building MET.  Please allow a few business
days for
> a
> > > full
> > > > > > > > response.
> > > > > > > > > > >
> > > > > > > > > > > Regards,
> > > > > > > > > > > Minna
> > > > > > > > > > > ---------------
> > > > > > > > > > > Minna Win
> > > > > > > > > > > Pronouns: she/her
> > > > > > > > > > > National Center for Atmospheric Research
> > > > > > > > > > > Developmental Testbed Center
> > > > > > > > > > > Phone: 303-497-8423
> > > > > > > > > > > Fax:   303-497-8401
> > > > > > > > > > > ---------------
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > On Thu, Jun 17, 2021 at 6:36 AM David Huber -
NOAA
> > > Affiliate
> > > > > via
> > > > > > > RT <
> > > > > > > > > > > met_help at ucar.edu> wrote:
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Thu Jun 17 06:35:49 2021: Request 100256 was
acted
> > upon.
> > > > > > > > > > > > Transaction: Ticket created by
david.huber at noaa.gov
> > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > >      Subject: NetCDF Build Issue
> > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > >   Requestors: david.huber at noaa.gov
> > > > > > > > > > > >       Status: new
> > > > > > > > > > > >  Ticket <URL:
> > > > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Hello,
> > > > > > > > > > > >
> > > > > > > > > > > > I am trying to build MET version 9.1.3 and I'm
> running
> > > into
> > > > > > some
> > > > > > > > > issues
> > > > > > > > > > > > with NetCDF.  When the build progresses to
> > > nc_var_info.cc,
> > > > I
> > > > > > > > receive
> > > > > > > > > a
> > > > > > > > > > > > number of undefined identifier messages:
> > > > > > > > > > > >
> > > > > > > > > > > > ---
> > > > > > > > > > > > icpc -DHAVE_CONFIG_H -I. -I../../..
> > > > > > -I../../../src/basic/vx_cal
> > > > > > > > > > > > -I../../../src/basic/vx_config
> > > -I../../../src/basic/vx_log
> > > > > > > > > > > > -I../../../src/basic/vx_math
> > -I../../../src/basic/vx_util
> > > > > > > > > > > > -I../../../src/libcode/vx_afm
> > > > > > > > -I../../../src/libcode/vx_analysis_util
> > > > > > > > > > > > -I../../../src/libcode/vx_color
> > > > > > -I../../../src/libcode/vx_data2d
> > > > > > > > > > > > -I../../../src/libcode/vx_data2d_factory
> > > > > > > > > > > > -I../../../src/libcode/vx_data2d_grib
> > > > > > > > > > > > -I../../../src/libcode/vx_data2d_grib2
> > > > > > > > > > > > -I../../../src/libcode/vx_data2d_nccf
> > > > > > > > > > > > -I../../../src/libcode/vx_data2d_nc_met
> > > > > > > > > > > > -I../../../src/libcode/vx_data2d_nc_pinterp
> > > > > > > > > > > > -I../../../src/libcode/vx_data2d_python
> > > > > > > > > > > > -I../../../src/libcode/vx_python3_utils
> > > > > > > > > > -I../../../src/libcode/vx_geodesy
> > > > > > > > > > > > -I../../../src/libcode/vx_gis
> > > > > -I../../../src/libcode/vx_gnomon
> > > > > > > > > > > > -I../../../src/libcode/vx_grid
> > > > > > -I../../../src/libcode/vx_gsl_prob
> > > > > > > > > > > > -I../../../src/libcode/vx_nav
> > > > > -I../../../src/libcode/vx_nc_obs
> > > > > > > > > > > > -I../../../src/libcode/vx_nc_util
> > > > > > > -I../../../src/libcode/vx_pb_util
> > > > > > > > > > > > -I../../../src/libcode/vx_plot_util
> > > > > > -I../../../src/libcode/vx_ps
> > > > > > > > > > > > -I../../../src/libcode/vx_pxm
> > > > > -I../../../src/libcode/vx_render
> > > > > > > > > > > > -I../../../src/libcode/vx_regrid
> > > > > > > > -I../../../src/libcode/vx_shapedata
> > > > > > > > > > > > -I../../../src/libcode/vx_solar
> > > > > > > > -I../../../src/libcode/vx_statistics
> > > > > > > > > > > > -I../../../src/libcode/vx_stat_out
> > > > > > > > -I../../../src/libcode/vx_summary
> > > > > > > > > > > > -I../../../src/libcode/vx_time_series
> > > > > > > > > > > -I../../../src/libcode/vx_series_data
> > > > > > > > > > > > -I../../../src/libcode/vx_tc_util
> > > > > > > > > > > >
> > > > > > > >
> > > > -I/data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include
> > > > > > > > > > > >
> > > > > > >
> > -I/data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/hdf5/1.10.6/include
> > > > > > > > > > > > -I/data/prod/hpc-stack/intel-
18.0.3/g2c/1.6.2/include
> > > > > > > > > > > -I../../basic/vx_log
> > > > > > > > > > > > -I../../basic/vx_util
> > > > > -I/opt/miniconda/3.8-s4/include/python3.8
> > > > > > > > > > > > -I/opt/miniconda/3.8-s4/include/python3.8
> > -Wsign-compare
> > > > > > > > > -march=nocona
> > > > > > > > > > > > -mtune=haswell -ftree-vectorize -fPIC
> > > > > -fstack-protector-strong
> > > > > > > -O3
> > > > > > > > > > > > -ffunction-sections -pipe -isystem
> > > > > > > > /home/opt/miniconda/3.8-s4/include
> > > > > > > > > > > > -ffat-lto-objects -flto-partition=none
-DNDEBUG
> -fwrapv
> > > -O3
> > > > > > -Wall
> > > > > > > > > > > > -I/opt/gsl/2.6/include
> > > > > -I/opt/hdf4/4.2.14-intel-18.0.3/include
> > > > > > > > > -DBLOCK4
> > > > > > > > > > > > -DWITH_GRIB2 -DWITH_PYTHON
> > > > > > > > > > > >
-DMET_BASE="\"/data/users/dhuber/MET/share/met\""  -g
> > -MT
> > > > > > > > > > > > libvx_nc_util_a-nc_var_info.o -MD -MP -MF
> > > > > > > > > > > > .deps/libvx_nc_util_a-nc_var_info.Tpo -c -o
> > > > > > > > > > libvx_nc_util_a-nc_var_info.o
> > > > > > > > > > > > `test -f 'nc_var_info.cc' || echo
'./'`nc_var_info.cc
> > > > > > > > > > > > icpc: command line warning #10159: invalid
argument
> for
> > > > > option
> > > > > > > > > '-flto'
> > > > > > > > > > > > icpc: warning #10193: -vec is default; use -x
and -ax
> > to
> > > > > > > configure
> > > > > > > > > > > > vectorization
> > > > > > > > > > > > icpc: command line warning #10385: option
> > > > '-ffat-lto-objects'
> > > > > > > > > requires
> > > > > > > > > > > use
> > > > > > > > > > > > of '-ipo -c'. Option ignored.
> > > > > > > > > > > > In file included from
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > > > > > > > > >                  from
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > > > > > > > > >                  from nc_utils.h(21),
> > > > > > > > > > > >                  from nc_var_info.cc(24):
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(30):
> > > > > > > > > > > > error: identifier "NC_INT" is undefined
> > > > > > > > > > > >         nc_INT      = NC_INT,   //!< signed 4
byte
> > > integer
> > > > > > > > > > > >                       ^
> > > > > > > > > > > >
> > > > > > > > > > > > In file included from
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > > > > > > > > >                  from
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > > > > > > > > >                  from nc_utils.h(21),
> > > > > > > > > > > >                  from nc_var_info.cc(24):
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(33):
> > > > > > > > > > > > error: identifier "NC_UBYTE" is undefined
> > > > > > > > > > > >         nc_UBYTE    = NC_UBYTE, //!< unsigned
1 byte
> > int
> > > > > > > > > > > >                       ^
> > > > > > > > > > > >
> > > > > > > > > > > > In file included from
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > > > > > > > > >                  from
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > > > > > > > > >                  from nc_utils.h(21),
> > > > > > > > > > > >                  from nc_var_info.cc(24):
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(34):
> > > > > > > > > > > > error: identifier "NC_USHORT" is undefined
> > > > > > > > > > > >         nc_USHORT   = NC_USHORT,        //!<
unsigned
> > > > 2-byte
> > > > > > int
> > > > > > > > > > > >
> > > > > > > > > > > > ---
> > > > > > > > > > > >
> > > > > > > > > > > > These variables are defined in netcdf.h, but
this
> > header
> > > is
> > > > > > never
> > > > > > > > > > > > included.  In older versions of NetCDF, the
line
> > > > > > > > > > > > #include <netcdf.h>
> > > > > > > > > > > > in $MET_NETCDFINC/netcdf would automatically
include
> > > > > netcdf.h,
> > > > > > > but
> > > > > > > > in
> > > > > > > > > > > > version 4.7.4, this line is replaced with
> > > > > > > > > > > > extern "C" {
> > > > > > > > > > > > #include <netcdf.h>
> > > > > > > > > > > > }
> > > > > > > > > > > > So netcdf.h is not included for C++ source
files.  I
> > > > haven't
> > > > > > > tested
> > > > > > > > > it
> > > > > > > > > > > yet,
> > > > > > > > > > > > but I suspect I could add #include <netcdf.h>
to
> > > > > nc_var_info.h.
> > > > > > > > I'm
> > > > > > > > > > not
> > > > > > > > > > > > sure just how many header files I would need
to add
> > this
> > > > > line,
> > > > > > > > > though,
> > > > > > > > > > > nor
> > > > > > > > > > > > if it is the best solution.  Would that be my
best
> bet
> > > here
> > > > > or
> > > > > > do
> > > > > > > > you
> > > > > > > > > > > have
> > > > > > > > > > > > another suggestion on how to get this to
compile?
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks,
> > > > > > > > > > > >
> > > > > > > > > > > > Dave
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Julie Prestopnik (she/her)
> > > > > > > > > > Software Engineer
> > > > > > > > > > National Center for Atmospheric Research
> > > > > > > > > > Research Applications Laboratory
> > > > > > > > > > Email: jpresto at ucar.edu
> > > > > > > > > >
> > > > > > > > > > My working day may not be your working day.
Please do
> not
> > > feel
> > > > > > > obliged
> > > > > > > > > to
> > > > > > > > > > reply to this email outside of your normal working
hours.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Julie Prestopnik (she/her)
> > > > > > > > Software Engineer
> > > > > > > > National Center for Atmospheric Research
> > > > > > > > Research Applications Laboratory
> > > > > > > > Email: jpresto at ucar.edu
> > > > > > > >
> > > > > > > > My working day may not be your working day.  Please do
not
> feel
> > > > > obliged
> > > > > > > to
> > > > > > > > reply to this email outside of your normal working
hours.
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > --
> > > > > > Julie Prestopnik (she/her)
> > > > > > Software Engineer
> > > > > > National Center for Atmospheric Research
> > > > > > Research Applications Laboratory
> > > > > > Email: jpresto at ucar.edu
> > > > > >
> > > > > > My working day may not be your working day.  Please do not
feel
> > > obliged
> > > > > to
> > > > > > reply to this email outside of your normal working hours.
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > > --
> > > > Julie Prestopnik (she/her)
> > > > Software Engineer
> > > > National Center for Atmospheric Research
> > > > Research Applications Laboratory
> > > > Email: jpresto at ucar.edu
> > > >
> > > > My working day may not be your working day.  Please do not
feel
> obliged
> > > to
> > > > reply to this email outside of your normal working hours.
> > > >
> > > >
> > >
> > >
> >
> > --
> > Julie Prestopnik (she/her)
> > Software Engineer
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Email: jpresto at ucar.edu
> >
> > My working day may not be your working day.  Please do not feel
obliged
> to
> > reply to this email outside of your normal working hours.
> >
> >
>
>

--
Julie Prestopnik (she/her)
Software Engineer
National Center for Atmospheric Research
Research Applications Laboratory
Email: jpresto at ucar.edu

My working day may not be your working day.  Please do not feel
obliged to
reply to this email outside of your normal working hours.

------------------------------------------------
Subject: NetCDF Build Issue
From: David Huber - NOAA Affiliate
Time: Tue Jun 22 09:16:18 2021

Hi Julie,

I took a quick look at the config.log and saw that it failed because
it was
looking for the HDF5 library and could not find it.  I just added the
line
"export MET_HDF5=$HDF5" to the end of install_met_env.huber, along
with
"export SET_D64BIT=TRUE".  This worked and everything compiled
correctly!

Thanks for the help!

-Dave

On Mon, Jun 21, 2021 at 2:58 PM Julie Prestopnik via RT
<met_help at ucar.edu>
wrote:

> Hi Dave.
>
> Thanks for the information and for sending these files.
Unfortunately,
> configure.log doesn't contain very much useful information.  Could
you
> please instead send the config.log file (after making the
> modification below and rerunning)?
>
> Also, I don't see anything that is obviously wrong in your
> install_met_env.huber file.  Hopefully, the config.log file will
give me
> some more insight into what might be going on.
>
> I did see that you are using version 1.6.2 of g2c.  Because you are
using
> version 1.6.2, you will need to set another variable in your
> install_met_env.huber file.  Please add the following:
>
> export SET_D64BIT=TRUE
>
> and then rerun the script and send me the config.log file?  That
will tell
> MET to use that 64bit flag.  If g2c was built with it, MET needs to
be
> built with it too.
>
> Thanks!
>
> Julie
>
> On Fri, Jun 18, 2021 at 2:05 PM David Huber - NOAA Affiliate via RT
<
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
> >
> > Hi Julie,
> >
> > The intel compiler version on S4 has impi included, so there's no
> > additional module calls (thus, I think the MPI libraries are
available
> for
> > all builds).  That said, the hpc-stack library packages are
organized so
> > that any package that is capable of running with the MPI libraries
are
> > separated from those that cannot.
> >
> > The system does use modules, so I've amended the
install_met_env.huber
> > script accordingly.  I'm now getting an error during configuration
that
> C++
> > compiler does not work,  I suspect this means that it is not
correctly
> > identifying the compiler executable.  Would you be able to take a
look at
> > the script and configuration log and let me know what you think
the fix
> is
> > here?
> >
> > Thanks,
> >
> > Dave
> >
> > On Fri, Jun 18, 2021 at 11:38 AM Julie Prestopnik via RT <
> > met_help at ucar.edu>
> > wrote:
> >
> > > Thanks, Dave.
> > >
> > > I just noticed that you're building MET with some libraries that
have
> > paths
> > > with "impi-18.0.3" in them.  These libraries (hdf5, netcdf,
etc.) were
> > > likely built using the mpi intel compilers (e.g. mpicc, mpicxx,
> mpif77).
> > > You're also compiler MET with some libraries (grib2c, jasper,
png, z,
> > etc.)
> > > that likely weren't built using the mpi intel compilers (icc,
icpc,
> > > ifort).
> > >
> > > We always tell users MET and its dependent libraries need to be
built
> > with
> > > the same family of compilers, and while you are using the intel
family
> of
> > > compilers, I'm not sure exactly what effect mixing mpi with non-
mpi
> > > compilers has.  I have built MET and its dependent libraries
> successfully
> > > on many different machines using the script and tar_files using
the
> > "Sample
> > > Script For Compiling External Libraries And MET" section on the
> Downloads
> > > <
> https://dtcenter.org/community-code/model-evaluation-tools-
met/download
> > >
> > > page
> > > and would like to have you try building MET and its external
libraries
> > > using the script.
> > >
> > > The instructions on the Downloads page refer to a configuration
file,
> > which
> > > I have already put together for your system.  However, I did not
know
> if
> > > you were using module files to load, for example, the intel
compilers
> and
> > > Python. I assumed you were not, but if you are, you'll want to
change
> the
> > > value of USE_MODULES to TRUE and then add any module loads to
the top
> of
> > > the file as indicated.  If some of the libraries are installed
> > successfully
> > > and others have problems, to avoid having to recompile the
already
> > > successfully built libraries, simply uncomment the variables at
the
> > bottom
> > > of the file.
> > >
> > > Also, below I have put a link to a step by step tutorial and
video on
> how
> > > to install MET using this script and config file.  One
difference to
> note
> > > is that I have made some improvements to the compile_MET_all.sh
script,
> > > which is linked to on the Downloads page, but it should still
function
> > the
> > > same.
> > >
> > >
> > >
> >
> https://metplus-
training.readthedocs.io/en/latest/modules/Environment/met_installation.html
> > >
> > > Please let me know if you have any questions.
> > >
> > > Julie
> > >
> > > On Fri, Jun 18, 2021 at 5:42 AM David Huber - NOAA Affiliate via
RT <
> > > met_help at ucar.edu> wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
>
> > > >
> > > > OK, thanks.  I gave this a try, but I'm still getting the same
> errors.
> > > >
> > > > -Dave
> > > >
> > > > On Thu, Jun 17, 2021 at 5:02 PM Julie Prestopnik via RT <
> > > met_help at ucar.edu
> > > > >
> > > > wrote:
> > > >
> > > > > Right!  My apologies for not catching that!  I copied and
pasted
> from
> > > the
> > > > > script I use to compile MET.
> > > > >
> > > > > Please try the following instead:
> > > > >
> > > > > export LDFLAGS="${LDFLAGS} -Wl,
> > > > >
> > > > >
> > > >
> > >
> >
>
rpath,${$MET_NETCDF}/lib:${MET_HDF5}/lib:${MET_GRIB2CLIB}:${MET_GSL}/lib:${MET_BUFR}/lib:/opt/miniconda/3.8-
s4/lib/python3.8/config-3.8-x86_64-linux-gnu:/opt/miniconda/3.8-
s4/lib"
> > > > > export LDFLAGS="${LDFLAGS}
> > > > >
> > > > >
> > > >
> > >
> >
> -Wl,-rpath,/data/prod/hpc-stack/intel-
18.0.3/jasper/2.0.22/lib:/data/prod/hpc-stack/intel-
18.0.3/png/1.6.35/lib:/data/prod/hpc-stack/intel-
18.0.3/zlib/1.2.11/lib"
> > > > > export LDFLAGS="${LDFLAGS} -L${MET_HDF5}/lib
-L${MET_NETCDF}/lib"
> > > > > export LIBS="${LIBS} -lnetcdf -lhdf5_hl -lhdf5 -lz"
> > > > > export CFLAGS="-D__64BIT__"
> > > > > export CXXFLAGS="-D__64BIT__"
> > > > >
> > > > > Julie
> > > > >
> > > > > On Thu, Jun 17, 2021 at 1:43 PM David Huber - NOAA Affiliate
via
> RT <
> > > > > met_help at ucar.edu> wrote:
> > > > >
> > > > > >
> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
> > > > > >
> > > > > > Hi Julie,
> > > > > >
> > > > > > That failed to configure.  A few of the variable names are
> > undefined
> > > in
> > > > > my
> > > > > > environment:
> > > > > >
> > > > > > LIB_DIR, MET_BUFRLIB, MET_PYTHON, LIB_JASPER, LIB_LIBPNG,
LIB_Z
> > > > > >
> > > > > > I tried replacing the latter five with
> > > > > > MET_BUFR/lib, MET_PYTHON_LD, JASPER_LIB, LIB_PNG, and
Z_LIB
> > > > > > but that didn't work, either.  Should LIB_DIR be something
else?
> > And
> > > > is
> > > > > > MET_PYTHON_LD correct or should it be something different
as
> well.
> > > > > >
> > > > > > For reference, I've attached the script I'm using to
configure
> and
> > > make
> > > > > > MET.
> > > > > >
> > > > > > Thanks,
> > > > > >
> > > > > > Dave
> > > > > >
> > > > > > On Thu, Jun 17, 2021 at 2:55 PM Julie Prestopnik via RT <
> > > > > met_help at ucar.edu
> > > > > > >
> > > > > > wrote:
> > > > > >
> > > > > > > Hi Dave.
> > > > > > >
> > > > > > > Could you please try setting these variables in your
> environment
> > > and
> > > > > then
> > > > > > > reconfigure and try to rebuild MET?
> > > > > > >
> > > > > > > export LDFLAGS="${LDFLAGS} -Wl,
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
rpath,${LIB_DIR}/lib${MET_NETCDF:+:$MET_NETCDF/lib}${MET_HDF5:+:$MET_HDF5/lib}${MET_BUFRLIB:+:$MET_BUFRLIB}${MET_GRIB2CLIB:+:$MET_GRIB2C\
> > > > > > >
LIB}${MET_PYTHON:+:$MET_PYTHON/lib}${MET_GSL:+:$MET_GSL/lib}"
> > > > > > > export LDFLAGS="${LDFLAGS}
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> -Wl,-
rpath,${LIB_JASPER:+$LIB_JASPER}${LIB_LIBPNG:+:$LIB_PNG}${LIB_Z:+$LIB_Z}"
> > > > > > > export LDFLAGS="${LDFLAGS} ${LIB_JASPER:+-L$LIB_JASPER}
> > > > > > > ${LIB_LIBPNG:+-L$LIB_LIBPNG} ${MET_HDF5:+-
L$MET_HDF5/lib}"
> > > > > > > export LIBS="${LIBS} -lnetcdf -lhdf5_hl -lhdf5 -lz"
> > > > > > > export CFLAGS="-D__64BIT__"
> > > > > > > export CXXFLAGS="-D__64BIT__"
> > > > > > >
> > > > > > > Please let us know how that goes.
> > > > > > >
> > > > > > > Julie
> > > > > > >
> > > > > > > On Thu, Jun 17, 2021 at 12:07 PM David Huber - NOAA
Affiliate
> via
> > > RT
> > > > <
> > > > > > > met_help at ucar.edu> wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
> > >
> > > > > > > >
> > > > > > > > Hi Julie,
> > > > > > > >
> > > > > > > > The files do all exist.  I attempted the rebuild with
the
> > > modified
> > > > > > > > MET_PYTHON_CC flags, but the errors are still present.
> > > > > > > >
> > > > > > > > -Dave
> > > > > > > >
> > > > > > > > On Thu, Jun 17, 2021 at 1:42 PM Julie Prestopnik via
RT <
> > > > > > > met_help at ucar.edu
> > > > > > > > >
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Ok, sounds good.  Thank you for attaching the log
files.
> > > > > > > > >
> > > > > > > > > Can you please tell me if the following files exist
in the
> > > > include
> > > > > > and
> > > > > > > > lib
> > > > > > > > > directories of
> > > > > > > > /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4?
> > > > > > > > >
> > > > > > > > > Files needed for NetCDF4 C:
> > > > > > > > > >    - $MET_NETCDF/include/netcdf.h
> > > > > > > > > >    - $MET_NETCDF/lib/libnetcdf.a
> > > > > > > > > >    - $MET_NETCDF/lib/libnetcdf.so
> > > > > > > > > > Files needed for NetCDF4 C++:
> > > > > > > > > >    - $MET_NETCDF/include/netcdf
> > > > > > > > > >    - $MET_NETCDF/lib/libnetcdf_c++4.a
> > > > > > > > > >    - $MET_NETCDF/lib/libnetcdf_c++4.so
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Also, can you please modify the value of
MET_PYTHON_CC to
> be
> > > the
> > > > > > > > following
> > > > > > > > > instead?
> > > > > > > > >
> > > > > > > > > > MET_PYTHON_CC='-I/opt/miniconda/3.8-
s4/include/python3.8'
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Assuming the NetCDF files exist and after you have
modified
> > the
> > > > > value
> > > > > > > of
> > > > > > > > > MET_PYTHON_CC, please reconfigure and try to rebuild
MET.
> > > > > > > > >
> > > > > > > > > Please let us know how it goes.
> > > > > > > > >
> > > > > > > > > Julie
> > > > > > > > >
> > > > > > > > > On Thu, Jun 17, 2021 at 11:13 AM David Huber - NOAA
> Affiliate
> > > via
> > > > > RT
> > > > > > <
> > > > > > > > > met_help at ucar.edu> wrote:
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > <URL:
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
> > > > >
> > > > > > > > > >
> > > > > > > > > > Hi Julie,
> > > > > > > > > >
> > > > > > > > > > For my purposes, I will need 9.1.3 installed.
We'll
> > probably
> > > > get
> > > > > > > > 10.0.0
> > > > > > > > > > installed as well at a later time.
> > > > > > > > > >
> > > > > > > > > > Attached are the two log files.
> > > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > >
> > > > > > > > > > Dave
> > > > > > > > > >
> > > > > > > > > > On Thu, Jun 17, 2021 at 11:32 AM Julie Prestopnik
via RT
> <
> > > > > > > > > > met_help at ucar.edu>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > Hi Dave.
> > > > > > > > > > >
> > > > > > > > > > > I see that you are trying to compile MET version
9.1.3
> > but
> > > > are
> > > > > > > having
> > > > > > > > > > some
> > > > > > > > > > > issues with NetCDF.  As Minna mentioned, we have
> released
> > > > > > > METversion
> > > > > > > > > > 10.0.0
> > > > > > > > > > > and always encourage users to install our latest
stable
> > > > > release.
> > > > > > > > > > >
> > > > > > > > > > > You can find the latest recommended version on
our
> > > Downloads
> > > > > > page:
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
> https://dtcenter.org/community-code/model-evaluation-tools-
met/download
> > > > > > > > > > >
> > > > > > > > > > > Here is a direct link to the tar file:
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/dtcenter/MET/releases/download/v10.0.0/met-
10.0.0.20210510.tar.gz
> > > > > > > > > > >
> > > > > > > > > > > To compile MET, we do have a script available
that can
> be
> > > > used
> > > > > if
> > > > > > > > you'd
> > > > > > > > > > > like.  It can be found on that Downloads page
under
> > "Sample
> > > > > > Script
> > > > > > > > For
> > > > > > > > > > > Compiling External Libraries And MET".
> > > > > > > > > > >
> > > > > > > > > > > However, I can help with installing either
version of
> > MET.
> > > > > > > > > > >
> > > > > > > > > > > Modifying nc_var_info.h or any other file should
not be
> > > > > > necessary.
> > > > > > > > If
> > > > > > > > > > you
> > > > > > > > > > > could please pass along the config.log and
make.log
> file
> > > for
> > > > > > > > whichever
> > > > > > > > > > > version you are installing, I will be able to
better
> see
> > > what
> > > > > is
> > > > > > > > going
> > > > > > > > > > on.
> > > > > > > > > > > Once I receive those files, I'll take a look and
will
> get
> > > > back
> > > > > to
> > > > > > > > you.
> > > > > > > > > > >
> > > > > > > > > > > Julie
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > On Thu, Jun 17, 2021 at 8:08 AM Minna Win via RT
<
> > > > > > > met_help at ucar.edu>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > <URL:
> > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
> > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Hello Dave,
> > > > > > > > > > > >
> > > > > > > > > > > > It looks like you are trying to install an
older
> > version
> > > of
> > > > > > MET.
> > > > > > > > MET
> > > > > > > > > > > > 10.0.0 is available and we recommend you try
> installing
> > > > that
> > > > > > > > instead.
> > > > > > > > > > I
> > > > > > > > > > > am
> > > > > > > > > > > > going to refer your ticket to Julie
Prestopnik, who
> > has a
> > > > lot
> > > > > > of
> > > > > > > > > > > expertise
> > > > > > > > > > > > in building MET.  Please allow a few business
days
> for
> > a
> > > > full
> > > > > > > > > response.
> > > > > > > > > > > >
> > > > > > > > > > > > Regards,
> > > > > > > > > > > > Minna
> > > > > > > > > > > > ---------------
> > > > > > > > > > > > Minna Win
> > > > > > > > > > > > Pronouns: she/her
> > > > > > > > > > > > National Center for Atmospheric Research
> > > > > > > > > > > > Developmental Testbed Center
> > > > > > > > > > > > Phone: 303-497-8423
> > > > > > > > > > > > Fax:   303-497-8401
> > > > > > > > > > > > ---------------
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > On Thu, Jun 17, 2021 at 6:36 AM David Huber -
NOAA
> > > > Affiliate
> > > > > > via
> > > > > > > > RT <
> > > > > > > > > > > > met_help at ucar.edu> wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thu Jun 17 06:35:49 2021: Request 100256 was
acted
> > > upon.
> > > > > > > > > > > > > Transaction: Ticket created by
> david.huber at noaa.gov
> > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > >      Subject: NetCDF Build Issue
> > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > >   Requestors: david.huber at noaa.gov
> > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
> > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hello,
> > > > > > > > > > > > >
> > > > > > > > > > > > > I am trying to build MET version 9.1.3 and
I'm
> > running
> > > > into
> > > > > > > some
> > > > > > > > > > issues
> > > > > > > > > > > > > with NetCDF.  When the build progresses to
> > > > nc_var_info.cc,
> > > > > I
> > > > > > > > > receive
> > > > > > > > > > a
> > > > > > > > > > > > > number of undefined identifier messages:
> > > > > > > > > > > > >
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > icpc -DHAVE_CONFIG_H -I. -I../../..
> > > > > > > -I../../../src/basic/vx_cal
> > > > > > > > > > > > > -I../../../src/basic/vx_config
> > > > -I../../../src/basic/vx_log
> > > > > > > > > > > > > -I../../../src/basic/vx_math
> > > -I../../../src/basic/vx_util
> > > > > > > > > > > > > -I../../../src/libcode/vx_afm
> > > > > > > > > -I../../../src/libcode/vx_analysis_util
> > > > > > > > > > > > > -I../../../src/libcode/vx_color
> > > > > > > -I../../../src/libcode/vx_data2d
> > > > > > > > > > > > > -I../../../src/libcode/vx_data2d_factory
> > > > > > > > > > > > > -I../../../src/libcode/vx_data2d_grib
> > > > > > > > > > > > > -I../../../src/libcode/vx_data2d_grib2
> > > > > > > > > > > > > -I../../../src/libcode/vx_data2d_nccf
> > > > > > > > > > > > > -I../../../src/libcode/vx_data2d_nc_met
> > > > > > > > > > > > > -I../../../src/libcode/vx_data2d_nc_pinterp
> > > > > > > > > > > > > -I../../../src/libcode/vx_data2d_python
> > > > > > > > > > > > > -I../../../src/libcode/vx_python3_utils
> > > > > > > > > > > -I../../../src/libcode/vx_geodesy
> > > > > > > > > > > > > -I../../../src/libcode/vx_gis
> > > > > > -I../../../src/libcode/vx_gnomon
> > > > > > > > > > > > > -I../../../src/libcode/vx_grid
> > > > > > > -I../../../src/libcode/vx_gsl_prob
> > > > > > > > > > > > > -I../../../src/libcode/vx_nav
> > > > > > -I../../../src/libcode/vx_nc_obs
> > > > > > > > > > > > > -I../../../src/libcode/vx_nc_util
> > > > > > > > -I../../../src/libcode/vx_pb_util
> > > > > > > > > > > > > -I../../../src/libcode/vx_plot_util
> > > > > > > -I../../../src/libcode/vx_ps
> > > > > > > > > > > > > -I../../../src/libcode/vx_pxm
> > > > > > -I../../../src/libcode/vx_render
> > > > > > > > > > > > > -I../../../src/libcode/vx_regrid
> > > > > > > > > -I../../../src/libcode/vx_shapedata
> > > > > > > > > > > > > -I../../../src/libcode/vx_solar
> > > > > > > > > -I../../../src/libcode/vx_statistics
> > > > > > > > > > > > > -I../../../src/libcode/vx_stat_out
> > > > > > > > > -I../../../src/libcode/vx_summary
> > > > > > > > > > > > > -I../../../src/libcode/vx_time_series
> > > > > > > > > > > > -I../../../src/libcode/vx_series_data
> > > > > > > > > > > > > -I../../../src/libcode/vx_tc_util
> > > > > > > > > > > > >
> > > > > > > > >
> > > > >
> -I/data/prod/hpc-stack/intel-18.0.3/impi-18.0.3/netcdf/4.7.4/include
> > > > > > > > > > > > >
> > > > > > > >
> > > -I/data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/hdf5/1.10.6/include
> > > > > > > > > > > > >
> -I/data/prod/hpc-stack/intel-18.0.3/g2c/1.6.2/include
> > > > > > > > > > > > -I../../basic/vx_log
> > > > > > > > > > > > > -I../../basic/vx_util
> > > > > > -I/opt/miniconda/3.8-s4/include/python3.8
> > > > > > > > > > > > > -I/opt/miniconda/3.8-s4/include/python3.8
> > > -Wsign-compare
> > > > > > > > > > -march=nocona
> > > > > > > > > > > > > -mtune=haswell -ftree-vectorize -fPIC
> > > > > > -fstack-protector-strong
> > > > > > > > -O3
> > > > > > > > > > > > > -ffunction-sections -pipe -isystem
> > > > > > > > > /home/opt/miniconda/3.8-s4/include
> > > > > > > > > > > > > -ffat-lto-objects -flto-partition=none
-DNDEBUG
> > -fwrapv
> > > > -O3
> > > > > > > -Wall
> > > > > > > > > > > > > -I/opt/gsl/2.6/include
> > > > > > -I/opt/hdf4/4.2.14-intel-18.0.3/include
> > > > > > > > > > -DBLOCK4
> > > > > > > > > > > > > -DWITH_GRIB2 -DWITH_PYTHON
> > > > > > > > > > > > >
-DMET_BASE="\"/data/users/dhuber/MET/share/met\""
> -g
> > > -MT
> > > > > > > > > > > > > libvx_nc_util_a-nc_var_info.o -MD -MP -MF
> > > > > > > > > > > > > .deps/libvx_nc_util_a-nc_var_info.Tpo -c -o
> > > > > > > > > > > libvx_nc_util_a-nc_var_info.o
> > > > > > > > > > > > > `test -f 'nc_var_info.cc' || echo
> './'`nc_var_info.cc
> > > > > > > > > > > > > icpc: command line warning #10159: invalid
argument
> > for
> > > > > > option
> > > > > > > > > > '-flto'
> > > > > > > > > > > > > icpc: warning #10193: -vec is default; use
-x and
> -ax
> > > to
> > > > > > > > configure
> > > > > > > > > > > > > vectorization
> > > > > > > > > > > > > icpc: command line warning #10385: option
> > > > > '-ffat-lto-objects'
> > > > > > > > > > requires
> > > > > > > > > > > > use
> > > > > > > > > > > > > of '-ipo -c'. Option ignored.
> > > > > > > > > > > > > In file included from
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > > > > > > > > > >                  from
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > > > > > > > > > >                  from nc_utils.h(21),
> > > > > > > > > > > > >                  from nc_var_info.cc(24):
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(30):
> > > > > > > > > > > > > error: identifier "NC_INT" is undefined
> > > > > > > > > > > > >         nc_INT      = NC_INT,   //!< signed
4 byte
> > > > integer
> > > > > > > > > > > > >                       ^
> > > > > > > > > > > > >
> > > > > > > > > > > > > In file included from
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > > > > > > > > > >                  from
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > > > > > > > > > >                  from nc_utils.h(21),
> > > > > > > > > > > > >                  from nc_var_info.cc(24):
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(33):
> > > > > > > > > > > > > error: identifier "NC_UBYTE" is undefined
> > > > > > > > > > > > >         nc_UBYTE    = NC_UBYTE, //!<
unsigned 1
> byte
> > > int
> > > > > > > > > > > > >                       ^
> > > > > > > > > > > > >
> > > > > > > > > > > > > In file included from
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > > > > > > > > > >                  from
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > > > > > > > > > >                  from nc_utils.h(21),
> > > > > > > > > > > > >                  from nc_var_info.cc(24):
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(34):
> > > > > > > > > > > > > error: identifier "NC_USHORT" is undefined
> > > > > > > > > > > > >         nc_USHORT   = NC_USHORT,        //!<
> unsigned
> > > > > 2-byte
> > > > > > > int
> > > > > > > > > > > > >
> > > > > > > > > > > > > ---
> > > > > > > > > > > > >
> > > > > > > > > > > > > These variables are defined in netcdf.h, but
this
> > > header
> > > > is
> > > > > > > never
> > > > > > > > > > > > > included.  In older versions of NetCDF, the
line
> > > > > > > > > > > > > #include <netcdf.h>
> > > > > > > > > > > > > in $MET_NETCDFINC/netcdf would automatically
> include
> > > > > > netcdf.h,
> > > > > > > > but
> > > > > > > > > in
> > > > > > > > > > > > > version 4.7.4, this line is replaced with
> > > > > > > > > > > > > extern "C" {
> > > > > > > > > > > > > #include <netcdf.h>
> > > > > > > > > > > > > }
> > > > > > > > > > > > > So netcdf.h is not included for C++ source
files.
> I
> > > > > haven't
> > > > > > > > tested
> > > > > > > > > > it
> > > > > > > > > > > > yet,
> > > > > > > > > > > > > but I suspect I could add #include
<netcdf.h> to
> > > > > > nc_var_info.h.
> > > > > > > > > I'm
> > > > > > > > > > > not
> > > > > > > > > > > > > sure just how many header files I would need
to add
> > > this
> > > > > > line,
> > > > > > > > > > though,
> > > > > > > > > > > > nor
> > > > > > > > > > > > > if it is the best solution.  Would that be
my best
> > bet
> > > > here
> > > > > > or
> > > > > > > do
> > > > > > > > > you
> > > > > > > > > > > > have
> > > > > > > > > > > > > another suggestion on how to get this to
compile?
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > >
> > > > > > > > > > > > > Dave
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > Julie Prestopnik (she/her)
> > > > > > > > > > > Software Engineer
> > > > > > > > > > > National Center for Atmospheric Research
> > > > > > > > > > > Research Applications Laboratory
> > > > > > > > > > > Email: jpresto at ucar.edu
> > > > > > > > > > >
> > > > > > > > > > > My working day may not be your working day.
Please do
> > not
> > > > feel
> > > > > > > > obliged
> > > > > > > > > > to
> > > > > > > > > > > reply to this email outside of your normal
working
> hours.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Julie Prestopnik (she/her)
> > > > > > > > > Software Engineer
> > > > > > > > > National Center for Atmospheric Research
> > > > > > > > > Research Applications Laboratory
> > > > > > > > > Email: jpresto at ucar.edu
> > > > > > > > >
> > > > > > > > > My working day may not be your working day.  Please
do not
> > feel
> > > > > > obliged
> > > > > > > > to
> > > > > > > > > reply to this email outside of your normal working
hours.
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Julie Prestopnik (she/her)
> > > > > > > Software Engineer
> > > > > > > National Center for Atmospheric Research
> > > > > > > Research Applications Laboratory
> > > > > > > Email: jpresto at ucar.edu
> > > > > > >
> > > > > > > My working day may not be your working day.  Please do
not feel
> > > > obliged
> > > > > > to
> > > > > > > reply to this email outside of your normal working
hours.
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > > --
> > > > > Julie Prestopnik (she/her)
> > > > > Software Engineer
> > > > > National Center for Atmospheric Research
> > > > > Research Applications Laboratory
> > > > > Email: jpresto at ucar.edu
> > > > >
> > > > > My working day may not be your working day.  Please do not
feel
> > obliged
> > > > to
> > > > > reply to this email outside of your normal working hours.
> > > > >
> > > > >
> > > >
> > > >
> > >
> > > --
> > > Julie Prestopnik (she/her)
> > > Software Engineer
> > > National Center for Atmospheric Research
> > > Research Applications Laboratory
> > > Email: jpresto at ucar.edu
> > >
> > > My working day may not be your working day.  Please do not feel
obliged
> > to
> > > reply to this email outside of your normal working hours.
> > >
> > >
> >
> >
>
> --
> Julie Prestopnik (she/her)
> Software Engineer
> National Center for Atmospheric Research
> Research Applications Laboratory
> Email: jpresto at ucar.edu
>
> My working day may not be your working day.  Please do not feel
obliged to
> reply to this email outside of your normal working hours.
>
>

------------------------------------------------
Subject: NetCDF Build Issue
From: Julie Prestopnik
Time: Tue Jun 22 09:19:06 2021

Great!  I'm so glad you got a successful compilation.  I'll go ahead
and
close this ticket, but please feel free to open a new one with any
other
questions.

Julie

On Tue, Jun 22, 2021 at 9:16 AM David Huber - NOAA Affiliate via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
>
> Hi Julie,
>
> I took a quick look at the config.log and saw that it failed because
it was
> looking for the HDF5 library and could not find it.  I just added
the line
> "export MET_HDF5=$HDF5" to the end of install_met_env.huber, along
with
> "export SET_D64BIT=TRUE".  This worked and everything compiled
correctly!
>
> Thanks for the help!
>
> -Dave
>
> On Mon, Jun 21, 2021 at 2:58 PM Julie Prestopnik via RT
<met_help at ucar.edu
> >
> wrote:
>
> > Hi Dave.
> >
> > Thanks for the information and for sending these files.
Unfortunately,
> > configure.log doesn't contain very much useful information.  Could
you
> > please instead send the config.log file (after making the
> > modification below and rerunning)?
> >
> > Also, I don't see anything that is obviously wrong in your
> > install_met_env.huber file.  Hopefully, the config.log file will
give me
> > some more insight into what might be going on.
> >
> > I did see that you are using version 1.6.2 of g2c.  Because you
are using
> > version 1.6.2, you will need to set another variable in your
> > install_met_env.huber file.  Please add the following:
> >
> > export SET_D64BIT=TRUE
> >
> > and then rerun the script and send me the config.log file?  That
will
> tell
> > MET to use that 64bit flag.  If g2c was built with it, MET needs
to be
> > built with it too.
> >
> > Thanks!
> >
> > Julie
> >
> > On Fri, Jun 18, 2021 at 2:05 PM David Huber - NOAA Affiliate via
RT <
> > met_help at ucar.edu> wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
> > >
> > > Hi Julie,
> > >
> > > The intel compiler version on S4 has impi included, so there's
no
> > > additional module calls (thus, I think the MPI libraries are
available
> > for
> > > all builds).  That said, the hpc-stack library packages are
organized
> so
> > > that any package that is capable of running with the MPI
libraries are
> > > separated from those that cannot.
> > >
> > > The system does use modules, so I've amended the
install_met_env.huber
> > > script accordingly.  I'm now getting an error during
configuration that
> > C++
> > > compiler does not work,  I suspect this means that it is not
correctly
> > > identifying the compiler executable.  Would you be able to take
a look
> at
> > > the script and configuration log and let me know what you think
the fix
> > is
> > > here?
> > >
> > > Thanks,
> > >
> > > Dave
> > >
> > > On Fri, Jun 18, 2021 at 11:38 AM Julie Prestopnik via RT <
> > > met_help at ucar.edu>
> > > wrote:
> > >
> > > > Thanks, Dave.
> > > >
> > > > I just noticed that you're building MET with some libraries
that have
> > > paths
> > > > with "impi-18.0.3" in them.  These libraries (hdf5, netcdf,
etc.)
> were
> > > > likely built using the mpi intel compilers (e.g. mpicc,
mpicxx,
> > mpif77).
> > > > You're also compiler MET with some libraries (grib2c, jasper,
png, z,
> > > etc.)
> > > > that likely weren't built using the mpi intel compilers (icc,
icpc,
> > > > ifort).
> > > >
> > > > We always tell users MET and its dependent libraries need to
be built
> > > with
> > > > the same family of compilers, and while you are using the
intel
> family
> > of
> > > > compilers, I'm not sure exactly what effect mixing mpi with
non-mpi
> > > > compilers has.  I have built MET and its dependent libraries
> > successfully
> > > > on many different machines using the script and tar_files
using the
> > > "Sample
> > > > Script For Compiling External Libraries And MET" section on
the
> > Downloads
> > > > <
> > https://dtcenter.org/community-code/model-evaluation-tools-
met/download
> > > >
> > > > page
> > > > and would like to have you try building MET and its external
> libraries
> > > > using the script.
> > > >
> > > > The instructions on the Downloads page refer to a
configuration file,
> > > which
> > > > I have already put together for your system.  However, I did
not know
> > if
> > > > you were using module files to load, for example, the intel
compilers
> > and
> > > > Python. I assumed you were not, but if you are, you'll want to
change
> > the
> > > > value of USE_MODULES to TRUE and then add any module loads to
the top
> > of
> > > > the file as indicated.  If some of the libraries are installed
> > > successfully
> > > > and others have problems, to avoid having to recompile the
already
> > > > successfully built libraries, simply uncomment the variables
at the
> > > bottom
> > > > of the file.
> > > >
> > > > Also, below I have put a link to a step by step tutorial and
video on
> > how
> > > > to install MET using this script and config file.  One
difference to
> > note
> > > > is that I have made some improvements to the
compile_MET_all.sh
> script,
> > > > which is linked to on the Downloads page, but it should still
> function
> > > the
> > > > same.
> > > >
> > > >
> > > >
> > >
> >
> https://metplus-
training.readthedocs.io/en/latest/modules/Environment/met_installation.html
> > > >
> > > > Please let me know if you have any questions.
> > > >
> > > > Julie
> > > >
> > > > On Fri, Jun 18, 2021 at 5:42 AM David Huber - NOAA Affiliate
via RT <
> > > > met_help at ucar.edu> wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256 >
> > > > >
> > > > > OK, thanks.  I gave this a try, but I'm still getting the
same
> > errors.
> > > > >
> > > > > -Dave
> > > > >
> > > > > On Thu, Jun 17, 2021 at 5:02 PM Julie Prestopnik via RT <
> > > > met_help at ucar.edu
> > > > > >
> > > > > wrote:
> > > > >
> > > > > > Right!  My apologies for not catching that!  I copied and
pasted
> > from
> > > > the
> > > > > > script I use to compile MET.
> > > > > >
> > > > > > Please try the following instead:
> > > > > >
> > > > > > export LDFLAGS="${LDFLAGS} -Wl,
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
rpath,${$MET_NETCDF}/lib:${MET_HDF5}/lib:${MET_GRIB2CLIB}:${MET_GSL}/lib:${MET_BUFR}/lib:/opt/miniconda/3.8-
s4/lib/python3.8/config-3.8-x86_64-linux-gnu:/opt/miniconda/3.8-
s4/lib"
> > > > > > export LDFLAGS="${LDFLAGS}
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> -Wl,-rpath,/data/prod/hpc-stack/intel-
18.0.3/jasper/2.0.22/lib:/data/prod/hpc-stack/intel-
18.0.3/png/1.6.35/lib:/data/prod/hpc-stack/intel-
18.0.3/zlib/1.2.11/lib"
> > > > > > export LDFLAGS="${LDFLAGS} -L${MET_HDF5}/lib
-L${MET_NETCDF}/lib"
> > > > > > export LIBS="${LIBS} -lnetcdf -lhdf5_hl -lhdf5 -lz"
> > > > > > export CFLAGS="-D__64BIT__"
> > > > > > export CXXFLAGS="-D__64BIT__"
> > > > > >
> > > > > > Julie
> > > > > >
> > > > > > On Thu, Jun 17, 2021 at 1:43 PM David Huber - NOAA
Affiliate via
> > RT <
> > > > > > met_help at ucar.edu> wrote:
> > > > > >
> > > > > > >
> > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
> >
> > > > > > >
> > > > > > > Hi Julie,
> > > > > > >
> > > > > > > That failed to configure.  A few of the variable names
are
> > > undefined
> > > > in
> > > > > > my
> > > > > > > environment:
> > > > > > >
> > > > > > > LIB_DIR, MET_BUFRLIB, MET_PYTHON, LIB_JASPER,
LIB_LIBPNG, LIB_Z
> > > > > > >
> > > > > > > I tried replacing the latter five with
> > > > > > > MET_BUFR/lib, MET_PYTHON_LD, JASPER_LIB, LIB_PNG, and
Z_LIB
> > > > > > > but that didn't work, either.  Should LIB_DIR be
something
> else?
> > > And
> > > > > is
> > > > > > > MET_PYTHON_LD correct or should it be something
different as
> > well.
> > > > > > >
> > > > > > > For reference, I've attached the script I'm using to
configure
> > and
> > > > make
> > > > > > > MET.
> > > > > > >
> > > > > > > Thanks,
> > > > > > >
> > > > > > > Dave
> > > > > > >
> > > > > > > On Thu, Jun 17, 2021 at 2:55 PM Julie Prestopnik via RT
<
> > > > > > met_help at ucar.edu
> > > > > > > >
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Hi Dave.
> > > > > > > >
> > > > > > > > Could you please try setting these variables in your
> > environment
> > > > and
> > > > > > then
> > > > > > > > reconfigure and try to rebuild MET?
> > > > > > > >
> > > > > > > > export LDFLAGS="${LDFLAGS} -Wl,
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
rpath,${LIB_DIR}/lib${MET_NETCDF:+:$MET_NETCDF/lib}${MET_HDF5:+:$MET_HDF5/lib}${MET_BUFRLIB:+:$MET_BUFRLIB}${MET_GRIB2CLIB:+:$MET_GRIB2C\
> > > > > > > >
LIB}${MET_PYTHON:+:$MET_PYTHON/lib}${MET_GSL:+:$MET_GSL/lib}"
> > > > > > > > export LDFLAGS="${LDFLAGS}
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> -Wl,-
rpath,${LIB_JASPER:+$LIB_JASPER}${LIB_LIBPNG:+:$LIB_PNG}${LIB_Z:+$LIB_Z}"
> > > > > > > > export LDFLAGS="${LDFLAGS} ${LIB_JASPER:+-
L$LIB_JASPER}
> > > > > > > > ${LIB_LIBPNG:+-L$LIB_LIBPNG} ${MET_HDF5:+-
L$MET_HDF5/lib}"
> > > > > > > > export LIBS="${LIBS} -lnetcdf -lhdf5_hl -lhdf5 -lz"
> > > > > > > > export CFLAGS="-D__64BIT__"
> > > > > > > > export CXXFLAGS="-D__64BIT__"
> > > > > > > >
> > > > > > > > Please let us know how that goes.
> > > > > > > >
> > > > > > > > Julie
> > > > > > > >
> > > > > > > > On Thu, Jun 17, 2021 at 12:07 PM David Huber - NOAA
Affiliate
> > via
> > > > RT
> > > > > <
> > > > > > > > met_help at ucar.edu> wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
> > > >
> > > > > > > > >
> > > > > > > > > Hi Julie,
> > > > > > > > >
> > > > > > > > > The files do all exist.  I attempted the rebuild
with the
> > > > modified
> > > > > > > > > MET_PYTHON_CC flags, but the errors are still
present.
> > > > > > > > >
> > > > > > > > > -Dave
> > > > > > > > >
> > > > > > > > > On Thu, Jun 17, 2021 at 1:42 PM Julie Prestopnik via
RT <
> > > > > > > > met_help at ucar.edu
> > > > > > > > > >
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > Ok, sounds good.  Thank you for attaching the log
files.
> > > > > > > > > >
> > > > > > > > > > Can you please tell me if the following files
exist in
> the
> > > > > include
> > > > > > > and
> > > > > > > > > lib
> > > > > > > > > > directories of
> > > > > > > > > /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4?
> > > > > > > > > >
> > > > > > > > > > Files needed for NetCDF4 C:
> > > > > > > > > > >    - $MET_NETCDF/include/netcdf.h
> > > > > > > > > > >    - $MET_NETCDF/lib/libnetcdf.a
> > > > > > > > > > >    - $MET_NETCDF/lib/libnetcdf.so
> > > > > > > > > > > Files needed for NetCDF4 C++:
> > > > > > > > > > >    - $MET_NETCDF/include/netcdf
> > > > > > > > > > >    - $MET_NETCDF/lib/libnetcdf_c++4.a
> > > > > > > > > > >    - $MET_NETCDF/lib/libnetcdf_c++4.so
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Also, can you please modify the value of
MET_PYTHON_CC to
> > be
> > > > the
> > > > > > > > > following
> > > > > > > > > > instead?
> > > > > > > > > >
> > > > > > > > > > >
> MET_PYTHON_CC='-I/opt/miniconda/3.8-s4/include/python3.8'
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Assuming the NetCDF files exist and after you have
> modified
> > > the
> > > > > > value
> > > > > > > > of
> > > > > > > > > > MET_PYTHON_CC, please reconfigure and try to
rebuild MET.
> > > > > > > > > >
> > > > > > > > > > Please let us know how it goes.
> > > > > > > > > >
> > > > > > > > > > Julie
> > > > > > > > > >
> > > > > > > > > > On Thu, Jun 17, 2021 at 11:13 AM David Huber -
NOAA
> > Affiliate
> > > > via
> > > > > > RT
> > > > > > > <
> > > > > > > > > > met_help at ucar.edu> wrote:
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > <URL:
> > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
> > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Hi Julie,
> > > > > > > > > > >
> > > > > > > > > > > For my purposes, I will need 9.1.3 installed.
We'll
> > > probably
> > > > > get
> > > > > > > > > 10.0.0
> > > > > > > > > > > installed as well at a later time.
> > > > > > > > > > >
> > > > > > > > > > > Attached are the two log files.
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > >
> > > > > > > > > > > Dave
> > > > > > > > > > >
> > > > > > > > > > > On Thu, Jun 17, 2021 at 11:32 AM Julie
Prestopnik via
> RT
> > <
> > > > > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > Hi Dave.
> > > > > > > > > > > >
> > > > > > > > > > > > I see that you are trying to compile MET
version
> 9.1.3
> > > but
> > > > > are
> > > > > > > > having
> > > > > > > > > > > some
> > > > > > > > > > > > issues with NetCDF.  As Minna mentioned, we
have
> > released
> > > > > > > > METversion
> > > > > > > > > > > 10.0.0
> > > > > > > > > > > > and always encourage users to install our
latest
> stable
> > > > > > release.
> > > > > > > > > > > >
> > > > > > > > > > > > You can find the latest recommended version on
our
> > > > Downloads
> > > > > > > page:
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> > https://dtcenter.org/community-code/model-evaluation-tools-
met/download
> > > > > > > > > > > >
> > > > > > > > > > > > Here is a direct link to the tar file:
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/dtcenter/MET/releases/download/v10.0.0/met-
10.0.0.20210510.tar.gz
> > > > > > > > > > > >
> > > > > > > > > > > > To compile MET, we do have a script available
that
> can
> > be
> > > > > used
> > > > > > if
> > > > > > > > > you'd
> > > > > > > > > > > > like.  It can be found on that Downloads page
under
> > > "Sample
> > > > > > > Script
> > > > > > > > > For
> > > > > > > > > > > > Compiling External Libraries And MET".
> > > > > > > > > > > >
> > > > > > > > > > > > However, I can help with installing either
version of
> > > MET.
> > > > > > > > > > > >
> > > > > > > > > > > > Modifying nc_var_info.h or any other file
should not
> be
> > > > > > > necessary.
> > > > > > > > > If
> > > > > > > > > > > you
> > > > > > > > > > > > could please pass along the config.log and
make.log
> > file
> > > > for
> > > > > > > > > whichever
> > > > > > > > > > > > version you are installing, I will be able to
better
> > see
> > > > what
> > > > > > is
> > > > > > > > > going
> > > > > > > > > > > on.
> > > > > > > > > > > > Once I receive those files, I'll take a look
and will
> > get
> > > > > back
> > > > > > to
> > > > > > > > > you.
> > > > > > > > > > > >
> > > > > > > > > > > > Julie
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > On Thu, Jun 17, 2021 at 8:08 AM Minna Win via
RT <
> > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > <URL:
> > > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
> > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hello Dave,
> > > > > > > > > > > > >
> > > > > > > > > > > > > It looks like you are trying to install an
older
> > > version
> > > > of
> > > > > > > MET.
> > > > > > > > > MET
> > > > > > > > > > > > > 10.0.0 is available and we recommend you try
> > installing
> > > > > that
> > > > > > > > > instead.
> > > > > > > > > > > I
> > > > > > > > > > > > am
> > > > > > > > > > > > > going to refer your ticket to Julie
Prestopnik, who
> > > has a
> > > > > lot
> > > > > > > of
> > > > > > > > > > > > expertise
> > > > > > > > > > > > > in building MET.  Please allow a few
business days
> > for
> > > a
> > > > > full
> > > > > > > > > > response.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Regards,
> > > > > > > > > > > > > Minna
> > > > > > > > > > > > > ---------------
> > > > > > > > > > > > > Minna Win
> > > > > > > > > > > > > Pronouns: she/her
> > > > > > > > > > > > > National Center for Atmospheric Research
> > > > > > > > > > > > > Developmental Testbed Center
> > > > > > > > > > > > > Phone: 303-497-8423
> > > > > > > > > > > > > Fax:   303-497-8401
> > > > > > > > > > > > > ---------------
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Thu, Jun 17, 2021 at 6:36 AM David Huber
- NOAA
> > > > > Affiliate
> > > > > > > via
> > > > > > > > > RT <
> > > > > > > > > > > > > met_help at ucar.edu> wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Thu Jun 17 06:35:49 2021: Request 100256
was
> acted
> > > > upon.
> > > > > > > > > > > > > > Transaction: Ticket created by
> > david.huber at noaa.gov
> > > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > > >      Subject: NetCDF Build Issue
> > > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > > >   Requestors: david.huber at noaa.gov
> > > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > > > >
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100256
> > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Hello,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I am trying to build MET version 9.1.3 and
I'm
> > > running
> > > > > into
> > > > > > > > some
> > > > > > > > > > > issues
> > > > > > > > > > > > > > with NetCDF.  When the build progresses to
> > > > > nc_var_info.cc,
> > > > > > I
> > > > > > > > > > receive
> > > > > > > > > > > a
> > > > > > > > > > > > > > number of undefined identifier messages:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > icpc -DHAVE_CONFIG_H -I. -I../../..
> > > > > > > > -I../../../src/basic/vx_cal
> > > > > > > > > > > > > > -I../../../src/basic/vx_config
> > > > > -I../../../src/basic/vx_log
> > > > > > > > > > > > > > -I../../../src/basic/vx_math
> > > > -I../../../src/basic/vx_util
> > > > > > > > > > > > > > -I../../../src/libcode/vx_afm
> > > > > > > > > > -I../../../src/libcode/vx_analysis_util
> > > > > > > > > > > > > > -I../../../src/libcode/vx_color
> > > > > > > > -I../../../src/libcode/vx_data2d
> > > > > > > > > > > > > > -I../../../src/libcode/vx_data2d_factory
> > > > > > > > > > > > > > -I../../../src/libcode/vx_data2d_grib
> > > > > > > > > > > > > > -I../../../src/libcode/vx_data2d_grib2
> > > > > > > > > > > > > > -I../../../src/libcode/vx_data2d_nccf
> > > > > > > > > > > > > > -I../../../src/libcode/vx_data2d_nc_met
> > > > > > > > > > > > > >
-I../../../src/libcode/vx_data2d_nc_pinterp
> > > > > > > > > > > > > > -I../../../src/libcode/vx_data2d_python
> > > > > > > > > > > > > > -I../../../src/libcode/vx_python3_utils
> > > > > > > > > > > > -I../../../src/libcode/vx_geodesy
> > > > > > > > > > > > > > -I../../../src/libcode/vx_gis
> > > > > > > -I../../../src/libcode/vx_gnomon
> > > > > > > > > > > > > > -I../../../src/libcode/vx_grid
> > > > > > > > -I../../../src/libcode/vx_gsl_prob
> > > > > > > > > > > > > > -I../../../src/libcode/vx_nav
> > > > > > > -I../../../src/libcode/vx_nc_obs
> > > > > > > > > > > > > > -I../../../src/libcode/vx_nc_util
> > > > > > > > > -I../../../src/libcode/vx_pb_util
> > > > > > > > > > > > > > -I../../../src/libcode/vx_plot_util
> > > > > > > > -I../../../src/libcode/vx_ps
> > > > > > > > > > > > > > -I../../../src/libcode/vx_pxm
> > > > > > > -I../../../src/libcode/vx_render
> > > > > > > > > > > > > > -I../../../src/libcode/vx_regrid
> > > > > > > > > > -I../../../src/libcode/vx_shapedata
> > > > > > > > > > > > > > -I../../../src/libcode/vx_solar
> > > > > > > > > > -I../../../src/libcode/vx_statistics
> > > > > > > > > > > > > > -I../../../src/libcode/vx_stat_out
> > > > > > > > > > -I../../../src/libcode/vx_summary
> > > > > > > > > > > > > > -I../../../src/libcode/vx_time_series
> > > > > > > > > > > > > -I../../../src/libcode/vx_series_data
> > > > > > > > > > > > > > -I../../../src/libcode/vx_tc_util
> > > > > > > > > > > > > >
> > > > > > > > > >
> > > > > >
> > -I/data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include
> > > > > > > > > > > > > >
> > > > > > > > >
> > > > -I/data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/hdf5/1.10.6/include
> > > > > > > > > > > > > >
> > -I/data/prod/hpc-stack/intel-18.0.3/g2c/1.6.2/include
> > > > > > > > > > > > > -I../../basic/vx_log
> > > > > > > > > > > > > > -I../../basic/vx_util
> > > > > > > -I/opt/miniconda/3.8-s4/include/python3.8
> > > > > > > > > > > > > > -I/opt/miniconda/3.8-s4/include/python3.8
> > > > -Wsign-compare
> > > > > > > > > > > -march=nocona
> > > > > > > > > > > > > > -mtune=haswell -ftree-vectorize -fPIC
> > > > > > > -fstack-protector-strong
> > > > > > > > > -O3
> > > > > > > > > > > > > > -ffunction-sections -pipe -isystem
> > > > > > > > > > /home/opt/miniconda/3.8-s4/include
> > > > > > > > > > > > > > -ffat-lto-objects -flto-partition=none
-DNDEBUG
> > > -fwrapv
> > > > > -O3
> > > > > > > > -Wall
> > > > > > > > > > > > > > -I/opt/gsl/2.6/include
> > > > > > > -I/opt/hdf4/4.2.14-intel-18.0.3/include
> > > > > > > > > > > -DBLOCK4
> > > > > > > > > > > > > > -DWITH_GRIB2 -DWITH_PYTHON
> > > > > > > > > > > > > >
-DMET_BASE="\"/data/users/dhuber/MET/share/met\""
> > -g
> > > > -MT
> > > > > > > > > > > > > > libvx_nc_util_a-nc_var_info.o -MD -MP -MF
> > > > > > > > > > > > > > .deps/libvx_nc_util_a-nc_var_info.Tpo -c
-o
> > > > > > > > > > > > libvx_nc_util_a-nc_var_info.o
> > > > > > > > > > > > > > `test -f 'nc_var_info.cc' || echo
> > './'`nc_var_info.cc
> > > > > > > > > > > > > > icpc: command line warning #10159: invalid
> argument
> > > for
> > > > > > > option
> > > > > > > > > > > '-flto'
> > > > > > > > > > > > > > icpc: warning #10193: -vec is default; use
-x and
> > -ax
> > > > to
> > > > > > > > > configure
> > > > > > > > > > > > > > vectorization
> > > > > > > > > > > > > > icpc: command line warning #10385: option
> > > > > > '-ffat-lto-objects'
> > > > > > > > > > > requires
> > > > > > > > > > > > > use
> > > > > > > > > > > > > > of '-ipo -c'. Option ignored.
> > > > > > > > > > > > > > In file included from
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > > > > > > > > > > >                  from
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > > > > > > > > > > >                  from nc_utils.h(21),
> > > > > > > > > > > > > >                  from nc_var_info.cc(24):
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(30):
> > > > > > > > > > > > > > error: identifier "NC_INT" is undefined
> > > > > > > > > > > > > >         nc_INT      = NC_INT,   //!<
signed 4
> byte
> > > > > integer
> > > > > > > > > > > > > >                       ^
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > In file included from
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > > > > > > > > > > >                  from
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > > > > > > > > > > >                  from nc_utils.h(21),
> > > > > > > > > > > > > >                  from nc_var_info.cc(24):
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(33):
> > > > > > > > > > > > > > error: identifier "NC_UBYTE" is undefined
> > > > > > > > > > > > > >         nc_UBYTE    = NC_UBYTE, //!<
unsigned 1
> > byte
> > > > int
> > > > > > > > > > > > > >                       ^
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > In file included from
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncAtt.h(1),
> > > > > > > > > > > > > >                  from
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/netcdf(7),
> > > > > > > > > > > > > >                  from nc_utils.h(21),
> > > > > > > > > > > > > >                  from nc_var_info.cc(24):
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /data/prod/hpc-stack/intel-18.0.3/impi-
18.0.3/netcdf/4.7.4/include/ncType.h(34):
> > > > > > > > > > > > > > error: identifier "NC_USHORT" is undefined
> > > > > > > > > > > > > >         nc_USHORT   = NC_USHORT,
//!<
> > unsigned
> > > > > > 2-byte
> > > > > > > > int
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > These variables are defined in netcdf.h,
but this
> > > > header
> > > > > is
> > > > > > > > never
> > > > > > > > > > > > > > included.  In older versions of NetCDF,
the line
> > > > > > > > > > > > > > #include <netcdf.h>
> > > > > > > > > > > > > > in $MET_NETCDFINC/netcdf would
automatically
> > include
> > > > > > > netcdf.h,
> > > > > > > > > but
> > > > > > > > > > in
> > > > > > > > > > > > > > version 4.7.4, this line is replaced with
> > > > > > > > > > > > > > extern "C" {
> > > > > > > > > > > > > > #include <netcdf.h>
> > > > > > > > > > > > > > }
> > > > > > > > > > > > > > So netcdf.h is not included for C++ source
files.
> > I
> > > > > > haven't
> > > > > > > > > tested
> > > > > > > > > > > it
> > > > > > > > > > > > > yet,
> > > > > > > > > > > > > > but I suspect I could add #include
<netcdf.h> to
> > > > > > > nc_var_info.h.
> > > > > > > > > > I'm
> > > > > > > > > > > > not
> > > > > > > > > > > > > > sure just how many header files I would
need to
> add
> > > > this
> > > > > > > line,
> > > > > > > > > > > though,
> > > > > > > > > > > > > nor
> > > > > > > > > > > > > > if it is the best solution.  Would that be
my
> best
> > > bet
> > > > > here
> > > > > > > or
> > > > > > > > do
> > > > > > > > > > you
> > > > > > > > > > > > > have
> > > > > > > > > > > > > > another suggestion on how to get this to
compile?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Dave
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > Julie Prestopnik (she/her)
> > > > > > > > > > > > Software Engineer
> > > > > > > > > > > > National Center for Atmospheric Research
> > > > > > > > > > > > Research Applications Laboratory
> > > > > > > > > > > > Email: jpresto at ucar.edu
> > > > > > > > > > > >
> > > > > > > > > > > > My working day may not be your working day.
Please
> do
> > > not
> > > > > feel
> > > > > > > > > obliged
> > > > > > > > > > > to
> > > > > > > > > > > > reply to this email outside of your normal
working
> > hours.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Julie Prestopnik (she/her)
> > > > > > > > > > Software Engineer
> > > > > > > > > > National Center for Atmospheric Research
> > > > > > > > > > Research Applications Laboratory
> > > > > > > > > > Email: jpresto at ucar.edu
> > > > > > > > > >
> > > > > > > > > > My working day may not be your working day.
Please do
> not
> > > feel
> > > > > > > obliged
> > > > > > > > > to
> > > > > > > > > > reply to this email outside of your normal working
hours.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Julie Prestopnik (she/her)
> > > > > > > > Software Engineer
> > > > > > > > National Center for Atmospheric Research
> > > > > > > > Research Applications Laboratory
> > > > > > > > Email: jpresto at ucar.edu
> > > > > > > >
> > > > > > > > My working day may not be your working day.  Please do
not
> feel
> > > > > obliged
> > > > > > > to
> > > > > > > > reply to this email outside of your normal working
hours.
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > --
> > > > > > Julie Prestopnik (she/her)
> > > > > > Software Engineer
> > > > > > National Center for Atmospheric Research
> > > > > > Research Applications Laboratory
> > > > > > Email: jpresto at ucar.edu
> > > > > >
> > > > > > My working day may not be your working day.  Please do not
feel
> > > obliged
> > > > > to
> > > > > > reply to this email outside of your normal working hours.
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > > --
> > > > Julie Prestopnik (she/her)
> > > > Software Engineer
> > > > National Center for Atmospheric Research
> > > > Research Applications Laboratory
> > > > Email: jpresto at ucar.edu
> > > >
> > > > My working day may not be your working day.  Please do not
feel
> obliged
> > > to
> > > > reply to this email outside of your normal working hours.
> > > >
> > > >
> > >
> > >
> >
> > --
> > Julie Prestopnik (she/her)
> > Software Engineer
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Email: jpresto at ucar.edu
> >
> > My working day may not be your working day.  Please do not feel
obliged
> to
> > reply to this email outside of your normal working hours.
> >
> >
>
>

--
Julie Prestopnik (she/her)
Software Engineer
National Center for Atmospheric Research
Research Applications Laboratory
Email: jpresto at ucar.edu

My working day may not be your working day.  Please do not feel
obliged to
reply to this email outside of your normal working hours.

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


More information about the Met_help mailing list