[Met_help] [rt.rap.ucar.edu #86559] History for Stat_analysis

John Halley Gotway via RT met_help at ucar.edu
Tue Aug 21 14:26:07 MDT 2018


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

John, I accidently over wrote the stat_analysis binary.  I assume I need to make the software again to get it back unless there is a specific compile command to run just for stat analysis.

When running the make, after doing the config and make clean step I get the following error when I compile:

"/h/WXQC/met-6.1/share/met\""  -g -MT libvx_grid_a-st_grid.o -MD -MP -MF .deps/libvx_grid_a-st_grid.Tpo -c -o libvx_grid_a-st_grid.o `test -f 'st_grid.cc' || echo './'`st_grid.cc
In file included from nc_var_info.cc:24:
nc_utils.h:22:18: error: netcdf: No such file or directory
In file included from nc_var_info.cc:24:
nc_utils.h:23: error: 'netCDF' is not a namespace-name
nc_utils.h:23: error: expected namespace-name before ';' token
In file included from nc_var_info.cc:24:
nc_utils.h:88: error: ISO C++ forbids declaration of 'NcAtt' with no type


My environmental variable settings are:

MET_BUFR=/h/WXQC/met-6.1/lib/BUFRLIB_v10-0-1
MET_BUFRLIB=/h/WXQC/met-6.1/lib/BUFRLIB_v10-0-1
MET_GRIB2C=/h/WXQC/met-6.1/lib/g2clib-1.4.0
MET_GRIB2CINC=/h/WXQC/met-6.1/lib/g2clib-1.4.0
MET_GRIB2CLIB=/h/WXQC/met-6.1/lib/g2clib-1.4.0
MET_GRIB_TABLES=/h/data/global/WXQC/data/met/config/grib2
MET_GSL=/h/WXQC/met-6.1/lib/gsl-1.15
MET_HDF=/h/WXQC/met-6.1/lib/HDF4.2r3
MET_HDF5=/h/WXQC/met-6.1/lib/hdf5-1.10.0-patch1
MET_HDFEOS=/h/WXQC/met-6.1/lib/hdfeos
MET_LIB_DIR=/h/WXQC/met-6.1/lib
MET_NETCDF=/h/WXQC/met-6.1/lib/netcdf-c-4.4.1.1

Any obvious problems?

Thanks
Bob Craig



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

Subject: Stat_analysis
From: John Halley Gotway
Time: Mon Aug 13 09:51:07 2018

Bob,

I don't see any obvious problems.  I would suggest...
 - Unset MET_BUFR... since you're setting MET_BUFRLIB instead.
 - Unset MET_GRIB2C... since you're setting MET_GRIB2CINC and
MET_GRIB2CLIB
instead.

If you had NOT done the clean and re-configure, then just running
"make
install" may have fixed it.  As long as you're recompiling, I'd
suggest
applying the latest set of patches for met-6.1:
   https://dtcenter.org/met/users/support/known_issues/METv6.1/index.php

As for the immediate compilation problem, the compiler can't find the
NetCDF header file.  Please check to see if the following file exists:
   ls /h/WXQC/met-6.1/lib/netcdf-c-4.4.1.1/include/netcdf

Thanks,
John

On Fri, Aug 10, 2018 at 2:55 PM robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> Fri Aug 10 14:55:06 2018: Request 86559 was acted upon.
> Transaction: Ticket created by robert.craig.2 at us.af.mil
>        Queue: met_help
>      Subject: Stat_analysis
>        Owner: Nobody
>   Requestors: robert.craig.2 at us.af.mil
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=86559 >
>
>
> John, I accidently over wrote the stat_analysis binary.  I assume I
need
> to make the software again to get it back unless there is a specific
> compile command to run just for stat analysis.
>
> When running the make, after doing the config and make clean step I
get
> the following error when I compile:
>
> "/h/WXQC/met-6.1/share/met\""  -g -MT libvx_grid_a-st_grid.o -MD -MP
-MF
> .deps/libvx_grid_a-st_grid.Tpo -c -o libvx_grid_a-st_grid.o `test -f
> 'st_grid.cc' || echo './'`st_grid.cc
> In file included from nc_var_info.cc:24:
> nc_utils.h:22:18: error: netcdf: No such file or directory
> In file included from nc_var_info.cc:24:
> nc_utils.h:23: error: 'netCDF' is not a namespace-name
> nc_utils.h:23: error: expected namespace-name before ';' token
> In file included from nc_var_info.cc:24:
> nc_utils.h:88: error: ISO C++ forbids declaration of 'NcAtt' with no
type
>
>
> My environmental variable settings are:
>
> MET_BUFR=/h/WXQC/met-6.1/lib/BUFRLIB_v10-0-1
> MET_BUFRLIB=/h/WXQC/met-6.1/lib/BUFRLIB_v10-0-1
> MET_GRIB2C=/h/WXQC/met-6.1/lib/g2clib-1.4.0
> MET_GRIB2CINC=/h/WXQC/met-6.1/lib/g2clib-1.4.0
> MET_GRIB2CLIB=/h/WXQC/met-6.1/lib/g2clib-1.4.0
> MET_GRIB_TABLES=/h/data/global/WXQC/data/met/config/grib2
> MET_GSL=/h/WXQC/met-6.1/lib/gsl-1.15
> MET_HDF=/h/WXQC/met-6.1/lib/HDF4.2r3
> MET_HDF5=/h/WXQC/met-6.1/lib/hdf5-1.10.0-patch1
> MET_HDFEOS=/h/WXQC/met-6.1/lib/hdfeos
> MET_LIB_DIR=/h/WXQC/met-6.1/lib
> MET_NETCDF=/h/WXQC/met-6.1/lib/netcdf-c-4.4.1.1
>
> Any obvious problems?
>
> Thanks
> Bob Craig
>
>
>

------------------------------------------------
Subject: Stat_analysis
From: Julie Prestopnik
Time: Mon Aug 13 09:51:08 2018

Hi Bob.

You're on the right track.  met-6.1 expects both NetCDF-C and NetCDF-
CXX.
The file "netcdf" that it cannot find is part of the NetCDF-CXX
library but
MET only knows to look at the netcdf-c-4.4.1.1 package from the
setting of
MET_NETCDF:
MET_NETCDF=/h/WXQC/met-6.1/lib/netcdf-c-4.4.1.1

Please take a look at the "Compiling NetCDF" section of the following
page:

https://dtcenter.org/met/users/support/online_tutorial/METv6.1/tutorial.php?name=compilation&category=req_libs

and let me know if you have any questions.

One you set MET_NETCDF to point to the library files for both NetCDF-C
and
NetCDF-CXX, it should work.

Julie

On Fri, Aug 10, 2018 at 2:55 PM robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> Fri Aug 10 14:55:06 2018: Request 86559 was acted upon.
> Transaction: Ticket created by robert.craig.2 at us.af.mil
>        Queue: met_help
>      Subject: Stat_analysis
>        Owner: Nobody
>   Requestors: robert.craig.2 at us.af.mil
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=86559 >
>
>
> John, I accidently over wrote the stat_analysis binary.  I assume I
need
> to make the software again to get it back unless there is a specific
> compile command to run just for stat analysis.
>
> When running the make, after doing the config and make clean step I
get
> the following error when I compile:
>
> "/h/WXQC/met-6.1/share/met\""  -g -MT libvx_grid_a-st_grid.o -MD -MP
-MF
> .deps/libvx_grid_a-st_grid.Tpo -c -o libvx_grid_a-st_grid.o `test -f
> 'st_grid.cc' || echo './'`st_grid.cc
> In file included from nc_var_info.cc:24:
> nc_utils.h:22:18: error: netcdf: No such file or directory
> In file included from nc_var_info.cc:24:
> nc_utils.h:23: error: 'netCDF' is not a namespace-name
> nc_utils.h:23: error: expected namespace-name before ';' token
> In file included from nc_var_info.cc:24:
> nc_utils.h:88: error: ISO C++ forbids declaration of 'NcAtt' with no
type
>
>
> My environmental variable settings are:
>
> MET_BUFR=/h/WXQC/met-6.1/lib/BUFRLIB_v10-0-1
> MET_BUFRLIB=/h/WXQC/met-6.1/lib/BUFRLIB_v10-0-1
> MET_GRIB2C=/h/WXQC/met-6.1/lib/g2clib-1.4.0
> MET_GRIB2CINC=/h/WXQC/met-6.1/lib/g2clib-1.4.0
> MET_GRIB2CLIB=/h/WXQC/met-6.1/lib/g2clib-1.4.0
> MET_GRIB_TABLES=/h/data/global/WXQC/data/met/config/grib2
> MET_GSL=/h/WXQC/met-6.1/lib/gsl-1.15
> MET_HDF=/h/WXQC/met-6.1/lib/HDF4.2r3
> MET_HDF5=/h/WXQC/met-6.1/lib/hdf5-1.10.0-patch1
> MET_HDFEOS=/h/WXQC/met-6.1/lib/hdfeos
> MET_LIB_DIR=/h/WXQC/met-6.1/lib
> MET_NETCDF=/h/WXQC/met-6.1/lib/netcdf-c-4.4.1.1
>
> Any obvious problems?
>
> Thanks
> Bob Craig
>
>
>

------------------------------------------------
Subject: RE: [Non-DoD Source] Re: [rt.rap.ucar.edu #86559] Stat_analysis
From: SITTEL, MATTHEW C CTR USAF AFWA 16 WS/WXN
Time: Mon Aug 13 09:55:59 2018

Hey John,

Thanks for the reply.  Bob's out all week.  I'd rebuild it except I
don't have the proper permissions to do so on our development system.

Imagine that... blowing away an executable an hour before leaving for
a week's vacation!  You can't make this stuff up!

Matt

-----Original Message-----
From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
Sent: Monday, August 13, 2018 10:51 AM
To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
<robert.craig.2 at us.af.mil>
Cc: SITTEL, MATTHEW C CTR USAF AFMC AFLCMC/HBAW-OL
<matthew.sittel.ctr at us.af.mil>
Subject: [Non-DoD Source] Re: [rt.rap.ucar.edu #86559] Stat_analysis

Bob,

I don't see any obvious problems.  I would suggest...
 - Unset MET_BUFR... since you're setting MET_BUFRLIB instead.
 - Unset MET_GRIB2C... since you're setting MET_GRIB2CINC and
MET_GRIB2CLIB instead.

If you had NOT done the clean and re-configure, then just running
"make install" may have fixed it.  As long as you're recompiling, I'd
suggest applying the latest set of patches for met-6.1:
   https://dtcenter.org/met/users/support/known_issues/METv6.1/index.php

As for the immediate compilation problem, the compiler can't find the
NetCDF header file.  Please check to see if the following file exists:
   ls /h/WXQC/met-6.1/lib/netcdf-c-4.4.1.1/include/netcdf

Thanks,
John

On Fri, Aug 10, 2018 at 2:55 PM robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> Fri Aug 10 14:55:06 2018: Request 86559 was acted upon.
> Transaction: Ticket created by robert.craig.2 at us.af.mil
>        Queue: met_help
>      Subject: Stat_analysis
>        Owner: Nobody
>   Requestors: robert.craig.2 at us.af.mil
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=86559
> >
>
>
> John, I accidently over wrote the stat_analysis binary.  I assume I
> need to make the software again to get it back unless there is a
> specific compile command to run just for stat analysis.
>
> When running the make, after doing the config and make clean step I
> get the following error when I compile:
>
> "/h/WXQC/met-6.1/share/met\""  -g -MT libvx_grid_a-st_grid.o -MD -MP
> -MF .deps/libvx_grid_a-st_grid.Tpo -c -o libvx_grid_a-st_grid.o
`test
> -f 'st_grid.cc' || echo './'`st_grid.cc In file included from
> nc_var_info.cc:24:
> nc_utils.h:22:18: error: netcdf: No such file or directory In file
> included from nc_var_info.cc:24:
> nc_utils.h:23: error: 'netCDF' is not a namespace-name
> nc_utils.h:23: error: expected namespace-name before ';' token In
file
> included from nc_var_info.cc:24:
> nc_utils.h:88: error: ISO C++ forbids declaration of 'NcAtt' with no
> type
>
>
> My environmental variable settings are:
>
> MET_BUFR=/h/WXQC/met-6.1/lib/BUFRLIB_v10-0-1
> MET_BUFRLIB=/h/WXQC/met-6.1/lib/BUFRLIB_v10-0-1
> MET_GRIB2C=/h/WXQC/met-6.1/lib/g2clib-1.4.0
> MET_GRIB2CINC=/h/WXQC/met-6.1/lib/g2clib-1.4.0
> MET_GRIB2CLIB=/h/WXQC/met-6.1/lib/g2clib-1.4.0
> MET_GRIB_TABLES=/h/data/global/WXQC/data/met/config/grib2
> MET_GSL=/h/WXQC/met-6.1/lib/gsl-1.15
> MET_HDF=/h/WXQC/met-6.1/lib/HDF4.2r3
> MET_HDF5=/h/WXQC/met-6.1/lib/hdf5-1.10.0-patch1
> MET_HDFEOS=/h/WXQC/met-6.1/lib/hdfeos
> MET_LIB_DIR=/h/WXQC/met-6.1/lib
> MET_NETCDF=/h/WXQC/met-6.1/lib/netcdf-c-4.4.1.1
>
> Any obvious problems?
>
> Thanks
> Bob Craig
>
>
>



------------------------------------------------
Subject: Stat_analysis
From: John Halley Gotway
Time: Mon Aug 13 11:19:28 2018

Julie,

Could you please send Bob and Matt an excerpt from the shell script
you use
for compiling MET and all it's dependent libraries?  You could send
them
the commands for compiling NetCDF-C and NetCDF-CXX.

Thanks,
John

On Mon, Aug 13, 2018 at 9:56 AM SITTEL, MATTHEW C CTR USAF AFWA 16
WS/WXN
via RT <met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=86559 >
>
> Hey John,
>
> Thanks for the reply.  Bob's out all week.  I'd rebuild it except I
don't
> have the proper permissions to do so on our development system.
>
> Imagine that... blowing away an executable an hour before leaving
for a
> week's vacation!  You can't make this stuff up!
>
> Matt
>
> -----Original Message-----
> From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> Sent: Monday, August 13, 2018 10:51 AM
> To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
<robert.craig.2 at us.af.mil>
> Cc: SITTEL, MATTHEW C CTR USAF AFMC AFLCMC/HBAW-OL <
> matthew.sittel.ctr at us.af.mil>
> Subject: [Non-DoD Source] Re: [rt.rap.ucar.edu #86559] Stat_analysis
>
> Bob,
>
> I don't see any obvious problems.  I would suggest...
>  - Unset MET_BUFR... since you're setting MET_BUFRLIB instead.
>  - Unset MET_GRIB2C... since you're setting MET_GRIB2CINC and
> MET_GRIB2CLIB instead.
>
> If you had NOT done the clean and re-configure, then just running
"make
> install" may have fixed it.  As long as you're recompiling, I'd
suggest
> applying the latest set of patches for met-6.1:
>
https://dtcenter.org/met/users/support/known_issues/METv6.1/index.php
>
> As for the immediate compilation problem, the compiler can't find
the
> NetCDF header file.  Please check to see if the following file
exists:
>    ls /h/WXQC/met-6.1/lib/netcdf-c-4.4.1.1/include/netcdf
>
> Thanks,
> John
>
> On Fri, Aug 10, 2018 at 2:55 PM robert.craig.2 at us.af.mil via RT <
> met_help at ucar.edu> wrote:
>
> >
> > Fri Aug 10 14:55:06 2018: Request 86559 was acted upon.
> > Transaction: Ticket created by robert.craig.2 at us.af.mil
> >        Queue: met_help
> >      Subject: Stat_analysis
> >        Owner: Nobody
> >   Requestors: robert.craig.2 at us.af.mil
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=86559
> > >
> >
> >
> > John, I accidently over wrote the stat_analysis binary.  I assume
I
> > need to make the software again to get it back unless there is a
> > specific compile command to run just for stat analysis.
> >
> > When running the make, after doing the config and make clean step
I
> > get the following error when I compile:
> >
> > "/h/WXQC/met-6.1/share/met\""  -g -MT libvx_grid_a-st_grid.o -MD
-MP
> > -MF .deps/libvx_grid_a-st_grid.Tpo -c -o libvx_grid_a-st_grid.o
`test
> > -f 'st_grid.cc' || echo './'`st_grid.cc In file included from
> > nc_var_info.cc:24:
> > nc_utils.h:22:18: error: netcdf: No such file or directory In file
> > included from nc_var_info.cc:24:
> > nc_utils.h:23: error: 'netCDF' is not a namespace-name
> > nc_utils.h:23: error: expected namespace-name before ';' token In
file
> > included from nc_var_info.cc:24:
> > nc_utils.h:88: error: ISO C++ forbids declaration of 'NcAtt' with
no
> > type
> >
> >
> > My environmental variable settings are:
> >
> > MET_BUFR=/h/WXQC/met-6.1/lib/BUFRLIB_v10-0-1
> > MET_BUFRLIB=/h/WXQC/met-6.1/lib/BUFRLIB_v10-0-1
> > MET_GRIB2C=/h/WXQC/met-6.1/lib/g2clib-1.4.0
> > MET_GRIB2CINC=/h/WXQC/met-6.1/lib/g2clib-1.4.0
> > MET_GRIB2CLIB=/h/WXQC/met-6.1/lib/g2clib-1.4.0
> > MET_GRIB_TABLES=/h/data/global/WXQC/data/met/config/grib2
> > MET_GSL=/h/WXQC/met-6.1/lib/gsl-1.15
> > MET_HDF=/h/WXQC/met-6.1/lib/HDF4.2r3
> > MET_HDF5=/h/WXQC/met-6.1/lib/hdf5-1.10.0-patch1
> > MET_HDFEOS=/h/WXQC/met-6.1/lib/hdfeos
> > MET_LIB_DIR=/h/WXQC/met-6.1/lib
> > MET_NETCDF=/h/WXQC/met-6.1/lib/netcdf-c-4.4.1.1
> >
> > Any obvious problems?
> >
> > Thanks
> > Bob Craig
> >
> >
> >
>
>
>
>

------------------------------------------------
Subject: Stat_analysis
From: Julie Prestopnik
Time: Mon Aug 13 14:00:25 2018

Hi Bob and Matt.  Below is the excerpt from the shell script that I
use for
compiling MET and its dependent libraries.  It is the COMPILE_NETCDF
section.  Please let me know if you have any questions.

Thanks,
Julie

Below LIB_DIR would be, for example,
/usrx/local/dev/met/met-6.1/external_libs - where all external
libraries'
lib files get put into a lib subdirectory of LIB_DIR.

# Compile NetCDF
if [ $COMPILE_NETCDF -eq 1 ]; then

  echo
  echo "Compiling HDF5 at `date`"
  mkdir -p ${LIB_DIR}/hdf5
  cd ${LIB_DIR}/hdf5
  rm -rf hdf5*
  tar -xzf ${TAR_DIR}/hdf5*.tar.gz
  cd hdf5*
  echo "cd `pwd`"
  echo "./configure --prefix=${LIB_DIR} --with-zlib=${LIB_DIR}/lib
LDFLAGS=-L${LIB_DIR}/lib CPPFLAGS=-I${LIB_DIR}/include > configure.log
2>&1"
  ./configure --prefix=${LIB_DIR} --with-zlib=${LIB_DIR}/lib
LDFLAGS=-L${LIB_DIR}/lib CPPFLAGS=-I${LIB_DIR}/include > configure.log
2>&1
  ret=$?
  if [ $ret != 0 ]; then
     echo "configure returned with non-zero ($ret) status"
     exit 1
  fi
  echo "make install > make_install.log 2>&1"
  make install > make_install.log 2>&1
  ret=$?
  if [ $? != 0 ]; then
     echo "make install returned with non-zero ($ret) status"
     exit 1
  fi

  echo
  echo "Compiling NetCDF-C at `date`"
  mkdir -p ${LIB_DIR}/netcdf
  cd ${LIB_DIR}/netcdf
  rm -rf netcdf*
  unzip ${TAR_DIR}/netcdf-4*.zip > /dev/null 2>&1
  cd netcdf-4*
  export FC=''
  export F90=''
  echo "cd `pwd`"
  echo "./configure --prefix=${LIB_DIR} LDFLAGS=-L${LIB_DIR}/lib
CPPFLAGS=-I${LIB_DIR}/include > configure.log 2>&1"
  ./configure --prefix=${LIB_DIR} LDFLAGS=-L${LIB_DIR}/lib
CPPFLAGS=-I${LIB_DIR}/include > configure.log 2>&1
  ret=$?
  if [ $ret != 0 ]; then
     echo "configure returned with non-zero ($ret) status"
     exit 1
  fi
  echo "make install > make_install.log 2>&1"
  make install > make_install.log 2>&1
  ret=$?
  if [ $? != 0 ]; then
     echo "make install returned with non-zero ($ret) status"
     exit 1
  fi

  echo
  echo "Compiling NetCDF-CXX at `date`"
  cd ${LIB_DIR}/netcdf
  tar -xzf ${TAR_DIR}/netcdf-cxx*.tar.gz
  cd netcdf-cxx*
  echo "cd `pwd`"
  echo "./configure --prefix=${LIB_DIR} LDFLAGS=-L${LIB_DIR}/lib
CPPFLAGS=-I${LIB_DIR}/include > configure.log 2>&1"
  ./configure --prefix=${LIB_DIR} LDFLAGS=-L${LIB_DIR}/lib
CPPFLAGS=-I${LIB_DIR}/include > configure.log 2>&1
  ret=$?
  if [ $ret != 0 ]; then
     echo "configure returned with non-zero ($ret) status"
     exit 1
  fi
  echo "make install > make_install.log 2>&1"
  make install > make_install.log 2>&1
  ret=$?
  if [ $? != 0 ]; then
     echo "make install returned with non-zero ($ret) status"
     exit 1
  fi
fi


On Mon, Aug 13, 2018 at 11:19 AM John Halley Gotway via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=86559 >
>
> Julie,
>
> Could you please send Bob and Matt an excerpt from the shell script
you use
> for compiling MET and all it's dependent libraries?  You could send
them
> the commands for compiling NetCDF-C and NetCDF-CXX.
>
> Thanks,
> John
>
> On Mon, Aug 13, 2018 at 9:56 AM SITTEL, MATTHEW C CTR USAF AFWA 16
WS/WXN
> via RT <met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=86559 >
> >
> > Hey John,
> >
> > Thanks for the reply.  Bob's out all week.  I'd rebuild it except
I don't
> > have the proper permissions to do so on our development system.
> >
> > Imagine that... blowing away an executable an hour before leaving
for a
> > week's vacation!  You can't make this stuff up!
> >
> > Matt
> >
> > -----Original Message-----
> > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > Sent: Monday, August 13, 2018 10:51 AM
> > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
<robert.craig.2 at us.af.mil>
> > Cc: SITTEL, MATTHEW C CTR USAF AFMC AFLCMC/HBAW-OL <
> > matthew.sittel.ctr at us.af.mil>
> > Subject: [Non-DoD Source] Re: [rt.rap.ucar.edu #86559]
Stat_analysis
> >
> > Bob,
> >
> > I don't see any obvious problems.  I would suggest...
> >  - Unset MET_BUFR... since you're setting MET_BUFRLIB instead.
> >  - Unset MET_GRIB2C... since you're setting MET_GRIB2CINC and
> > MET_GRIB2CLIB instead.
> >
> > If you had NOT done the clean and re-configure, then just running
"make
> > install" may have fixed it.  As long as you're recompiling, I'd
suggest
> > applying the latest set of patches for met-6.1:
> >
https://dtcenter.org/met/users/support/known_issues/METv6.1/index.php
> >
> > As for the immediate compilation problem, the compiler can't find
the
> > NetCDF header file.  Please check to see if the following file
exists:
> >    ls /h/WXQC/met-6.1/lib/netcdf-c-4.4.1.1/include/netcdf
> >
> > Thanks,
> > John
> >
> > On Fri, Aug 10, 2018 at 2:55 PM robert.craig.2 at us.af.mil via RT <
> > met_help at ucar.edu> wrote:
> >
> > >
> > > Fri Aug 10 14:55:06 2018: Request 86559 was acted upon.
> > > Transaction: Ticket created by robert.craig.2 at us.af.mil
> > >        Queue: met_help
> > >      Subject: Stat_analysis
> > >        Owner: Nobody
> > >   Requestors: robert.craig.2 at us.af.mil
> > >       Status: new
> > >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=86559
> > > >
> > >
> > >
> > > John, I accidently over wrote the stat_analysis binary.  I
assume I
> > > need to make the software again to get it back unless there is a
> > > specific compile command to run just for stat analysis.
> > >
> > > When running the make, after doing the config and make clean
step I
> > > get the following error when I compile:
> > >
> > > "/h/WXQC/met-6.1/share/met\""  -g -MT libvx_grid_a-st_grid.o -MD
-MP
> > > -MF .deps/libvx_grid_a-st_grid.Tpo -c -o libvx_grid_a-st_grid.o
`test
> > > -f 'st_grid.cc' || echo './'`st_grid.cc In file included from
> > > nc_var_info.cc:24:
> > > nc_utils.h:22:18: error: netcdf: No such file or directory In
file
> > > included from nc_var_info.cc:24:
> > > nc_utils.h:23: error: 'netCDF' is not a namespace-name
> > > nc_utils.h:23: error: expected namespace-name before ';' token
In file
> > > included from nc_var_info.cc:24:
> > > nc_utils.h:88: error: ISO C++ forbids declaration of 'NcAtt'
with no
> > > type
> > >
> > >
> > > My environmental variable settings are:
> > >
> > > MET_BUFR=/h/WXQC/met-6.1/lib/BUFRLIB_v10-0-1
> > > MET_BUFRLIB=/h/WXQC/met-6.1/lib/BUFRLIB_v10-0-1
> > > MET_GRIB2C=/h/WXQC/met-6.1/lib/g2clib-1.4.0
> > > MET_GRIB2CINC=/h/WXQC/met-6.1/lib/g2clib-1.4.0
> > > MET_GRIB2CLIB=/h/WXQC/met-6.1/lib/g2clib-1.4.0
> > > MET_GRIB_TABLES=/h/data/global/WXQC/data/met/config/grib2
> > > MET_GSL=/h/WXQC/met-6.1/lib/gsl-1.15
> > > MET_HDF=/h/WXQC/met-6.1/lib/HDF4.2r3
> > > MET_HDF5=/h/WXQC/met-6.1/lib/hdf5-1.10.0-patch1
> > > MET_HDFEOS=/h/WXQC/met-6.1/lib/hdfeos
> > > MET_LIB_DIR=/h/WXQC/met-6.1/lib
> > > MET_NETCDF=/h/WXQC/met-6.1/lib/netcdf-c-4.4.1.1
> > >
> > > Any obvious problems?
> > >
> > > Thanks
> > > Bob Craig
> > >
> > >
> > >
> >
> >
> >
> >
>
>

------------------------------------------------
Subject: RE: [Non-DoD Source] Re: [rt.rap.ucar.edu #86559] Stat_analysis
From: robert.craig.2 at us.af.mil
Time: Tue Aug 21 10:01:07 2018

John and Julie, I got the compile to work correctly.

Thanks


-----Original Message-----
From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
Sent: Monday, August 13, 2018 12:19 PM
To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
<robert.craig.2 at us.af.mil>
Cc: SITTEL, MATTHEW C CTR USAF AFMC AFLCMC/HBAW-OL
<matthew.sittel.ctr at us.af.mil>
Subject: Re: [Non-DoD Source] Re: [rt.rap.ucar.edu #86559]
Stat_analysis

Julie,

Could you please send Bob and Matt an excerpt from the shell script
you use for compiling MET and all it's dependent libraries?  You could
send them the commands for compiling NetCDF-C and NetCDF-CXX.

Thanks,
John

On Mon, Aug 13, 2018 at 9:56 AM SITTEL, MATTHEW C CTR USAF AFWA 16
WS/WXN via RT <met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=86559 >
>
> Hey John,
>
> Thanks for the reply.  Bob's out all week.  I'd rebuild it except I
> don't have the proper permissions to do so on our development
system.
>
> Imagine that... blowing away an executable an hour before leaving
for
> a week's vacation!  You can't make this stuff up!
>
> Matt
>
> -----Original Message-----
> From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> Sent: Monday, August 13, 2018 10:51 AM
> To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> <robert.craig.2 at us.af.mil>
> Cc: SITTEL, MATTHEW C CTR USAF AFMC AFLCMC/HBAW-OL <
> matthew.sittel.ctr at us.af.mil>
> Subject: [Non-DoD Source] Re: [rt.rap.ucar.edu #86559] Stat_analysis
>
> Bob,
>
> I don't see any obvious problems.  I would suggest...
>  - Unset MET_BUFR... since you're setting MET_BUFRLIB instead.
>  - Unset MET_GRIB2C... since you're setting MET_GRIB2CINC and
> MET_GRIB2CLIB instead.
>
> If you had NOT done the clean and re-configure, then just running
> "make install" may have fixed it.  As long as you're recompiling,
I'd
> suggest applying the latest set of patches for met-6.1:
>
>
https://dtcenter.org/met/users/support/known_issues/METv6.1/index.php
>
> As for the immediate compilation problem, the compiler can't find
the
> NetCDF header file.  Please check to see if the following file
exists:
>    ls /h/WXQC/met-6.1/lib/netcdf-c-4.4.1.1/include/netcdf
>
> Thanks,
> John
>
> On Fri, Aug 10, 2018 at 2:55 PM robert.craig.2 at us.af.mil via RT <
> met_help at ucar.edu> wrote:
>
> >
> > Fri Aug 10 14:55:06 2018: Request 86559 was acted upon.
> > Transaction: Ticket created by robert.craig.2 at us.af.mil
> >        Queue: met_help
> >      Subject: Stat_analysis
> >        Owner: Nobody
> >   Requestors: robert.craig.2 at us.af.mil
> >       Status: new
> >  Ticket <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=86559
> > >
> >
> >
> > John, I accidently over wrote the stat_analysis binary.  I assume
I
> > need to make the software again to get it back unless there is a
> > specific compile command to run just for stat analysis.
> >
> > When running the make, after doing the config and make clean step
I
> > get the following error when I compile:
> >
> > "/h/WXQC/met-6.1/share/met\""  -g -MT libvx_grid_a-st_grid.o -MD
-MP
> > -MF .deps/libvx_grid_a-st_grid.Tpo -c -o libvx_grid_a-st_grid.o
> > `test -f 'st_grid.cc' || echo './'`st_grid.cc In file included
from
> > nc_var_info.cc:24:
> > nc_utils.h:22:18: error: netcdf: No such file or directory In file
> > included from nc_var_info.cc:24:
> > nc_utils.h:23: error: 'netCDF' is not a namespace-name
> > nc_utils.h:23: error: expected namespace-name before ';' token In
> > file included from nc_var_info.cc:24:
> > nc_utils.h:88: error: ISO C++ forbids declaration of 'NcAtt' with
no
> > type
> >
> >
> > My environmental variable settings are:
> >
> > MET_BUFR=/h/WXQC/met-6.1/lib/BUFRLIB_v10-0-1
> > MET_BUFRLIB=/h/WXQC/met-6.1/lib/BUFRLIB_v10-0-1
> > MET_GRIB2C=/h/WXQC/met-6.1/lib/g2clib-1.4.0
> > MET_GRIB2CINC=/h/WXQC/met-6.1/lib/g2clib-1.4.0
> > MET_GRIB2CLIB=/h/WXQC/met-6.1/lib/g2clib-1.4.0
> > MET_GRIB_TABLES=/h/data/global/WXQC/data/met/config/grib2
> > MET_GSL=/h/WXQC/met-6.1/lib/gsl-1.15
> > MET_HDF=/h/WXQC/met-6.1/lib/HDF4.2r3
> > MET_HDF5=/h/WXQC/met-6.1/lib/hdf5-1.10.0-patch1
> > MET_HDFEOS=/h/WXQC/met-6.1/lib/hdfeos
> > MET_LIB_DIR=/h/WXQC/met-6.1/lib
> > MET_NETCDF=/h/WXQC/met-6.1/lib/netcdf-c-4.4.1.1
> >
> > Any obvious problems?
> >
> > Thanks
> > Bob Craig
> >
> >
> >
>
>
>
>



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


More information about the Met_help mailing list