[Met_help] [rt.rap.ucar.edu #68987] History for Not able to compile

John Halley Gotway via RT met_help at ucar.edu
Mon Nov 10 11:49:33 MST 2014


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

Hello,
           I downloaded the latest version and I am unable to compile this
at all.

Here are the errors - first it appears that there is an error in this
directory - nc_var_inco.cc which includes netcdf.hh. I believe it should be
netcdf.h. Please let me know if that is accurate or not. When I fix that I
get these errors -



Regards,
Ashwin.

make[3]: Entering directory
`/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
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_geodesy -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_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_shapedata
-I../../../src/libcode/vx_statistics -I../../../src/libcode/vx_stat_out
-I../../../src/libcode/vx_tc_util -DBLOCK4 -DWITH_GRIB2
-DMET_BASE="\"/usr/local/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
In file included from nc_var_info.cc(24):
nc_var_info.h(24): catastrophic error: cannot open source file "netcdf.hh"
  #include <netcdf.hh>
                      ^

compilation aborted for nc_var_info.cc (code 4)
make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 4
make[3]: Leaving directory
`/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/home/aswin/meteorology_project/met-5.0/src/libcode'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/aswin/meteorology_project/met-5.0/src'
make: *** [install-recursive] Error 1

Ashwin.


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

Subject: Not able to compile
From: Julie Prestopnik
Time: Tue Sep 16 09:58:45 2014

Hi Ashwin.

Thanks for downloading the latest release of MET.  I see that you're
having  trouble configuring/compiling it.  We switched over to using
autoconf for  building MET version 5.0.  In previous versions, you
edited a
file by hand and then typed "make".  Now, you run the configure
script.
Please read  through the top-level met-5.0/README file for
instructions
about building MET.

You can set several environment variables to tell the configure script
where to find the dependent libraries.  For example, MET_NETCDF tells
it
where to find NetCDF.  nc_var_inco.cc should be looking for netcdf.hh.
That's the include file for the C++ interface.  There are many
different
ways of compiling NetCDF, and MET expects the C++ interface to be
compiled.  There are some instructions for compiling NetCDF for MET
here:
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php

Please take a look at the instructions for compiling NetCDF for MET
and at
the top-level met-5.0/README file for instructions about building MET
and
let us know if you continue to experience problems.

Thanks,
Julie

On Mon, Sep 15, 2014 at 11:22 PM, ashwinD12 . via RT
<met_help at ucar.edu>
wrote:

>
> Mon Sep 15 23:22:39 2014: Request 68987 was acted upon.
> Transaction: Ticket created by winash12 at gmail.com
>        Queue: met_help
>      Subject: Not able to compile
>        Owner: Nobody
>   Requestors: winash12 at gmail.com
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>
>
> Hello,
>            I downloaded the latest version and I am unable to
compile this
> at all.
>
> Here are the errors - first it appears that there is an error in
this
> directory - nc_var_inco.cc which includes netcdf.hh. I believe it
should be
> netcdf.h. Please let me know if that is accurate or not. When I fix
that I
> get these errors -
>
>
>
> Regards,
> Ashwin.
>
> make[3]: Entering directory
> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
> 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_geodesy -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_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_shapedata
> -I../../../src/libcode/vx_statistics
-I../../../src/libcode/vx_stat_out
> -I../../../src/libcode/vx_tc_util -DBLOCK4 -DWITH_GRIB2
> -DMET_BASE="\"/usr/local/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
> In file included from nc_var_info.cc(24):
> nc_var_info.h(24): catastrophic error: cannot open source file
"netcdf.hh"
>   #include <netcdf.hh>
>                       ^
>
> compilation aborted for nc_var_info.cc (code 4)
> make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 4
> make[3]: Leaving directory
> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory
> `/home/aswin/meteorology_project/met-5.0/src/libcode'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/aswin/meteorology_project/met-
5.0/src'
> make: *** [install-recursive] Error 1
>
> Ashwin.
>
>


--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu

------------------------------------------------
Subject: Not able to compile
From: ashwinD12 .
Time: Tue Oct 07 06:07:05 2014

Hello,
            I apologize for the late response on this as I have
tracking
another WRF problem. The problem still persists
I first typed ./configure --prefix=`pwd` --enable-grib2 and then
followed
by make install and I got these 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_geodesy -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_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_shapedata
-I../../../src/libcode/vx_statistics
-I../../../src/libcode/vx_stat_out
-I../../../src/libcode/vx_tc_util -I/usr/local/include
-I/usr/local/include
-DBLOCK4 -DWITH_GRIB2
-DMET_BASE="\"/home/aswin/meteorology_project/met-5.0/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
In file included from nc_var_info.cc(24):
nc_var_info.h(24): catastrophic error: cannot open source file
"netcdf.hh"
  #include <netcdf.hh>
                      ^

compilation aborted for nc_var_info.cc (code 4)
make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 4
make[3]: Leaving directory
`/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/home/aswin/meteorology_project/met-5.0/src/libcode'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/aswin/meteorology_project/met-
5.0/src'ds.
I first typed ./configure --prefix=`pwd` --enable-grib2 and then
followed
by make install and I got these messages -


On Tue, Sep 16, 2014 at 9:28 PM, Julie Prestopnik via RT
<met_help at ucar.edu>
wrote:

> Hi Ashwin.
>
> Thanks for downloading the latest release of MET.  I see that you're
> having  trouble configuring/compiling it.  We switched over to using
> autoconf for  building MET version 5.0.  In previous versions, you
edited a
> file by hand and then typed "make".  Now, you run the configure
script.
> Please read  through the top-level met-5.0/README file for
instructions
> about building MET.
>
> You can set several environment variables to tell the configure
script
> where to find the dependent libraries.  For example, MET_NETCDF
tells it
> where to find NetCDF.  nc_var_inco.cc should be looking for
netcdf.hh.
> That's the include file for the C++ interface.  There are many
different
> ways of compiling NetCDF, and MET expects the C++ interface to be
> compiled.  There are some instructions for compiling NetCDF for MET
here:
>
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
>
> Please take a look at the instructions for compiling NetCDF for MET
and at
> the top-level met-5.0/README file for instructions about building
MET and
> let us know if you continue to experience problems.
>
> Thanks,
> Julie
>
> On Mon, Sep 15, 2014 at 11:22 PM, ashwinD12 . via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > Mon Sep 15 23:22:39 2014: Request 68987 was acted upon.
> > Transaction: Ticket created by winash12 at gmail.com
> >        Queue: met_help
> >      Subject: Not able to compile
> >        Owner: Nobody
> >   Requestors: winash12 at gmail.com
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
> >
> >
> > Hello,
> >            I downloaded the latest version and I am unable to
compile
> this
> > at all.
> >
> > Here are the errors - first it appears that there is an error in
this
> > directory - nc_var_inco.cc which includes netcdf.hh. I believe it
should
> be
> > netcdf.h. Please let me know if that is accurate or not. When I
fix that
> I
> > get these errors -
> >
> >
> >
> > Regards,
> > Ashwin.
> >
> > make[3]: Entering directory
> > `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
> > 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_geodesy -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_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_shapedata
> > -I../../../src/libcode/vx_statistics
-I../../../src/libcode/vx_stat_out
> > -I../../../src/libcode/vx_tc_util -DBLOCK4 -DWITH_GRIB2
> > -DMET_BASE="\"/usr/local/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
> > In file included from nc_var_info.cc(24):
> > nc_var_info.h(24): catastrophic error: cannot open source file
> "netcdf.hh"
> >   #include <netcdf.hh>
> >                       ^
> >
> > compilation aborted for nc_var_info.cc (code 4)
> > make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 4
> > make[3]: Leaving directory
> > `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
> > make[2]: *** [install-recursive] Error 1
> > make[2]: Leaving directory
> > `/home/aswin/meteorology_project/met-5.0/src/libcode'
> > make[1]: *** [install-recursive] Error 1
> > make[1]: Leaving directory `/home/aswin/meteorology_project/met-
5.0/src'
> > make: *** [install-recursive] Error 1
> >
> > Ashwin.
> >
> >
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
>

------------------------------------------------
Subject: Not able to compile
From: Julie Prestopnik
Time: Tue Oct 07 09:22:23 2014

Hi Ashwin.  I see you're still having problems with MET finding
netcdf.hh.

Could you please run "printenv | grep MET" and send me the output?

Thank you.

Julie

On Tue, Oct 7, 2014 at 6:07 AM, ashwinD12 . via RT <met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>
> Hello,
>             I apologize for the late response on this as I have
tracking
> another WRF problem. The problem still persists
> I first typed ./configure --prefix=`pwd` --enable-grib2 and then
followed
> by make install and I got these 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_geodesy -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_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_shapedata
> -I../../../src/libcode/vx_statistics
-I../../../src/libcode/vx_stat_out
> -I../../../src/libcode/vx_tc_util -I/usr/local/include
-I/usr/local/include
> -DBLOCK4 -DWITH_GRIB2
> -DMET_BASE="\"/home/aswin/meteorology_project/met-5.0/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
> In file included from nc_var_info.cc(24):
> nc_var_info.h(24): catastrophic error: cannot open source file
"netcdf.hh"
>   #include <netcdf.hh>
>                       ^
>
> compilation aborted for nc_var_info.cc (code 4)
> make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 4
> make[3]: Leaving directory
> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory
> `/home/aswin/meteorology_project/met-5.0/src/libcode'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/aswin/meteorology_project/met-
5.0/src'ds.
> I first typed ./configure --prefix=`pwd` --enable-grib2 and then
followed
> by make install and I got these messages -
>
>
> On Tue, Sep 16, 2014 at 9:28 PM, Julie Prestopnik via RT <
> met_help at ucar.edu>
> wrote:
>
> > Hi Ashwin.
> >
> > Thanks for downloading the latest release of MET.  I see that
you're
> > having  trouble configuring/compiling it.  We switched over to
using
> > autoconf for  building MET version 5.0.  In previous versions, you
> edited a
> > file by hand and then typed "make".  Now, you run the configure
script.
> > Please read  through the top-level met-5.0/README file for
instructions
> > about building MET.
> >
> > You can set several environment variables to tell the configure
script
> > where to find the dependent libraries.  For example, MET_NETCDF
tells it
> > where to find NetCDF.  nc_var_inco.cc should be looking for
netcdf.hh.
> > That's the include file for the C++ interface.  There are many
different
> > ways of compiling NetCDF, and MET expects the C++ interface to be
> > compiled.  There are some instructions for compiling NetCDF for
MET here:
> >
> >
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
> >
> > Please take a look at the instructions for compiling NetCDF for
MET and
> at
> > the top-level met-5.0/README file for instructions about building
MET and
> > let us know if you continue to experience problems.
> >
> > Thanks,
> > Julie
> >
> > On Mon, Sep 15, 2014 at 11:22 PM, ashwinD12 . via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > Mon Sep 15 23:22:39 2014: Request 68987 was acted upon.
> > > Transaction: Ticket created by winash12 at gmail.com
> > >        Queue: met_help
> > >      Subject: Not able to compile
> > >        Owner: Nobody
> > >   Requestors: winash12 at gmail.com
> > >       Status: new
> > >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> >
> > >
> > >
> > > Hello,
> > >            I downloaded the latest version and I am unable to
compile
> > this
> > > at all.
> > >
> > > Here are the errors - first it appears that there is an error in
this
> > > directory - nc_var_inco.cc which includes netcdf.hh. I believe
it
> should
> > be
> > > netcdf.h. Please let me know if that is accurate or not. When I
fix
> that
> > I
> > > get these errors -
> > >
> > >
> > >
> > > Regards,
> > > Ashwin.
> > >
> > > make[3]: Entering directory
> > > `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
> > > 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_geodesy
-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_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_shapedata
> > > -I../../../src/libcode/vx_statistics
-I../../../src/libcode/vx_stat_out
> > > -I../../../src/libcode/vx_tc_util -DBLOCK4 -DWITH_GRIB2
> > > -DMET_BASE="\"/usr/local/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
> > > In file included from nc_var_info.cc(24):
> > > nc_var_info.h(24): catastrophic error: cannot open source file
> > "netcdf.hh"
> > >   #include <netcdf.hh>
> > >                       ^
> > >
> > > compilation aborted for nc_var_info.cc (code 4)
> > > make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 4
> > > make[3]: Leaving directory
> > > `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
> > > make[2]: *** [install-recursive] Error 1
> > > make[2]: Leaving directory
> > > `/home/aswin/meteorology_project/met-5.0/src/libcode'
> > > make[1]: *** [install-recursive] Error 1
> > > make[1]: Leaving directory
> `/home/aswin/meteorology_project/met-5.0/src'
> > > make: *** [install-recursive] Error 1
> > >
> > > Ashwin.
> > >
> > >
> >
> >
> > --
> > Julie Prestopnik
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
> >
>
>


--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu

------------------------------------------------
Subject: Not able to compile
From: ashwinD12 .
Time: Tue Oct 07 23:17:59 2014

Hi Julie, I am sending you the required information

printenv | grep MET

MET_GSLLIB=/usr/local/lib
MET_GRIB2LIB=/usr/local/lib
MET_GSLINC=/usr/local/include
MET_NETCDFINC=/usr/local/include
MET_NETCDFLIB=/usr/local/lib

On Tue, Oct 7, 2014 at 8:52 PM, Julie Prestopnik via RT
<met_help at ucar.edu>
wrote:

> Hi Ashwin.  I see you're still having problems with MET finding
netcdf.hh.
>
> Could you please run "printenv | grep MET" and send me the output?
>
> Thank you.
>
> Julie
>
> On Tue, Oct 7, 2014 at 6:07 AM, ashwinD12 . via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
> >
> > Hello,
> >             I apologize for the late response on this as I have
tracking
> > another WRF problem. The problem still persists
> > I first typed ./configure --prefix=`pwd` --enable-grib2 and then
followed
> > by make install and I got these 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_geodesy -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_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_shapedata
> > -I../../../src/libcode/vx_statistics
-I../../../src/libcode/vx_stat_out
> > -I../../../src/libcode/vx_tc_util -I/usr/local/include
> -I/usr/local/include
> > -DBLOCK4 -DWITH_GRIB2
> > -DMET_BASE="\"/home/aswin/meteorology_project/met-5.0/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
> > In file included from nc_var_info.cc(24):
> > nc_var_info.h(24): catastrophic error: cannot open source file
> "netcdf.hh"
> >   #include <netcdf.hh>
> >                       ^
> >
> > compilation aborted for nc_var_info.cc (code 4)
> > make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 4
> > make[3]: Leaving directory
> > `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
> > make[2]: *** [install-recursive] Error 1
> > make[2]: Leaving directory
> > `/home/aswin/meteorology_project/met-5.0/src/libcode'
> > make[1]: *** [install-recursive] Error 1
> > make[1]: Leaving directory
> `/home/aswin/meteorology_project/met-5.0/src'ds.
> > I first typed ./configure --prefix=`pwd` --enable-grib2 and then
followed
> > by make install and I got these messages -
> >
> >
> > On Tue, Sep 16, 2014 at 9:28 PM, Julie Prestopnik via RT <
> > met_help at ucar.edu>
> > wrote:
> >
> > > Hi Ashwin.
> > >
> > > Thanks for downloading the latest release of MET.  I see that
you're
> > > having  trouble configuring/compiling it.  We switched over to
using
> > > autoconf for  building MET version 5.0.  In previous versions,
you
> > edited a
> > > file by hand and then typed "make".  Now, you run the configure
script.
> > > Please read  through the top-level met-5.0/README file for
instructions
> > > about building MET.
> > >
> > > You can set several environment variables to tell the configure
script
> > > where to find the dependent libraries.  For example, MET_NETCDF
tells
> it
> > > where to find NetCDF.  nc_var_inco.cc should be looking for
netcdf.hh.
> > > That's the include file for the C++ interface.  There are many
> different
> > > ways of compiling NetCDF, and MET expects the C++ interface to
be
> > > compiled.  There are some instructions for compiling NetCDF for
MET
> here:
> > >
> > >
> >
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
> > >
> > > Please take a look at the instructions for compiling NetCDF for
MET and
> > at
> > > the top-level met-5.0/README file for instructions about
building MET
> and
> > > let us know if you continue to experience problems.
> > >
> > > Thanks,
> > > Julie
> > >
> > > On Mon, Sep 15, 2014 at 11:22 PM, ashwinD12 . via RT <
> met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > Mon Sep 15 23:22:39 2014: Request 68987 was acted upon.
> > > > Transaction: Ticket created by winash12 at gmail.com
> > > >        Queue: met_help
> > > >      Subject: Not able to compile
> > > >        Owner: Nobody
> > > >   Requestors: winash12 at gmail.com
> > > >       Status: new
> > > >  Ticket <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> > >
> > > >
> > > >
> > > > Hello,
> > > >            I downloaded the latest version and I am unable to
compile
> > > this
> > > > at all.
> > > >
> > > > Here are the errors - first it appears that there is an error
in this
> > > > directory - nc_var_inco.cc which includes netcdf.hh. I believe
it
> > should
> > > be
> > > > netcdf.h. Please let me know if that is accurate or not. When
I fix
> > that
> > > I
> > > > get these errors -
> > > >
> > > >
> > > >
> > > > Regards,
> > > > Ashwin.
> > > >
> > > > make[3]: Entering directory
> > > > `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
> > > > 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_geodesy
-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_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_shapedata
> > > > -I../../../src/libcode/vx_statistics
> -I../../../src/libcode/vx_stat_out
> > > > -I../../../src/libcode/vx_tc_util -DBLOCK4 -DWITH_GRIB2
> > > > -DMET_BASE="\"/usr/local/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
> > > > In file included from nc_var_info.cc(24):
> > > > nc_var_info.h(24): catastrophic error: cannot open source file
> > > "netcdf.hh"
> > > >   #include <netcdf.hh>
> > > >                       ^
> > > >
> > > > compilation aborted for nc_var_info.cc (code 4)
> > > > make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 4
> > > > make[3]: Leaving directory
> > > > `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
> > > > make[2]: *** [install-recursive] Error 1
> > > > make[2]: Leaving directory
> > > > `/home/aswin/meteorology_project/met-5.0/src/libcode'
> > > > make[1]: *** [install-recursive] Error 1
> > > > make[1]: Leaving directory
> > `/home/aswin/meteorology_project/met-5.0/src'
> > > > make: *** [install-recursive] Error 1
> > > >
> > > > Ashwin.
> > > >
> > > >
> > >
> > >
> > > --
> > > Julie Prestopnik
> > > National Center for Atmospheric Research
> > > Research Applications Laboratory
> > > Phone: 303.497.8399
> > > Email: jpresto at ucar.edu
> > >
> > >
> >
> >
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
>

------------------------------------------------
Subject: Not able to compile
From: Julie Prestopnik
Time: Wed Oct 08 07:21:14 2014

Great!  Thank you.  Can you please take a look in MET_NETCDFINC
(/usr/local/
include) and tell me if you see netcdf.hh?

Julie

On Tue, Oct 7, 2014 at 11:18 PM, ashwinD12 . via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>
> Hi Julie, I am sending you the required information
>
> printenv | grep MET
>
> MET_GSLLIB=/usr/local/lib
> MET_GRIB2LIB=/usr/local/lib
> MET_GSLINC=/usr/local/include
> MET_NETCDFINC=/usr/local/include
> MET_NETCDFLIB=/usr/local/lib
>
> On Tue, Oct 7, 2014 at 8:52 PM, Julie Prestopnik via RT
<met_help at ucar.edu
> >
> wrote:
>
> > Hi Ashwin.  I see you're still having problems with MET finding
> netcdf.hh.
> >
> > Could you please run "printenv | grep MET" and send me the output?
> >
> > Thank you.
> >
> > Julie
> >
> > On Tue, Oct 7, 2014 at 6:07 AM, ashwinD12 . via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
> > >
> > > Hello,
> > >             I apologize for the late response on this as I have
> tracking
> > > another WRF problem. The problem still persists
> > > I first typed ./configure --prefix=`pwd` --enable-grib2 and then
> followed
> > > by make install and I got these 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_geodesy
-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_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_shapedata
> > > -I../../../src/libcode/vx_statistics
-I../../../src/libcode/vx_stat_out
> > > -I../../../src/libcode/vx_tc_util -I/usr/local/include
> > -I/usr/local/include
> > > -DBLOCK4 -DWITH_GRIB2
> > > -DMET_BASE="\"/home/aswin/meteorology_project/met-
5.0/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
> > > In file included from nc_var_info.cc(24):
> > > nc_var_info.h(24): catastrophic error: cannot open source file
> > "netcdf.hh"
> > >   #include <netcdf.hh>
> > >                       ^
> > >
> > > compilation aborted for nc_var_info.cc (code 4)
> > > make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 4
> > > make[3]: Leaving directory
> > > `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
> > > make[2]: *** [install-recursive] Error 1
> > > make[2]: Leaving directory
> > > `/home/aswin/meteorology_project/met-5.0/src/libcode'
> > > make[1]: *** [install-recursive] Error 1
> > > make[1]: Leaving directory
> > `/home/aswin/meteorology_project/met-5.0/src'ds.
> > > I first typed ./configure --prefix=`pwd` --enable-grib2 and then
> followed
> > > by make install and I got these messages -
> > >
> > >
> > > On Tue, Sep 16, 2014 at 9:28 PM, Julie Prestopnik via RT <
> > > met_help at ucar.edu>
> > > wrote:
> > >
> > > > Hi Ashwin.
> > > >
> > > > Thanks for downloading the latest release of MET.  I see that
you're
> > > > having  trouble configuring/compiling it.  We switched over to
using
> > > > autoconf for  building MET version 5.0.  In previous versions,
you
> > > edited a
> > > > file by hand and then typed "make".  Now, you run the
configure
> script.
> > > > Please read  through the top-level met-5.0/README file for
> instructions
> > > > about building MET.
> > > >
> > > > You can set several environment variables to tell the
configure
> script
> > > > where to find the dependent libraries.  For example,
MET_NETCDF tells
> > it
> > > > where to find NetCDF.  nc_var_inco.cc should be looking for
> netcdf.hh.
> > > > That's the include file for the C++ interface.  There are many
> > different
> > > > ways of compiling NetCDF, and MET expects the C++ interface to
be
> > > > compiled.  There are some instructions for compiling NetCDF
for MET
> > here:
> > > >
> > > >
> > >
> >
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
> > > >
> > > > Please take a look at the instructions for compiling NetCDF
for MET
> and
> > > at
> > > > the top-level met-5.0/README file for instructions about
building MET
> > and
> > > > let us know if you continue to experience problems.
> > > >
> > > > Thanks,
> > > > Julie
> > > >
> > > > On Mon, Sep 15, 2014 at 11:22 PM, ashwinD12 . via RT <
> > met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > Mon Sep 15 23:22:39 2014: Request 68987 was acted upon.
> > > > > Transaction: Ticket created by winash12 at gmail.com
> > > > >        Queue: met_help
> > > > >      Subject: Not able to compile
> > > > >        Owner: Nobody
> > > > >   Requestors: winash12 at gmail.com
> > > > >       Status: new
> > > > >  Ticket <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> > > >
> > > > >
> > > > >
> > > > > Hello,
> > > > >            I downloaded the latest version and I am unable
to
> compile
> > > > this
> > > > > at all.
> > > > >
> > > > > Here are the errors - first it appears that there is an
error in
> this
> > > > > directory - nc_var_inco.cc which includes netcdf.hh. I
believe it
> > > should
> > > > be
> > > > > netcdf.h. Please let me know if that is accurate or not.
When I fix
> > > that
> > > > I
> > > > > get these errors -
> > > > >
> > > > >
> > > > >
> > > > > Regards,
> > > > > Ashwin.
> > > > >
> > > > > make[3]: Entering directory
> > > > > `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
> > > > > 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_geodesy
-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_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_shapedata
> > > > > -I../../../src/libcode/vx_statistics
> > -I../../../src/libcode/vx_stat_out
> > > > > -I../../../src/libcode/vx_tc_util -DBLOCK4 -DWITH_GRIB2
> > > > > -DMET_BASE="\"/usr/local/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
> > > > > In file included from nc_var_info.cc(24):
> > > > > nc_var_info.h(24): catastrophic error: cannot open source
file
> > > > "netcdf.hh"
> > > > >   #include <netcdf.hh>
> > > > >                       ^
> > > > >
> > > > > compilation aborted for nc_var_info.cc (code 4)
> > > > > make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 4
> > > > > make[3]: Leaving directory
> > > > > `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
> > > > > make[2]: *** [install-recursive] Error 1
> > > > > make[2]: Leaving directory
> > > > > `/home/aswin/meteorology_project/met-5.0/src/libcode'
> > > > > make[1]: *** [install-recursive] Error 1
> > > > > make[1]: Leaving directory
> > > `/home/aswin/meteorology_project/met-5.0/src'
> > > > > make: *** [install-recursive] Error 1
> > > > >
> > > > > Ashwin.
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Julie Prestopnik
> > > > National Center for Atmospheric Research
> > > > Research Applications Laboratory
> > > > Phone: 303.497.8399
> > > > Email: jpresto at ucar.edu
> > > >
> > > >
> > >
> > >
> >
> >
> > --
> > Julie Prestopnik
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
> >
>
>


--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu

------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #68987] Not able to compile
From: ashwinD12 .
Time: Wed Oct 08 07:51:49 2014

I am not at the machine where the problem is happening but I can guess
the root cause of the problem. When compiling NETCDF for WRF I  only
compiled the C and FORTRAN libraries and not the C++ libraries. So I
will need to recompile NETCDF and this time compile for C++ as well by
specifying the environment variable CXX. I do not think there is a
file netcdf.hh under /usr/local/include. I will confirm this tomorrow
morning my time.
Regards.

On 10/8/14, Julie Prestopnik via RT <met_help at ucar.edu> wrote:
> Great!  Thank you.  Can you please take a look in MET_NETCDFINC
> (/usr/local/
> include) and tell me if you see netcdf.hh?
>
> Julie
>
> On Tue, Oct 7, 2014 at 11:18 PM, ashwinD12 . via RT
<met_help at ucar.edu>
> wrote:
>
>>
>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>>
>> Hi Julie, I am sending you the required information
>>
>> printenv | grep MET
>>
>> MET_GSLLIB=/usr/local/lib
>> MET_GRIB2LIB=/usr/local/lib
>> MET_GSLINC=/usr/local/include
>> MET_NETCDFINC=/usr/local/include
>> MET_NETCDFLIB=/usr/local/lib
>>
>> On Tue, Oct 7, 2014 at 8:52 PM, Julie Prestopnik via RT
>> <met_help at ucar.edu
>> >
>> wrote:
>>
>> > Hi Ashwin.  I see you're still having problems with MET finding
>> netcdf.hh.
>> >
>> > Could you please run "printenv | grep MET" and send me the
output?
>> >
>> > Thank you.
>> >
>> > Julie
>> >
>> > On Tue, Oct 7, 2014 at 6:07 AM, ashwinD12 . via RT
<met_help at ucar.edu>
>> > wrote:
>> >
>> > >
>> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>> > >
>> > > Hello,
>> > >             I apologize for the late response on this as I have
>> tracking
>> > > another WRF problem. The problem still persists
>> > > I first typed ./configure --prefix=`pwd` --enable-grib2 and
then
>> followed
>> > > by make install and I got these 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_geodesy
-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_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_shapedata
>> > > -I../../../src/libcode/vx_statistics
>> > > -I../../../src/libcode/vx_stat_out
>> > > -I../../../src/libcode/vx_tc_util -I/usr/local/include
>> > -I/usr/local/include
>> > > -DBLOCK4 -DWITH_GRIB2
>> > > -DMET_BASE="\"/home/aswin/meteorology_project/met-
5.0/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
>> > > In file included from nc_var_info.cc(24):
>> > > nc_var_info.h(24): catastrophic error: cannot open source file
>> > "netcdf.hh"
>> > >   #include <netcdf.hh>
>> > >                       ^
>> > >
>> > > compilation aborted for nc_var_info.cc (code 4)
>> > > make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 4
>> > > make[3]: Leaving directory
>> > > `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
>> > > make[2]: *** [install-recursive] Error 1
>> > > make[2]: Leaving directory
>> > > `/home/aswin/meteorology_project/met-5.0/src/libcode'
>> > > make[1]: *** [install-recursive] Error 1
>> > > make[1]: Leaving directory
>> > `/home/aswin/meteorology_project/met-5.0/src'ds.
>> > > I first typed ./configure --prefix=`pwd` --enable-grib2 and
then
>> followed
>> > > by make install and I got these messages -
>> > >
>> > >
>> > > On Tue, Sep 16, 2014 at 9:28 PM, Julie Prestopnik via RT <
>> > > met_help at ucar.edu>
>> > > wrote:
>> > >
>> > > > Hi Ashwin.
>> > > >
>> > > > Thanks for downloading the latest release of MET.  I see that
>> > > > you're
>> > > > having  trouble configuring/compiling it.  We switched over
to
>> > > > using
>> > > > autoconf for  building MET version 5.0.  In previous
versions, you
>> > > edited a
>> > > > file by hand and then typed "make".  Now, you run the
configure
>> script.
>> > > > Please read  through the top-level met-5.0/README file for
>> instructions
>> > > > about building MET.
>> > > >
>> > > > You can set several environment variables to tell the
configure
>> script
>> > > > where to find the dependent libraries.  For example,
MET_NETCDF
>> > > > tells
>> > it
>> > > > where to find NetCDF.  nc_var_inco.cc should be looking for
>> netcdf.hh.
>> > > > That's the include file for the C++ interface.  There are
many
>> > different
>> > > > ways of compiling NetCDF, and MET expects the C++ interface
to be
>> > > > compiled.  There are some instructions for compiling NetCDF
for MET
>> > here:
>> > > >
>> > > >
>> > >
>> >
>>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
>> > > >
>> > > > Please take a look at the instructions for compiling NetCDF
for MET
>> and
>> > > at
>> > > > the top-level met-5.0/README file for instructions about
building
>> > > > MET
>> > and
>> > > > let us know if you continue to experience problems.
>> > > >
>> > > > Thanks,
>> > > > Julie
>> > > >
>> > > > On Mon, Sep 15, 2014 at 11:22 PM, ashwinD12 . via RT <
>> > met_help at ucar.edu>
>> > > > wrote:
>> > > >
>> > > > >
>> > > > > Mon Sep 15 23:22:39 2014: Request 68987 was acted upon.
>> > > > > Transaction: Ticket created by winash12 at gmail.com
>> > > > >        Queue: met_help
>> > > > >      Subject: Not able to compile
>> > > > >        Owner: Nobody
>> > > > >   Requestors: winash12 at gmail.com
>> > > > >       Status: new
>> > > > >  Ticket <URL:
>> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>> > > >
>> > > > >
>> > > > >
>> > > > > Hello,
>> > > > >            I downloaded the latest version and I am unable
to
>> compile
>> > > > this
>> > > > > at all.
>> > > > >
>> > > > > Here are the errors - first it appears that there is an
error in
>> this
>> > > > > directory - nc_var_inco.cc which includes netcdf.hh. I
believe it
>> > > should
>> > > > be
>> > > > > netcdf.h. Please let me know if that is accurate or not.
When I
>> > > > > fix
>> > > that
>> > > > I
>> > > > > get these errors -
>> > > > >
>> > > > >
>> > > > >
>> > > > > Regards,
>> > > > > Ashwin.
>> > > > >
>> > > > > make[3]: Entering directory
>> > > > > `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
>> > > > > 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_geodesy
>> > > > > -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_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_shapedata
>> > > > > -I../../../src/libcode/vx_statistics
>> > -I../../../src/libcode/vx_stat_out
>> > > > > -I../../../src/libcode/vx_tc_util -DBLOCK4 -DWITH_GRIB2
>> > > > > -DMET_BASE="\"/usr/local/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
>> > > > > In file included from nc_var_info.cc(24):
>> > > > > nc_var_info.h(24): catastrophic error: cannot open source
file
>> > > > "netcdf.hh"
>> > > > >   #include <netcdf.hh>
>> > > > >                       ^
>> > > > >
>> > > > > compilation aborted for nc_var_info.cc (code 4)
>> > > > > make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 4
>> > > > > make[3]: Leaving directory
>> > > > > `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
>> > > > > make[2]: *** [install-recursive] Error 1
>> > > > > make[2]: Leaving directory
>> > > > > `/home/aswin/meteorology_project/met-5.0/src/libcode'
>> > > > > make[1]: *** [install-recursive] Error 1
>> > > > > make[1]: Leaving directory
>> > > `/home/aswin/meteorology_project/met-5.0/src'
>> > > > > make: *** [install-recursive] Error 1
>> > > > >
>> > > > > Ashwin.
>> > > > >
>> > > > >
>> > > >
>> > > >
>> > > > --
>> > > > Julie Prestopnik
>> > > > National Center for Atmospheric Research
>> > > > Research Applications Laboratory
>> > > > Phone: 303.497.8399
>> > > > Email: jpresto at ucar.edu
>> > > >
>> > > >
>> > >
>> > >
>> >
>> >
>> > --
>> > Julie Prestopnik
>> > National Center for Atmospheric Research
>> > Research Applications Laboratory
>> > Phone: 303.497.8399
>> > Email: jpresto at ucar.edu
>> >
>> >
>>
>>
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
>

------------------------------------------------
Subject: Not able to compile
From: Julie Prestopnik
Time: Wed Oct 08 08:43:46 2014

Hi Ashwin.  I agree. MET expects the C++ interface to be compiled.
Please
try building and compiling NETCDF to include the C++ interface and
then
rebuild and recompile MET.  Please let me know how it turns out.

Thanks,
Julie

On Wed, Oct 8, 2014 at 7:51 AM, ashwinD12 . via RT <met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>
> I am not at the machine where the problem is happening but I can
guess
> the root cause of the problem. When compiling NETCDF for WRF I  only
> compiled the C and FORTRAN libraries and not the C++ libraries. So I
> will need to recompile NETCDF and this time compile for C++ as well
by
> specifying the environment variable CXX. I do not think there is a
> file netcdf.hh under /usr/local/include. I will confirm this
tomorrow
> morning my time.
> Regards.
>
> On 10/8/14, Julie Prestopnik via RT <met_help at ucar.edu> wrote:
> > Great!  Thank you.  Can you please take a look in MET_NETCDFINC
> > (/usr/local/
> > include) and tell me if you see netcdf.hh?
> >
> > Julie
> >
> > On Tue, Oct 7, 2014 at 11:18 PM, ashwinD12 . via RT
<met_help at ucar.edu>
> > wrote:
> >
> >>
> >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
> >>
> >> Hi Julie, I am sending you the required information
> >>
> >> printenv | grep MET
> >>
> >> MET_GSLLIB=/usr/local/lib
> >> MET_GRIB2LIB=/usr/local/lib
> >> MET_GSLINC=/usr/local/include
> >> MET_NETCDFINC=/usr/local/include
> >> MET_NETCDFLIB=/usr/local/lib
> >>
> >> On Tue, Oct 7, 2014 at 8:52 PM, Julie Prestopnik via RT
> >> <met_help at ucar.edu
> >> >
> >> wrote:
> >>
> >> > Hi Ashwin.  I see you're still having problems with MET finding
> >> netcdf.hh.
> >> >
> >> > Could you please run "printenv | grep MET" and send me the
output?
> >> >
> >> > Thank you.
> >> >
> >> > Julie
> >> >
> >> > On Tue, Oct 7, 2014 at 6:07 AM, ashwinD12 . via RT
<met_help at ucar.edu
> >
> >> > wrote:
> >> >
> >> > >
> >> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>
> >> > >
> >> > > Hello,
> >> > >             I apologize for the late response on this as I
have
> >> tracking
> >> > > another WRF problem. The problem still persists
> >> > > I first typed ./configure --prefix=`pwd` --enable-grib2 and
then
> >> followed
> >> > > by make install and I got these 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_geodesy
-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_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_shapedata
> >> > > -I../../../src/libcode/vx_statistics
> >> > > -I../../../src/libcode/vx_stat_out
> >> > > -I../../../src/libcode/vx_tc_util -I/usr/local/include
> >> > -I/usr/local/include
> >> > > -DBLOCK4 -DWITH_GRIB2
> >> > > -DMET_BASE="\"/home/aswin/meteorology_project/met-
5.0/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
> >> > > In file included from nc_var_info.cc(24):
> >> > > nc_var_info.h(24): catastrophic error: cannot open source
file
> >> > "netcdf.hh"
> >> > >   #include <netcdf.hh>
> >> > >                       ^
> >> > >
> >> > > compilation aborted for nc_var_info.cc (code 4)
> >> > > make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 4
> >> > > make[3]: Leaving directory
> >> > > `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
> >> > > make[2]: *** [install-recursive] Error 1
> >> > > make[2]: Leaving directory
> >> > > `/home/aswin/meteorology_project/met-5.0/src/libcode'
> >> > > make[1]: *** [install-recursive] Error 1
> >> > > make[1]: Leaving directory
> >> > `/home/aswin/meteorology_project/met-5.0/src'ds.
> >> > > I first typed ./configure --prefix=`pwd` --enable-grib2 and
then
> >> followed
> >> > > by make install and I got these messages -
> >> > >
> >> > >
> >> > > On Tue, Sep 16, 2014 at 9:28 PM, Julie Prestopnik via RT <
> >> > > met_help at ucar.edu>
> >> > > wrote:
> >> > >
> >> > > > Hi Ashwin.
> >> > > >
> >> > > > Thanks for downloading the latest release of MET.  I see
that
> >> > > > you're
> >> > > > having  trouble configuring/compiling it.  We switched over
to
> >> > > > using
> >> > > > autoconf for  building MET version 5.0.  In previous
versions, you
> >> > > edited a
> >> > > > file by hand and then typed "make".  Now, you run the
configure
> >> script.
> >> > > > Please read  through the top-level met-5.0/README file for
> >> instructions
> >> > > > about building MET.
> >> > > >
> >> > > > You can set several environment variables to tell the
configure
> >> script
> >> > > > where to find the dependent libraries.  For example,
MET_NETCDF
> >> > > > tells
> >> > it
> >> > > > where to find NetCDF.  nc_var_inco.cc should be looking for
> >> netcdf.hh.
> >> > > > That's the include file for the C++ interface.  There are
many
> >> > different
> >> > > > ways of compiling NetCDF, and MET expects the C++ interface
to be
> >> > > > compiled.  There are some instructions for compiling NetCDF
for
> MET
> >> > here:
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
> >> > > >
> >> > > > Please take a look at the instructions for compiling NetCDF
for
> MET
> >> and
> >> > > at
> >> > > > the top-level met-5.0/README file for instructions about
building
> >> > > > MET
> >> > and
> >> > > > let us know if you continue to experience problems.
> >> > > >
> >> > > > Thanks,
> >> > > > Julie
> >> > > >
> >> > > > On Mon, Sep 15, 2014 at 11:22 PM, ashwinD12 . via RT <
> >> > met_help at ucar.edu>
> >> > > > wrote:
> >> > > >
> >> > > > >
> >> > > > > Mon Sep 15 23:22:39 2014: Request 68987 was acted upon.
> >> > > > > Transaction: Ticket created by winash12 at gmail.com
> >> > > > >        Queue: met_help
> >> > > > >      Subject: Not able to compile
> >> > > > >        Owner: Nobody
> >> > > > >   Requestors: winash12 at gmail.com
> >> > > > >       Status: new
> >> > > > >  Ticket <URL:
> >> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> >> > > >
> >> > > > >
> >> > > > >
> >> > > > > Hello,
> >> > > > >            I downloaded the latest version and I am
unable to
> >> compile
> >> > > > this
> >> > > > > at all.
> >> > > > >
> >> > > > > Here are the errors - first it appears that there is an
error in
> >> this
> >> > > > > directory - nc_var_inco.cc which includes netcdf.hh. I
believe
> it
> >> > > should
> >> > > > be
> >> > > > > netcdf.h. Please let me know if that is accurate or not.
When I
> >> > > > > fix
> >> > > that
> >> > > > I
> >> > > > > get these errors -
> >> > > > >
> >> > > > >
> >> > > > >
> >> > > > > Regards,
> >> > > > > Ashwin.
> >> > > > >
> >> > > > > make[3]: Entering directory
> >> > > > > `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
> >> > > > > 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_geodesy
> >> > > > > -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_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_shapedata
> >> > > > > -I../../../src/libcode/vx_statistics
> >> > -I../../../src/libcode/vx_stat_out
> >> > > > > -I../../../src/libcode/vx_tc_util -DBLOCK4 -DWITH_GRIB2
> >> > > > > -DMET_BASE="\"/usr/local/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
> >> > > > > In file included from nc_var_info.cc(24):
> >> > > > > nc_var_info.h(24): catastrophic error: cannot open source
file
> >> > > > "netcdf.hh"
> >> > > > >   #include <netcdf.hh>
> >> > > > >                       ^
> >> > > > >
> >> > > > > compilation aborted for nc_var_info.cc (code 4)
> >> > > > > make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 4
> >> > > > > make[3]: Leaving directory
> >> > > > > `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
> >> > > > > make[2]: *** [install-recursive] Error 1
> >> > > > > make[2]: Leaving directory
> >> > > > > `/home/aswin/meteorology_project/met-5.0/src/libcode'
> >> > > > > make[1]: *** [install-recursive] Error 1
> >> > > > > make[1]: Leaving directory
> >> > > `/home/aswin/meteorology_project/met-5.0/src'
> >> > > > > make: *** [install-recursive] Error 1
> >> > > > >
> >> > > > > Ashwin.
> >> > > > >
> >> > > > >
> >> > > >
> >> > > >
> >> > > > --
> >> > > > Julie Prestopnik
> >> > > > National Center for Atmospheric Research
> >> > > > Research Applications Laboratory
> >> > > > Phone: 303.497.8399
> >> > > > Email: jpresto at ucar.edu
> >> > > >
> >> > > >
> >> > >
> >> > >
> >> >
> >> >
> >> > --
> >> > Julie Prestopnik
> >> > National Center for Atmospheric Research
> >> > Research Applications Laboratory
> >> > Phone: 303.497.8399
> >> > Email: jpresto at ucar.edu
> >> >
> >> >
> >>
> >>
> >
> >
> > --
> > Julie Prestopnik
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
> >
>
>


--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu

------------------------------------------------
Subject: Not able to compile
From: ashwinD12 .
Time: Thu Oct 09 01:28:08 2014

Hi Julie,
               I made some progress with some difficulty which is
expected.
First of all there are *two* C++ NETCDF  libraries and I had to use
the
legacy C++ NETCDF source code to build with MET 5.0. The netcdf.hh
file is
NOT found in the latest C++ NETCDF interface but in the legacy
distribution. It would be helpful if you could update the
documentation to
reflect this.
Then I did not have lex and yacc on my Ubuntu and I updated my system
to
reflect that. Then I ran make install again and  here are the latest
error
-
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory
`/home/aswin/meteorology_project/met-5.0/src/libcode/vx_afm'
make[3]: Leaving directory
`/home/aswin/meteorology_project/met-5.0/src/libcode/vx_afm'
Making install in vx_color
make[3]: Entering directory
`/home/aswin/meteorology_project/met-5.0/src/libcode/vx_color'
/bin/bash ../../../ylwrap color_scanner.ll .c color_scanner.cc -- :
--prefix=color --outfile=lex.yy.c
make[3]: *** [color_scanner.cc] Error 1
make[3]: Leaving directory
`/home/aswin/meteorology_project/met-5.0/src/libcode/vx_color'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/home/aswin/meteorology_project/met-5.0/src/libcode'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/aswin/meteorology_project/met-
5.0/src'
make: *** [install-recursive] Error 1



On Wed, Oct 8, 2014 at 8:13 PM, Julie Prestopnik via RT
<met_help at ucar.edu>
wrote:

> Hi Ashwin.  I agree. MET expects the C++ interface to be compiled.
Please
> try building and compiling NETCDF to include the C++ interface and
then
> rebuild and recompile MET.  Please let me know how it turns out.
>
> Thanks,
> Julie
>
> On Wed, Oct 8, 2014 at 7:51 AM, ashwinD12 . via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
> >
> > I am not at the machine where the problem is happening but I can
guess
> > the root cause of the problem. When compiling NETCDF for WRF I
only
> > compiled the C and FORTRAN libraries and not the C++ libraries. So
I
> > will need to recompile NETCDF and this time compile for C++ as
well by
> > specifying the environment variable CXX. I do not think there is a
> > file netcdf.hh under /usr/local/include. I will confirm this
tomorrow
> > morning my time.
> > Regards.
> >
> > On 10/8/14, Julie Prestopnik via RT <met_help at ucar.edu> wrote:
> > > Great!  Thank you.  Can you please take a look in MET_NETCDFINC
> > > (/usr/local/
> > > include) and tell me if you see netcdf.hh?
> > >
> > > Julie
> > >
> > > On Tue, Oct 7, 2014 at 11:18 PM, ashwinD12 . via RT
<met_help at ucar.edu
> >
> > > wrote:
> > >
> > >>
> > >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
> > >>
> > >> Hi Julie, I am sending you the required information
> > >>
> > >> printenv | grep MET
> > >>
> > >> MET_GSLLIB=/usr/local/lib
> > >> MET_GRIB2LIB=/usr/local/lib
> > >> MET_GSLINC=/usr/local/include
> > >> MET_NETCDFINC=/usr/local/include
> > >> MET_NETCDFLIB=/usr/local/lib
> > >>
> > >> On Tue, Oct 7, 2014 at 8:52 PM, Julie Prestopnik via RT
> > >> <met_help at ucar.edu
> > >> >
> > >> wrote:
> > >>
> > >> > Hi Ashwin.  I see you're still having problems with MET
finding
> > >> netcdf.hh.
> > >> >
> > >> > Could you please run "printenv | grep MET" and send me the
output?
> > >> >
> > >> > Thank you.
> > >> >
> > >> > Julie
> > >> >
> > >> > On Tue, Oct 7, 2014 at 6:07 AM, ashwinD12 . via RT <
> met_help at ucar.edu
> > >
> > >> > wrote:
> > >> >
> > >> > >
> > >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
> > >> > >
> > >> > > Hello,
> > >> > >             I apologize for the late response on this as I
have
> > >> tracking
> > >> > > another WRF problem. The problem still persists
> > >> > > I first typed ./configure --prefix=`pwd` --enable-grib2 and
then
> > >> followed
> > >> > > by make install and I got these 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_geodesy
-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_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_shapedata
> > >> > > -I../../../src/libcode/vx_statistics
> > >> > > -I../../../src/libcode/vx_stat_out
> > >> > > -I../../../src/libcode/vx_tc_util -I/usr/local/include
> > >> > -I/usr/local/include
> > >> > > -DBLOCK4 -DWITH_GRIB2
> > >> > > -DMET_BASE="\"/home/aswin/meteorology_project/met-
5.0/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
> > >> > > In file included from nc_var_info.cc(24):
> > >> > > nc_var_info.h(24): catastrophic error: cannot open source
file
> > >> > "netcdf.hh"
> > >> > >   #include <netcdf.hh>
> > >> > >                       ^
> > >> > >
> > >> > > compilation aborted for nc_var_info.cc (code 4)
> > >> > > make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 4
> > >> > > make[3]: Leaving directory
> > >> > > `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
> > >> > > make[2]: *** [install-recursive] Error 1
> > >> > > make[2]: Leaving directory
> > >> > > `/home/aswin/meteorology_project/met-5.0/src/libcode'
> > >> > > make[1]: *** [install-recursive] Error 1
> > >> > > make[1]: Leaving directory
> > >> > `/home/aswin/meteorology_project/met-5.0/src'ds.
> > >> > > I first typed ./configure --prefix=`pwd` --enable-grib2 and
then
> > >> followed
> > >> > > by make install and I got these messages -
> > >> > >
> > >> > >
> > >> > > On Tue, Sep 16, 2014 at 9:28 PM, Julie Prestopnik via RT <
> > >> > > met_help at ucar.edu>
> > >> > > wrote:
> > >> > >
> > >> > > > Hi Ashwin.
> > >> > > >
> > >> > > > Thanks for downloading the latest release of MET.  I see
that
> > >> > > > you're
> > >> > > > having  trouble configuring/compiling it.  We switched
over to
> > >> > > > using
> > >> > > > autoconf for  building MET version 5.0.  In previous
versions,
> you
> > >> > > edited a
> > >> > > > file by hand and then typed "make".  Now, you run the
configure
> > >> script.
> > >> > > > Please read  through the top-level met-5.0/README file
for
> > >> instructions
> > >> > > > about building MET.
> > >> > > >
> > >> > > > You can set several environment variables to tell the
configure
> > >> script
> > >> > > > where to find the dependent libraries.  For example,
MET_NETCDF
> > >> > > > tells
> > >> > it
> > >> > > > where to find NetCDF.  nc_var_inco.cc should be looking
for
> > >> netcdf.hh.
> > >> > > > That's the include file for the C++ interface.  There are
many
> > >> > different
> > >> > > > ways of compiling NetCDF, and MET expects the C++
interface to
> be
> > >> > > > compiled.  There are some instructions for compiling
NetCDF for
> > MET
> > >> > here:
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
> > >> > > >
> > >> > > > Please take a look at the instructions for compiling
NetCDF for
> > MET
> > >> and
> > >> > > at
> > >> > > > the top-level met-5.0/README file for instructions about
> building
> > >> > > > MET
> > >> > and
> > >> > > > let us know if you continue to experience problems.
> > >> > > >
> > >> > > > Thanks,
> > >> > > > Julie
> > >> > > >
> > >> > > > On Mon, Sep 15, 2014 at 11:22 PM, ashwinD12 . via RT <
> > >> > met_help at ucar.edu>
> > >> > > > wrote:
> > >> > > >
> > >> > > > >
> > >> > > > > Mon Sep 15 23:22:39 2014: Request 68987 was acted upon.
> > >> > > > > Transaction: Ticket created by winash12 at gmail.com
> > >> > > > >        Queue: met_help
> > >> > > > >      Subject: Not able to compile
> > >> > > > >        Owner: Nobody
> > >> > > > >   Requestors: winash12 at gmail.com
> > >> > > > >       Status: new
> > >> > > > >  Ticket <URL:
> > >> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> > >> > > >
> > >> > > > >
> > >> > > > >
> > >> > > > > Hello,
> > >> > > > >            I downloaded the latest version and I am
unable to
> > >> compile
> > >> > > > this
> > >> > > > > at all.
> > >> > > > >
> > >> > > > > Here are the errors - first it appears that there is an
error
> in
> > >> this
> > >> > > > > directory - nc_var_inco.cc which includes netcdf.hh. I
believe
> > it
> > >> > > should
> > >> > > > be
> > >> > > > > netcdf.h. Please let me know if that is accurate or
not. When
> I
> > >> > > > > fix
> > >> > > that
> > >> > > > I
> > >> > > > > get these errors -
> > >> > > > >
> > >> > > > >
> > >> > > > >
> > >> > > > > Regards,
> > >> > > > > Ashwin.
> > >> > > > >
> > >> > > > > make[3]: Entering directory
> > >> > > > >
> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
> > >> > > > > 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_geodesy
> > >> > > > > -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_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_shapedata
> > >> > > > > -I../../../src/libcode/vx_statistics
> > >> > -I../../../src/libcode/vx_stat_out
> > >> > > > > -I../../../src/libcode/vx_tc_util -DBLOCK4 -DWITH_GRIB2
> > >> > > > > -DMET_BASE="\"/usr/local/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
> > >> > > > > In file included from nc_var_info.cc(24):
> > >> > > > > nc_var_info.h(24): catastrophic error: cannot open
source file
> > >> > > > "netcdf.hh"
> > >> > > > >   #include <netcdf.hh>
> > >> > > > >                       ^
> > >> > > > >
> > >> > > > > compilation aborted for nc_var_info.cc (code 4)
> > >> > > > > make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 4
> > >> > > > > make[3]: Leaving directory
> > >> > > > >
> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
> > >> > > > > make[2]: *** [install-recursive] Error 1
> > >> > > > > make[2]: Leaving directory
> > >> > > > > `/home/aswin/meteorology_project/met-5.0/src/libcode'
> > >> > > > > make[1]: *** [install-recursive] Error 1
> > >> > > > > make[1]: Leaving directory
> > >> > > `/home/aswin/meteorology_project/met-5.0/src'
> > >> > > > > make: *** [install-recursive] Error 1
> > >> > > > >
> > >> > > > > Ashwin.
> > >> > > > >
> > >> > > > >
> > >> > > >
> > >> > > >
> > >> > > > --
> > >> > > > Julie Prestopnik
> > >> > > > National Center for Atmospheric Research
> > >> > > > Research Applications Laboratory
> > >> > > > Phone: 303.497.8399
> > >> > > > Email: jpresto at ucar.edu
> > >> > > >
> > >> > > >
> > >> > >
> > >> > >
> > >> >
> > >> >
> > >> > --
> > >> > Julie Prestopnik
> > >> > National Center for Atmospheric Research
> > >> > Research Applications Laboratory
> > >> > Phone: 303.497.8399
> > >> > Email: jpresto at ucar.edu
> > >> >
> > >> >
> > >>
> > >>
> > >
> > >
> > > --
> > > Julie Prestopnik
> > > National Center for Atmospheric Research
> > > Research Applications Laboratory
> > > Phone: 303.497.8399
> > > Email: jpresto at ucar.edu
> > >
> > >
> >
> >
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
>

------------------------------------------------
Subject: Not able to compile
From: Julie Prestopnik
Time: Thu Oct 09 10:53:14 2014

Hi Ashwin.  I'm sorry to hear that you are still having some
difficulty in
getting METv5.0 to build.

I'd suggest downloading and compiling NetCDF locally using the
following
steps:

Download NetCDF 3.6.3 from here:
http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-3.6.3.tar.gz

Then run:
tar -zxf netcdf-3.6.3.tar.gz
./configure --prefix=`pwd`
make
make install

These commands should compile the C and C++ interfaces for NetCDF and
skip
the Fortran interface that MET doesn't use.  It will install the
library in
current "netcdf-3.6.3" directory due to the --prefix=`pwd` option.

Next, you'll need to edit where you set MET_NETCDF to point to this
new
location, source your .cshrc or similiar file, and rebuild MET.

I just ran all of these steps and was able to get a successful build
and
install of METv5.0.

Please give this a try and let me know how it goes.

Thanks,
Julie

On Thu, Oct 9, 2014 at 1:28 AM, ashwinD12 . via RT <met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>
> Hi Julie,
>                I made some progress with some difficulty which is
expected.
> First of all there are *two* C++ NETCDF  libraries and I had to use
the
> legacy C++ NETCDF source code to build with MET 5.0. The netcdf.hh
file is
> NOT found in the latest C++ NETCDF interface but in the legacy
> distribution. It would be helpful if you could update the
documentation to
> reflect this.
> Then I did not have lex and yacc on my Ubuntu and I updated my
system to
> reflect that. Then I ran make install again and  here are the latest
error
> -
> make[4]: Nothing to be done for `install-exec-am'.
> make[4]: Nothing to be done for `install-data-am'.
> make[4]: Leaving directory
> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_afm'
> make[3]: Leaving directory
> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_afm'
> Making install in vx_color
> make[3]: Entering directory
> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_color'
> /bin/bash ../../../ylwrap color_scanner.ll .c color_scanner.cc -- :
> --prefix=color --outfile=lex.yy.c
> make[3]: *** [color_scanner.cc] Error 1
> make[3]: Leaving directory
> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_color'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory
> `/home/aswin/meteorology_project/met-5.0/src/libcode'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/aswin/meteorology_project/met-
5.0/src'
> make: *** [install-recursive] Error 1
>
>
>
> On Wed, Oct 8, 2014 at 8:13 PM, Julie Prestopnik via RT
<met_help at ucar.edu
> >
> wrote:
>
> > Hi Ashwin.  I agree. MET expects the C++ interface to be compiled.
> Please
> > try building and compiling NETCDF to include the C++ interface and
then
> > rebuild and recompile MET.  Please let me know how it turns out.
> >
> > Thanks,
> > Julie
> >
> > On Wed, Oct 8, 2014 at 7:51 AM, ashwinD12 . via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
> > >
> > > I am not at the machine where the problem is happening but I can
guess
> > > the root cause of the problem. When compiling NETCDF for WRF I
only
> > > compiled the C and FORTRAN libraries and not the C++ libraries.
So I
> > > will need to recompile NETCDF and this time compile for C++ as
well by
> > > specifying the environment variable CXX. I do not think there is
a
> > > file netcdf.hh under /usr/local/include. I will confirm this
tomorrow
> > > morning my time.
> > > Regards.
> > >
> > > On 10/8/14, Julie Prestopnik via RT <met_help at ucar.edu> wrote:
> > > > Great!  Thank you.  Can you please take a look in
MET_NETCDFINC
> > > > (/usr/local/
> > > > include) and tell me if you see netcdf.hh?
> > > >
> > > > Julie
> > > >
> > > > On Tue, Oct 7, 2014 at 11:18 PM, ashwinD12 . via RT <
> met_help at ucar.edu
> > >
> > > > wrote:
> > > >
> > > >>
> > > >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>
> > > >>
> > > >> Hi Julie, I am sending you the required information
> > > >>
> > > >> printenv | grep MET
> > > >>
> > > >> MET_GSLLIB=/usr/local/lib
> > > >> MET_GRIB2LIB=/usr/local/lib
> > > >> MET_GSLINC=/usr/local/include
> > > >> MET_NETCDFINC=/usr/local/include
> > > >> MET_NETCDFLIB=/usr/local/lib
> > > >>
> > > >> On Tue, Oct 7, 2014 at 8:52 PM, Julie Prestopnik via RT
> > > >> <met_help at ucar.edu
> > > >> >
> > > >> wrote:
> > > >>
> > > >> > Hi Ashwin.  I see you're still having problems with MET
finding
> > > >> netcdf.hh.
> > > >> >
> > > >> > Could you please run "printenv | grep MET" and send me the
output?
> > > >> >
> > > >> > Thank you.
> > > >> >
> > > >> > Julie
> > > >> >
> > > >> > On Tue, Oct 7, 2014 at 6:07 AM, ashwinD12 . via RT <
> > met_help at ucar.edu
> > > >
> > > >> > wrote:
> > > >> >
> > > >> > >
> > > >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
> > > >> > >
> > > >> > > Hello,
> > > >> > >             I apologize for the late response on this as
I have
> > > >> tracking
> > > >> > > another WRF problem. The problem still persists
> > > >> > > I first typed ./configure --prefix=`pwd` --enable-grib2
and then
> > > >> followed
> > > >> > > by make install and I got these 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_geodesy
> -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_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_shapedata
> > > >> > > -I../../../src/libcode/vx_statistics
> > > >> > > -I../../../src/libcode/vx_stat_out
> > > >> > > -I../../../src/libcode/vx_tc_util -I/usr/local/include
> > > >> > -I/usr/local/include
> > > >> > > -DBLOCK4 -DWITH_GRIB2
> > > >> > >
> -DMET_BASE="\"/home/aswin/meteorology_project/met-5.0/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
> > > >> > > In file included from nc_var_info.cc(24):
> > > >> > > nc_var_info.h(24): catastrophic error: cannot open source
file
> > > >> > "netcdf.hh"
> > > >> > >   #include <netcdf.hh>
> > > >> > >                       ^
> > > >> > >
> > > >> > > compilation aborted for nc_var_info.cc (code 4)
> > > >> > > make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 4
> > > >> > > make[3]: Leaving directory
> > > >> > > `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
> > > >> > > make[2]: *** [install-recursive] Error 1
> > > >> > > make[2]: Leaving directory
> > > >> > > `/home/aswin/meteorology_project/met-5.0/src/libcode'
> > > >> > > make[1]: *** [install-recursive] Error 1
> > > >> > > make[1]: Leaving directory
> > > >> > `/home/aswin/meteorology_project/met-5.0/src'ds.
> > > >> > > I first typed ./configure --prefix=`pwd` --enable-grib2
and then
> > > >> followed
> > > >> > > by make install and I got these messages -
> > > >> > >
> > > >> > >
> > > >> > > On Tue, Sep 16, 2014 at 9:28 PM, Julie Prestopnik via RT
<
> > > >> > > met_help at ucar.edu>
> > > >> > > wrote:
> > > >> > >
> > > >> > > > Hi Ashwin.
> > > >> > > >
> > > >> > > > Thanks for downloading the latest release of MET.  I
see that
> > > >> > > > you're
> > > >> > > > having  trouble configuring/compiling it.  We switched
over to
> > > >> > > > using
> > > >> > > > autoconf for  building MET version 5.0.  In previous
versions,
> > you
> > > >> > > edited a
> > > >> > > > file by hand and then typed "make".  Now, you run the
> configure
> > > >> script.
> > > >> > > > Please read  through the top-level met-5.0/README file
for
> > > >> instructions
> > > >> > > > about building MET.
> > > >> > > >
> > > >> > > > You can set several environment variables to tell the
> configure
> > > >> script
> > > >> > > > where to find the dependent libraries.  For example,
> MET_NETCDF
> > > >> > > > tells
> > > >> > it
> > > >> > > > where to find NetCDF.  nc_var_inco.cc should be looking
for
> > > >> netcdf.hh.
> > > >> > > > That's the include file for the C++ interface.  There
are many
> > > >> > different
> > > >> > > > ways of compiling NetCDF, and MET expects the C++
interface to
> > be
> > > >> > > > compiled.  There are some instructions for compiling
NetCDF
> for
> > > MET
> > > >> > here:
> > > >> > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> > >
> >
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
> > > >> > > >
> > > >> > > > Please take a look at the instructions for compiling
NetCDF
> for
> > > MET
> > > >> and
> > > >> > > at
> > > >> > > > the top-level met-5.0/README file for instructions
about
> > building
> > > >> > > > MET
> > > >> > and
> > > >> > > > let us know if you continue to experience problems.
> > > >> > > >
> > > >> > > > Thanks,
> > > >> > > > Julie
> > > >> > > >
> > > >> > > > On Mon, Sep 15, 2014 at 11:22 PM, ashwinD12 . via RT <
> > > >> > met_help at ucar.edu>
> > > >> > > > wrote:
> > > >> > > >
> > > >> > > > >
> > > >> > > > > Mon Sep 15 23:22:39 2014: Request 68987 was acted
upon.
> > > >> > > > > Transaction: Ticket created by winash12 at gmail.com
> > > >> > > > >        Queue: met_help
> > > >> > > > >      Subject: Not able to compile
> > > >> > > > >        Owner: Nobody
> > > >> > > > >   Requestors: winash12 at gmail.com
> > > >> > > > >       Status: new
> > > >> > > > >  Ticket <URL:
> > > >> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> > > >> > > >
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > Hello,
> > > >> > > > >            I downloaded the latest version and I am
unable
> to
> > > >> compile
> > > >> > > > this
> > > >> > > > > at all.
> > > >> > > > >
> > > >> > > > > Here are the errors - first it appears that there is
an
> error
> > in
> > > >> this
> > > >> > > > > directory - nc_var_inco.cc which includes netcdf.hh.
I
> believe
> > > it
> > > >> > > should
> > > >> > > > be
> > > >> > > > > netcdf.h. Please let me know if that is accurate or
not.
> When
> > I
> > > >> > > > > fix
> > > >> > > that
> > > >> > > > I
> > > >> > > > > get these errors -
> > > >> > > > >
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > Regards,
> > > >> > > > > Ashwin.
> > > >> > > > >
> > > >> > > > > make[3]: Entering directory
> > > >> > > > >
> > `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
> > > >> > > > > 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_geodesy
> > > >> > > > > -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_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_shapedata
> > > >> > > > > -I../../../src/libcode/vx_statistics
> > > >> > -I../../../src/libcode/vx_stat_out
> > > >> > > > > -I../../../src/libcode/vx_tc_util -DBLOCK4
-DWITH_GRIB2
> > > >> > > > > -DMET_BASE="\"/usr/local/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
> > > >> > > > > In file included from nc_var_info.cc(24):
> > > >> > > > > nc_var_info.h(24): catastrophic error: cannot open
source
> file
> > > >> > > > "netcdf.hh"
> > > >> > > > >   #include <netcdf.hh>
> > > >> > > > >                       ^
> > > >> > > > >
> > > >> > > > > compilation aborted for nc_var_info.cc (code 4)
> > > >> > > > > make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 4
> > > >> > > > > make[3]: Leaving directory
> > > >> > > > >
> > `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
> > > >> > > > > make[2]: *** [install-recursive] Error 1
> > > >> > > > > make[2]: Leaving directory
> > > >> > > > > `/home/aswin/meteorology_project/met-5.0/src/libcode'
> > > >> > > > > make[1]: *** [install-recursive] Error 1
> > > >> > > > > make[1]: Leaving directory
> > > >> > > `/home/aswin/meteorology_project/met-5.0/src'
> > > >> > > > > make: *** [install-recursive] Error 1
> > > >> > > > >
> > > >> > > > > Ashwin.
> > > >> > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > > >
> > > >> > > > --
> > > >> > > > Julie Prestopnik
> > > >> > > > National Center for Atmospheric Research
> > > >> > > > Research Applications Laboratory
> > > >> > > > Phone: 303.497.8399
> > > >> > > > Email: jpresto at ucar.edu
> > > >> > > >
> > > >> > > >
> > > >> > >
> > > >> > >
> > > >> >
> > > >> >
> > > >> > --
> > > >> > Julie Prestopnik
> > > >> > National Center for Atmospheric Research
> > > >> > Research Applications Laboratory
> > > >> > Phone: 303.497.8399
> > > >> > Email: jpresto at ucar.edu
> > > >> >
> > > >> >
> > > >>
> > > >>
> > > >
> > > >
> > > > --
> > > > Julie Prestopnik
> > > > National Center for Atmospheric Research
> > > > Research Applications Laboratory
> > > > Phone: 303.497.8399
> > > > Email: jpresto at ucar.edu
> > > >
> > > >
> > >
> > >
> >
> >
> > --
> > Julie Prestopnik
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
> >
>
>


--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu

------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #68987] Not able to compile
From: ashwinD12 .
Time: Thu Oct 09 16:56:59 2014

Hello Julie,
                 There is no problem with the netcdf build. I moved
past that point. Did you look at the error messages ? it is mentioning
that there is some problem with lex.yy.c.
Regards,
Ashwin.

On 10/9/14, Julie Prestopnik via RT <met_help at ucar.edu> wrote:
> Hi Ashwin.  I'm sorry to hear that you are still having some
difficulty in
> getting METv5.0 to build.
>
> I'd suggest downloading and compiling NetCDF locally using the
following
> steps:
>
> Download NetCDF 3.6.3 from here:
> http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-3.6.3.tar.gz
>
> Then run:
> tar -zxf netcdf-3.6.3.tar.gz
> ./configure --prefix=`pwd`
> make
> make install
>
> These commands should compile the C and C++ interfaces for NetCDF
and skip
> the Fortran interface that MET doesn't use.  It will install the
library in
> current "netcdf-3.6.3" directory due to the --prefix=`pwd` option.
>
> Next, you'll need to edit where you set MET_NETCDF to point to this
new
> location, source your .cshrc or similiar file, and rebuild MET.
>
> I just ran all of these steps and was able to get a successful build
and
> install of METv5.0.
>
> Please give this a try and let me know how it goes.
>
> Thanks,
> Julie
>
> On Thu, Oct 9, 2014 at 1:28 AM, ashwinD12 . via RT
<met_help at ucar.edu>
> wrote:
>
>>
>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>>
>> Hi Julie,
>>                I made some progress with some difficulty which is
>> expected.
>> First of all there are *two* C++ NETCDF  libraries and I had to use
the
>> legacy C++ NETCDF source code to build with MET 5.0. The netcdf.hh
file
>> is
>> NOT found in the latest C++ NETCDF interface but in the legacy
>> distribution. It would be helpful if you could update the
documentation
>> to
>> reflect this.
>> Then I did not have lex and yacc on my Ubuntu and I updated my
system to
>> reflect that. Then I ran make install again and  here are the
latest
>> error
>> -
>> make[4]: Nothing to be done for `install-exec-am'.
>> make[4]: Nothing to be done for `install-data-am'.
>> make[4]: Leaving directory
>> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_afm'
>> make[3]: Leaving directory
>> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_afm'
>> Making install in vx_color
>> make[3]: Entering directory
>> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_color'
>> /bin/bash ../../../ylwrap color_scanner.ll .c color_scanner.cc -- :
>> --prefix=color --outfile=lex.yy.c
>> make[3]: *** [color_scanner.cc] Error 1
>> make[3]: Leaving directory
>> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_color'
>> make[2]: *** [install-recursive] Error 1
>> make[2]: Leaving directory
>> `/home/aswin/meteorology_project/met-5.0/src/libcode'
>> make[1]: *** [install-recursive] Error 1
>> make[1]: Leaving directory `/home/aswin/meteorology_project/met-
5.0/src'
>> make: *** [install-recursive] Error 1
>>
>>
>>
>> On Wed, Oct 8, 2014 at 8:13 PM, Julie Prestopnik via RT
>> <met_help at ucar.edu
>> >
>> wrote:
>>
>> > Hi Ashwin.  I agree. MET expects the C++ interface to be
compiled.
>> Please
>> > try building and compiling NETCDF to include the C++ interface
and then
>> > rebuild and recompile MET.  Please let me know how it turns out.
>> >
>> > Thanks,
>> > Julie
>> >
>> > On Wed, Oct 8, 2014 at 7:51 AM, ashwinD12 . via RT
<met_help at ucar.edu>
>> > wrote:
>> >
>> > >
>> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>> > >
>> > > I am not at the machine where the problem is happening but I
can
>> > > guess
>> > > the root cause of the problem. When compiling NETCDF for WRF I
only
>> > > compiled the C and FORTRAN libraries and not the C++ libraries.
So I
>> > > will need to recompile NETCDF and this time compile for C++ as
well
>> > > by
>> > > specifying the environment variable CXX. I do not think there
is a
>> > > file netcdf.hh under /usr/local/include. I will confirm this
tomorrow
>> > > morning my time.
>> > > Regards.
>> > >
>> > > On 10/8/14, Julie Prestopnik via RT <met_help at ucar.edu> wrote:
>> > > > Great!  Thank you.  Can you please take a look in
MET_NETCDFINC
>> > > > (/usr/local/
>> > > > include) and tell me if you see netcdf.hh?
>> > > >
>> > > > Julie
>> > > >
>> > > > On Tue, Oct 7, 2014 at 11:18 PM, ashwinD12 . via RT <
>> met_help at ucar.edu
>> > >
>> > > > wrote:
>> > > >
>> > > >>
>> > > >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>> > > >>
>> > > >> Hi Julie, I am sending you the required information
>> > > >>
>> > > >> printenv | grep MET
>> > > >>
>> > > >> MET_GSLLIB=/usr/local/lib
>> > > >> MET_GRIB2LIB=/usr/local/lib
>> > > >> MET_GSLINC=/usr/local/include
>> > > >> MET_NETCDFINC=/usr/local/include
>> > > >> MET_NETCDFLIB=/usr/local/lib
>> > > >>
>> > > >> On Tue, Oct 7, 2014 at 8:52 PM, Julie Prestopnik via RT
>> > > >> <met_help at ucar.edu
>> > > >> >
>> > > >> wrote:
>> > > >>
>> > > >> > Hi Ashwin.  I see you're still having problems with MET
finding
>> > > >> netcdf.hh.
>> > > >> >
>> > > >> > Could you please run "printenv | grep MET" and send me the
>> > > >> > output?
>> > > >> >
>> > > >> > Thank you.
>> > > >> >
>> > > >> > Julie
>> > > >> >
>> > > >> > On Tue, Oct 7, 2014 at 6:07 AM, ashwinD12 . via RT <
>> > met_help at ucar.edu
>> > > >
>> > > >> > wrote:
>> > > >> >
>> > > >> > >
>> > > >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>> > > >> > > >
>> > > >> > >
>> > > >> > > Hello,
>> > > >> > >             I apologize for the late response on this as
I
>> > > >> > > have
>> > > >> tracking
>> > > >> > > another WRF problem. The problem still persists
>> > > >> > > I first typed ./configure --prefix=`pwd` --enable-grib2
and
>> > > >> > > then
>> > > >> followed
>> > > >> > > by make install and I got these 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_geodesy
>> -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_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_shapedata
>> > > >> > > -I../../../src/libcode/vx_statistics
>> > > >> > > -I../../../src/libcode/vx_stat_out
>> > > >> > > -I../../../src/libcode/vx_tc_util -I/usr/local/include
>> > > >> > -I/usr/local/include
>> > > >> > > -DBLOCK4 -DWITH_GRIB2
>> > > >> > >
>> -DMET_BASE="\"/home/aswin/meteorology_project/met-5.0/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
>> > > >> > > In file included from nc_var_info.cc(24):
>> > > >> > > nc_var_info.h(24): catastrophic error: cannot open
source file
>> > > >> > "netcdf.hh"
>> > > >> > >   #include <netcdf.hh>
>> > > >> > >                       ^
>> > > >> > >
>> > > >> > > compilation aborted for nc_var_info.cc (code 4)
>> > > >> > > make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 4
>> > > >> > > make[3]: Leaving directory
>> > > >> > > `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
>> > > >> > > make[2]: *** [install-recursive] Error 1
>> > > >> > > make[2]: Leaving directory
>> > > >> > > `/home/aswin/meteorology_project/met-5.0/src/libcode'
>> > > >> > > make[1]: *** [install-recursive] Error 1
>> > > >> > > make[1]: Leaving directory
>> > > >> > `/home/aswin/meteorology_project/met-5.0/src'ds.
>> > > >> > > I first typed ./configure --prefix=`pwd` --enable-grib2
and
>> > > >> > > then
>> > > >> followed
>> > > >> > > by make install and I got these messages -
>> > > >> > >
>> > > >> > >
>> > > >> > > On Tue, Sep 16, 2014 at 9:28 PM, Julie Prestopnik via RT
<
>> > > >> > > met_help at ucar.edu>
>> > > >> > > wrote:
>> > > >> > >
>> > > >> > > > Hi Ashwin.
>> > > >> > > >
>> > > >> > > > Thanks for downloading the latest release of MET.  I
see
>> > > >> > > > that
>> > > >> > > > you're
>> > > >> > > > having  trouble configuring/compiling it.  We switched
over
>> > > >> > > > to
>> > > >> > > > using
>> > > >> > > > autoconf for  building MET version 5.0.  In previous
>> > > >> > > > versions,
>> > you
>> > > >> > > edited a
>> > > >> > > > file by hand and then typed "make".  Now, you run the
>> configure
>> > > >> script.
>> > > >> > > > Please read  through the top-level met-5.0/README file
for
>> > > >> instructions
>> > > >> > > > about building MET.
>> > > >> > > >
>> > > >> > > > You can set several environment variables to tell the
>> configure
>> > > >> script
>> > > >> > > > where to find the dependent libraries.  For example,
>> MET_NETCDF
>> > > >> > > > tells
>> > > >> > it
>> > > >> > > > where to find NetCDF.  nc_var_inco.cc should be
looking for
>> > > >> netcdf.hh.
>> > > >> > > > That's the include file for the C++ interface.  There
are
>> > > >> > > > many
>> > > >> > different
>> > > >> > > > ways of compiling NetCDF, and MET expects the C++
interface
>> > > >> > > > to
>> > be
>> > > >> > > > compiled.  There are some instructions for compiling
NetCDF
>> for
>> > > MET
>> > > >> > here:
>> > > >> > > >
>> > > >> > > >
>> > > >> > >
>> > > >> >
>> > > >>
>> > >
>> >
>>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
>> > > >> > > >
>> > > >> > > > Please take a look at the instructions for compiling
NetCDF
>> for
>> > > MET
>> > > >> and
>> > > >> > > at
>> > > >> > > > the top-level met-5.0/README file for instructions
about
>> > building
>> > > >> > > > MET
>> > > >> > and
>> > > >> > > > let us know if you continue to experience problems.
>> > > >> > > >
>> > > >> > > > Thanks,
>> > > >> > > > Julie
>> > > >> > > >
>> > > >> > > > On Mon, Sep 15, 2014 at 11:22 PM, ashwinD12 . via RT <
>> > > >> > met_help at ucar.edu>
>> > > >> > > > wrote:
>> > > >> > > >
>> > > >> > > > >
>> > > >> > > > > Mon Sep 15 23:22:39 2014: Request 68987 was acted
upon.
>> > > >> > > > > Transaction: Ticket created by winash12 at gmail.com
>> > > >> > > > >        Queue: met_help
>> > > >> > > > >      Subject: Not able to compile
>> > > >> > > > >        Owner: Nobody
>> > > >> > > > >   Requestors: winash12 at gmail.com
>> > > >> > > > >       Status: new
>> > > >> > > > >  Ticket <URL:
>> > > >> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>> > > >> > > >
>> > > >> > > > >
>> > > >> > > > >
>> > > >> > > > > Hello,
>> > > >> > > > >            I downloaded the latest version and I am
unable
>> to
>> > > >> compile
>> > > >> > > > this
>> > > >> > > > > at all.
>> > > >> > > > >
>> > > >> > > > > Here are the errors - first it appears that there is
an
>> error
>> > in
>> > > >> this
>> > > >> > > > > directory - nc_var_inco.cc which includes netcdf.hh.
I
>> believe
>> > > it
>> > > >> > > should
>> > > >> > > > be
>> > > >> > > > > netcdf.h. Please let me know if that is accurate or
not.
>> When
>> > I
>> > > >> > > > > fix
>> > > >> > > that
>> > > >> > > > I
>> > > >> > > > > get these errors -
>> > > >> > > > >
>> > > >> > > > >
>> > > >> > > > >
>> > > >> > > > > Regards,
>> > > >> > > > > Ashwin.
>> > > >> > > > >
>> > > >> > > > > make[3]: Entering directory
>> > > >> > > > >
>> > `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
>> > > >> > > > > 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_geodesy
>> > > >> > > > > -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_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_shapedata
>> > > >> > > > > -I../../../src/libcode/vx_statistics
>> > > >> > -I../../../src/libcode/vx_stat_out
>> > > >> > > > > -I../../../src/libcode/vx_tc_util -DBLOCK4
-DWITH_GRIB2
>> > > >> > > > > -DMET_BASE="\"/usr/local/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
>> > > >> > > > > In file included from nc_var_info.cc(24):
>> > > >> > > > > nc_var_info.h(24): catastrophic error: cannot open
source
>> file
>> > > >> > > > "netcdf.hh"
>> > > >> > > > >   #include <netcdf.hh>
>> > > >> > > > >                       ^
>> > > >> > > > >
>> > > >> > > > > compilation aborted for nc_var_info.cc (code 4)
>> > > >> > > > > make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 4
>> > > >> > > > > make[3]: Leaving directory
>> > > >> > > > >
>> > `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
>> > > >> > > > > make[2]: *** [install-recursive] Error 1
>> > > >> > > > > make[2]: Leaving directory
>> > > >> > > > > `/home/aswin/meteorology_project/met-
5.0/src/libcode'
>> > > >> > > > > make[1]: *** [install-recursive] Error 1
>> > > >> > > > > make[1]: Leaving directory
>> > > >> > > `/home/aswin/meteorology_project/met-5.0/src'
>> > > >> > > > > make: *** [install-recursive] Error 1
>> > > >> > > > >
>> > > >> > > > > Ashwin.
>> > > >> > > > >
>> > > >> > > > >
>> > > >> > > >
>> > > >> > > >
>> > > >> > > > --
>> > > >> > > > Julie Prestopnik
>> > > >> > > > National Center for Atmospheric Research
>> > > >> > > > Research Applications Laboratory
>> > > >> > > > Phone: 303.497.8399
>> > > >> > > > Email: jpresto at ucar.edu
>> > > >> > > >
>> > > >> > > >
>> > > >> > >
>> > > >> > >
>> > > >> >
>> > > >> >
>> > > >> > --
>> > > >> > Julie Prestopnik
>> > > >> > National Center for Atmospheric Research
>> > > >> > Research Applications Laboratory
>> > > >> > Phone: 303.497.8399
>> > > >> > Email: jpresto at ucar.edu
>> > > >> >
>> > > >> >
>> > > >>
>> > > >>
>> > > >
>> > > >
>> > > > --
>> > > > Julie Prestopnik
>> > > > National Center for Atmospheric Research
>> > > > Research Applications Laboratory
>> > > > Phone: 303.497.8399
>> > > > Email: jpresto at ucar.edu
>> > > >
>> > > >
>> > >
>> > >
>> >
>> >
>> > --
>> > Julie Prestopnik
>> > National Center for Atmospheric Research
>> > Research Applications Laboratory
>> > Phone: 303.497.8399
>> > Email: jpresto at ucar.edu
>> >
>> >
>>
>>
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
>

------------------------------------------------
Subject: Not able to compile
From: John Halley Gotway
Time: Mon Oct 13 15:03:23 2014

Hello Ashwin,

This is John Halley Gotway.  I work with Julie, but she's out of the
office
today.  I took a look at this issue and think I've uncovered the
problem.
And it's a problem on our end, not yours.  Here's what I'd like you to
try...

Copy the three attached files (color_scanner.cc, Makefile.in, and
Makefile.am) into this directory:
   met-5.0/src/libcode/vx_color

Then rerun "configure" and "make install".  Please let me know if this
resolves the error with lex.yy.c you were getting.

In met-5.0, we switched over to building MET using autoconf.  The MET
code
uses flex and bison (lex and yacc) to parse data files in a few
places, but
our intention is to run those tools here during the process of
building a
release.  I think the vx_color Makefile was removing the output of
flex and
then trying to rebuild it by calling flex.  And there's probably an
inconsistency between the version of flex we use here and the one on
your
machine.

Please do let me know if that resolves the problem.  Once we get a
good fix
for this issue, we'll post a patch on the known issue page for MET.

Sorry for trouble, but thanks for helping us debug this issue!

John Halley Gotway
met_help at ucar.edu


On Thu, Oct 9, 2014 at 4:56 PM, ashwinD12 . via RT <met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>
> Hello Julie,
>                  There is no problem with the netcdf build. I moved
> past that point. Did you look at the error messages ? it is
mentioning
> that there is some problem with lex.yy.c.
> Regards,
> Ashwin.
>
> On 10/9/14, Julie Prestopnik via RT <met_help at ucar.edu> wrote:
> > Hi Ashwin.  I'm sorry to hear that you are still having some
difficulty
> in
> > getting METv5.0 to build.
> >
> > I'd suggest downloading and compiling NetCDF locally using the
following
> > steps:
> >
> > Download NetCDF 3.6.3 from here:
> > http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-
3.6.3.tar.gz
> >
> > Then run:
> > tar -zxf netcdf-3.6.3.tar.gz
> > ./configure --prefix=`pwd`
> > make
> > make install
> >
> > These commands should compile the C and C++ interfaces for NetCDF
and
> skip
> > the Fortran interface that MET doesn't use.  It will install the
library
> in
> > current "netcdf-3.6.3" directory due to the --prefix=`pwd` option.
> >
> > Next, you'll need to edit where you set MET_NETCDF to point to
this new
> > location, source your .cshrc or similiar file, and rebuild MET.
> >
> > I just ran all of these steps and was able to get a successful
build and
> > install of METv5.0.
> >
> > Please give this a try and let me know how it goes.
> >
> > Thanks,
> > Julie
> >
> > On Thu, Oct 9, 2014 at 1:28 AM, ashwinD12 . via RT
<met_help at ucar.edu>
> > wrote:
> >
> >>
> >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
> >>
> >> Hi Julie,
> >>                I made some progress with some difficulty which is
> >> expected.
> >> First of all there are *two* C++ NETCDF  libraries and I had to
use the
> >> legacy C++ NETCDF source code to build with MET 5.0. The
netcdf.hh file
> >> is
> >> NOT found in the latest C++ NETCDF interface but in the legacy
> >> distribution. It would be helpful if you could update the
documentation
> >> to
> >> reflect this.
> >> Then I did not have lex and yacc on my Ubuntu and I updated my
system to
> >> reflect that. Then I ran make install again and  here are the
latest
> >> error
> >> -
> >> make[4]: Nothing to be done for `install-exec-am'.
> >> make[4]: Nothing to be done for `install-data-am'.
> >> make[4]: Leaving directory
> >> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_afm'
> >> make[3]: Leaving directory
> >> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_afm'
> >> Making install in vx_color
> >> make[3]: Entering directory
> >> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_color'
> >> /bin/bash ../../../ylwrap color_scanner.ll .c color_scanner.cc --
:
> >> --prefix=color --outfile=lex.yy.c
> >> make[3]: *** [color_scanner.cc] Error 1
> >> make[3]: Leaving directory
> >> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_color'
> >> make[2]: *** [install-recursive] Error 1
> >> make[2]: Leaving directory
> >> `/home/aswin/meteorology_project/met-5.0/src/libcode'
> >> make[1]: *** [install-recursive] Error 1
> >> make[1]: Leaving directory `/home/aswin/meteorology_project/met-
5.0/src'
> >> make: *** [install-recursive] Error 1
> >>
> >>
> >>
> >> On Wed, Oct 8, 2014 at 8:13 PM, Julie Prestopnik via RT
> >> <met_help at ucar.edu
> >> >
> >> wrote:
> >>
> >> > Hi Ashwin.  I agree. MET expects the C++ interface to be
compiled.
> >> Please
> >> > try building and compiling NETCDF to include the C++ interface
and
> then
> >> > rebuild and recompile MET.  Please let me know how it turns
out.
> >> >
> >> > Thanks,
> >> > Julie
> >> >
> >> > On Wed, Oct 8, 2014 at 7:51 AM, ashwinD12 . via RT
<met_help at ucar.edu
> >
> >> > wrote:
> >> >
> >> > >
> >> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>
> >> > >
> >> > > I am not at the machine where the problem is happening but I
can
> >> > > guess
> >> > > the root cause of the problem. When compiling NETCDF for WRF
I  only
> >> > > compiled the C and FORTRAN libraries and not the C++
libraries. So I
> >> > > will need to recompile NETCDF and this time compile for C++
as well
> >> > > by
> >> > > specifying the environment variable CXX. I do not think there
is a
> >> > > file netcdf.hh under /usr/local/include. I will confirm this
> tomorrow
> >> > > morning my time.
> >> > > Regards.
> >> > >
> >> > > On 10/8/14, Julie Prestopnik via RT <met_help at ucar.edu>
wrote:
> >> > > > Great!  Thank you.  Can you please take a look in
MET_NETCDFINC
> >> > > > (/usr/local/
> >> > > > include) and tell me if you see netcdf.hh?
> >> > > >
> >> > > > Julie
> >> > > >
> >> > > > On Tue, Oct 7, 2014 at 11:18 PM, ashwinD12 . via RT <
> >> met_help at ucar.edu
> >> > >
> >> > > > wrote:
> >> > > >
> >> > > >>
> >> > > >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
> >> > > >>
> >> > > >> Hi Julie, I am sending you the required information
> >> > > >>
> >> > > >> printenv | grep MET
> >> > > >>
> >> > > >> MET_GSLLIB=/usr/local/lib
> >> > > >> MET_GRIB2LIB=/usr/local/lib
> >> > > >> MET_GSLINC=/usr/local/include
> >> > > >> MET_NETCDFINC=/usr/local/include
> >> > > >> MET_NETCDFLIB=/usr/local/lib
> >> > > >>
> >> > > >> On Tue, Oct 7, 2014 at 8:52 PM, Julie Prestopnik via RT
> >> > > >> <met_help at ucar.edu
> >> > > >> >
> >> > > >> wrote:
> >> > > >>
> >> > > >> > Hi Ashwin.  I see you're still having problems with MET
finding
> >> > > >> netcdf.hh.
> >> > > >> >
> >> > > >> > Could you please run "printenv | grep MET" and send me
the
> >> > > >> > output?
> >> > > >> >
> >> > > >> > Thank you.
> >> > > >> >
> >> > > >> > Julie
> >> > > >> >
> >> > > >> > On Tue, Oct 7, 2014 at 6:07 AM, ashwinD12 . via RT <
> >> > met_help at ucar.edu
> >> > > >
> >> > > >> > wrote:
> >> > > >> >
> >> > > >> > >
> >> > > >> > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> >> > > >> > > >
> >> > > >> > >
> >> > > >> > > Hello,
> >> > > >> > >             I apologize for the late response on this
as I
> >> > > >> > > have
> >> > > >> tracking
> >> > > >> > > another WRF problem. The problem still persists
> >> > > >> > > I first typed ./configure --prefix=`pwd` --enable-
grib2 and
> >> > > >> > > then
> >> > > >> followed
> >> > > >> > > by make install and I got these 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_geodesy
> >> -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_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_shapedata
> >> > > >> > > -I../../../src/libcode/vx_statistics
> >> > > >> > > -I../../../src/libcode/vx_stat_out
> >> > > >> > > -I../../../src/libcode/vx_tc_util -I/usr/local/include
> >> > > >> > -I/usr/local/include
> >> > > >> > > -DBLOCK4 -DWITH_GRIB2
> >> > > >> > >
> >> -DMET_BASE="\"/home/aswin/meteorology_project/met-
5.0/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
> >> > > >> > > In file included from nc_var_info.cc(24):
> >> > > >> > > nc_var_info.h(24): catastrophic error: cannot open
source
> file
> >> > > >> > "netcdf.hh"
> >> > > >> > >   #include <netcdf.hh>
> >> > > >> > >                       ^
> >> > > >> > >
> >> > > >> > > compilation aborted for nc_var_info.cc (code 4)
> >> > > >> > > make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 4
> >> > > >> > > make[3]: Leaving directory
> >> > > >> > >
> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
> >> > > >> > > make[2]: *** [install-recursive] Error 1
> >> > > >> > > make[2]: Leaving directory
> >> > > >> > > `/home/aswin/meteorology_project/met-5.0/src/libcode'
> >> > > >> > > make[1]: *** [install-recursive] Error 1
> >> > > >> > > make[1]: Leaving directory
> >> > > >> > `/home/aswin/meteorology_project/met-5.0/src'ds.
> >> > > >> > > I first typed ./configure --prefix=`pwd` --enable-
grib2 and
> >> > > >> > > then
> >> > > >> followed
> >> > > >> > > by make install and I got these messages -
> >> > > >> > >
> >> > > >> > >
> >> > > >> > > On Tue, Sep 16, 2014 at 9:28 PM, Julie Prestopnik via
RT <
> >> > > >> > > met_help at ucar.edu>
> >> > > >> > > wrote:
> >> > > >> > >
> >> > > >> > > > Hi Ashwin.
> >> > > >> > > >
> >> > > >> > > > Thanks for downloading the latest release of MET.  I
see
> >> > > >> > > > that
> >> > > >> > > > you're
> >> > > >> > > > having  trouble configuring/compiling it.  We
switched over
> >> > > >> > > > to
> >> > > >> > > > using
> >> > > >> > > > autoconf for  building MET version 5.0.  In previous
> >> > > >> > > > versions,
> >> > you
> >> > > >> > > edited a
> >> > > >> > > > file by hand and then typed "make".  Now, you run
the
> >> configure
> >> > > >> script.
> >> > > >> > > > Please read  through the top-level met-5.0/README
file for
> >> > > >> instructions
> >> > > >> > > > about building MET.
> >> > > >> > > >
> >> > > >> > > > You can set several environment variables to tell
the
> >> configure
> >> > > >> script
> >> > > >> > > > where to find the dependent libraries.  For example,
> >> MET_NETCDF
> >> > > >> > > > tells
> >> > > >> > it
> >> > > >> > > > where to find NetCDF.  nc_var_inco.cc should be
looking for
> >> > > >> netcdf.hh.
> >> > > >> > > > That's the include file for the C++ interface.
There are
> >> > > >> > > > many
> >> > > >> > different
> >> > > >> > > > ways of compiling NetCDF, and MET expects the C++
interface
> >> > > >> > > > to
> >> > be
> >> > > >> > > > compiled.  There are some instructions for compiling
NetCDF
> >> for
> >> > > MET
> >> > > >> > here:
> >> > > >> > > >
> >> > > >> > > >
> >> > > >> > >
> >> > > >> >
> >> > > >>
> >> > >
> >> >
> >>
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
> >> > > >> > > >
> >> > > >> > > > Please take a look at the instructions for compiling
NetCDF
> >> for
> >> > > MET
> >> > > >> and
> >> > > >> > > at
> >> > > >> > > > the top-level met-5.0/README file for instructions
about
> >> > building
> >> > > >> > > > MET
> >> > > >> > and
> >> > > >> > > > let us know if you continue to experience problems.
> >> > > >> > > >
> >> > > >> > > > Thanks,
> >> > > >> > > > Julie
> >> > > >> > > >
> >> > > >> > > > On Mon, Sep 15, 2014 at 11:22 PM, ashwinD12 . via RT
<
> >> > > >> > met_help at ucar.edu>
> >> > > >> > > > wrote:
> >> > > >> > > >
> >> > > >> > > > >
> >> > > >> > > > > Mon Sep 15 23:22:39 2014: Request 68987 was acted
upon.
> >> > > >> > > > > Transaction: Ticket created by winash12 at gmail.com
> >> > > >> > > > >        Queue: met_help
> >> > > >> > > > >      Subject: Not able to compile
> >> > > >> > > > >        Owner: Nobody
> >> > > >> > > > >   Requestors: winash12 at gmail.com
> >> > > >> > > > >       Status: new
> >> > > >> > > > >  Ticket <URL:
> >> > > >> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> >> > > >> > > >
> >> > > >> > > > >
> >> > > >> > > > >
> >> > > >> > > > > Hello,
> >> > > >> > > > >            I downloaded the latest version and I
am
> unable
> >> to
> >> > > >> compile
> >> > > >> > > > this
> >> > > >> > > > > at all.
> >> > > >> > > > >
> >> > > >> > > > > Here are the errors - first it appears that there
is an
> >> error
> >> > in
> >> > > >> this
> >> > > >> > > > > directory - nc_var_inco.cc which includes
netcdf.hh. I
> >> believe
> >> > > it
> >> > > >> > > should
> >> > > >> > > > be
> >> > > >> > > > > netcdf.h. Please let me know if that is accurate
or not.
> >> When
> >> > I
> >> > > >> > > > > fix
> >> > > >> > > that
> >> > > >> > > > I
> >> > > >> > > > > get these errors -
> >> > > >> > > > >
> >> > > >> > > > >
> >> > > >> > > > >
> >> > > >> > > > > Regards,
> >> > > >> > > > > Ashwin.
> >> > > >> > > > >
> >> > > >> > > > > make[3]: Entering directory
> >> > > >> > > > >
> >> > `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
> >> > > >> > > > > 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_geodesy
> >> > > >> > > > > -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_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_shapedata
> >> > > >> > > > > -I../../../src/libcode/vx_statistics
> >> > > >> > -I../../../src/libcode/vx_stat_out
> >> > > >> > > > > -I../../../src/libcode/vx_tc_util -DBLOCK4
-DWITH_GRIB2
> >> > > >> > > > > -DMET_BASE="\"/usr/local/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
> >> > > >> > > > > In file included from nc_var_info.cc(24):
> >> > > >> > > > > nc_var_info.h(24): catastrophic error: cannot open
source
> >> file
> >> > > >> > > > "netcdf.hh"
> >> > > >> > > > >   #include <netcdf.hh>
> >> > > >> > > > >                       ^
> >> > > >> > > > >
> >> > > >> > > > > compilation aborted for nc_var_info.cc (code 4)
> >> > > >> > > > > make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error
4
> >> > > >> > > > > make[3]: Leaving directory
> >> > > >> > > > >
> >> > `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
> >> > > >> > > > > make[2]: *** [install-recursive] Error 1
> >> > > >> > > > > make[2]: Leaving directory
> >> > > >> > > > > `/home/aswin/meteorology_project/met-
5.0/src/libcode'
> >> > > >> > > > > make[1]: *** [install-recursive] Error 1
> >> > > >> > > > > make[1]: Leaving directory
> >> > > >> > > `/home/aswin/meteorology_project/met-5.0/src'
> >> > > >> > > > > make: *** [install-recursive] Error 1
> >> > > >> > > > >
> >> > > >> > > > > Ashwin.
> >> > > >> > > > >
> >> > > >> > > > >
> >> > > >> > > >
> >> > > >> > > >
> >> > > >> > > > --
> >> > > >> > > > Julie Prestopnik
> >> > > >> > > > National Center for Atmospheric Research
> >> > > >> > > > Research Applications Laboratory
> >> > > >> > > > Phone: 303.497.8399
> >> > > >> > > > Email: jpresto at ucar.edu
> >> > > >> > > >
> >> > > >> > > >
> >> > > >> > >
> >> > > >> > >
> >> > > >> >
> >> > > >> >
> >> > > >> > --
> >> > > >> > Julie Prestopnik
> >> > > >> > National Center for Atmospheric Research
> >> > > >> > Research Applications Laboratory
> >> > > >> > Phone: 303.497.8399
> >> > > >> > Email: jpresto at ucar.edu
> >> > > >> >
> >> > > >> >
> >> > > >>
> >> > > >>
> >> > > >
> >> > > >
> >> > > > --
> >> > > > Julie Prestopnik
> >> > > > National Center for Atmospheric Research
> >> > > > Research Applications Laboratory
> >> > > > Phone: 303.497.8399
> >> > > > Email: jpresto at ucar.edu
> >> > > >
> >> > > >
> >> > >
> >> > >
> >> >
> >> >
> >> > --
> >> > Julie Prestopnik
> >> > National Center for Atmospheric Research
> >> > Research Applications Laboratory
> >> > Phone: 303.497.8399
> >> > Email: jpresto at ucar.edu
> >> >
> >> >
> >>
> >>
> >
> >
> > --
> > Julie Prestopnik
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
> >
>
>

------------------------------------------------
Subject: Not able to compile
From: John Halley Gotway
Time: Tue Oct 14 14:58:16 2014

Ashwin,

I just posted the first set of patches for the met-5.0 release, and
they
include this fix.  Please follow the instructions posted here to
download
and apply the latest set of patches:
   http://www.dtcenter.org/met/users/support/known_issues/METv5.0/index.php

Please let me know if you continue to experience problems with MET.

Thanks,
John Halley Gotway
met_help at ucar.edu

On Mon, Oct 13, 2014 at 3:02 PM, John Halley Gotway <johnhg at ucar.edu>
wrote:

> Hello Ashwin,
>
> This is John Halley Gotway.  I work with Julie, but she's out of the
> office today.  I took a look at this issue and think I've uncovered
the
> problem.  And it's a problem on our end, not yours.  Here's what I'd
like
> you to try...
>
> Copy the three attached files (color_scanner.cc, Makefile.in, and
> Makefile.am) into this directory:
>    met-5.0/src/libcode/vx_color
>
> Then rerun "configure" and "make install".  Please let me know if
this
> resolves the error with lex.yy.c you were getting.
>
> In met-5.0, we switched over to building MET using autoconf.  The
MET code
> uses flex and bison (lex and yacc) to parse data files in a few
places, but
> our intention is to run those tools here during the process of
building a
> release.  I think the vx_color Makefile was removing the output of
flex and
> then trying to rebuild it by calling flex.  And there's probably an
> inconsistency between the version of flex we use here and the one on
your
> machine.
>
> Please do let me know if that resolves the problem.  Once we get a
good
> fix for this issue, we'll post a patch on the known issue page for
MET.
>
> Sorry for trouble, but thanks for helping us debug this issue!
>
> John Halley Gotway
> met_help at ucar.edu
>
>
>
> On Thu, Oct 9, 2014 at 4:56 PM, ashwinD12 . via RT
<met_help at ucar.edu>
> wrote:
>
>>
>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>>
>> Hello Julie,
>>                  There is no problem with the netcdf build. I moved
>> past that point. Did you look at the error messages ? it is
mentioning
>> that there is some problem with lex.yy.c.
>> Regards,
>> Ashwin.
>>
>> On 10/9/14, Julie Prestopnik via RT <met_help at ucar.edu> wrote:
>> > Hi Ashwin.  I'm sorry to hear that you are still having some
difficulty
>> in
>> > getting METv5.0 to build.
>> >
>> > I'd suggest downloading and compiling NetCDF locally using the
following
>> > steps:
>> >
>> > Download NetCDF 3.6.3 from here:
>> > http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-
3.6.3.tar.gz
>> >
>> > Then run:
>> > tar -zxf netcdf-3.6.3.tar.gz
>> > ./configure --prefix=`pwd`
>> > make
>> > make install
>> >
>> > These commands should compile the C and C++ interfaces for NetCDF
and
>> skip
>> > the Fortran interface that MET doesn't use.  It will install the
>> library in
>> > current "netcdf-3.6.3" directory due to the --prefix=`pwd`
option.
>> >
>> > Next, you'll need to edit where you set MET_NETCDF to point to
this new
>> > location, source your .cshrc or similiar file, and rebuild MET.
>> >
>> > I just ran all of these steps and was able to get a successful
build and
>> > install of METv5.0.
>> >
>> > Please give this a try and let me know how it goes.
>> >
>> > Thanks,
>> > Julie
>> >
>> > On Thu, Oct 9, 2014 at 1:28 AM, ashwinD12 . via RT
<met_help at ucar.edu>
>> > wrote:
>> >
>> >>
>> >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>> >>
>> >> Hi Julie,
>> >>                I made some progress with some difficulty which
is
>> >> expected.
>> >> First of all there are *two* C++ NETCDF  libraries and I had to
use the
>> >> legacy C++ NETCDF source code to build with MET 5.0. The
netcdf.hh file
>> >> is
>> >> NOT found in the latest C++ NETCDF interface but in the legacy
>> >> distribution. It would be helpful if you could update the
documentation
>> >> to
>> >> reflect this.
>> >> Then I did not have lex and yacc on my Ubuntu and I updated my
system
>> to
>> >> reflect that. Then I ran make install again and  here are the
latest
>> >> error
>> >> -
>> >> make[4]: Nothing to be done for `install-exec-am'.
>> >> make[4]: Nothing to be done for `install-data-am'.
>> >> make[4]: Leaving directory
>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_afm'
>> >> make[3]: Leaving directory
>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_afm'
>> >> Making install in vx_color
>> >> make[3]: Entering directory
>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_color'
>> >> /bin/bash ../../../ylwrap color_scanner.ll .c color_scanner.cc
-- :
>> >> --prefix=color --outfile=lex.yy.c
>> >> make[3]: *** [color_scanner.cc] Error 1
>> >> make[3]: Leaving directory
>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_color'
>> >> make[2]: *** [install-recursive] Error 1
>> >> make[2]: Leaving directory
>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode'
>> >> make[1]: *** [install-recursive] Error 1
>> >> make[1]: Leaving directory
>> `/home/aswin/meteorology_project/met-5.0/src'
>> >> make: *** [install-recursive] Error 1
>> >>
>> >>
>> >>
>> >> On Wed, Oct 8, 2014 at 8:13 PM, Julie Prestopnik via RT
>> >> <met_help at ucar.edu
>> >> >
>> >> wrote:
>> >>
>> >> > Hi Ashwin.  I agree. MET expects the C++ interface to be
compiled.
>> >> Please
>> >> > try building and compiling NETCDF to include the C++ interface
and
>> then
>> >> > rebuild and recompile MET.  Please let me know how it turns
out.
>> >> >
>> >> > Thanks,
>> >> > Julie
>> >> >
>> >> > On Wed, Oct 8, 2014 at 7:51 AM, ashwinD12 . via RT <
>> met_help at ucar.edu>
>> >> > wrote:
>> >> >
>> >> > >
>> >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>> >> > >
>> >> > > I am not at the machine where the problem is happening but I
can
>> >> > > guess
>> >> > > the root cause of the problem. When compiling NETCDF for WRF
I
>> only
>> >> > > compiled the C and FORTRAN libraries and not the C++
libraries. So
>> I
>> >> > > will need to recompile NETCDF and this time compile for C++
as well
>> >> > > by
>> >> > > specifying the environment variable CXX. I do not think
there is a
>> >> > > file netcdf.hh under /usr/local/include. I will confirm this
>> tomorrow
>> >> > > morning my time.
>> >> > > Regards.
>> >> > >
>> >> > > On 10/8/14, Julie Prestopnik via RT <met_help at ucar.edu>
wrote:
>> >> > > > Great!  Thank you.  Can you please take a look in
MET_NETCDFINC
>> >> > > > (/usr/local/
>> >> > > > include) and tell me if you see netcdf.hh?
>> >> > > >
>> >> > > > Julie
>> >> > > >
>> >> > > > On Tue, Oct 7, 2014 at 11:18 PM, ashwinD12 . via RT <
>> >> met_help at ucar.edu
>> >> > >
>> >> > > > wrote:
>> >> > > >
>> >> > > >>
>> >> > > >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>> >> > > >>
>> >> > > >> Hi Julie, I am sending you the required information
>> >> > > >>
>> >> > > >> printenv | grep MET
>> >> > > >>
>> >> > > >> MET_GSLLIB=/usr/local/lib
>> >> > > >> MET_GRIB2LIB=/usr/local/lib
>> >> > > >> MET_GSLINC=/usr/local/include
>> >> > > >> MET_NETCDFINC=/usr/local/include
>> >> > > >> MET_NETCDFLIB=/usr/local/lib
>> >> > > >>
>> >> > > >> On Tue, Oct 7, 2014 at 8:52 PM, Julie Prestopnik via RT
>> >> > > >> <met_help at ucar.edu
>> >> > > >> >
>> >> > > >> wrote:
>> >> > > >>
>> >> > > >> > Hi Ashwin.  I see you're still having problems with MET
>> finding
>> >> > > >> netcdf.hh.
>> >> > > >> >
>> >> > > >> > Could you please run "printenv | grep MET" and send me
the
>> >> > > >> > output?
>> >> > > >> >
>> >> > > >> > Thank you.
>> >> > > >> >
>> >> > > >> > Julie
>> >> > > >> >
>> >> > > >> > On Tue, Oct 7, 2014 at 6:07 AM, ashwinD12 . via RT <
>> >> > met_help at ucar.edu
>> >> > > >
>> >> > > >> > wrote:
>> >> > > >> >
>> >> > > >> > >
>> >> > > >> > > <URL:
>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>> >> > > >> > > >
>> >> > > >> > >
>> >> > > >> > > Hello,
>> >> > > >> > >             I apologize for the late response on this
as I
>> >> > > >> > > have
>> >> > > >> tracking
>> >> > > >> > > another WRF problem. The problem still persists
>> >> > > >> > > I first typed ./configure --prefix=`pwd` --enable-
grib2 and
>> >> > > >> > > then
>> >> > > >> followed
>> >> > > >> > > by make install and I got these 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_geodesy
>> >> -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_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_shapedata
>> >> > > >> > > -I../../../src/libcode/vx_statistics
>> >> > > >> > > -I../../../src/libcode/vx_stat_out
>> >> > > >> > > -I../../../src/libcode/vx_tc_util
-I/usr/local/include
>> >> > > >> > -I/usr/local/include
>> >> > > >> > > -DBLOCK4 -DWITH_GRIB2
>> >> > > >> > >
>> >> -DMET_BASE="\"/home/aswin/meteorology_project/met-
5.0/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
>> >> > > >> > > In file included from nc_var_info.cc(24):
>> >> > > >> > > nc_var_info.h(24): catastrophic error: cannot open
source
>> file
>> >> > > >> > "netcdf.hh"
>> >> > > >> > >   #include <netcdf.hh>
>> >> > > >> > >                       ^
>> >> > > >> > >
>> >> > > >> > > compilation aborted for nc_var_info.cc (code 4)
>> >> > > >> > > make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 4
>> >> > > >> > > make[3]: Leaving directory
>> >> > > >> > >
>> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
>> >> > > >> > > make[2]: *** [install-recursive] Error 1
>> >> > > >> > > make[2]: Leaving directory
>> >> > > >> > > `/home/aswin/meteorology_project/met-5.0/src/libcode'
>> >> > > >> > > make[1]: *** [install-recursive] Error 1
>> >> > > >> > > make[1]: Leaving directory
>> >> > > >> > `/home/aswin/meteorology_project/met-5.0/src'ds.
>> >> > > >> > > I first typed ./configure --prefix=`pwd` --enable-
grib2 and
>> >> > > >> > > then
>> >> > > >> followed
>> >> > > >> > > by make install and I got these messages -
>> >> > > >> > >
>> >> > > >> > >
>> >> > > >> > > On Tue, Sep 16, 2014 at 9:28 PM, Julie Prestopnik via
RT <
>> >> > > >> > > met_help at ucar.edu>
>> >> > > >> > > wrote:
>> >> > > >> > >
>> >> > > >> > > > Hi Ashwin.
>> >> > > >> > > >
>> >> > > >> > > > Thanks for downloading the latest release of MET.
I see
>> >> > > >> > > > that
>> >> > > >> > > > you're
>> >> > > >> > > > having  trouble configuring/compiling it.  We
switched
>> over
>> >> > > >> > > > to
>> >> > > >> > > > using
>> >> > > >> > > > autoconf for  building MET version 5.0.  In
previous
>> >> > > >> > > > versions,
>> >> > you
>> >> > > >> > > edited a
>> >> > > >> > > > file by hand and then typed "make".  Now, you run
the
>> >> configure
>> >> > > >> script.
>> >> > > >> > > > Please read  through the top-level met-5.0/README
file for
>> >> > > >> instructions
>> >> > > >> > > > about building MET.
>> >> > > >> > > >
>> >> > > >> > > > You can set several environment variables to tell
the
>> >> configure
>> >> > > >> script
>> >> > > >> > > > where to find the dependent libraries.  For
example,
>> >> MET_NETCDF
>> >> > > >> > > > tells
>> >> > > >> > it
>> >> > > >> > > > where to find NetCDF.  nc_var_inco.cc should be
looking
>> for
>> >> > > >> netcdf.hh.
>> >> > > >> > > > That's the include file for the C++ interface.
There are
>> >> > > >> > > > many
>> >> > > >> > different
>> >> > > >> > > > ways of compiling NetCDF, and MET expects the C++
>> interface
>> >> > > >> > > > to
>> >> > be
>> >> > > >> > > > compiled.  There are some instructions for
compiling
>> NetCDF
>> >> for
>> >> > > MET
>> >> > > >> > here:
>> >> > > >> > > >
>> >> > > >> > > >
>> >> > > >> > >
>> >> > > >> >
>> >> > > >>
>> >> > >
>> >> >
>> >>
>>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
>> >> > > >> > > >
>> >> > > >> > > > Please take a look at the instructions for
compiling
>> NetCDF
>> >> for
>> >> > > MET
>> >> > > >> and
>> >> > > >> > > at
>> >> > > >> > > > the top-level met-5.0/README file for instructions
about
>> >> > building
>> >> > > >> > > > MET
>> >> > > >> > and
>> >> > > >> > > > let us know if you continue to experience problems.
>> >> > > >> > > >
>> >> > > >> > > > Thanks,
>> >> > > >> > > > Julie
>> >> > > >> > > >
>> >> > > >> > > > On Mon, Sep 15, 2014 at 11:22 PM, ashwinD12 . via
RT <
>> >> > > >> > met_help at ucar.edu>
>> >> > > >> > > > wrote:
>> >> > > >> > > >
>> >> > > >> > > > >
>> >> > > >> > > > > Mon Sep 15 23:22:39 2014: Request 68987 was acted
upon.
>> >> > > >> > > > > Transaction: Ticket created by winash12 at gmail.com
>> >> > > >> > > > >        Queue: met_help
>> >> > > >> > > > >      Subject: Not able to compile
>> >> > > >> > > > >        Owner: Nobody
>> >> > > >> > > > >   Requestors: winash12 at gmail.com
>> >> > > >> > > > >       Status: new
>> >> > > >> > > > >  Ticket <URL:
>> >> > > >> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>> >> > > >> > > >
>> >> > > >> > > > >
>> >> > > >> > > > >
>> >> > > >> > > > > Hello,
>> >> > > >> > > > >            I downloaded the latest version and I
am
>> unable
>> >> to
>> >> > > >> compile
>> >> > > >> > > > this
>> >> > > >> > > > > at all.
>> >> > > >> > > > >
>> >> > > >> > > > > Here are the errors - first it appears that there
is an
>> >> error
>> >> > in
>> >> > > >> this
>> >> > > >> > > > > directory - nc_var_inco.cc which includes
netcdf.hh. I
>> >> believe
>> >> > > it
>> >> > > >> > > should
>> >> > > >> > > > be
>> >> > > >> > > > > netcdf.h. Please let me know if that is accurate
or not.
>> >> When
>> >> > I
>> >> > > >> > > > > fix
>> >> > > >> > > that
>> >> > > >> > > > I
>> >> > > >> > > > > get these errors -
>> >> > > >> > > > >
>> >> > > >> > > > >
>> >> > > >> > > > >
>> >> > > >> > > > > Regards,
>> >> > > >> > > > > Ashwin.
>> >> > > >> > > > >
>> >> > > >> > > > > make[3]: Entering directory
>> >> > > >> > > > >
>> >> > `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
>> >> > > >> > > > > 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_geodesy
>> >> > > >> > > > > -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_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_shapedata
>> >> > > >> > > > > -I../../../src/libcode/vx_statistics
>> >> > > >> > -I../../../src/libcode/vx_stat_out
>> >> > > >> > > > > -I../../../src/libcode/vx_tc_util -DBLOCK4
-DWITH_GRIB2
>> >> > > >> > > > > -DMET_BASE="\"/usr/local/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
>> >> > > >> > > > > In file included from nc_var_info.cc(24):
>> >> > > >> > > > > nc_var_info.h(24): catastrophic error: cannot
open
>> source
>> >> file
>> >> > > >> > > > "netcdf.hh"
>> >> > > >> > > > >   #include <netcdf.hh>
>> >> > > >> > > > >                       ^
>> >> > > >> > > > >
>> >> > > >> > > > > compilation aborted for nc_var_info.cc (code 4)
>> >> > > >> > > > > make[3]: *** [libvx_nc_util_a-nc_var_info.o]
Error 4
>> >> > > >> > > > > make[3]: Leaving directory
>> >> > > >> > > > >
>> >> > `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
>> >> > > >> > > > > make[2]: *** [install-recursive] Error 1
>> >> > > >> > > > > make[2]: Leaving directory
>> >> > > >> > > > > `/home/aswin/meteorology_project/met-
5.0/src/libcode'
>> >> > > >> > > > > make[1]: *** [install-recursive] Error 1
>> >> > > >> > > > > make[1]: Leaving directory
>> >> > > >> > > `/home/aswin/meteorology_project/met-5.0/src'
>> >> > > >> > > > > make: *** [install-recursive] Error 1
>> >> > > >> > > > >
>> >> > > >> > > > > Ashwin.
>> >> > > >> > > > >
>> >> > > >> > > > >
>> >> > > >> > > >
>> >> > > >> > > >
>> >> > > >> > > > --
>> >> > > >> > > > Julie Prestopnik
>> >> > > >> > > > National Center for Atmospheric Research
>> >> > > >> > > > Research Applications Laboratory
>> >> > > >> > > > Phone: 303.497.8399
>> >> > > >> > > > Email: jpresto at ucar.edu
>> >> > > >> > > >
>> >> > > >> > > >
>> >> > > >> > >
>> >> > > >> > >
>> >> > > >> >
>> >> > > >> >
>> >> > > >> > --
>> >> > > >> > Julie Prestopnik
>> >> > > >> > National Center for Atmospheric Research
>> >> > > >> > Research Applications Laboratory
>> >> > > >> > Phone: 303.497.8399
>> >> > > >> > Email: jpresto at ucar.edu
>> >> > > >> >
>> >> > > >> >
>> >> > > >>
>> >> > > >>
>> >> > > >
>> >> > > >
>> >> > > > --
>> >> > > > Julie Prestopnik
>> >> > > > National Center for Atmospheric Research
>> >> > > > Research Applications Laboratory
>> >> > > > Phone: 303.497.8399
>> >> > > > Email: jpresto at ucar.edu
>> >> > > >
>> >> > > >
>> >> > >
>> >> > >
>> >> >
>> >> >
>> >> > --
>> >> > Julie Prestopnik
>> >> > National Center for Atmospheric Research
>> >> > Research Applications Laboratory
>> >> > Phone: 303.497.8399
>> >> > Email: jpresto at ucar.edu
>> >> >
>> >> >
>> >>
>> >>
>> >
>> >
>> > --
>> > Julie Prestopnik
>> > National Center for Atmospheric Research
>> > Research Applications Laboratory
>> > Phone: 303.497.8399
>> > Email: jpresto at ucar.edu
>> >
>> >
>>
>>
>

------------------------------------------------
Subject: Not able to compile
From: ashwinD12 .
Time: Wed Oct 15 01:41:32 2014

Hi John,
              I apologize for the late response. It is not without a
reason. I got past that point but I have a LIBRBUF error. I had sent
this report to NCEP website but have yet to hear from them. Until I
hear from them I cannot test the new patches. Please bear with me for
a few days and I will get back to you.
Regards,
Ashwin.

On 10/15/14, John Halley Gotway via RT <met_help at ucar.edu> wrote:
> Ashwin,
>
> I just posted the first set of patches for the met-5.0 release, and
they
> include this fix.  Please follow the instructions posted here to
download
> and apply the latest set of patches:
>
http://www.dtcenter.org/met/users/support/known_issues/METv5.0/index.php
>
> Please let me know if you continue to experience problems with MET.
>
> Thanks,
> John Halley Gotway
> met_help at ucar.edu
>
> On Mon, Oct 13, 2014 at 3:02 PM, John Halley Gotway
<johnhg at ucar.edu>
> wrote:
>
>> Hello Ashwin,
>>
>> This is John Halley Gotway.  I work with Julie, but she's out of
the
>> office today.  I took a look at this issue and think I've uncovered
the
>> problem.  And it's a problem on our end, not yours.  Here's what
I'd like
>> you to try...
>>
>> Copy the three attached files (color_scanner.cc, Makefile.in, and
>> Makefile.am) into this directory:
>>    met-5.0/src/libcode/vx_color
>>
>> Then rerun "configure" and "make install".  Please let me know if
this
>> resolves the error with lex.yy.c you were getting.
>>
>> In met-5.0, we switched over to building MET using autoconf.  The
MET
>> code
>> uses flex and bison (lex and yacc) to parse data files in a few
places,
>> but
>> our intention is to run those tools here during the process of
building a
>> release.  I think the vx_color Makefile was removing the output of
flex
>> and
>> then trying to rebuild it by calling flex.  And there's probably an
>> inconsistency between the version of flex we use here and the one
on your
>> machine.
>>
>> Please do let me know if that resolves the problem.  Once we get a
good
>> fix for this issue, we'll post a patch on the known issue page for
MET.
>>
>> Sorry for trouble, but thanks for helping us debug this issue!
>>
>> John Halley Gotway
>> met_help at ucar.edu
>>
>>
>>
>> On Thu, Oct 9, 2014 at 4:56 PM, ashwinD12 . via RT
<met_help at ucar.edu>
>> wrote:
>>
>>>
>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>>>
>>> Hello Julie,
>>>                  There is no problem with the netcdf build. I
moved
>>> past that point. Did you look at the error messages ? it is
mentioning
>>> that there is some problem with lex.yy.c.
>>> Regards,
>>> Ashwin.
>>>
>>> On 10/9/14, Julie Prestopnik via RT <met_help at ucar.edu> wrote:
>>> > Hi Ashwin.  I'm sorry to hear that you are still having some
>>> > difficulty
>>> in
>>> > getting METv5.0 to build.
>>> >
>>> > I'd suggest downloading and compiling NetCDF locally using the
>>> > following
>>> > steps:
>>> >
>>> > Download NetCDF 3.6.3 from here:
>>> > http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-
3.6.3.tar.gz
>>> >
>>> > Then run:
>>> > tar -zxf netcdf-3.6.3.tar.gz
>>> > ./configure --prefix=`pwd`
>>> > make
>>> > make install
>>> >
>>> > These commands should compile the C and C++ interfaces for
NetCDF and
>>> skip
>>> > the Fortran interface that MET doesn't use.  It will install the
>>> library in
>>> > current "netcdf-3.6.3" directory due to the --prefix=`pwd`
option.
>>> >
>>> > Next, you'll need to edit where you set MET_NETCDF to point to
this
>>> > new
>>> > location, source your .cshrc or similiar file, and rebuild MET.
>>> >
>>> > I just ran all of these steps and was able to get a successful
build
>>> > and
>>> > install of METv5.0.
>>> >
>>> > Please give this a try and let me know how it goes.
>>> >
>>> > Thanks,
>>> > Julie
>>> >
>>> > On Thu, Oct 9, 2014 at 1:28 AM, ashwinD12 . via RT
<met_help at ucar.edu>
>>> > wrote:
>>> >
>>> >>
>>> >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>>> >>
>>> >> Hi Julie,
>>> >>                I made some progress with some difficulty which
is
>>> >> expected.
>>> >> First of all there are *two* C++ NETCDF  libraries and I had to
use
>>> >> the
>>> >> legacy C++ NETCDF source code to build with MET 5.0. The
netcdf.hh
>>> >> file
>>> >> is
>>> >> NOT found in the latest C++ NETCDF interface but in the legacy
>>> >> distribution. It would be helpful if you could update the
>>> >> documentation
>>> >> to
>>> >> reflect this.
>>> >> Then I did not have lex and yacc on my Ubuntu and I updated my
system
>>> to
>>> >> reflect that. Then I ran make install again and  here are the
latest
>>> >> error
>>> >> -
>>> >> make[4]: Nothing to be done for `install-exec-am'.
>>> >> make[4]: Nothing to be done for `install-data-am'.
>>> >> make[4]: Leaving directory
>>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_afm'
>>> >> make[3]: Leaving directory
>>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_afm'
>>> >> Making install in vx_color
>>> >> make[3]: Entering directory
>>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_color'
>>> >> /bin/bash ../../../ylwrap color_scanner.ll .c color_scanner.cc
-- :
>>> >> --prefix=color --outfile=lex.yy.c
>>> >> make[3]: *** [color_scanner.cc] Error 1
>>> >> make[3]: Leaving directory
>>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_color'
>>> >> make[2]: *** [install-recursive] Error 1
>>> >> make[2]: Leaving directory
>>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode'
>>> >> make[1]: *** [install-recursive] Error 1
>>> >> make[1]: Leaving directory
>>> `/home/aswin/meteorology_project/met-5.0/src'
>>> >> make: *** [install-recursive] Error 1
>>> >>
>>> >>
>>> >>
>>> >> On Wed, Oct 8, 2014 at 8:13 PM, Julie Prestopnik via RT
>>> >> <met_help at ucar.edu
>>> >> >
>>> >> wrote:
>>> >>
>>> >> > Hi Ashwin.  I agree. MET expects the C++ interface to be
compiled.
>>> >> Please
>>> >> > try building and compiling NETCDF to include the C++
interface and
>>> then
>>> >> > rebuild and recompile MET.  Please let me know how it turns
out.
>>> >> >
>>> >> > Thanks,
>>> >> > Julie
>>> >> >
>>> >> > On Wed, Oct 8, 2014 at 7:51 AM, ashwinD12 . via RT <
>>> met_help at ucar.edu>
>>> >> > wrote:
>>> >> >
>>> >> > >
>>> >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>>> >> > >
>>> >> > > I am not at the machine where the problem is happening but
I can
>>> >> > > guess
>>> >> > > the root cause of the problem. When compiling NETCDF for
WRF I
>>> only
>>> >> > > compiled the C and FORTRAN libraries and not the C++
libraries.
>>> >> > > So
>>> I
>>> >> > > will need to recompile NETCDF and this time compile for C++
as
>>> >> > > well
>>> >> > > by
>>> >> > > specifying the environment variable CXX. I do not think
there is
>>> >> > > a
>>> >> > > file netcdf.hh under /usr/local/include. I will confirm
this
>>> tomorrow
>>> >> > > morning my time.
>>> >> > > Regards.
>>> >> > >
>>> >> > > On 10/8/14, Julie Prestopnik via RT <met_help at ucar.edu>
wrote:
>>> >> > > > Great!  Thank you.  Can you please take a look in
MET_NETCDFINC
>>> >> > > > (/usr/local/
>>> >> > > > include) and tell me if you see netcdf.hh?
>>> >> > > >
>>> >> > > > Julie
>>> >> > > >
>>> >> > > > On Tue, Oct 7, 2014 at 11:18 PM, ashwinD12 . via RT <
>>> >> met_help at ucar.edu
>>> >> > >
>>> >> > > > wrote:
>>> >> > > >
>>> >> > > >>
>>> >> > > >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>>> >> > > >> >
>>> >> > > >>
>>> >> > > >> Hi Julie, I am sending you the required information
>>> >> > > >>
>>> >> > > >> printenv | grep MET
>>> >> > > >>
>>> >> > > >> MET_GSLLIB=/usr/local/lib
>>> >> > > >> MET_GRIB2LIB=/usr/local/lib
>>> >> > > >> MET_GSLINC=/usr/local/include
>>> >> > > >> MET_NETCDFINC=/usr/local/include
>>> >> > > >> MET_NETCDFLIB=/usr/local/lib
>>> >> > > >>
>>> >> > > >> On Tue, Oct 7, 2014 at 8:52 PM, Julie Prestopnik via RT
>>> >> > > >> <met_help at ucar.edu
>>> >> > > >> >
>>> >> > > >> wrote:
>>> >> > > >>
>>> >> > > >> > Hi Ashwin.  I see you're still having problems with
MET
>>> finding
>>> >> > > >> netcdf.hh.
>>> >> > > >> >
>>> >> > > >> > Could you please run "printenv | grep MET" and send me
the
>>> >> > > >> > output?
>>> >> > > >> >
>>> >> > > >> > Thank you.
>>> >> > > >> >
>>> >> > > >> > Julie
>>> >> > > >> >
>>> >> > > >> > On Tue, Oct 7, 2014 at 6:07 AM, ashwinD12 . via RT <
>>> >> > met_help at ucar.edu
>>> >> > > >
>>> >> > > >> > wrote:
>>> >> > > >> >
>>> >> > > >> > >
>>> >> > > >> > > <URL:
>>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>>> >> > > >> > > >
>>> >> > > >> > >
>>> >> > > >> > > Hello,
>>> >> > > >> > >             I apologize for the late response on
this as I
>>> >> > > >> > > have
>>> >> > > >> tracking
>>> >> > > >> > > another WRF problem. The problem still persists
>>> >> > > >> > > I first typed ./configure --prefix=`pwd` --enable-
grib2
>>> >> > > >> > > and
>>> >> > > >> > > then
>>> >> > > >> followed
>>> >> > > >> > > by make install and I got these 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_geodesy
>>> >> -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_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_shapedata
>>> >> > > >> > > -I../../../src/libcode/vx_statistics
>>> >> > > >> > > -I../../../src/libcode/vx_stat_out
>>> >> > > >> > > -I../../../src/libcode/vx_tc_util
-I/usr/local/include
>>> >> > > >> > -I/usr/local/include
>>> >> > > >> > > -DBLOCK4 -DWITH_GRIB2
>>> >> > > >> > >
>>> >> -DMET_BASE="\"/home/aswin/meteorology_project/met-
5.0/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
>>> >> > > >> > > In file included from nc_var_info.cc(24):
>>> >> > > >> > > nc_var_info.h(24): catastrophic error: cannot open
source
>>> file
>>> >> > > >> > "netcdf.hh"
>>> >> > > >> > >   #include <netcdf.hh>
>>> >> > > >> > >                       ^
>>> >> > > >> > >
>>> >> > > >> > > compilation aborted for nc_var_info.cc (code 4)
>>> >> > > >> > > make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 4
>>> >> > > >> > > make[3]: Leaving directory
>>> >> > > >> > >
>>> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
>>> >> > > >> > > make[2]: *** [install-recursive] Error 1
>>> >> > > >> > > make[2]: Leaving directory
>>> >> > > >> > > `/home/aswin/meteorology_project/met-
5.0/src/libcode'
>>> >> > > >> > > make[1]: *** [install-recursive] Error 1
>>> >> > > >> > > make[1]: Leaving directory
>>> >> > > >> > `/home/aswin/meteorology_project/met-5.0/src'ds.
>>> >> > > >> > > I first typed ./configure --prefix=`pwd` --enable-
grib2
>>> >> > > >> > > and
>>> >> > > >> > > then
>>> >> > > >> followed
>>> >> > > >> > > by make install and I got these messages -
>>> >> > > >> > >
>>> >> > > >> > >
>>> >> > > >> > > On Tue, Sep 16, 2014 at 9:28 PM, Julie Prestopnik
via RT <
>>> >> > > >> > > met_help at ucar.edu>
>>> >> > > >> > > wrote:
>>> >> > > >> > >
>>> >> > > >> > > > Hi Ashwin.
>>> >> > > >> > > >
>>> >> > > >> > > > Thanks for downloading the latest release of MET.
I see
>>> >> > > >> > > > that
>>> >> > > >> > > > you're
>>> >> > > >> > > > having  trouble configuring/compiling it.  We
switched
>>> over
>>> >> > > >> > > > to
>>> >> > > >> > > > using
>>> >> > > >> > > > autoconf for  building MET version 5.0.  In
previous
>>> >> > > >> > > > versions,
>>> >> > you
>>> >> > > >> > > edited a
>>> >> > > >> > > > file by hand and then typed "make".  Now, you run
the
>>> >> configure
>>> >> > > >> script.
>>> >> > > >> > > > Please read  through the top-level met-5.0/README
file
>>> >> > > >> > > > for
>>> >> > > >> instructions
>>> >> > > >> > > > about building MET.
>>> >> > > >> > > >
>>> >> > > >> > > > You can set several environment variables to tell
the
>>> >> configure
>>> >> > > >> script
>>> >> > > >> > > > where to find the dependent libraries.  For
example,
>>> >> MET_NETCDF
>>> >> > > >> > > > tells
>>> >> > > >> > it
>>> >> > > >> > > > where to find NetCDF.  nc_var_inco.cc should be
looking
>>> for
>>> >> > > >> netcdf.hh.
>>> >> > > >> > > > That's the include file for the C++ interface.
There
>>> >> > > >> > > > are
>>> >> > > >> > > > many
>>> >> > > >> > different
>>> >> > > >> > > > ways of compiling NetCDF, and MET expects the C++
>>> interface
>>> >> > > >> > > > to
>>> >> > be
>>> >> > > >> > > > compiled.  There are some instructions for
compiling
>>> NetCDF
>>> >> for
>>> >> > > MET
>>> >> > > >> > here:
>>> >> > > >> > > >
>>> >> > > >> > > >
>>> >> > > >> > >
>>> >> > > >> >
>>> >> > > >>
>>> >> > >
>>> >> >
>>> >>
>>>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
>>> >> > > >> > > >
>>> >> > > >> > > > Please take a look at the instructions for
compiling
>>> NetCDF
>>> >> for
>>> >> > > MET
>>> >> > > >> and
>>> >> > > >> > > at
>>> >> > > >> > > > the top-level met-5.0/README file for instructions
about
>>> >> > building
>>> >> > > >> > > > MET
>>> >> > > >> > and
>>> >> > > >> > > > let us know if you continue to experience
problems.
>>> >> > > >> > > >
>>> >> > > >> > > > Thanks,
>>> >> > > >> > > > Julie
>>> >> > > >> > > >
>>> >> > > >> > > > On Mon, Sep 15, 2014 at 11:22 PM, ashwinD12 . via
RT <
>>> >> > > >> > met_help at ucar.edu>
>>> >> > > >> > > > wrote:
>>> >> > > >> > > >
>>> >> > > >> > > > >
>>> >> > > >> > > > > Mon Sep 15 23:22:39 2014: Request 68987 was
acted
>>> >> > > >> > > > > upon.
>>> >> > > >> > > > > Transaction: Ticket created by
winash12 at gmail.com
>>> >> > > >> > > > >        Queue: met_help
>>> >> > > >> > > > >      Subject: Not able to compile
>>> >> > > >> > > > >        Owner: Nobody
>>> >> > > >> > > > >   Requestors: winash12 at gmail.com
>>> >> > > >> > > > >       Status: new
>>> >> > > >> > > > >  Ticket <URL:
>>> >> > > >> >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>>> >> > > >> > > >
>>> >> > > >> > > > >
>>> >> > > >> > > > >
>>> >> > > >> > > > > Hello,
>>> >> > > >> > > > >            I downloaded the latest version and I
am
>>> unable
>>> >> to
>>> >> > > >> compile
>>> >> > > >> > > > this
>>> >> > > >> > > > > at all.
>>> >> > > >> > > > >
>>> >> > > >> > > > > Here are the errors - first it appears that
there is
>>> >> > > >> > > > > an
>>> >> error
>>> >> > in
>>> >> > > >> this
>>> >> > > >> > > > > directory - nc_var_inco.cc which includes
netcdf.hh. I
>>> >> believe
>>> >> > > it
>>> >> > > >> > > should
>>> >> > > >> > > > be
>>> >> > > >> > > > > netcdf.h. Please let me know if that is accurate
or
>>> >> > > >> > > > > not.
>>> >> When
>>> >> > I
>>> >> > > >> > > > > fix
>>> >> > > >> > > that
>>> >> > > >> > > > I
>>> >> > > >> > > > > get these errors -
>>> >> > > >> > > > >
>>> >> > > >> > > > >
>>> >> > > >> > > > >
>>> >> > > >> > > > > Regards,
>>> >> > > >> > > > > Ashwin.
>>> >> > > >> > > > >
>>> >> > > >> > > > > make[3]: Entering directory
>>> >> > > >> > > > >
>>> >> > `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
>>> >> > > >> > > > > 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_geodesy
>>> >> > > >> > > > > -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_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_shapedata
>>> >> > > >> > > > > -I../../../src/libcode/vx_statistics
>>> >> > > >> > -I../../../src/libcode/vx_stat_out
>>> >> > > >> > > > > -I../../../src/libcode/vx_tc_util -DBLOCK4
>>> >> > > >> > > > > -DWITH_GRIB2
>>> >> > > >> > > > > -DMET_BASE="\"/usr/local/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
>>> >> > > >> > > > > In file included from nc_var_info.cc(24):
>>> >> > > >> > > > > nc_var_info.h(24): catastrophic error: cannot
open
>>> source
>>> >> file
>>> >> > > >> > > > "netcdf.hh"
>>> >> > > >> > > > >   #include <netcdf.hh>
>>> >> > > >> > > > >                       ^
>>> >> > > >> > > > >
>>> >> > > >> > > > > compilation aborted for nc_var_info.cc (code 4)
>>> >> > > >> > > > > make[3]: *** [libvx_nc_util_a-nc_var_info.o]
Error 4
>>> >> > > >> > > > > make[3]: Leaving directory
>>> >> > > >> > > > >
>>> >> > `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
>>> >> > > >> > > > > make[2]: *** [install-recursive] Error 1
>>> >> > > >> > > > > make[2]: Leaving directory
>>> >> > > >> > > > > `/home/aswin/meteorology_project/met-
5.0/src/libcode'
>>> >> > > >> > > > > make[1]: *** [install-recursive] Error 1
>>> >> > > >> > > > > make[1]: Leaving directory
>>> >> > > >> > > `/home/aswin/meteorology_project/met-5.0/src'
>>> >> > > >> > > > > make: *** [install-recursive] Error 1
>>> >> > > >> > > > >
>>> >> > > >> > > > > Ashwin.
>>> >> > > >> > > > >
>>> >> > > >> > > > >
>>> >> > > >> > > >
>>> >> > > >> > > >
>>> >> > > >> > > > --
>>> >> > > >> > > > Julie Prestopnik
>>> >> > > >> > > > National Center for Atmospheric Research
>>> >> > > >> > > > Research Applications Laboratory
>>> >> > > >> > > > Phone: 303.497.8399
>>> >> > > >> > > > Email: jpresto at ucar.edu
>>> >> > > >> > > >
>>> >> > > >> > > >
>>> >> > > >> > >
>>> >> > > >> > >
>>> >> > > >> >
>>> >> > > >> >
>>> >> > > >> > --
>>> >> > > >> > Julie Prestopnik
>>> >> > > >> > National Center for Atmospheric Research
>>> >> > > >> > Research Applications Laboratory
>>> >> > > >> > Phone: 303.497.8399
>>> >> > > >> > Email: jpresto at ucar.edu
>>> >> > > >> >
>>> >> > > >> >
>>> >> > > >>
>>> >> > > >>
>>> >> > > >
>>> >> > > >
>>> >> > > > --
>>> >> > > > Julie Prestopnik
>>> >> > > > National Center for Atmospheric Research
>>> >> > > > Research Applications Laboratory
>>> >> > > > Phone: 303.497.8399
>>> >> > > > Email: jpresto at ucar.edu
>>> >> > > >
>>> >> > > >
>>> >> > >
>>> >> > >
>>> >> >
>>> >> >
>>> >> > --
>>> >> > Julie Prestopnik
>>> >> > National Center for Atmospheric Research
>>> >> > Research Applications Laboratory
>>> >> > Phone: 303.497.8399
>>> >> > Email: jpresto at ucar.edu
>>> >> >
>>> >> >
>>> >>
>>> >>
>>> >
>>> >
>>> > --
>>> > Julie Prestopnik
>>> > National Center for Atmospheric Research
>>> > Research Applications Laboratory
>>> > Phone: 303.497.8399
>>> > Email: jpresto at ucar.edu
>>> >
>>> >
>>>
>>>
>>
>
>

------------------------------------------------
Subject: Not able to compile
From: John Halley Gotway
Time: Wed Oct 15 10:29:25 2014

Ashwin,

Just so I can get a better understand of what's going on, could you
please
run the following commands in the top-level met-5.0 directory...

   printenv | grep MET_ > environment.log
   make clean
  ./configure -prefix=`pwd`
  make install >& make_install.log
  make test >& make_test.log

And then send me these files: environment.log, config.log,
make_install.log, and make_test.log

That'll give me a better idea of what's going on.

Thanks,
John

On Wed, Oct 15, 2014 at 1:41 AM, ashwinD12 . via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>
> Hi John,
>               I apologize for the late response. It is not without a
> reason. I got past that point but I have a LIBRBUF error. I had sent
> this report to NCEP website but have yet to hear from them. Until I
> hear from them I cannot test the new patches. Please bear with me
for
> a few days and I will get back to you.
> Regards,
> Ashwin.
>
> On 10/15/14, John Halley Gotway via RT <met_help at ucar.edu> wrote:
> > Ashwin,
> >
> > I just posted the first set of patches for the met-5.0 release,
and they
> > include this fix.  Please follow the instructions posted here to
download
> > and apply the latest set of patches:
> >
>
http://www.dtcenter.org/met/users/support/known_issues/METv5.0/index.php
> >
> > Please let me know if you continue to experience problems with
MET.
> >
> > Thanks,
> > John Halley Gotway
> > met_help at ucar.edu
> >
> > On Mon, Oct 13, 2014 at 3:02 PM, John Halley Gotway
<johnhg at ucar.edu>
> > wrote:
> >
> >> Hello Ashwin,
> >>
> >> This is John Halley Gotway.  I work with Julie, but she's out of
the
> >> office today.  I took a look at this issue and think I've
uncovered the
> >> problem.  And it's a problem on our end, not yours.  Here's what
I'd
> like
> >> you to try...
> >>
> >> Copy the three attached files (color_scanner.cc, Makefile.in, and
> >> Makefile.am) into this directory:
> >>    met-5.0/src/libcode/vx_color
> >>
> >> Then rerun "configure" and "make install".  Please let me know if
this
> >> resolves the error with lex.yy.c you were getting.
> >>
> >> In met-5.0, we switched over to building MET using autoconf.  The
MET
> >> code
> >> uses flex and bison (lex and yacc) to parse data files in a few
places,
> >> but
> >> our intention is to run those tools here during the process of
building
> a
> >> release.  I think the vx_color Makefile was removing the output
of flex
> >> and
> >> then trying to rebuild it by calling flex.  And there's probably
an
> >> inconsistency between the version of flex we use here and the one
on
> your
> >> machine.
> >>
> >> Please do let me know if that resolves the problem.  Once we get
a good
> >> fix for this issue, we'll post a patch on the known issue page
for MET.
> >>
> >> Sorry for trouble, but thanks for helping us debug this issue!
> >>
> >> John Halley Gotway
> >> met_help at ucar.edu
> >>
> >>
> >>
> >> On Thu, Oct 9, 2014 at 4:56 PM, ashwinD12 . via RT
<met_help at ucar.edu>
> >> wrote:
> >>
> >>>
> >>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
> >>>
> >>> Hello Julie,
> >>>                  There is no problem with the netcdf build. I
moved
> >>> past that point. Did you look at the error messages ? it is
mentioning
> >>> that there is some problem with lex.yy.c.
> >>> Regards,
> >>> Ashwin.
> >>>
> >>> On 10/9/14, Julie Prestopnik via RT <met_help at ucar.edu> wrote:
> >>> > Hi Ashwin.  I'm sorry to hear that you are still having some
> >>> > difficulty
> >>> in
> >>> > getting METv5.0 to build.
> >>> >
> >>> > I'd suggest downloading and compiling NetCDF locally using the
> >>> > following
> >>> > steps:
> >>> >
> >>> > Download NetCDF 3.6.3 from here:
> >>> > http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-
3.6.3.tar.gz
> >>> >
> >>> > Then run:
> >>> > tar -zxf netcdf-3.6.3.tar.gz
> >>> > ./configure --prefix=`pwd`
> >>> > make
> >>> > make install
> >>> >
> >>> > These commands should compile the C and C++ interfaces for
NetCDF and
> >>> skip
> >>> > the Fortran interface that MET doesn't use.  It will install
the
> >>> library in
> >>> > current "netcdf-3.6.3" directory due to the --prefix=`pwd`
option.
> >>> >
> >>> > Next, you'll need to edit where you set MET_NETCDF to point to
this
> >>> > new
> >>> > location, source your .cshrc or similiar file, and rebuild
MET.
> >>> >
> >>> > I just ran all of these steps and was able to get a successful
build
> >>> > and
> >>> > install of METv5.0.
> >>> >
> >>> > Please give this a try and let me know how it goes.
> >>> >
> >>> > Thanks,
> >>> > Julie
> >>> >
> >>> > On Thu, Oct 9, 2014 at 1:28 AM, ashwinD12 . via RT <
> met_help at ucar.edu>
> >>> > wrote:
> >>> >
> >>> >>
> >>> >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>
> >>> >>
> >>> >> Hi Julie,
> >>> >>                I made some progress with some difficulty
which is
> >>> >> expected.
> >>> >> First of all there are *two* C++ NETCDF  libraries and I had
to use
> >>> >> the
> >>> >> legacy C++ NETCDF source code to build with MET 5.0. The
netcdf.hh
> >>> >> file
> >>> >> is
> >>> >> NOT found in the latest C++ NETCDF interface but in the
legacy
> >>> >> distribution. It would be helpful if you could update the
> >>> >> documentation
> >>> >> to
> >>> >> reflect this.
> >>> >> Then I did not have lex and yacc on my Ubuntu and I updated
my
> system
> >>> to
> >>> >> reflect that. Then I ran make install again and  here are the
latest
> >>> >> error
> >>> >> -
> >>> >> make[4]: Nothing to be done for `install-exec-am'.
> >>> >> make[4]: Nothing to be done for `install-data-am'.
> >>> >> make[4]: Leaving directory
> >>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_afm'
> >>> >> make[3]: Leaving directory
> >>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_afm'
> >>> >> Making install in vx_color
> >>> >> make[3]: Entering directory
> >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_color'
> >>> >> /bin/bash ../../../ylwrap color_scanner.ll .c
color_scanner.cc -- :
> >>> >> --prefix=color --outfile=lex.yy.c
> >>> >> make[3]: *** [color_scanner.cc] Error 1
> >>> >> make[3]: Leaving directory
> >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_color'
> >>> >> make[2]: *** [install-recursive] Error 1
> >>> >> make[2]: Leaving directory
> >>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode'
> >>> >> make[1]: *** [install-recursive] Error 1
> >>> >> make[1]: Leaving directory
> >>> `/home/aswin/meteorology_project/met-5.0/src'
> >>> >> make: *** [install-recursive] Error 1
> >>> >>
> >>> >>
> >>> >>
> >>> >> On Wed, Oct 8, 2014 at 8:13 PM, Julie Prestopnik via RT
> >>> >> <met_help at ucar.edu
> >>> >> >
> >>> >> wrote:
> >>> >>
> >>> >> > Hi Ashwin.  I agree. MET expects the C++ interface to be
compiled.
> >>> >> Please
> >>> >> > try building and compiling NETCDF to include the C++
interface and
> >>> then
> >>> >> > rebuild and recompile MET.  Please let me know how it turns
out.
> >>> >> >
> >>> >> > Thanks,
> >>> >> > Julie
> >>> >> >
> >>> >> > On Wed, Oct 8, 2014 at 7:51 AM, ashwinD12 . via RT <
> >>> met_help at ucar.edu>
> >>> >> > wrote:
> >>> >> >
> >>> >> > >
> >>> >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
> >>> >> > >
> >>> >> > > I am not at the machine where the problem is happening
but I can
> >>> >> > > guess
> >>> >> > > the root cause of the problem. When compiling NETCDF for
WRF I
> >>> only
> >>> >> > > compiled the C and FORTRAN libraries and not the C++
libraries.
> >>> >> > > So
> >>> I
> >>> >> > > will need to recompile NETCDF and this time compile for
C++ as
> >>> >> > > well
> >>> >> > > by
> >>> >> > > specifying the environment variable CXX. I do not think
there is
> >>> >> > > a
> >>> >> > > file netcdf.hh under /usr/local/include. I will confirm
this
> >>> tomorrow
> >>> >> > > morning my time.
> >>> >> > > Regards.
> >>> >> > >
> >>> >> > > On 10/8/14, Julie Prestopnik via RT <met_help at ucar.edu>
wrote:
> >>> >> > > > Great!  Thank you.  Can you please take a look in
> MET_NETCDFINC
> >>> >> > > > (/usr/local/
> >>> >> > > > include) and tell me if you see netcdf.hh?
> >>> >> > > >
> >>> >> > > > Julie
> >>> >> > > >
> >>> >> > > > On Tue, Oct 7, 2014 at 11:18 PM, ashwinD12 . via RT <
> >>> >> met_help at ucar.edu
> >>> >> > >
> >>> >> > > > wrote:
> >>> >> > > >
> >>> >> > > >>
> >>> >> > > >> <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> >>> >> > > >> >
> >>> >> > > >>
> >>> >> > > >> Hi Julie, I am sending you the required information
> >>> >> > > >>
> >>> >> > > >> printenv | grep MET
> >>> >> > > >>
> >>> >> > > >> MET_GSLLIB=/usr/local/lib
> >>> >> > > >> MET_GRIB2LIB=/usr/local/lib
> >>> >> > > >> MET_GSLINC=/usr/local/include
> >>> >> > > >> MET_NETCDFINC=/usr/local/include
> >>> >> > > >> MET_NETCDFLIB=/usr/local/lib
> >>> >> > > >>
> >>> >> > > >> On Tue, Oct 7, 2014 at 8:52 PM, Julie Prestopnik via
RT
> >>> >> > > >> <met_help at ucar.edu
> >>> >> > > >> >
> >>> >> > > >> wrote:
> >>> >> > > >>
> >>> >> > > >> > Hi Ashwin.  I see you're still having problems with
MET
> >>> finding
> >>> >> > > >> netcdf.hh.
> >>> >> > > >> >
> >>> >> > > >> > Could you please run "printenv | grep MET" and send
me the
> >>> >> > > >> > output?
> >>> >> > > >> >
> >>> >> > > >> > Thank you.
> >>> >> > > >> >
> >>> >> > > >> > Julie
> >>> >> > > >> >
> >>> >> > > >> > On Tue, Oct 7, 2014 at 6:07 AM, ashwinD12 . via RT <
> >>> >> > met_help at ucar.edu
> >>> >> > > >
> >>> >> > > >> > wrote:
> >>> >> > > >> >
> >>> >> > > >> > >
> >>> >> > > >> > > <URL:
> >>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> >>> >> > > >> > > >
> >>> >> > > >> > >
> >>> >> > > >> > > Hello,
> >>> >> > > >> > >             I apologize for the late response on
this as
> I
> >>> >> > > >> > > have
> >>> >> > > >> tracking
> >>> >> > > >> > > another WRF problem. The problem still persists
> >>> >> > > >> > > I first typed ./configure --prefix=`pwd` --enable-
grib2
> >>> >> > > >> > > and
> >>> >> > > >> > > then
> >>> >> > > >> followed
> >>> >> > > >> > > by make install and I got these 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_geodesy
> >>> >> -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_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_shapedata
> >>> >> > > >> > > -I../../../src/libcode/vx_statistics
> >>> >> > > >> > > -I../../../src/libcode/vx_stat_out
> >>> >> > > >> > > -I../../../src/libcode/vx_tc_util
-I/usr/local/include
> >>> >> > > >> > -I/usr/local/include
> >>> >> > > >> > > -DBLOCK4 -DWITH_GRIB2
> >>> >> > > >> > >
> >>> >> -DMET_BASE="\"/home/aswin/meteorology_project/met-
5.0/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
> >>> >> > > >> > > In file included from nc_var_info.cc(24):
> >>> >> > > >> > > nc_var_info.h(24): catastrophic error: cannot open
source
> >>> file
> >>> >> > > >> > "netcdf.hh"
> >>> >> > > >> > >   #include <netcdf.hh>
> >>> >> > > >> > >                       ^
> >>> >> > > >> > >
> >>> >> > > >> > > compilation aborted for nc_var_info.cc (code 4)
> >>> >> > > >> > > make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error
4
> >>> >> > > >> > > make[3]: Leaving directory
> >>> >> > > >> > >
> >>> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
> >>> >> > > >> > > make[2]: *** [install-recursive] Error 1
> >>> >> > > >> > > make[2]: Leaving directory
> >>> >> > > >> > > `/home/aswin/meteorology_project/met-
5.0/src/libcode'
> >>> >> > > >> > > make[1]: *** [install-recursive] Error 1
> >>> >> > > >> > > make[1]: Leaving directory
> >>> >> > > >> > `/home/aswin/meteorology_project/met-5.0/src'ds.
> >>> >> > > >> > > I first typed ./configure --prefix=`pwd` --enable-
grib2
> >>> >> > > >> > > and
> >>> >> > > >> > > then
> >>> >> > > >> followed
> >>> >> > > >> > > by make install and I got these messages -
> >>> >> > > >> > >
> >>> >> > > >> > >
> >>> >> > > >> > > On Tue, Sep 16, 2014 at 9:28 PM, Julie Prestopnik
via RT
> <
> >>> >> > > >> > > met_help at ucar.edu>
> >>> >> > > >> > > wrote:
> >>> >> > > >> > >
> >>> >> > > >> > > > Hi Ashwin.
> >>> >> > > >> > > >
> >>> >> > > >> > > > Thanks for downloading the latest release of
MET.  I
> see
> >>> >> > > >> > > > that
> >>> >> > > >> > > > you're
> >>> >> > > >> > > > having  trouble configuring/compiling it.  We
switched
> >>> over
> >>> >> > > >> > > > to
> >>> >> > > >> > > > using
> >>> >> > > >> > > > autoconf for  building MET version 5.0.  In
previous
> >>> >> > > >> > > > versions,
> >>> >> > you
> >>> >> > > >> > > edited a
> >>> >> > > >> > > > file by hand and then typed "make".  Now, you
run the
> >>> >> configure
> >>> >> > > >> script.
> >>> >> > > >> > > > Please read  through the top-level met-
5.0/README file
> >>> >> > > >> > > > for
> >>> >> > > >> instructions
> >>> >> > > >> > > > about building MET.
> >>> >> > > >> > > >
> >>> >> > > >> > > > You can set several environment variables to
tell the
> >>> >> configure
> >>> >> > > >> script
> >>> >> > > >> > > > where to find the dependent libraries.  For
example,
> >>> >> MET_NETCDF
> >>> >> > > >> > > > tells
> >>> >> > > >> > it
> >>> >> > > >> > > > where to find NetCDF.  nc_var_inco.cc should be
looking
> >>> for
> >>> >> > > >> netcdf.hh.
> >>> >> > > >> > > > That's the include file for the C++ interface.
There
> >>> >> > > >> > > > are
> >>> >> > > >> > > > many
> >>> >> > > >> > different
> >>> >> > > >> > > > ways of compiling NetCDF, and MET expects the
C++
> >>> interface
> >>> >> > > >> > > > to
> >>> >> > be
> >>> >> > > >> > > > compiled.  There are some instructions for
compiling
> >>> NetCDF
> >>> >> for
> >>> >> > > MET
> >>> >> > > >> > here:
> >>> >> > > >> > > >
> >>> >> > > >> > > >
> >>> >> > > >> > >
> >>> >> > > >> >
> >>> >> > > >>
> >>> >> > >
> >>> >> >
> >>> >>
> >>>
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
> >>> >> > > >> > > >
> >>> >> > > >> > > > Please take a look at the instructions for
compiling
> >>> NetCDF
> >>> >> for
> >>> >> > > MET
> >>> >> > > >> and
> >>> >> > > >> > > at
> >>> >> > > >> > > > the top-level met-5.0/README file for
instructions
> about
> >>> >> > building
> >>> >> > > >> > > > MET
> >>> >> > > >> > and
> >>> >> > > >> > > > let us know if you continue to experience
problems.
> >>> >> > > >> > > >
> >>> >> > > >> > > > Thanks,
> >>> >> > > >> > > > Julie
> >>> >> > > >> > > >
> >>> >> > > >> > > > On Mon, Sep 15, 2014 at 11:22 PM, ashwinD12 .
via RT <
> >>> >> > > >> > met_help at ucar.edu>
> >>> >> > > >> > > > wrote:
> >>> >> > > >> > > >
> >>> >> > > >> > > > >
> >>> >> > > >> > > > > Mon Sep 15 23:22:39 2014: Request 68987 was
acted
> >>> >> > > >> > > > > upon.
> >>> >> > > >> > > > > Transaction: Ticket created by
winash12 at gmail.com
> >>> >> > > >> > > > >        Queue: met_help
> >>> >> > > >> > > > >      Subject: Not able to compile
> >>> >> > > >> > > > >        Owner: Nobody
> >>> >> > > >> > > > >   Requestors: winash12 at gmail.com
> >>> >> > > >> > > > >       Status: new
> >>> >> > > >> > > > >  Ticket <URL:
> >>> >> > > >> >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> >>> >> > > >> > > >
> >>> >> > > >> > > > >
> >>> >> > > >> > > > >
> >>> >> > > >> > > > > Hello,
> >>> >> > > >> > > > >            I downloaded the latest version and
I am
> >>> unable
> >>> >> to
> >>> >> > > >> compile
> >>> >> > > >> > > > this
> >>> >> > > >> > > > > at all.
> >>> >> > > >> > > > >
> >>> >> > > >> > > > > Here are the errors - first it appears that
there is
> >>> >> > > >> > > > > an
> >>> >> error
> >>> >> > in
> >>> >> > > >> this
> >>> >> > > >> > > > > directory - nc_var_inco.cc which includes
netcdf.hh.
> I
> >>> >> believe
> >>> >> > > it
> >>> >> > > >> > > should
> >>> >> > > >> > > > be
> >>> >> > > >> > > > > netcdf.h. Please let me know if that is
accurate or
> >>> >> > > >> > > > > not.
> >>> >> When
> >>> >> > I
> >>> >> > > >> > > > > fix
> >>> >> > > >> > > that
> >>> >> > > >> > > > I
> >>> >> > > >> > > > > get these errors -
> >>> >> > > >> > > > >
> >>> >> > > >> > > > >
> >>> >> > > >> > > > >
> >>> >> > > >> > > > > Regards,
> >>> >> > > >> > > > > Ashwin.
> >>> >> > > >> > > > >
> >>> >> > > >> > > > > make[3]: Entering directory
> >>> >> > > >> > > > >
> >>> >> > `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
> >>> >> > > >> > > > > 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_geodesy
> >>> >> > > >> > > > > -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_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_shapedata
> >>> >> > > >> > > > > -I../../../src/libcode/vx_statistics
> >>> >> > > >> > -I../../../src/libcode/vx_stat_out
> >>> >> > > >> > > > > -I../../../src/libcode/vx_tc_util -DBLOCK4
> >>> >> > > >> > > > > -DWITH_GRIB2
> >>> >> > > >> > > > > -DMET_BASE="\"/usr/local/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
> >>> >> > > >> > > > > In file included from nc_var_info.cc(24):
> >>> >> > > >> > > > > nc_var_info.h(24): catastrophic error: cannot
open
> >>> source
> >>> >> file
> >>> >> > > >> > > > "netcdf.hh"
> >>> >> > > >> > > > >   #include <netcdf.hh>
> >>> >> > > >> > > > >                       ^
> >>> >> > > >> > > > >
> >>> >> > > >> > > > > compilation aborted for nc_var_info.cc (code
4)
> >>> >> > > >> > > > > make[3]: *** [libvx_nc_util_a-nc_var_info.o]
Error 4
> >>> >> > > >> > > > > make[3]: Leaving directory
> >>> >> > > >> > > > >
> >>> >> > `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
> >>> >> > > >> > > > > make[2]: *** [install-recursive] Error 1
> >>> >> > > >> > > > > make[2]: Leaving directory
> >>> >> > > >> > > > > `/home/aswin/meteorology_project/met-
5.0/src/libcode'
> >>> >> > > >> > > > > make[1]: *** [install-recursive] Error 1
> >>> >> > > >> > > > > make[1]: Leaving directory
> >>> >> > > >> > > `/home/aswin/meteorology_project/met-5.0/src'
> >>> >> > > >> > > > > make: *** [install-recursive] Error 1
> >>> >> > > >> > > > >
> >>> >> > > >> > > > > Ashwin.
> >>> >> > > >> > > > >
> >>> >> > > >> > > > >
> >>> >> > > >> > > >
> >>> >> > > >> > > >
> >>> >> > > >> > > > --
> >>> >> > > >> > > > Julie Prestopnik
> >>> >> > > >> > > > National Center for Atmospheric Research
> >>> >> > > >> > > > Research Applications Laboratory
> >>> >> > > >> > > > Phone: 303.497.8399
> >>> >> > > >> > > > Email: jpresto at ucar.edu
> >>> >> > > >> > > >
> >>> >> > > >> > > >
> >>> >> > > >> > >
> >>> >> > > >> > >
> >>> >> > > >> >
> >>> >> > > >> >
> >>> >> > > >> > --
> >>> >> > > >> > Julie Prestopnik
> >>> >> > > >> > National Center for Atmospheric Research
> >>> >> > > >> > Research Applications Laboratory
> >>> >> > > >> > Phone: 303.497.8399
> >>> >> > > >> > Email: jpresto at ucar.edu
> >>> >> > > >> >
> >>> >> > > >> >
> >>> >> > > >>
> >>> >> > > >>
> >>> >> > > >
> >>> >> > > >
> >>> >> > > > --
> >>> >> > > > Julie Prestopnik
> >>> >> > > > National Center for Atmospheric Research
> >>> >> > > > Research Applications Laboratory
> >>> >> > > > Phone: 303.497.8399
> >>> >> > > > Email: jpresto at ucar.edu
> >>> >> > > >
> >>> >> > > >
> >>> >> > >
> >>> >> > >
> >>> >> >
> >>> >> >
> >>> >> > --
> >>> >> > Julie Prestopnik
> >>> >> > National Center for Atmospheric Research
> >>> >> > Research Applications Laboratory
> >>> >> > Phone: 303.497.8399
> >>> >> > Email: jpresto at ucar.edu
> >>> >> >
> >>> >> >
> >>> >>
> >>> >>
> >>> >
> >>> >
> >>> > --
> >>> > Julie Prestopnik
> >>> > National Center for Atmospheric Research
> >>> > Research Applications Laboratory
> >>> > Phone: 303.497.8399
> >>> > Email: jpresto at ucar.edu
> >>> >
> >>> >
> >>>
> >>>
> >>
> >
> >
>
>

------------------------------------------------
Subject: Not able to compile
From: ashwinD12 .
Time: Thu Oct 16 00:48:11 2014

Hello John,
                  Here you go - I am enclosing all the log files you
requested.
Regards,
Ashwin.

On 10/15/14, John Halley Gotway via RT <met_help at ucar.edu> wrote:
> Ashwin,
>
> Just so I can get a better understand of what's going on, could you
please
> run the following commands in the top-level met-5.0 directory...
>
>    printenv | grep MET_ > environment.log
>    make clean
>   ./configure -prefix=`pwd`
>   make install >& make_install.log
>   make test >& make_test.log
>
> And then send me these files: environment.log, config.log,
> make_install.log, and make_test.log
>
> That'll give me a better idea of what's going on.
>
> Thanks,
> John
>
> On Wed, Oct 15, 2014 at 1:41 AM, ashwinD12 . via RT
<met_help at ucar.edu>
> wrote:
>
>>
>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>>
>> Hi John,
>>               I apologize for the late response. It is not without
a
>> reason. I got past that point but I have a LIBRBUF error. I had
sent
>> this report to NCEP website but have yet to hear from them. Until I
>> hear from them I cannot test the new patches. Please bear with me
for
>> a few days and I will get back to you.
>> Regards,
>> Ashwin.
>>
>> On 10/15/14, John Halley Gotway via RT <met_help at ucar.edu> wrote:
>> > Ashwin,
>> >
>> > I just posted the first set of patches for the met-5.0 release,
and
>> > they
>> > include this fix.  Please follow the instructions posted here to
>> > download
>> > and apply the latest set of patches:
>> >
>>
http://www.dtcenter.org/met/users/support/known_issues/METv5.0/index.php
>> >
>> > Please let me know if you continue to experience problems with
MET.
>> >
>> > Thanks,
>> > John Halley Gotway
>> > met_help at ucar.edu
>> >
>> > On Mon, Oct 13, 2014 at 3:02 PM, John Halley Gotway
<johnhg at ucar.edu>
>> > wrote:
>> >
>> >> Hello Ashwin,
>> >>
>> >> This is John Halley Gotway.  I work with Julie, but she's out of
the
>> >> office today.  I took a look at this issue and think I've
uncovered
>> >> the
>> >> problem.  And it's a problem on our end, not yours.  Here's what
I'd
>> like
>> >> you to try...
>> >>
>> >> Copy the three attached files (color_scanner.cc, Makefile.in,
and
>> >> Makefile.am) into this directory:
>> >>    met-5.0/src/libcode/vx_color
>> >>
>> >> Then rerun "configure" and "make install".  Please let me know
if this
>> >> resolves the error with lex.yy.c you were getting.
>> >>
>> >> In met-5.0, we switched over to building MET using autoconf.
The MET
>> >> code
>> >> uses flex and bison (lex and yacc) to parse data files in a few
>> >> places,
>> >> but
>> >> our intention is to run those tools here during the process of
>> >> building
>> a
>> >> release.  I think the vx_color Makefile was removing the output
of
>> >> flex
>> >> and
>> >> then trying to rebuild it by calling flex.  And there's probably
an
>> >> inconsistency between the version of flex we use here and the
one on
>> your
>> >> machine.
>> >>
>> >> Please do let me know if that resolves the problem.  Once we get
a
>> >> good
>> >> fix for this issue, we'll post a patch on the known issue page
for
>> >> MET.
>> >>
>> >> Sorry for trouble, but thanks for helping us debug this issue!
>> >>
>> >> John Halley Gotway
>> >> met_help at ucar.edu
>> >>
>> >>
>> >>
>> >> On Thu, Oct 9, 2014 at 4:56 PM, ashwinD12 . via RT
<met_help at ucar.edu>
>> >> wrote:
>> >>
>> >>>
>> >>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>> >>>
>> >>> Hello Julie,
>> >>>                  There is no problem with the netcdf build. I
moved
>> >>> past that point. Did you look at the error messages ? it is
>> >>> mentioning
>> >>> that there is some problem with lex.yy.c.
>> >>> Regards,
>> >>> Ashwin.
>> >>>
>> >>> On 10/9/14, Julie Prestopnik via RT <met_help at ucar.edu> wrote:
>> >>> > Hi Ashwin.  I'm sorry to hear that you are still having some
>> >>> > difficulty
>> >>> in
>> >>> > getting METv5.0 to build.
>> >>> >
>> >>> > I'd suggest downloading and compiling NetCDF locally using
the
>> >>> > following
>> >>> > steps:
>> >>> >
>> >>> > Download NetCDF 3.6.3 from here:
>> >>> > http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-
3.6.3.tar.gz
>> >>> >
>> >>> > Then run:
>> >>> > tar -zxf netcdf-3.6.3.tar.gz
>> >>> > ./configure --prefix=`pwd`
>> >>> > make
>> >>> > make install
>> >>> >
>> >>> > These commands should compile the C and C++ interfaces for
NetCDF
>> >>> > and
>> >>> skip
>> >>> > the Fortran interface that MET doesn't use.  It will install
the
>> >>> library in
>> >>> > current "netcdf-3.6.3" directory due to the --prefix=`pwd`
option.
>> >>> >
>> >>> > Next, you'll need to edit where you set MET_NETCDF to point
to this
>> >>> > new
>> >>> > location, source your .cshrc or similiar file, and rebuild
MET.
>> >>> >
>> >>> > I just ran all of these steps and was able to get a
successful
>> >>> > build
>> >>> > and
>> >>> > install of METv5.0.
>> >>> >
>> >>> > Please give this a try and let me know how it goes.
>> >>> >
>> >>> > Thanks,
>> >>> > Julie
>> >>> >
>> >>> > On Thu, Oct 9, 2014 at 1:28 AM, ashwinD12 . via RT <
>> met_help at ucar.edu>
>> >>> > wrote:
>> >>> >
>> >>> >>
>> >>> >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>> >>> >>
>> >>> >> Hi Julie,
>> >>> >>                I made some progress with some difficulty
which is
>> >>> >> expected.
>> >>> >> First of all there are *two* C++ NETCDF  libraries and I had
to
>> >>> >> use
>> >>> >> the
>> >>> >> legacy C++ NETCDF source code to build with MET 5.0. The
netcdf.hh
>> >>> >> file
>> >>> >> is
>> >>> >> NOT found in the latest C++ NETCDF interface but in the
legacy
>> >>> >> distribution. It would be helpful if you could update the
>> >>> >> documentation
>> >>> >> to
>> >>> >> reflect this.
>> >>> >> Then I did not have lex and yacc on my Ubuntu and I updated
my
>> system
>> >>> to
>> >>> >> reflect that. Then I ran make install again and  here are
the
>> >>> >> latest
>> >>> >> error
>> >>> >> -
>> >>> >> make[4]: Nothing to be done for `install-exec-am'.
>> >>> >> make[4]: Nothing to be done for `install-data-am'.
>> >>> >> make[4]: Leaving directory
>> >>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_afm'
>> >>> >> make[3]: Leaving directory
>> >>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_afm'
>> >>> >> Making install in vx_color
>> >>> >> make[3]: Entering directory
>> >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_color'
>> >>> >> /bin/bash ../../../ylwrap color_scanner.ll .c
color_scanner.cc --
>> >>> >> :
>> >>> >> --prefix=color --outfile=lex.yy.c
>> >>> >> make[3]: *** [color_scanner.cc] Error 1
>> >>> >> make[3]: Leaving directory
>> >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_color'
>> >>> >> make[2]: *** [install-recursive] Error 1
>> >>> >> make[2]: Leaving directory
>> >>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode'
>> >>> >> make[1]: *** [install-recursive] Error 1
>> >>> >> make[1]: Leaving directory
>> >>> `/home/aswin/meteorology_project/met-5.0/src'
>> >>> >> make: *** [install-recursive] Error 1
>> >>> >>
>> >>> >>
>> >>> >>
>> >>> >> On Wed, Oct 8, 2014 at 8:13 PM, Julie Prestopnik via RT
>> >>> >> <met_help at ucar.edu
>> >>> >> >
>> >>> >> wrote:
>> >>> >>
>> >>> >> > Hi Ashwin.  I agree. MET expects the C++ interface to be
>> >>> >> > compiled.
>> >>> >> Please
>> >>> >> > try building and compiling NETCDF to include the C++
interface
>> >>> >> > and
>> >>> then
>> >>> >> > rebuild and recompile MET.  Please let me know how it
turns out.
>> >>> >> >
>> >>> >> > Thanks,
>> >>> >> > Julie
>> >>> >> >
>> >>> >> > On Wed, Oct 8, 2014 at 7:51 AM, ashwinD12 . via RT <
>> >>> met_help at ucar.edu>
>> >>> >> > wrote:
>> >>> >> >
>> >>> >> > >
>> >>> >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>> >>> >> > > >
>> >>> >> > >
>> >>> >> > > I am not at the machine where the problem is happening
but I
>> >>> >> > > can
>> >>> >> > > guess
>> >>> >> > > the root cause of the problem. When compiling NETCDF for
WRF I
>> >>> only
>> >>> >> > > compiled the C and FORTRAN libraries and not the C++
>> >>> >> > > libraries.
>> >>> >> > > So
>> >>> I
>> >>> >> > > will need to recompile NETCDF and this time compile for
C++ as
>> >>> >> > > well
>> >>> >> > > by
>> >>> >> > > specifying the environment variable CXX. I do not think
there
>> >>> >> > > is
>> >>> >> > > a
>> >>> >> > > file netcdf.hh under /usr/local/include. I will confirm
this
>> >>> tomorrow
>> >>> >> > > morning my time.
>> >>> >> > > Regards.
>> >>> >> > >
>> >>> >> > > On 10/8/14, Julie Prestopnik via RT <met_help at ucar.edu>
wrote:
>> >>> >> > > > Great!  Thank you.  Can you please take a look in
>> MET_NETCDFINC
>> >>> >> > > > (/usr/local/
>> >>> >> > > > include) and tell me if you see netcdf.hh?
>> >>> >> > > >
>> >>> >> > > > Julie
>> >>> >> > > >
>> >>> >> > > > On Tue, Oct 7, 2014 at 11:18 PM, ashwinD12 . via RT <
>> >>> >> met_help at ucar.edu
>> >>> >> > >
>> >>> >> > > > wrote:
>> >>> >> > > >
>> >>> >> > > >>
>> >>> >> > > >> <URL:
>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>> >>> >> > > >> >
>> >>> >> > > >>
>> >>> >> > > >> Hi Julie, I am sending you the required information
>> >>> >> > > >>
>> >>> >> > > >> printenv | grep MET
>> >>> >> > > >>
>> >>> >> > > >> MET_GSLLIB=/usr/local/lib
>> >>> >> > > >> MET_GRIB2LIB=/usr/local/lib
>> >>> >> > > >> MET_GSLINC=/usr/local/include
>> >>> >> > > >> MET_NETCDFINC=/usr/local/include
>> >>> >> > > >> MET_NETCDFLIB=/usr/local/lib
>> >>> >> > > >>
>> >>> >> > > >> On Tue, Oct 7, 2014 at 8:52 PM, Julie Prestopnik via
RT
>> >>> >> > > >> <met_help at ucar.edu
>> >>> >> > > >> >
>> >>> >> > > >> wrote:
>> >>> >> > > >>
>> >>> >> > > >> > Hi Ashwin.  I see you're still having problems with
MET
>> >>> finding
>> >>> >> > > >> netcdf.hh.
>> >>> >> > > >> >
>> >>> >> > > >> > Could you please run "printenv | grep MET" and send
me
>> >>> >> > > >> > the
>> >>> >> > > >> > output?
>> >>> >> > > >> >
>> >>> >> > > >> > Thank you.
>> >>> >> > > >> >
>> >>> >> > > >> > Julie
>> >>> >> > > >> >
>> >>> >> > > >> > On Tue, Oct 7, 2014 at 6:07 AM, ashwinD12 . via RT
<
>> >>> >> > met_help at ucar.edu
>> >>> >> > > >
>> >>> >> > > >> > wrote:
>> >>> >> > > >> >
>> >>> >> > > >> > >
>> >>> >> > > >> > > <URL:
>> >>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>> >>> >> > > >> > > >
>> >>> >> > > >> > >
>> >>> >> > > >> > > Hello,
>> >>> >> > > >> > >             I apologize for the late response on
this
>> >>> >> > > >> > > as
>> I
>> >>> >> > > >> > > have
>> >>> >> > > >> tracking
>> >>> >> > > >> > > another WRF problem. The problem still persists
>> >>> >> > > >> > > I first typed ./configure --prefix=`pwd`
--enable-grib2
>> >>> >> > > >> > > and
>> >>> >> > > >> > > then
>> >>> >> > > >> followed
>> >>> >> > > >> > > by make install and I got these 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_geodesy
>> >>> >> -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_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_shapedata
>> >>> >> > > >> > > -I../../../src/libcode/vx_statistics
>> >>> >> > > >> > > -I../../../src/libcode/vx_stat_out
>> >>> >> > > >> > > -I../../../src/libcode/vx_tc_util
-I/usr/local/include
>> >>> >> > > >> > -I/usr/local/include
>> >>> >> > > >> > > -DBLOCK4 -DWITH_GRIB2
>> >>> >> > > >> > >
>> >>> >> -DMET_BASE="\"/home/aswin/meteorology_project/met-
5.0/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
>> >>> >> > > >> > > In file included from nc_var_info.cc(24):
>> >>> >> > > >> > > nc_var_info.h(24): catastrophic error: cannot
open
>> >>> >> > > >> > > source
>> >>> file
>> >>> >> > > >> > "netcdf.hh"
>> >>> >> > > >> > >   #include <netcdf.hh>
>> >>> >> > > >> > >                       ^
>> >>> >> > > >> > >
>> >>> >> > > >> > > compilation aborted for nc_var_info.cc (code 4)
>> >>> >> > > >> > > make[3]: *** [libvx_nc_util_a-nc_var_info.o]
Error 4
>> >>> >> > > >> > > make[3]: Leaving directory
>> >>> >> > > >> > >
>> >>> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
>> >>> >> > > >> > > make[2]: *** [install-recursive] Error 1
>> >>> >> > > >> > > make[2]: Leaving directory
>> >>> >> > > >> > > `/home/aswin/meteorology_project/met-
5.0/src/libcode'
>> >>> >> > > >> > > make[1]: *** [install-recursive] Error 1
>> >>> >> > > >> > > make[1]: Leaving directory
>> >>> >> > > >> > `/home/aswin/meteorology_project/met-5.0/src'ds.
>> >>> >> > > >> > > I first typed ./configure --prefix=`pwd`
--enable-grib2
>> >>> >> > > >> > > and
>> >>> >> > > >> > > then
>> >>> >> > > >> followed
>> >>> >> > > >> > > by make install and I got these messages -
>> >>> >> > > >> > >
>> >>> >> > > >> > >
>> >>> >> > > >> > > On Tue, Sep 16, 2014 at 9:28 PM, Julie Prestopnik
via
>> >>> >> > > >> > > RT
>> <
>> >>> >> > > >> > > met_help at ucar.edu>
>> >>> >> > > >> > > wrote:
>> >>> >> > > >> > >
>> >>> >> > > >> > > > Hi Ashwin.
>> >>> >> > > >> > > >
>> >>> >> > > >> > > > Thanks for downloading the latest release of
MET.  I
>> see
>> >>> >> > > >> > > > that
>> >>> >> > > >> > > > you're
>> >>> >> > > >> > > > having  trouble configuring/compiling it.  We
>> >>> >> > > >> > > > switched
>> >>> over
>> >>> >> > > >> > > > to
>> >>> >> > > >> > > > using
>> >>> >> > > >> > > > autoconf for  building MET version 5.0.  In
previous
>> >>> >> > > >> > > > versions,
>> >>> >> > you
>> >>> >> > > >> > > edited a
>> >>> >> > > >> > > > file by hand and then typed "make".  Now, you
run the
>> >>> >> configure
>> >>> >> > > >> script.
>> >>> >> > > >> > > > Please read  through the top-level met-
5.0/README
>> >>> >> > > >> > > > file
>> >>> >> > > >> > > > for
>> >>> >> > > >> instructions
>> >>> >> > > >> > > > about building MET.
>> >>> >> > > >> > > >
>> >>> >> > > >> > > > You can set several environment variables to
tell the
>> >>> >> configure
>> >>> >> > > >> script
>> >>> >> > > >> > > > where to find the dependent libraries.  For
example,
>> >>> >> MET_NETCDF
>> >>> >> > > >> > > > tells
>> >>> >> > > >> > it
>> >>> >> > > >> > > > where to find NetCDF.  nc_var_inco.cc should be
>> >>> >> > > >> > > > looking
>> >>> for
>> >>> >> > > >> netcdf.hh.
>> >>> >> > > >> > > > That's the include file for the C++ interface.
There
>> >>> >> > > >> > > > are
>> >>> >> > > >> > > > many
>> >>> >> > > >> > different
>> >>> >> > > >> > > > ways of compiling NetCDF, and MET expects the
C++
>> >>> interface
>> >>> >> > > >> > > > to
>> >>> >> > be
>> >>> >> > > >> > > > compiled.  There are some instructions for
compiling
>> >>> NetCDF
>> >>> >> for
>> >>> >> > > MET
>> >>> >> > > >> > here:
>> >>> >> > > >> > > >
>> >>> >> > > >> > > >
>> >>> >> > > >> > >
>> >>> >> > > >> >
>> >>> >> > > >>
>> >>> >> > >
>> >>> >> >
>> >>> >>
>> >>>
>>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
>> >>> >> > > >> > > >
>> >>> >> > > >> > > > Please take a look at the instructions for
compiling
>> >>> NetCDF
>> >>> >> for
>> >>> >> > > MET
>> >>> >> > > >> and
>> >>> >> > > >> > > at
>> >>> >> > > >> > > > the top-level met-5.0/README file for
instructions
>> about
>> >>> >> > building
>> >>> >> > > >> > > > MET
>> >>> >> > > >> > and
>> >>> >> > > >> > > > let us know if you continue to experience
problems.
>> >>> >> > > >> > > >
>> >>> >> > > >> > > > Thanks,
>> >>> >> > > >> > > > Julie
>> >>> >> > > >> > > >
>> >>> >> > > >> > > > On Mon, Sep 15, 2014 at 11:22 PM, ashwinD12 .
via RT
>> >>> >> > > >> > > > <
>> >>> >> > > >> > met_help at ucar.edu>
>> >>> >> > > >> > > > wrote:
>> >>> >> > > >> > > >
>> >>> >> > > >> > > > >
>> >>> >> > > >> > > > > Mon Sep 15 23:22:39 2014: Request 68987 was
acted
>> >>> >> > > >> > > > > upon.
>> >>> >> > > >> > > > > Transaction: Ticket created by
winash12 at gmail.com
>> >>> >> > > >> > > > >        Queue: met_help
>> >>> >> > > >> > > > >      Subject: Not able to compile
>> >>> >> > > >> > > > >        Owner: Nobody
>> >>> >> > > >> > > > >   Requestors: winash12 at gmail.com
>> >>> >> > > >> > > > >       Status: new
>> >>> >> > > >> > > > >  Ticket <URL:
>> >>> >> > > >> >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>> >>> >> > > >> > > >
>> >>> >> > > >> > > > >
>> >>> >> > > >> > > > >
>> >>> >> > > >> > > > > Hello,
>> >>> >> > > >> > > > >            I downloaded the latest version
and I am
>> >>> unable
>> >>> >> to
>> >>> >> > > >> compile
>> >>> >> > > >> > > > this
>> >>> >> > > >> > > > > at all.
>> >>> >> > > >> > > > >
>> >>> >> > > >> > > > > Here are the errors - first it appears that
there
>> >>> >> > > >> > > > > is
>> >>> >> > > >> > > > > an
>> >>> >> error
>> >>> >> > in
>> >>> >> > > >> this
>> >>> >> > > >> > > > > directory - nc_var_inco.cc which includes
>> >>> >> > > >> > > > > netcdf.hh.
>> I
>> >>> >> believe
>> >>> >> > > it
>> >>> >> > > >> > > should
>> >>> >> > > >> > > > be
>> >>> >> > > >> > > > > netcdf.h. Please let me know if that is
accurate or
>> >>> >> > > >> > > > > not.
>> >>> >> When
>> >>> >> > I
>> >>> >> > > >> > > > > fix
>> >>> >> > > >> > > that
>> >>> >> > > >> > > > I
>> >>> >> > > >> > > > > get these errors -
>> >>> >> > > >> > > > >
>> >>> >> > > >> > > > >
>> >>> >> > > >> > > > >
>> >>> >> > > >> > > > > Regards,
>> >>> >> > > >> > > > > Ashwin.
>> >>> >> > > >> > > > >
>> >>> >> > > >> > > > > make[3]: Entering directory
>> >>> >> > > >> > > > >
>> >>> >> > `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
>> >>> >> > > >> > > > > 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_geodesy
>> >>> >> > > >> > > > > -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_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_shapedata
>> >>> >> > > >> > > > > -I../../../src/libcode/vx_statistics
>> >>> >> > > >> > -I../../../src/libcode/vx_stat_out
>> >>> >> > > >> > > > > -I../../../src/libcode/vx_tc_util -DBLOCK4
>> >>> >> > > >> > > > > -DWITH_GRIB2
>> >>> >> > > >> > > > > -DMET_BASE="\"/usr/local/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
>> >>> >> > > >> > > > > In file included from nc_var_info.cc(24):
>> >>> >> > > >> > > > > nc_var_info.h(24): catastrophic error: cannot
open
>> >>> source
>> >>> >> file
>> >>> >> > > >> > > > "netcdf.hh"
>> >>> >> > > >> > > > >   #include <netcdf.hh>
>> >>> >> > > >> > > > >                       ^
>> >>> >> > > >> > > > >
>> >>> >> > > >> > > > > compilation aborted for nc_var_info.cc (code
4)
>> >>> >> > > >> > > > > make[3]: *** [libvx_nc_util_a-nc_var_info.o]
Error
>> >>> >> > > >> > > > > 4
>> >>> >> > > >> > > > > make[3]: Leaving directory
>> >>> >> > > >> > > > >
>> >>> >> > `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
>> >>> >> > > >> > > > > make[2]: *** [install-recursive] Error 1
>> >>> >> > > >> > > > > make[2]: Leaving directory
>> >>> >> > > >> > > > > `/home/aswin/meteorology_project/met-
5.0/src/libcode'
>> >>> >> > > >> > > > > make[1]: *** [install-recursive] Error 1
>> >>> >> > > >> > > > > make[1]: Leaving directory
>> >>> >> > > >> > > `/home/aswin/meteorology_project/met-5.0/src'
>> >>> >> > > >> > > > > make: *** [install-recursive] Error 1
>> >>> >> > > >> > > > >
>> >>> >> > > >> > > > > Ashwin.
>> >>> >> > > >> > > > >
>> >>> >> > > >> > > > >
>> >>> >> > > >> > > >
>> >>> >> > > >> > > >
>> >>> >> > > >> > > > --
>> >>> >> > > >> > > > Julie Prestopnik
>> >>> >> > > >> > > > National Center for Atmospheric Research
>> >>> >> > > >> > > > Research Applications Laboratory
>> >>> >> > > >> > > > Phone: 303.497.8399
>> >>> >> > > >> > > > Email: jpresto at ucar.edu
>> >>> >> > > >> > > >
>> >>> >> > > >> > > >
>> >>> >> > > >> > >
>> >>> >> > > >> > >
>> >>> >> > > >> >
>> >>> >> > > >> >
>> >>> >> > > >> > --
>> >>> >> > > >> > Julie Prestopnik
>> >>> >> > > >> > National Center for Atmospheric Research
>> >>> >> > > >> > Research Applications Laboratory
>> >>> >> > > >> > Phone: 303.497.8399
>> >>> >> > > >> > Email: jpresto at ucar.edu
>> >>> >> > > >> >
>> >>> >> > > >> >
>> >>> >> > > >>
>> >>> >> > > >>
>> >>> >> > > >
>> >>> >> > > >
>> >>> >> > > > --
>> >>> >> > > > Julie Prestopnik
>> >>> >> > > > National Center for Atmospheric Research
>> >>> >> > > > Research Applications Laboratory
>> >>> >> > > > Phone: 303.497.8399
>> >>> >> > > > Email: jpresto at ucar.edu
>> >>> >> > > >
>> >>> >> > > >
>> >>> >> > >
>> >>> >> > >
>> >>> >> >
>> >>> >> >
>> >>> >> > --
>> >>> >> > Julie Prestopnik
>> >>> >> > National Center for Atmospheric Research
>> >>> >> > Research Applications Laboratory
>> >>> >> > Phone: 303.497.8399
>> >>> >> > Email: jpresto at ucar.edu
>> >>> >> >
>> >>> >> >
>> >>> >>
>> >>> >>
>> >>> >
>> >>> >
>> >>> > --
>> >>> > Julie Prestopnik
>> >>> > National Center for Atmospheric Research
>> >>> > Research Applications Laboratory
>> >>> > Phone: 303.497.8399
>> >>> > Email: jpresto at ucar.edu
>> >>> >
>> >>> >
>> >>>
>> >>>
>> >>
>> >
>> >
>>
>>
>
>

------------------------------------------------
Subject: Not able to compile
From: John Halley Gotway
Time: Thu Oct 16 10:20:05 2014

Ashwin,

Thanks for sending those files.  It makes it much easier to debug.
The
problem is that you're mixing an intel C++ compiler (icpc) with a GNU
fortran compiler (gfortran).  When compiling MET and all the dependent
libraries, we need to use the same family of compilers.  Mixing
compiler
families leads to the sort of undefined reference errors that you're
getting.

The question is, which family of compilers did you intend to use,
intel or
gnu.  The C/C++/Fortran compilers for intel are icc/icc/ifort.  The
C/C++/Fortran compilers for GNU are gcc/g++/gfortran.  In my commands
below, I'll assume you're using GNU, but you can swap them out for the
corresponding intel ones if needed.  Whichever set of compilers you
use,
note that the dependent libraries (GSL, BUFRLIB, NetCDF) should be
compiled
with them as well.

# Go to the top-level met-5.0 directory.

# First make sure that these compilers are present on your system
which gcc
which g++
which gfortran

# Set variables to tell configure which compilers you want to use
setenv CC `which gcc`
setenv CXX `which g++`
setenv FC `which gfortran`

# Recompile MET
make clean
./configure -prefix=`pwd`
make install >& make_install.log
make test >& make_test.log

And then inspect "make_install.log" to make sure that MET used the
compilers you specified.

Please let me know how that goes.

Thanks,
John

On Thu, Oct 16, 2014 at 12:48 AM, ashwinD12 . via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>
> Hello John,
>                   Here you go - I am enclosing all the log files you
> requested.
> Regards,
> Ashwin.
>
> On 10/15/14, John Halley Gotway via RT <met_help at ucar.edu> wrote:
> > Ashwin,
> >
> > Just so I can get a better understand of what's going on, could
you
> please
> > run the following commands in the top-level met-5.0 directory...
> >
> >    printenv | grep MET_ > environment.log
> >    make clean
> >   ./configure -prefix=`pwd`
> >   make install >& make_install.log
> >   make test >& make_test.log
> >
> > And then send me these files: environment.log, config.log,
> > make_install.log, and make_test.log
> >
> > That'll give me a better idea of what's going on.
> >
> > Thanks,
> > John
> >
> > On Wed, Oct 15, 2014 at 1:41 AM, ashwinD12 . via RT
<met_help at ucar.edu>
> > wrote:
> >
> >>
> >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
> >>
> >> Hi John,
> >>               I apologize for the late response. It is not
without a
> >> reason. I got past that point but I have a LIBRBUF error. I had
sent
> >> this report to NCEP website but have yet to hear from them. Until
I
> >> hear from them I cannot test the new patches. Please bear with me
for
> >> a few days and I will get back to you.
> >> Regards,
> >> Ashwin.
> >>
> >> On 10/15/14, John Halley Gotway via RT <met_help at ucar.edu> wrote:
> >> > Ashwin,
> >> >
> >> > I just posted the first set of patches for the met-5.0 release,
and
> >> > they
> >> > include this fix.  Please follow the instructions posted here
to
> >> > download
> >> > and apply the latest set of patches:
> >> >
> >>
>
http://www.dtcenter.org/met/users/support/known_issues/METv5.0/index.php
> >> >
> >> > Please let me know if you continue to experience problems with
MET.
> >> >
> >> > Thanks,
> >> > John Halley Gotway
> >> > met_help at ucar.edu
> >> >
> >> > On Mon, Oct 13, 2014 at 3:02 PM, John Halley Gotway
<johnhg at ucar.edu>
> >> > wrote:
> >> >
> >> >> Hello Ashwin,
> >> >>
> >> >> This is John Halley Gotway.  I work with Julie, but she's out
of the
> >> >> office today.  I took a look at this issue and think I've
uncovered
> >> >> the
> >> >> problem.  And it's a problem on our end, not yours.  Here's
what I'd
> >> like
> >> >> you to try...
> >> >>
> >> >> Copy the three attached files (color_scanner.cc, Makefile.in,
and
> >> >> Makefile.am) into this directory:
> >> >>    met-5.0/src/libcode/vx_color
> >> >>
> >> >> Then rerun "configure" and "make install".  Please let me know
if
> this
> >> >> resolves the error with lex.yy.c you were getting.
> >> >>
> >> >> In met-5.0, we switched over to building MET using autoconf.
The MET
> >> >> code
> >> >> uses flex and bison (lex and yacc) to parse data files in a
few
> >> >> places,
> >> >> but
> >> >> our intention is to run those tools here during the process of
> >> >> building
> >> a
> >> >> release.  I think the vx_color Makefile was removing the
output of
> >> >> flex
> >> >> and
> >> >> then trying to rebuild it by calling flex.  And there's
probably an
> >> >> inconsistency between the version of flex we use here and the
one on
> >> your
> >> >> machine.
> >> >>
> >> >> Please do let me know if that resolves the problem.  Once we
get a
> >> >> good
> >> >> fix for this issue, we'll post a patch on the known issue page
for
> >> >> MET.
> >> >>
> >> >> Sorry for trouble, but thanks for helping us debug this issue!
> >> >>
> >> >> John Halley Gotway
> >> >> met_help at ucar.edu
> >> >>
> >> >>
> >> >>
> >> >> On Thu, Oct 9, 2014 at 4:56 PM, ashwinD12 . via RT <
> met_help at ucar.edu>
> >> >> wrote:
> >> >>
> >> >>>
> >> >>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>
> >> >>>
> >> >>> Hello Julie,
> >> >>>                  There is no problem with the netcdf build. I
moved
> >> >>> past that point. Did you look at the error messages ? it is
> >> >>> mentioning
> >> >>> that there is some problem with lex.yy.c.
> >> >>> Regards,
> >> >>> Ashwin.
> >> >>>
> >> >>> On 10/9/14, Julie Prestopnik via RT <met_help at ucar.edu>
wrote:
> >> >>> > Hi Ashwin.  I'm sorry to hear that you are still having
some
> >> >>> > difficulty
> >> >>> in
> >> >>> > getting METv5.0 to build.
> >> >>> >
> >> >>> > I'd suggest downloading and compiling NetCDF locally using
the
> >> >>> > following
> >> >>> > steps:
> >> >>> >
> >> >>> > Download NetCDF 3.6.3 from here:
> >> >>> >
> http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-3.6.3.tar.gz
> >> >>> >
> >> >>> > Then run:
> >> >>> > tar -zxf netcdf-3.6.3.tar.gz
> >> >>> > ./configure --prefix=`pwd`
> >> >>> > make
> >> >>> > make install
> >> >>> >
> >> >>> > These commands should compile the C and C++ interfaces for
NetCDF
> >> >>> > and
> >> >>> skip
> >> >>> > the Fortran interface that MET doesn't use.  It will
install the
> >> >>> library in
> >> >>> > current "netcdf-3.6.3" directory due to the --prefix=`pwd`
option.
> >> >>> >
> >> >>> > Next, you'll need to edit where you set MET_NETCDF to point
to
> this
> >> >>> > new
> >> >>> > location, source your .cshrc or similiar file, and rebuild
MET.
> >> >>> >
> >> >>> > I just ran all of these steps and was able to get a
successful
> >> >>> > build
> >> >>> > and
> >> >>> > install of METv5.0.
> >> >>> >
> >> >>> > Please give this a try and let me know how it goes.
> >> >>> >
> >> >>> > Thanks,
> >> >>> > Julie
> >> >>> >
> >> >>> > On Thu, Oct 9, 2014 at 1:28 AM, ashwinD12 . via RT <
> >> met_help at ucar.edu>
> >> >>> > wrote:
> >> >>> >
> >> >>> >>
> >> >>> >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
> >> >>> >>
> >> >>> >> Hi Julie,
> >> >>> >>                I made some progress with some difficulty
which is
> >> >>> >> expected.
> >> >>> >> First of all there are *two* C++ NETCDF  libraries and I
had to
> >> >>> >> use
> >> >>> >> the
> >> >>> >> legacy C++ NETCDF source code to build with MET 5.0. The
> netcdf.hh
> >> >>> >> file
> >> >>> >> is
> >> >>> >> NOT found in the latest C++ NETCDF interface but in the
legacy
> >> >>> >> distribution. It would be helpful if you could update the
> >> >>> >> documentation
> >> >>> >> to
> >> >>> >> reflect this.
> >> >>> >> Then I did not have lex and yacc on my Ubuntu and I
updated my
> >> system
> >> >>> to
> >> >>> >> reflect that. Then I ran make install again and  here are
the
> >> >>> >> latest
> >> >>> >> error
> >> >>> >> -
> >> >>> >> make[4]: Nothing to be done for `install-exec-am'.
> >> >>> >> make[4]: Nothing to be done for `install-data-am'.
> >> >>> >> make[4]: Leaving directory
> >> >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_afm'
> >> >>> >> make[3]: Leaving directory
> >> >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_afm'
> >> >>> >> Making install in vx_color
> >> >>> >> make[3]: Entering directory
> >> >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_color'
> >> >>> >> /bin/bash ../../../ylwrap color_scanner.ll .c
color_scanner.cc --
> >> >>> >> :
> >> >>> >> --prefix=color --outfile=lex.yy.c
> >> >>> >> make[3]: *** [color_scanner.cc] Error 1
> >> >>> >> make[3]: Leaving directory
> >> >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_color'
> >> >>> >> make[2]: *** [install-recursive] Error 1
> >> >>> >> make[2]: Leaving directory
> >> >>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode'
> >> >>> >> make[1]: *** [install-recursive] Error 1
> >> >>> >> make[1]: Leaving directory
> >> >>> `/home/aswin/meteorology_project/met-5.0/src'
> >> >>> >> make: *** [install-recursive] Error 1
> >> >>> >>
> >> >>> >>
> >> >>> >>
> >> >>> >> On Wed, Oct 8, 2014 at 8:13 PM, Julie Prestopnik via RT
> >> >>> >> <met_help at ucar.edu
> >> >>> >> >
> >> >>> >> wrote:
> >> >>> >>
> >> >>> >> > Hi Ashwin.  I agree. MET expects the C++ interface to be
> >> >>> >> > compiled.
> >> >>> >> Please
> >> >>> >> > try building and compiling NETCDF to include the C++
interface
> >> >>> >> > and
> >> >>> then
> >> >>> >> > rebuild and recompile MET.  Please let me know how it
turns
> out.
> >> >>> >> >
> >> >>> >> > Thanks,
> >> >>> >> > Julie
> >> >>> >> >
> >> >>> >> > On Wed, Oct 8, 2014 at 7:51 AM, ashwinD12 . via RT <
> >> >>> met_help at ucar.edu>
> >> >>> >> > wrote:
> >> >>> >> >
> >> >>> >> > >
> >> >>> >> > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> >> >>> >> > > >
> >> >>> >> > >
> >> >>> >> > > I am not at the machine where the problem is happening
but I
> >> >>> >> > > can
> >> >>> >> > > guess
> >> >>> >> > > the root cause of the problem. When compiling NETCDF
for WRF
> I
> >> >>> only
> >> >>> >> > > compiled the C and FORTRAN libraries and not the C++
> >> >>> >> > > libraries.
> >> >>> >> > > So
> >> >>> I
> >> >>> >> > > will need to recompile NETCDF and this time compile
for C++
> as
> >> >>> >> > > well
> >> >>> >> > > by
> >> >>> >> > > specifying the environment variable CXX. I do not
think there
> >> >>> >> > > is
> >> >>> >> > > a
> >> >>> >> > > file netcdf.hh under /usr/local/include. I will
confirm this
> >> >>> tomorrow
> >> >>> >> > > morning my time.
> >> >>> >> > > Regards.
> >> >>> >> > >
> >> >>> >> > > On 10/8/14, Julie Prestopnik via RT
<met_help at ucar.edu>
> wrote:
> >> >>> >> > > > Great!  Thank you.  Can you please take a look in
> >> MET_NETCDFINC
> >> >>> >> > > > (/usr/local/
> >> >>> >> > > > include) and tell me if you see netcdf.hh?
> >> >>> >> > > >
> >> >>> >> > > > Julie
> >> >>> >> > > >
> >> >>> >> > > > On Tue, Oct 7, 2014 at 11:18 PM, ashwinD12 . via RT
<
> >> >>> >> met_help at ucar.edu
> >> >>> >> > >
> >> >>> >> > > > wrote:
> >> >>> >> > > >
> >> >>> >> > > >>
> >> >>> >> > > >> <URL:
> >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> >> >>> >> > > >> >
> >> >>> >> > > >>
> >> >>> >> > > >> Hi Julie, I am sending you the required information
> >> >>> >> > > >>
> >> >>> >> > > >> printenv | grep MET
> >> >>> >> > > >>
> >> >>> >> > > >> MET_GSLLIB=/usr/local/lib
> >> >>> >> > > >> MET_GRIB2LIB=/usr/local/lib
> >> >>> >> > > >> MET_GSLINC=/usr/local/include
> >> >>> >> > > >> MET_NETCDFINC=/usr/local/include
> >> >>> >> > > >> MET_NETCDFLIB=/usr/local/lib
> >> >>> >> > > >>
> >> >>> >> > > >> On Tue, Oct 7, 2014 at 8:52 PM, Julie Prestopnik
via RT
> >> >>> >> > > >> <met_help at ucar.edu
> >> >>> >> > > >> >
> >> >>> >> > > >> wrote:
> >> >>> >> > > >>
> >> >>> >> > > >> > Hi Ashwin.  I see you're still having problems
with MET
> >> >>> finding
> >> >>> >> > > >> netcdf.hh.
> >> >>> >> > > >> >
> >> >>> >> > > >> > Could you please run "printenv | grep MET" and
send me
> >> >>> >> > > >> > the
> >> >>> >> > > >> > output?
> >> >>> >> > > >> >
> >> >>> >> > > >> > Thank you.
> >> >>> >> > > >> >
> >> >>> >> > > >> > Julie
> >> >>> >> > > >> >
> >> >>> >> > > >> > On Tue, Oct 7, 2014 at 6:07 AM, ashwinD12 . via
RT <
> >> >>> >> > met_help at ucar.edu
> >> >>> >> > > >
> >> >>> >> > > >> > wrote:
> >> >>> >> > > >> >
> >> >>> >> > > >> > >
> >> >>> >> > > >> > > <URL:
> >> >>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> >> >>> >> > > >> > > >
> >> >>> >> > > >> > >
> >> >>> >> > > >> > > Hello,
> >> >>> >> > > >> > >             I apologize for the late response
on this
> >> >>> >> > > >> > > as
> >> I
> >> >>> >> > > >> > > have
> >> >>> >> > > >> tracking
> >> >>> >> > > >> > > another WRF problem. The problem still persists
> >> >>> >> > > >> > > I first typed ./configure --prefix=`pwd`
> --enable-grib2
> >> >>> >> > > >> > > and
> >> >>> >> > > >> > > then
> >> >>> >> > > >> followed
> >> >>> >> > > >> > > by make install and I got these 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_geodesy
> >> >>> >> -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_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_shapedata
> >> >>> >> > > >> > > -I../../../src/libcode/vx_statistics
> >> >>> >> > > >> > > -I../../../src/libcode/vx_stat_out
> >> >>> >> > > >> > > -I../../../src/libcode/vx_tc_util
-I/usr/local/include
> >> >>> >> > > >> > -I/usr/local/include
> >> >>> >> > > >> > > -DBLOCK4 -DWITH_GRIB2
> >> >>> >> > > >> > >
> >> >>> >>
> -DMET_BASE="\"/home/aswin/meteorology_project/met-5.0/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
> >> >>> >> > > >> > > In file included from nc_var_info.cc(24):
> >> >>> >> > > >> > > nc_var_info.h(24): catastrophic error: cannot
open
> >> >>> >> > > >> > > source
> >> >>> file
> >> >>> >> > > >> > "netcdf.hh"
> >> >>> >> > > >> > >   #include <netcdf.hh>
> >> >>> >> > > >> > >                       ^
> >> >>> >> > > >> > >
> >> >>> >> > > >> > > compilation aborted for nc_var_info.cc (code 4)
> >> >>> >> > > >> > > make[3]: *** [libvx_nc_util_a-nc_var_info.o]
Error 4
> >> >>> >> > > >> > > make[3]: Leaving directory
> >> >>> >> > > >> > >
> >> >>> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
> >> >>> >> > > >> > > make[2]: *** [install-recursive] Error 1
> >> >>> >> > > >> > > make[2]: Leaving directory
> >> >>> >> > > >> > > `/home/aswin/meteorology_project/met-
5.0/src/libcode'
> >> >>> >> > > >> > > make[1]: *** [install-recursive] Error 1
> >> >>> >> > > >> > > make[1]: Leaving directory
> >> >>> >> > > >> > `/home/aswin/meteorology_project/met-5.0/src'ds.
> >> >>> >> > > >> > > I first typed ./configure --prefix=`pwd`
> --enable-grib2
> >> >>> >> > > >> > > and
> >> >>> >> > > >> > > then
> >> >>> >> > > >> followed
> >> >>> >> > > >> > > by make install and I got these messages -
> >> >>> >> > > >> > >
> >> >>> >> > > >> > >
> >> >>> >> > > >> > > On Tue, Sep 16, 2014 at 9:28 PM, Julie
Prestopnik via
> >> >>> >> > > >> > > RT
> >> <
> >> >>> >> > > >> > > met_help at ucar.edu>
> >> >>> >> > > >> > > wrote:
> >> >>> >> > > >> > >
> >> >>> >> > > >> > > > Hi Ashwin.
> >> >>> >> > > >> > > >
> >> >>> >> > > >> > > > Thanks for downloading the latest release of
MET.  I
> >> see
> >> >>> >> > > >> > > > that
> >> >>> >> > > >> > > > you're
> >> >>> >> > > >> > > > having  trouble configuring/compiling it.  We
> >> >>> >> > > >> > > > switched
> >> >>> over
> >> >>> >> > > >> > > > to
> >> >>> >> > > >> > > > using
> >> >>> >> > > >> > > > autoconf for  building MET version 5.0.  In
previous
> >> >>> >> > > >> > > > versions,
> >> >>> >> > you
> >> >>> >> > > >> > > edited a
> >> >>> >> > > >> > > > file by hand and then typed "make".  Now, you
run
> the
> >> >>> >> configure
> >> >>> >> > > >> script.
> >> >>> >> > > >> > > > Please read  through the top-level met-
5.0/README
> >> >>> >> > > >> > > > file
> >> >>> >> > > >> > > > for
> >> >>> >> > > >> instructions
> >> >>> >> > > >> > > > about building MET.
> >> >>> >> > > >> > > >
> >> >>> >> > > >> > > > You can set several environment variables to
tell
> the
> >> >>> >> configure
> >> >>> >> > > >> script
> >> >>> >> > > >> > > > where to find the dependent libraries.  For
example,
> >> >>> >> MET_NETCDF
> >> >>> >> > > >> > > > tells
> >> >>> >> > > >> > it
> >> >>> >> > > >> > > > where to find NetCDF.  nc_var_inco.cc should
be
> >> >>> >> > > >> > > > looking
> >> >>> for
> >> >>> >> > > >> netcdf.hh.
> >> >>> >> > > >> > > > That's the include file for the C++
interface.
> There
> >> >>> >> > > >> > > > are
> >> >>> >> > > >> > > > many
> >> >>> >> > > >> > different
> >> >>> >> > > >> > > > ways of compiling NetCDF, and MET expects the
C++
> >> >>> interface
> >> >>> >> > > >> > > > to
> >> >>> >> > be
> >> >>> >> > > >> > > > compiled.  There are some instructions for
compiling
> >> >>> NetCDF
> >> >>> >> for
> >> >>> >> > > MET
> >> >>> >> > > >> > here:
> >> >>> >> > > >> > > >
> >> >>> >> > > >> > > >
> >> >>> >> > > >> > >
> >> >>> >> > > >> >
> >> >>> >> > > >>
> >> >>> >> > >
> >> >>> >> >
> >> >>> >>
> >> >>>
> >>
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
> >> >>> >> > > >> > > >
> >> >>> >> > > >> > > > Please take a look at the instructions for
compiling
> >> >>> NetCDF
> >> >>> >> for
> >> >>> >> > > MET
> >> >>> >> > > >> and
> >> >>> >> > > >> > > at
> >> >>> >> > > >> > > > the top-level met-5.0/README file for
instructions
> >> about
> >> >>> >> > building
> >> >>> >> > > >> > > > MET
> >> >>> >> > > >> > and
> >> >>> >> > > >> > > > let us know if you continue to experience
problems.
> >> >>> >> > > >> > > >
> >> >>> >> > > >> > > > Thanks,
> >> >>> >> > > >> > > > Julie
> >> >>> >> > > >> > > >
> >> >>> >> > > >> > > > On Mon, Sep 15, 2014 at 11:22 PM, ashwinD12 .
via RT
> >> >>> >> > > >> > > > <
> >> >>> >> > > >> > met_help at ucar.edu>
> >> >>> >> > > >> > > > wrote:
> >> >>> >> > > >> > > >
> >> >>> >> > > >> > > > >
> >> >>> >> > > >> > > > > Mon Sep 15 23:22:39 2014: Request 68987 was
acted
> >> >>> >> > > >> > > > > upon.
> >> >>> >> > > >> > > > > Transaction: Ticket created by
winash12 at gmail.com
> >> >>> >> > > >> > > > >        Queue: met_help
> >> >>> >> > > >> > > > >      Subject: Not able to compile
> >> >>> >> > > >> > > > >        Owner: Nobody
> >> >>> >> > > >> > > > >   Requestors: winash12 at gmail.com
> >> >>> >> > > >> > > > >       Status: new
> >> >>> >> > > >> > > > >  Ticket <URL:
> >> >>> >> > > >> >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> >> >>> >> > > >> > > >
> >> >>> >> > > >> > > > >
> >> >>> >> > > >> > > > >
> >> >>> >> > > >> > > > > Hello,
> >> >>> >> > > >> > > > >            I downloaded the latest version
and I
> am
> >> >>> unable
> >> >>> >> to
> >> >>> >> > > >> compile
> >> >>> >> > > >> > > > this
> >> >>> >> > > >> > > > > at all.
> >> >>> >> > > >> > > > >
> >> >>> >> > > >> > > > > Here are the errors - first it appears that
there
> >> >>> >> > > >> > > > > is
> >> >>> >> > > >> > > > > an
> >> >>> >> error
> >> >>> >> > in
> >> >>> >> > > >> this
> >> >>> >> > > >> > > > > directory - nc_var_inco.cc which includes
> >> >>> >> > > >> > > > > netcdf.hh.
> >> I
> >> >>> >> believe
> >> >>> >> > > it
> >> >>> >> > > >> > > should
> >> >>> >> > > >> > > > be
> >> >>> >> > > >> > > > > netcdf.h. Please let me know if that is
accurate
> or
> >> >>> >> > > >> > > > > not.
> >> >>> >> When
> >> >>> >> > I
> >> >>> >> > > >> > > > > fix
> >> >>> >> > > >> > > that
> >> >>> >> > > >> > > > I
> >> >>> >> > > >> > > > > get these errors -
> >> >>> >> > > >> > > > >
> >> >>> >> > > >> > > > >
> >> >>> >> > > >> > > > >
> >> >>> >> > > >> > > > > Regards,
> >> >>> >> > > >> > > > > Ashwin.
> >> >>> >> > > >> > > > >
> >> >>> >> > > >> > > > > make[3]: Entering directory
> >> >>> >> > > >> > > > >
> >> >>> >> >
> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
> >> >>> >> > > >> > > > > 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_geodesy
> >> >>> >> > > >> > > > > -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_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_shapedata
> >> >>> >> > > >> > > > > -I../../../src/libcode/vx_statistics
> >> >>> >> > > >> > -I../../../src/libcode/vx_stat_out
> >> >>> >> > > >> > > > > -I../../../src/libcode/vx_tc_util -DBLOCK4
> >> >>> >> > > >> > > > > -DWITH_GRIB2
> >> >>> >> > > >> > > > > -DMET_BASE="\"/usr/local/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
> >> >>> >> > > >> > > > > In file included from nc_var_info.cc(24):
> >> >>> >> > > >> > > > > nc_var_info.h(24): catastrophic error:
cannot open
> >> >>> source
> >> >>> >> file
> >> >>> >> > > >> > > > "netcdf.hh"
> >> >>> >> > > >> > > > >   #include <netcdf.hh>
> >> >>> >> > > >> > > > >                       ^
> >> >>> >> > > >> > > > >
> >> >>> >> > > >> > > > > compilation aborted for nc_var_info.cc
(code 4)
> >> >>> >> > > >> > > > > make[3]: *** [libvx_nc_util_a-
nc_var_info.o] Error
> >> >>> >> > > >> > > > > 4
> >> >>> >> > > >> > > > > make[3]: Leaving directory
> >> >>> >> > > >> > > > >
> >> >>> >> >
> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
> >> >>> >> > > >> > > > > make[2]: *** [install-recursive] Error 1
> >> >>> >> > > >> > > > > make[2]: Leaving directory
> >> >>> >> > > >> > > > >
> `/home/aswin/meteorology_project/met-5.0/src/libcode'
> >> >>> >> > > >> > > > > make[1]: *** [install-recursive] Error 1
> >> >>> >> > > >> > > > > make[1]: Leaving directory
> >> >>> >> > > >> > > `/home/aswin/meteorology_project/met-5.0/src'
> >> >>> >> > > >> > > > > make: *** [install-recursive] Error 1
> >> >>> >> > > >> > > > >
> >> >>> >> > > >> > > > > Ashwin.
> >> >>> >> > > >> > > > >
> >> >>> >> > > >> > > > >
> >> >>> >> > > >> > > >
> >> >>> >> > > >> > > >
> >> >>> >> > > >> > > > --
> >> >>> >> > > >> > > > Julie Prestopnik
> >> >>> >> > > >> > > > National Center for Atmospheric Research
> >> >>> >> > > >> > > > Research Applications Laboratory
> >> >>> >> > > >> > > > Phone: 303.497.8399
> >> >>> >> > > >> > > > Email: jpresto at ucar.edu
> >> >>> >> > > >> > > >
> >> >>> >> > > >> > > >
> >> >>> >> > > >> > >
> >> >>> >> > > >> > >
> >> >>> >> > > >> >
> >> >>> >> > > >> >
> >> >>> >> > > >> > --
> >> >>> >> > > >> > Julie Prestopnik
> >> >>> >> > > >> > National Center for Atmospheric Research
> >> >>> >> > > >> > Research Applications Laboratory
> >> >>> >> > > >> > Phone: 303.497.8399
> >> >>> >> > > >> > Email: jpresto at ucar.edu
> >> >>> >> > > >> >
> >> >>> >> > > >> >
> >> >>> >> > > >>
> >> >>> >> > > >>
> >> >>> >> > > >
> >> >>> >> > > >
> >> >>> >> > > > --
> >> >>> >> > > > Julie Prestopnik
> >> >>> >> > > > National Center for Atmospheric Research
> >> >>> >> > > > Research Applications Laboratory
> >> >>> >> > > > Phone: 303.497.8399
> >> >>> >> > > > Email: jpresto at ucar.edu
> >> >>> >> > > >
> >> >>> >> > > >
> >> >>> >> > >
> >> >>> >> > >
> >> >>> >> >
> >> >>> >> >
> >> >>> >> > --
> >> >>> >> > Julie Prestopnik
> >> >>> >> > National Center for Atmospheric Research
> >> >>> >> > Research Applications Laboratory
> >> >>> >> > Phone: 303.497.8399
> >> >>> >> > Email: jpresto at ucar.edu
> >> >>> >> >
> >> >>> >> >
> >> >>> >>
> >> >>> >>
> >> >>> >
> >> >>> >
> >> >>> > --
> >> >>> > Julie Prestopnik
> >> >>> > National Center for Atmospheric Research
> >> >>> > Research Applications Laboratory
> >> >>> > Phone: 303.497.8399
> >> >>> > Email: jpresto at ucar.edu
> >> >>> >
> >> >>> >
> >> >>>
> >> >>>
> >> >>
> >> >
> >> >
> >>
> >>
> >
> >
>
>

------------------------------------------------
Subject: Not able to compile
From: John Halley Gotway
Time: Thu Oct 16 10:27:13 2014

Ashwin,

Oops, sorry I told you to set the FC environment variable.  I should
have
said F77:
   setenv F77 `which gfortran`

Thanks,
John

On Thu, Oct 16, 2014 at 10:19 AM, John Halley Gotway <johnhg at ucar.edu>
wrote:

> Ashwin,
>
> Thanks for sending those files.  It makes it much easier to debug.
The
> problem is that you're mixing an intel C++ compiler (icpc) with a
GNU
> fortran compiler (gfortran).  When compiling MET and all the
dependent
> libraries, we need to use the same family of compilers.  Mixing
compiler
> families leads to the sort of undefined reference errors that you're
> getting.
>
> The question is, which family of compilers did you intend to use,
intel or
> gnu.  The C/C++/Fortran compilers for intel are icc/icc/ifort.  The
> C/C++/Fortran compilers for GNU are gcc/g++/gfortran.  In my
commands
> below, I'll assume you're using GNU, but you can swap them out for
the
> corresponding intel ones if needed.  Whichever set of compilers you
use,
> note that the dependent libraries (GSL, BUFRLIB, NetCDF) should be
compiled
> with them as well.
>
> # Go to the top-level met-5.0 directory.
>
> # First make sure that these compilers are present on your system
> which gcc
> which g++
> which gfortran
>
> # Set variables to tell configure which compilers you want to use
> setenv CC `which gcc`
> setenv CXX `which g++`
> setenv FC `which gfortran`
>
> # Recompile MET
> make clean
> ./configure -prefix=`pwd`
> make install >& make_install.log
> make test >& make_test.log
>
> And then inspect "make_install.log" to make sure that MET used the
> compilers you specified.
>
> Please let me know how that goes.
>
> Thanks,
> John
>
> On Thu, Oct 16, 2014 at 12:48 AM, ashwinD12 . via RT
<met_help at ucar.edu>
> wrote:
>
>>
>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>>
>> Hello John,
>>                   Here you go - I am enclosing all the log files
you
>> requested.
>> Regards,
>> Ashwin.
>>
>> On 10/15/14, John Halley Gotway via RT <met_help at ucar.edu> wrote:
>> > Ashwin,
>> >
>> > Just so I can get a better understand of what's going on, could
you
>> please
>> > run the following commands in the top-level met-5.0 directory...
>> >
>> >    printenv | grep MET_ > environment.log
>> >    make clean
>> >   ./configure -prefix=`pwd`
>> >   make install >& make_install.log
>> >   make test >& make_test.log
>> >
>> > And then send me these files: environment.log, config.log,
>> > make_install.log, and make_test.log
>> >
>> > That'll give me a better idea of what's going on.
>> >
>> > Thanks,
>> > John
>> >
>> > On Wed, Oct 15, 2014 at 1:41 AM, ashwinD12 . via RT
<met_help at ucar.edu>
>> > wrote:
>> >
>> >>
>> >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>> >>
>> >> Hi John,
>> >>               I apologize for the late response. It is not
without a
>> >> reason. I got past that point but I have a LIBRBUF error. I had
sent
>> >> this report to NCEP website but have yet to hear from them.
Until I
>> >> hear from them I cannot test the new patches. Please bear with
me for
>> >> a few days and I will get back to you.
>> >> Regards,
>> >> Ashwin.
>> >>
>> >> On 10/15/14, John Halley Gotway via RT <met_help at ucar.edu>
wrote:
>> >> > Ashwin,
>> >> >
>> >> > I just posted the first set of patches for the met-5.0
release, and
>> >> > they
>> >> > include this fix.  Please follow the instructions posted here
to
>> >> > download
>> >> > and apply the latest set of patches:
>> >> >
>> >>
>>
http://www.dtcenter.org/met/users/support/known_issues/METv5.0/index.php
>> >> >
>> >> > Please let me know if you continue to experience problems with
MET.
>> >> >
>> >> > Thanks,
>> >> > John Halley Gotway
>> >> > met_help at ucar.edu
>> >> >
>> >> > On Mon, Oct 13, 2014 at 3:02 PM, John Halley Gotway
<johnhg at ucar.edu
>> >
>> >> > wrote:
>> >> >
>> >> >> Hello Ashwin,
>> >> >>
>> >> >> This is John Halley Gotway.  I work with Julie, but she's out
of the
>> >> >> office today.  I took a look at this issue and think I've
uncovered
>> >> >> the
>> >> >> problem.  And it's a problem on our end, not yours.  Here's
what I'd
>> >> like
>> >> >> you to try...
>> >> >>
>> >> >> Copy the three attached files (color_scanner.cc, Makefile.in,
and
>> >> >> Makefile.am) into this directory:
>> >> >>    met-5.0/src/libcode/vx_color
>> >> >>
>> >> >> Then rerun "configure" and "make install".  Please let me
know if
>> this
>> >> >> resolves the error with lex.yy.c you were getting.
>> >> >>
>> >> >> In met-5.0, we switched over to building MET using autoconf.
The
>> MET
>> >> >> code
>> >> >> uses flex and bison (lex and yacc) to parse data files in a
few
>> >> >> places,
>> >> >> but
>> >> >> our intention is to run those tools here during the process
of
>> >> >> building
>> >> a
>> >> >> release.  I think the vx_color Makefile was removing the
output of
>> >> >> flex
>> >> >> and
>> >> >> then trying to rebuild it by calling flex.  And there's
probably an
>> >> >> inconsistency between the version of flex we use here and the
one on
>> >> your
>> >> >> machine.
>> >> >>
>> >> >> Please do let me know if that resolves the problem.  Once we
get a
>> >> >> good
>> >> >> fix for this issue, we'll post a patch on the known issue
page for
>> >> >> MET.
>> >> >>
>> >> >> Sorry for trouble, but thanks for helping us debug this
issue!
>> >> >>
>> >> >> John Halley Gotway
>> >> >> met_help at ucar.edu
>> >> >>
>> >> >>
>> >> >>
>> >> >> On Thu, Oct 9, 2014 at 4:56 PM, ashwinD12 . via RT <
>> met_help at ucar.edu>
>> >> >> wrote:
>> >> >>
>> >> >>>
>> >> >>> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>> >> >>>
>> >> >>> Hello Julie,
>> >> >>>                  There is no problem with the netcdf build.
I moved
>> >> >>> past that point. Did you look at the error messages ? it is
>> >> >>> mentioning
>> >> >>> that there is some problem with lex.yy.c.
>> >> >>> Regards,
>> >> >>> Ashwin.
>> >> >>>
>> >> >>> On 10/9/14, Julie Prestopnik via RT <met_help at ucar.edu>
wrote:
>> >> >>> > Hi Ashwin.  I'm sorry to hear that you are still having
some
>> >> >>> > difficulty
>> >> >>> in
>> >> >>> > getting METv5.0 to build.
>> >> >>> >
>> >> >>> > I'd suggest downloading and compiling NetCDF locally using
the
>> >> >>> > following
>> >> >>> > steps:
>> >> >>> >
>> >> >>> > Download NetCDF 3.6.3 from here:
>> >> >>> >
>> http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-
3.6.3.tar.gz
>> >> >>> >
>> >> >>> > Then run:
>> >> >>> > tar -zxf netcdf-3.6.3.tar.gz
>> >> >>> > ./configure --prefix=`pwd`
>> >> >>> > make
>> >> >>> > make install
>> >> >>> >
>> >> >>> > These commands should compile the C and C++ interfaces for
NetCDF
>> >> >>> > and
>> >> >>> skip
>> >> >>> > the Fortran interface that MET doesn't use.  It will
install the
>> >> >>> library in
>> >> >>> > current "netcdf-3.6.3" directory due to the --prefix=`pwd`
>> option.
>> >> >>> >
>> >> >>> > Next, you'll need to edit where you set MET_NETCDF to
point to
>> this
>> >> >>> > new
>> >> >>> > location, source your .cshrc or similiar file, and rebuild
MET.
>> >> >>> >
>> >> >>> > I just ran all of these steps and was able to get a
successful
>> >> >>> > build
>> >> >>> > and
>> >> >>> > install of METv5.0.
>> >> >>> >
>> >> >>> > Please give this a try and let me know how it goes.
>> >> >>> >
>> >> >>> > Thanks,
>> >> >>> > Julie
>> >> >>> >
>> >> >>> > On Thu, Oct 9, 2014 at 1:28 AM, ashwinD12 . via RT <
>> >> met_help at ucar.edu>
>> >> >>> > wrote:
>> >> >>> >
>> >> >>> >>
>> >> >>> >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>> >> >>> >>
>> >> >>> >> Hi Julie,
>> >> >>> >>                I made some progress with some difficulty
which
>> is
>> >> >>> >> expected.
>> >> >>> >> First of all there are *two* C++ NETCDF  libraries and I
had to
>> >> >>> >> use
>> >> >>> >> the
>> >> >>> >> legacy C++ NETCDF source code to build with MET 5.0. The
>> netcdf.hh
>> >> >>> >> file
>> >> >>> >> is
>> >> >>> >> NOT found in the latest C++ NETCDF interface but in the
legacy
>> >> >>> >> distribution. It would be helpful if you could update the
>> >> >>> >> documentation
>> >> >>> >> to
>> >> >>> >> reflect this.
>> >> >>> >> Then I did not have lex and yacc on my Ubuntu and I
updated my
>> >> system
>> >> >>> to
>> >> >>> >> reflect that. Then I ran make install again and  here are
the
>> >> >>> >> latest
>> >> >>> >> error
>> >> >>> >> -
>> >> >>> >> make[4]: Nothing to be done for `install-exec-am'.
>> >> >>> >> make[4]: Nothing to be done for `install-data-am'.
>> >> >>> >> make[4]: Leaving directory
>> >> >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_afm'
>> >> >>> >> make[3]: Leaving directory
>> >> >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_afm'
>> >> >>> >> Making install in vx_color
>> >> >>> >> make[3]: Entering directory
>> >> >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_color'
>> >> >>> >> /bin/bash ../../../ylwrap color_scanner.ll .c
color_scanner.cc
>> --
>> >> >>> >> :
>> >> >>> >> --prefix=color --outfile=lex.yy.c
>> >> >>> >> make[3]: *** [color_scanner.cc] Error 1
>> >> >>> >> make[3]: Leaving directory
>> >> >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_color'
>> >> >>> >> make[2]: *** [install-recursive] Error 1
>> >> >>> >> make[2]: Leaving directory
>> >> >>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode'
>> >> >>> >> make[1]: *** [install-recursive] Error 1
>> >> >>> >> make[1]: Leaving directory
>> >> >>> `/home/aswin/meteorology_project/met-5.0/src'
>> >> >>> >> make: *** [install-recursive] Error 1
>> >> >>> >>
>> >> >>> >>
>> >> >>> >>
>> >> >>> >> On Wed, Oct 8, 2014 at 8:13 PM, Julie Prestopnik via RT
>> >> >>> >> <met_help at ucar.edu
>> >> >>> >> >
>> >> >>> >> wrote:
>> >> >>> >>
>> >> >>> >> > Hi Ashwin.  I agree. MET expects the C++ interface to
be
>> >> >>> >> > compiled.
>> >> >>> >> Please
>> >> >>> >> > try building and compiling NETCDF to include the C++
interface
>> >> >>> >> > and
>> >> >>> then
>> >> >>> >> > rebuild and recompile MET.  Please let me know how it
turns
>> out.
>> >> >>> >> >
>> >> >>> >> > Thanks,
>> >> >>> >> > Julie
>> >> >>> >> >
>> >> >>> >> > On Wed, Oct 8, 2014 at 7:51 AM, ashwinD12 . via RT <
>> >> >>> met_help at ucar.edu>
>> >> >>> >> > wrote:
>> >> >>> >> >
>> >> >>> >> > >
>> >> >>> >> > > <URL:
>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>> >> >>> >> > > >
>> >> >>> >> > >
>> >> >>> >> > > I am not at the machine where the problem is
happening but I
>> >> >>> >> > > can
>> >> >>> >> > > guess
>> >> >>> >> > > the root cause of the problem. When compiling NETCDF
for
>> WRF I
>> >> >>> only
>> >> >>> >> > > compiled the C and FORTRAN libraries and not the C++
>> >> >>> >> > > libraries.
>> >> >>> >> > > So
>> >> >>> I
>> >> >>> >> > > will need to recompile NETCDF and this time compile
for C++
>> as
>> >> >>> >> > > well
>> >> >>> >> > > by
>> >> >>> >> > > specifying the environment variable CXX. I do not
think
>> there
>> >> >>> >> > > is
>> >> >>> >> > > a
>> >> >>> >> > > file netcdf.hh under /usr/local/include. I will
confirm this
>> >> >>> tomorrow
>> >> >>> >> > > morning my time.
>> >> >>> >> > > Regards.
>> >> >>> >> > >
>> >> >>> >> > > On 10/8/14, Julie Prestopnik via RT
<met_help at ucar.edu>
>> wrote:
>> >> >>> >> > > > Great!  Thank you.  Can you please take a look in
>> >> MET_NETCDFINC
>> >> >>> >> > > > (/usr/local/
>> >> >>> >> > > > include) and tell me if you see netcdf.hh?
>> >> >>> >> > > >
>> >> >>> >> > > > Julie
>> >> >>> >> > > >
>> >> >>> >> > > > On Tue, Oct 7, 2014 at 11:18 PM, ashwinD12 . via RT
<
>> >> >>> >> met_help at ucar.edu
>> >> >>> >> > >
>> >> >>> >> > > > wrote:
>> >> >>> >> > > >
>> >> >>> >> > > >>
>> >> >>> >> > > >> <URL:
>> >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>> >> >>> >> > > >> >
>> >> >>> >> > > >>
>> >> >>> >> > > >> Hi Julie, I am sending you the required
information
>> >> >>> >> > > >>
>> >> >>> >> > > >> printenv | grep MET
>> >> >>> >> > > >>
>> >> >>> >> > > >> MET_GSLLIB=/usr/local/lib
>> >> >>> >> > > >> MET_GRIB2LIB=/usr/local/lib
>> >> >>> >> > > >> MET_GSLINC=/usr/local/include
>> >> >>> >> > > >> MET_NETCDFINC=/usr/local/include
>> >> >>> >> > > >> MET_NETCDFLIB=/usr/local/lib
>> >> >>> >> > > >>
>> >> >>> >> > > >> On Tue, Oct 7, 2014 at 8:52 PM, Julie Prestopnik
via RT
>> >> >>> >> > > >> <met_help at ucar.edu
>> >> >>> >> > > >> >
>> >> >>> >> > > >> wrote:
>> >> >>> >> > > >>
>> >> >>> >> > > >> > Hi Ashwin.  I see you're still having problems
with MET
>> >> >>> finding
>> >> >>> >> > > >> netcdf.hh.
>> >> >>> >> > > >> >
>> >> >>> >> > > >> > Could you please run "printenv | grep MET" and
send me
>> >> >>> >> > > >> > the
>> >> >>> >> > > >> > output?
>> >> >>> >> > > >> >
>> >> >>> >> > > >> > Thank you.
>> >> >>> >> > > >> >
>> >> >>> >> > > >> > Julie
>> >> >>> >> > > >> >
>> >> >>> >> > > >> > On Tue, Oct 7, 2014 at 6:07 AM, ashwinD12 . via
RT <
>> >> >>> >> > met_help at ucar.edu
>> >> >>> >> > > >
>> >> >>> >> > > >> > wrote:
>> >> >>> >> > > >> >
>> >> >>> >> > > >> > >
>> >> >>> >> > > >> > > <URL:
>> >> >>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>> >> >>> >> > > >> > > >
>> >> >>> >> > > >> > >
>> >> >>> >> > > >> > > Hello,
>> >> >>> >> > > >> > >             I apologize for the late response
on this
>> >> >>> >> > > >> > > as
>> >> I
>> >> >>> >> > > >> > > have
>> >> >>> >> > > >> tracking
>> >> >>> >> > > >> > > another WRF problem. The problem still
persists
>> >> >>> >> > > >> > > I first typed ./configure --prefix=`pwd`
>> --enable-grib2
>> >> >>> >> > > >> > > and
>> >> >>> >> > > >> > > then
>> >> >>> >> > > >> followed
>> >> >>> >> > > >> > > by make install and I got these 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_geodesy
>> >> >>> >> -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_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_shapedata
>> >> >>> >> > > >> > > -I../../../src/libcode/vx_statistics
>> >> >>> >> > > >> > > -I../../../src/libcode/vx_stat_out
>> >> >>> >> > > >> > > -I../../../src/libcode/vx_tc_util
>> -I/usr/local/include
>> >> >>> >> > > >> > -I/usr/local/include
>> >> >>> >> > > >> > > -DBLOCK4 -DWITH_GRIB2
>> >> >>> >> > > >> > >
>> >> >>> >>
>> -DMET_BASE="\"/home/aswin/meteorology_project/met-5.0/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
>> >> >>> >> > > >> > > In file included from nc_var_info.cc(24):
>> >> >>> >> > > >> > > nc_var_info.h(24): catastrophic error: cannot
open
>> >> >>> >> > > >> > > source
>> >> >>> file
>> >> >>> >> > > >> > "netcdf.hh"
>> >> >>> >> > > >> > >   #include <netcdf.hh>
>> >> >>> >> > > >> > >                       ^
>> >> >>> >> > > >> > >
>> >> >>> >> > > >> > > compilation aborted for nc_var_info.cc (code
4)
>> >> >>> >> > > >> > > make[3]: *** [libvx_nc_util_a-nc_var_info.o]
Error 4
>> >> >>> >> > > >> > > make[3]: Leaving directory
>> >> >>> >> > > >> > >
>> >> >>> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
>> >> >>> >> > > >> > > make[2]: *** [install-recursive] Error 1
>> >> >>> >> > > >> > > make[2]: Leaving directory
>> >> >>> >> > > >> > > `/home/aswin/meteorology_project/met-
5.0/src/libcode'
>> >> >>> >> > > >> > > make[1]: *** [install-recursive] Error 1
>> >> >>> >> > > >> > > make[1]: Leaving directory
>> >> >>> >> > > >> > `/home/aswin/meteorology_project/met-5.0/src'ds.
>> >> >>> >> > > >> > > I first typed ./configure --prefix=`pwd`
>> --enable-grib2
>> >> >>> >> > > >> > > and
>> >> >>> >> > > >> > > then
>> >> >>> >> > > >> followed
>> >> >>> >> > > >> > > by make install and I got these messages -
>> >> >>> >> > > >> > >
>> >> >>> >> > > >> > >
>> >> >>> >> > > >> > > On Tue, Sep 16, 2014 at 9:28 PM, Julie
Prestopnik via
>> >> >>> >> > > >> > > RT
>> >> <
>> >> >>> >> > > >> > > met_help at ucar.edu>
>> >> >>> >> > > >> > > wrote:
>> >> >>> >> > > >> > >
>> >> >>> >> > > >> > > > Hi Ashwin.
>> >> >>> >> > > >> > > >
>> >> >>> >> > > >> > > > Thanks for downloading the latest release of
MET.
>> I
>> >> see
>> >> >>> >> > > >> > > > that
>> >> >>> >> > > >> > > > you're
>> >> >>> >> > > >> > > > having  trouble configuring/compiling it.
We
>> >> >>> >> > > >> > > > switched
>> >> >>> over
>> >> >>> >> > > >> > > > to
>> >> >>> >> > > >> > > > using
>> >> >>> >> > > >> > > > autoconf for  building MET version 5.0.  In
>> previous
>> >> >>> >> > > >> > > > versions,
>> >> >>> >> > you
>> >> >>> >> > > >> > > edited a
>> >> >>> >> > > >> > > > file by hand and then typed "make".  Now,
you run
>> the
>> >> >>> >> configure
>> >> >>> >> > > >> script.
>> >> >>> >> > > >> > > > Please read  through the top-level met-
5.0/README
>> >> >>> >> > > >> > > > file
>> >> >>> >> > > >> > > > for
>> >> >>> >> > > >> instructions
>> >> >>> >> > > >> > > > about building MET.
>> >> >>> >> > > >> > > >
>> >> >>> >> > > >> > > > You can set several environment variables to
tell
>> the
>> >> >>> >> configure
>> >> >>> >> > > >> script
>> >> >>> >> > > >> > > > where to find the dependent libraries.  For
>> example,
>> >> >>> >> MET_NETCDF
>> >> >>> >> > > >> > > > tells
>> >> >>> >> > > >> > it
>> >> >>> >> > > >> > > > where to find NetCDF.  nc_var_inco.cc should
be
>> >> >>> >> > > >> > > > looking
>> >> >>> for
>> >> >>> >> > > >> netcdf.hh.
>> >> >>> >> > > >> > > > That's the include file for the C++
interface.
>> There
>> >> >>> >> > > >> > > > are
>> >> >>> >> > > >> > > > many
>> >> >>> >> > > >> > different
>> >> >>> >> > > >> > > > ways of compiling NetCDF, and MET expects
the C++
>> >> >>> interface
>> >> >>> >> > > >> > > > to
>> >> >>> >> > be
>> >> >>> >> > > >> > > > compiled.  There are some instructions for
>> compiling
>> >> >>> NetCDF
>> >> >>> >> for
>> >> >>> >> > > MET
>> >> >>> >> > > >> > here:
>> >> >>> >> > > >> > > >
>> >> >>> >> > > >> > > >
>> >> >>> >> > > >> > >
>> >> >>> >> > > >> >
>> >> >>> >> > > >>
>> >> >>> >> > >
>> >> >>> >> >
>> >> >>> >>
>> >> >>>
>> >>
>>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
>> >> >>> >> > > >> > > >
>> >> >>> >> > > >> > > > Please take a look at the instructions for
>> compiling
>> >> >>> NetCDF
>> >> >>> >> for
>> >> >>> >> > > MET
>> >> >>> >> > > >> and
>> >> >>> >> > > >> > > at
>> >> >>> >> > > >> > > > the top-level met-5.0/README file for
instructions
>> >> about
>> >> >>> >> > building
>> >> >>> >> > > >> > > > MET
>> >> >>> >> > > >> > and
>> >> >>> >> > > >> > > > let us know if you continue to experience
problems.
>> >> >>> >> > > >> > > >
>> >> >>> >> > > >> > > > Thanks,
>> >> >>> >> > > >> > > > Julie
>> >> >>> >> > > >> > > >
>> >> >>> >> > > >> > > > On Mon, Sep 15, 2014 at 11:22 PM, ashwinD12
. via
>> RT
>> >> >>> >> > > >> > > > <
>> >> >>> >> > > >> > met_help at ucar.edu>
>> >> >>> >> > > >> > > > wrote:
>> >> >>> >> > > >> > > >
>> >> >>> >> > > >> > > > >
>> >> >>> >> > > >> > > > > Mon Sep 15 23:22:39 2014: Request 68987
was acted
>> >> >>> >> > > >> > > > > upon.
>> >> >>> >> > > >> > > > > Transaction: Ticket created by
>> winash12 at gmail.com
>> >> >>> >> > > >> > > > >        Queue: met_help
>> >> >>> >> > > >> > > > >      Subject: Not able to compile
>> >> >>> >> > > >> > > > >        Owner: Nobody
>> >> >>> >> > > >> > > > >   Requestors: winash12 at gmail.com
>> >> >>> >> > > >> > > > >       Status: new
>> >> >>> >> > > >> > > > >  Ticket <URL:
>> >> >>> >> > > >> >
>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>> >> >>> >> > > >> > > >
>> >> >>> >> > > >> > > > >
>> >> >>> >> > > >> > > > >
>> >> >>> >> > > >> > > > > Hello,
>> >> >>> >> > > >> > > > >            I downloaded the latest version
and I
>> am
>> >> >>> unable
>> >> >>> >> to
>> >> >>> >> > > >> compile
>> >> >>> >> > > >> > > > this
>> >> >>> >> > > >> > > > > at all.
>> >> >>> >> > > >> > > > >
>> >> >>> >> > > >> > > > > Here are the errors - first it appears
that there
>> >> >>> >> > > >> > > > > is
>> >> >>> >> > > >> > > > > an
>> >> >>> >> error
>> >> >>> >> > in
>> >> >>> >> > > >> this
>> >> >>> >> > > >> > > > > directory - nc_var_inco.cc which includes
>> >> >>> >> > > >> > > > > netcdf.hh.
>> >> I
>> >> >>> >> believe
>> >> >>> >> > > it
>> >> >>> >> > > >> > > should
>> >> >>> >> > > >> > > > be
>> >> >>> >> > > >> > > > > netcdf.h. Please let me know if that is
accurate
>> or
>> >> >>> >> > > >> > > > > not.
>> >> >>> >> When
>> >> >>> >> > I
>> >> >>> >> > > >> > > > > fix
>> >> >>> >> > > >> > > that
>> >> >>> >> > > >> > > > I
>> >> >>> >> > > >> > > > > get these errors -
>> >> >>> >> > > >> > > > >
>> >> >>> >> > > >> > > > >
>> >> >>> >> > > >> > > > >
>> >> >>> >> > > >> > > > > Regards,
>> >> >>> >> > > >> > > > > Ashwin.
>> >> >>> >> > > >> > > > >
>> >> >>> >> > > >> > > > > make[3]: Entering directory
>> >> >>> >> > > >> > > > >
>> >> >>> >> >
>> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
>> >> >>> >> > > >> > > > > 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_geodesy
>> >> >>> >> > > >> > > > > -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_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_shapedata
>> >> >>> >> > > >> > > > > -I../../../src/libcode/vx_statistics
>> >> >>> >> > > >> > -I../../../src/libcode/vx_stat_out
>> >> >>> >> > > >> > > > > -I../../../src/libcode/vx_tc_util -DBLOCK4
>> >> >>> >> > > >> > > > > -DWITH_GRIB2
>> >> >>> >> > > >> > > > > -DMET_BASE="\"/usr/local/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
>> >> >>> >> > > >> > > > > In file included from nc_var_info.cc(24):
>> >> >>> >> > > >> > > > > nc_var_info.h(24): catastrophic error:
cannot
>> open
>> >> >>> source
>> >> >>> >> file
>> >> >>> >> > > >> > > > "netcdf.hh"
>> >> >>> >> > > >> > > > >   #include <netcdf.hh>
>> >> >>> >> > > >> > > > >                       ^
>> >> >>> >> > > >> > > > >
>> >> >>> >> > > >> > > > > compilation aborted for nc_var_info.cc
(code 4)
>> >> >>> >> > > >> > > > > make[3]: *** [libvx_nc_util_a-
nc_var_info.o]
>> Error
>> >> >>> >> > > >> > > > > 4
>> >> >>> >> > > >> > > > > make[3]: Leaving directory
>> >> >>> >> > > >> > > > >
>> >> >>> >> >
>> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
>> >> >>> >> > > >> > > > > make[2]: *** [install-recursive] Error 1
>> >> >>> >> > > >> > > > > make[2]: Leaving directory
>> >> >>> >> > > >> > > > >
>> `/home/aswin/meteorology_project/met-5.0/src/libcode'
>> >> >>> >> > > >> > > > > make[1]: *** [install-recursive] Error 1
>> >> >>> >> > > >> > > > > make[1]: Leaving directory
>> >> >>> >> > > >> > > `/home/aswin/meteorology_project/met-5.0/src'
>> >> >>> >> > > >> > > > > make: *** [install-recursive] Error 1
>> >> >>> >> > > >> > > > >
>> >> >>> >> > > >> > > > > Ashwin.
>> >> >>> >> > > >> > > > >
>> >> >>> >> > > >> > > > >
>> >> >>> >> > > >> > > >
>> >> >>> >> > > >> > > >
>> >> >>> >> > > >> > > > --
>> >> >>> >> > > >> > > > Julie Prestopnik
>> >> >>> >> > > >> > > > National Center for Atmospheric Research
>> >> >>> >> > > >> > > > Research Applications Laboratory
>> >> >>> >> > > >> > > > Phone: 303.497.8399
>> >> >>> >> > > >> > > > Email: jpresto at ucar.edu
>> >> >>> >> > > >> > > >
>> >> >>> >> > > >> > > >
>> >> >>> >> > > >> > >
>> >> >>> >> > > >> > >
>> >> >>> >> > > >> >
>> >> >>> >> > > >> >
>> >> >>> >> > > >> > --
>> >> >>> >> > > >> > Julie Prestopnik
>> >> >>> >> > > >> > National Center for Atmospheric Research
>> >> >>> >> > > >> > Research Applications Laboratory
>> >> >>> >> > > >> > Phone: 303.497.8399
>> >> >>> >> > > >> > Email: jpresto at ucar.edu
>> >> >>> >> > > >> >
>> >> >>> >> > > >> >
>> >> >>> >> > > >>
>> >> >>> >> > > >>
>> >> >>> >> > > >
>> >> >>> >> > > >
>> >> >>> >> > > > --
>> >> >>> >> > > > Julie Prestopnik
>> >> >>> >> > > > National Center for Atmospheric Research
>> >> >>> >> > > > Research Applications Laboratory
>> >> >>> >> > > > Phone: 303.497.8399
>> >> >>> >> > > > Email: jpresto at ucar.edu
>> >> >>> >> > > >
>> >> >>> >> > > >
>> >> >>> >> > >
>> >> >>> >> > >
>> >> >>> >> >
>> >> >>> >> >
>> >> >>> >> > --
>> >> >>> >> > Julie Prestopnik
>> >> >>> >> > National Center for Atmospheric Research
>> >> >>> >> > Research Applications Laboratory
>> >> >>> >> > Phone: 303.497.8399
>> >> >>> >> > Email: jpresto at ucar.edu
>> >> >>> >> >
>> >> >>> >> >
>> >> >>> >>
>> >> >>> >>
>> >> >>> >
>> >> >>> >
>> >> >>> > --
>> >> >>> > Julie Prestopnik
>> >> >>> > National Center for Atmospheric Research
>> >> >>> > Research Applications Laboratory
>> >> >>> > Phone: 303.497.8399
>> >> >>> > Email: jpresto at ucar.edu
>> >> >>> >
>> >> >>> >
>> >> >>>
>> >> >>>
>> >> >>
>> >> >
>> >> >
>> >>
>> >>
>> >
>> >
>>
>>
>

------------------------------------------------
Subject: Not able to compile
From: ashwinD12 .
Time: Fri Oct 17 00:09:22 2014

Hi John,
              Bingo four times I could say. I already had FC set to
ifort
but I did not have F77 set to ifort. It was not even set so I suppose
it
defaulted to gfortran. I set F77 to ifort and everything compiled as
well.
I still am not satisfied with the BUFRLIB library as I got some errors
over
there but that is for later I guess. I sent a mail to NCEP but they
are yet
to reply to me. Is there a forum for the BUFRLIB product ?
Regards,
Ashwin.

On Thu, Oct 16, 2014 at 9:57 PM, John Halley Gotway via RT <
met_help at ucar.edu> wrote:

> Ashwin,
>
> Oops, sorry I told you to set the FC environment variable.  I should
have
> said F77:
>    setenv F77 `which gfortran`
>
> Thanks,
> John
>
> On Thu, Oct 16, 2014 at 10:19 AM, John Halley Gotway
<johnhg at ucar.edu>
> wrote:
>
> > Ashwin,
> >
> > Thanks for sending those files.  It makes it much easier to debug.
The
> > problem is that you're mixing an intel C++ compiler (icpc) with a
GNU
> > fortran compiler (gfortran).  When compiling MET and all the
dependent
> > libraries, we need to use the same family of compilers.  Mixing
compiler
> > families leads to the sort of undefined reference errors that
you're
> > getting.
> >
> > The question is, which family of compilers did you intend to use,
intel
> or
> > gnu.  The C/C++/Fortran compilers for intel are icc/icc/ifort.
The
> > C/C++/Fortran compilers for GNU are gcc/g++/gfortran.  In my
commands
> > below, I'll assume you're using GNU, but you can swap them out for
the
> > corresponding intel ones if needed.  Whichever set of compilers
you use,
> > note that the dependent libraries (GSL, BUFRLIB, NetCDF) should be
> compiled
> > with them as well.
> >
> > # Go to the top-level met-5.0 directory.
> >
> > # First make sure that these compilers are present on your system
> > which gcc
> > which g++
> > which gfortran
> >
> > # Set variables to tell configure which compilers you want to use
> > setenv CC `which gcc`
> > setenv CXX `which g++`
> > setenv FC `which gfortran`
> >
> > # Recompile MET
> > make clean
> > ./configure -prefix=`pwd`
> > make install >& make_install.log
> > make test >& make_test.log
> >
> > And then inspect "make_install.log" to make sure that MET used the
> > compilers you specified.
> >
> > Please let me know how that goes.
> >
> > Thanks,
> > John
> >
> > On Thu, Oct 16, 2014 at 12:48 AM, ashwinD12 . via RT
<met_help at ucar.edu>
> > wrote:
> >
> >>
> >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
> >>
> >> Hello John,
> >>                   Here you go - I am enclosing all the log files
you
> >> requested.
> >> Regards,
> >> Ashwin.
> >>
> >> On 10/15/14, John Halley Gotway via RT <met_help at ucar.edu> wrote:
> >> > Ashwin,
> >> >
> >> > Just so I can get a better understand of what's going on, could
you
> >> please
> >> > run the following commands in the top-level met-5.0
directory...
> >> >
> >> >    printenv | grep MET_ > environment.log
> >> >    make clean
> >> >   ./configure -prefix=`pwd`
> >> >   make install >& make_install.log
> >> >   make test >& make_test.log
> >> >
> >> > And then send me these files: environment.log, config.log,
> >> > make_install.log, and make_test.log
> >> >
> >> > That'll give me a better idea of what's going on.
> >> >
> >> > Thanks,
> >> > John
> >> >
> >> > On Wed, Oct 15, 2014 at 1:41 AM, ashwinD12 . via RT <
> met_help at ucar.edu>
> >> > wrote:
> >> >
> >> >>
> >> >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>
> >> >>
> >> >> Hi John,
> >> >>               I apologize for the late response. It is not
without a
> >> >> reason. I got past that point but I have a LIBRBUF error. I
had sent
> >> >> this report to NCEP website but have yet to hear from them.
Until I
> >> >> hear from them I cannot test the new patches. Please bear with
me for
> >> >> a few days and I will get back to you.
> >> >> Regards,
> >> >> Ashwin.
> >> >>
> >> >> On 10/15/14, John Halley Gotway via RT <met_help at ucar.edu>
wrote:
> >> >> > Ashwin,
> >> >> >
> >> >> > I just posted the first set of patches for the met-5.0
release, and
> >> >> > they
> >> >> > include this fix.  Please follow the instructions posted
here to
> >> >> > download
> >> >> > and apply the latest set of patches:
> >> >> >
> >> >>
> >>
>
http://www.dtcenter.org/met/users/support/known_issues/METv5.0/index.php
> >> >> >
> >> >> > Please let me know if you continue to experience problems
with MET.
> >> >> >
> >> >> > Thanks,
> >> >> > John Halley Gotway
> >> >> > met_help at ucar.edu
> >> >> >
> >> >> > On Mon, Oct 13, 2014 at 3:02 PM, John Halley Gotway <
> johnhg at ucar.edu
> >> >
> >> >> > wrote:
> >> >> >
> >> >> >> Hello Ashwin,
> >> >> >>
> >> >> >> This is John Halley Gotway.  I work with Julie, but she's
out of
> the
> >> >> >> office today.  I took a look at this issue and think I've
> uncovered
> >> >> >> the
> >> >> >> problem.  And it's a problem on our end, not yours.  Here's
what
> I'd
> >> >> like
> >> >> >> you to try...
> >> >> >>
> >> >> >> Copy the three attached files (color_scanner.cc,
Makefile.in, and
> >> >> >> Makefile.am) into this directory:
> >> >> >>    met-5.0/src/libcode/vx_color
> >> >> >>
> >> >> >> Then rerun "configure" and "make install".  Please let me
know if
> >> this
> >> >> >> resolves the error with lex.yy.c you were getting.
> >> >> >>
> >> >> >> In met-5.0, we switched over to building MET using
autoconf.  The
> >> MET
> >> >> >> code
> >> >> >> uses flex and bison (lex and yacc) to parse data files in a
few
> >> >> >> places,
> >> >> >> but
> >> >> >> our intention is to run those tools here during the process
of
> >> >> >> building
> >> >> a
> >> >> >> release.  I think the vx_color Makefile was removing the
output of
> >> >> >> flex
> >> >> >> and
> >> >> >> then trying to rebuild it by calling flex.  And there's
probably
> an
> >> >> >> inconsistency between the version of flex we use here and
the one
> on
> >> >> your
> >> >> >> machine.
> >> >> >>
> >> >> >> Please do let me know if that resolves the problem.  Once
we get a
> >> >> >> good
> >> >> >> fix for this issue, we'll post a patch on the known issue
page for
> >> >> >> MET.
> >> >> >>
> >> >> >> Sorry for trouble, but thanks for helping us debug this
issue!
> >> >> >>
> >> >> >> John Halley Gotway
> >> >> >> met_help at ucar.edu
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> On Thu, Oct 9, 2014 at 4:56 PM, ashwinD12 . via RT <
> >> met_help at ucar.edu>
> >> >> >> wrote:
> >> >> >>
> >> >> >>>
> >> >> >>> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
> >> >> >>>
> >> >> >>> Hello Julie,
> >> >> >>>                  There is no problem with the netcdf
build. I
> moved
> >> >> >>> past that point. Did you look at the error messages ? it
is
> >> >> >>> mentioning
> >> >> >>> that there is some problem with lex.yy.c.
> >> >> >>> Regards,
> >> >> >>> Ashwin.
> >> >> >>>
> >> >> >>> On 10/9/14, Julie Prestopnik via RT <met_help at ucar.edu>
wrote:
> >> >> >>> > Hi Ashwin.  I'm sorry to hear that you are still having
some
> >> >> >>> > difficulty
> >> >> >>> in
> >> >> >>> > getting METv5.0 to build.
> >> >> >>> >
> >> >> >>> > I'd suggest downloading and compiling NetCDF locally
using the
> >> >> >>> > following
> >> >> >>> > steps:
> >> >> >>> >
> >> >> >>> > Download NetCDF 3.6.3 from here:
> >> >> >>> >
> >> http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-
3.6.3.tar.gz
> >> >> >>> >
> >> >> >>> > Then run:
> >> >> >>> > tar -zxf netcdf-3.6.3.tar.gz
> >> >> >>> > ./configure --prefix=`pwd`
> >> >> >>> > make
> >> >> >>> > make install
> >> >> >>> >
> >> >> >>> > These commands should compile the C and C++ interfaces
for
> NetCDF
> >> >> >>> > and
> >> >> >>> skip
> >> >> >>> > the Fortran interface that MET doesn't use.  It will
install
> the
> >> >> >>> library in
> >> >> >>> > current "netcdf-3.6.3" directory due to the
--prefix=`pwd`
> >> option.
> >> >> >>> >
> >> >> >>> > Next, you'll need to edit where you set MET_NETCDF to
point to
> >> this
> >> >> >>> > new
> >> >> >>> > location, source your .cshrc or similiar file, and
rebuild MET.
> >> >> >>> >
> >> >> >>> > I just ran all of these steps and was able to get a
successful
> >> >> >>> > build
> >> >> >>> > and
> >> >> >>> > install of METv5.0.
> >> >> >>> >
> >> >> >>> > Please give this a try and let me know how it goes.
> >> >> >>> >
> >> >> >>> > Thanks,
> >> >> >>> > Julie
> >> >> >>> >
> >> >> >>> > On Thu, Oct 9, 2014 at 1:28 AM, ashwinD12 . via RT <
> >> >> met_help at ucar.edu>
> >> >> >>> > wrote:
> >> >> >>> >
> >> >> >>> >>
> >> >> >>> >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> >
> >> >> >>> >>
> >> >> >>> >> Hi Julie,
> >> >> >>> >>                I made some progress with some
difficulty which
> >> is
> >> >> >>> >> expected.
> >> >> >>> >> First of all there are *two* C++ NETCDF  libraries and
I had
> to
> >> >> >>> >> use
> >> >> >>> >> the
> >> >> >>> >> legacy C++ NETCDF source code to build with MET 5.0.
The
> >> netcdf.hh
> >> >> >>> >> file
> >> >> >>> >> is
> >> >> >>> >> NOT found in the latest C++ NETCDF interface but in the
legacy
> >> >> >>> >> distribution. It would be helpful if you could update
the
> >> >> >>> >> documentation
> >> >> >>> >> to
> >> >> >>> >> reflect this.
> >> >> >>> >> Then I did not have lex and yacc on my Ubuntu and I
updated my
> >> >> system
> >> >> >>> to
> >> >> >>> >> reflect that. Then I ran make install again and  here
are the
> >> >> >>> >> latest
> >> >> >>> >> error
> >> >> >>> >> -
> >> >> >>> >> make[4]: Nothing to be done for `install-exec-am'.
> >> >> >>> >> make[4]: Nothing to be done for `install-data-am'.
> >> >> >>> >> make[4]: Leaving directory
> >> >> >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_afm'
> >> >> >>> >> make[3]: Leaving directory
> >> >> >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_afm'
> >> >> >>> >> Making install in vx_color
> >> >> >>> >> make[3]: Entering directory
> >> >> >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_color'
> >> >> >>> >> /bin/bash ../../../ylwrap color_scanner.ll .c
color_scanner.cc
> >> --
> >> >> >>> >> :
> >> >> >>> >> --prefix=color --outfile=lex.yy.c
> >> >> >>> >> make[3]: *** [color_scanner.cc] Error 1
> >> >> >>> >> make[3]: Leaving directory
> >> >> >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_color'
> >> >> >>> >> make[2]: *** [install-recursive] Error 1
> >> >> >>> >> make[2]: Leaving directory
> >> >> >>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode'
> >> >> >>> >> make[1]: *** [install-recursive] Error 1
> >> >> >>> >> make[1]: Leaving directory
> >> >> >>> `/home/aswin/meteorology_project/met-5.0/src'
> >> >> >>> >> make: *** [install-recursive] Error 1
> >> >> >>> >>
> >> >> >>> >>
> >> >> >>> >>
> >> >> >>> >> On Wed, Oct 8, 2014 at 8:13 PM, Julie Prestopnik via RT
> >> >> >>> >> <met_help at ucar.edu
> >> >> >>> >> >
> >> >> >>> >> wrote:
> >> >> >>> >>
> >> >> >>> >> > Hi Ashwin.  I agree. MET expects the C++ interface to
be
> >> >> >>> >> > compiled.
> >> >> >>> >> Please
> >> >> >>> >> > try building and compiling NETCDF to include the C++
> interface
> >> >> >>> >> > and
> >> >> >>> then
> >> >> >>> >> > rebuild and recompile MET.  Please let me know how it
turns
> >> out.
> >> >> >>> >> >
> >> >> >>> >> > Thanks,
> >> >> >>> >> > Julie
> >> >> >>> >> >
> >> >> >>> >> > On Wed, Oct 8, 2014 at 7:51 AM, ashwinD12 . via RT <
> >> >> >>> met_help at ucar.edu>
> >> >> >>> >> > wrote:
> >> >> >>> >> >
> >> >> >>> >> > >
> >> >> >>> >> > > <URL:
> >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> >> >> >>> >> > > >
> >> >> >>> >> > >
> >> >> >>> >> > > I am not at the machine where the problem is
happening
> but I
> >> >> >>> >> > > can
> >> >> >>> >> > > guess
> >> >> >>> >> > > the root cause of the problem. When compiling
NETCDF for
> >> WRF I
> >> >> >>> only
> >> >> >>> >> > > compiled the C and FORTRAN libraries and not the
C++
> >> >> >>> >> > > libraries.
> >> >> >>> >> > > So
> >> >> >>> I
> >> >> >>> >> > > will need to recompile NETCDF and this time compile
for
> C++
> >> as
> >> >> >>> >> > > well
> >> >> >>> >> > > by
> >> >> >>> >> > > specifying the environment variable CXX. I do not
think
> >> there
> >> >> >>> >> > > is
> >> >> >>> >> > > a
> >> >> >>> >> > > file netcdf.hh under /usr/local/include. I will
confirm
> this
> >> >> >>> tomorrow
> >> >> >>> >> > > morning my time.
> >> >> >>> >> > > Regards.
> >> >> >>> >> > >
> >> >> >>> >> > > On 10/8/14, Julie Prestopnik via RT
<met_help at ucar.edu>
> >> wrote:
> >> >> >>> >> > > > Great!  Thank you.  Can you please take a look in
> >> >> MET_NETCDFINC
> >> >> >>> >> > > > (/usr/local/
> >> >> >>> >> > > > include) and tell me if you see netcdf.hh?
> >> >> >>> >> > > >
> >> >> >>> >> > > > Julie
> >> >> >>> >> > > >
> >> >> >>> >> > > > On Tue, Oct 7, 2014 at 11:18 PM, ashwinD12 . via
RT <
> >> >> >>> >> met_help at ucar.edu
> >> >> >>> >> > >
> >> >> >>> >> > > > wrote:
> >> >> >>> >> > > >
> >> >> >>> >> > > >>
> >> >> >>> >> > > >> <URL:
> >> >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> >> >> >>> >> > > >> >
> >> >> >>> >> > > >>
> >> >> >>> >> > > >> Hi Julie, I am sending you the required
information
> >> >> >>> >> > > >>
> >> >> >>> >> > > >> printenv | grep MET
> >> >> >>> >> > > >>
> >> >> >>> >> > > >> MET_GSLLIB=/usr/local/lib
> >> >> >>> >> > > >> MET_GRIB2LIB=/usr/local/lib
> >> >> >>> >> > > >> MET_GSLINC=/usr/local/include
> >> >> >>> >> > > >> MET_NETCDFINC=/usr/local/include
> >> >> >>> >> > > >> MET_NETCDFLIB=/usr/local/lib
> >> >> >>> >> > > >>
> >> >> >>> >> > > >> On Tue, Oct 7, 2014 at 8:52 PM, Julie Prestopnik
via RT
> >> >> >>> >> > > >> <met_help at ucar.edu
> >> >> >>> >> > > >> >
> >> >> >>> >> > > >> wrote:
> >> >> >>> >> > > >>
> >> >> >>> >> > > >> > Hi Ashwin.  I see you're still having problems
with
> MET
> >> >> >>> finding
> >> >> >>> >> > > >> netcdf.hh.
> >> >> >>> >> > > >> >
> >> >> >>> >> > > >> > Could you please run "printenv | grep MET" and
send
> me
> >> >> >>> >> > > >> > the
> >> >> >>> >> > > >> > output?
> >> >> >>> >> > > >> >
> >> >> >>> >> > > >> > Thank you.
> >> >> >>> >> > > >> >
> >> >> >>> >> > > >> > Julie
> >> >> >>> >> > > >> >
> >> >> >>> >> > > >> > On Tue, Oct 7, 2014 at 6:07 AM, ashwinD12 .
via RT <
> >> >> >>> >> > met_help at ucar.edu
> >> >> >>> >> > > >
> >> >> >>> >> > > >> > wrote:
> >> >> >>> >> > > >> >
> >> >> >>> >> > > >> > >
> >> >> >>> >> > > >> > > <URL:
> >> >> >>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> >> >> >>> >> > > >> > > >
> >> >> >>> >> > > >> > >
> >> >> >>> >> > > >> > > Hello,
> >> >> >>> >> > > >> > >             I apologize for the late
response on
> this
> >> >> >>> >> > > >> > > as
> >> >> I
> >> >> >>> >> > > >> > > have
> >> >> >>> >> > > >> tracking
> >> >> >>> >> > > >> > > another WRF problem. The problem still
persists
> >> >> >>> >> > > >> > > I first typed ./configure --prefix=`pwd`
> >> --enable-grib2
> >> >> >>> >> > > >> > > and
> >> >> >>> >> > > >> > > then
> >> >> >>> >> > > >> followed
> >> >> >>> >> > > >> > > by make install and I got these 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_geodesy
> >> >> >>> >> -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_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_shapedata
> >> >> >>> >> > > >> > > -I../../../src/libcode/vx_statistics
> >> >> >>> >> > > >> > > -I../../../src/libcode/vx_stat_out
> >> >> >>> >> > > >> > > -I../../../src/libcode/vx_tc_util
> >> -I/usr/local/include
> >> >> >>> >> > > >> > -I/usr/local/include
> >> >> >>> >> > > >> > > -DBLOCK4 -DWITH_GRIB2
> >> >> >>> >> > > >> > >
> >> >> >>> >>
> >> -DMET_BASE="\"/home/aswin/meteorology_project/met-
5.0/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
> >> >> >>> >> > > >> > > In file included from nc_var_info.cc(24):
> >> >> >>> >> > > >> > > nc_var_info.h(24): catastrophic error:
cannot open
> >> >> >>> >> > > >> > > source
> >> >> >>> file
> >> >> >>> >> > > >> > "netcdf.hh"
> >> >> >>> >> > > >> > >   #include <netcdf.hh>
> >> >> >>> >> > > >> > >                       ^
> >> >> >>> >> > > >> > >
> >> >> >>> >> > > >> > > compilation aborted for nc_var_info.cc (code
4)
> >> >> >>> >> > > >> > > make[3]: *** [libvx_nc_util_a-nc_var_info.o]
Error
> 4
> >> >> >>> >> > > >> > > make[3]: Leaving directory
> >> >> >>> >> > > >> > >
> >> >> >>> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
> >> >> >>> >> > > >> > > make[2]: *** [install-recursive] Error 1
> >> >> >>> >> > > >> > > make[2]: Leaving directory
> >> >> >>> >> > > >> > >
> `/home/aswin/meteorology_project/met-5.0/src/libcode'
> >> >> >>> >> > > >> > > make[1]: *** [install-recursive] Error 1
> >> >> >>> >> > > >> > > make[1]: Leaving directory
> >> >> >>> >> > > >> > `/home/aswin/meteorology_project/met-
5.0/src'ds.
> >> >> >>> >> > > >> > > I first typed ./configure --prefix=`pwd`
> >> --enable-grib2
> >> >> >>> >> > > >> > > and
> >> >> >>> >> > > >> > > then
> >> >> >>> >> > > >> followed
> >> >> >>> >> > > >> > > by make install and I got these messages -
> >> >> >>> >> > > >> > >
> >> >> >>> >> > > >> > >
> >> >> >>> >> > > >> > > On Tue, Sep 16, 2014 at 9:28 PM, Julie
Prestopnik
> via
> >> >> >>> >> > > >> > > RT
> >> >> <
> >> >> >>> >> > > >> > > met_help at ucar.edu>
> >> >> >>> >> > > >> > > wrote:
> >> >> >>> >> > > >> > >
> >> >> >>> >> > > >> > > > Hi Ashwin.
> >> >> >>> >> > > >> > > >
> >> >> >>> >> > > >> > > > Thanks for downloading the latest release
of MET.
> >> I
> >> >> see
> >> >> >>> >> > > >> > > > that
> >> >> >>> >> > > >> > > > you're
> >> >> >>> >> > > >> > > > having  trouble configuring/compiling it.
We
> >> >> >>> >> > > >> > > > switched
> >> >> >>> over
> >> >> >>> >> > > >> > > > to
> >> >> >>> >> > > >> > > > using
> >> >> >>> >> > > >> > > > autoconf for  building MET version 5.0.
In
> >> previous
> >> >> >>> >> > > >> > > > versions,
> >> >> >>> >> > you
> >> >> >>> >> > > >> > > edited a
> >> >> >>> >> > > >> > > > file by hand and then typed "make".  Now,
you run
> >> the
> >> >> >>> >> configure
> >> >> >>> >> > > >> script.
> >> >> >>> >> > > >> > > > Please read  through the top-level met-
5.0/README
> >> >> >>> >> > > >> > > > file
> >> >> >>> >> > > >> > > > for
> >> >> >>> >> > > >> instructions
> >> >> >>> >> > > >> > > > about building MET.
> >> >> >>> >> > > >> > > >
> >> >> >>> >> > > >> > > > You can set several environment variables
to tell
> >> the
> >> >> >>> >> configure
> >> >> >>> >> > > >> script
> >> >> >>> >> > > >> > > > where to find the dependent libraries.
For
> >> example,
> >> >> >>> >> MET_NETCDF
> >> >> >>> >> > > >> > > > tells
> >> >> >>> >> > > >> > it
> >> >> >>> >> > > >> > > > where to find NetCDF.  nc_var_inco.cc
should be
> >> >> >>> >> > > >> > > > looking
> >> >> >>> for
> >> >> >>> >> > > >> netcdf.hh.
> >> >> >>> >> > > >> > > > That's the include file for the C++
interface.
> >> There
> >> >> >>> >> > > >> > > > are
> >> >> >>> >> > > >> > > > many
> >> >> >>> >> > > >> > different
> >> >> >>> >> > > >> > > > ways of compiling NetCDF, and MET expects
the C++
> >> >> >>> interface
> >> >> >>> >> > > >> > > > to
> >> >> >>> >> > be
> >> >> >>> >> > > >> > > > compiled.  There are some instructions for
> >> compiling
> >> >> >>> NetCDF
> >> >> >>> >> for
> >> >> >>> >> > > MET
> >> >> >>> >> > > >> > here:
> >> >> >>> >> > > >> > > >
> >> >> >>> >> > > >> > > >
> >> >> >>> >> > > >> > >
> >> >> >>> >> > > >> >
> >> >> >>> >> > > >>
> >> >> >>> >> > >
> >> >> >>> >> >
> >> >> >>> >>
> >> >> >>>
> >> >>
> >>
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
> >> >> >>> >> > > >> > > >
> >> >> >>> >> > > >> > > > Please take a look at the instructions for
> >> compiling
> >> >> >>> NetCDF
> >> >> >>> >> for
> >> >> >>> >> > > MET
> >> >> >>> >> > > >> and
> >> >> >>> >> > > >> > > at
> >> >> >>> >> > > >> > > > the top-level met-5.0/README file for
> instructions
> >> >> about
> >> >> >>> >> > building
> >> >> >>> >> > > >> > > > MET
> >> >> >>> >> > > >> > and
> >> >> >>> >> > > >> > > > let us know if you continue to experience
> problems.
> >> >> >>> >> > > >> > > >
> >> >> >>> >> > > >> > > > Thanks,
> >> >> >>> >> > > >> > > > Julie
> >> >> >>> >> > > >> > > >
> >> >> >>> >> > > >> > > > On Mon, Sep 15, 2014 at 11:22 PM,
ashwinD12 . via
> >> RT
> >> >> >>> >> > > >> > > > <
> >> >> >>> >> > > >> > met_help at ucar.edu>
> >> >> >>> >> > > >> > > > wrote:
> >> >> >>> >> > > >> > > >
> >> >> >>> >> > > >> > > > >
> >> >> >>> >> > > >> > > > > Mon Sep 15 23:22:39 2014: Request 68987
was
> acted
> >> >> >>> >> > > >> > > > > upon.
> >> >> >>> >> > > >> > > > > Transaction: Ticket created by
> >> winash12 at gmail.com
> >> >> >>> >> > > >> > > > >        Queue: met_help
> >> >> >>> >> > > >> > > > >      Subject: Not able to compile
> >> >> >>> >> > > >> > > > >        Owner: Nobody
> >> >> >>> >> > > >> > > > >   Requestors: winash12 at gmail.com
> >> >> >>> >> > > >> > > > >       Status: new
> >> >> >>> >> > > >> > > > >  Ticket <URL:
> >> >> >>> >> > > >> >
> >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> >> >> >>> >> > > >> > > >
> >> >> >>> >> > > >> > > > >
> >> >> >>> >> > > >> > > > >
> >> >> >>> >> > > >> > > > > Hello,
> >> >> >>> >> > > >> > > > >            I downloaded the latest
version and
> I
> >> am
> >> >> >>> unable
> >> >> >>> >> to
> >> >> >>> >> > > >> compile
> >> >> >>> >> > > >> > > > this
> >> >> >>> >> > > >> > > > > at all.
> >> >> >>> >> > > >> > > > >
> >> >> >>> >> > > >> > > > > Here are the errors - first it appears
that
> there
> >> >> >>> >> > > >> > > > > is
> >> >> >>> >> > > >> > > > > an
> >> >> >>> >> error
> >> >> >>> >> > in
> >> >> >>> >> > > >> this
> >> >> >>> >> > > >> > > > > directory - nc_var_inco.cc which
includes
> >> >> >>> >> > > >> > > > > netcdf.hh.
> >> >> I
> >> >> >>> >> believe
> >> >> >>> >> > > it
> >> >> >>> >> > > >> > > should
> >> >> >>> >> > > >> > > > be
> >> >> >>> >> > > >> > > > > netcdf.h. Please let me know if that is
> accurate
> >> or
> >> >> >>> >> > > >> > > > > not.
> >> >> >>> >> When
> >> >> >>> >> > I
> >> >> >>> >> > > >> > > > > fix
> >> >> >>> >> > > >> > > that
> >> >> >>> >> > > >> > > > I
> >> >> >>> >> > > >> > > > > get these errors -
> >> >> >>> >> > > >> > > > >
> >> >> >>> >> > > >> > > > >
> >> >> >>> >> > > >> > > > >
> >> >> >>> >> > > >> > > > > Regards,
> >> >> >>> >> > > >> > > > > Ashwin.
> >> >> >>> >> > > >> > > > >
> >> >> >>> >> > > >> > > > > make[3]: Entering directory
> >> >> >>> >> > > >> > > > >
> >> >> >>> >> >
> >> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
> >> >> >>> >> > > >> > > > > 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_geodesy
> >> >> >>> >> > > >> > > > > -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_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_shapedata
> >> >> >>> >> > > >> > > > > -I../../../src/libcode/vx_statistics
> >> >> >>> >> > > >> > -I../../../src/libcode/vx_stat_out
> >> >> >>> >> > > >> > > > > -I../../../src/libcode/vx_tc_util
-DBLOCK4
> >> >> >>> >> > > >> > > > > -DWITH_GRIB2
> >> >> >>> >> > > >> > > > > -DMET_BASE="\"/usr/local/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
> >> >> >>> >> > > >> > > > > In file included from
nc_var_info.cc(24):
> >> >> >>> >> > > >> > > > > nc_var_info.h(24): catastrophic error:
cannot
> >> open
> >> >> >>> source
> >> >> >>> >> file
> >> >> >>> >> > > >> > > > "netcdf.hh"
> >> >> >>> >> > > >> > > > >   #include <netcdf.hh>
> >> >> >>> >> > > >> > > > >                       ^
> >> >> >>> >> > > >> > > > >
> >> >> >>> >> > > >> > > > > compilation aborted for nc_var_info.cc
(code 4)
> >> >> >>> >> > > >> > > > > make[3]: *** [libvx_nc_util_a-
nc_var_info.o]
> >> Error
> >> >> >>> >> > > >> > > > > 4
> >> >> >>> >> > > >> > > > > make[3]: Leaving directory
> >> >> >>> >> > > >> > > > >
> >> >> >>> >> >
> >> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
> >> >> >>> >> > > >> > > > > make[2]: *** [install-recursive] Error 1
> >> >> >>> >> > > >> > > > > make[2]: Leaving directory
> >> >> >>> >> > > >> > > > >
> >> `/home/aswin/meteorology_project/met-5.0/src/libcode'
> >> >> >>> >> > > >> > > > > make[1]: *** [install-recursive] Error 1
> >> >> >>> >> > > >> > > > > make[1]: Leaving directory
> >> >> >>> >> > > >> > > `/home/aswin/meteorology_project/met-
5.0/src'
> >> >> >>> >> > > >> > > > > make: *** [install-recursive] Error 1
> >> >> >>> >> > > >> > > > >
> >> >> >>> >> > > >> > > > > Ashwin.
> >> >> >>> >> > > >> > > > >
> >> >> >>> >> > > >> > > > >
> >> >> >>> >> > > >> > > >
> >> >> >>> >> > > >> > > >
> >> >> >>> >> > > >> > > > --
> >> >> >>> >> > > >> > > > Julie Prestopnik
> >> >> >>> >> > > >> > > > National Center for Atmospheric Research
> >> >> >>> >> > > >> > > > Research Applications Laboratory
> >> >> >>> >> > > >> > > > Phone: 303.497.8399
> >> >> >>> >> > > >> > > > Email: jpresto at ucar.edu
> >> >> >>> >> > > >> > > >
> >> >> >>> >> > > >> > > >
> >> >> >>> >> > > >> > >
> >> >> >>> >> > > >> > >
> >> >> >>> >> > > >> >
> >> >> >>> >> > > >> >
> >> >> >>> >> > > >> > --
> >> >> >>> >> > > >> > Julie Prestopnik
> >> >> >>> >> > > >> > National Center for Atmospheric Research
> >> >> >>> >> > > >> > Research Applications Laboratory
> >> >> >>> >> > > >> > Phone: 303.497.8399
> >> >> >>> >> > > >> > Email: jpresto at ucar.edu
> >> >> >>> >> > > >> >
> >> >> >>> >> > > >> >
> >> >> >>> >> > > >>
> >> >> >>> >> > > >>
> >> >> >>> >> > > >
> >> >> >>> >> > > >
> >> >> >>> >> > > > --
> >> >> >>> >> > > > Julie Prestopnik
> >> >> >>> >> > > > National Center for Atmospheric Research
> >> >> >>> >> > > > Research Applications Laboratory
> >> >> >>> >> > > > Phone: 303.497.8399
> >> >> >>> >> > > > Email: jpresto at ucar.edu
> >> >> >>> >> > > >
> >> >> >>> >> > > >
> >> >> >>> >> > >
> >> >> >>> >> > >
> >> >> >>> >> >
> >> >> >>> >> >
> >> >> >>> >> > --
> >> >> >>> >> > Julie Prestopnik
> >> >> >>> >> > National Center for Atmospheric Research
> >> >> >>> >> > Research Applications Laboratory
> >> >> >>> >> > Phone: 303.497.8399
> >> >> >>> >> > Email: jpresto at ucar.edu
> >> >> >>> >> >
> >> >> >>> >> >
> >> >> >>> >>
> >> >> >>> >>
> >> >> >>> >
> >> >> >>> >
> >> >> >>> > --
> >> >> >>> > Julie Prestopnik
> >> >> >>> > National Center for Atmospheric Research
> >> >> >>> > Research Applications Laboratory
> >> >> >>> > Phone: 303.497.8399
> >> >> >>> > Email: jpresto at ucar.edu
> >> >> >>> >
> >> >> >>> >
> >> >> >>>
> >> >> >>>
> >> >> >>
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >
> >> >
> >>
> >>
> >
>
>

------------------------------------------------
Subject: Not able to compile
From: ashwinD12 .
Time: Fri Oct 17 01:42:58 2014

Hi John,
               I reran configure with the --enable-grib2 option and I
reran
make install and I get these errors enclosed in make_install.log.
Regards,
Ashwin.

On Fri, Oct 17, 2014 at 11:39 AM, ashwinD12 . <winash12 at gmail.com>
wrote:

> Hi John,
>               Bingo four times I could say. I already had FC set to
ifort
> but I did not have F77 set to ifort. It was not even set so I
suppose it
> defaulted to gfortran. I set F77 to ifort and everything compiled as
well.
> I still am not satisfied with the BUFRLIB library as I got some
errors over
> there but that is for later I guess. I sent a mail to NCEP but they
are yet
> to reply to me. Is there a forum for the BUFRLIB product ?
> Regards,
> Ashwin.
>
> On Thu, Oct 16, 2014 at 9:57 PM, John Halley Gotway via RT <
> met_help at ucar.edu> wrote:
>
>> Ashwin,
>>
>> Oops, sorry I told you to set the FC environment variable.  I
should have
>> said F77:
>>    setenv F77 `which gfortran`
>>
>> Thanks,
>> John
>>
>> On Thu, Oct 16, 2014 at 10:19 AM, John Halley Gotway
<johnhg at ucar.edu>
>> wrote:
>>
>> > Ashwin,
>> >
>> > Thanks for sending those files.  It makes it much easier to
debug.  The
>> > problem is that you're mixing an intel C++ compiler (icpc) with a
GNU
>> > fortran compiler (gfortran).  When compiling MET and all the
dependent
>> > libraries, we need to use the same family of compilers.  Mixing
compiler
>> > families leads to the sort of undefined reference errors that
you're
>> > getting.
>> >
>> > The question is, which family of compilers did you intend to use,
intel
>> or
>> > gnu.  The C/C++/Fortran compilers for intel are icc/icc/ifort.
The
>> > C/C++/Fortran compilers for GNU are gcc/g++/gfortran.  In my
commands
>> > below, I'll assume you're using GNU, but you can swap them out
for the
>> > corresponding intel ones if needed.  Whichever set of compilers
you use,
>> > note that the dependent libraries (GSL, BUFRLIB, NetCDF) should
be
>> compiled
>> > with them as well.
>> >
>> > # Go to the top-level met-5.0 directory.
>> >
>> > # First make sure that these compilers are present on your system
>> > which gcc
>> > which g++
>> > which gfortran
>> >
>> > # Set variables to tell configure which compilers you want to use
>> > setenv CC `which gcc`
>> > setenv CXX `which g++`
>> > setenv FC `which gfortran`
>> >
>> > # Recompile MET
>> > make clean
>> > ./configure -prefix=`pwd`
>> > make install >& make_install.log
>> > make test >& make_test.log
>> >
>> > And then inspect "make_install.log" to make sure that MET used
the
>> > compilers you specified.
>> >
>> > Please let me know how that goes.
>> >
>> > Thanks,
>> > John
>> >
>> > On Thu, Oct 16, 2014 at 12:48 AM, ashwinD12 . via RT
<met_help at ucar.edu
>> >
>> > wrote:
>> >
>> >>
>> >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>> >>
>> >> Hello John,
>> >>                   Here you go - I am enclosing all the log files
you
>> >> requested.
>> >> Regards,
>> >> Ashwin.
>> >>
>> >> On 10/15/14, John Halley Gotway via RT <met_help at ucar.edu>
wrote:
>> >> > Ashwin,
>> >> >
>> >> > Just so I can get a better understand of what's going on,
could you
>> >> please
>> >> > run the following commands in the top-level met-5.0
directory...
>> >> >
>> >> >    printenv | grep MET_ > environment.log
>> >> >    make clean
>> >> >   ./configure -prefix=`pwd`
>> >> >   make install >& make_install.log
>> >> >   make test >& make_test.log
>> >> >
>> >> > And then send me these files: environment.log, config.log,
>> >> > make_install.log, and make_test.log
>> >> >
>> >> > That'll give me a better idea of what's going on.
>> >> >
>> >> > Thanks,
>> >> > John
>> >> >
>> >> > On Wed, Oct 15, 2014 at 1:41 AM, ashwinD12 . via RT <
>> met_help at ucar.edu>
>> >> > wrote:
>> >> >
>> >> >>
>> >> >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>
>> >> >>
>> >> >> Hi John,
>> >> >>               I apologize for the late response. It is not
without a
>> >> >> reason. I got past that point but I have a LIBRBUF error. I
had sent
>> >> >> this report to NCEP website but have yet to hear from them.
Until I
>> >> >> hear from them I cannot test the new patches. Please bear
with me
>> for
>> >> >> a few days and I will get back to you.
>> >> >> Regards,
>> >> >> Ashwin.
>> >> >>
>> >> >> On 10/15/14, John Halley Gotway via RT <met_help at ucar.edu>
wrote:
>> >> >> > Ashwin,
>> >> >> >
>> >> >> > I just posted the first set of patches for the met-5.0
release,
>> and
>> >> >> > they
>> >> >> > include this fix.  Please follow the instructions posted
here to
>> >> >> > download
>> >> >> > and apply the latest set of patches:
>> >> >> >
>> >> >>
>> >>
>>
http://www.dtcenter.org/met/users/support/known_issues/METv5.0/index.php
>> >> >> >
>> >> >> > Please let me know if you continue to experience problems
with
>> MET.
>> >> >> >
>> >> >> > Thanks,
>> >> >> > John Halley Gotway
>> >> >> > met_help at ucar.edu
>> >> >> >
>> >> >> > On Mon, Oct 13, 2014 at 3:02 PM, John Halley Gotway <
>> johnhg at ucar.edu
>> >> >
>> >> >> > wrote:
>> >> >> >
>> >> >> >> Hello Ashwin,
>> >> >> >>
>> >> >> >> This is John Halley Gotway.  I work with Julie, but she's
out of
>> the
>> >> >> >> office today.  I took a look at this issue and think I've
>> uncovered
>> >> >> >> the
>> >> >> >> problem.  And it's a problem on our end, not yours.
Here's what
>> I'd
>> >> >> like
>> >> >> >> you to try...
>> >> >> >>
>> >> >> >> Copy the three attached files (color_scanner.cc,
Makefile.in, and
>> >> >> >> Makefile.am) into this directory:
>> >> >> >>    met-5.0/src/libcode/vx_color
>> >> >> >>
>> >> >> >> Then rerun "configure" and "make install".  Please let me
know if
>> >> this
>> >> >> >> resolves the error with lex.yy.c you were getting.
>> >> >> >>
>> >> >> >> In met-5.0, we switched over to building MET using
autoconf.  The
>> >> MET
>> >> >> >> code
>> >> >> >> uses flex and bison (lex and yacc) to parse data files in
a few
>> >> >> >> places,
>> >> >> >> but
>> >> >> >> our intention is to run those tools here during the
process of
>> >> >> >> building
>> >> >> a
>> >> >> >> release.  I think the vx_color Makefile was removing the
output
>> of
>> >> >> >> flex
>> >> >> >> and
>> >> >> >> then trying to rebuild it by calling flex.  And there's
probably
>> an
>> >> >> >> inconsistency between the version of flex we use here and
the
>> one on
>> >> >> your
>> >> >> >> machine.
>> >> >> >>
>> >> >> >> Please do let me know if that resolves the problem.  Once
we get
>> a
>> >> >> >> good
>> >> >> >> fix for this issue, we'll post a patch on the known issue
page
>> for
>> >> >> >> MET.
>> >> >> >>
>> >> >> >> Sorry for trouble, but thanks for helping us debug this
issue!
>> >> >> >>
>> >> >> >> John Halley Gotway
>> >> >> >> met_help at ucar.edu
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> On Thu, Oct 9, 2014 at 4:56 PM, ashwinD12 . via RT <
>> >> met_help at ucar.edu>
>> >> >> >> wrote:
>> >> >> >>
>> >> >> >>>
>> >> >> >>> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>> >> >> >>>
>> >> >> >>> Hello Julie,
>> >> >> >>>                  There is no problem with the netcdf
build. I
>> moved
>> >> >> >>> past that point. Did you look at the error messages ? it
is
>> >> >> >>> mentioning
>> >> >> >>> that there is some problem with lex.yy.c.
>> >> >> >>> Regards,
>> >> >> >>> Ashwin.
>> >> >> >>>
>> >> >> >>> On 10/9/14, Julie Prestopnik via RT <met_help at ucar.edu>
wrote:
>> >> >> >>> > Hi Ashwin.  I'm sorry to hear that you are still having
some
>> >> >> >>> > difficulty
>> >> >> >>> in
>> >> >> >>> > getting METv5.0 to build.
>> >> >> >>> >
>> >> >> >>> > I'd suggest downloading and compiling NetCDF locally
using the
>> >> >> >>> > following
>> >> >> >>> > steps:
>> >> >> >>> >
>> >> >> >>> > Download NetCDF 3.6.3 from here:
>> >> >> >>> >
>> >> http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-
3.6.3.tar.gz
>> >> >> >>> >
>> >> >> >>> > Then run:
>> >> >> >>> > tar -zxf netcdf-3.6.3.tar.gz
>> >> >> >>> > ./configure --prefix=`pwd`
>> >> >> >>> > make
>> >> >> >>> > make install
>> >> >> >>> >
>> >> >> >>> > These commands should compile the C and C++ interfaces
for
>> NetCDF
>> >> >> >>> > and
>> >> >> >>> skip
>> >> >> >>> > the Fortran interface that MET doesn't use.  It will
install
>> the
>> >> >> >>> library in
>> >> >> >>> > current "netcdf-3.6.3" directory due to the
--prefix=`pwd`
>> >> option.
>> >> >> >>> >
>> >> >> >>> > Next, you'll need to edit where you set MET_NETCDF to
point to
>> >> this
>> >> >> >>> > new
>> >> >> >>> > location, source your .cshrc or similiar file, and
rebuild
>> MET.
>> >> >> >>> >
>> >> >> >>> > I just ran all of these steps and was able to get a
successful
>> >> >> >>> > build
>> >> >> >>> > and
>> >> >> >>> > install of METv5.0.
>> >> >> >>> >
>> >> >> >>> > Please give this a try and let me know how it goes.
>> >> >> >>> >
>> >> >> >>> > Thanks,
>> >> >> >>> > Julie
>> >> >> >>> >
>> >> >> >>> > On Thu, Oct 9, 2014 at 1:28 AM, ashwinD12 . via RT <
>> >> >> met_help at ucar.edu>
>> >> >> >>> > wrote:
>> >> >> >>> >
>> >> >> >>> >>
>> >> >> >>> >> <URL:
>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>> >> >> >>> >>
>> >> >> >>> >> Hi Julie,
>> >> >> >>> >>                I made some progress with some
difficulty
>> which
>> >> is
>> >> >> >>> >> expected.
>> >> >> >>> >> First of all there are *two* C++ NETCDF  libraries and
I had
>> to
>> >> >> >>> >> use
>> >> >> >>> >> the
>> >> >> >>> >> legacy C++ NETCDF source code to build with MET 5.0.
The
>> >> netcdf.hh
>> >> >> >>> >> file
>> >> >> >>> >> is
>> >> >> >>> >> NOT found in the latest C++ NETCDF interface but in
the
>> legacy
>> >> >> >>> >> distribution. It would be helpful if you could update
the
>> >> >> >>> >> documentation
>> >> >> >>> >> to
>> >> >> >>> >> reflect this.
>> >> >> >>> >> Then I did not have lex and yacc on my Ubuntu and I
updated
>> my
>> >> >> system
>> >> >> >>> to
>> >> >> >>> >> reflect that. Then I ran make install again and  here
are the
>> >> >> >>> >> latest
>> >> >> >>> >> error
>> >> >> >>> >> -
>> >> >> >>> >> make[4]: Nothing to be done for `install-exec-am'.
>> >> >> >>> >> make[4]: Nothing to be done for `install-data-am'.
>> >> >> >>> >> make[4]: Leaving directory
>> >> >> >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_afm'
>> >> >> >>> >> make[3]: Leaving directory
>> >> >> >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_afm'
>> >> >> >>> >> Making install in vx_color
>> >> >> >>> >> make[3]: Entering directory
>> >> >> >>> >>
>> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_color'
>> >> >> >>> >> /bin/bash ../../../ylwrap color_scanner.ll .c
>> color_scanner.cc
>> >> --
>> >> >> >>> >> :
>> >> >> >>> >> --prefix=color --outfile=lex.yy.c
>> >> >> >>> >> make[3]: *** [color_scanner.cc] Error 1
>> >> >> >>> >> make[3]: Leaving directory
>> >> >> >>> >>
>> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_color'
>> >> >> >>> >> make[2]: *** [install-recursive] Error 1
>> >> >> >>> >> make[2]: Leaving directory
>> >> >> >>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode'
>> >> >> >>> >> make[1]: *** [install-recursive] Error 1
>> >> >> >>> >> make[1]: Leaving directory
>> >> >> >>> `/home/aswin/meteorology_project/met-5.0/src'
>> >> >> >>> >> make: *** [install-recursive] Error 1
>> >> >> >>> >>
>> >> >> >>> >>
>> >> >> >>> >>
>> >> >> >>> >> On Wed, Oct 8, 2014 at 8:13 PM, Julie Prestopnik via
RT
>> >> >> >>> >> <met_help at ucar.edu
>> >> >> >>> >> >
>> >> >> >>> >> wrote:
>> >> >> >>> >>
>> >> >> >>> >> > Hi Ashwin.  I agree. MET expects the C++ interface
to be
>> >> >> >>> >> > compiled.
>> >> >> >>> >> Please
>> >> >> >>> >> > try building and compiling NETCDF to include the C++
>> interface
>> >> >> >>> >> > and
>> >> >> >>> then
>> >> >> >>> >> > rebuild and recompile MET.  Please let me know how
it turns
>> >> out.
>> >> >> >>> >> >
>> >> >> >>> >> > Thanks,
>> >> >> >>> >> > Julie
>> >> >> >>> >> >
>> >> >> >>> >> > On Wed, Oct 8, 2014 at 7:51 AM, ashwinD12 . via RT <
>> >> >> >>> met_help at ucar.edu>
>> >> >> >>> >> > wrote:
>> >> >> >>> >> >
>> >> >> >>> >> > >
>> >> >> >>> >> > > <URL:
>> >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>> >> >> >>> >> > > >
>> >> >> >>> >> > >
>> >> >> >>> >> > > I am not at the machine where the problem is
happening
>> but I
>> >> >> >>> >> > > can
>> >> >> >>> >> > > guess
>> >> >> >>> >> > > the root cause of the problem. When compiling
NETCDF for
>> >> WRF I
>> >> >> >>> only
>> >> >> >>> >> > > compiled the C and FORTRAN libraries and not the
C++
>> >> >> >>> >> > > libraries.
>> >> >> >>> >> > > So
>> >> >> >>> I
>> >> >> >>> >> > > will need to recompile NETCDF and this time
compile for
>> C++
>> >> as
>> >> >> >>> >> > > well
>> >> >> >>> >> > > by
>> >> >> >>> >> > > specifying the environment variable CXX. I do not
think
>> >> there
>> >> >> >>> >> > > is
>> >> >> >>> >> > > a
>> >> >> >>> >> > > file netcdf.hh under /usr/local/include. I will
confirm
>> this
>> >> >> >>> tomorrow
>> >> >> >>> >> > > morning my time.
>> >> >> >>> >> > > Regards.
>> >> >> >>> >> > >
>> >> >> >>> >> > > On 10/8/14, Julie Prestopnik via RT
<met_help at ucar.edu>
>> >> wrote:
>> >> >> >>> >> > > > Great!  Thank you.  Can you please take a look
in
>> >> >> MET_NETCDFINC
>> >> >> >>> >> > > > (/usr/local/
>> >> >> >>> >> > > > include) and tell me if you see netcdf.hh?
>> >> >> >>> >> > > >
>> >> >> >>> >> > > > Julie
>> >> >> >>> >> > > >
>> >> >> >>> >> > > > On Tue, Oct 7, 2014 at 11:18 PM, ashwinD12 . via
RT <
>> >> >> >>> >> met_help at ucar.edu
>> >> >> >>> >> > >
>> >> >> >>> >> > > > wrote:
>> >> >> >>> >> > > >
>> >> >> >>> >> > > >>
>> >> >> >>> >> > > >> <URL:
>> >> >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>> >> >> >>> >> > > >> >
>> >> >> >>> >> > > >>
>> >> >> >>> >> > > >> Hi Julie, I am sending you the required
information
>> >> >> >>> >> > > >>
>> >> >> >>> >> > > >> printenv | grep MET
>> >> >> >>> >> > > >>
>> >> >> >>> >> > > >> MET_GSLLIB=/usr/local/lib
>> >> >> >>> >> > > >> MET_GRIB2LIB=/usr/local/lib
>> >> >> >>> >> > > >> MET_GSLINC=/usr/local/include
>> >> >> >>> >> > > >> MET_NETCDFINC=/usr/local/include
>> >> >> >>> >> > > >> MET_NETCDFLIB=/usr/local/lib
>> >> >> >>> >> > > >>
>> >> >> >>> >> > > >> On Tue, Oct 7, 2014 at 8:52 PM, Julie
Prestopnik via
>> RT
>> >> >> >>> >> > > >> <met_help at ucar.edu
>> >> >> >>> >> > > >> >
>> >> >> >>> >> > > >> wrote:
>> >> >> >>> >> > > >>
>> >> >> >>> >> > > >> > Hi Ashwin.  I see you're still having
problems with
>> MET
>> >> >> >>> finding
>> >> >> >>> >> > > >> netcdf.hh.
>> >> >> >>> >> > > >> >
>> >> >> >>> >> > > >> > Could you please run "printenv | grep MET"
and send
>> me
>> >> >> >>> >> > > >> > the
>> >> >> >>> >> > > >> > output?
>> >> >> >>> >> > > >> >
>> >> >> >>> >> > > >> > Thank you.
>> >> >> >>> >> > > >> >
>> >> >> >>> >> > > >> > Julie
>> >> >> >>> >> > > >> >
>> >> >> >>> >> > > >> > On Tue, Oct 7, 2014 at 6:07 AM, ashwinD12 .
via RT <
>> >> >> >>> >> > met_help at ucar.edu
>> >> >> >>> >> > > >
>> >> >> >>> >> > > >> > wrote:
>> >> >> >>> >> > > >> >
>> >> >> >>> >> > > >> > >
>> >> >> >>> >> > > >> > > <URL:
>> >> >> >>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>> >> >> >>> >> > > >> > > >
>> >> >> >>> >> > > >> > >
>> >> >> >>> >> > > >> > > Hello,
>> >> >> >>> >> > > >> > >             I apologize for the late
response on
>> this
>> >> >> >>> >> > > >> > > as
>> >> >> I
>> >> >> >>> >> > > >> > > have
>> >> >> >>> >> > > >> tracking
>> >> >> >>> >> > > >> > > another WRF problem. The problem still
persists
>> >> >> >>> >> > > >> > > I first typed ./configure --prefix=`pwd`
>> >> --enable-grib2
>> >> >> >>> >> > > >> > > and
>> >> >> >>> >> > > >> > > then
>> >> >> >>> >> > > >> followed
>> >> >> >>> >> > > >> > > by make install and I got these 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_geodesy
>> >> >> >>> >> -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_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_shapedata
>> >> >> >>> >> > > >> > > -I../../../src/libcode/vx_statistics
>> >> >> >>> >> > > >> > > -I../../../src/libcode/vx_stat_out
>> >> >> >>> >> > > >> > > -I../../../src/libcode/vx_tc_util
>> >> -I/usr/local/include
>> >> >> >>> >> > > >> > -I/usr/local/include
>> >> >> >>> >> > > >> > > -DBLOCK4 -DWITH_GRIB2
>> >> >> >>> >> > > >> > >
>> >> >> >>> >>
>> >> -DMET_BASE="\"/home/aswin/meteorology_project/met-
5.0/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
>> >> >> >>> >> > > >> > > In file included from nc_var_info.cc(24):
>> >> >> >>> >> > > >> > > nc_var_info.h(24): catastrophic error:
cannot open
>> >> >> >>> >> > > >> > > source
>> >> >> >>> file
>> >> >> >>> >> > > >> > "netcdf.hh"
>> >> >> >>> >> > > >> > >   #include <netcdf.hh>
>> >> >> >>> >> > > >> > >                       ^
>> >> >> >>> >> > > >> > >
>> >> >> >>> >> > > >> > > compilation aborted for nc_var_info.cc
(code 4)
>> >> >> >>> >> > > >> > > make[3]: *** [libvx_nc_util_a-
nc_var_info.o]
>> Error 4
>> >> >> >>> >> > > >> > > make[3]: Leaving directory
>> >> >> >>> >> > > >> > >
>> >> >> >>> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
>> >> >> >>> >> > > >> > > make[2]: *** [install-recursive] Error 1
>> >> >> >>> >> > > >> > > make[2]: Leaving directory
>> >> >> >>> >> > > >> > >
>> `/home/aswin/meteorology_project/met-5.0/src/libcode'
>> >> >> >>> >> > > >> > > make[1]: *** [install-recursive] Error 1
>> >> >> >>> >> > > >> > > make[1]: Leaving directory
>> >> >> >>> >> > > >> > `/home/aswin/meteorology_project/met-
5.0/src'ds.
>> >> >> >>> >> > > >> > > I first typed ./configure --prefix=`pwd`
>> >> --enable-grib2
>> >> >> >>> >> > > >> > > and
>> >> >> >>> >> > > >> > > then
>> >> >> >>> >> > > >> followed
>> >> >> >>> >> > > >> > > by make install and I got these messages -
>> >> >> >>> >> > > >> > >
>> >> >> >>> >> > > >> > >
>> >> >> >>> >> > > >> > > On Tue, Sep 16, 2014 at 9:28 PM, Julie
Prestopnik
>> via
>> >> >> >>> >> > > >> > > RT
>> >> >> <
>> >> >> >>> >> > > >> > > met_help at ucar.edu>
>> >> >> >>> >> > > >> > > wrote:
>> >> >> >>> >> > > >> > >
>> >> >> >>> >> > > >> > > > Hi Ashwin.
>> >> >> >>> >> > > >> > > >
>> >> >> >>> >> > > >> > > > Thanks for downloading the latest release
of
>> MET.
>> >> I
>> >> >> see
>> >> >> >>> >> > > >> > > > that
>> >> >> >>> >> > > >> > > > you're
>> >> >> >>> >> > > >> > > > having  trouble configuring/compiling it.
We
>> >> >> >>> >> > > >> > > > switched
>> >> >> >>> over
>> >> >> >>> >> > > >> > > > to
>> >> >> >>> >> > > >> > > > using
>> >> >> >>> >> > > >> > > > autoconf for  building MET version 5.0.
In
>> >> previous
>> >> >> >>> >> > > >> > > > versions,
>> >> >> >>> >> > you
>> >> >> >>> >> > > >> > > edited a
>> >> >> >>> >> > > >> > > > file by hand and then typed "make".  Now,
you
>> run
>> >> the
>> >> >> >>> >> configure
>> >> >> >>> >> > > >> script.
>> >> >> >>> >> > > >> > > > Please read  through the top-level
>> met-5.0/README
>> >> >> >>> >> > > >> > > > file
>> >> >> >>> >> > > >> > > > for
>> >> >> >>> >> > > >> instructions
>> >> >> >>> >> > > >> > > > about building MET.
>> >> >> >>> >> > > >> > > >
>> >> >> >>> >> > > >> > > > You can set several environment variables
to
>> tell
>> >> the
>> >> >> >>> >> configure
>> >> >> >>> >> > > >> script
>> >> >> >>> >> > > >> > > > where to find the dependent libraries.
For
>> >> example,
>> >> >> >>> >> MET_NETCDF
>> >> >> >>> >> > > >> > > > tells
>> >> >> >>> >> > > >> > it
>> >> >> >>> >> > > >> > > > where to find NetCDF.  nc_var_inco.cc
should be
>> >> >> >>> >> > > >> > > > looking
>> >> >> >>> for
>> >> >> >>> >> > > >> netcdf.hh.
>> >> >> >>> >> > > >> > > > That's the include file for the C++
interface.
>> >> There
>> >> >> >>> >> > > >> > > > are
>> >> >> >>> >> > > >> > > > many
>> >> >> >>> >> > > >> > different
>> >> >> >>> >> > > >> > > > ways of compiling NetCDF, and MET expects
the
>> C++
>> >> >> >>> interface
>> >> >> >>> >> > > >> > > > to
>> >> >> >>> >> > be
>> >> >> >>> >> > > >> > > > compiled.  There are some instructions
for
>> >> compiling
>> >> >> >>> NetCDF
>> >> >> >>> >> for
>> >> >> >>> >> > > MET
>> >> >> >>> >> > > >> > here:
>> >> >> >>> >> > > >> > > >
>> >> >> >>> >> > > >> > > >
>> >> >> >>> >> > > >> > >
>> >> >> >>> >> > > >> >
>> >> >> >>> >> > > >>
>> >> >> >>> >> > >
>> >> >> >>> >> >
>> >> >> >>> >>
>> >> >> >>>
>> >> >>
>> >>
>>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
>> >> >> >>> >> > > >> > > >
>> >> >> >>> >> > > >> > > > Please take a look at the instructions
for
>> >> compiling
>> >> >> >>> NetCDF
>> >> >> >>> >> for
>> >> >> >>> >> > > MET
>> >> >> >>> >> > > >> and
>> >> >> >>> >> > > >> > > at
>> >> >> >>> >> > > >> > > > the top-level met-5.0/README file for
>> instructions
>> >> >> about
>> >> >> >>> >> > building
>> >> >> >>> >> > > >> > > > MET
>> >> >> >>> >> > > >> > and
>> >> >> >>> >> > > >> > > > let us know if you continue to experience
>> problems.
>> >> >> >>> >> > > >> > > >
>> >> >> >>> >> > > >> > > > Thanks,
>> >> >> >>> >> > > >> > > > Julie
>> >> >> >>> >> > > >> > > >
>> >> >> >>> >> > > >> > > > On Mon, Sep 15, 2014 at 11:22 PM,
ashwinD12 .
>> via
>> >> RT
>> >> >> >>> >> > > >> > > > <
>> >> >> >>> >> > > >> > met_help at ucar.edu>
>> >> >> >>> >> > > >> > > > wrote:
>> >> >> >>> >> > > >> > > >
>> >> >> >>> >> > > >> > > > >
>> >> >> >>> >> > > >> > > > > Mon Sep 15 23:22:39 2014: Request 68987
was
>> acted
>> >> >> >>> >> > > >> > > > > upon.
>> >> >> >>> >> > > >> > > > > Transaction: Ticket created by
>> >> winash12 at gmail.com
>> >> >> >>> >> > > >> > > > >        Queue: met_help
>> >> >> >>> >> > > >> > > > >      Subject: Not able to compile
>> >> >> >>> >> > > >> > > > >        Owner: Nobody
>> >> >> >>> >> > > >> > > > >   Requestors: winash12 at gmail.com
>> >> >> >>> >> > > >> > > > >       Status: new
>> >> >> >>> >> > > >> > > > >  Ticket <URL:
>> >> >> >>> >> > > >> >
>> >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>> >> >> >>> >> > > >> > > >
>> >> >> >>> >> > > >> > > > >
>> >> >> >>> >> > > >> > > > >
>> >> >> >>> >> > > >> > > > > Hello,
>> >> >> >>> >> > > >> > > > >            I downloaded the latest
version
>> and I
>> >> am
>> >> >> >>> unable
>> >> >> >>> >> to
>> >> >> >>> >> > > >> compile
>> >> >> >>> >> > > >> > > > this
>> >> >> >>> >> > > >> > > > > at all.
>> >> >> >>> >> > > >> > > > >
>> >> >> >>> >> > > >> > > > > Here are the errors - first it appears
that
>> there
>> >> >> >>> >> > > >> > > > > is
>> >> >> >>> >> > > >> > > > > an
>> >> >> >>> >> error
>> >> >> >>> >> > in
>> >> >> >>> >> > > >> this
>> >> >> >>> >> > > >> > > > > directory - nc_var_inco.cc which
includes
>> >> >> >>> >> > > >> > > > > netcdf.hh.
>> >> >> I
>> >> >> >>> >> believe
>> >> >> >>> >> > > it
>> >> >> >>> >> > > >> > > should
>> >> >> >>> >> > > >> > > > be
>> >> >> >>> >> > > >> > > > > netcdf.h. Please let me know if that is
>> accurate
>> >> or
>> >> >> >>> >> > > >> > > > > not.
>> >> >> >>> >> When
>> >> >> >>> >> > I
>> >> >> >>> >> > > >> > > > > fix
>> >> >> >>> >> > > >> > > that
>> >> >> >>> >> > > >> > > > I
>> >> >> >>> >> > > >> > > > > get these errors -
>> >> >> >>> >> > > >> > > > >
>> >> >> >>> >> > > >> > > > >
>> >> >> >>> >> > > >> > > > >
>> >> >> >>> >> > > >> > > > > Regards,
>> >> >> >>> >> > > >> > > > > Ashwin.
>> >> >> >>> >> > > >> > > > >
>> >> >> >>> >> > > >> > > > > make[3]: Entering directory
>> >> >> >>> >> > > >> > > > >
>> >> >> >>> >> >
>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
>> >> >> >>> >> > > >> > > > > 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_geodesy
>> >> >> >>> >> > > >> > > > > -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_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_shapedata
>> >> >> >>> >> > > >> > > > > -I../../../src/libcode/vx_statistics
>> >> >> >>> >> > > >> > -I../../../src/libcode/vx_stat_out
>> >> >> >>> >> > > >> > > > > -I../../../src/libcode/vx_tc_util
-DBLOCK4
>> >> >> >>> >> > > >> > > > > -DWITH_GRIB2
>> >> >> >>> >> > > >> > > > > -DMET_BASE="\"/usr/local/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
>> >> >> >>> >> > > >> > > > > In file included from
nc_var_info.cc(24):
>> >> >> >>> >> > > >> > > > > nc_var_info.h(24): catastrophic error:
cannot
>> >> open
>> >> >> >>> source
>> >> >> >>> >> file
>> >> >> >>> >> > > >> > > > "netcdf.hh"
>> >> >> >>> >> > > >> > > > >   #include <netcdf.hh>
>> >> >> >>> >> > > >> > > > >                       ^
>> >> >> >>> >> > > >> > > > >
>> >> >> >>> >> > > >> > > > > compilation aborted for nc_var_info.cc
(code
>> 4)
>> >> >> >>> >> > > >> > > > > make[3]: *** [libvx_nc_util_a-
nc_var_info.o]
>> >> Error
>> >> >> >>> >> > > >> > > > > 4
>> >> >> >>> >> > > >> > > > > make[3]: Leaving directory
>> >> >> >>> >> > > >> > > > >
>> >> >> >>> >> >
>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
>> >> >> >>> >> > > >> > > > > make[2]: *** [install-recursive] Error
1
>> >> >> >>> >> > > >> > > > > make[2]: Leaving directory
>> >> >> >>> >> > > >> > > > >
>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode'
>> >> >> >>> >> > > >> > > > > make[1]: *** [install-recursive] Error
1
>> >> >> >>> >> > > >> > > > > make[1]: Leaving directory
>> >> >> >>> >> > > >> > > `/home/aswin/meteorology_project/met-
5.0/src'
>> >> >> >>> >> > > >> > > > > make: *** [install-recursive] Error 1
>> >> >> >>> >> > > >> > > > >
>> >> >> >>> >> > > >> > > > > Ashwin.
>> >> >> >>> >> > > >> > > > >
>> >> >> >>> >> > > >> > > > >
>> >> >> >>> >> > > >> > > >
>> >> >> >>> >> > > >> > > >
>> >> >> >>> >> > > >> > > > --
>> >> >> >>> >> > > >> > > > Julie Prestopnik
>> >> >> >>> >> > > >> > > > National Center for Atmospheric Research
>> >> >> >>> >> > > >> > > > Research Applications Laboratory
>> >> >> >>> >> > > >> > > > Phone: 303.497.8399
>> >> >> >>> >> > > >> > > > Email: jpresto at ucar.edu
>> >> >> >>> >> > > >> > > >
>> >> >> >>> >> > > >> > > >
>> >> >> >>> >> > > >> > >
>> >> >> >>> >> > > >> > >
>> >> >> >>> >> > > >> >
>> >> >> >>> >> > > >> >
>> >> >> >>> >> > > >> > --
>> >> >> >>> >> > > >> > Julie Prestopnik
>> >> >> >>> >> > > >> > National Center for Atmospheric Research
>> >> >> >>> >> > > >> > Research Applications Laboratory
>> >> >> >>> >> > > >> > Phone: 303.497.8399
>> >> >> >>> >> > > >> > Email: jpresto at ucar.edu
>> >> >> >>> >> > > >> >
>> >> >> >>> >> > > >> >
>> >> >> >>> >> > > >>
>> >> >> >>> >> > > >>
>> >> >> >>> >> > > >
>> >> >> >>> >> > > >
>> >> >> >>> >> > > > --
>> >> >> >>> >> > > > Julie Prestopnik
>> >> >> >>> >> > > > National Center for Atmospheric Research
>> >> >> >>> >> > > > Research Applications Laboratory
>> >> >> >>> >> > > > Phone: 303.497.8399
>> >> >> >>> >> > > > Email: jpresto at ucar.edu
>> >> >> >>> >> > > >
>> >> >> >>> >> > > >
>> >> >> >>> >> > >
>> >> >> >>> >> > >
>> >> >> >>> >> >
>> >> >> >>> >> >
>> >> >> >>> >> > --
>> >> >> >>> >> > Julie Prestopnik
>> >> >> >>> >> > National Center for Atmospheric Research
>> >> >> >>> >> > Research Applications Laboratory
>> >> >> >>> >> > Phone: 303.497.8399
>> >> >> >>> >> > Email: jpresto at ucar.edu
>> >> >> >>> >> >
>> >> >> >>> >> >
>> >> >> >>> >>
>> >> >> >>> >>
>> >> >> >>> >
>> >> >> >>> >
>> >> >> >>> > --
>> >> >> >>> > Julie Prestopnik
>> >> >> >>> > National Center for Atmospheric Research
>> >> >> >>> > Research Applications Laboratory
>> >> >> >>> > Phone: 303.497.8399
>> >> >> >>> > Email: jpresto at ucar.edu
>> >> >> >>> >
>> >> >> >>> >
>> >> >> >>>
>> >> >> >>>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >>
>> >
>>
>>
>

------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #68987] Not able to compile
From: ashwinD12 .
Time: Mon Oct 20 08:36:51 2014

Hello John,
                 Any update on the compiler errors I get when I run
configrue with the --enable-grib2 option ?
Regards,
Ashwin.

On 10/17/14, ashwinD12 . <winash12 at gmail.com> wrote:
> Hi John,
>                I reran configure with the --enable-grib2 option and
I reran
> make install and I get these errors enclosed in make_install.log.
> Regards,
> Ashwin.
>
> On Fri, Oct 17, 2014 at 11:39 AM, ashwinD12 . <winash12 at gmail.com>
wrote:
>
>> Hi John,
>>               Bingo four times I could say. I already had FC set to
ifort
>> but I did not have F77 set to ifort. It was not even set so I
suppose it
>> defaulted to gfortran. I set F77 to ifort and everything compiled
as
>> well.
>> I still am not satisfied with the BUFRLIB library as I got some
errors
>> over
>> there but that is for later I guess. I sent a mail to NCEP but they
are
>> yet
>> to reply to me. Is there a forum for the BUFRLIB product ?
>> Regards,
>> Ashwin.
>>
>> On Thu, Oct 16, 2014 at 9:57 PM, John Halley Gotway via RT <
>> met_help at ucar.edu> wrote:
>>
>>> Ashwin,
>>>
>>> Oops, sorry I told you to set the FC environment variable.  I
should
>>> have
>>> said F77:
>>>    setenv F77 `which gfortran`
>>>
>>> Thanks,
>>> John
>>>
>>> On Thu, Oct 16, 2014 at 10:19 AM, John Halley Gotway
<johnhg at ucar.edu>
>>> wrote:
>>>
>>> > Ashwin,
>>> >
>>> > Thanks for sending those files.  It makes it much easier to
debug.
>>> > The
>>> > problem is that you're mixing an intel C++ compiler (icpc) with
a GNU
>>> > fortran compiler (gfortran).  When compiling MET and all the
dependent
>>> > libraries, we need to use the same family of compilers.  Mixing
>>> > compiler
>>> > families leads to the sort of undefined reference errors that
you're
>>> > getting.
>>> >
>>> > The question is, which family of compilers did you intend to
use,
>>> > intel
>>> or
>>> > gnu.  The C/C++/Fortran compilers for intel are icc/icc/ifort.
The
>>> > C/C++/Fortran compilers for GNU are gcc/g++/gfortran.  In my
commands
>>> > below, I'll assume you're using GNU, but you can swap them out
for the
>>> > corresponding intel ones if needed.  Whichever set of compilers
you
>>> > use,
>>> > note that the dependent libraries (GSL, BUFRLIB, NetCDF) should
be
>>> compiled
>>> > with them as well.
>>> >
>>> > # Go to the top-level met-5.0 directory.
>>> >
>>> > # First make sure that these compilers are present on your
system
>>> > which gcc
>>> > which g++
>>> > which gfortran
>>> >
>>> > # Set variables to tell configure which compilers you want to
use
>>> > setenv CC `which gcc`
>>> > setenv CXX `which g++`
>>> > setenv FC `which gfortran`
>>> >
>>> > # Recompile MET
>>> > make clean
>>> > ./configure -prefix=`pwd`
>>> > make install >& make_install.log
>>> > make test >& make_test.log
>>> >
>>> > And then inspect "make_install.log" to make sure that MET used
the
>>> > compilers you specified.
>>> >
>>> > Please let me know how that goes.
>>> >
>>> > Thanks,
>>> > John
>>> >
>>> > On Thu, Oct 16, 2014 at 12:48 AM, ashwinD12 . via RT
>>> > <met_help at ucar.edu
>>> >
>>> > wrote:
>>> >
>>> >>
>>> >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>>> >>
>>> >> Hello John,
>>> >>                   Here you go - I am enclosing all the log
files you
>>> >> requested.
>>> >> Regards,
>>> >> Ashwin.
>>> >>
>>> >> On 10/15/14, John Halley Gotway via RT <met_help at ucar.edu>
wrote:
>>> >> > Ashwin,
>>> >> >
>>> >> > Just so I can get a better understand of what's going on,
could you
>>> >> please
>>> >> > run the following commands in the top-level met-5.0
directory...
>>> >> >
>>> >> >    printenv | grep MET_ > environment.log
>>> >> >    make clean
>>> >> >   ./configure -prefix=`pwd`
>>> >> >   make install >& make_install.log
>>> >> >   make test >& make_test.log
>>> >> >
>>> >> > And then send me these files: environment.log, config.log,
>>> >> > make_install.log, and make_test.log
>>> >> >
>>> >> > That'll give me a better idea of what's going on.
>>> >> >
>>> >> > Thanks,
>>> >> > John
>>> >> >
>>> >> > On Wed, Oct 15, 2014 at 1:41 AM, ashwinD12 . via RT <
>>> met_help at ucar.edu>
>>> >> > wrote:
>>> >> >
>>> >> >>
>>> >> >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>>> >> >>
>>> >> >> Hi John,
>>> >> >>               I apologize for the late response. It is not
without
>>> >> >> a
>>> >> >> reason. I got past that point but I have a LIBRBUF error. I
had
>>> >> >> sent
>>> >> >> this report to NCEP website but have yet to hear from them.
Until
>>> >> >> I
>>> >> >> hear from them I cannot test the new patches. Please bear
with me
>>> for
>>> >> >> a few days and I will get back to you.
>>> >> >> Regards,
>>> >> >> Ashwin.
>>> >> >>
>>> >> >> On 10/15/14, John Halley Gotway via RT <met_help at ucar.edu>
wrote:
>>> >> >> > Ashwin,
>>> >> >> >
>>> >> >> > I just posted the first set of patches for the met-5.0
release,
>>> and
>>> >> >> > they
>>> >> >> > include this fix.  Please follow the instructions posted
here to
>>> >> >> > download
>>> >> >> > and apply the latest set of patches:
>>> >> >> >
>>> >> >>
>>> >>
>>>
http://www.dtcenter.org/met/users/support/known_issues/METv5.0/index.php
>>> >> >> >
>>> >> >> > Please let me know if you continue to experience problems
with
>>> MET.
>>> >> >> >
>>> >> >> > Thanks,
>>> >> >> > John Halley Gotway
>>> >> >> > met_help at ucar.edu
>>> >> >> >
>>> >> >> > On Mon, Oct 13, 2014 at 3:02 PM, John Halley Gotway <
>>> johnhg at ucar.edu
>>> >> >
>>> >> >> > wrote:
>>> >> >> >
>>> >> >> >> Hello Ashwin,
>>> >> >> >>
>>> >> >> >> This is John Halley Gotway.  I work with Julie, but she's
out
>>> >> >> >> of
>>> the
>>> >> >> >> office today.  I took a look at this issue and think I've
>>> uncovered
>>> >> >> >> the
>>> >> >> >> problem.  And it's a problem on our end, not yours.
Here's
>>> >> >> >> what
>>> I'd
>>> >> >> like
>>> >> >> >> you to try...
>>> >> >> >>
>>> >> >> >> Copy the three attached files (color_scanner.cc,
Makefile.in,
>>> >> >> >> and
>>> >> >> >> Makefile.am) into this directory:
>>> >> >> >>    met-5.0/src/libcode/vx_color
>>> >> >> >>
>>> >> >> >> Then rerun "configure" and "make install".  Please let me
know
>>> >> >> >> if
>>> >> this
>>> >> >> >> resolves the error with lex.yy.c you were getting.
>>> >> >> >>
>>> >> >> >> In met-5.0, we switched over to building MET using
autoconf.
>>> >> >> >> The
>>> >> MET
>>> >> >> >> code
>>> >> >> >> uses flex and bison (lex and yacc) to parse data files in
a few
>>> >> >> >> places,
>>> >> >> >> but
>>> >> >> >> our intention is to run those tools here during the
process of
>>> >> >> >> building
>>> >> >> a
>>> >> >> >> release.  I think the vx_color Makefile was removing the
output
>>> of
>>> >> >> >> flex
>>> >> >> >> and
>>> >> >> >> then trying to rebuild it by calling flex.  And there's
>>> >> >> >> probably
>>> an
>>> >> >> >> inconsistency between the version of flex we use here and
the
>>> one on
>>> >> >> your
>>> >> >> >> machine.
>>> >> >> >>
>>> >> >> >> Please do let me know if that resolves the problem.  Once
we
>>> >> >> >> get
>>> a
>>> >> >> >> good
>>> >> >> >> fix for this issue, we'll post a patch on the known issue
page
>>> for
>>> >> >> >> MET.
>>> >> >> >>
>>> >> >> >> Sorry for trouble, but thanks for helping us debug this
issue!
>>> >> >> >>
>>> >> >> >> John Halley Gotway
>>> >> >> >> met_help at ucar.edu
>>> >> >> >>
>>> >> >> >>
>>> >> >> >>
>>> >> >> >> On Thu, Oct 9, 2014 at 4:56 PM, ashwinD12 . via RT <
>>> >> met_help at ucar.edu>
>>> >> >> >> wrote:
>>> >> >> >>
>>> >> >> >>>
>>> >> >> >>> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>>> >> >> >>> >
>>> >> >> >>>
>>> >> >> >>> Hello Julie,
>>> >> >> >>>                  There is no problem with the netcdf
build. I
>>> moved
>>> >> >> >>> past that point. Did you look at the error messages ? it
is
>>> >> >> >>> mentioning
>>> >> >> >>> that there is some problem with lex.yy.c.
>>> >> >> >>> Regards,
>>> >> >> >>> Ashwin.
>>> >> >> >>>
>>> >> >> >>> On 10/9/14, Julie Prestopnik via RT <met_help at ucar.edu>
wrote:
>>> >> >> >>> > Hi Ashwin.  I'm sorry to hear that you are still
having some
>>> >> >> >>> > difficulty
>>> >> >> >>> in
>>> >> >> >>> > getting METv5.0 to build.
>>> >> >> >>> >
>>> >> >> >>> > I'd suggest downloading and compiling NetCDF locally
using
>>> >> >> >>> > the
>>> >> >> >>> > following
>>> >> >> >>> > steps:
>>> >> >> >>> >
>>> >> >> >>> > Download NetCDF 3.6.3 from here:
>>> >> >> >>> >
>>> >> http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-
3.6.3.tar.gz
>>> >> >> >>> >
>>> >> >> >>> > Then run:
>>> >> >> >>> > tar -zxf netcdf-3.6.3.tar.gz
>>> >> >> >>> > ./configure --prefix=`pwd`
>>> >> >> >>> > make
>>> >> >> >>> > make install
>>> >> >> >>> >
>>> >> >> >>> > These commands should compile the C and C++ interfaces
for
>>> NetCDF
>>> >> >> >>> > and
>>> >> >> >>> skip
>>> >> >> >>> > the Fortran interface that MET doesn't use.  It will
install
>>> the
>>> >> >> >>> library in
>>> >> >> >>> > current "netcdf-3.6.3" directory due to the
--prefix=`pwd`
>>> >> option.
>>> >> >> >>> >
>>> >> >> >>> > Next, you'll need to edit where you set MET_NETCDF to
point
>>> >> >> >>> > to
>>> >> this
>>> >> >> >>> > new
>>> >> >> >>> > location, source your .cshrc or similiar file, and
rebuild
>>> MET.
>>> >> >> >>> >
>>> >> >> >>> > I just ran all of these steps and was able to get a
>>> >> >> >>> > successful
>>> >> >> >>> > build
>>> >> >> >>> > and
>>> >> >> >>> > install of METv5.0.
>>> >> >> >>> >
>>> >> >> >>> > Please give this a try and let me know how it goes.
>>> >> >> >>> >
>>> >> >> >>> > Thanks,
>>> >> >> >>> > Julie
>>> >> >> >>> >
>>> >> >> >>> > On Thu, Oct 9, 2014 at 1:28 AM, ashwinD12 . via RT <
>>> >> >> met_help at ucar.edu>
>>> >> >> >>> > wrote:
>>> >> >> >>> >
>>> >> >> >>> >>
>>> >> >> >>> >> <URL:
>>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>>> >> >> >>> >>
>>> >> >> >>> >> Hi Julie,
>>> >> >> >>> >>                I made some progress with some
difficulty
>>> which
>>> >> is
>>> >> >> >>> >> expected.
>>> >> >> >>> >> First of all there are *two* C++ NETCDF  libraries
and I
>>> >> >> >>> >> had
>>> to
>>> >> >> >>> >> use
>>> >> >> >>> >> the
>>> >> >> >>> >> legacy C++ NETCDF source code to build with MET 5.0.
The
>>> >> netcdf.hh
>>> >> >> >>> >> file
>>> >> >> >>> >> is
>>> >> >> >>> >> NOT found in the latest C++ NETCDF interface but in
the
>>> legacy
>>> >> >> >>> >> distribution. It would be helpful if you could update
the
>>> >> >> >>> >> documentation
>>> >> >> >>> >> to
>>> >> >> >>> >> reflect this.
>>> >> >> >>> >> Then I did not have lex and yacc on my Ubuntu and I
updated
>>> my
>>> >> >> system
>>> >> >> >>> to
>>> >> >> >>> >> reflect that. Then I ran make install again and  here
are
>>> >> >> >>> >> the
>>> >> >> >>> >> latest
>>> >> >> >>> >> error
>>> >> >> >>> >> -
>>> >> >> >>> >> make[4]: Nothing to be done for `install-exec-am'.
>>> >> >> >>> >> make[4]: Nothing to be done for `install-data-am'.
>>> >> >> >>> >> make[4]: Leaving directory
>>> >> >> >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_afm'
>>> >> >> >>> >> make[3]: Leaving directory
>>> >> >> >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_afm'
>>> >> >> >>> >> Making install in vx_color
>>> >> >> >>> >> make[3]: Entering directory
>>> >> >> >>> >>
>>> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_color'
>>> >> >> >>> >> /bin/bash ../../../ylwrap color_scanner.ll .c
>>> color_scanner.cc
>>> >> --
>>> >> >> >>> >> :
>>> >> >> >>> >> --prefix=color --outfile=lex.yy.c
>>> >> >> >>> >> make[3]: *** [color_scanner.cc] Error 1
>>> >> >> >>> >> make[3]: Leaving directory
>>> >> >> >>> >>
>>> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_color'
>>> >> >> >>> >> make[2]: *** [install-recursive] Error 1
>>> >> >> >>> >> make[2]: Leaving directory
>>> >> >> >>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode'
>>> >> >> >>> >> make[1]: *** [install-recursive] Error 1
>>> >> >> >>> >> make[1]: Leaving directory
>>> >> >> >>> `/home/aswin/meteorology_project/met-5.0/src'
>>> >> >> >>> >> make: *** [install-recursive] Error 1
>>> >> >> >>> >>
>>> >> >> >>> >>
>>> >> >> >>> >>
>>> >> >> >>> >> On Wed, Oct 8, 2014 at 8:13 PM, Julie Prestopnik via
RT
>>> >> >> >>> >> <met_help at ucar.edu
>>> >> >> >>> >> >
>>> >> >> >>> >> wrote:
>>> >> >> >>> >>
>>> >> >> >>> >> > Hi Ashwin.  I agree. MET expects the C++ interface
to be
>>> >> >> >>> >> > compiled.
>>> >> >> >>> >> Please
>>> >> >> >>> >> > try building and compiling NETCDF to include the
C++
>>> interface
>>> >> >> >>> >> > and
>>> >> >> >>> then
>>> >> >> >>> >> > rebuild and recompile MET.  Please let me know how
it
>>> >> >> >>> >> > turns
>>> >> out.
>>> >> >> >>> >> >
>>> >> >> >>> >> > Thanks,
>>> >> >> >>> >> > Julie
>>> >> >> >>> >> >
>>> >> >> >>> >> > On Wed, Oct 8, 2014 at 7:51 AM, ashwinD12 . via RT
<
>>> >> >> >>> met_help at ucar.edu>
>>> >> >> >>> >> > wrote:
>>> >> >> >>> >> >
>>> >> >> >>> >> > >
>>> >> >> >>> >> > > <URL:
>>> >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>>> >> >> >>> >> > > >
>>> >> >> >>> >> > >
>>> >> >> >>> >> > > I am not at the machine where the problem is
happening
>>> but I
>>> >> >> >>> >> > > can
>>> >> >> >>> >> > > guess
>>> >> >> >>> >> > > the root cause of the problem. When compiling
NETCDF
>>> >> >> >>> >> > > for
>>> >> WRF I
>>> >> >> >>> only
>>> >> >> >>> >> > > compiled the C and FORTRAN libraries and not the
C++
>>> >> >> >>> >> > > libraries.
>>> >> >> >>> >> > > So
>>> >> >> >>> I
>>> >> >> >>> >> > > will need to recompile NETCDF and this time
compile for
>>> C++
>>> >> as
>>> >> >> >>> >> > > well
>>> >> >> >>> >> > > by
>>> >> >> >>> >> > > specifying the environment variable CXX. I do not
think
>>> >> there
>>> >> >> >>> >> > > is
>>> >> >> >>> >> > > a
>>> >> >> >>> >> > > file netcdf.hh under /usr/local/include. I will
confirm
>>> this
>>> >> >> >>> tomorrow
>>> >> >> >>> >> > > morning my time.
>>> >> >> >>> >> > > Regards.
>>> >> >> >>> >> > >
>>> >> >> >>> >> > > On 10/8/14, Julie Prestopnik via RT
<met_help at ucar.edu>
>>> >> wrote:
>>> >> >> >>> >> > > > Great!  Thank you.  Can you please take a look
in
>>> >> >> MET_NETCDFINC
>>> >> >> >>> >> > > > (/usr/local/
>>> >> >> >>> >> > > > include) and tell me if you see netcdf.hh?
>>> >> >> >>> >> > > >
>>> >> >> >>> >> > > > Julie
>>> >> >> >>> >> > > >
>>> >> >> >>> >> > > > On Tue, Oct 7, 2014 at 11:18 PM, ashwinD12 .
via RT <
>>> >> >> >>> >> met_help at ucar.edu
>>> >> >> >>> >> > >
>>> >> >> >>> >> > > > wrote:
>>> >> >> >>> >> > > >
>>> >> >> >>> >> > > >>
>>> >> >> >>> >> > > >> <URL:
>>> >> >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>>> >> >> >>> >> > > >> >
>>> >> >> >>> >> > > >>
>>> >> >> >>> >> > > >> Hi Julie, I am sending you the required
information
>>> >> >> >>> >> > > >>
>>> >> >> >>> >> > > >> printenv | grep MET
>>> >> >> >>> >> > > >>
>>> >> >> >>> >> > > >> MET_GSLLIB=/usr/local/lib
>>> >> >> >>> >> > > >> MET_GRIB2LIB=/usr/local/lib
>>> >> >> >>> >> > > >> MET_GSLINC=/usr/local/include
>>> >> >> >>> >> > > >> MET_NETCDFINC=/usr/local/include
>>> >> >> >>> >> > > >> MET_NETCDFLIB=/usr/local/lib
>>> >> >> >>> >> > > >>
>>> >> >> >>> >> > > >> On Tue, Oct 7, 2014 at 8:52 PM, Julie
Prestopnik via
>>> RT
>>> >> >> >>> >> > > >> <met_help at ucar.edu
>>> >> >> >>> >> > > >> >
>>> >> >> >>> >> > > >> wrote:
>>> >> >> >>> >> > > >>
>>> >> >> >>> >> > > >> > Hi Ashwin.  I see you're still having
problems
>>> >> >> >>> >> > > >> > with
>>> MET
>>> >> >> >>> finding
>>> >> >> >>> >> > > >> netcdf.hh.
>>> >> >> >>> >> > > >> >
>>> >> >> >>> >> > > >> > Could you please run "printenv | grep MET"
and
>>> >> >> >>> >> > > >> > send
>>> me
>>> >> >> >>> >> > > >> > the
>>> >> >> >>> >> > > >> > output?
>>> >> >> >>> >> > > >> >
>>> >> >> >>> >> > > >> > Thank you.
>>> >> >> >>> >> > > >> >
>>> >> >> >>> >> > > >> > Julie
>>> >> >> >>> >> > > >> >
>>> >> >> >>> >> > > >> > On Tue, Oct 7, 2014 at 6:07 AM, ashwinD12 .
via RT
>>> >> >> >>> >> > > >> > <
>>> >> >> >>> >> > met_help at ucar.edu
>>> >> >> >>> >> > > >
>>> >> >> >>> >> > > >> > wrote:
>>> >> >> >>> >> > > >> >
>>> >> >> >>> >> > > >> > >
>>> >> >> >>> >> > > >> > > <URL:
>>> >> >> >>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>>> >> >> >>> >> > > >> > > >
>>> >> >> >>> >> > > >> > >
>>> >> >> >>> >> > > >> > > Hello,
>>> >> >> >>> >> > > >> > >             I apologize for the late
response on
>>> this
>>> >> >> >>> >> > > >> > > as
>>> >> >> I
>>> >> >> >>> >> > > >> > > have
>>> >> >> >>> >> > > >> tracking
>>> >> >> >>> >> > > >> > > another WRF problem. The problem still
persists
>>> >> >> >>> >> > > >> > > I first typed ./configure --prefix=`pwd`
>>> >> --enable-grib2
>>> >> >> >>> >> > > >> > > and
>>> >> >> >>> >> > > >> > > then
>>> >> >> >>> >> > > >> followed
>>> >> >> >>> >> > > >> > > by make install and I got these 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_geodesy
>>> >> >> >>> >> -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_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_shapedata
>>> >> >> >>> >> > > >> > > -I../../../src/libcode/vx_statistics
>>> >> >> >>> >> > > >> > > -I../../../src/libcode/vx_stat_out
>>> >> >> >>> >> > > >> > > -I../../../src/libcode/vx_tc_util
>>> >> -I/usr/local/include
>>> >> >> >>> >> > > >> > -I/usr/local/include
>>> >> >> >>> >> > > >> > > -DBLOCK4 -DWITH_GRIB2
>>> >> >> >>> >> > > >> > >
>>> >> >> >>> >>
>>> >> -DMET_BASE="\"/home/aswin/meteorology_project/met-
5.0/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
>>> >> >> >>> >> > > >> > > In file included from nc_var_info.cc(24):
>>> >> >> >>> >> > > >> > > nc_var_info.h(24): catastrophic error:
cannot
>>> >> >> >>> >> > > >> > > open
>>> >> >> >>> >> > > >> > > source
>>> >> >> >>> file
>>> >> >> >>> >> > > >> > "netcdf.hh"
>>> >> >> >>> >> > > >> > >   #include <netcdf.hh>
>>> >> >> >>> >> > > >> > >                       ^
>>> >> >> >>> >> > > >> > >
>>> >> >> >>> >> > > >> > > compilation aborted for nc_var_info.cc
(code 4)
>>> >> >> >>> >> > > >> > > make[3]: *** [libvx_nc_util_a-
nc_var_info.o]
>>> Error 4
>>> >> >> >>> >> > > >> > > make[3]: Leaving directory
>>> >> >> >>> >> > > >> > >
>>> >> >> >>> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
>>> >> >> >>> >> > > >> > > make[2]: *** [install-recursive] Error 1
>>> >> >> >>> >> > > >> > > make[2]: Leaving directory
>>> >> >> >>> >> > > >> > >
>>> `/home/aswin/meteorology_project/met-5.0/src/libcode'
>>> >> >> >>> >> > > >> > > make[1]: *** [install-recursive] Error 1
>>> >> >> >>> >> > > >> > > make[1]: Leaving directory
>>> >> >> >>> >> > > >> > `/home/aswin/meteorology_project/met-
5.0/src'ds.
>>> >> >> >>> >> > > >> > > I first typed ./configure --prefix=`pwd`
>>> >> --enable-grib2
>>> >> >> >>> >> > > >> > > and
>>> >> >> >>> >> > > >> > > then
>>> >> >> >>> >> > > >> followed
>>> >> >> >>> >> > > >> > > by make install and I got these messages -
>>> >> >> >>> >> > > >> > >
>>> >> >> >>> >> > > >> > >
>>> >> >> >>> >> > > >> > > On Tue, Sep 16, 2014 at 9:28 PM, Julie
>>> >> >> >>> >> > > >> > > Prestopnik
>>> via
>>> >> >> >>> >> > > >> > > RT
>>> >> >> <
>>> >> >> >>> >> > > >> > > met_help at ucar.edu>
>>> >> >> >>> >> > > >> > > wrote:
>>> >> >> >>> >> > > >> > >
>>> >> >> >>> >> > > >> > > > Hi Ashwin.
>>> >> >> >>> >> > > >> > > >
>>> >> >> >>> >> > > >> > > > Thanks for downloading the latest
release of
>>> MET.
>>> >> I
>>> >> >> see
>>> >> >> >>> >> > > >> > > > that
>>> >> >> >>> >> > > >> > > > you're
>>> >> >> >>> >> > > >> > > > having  trouble configuring/compiling
it.  We
>>> >> >> >>> >> > > >> > > > switched
>>> >> >> >>> over
>>> >> >> >>> >> > > >> > > > to
>>> >> >> >>> >> > > >> > > > using
>>> >> >> >>> >> > > >> > > > autoconf for  building MET version 5.0.
In
>>> >> previous
>>> >> >> >>> >> > > >> > > > versions,
>>> >> >> >>> >> > you
>>> >> >> >>> >> > > >> > > edited a
>>> >> >> >>> >> > > >> > > > file by hand and then typed "make".
Now, you
>>> run
>>> >> the
>>> >> >> >>> >> configure
>>> >> >> >>> >> > > >> script.
>>> >> >> >>> >> > > >> > > > Please read  through the top-level
>>> met-5.0/README
>>> >> >> >>> >> > > >> > > > file
>>> >> >> >>> >> > > >> > > > for
>>> >> >> >>> >> > > >> instructions
>>> >> >> >>> >> > > >> > > > about building MET.
>>> >> >> >>> >> > > >> > > >
>>> >> >> >>> >> > > >> > > > You can set several environment
variables to
>>> tell
>>> >> the
>>> >> >> >>> >> configure
>>> >> >> >>> >> > > >> script
>>> >> >> >>> >> > > >> > > > where to find the dependent libraries.
For
>>> >> example,
>>> >> >> >>> >> MET_NETCDF
>>> >> >> >>> >> > > >> > > > tells
>>> >> >> >>> >> > > >> > it
>>> >> >> >>> >> > > >> > > > where to find NetCDF.  nc_var_inco.cc
should
>>> >> >> >>> >> > > >> > > > be
>>> >> >> >>> >> > > >> > > > looking
>>> >> >> >>> for
>>> >> >> >>> >> > > >> netcdf.hh.
>>> >> >> >>> >> > > >> > > > That's the include file for the C++
interface.
>>> >> There
>>> >> >> >>> >> > > >> > > > are
>>> >> >> >>> >> > > >> > > > many
>>> >> >> >>> >> > > >> > different
>>> >> >> >>> >> > > >> > > > ways of compiling NetCDF, and MET
expects the
>>> C++
>>> >> >> >>> interface
>>> >> >> >>> >> > > >> > > > to
>>> >> >> >>> >> > be
>>> >> >> >>> >> > > >> > > > compiled.  There are some instructions
for
>>> >> compiling
>>> >> >> >>> NetCDF
>>> >> >> >>> >> for
>>> >> >> >>> >> > > MET
>>> >> >> >>> >> > > >> > here:
>>> >> >> >>> >> > > >> > > >
>>> >> >> >>> >> > > >> > > >
>>> >> >> >>> >> > > >> > >
>>> >> >> >>> >> > > >> >
>>> >> >> >>> >> > > >>
>>> >> >> >>> >> > >
>>> >> >> >>> >> >
>>> >> >> >>> >>
>>> >> >> >>>
>>> >> >>
>>> >>
>>>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
>>> >> >> >>> >> > > >> > > >
>>> >> >> >>> >> > > >> > > > Please take a look at the instructions
for
>>> >> compiling
>>> >> >> >>> NetCDF
>>> >> >> >>> >> for
>>> >> >> >>> >> > > MET
>>> >> >> >>> >> > > >> and
>>> >> >> >>> >> > > >> > > at
>>> >> >> >>> >> > > >> > > > the top-level met-5.0/README file for
>>> instructions
>>> >> >> about
>>> >> >> >>> >> > building
>>> >> >> >>> >> > > >> > > > MET
>>> >> >> >>> >> > > >> > and
>>> >> >> >>> >> > > >> > > > let us know if you continue to
experience
>>> problems.
>>> >> >> >>> >> > > >> > > >
>>> >> >> >>> >> > > >> > > > Thanks,
>>> >> >> >>> >> > > >> > > > Julie
>>> >> >> >>> >> > > >> > > >
>>> >> >> >>> >> > > >> > > > On Mon, Sep 15, 2014 at 11:22 PM,
ashwinD12 .
>>> via
>>> >> RT
>>> >> >> >>> >> > > >> > > > <
>>> >> >> >>> >> > > >> > met_help at ucar.edu>
>>> >> >> >>> >> > > >> > > > wrote:
>>> >> >> >>> >> > > >> > > >
>>> >> >> >>> >> > > >> > > > >
>>> >> >> >>> >> > > >> > > > > Mon Sep 15 23:22:39 2014: Request
68987 was
>>> acted
>>> >> >> >>> >> > > >> > > > > upon.
>>> >> >> >>> >> > > >> > > > > Transaction: Ticket created by
>>> >> winash12 at gmail.com
>>> >> >> >>> >> > > >> > > > >        Queue: met_help
>>> >> >> >>> >> > > >> > > > >      Subject: Not able to compile
>>> >> >> >>> >> > > >> > > > >        Owner: Nobody
>>> >> >> >>> >> > > >> > > > >   Requestors: winash12 at gmail.com
>>> >> >> >>> >> > > >> > > > >       Status: new
>>> >> >> >>> >> > > >> > > > >  Ticket <URL:
>>> >> >> >>> >> > > >> >
>>> >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>>> >> >> >>> >> > > >> > > >
>>> >> >> >>> >> > > >> > > > >
>>> >> >> >>> >> > > >> > > > >
>>> >> >> >>> >> > > >> > > > > Hello,
>>> >> >> >>> >> > > >> > > > >            I downloaded the latest
version
>>> and I
>>> >> am
>>> >> >> >>> unable
>>> >> >> >>> >> to
>>> >> >> >>> >> > > >> compile
>>> >> >> >>> >> > > >> > > > this
>>> >> >> >>> >> > > >> > > > > at all.
>>> >> >> >>> >> > > >> > > > >
>>> >> >> >>> >> > > >> > > > > Here are the errors - first it appears
that
>>> there
>>> >> >> >>> >> > > >> > > > > is
>>> >> >> >>> >> > > >> > > > > an
>>> >> >> >>> >> error
>>> >> >> >>> >> > in
>>> >> >> >>> >> > > >> this
>>> >> >> >>> >> > > >> > > > > directory - nc_var_inco.cc which
includes
>>> >> >> >>> >> > > >> > > > > netcdf.hh.
>>> >> >> I
>>> >> >> >>> >> believe
>>> >> >> >>> >> > > it
>>> >> >> >>> >> > > >> > > should
>>> >> >> >>> >> > > >> > > > be
>>> >> >> >>> >> > > >> > > > > netcdf.h. Please let me know if that
is
>>> accurate
>>> >> or
>>> >> >> >>> >> > > >> > > > > not.
>>> >> >> >>> >> When
>>> >> >> >>> >> > I
>>> >> >> >>> >> > > >> > > > > fix
>>> >> >> >>> >> > > >> > > that
>>> >> >> >>> >> > > >> > > > I
>>> >> >> >>> >> > > >> > > > > get these errors -
>>> >> >> >>> >> > > >> > > > >
>>> >> >> >>> >> > > >> > > > >
>>> >> >> >>> >> > > >> > > > >
>>> >> >> >>> >> > > >> > > > > Regards,
>>> >> >> >>> >> > > >> > > > > Ashwin.
>>> >> >> >>> >> > > >> > > > >
>>> >> >> >>> >> > > >> > > > > make[3]: Entering directory
>>> >> >> >>> >> > > >> > > > >
>>> >> >> >>> >> >
>>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
>>> >> >> >>> >> > > >> > > > > 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_geodesy
>>> >> >> >>> >> > > >> > > > > -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_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_shapedata
>>> >> >> >>> >> > > >> > > > > -I../../../src/libcode/vx_statistics
>>> >> >> >>> >> > > >> > -I../../../src/libcode/vx_stat_out
>>> >> >> >>> >> > > >> > > > > -I../../../src/libcode/vx_tc_util
-DBLOCK4
>>> >> >> >>> >> > > >> > > > > -DWITH_GRIB2
>>> >> >> >>> >> > > >> > > > > -DMET_BASE="\"/usr/local/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
>>> >> >> >>> >> > > >> > > > > In file included from
nc_var_info.cc(24):
>>> >> >> >>> >> > > >> > > > > nc_var_info.h(24): catastrophic error:
>>> >> >> >>> >> > > >> > > > > cannot
>>> >> open
>>> >> >> >>> source
>>> >> >> >>> >> file
>>> >> >> >>> >> > > >> > > > "netcdf.hh"
>>> >> >> >>> >> > > >> > > > >   #include <netcdf.hh>
>>> >> >> >>> >> > > >> > > > >                       ^
>>> >> >> >>> >> > > >> > > > >
>>> >> >> >>> >> > > >> > > > > compilation aborted for nc_var_info.cc
(code
>>> 4)
>>> >> >> >>> >> > > >> > > > > make[3]: *** [libvx_nc_util_a-
nc_var_info.o]
>>> >> Error
>>> >> >> >>> >> > > >> > > > > 4
>>> >> >> >>> >> > > >> > > > > make[3]: Leaving directory
>>> >> >> >>> >> > > >> > > > >
>>> >> >> >>> >> >
>>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
>>> >> >> >>> >> > > >> > > > > make[2]: *** [install-recursive] Error
1
>>> >> >> >>> >> > > >> > > > > make[2]: Leaving directory
>>> >> >> >>> >> > > >> > > > >
>>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode'
>>> >> >> >>> >> > > >> > > > > make[1]: *** [install-recursive] Error
1
>>> >> >> >>> >> > > >> > > > > make[1]: Leaving directory
>>> >> >> >>> >> > > >> > > `/home/aswin/meteorology_project/met-
5.0/src'
>>> >> >> >>> >> > > >> > > > > make: *** [install-recursive] Error 1
>>> >> >> >>> >> > > >> > > > >
>>> >> >> >>> >> > > >> > > > > Ashwin.
>>> >> >> >>> >> > > >> > > > >
>>> >> >> >>> >> > > >> > > > >
>>> >> >> >>> >> > > >> > > >
>>> >> >> >>> >> > > >> > > >
>>> >> >> >>> >> > > >> > > > --
>>> >> >> >>> >> > > >> > > > Julie Prestopnik
>>> >> >> >>> >> > > >> > > > National Center for Atmospheric Research
>>> >> >> >>> >> > > >> > > > Research Applications Laboratory
>>> >> >> >>> >> > > >> > > > Phone: 303.497.8399
>>> >> >> >>> >> > > >> > > > Email: jpresto at ucar.edu
>>> >> >> >>> >> > > >> > > >
>>> >> >> >>> >> > > >> > > >
>>> >> >> >>> >> > > >> > >
>>> >> >> >>> >> > > >> > >
>>> >> >> >>> >> > > >> >
>>> >> >> >>> >> > > >> >
>>> >> >> >>> >> > > >> > --
>>> >> >> >>> >> > > >> > Julie Prestopnik
>>> >> >> >>> >> > > >> > National Center for Atmospheric Research
>>> >> >> >>> >> > > >> > Research Applications Laboratory
>>> >> >> >>> >> > > >> > Phone: 303.497.8399
>>> >> >> >>> >> > > >> > Email: jpresto at ucar.edu
>>> >> >> >>> >> > > >> >
>>> >> >> >>> >> > > >> >
>>> >> >> >>> >> > > >>
>>> >> >> >>> >> > > >>
>>> >> >> >>> >> > > >
>>> >> >> >>> >> > > >
>>> >> >> >>> >> > > > --
>>> >> >> >>> >> > > > Julie Prestopnik
>>> >> >> >>> >> > > > National Center for Atmospheric Research
>>> >> >> >>> >> > > > Research Applications Laboratory
>>> >> >> >>> >> > > > Phone: 303.497.8399
>>> >> >> >>> >> > > > Email: jpresto at ucar.edu
>>> >> >> >>> >> > > >
>>> >> >> >>> >> > > >
>>> >> >> >>> >> > >
>>> >> >> >>> >> > >
>>> >> >> >>> >> >
>>> >> >> >>> >> >
>>> >> >> >>> >> > --
>>> >> >> >>> >> > Julie Prestopnik
>>> >> >> >>> >> > National Center for Atmospheric Research
>>> >> >> >>> >> > Research Applications Laboratory
>>> >> >> >>> >> > Phone: 303.497.8399
>>> >> >> >>> >> > Email: jpresto at ucar.edu
>>> >> >> >>> >> >
>>> >> >> >>> >> >
>>> >> >> >>> >>
>>> >> >> >>> >>
>>> >> >> >>> >
>>> >> >> >>> >
>>> >> >> >>> > --
>>> >> >> >>> > Julie Prestopnik
>>> >> >> >>> > National Center for Atmospheric Research
>>> >> >> >>> > Research Applications Laboratory
>>> >> >> >>> > Phone: 303.497.8399
>>> >> >> >>> > Email: jpresto at ucar.edu
>>> >> >> >>> >
>>> >> >> >>> >
>>> >> >> >>>
>>> >> >> >>>
>>> >> >> >>
>>> >> >> >
>>> >> >> >
>>> >> >>
>>> >> >>
>>> >> >
>>> >> >
>>> >>
>>> >>
>>> >
>>>
>>>
>>
>

------------------------------------------------
Subject: Not able to compile
From: John Halley Gotway
Time: Mon Oct 20 12:01:40 2014

Ashwin,

I took a look at the log file you sent and see that the current
problem is
GRIB2-related undefined references.  Support for GRIB2 in MET is
provided
by linking to several libraries:
   grib2c, png, jasper, and z libraries

Without seeing your config.log, I can't be certain, but my working
theory
is this...

- I'm guessing you installed the grib2c library using the intel
compilers
and set the MET_GRIB2C environment variable to something like
/path/to/grib2c.  That tells MET to look for the GRIB2C libraries in
/path/to/grib2c/lib and the GRIB2C include files in
/path/to/grib2c/include.
- But those lib and include subdirectories don't actually exist!
- When you ran "make install", the linker couldn't find the GRIB2C
library
in that directory that doesn't exist (/path/to/grib2c/lib) but did
find a
version of GRIB2C in some other location on your system, perhaps
compiled
with a different set of compilers.
- And that led to the linker errors you're seeing.

If you think that may be what happened, just modify your environment
variable settings as follows:
   unsetenv MET_GRIB2C
   setenv MET_GRIB2C_INC /path/to/grib2c
   setenv MET_GRIB2C_LIB /path/to/grib2c

Then rerun "make clean", "configure", and "make install".

Please let me know if that solves your problem.

Thanks,
John





On Mon, Oct 20, 2014 at 8:36 AM, ashwinD12 . via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>
> Hello John,
>                  Any update on the compiler errors I get when I run
> configrue with the --enable-grib2 option ?
> Regards,
> Ashwin.
>
> On 10/17/14, ashwinD12 . <winash12 at gmail.com> wrote:
> > Hi John,
> >                I reran configure with the --enable-grib2 option
and I
> reran
> > make install and I get these errors enclosed in make_install.log.
> > Regards,
> > Ashwin.
> >
> > On Fri, Oct 17, 2014 at 11:39 AM, ashwinD12 . <winash12 at gmail.com>
> wrote:
> >
> >> Hi John,
> >>               Bingo four times I could say. I already had FC set
to
> ifort
> >> but I did not have F77 set to ifort. It was not even set so I
suppose it
> >> defaulted to gfortran. I set F77 to ifort and everything compiled
as
> >> well.
> >> I still am not satisfied with the BUFRLIB library as I got some
errors
> >> over
> >> there but that is for later I guess. I sent a mail to NCEP but
they are
> >> yet
> >> to reply to me. Is there a forum for the BUFRLIB product ?
> >> Regards,
> >> Ashwin.
> >>
> >> On Thu, Oct 16, 2014 at 9:57 PM, John Halley Gotway via RT <
> >> met_help at ucar.edu> wrote:
> >>
> >>> Ashwin,
> >>>
> >>> Oops, sorry I told you to set the FC environment variable.  I
should
> >>> have
> >>> said F77:
> >>>    setenv F77 `which gfortran`
> >>>
> >>> Thanks,
> >>> John
> >>>
> >>> On Thu, Oct 16, 2014 at 10:19 AM, John Halley Gotway
<johnhg at ucar.edu>
> >>> wrote:
> >>>
> >>> > Ashwin,
> >>> >
> >>> > Thanks for sending those files.  It makes it much easier to
debug.
> >>> > The
> >>> > problem is that you're mixing an intel C++ compiler (icpc)
with a GNU
> >>> > fortran compiler (gfortran).  When compiling MET and all the
> dependent
> >>> > libraries, we need to use the same family of compilers.
Mixing
> >>> > compiler
> >>> > families leads to the sort of undefined reference errors that
you're
> >>> > getting.
> >>> >
> >>> > The question is, which family of compilers did you intend to
use,
> >>> > intel
> >>> or
> >>> > gnu.  The C/C++/Fortran compilers for intel are icc/icc/ifort.
The
> >>> > C/C++/Fortran compilers for GNU are gcc/g++/gfortran.  In my
commands
> >>> > below, I'll assume you're using GNU, but you can swap them out
for
> the
> >>> > corresponding intel ones if needed.  Whichever set of
compilers you
> >>> > use,
> >>> > note that the dependent libraries (GSL, BUFRLIB, NetCDF)
should be
> >>> compiled
> >>> > with them as well.
> >>> >
> >>> > # Go to the top-level met-5.0 directory.
> >>> >
> >>> > # First make sure that these compilers are present on your
system
> >>> > which gcc
> >>> > which g++
> >>> > which gfortran
> >>> >
> >>> > # Set variables to tell configure which compilers you want to
use
> >>> > setenv CC `which gcc`
> >>> > setenv CXX `which g++`
> >>> > setenv FC `which gfortran`
> >>> >
> >>> > # Recompile MET
> >>> > make clean
> >>> > ./configure -prefix=`pwd`
> >>> > make install >& make_install.log
> >>> > make test >& make_test.log
> >>> >
> >>> > And then inspect "make_install.log" to make sure that MET used
the
> >>> > compilers you specified.
> >>> >
> >>> > Please let me know how that goes.
> >>> >
> >>> > Thanks,
> >>> > John
> >>> >
> >>> > On Thu, Oct 16, 2014 at 12:48 AM, ashwinD12 . via RT
> >>> > <met_help at ucar.edu
> >>> >
> >>> > wrote:
> >>> >
> >>> >>
> >>> >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>
> >>> >>
> >>> >> Hello John,
> >>> >>                   Here you go - I am enclosing all the log
files you
> >>> >> requested.
> >>> >> Regards,
> >>> >> Ashwin.
> >>> >>
> >>> >> On 10/15/14, John Halley Gotway via RT <met_help at ucar.edu>
wrote:
> >>> >> > Ashwin,
> >>> >> >
> >>> >> > Just so I can get a better understand of what's going on,
could
> you
> >>> >> please
> >>> >> > run the following commands in the top-level met-5.0
directory...
> >>> >> >
> >>> >> >    printenv | grep MET_ > environment.log
> >>> >> >    make clean
> >>> >> >   ./configure -prefix=`pwd`
> >>> >> >   make install >& make_install.log
> >>> >> >   make test >& make_test.log
> >>> >> >
> >>> >> > And then send me these files: environment.log, config.log,
> >>> >> > make_install.log, and make_test.log
> >>> >> >
> >>> >> > That'll give me a better idea of what's going on.
> >>> >> >
> >>> >> > Thanks,
> >>> >> > John
> >>> >> >
> >>> >> > On Wed, Oct 15, 2014 at 1:41 AM, ashwinD12 . via RT <
> >>> met_help at ucar.edu>
> >>> >> > wrote:
> >>> >> >
> >>> >> >>
> >>> >> >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
> >>> >> >>
> >>> >> >> Hi John,
> >>> >> >>               I apologize for the late response. It is not
> without
> >>> >> >> a
> >>> >> >> reason. I got past that point but I have a LIBRBUF error.
I had
> >>> >> >> sent
> >>> >> >> this report to NCEP website but have yet to hear from
them. Until
> >>> >> >> I
> >>> >> >> hear from them I cannot test the new patches. Please bear
with me
> >>> for
> >>> >> >> a few days and I will get back to you.
> >>> >> >> Regards,
> >>> >> >> Ashwin.
> >>> >> >>
> >>> >> >> On 10/15/14, John Halley Gotway via RT <met_help at ucar.edu>
> wrote:
> >>> >> >> > Ashwin,
> >>> >> >> >
> >>> >> >> > I just posted the first set of patches for the met-5.0
release,
> >>> and
> >>> >> >> > they
> >>> >> >> > include this fix.  Please follow the instructions posted
here
> to
> >>> >> >> > download
> >>> >> >> > and apply the latest set of patches:
> >>> >> >> >
> >>> >> >>
> >>> >>
> >>>
>
http://www.dtcenter.org/met/users/support/known_issues/METv5.0/index.php
> >>> >> >> >
> >>> >> >> > Please let me know if you continue to experience
problems with
> >>> MET.
> >>> >> >> >
> >>> >> >> > Thanks,
> >>> >> >> > John Halley Gotway
> >>> >> >> > met_help at ucar.edu
> >>> >> >> >
> >>> >> >> > On Mon, Oct 13, 2014 at 3:02 PM, John Halley Gotway <
> >>> johnhg at ucar.edu
> >>> >> >
> >>> >> >> > wrote:
> >>> >> >> >
> >>> >> >> >> Hello Ashwin,
> >>> >> >> >>
> >>> >> >> >> This is John Halley Gotway.  I work with Julie, but
she's out
> >>> >> >> >> of
> >>> the
> >>> >> >> >> office today.  I took a look at this issue and think
I've
> >>> uncovered
> >>> >> >> >> the
> >>> >> >> >> problem.  And it's a problem on our end, not yours.
Here's
> >>> >> >> >> what
> >>> I'd
> >>> >> >> like
> >>> >> >> >> you to try...
> >>> >> >> >>
> >>> >> >> >> Copy the three attached files (color_scanner.cc,
Makefile.in,
> >>> >> >> >> and
> >>> >> >> >> Makefile.am) into this directory:
> >>> >> >> >>    met-5.0/src/libcode/vx_color
> >>> >> >> >>
> >>> >> >> >> Then rerun "configure" and "make install".  Please let
me know
> >>> >> >> >> if
> >>> >> this
> >>> >> >> >> resolves the error with lex.yy.c you were getting.
> >>> >> >> >>
> >>> >> >> >> In met-5.0, we switched over to building MET using
autoconf.
> >>> >> >> >> The
> >>> >> MET
> >>> >> >> >> code
> >>> >> >> >> uses flex and bison (lex and yacc) to parse data files
in a
> few
> >>> >> >> >> places,
> >>> >> >> >> but
> >>> >> >> >> our intention is to run those tools here during the
process of
> >>> >> >> >> building
> >>> >> >> a
> >>> >> >> >> release.  I think the vx_color Makefile was removing
the
> output
> >>> of
> >>> >> >> >> flex
> >>> >> >> >> and
> >>> >> >> >> then trying to rebuild it by calling flex.  And there's
> >>> >> >> >> probably
> >>> an
> >>> >> >> >> inconsistency between the version of flex we use here
and the
> >>> one on
> >>> >> >> your
> >>> >> >> >> machine.
> >>> >> >> >>
> >>> >> >> >> Please do let me know if that resolves the problem.
Once we
> >>> >> >> >> get
> >>> a
> >>> >> >> >> good
> >>> >> >> >> fix for this issue, we'll post a patch on the known
issue page
> >>> for
> >>> >> >> >> MET.
> >>> >> >> >>
> >>> >> >> >> Sorry for trouble, but thanks for helping us debug this
issue!
> >>> >> >> >>
> >>> >> >> >> John Halley Gotway
> >>> >> >> >> met_help at ucar.edu
> >>> >> >> >>
> >>> >> >> >>
> >>> >> >> >>
> >>> >> >> >> On Thu, Oct 9, 2014 at 4:56 PM, ashwinD12 . via RT <
> >>> >> met_help at ucar.edu>
> >>> >> >> >> wrote:
> >>> >> >> >>
> >>> >> >> >>>
> >>> >> >> >>> <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> >>> >> >> >>> >
> >>> >> >> >>>
> >>> >> >> >>> Hello Julie,
> >>> >> >> >>>                  There is no problem with the netcdf
build. I
> >>> moved
> >>> >> >> >>> past that point. Did you look at the error messages ?
it is
> >>> >> >> >>> mentioning
> >>> >> >> >>> that there is some problem with lex.yy.c.
> >>> >> >> >>> Regards,
> >>> >> >> >>> Ashwin.
> >>> >> >> >>>
> >>> >> >> >>> On 10/9/14, Julie Prestopnik via RT
<met_help at ucar.edu>
> wrote:
> >>> >> >> >>> > Hi Ashwin.  I'm sorry to hear that you are still
having
> some
> >>> >> >> >>> > difficulty
> >>> >> >> >>> in
> >>> >> >> >>> > getting METv5.0 to build.
> >>> >> >> >>> >
> >>> >> >> >>> > I'd suggest downloading and compiling NetCDF locally
using
> >>> >> >> >>> > the
> >>> >> >> >>> > following
> >>> >> >> >>> > steps:
> >>> >> >> >>> >
> >>> >> >> >>> > Download NetCDF 3.6.3 from here:
> >>> >> >> >>> >
> >>> >>
> http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-3.6.3.tar.gz
> >>> >> >> >>> >
> >>> >> >> >>> > Then run:
> >>> >> >> >>> > tar -zxf netcdf-3.6.3.tar.gz
> >>> >> >> >>> > ./configure --prefix=`pwd`
> >>> >> >> >>> > make
> >>> >> >> >>> > make install
> >>> >> >> >>> >
> >>> >> >> >>> > These commands should compile the C and C++
interfaces for
> >>> NetCDF
> >>> >> >> >>> > and
> >>> >> >> >>> skip
> >>> >> >> >>> > the Fortran interface that MET doesn't use.  It will
> install
> >>> the
> >>> >> >> >>> library in
> >>> >> >> >>> > current "netcdf-3.6.3" directory due to the
--prefix=`pwd`
> >>> >> option.
> >>> >> >> >>> >
> >>> >> >> >>> > Next, you'll need to edit where you set MET_NETCDF
to point
> >>> >> >> >>> > to
> >>> >> this
> >>> >> >> >>> > new
> >>> >> >> >>> > location, source your .cshrc or similiar file, and
rebuild
> >>> MET.
> >>> >> >> >>> >
> >>> >> >> >>> > I just ran all of these steps and was able to get a
> >>> >> >> >>> > successful
> >>> >> >> >>> > build
> >>> >> >> >>> > and
> >>> >> >> >>> > install of METv5.0.
> >>> >> >> >>> >
> >>> >> >> >>> > Please give this a try and let me know how it goes.
> >>> >> >> >>> >
> >>> >> >> >>> > Thanks,
> >>> >> >> >>> > Julie
> >>> >> >> >>> >
> >>> >> >> >>> > On Thu, Oct 9, 2014 at 1:28 AM, ashwinD12 . via RT <
> >>> >> >> met_help at ucar.edu>
> >>> >> >> >>> > wrote:
> >>> >> >> >>> >
> >>> >> >> >>> >>
> >>> >> >> >>> >> <URL:
> >>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
> >>> >> >> >>> >>
> >>> >> >> >>> >> Hi Julie,
> >>> >> >> >>> >>                I made some progress with some
difficulty
> >>> which
> >>> >> is
> >>> >> >> >>> >> expected.
> >>> >> >> >>> >> First of all there are *two* C++ NETCDF  libraries
and I
> >>> >> >> >>> >> had
> >>> to
> >>> >> >> >>> >> use
> >>> >> >> >>> >> the
> >>> >> >> >>> >> legacy C++ NETCDF source code to build with MET
5.0. The
> >>> >> netcdf.hh
> >>> >> >> >>> >> file
> >>> >> >> >>> >> is
> >>> >> >> >>> >> NOT found in the latest C++ NETCDF interface but in
the
> >>> legacy
> >>> >> >> >>> >> distribution. It would be helpful if you could
update the
> >>> >> >> >>> >> documentation
> >>> >> >> >>> >> to
> >>> >> >> >>> >> reflect this.
> >>> >> >> >>> >> Then I did not have lex and yacc on my Ubuntu and I
> updated
> >>> my
> >>> >> >> system
> >>> >> >> >>> to
> >>> >> >> >>> >> reflect that. Then I ran make install again and
here are
> >>> >> >> >>> >> the
> >>> >> >> >>> >> latest
> >>> >> >> >>> >> error
> >>> >> >> >>> >> -
> >>> >> >> >>> >> make[4]: Nothing to be done for `install-exec-am'.
> >>> >> >> >>> >> make[4]: Nothing to be done for `install-data-am'.
> >>> >> >> >>> >> make[4]: Leaving directory
> >>> >> >> >>> >>
> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_afm'
> >>> >> >> >>> >> make[3]: Leaving directory
> >>> >> >> >>> >>
> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_afm'
> >>> >> >> >>> >> Making install in vx_color
> >>> >> >> >>> >> make[3]: Entering directory
> >>> >> >> >>> >>
> >>> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_color'
> >>> >> >> >>> >> /bin/bash ../../../ylwrap color_scanner.ll .c
> >>> color_scanner.cc
> >>> >> --
> >>> >> >> >>> >> :
> >>> >> >> >>> >> --prefix=color --outfile=lex.yy.c
> >>> >> >> >>> >> make[3]: *** [color_scanner.cc] Error 1
> >>> >> >> >>> >> make[3]: Leaving directory
> >>> >> >> >>> >>
> >>> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_color'
> >>> >> >> >>> >> make[2]: *** [install-recursive] Error 1
> >>> >> >> >>> >> make[2]: Leaving directory
> >>> >> >> >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode'
> >>> >> >> >>> >> make[1]: *** [install-recursive] Error 1
> >>> >> >> >>> >> make[1]: Leaving directory
> >>> >> >> >>> `/home/aswin/meteorology_project/met-5.0/src'
> >>> >> >> >>> >> make: *** [install-recursive] Error 1
> >>> >> >> >>> >>
> >>> >> >> >>> >>
> >>> >> >> >>> >>
> >>> >> >> >>> >> On Wed, Oct 8, 2014 at 8:13 PM, Julie Prestopnik
via RT
> >>> >> >> >>> >> <met_help at ucar.edu
> >>> >> >> >>> >> >
> >>> >> >> >>> >> wrote:
> >>> >> >> >>> >>
> >>> >> >> >>> >> > Hi Ashwin.  I agree. MET expects the C++
interface to be
> >>> >> >> >>> >> > compiled.
> >>> >> >> >>> >> Please
> >>> >> >> >>> >> > try building and compiling NETCDF to include the
C++
> >>> interface
> >>> >> >> >>> >> > and
> >>> >> >> >>> then
> >>> >> >> >>> >> > rebuild and recompile MET.  Please let me know
how it
> >>> >> >> >>> >> > turns
> >>> >> out.
> >>> >> >> >>> >> >
> >>> >> >> >>> >> > Thanks,
> >>> >> >> >>> >> > Julie
> >>> >> >> >>> >> >
> >>> >> >> >>> >> > On Wed, Oct 8, 2014 at 7:51 AM, ashwinD12 . via
RT <
> >>> >> >> >>> met_help at ucar.edu>
> >>> >> >> >>> >> > wrote:
> >>> >> >> >>> >> >
> >>> >> >> >>> >> > >
> >>> >> >> >>> >> > > <URL:
> >>> >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> >>> >> >> >>> >> > > >
> >>> >> >> >>> >> > >
> >>> >> >> >>> >> > > I am not at the machine where the problem is
happening
> >>> but I
> >>> >> >> >>> >> > > can
> >>> >> >> >>> >> > > guess
> >>> >> >> >>> >> > > the root cause of the problem. When compiling
NETCDF
> >>> >> >> >>> >> > > for
> >>> >> WRF I
> >>> >> >> >>> only
> >>> >> >> >>> >> > > compiled the C and FORTRAN libraries and not
the C++
> >>> >> >> >>> >> > > libraries.
> >>> >> >> >>> >> > > So
> >>> >> >> >>> I
> >>> >> >> >>> >> > > will need to recompile NETCDF and this time
compile
> for
> >>> C++
> >>> >> as
> >>> >> >> >>> >> > > well
> >>> >> >> >>> >> > > by
> >>> >> >> >>> >> > > specifying the environment variable CXX. I do
not
> think
> >>> >> there
> >>> >> >> >>> >> > > is
> >>> >> >> >>> >> > > a
> >>> >> >> >>> >> > > file netcdf.hh under /usr/local/include. I will
> confirm
> >>> this
> >>> >> >> >>> tomorrow
> >>> >> >> >>> >> > > morning my time.
> >>> >> >> >>> >> > > Regards.
> >>> >> >> >>> >> > >
> >>> >> >> >>> >> > > On 10/8/14, Julie Prestopnik via RT <
> met_help at ucar.edu>
> >>> >> wrote:
> >>> >> >> >>> >> > > > Great!  Thank you.  Can you please take a
look in
> >>> >> >> MET_NETCDFINC
> >>> >> >> >>> >> > > > (/usr/local/
> >>> >> >> >>> >> > > > include) and tell me if you see netcdf.hh?
> >>> >> >> >>> >> > > >
> >>> >> >> >>> >> > > > Julie
> >>> >> >> >>> >> > > >
> >>> >> >> >>> >> > > > On Tue, Oct 7, 2014 at 11:18 PM, ashwinD12 .
via RT
> <
> >>> >> >> >>> >> met_help at ucar.edu
> >>> >> >> >>> >> > >
> >>> >> >> >>> >> > > > wrote:
> >>> >> >> >>> >> > > >
> >>> >> >> >>> >> > > >>
> >>> >> >> >>> >> > > >> <URL:
> >>> >> >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> >>> >> >> >>> >> > > >> >
> >>> >> >> >>> >> > > >>
> >>> >> >> >>> >> > > >> Hi Julie, I am sending you the required
information
> >>> >> >> >>> >> > > >>
> >>> >> >> >>> >> > > >> printenv | grep MET
> >>> >> >> >>> >> > > >>
> >>> >> >> >>> >> > > >> MET_GSLLIB=/usr/local/lib
> >>> >> >> >>> >> > > >> MET_GRIB2LIB=/usr/local/lib
> >>> >> >> >>> >> > > >> MET_GSLINC=/usr/local/include
> >>> >> >> >>> >> > > >> MET_NETCDFINC=/usr/local/include
> >>> >> >> >>> >> > > >> MET_NETCDFLIB=/usr/local/lib
> >>> >> >> >>> >> > > >>
> >>> >> >> >>> >> > > >> On Tue, Oct 7, 2014 at 8:52 PM, Julie
Prestopnik
> via
> >>> RT
> >>> >> >> >>> >> > > >> <met_help at ucar.edu
> >>> >> >> >>> >> > > >> >
> >>> >> >> >>> >> > > >> wrote:
> >>> >> >> >>> >> > > >>
> >>> >> >> >>> >> > > >> > Hi Ashwin.  I see you're still having
problems
> >>> >> >> >>> >> > > >> > with
> >>> MET
> >>> >> >> >>> finding
> >>> >> >> >>> >> > > >> netcdf.hh.
> >>> >> >> >>> >> > > >> >
> >>> >> >> >>> >> > > >> > Could you please run "printenv | grep MET"
and
> >>> >> >> >>> >> > > >> > send
> >>> me
> >>> >> >> >>> >> > > >> > the
> >>> >> >> >>> >> > > >> > output?
> >>> >> >> >>> >> > > >> >
> >>> >> >> >>> >> > > >> > Thank you.
> >>> >> >> >>> >> > > >> >
> >>> >> >> >>> >> > > >> > Julie
> >>> >> >> >>> >> > > >> >
> >>> >> >> >>> >> > > >> > On Tue, Oct 7, 2014 at 6:07 AM, ashwinD12
. via
> RT
> >>> >> >> >>> >> > > >> > <
> >>> >> >> >>> >> > met_help at ucar.edu
> >>> >> >> >>> >> > > >
> >>> >> >> >>> >> > > >> > wrote:
> >>> >> >> >>> >> > > >> >
> >>> >> >> >>> >> > > >> > >
> >>> >> >> >>> >> > > >> > > <URL:
> >>> >> >> >>>
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> >>> >> >> >>> >> > > >> > > >
> >>> >> >> >>> >> > > >> > >
> >>> >> >> >>> >> > > >> > > Hello,
> >>> >> >> >>> >> > > >> > >             I apologize for the late
response
> on
> >>> this
> >>> >> >> >>> >> > > >> > > as
> >>> >> >> I
> >>> >> >> >>> >> > > >> > > have
> >>> >> >> >>> >> > > >> tracking
> >>> >> >> >>> >> > > >> > > another WRF problem. The problem still
persists
> >>> >> >> >>> >> > > >> > > I first typed ./configure --prefix=`pwd`
> >>> >> --enable-grib2
> >>> >> >> >>> >> > > >> > > and
> >>> >> >> >>> >> > > >> > > then
> >>> >> >> >>> >> > > >> followed
> >>> >> >> >>> >> > > >> > > by make install and I got these 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_geodesy
> >>> >> >> >>> >> -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_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_shapedata
> >>> >> >> >>> >> > > >> > > -I../../../src/libcode/vx_statistics
> >>> >> >> >>> >> > > >> > > -I../../../src/libcode/vx_stat_out
> >>> >> >> >>> >> > > >> > > -I../../../src/libcode/vx_tc_util
> >>> >> -I/usr/local/include
> >>> >> >> >>> >> > > >> > -I/usr/local/include
> >>> >> >> >>> >> > > >> > > -DBLOCK4 -DWITH_GRIB2
> >>> >> >> >>> >> > > >> > >
> >>> >> >> >>> >>
> >>> >> -DMET_BASE="\"/home/aswin/meteorology_project/met-
5.0/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
> >>> >> >> >>> >> > > >> > > In file included from
nc_var_info.cc(24):
> >>> >> >> >>> >> > > >> > > nc_var_info.h(24): catastrophic error:
cannot
> >>> >> >> >>> >> > > >> > > open
> >>> >> >> >>> >> > > >> > > source
> >>> >> >> >>> file
> >>> >> >> >>> >> > > >> > "netcdf.hh"
> >>> >> >> >>> >> > > >> > >   #include <netcdf.hh>
> >>> >> >> >>> >> > > >> > >                       ^
> >>> >> >> >>> >> > > >> > >
> >>> >> >> >>> >> > > >> > > compilation aborted for nc_var_info.cc
(code 4)
> >>> >> >> >>> >> > > >> > > make[3]: *** [libvx_nc_util_a-
nc_var_info.o]
> >>> Error 4
> >>> >> >> >>> >> > > >> > > make[3]: Leaving directory
> >>> >> >> >>> >> > > >> > >
> >>> >> >> >>>
> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
> >>> >> >> >>> >> > > >> > > make[2]: *** [install-recursive] Error 1
> >>> >> >> >>> >> > > >> > > make[2]: Leaving directory
> >>> >> >> >>> >> > > >> > >
> >>> `/home/aswin/meteorology_project/met-5.0/src/libcode'
> >>> >> >> >>> >> > > >> > > make[1]: *** [install-recursive] Error 1
> >>> >> >> >>> >> > > >> > > make[1]: Leaving directory
> >>> >> >> >>> >> > > >> > `/home/aswin/meteorology_project/met-
5.0/src'ds.
> >>> >> >> >>> >> > > >> > > I first typed ./configure --prefix=`pwd`
> >>> >> --enable-grib2
> >>> >> >> >>> >> > > >> > > and
> >>> >> >> >>> >> > > >> > > then
> >>> >> >> >>> >> > > >> followed
> >>> >> >> >>> >> > > >> > > by make install and I got these messages
-
> >>> >> >> >>> >> > > >> > >
> >>> >> >> >>> >> > > >> > >
> >>> >> >> >>> >> > > >> > > On Tue, Sep 16, 2014 at 9:28 PM, Julie
> >>> >> >> >>> >> > > >> > > Prestopnik
> >>> via
> >>> >> >> >>> >> > > >> > > RT
> >>> >> >> <
> >>> >> >> >>> >> > > >> > > met_help at ucar.edu>
> >>> >> >> >>> >> > > >> > > wrote:
> >>> >> >> >>> >> > > >> > >
> >>> >> >> >>> >> > > >> > > > Hi Ashwin.
> >>> >> >> >>> >> > > >> > > >
> >>> >> >> >>> >> > > >> > > > Thanks for downloading the latest
release of
> >>> MET.
> >>> >> I
> >>> >> >> see
> >>> >> >> >>> >> > > >> > > > that
> >>> >> >> >>> >> > > >> > > > you're
> >>> >> >> >>> >> > > >> > > > having  trouble configuring/compiling
it.  We
> >>> >> >> >>> >> > > >> > > > switched
> >>> >> >> >>> over
> >>> >> >> >>> >> > > >> > > > to
> >>> >> >> >>> >> > > >> > > > using
> >>> >> >> >>> >> > > >> > > > autoconf for  building MET version
5.0.  In
> >>> >> previous
> >>> >> >> >>> >> > > >> > > > versions,
> >>> >> >> >>> >> > you
> >>> >> >> >>> >> > > >> > > edited a
> >>> >> >> >>> >> > > >> > > > file by hand and then typed "make".
Now, you
> >>> run
> >>> >> the
> >>> >> >> >>> >> configure
> >>> >> >> >>> >> > > >> script.
> >>> >> >> >>> >> > > >> > > > Please read  through the top-level
> >>> met-5.0/README
> >>> >> >> >>> >> > > >> > > > file
> >>> >> >> >>> >> > > >> > > > for
> >>> >> >> >>> >> > > >> instructions
> >>> >> >> >>> >> > > >> > > > about building MET.
> >>> >> >> >>> >> > > >> > > >
> >>> >> >> >>> >> > > >> > > > You can set several environment
variables to
> >>> tell
> >>> >> the
> >>> >> >> >>> >> configure
> >>> >> >> >>> >> > > >> script
> >>> >> >> >>> >> > > >> > > > where to find the dependent libraries.
For
> >>> >> example,
> >>> >> >> >>> >> MET_NETCDF
> >>> >> >> >>> >> > > >> > > > tells
> >>> >> >> >>> >> > > >> > it
> >>> >> >> >>> >> > > >> > > > where to find NetCDF.  nc_var_inco.cc
should
> >>> >> >> >>> >> > > >> > > > be
> >>> >> >> >>> >> > > >> > > > looking
> >>> >> >> >>> for
> >>> >> >> >>> >> > > >> netcdf.hh.
> >>> >> >> >>> >> > > >> > > > That's the include file for the C++
> interface.
> >>> >> There
> >>> >> >> >>> >> > > >> > > > are
> >>> >> >> >>> >> > > >> > > > many
> >>> >> >> >>> >> > > >> > different
> >>> >> >> >>> >> > > >> > > > ways of compiling NetCDF, and MET
expects the
> >>> C++
> >>> >> >> >>> interface
> >>> >> >> >>> >> > > >> > > > to
> >>> >> >> >>> >> > be
> >>> >> >> >>> >> > > >> > > > compiled.  There are some instructions
for
> >>> >> compiling
> >>> >> >> >>> NetCDF
> >>> >> >> >>> >> for
> >>> >> >> >>> >> > > MET
> >>> >> >> >>> >> > > >> > here:
> >>> >> >> >>> >> > > >> > > >
> >>> >> >> >>> >> > > >> > > >
> >>> >> >> >>> >> > > >> > >
> >>> >> >> >>> >> > > >> >
> >>> >> >> >>> >> > > >>
> >>> >> >> >>> >> > >
> >>> >> >> >>> >> >
> >>> >> >> >>> >>
> >>> >> >> >>>
> >>> >> >>
> >>> >>
> >>>
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
> >>> >> >> >>> >> > > >> > > >
> >>> >> >> >>> >> > > >> > > > Please take a look at the instructions
for
> >>> >> compiling
> >>> >> >> >>> NetCDF
> >>> >> >> >>> >> for
> >>> >> >> >>> >> > > MET
> >>> >> >> >>> >> > > >> and
> >>> >> >> >>> >> > > >> > > at
> >>> >> >> >>> >> > > >> > > > the top-level met-5.0/README file for
> >>> instructions
> >>> >> >> about
> >>> >> >> >>> >> > building
> >>> >> >> >>> >> > > >> > > > MET
> >>> >> >> >>> >> > > >> > and
> >>> >> >> >>> >> > > >> > > > let us know if you continue to
experience
> >>> problems.
> >>> >> >> >>> >> > > >> > > >
> >>> >> >> >>> >> > > >> > > > Thanks,
> >>> >> >> >>> >> > > >> > > > Julie
> >>> >> >> >>> >> > > >> > > >
> >>> >> >> >>> >> > > >> > > > On Mon, Sep 15, 2014 at 11:22 PM,
ashwinD12 .
> >>> via
> >>> >> RT
> >>> >> >> >>> >> > > >> > > > <
> >>> >> >> >>> >> > > >> > met_help at ucar.edu>
> >>> >> >> >>> >> > > >> > > > wrote:
> >>> >> >> >>> >> > > >> > > >
> >>> >> >> >>> >> > > >> > > > >
> >>> >> >> >>> >> > > >> > > > > Mon Sep 15 23:22:39 2014: Request
68987 was
> >>> acted
> >>> >> >> >>> >> > > >> > > > > upon.
> >>> >> >> >>> >> > > >> > > > > Transaction: Ticket created by
> >>> >> winash12 at gmail.com
> >>> >> >> >>> >> > > >> > > > >        Queue: met_help
> >>> >> >> >>> >> > > >> > > > >      Subject: Not able to compile
> >>> >> >> >>> >> > > >> > > > >        Owner: Nobody
> >>> >> >> >>> >> > > >> > > > >   Requestors: winash12 at gmail.com
> >>> >> >> >>> >> > > >> > > > >       Status: new
> >>> >> >> >>> >> > > >> > > > >  Ticket <URL:
> >>> >> >> >>> >> > > >> >
> >>> >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> >>> >> >> >>> >> > > >> > > >
> >>> >> >> >>> >> > > >> > > > >
> >>> >> >> >>> >> > > >> > > > >
> >>> >> >> >>> >> > > >> > > > > Hello,
> >>> >> >> >>> >> > > >> > > > >            I downloaded the latest
version
> >>> and I
> >>> >> am
> >>> >> >> >>> unable
> >>> >> >> >>> >> to
> >>> >> >> >>> >> > > >> compile
> >>> >> >> >>> >> > > >> > > > this
> >>> >> >> >>> >> > > >> > > > > at all.
> >>> >> >> >>> >> > > >> > > > >
> >>> >> >> >>> >> > > >> > > > > Here are the errors - first it
appears that
> >>> there
> >>> >> >> >>> >> > > >> > > > > is
> >>> >> >> >>> >> > > >> > > > > an
> >>> >> >> >>> >> error
> >>> >> >> >>> >> > in
> >>> >> >> >>> >> > > >> this
> >>> >> >> >>> >> > > >> > > > > directory - nc_var_inco.cc which
includes
> >>> >> >> >>> >> > > >> > > > > netcdf.hh.
> >>> >> >> I
> >>> >> >> >>> >> believe
> >>> >> >> >>> >> > > it
> >>> >> >> >>> >> > > >> > > should
> >>> >> >> >>> >> > > >> > > > be
> >>> >> >> >>> >> > > >> > > > > netcdf.h. Please let me know if that
is
> >>> accurate
> >>> >> or
> >>> >> >> >>> >> > > >> > > > > not.
> >>> >> >> >>> >> When
> >>> >> >> >>> >> > I
> >>> >> >> >>> >> > > >> > > > > fix
> >>> >> >> >>> >> > > >> > > that
> >>> >> >> >>> >> > > >> > > > I
> >>> >> >> >>> >> > > >> > > > > get these errors -
> >>> >> >> >>> >> > > >> > > > >
> >>> >> >> >>> >> > > >> > > > >
> >>> >> >> >>> >> > > >> > > > >
> >>> >> >> >>> >> > > >> > > > > Regards,
> >>> >> >> >>> >> > > >> > > > > Ashwin.
> >>> >> >> >>> >> > > >> > > > >
> >>> >> >> >>> >> > > >> > > > > make[3]: Entering directory
> >>> >> >> >>> >> > > >> > > > >
> >>> >> >> >>> >> >
> >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
> >>> >> >> >>> >> > > >> > > > > 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_geodesy
> >>> >> >> >>> >> > > >> > > > > -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_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_shapedata
> >>> >> >> >>> >> > > >> > > > > -I../../../src/libcode/vx_statistics
> >>> >> >> >>> >> > > >> > -I../../../src/libcode/vx_stat_out
> >>> >> >> >>> >> > > >> > > > > -I../../../src/libcode/vx_tc_util
-DBLOCK4
> >>> >> >> >>> >> > > >> > > > > -DWITH_GRIB2
> >>> >> >> >>> >> > > >> > > > >
-DMET_BASE="\"/usr/local/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
> >>> >> >> >>> >> > > >> > > > > In file included from
nc_var_info.cc(24):
> >>> >> >> >>> >> > > >> > > > > nc_var_info.h(24): catastrophic
error:
> >>> >> >> >>> >> > > >> > > > > cannot
> >>> >> open
> >>> >> >> >>> source
> >>> >> >> >>> >> file
> >>> >> >> >>> >> > > >> > > > "netcdf.hh"
> >>> >> >> >>> >> > > >> > > > >   #include <netcdf.hh>
> >>> >> >> >>> >> > > >> > > > >                       ^
> >>> >> >> >>> >> > > >> > > > >
> >>> >> >> >>> >> > > >> > > > > compilation aborted for
nc_var_info.cc
> (code
> >>> 4)
> >>> >> >> >>> >> > > >> > > > > make[3]: ***
> [libvx_nc_util_a-nc_var_info.o]
> >>> >> Error
> >>> >> >> >>> >> > > >> > > > > 4
> >>> >> >> >>> >> > > >> > > > > make[3]: Leaving directory
> >>> >> >> >>> >> > > >> > > > >
> >>> >> >> >>> >> >
> >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
> >>> >> >> >>> >> > > >> > > > > make[2]: *** [install-recursive]
Error 1
> >>> >> >> >>> >> > > >> > > > > make[2]: Leaving directory
> >>> >> >> >>> >> > > >> > > > >
> >>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode'
> >>> >> >> >>> >> > > >> > > > > make[1]: *** [install-recursive]
Error 1
> >>> >> >> >>> >> > > >> > > > > make[1]: Leaving directory
> >>> >> >> >>> >> > > >> > > `/home/aswin/meteorology_project/met-
5.0/src'
> >>> >> >> >>> >> > > >> > > > > make: *** [install-recursive] Error
1
> >>> >> >> >>> >> > > >> > > > >
> >>> >> >> >>> >> > > >> > > > > Ashwin.
> >>> >> >> >>> >> > > >> > > > >
> >>> >> >> >>> >> > > >> > > > >
> >>> >> >> >>> >> > > >> > > >
> >>> >> >> >>> >> > > >> > > >
> >>> >> >> >>> >> > > >> > > > --
> >>> >> >> >>> >> > > >> > > > Julie Prestopnik
> >>> >> >> >>> >> > > >> > > > National Center for Atmospheric
Research
> >>> >> >> >>> >> > > >> > > > Research Applications Laboratory
> >>> >> >> >>> >> > > >> > > > Phone: 303.497.8399
> >>> >> >> >>> >> > > >> > > > Email: jpresto at ucar.edu
> >>> >> >> >>> >> > > >> > > >
> >>> >> >> >>> >> > > >> > > >
> >>> >> >> >>> >> > > >> > >
> >>> >> >> >>> >> > > >> > >
> >>> >> >> >>> >> > > >> >
> >>> >> >> >>> >> > > >> >
> >>> >> >> >>> >> > > >> > --
> >>> >> >> >>> >> > > >> > Julie Prestopnik
> >>> >> >> >>> >> > > >> > National Center for Atmospheric Research
> >>> >> >> >>> >> > > >> > Research Applications Laboratory
> >>> >> >> >>> >> > > >> > Phone: 303.497.8399
> >>> >> >> >>> >> > > >> > Email: jpresto at ucar.edu
> >>> >> >> >>> >> > > >> >
> >>> >> >> >>> >> > > >> >
> >>> >> >> >>> >> > > >>
> >>> >> >> >>> >> > > >>
> >>> >> >> >>> >> > > >
> >>> >> >> >>> >> > > >
> >>> >> >> >>> >> > > > --
> >>> >> >> >>> >> > > > Julie Prestopnik
> >>> >> >> >>> >> > > > National Center for Atmospheric Research
> >>> >> >> >>> >> > > > Research Applications Laboratory
> >>> >> >> >>> >> > > > Phone: 303.497.8399
> >>> >> >> >>> >> > > > Email: jpresto at ucar.edu
> >>> >> >> >>> >> > > >
> >>> >> >> >>> >> > > >
> >>> >> >> >>> >> > >
> >>> >> >> >>> >> > >
> >>> >> >> >>> >> >
> >>> >> >> >>> >> >
> >>> >> >> >>> >> > --
> >>> >> >> >>> >> > Julie Prestopnik
> >>> >> >> >>> >> > National Center for Atmospheric Research
> >>> >> >> >>> >> > Research Applications Laboratory
> >>> >> >> >>> >> > Phone: 303.497.8399
> >>> >> >> >>> >> > Email: jpresto at ucar.edu
> >>> >> >> >>> >> >
> >>> >> >> >>> >> >
> >>> >> >> >>> >>
> >>> >> >> >>> >>
> >>> >> >> >>> >
> >>> >> >> >>> >
> >>> >> >> >>> > --
> >>> >> >> >>> > Julie Prestopnik
> >>> >> >> >>> > National Center for Atmospheric Research
> >>> >> >> >>> > Research Applications Laboratory
> >>> >> >> >>> > Phone: 303.497.8399
> >>> >> >> >>> > Email: jpresto at ucar.edu
> >>> >> >> >>> >
> >>> >> >> >>> >
> >>> >> >> >>>
> >>> >> >> >>>
> >>> >> >> >>
> >>> >> >> >
> >>> >> >> >
> >>> >> >>
> >>> >> >>
> >>> >> >
> >>> >> >
> >>> >>
> >>> >>
> >>> >
> >>>
> >>>
> >>
> >
>
>

------------------------------------------------
Subject: Not able to compile
From: ashwinD12 .
Time: Mon Nov 03 01:27:12 2014

Hi John,
              Sorry for the late response. Had a series of holidays
here
(Diwali) and so I had to take a welcome break from work. I apologize
but I
have to let you know the missing references still persist. I am
enclosing
the log file for make install. There is a libgrib2c.a in the
/usr/local/lib
compiled with inter icc compiler and NOT with gcc.

On Mon, Oct 20, 2014 at 11:31 PM, John Halley Gotway via RT <
met_help at ucar.edu> wrote:

> Ashwin,
>
> I took a look at the log file you sent and see that the current
problem is
> GRIB2-related undefined references.  Support for GRIB2 in MET is
provided
> by linking to several libraries:
>    grib2c, png, jasper, and z libraries
>
> Without seeing your config.log, I can't be certain, but my working
theory
> is this...
>
> - I'm guessing you installed the grib2c library using the intel
compilers
> and set the MET_GRIB2C environment variable to something like
> /path/to/grib2c.  That tells MET to look for the GRIB2C libraries in
> /path/to/grib2c/lib and the GRIB2C include files in
> /path/to/grib2c/include.
> - But those lib and include subdirectories don't actually exist!
> - When you ran "make install", the linker couldn't find the GRIB2C
library
> in that directory that doesn't exist (/path/to/grib2c/lib) but did
find a
> version of GRIB2C in some other location on your system, perhaps
compiled
> with a different set of compilers.
> - And that led to the linker errors you're seeing.
>
> If you think that may be what happened, just modify your environment
> variable settings as follows:
>    unsetenv MET_GRIB2C
>    setenv MET_GRIB2C_INC /path/to/grib2c
>    setenv MET_GRIB2C_LIB /path/to/grib2c
>
> Then rerun "make clean", "configure", and "make install".
>
> Please let me know if that solves your problem.
>
> Thanks,
> John
>
>
>
>
>
> On Mon, Oct 20, 2014 at 8:36 AM, ashwinD12 . via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
> >
> > Hello John,
> >                  Any update on the compiler errors I get when I
run
> > configrue with the --enable-grib2 option ?
> > Regards,
> > Ashwin.
> >
> > On 10/17/14, ashwinD12 . <winash12 at gmail.com> wrote:
> > > Hi John,
> > >                I reran configure with the --enable-grib2 option
and I
> > reran
> > > make install and I get these errors enclosed in
make_install.log.
> > > Regards,
> > > Ashwin.
> > >
> > > On Fri, Oct 17, 2014 at 11:39 AM, ashwinD12 .
<winash12 at gmail.com>
> > wrote:
> > >
> > >> Hi John,
> > >>               Bingo four times I could say. I already had FC
set to
> > ifort
> > >> but I did not have F77 set to ifort. It was not even set so I
suppose
> it
> > >> defaulted to gfortran. I set F77 to ifort and everything
compiled as
> > >> well.
> > >> I still am not satisfied with the BUFRLIB library as I got some
errors
> > >> over
> > >> there but that is for later I guess. I sent a mail to NCEP but
they
> are
> > >> yet
> > >> to reply to me. Is there a forum for the BUFRLIB product ?
> > >> Regards,
> > >> Ashwin.
> > >>
> > >> On Thu, Oct 16, 2014 at 9:57 PM, John Halley Gotway via RT <
> > >> met_help at ucar.edu> wrote:
> > >>
> > >>> Ashwin,
> > >>>
> > >>> Oops, sorry I told you to set the FC environment variable.  I
should
> > >>> have
> > >>> said F77:
> > >>>    setenv F77 `which gfortran`
> > >>>
> > >>> Thanks,
> > >>> John
> > >>>
> > >>> On Thu, Oct 16, 2014 at 10:19 AM, John Halley Gotway <
> johnhg at ucar.edu>
> > >>> wrote:
> > >>>
> > >>> > Ashwin,
> > >>> >
> > >>> > Thanks for sending those files.  It makes it much easier to
debug.
> > >>> > The
> > >>> > problem is that you're mixing an intel C++ compiler (icpc)
with a
> GNU
> > >>> > fortran compiler (gfortran).  When compiling MET and all the
> > dependent
> > >>> > libraries, we need to use the same family of compilers.
Mixing
> > >>> > compiler
> > >>> > families leads to the sort of undefined reference errors
that
> you're
> > >>> > getting.
> > >>> >
> > >>> > The question is, which family of compilers did you intend to
use,
> > >>> > intel
> > >>> or
> > >>> > gnu.  The C/C++/Fortran compilers for intel are
icc/icc/ifort.  The
> > >>> > C/C++/Fortran compilers for GNU are gcc/g++/gfortran.  In my
> commands
> > >>> > below, I'll assume you're using GNU, but you can swap them
out for
> > the
> > >>> > corresponding intel ones if needed.  Whichever set of
compilers you
> > >>> > use,
> > >>> > note that the dependent libraries (GSL, BUFRLIB, NetCDF)
should be
> > >>> compiled
> > >>> > with them as well.
> > >>> >
> > >>> > # Go to the top-level met-5.0 directory.
> > >>> >
> > >>> > # First make sure that these compilers are present on your
system
> > >>> > which gcc
> > >>> > which g++
> > >>> > which gfortran
> > >>> >
> > >>> > # Set variables to tell configure which compilers you want
to use
> > >>> > setenv CC `which gcc`
> > >>> > setenv CXX `which g++`
> > >>> > setenv FC `which gfortran`
> > >>> >
> > >>> > # Recompile MET
> > >>> > make clean
> > >>> > ./configure -prefix=`pwd`
> > >>> > make install >& make_install.log
> > >>> > make test >& make_test.log
> > >>> >
> > >>> > And then inspect "make_install.log" to make sure that MET
used the
> > >>> > compilers you specified.
> > >>> >
> > >>> > Please let me know how that goes.
> > >>> >
> > >>> > Thanks,
> > >>> > John
> > >>> >
> > >>> > On Thu, Oct 16, 2014 at 12:48 AM, ashwinD12 . via RT
> > >>> > <met_help at ucar.edu
> > >>> >
> > >>> > wrote:
> > >>> >
> > >>> >>
> > >>> >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
> > >>> >>
> > >>> >> Hello John,
> > >>> >>                   Here you go - I am enclosing all the log
files
> you
> > >>> >> requested.
> > >>> >> Regards,
> > >>> >> Ashwin.
> > >>> >>
> > >>> >> On 10/15/14, John Halley Gotway via RT <met_help at ucar.edu>
wrote:
> > >>> >> > Ashwin,
> > >>> >> >
> > >>> >> > Just so I can get a better understand of what's going on,
could
> > you
> > >>> >> please
> > >>> >> > run the following commands in the top-level met-5.0
directory...
> > >>> >> >
> > >>> >> >    printenv | grep MET_ > environment.log
> > >>> >> >    make clean
> > >>> >> >   ./configure -prefix=`pwd`
> > >>> >> >   make install >& make_install.log
> > >>> >> >   make test >& make_test.log
> > >>> >> >
> > >>> >> > And then send me these files: environment.log,
config.log,
> > >>> >> > make_install.log, and make_test.log
> > >>> >> >
> > >>> >> > That'll give me a better idea of what's going on.
> > >>> >> >
> > >>> >> > Thanks,
> > >>> >> > John
> > >>> >> >
> > >>> >> > On Wed, Oct 15, 2014 at 1:41 AM, ashwinD12 . via RT <
> > >>> met_help at ucar.edu>
> > >>> >> > wrote:
> > >>> >> >
> > >>> >> >>
> > >>> >> >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> >
> > >>> >> >>
> > >>> >> >> Hi John,
> > >>> >> >>               I apologize for the late response. It is
not
> > without
> > >>> >> >> a
> > >>> >> >> reason. I got past that point but I have a LIBRBUF
error. I had
> > >>> >> >> sent
> > >>> >> >> this report to NCEP website but have yet to hear from
them.
> Until
> > >>> >> >> I
> > >>> >> >> hear from them I cannot test the new patches. Please
bear with
> me
> > >>> for
> > >>> >> >> a few days and I will get back to you.
> > >>> >> >> Regards,
> > >>> >> >> Ashwin.
> > >>> >> >>
> > >>> >> >> On 10/15/14, John Halley Gotway via RT
<met_help at ucar.edu>
> > wrote:
> > >>> >> >> > Ashwin,
> > >>> >> >> >
> > >>> >> >> > I just posted the first set of patches for the met-5.0
> release,
> > >>> and
> > >>> >> >> > they
> > >>> >> >> > include this fix.  Please follow the instructions
posted here
> > to
> > >>> >> >> > download
> > >>> >> >> > and apply the latest set of patches:
> > >>> >> >> >
> > >>> >> >>
> > >>> >>
> > >>>
> >
http://www.dtcenter.org/met/users/support/known_issues/METv5.0/index.php
> > >>> >> >> >
> > >>> >> >> > Please let me know if you continue to experience
problems
> with
> > >>> MET.
> > >>> >> >> >
> > >>> >> >> > Thanks,
> > >>> >> >> > John Halley Gotway
> > >>> >> >> > met_help at ucar.edu
> > >>> >> >> >
> > >>> >> >> > On Mon, Oct 13, 2014 at 3:02 PM, John Halley Gotway <
> > >>> johnhg at ucar.edu
> > >>> >> >
> > >>> >> >> > wrote:
> > >>> >> >> >
> > >>> >> >> >> Hello Ashwin,
> > >>> >> >> >>
> > >>> >> >> >> This is John Halley Gotway.  I work with Julie, but
she's
> out
> > >>> >> >> >> of
> > >>> the
> > >>> >> >> >> office today.  I took a look at this issue and think
I've
> > >>> uncovered
> > >>> >> >> >> the
> > >>> >> >> >> problem.  And it's a problem on our end, not yours.
Here's
> > >>> >> >> >> what
> > >>> I'd
> > >>> >> >> like
> > >>> >> >> >> you to try...
> > >>> >> >> >>
> > >>> >> >> >> Copy the three attached files (color_scanner.cc,
> Makefile.in,
> > >>> >> >> >> and
> > >>> >> >> >> Makefile.am) into this directory:
> > >>> >> >> >>    met-5.0/src/libcode/vx_color
> > >>> >> >> >>
> > >>> >> >> >> Then rerun "configure" and "make install".  Please
let me
> know
> > >>> >> >> >> if
> > >>> >> this
> > >>> >> >> >> resolves the error with lex.yy.c you were getting.
> > >>> >> >> >>
> > >>> >> >> >> In met-5.0, we switched over to building MET using
autoconf.
> > >>> >> >> >> The
> > >>> >> MET
> > >>> >> >> >> code
> > >>> >> >> >> uses flex and bison (lex and yacc) to parse data
files in a
> > few
> > >>> >> >> >> places,
> > >>> >> >> >> but
> > >>> >> >> >> our intention is to run those tools here during the
process
> of
> > >>> >> >> >> building
> > >>> >> >> a
> > >>> >> >> >> release.  I think the vx_color Makefile was removing
the
> > output
> > >>> of
> > >>> >> >> >> flex
> > >>> >> >> >> and
> > >>> >> >> >> then trying to rebuild it by calling flex.  And
there's
> > >>> >> >> >> probably
> > >>> an
> > >>> >> >> >> inconsistency between the version of flex we use here
and
> the
> > >>> one on
> > >>> >> >> your
> > >>> >> >> >> machine.
> > >>> >> >> >>
> > >>> >> >> >> Please do let me know if that resolves the problem.
Once we
> > >>> >> >> >> get
> > >>> a
> > >>> >> >> >> good
> > >>> >> >> >> fix for this issue, we'll post a patch on the known
issue
> page
> > >>> for
> > >>> >> >> >> MET.
> > >>> >> >> >>
> > >>> >> >> >> Sorry for trouble, but thanks for helping us debug
this
> issue!
> > >>> >> >> >>
> > >>> >> >> >> John Halley Gotway
> > >>> >> >> >> met_help at ucar.edu
> > >>> >> >> >>
> > >>> >> >> >>
> > >>> >> >> >>
> > >>> >> >> >> On Thu, Oct 9, 2014 at 4:56 PM, ashwinD12 . via RT <
> > >>> >> met_help at ucar.edu>
> > >>> >> >> >> wrote:
> > >>> >> >> >>
> > >>> >> >> >>>
> > >>> >> >> >>> <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> > >>> >> >> >>> >
> > >>> >> >> >>>
> > >>> >> >> >>> Hello Julie,
> > >>> >> >> >>>                  There is no problem with the netcdf
> build. I
> > >>> moved
> > >>> >> >> >>> past that point. Did you look at the error messages
? it is
> > >>> >> >> >>> mentioning
> > >>> >> >> >>> that there is some problem with lex.yy.c.
> > >>> >> >> >>> Regards,
> > >>> >> >> >>> Ashwin.
> > >>> >> >> >>>
> > >>> >> >> >>> On 10/9/14, Julie Prestopnik via RT
<met_help at ucar.edu>
> > wrote:
> > >>> >> >> >>> > Hi Ashwin.  I'm sorry to hear that you are still
having
> > some
> > >>> >> >> >>> > difficulty
> > >>> >> >> >>> in
> > >>> >> >> >>> > getting METv5.0 to build.
> > >>> >> >> >>> >
> > >>> >> >> >>> > I'd suggest downloading and compiling NetCDF
locally
> using
> > >>> >> >> >>> > the
> > >>> >> >> >>> > following
> > >>> >> >> >>> > steps:
> > >>> >> >> >>> >
> > >>> >> >> >>> > Download NetCDF 3.6.3 from here:
> > >>> >> >> >>> >
> > >>> >>
> > http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-
3.6.3.tar.gz
> > >>> >> >> >>> >
> > >>> >> >> >>> > Then run:
> > >>> >> >> >>> > tar -zxf netcdf-3.6.3.tar.gz
> > >>> >> >> >>> > ./configure --prefix=`pwd`
> > >>> >> >> >>> > make
> > >>> >> >> >>> > make install
> > >>> >> >> >>> >
> > >>> >> >> >>> > These commands should compile the C and C++
interfaces
> for
> > >>> NetCDF
> > >>> >> >> >>> > and
> > >>> >> >> >>> skip
> > >>> >> >> >>> > the Fortran interface that MET doesn't use.  It
will
> > install
> > >>> the
> > >>> >> >> >>> library in
> > >>> >> >> >>> > current "netcdf-3.6.3" directory due to the
> --prefix=`pwd`
> > >>> >> option.
> > >>> >> >> >>> >
> > >>> >> >> >>> > Next, you'll need to edit where you set MET_NETCDF
to
> point
> > >>> >> >> >>> > to
> > >>> >> this
> > >>> >> >> >>> > new
> > >>> >> >> >>> > location, source your .cshrc or similiar file, and
> rebuild
> > >>> MET.
> > >>> >> >> >>> >
> > >>> >> >> >>> > I just ran all of these steps and was able to get
a
> > >>> >> >> >>> > successful
> > >>> >> >> >>> > build
> > >>> >> >> >>> > and
> > >>> >> >> >>> > install of METv5.0.
> > >>> >> >> >>> >
> > >>> >> >> >>> > Please give this a try and let me know how it
goes.
> > >>> >> >> >>> >
> > >>> >> >> >>> > Thanks,
> > >>> >> >> >>> > Julie
> > >>> >> >> >>> >
> > >>> >> >> >>> > On Thu, Oct 9, 2014 at 1:28 AM, ashwinD12 . via RT
<
> > >>> >> >> met_help at ucar.edu>
> > >>> >> >> >>> > wrote:
> > >>> >> >> >>> >
> > >>> >> >> >>> >>
> > >>> >> >> >>> >> <URL:
> > >>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
> > >>> >> >> >>> >>
> > >>> >> >> >>> >> Hi Julie,
> > >>> >> >> >>> >>                I made some progress with some
difficulty
> > >>> which
> > >>> >> is
> > >>> >> >> >>> >> expected.
> > >>> >> >> >>> >> First of all there are *two* C++ NETCDF
libraries and I
> > >>> >> >> >>> >> had
> > >>> to
> > >>> >> >> >>> >> use
> > >>> >> >> >>> >> the
> > >>> >> >> >>> >> legacy C++ NETCDF source code to build with MET
5.0. The
> > >>> >> netcdf.hh
> > >>> >> >> >>> >> file
> > >>> >> >> >>> >> is
> > >>> >> >> >>> >> NOT found in the latest C++ NETCDF interface but
in the
> > >>> legacy
> > >>> >> >> >>> >> distribution. It would be helpful if you could
update
> the
> > >>> >> >> >>> >> documentation
> > >>> >> >> >>> >> to
> > >>> >> >> >>> >> reflect this.
> > >>> >> >> >>> >> Then I did not have lex and yacc on my Ubuntu and
I
> > updated
> > >>> my
> > >>> >> >> system
> > >>> >> >> >>> to
> > >>> >> >> >>> >> reflect that. Then I ran make install again and
here
> are
> > >>> >> >> >>> >> the
> > >>> >> >> >>> >> latest
> > >>> >> >> >>> >> error
> > >>> >> >> >>> >> -
> > >>> >> >> >>> >> make[4]: Nothing to be done for `install-exec-
am'.
> > >>> >> >> >>> >> make[4]: Nothing to be done for `install-data-
am'.
> > >>> >> >> >>> >> make[4]: Leaving directory
> > >>> >> >> >>> >>
> > `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_afm'
> > >>> >> >> >>> >> make[3]: Leaving directory
> > >>> >> >> >>> >>
> > `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_afm'
> > >>> >> >> >>> >> Making install in vx_color
> > >>> >> >> >>> >> make[3]: Entering directory
> > >>> >> >> >>> >>
> > >>> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_color'
> > >>> >> >> >>> >> /bin/bash ../../../ylwrap color_scanner.ll .c
> > >>> color_scanner.cc
> > >>> >> --
> > >>> >> >> >>> >> :
> > >>> >> >> >>> >> --prefix=color --outfile=lex.yy.c
> > >>> >> >> >>> >> make[3]: *** [color_scanner.cc] Error 1
> > >>> >> >> >>> >> make[3]: Leaving directory
> > >>> >> >> >>> >>
> > >>> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_color'
> > >>> >> >> >>> >> make[2]: *** [install-recursive] Error 1
> > >>> >> >> >>> >> make[2]: Leaving directory
> > >>> >> >> >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode'
> > >>> >> >> >>> >> make[1]: *** [install-recursive] Error 1
> > >>> >> >> >>> >> make[1]: Leaving directory
> > >>> >> >> >>> `/home/aswin/meteorology_project/met-5.0/src'
> > >>> >> >> >>> >> make: *** [install-recursive] Error 1
> > >>> >> >> >>> >>
> > >>> >> >> >>> >>
> > >>> >> >> >>> >>
> > >>> >> >> >>> >> On Wed, Oct 8, 2014 at 8:13 PM, Julie Prestopnik
via RT
> > >>> >> >> >>> >> <met_help at ucar.edu
> > >>> >> >> >>> >> >
> > >>> >> >> >>> >> wrote:
> > >>> >> >> >>> >>
> > >>> >> >> >>> >> > Hi Ashwin.  I agree. MET expects the C++
interface to
> be
> > >>> >> >> >>> >> > compiled.
> > >>> >> >> >>> >> Please
> > >>> >> >> >>> >> > try building and compiling NETCDF to include
the C++
> > >>> interface
> > >>> >> >> >>> >> > and
> > >>> >> >> >>> then
> > >>> >> >> >>> >> > rebuild and recompile MET.  Please let me know
how it
> > >>> >> >> >>> >> > turns
> > >>> >> out.
> > >>> >> >> >>> >> >
> > >>> >> >> >>> >> > Thanks,
> > >>> >> >> >>> >> > Julie
> > >>> >> >> >>> >> >
> > >>> >> >> >>> >> > On Wed, Oct 8, 2014 at 7:51 AM, ashwinD12 . via
RT <
> > >>> >> >> >>> met_help at ucar.edu>
> > >>> >> >> >>> >> > wrote:
> > >>> >> >> >>> >> >
> > >>> >> >> >>> >> > >
> > >>> >> >> >>> >> > > <URL:
> > >>> >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> > >>> >> >> >>> >> > > >
> > >>> >> >> >>> >> > >
> > >>> >> >> >>> >> > > I am not at the machine where the problem is
> happening
> > >>> but I
> > >>> >> >> >>> >> > > can
> > >>> >> >> >>> >> > > guess
> > >>> >> >> >>> >> > > the root cause of the problem. When compiling
NETCDF
> > >>> >> >> >>> >> > > for
> > >>> >> WRF I
> > >>> >> >> >>> only
> > >>> >> >> >>> >> > > compiled the C and FORTRAN libraries and not
the C++
> > >>> >> >> >>> >> > > libraries.
> > >>> >> >> >>> >> > > So
> > >>> >> >> >>> I
> > >>> >> >> >>> >> > > will need to recompile NETCDF and this time
compile
> > for
> > >>> C++
> > >>> >> as
> > >>> >> >> >>> >> > > well
> > >>> >> >> >>> >> > > by
> > >>> >> >> >>> >> > > specifying the environment variable CXX. I do
not
> > think
> > >>> >> there
> > >>> >> >> >>> >> > > is
> > >>> >> >> >>> >> > > a
> > >>> >> >> >>> >> > > file netcdf.hh under /usr/local/include. I
will
> > confirm
> > >>> this
> > >>> >> >> >>> tomorrow
> > >>> >> >> >>> >> > > morning my time.
> > >>> >> >> >>> >> > > Regards.
> > >>> >> >> >>> >> > >
> > >>> >> >> >>> >> > > On 10/8/14, Julie Prestopnik via RT <
> > met_help at ucar.edu>
> > >>> >> wrote:
> > >>> >> >> >>> >> > > > Great!  Thank you.  Can you please take a
look in
> > >>> >> >> MET_NETCDFINC
> > >>> >> >> >>> >> > > > (/usr/local/
> > >>> >> >> >>> >> > > > include) and tell me if you see netcdf.hh?
> > >>> >> >> >>> >> > > >
> > >>> >> >> >>> >> > > > Julie
> > >>> >> >> >>> >> > > >
> > >>> >> >> >>> >> > > > On Tue, Oct 7, 2014 at 11:18 PM, ashwinD12
. via
> RT
> > <
> > >>> >> >> >>> >> met_help at ucar.edu
> > >>> >> >> >>> >> > >
> > >>> >> >> >>> >> > > > wrote:
> > >>> >> >> >>> >> > > >
> > >>> >> >> >>> >> > > >>
> > >>> >> >> >>> >> > > >> <URL:
> > >>> >> >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> > >>> >> >> >>> >> > > >> >
> > >>> >> >> >>> >> > > >>
> > >>> >> >> >>> >> > > >> Hi Julie, I am sending you the required
> information
> > >>> >> >> >>> >> > > >>
> > >>> >> >> >>> >> > > >> printenv | grep MET
> > >>> >> >> >>> >> > > >>
> > >>> >> >> >>> >> > > >> MET_GSLLIB=/usr/local/lib
> > >>> >> >> >>> >> > > >> MET_GRIB2LIB=/usr/local/lib
> > >>> >> >> >>> >> > > >> MET_GSLINC=/usr/local/include
> > >>> >> >> >>> >> > > >> MET_NETCDFINC=/usr/local/include
> > >>> >> >> >>> >> > > >> MET_NETCDFLIB=/usr/local/lib
> > >>> >> >> >>> >> > > >>
> > >>> >> >> >>> >> > > >> On Tue, Oct 7, 2014 at 8:52 PM, Julie
Prestopnik
> > via
> > >>> RT
> > >>> >> >> >>> >> > > >> <met_help at ucar.edu
> > >>> >> >> >>> >> > > >> >
> > >>> >> >> >>> >> > > >> wrote:
> > >>> >> >> >>> >> > > >>
> > >>> >> >> >>> >> > > >> > Hi Ashwin.  I see you're still having
problems
> > >>> >> >> >>> >> > > >> > with
> > >>> MET
> > >>> >> >> >>> finding
> > >>> >> >> >>> >> > > >> netcdf.hh.
> > >>> >> >> >>> >> > > >> >
> > >>> >> >> >>> >> > > >> > Could you please run "printenv | grep
MET" and
> > >>> >> >> >>> >> > > >> > send
> > >>> me
> > >>> >> >> >>> >> > > >> > the
> > >>> >> >> >>> >> > > >> > output?
> > >>> >> >> >>> >> > > >> >
> > >>> >> >> >>> >> > > >> > Thank you.
> > >>> >> >> >>> >> > > >> >
> > >>> >> >> >>> >> > > >> > Julie
> > >>> >> >> >>> >> > > >> >
> > >>> >> >> >>> >> > > >> > On Tue, Oct 7, 2014 at 6:07 AM,
ashwinD12 . via
> > RT
> > >>> >> >> >>> >> > > >> > <
> > >>> >> >> >>> >> > met_help at ucar.edu
> > >>> >> >> >>> >> > > >
> > >>> >> >> >>> >> > > >> > wrote:
> > >>> >> >> >>> >> > > >> >
> > >>> >> >> >>> >> > > >> > >
> > >>> >> >> >>> >> > > >> > > <URL:
> > >>> >> >> >>>
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> > >>> >> >> >>> >> > > >> > > >
> > >>> >> >> >>> >> > > >> > >
> > >>> >> >> >>> >> > > >> > > Hello,
> > >>> >> >> >>> >> > > >> > >             I apologize for the late
response
> > on
> > >>> this
> > >>> >> >> >>> >> > > >> > > as
> > >>> >> >> I
> > >>> >> >> >>> >> > > >> > > have
> > >>> >> >> >>> >> > > >> tracking
> > >>> >> >> >>> >> > > >> > > another WRF problem. The problem still
> persists
> > >>> >> >> >>> >> > > >> > > I first typed ./configure
--prefix=`pwd`
> > >>> >> --enable-grib2
> > >>> >> >> >>> >> > > >> > > and
> > >>> >> >> >>> >> > > >> > > then
> > >>> >> >> >>> >> > > >> followed
> > >>> >> >> >>> >> > > >> > > by make install and I got these
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_geodesy
> > >>> >> >> >>> >> -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_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_shapedata
> > >>> >> >> >>> >> > > >> > > -I../../../src/libcode/vx_statistics
> > >>> >> >> >>> >> > > >> > > -I../../../src/libcode/vx_stat_out
> > >>> >> >> >>> >> > > >> > > -I../../../src/libcode/vx_tc_util
> > >>> >> -I/usr/local/include
> > >>> >> >> >>> >> > > >> > -I/usr/local/include
> > >>> >> >> >>> >> > > >> > > -DBLOCK4 -DWITH_GRIB2
> > >>> >> >> >>> >> > > >> > >
> > >>> >> >> >>> >>
> > >>> >> -DMET_BASE="\"/home/aswin/meteorology_project/met-
5.0/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
> > >>> >> >> >>> >> > > >> > > In file included from
nc_var_info.cc(24):
> > >>> >> >> >>> >> > > >> > > nc_var_info.h(24): catastrophic error:
cannot
> > >>> >> >> >>> >> > > >> > > open
> > >>> >> >> >>> >> > > >> > > source
> > >>> >> >> >>> file
> > >>> >> >> >>> >> > > >> > "netcdf.hh"
> > >>> >> >> >>> >> > > >> > >   #include <netcdf.hh>
> > >>> >> >> >>> >> > > >> > >                       ^
> > >>> >> >> >>> >> > > >> > >
> > >>> >> >> >>> >> > > >> > > compilation aborted for nc_var_info.cc
(code
> 4)
> > >>> >> >> >>> >> > > >> > > make[3]: *** [libvx_nc_util_a-
nc_var_info.o]
> > >>> Error 4
> > >>> >> >> >>> >> > > >> > > make[3]: Leaving directory
> > >>> >> >> >>> >> > > >> > >
> > >>> >> >> >>>
> > `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
> > >>> >> >> >>> >> > > >> > > make[2]: *** [install-recursive] Error
1
> > >>> >> >> >>> >> > > >> > > make[2]: Leaving directory
> > >>> >> >> >>> >> > > >> > >
> > >>> `/home/aswin/meteorology_project/met-5.0/src/libcode'
> > >>> >> >> >>> >> > > >> > > make[1]: *** [install-recursive] Error
1
> > >>> >> >> >>> >> > > >> > > make[1]: Leaving directory
> > >>> >> >> >>> >> > > >> >
> `/home/aswin/meteorology_project/met-5.0/src'ds.
> > >>> >> >> >>> >> > > >> > > I first typed ./configure
--prefix=`pwd`
> > >>> >> --enable-grib2
> > >>> >> >> >>> >> > > >> > > and
> > >>> >> >> >>> >> > > >> > > then
> > >>> >> >> >>> >> > > >> followed
> > >>> >> >> >>> >> > > >> > > by make install and I got these
messages -
> > >>> >> >> >>> >> > > >> > >
> > >>> >> >> >>> >> > > >> > >
> > >>> >> >> >>> >> > > >> > > On Tue, Sep 16, 2014 at 9:28 PM, Julie
> > >>> >> >> >>> >> > > >> > > Prestopnik
> > >>> via
> > >>> >> >> >>> >> > > >> > > RT
> > >>> >> >> <
> > >>> >> >> >>> >> > > >> > > met_help at ucar.edu>
> > >>> >> >> >>> >> > > >> > > wrote:
> > >>> >> >> >>> >> > > >> > >
> > >>> >> >> >>> >> > > >> > > > Hi Ashwin.
> > >>> >> >> >>> >> > > >> > > >
> > >>> >> >> >>> >> > > >> > > > Thanks for downloading the latest
release
> of
> > >>> MET.
> > >>> >> I
> > >>> >> >> see
> > >>> >> >> >>> >> > > >> > > > that
> > >>> >> >> >>> >> > > >> > > > you're
> > >>> >> >> >>> >> > > >> > > > having  trouble
configuring/compiling it.
> We
> > >>> >> >> >>> >> > > >> > > > switched
> > >>> >> >> >>> over
> > >>> >> >> >>> >> > > >> > > > to
> > >>> >> >> >>> >> > > >> > > > using
> > >>> >> >> >>> >> > > >> > > > autoconf for  building MET version
5.0.  In
> > >>> >> previous
> > >>> >> >> >>> >> > > >> > > > versions,
> > >>> >> >> >>> >> > you
> > >>> >> >> >>> >> > > >> > > edited a
> > >>> >> >> >>> >> > > >> > > > file by hand and then typed "make".
Now,
> you
> > >>> run
> > >>> >> the
> > >>> >> >> >>> >> configure
> > >>> >> >> >>> >> > > >> script.
> > >>> >> >> >>> >> > > >> > > > Please read  through the top-level
> > >>> met-5.0/README
> > >>> >> >> >>> >> > > >> > > > file
> > >>> >> >> >>> >> > > >> > > > for
> > >>> >> >> >>> >> > > >> instructions
> > >>> >> >> >>> >> > > >> > > > about building MET.
> > >>> >> >> >>> >> > > >> > > >
> > >>> >> >> >>> >> > > >> > > > You can set several environment
variables
> to
> > >>> tell
> > >>> >> the
> > >>> >> >> >>> >> configure
> > >>> >> >> >>> >> > > >> script
> > >>> >> >> >>> >> > > >> > > > where to find the dependent
libraries.  For
> > >>> >> example,
> > >>> >> >> >>> >> MET_NETCDF
> > >>> >> >> >>> >> > > >> > > > tells
> > >>> >> >> >>> >> > > >> > it
> > >>> >> >> >>> >> > > >> > > > where to find NetCDF.
nc_var_inco.cc
> should
> > >>> >> >> >>> >> > > >> > > > be
> > >>> >> >> >>> >> > > >> > > > looking
> > >>> >> >> >>> for
> > >>> >> >> >>> >> > > >> netcdf.hh.
> > >>> >> >> >>> >> > > >> > > > That's the include file for the C++
> > interface.
> > >>> >> There
> > >>> >> >> >>> >> > > >> > > > are
> > >>> >> >> >>> >> > > >> > > > many
> > >>> >> >> >>> >> > > >> > different
> > >>> >> >> >>> >> > > >> > > > ways of compiling NetCDF, and MET
expects
> the
> > >>> C++
> > >>> >> >> >>> interface
> > >>> >> >> >>> >> > > >> > > > to
> > >>> >> >> >>> >> > be
> > >>> >> >> >>> >> > > >> > > > compiled.  There are some
instructions for
> > >>> >> compiling
> > >>> >> >> >>> NetCDF
> > >>> >> >> >>> >> for
> > >>> >> >> >>> >> > > MET
> > >>> >> >> >>> >> > > >> > here:
> > >>> >> >> >>> >> > > >> > > >
> > >>> >> >> >>> >> > > >> > > >
> > >>> >> >> >>> >> > > >> > >
> > >>> >> >> >>> >> > > >> >
> > >>> >> >> >>> >> > > >>
> > >>> >> >> >>> >> > >
> > >>> >> >> >>> >> >
> > >>> >> >> >>> >>
> > >>> >> >> >>>
> > >>> >> >>
> > >>> >>
> > >>>
> >
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
> > >>> >> >> >>> >> > > >> > > >
> > >>> >> >> >>> >> > > >> > > > Please take a look at the
instructions for
> > >>> >> compiling
> > >>> >> >> >>> NetCDF
> > >>> >> >> >>> >> for
> > >>> >> >> >>> >> > > MET
> > >>> >> >> >>> >> > > >> and
> > >>> >> >> >>> >> > > >> > > at
> > >>> >> >> >>> >> > > >> > > > the top-level met-5.0/README file
for
> > >>> instructions
> > >>> >> >> about
> > >>> >> >> >>> >> > building
> > >>> >> >> >>> >> > > >> > > > MET
> > >>> >> >> >>> >> > > >> > and
> > >>> >> >> >>> >> > > >> > > > let us know if you continue to
experience
> > >>> problems.
> > >>> >> >> >>> >> > > >> > > >
> > >>> >> >> >>> >> > > >> > > > Thanks,
> > >>> >> >> >>> >> > > >> > > > Julie
> > >>> >> >> >>> >> > > >> > > >
> > >>> >> >> >>> >> > > >> > > > On Mon, Sep 15, 2014 at 11:22 PM,
> ashwinD12 .
> > >>> via
> > >>> >> RT
> > >>> >> >> >>> >> > > >> > > > <
> > >>> >> >> >>> >> > > >> > met_help at ucar.edu>
> > >>> >> >> >>> >> > > >> > > > wrote:
> > >>> >> >> >>> >> > > >> > > >
> > >>> >> >> >>> >> > > >> > > > >
> > >>> >> >> >>> >> > > >> > > > > Mon Sep 15 23:22:39 2014: Request
68987
> was
> > >>> acted
> > >>> >> >> >>> >> > > >> > > > > upon.
> > >>> >> >> >>> >> > > >> > > > > Transaction: Ticket created by
> > >>> >> winash12 at gmail.com
> > >>> >> >> >>> >> > > >> > > > >        Queue: met_help
> > >>> >> >> >>> >> > > >> > > > >      Subject: Not able to compile
> > >>> >> >> >>> >> > > >> > > > >        Owner: Nobody
> > >>> >> >> >>> >> > > >> > > > >   Requestors: winash12 at gmail.com
> > >>> >> >> >>> >> > > >> > > > >       Status: new
> > >>> >> >> >>> >> > > >> > > > >  Ticket <URL:
> > >>> >> >> >>> >> > > >> >
> > >>> >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> > >>> >> >> >>> >> > > >> > > >
> > >>> >> >> >>> >> > > >> > > > >
> > >>> >> >> >>> >> > > >> > > > >
> > >>> >> >> >>> >> > > >> > > > > Hello,
> > >>> >> >> >>> >> > > >> > > > >            I downloaded the latest
> version
> > >>> and I
> > >>> >> am
> > >>> >> >> >>> unable
> > >>> >> >> >>> >> to
> > >>> >> >> >>> >> > > >> compile
> > >>> >> >> >>> >> > > >> > > > this
> > >>> >> >> >>> >> > > >> > > > > at all.
> > >>> >> >> >>> >> > > >> > > > >
> > >>> >> >> >>> >> > > >> > > > > Here are the errors - first it
appears
> that
> > >>> there
> > >>> >> >> >>> >> > > >> > > > > is
> > >>> >> >> >>> >> > > >> > > > > an
> > >>> >> >> >>> >> error
> > >>> >> >> >>> >> > in
> > >>> >> >> >>> >> > > >> this
> > >>> >> >> >>> >> > > >> > > > > directory - nc_var_inco.cc which
includes
> > >>> >> >> >>> >> > > >> > > > > netcdf.hh.
> > >>> >> >> I
> > >>> >> >> >>> >> believe
> > >>> >> >> >>> >> > > it
> > >>> >> >> >>> >> > > >> > > should
> > >>> >> >> >>> >> > > >> > > > be
> > >>> >> >> >>> >> > > >> > > > > netcdf.h. Please let me know if
that is
> > >>> accurate
> > >>> >> or
> > >>> >> >> >>> >> > > >> > > > > not.
> > >>> >> >> >>> >> When
> > >>> >> >> >>> >> > I
> > >>> >> >> >>> >> > > >> > > > > fix
> > >>> >> >> >>> >> > > >> > > that
> > >>> >> >> >>> >> > > >> > > > I
> > >>> >> >> >>> >> > > >> > > > > get these errors -
> > >>> >> >> >>> >> > > >> > > > >
> > >>> >> >> >>> >> > > >> > > > >
> > >>> >> >> >>> >> > > >> > > > >
> > >>> >> >> >>> >> > > >> > > > > Regards,
> > >>> >> >> >>> >> > > >> > > > > Ashwin.
> > >>> >> >> >>> >> > > >> > > > >
> > >>> >> >> >>> >> > > >> > > > > make[3]: Entering directory
> > >>> >> >> >>> >> > > >> > > > >
> > >>> >> >> >>> >> >
> > >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
> > >>> >> >> >>> >> > > >> > > > > 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_geodesy
> > >>> >> >> >>> >> > > >> > > > > -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_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_shapedata
> > >>> >> >> >>> >> > > >> > > > >
-I../../../src/libcode/vx_statistics
> > >>> >> >> >>> >> > > >> > -I../../../src/libcode/vx_stat_out
> > >>> >> >> >>> >> > > >> > > > > -I../../../src/libcode/vx_tc_util
> -DBLOCK4
> > >>> >> >> >>> >> > > >> > > > > -DWITH_GRIB2
> > >>> >> >> >>> >> > > >> > > > >
-DMET_BASE="\"/usr/local/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
> > >>> >> >> >>> >> > > >> > > > > In file included from
nc_var_info.cc(24):
> > >>> >> >> >>> >> > > >> > > > > nc_var_info.h(24): catastrophic
error:
> > >>> >> >> >>> >> > > >> > > > > cannot
> > >>> >> open
> > >>> >> >> >>> source
> > >>> >> >> >>> >> file
> > >>> >> >> >>> >> > > >> > > > "netcdf.hh"
> > >>> >> >> >>> >> > > >> > > > >   #include <netcdf.hh>
> > >>> >> >> >>> >> > > >> > > > >                       ^
> > >>> >> >> >>> >> > > >> > > > >
> > >>> >> >> >>> >> > > >> > > > > compilation aborted for
nc_var_info.cc
> > (code
> > >>> 4)
> > >>> >> >> >>> >> > > >> > > > > make[3]: ***
> > [libvx_nc_util_a-nc_var_info.o]
> > >>> >> Error
> > >>> >> >> >>> >> > > >> > > > > 4
> > >>> >> >> >>> >> > > >> > > > > make[3]: Leaving directory
> > >>> >> >> >>> >> > > >> > > > >
> > >>> >> >> >>> >> >
> > >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
> > >>> >> >> >>> >> > > >> > > > > make[2]: *** [install-recursive]
Error 1
> > >>> >> >> >>> >> > > >> > > > > make[2]: Leaving directory
> > >>> >> >> >>> >> > > >> > > > >
> > >>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode'
> > >>> >> >> >>> >> > > >> > > > > make[1]: *** [install-recursive]
Error 1
> > >>> >> >> >>> >> > > >> > > > > make[1]: Leaving directory
> > >>> >> >> >>> >> > > >> > > `/home/aswin/meteorology_project/met-
5.0/src'
> > >>> >> >> >>> >> > > >> > > > > make: *** [install-recursive]
Error 1
> > >>> >> >> >>> >> > > >> > > > >
> > >>> >> >> >>> >> > > >> > > > > Ashwin.
> > >>> >> >> >>> >> > > >> > > > >
> > >>> >> >> >>> >> > > >> > > > >
> > >>> >> >> >>> >> > > >> > > >
> > >>> >> >> >>> >> > > >> > > >
> > >>> >> >> >>> >> > > >> > > > --
> > >>> >> >> >>> >> > > >> > > > Julie Prestopnik
> > >>> >> >> >>> >> > > >> > > > National Center for Atmospheric
Research
> > >>> >> >> >>> >> > > >> > > > Research Applications Laboratory
> > >>> >> >> >>> >> > > >> > > > Phone: 303.497.8399
> > >>> >> >> >>> >> > > >> > > > Email: jpresto at ucar.edu
> > >>> >> >> >>> >> > > >> > > >
> > >>> >> >> >>> >> > > >> > > >
> > >>> >> >> >>> >> > > >> > >
> > >>> >> >> >>> >> > > >> > >
> > >>> >> >> >>> >> > > >> >
> > >>> >> >> >>> >> > > >> >
> > >>> >> >> >>> >> > > >> > --
> > >>> >> >> >>> >> > > >> > Julie Prestopnik
> > >>> >> >> >>> >> > > >> > National Center for Atmospheric Research
> > >>> >> >> >>> >> > > >> > Research Applications Laboratory
> > >>> >> >> >>> >> > > >> > Phone: 303.497.8399
> > >>> >> >> >>> >> > > >> > Email: jpresto at ucar.edu
> > >>> >> >> >>> >> > > >> >
> > >>> >> >> >>> >> > > >> >
> > >>> >> >> >>> >> > > >>
> > >>> >> >> >>> >> > > >>
> > >>> >> >> >>> >> > > >
> > >>> >> >> >>> >> > > >
> > >>> >> >> >>> >> > > > --
> > >>> >> >> >>> >> > > > Julie Prestopnik
> > >>> >> >> >>> >> > > > National Center for Atmospheric Research
> > >>> >> >> >>> >> > > > Research Applications Laboratory
> > >>> >> >> >>> >> > > > Phone: 303.497.8399
> > >>> >> >> >>> >> > > > Email: jpresto at ucar.edu
> > >>> >> >> >>> >> > > >
> > >>> >> >> >>> >> > > >
> > >>> >> >> >>> >> > >
> > >>> >> >> >>> >> > >
> > >>> >> >> >>> >> >
> > >>> >> >> >>> >> >
> > >>> >> >> >>> >> > --
> > >>> >> >> >>> >> > Julie Prestopnik
> > >>> >> >> >>> >> > National Center for Atmospheric Research
> > >>> >> >> >>> >> > Research Applications Laboratory
> > >>> >> >> >>> >> > Phone: 303.497.8399
> > >>> >> >> >>> >> > Email: jpresto at ucar.edu
> > >>> >> >> >>> >> >
> > >>> >> >> >>> >> >
> > >>> >> >> >>> >>
> > >>> >> >> >>> >>
> > >>> >> >> >>> >
> > >>> >> >> >>> >
> > >>> >> >> >>> > --
> > >>> >> >> >>> > Julie Prestopnik
> > >>> >> >> >>> > National Center for Atmospheric Research
> > >>> >> >> >>> > Research Applications Laboratory
> > >>> >> >> >>> > Phone: 303.497.8399
> > >>> >> >> >>> > Email: jpresto at ucar.edu
> > >>> >> >> >>> >
> > >>> >> >> >>> >
> > >>> >> >> >>>
> > >>> >> >> >>>
> > >>> >> >> >>
> > >>> >> >> >
> > >>> >> >> >
> > >>> >> >>
> > >>> >> >>
> > >>> >> >
> > >>> >> >
> > >>> >>
> > >>> >>
> > >>> >
> > >>>
> > >>>
> > >>
> > >
> >
> >
>
>

------------------------------------------------
Subject: Not able to compile
From: John Halley Gotway
Time: Mon Nov 03 08:23:44 2014

Ashwin,

I see that you're still having trouble building MET, linking to the
GRIB2C
library you have installed in /usr/local.  Please verify that the
following
files exist in the location I've listed below:
  ls /usr/local/include/grib2.h
  ls /usr/local/lib/libgrib2c.a

If so, please try setting:
  setenv MET_GRIB2C /usr/local

If they are not in those locations, locate them and set the following:
  setenv MET_GRIB2CINC /directory/containing/header/files  (i.e.
grib2.h)
  setenv MET_GRIB2CLIB /directory/containing/library/files   (i.e.
libgrib2c.a)

And then re-run "configure" and "make install".

Looking in your config.log, I see that you had set "MET_GRIB2C =
/usr/local/lib":
   ac_cv_env_MET_GRIB2C_value=/usr/local/lib

When you set MET_GRIB2C = PATH, the configure command assumes the
include
files are in PATH/include and the library files are in PATH/lib.
Since you
set GRIB2C to /usr/local/lib, it looked in /usr/local/lib/include and
/usr/local/lib/lib, which obviously doesn't make sense.

It must be finding some version of the GRIB2C library that's
incompatible,
otherwise we would've seen a different linker error.  Please let me
know
how it goes.

Thanks
John

On Mon, Nov 3, 2014 at 1:27 AM, ashwinD12 . via RT <met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>
> Hi John,
>               Sorry for the late response. Had a series of holidays
here
> (Diwali) and so I had to take a welcome break from work. I apologize
but I
> have to let you know the missing references still persist. I am
enclosing
> the log file for make install. There is a libgrib2c.a in the
/usr/local/lib
> compiled with inter icc compiler and NOT with gcc.
>
> On Mon, Oct 20, 2014 at 11:31 PM, John Halley Gotway via RT <
> met_help at ucar.edu> wrote:
>
> > Ashwin,
> >
> > I took a look at the log file you sent and see that the current
problem
> is
> > GRIB2-related undefined references.  Support for GRIB2 in MET is
provided
> > by linking to several libraries:
> >    grib2c, png, jasper, and z libraries
> >
> > Without seeing your config.log, I can't be certain, but my working
theory
> > is this...
> >
> > - I'm guessing you installed the grib2c library using the intel
compilers
> > and set the MET_GRIB2C environment variable to something like
> > /path/to/grib2c.  That tells MET to look for the GRIB2C libraries
in
> > /path/to/grib2c/lib and the GRIB2C include files in
> > /path/to/grib2c/include.
> > - But those lib and include subdirectories don't actually exist!
> > - When you ran "make install", the linker couldn't find the GRIB2C
> library
> > in that directory that doesn't exist (/path/to/grib2c/lib) but did
find a
> > version of GRIB2C in some other location on your system, perhaps
compiled
> > with a different set of compilers.
> > - And that led to the linker errors you're seeing.
> >
> > If you think that may be what happened, just modify your
environment
> > variable settings as follows:
> >    unsetenv MET_GRIB2C
> >    setenv MET_GRIB2C_INC /path/to/grib2c
> >    setenv MET_GRIB2C_LIB /path/to/grib2c
> >
> > Then rerun "make clean", "configure", and "make install".
> >
> > Please let me know if that solves your problem.
> >
> > Thanks,
> > John
> >
> >
> >
> >
> >
> > On Mon, Oct 20, 2014 at 8:36 AM, ashwinD12 . via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
> > >
> > > Hello John,
> > >                  Any update on the compiler errors I get when I
run
> > > configrue with the --enable-grib2 option ?
> > > Regards,
> > > Ashwin.
> > >
> > > On 10/17/14, ashwinD12 . <winash12 at gmail.com> wrote:
> > > > Hi John,
> > > >                I reran configure with the --enable-grib2
option and I
> > > reran
> > > > make install and I get these errors enclosed in
make_install.log.
> > > > Regards,
> > > > Ashwin.
> > > >
> > > > On Fri, Oct 17, 2014 at 11:39 AM, ashwinD12 .
<winash12 at gmail.com>
> > > wrote:
> > > >
> > > >> Hi John,
> > > >>               Bingo four times I could say. I already had FC
set to
> > > ifort
> > > >> but I did not have F77 set to ifort. It was not even set so I
> suppose
> > it
> > > >> defaulted to gfortran. I set F77 to ifort and everything
compiled as
> > > >> well.
> > > >> I still am not satisfied with the BUFRLIB library as I got
some
> errors
> > > >> over
> > > >> there but that is for later I guess. I sent a mail to NCEP
but they
> > are
> > > >> yet
> > > >> to reply to me. Is there a forum for the BUFRLIB product ?
> > > >> Regards,
> > > >> Ashwin.
> > > >>
> > > >> On Thu, Oct 16, 2014 at 9:57 PM, John Halley Gotway via RT <
> > > >> met_help at ucar.edu> wrote:
> > > >>
> > > >>> Ashwin,
> > > >>>
> > > >>> Oops, sorry I told you to set the FC environment variable.
I
> should
> > > >>> have
> > > >>> said F77:
> > > >>>    setenv F77 `which gfortran`
> > > >>>
> > > >>> Thanks,
> > > >>> John
> > > >>>
> > > >>> On Thu, Oct 16, 2014 at 10:19 AM, John Halley Gotway <
> > johnhg at ucar.edu>
> > > >>> wrote:
> > > >>>
> > > >>> > Ashwin,
> > > >>> >
> > > >>> > Thanks for sending those files.  It makes it much easier
to
> debug.
> > > >>> > The
> > > >>> > problem is that you're mixing an intel C++ compiler (icpc)
with a
> > GNU
> > > >>> > fortran compiler (gfortran).  When compiling MET and all
the
> > > dependent
> > > >>> > libraries, we need to use the same family of compilers.
Mixing
> > > >>> > compiler
> > > >>> > families leads to the sort of undefined reference errors
that
> > you're
> > > >>> > getting.
> > > >>> >
> > > >>> > The question is, which family of compilers did you intend
to use,
> > > >>> > intel
> > > >>> or
> > > >>> > gnu.  The C/C++/Fortran compilers for intel are
icc/icc/ifort.
> The
> > > >>> > C/C++/Fortran compilers for GNU are gcc/g++/gfortran.  In
my
> > commands
> > > >>> > below, I'll assume you're using GNU, but you can swap them
out
> for
> > > the
> > > >>> > corresponding intel ones if needed.  Whichever set of
compilers
> you
> > > >>> > use,
> > > >>> > note that the dependent libraries (GSL, BUFRLIB, NetCDF)
should
> be
> > > >>> compiled
> > > >>> > with them as well.
> > > >>> >
> > > >>> > # Go to the top-level met-5.0 directory.
> > > >>> >
> > > >>> > # First make sure that these compilers are present on your
system
> > > >>> > which gcc
> > > >>> > which g++
> > > >>> > which gfortran
> > > >>> >
> > > >>> > # Set variables to tell configure which compilers you want
to use
> > > >>> > setenv CC `which gcc`
> > > >>> > setenv CXX `which g++`
> > > >>> > setenv FC `which gfortran`
> > > >>> >
> > > >>> > # Recompile MET
> > > >>> > make clean
> > > >>> > ./configure -prefix=`pwd`
> > > >>> > make install >& make_install.log
> > > >>> > make test >& make_test.log
> > > >>> >
> > > >>> > And then inspect "make_install.log" to make sure that MET
used
> the
> > > >>> > compilers you specified.
> > > >>> >
> > > >>> > Please let me know how that goes.
> > > >>> >
> > > >>> > Thanks,
> > > >>> > John
> > > >>> >
> > > >>> > On Thu, Oct 16, 2014 at 12:48 AM, ashwinD12 . via RT
> > > >>> > <met_help at ucar.edu
> > > >>> >
> > > >>> > wrote:
> > > >>> >
> > > >>> >>
> > > >>> >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
> > > >>> >>
> > > >>> >> Hello John,
> > > >>> >>                   Here you go - I am enclosing all the
log files
> > you
> > > >>> >> requested.
> > > >>> >> Regards,
> > > >>> >> Ashwin.
> > > >>> >>
> > > >>> >> On 10/15/14, John Halley Gotway via RT
<met_help at ucar.edu>
> wrote:
> > > >>> >> > Ashwin,
> > > >>> >> >
> > > >>> >> > Just so I can get a better understand of what's going
on,
> could
> > > you
> > > >>> >> please
> > > >>> >> > run the following commands in the top-level met-5.0
> directory...
> > > >>> >> >
> > > >>> >> >    printenv | grep MET_ > environment.log
> > > >>> >> >    make clean
> > > >>> >> >   ./configure -prefix=`pwd`
> > > >>> >> >   make install >& make_install.log
> > > >>> >> >   make test >& make_test.log
> > > >>> >> >
> > > >>> >> > And then send me these files: environment.log,
config.log,
> > > >>> >> > make_install.log, and make_test.log
> > > >>> >> >
> > > >>> >> > That'll give me a better idea of what's going on.
> > > >>> >> >
> > > >>> >> > Thanks,
> > > >>> >> > John
> > > >>> >> >
> > > >>> >> > On Wed, Oct 15, 2014 at 1:41 AM, ashwinD12 . via RT <
> > > >>> met_help at ucar.edu>
> > > >>> >> > wrote:
> > > >>> >> >
> > > >>> >> >>
> > > >>> >> >> <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> > >
> > > >>> >> >>
> > > >>> >> >> Hi John,
> > > >>> >> >>               I apologize for the late response. It is
not
> > > without
> > > >>> >> >> a
> > > >>> >> >> reason. I got past that point but I have a LIBRBUF
error. I
> had
> > > >>> >> >> sent
> > > >>> >> >> this report to NCEP website but have yet to hear from
them.
> > Until
> > > >>> >> >> I
> > > >>> >> >> hear from them I cannot test the new patches. Please
bear
> with
> > me
> > > >>> for
> > > >>> >> >> a few days and I will get back to you.
> > > >>> >> >> Regards,
> > > >>> >> >> Ashwin.
> > > >>> >> >>
> > > >>> >> >> On 10/15/14, John Halley Gotway via RT
<met_help at ucar.edu>
> > > wrote:
> > > >>> >> >> > Ashwin,
> > > >>> >> >> >
> > > >>> >> >> > I just posted the first set of patches for the met-
5.0
> > release,
> > > >>> and
> > > >>> >> >> > they
> > > >>> >> >> > include this fix.  Please follow the instructions
posted
> here
> > > to
> > > >>> >> >> > download
> > > >>> >> >> > and apply the latest set of patches:
> > > >>> >> >> >
> > > >>> >> >>
> > > >>> >>
> > > >>>
> > >
>
http://www.dtcenter.org/met/users/support/known_issues/METv5.0/index.php
> > > >>> >> >> >
> > > >>> >> >> > Please let me know if you continue to experience
problems
> > with
> > > >>> MET.
> > > >>> >> >> >
> > > >>> >> >> > Thanks,
> > > >>> >> >> > John Halley Gotway
> > > >>> >> >> > met_help at ucar.edu
> > > >>> >> >> >
> > > >>> >> >> > On Mon, Oct 13, 2014 at 3:02 PM, John Halley Gotway
<
> > > >>> johnhg at ucar.edu
> > > >>> >> >
> > > >>> >> >> > wrote:
> > > >>> >> >> >
> > > >>> >> >> >> Hello Ashwin,
> > > >>> >> >> >>
> > > >>> >> >> >> This is John Halley Gotway.  I work with Julie, but
she's
> > out
> > > >>> >> >> >> of
> > > >>> the
> > > >>> >> >> >> office today.  I took a look at this issue and
think I've
> > > >>> uncovered
> > > >>> >> >> >> the
> > > >>> >> >> >> problem.  And it's a problem on our end, not yours.
> Here's
> > > >>> >> >> >> what
> > > >>> I'd
> > > >>> >> >> like
> > > >>> >> >> >> you to try...
> > > >>> >> >> >>
> > > >>> >> >> >> Copy the three attached files (color_scanner.cc,
> > Makefile.in,
> > > >>> >> >> >> and
> > > >>> >> >> >> Makefile.am) into this directory:
> > > >>> >> >> >>    met-5.0/src/libcode/vx_color
> > > >>> >> >> >>
> > > >>> >> >> >> Then rerun "configure" and "make install".  Please
let me
> > know
> > > >>> >> >> >> if
> > > >>> >> this
> > > >>> >> >> >> resolves the error with lex.yy.c you were getting.
> > > >>> >> >> >>
> > > >>> >> >> >> In met-5.0, we switched over to building MET using
> autoconf.
> > > >>> >> >> >> The
> > > >>> >> MET
> > > >>> >> >> >> code
> > > >>> >> >> >> uses flex and bison (lex and yacc) to parse data
files in
> a
> > > few
> > > >>> >> >> >> places,
> > > >>> >> >> >> but
> > > >>> >> >> >> our intention is to run those tools here during the
> process
> > of
> > > >>> >> >> >> building
> > > >>> >> >> a
> > > >>> >> >> >> release.  I think the vx_color Makefile was
removing the
> > > output
> > > >>> of
> > > >>> >> >> >> flex
> > > >>> >> >> >> and
> > > >>> >> >> >> then trying to rebuild it by calling flex.  And
there's
> > > >>> >> >> >> probably
> > > >>> an
> > > >>> >> >> >> inconsistency between the version of flex we use
here and
> > the
> > > >>> one on
> > > >>> >> >> your
> > > >>> >> >> >> machine.
> > > >>> >> >> >>
> > > >>> >> >> >> Please do let me know if that resolves the problem.
Once
> we
> > > >>> >> >> >> get
> > > >>> a
> > > >>> >> >> >> good
> > > >>> >> >> >> fix for this issue, we'll post a patch on the known
issue
> > page
> > > >>> for
> > > >>> >> >> >> MET.
> > > >>> >> >> >>
> > > >>> >> >> >> Sorry for trouble, but thanks for helping us debug
this
> > issue!
> > > >>> >> >> >>
> > > >>> >> >> >> John Halley Gotway
> > > >>> >> >> >> met_help at ucar.edu
> > > >>> >> >> >>
> > > >>> >> >> >>
> > > >>> >> >> >>
> > > >>> >> >> >> On Thu, Oct 9, 2014 at 4:56 PM, ashwinD12 . via RT
<
> > > >>> >> met_help at ucar.edu>
> > > >>> >> >> >> wrote:
> > > >>> >> >> >>
> > > >>> >> >> >>>
> > > >>> >> >> >>> <URL:
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> > > >>> >> >> >>> >
> > > >>> >> >> >>>
> > > >>> >> >> >>> Hello Julie,
> > > >>> >> >> >>>                  There is no problem with the
netcdf
> > build. I
> > > >>> moved
> > > >>> >> >> >>> past that point. Did you look at the error
messages ? it
> is
> > > >>> >> >> >>> mentioning
> > > >>> >> >> >>> that there is some problem with lex.yy.c.
> > > >>> >> >> >>> Regards,
> > > >>> >> >> >>> Ashwin.
> > > >>> >> >> >>>
> > > >>> >> >> >>> On 10/9/14, Julie Prestopnik via RT
<met_help at ucar.edu>
> > > wrote:
> > > >>> >> >> >>> > Hi Ashwin.  I'm sorry to hear that you are still
having
> > > some
> > > >>> >> >> >>> > difficulty
> > > >>> >> >> >>> in
> > > >>> >> >> >>> > getting METv5.0 to build.
> > > >>> >> >> >>> >
> > > >>> >> >> >>> > I'd suggest downloading and compiling NetCDF
locally
> > using
> > > >>> >> >> >>> > the
> > > >>> >> >> >>> > following
> > > >>> >> >> >>> > steps:
> > > >>> >> >> >>> >
> > > >>> >> >> >>> > Download NetCDF 3.6.3 from here:
> > > >>> >> >> >>> >
> > > >>> >>
> > > http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-
3.6.3.tar.gz
> > > >>> >> >> >>> >
> > > >>> >> >> >>> > Then run:
> > > >>> >> >> >>> > tar -zxf netcdf-3.6.3.tar.gz
> > > >>> >> >> >>> > ./configure --prefix=`pwd`
> > > >>> >> >> >>> > make
> > > >>> >> >> >>> > make install
> > > >>> >> >> >>> >
> > > >>> >> >> >>> > These commands should compile the C and C++
interfaces
> > for
> > > >>> NetCDF
> > > >>> >> >> >>> > and
> > > >>> >> >> >>> skip
> > > >>> >> >> >>> > the Fortran interface that MET doesn't use.  It
will
> > > install
> > > >>> the
> > > >>> >> >> >>> library in
> > > >>> >> >> >>> > current "netcdf-3.6.3" directory due to the
> > --prefix=`pwd`
> > > >>> >> option.
> > > >>> >> >> >>> >
> > > >>> >> >> >>> > Next, you'll need to edit where you set
MET_NETCDF to
> > point
> > > >>> >> >> >>> > to
> > > >>> >> this
> > > >>> >> >> >>> > new
> > > >>> >> >> >>> > location, source your .cshrc or similiar file,
and
> > rebuild
> > > >>> MET.
> > > >>> >> >> >>> >
> > > >>> >> >> >>> > I just ran all of these steps and was able to
get a
> > > >>> >> >> >>> > successful
> > > >>> >> >> >>> > build
> > > >>> >> >> >>> > and
> > > >>> >> >> >>> > install of METv5.0.
> > > >>> >> >> >>> >
> > > >>> >> >> >>> > Please give this a try and let me know how it
goes.
> > > >>> >> >> >>> >
> > > >>> >> >> >>> > Thanks,
> > > >>> >> >> >>> > Julie
> > > >>> >> >> >>> >
> > > >>> >> >> >>> > On Thu, Oct 9, 2014 at 1:28 AM, ashwinD12 . via
RT <
> > > >>> >> >> met_help at ucar.edu>
> > > >>> >> >> >>> > wrote:
> > > >>> >> >> >>> >
> > > >>> >> >> >>> >>
> > > >>> >> >> >>> >> <URL:
> > > >>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
> > > >>> >> >> >>> >>
> > > >>> >> >> >>> >> Hi Julie,
> > > >>> >> >> >>> >>                I made some progress with some
> difficulty
> > > >>> which
> > > >>> >> is
> > > >>> >> >> >>> >> expected.
> > > >>> >> >> >>> >> First of all there are *two* C++ NETCDF
libraries
> and I
> > > >>> >> >> >>> >> had
> > > >>> to
> > > >>> >> >> >>> >> use
> > > >>> >> >> >>> >> the
> > > >>> >> >> >>> >> legacy C++ NETCDF source code to build with MET
5.0.
> The
> > > >>> >> netcdf.hh
> > > >>> >> >> >>> >> file
> > > >>> >> >> >>> >> is
> > > >>> >> >> >>> >> NOT found in the latest C++ NETCDF interface
but in
> the
> > > >>> legacy
> > > >>> >> >> >>> >> distribution. It would be helpful if you could
update
> > the
> > > >>> >> >> >>> >> documentation
> > > >>> >> >> >>> >> to
> > > >>> >> >> >>> >> reflect this.
> > > >>> >> >> >>> >> Then I did not have lex and yacc on my Ubuntu
and I
> > > updated
> > > >>> my
> > > >>> >> >> system
> > > >>> >> >> >>> to
> > > >>> >> >> >>> >> reflect that. Then I ran make install again and
here
> > are
> > > >>> >> >> >>> >> the
> > > >>> >> >> >>> >> latest
> > > >>> >> >> >>> >> error
> > > >>> >> >> >>> >> -
> > > >>> >> >> >>> >> make[4]: Nothing to be done for `install-exec-
am'.
> > > >>> >> >> >>> >> make[4]: Nothing to be done for `install-data-
am'.
> > > >>> >> >> >>> >> make[4]: Leaving directory
> > > >>> >> >> >>> >>
> > > `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_afm'
> > > >>> >> >> >>> >> make[3]: Leaving directory
> > > >>> >> >> >>> >>
> > > `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_afm'
> > > >>> >> >> >>> >> Making install in vx_color
> > > >>> >> >> >>> >> make[3]: Entering directory
> > > >>> >> >> >>> >>
> > > >>> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_color'
> > > >>> >> >> >>> >> /bin/bash ../../../ylwrap color_scanner.ll .c
> > > >>> color_scanner.cc
> > > >>> >> --
> > > >>> >> >> >>> >> :
> > > >>> >> >> >>> >> --prefix=color --outfile=lex.yy.c
> > > >>> >> >> >>> >> make[3]: *** [color_scanner.cc] Error 1
> > > >>> >> >> >>> >> make[3]: Leaving directory
> > > >>> >> >> >>> >>
> > > >>> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_color'
> > > >>> >> >> >>> >> make[2]: *** [install-recursive] Error 1
> > > >>> >> >> >>> >> make[2]: Leaving directory
> > > >>> >> >> >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode'
> > > >>> >> >> >>> >> make[1]: *** [install-recursive] Error 1
> > > >>> >> >> >>> >> make[1]: Leaving directory
> > > >>> >> >> >>> `/home/aswin/meteorology_project/met-5.0/src'
> > > >>> >> >> >>> >> make: *** [install-recursive] Error 1
> > > >>> >> >> >>> >>
> > > >>> >> >> >>> >>
> > > >>> >> >> >>> >>
> > > >>> >> >> >>> >> On Wed, Oct 8, 2014 at 8:13 PM, Julie
Prestopnik via
> RT
> > > >>> >> >> >>> >> <met_help at ucar.edu
> > > >>> >> >> >>> >> >
> > > >>> >> >> >>> >> wrote:
> > > >>> >> >> >>> >>
> > > >>> >> >> >>> >> > Hi Ashwin.  I agree. MET expects the C++
interface
> to
> > be
> > > >>> >> >> >>> >> > compiled.
> > > >>> >> >> >>> >> Please
> > > >>> >> >> >>> >> > try building and compiling NETCDF to include
the C++
> > > >>> interface
> > > >>> >> >> >>> >> > and
> > > >>> >> >> >>> then
> > > >>> >> >> >>> >> > rebuild and recompile MET.  Please let me
know how
> it
> > > >>> >> >> >>> >> > turns
> > > >>> >> out.
> > > >>> >> >> >>> >> >
> > > >>> >> >> >>> >> > Thanks,
> > > >>> >> >> >>> >> > Julie
> > > >>> >> >> >>> >> >
> > > >>> >> >> >>> >> > On Wed, Oct 8, 2014 at 7:51 AM, ashwinD12 .
via RT <
> > > >>> >> >> >>> met_help at ucar.edu>
> > > >>> >> >> >>> >> > wrote:
> > > >>> >> >> >>> >> >
> > > >>> >> >> >>> >> > >
> > > >>> >> >> >>> >> > > <URL:
> > > >>> >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> > > >>> >> >> >>> >> > > >
> > > >>> >> >> >>> >> > >
> > > >>> >> >> >>> >> > > I am not at the machine where the problem
is
> > happening
> > > >>> but I
> > > >>> >> >> >>> >> > > can
> > > >>> >> >> >>> >> > > guess
> > > >>> >> >> >>> >> > > the root cause of the problem. When
compiling
> NETCDF
> > > >>> >> >> >>> >> > > for
> > > >>> >> WRF I
> > > >>> >> >> >>> only
> > > >>> >> >> >>> >> > > compiled the C and FORTRAN libraries and
not the
> C++
> > > >>> >> >> >>> >> > > libraries.
> > > >>> >> >> >>> >> > > So
> > > >>> >> >> >>> I
> > > >>> >> >> >>> >> > > will need to recompile NETCDF and this time
> compile
> > > for
> > > >>> C++
> > > >>> >> as
> > > >>> >> >> >>> >> > > well
> > > >>> >> >> >>> >> > > by
> > > >>> >> >> >>> >> > > specifying the environment variable CXX. I
do not
> > > think
> > > >>> >> there
> > > >>> >> >> >>> >> > > is
> > > >>> >> >> >>> >> > > a
> > > >>> >> >> >>> >> > > file netcdf.hh under /usr/local/include. I
will
> > > confirm
> > > >>> this
> > > >>> >> >> >>> tomorrow
> > > >>> >> >> >>> >> > > morning my time.
> > > >>> >> >> >>> >> > > Regards.
> > > >>> >> >> >>> >> > >
> > > >>> >> >> >>> >> > > On 10/8/14, Julie Prestopnik via RT <
> > > met_help at ucar.edu>
> > > >>> >> wrote:
> > > >>> >> >> >>> >> > > > Great!  Thank you.  Can you please take a
look
> in
> > > >>> >> >> MET_NETCDFINC
> > > >>> >> >> >>> >> > > > (/usr/local/
> > > >>> >> >> >>> >> > > > include) and tell me if you see
netcdf.hh?
> > > >>> >> >> >>> >> > > >
> > > >>> >> >> >>> >> > > > Julie
> > > >>> >> >> >>> >> > > >
> > > >>> >> >> >>> >> > > > On Tue, Oct 7, 2014 at 11:18 PM,
ashwinD12 . via
> > RT
> > > <
> > > >>> >> >> >>> >> met_help at ucar.edu
> > > >>> >> >> >>> >> > >
> > > >>> >> >> >>> >> > > > wrote:
> > > >>> >> >> >>> >> > > >
> > > >>> >> >> >>> >> > > >>
> > > >>> >> >> >>> >> > > >> <URL:
> > > >>> >> >>
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> > > >>> >> >> >>> >> > > >> >
> > > >>> >> >> >>> >> > > >>
> > > >>> >> >> >>> >> > > >> Hi Julie, I am sending you the required
> > information
> > > >>> >> >> >>> >> > > >>
> > > >>> >> >> >>> >> > > >> printenv | grep MET
> > > >>> >> >> >>> >> > > >>
> > > >>> >> >> >>> >> > > >> MET_GSLLIB=/usr/local/lib
> > > >>> >> >> >>> >> > > >> MET_GRIB2LIB=/usr/local/lib
> > > >>> >> >> >>> >> > > >> MET_GSLINC=/usr/local/include
> > > >>> >> >> >>> >> > > >> MET_NETCDFINC=/usr/local/include
> > > >>> >> >> >>> >> > > >> MET_NETCDFLIB=/usr/local/lib
> > > >>> >> >> >>> >> > > >>
> > > >>> >> >> >>> >> > > >> On Tue, Oct 7, 2014 at 8:52 PM, Julie
> Prestopnik
> > > via
> > > >>> RT
> > > >>> >> >> >>> >> > > >> <met_help at ucar.edu
> > > >>> >> >> >>> >> > > >> >
> > > >>> >> >> >>> >> > > >> wrote:
> > > >>> >> >> >>> >> > > >>
> > > >>> >> >> >>> >> > > >> > Hi Ashwin.  I see you're still having
> problems
> > > >>> >> >> >>> >> > > >> > with
> > > >>> MET
> > > >>> >> >> >>> finding
> > > >>> >> >> >>> >> > > >> netcdf.hh.
> > > >>> >> >> >>> >> > > >> >
> > > >>> >> >> >>> >> > > >> > Could you please run "printenv | grep
MET"
> and
> > > >>> >> >> >>> >> > > >> > send
> > > >>> me
> > > >>> >> >> >>> >> > > >> > the
> > > >>> >> >> >>> >> > > >> > output?
> > > >>> >> >> >>> >> > > >> >
> > > >>> >> >> >>> >> > > >> > Thank you.
> > > >>> >> >> >>> >> > > >> >
> > > >>> >> >> >>> >> > > >> > Julie
> > > >>> >> >> >>> >> > > >> >
> > > >>> >> >> >>> >> > > >> > On Tue, Oct 7, 2014 at 6:07 AM,
ashwinD12 .
> via
> > > RT
> > > >>> >> >> >>> >> > > >> > <
> > > >>> >> >> >>> >> > met_help at ucar.edu
> > > >>> >> >> >>> >> > > >
> > > >>> >> >> >>> >> > > >> > wrote:
> > > >>> >> >> >>> >> > > >> >
> > > >>> >> >> >>> >> > > >> > >
> > > >>> >> >> >>> >> > > >> > > <URL:
> > > >>> >> >> >>>
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> > > >>> >> >> >>> >> > > >> > > >
> > > >>> >> >> >>> >> > > >> > >
> > > >>> >> >> >>> >> > > >> > > Hello,
> > > >>> >> >> >>> >> > > >> > >             I apologize for the late
> response
> > > on
> > > >>> this
> > > >>> >> >> >>> >> > > >> > > as
> > > >>> >> >> I
> > > >>> >> >> >>> >> > > >> > > have
> > > >>> >> >> >>> >> > > >> tracking
> > > >>> >> >> >>> >> > > >> > > another WRF problem. The problem
still
> > persists
> > > >>> >> >> >>> >> > > >> > > I first typed ./configure
--prefix=`pwd`
> > > >>> >> --enable-grib2
> > > >>> >> >> >>> >> > > >> > > and
> > > >>> >> >> >>> >> > > >> > > then
> > > >>> >> >> >>> >> > > >> followed
> > > >>> >> >> >>> >> > > >> > > by make install and I got these
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_geodesy
> > > >>> >> >> >>> >> -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_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_shapedata
> > > >>> >> >> >>> >> > > >> > > -I../../../src/libcode/vx_statistics
> > > >>> >> >> >>> >> > > >> > > -I../../../src/libcode/vx_stat_out
> > > >>> >> >> >>> >> > > >> > > -I../../../src/libcode/vx_tc_util
> > > >>> >> -I/usr/local/include
> > > >>> >> >> >>> >> > > >> > -I/usr/local/include
> > > >>> >> >> >>> >> > > >> > > -DBLOCK4 -DWITH_GRIB2
> > > >>> >> >> >>> >> > > >> > >
> > > >>> >> >> >>> >>
> > > >>> >>
> -DMET_BASE="\"/home/aswin/meteorology_project/met-5.0/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
> > > >>> >> >> >>> >> > > >> > > In file included from
nc_var_info.cc(24):
> > > >>> >> >> >>> >> > > >> > > nc_var_info.h(24): catastrophic
error:
> cannot
> > > >>> >> >> >>> >> > > >> > > open
> > > >>> >> >> >>> >> > > >> > > source
> > > >>> >> >> >>> file
> > > >>> >> >> >>> >> > > >> > "netcdf.hh"
> > > >>> >> >> >>> >> > > >> > >   #include <netcdf.hh>
> > > >>> >> >> >>> >> > > >> > >                       ^
> > > >>> >> >> >>> >> > > >> > >
> > > >>> >> >> >>> >> > > >> > > compilation aborted for
nc_var_info.cc
> (code
> > 4)
> > > >>> >> >> >>> >> > > >> > > make[3]: ***
> [libvx_nc_util_a-nc_var_info.o]
> > > >>> Error 4
> > > >>> >> >> >>> >> > > >> > > make[3]: Leaving directory
> > > >>> >> >> >>> >> > > >> > >
> > > >>> >> >> >>>
> > > `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
> > > >>> >> >> >>> >> > > >> > > make[2]: *** [install-recursive]
Error 1
> > > >>> >> >> >>> >> > > >> > > make[2]: Leaving directory
> > > >>> >> >> >>> >> > > >> > >
> > > >>> `/home/aswin/meteorology_project/met-5.0/src/libcode'
> > > >>> >> >> >>> >> > > >> > > make[1]: *** [install-recursive]
Error 1
> > > >>> >> >> >>> >> > > >> > > make[1]: Leaving directory
> > > >>> >> >> >>> >> > > >> >
> > `/home/aswin/meteorology_project/met-5.0/src'ds.
> > > >>> >> >> >>> >> > > >> > > I first typed ./configure
--prefix=`pwd`
> > > >>> >> --enable-grib2
> > > >>> >> >> >>> >> > > >> > > and
> > > >>> >> >> >>> >> > > >> > > then
> > > >>> >> >> >>> >> > > >> followed
> > > >>> >> >> >>> >> > > >> > > by make install and I got these
messages -
> > > >>> >> >> >>> >> > > >> > >
> > > >>> >> >> >>> >> > > >> > >
> > > >>> >> >> >>> >> > > >> > > On Tue, Sep 16, 2014 at 9:28 PM,
Julie
> > > >>> >> >> >>> >> > > >> > > Prestopnik
> > > >>> via
> > > >>> >> >> >>> >> > > >> > > RT
> > > >>> >> >> <
> > > >>> >> >> >>> >> > > >> > > met_help at ucar.edu>
> > > >>> >> >> >>> >> > > >> > > wrote:
> > > >>> >> >> >>> >> > > >> > >
> > > >>> >> >> >>> >> > > >> > > > Hi Ashwin.
> > > >>> >> >> >>> >> > > >> > > >
> > > >>> >> >> >>> >> > > >> > > > Thanks for downloading the latest
release
> > of
> > > >>> MET.
> > > >>> >> I
> > > >>> >> >> see
> > > >>> >> >> >>> >> > > >> > > > that
> > > >>> >> >> >>> >> > > >> > > > you're
> > > >>> >> >> >>> >> > > >> > > > having  trouble
configuring/compiling it.
> > We
> > > >>> >> >> >>> >> > > >> > > > switched
> > > >>> >> >> >>> over
> > > >>> >> >> >>> >> > > >> > > > to
> > > >>> >> >> >>> >> > > >> > > > using
> > > >>> >> >> >>> >> > > >> > > > autoconf for  building MET version
5.0.
> In
> > > >>> >> previous
> > > >>> >> >> >>> >> > > >> > > > versions,
> > > >>> >> >> >>> >> > you
> > > >>> >> >> >>> >> > > >> > > edited a
> > > >>> >> >> >>> >> > > >> > > > file by hand and then typed
"make".  Now,
> > you
> > > >>> run
> > > >>> >> the
> > > >>> >> >> >>> >> configure
> > > >>> >> >> >>> >> > > >> script.
> > > >>> >> >> >>> >> > > >> > > > Please read  through the top-level
> > > >>> met-5.0/README
> > > >>> >> >> >>> >> > > >> > > > file
> > > >>> >> >> >>> >> > > >> > > > for
> > > >>> >> >> >>> >> > > >> instructions
> > > >>> >> >> >>> >> > > >> > > > about building MET.
> > > >>> >> >> >>> >> > > >> > > >
> > > >>> >> >> >>> >> > > >> > > > You can set several environment
variables
> > to
> > > >>> tell
> > > >>> >> the
> > > >>> >> >> >>> >> configure
> > > >>> >> >> >>> >> > > >> script
> > > >>> >> >> >>> >> > > >> > > > where to find the dependent
libraries.
> For
> > > >>> >> example,
> > > >>> >> >> >>> >> MET_NETCDF
> > > >>> >> >> >>> >> > > >> > > > tells
> > > >>> >> >> >>> >> > > >> > it
> > > >>> >> >> >>> >> > > >> > > > where to find NetCDF.
nc_var_inco.cc
> > should
> > > >>> >> >> >>> >> > > >> > > > be
> > > >>> >> >> >>> >> > > >> > > > looking
> > > >>> >> >> >>> for
> > > >>> >> >> >>> >> > > >> netcdf.hh.
> > > >>> >> >> >>> >> > > >> > > > That's the include file for the
C++
> > > interface.
> > > >>> >> There
> > > >>> >> >> >>> >> > > >> > > > are
> > > >>> >> >> >>> >> > > >> > > > many
> > > >>> >> >> >>> >> > > >> > different
> > > >>> >> >> >>> >> > > >> > > > ways of compiling NetCDF, and MET
expects
> > the
> > > >>> C++
> > > >>> >> >> >>> interface
> > > >>> >> >> >>> >> > > >> > > > to
> > > >>> >> >> >>> >> > be
> > > >>> >> >> >>> >> > > >> > > > compiled.  There are some
instructions
> for
> > > >>> >> compiling
> > > >>> >> >> >>> NetCDF
> > > >>> >> >> >>> >> for
> > > >>> >> >> >>> >> > > MET
> > > >>> >> >> >>> >> > > >> > here:
> > > >>> >> >> >>> >> > > >> > > >
> > > >>> >> >> >>> >> > > >> > > >
> > > >>> >> >> >>> >> > > >> > >
> > > >>> >> >> >>> >> > > >> >
> > > >>> >> >> >>> >> > > >>
> > > >>> >> >> >>> >> > >
> > > >>> >> >> >>> >> >
> > > >>> >> >> >>> >>
> > > >>> >> >> >>>
> > > >>> >> >>
> > > >>> >>
> > > >>>
> > >
> >
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
> > > >>> >> >> >>> >> > > >> > > >
> > > >>> >> >> >>> >> > > >> > > > Please take a look at the
instructions
> for
> > > >>> >> compiling
> > > >>> >> >> >>> NetCDF
> > > >>> >> >> >>> >> for
> > > >>> >> >> >>> >> > > MET
> > > >>> >> >> >>> >> > > >> and
> > > >>> >> >> >>> >> > > >> > > at
> > > >>> >> >> >>> >> > > >> > > > the top-level met-5.0/README file
for
> > > >>> instructions
> > > >>> >> >> about
> > > >>> >> >> >>> >> > building
> > > >>> >> >> >>> >> > > >> > > > MET
> > > >>> >> >> >>> >> > > >> > and
> > > >>> >> >> >>> >> > > >> > > > let us know if you continue to
experience
> > > >>> problems.
> > > >>> >> >> >>> >> > > >> > > >
> > > >>> >> >> >>> >> > > >> > > > Thanks,
> > > >>> >> >> >>> >> > > >> > > > Julie
> > > >>> >> >> >>> >> > > >> > > >
> > > >>> >> >> >>> >> > > >> > > > On Mon, Sep 15, 2014 at 11:22 PM,
> > ashwinD12 .
> > > >>> via
> > > >>> >> RT
> > > >>> >> >> >>> >> > > >> > > > <
> > > >>> >> >> >>> >> > > >> > met_help at ucar.edu>
> > > >>> >> >> >>> >> > > >> > > > wrote:
> > > >>> >> >> >>> >> > > >> > > >
> > > >>> >> >> >>> >> > > >> > > > >
> > > >>> >> >> >>> >> > > >> > > > > Mon Sep 15 23:22:39 2014:
Request 68987
> > was
> > > >>> acted
> > > >>> >> >> >>> >> > > >> > > > > upon.
> > > >>> >> >> >>> >> > > >> > > > > Transaction: Ticket created by
> > > >>> >> winash12 at gmail.com
> > > >>> >> >> >>> >> > > >> > > > >        Queue: met_help
> > > >>> >> >> >>> >> > > >> > > > >      Subject: Not able to
compile
> > > >>> >> >> >>> >> > > >> > > > >        Owner: Nobody
> > > >>> >> >> >>> >> > > >> > > > >   Requestors: winash12 at gmail.com
> > > >>> >> >> >>> >> > > >> > > > >       Status: new
> > > >>> >> >> >>> >> > > >> > > > >  Ticket <URL:
> > > >>> >> >> >>> >> > > >> >
> > > >>> >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> > > >>> >> >> >>> >> > > >> > > >
> > > >>> >> >> >>> >> > > >> > > > >
> > > >>> >> >> >>> >> > > >> > > > >
> > > >>> >> >> >>> >> > > >> > > > > Hello,
> > > >>> >> >> >>> >> > > >> > > > >            I downloaded the
latest
> > version
> > > >>> and I
> > > >>> >> am
> > > >>> >> >> >>> unable
> > > >>> >> >> >>> >> to
> > > >>> >> >> >>> >> > > >> compile
> > > >>> >> >> >>> >> > > >> > > > this
> > > >>> >> >> >>> >> > > >> > > > > at all.
> > > >>> >> >> >>> >> > > >> > > > >
> > > >>> >> >> >>> >> > > >> > > > > Here are the errors - first it
appears
> > that
> > > >>> there
> > > >>> >> >> >>> >> > > >> > > > > is
> > > >>> >> >> >>> >> > > >> > > > > an
> > > >>> >> >> >>> >> error
> > > >>> >> >> >>> >> > in
> > > >>> >> >> >>> >> > > >> this
> > > >>> >> >> >>> >> > > >> > > > > directory - nc_var_inco.cc which
> includes
> > > >>> >> >> >>> >> > > >> > > > > netcdf.hh.
> > > >>> >> >> I
> > > >>> >> >> >>> >> believe
> > > >>> >> >> >>> >> > > it
> > > >>> >> >> >>> >> > > >> > > should
> > > >>> >> >> >>> >> > > >> > > > be
> > > >>> >> >> >>> >> > > >> > > > > netcdf.h. Please let me know if
that is
> > > >>> accurate
> > > >>> >> or
> > > >>> >> >> >>> >> > > >> > > > > not.
> > > >>> >> >> >>> >> When
> > > >>> >> >> >>> >> > I
> > > >>> >> >> >>> >> > > >> > > > > fix
> > > >>> >> >> >>> >> > > >> > > that
> > > >>> >> >> >>> >> > > >> > > > I
> > > >>> >> >> >>> >> > > >> > > > > get these errors -
> > > >>> >> >> >>> >> > > >> > > > >
> > > >>> >> >> >>> >> > > >> > > > >
> > > >>> >> >> >>> >> > > >> > > > >
> > > >>> >> >> >>> >> > > >> > > > > Regards,
> > > >>> >> >> >>> >> > > >> > > > > Ashwin.
> > > >>> >> >> >>> >> > > >> > > > >
> > > >>> >> >> >>> >> > > >> > > > > make[3]: Entering directory
> > > >>> >> >> >>> >> > > >> > > > >
> > > >>> >> >> >>> >> >
> > > >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
> > > >>> >> >> >>> >> > > >> > > > > 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_geodesy
> > > >>> >> >> >>> >> > > >> > > > > -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_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_shapedata
> > > >>> >> >> >>> >> > > >> > > > >
-I../../../src/libcode/vx_statistics
> > > >>> >> >> >>> >> > > >> > -I../../../src/libcode/vx_stat_out
> > > >>> >> >> >>> >> > > >> > > > >
-I../../../src/libcode/vx_tc_util
> > -DBLOCK4
> > > >>> >> >> >>> >> > > >> > > > > -DWITH_GRIB2
> > > >>> >> >> >>> >> > > >> > > > >
-DMET_BASE="\"/usr/local/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
> > > >>> >> >> >>> >> > > >> > > > > In file included from
> nc_var_info.cc(24):
> > > >>> >> >> >>> >> > > >> > > > > nc_var_info.h(24): catastrophic
error:
> > > >>> >> >> >>> >> > > >> > > > > cannot
> > > >>> >> open
> > > >>> >> >> >>> source
> > > >>> >> >> >>> >> file
> > > >>> >> >> >>> >> > > >> > > > "netcdf.hh"
> > > >>> >> >> >>> >> > > >> > > > >   #include <netcdf.hh>
> > > >>> >> >> >>> >> > > >> > > > >                       ^
> > > >>> >> >> >>> >> > > >> > > > >
> > > >>> >> >> >>> >> > > >> > > > > compilation aborted for
nc_var_info.cc
> > > (code
> > > >>> 4)
> > > >>> >> >> >>> >> > > >> > > > > make[3]: ***
> > > [libvx_nc_util_a-nc_var_info.o]
> > > >>> >> Error
> > > >>> >> >> >>> >> > > >> > > > > 4
> > > >>> >> >> >>> >> > > >> > > > > make[3]: Leaving directory
> > > >>> >> >> >>> >> > > >> > > > >
> > > >>> >> >> >>> >> >
> > > >>> >> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
> > > >>> >> >> >>> >> > > >> > > > > make[2]: *** [install-recursive]
Error
> 1
> > > >>> >> >> >>> >> > > >> > > > > make[2]: Leaving directory
> > > >>> >> >> >>> >> > > >> > > > >
> > > >>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode'
> > > >>> >> >> >>> >> > > >> > > > > make[1]: *** [install-recursive]
Error
> 1
> > > >>> >> >> >>> >> > > >> > > > > make[1]: Leaving directory
> > > >>> >> >> >>> >> > > >> > >
> `/home/aswin/meteorology_project/met-5.0/src'
> > > >>> >> >> >>> >> > > >> > > > > make: *** [install-recursive]
Error 1
> > > >>> >> >> >>> >> > > >> > > > >
> > > >>> >> >> >>> >> > > >> > > > > Ashwin.
> > > >>> >> >> >>> >> > > >> > > > >
> > > >>> >> >> >>> >> > > >> > > > >
> > > >>> >> >> >>> >> > > >> > > >
> > > >>> >> >> >>> >> > > >> > > >
> > > >>> >> >> >>> >> > > >> > > > --
> > > >>> >> >> >>> >> > > >> > > > Julie Prestopnik
> > > >>> >> >> >>> >> > > >> > > > National Center for Atmospheric
Research
> > > >>> >> >> >>> >> > > >> > > > Research Applications Laboratory
> > > >>> >> >> >>> >> > > >> > > > Phone: 303.497.8399
> > > >>> >> >> >>> >> > > >> > > > Email: jpresto at ucar.edu
> > > >>> >> >> >>> >> > > >> > > >
> > > >>> >> >> >>> >> > > >> > > >
> > > >>> >> >> >>> >> > > >> > >
> > > >>> >> >> >>> >> > > >> > >
> > > >>> >> >> >>> >> > > >> >
> > > >>> >> >> >>> >> > > >> >
> > > >>> >> >> >>> >> > > >> > --
> > > >>> >> >> >>> >> > > >> > Julie Prestopnik
> > > >>> >> >> >>> >> > > >> > National Center for Atmospheric
Research
> > > >>> >> >> >>> >> > > >> > Research Applications Laboratory
> > > >>> >> >> >>> >> > > >> > Phone: 303.497.8399
> > > >>> >> >> >>> >> > > >> > Email: jpresto at ucar.edu
> > > >>> >> >> >>> >> > > >> >
> > > >>> >> >> >>> >> > > >> >
> > > >>> >> >> >>> >> > > >>
> > > >>> >> >> >>> >> > > >>
> > > >>> >> >> >>> >> > > >
> > > >>> >> >> >>> >> > > >
> > > >>> >> >> >>> >> > > > --
> > > >>> >> >> >>> >> > > > Julie Prestopnik
> > > >>> >> >> >>> >> > > > National Center for Atmospheric Research
> > > >>> >> >> >>> >> > > > Research Applications Laboratory
> > > >>> >> >> >>> >> > > > Phone: 303.497.8399
> > > >>> >> >> >>> >> > > > Email: jpresto at ucar.edu
> > > >>> >> >> >>> >> > > >
> > > >>> >> >> >>> >> > > >
> > > >>> >> >> >>> >> > >
> > > >>> >> >> >>> >> > >
> > > >>> >> >> >>> >> >
> > > >>> >> >> >>> >> >
> > > >>> >> >> >>> >> > --
> > > >>> >> >> >>> >> > Julie Prestopnik
> > > >>> >> >> >>> >> > National Center for Atmospheric Research
> > > >>> >> >> >>> >> > Research Applications Laboratory
> > > >>> >> >> >>> >> > Phone: 303.497.8399
> > > >>> >> >> >>> >> > Email: jpresto at ucar.edu
> > > >>> >> >> >>> >> >
> > > >>> >> >> >>> >> >
> > > >>> >> >> >>> >>
> > > >>> >> >> >>> >>
> > > >>> >> >> >>> >
> > > >>> >> >> >>> >
> > > >>> >> >> >>> > --
> > > >>> >> >> >>> > Julie Prestopnik
> > > >>> >> >> >>> > National Center for Atmospheric Research
> > > >>> >> >> >>> > Research Applications Laboratory
> > > >>> >> >> >>> > Phone: 303.497.8399
> > > >>> >> >> >>> > Email: jpresto at ucar.edu
> > > >>> >> >> >>> >
> > > >>> >> >> >>> >
> > > >>> >> >> >>>
> > > >>> >> >> >>>
> > > >>> >> >> >>
> > > >>> >> >> >
> > > >>> >> >> >
> > > >>> >> >>
> > > >>> >> >>
> > > >>> >> >
> > > >>> >> >
> > > >>> >>
> > > >>> >>
> > > >>> >
> > > >>>
> > > >>>
> > > >>
> > > >
> > >
> > >
> >
> >
>
>

------------------------------------------------
Subject: Not able to compile
From: ashwinD12 .
Time: Mon Nov 03 08:27:52 2014

John,
         You nailed it. There is NO /usr/local/include/grib2.h. I do
not
know why. There is of course a libgrib2c.a in /usr/local/lib.
So the question is  why ?

On Mon, Nov 3, 2014 at 8:53 PM, John Halley Gotway via RT
<met_help at ucar.edu
> wrote:

> Ashwin,
>
> I see that you're still having trouble building MET, linking to the
GRIB2C
> library you have installed in /usr/local.  Please verify that the
following
> files exist in the location I've listed below:
>   ls /usr/local/include/grib2.h
>   ls /usr/local/lib/libgrib2c.a
>
> If so, please try setting:
>   setenv MET_GRIB2C /usr/local
>
> If they are not in those locations, locate them and set the
following:
>   setenv MET_GRIB2CINC /directory/containing/header/files  (i.e.
grib2.h)
>   setenv MET_GRIB2CLIB /directory/containing/library/files   (i.e.
> libgrib2c.a)
>
> And then re-run "configure" and "make install".
>
> Looking in your config.log, I see that you had set "MET_GRIB2C =
> /usr/local/lib":
>    ac_cv_env_MET_GRIB2C_value=/usr/local/lib
>
> When you set MET_GRIB2C = PATH, the configure command assumes the
include
> files are in PATH/include and the library files are in PATH/lib.
Since you
> set GRIB2C to /usr/local/lib, it looked in /usr/local/lib/include
and
> /usr/local/lib/lib, which obviously doesn't make sense.
>
> It must be finding some version of the GRIB2C library that's
incompatible,
> otherwise we would've seen a different linker error.  Please let me
know
> how it goes.
>
> Thanks
> John
>
> On Mon, Nov 3, 2014 at 1:27 AM, ashwinD12 . via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
> >
> > Hi John,
> >               Sorry for the late response. Had a series of
holidays here
> > (Diwali) and so I had to take a welcome break from work. I
apologize but
> I
> > have to let you know the missing references still persist. I am
enclosing
> > the log file for make install. There is a libgrib2c.a in the
> /usr/local/lib
> > compiled with inter icc compiler and NOT with gcc.
> >
> > On Mon, Oct 20, 2014 at 11:31 PM, John Halley Gotway via RT <
> > met_help at ucar.edu> wrote:
> >
> > > Ashwin,
> > >
> > > I took a look at the log file you sent and see that the current
problem
> > is
> > > GRIB2-related undefined references.  Support for GRIB2 in MET is
> provided
> > > by linking to several libraries:
> > >    grib2c, png, jasper, and z libraries
> > >
> > > Without seeing your config.log, I can't be certain, but my
working
> theory
> > > is this...
> > >
> > > - I'm guessing you installed the grib2c library using the intel
> compilers
> > > and set the MET_GRIB2C environment variable to something like
> > > /path/to/grib2c.  That tells MET to look for the GRIB2C
libraries in
> > > /path/to/grib2c/lib and the GRIB2C include files in
> > > /path/to/grib2c/include.
> > > - But those lib and include subdirectories don't actually exist!
> > > - When you ran "make install", the linker couldn't find the
GRIB2C
> > library
> > > in that directory that doesn't exist (/path/to/grib2c/lib) but
did
> find a
> > > version of GRIB2C in some other location on your system, perhaps
> compiled
> > > with a different set of compilers.
> > > - And that led to the linker errors you're seeing.
> > >
> > > If you think that may be what happened, just modify your
environment
> > > variable settings as follows:
> > >    unsetenv MET_GRIB2C
> > >    setenv MET_GRIB2C_INC /path/to/grib2c
> > >    setenv MET_GRIB2C_LIB /path/to/grib2c
> > >
> > > Then rerun "make clean", "configure", and "make install".
> > >
> > > Please let me know if that solves your problem.
> > >
> > > Thanks,
> > > John
> > >
> > >
> > >
> > >
> > >
> > > On Mon, Oct 20, 2014 at 8:36 AM, ashwinD12 . via RT
<met_help at ucar.edu
> >
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
>
> > > >
> > > > Hello John,
> > > >                  Any update on the compiler errors I get when
I run
> > > > configrue with the --enable-grib2 option ?
> > > > Regards,
> > > > Ashwin.
> > > >
> > > > On 10/17/14, ashwinD12 . <winash12 at gmail.com> wrote:
> > > > > Hi John,
> > > > >                I reran configure with the --enable-grib2
option
> and I
> > > > reran
> > > > > make install and I get these errors enclosed in
make_install.log.
> > > > > Regards,
> > > > > Ashwin.
> > > > >
> > > > > On Fri, Oct 17, 2014 at 11:39 AM, ashwinD12 .
<winash12 at gmail.com>
> > > > wrote:
> > > > >
> > > > >> Hi John,
> > > > >>               Bingo four times I could say. I already had
FC set
> to
> > > > ifort
> > > > >> but I did not have F77 set to ifort. It was not even set so
I
> > suppose
> > > it
> > > > >> defaulted to gfortran. I set F77 to ifort and everything
compiled
> as
> > > > >> well.
> > > > >> I still am not satisfied with the BUFRLIB library as I got
some
> > errors
> > > > >> over
> > > > >> there but that is for later I guess. I sent a mail to NCEP
but
> they
> > > are
> > > > >> yet
> > > > >> to reply to me. Is there a forum for the BUFRLIB product ?
> > > > >> Regards,
> > > > >> Ashwin.
> > > > >>
> > > > >> On Thu, Oct 16, 2014 at 9:57 PM, John Halley Gotway via RT
<
> > > > >> met_help at ucar.edu> wrote:
> > > > >>
> > > > >>> Ashwin,
> > > > >>>
> > > > >>> Oops, sorry I told you to set the FC environment variable.
I
> > should
> > > > >>> have
> > > > >>> said F77:
> > > > >>>    setenv F77 `which gfortran`
> > > > >>>
> > > > >>> Thanks,
> > > > >>> John
> > > > >>>
> > > > >>> On Thu, Oct 16, 2014 at 10:19 AM, John Halley Gotway <
> > > johnhg at ucar.edu>
> > > > >>> wrote:
> > > > >>>
> > > > >>> > Ashwin,
> > > > >>> >
> > > > >>> > Thanks for sending those files.  It makes it much easier
to
> > debug.
> > > > >>> > The
> > > > >>> > problem is that you're mixing an intel C++ compiler
(icpc)
> with a
> > > GNU
> > > > >>> > fortran compiler (gfortran).  When compiling MET and all
the
> > > > dependent
> > > > >>> > libraries, we need to use the same family of compilers.
Mixing
> > > > >>> > compiler
> > > > >>> > families leads to the sort of undefined reference errors
that
> > > you're
> > > > >>> > getting.
> > > > >>> >
> > > > >>> > The question is, which family of compilers did you
intend to
> use,
> > > > >>> > intel
> > > > >>> or
> > > > >>> > gnu.  The C/C++/Fortran compilers for intel are
icc/icc/ifort.
> > The
> > > > >>> > C/C++/Fortran compilers for GNU are gcc/g++/gfortran.
In my
> > > commands
> > > > >>> > below, I'll assume you're using GNU, but you can swap
them out
> > for
> > > > the
> > > > >>> > corresponding intel ones if needed.  Whichever set of
compilers
> > you
> > > > >>> > use,
> > > > >>> > note that the dependent libraries (GSL, BUFRLIB, NetCDF)
should
> > be
> > > > >>> compiled
> > > > >>> > with them as well.
> > > > >>> >
> > > > >>> > # Go to the top-level met-5.0 directory.
> > > > >>> >
> > > > >>> > # First make sure that these compilers are present on
your
> system
> > > > >>> > which gcc
> > > > >>> > which g++
> > > > >>> > which gfortran
> > > > >>> >
> > > > >>> > # Set variables to tell configure which compilers you
want to
> use
> > > > >>> > setenv CC `which gcc`
> > > > >>> > setenv CXX `which g++`
> > > > >>> > setenv FC `which gfortran`
> > > > >>> >
> > > > >>> > # Recompile MET
> > > > >>> > make clean
> > > > >>> > ./configure -prefix=`pwd`
> > > > >>> > make install >& make_install.log
> > > > >>> > make test >& make_test.log
> > > > >>> >
> > > > >>> > And then inspect "make_install.log" to make sure that
MET used
> > the
> > > > >>> > compilers you specified.
> > > > >>> >
> > > > >>> > Please let me know how that goes.
> > > > >>> >
> > > > >>> > Thanks,
> > > > >>> > John
> > > > >>> >
> > > > >>> > On Thu, Oct 16, 2014 at 12:48 AM, ashwinD12 . via RT
> > > > >>> > <met_help at ucar.edu
> > > > >>> >
> > > > >>> > wrote:
> > > > >>> >
> > > > >>> >>
> > > > >>> >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> >
> > > > >>> >>
> > > > >>> >> Hello John,
> > > > >>> >>                   Here you go - I am enclosing all the
log
> files
> > > you
> > > > >>> >> requested.
> > > > >>> >> Regards,
> > > > >>> >> Ashwin.
> > > > >>> >>
> > > > >>> >> On 10/15/14, John Halley Gotway via RT
<met_help at ucar.edu>
> > wrote:
> > > > >>> >> > Ashwin,
> > > > >>> >> >
> > > > >>> >> > Just so I can get a better understand of what's going
on,
> > could
> > > > you
> > > > >>> >> please
> > > > >>> >> > run the following commands in the top-level met-5.0
> > directory...
> > > > >>> >> >
> > > > >>> >> >    printenv | grep MET_ > environment.log
> > > > >>> >> >    make clean
> > > > >>> >> >   ./configure -prefix=`pwd`
> > > > >>> >> >   make install >& make_install.log
> > > > >>> >> >   make test >& make_test.log
> > > > >>> >> >
> > > > >>> >> > And then send me these files: environment.log,
config.log,
> > > > >>> >> > make_install.log, and make_test.log
> > > > >>> >> >
> > > > >>> >> > That'll give me a better idea of what's going on.
> > > > >>> >> >
> > > > >>> >> > Thanks,
> > > > >>> >> > John
> > > > >>> >> >
> > > > >>> >> > On Wed, Oct 15, 2014 at 1:41 AM, ashwinD12 . via RT <
> > > > >>> met_help at ucar.edu>
> > > > >>> >> > wrote:
> > > > >>> >> >
> > > > >>> >> >>
> > > > >>> >> >> <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> > > >
> > > > >>> >> >>
> > > > >>> >> >> Hi John,
> > > > >>> >> >>               I apologize for the late response. It
is not
> > > > without
> > > > >>> >> >> a
> > > > >>> >> >> reason. I got past that point but I have a LIBRBUF
error. I
> > had
> > > > >>> >> >> sent
> > > > >>> >> >> this report to NCEP website but have yet to hear
from them.
> > > Until
> > > > >>> >> >> I
> > > > >>> >> >> hear from them I cannot test the new patches. Please
bear
> > with
> > > me
> > > > >>> for
> > > > >>> >> >> a few days and I will get back to you.
> > > > >>> >> >> Regards,
> > > > >>> >> >> Ashwin.
> > > > >>> >> >>
> > > > >>> >> >> On 10/15/14, John Halley Gotway via RT
<met_help at ucar.edu>
> > > > wrote:
> > > > >>> >> >> > Ashwin,
> > > > >>> >> >> >
> > > > >>> >> >> > I just posted the first set of patches for the
met-5.0
> > > release,
> > > > >>> and
> > > > >>> >> >> > they
> > > > >>> >> >> > include this fix.  Please follow the instructions
posted
> > here
> > > > to
> > > > >>> >> >> > download
> > > > >>> >> >> > and apply the latest set of patches:
> > > > >>> >> >> >
> > > > >>> >> >>
> > > > >>> >>
> > > > >>>
> > > >
> >
http://www.dtcenter.org/met/users/support/known_issues/METv5.0/index.php
> > > > >>> >> >> >
> > > > >>> >> >> > Please let me know if you continue to experience
problems
> > > with
> > > > >>> MET.
> > > > >>> >> >> >
> > > > >>> >> >> > Thanks,
> > > > >>> >> >> > John Halley Gotway
> > > > >>> >> >> > met_help at ucar.edu
> > > > >>> >> >> >
> > > > >>> >> >> > On Mon, Oct 13, 2014 at 3:02 PM, John Halley
Gotway <
> > > > >>> johnhg at ucar.edu
> > > > >>> >> >
> > > > >>> >> >> > wrote:
> > > > >>> >> >> >
> > > > >>> >> >> >> Hello Ashwin,
> > > > >>> >> >> >>
> > > > >>> >> >> >> This is John Halley Gotway.  I work with Julie,
but
> she's
> > > out
> > > > >>> >> >> >> of
> > > > >>> the
> > > > >>> >> >> >> office today.  I took a look at this issue and
think
> I've
> > > > >>> uncovered
> > > > >>> >> >> >> the
> > > > >>> >> >> >> problem.  And it's a problem on our end, not
yours.
> > Here's
> > > > >>> >> >> >> what
> > > > >>> I'd
> > > > >>> >> >> like
> > > > >>> >> >> >> you to try...
> > > > >>> >> >> >>
> > > > >>> >> >> >> Copy the three attached files (color_scanner.cc,
> > > Makefile.in,
> > > > >>> >> >> >> and
> > > > >>> >> >> >> Makefile.am) into this directory:
> > > > >>> >> >> >>    met-5.0/src/libcode/vx_color
> > > > >>> >> >> >>
> > > > >>> >> >> >> Then rerun "configure" and "make install".
Please let
> me
> > > know
> > > > >>> >> >> >> if
> > > > >>> >> this
> > > > >>> >> >> >> resolves the error with lex.yy.c you were
getting.
> > > > >>> >> >> >>
> > > > >>> >> >> >> In met-5.0, we switched over to building MET
using
> > autoconf.
> > > > >>> >> >> >> The
> > > > >>> >> MET
> > > > >>> >> >> >> code
> > > > >>> >> >> >> uses flex and bison (lex and yacc) to parse data
files
> in
> > a
> > > > few
> > > > >>> >> >> >> places,
> > > > >>> >> >> >> but
> > > > >>> >> >> >> our intention is to run those tools here during
the
> > process
> > > of
> > > > >>> >> >> >> building
> > > > >>> >> >> a
> > > > >>> >> >> >> release.  I think the vx_color Makefile was
removing the
> > > > output
> > > > >>> of
> > > > >>> >> >> >> flex
> > > > >>> >> >> >> and
> > > > >>> >> >> >> then trying to rebuild it by calling flex.  And
there's
> > > > >>> >> >> >> probably
> > > > >>> an
> > > > >>> >> >> >> inconsistency between the version of flex we use
here
> and
> > > the
> > > > >>> one on
> > > > >>> >> >> your
> > > > >>> >> >> >> machine.
> > > > >>> >> >> >>
> > > > >>> >> >> >> Please do let me know if that resolves the
problem.
> Once
> > we
> > > > >>> >> >> >> get
> > > > >>> a
> > > > >>> >> >> >> good
> > > > >>> >> >> >> fix for this issue, we'll post a patch on the
known
> issue
> > > page
> > > > >>> for
> > > > >>> >> >> >> MET.
> > > > >>> >> >> >>
> > > > >>> >> >> >> Sorry for trouble, but thanks for helping us
debug this
> > > issue!
> > > > >>> >> >> >>
> > > > >>> >> >> >> John Halley Gotway
> > > > >>> >> >> >> met_help at ucar.edu
> > > > >>> >> >> >>
> > > > >>> >> >> >>
> > > > >>> >> >> >>
> > > > >>> >> >> >> On Thu, Oct 9, 2014 at 4:56 PM, ashwinD12 . via
RT <
> > > > >>> >> met_help at ucar.edu>
> > > > >>> >> >> >> wrote:
> > > > >>> >> >> >>
> > > > >>> >> >> >>>
> > > > >>> >> >> >>> <URL:
> > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> > > > >>> >> >> >>> >
> > > > >>> >> >> >>>
> > > > >>> >> >> >>> Hello Julie,
> > > > >>> >> >> >>>                  There is no problem with the
netcdf
> > > build. I
> > > > >>> moved
> > > > >>> >> >> >>> past that point. Did you look at the error
messages ?
> it
> > is
> > > > >>> >> >> >>> mentioning
> > > > >>> >> >> >>> that there is some problem with lex.yy.c.
> > > > >>> >> >> >>> Regards,
> > > > >>> >> >> >>> Ashwin.
> > > > >>> >> >> >>>
> > > > >>> >> >> >>> On 10/9/14, Julie Prestopnik via RT
<met_help at ucar.edu
> >
> > > > wrote:
> > > > >>> >> >> >>> > Hi Ashwin.  I'm sorry to hear that you are
still
> having
> > > > some
> > > > >>> >> >> >>> > difficulty
> > > > >>> >> >> >>> in
> > > > >>> >> >> >>> > getting METv5.0 to build.
> > > > >>> >> >> >>> >
> > > > >>> >> >> >>> > I'd suggest downloading and compiling NetCDF
locally
> > > using
> > > > >>> >> >> >>> > the
> > > > >>> >> >> >>> > following
> > > > >>> >> >> >>> > steps:
> > > > >>> >> >> >>> >
> > > > >>> >> >> >>> > Download NetCDF 3.6.3 from here:
> > > > >>> >> >> >>> >
> > > > >>> >>
> > > > http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-
3.6.3.tar.gz
> > > > >>> >> >> >>> >
> > > > >>> >> >> >>> > Then run:
> > > > >>> >> >> >>> > tar -zxf netcdf-3.6.3.tar.gz
> > > > >>> >> >> >>> > ./configure --prefix=`pwd`
> > > > >>> >> >> >>> > make
> > > > >>> >> >> >>> > make install
> > > > >>> >> >> >>> >
> > > > >>> >> >> >>> > These commands should compile the C and C++
> interfaces
> > > for
> > > > >>> NetCDF
> > > > >>> >> >> >>> > and
> > > > >>> >> >> >>> skip
> > > > >>> >> >> >>> > the Fortran interface that MET doesn't use.
It will
> > > > install
> > > > >>> the
> > > > >>> >> >> >>> library in
> > > > >>> >> >> >>> > current "netcdf-3.6.3" directory due to the
> > > --prefix=`pwd`
> > > > >>> >> option.
> > > > >>> >> >> >>> >
> > > > >>> >> >> >>> > Next, you'll need to edit where you set
MET_NETCDF to
> > > point
> > > > >>> >> >> >>> > to
> > > > >>> >> this
> > > > >>> >> >> >>> > new
> > > > >>> >> >> >>> > location, source your .cshrc or similiar file,
and
> > > rebuild
> > > > >>> MET.
> > > > >>> >> >> >>> >
> > > > >>> >> >> >>> > I just ran all of these steps and was able to
get a
> > > > >>> >> >> >>> > successful
> > > > >>> >> >> >>> > build
> > > > >>> >> >> >>> > and
> > > > >>> >> >> >>> > install of METv5.0.
> > > > >>> >> >> >>> >
> > > > >>> >> >> >>> > Please give this a try and let me know how it
goes.
> > > > >>> >> >> >>> >
> > > > >>> >> >> >>> > Thanks,
> > > > >>> >> >> >>> > Julie
> > > > >>> >> >> >>> >
> > > > >>> >> >> >>> > On Thu, Oct 9, 2014 at 1:28 AM, ashwinD12 .
via RT <
> > > > >>> >> >> met_help at ucar.edu>
> > > > >>> >> >> >>> > wrote:
> > > > >>> >> >> >>> >
> > > > >>> >> >> >>> >>
> > > > >>> >> >> >>> >> <URL:
> > > > >>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
> > > > >>> >> >> >>> >>
> > > > >>> >> >> >>> >> Hi Julie,
> > > > >>> >> >> >>> >>                I made some progress with some
> > difficulty
> > > > >>> which
> > > > >>> >> is
> > > > >>> >> >> >>> >> expected.
> > > > >>> >> >> >>> >> First of all there are *two* C++ NETCDF
libraries
> > and I
> > > > >>> >> >> >>> >> had
> > > > >>> to
> > > > >>> >> >> >>> >> use
> > > > >>> >> >> >>> >> the
> > > > >>> >> >> >>> >> legacy C++ NETCDF source code to build with
MET 5.0.
> > The
> > > > >>> >> netcdf.hh
> > > > >>> >> >> >>> >> file
> > > > >>> >> >> >>> >> is
> > > > >>> >> >> >>> >> NOT found in the latest C++ NETCDF interface
but in
> > the
> > > > >>> legacy
> > > > >>> >> >> >>> >> distribution. It would be helpful if you
could
> update
> > > the
> > > > >>> >> >> >>> >> documentation
> > > > >>> >> >> >>> >> to
> > > > >>> >> >> >>> >> reflect this.
> > > > >>> >> >> >>> >> Then I did not have lex and yacc on my Ubuntu
and I
> > > > updated
> > > > >>> my
> > > > >>> >> >> system
> > > > >>> >> >> >>> to
> > > > >>> >> >> >>> >> reflect that. Then I ran make install again
and
> here
> > > are
> > > > >>> >> >> >>> >> the
> > > > >>> >> >> >>> >> latest
> > > > >>> >> >> >>> >> error
> > > > >>> >> >> >>> >> -
> > > > >>> >> >> >>> >> make[4]: Nothing to be done for `install-
exec-am'.
> > > > >>> >> >> >>> >> make[4]: Nothing to be done for `install-
data-am'.
> > > > >>> >> >> >>> >> make[4]: Leaving directory
> > > > >>> >> >> >>> >>
> > > > `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_afm'
> > > > >>> >> >> >>> >> make[3]: Leaving directory
> > > > >>> >> >> >>> >>
> > > > `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_afm'
> > > > >>> >> >> >>> >> Making install in vx_color
> > > > >>> >> >> >>> >> make[3]: Entering directory
> > > > >>> >> >> >>> >>
> > > > >>> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_color'
> > > > >>> >> >> >>> >> /bin/bash ../../../ylwrap color_scanner.ll .c
> > > > >>> color_scanner.cc
> > > > >>> >> --
> > > > >>> >> >> >>> >> :
> > > > >>> >> >> >>> >> --prefix=color --outfile=lex.yy.c
> > > > >>> >> >> >>> >> make[3]: *** [color_scanner.cc] Error 1
> > > > >>> >> >> >>> >> make[3]: Leaving directory
> > > > >>> >> >> >>> >>
> > > > >>> `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_color'
> > > > >>> >> >> >>> >> make[2]: *** [install-recursive] Error 1
> > > > >>> >> >> >>> >> make[2]: Leaving directory
> > > > >>> >> >> >>> >>
> `/home/aswin/meteorology_project/met-5.0/src/libcode'
> > > > >>> >> >> >>> >> make[1]: *** [install-recursive] Error 1
> > > > >>> >> >> >>> >> make[1]: Leaving directory
> > > > >>> >> >> >>> `/home/aswin/meteorology_project/met-5.0/src'
> > > > >>> >> >> >>> >> make: *** [install-recursive] Error 1
> > > > >>> >> >> >>> >>
> > > > >>> >> >> >>> >>
> > > > >>> >> >> >>> >>
> > > > >>> >> >> >>> >> On Wed, Oct 8, 2014 at 8:13 PM, Julie
Prestopnik via
> > RT
> > > > >>> >> >> >>> >> <met_help at ucar.edu
> > > > >>> >> >> >>> >> >
> > > > >>> >> >> >>> >> wrote:
> > > > >>> >> >> >>> >>
> > > > >>> >> >> >>> >> > Hi Ashwin.  I agree. MET expects the C++
interface
> > to
> > > be
> > > > >>> >> >> >>> >> > compiled.
> > > > >>> >> >> >>> >> Please
> > > > >>> >> >> >>> >> > try building and compiling NETCDF to
include the
> C++
> > > > >>> interface
> > > > >>> >> >> >>> >> > and
> > > > >>> >> >> >>> then
> > > > >>> >> >> >>> >> > rebuild and recompile MET.  Please let me
know how
> > it
> > > > >>> >> >> >>> >> > turns
> > > > >>> >> out.
> > > > >>> >> >> >>> >> >
> > > > >>> >> >> >>> >> > Thanks,
> > > > >>> >> >> >>> >> > Julie
> > > > >>> >> >> >>> >> >
> > > > >>> >> >> >>> >> > On Wed, Oct 8, 2014 at 7:51 AM, ashwinD12 .
via
> RT <
> > > > >>> >> >> >>> met_help at ucar.edu>
> > > > >>> >> >> >>> >> > wrote:
> > > > >>> >> >> >>> >> >
> > > > >>> >> >> >>> >> > >
> > > > >>> >> >> >>> >> > > <URL:
> > > > >>> >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> > > > >>> >> >> >>> >> > > >
> > > > >>> >> >> >>> >> > >
> > > > >>> >> >> >>> >> > > I am not at the machine where the problem
is
> > > happening
> > > > >>> but I
> > > > >>> >> >> >>> >> > > can
> > > > >>> >> >> >>> >> > > guess
> > > > >>> >> >> >>> >> > > the root cause of the problem. When
compiling
> > NETCDF
> > > > >>> >> >> >>> >> > > for
> > > > >>> >> WRF I
> > > > >>> >> >> >>> only
> > > > >>> >> >> >>> >> > > compiled the C and FORTRAN libraries and
not the
> > C++
> > > > >>> >> >> >>> >> > > libraries.
> > > > >>> >> >> >>> >> > > So
> > > > >>> >> >> >>> I
> > > > >>> >> >> >>> >> > > will need to recompile NETCDF and this
time
> > compile
> > > > for
> > > > >>> C++
> > > > >>> >> as
> > > > >>> >> >> >>> >> > > well
> > > > >>> >> >> >>> >> > > by
> > > > >>> >> >> >>> >> > > specifying the environment variable CXX.
I do
> not
> > > > think
> > > > >>> >> there
> > > > >>> >> >> >>> >> > > is
> > > > >>> >> >> >>> >> > > a
> > > > >>> >> >> >>> >> > > file netcdf.hh under /usr/local/include.
I will
> > > > confirm
> > > > >>> this
> > > > >>> >> >> >>> tomorrow
> > > > >>> >> >> >>> >> > > morning my time.
> > > > >>> >> >> >>> >> > > Regards.
> > > > >>> >> >> >>> >> > >
> > > > >>> >> >> >>> >> > > On 10/8/14, Julie Prestopnik via RT <
> > > > met_help at ucar.edu>
> > > > >>> >> wrote:
> > > > >>> >> >> >>> >> > > > Great!  Thank you.  Can you please take
a look
> > in
> > > > >>> >> >> MET_NETCDFINC
> > > > >>> >> >> >>> >> > > > (/usr/local/
> > > > >>> >> >> >>> >> > > > include) and tell me if you see
netcdf.hh?
> > > > >>> >> >> >>> >> > > >
> > > > >>> >> >> >>> >> > > > Julie
> > > > >>> >> >> >>> >> > > >
> > > > >>> >> >> >>> >> > > > On Tue, Oct 7, 2014 at 11:18 PM,
ashwinD12 .
> via
> > > RT
> > > > <
> > > > >>> >> >> >>> >> met_help at ucar.edu
> > > > >>> >> >> >>> >> > >
> > > > >>> >> >> >>> >> > > > wrote:
> > > > >>> >> >> >>> >> > > >
> > > > >>> >> >> >>> >> > > >>
> > > > >>> >> >> >>> >> > > >> <URL:
> > > > >>> >> >>
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> > > > >>> >> >> >>> >> > > >> >
> > > > >>> >> >> >>> >> > > >>
> > > > >>> >> >> >>> >> > > >> Hi Julie, I am sending you the
required
> > > information
> > > > >>> >> >> >>> >> > > >>
> > > > >>> >> >> >>> >> > > >> printenv | grep MET
> > > > >>> >> >> >>> >> > > >>
> > > > >>> >> >> >>> >> > > >> MET_GSLLIB=/usr/local/lib
> > > > >>> >> >> >>> >> > > >> MET_GRIB2LIB=/usr/local/lib
> > > > >>> >> >> >>> >> > > >> MET_GSLINC=/usr/local/include
> > > > >>> >> >> >>> >> > > >> MET_NETCDFINC=/usr/local/include
> > > > >>> >> >> >>> >> > > >> MET_NETCDFLIB=/usr/local/lib
> > > > >>> >> >> >>> >> > > >>
> > > > >>> >> >> >>> >> > > >> On Tue, Oct 7, 2014 at 8:52 PM, Julie
> > Prestopnik
> > > > via
> > > > >>> RT
> > > > >>> >> >> >>> >> > > >> <met_help at ucar.edu
> > > > >>> >> >> >>> >> > > >> >
> > > > >>> >> >> >>> >> > > >> wrote:
> > > > >>> >> >> >>> >> > > >>
> > > > >>> >> >> >>> >> > > >> > Hi Ashwin.  I see you're still
having
> > problems
> > > > >>> >> >> >>> >> > > >> > with
> > > > >>> MET
> > > > >>> >> >> >>> finding
> > > > >>> >> >> >>> >> > > >> netcdf.hh.
> > > > >>> >> >> >>> >> > > >> >
> > > > >>> >> >> >>> >> > > >> > Could you please run "printenv |
grep MET"
> > and
> > > > >>> >> >> >>> >> > > >> > send
> > > > >>> me
> > > > >>> >> >> >>> >> > > >> > the
> > > > >>> >> >> >>> >> > > >> > output?
> > > > >>> >> >> >>> >> > > >> >
> > > > >>> >> >> >>> >> > > >> > Thank you.
> > > > >>> >> >> >>> >> > > >> >
> > > > >>> >> >> >>> >> > > >> > Julie
> > > > >>> >> >> >>> >> > > >> >
> > > > >>> >> >> >>> >> > > >> > On Tue, Oct 7, 2014 at 6:07 AM,
ashwinD12 .
> > via
> > > > RT
> > > > >>> >> >> >>> >> > > >> > <
> > > > >>> >> >> >>> >> > met_help at ucar.edu
> > > > >>> >> >> >>> >> > > >
> > > > >>> >> >> >>> >> > > >> > wrote:
> > > > >>> >> >> >>> >> > > >> >
> > > > >>> >> >> >>> >> > > >> > >
> > > > >>> >> >> >>> >> > > >> > > <URL:
> > > > >>> >> >> >>>
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> > > > >>> >> >> >>> >> > > >> > > >
> > > > >>> >> >> >>> >> > > >> > >
> > > > >>> >> >> >>> >> > > >> > > Hello,
> > > > >>> >> >> >>> >> > > >> > >             I apologize for the
late
> > response
> > > > on
> > > > >>> this
> > > > >>> >> >> >>> >> > > >> > > as
> > > > >>> >> >> I
> > > > >>> >> >> >>> >> > > >> > > have
> > > > >>> >> >> >>> >> > > >> tracking
> > > > >>> >> >> >>> >> > > >> > > another WRF problem. The problem
still
> > > persists
> > > > >>> >> >> >>> >> > > >> > > I first typed ./configure
--prefix=`pwd`
> > > > >>> >> --enable-grib2
> > > > >>> >> >> >>> >> > > >> > > and
> > > > >>> >> >> >>> >> > > >> > > then
> > > > >>> >> >> >>> >> > > >> followed
> > > > >>> >> >> >>> >> > > >> > > by make install and I got these
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_geodesy
> > > > >>> >> >> >>> >> -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_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_shapedata
> > > > >>> >> >> >>> >> > > >> > >
-I../../../src/libcode/vx_statistics
> > > > >>> >> >> >>> >> > > >> > > -I../../../src/libcode/vx_stat_out
> > > > >>> >> >> >>> >> > > >> > > -I../../../src/libcode/vx_tc_util
> > > > >>> >> -I/usr/local/include
> > > > >>> >> >> >>> >> > > >> > -I/usr/local/include
> > > > >>> >> >> >>> >> > > >> > > -DBLOCK4 -DWITH_GRIB2
> > > > >>> >> >> >>> >> > > >> > >
> > > > >>> >> >> >>> >>
> > > > >>> >>
> > -DMET_BASE="\"/home/aswin/meteorology_project/met-5.0/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
> > > > >>> >> >> >>> >> > > >> > > In file included from
nc_var_info.cc(24):
> > > > >>> >> >> >>> >> > > >> > > nc_var_info.h(24): catastrophic
error:
> > cannot
> > > > >>> >> >> >>> >> > > >> > > open
> > > > >>> >> >> >>> >> > > >> > > source
> > > > >>> >> >> >>> file
> > > > >>> >> >> >>> >> > > >> > "netcdf.hh"
> > > > >>> >> >> >>> >> > > >> > >   #include <netcdf.hh>
> > > > >>> >> >> >>> >> > > >> > >                       ^
> > > > >>> >> >> >>> >> > > >> > >
> > > > >>> >> >> >>> >> > > >> > > compilation aborted for
nc_var_info.cc
> > (code
> > > 4)
> > > > >>> >> >> >>> >> > > >> > > make[3]: ***
> > [libvx_nc_util_a-nc_var_info.o]
> > > > >>> Error 4
> > > > >>> >> >> >>> >> > > >> > > make[3]: Leaving directory
> > > > >>> >> >> >>> >> > > >> > >
> > > > >>> >> >> >>>
> > > > `/home/aswin/meteorology_project/met-
5.0/src/libcode/vx_nc_util'
> > > > >>> >> >> >>> >> > > >> > > make[2]: *** [install-recursive]
Error 1
> > > > >>> >> >> >>> >> > > >> > > make[2]: Leaving directory
> > > > >>> >> >> >>> >> > > >> > >
> > > > >>> `/home/aswin/meteorology_project/met-5.0/src/libcode'
> > > > >>> >> >> >>> >> > > >> > > make[1]: *** [install-recursive]
Error 1
> > > > >>> >> >> >>> >> > > >> > > make[1]: Leaving directory
> > > > >>> >> >> >>> >> > > >> >
> > > `/home/aswin/meteorology_project/met-5.0/src'ds.
> > > > >>> >> >> >>> >> > > >> > > I first typed ./configure
--prefix=`pwd`
> > > > >>> >> --enable-grib2
> > > > >>> >> >> >>> >> > > >> > > and
> > > > >>> >> >> >>> >> > > >> > > then
> > > > >>> >> >> >>> >> > > >> followed
> > > > >>> >> >> >>> >> > > >> > > by make install and I got these
messages
> -
> > > > >>> >> >> >>> >> > > >> > >
> > > > >>> >> >> >>> >> > > >> > >
> > > > >>> >> >> >>> >> > > >> > > On Tue, Sep 16, 2014 at 9:28 PM,
Julie
> > > > >>> >> >> >>> >> > > >> > > Prestopnik
> > > > >>> via
> > > > >>> >> >> >>> >> > > >> > > RT
> > > > >>> >> >> <
> > > > >>> >> >> >>> >> > > >> > > met_help at ucar.edu>
> > > > >>> >> >> >>> >> > > >> > > wrote:
> > > > >>> >> >> >>> >> > > >> > >
> > > > >>> >> >> >>> >> > > >> > > > Hi Ashwin.
> > > > >>> >> >> >>> >> > > >> > > >
> > > > >>> >> >> >>> >> > > >> > > > Thanks for downloading the
latest
> release
> > > of
> > > > >>> MET.
> > > > >>> >> I
> > > > >>> >> >> see
> > > > >>> >> >> >>> >> > > >> > > > that
> > > > >>> >> >> >>> >> > > >> > > > you're
> > > > >>> >> >> >>> >> > > >> > > > having  trouble
configuring/compiling
> it.
> > > We
> > > > >>> >> >> >>> >> > > >> > > > switched
> > > > >>> >> >> >>> over
> > > > >>> >> >> >>> >> > > >> > > > to
> > > > >>> >> >> >>> >> > > >> > > > using
> > > > >>> >> >> >>> >> > > >> > > > autoconf for  building MET
version 5.0.
> > In
> > > > >>> >> previous
> > > > >>> >> >> >>> >> > > >> > > > versions,
> > > > >>> >> >> >>> >> > you
> > > > >>> >> >> >>> >> > > >> > > edited a
> > > > >>> >> >> >>> >> > > >> > > > file by hand and then typed
"make".
> Now,
> > > you
> > > > >>> run
> > > > >>> >> the
> > > > >>> >> >> >>> >> configure
> > > > >>> >> >> >>> >> > > >> script.
> > > > >>> >> >> >>> >> > > >> > > > Please read  through the top-
level
> > > > >>> met-5.0/README
> > > > >>> >> >> >>> >> > > >> > > > file
> > > > >>> >> >> >>> >> > > >> > > > for
> > > > >>> >> >> >>> >> > > >> instructions
> > > > >>> >> >> >>> >> > > >> > > > about building MET.
> > > > >>> >> >> >>> >> > > >> > > >
> > > > >>> >> >> >>> >> > > >> > > > You can set several environment
> variables
> > > to
> > > > >>> tell
> > > > >>> >> the
> > > > >>> >> >> >>> >> configure
> > > > >>> >> >> >>> >> > > >> script
> > > > >>> >> >> >>> >> > > >> > > > where to find the dependent
libraries.
> > For
> > > > >>> >> example,
> > > > >>> >> >> >>> >> MET_NETCDF
> > > > >>> >> >> >>> >> > > >> > > > tells
> > > > >>> >> >> >>> >> > > >> > it
> > > > >>> >> >> >>> >> > > >> > > > where to find NetCDF.
nc_var_inco.cc
> > > should
> > > > >>> >> >> >>> >> > > >> > > > be
> > > > >>> >> >> >>> >> > > >> > > > looking
> > > > >>> >> >> >>> for
> > > > >>> >> >> >>> >> > > >> netcdf.hh.
> > > > >>> >> >> >>> >> > > >> > > > That's the include file for the
C++
> > > > interface.
> > > > >>> >> There
> > > > >>> >> >> >>> >> > > >> > > > are
> > > > >>> >> >> >>> >> > > >> > > > many
> > > > >>> >> >> >>> >> > > >> > different
> > > > >>> >> >> >>> >> > > >> > > > ways of compiling NetCDF, and
MET
> expects
> > > the
> > > > >>> C++
> > > > >>> >> >> >>> interface
> > > > >>> >> >> >>> >> > > >> > > > to
> > > > >>> >> >> >>> >> > be
> > > > >>> >> >> >>> >> > > >> > > > compiled.  There are some
instructions
> > for
> > > > >>> >> compiling
> > > > >>> >> >> >>> NetCDF
> > > > >>> >> >> >>> >> for
> > > > >>> >> >> >>> >> > > MET
> > > > >>> >> >> >>> >> > > >> > here:
> > > > >>> >> >> >>> >> > > >> > > >
> > > > >>> >> >> >>> >> > > >> > > >
> > > > >>> >> >> >>> >> > > >> > >
> > > > >>> >> >> >>> >> > > >> >
> > > > >>> >> >> >>> >> > > >>
> > > > >>> >> >> >>> >> > >
> > > > >>> >> >> >>> >> >
> > > > >>> >> >> >>> >>
> > > > >>> >> >> >>>
> > > > >>> >> >>
> > > > >>> >>
> > > > >>>
> > > >
> > >
> >
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
> > > > >>> >> >> >>> >> > > >> > > >
> > > > >>> >> >> >>> >> > > >> > > > Please take a look at the
instructions
> > for
> > > > >>> >> compiling
> > > > >>> >> >> >>> NetCDF
> > > > >>> >> >> >>> >> for
> > > > >>> >> >> >>> >> > > MET
> > > > >>> >> >> >>> >> > > >> and
> > > > >>> >> >> >>> >> > > >> > > at
> > > > >>> >> >> >>> >> > > >> > > > the top-level met-5.0/README
file for
> > > > >>> instructions
> > > > >>> >> >> about
> > > > >>> >> >> >>> >> > building
> > > > >>> >> >> >>> >> > > >> > > > MET
> > > > >>> >> >> >>> >> > > >> > and
> > > > >>> >> >> >>> >> > > >> > > > let us know if you continue to
> experience
> > > > >>> problems.
> > > > >>> >> >> >>> >> > > >> > > >
> > > > >>> >> >> >>> >> > > >> > > > Thanks,
> > > > >>> >> >> >>> >> > > >> > > > Julie
> > > > >>> >> >> >>> >> > > >> > > >
> > > > >>> >> >> >>> >> > > >> > > > On Mon, Sep 15, 2014 at 11:22
PM,
> > > ashwinD12 .
> > > > >>> via
> > > > >>> >> RT
> > > > >>> >> >> >>> >> > > >> > > > <
> > > > >>> >> >> >>> >> > > >> > met_help at ucar.edu>
> > > > >>> >> >> >>> >> > > >> > > > wrote:
> > > > >>> >> >> >>> >> > > >> > > >
> > > > >>> >> >> >>> >> > > >> > > > >
> > > > >>> >> >> >>> >> > > >> > > > > Mon Sep 15 23:22:39 2014:
Request
> 68987
> > > was
> > > > >>> acted
> > > > >>> >> >> >>> >> > > >> > > > > upon.
> > > > >>> >> >> >>> >> > > >> > > > > Transaction: Ticket created by
> > > > >>> >> winash12 at gmail.com
> > > > >>> >> >> >>> >> > > >> > > > >        Queue: met_help
> > > > >>> >> >> >>> >> > > >> > > > >      Subject: Not able to
compile
> > > > >>> >> >> >>> >> > > >> > > > >        Owner: Nobody
> > > > >>> >> >> >>> >> > > >> > > > >   Requestors:
winash12 at gmail.com
> > > > >>> >> >> >>> >> > > >> > > > >       Status: new
> > > > >>> >> >> >>> >> > > >> > > > >  Ticket <URL:
> > > > >>> >> >> >>> >> > > >> >
> > > > >>> >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987
> > > > >>> >> >> >>> >> > > >> > > >
> > > > >>> >> >> >>> >> > > >> > > > >
> > > > >>> >> >> >>> >> > > >> > > > >
> > > > >>> >> >> >>> >> > > >> > > > > Hello,
> > > > >>> >> >> >>> >> > > >> > > > >            I downloaded the
latest
> > > version
> > > > >>> and I
> > > > >>> >> am
> > > > >>> >> >> >>> unable
> > > > >>> >> >> >>> >> to
> > > > >>> >> >> >>> >> > > >> compile
> > > > >>> >> >> >>> >> > > >> > > > this
> > > > >>> >> >> >>> >> > > >> > > > > at all.
> > > > >>> >> >> >>> >> > > >> > > > >
> > > > >>> >> >> >>> >> > > >> > > > > Here are the errors - first it
> appears
> > > that
> > > > >>> there
> > > > >>> >> >> >>> >> > > >> > > > > is
> > > > >>> >> >> >>> >> > > >> > > > > an
> > > > >>> >> >> >>> >> error
> > > > >>> >> >> >>> >> > in
> > > > >>> >> >> >>> >> > > >> this
> > > > >>> >> >> >>> >> > > >> > > > > directory - nc_var_inco.cc
which
> > includes
> > > > >>> >> >> >>> >> > > >> > > > > netcdf.hh.
> > > > >>> >> >> I
> > > > >>> >> >> >>> >> believe
> > > > >>> >> >> >>> >> > > it
> > > > >>> >> >> >>> >> > > >> > > should
> > > > >>> >> >> >>> >> > > >> > > > be
> > > > >>> >> >> >>> >> > > >> > > > > netcdf.h. Please let me know
if that
> is
> > > > >>> accurate
> > > > >>> >> or
> > > > >>> >> >> >>> >> > > >> > > > > not.
> > > > >>> >> >> >>> >> When
> > > > >>> >> >> >>> >> > I
> > > > >>> >> >> >>> >> > > >> > > > > fix
> > > > >>> >> >> >>> >> > > >> > > that
> > > > >>> >> >> >>> >> > > >> > > > I
> > > > >>> >> >> >>> >> > > >> > > > > get these errors -
> > > > >>> >> >> >>> >> > > >> > > > >
> > > > >>> >> >> >>> >> > > >> > > > >
> > > > >>> >> >> >>> >> > > >> > > > >
> > > > >>> >> >> >>> >> > > >> > > > > Regards,
> > > > >>> >> >> >>> >> > > >> > > > > Ashwin.
> > > > >>> >> >> >>> >> > > >> > > > >
> > > > >>> >> >> >>> >> > > >> > > > > make[3]: Entering directory
> > > > >>> >> >> >>> >> > > >> > > > >
> > > > >>> >> >> >>> >> >
> > > > >>> >>
> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
> > > > >>> >> >> >>> >> > > >> > > > > 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_geodesy
> > > > >>> >> >> >>> >> > > >> > > > >
-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_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_shapedata
> > > > >>> >> >> >>> >> > > >> > > > >
-I../../../src/libcode/vx_statistics
> > > > >>> >> >> >>> >> > > >> > -I../../../src/libcode/vx_stat_out
> > > > >>> >> >> >>> >> > > >> > > > >
-I../../../src/libcode/vx_tc_util
> > > -DBLOCK4
> > > > >>> >> >> >>> >> > > >> > > > > -DWITH_GRIB2
> > > > >>> >> >> >>> >> > > >> > > > >
-DMET_BASE="\"/usr/local/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
> > > > >>> >> >> >>> >> > > >> > > > > In file included from
> > nc_var_info.cc(24):
> > > > >>> >> >> >>> >> > > >> > > > > nc_var_info.h(24):
catastrophic
> error:
> > > > >>> >> >> >>> >> > > >> > > > > cannot
> > > > >>> >> open
> > > > >>> >> >> >>> source
> > > > >>> >> >> >>> >> file
> > > > >>> >> >> >>> >> > > >> > > > "netcdf.hh"
> > > > >>> >> >> >>> >> > > >> > > > >   #include <netcdf.hh>
> > > > >>> >> >> >>> >> > > >> > > > >                       ^
> > > > >>> >> >> >>> >> > > >> > > > >
> > > > >>> >> >> >>> >> > > >> > > > > compilation aborted for
> nc_var_info.cc
> > > > (code
> > > > >>> 4)
> > > > >>> >> >> >>> >> > > >> > > > > make[3]: ***
> > > > [libvx_nc_util_a-nc_var_info.o]
> > > > >>> >> Error
> > > > >>> >> >> >>> >> > > >> > > > > 4
> > > > >>> >> >> >>> >> > > >> > > > > make[3]: Leaving directory
> > > > >>> >> >> >>> >> > > >> > > > >
> > > > >>> >> >> >>> >> >
> > > > >>> >>
> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
> > > > >>> >> >> >>> >> > > >> > > > > make[2]: *** [install-
recursive]
> Error
> > 1
> > > > >>> >> >> >>> >> > > >> > > > > make[2]: Leaving directory
> > > > >>> >> >> >>> >> > > >> > > > >
> > > > >>> >> `/home/aswin/meteorology_project/met-5.0/src/libcode'
> > > > >>> >> >> >>> >> > > >> > > > > make[1]: *** [install-
recursive]
> Error
> > 1
> > > > >>> >> >> >>> >> > > >> > > > > make[1]: Leaving directory
> > > > >>> >> >> >>> >> > > >> > >
> > `/home/aswin/meteorology_project/met-5.0/src'
> > > > >>> >> >> >>> >> > > >> > > > > make: *** [install-recursive]
Error 1
> > > > >>> >> >> >>> >> > > >> > > > >
> > > > >>> >> >> >>> >> > > >> > > > > Ashwin.
> > > > >>> >> >> >>> >> > > >> > > > >
> > > > >>> >> >> >>> >> > > >> > > > >
> > > > >>> >> >> >>> >> > > >> > > >
> > > > >>> >> >> >>> >> > > >> > > >
> > > > >>> >> >> >>> >> > > >> > > > --
> > > > >>> >> >> >>> >> > > >> > > > Julie Prestopnik
> > > > >>> >> >> >>> >> > > >> > > > National Center for Atmospheric
> Research
> > > > >>> >> >> >>> >> > > >> > > > Research Applications Laboratory
> > > > >>> >> >> >>> >> > > >> > > > Phone: 303.497.8399
> > > > >>> >> >> >>> >> > > >> > > > Email: jpresto at ucar.edu
> > > > >>> >> >> >>> >> > > >> > > >
> > > > >>> >> >> >>> >> > > >> > > >
> > > > >>> >> >> >>> >> > > >> > >
> > > > >>> >> >> >>> >> > > >> > >
> > > > >>> >> >> >>> >> > > >> >
> > > > >>> >> >> >>> >> > > >> >
> > > > >>> >> >> >>> >> > > >> > --
> > > > >>> >> >> >>> >> > > >> > Julie Prestopnik
> > > > >>> >> >> >>> >> > > >> > National Center for Atmospheric
Research
> > > > >>> >> >> >>> >> > > >> > Research Applications Laboratory
> > > > >>> >> >> >>> >> > > >> > Phone: 303.497.8399
> > > > >>> >> >> >>> >> > > >> > Email: jpresto at ucar.edu
> > > > >>> >> >> >>> >> > > >> >
> > > > >>> >> >> >>> >> > > >> >
> > > > >>> >> >> >>> >> > > >>
> > > > >>> >> >> >>> >> > > >>
> > > > >>> >> >> >>> >> > > >
> > > > >>> >> >> >>> >> > > >
> > > > >>> >> >> >>> >> > > > --
> > > > >>> >> >> >>> >> > > > Julie Prestopnik
> > > > >>> >> >> >>> >> > > > National Center for Atmospheric
Research
> > > > >>> >> >> >>> >> > > > Research Applications Laboratory
> > > > >>> >> >> >>> >> > > > Phone: 303.497.8399
> > > > >>> >> >> >>> >> > > > Email: