[Met_help] [rt.rap.ucar.edu #74207] History for Errors during MET installation

John Halley Gotway via RT met_help at ucar.edu
Tue Jan 26 12:12:05 MST 2016


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

Dear MET_help,

I just try install MET on my workstation (Ubuntu 12.04 with gcc v.4.6.3) without success so far. The make_install.log file is attached. Could you shed some light on how to overcome the errors, please?

Best wishes,
Vanisa
---
Vanisa Surapipith, Ph.D.
Atmospheric Modeller, Atmosphere Initiative, Water and Air Theme
International Centre for Integrated Mountain Development
GPO Box 3226, Kathmandu, Nepal
Tel +977-1-5003222 Ext 415 Fax +977-1-5003277 Web www.icimod.org<http://www.icimod.org/>
Connect to ICIMOD: [facebook16x16] <http://www.facebook.com/icimod>   [twitter16x16] <http://www.twitter.com/icimod>   [youtube16x16] <http://www.youtube.com/icimod>



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

Subject: Errors during MET installation
From: John Halley Gotway
Time: Wed Nov 25 07:51:50 2015

Vanisa,

I see that you're trying to compile met-5.1 but are getting some
errors.
The relevant error message is this:
   undefined reference to `gsl_wavelet_haar'

The linker can't find the GSL libraries it needs.  Based on the
make_install.log file you sent, I see that it's looking here for the
GSL
library files:
   /home/susana/software/gsl-1.16/lib

Please look in that directory to see if the file "libgsl.a" exists.
If
that file does exist, another possibility is that it was compiled with
a
different family of compilers.  I see that you're using intel
ifort/icc to
compile MET.  You could try recompiling GSL using intel compliers, if
you
haven't already done so.

Hope that helps.

Thanks,
John Halley Gotway
met_help at ucar.edu

On Wed, Nov 25, 2015 at 3:51 AM, Vanisa Surapipith via RT
<met_help at ucar.edu
> wrote:

>
> Wed Nov 25 02:51:29 2015: Request 74207 was acted upon.
> Transaction: Ticket created by Vanisa.Surapipith at icimod.org
>        Queue: met_help
>      Subject: Errors during MET installation
>        Owner: Nobody
>   Requestors: Vanisa.Surapipith at icimod.org
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
>
>
> Dear MET_help,
>
> I just try install MET on my workstation (Ubuntu 12.04 with gcc
v.4.6.3)
> without success so far. The make_install.log file is attached. Could
you
> shed some light on how to overcome the errors, please?
>
> Best wishes,
> Vanisa
> ---
> Vanisa Surapipith, Ph.D.
> Atmospheric Modeller, Atmosphere Initiative, Water and Air Theme
> International Centre for Integrated Mountain Development
> GPO Box 3226, Kathmandu, Nepal
> Tel +977-1-5003222 Ext 415 Fax +977-1-5003277 Web www.icimod.org<
> http://www.icimod.org/>
> Connect to ICIMOD: [facebook16x16] <http://www.facebook.com/icimod>
>  [twitter16x16] <http://www.twitter.com/icimod>   [youtube16x16] <
> http://www.youtube.com/icimod>
>
>
>

------------------------------------------------
Subject: Errors during MET installation
From: vanisas at gmail.com
Time: Thu Nov 26 03:33:58 2015

Thank you, John, for your reply, although I am a bit confused with the
parts of the explanation. The said link to GSL library files does not
quite
exist on my machine. There is "libgsl.la" in

/home/vsurapipith/GSL/gsl-1.11

where I install GSL library files as recommended on the online
tutorial. Is
this what the linker looks for? I also cannot find the error message
about
"undefined reference to 'gsl_wavelet_haar'. The tail of the
make_install.log looks like:

data2d_grib_utils.cc: In function ‘bool is_prelim_match(const
VarInfoGrib&,
const GribRecord&)’:
data2d_grib_utils.cc:134:43: error: ‘class SingleThresh’ has no member
named ‘thresh’
data2d_grib_utils.cc:135:43: error: ‘class SingleThresh’ has no member
named ‘thresh’
data2d_grib_utils.cc:154:38: error: ‘class SingleThresh’ has no member
named ‘thresh’
data2d_grib_utils.cc:161:38: error: ‘class SingleThresh’ has no member
named ‘thresh’
make[3]: *** [libvx_data2d_grib_a-data2d_grib_utils.o] Error 1
make[3]: Leaving directory
`/home/vsurapipith/met-5.1_bugfix/src/libcode/vx_data2d_grib'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/vsurapipith/met-
5.1_bugfix/src/libcode'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/vsurapipith/met-5.1_bugfix/src'
make: *** [install-recursive] Error 1

Does this have more to do with data2d_grib_utils.cc ? or did I look in
a
wrong place for correcting the errors?

Cheers,
Vanisa

On Wed, Nov 25, 2015 at 8:36 PM, John Halley Gotway via RT <
met_help at ucar.edu> wrote:

> Vanisa,
>
> I see that you're trying to compile met-5.1 but are getting some
errors.
> The relevant error message is this:
>    undefined reference to `gsl_wavelet_haar'
>
> The linker can't find the GSL libraries it needs.  Based on the
> make_install.log file you sent, I see that it's looking here for the
GSL
> library files:
>    /home/susana/software/gsl-1.16/lib
>
> Please look in that directory to see if the file "libgsl.a" exists.
If
> that file does exist, another possibility is that it was compiled
with a
> different family of compilers.  I see that you're using intel
ifort/icc to
> compile MET.  You could try recompiling GSL using intel compliers,
if you
> haven't already done so.
>
> Hope that helps.
>
> Thanks,
> John Halley Gotway
> met_help at ucar.edu
>
> On Wed, Nov 25, 2015 at 3:51 AM, Vanisa Surapipith via RT <
> met_help at ucar.edu
> > wrote:
>
> >
> > Wed Nov 25 02:51:29 2015: Request 74207 was acted upon.
> > Transaction: Ticket created by Vanisa.Surapipith at icimod.org
> >        Queue: met_help
> >      Subject: Errors during MET installation
> >        Owner: Nobody
> >   Requestors: Vanisa.Surapipith at icimod.org
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
> >
> >
> > Dear MET_help,
> >
> > I just try install MET on my workstation (Ubuntu 12.04 with gcc
v.4.6.3)
> > without success so far. The make_install.log file is attached.
Could you
> > shed some light on how to overcome the errors, please?
> >
> > Best wishes,
> > Vanisa
> > ---
> > Vanisa Surapipith, Ph.D.
> > Atmospheric Modeller, Atmosphere Initiative, Water and Air Theme
> > International Centre for Integrated Mountain Development
> > GPO Box 3226, Kathmandu, Nepal
> > Tel +977-1-5003222 Ext 415 Fax +977-1-5003277 Web www.icimod.org<
> > http://www.icimod.org/>
> > Connect to ICIMOD: [facebook16x16]
<http://www.facebook.com/icimod>
> >  [twitter16x16] <http://www.twitter.com/icimod>   [youtube16x16] <
> > http://www.youtube.com/icimod>
> >
> >
> >
>
>

------------------------------------------------
Subject: Errors during MET installation
From: John Halley Gotway
Time: Thu Nov 26 13:02:51 2015

Vanisa,

We're all out of the office today and tomorrow celebrating
Thanksgiving.
But I'll take a closer look on Monday.

Thanks,
John

On Thu, Nov 26, 2015 at 3:33 AM, vanisas at gmail.com via RT
<met_help at ucar.edu
> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
>
> Thank you, John, for your reply, although I am a bit confused with
the
> parts of the explanation. The said link to GSL library files does
not quite
> exist on my machine. There is "libgsl.la" in
>
> /home/vsurapipith/GSL/gsl-1.11
>
> where I install GSL library files as recommended on the online
tutorial. Is
> this what the linker looks for? I also cannot find the error message
about
> "undefined reference to 'gsl_wavelet_haar'. The tail of the
> make_install.log looks like:
>
> data2d_grib_utils.cc: In function ‘bool is_prelim_match(const
VarInfoGrib&,
> const GribRecord&)’:
> data2d_grib_utils.cc:134:43: error: ‘class SingleThresh’ has no
member
> named ‘thresh’
> data2d_grib_utils.cc:135:43: error: ‘class SingleThresh’ has no
member
> named ‘thresh’
> data2d_grib_utils.cc:154:38: error: ‘class SingleThresh’ has no
member
> named ‘thresh’
> data2d_grib_utils.cc:161:38: error: ‘class SingleThresh’ has no
member
> named ‘thresh’
> make[3]: *** [libvx_data2d_grib_a-data2d_grib_utils.o] Error 1
> make[3]: Leaving directory
> `/home/vsurapipith/met-5.1_bugfix/src/libcode/vx_data2d_grib'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory `/home/vsurapipith/met-
5.1_bugfix/src/libcode'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/vsurapipith/met-5.1_bugfix/src'
> make: *** [install-recursive] Error 1
>
> Does this have more to do with data2d_grib_utils.cc ? or did I look
in a
> wrong place for correcting the errors?
>
> Cheers,
> Vanisa
>
> On Wed, Nov 25, 2015 at 8:36 PM, John Halley Gotway via RT <
> met_help at ucar.edu> wrote:
>
> > Vanisa,
> >
> > I see that you're trying to compile met-5.1 but are getting some
errors.
> > The relevant error message is this:
> >    undefined reference to `gsl_wavelet_haar'
> >
> > The linker can't find the GSL libraries it needs.  Based on the
> > make_install.log file you sent, I see that it's looking here for
the GSL
> > library files:
> >    /home/susana/software/gsl-1.16/lib
> >
> > Please look in that directory to see if the file "libgsl.a"
exists.  If
> > that file does exist, another possibility is that it was compiled
with a
> > different family of compilers.  I see that you're using intel
ifort/icc
> to
> > compile MET.  You could try recompiling GSL using intel compliers,
if you
> > haven't already done so.
> >
> > Hope that helps.
> >
> > Thanks,
> > John Halley Gotway
> > met_help at ucar.edu
> >
> > On Wed, Nov 25, 2015 at 3:51 AM, Vanisa Surapipith via RT <
> > met_help at ucar.edu
> > > wrote:
> >
> > >
> > > Wed Nov 25 02:51:29 2015: Request 74207 was acted upon.
> > > Transaction: Ticket created by Vanisa.Surapipith at icimod.org
> > >        Queue: met_help
> > >      Subject: Errors during MET installation
> > >        Owner: Nobody
> > >   Requestors: Vanisa.Surapipith at icimod.org
> > >       Status: new
> > >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207
> >
> > >
> > >
> > > Dear MET_help,
> > >
> > > I just try install MET on my workstation (Ubuntu 12.04 with gcc
> v.4.6.3)
> > > without success so far. The make_install.log file is attached.
Could
> you
> > > shed some light on how to overcome the errors, please?
> > >
> > > Best wishes,
> > > Vanisa
> > > ---
> > > Vanisa Surapipith, Ph.D.
> > > Atmospheric Modeller, Atmosphere Initiative, Water and Air Theme
> > > International Centre for Integrated Mountain Development
> > > GPO Box 3226, Kathmandu, Nepal
> > > Tel +977-1-5003222 Ext 415 Fax +977-1-5003277 Web
www.icimod.org<
> > > http://www.icimod.org/>
> > > Connect to ICIMOD: [facebook16x16]
<http://www.facebook.com/icimod>
> > >  [twitter16x16] <http://www.twitter.com/icimod>   [youtube16x16]
<
> > > http://www.youtube.com/icimod>
> > >
> > >
> > >
> >
> >
>
>

------------------------------------------------
Subject: RE: [rt.rap.ucar.edu #74207] Errors during MET installation
From: Vanisa Surapipith
Time: Mon Nov 30 03:02:43 2015

Hello John,

Thank you for your e-mail. Wish you all there have had a wonderful
thanksgiving celebration and a good weekend...could you kindly take a
look, and let me know what to do with the errors during the MET
installation, please. It looks like what throw me out was the
recursive error on:

`/home/vsurapipith/met-5.1_bugfix/src/libcode/vx_data2d_grib'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/vsurapipith/met-
5.1_bugfix/src/libcode'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/vsurapipith/met-5.1_bugfix/src'
make: *** [install-recursive] Error 1

right? What should I do with this?

Best wishes,
Vanisa

-----Original Message-----
From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
Sent: 27 November 2015 01:48
To: Vanisa Surapipith
Cc: vanisas at gmail.com
Subject: Re: [rt.rap.ucar.edu #74207] Errors during MET installation

Vanisa,

We're all out of the office today and tomorrow celebrating
Thanksgiving.
But I'll take a closer look on Monday.

Thanks,
John

On Thu, Nov 26, 2015 at 3:33 AM, vanisas at gmail.com via RT
<met_help at ucar.edu
> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
>
> Thank you, John, for your reply, although I am a bit confused with
the
> parts of the explanation. The said link to GSL library files does
not
> quite exist on my machine. There is "libgsl.la" in
>
> /home/vsurapipith/GSL/gsl-1.11
>
> where I install GSL library files as recommended on the online
> tutorial. Is this what the linker looks for? I also cannot find the
> error message about "undefined reference to 'gsl_wavelet_haar'. The
> tail of the make_install.log looks like:
>
> data2d_grib_utils.cc: In function ‘bool is_prelim_match(const
> VarInfoGrib&, const GribRecord&)’:
> data2d_grib_utils.cc:134:43: error: ‘class SingleThresh’ has no
member
> named ‘thresh’
> data2d_grib_utils.cc:135:43: error: ‘class SingleThresh’ has no
member
> named ‘thresh’
> data2d_grib_utils.cc:154:38: error: ‘class SingleThresh’ has no
member
> named ‘thresh’
> data2d_grib_utils.cc:161:38: error: ‘class SingleThresh’ has no
member
> named ‘thresh’
> make[3]: *** [libvx_data2d_grib_a-data2d_grib_utils.o] Error 1
> make[3]: Leaving directory
> `/home/vsurapipith/met-5.1_bugfix/src/libcode/vx_data2d_grib'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory `/home/vsurapipith/met-
5.1_bugfix/src/libcode'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/vsurapipith/met-5.1_bugfix/src'
> make: *** [install-recursive] Error 1
>
> Does this have more to do with data2d_grib_utils.cc ? or did I look
in
> a wrong place for correcting the errors?
>
> Cheers,
> Vanisa
>
> On Wed, Nov 25, 2015 at 8:36 PM, John Halley Gotway via RT <
> met_help at ucar.edu> wrote:
>
> > Vanisa,
> >
> > I see that you're trying to compile met-5.1 but are getting some
errors.
> > The relevant error message is this:
> >    undefined reference to `gsl_wavelet_haar'
> >
> > The linker can't find the GSL libraries it needs.  Based on the
> > make_install.log file you sent, I see that it's looking here for
the
> > GSL library files:
> >    /home/susana/software/gsl-1.16/lib
> >
> > Please look in that directory to see if the file "libgsl.a"
exists.
> > If that file does exist, another possibility is that it was
compiled
> > with a different family of compilers.  I see that you're using
intel
> > ifort/icc
> to
> > compile MET.  You could try recompiling GSL using intel compliers,
> > if you haven't already done so.
> >
> > Hope that helps.
> >
> > Thanks,
> > John Halley Gotway
> > met_help at ucar.edu
> >
> > On Wed, Nov 25, 2015 at 3:51 AM, Vanisa Surapipith via RT <
> > met_help at ucar.edu
> > > wrote:
> >
> > >
> > > Wed Nov 25 02:51:29 2015: Request 74207 was acted upon.
> > > Transaction: Ticket created by Vanisa.Surapipith at icimod.org
> > >        Queue: met_help
> > >      Subject: Errors during MET installation
> > >        Owner: Nobody
> > >   Requestors: Vanisa.Surapipith at icimod.org
> > >       Status: new
> > >  Ticket <URL:
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207
> >
> > >
> > >
> > > Dear MET_help,
> > >
> > > I just try install MET on my workstation (Ubuntu 12.04 with gcc
> v.4.6.3)
> > > without success so far. The make_install.log file is attached.
> > > Could
> you
> > > shed some light on how to overcome the errors, please?
> > >
> > > Best wishes,
> > > Vanisa
> > > ---
> > > Vanisa Surapipith, Ph.D.
> > > Atmospheric Modeller, Atmosphere Initiative, Water and Air Theme
> > > International Centre for Integrated Mountain Development GPO Box
> > > 3226, Kathmandu, Nepal Tel +977-1-5003222 Ext 415 Fax
> > > +977-1-5003277 Web www.icimod.org< http://www.icimod.org/>
Connect
> > > to ICIMOD: [facebook16x16] <http://www.facebook.com/icimod>
> > >  [twitter16x16] <http://www.twitter.com/icimod>   [youtube16x16]
<
> > > http://www.youtube.com/icimod>
> > >
> > >
> > >
> >
> >
>
>



------------------------------------------------
Subject: Errors during MET installation
From: John Halley Gotway
Time: Mon Nov 30 14:03:45 2015

Vanisa,

My apologies!  I confused the make_install.log file you sent me with
an
earlier one from somebody else.

This is an odd error message.  Here are the relevant lines...

data2d_grib_utils.cc: In function â\x80\x98bool is_prelim_match(const
VarInfoGrib&, const GribRecord&)â\x80\x99:
data2d_grib_utils.cc:134:43: error: â\x80\x98class
SingleThreshâ\x80\x99
has no member named â\x80\x98threshâ\x80\x99
data2d_grib_utils.cc:135:43: error: â\x80\x98class
SingleThreshâ\x80\x99
has no member named â\x80\x98threshâ\x80\x99
data2d_grib_utils.cc:154:38: error: â\x80\x98class
SingleThreshâ\x80\x99
has no member named â\x80\x98threshâ\x80\x99
data2d_grib_utils.cc:161:38: error: â\x80\x98class
SingleThreshâ\x80\x99
has no member named â\x80\x98threshâ\x80\x99

The problem is occurring in the compilation of this file:

/home/vsurapipith/met-
5.1_bugfix/src/libcode/vx_data2d_grib/data2d_grib_utils.cc

Could you please send that file to me?  I want to compare it with the
source code to make sure it hasn't been corrupted.  If you have made
changes to any of the source code files, I'd suggest starting from
scratch.  Just re-pulling the tarball and running configure/compile
again.

Thanks,
John

On Mon, Nov 30, 2015 at 3:02 AM, Vanisa Surapipith via RT
<met_help at ucar.edu
> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
>
> Hello John,
>
> Thank you for your e-mail. Wish you all there have had a wonderful
> thanksgiving celebration and a good weekend...could you kindly take
a look,
> and let me know what to do with the errors during the MET
installation,
> please. It looks like what throw me out was the recursive error on:
>
> `/home/vsurapipith/met-5.1_bugfix/src/libcode/vx_data2d_grib'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory `/home/vsurapipith/met-
5.1_bugfix/src/libcode'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/vsurapipith/met-5.1_bugfix/src'
> make: *** [install-recursive] Error 1
>
> right? What should I do with this?
>
> Best wishes,
> Vanisa
>
> -----Original Message-----
> From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> Sent: 27 November 2015 01:48
> To: Vanisa Surapipith
> Cc: vanisas at gmail.com
> Subject: Re: [rt.rap.ucar.edu #74207] Errors during MET installation
>
> Vanisa,
>
> We're all out of the office today and tomorrow celebrating
Thanksgiving.
> But I'll take a closer look on Monday.
>
> Thanks,
> John
>
> On Thu, Nov 26, 2015 at 3:33 AM, vanisas at gmail.com via RT <
> met_help at ucar.edu
> > wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
> >
> > Thank you, John, for your reply, although I am a bit confused with
the
> > parts of the explanation. The said link to GSL library files does
not
> > quite exist on my machine. There is "libgsl.la" in
> >
> > /home/vsurapipith/GSL/gsl-1.11
> >
> > where I install GSL library files as recommended on the online
> > tutorial. Is this what the linker looks for? I also cannot find
the
> > error message about "undefined reference to 'gsl_wavelet_haar'.
The
> > tail of the make_install.log looks like:
> >
> > data2d_grib_utils.cc: In function ‘bool is_prelim_match(const
> > VarInfoGrib&, const GribRecord&)’:
> > data2d_grib_utils.cc:134:43: error: ‘class SingleThresh’ has no
member
> > named ‘thresh’
> > data2d_grib_utils.cc:135:43: error: ‘class SingleThresh’ has no
member
> > named ‘thresh’
> > data2d_grib_utils.cc:154:38: error: ‘class SingleThresh’ has no
member
> > named ‘thresh’
> > data2d_grib_utils.cc:161:38: error: ‘class SingleThresh’ has no
member
> > named ‘thresh’
> > make[3]: *** [libvx_data2d_grib_a-data2d_grib_utils.o] Error 1
> > make[3]: Leaving directory
> > `/home/vsurapipith/met-5.1_bugfix/src/libcode/vx_data2d_grib'
> > make[2]: *** [install-recursive] Error 1
> > make[2]: Leaving directory `/home/vsurapipith/met-
5.1_bugfix/src/libcode'
> > make[1]: *** [install-recursive] Error 1
> > make[1]: Leaving directory `/home/vsurapipith/met-5.1_bugfix/src'
> > make: *** [install-recursive] Error 1
> >
> > Does this have more to do with data2d_grib_utils.cc ? or did I
look in
> > a wrong place for correcting the errors?
> >
> > Cheers,
> > Vanisa
> >
> > On Wed, Nov 25, 2015 at 8:36 PM, John Halley Gotway via RT <
> > met_help at ucar.edu> wrote:
> >
> > > Vanisa,
> > >
> > > I see that you're trying to compile met-5.1 but are getting some
> errors.
> > > The relevant error message is this:
> > >    undefined reference to `gsl_wavelet_haar'
> > >
> > > The linker can't find the GSL libraries it needs.  Based on the
> > > make_install.log file you sent, I see that it's looking here for
the
> > > GSL library files:
> > >    /home/susana/software/gsl-1.16/lib
> > >
> > > Please look in that directory to see if the file "libgsl.a"
exists.
> > > If that file does exist, another possibility is that it was
compiled
> > > with a different family of compilers.  I see that you're using
intel
> > > ifort/icc
> > to
> > > compile MET.  You could try recompiling GSL using intel
compliers,
> > > if you haven't already done so.
> > >
> > > Hope that helps.
> > >
> > > Thanks,
> > > John Halley Gotway
> > > met_help at ucar.edu
> > >
> > > On Wed, Nov 25, 2015 at 3:51 AM, Vanisa Surapipith via RT <
> > > met_help at ucar.edu
> > > > wrote:
> > >
> > > >
> > > > Wed Nov 25 02:51:29 2015: Request 74207 was acted upon.
> > > > Transaction: Ticket created by Vanisa.Surapipith at icimod.org
> > > >        Queue: met_help
> > > >      Subject: Errors during MET installation
> > > >        Owner: Nobody
> > > >   Requestors: Vanisa.Surapipith at icimod.org
> > > >       Status: new
> > > >  Ticket <URL:
> > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207
> > >
> > > >
> > > >
> > > > Dear MET_help,
> > > >
> > > > I just try install MET on my workstation (Ubuntu 12.04 with
gcc
> > v.4.6.3)
> > > > without success so far. The make_install.log file is attached.
> > > > Could
> > you
> > > > shed some light on how to overcome the errors, please?
> > > >
> > > > Best wishes,
> > > > Vanisa
> > > > ---
> > > > Vanisa Surapipith, Ph.D.
> > > > Atmospheric Modeller, Atmosphere Initiative, Water and Air
Theme
> > > > International Centre for Integrated Mountain Development GPO
Box
> > > > 3226, Kathmandu, Nepal Tel +977-1-5003222 Ext 415 Fax
> > > > +977-1-5003277 Web www.icimod.org< http://www.icimod.org/>
Connect
> > > > to ICIMOD: [facebook16x16] <http://www.facebook.com/icimod>
> > > >  [twitter16x16] <http://www.twitter.com/icimod>
[youtube16x16] <
> > > > http://www.youtube.com/icimod>
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
>
>

------------------------------------------------
Subject: Errors during MET installation
From: vanisas at gmail.com
Time: Mon Nov 30 23:48:26 2015

Thank you, John. Please, see in the attachment the file
data2d_grib_utils.cc in my folder of MET-5.1. In the while, I'll try
to
start again from scratch as you recommend. Report more soon; yet look
forward to your checking result.

Best wishes,
Vanisa

On Tue, Dec 1, 2015 at 2:48 AM, John Halley Gotway via RT
<met_help at ucar.edu
> wrote:

> Vanisa,
>
> My apologies!  I confused the make_install.log file you sent me with
an
> earlier one from somebody else.
>
> This is an odd error message.  Here are the relevant lines...
>
> data2d_grib_utils.cc: In function â\x80\x98bool
is_prelim_match(const
> VarInfoGrib&, const GribRecord&)â\x80\x99:
> data2d_grib_utils.cc:134:43: error: â\x80\x98class
SingleThreshâ\x80\x99
> has no member named â\x80\x98threshâ\x80\x99
> data2d_grib_utils.cc:135:43: error: â\x80\x98class
SingleThreshâ\x80\x99
> has no member named â\x80\x98threshâ\x80\x99
> data2d_grib_utils.cc:154:38: error: â\x80\x98class
SingleThreshâ\x80\x99
> has no member named â\x80\x98threshâ\x80\x99
> data2d_grib_utils.cc:161:38: error: â\x80\x98class
SingleThreshâ\x80\x99
> has no member named â\x80\x98threshâ\x80\x99
>
> The problem is occurring in the compilation of this file:
>
>
> /home/vsurapipith/met-
5.1_bugfix/src/libcode/vx_data2d_grib/data2d_grib_utils.cc
>
> Could you please send that file to me?  I want to compare it with
the
> source code to make sure it hasn't been corrupted.  If you have made
> changes to any of the source code files, I'd suggest starting from
> scratch.  Just re-pulling the tarball and running configure/compile
again.
>
> Thanks,
> John
>
> On Mon, Nov 30, 2015 at 3:02 AM, Vanisa Surapipith via RT <
> met_help at ucar.edu
> > wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
> >
> > Hello John,
> >
> > Thank you for your e-mail. Wish you all there have had a wonderful
> > thanksgiving celebration and a good weekend...could you kindly
take a
> look,
> > and let me know what to do with the errors during the MET
installation,
> > please. It looks like what throw me out was the recursive error
on:
> >
> > `/home/vsurapipith/met-5.1_bugfix/src/libcode/vx_data2d_grib'
> > make[2]: *** [install-recursive] Error 1
> > make[2]: Leaving directory `/home/vsurapipith/met-
5.1_bugfix/src/libcode'
> > make[1]: *** [install-recursive] Error 1
> > make[1]: Leaving directory `/home/vsurapipith/met-5.1_bugfix/src'
> > make: *** [install-recursive] Error 1
> >
> > right? What should I do with this?
> >
> > Best wishes,
> > Vanisa
> >
> > -----Original Message-----
> > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > Sent: 27 November 2015 01:48
> > To: Vanisa Surapipith
> > Cc: vanisas at gmail.com
> > Subject: Re: [rt.rap.ucar.edu #74207] Errors during MET
installation
> >
> > Vanisa,
> >
> > We're all out of the office today and tomorrow celebrating
Thanksgiving.
> > But I'll take a closer look on Monday.
> >
> > Thanks,
> > John
> >
> > On Thu, Nov 26, 2015 at 3:33 AM, vanisas at gmail.com via RT <
> > met_help at ucar.edu
> > > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
> > >
> > > Thank you, John, for your reply, although I am a bit confused
with the
> > > parts of the explanation. The said link to GSL library files
does not
> > > quite exist on my machine. There is "libgsl.la" in
> > >
> > > /home/vsurapipith/GSL/gsl-1.11
> > >
> > > where I install GSL library files as recommended on the online
> > > tutorial. Is this what the linker looks for? I also cannot find
the
> > > error message about "undefined reference to 'gsl_wavelet_haar'.
The
> > > tail of the make_install.log looks like:
> > >
> > > data2d_grib_utils.cc: In function ‘bool is_prelim_match(const
> > > VarInfoGrib&, const GribRecord&)’:
> > > data2d_grib_utils.cc:134:43: error: ‘class SingleThresh’ has no
member
> > > named ‘thresh’
> > > data2d_grib_utils.cc:135:43: error: ‘class SingleThresh’ has no
member
> > > named ‘thresh’
> > > data2d_grib_utils.cc:154:38: error: ‘class SingleThresh’ has no
member
> > > named ‘thresh’
> > > data2d_grib_utils.cc:161:38: error: ‘class SingleThresh’ has no
member
> > > named ‘thresh’
> > > make[3]: *** [libvx_data2d_grib_a-data2d_grib_utils.o] Error 1
> > > make[3]: Leaving directory
> > > `/home/vsurapipith/met-5.1_bugfix/src/libcode/vx_data2d_grib'
> > > make[2]: *** [install-recursive] Error 1
> > > make[2]: Leaving directory
> `/home/vsurapipith/met-5.1_bugfix/src/libcode'
> > > make[1]: *** [install-recursive] Error 1
> > > make[1]: Leaving directory `/home/vsurapipith/met-
5.1_bugfix/src'
> > > make: *** [install-recursive] Error 1
> > >
> > > Does this have more to do with data2d_grib_utils.cc ? or did I
look in
> > > a wrong place for correcting the errors?
> > >
> > > Cheers,
> > > Vanisa
> > >
> > > On Wed, Nov 25, 2015 at 8:36 PM, John Halley Gotway via RT <
> > > met_help at ucar.edu> wrote:
> > >
> > > > Vanisa,
> > > >
> > > > I see that you're trying to compile met-5.1 but are getting
some
> > errors.
> > > > The relevant error message is this:
> > > >    undefined reference to `gsl_wavelet_haar'
> > > >
> > > > The linker can't find the GSL libraries it needs.  Based on
the
> > > > make_install.log file you sent, I see that it's looking here
for the
> > > > GSL library files:
> > > >    /home/susana/software/gsl-1.16/lib
> > > >
> > > > Please look in that directory to see if the file "libgsl.a"
exists.
> > > > If that file does exist, another possibility is that it was
compiled
> > > > with a different family of compilers.  I see that you're using
intel
> > > > ifort/icc
> > > to
> > > > compile MET.  You could try recompiling GSL using intel
compliers,
> > > > if you haven't already done so.
> > > >
> > > > Hope that helps.
> > > >
> > > > Thanks,
> > > > John Halley Gotway
> > > > met_help at ucar.edu
> > > >
> > > > On Wed, Nov 25, 2015 at 3:51 AM, Vanisa Surapipith via RT <
> > > > met_help at ucar.edu
> > > > > wrote:
> > > >
> > > > >
> > > > > Wed Nov 25 02:51:29 2015: Request 74207 was acted upon.
> > > > > Transaction: Ticket created by Vanisa.Surapipith at icimod.org
> > > > >        Queue: met_help
> > > > >      Subject: Errors during MET installation
> > > > >        Owner: Nobody
> > > > >   Requestors: Vanisa.Surapipith at icimod.org
> > > > >       Status: new
> > > > >  Ticket <URL:
> > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207
> > > >
> > > > >
> > > > >
> > > > > Dear MET_help,
> > > > >
> > > > > I just try install MET on my workstation (Ubuntu 12.04 with
gcc
> > > v.4.6.3)
> > > > > without success so far. The make_install.log file is
attached.
> > > > > Could
> > > you
> > > > > shed some light on how to overcome the errors, please?
> > > > >
> > > > > Best wishes,
> > > > > Vanisa
> > > > > ---
> > > > > Vanisa Surapipith, Ph.D.
> > > > > Atmospheric Modeller, Atmosphere Initiative, Water and Air
Theme
> > > > > International Centre for Integrated Mountain Development GPO
Box
> > > > > 3226, Kathmandu, Nepal Tel +977-1-5003222 Ext 415 Fax
> > > > > +977-1-5003277 Web www.icimod.org< http://www.icimod.org/>
Connect
> > > > > to ICIMOD: [facebook16x16] <http://www.facebook.com/icimod>
> > > > >  [twitter16x16] <http://www.twitter.com/icimod>
[youtube16x16] <
> > > > > http://www.youtube.com/icimod>
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
> >
> >
>
>


--

------------------------------------------------
Subject: Errors during MET installation
From: vanisas at gmail.com
Time: Tue Dec 01 02:17:27 2015

Hello John,

I try MET version 5.0 instead and got different error messages:

collect2: ld returned 1 exit status
make[4]: *** [pb2nc] Error 1
make[4]: Leaving directory `/home/vsurapipith/met-
5.0/src/tools/other/pb2nc'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/home/vsurapipith/met-5.0/src/tools/other'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/vsurapipith/met-5.0/src/tools'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/vsurapipith/met-5.0/src'
make: *** [install-recursive] Error 1

Kindly see also the attached make_install_V5.log for this new try.

Best wishes,
Vanisa

On Tue, Dec 1, 2015 at 12:33 PM, Vanisa Surapipith <vanisas at gmail.com>
wrote:

> Thank you, John. Please, see in the attachment the file
> data2d_grib_utils.cc in my folder of MET-5.1. In the while, I'll try
to
> start again from scratch as you recommend. Report more soon; yet
look
> forward to your checking result.
>
> Best wishes,
> Vanisa
>
> On Tue, Dec 1, 2015 at 2:48 AM, John Halley Gotway via RT <
> met_help at ucar.edu> wrote:
>
>> Vanisa,
>>
>> My apologies!  I confused the make_install.log file you sent me
with an
>> earlier one from somebody else.
>>
>> This is an odd error message.  Here are the relevant lines...
>>
>> data2d_grib_utils.cc: In function â\x80\x98bool
is_prelim_match(const
>> VarInfoGrib&, const GribRecord&)â\x80\x99:
>> data2d_grib_utils.cc:134:43: error: â\x80\x98class
SingleThreshâ\x80\x99
>> has no member named â\x80\x98threshâ\x80\x99
>> data2d_grib_utils.cc:135:43: error: â\x80\x98class
SingleThreshâ\x80\x99
>> has no member named â\x80\x98threshâ\x80\x99
>> data2d_grib_utils.cc:154:38: error: â\x80\x98class
SingleThreshâ\x80\x99
>> has no member named â\x80\x98threshâ\x80\x99
>> data2d_grib_utils.cc:161:38: error: â\x80\x98class
SingleThreshâ\x80\x99
>> has no member named â\x80\x98threshâ\x80\x99
>>
>> The problem is occurring in the compilation of this file:
>>
>>
>> /home/vsurapipith/met-
5.1_bugfix/src/libcode/vx_data2d_grib/data2d_grib_utils.cc
>>
>> Could you please send that file to me?  I want to compare it with
the
>> source code to make sure it hasn't been corrupted.  If you have
made
>> changes to any of the source code files, I'd suggest starting from
>> scratch.  Just re-pulling the tarball and running configure/compile
again.
>>
>> Thanks,
>> John
>>
>> On Mon, Nov 30, 2015 at 3:02 AM, Vanisa Surapipith via RT <
>> met_help at ucar.edu
>> > wrote:
>>
>> >
>> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
>> >
>> > Hello John,
>> >
>> > Thank you for your e-mail. Wish you all there have had a
wonderful
>> > thanksgiving celebration and a good weekend...could you kindly
take a
>> look,
>> > and let me know what to do with the errors during the MET
installation,
>> > please. It looks like what throw me out was the recursive error
on:
>> >
>> > `/home/vsurapipith/met-5.1_bugfix/src/libcode/vx_data2d_grib'
>> > make[2]: *** [install-recursive] Error 1
>> > make[2]: Leaving directory
>> `/home/vsurapipith/met-5.1_bugfix/src/libcode'
>> > make[1]: *** [install-recursive] Error 1
>> > make[1]: Leaving directory `/home/vsurapipith/met-5.1_bugfix/src'
>> > make: *** [install-recursive] Error 1
>> >
>> > right? What should I do with this?
>> >
>> > Best wishes,
>> > Vanisa
>> >
>> > -----Original Message-----
>> > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
>> > Sent: 27 November 2015 01:48
>> > To: Vanisa Surapipith
>> > Cc: vanisas at gmail.com
>> > Subject: Re: [rt.rap.ucar.edu #74207] Errors during MET
installation
>> >
>> > Vanisa,
>> >
>> > We're all out of the office today and tomorrow celebrating
Thanksgiving.
>> > But I'll take a closer look on Monday.
>> >
>> > Thanks,
>> > John
>> >
>> > On Thu, Nov 26, 2015 at 3:33 AM, vanisas at gmail.com via RT <
>> > met_help at ucar.edu
>> > > wrote:
>> >
>> > >
>> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
>> > >
>> > > Thank you, John, for your reply, although I am a bit confused
with the
>> > > parts of the explanation. The said link to GSL library files
does not
>> > > quite exist on my machine. There is "libgsl.la" in
>> > >
>> > > /home/vsurapipith/GSL/gsl-1.11
>> > >
>> > > where I install GSL library files as recommended on the online
>> > > tutorial. Is this what the linker looks for? I also cannot find
the
>> > > error message about "undefined reference to 'gsl_wavelet_haar'.
The
>> > > tail of the make_install.log looks like:
>> > >
>> > > data2d_grib_utils.cc: In function ‘bool is_prelim_match(const
>> > > VarInfoGrib&, const GribRecord&)’:
>> > > data2d_grib_utils.cc:134:43: error: ‘class SingleThresh’ has no
member
>> > > named ‘thresh’
>> > > data2d_grib_utils.cc:135:43: error: ‘class SingleThresh’ has no
member
>> > > named ‘thresh’
>> > > data2d_grib_utils.cc:154:38: error: ‘class SingleThresh’ has no
member
>> > > named ‘thresh’
>> > > data2d_grib_utils.cc:161:38: error: ‘class SingleThresh’ has no
member
>> > > named ‘thresh’
>> > > make[3]: *** [libvx_data2d_grib_a-data2d_grib_utils.o] Error 1
>> > > make[3]: Leaving directory
>> > > `/home/vsurapipith/met-5.1_bugfix/src/libcode/vx_data2d_grib'
>> > > make[2]: *** [install-recursive] Error 1
>> > > make[2]: Leaving directory
>> `/home/vsurapipith/met-5.1_bugfix/src/libcode'
>> > > make[1]: *** [install-recursive] Error 1
>> > > make[1]: Leaving directory `/home/vsurapipith/met-
5.1_bugfix/src'
>> > > make: *** [install-recursive] Error 1
>> > >
>> > > Does this have more to do with data2d_grib_utils.cc ? or did I
look in
>> > > a wrong place for correcting the errors?
>> > >
>> > > Cheers,
>> > > Vanisa
>> > >
>> > > On Wed, Nov 25, 2015 at 8:36 PM, John Halley Gotway via RT <
>> > > met_help at ucar.edu> wrote:
>> > >
>> > > > Vanisa,
>> > > >
>> > > > I see that you're trying to compile met-5.1 but are getting
some
>> > errors.
>> > > > The relevant error message is this:
>> > > >    undefined reference to `gsl_wavelet_haar'
>> > > >
>> > > > The linker can't find the GSL libraries it needs.  Based on
the
>> > > > make_install.log file you sent, I see that it's looking here
for the
>> > > > GSL library files:
>> > > >    /home/susana/software/gsl-1.16/lib
>> > > >
>> > > > Please look in that directory to see if the file "libgsl.a"
exists.
>> > > > If that file does exist, another possibility is that it was
compiled
>> > > > with a different family of compilers.  I see that you're
using intel
>> > > > ifort/icc
>> > > to
>> > > > compile MET.  You could try recompiling GSL using intel
compliers,
>> > > > if you haven't already done so.
>> > > >
>> > > > Hope that helps.
>> > > >
>> > > > Thanks,
>> > > > John Halley Gotway
>> > > > met_help at ucar.edu
>> > > >
>> > > > On Wed, Nov 25, 2015 at 3:51 AM, Vanisa Surapipith via RT <
>> > > > met_help at ucar.edu
>> > > > > wrote:
>> > > >
>> > > > >
>> > > > > Wed Nov 25 02:51:29 2015: Request 74207 was acted upon.
>> > > > > Transaction: Ticket created by Vanisa.Surapipith at icimod.org
>> > > > >        Queue: met_help
>> > > > >      Subject: Errors during MET installation
>> > > > >        Owner: Nobody
>> > > > >   Requestors: Vanisa.Surapipith at icimod.org
>> > > > >       Status: new
>> > > > >  Ticket <URL:
>> > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207
>> > > >
>> > > > >
>> > > > >
>> > > > > Dear MET_help,
>> > > > >
>> > > > > I just try install MET on my workstation (Ubuntu 12.04 with
gcc
>> > > v.4.6.3)
>> > > > > without success so far. The make_install.log file is
attached.
>> > > > > Could
>> > > you
>> > > > > shed some light on how to overcome the errors, please?
>> > > > >
>> > > > > Best wishes,
>> > > > > Vanisa
>> > > > > ---
>> > > > > Vanisa Surapipith, Ph.D.
>> > > > > Atmospheric Modeller, Atmosphere Initiative, Water and Air
Theme
>> > > > > International Centre for Integrated Mountain Development
GPO Box
>> > > > > 3226, Kathmandu, Nepal Tel +977-1-5003222 Ext 415 Fax
>> > > > > +977-1-5003277 Web www.icimod.org< http://www.icimod.org/>
>> Connect
>> > > > > to ICIMOD: [facebook16x16] <http://www.facebook.com/icimod>
>> > > > >  [twitter16x16] <http://www.twitter.com/icimod>
[youtube16x16]
>> <
>> > > > > http://www.youtube.com/icimod>
>> > > > >
>> > > > >
>> > > > >
>> > > >
>> > > >
>> > >
>> > >
>> >
>> >
>> >
>> >
>>
>>
>
>
> --
>
>

------------------------------------------------
Subject: Errors during MET installation
From: John Halley Gotway
Time: Tue Dec 01 11:33:51 2015

Vanisa,

Thanks for sending that data file.  Here's my best guess at to what
happened...

You downloaded MET version 5.1, and then you accidentally applied the
patches for MET version 5.0 to the MET version 5.1 code.  Applying the
wrong set of patches caused the weird compilation error messages.

Please try starting over like this:
(1) Get MET version 5.1 plus the latest set of patches by downloading
this
file:
   > wget
http://www.dtcenter.org/met/users/downloads/MET_releases/met-
5.1_bugfix.20151106.tar.gz

(2) Unpack it:
   > tar -xvzf met-5.1_bugfix.20151106.tar.gz

(3) Configure and compile it:
   > cd met-5.1_bugfix
   RUN YOU CONFIGURE COMMAND FOLLOWED BY COMPILE.

Please let me know how that goes.

Thanks,
John

On Tue, Dec 1, 2015 at 2:17 AM, vanisas at gmail.com via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
>
> Hello John,
>
> I try MET version 5.0 instead and got different error messages:
>
> collect2: ld returned 1 exit status
> make[4]: *** [pb2nc] Error 1
> make[4]: Leaving directory
> `/home/vsurapipith/met-5.0/src/tools/other/pb2nc'
> make[3]: *** [install-recursive] Error 1
> make[3]: Leaving directory `/home/vsurapipith/met-
5.0/src/tools/other'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory `/home/vsurapipith/met-5.0/src/tools'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/vsurapipith/met-5.0/src'
> make: *** [install-recursive] Error 1
>
> Kindly see also the attached make_install_V5.log for this new try.
>
> Best wishes,
> Vanisa
>
> On Tue, Dec 1, 2015 at 12:33 PM, Vanisa Surapipith
<vanisas at gmail.com>
> wrote:
>
> > Thank you, John. Please, see in the attachment the file
> > data2d_grib_utils.cc in my folder of MET-5.1. In the while, I'll
try to
> > start again from scratch as you recommend. Report more soon; yet
look
> > forward to your checking result.
> >
> > Best wishes,
> > Vanisa
> >
> > On Tue, Dec 1, 2015 at 2:48 AM, John Halley Gotway via RT <
> > met_help at ucar.edu> wrote:
> >
> >> Vanisa,
> >>
> >> My apologies!  I confused the make_install.log file you sent me
with an
> >> earlier one from somebody else.
> >>
> >> This is an odd error message.  Here are the relevant lines...
> >>
> >> data2d_grib_utils.cc: In function â\x80\x98bool
is_prelim_match(const
> >> VarInfoGrib&, const GribRecord&)â\x80\x99:
> >> data2d_grib_utils.cc:134:43: error: â\x80\x98class
SingleThreshâ\x80\x99
> >> has no member named â\x80\x98threshâ\x80\x99
> >> data2d_grib_utils.cc:135:43: error: â\x80\x98class
SingleThreshâ\x80\x99
> >> has no member named â\x80\x98threshâ\x80\x99
> >> data2d_grib_utils.cc:154:38: error: â\x80\x98class
SingleThreshâ\x80\x99
> >> has no member named â\x80\x98threshâ\x80\x99
> >> data2d_grib_utils.cc:161:38: error: â\x80\x98class
SingleThreshâ\x80\x99
> >> has no member named â\x80\x98threshâ\x80\x99
> >>
> >> The problem is occurring in the compilation of this file:
> >>
> >>
> >>
> /home/vsurapipith/met-
5.1_bugfix/src/libcode/vx_data2d_grib/data2d_grib_utils.cc
> >>
> >> Could you please send that file to me?  I want to compare it with
the
> >> source code to make sure it hasn't been corrupted.  If you have
made
> >> changes to any of the source code files, I'd suggest starting
from
> >> scratch.  Just re-pulling the tarball and running
configure/compile
> again.
> >>
> >> Thanks,
> >> John
> >>
> >> On Mon, Nov 30, 2015 at 3:02 AM, Vanisa Surapipith via RT <
> >> met_help at ucar.edu
> >> > wrote:
> >>
> >> >
> >> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
> >> >
> >> > Hello John,
> >> >
> >> > Thank you for your e-mail. Wish you all there have had a
wonderful
> >> > thanksgiving celebration and a good weekend...could you kindly
take a
> >> look,
> >> > and let me know what to do with the errors during the MET
> installation,
> >> > please. It looks like what throw me out was the recursive error
on:
> >> >
> >> > `/home/vsurapipith/met-5.1_bugfix/src/libcode/vx_data2d_grib'
> >> > make[2]: *** [install-recursive] Error 1
> >> > make[2]: Leaving directory
> >> `/home/vsurapipith/met-5.1_bugfix/src/libcode'
> >> > make[1]: *** [install-recursive] Error 1
> >> > make[1]: Leaving directory `/home/vsurapipith/met-
5.1_bugfix/src'
> >> > make: *** [install-recursive] Error 1
> >> >
> >> > right? What should I do with this?
> >> >
> >> > Best wishes,
> >> > Vanisa
> >> >
> >> > -----Original Message-----
> >> > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> >> > Sent: 27 November 2015 01:48
> >> > To: Vanisa Surapipith
> >> > Cc: vanisas at gmail.com
> >> > Subject: Re: [rt.rap.ucar.edu #74207] Errors during MET
installation
> >> >
> >> > Vanisa,
> >> >
> >> > We're all out of the office today and tomorrow celebrating
> Thanksgiving.
> >> > But I'll take a closer look on Monday.
> >> >
> >> > Thanks,
> >> > John
> >> >
> >> > On Thu, Nov 26, 2015 at 3:33 AM, vanisas at gmail.com via RT <
> >> > met_help at ucar.edu
> >> > > wrote:
> >> >
> >> > >
> >> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207
>
> >> > >
> >> > > Thank you, John, for your reply, although I am a bit confused
with
> the
> >> > > parts of the explanation. The said link to GSL library files
does
> not
> >> > > quite exist on my machine. There is "libgsl.la" in
> >> > >
> >> > > /home/vsurapipith/GSL/gsl-1.11
> >> > >
> >> > > where I install GSL library files as recommended on the
online
> >> > > tutorial. Is this what the linker looks for? I also cannot
find the
> >> > > error message about "undefined reference to
'gsl_wavelet_haar'. The
> >> > > tail of the make_install.log looks like:
> >> > >
> >> > > data2d_grib_utils.cc: In function ‘bool is_prelim_match(const
> >> > > VarInfoGrib&, const GribRecord&)’:
> >> > > data2d_grib_utils.cc:134:43: error: ‘class SingleThresh’ has
no
> member
> >> > > named ‘thresh’
> >> > > data2d_grib_utils.cc:135:43: error: ‘class SingleThresh’ has
no
> member
> >> > > named ‘thresh’
> >> > > data2d_grib_utils.cc:154:38: error: ‘class SingleThresh’ has
no
> member
> >> > > named ‘thresh’
> >> > > data2d_grib_utils.cc:161:38: error: ‘class SingleThresh’ has
no
> member
> >> > > named ‘thresh’
> >> > > make[3]: *** [libvx_data2d_grib_a-data2d_grib_utils.o] Error
1
> >> > > make[3]: Leaving directory
> >> > > `/home/vsurapipith/met-5.1_bugfix/src/libcode/vx_data2d_grib'
> >> > > make[2]: *** [install-recursive] Error 1
> >> > > make[2]: Leaving directory
> >> `/home/vsurapipith/met-5.1_bugfix/src/libcode'
> >> > > make[1]: *** [install-recursive] Error 1
> >> > > make[1]: Leaving directory `/home/vsurapipith/met-
5.1_bugfix/src'
> >> > > make: *** [install-recursive] Error 1
> >> > >
> >> > > Does this have more to do with data2d_grib_utils.cc ? or did
I look
> in
> >> > > a wrong place for correcting the errors?
> >> > >
> >> > > Cheers,
> >> > > Vanisa
> >> > >
> >> > > On Wed, Nov 25, 2015 at 8:36 PM, John Halley Gotway via RT <
> >> > > met_help at ucar.edu> wrote:
> >> > >
> >> > > > Vanisa,
> >> > > >
> >> > > > I see that you're trying to compile met-5.1 but are getting
some
> >> > errors.
> >> > > > The relevant error message is this:
> >> > > >    undefined reference to `gsl_wavelet_haar'
> >> > > >
> >> > > > The linker can't find the GSL libraries it needs.  Based on
the
> >> > > > make_install.log file you sent, I see that it's looking
here for
> the
> >> > > > GSL library files:
> >> > > >    /home/susana/software/gsl-1.16/lib
> >> > > >
> >> > > > Please look in that directory to see if the file "libgsl.a"
> exists.
> >> > > > If that file does exist, another possibility is that it was
> compiled
> >> > > > with a different family of compilers.  I see that you're
using
> intel
> >> > > > ifort/icc
> >> > > to
> >> > > > compile MET.  You could try recompiling GSL using intel
compliers,
> >> > > > if you haven't already done so.
> >> > > >
> >> > > > Hope that helps.
> >> > > >
> >> > > > Thanks,
> >> > > > John Halley Gotway
> >> > > > met_help at ucar.edu
> >> > > >
> >> > > > On Wed, Nov 25, 2015 at 3:51 AM, Vanisa Surapipith via RT <
> >> > > > met_help at ucar.edu
> >> > > > > wrote:
> >> > > >
> >> > > > >
> >> > > > > Wed Nov 25 02:51:29 2015: Request 74207 was acted upon.
> >> > > > > Transaction: Ticket created by
Vanisa.Surapipith at icimod.org
> >> > > > >        Queue: met_help
> >> > > > >      Subject: Errors during MET installation
> >> > > > >        Owner: Nobody
> >> > > > >   Requestors: Vanisa.Surapipith at icimod.org
> >> > > > >       Status: new
> >> > > > >  Ticket <URL:
> >> > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207
> >> > > >
> >> > > > >
> >> > > > >
> >> > > > > Dear MET_help,
> >> > > > >
> >> > > > > I just try install MET on my workstation (Ubuntu 12.04
with gcc
> >> > > v.4.6.3)
> >> > > > > without success so far. The make_install.log file is
attached.
> >> > > > > Could
> >> > > you
> >> > > > > shed some light on how to overcome the errors, please?
> >> > > > >
> >> > > > > Best wishes,
> >> > > > > Vanisa
> >> > > > > ---
> >> > > > > Vanisa Surapipith, Ph.D.
> >> > > > > Atmospheric Modeller, Atmosphere Initiative, Water and
Air Theme
> >> > > > > International Centre for Integrated Mountain Development
GPO Box
> >> > > > > 3226, Kathmandu, Nepal Tel +977-1-5003222 Ext 415 Fax
> >> > > > > +977-1-5003277 Web www.icimod.org<
http://www.icimod.org/>
> >> Connect
> >> > > > > to ICIMOD: [facebook16x16]
<http://www.facebook.com/icimod>
> >> > > > >  [twitter16x16] <http://www.twitter.com/icimod>
>  [youtube16x16]
> >> <
> >> > > > > http://www.youtube.com/icimod>
> >> > > > >
> >> > > > >
> >> > > > >
> >> > > >
> >> > > >
> >> > >
> >> > >
> >> >
> >> >
> >> >
> >> >
> >>
> >>
> >
> >
> > --
> >
> >
>
>

------------------------------------------------
Subject: Errors during MET installation
From: vanisas at gmail.com
Time: Tue Dec 01 22:23:53 2015

Hello John,

thank you for your suggestion; I have then get MET 5.1, via the
described
procedures, and when I run the makefile what I got in the
make_install.log
looks similar to the ones I got when I tried MET 5.0 yesterday. Not
sure
where the problem is; does it have to do with BUFRLIB or else? The
tail of
the make_install.log appear as:

/usr/bin/ld: cannot find -lbufr
collect2: ld returned 1 exit status
make[4]: *** [pb2nc] Error 1
make[4]: Leaving directory
`/home/vsurapipith/met-5.1_bugfix/src/tools/other/pb2nc'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory
`/home/vsurapipith/met-5.1_bugfix/src/tools/other'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/vsurapipith/met-
5.1_bugfix/src/tools'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/vsurapipith/met-5.1_bugfix/src'
make: *** [install-recursive] Error 1

What should be checked further, or do to overcome this point?

Best wishes,
Vanisa





On Wed, Dec 2, 2015 at 12:18 AM, John Halley Gotway via RT <
met_help at ucar.edu> wrote:

> Vanisa,
>
> Thanks for sending that data file.  Here's my best guess at to what
> happened...
>
> You downloaded MET version 5.1, and then you accidentally applied
the
> patches for MET version 5.0 to the MET version 5.1 code.  Applying
the
> wrong set of patches caused the weird compilation error messages.
>
> Please try starting over like this:
> (1) Get MET version 5.1 plus the latest set of patches by
downloading this
> file:
>    > wget
>
> http://www.dtcenter.org/met/users/downloads/MET_releases/met-
5.1_bugfix.20151106.tar.gz
>
> (2) Unpack it:
>    > tar -xvzf met-5.1_bugfix.20151106.tar.gz
>
> (3) Configure and compile it:
>    > cd met-5.1_bugfix
>    RUN YOU CONFIGURE COMMAND FOLLOWED BY COMPILE.
>
> Please let me know how that goes.
>
> Thanks,
> John
>
> On Tue, Dec 1, 2015 at 2:17 AM, vanisas at gmail.com via RT <
> met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
> >
> > Hello John,
> >
> > I try MET version 5.0 instead and got different error messages:
> >
> > collect2: ld returned 1 exit status
> > make[4]: *** [pb2nc] Error 1
> > make[4]: Leaving directory
> > `/home/vsurapipith/met-5.0/src/tools/other/pb2nc'
> > make[3]: *** [install-recursive] Error 1
> > make[3]: Leaving directory `/home/vsurapipith/met-
5.0/src/tools/other'
> > make[2]: *** [install-recursive] Error 1
> > make[2]: Leaving directory `/home/vsurapipith/met-5.0/src/tools'
> > make[1]: *** [install-recursive] Error 1
> > make[1]: Leaving directory `/home/vsurapipith/met-5.0/src'
> > make: *** [install-recursive] Error 1
> >
> > Kindly see also the attached make_install_V5.log for this new try.
> >
> > Best wishes,
> > Vanisa
> >
> > On Tue, Dec 1, 2015 at 12:33 PM, Vanisa Surapipith
<vanisas at gmail.com>
> > wrote:
> >
> > > Thank you, John. Please, see in the attachment the file
> > > data2d_grib_utils.cc in my folder of MET-5.1. In the while, I'll
try to
> > > start again from scratch as you recommend. Report more soon; yet
look
> > > forward to your checking result.
> > >
> > > Best wishes,
> > > Vanisa
> > >
> > > On Tue, Dec 1, 2015 at 2:48 AM, John Halley Gotway via RT <
> > > met_help at ucar.edu> wrote:
> > >
> > >> Vanisa,
> > >>
> > >> My apologies!  I confused the make_install.log file you sent me
with
> an
> > >> earlier one from somebody else.
> > >>
> > >> This is an odd error message.  Here are the relevant lines...
> > >>
> > >> data2d_grib_utils.cc: In function â\x80\x98bool
is_prelim_match(const
> > >> VarInfoGrib&, const GribRecord&)â\x80\x99:
> > >> data2d_grib_utils.cc:134:43: error: â\x80\x98class
> SingleThreshâ\x80\x99
> > >> has no member named â\x80\x98threshâ\x80\x99
> > >> data2d_grib_utils.cc:135:43: error: â\x80\x98class
> SingleThreshâ\x80\x99
> > >> has no member named â\x80\x98threshâ\x80\x99
> > >> data2d_grib_utils.cc:154:38: error: â\x80\x98class
> SingleThreshâ\x80\x99
> > >> has no member named â\x80\x98threshâ\x80\x99
> > >> data2d_grib_utils.cc:161:38: error: â\x80\x98class
> SingleThreshâ\x80\x99
> > >> has no member named â\x80\x98threshâ\x80\x99
> > >>
> > >> The problem is occurring in the compilation of this file:
> > >>
> > >>
> > >>
> >
> /home/vsurapipith/met-
5.1_bugfix/src/libcode/vx_data2d_grib/data2d_grib_utils.cc
> > >>
> > >> Could you please send that file to me?  I want to compare it
with the
> > >> source code to make sure it hasn't been corrupted.  If you have
made
> > >> changes to any of the source code files, I'd suggest starting
from
> > >> scratch.  Just re-pulling the tarball and running
configure/compile
> > again.
> > >>
> > >> Thanks,
> > >> John
> > >>
> > >> On Mon, Nov 30, 2015 at 3:02 AM, Vanisa Surapipith via RT <
> > >> met_help at ucar.edu
> > >> > wrote:
> > >>
> > >> >
> > >> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207
>
> > >> >
> > >> > Hello John,
> > >> >
> > >> > Thank you for your e-mail. Wish you all there have had a
wonderful
> > >> > thanksgiving celebration and a good weekend...could you
kindly take
> a
> > >> look,
> > >> > and let me know what to do with the errors during the MET
> > installation,
> > >> > please. It looks like what throw me out was the recursive
error on:
> > >> >
> > >> > `/home/vsurapipith/met-5.1_bugfix/src/libcode/vx_data2d_grib'
> > >> > make[2]: *** [install-recursive] Error 1
> > >> > make[2]: Leaving directory
> > >> `/home/vsurapipith/met-5.1_bugfix/src/libcode'
> > >> > make[1]: *** [install-recursive] Error 1
> > >> > make[1]: Leaving directory `/home/vsurapipith/met-
5.1_bugfix/src'
> > >> > make: *** [install-recursive] Error 1
> > >> >
> > >> > right? What should I do with this?
> > >> >
> > >> > Best wishes,
> > >> > Vanisa
> > >> >
> > >> > -----Original Message-----
> > >> > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > >> > Sent: 27 November 2015 01:48
> > >> > To: Vanisa Surapipith
> > >> > Cc: vanisas at gmail.com
> > >> > Subject: Re: [rt.rap.ucar.edu #74207] Errors during MET
> installation
> > >> >
> > >> > Vanisa,
> > >> >
> > >> > We're all out of the office today and tomorrow celebrating
> > Thanksgiving.
> > >> > But I'll take a closer look on Monday.
> > >> >
> > >> > Thanks,
> > >> > John
>
>
>

------------------------------------------------
Subject: Errors during MET installation
From: John Halley Gotway
Time: Wed Dec 02 12:02:26 2015

Vanisa,

OK, this error is one I've seen before.

The linker can't find the BUFRLIB library which is required by the
pb2nc
tool.  Information about compiling BUFRLIB can be found on this page:

http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php

If you don't plan on using PREPBUFR point observations, you could skip
compiling pb2nc using the "--disable-pb2nc" configuration option.

If you do want to compile it, just compile BUFRLIB using the same
family of
compilers you're using gcc and gfortran (since that's what you're
using for
MET).  Then set the MET_BUFRLIB environment variables to the BUFRLIB
directory which contains the file "libbufr.a".  Then rerun the
configure
and compile commands.

Please let me know how it goes.

Thanks,
John

On Tue, Dec 1, 2015 at 10:23 PM, vanisas at gmail.com via RT
<met_help at ucar.edu
> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
>
> Hello John,
>
> thank you for your suggestion; I have then get MET 5.1, via the
described
> procedures, and when I run the makefile what I got in the
make_install.log
> looks similar to the ones I got when I tried MET 5.0 yesterday. Not
sure
> where the problem is; does it have to do with BUFRLIB or else? The
tail of
> the make_install.log appear as:
>
> /usr/bin/ld: cannot find -lbufr
> collect2: ld returned 1 exit status
> make[4]: *** [pb2nc] Error 1
> make[4]: Leaving directory
> `/home/vsurapipith/met-5.1_bugfix/src/tools/other/pb2nc'
> make[3]: *** [install-recursive] Error 1
> make[3]: Leaving directory
> `/home/vsurapipith/met-5.1_bugfix/src/tools/other'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory `/home/vsurapipith/met-
5.1_bugfix/src/tools'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/vsurapipith/met-5.1_bugfix/src'
> make: *** [install-recursive] Error 1
>
> What should be checked further, or do to overcome this point?
>
> Best wishes,
> Vanisa
>
>
>
>
>
> On Wed, Dec 2, 2015 at 12:18 AM, John Halley Gotway via RT <
> met_help at ucar.edu> wrote:
>
> > Vanisa,
> >
> > Thanks for sending that data file.  Here's my best guess at to
what
> > happened...
> >
> > You downloaded MET version 5.1, and then you accidentally applied
the
> > patches for MET version 5.0 to the MET version 5.1 code.  Applying
the
> > wrong set of patches caused the weird compilation error messages.
> >
> > Please try starting over like this:
> > (1) Get MET version 5.1 plus the latest set of patches by
downloading
> this
> > file:
> >    > wget
> >
> >
> http://www.dtcenter.org/met/users/downloads/MET_releases/met-
5.1_bugfix.20151106.tar.gz
> >
> > (2) Unpack it:
> >    > tar -xvzf met-5.1_bugfix.20151106.tar.gz
> >
> > (3) Configure and compile it:
> >    > cd met-5.1_bugfix
> >    RUN YOU CONFIGURE COMMAND FOLLOWED BY COMPILE.
> >
> > Please let me know how that goes.
> >
> > Thanks,
> > John
> >
> > On Tue, Dec 1, 2015 at 2:17 AM, vanisas at gmail.com via RT <
> > met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
> > >
> > > Hello John,
> > >
> > > I try MET version 5.0 instead and got different error messages:
> > >
> > > collect2: ld returned 1 exit status
> > > make[4]: *** [pb2nc] Error 1
> > > make[4]: Leaving directory
> > > `/home/vsurapipith/met-5.0/src/tools/other/pb2nc'
> > > make[3]: *** [install-recursive] Error 1
> > > make[3]: Leaving directory `/home/vsurapipith/met-
5.0/src/tools/other'
> > > make[2]: *** [install-recursive] Error 1
> > > make[2]: Leaving directory `/home/vsurapipith/met-5.0/src/tools'
> > > make[1]: *** [install-recursive] Error 1
> > > make[1]: Leaving directory `/home/vsurapipith/met-5.0/src'
> > > make: *** [install-recursive] Error 1
> > >
> > > Kindly see also the attached make_install_V5.log for this new
try.
> > >
> > > Best wishes,
> > > Vanisa
> > >
> > > On Tue, Dec 1, 2015 at 12:33 PM, Vanisa Surapipith
<vanisas at gmail.com>
> > > wrote:
> > >
> > > > Thank you, John. Please, see in the attachment the file
> > > > data2d_grib_utils.cc in my folder of MET-5.1. In the while,
I'll try
> to
> > > > start again from scratch as you recommend. Report more soon;
yet look
> > > > forward to your checking result.
> > > >
> > > > Best wishes,
> > > > Vanisa
> > > >
> > > > On Tue, Dec 1, 2015 at 2:48 AM, John Halley Gotway via RT <
> > > > met_help at ucar.edu> wrote:
> > > >
> > > >> Vanisa,
> > > >>
> > > >> My apologies!  I confused the make_install.log file you sent
me with
> > an
> > > >> earlier one from somebody else.
> > > >>
> > > >> This is an odd error message.  Here are the relevant lines...
> > > >>
> > > >> data2d_grib_utils.cc: In function â\x80\x98bool
> is_prelim_match(const
> > > >> VarInfoGrib&, const GribRecord&)â\x80\x99:
> > > >> data2d_grib_utils.cc:134:43: error: â\x80\x98class
> > SingleThreshâ\x80\x99
> > > >> has no member named â\x80\x98threshâ\x80\x99
> > > >> data2d_grib_utils.cc:135:43: error: â\x80\x98class
> > SingleThreshâ\x80\x99
> > > >> has no member named â\x80\x98threshâ\x80\x99
> > > >> data2d_grib_utils.cc:154:38: error: â\x80\x98class
> > SingleThreshâ\x80\x99
> > > >> has no member named â\x80\x98threshâ\x80\x99
> > > >> data2d_grib_utils.cc:161:38: error: â\x80\x98class
> > SingleThreshâ\x80\x99
> > > >> has no member named â\x80\x98threshâ\x80\x99
> > > >>
> > > >> The problem is occurring in the compilation of this file:
> > > >>
> > > >>
> > > >>
> > >
> >
> /home/vsurapipith/met-
5.1_bugfix/src/libcode/vx_data2d_grib/data2d_grib_utils.cc
> > > >>
> > > >> Could you please send that file to me?  I want to compare it
with
> the
> > > >> source code to make sure it hasn't been corrupted.  If you
have made
> > > >> changes to any of the source code files, I'd suggest starting
from
> > > >> scratch.  Just re-pulling the tarball and running
configure/compile
> > > again.
> > > >>
> > > >> Thanks,
> > > >> John
> > > >>
> > > >> On Mon, Nov 30, 2015 at 3:02 AM, Vanisa Surapipith via RT <
> > > >> met_help at ucar.edu
> > > >> > wrote:
> > > >>
> > > >> >
> > > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
> > > >> >
> > > >> > Hello John,
> > > >> >
> > > >> > Thank you for your e-mail. Wish you all there have had a
wonderful
> > > >> > thanksgiving celebration and a good weekend...could you
kindly
> take
> > a
> > > >> look,
> > > >> > and let me know what to do with the errors during the MET
> > > installation,
> > > >> > please. It looks like what throw me out was the recursive
error
> on:
> > > >> >
> > > >> > `/home/vsurapipith/met-
5.1_bugfix/src/libcode/vx_data2d_grib'
> > > >> > make[2]: *** [install-recursive] Error 1
> > > >> > make[2]: Leaving directory
> > > >> `/home/vsurapipith/met-5.1_bugfix/src/libcode'
> > > >> > make[1]: *** [install-recursive] Error 1
> > > >> > make[1]: Leaving directory `/home/vsurapipith/met-
5.1_bugfix/src'
> > > >> > make: *** [install-recursive] Error 1
> > > >> >
> > > >> > right? What should I do with this?
> > > >> >
> > > >> > Best wishes,
> > > >> > Vanisa
> > > >> >
> > > >> > -----Original Message-----
> > > >> > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > > >> > Sent: 27 November 2015 01:48
> > > >> > To: Vanisa Surapipith
> > > >> > Cc: vanisas at gmail.com
> > > >> > Subject: Re: [rt.rap.ucar.edu #74207] Errors during MET
> > installation
> > > >> >
> > > >> > Vanisa,
> > > >> >
> > > >> > We're all out of the office today and tomorrow celebrating
> > > Thanksgiving.
> > > >> > But I'll take a closer look on Monday.
> > > >> >
> > > >> > Thanks,
> > > >> > John
> >
> >
> >
>
>

------------------------------------------------
Subject: Errors during MET installation
From: vanisas at gmail.com
Time: Thu Dec 03 21:42:05 2015

Thank you very much, John for pointing this out, and so yesterday I
have
tried compiling MET 5.1 again by disable BUFRLIB. That was
successfully
done through. This morning I look again into how compiling BUFRLIB,
which
looks to be important for our application will include point
observations.


After pointing FC and CC to gfortran and gcc, I run the preproc.sh
script,
but got the error saying:

./preproc.sh: 52: ./preproc.sh: -o: not found
./preproc.sh: 1: ./preproc.sh: ./endiantest: not found
./preproc.sh: 54: [: =: unexpected operator

Not sure what to do in correcting this error. This shows up both
before and
after I include "-traditional-cpp" where cpp is called.
Could you help giving some more hints, please?

Best wishes,
Vanisa

On Thu, Dec 3, 2015 at 12:47 AM, John Halley Gotway via RT <
met_help at ucar.edu> wrote:

> Vanisa,
>
> OK, this error is one I've seen before.
>
> The linker can't find the BUFRLIB library which is required by the
pb2nc
> tool.  Information about compiling BUFRLIB can be found on this
page:
>
>
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
>
> If you don't plan on using PREPBUFR point observations, you could
skip
> compiling pb2nc using the "--disable-pb2nc" configuration option.
>
> If you do want to compile it, just compile BUFRLIB using the same
family of
> compilers you're using gcc and gfortran (since that's what you're
using for
> MET).  Then set the MET_BUFRLIB environment variables to the BUFRLIB
> directory which contains the file "libbufr.a".  Then rerun the
configure
> and compile commands.
>
> Please let me know how it goes.
>
> Thanks,
> John
>
> On Tue, Dec 1, 2015 at 10:23 PM, vanisas at gmail.com via RT <
> met_help at ucar.edu
> > wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
> >
> > Hello John,
> >
> > thank you for your suggestion; I have then get MET 5.1, via the
described
> > procedures, and when I run the makefile what I got in the
> make_install.log
> > looks similar to the ones I got when I tried MET 5.0 yesterday.
Not sure
> > where the problem is; does it have to do with BUFRLIB or else? The
tail
> of
> > the make_install.log appear as:
> >
> > /usr/bin/ld: cannot find -lbufr
> > collect2: ld returned 1 exit status
> > make[4]: *** [pb2nc] Error 1
> > make[4]: Leaving directory
> > `/home/vsurapipith/met-5.1_bugfix/src/tools/other/pb2nc'
> > make[3]: *** [install-recursive] Error 1
> > make[3]: Leaving directory
> > `/home/vsurapipith/met-5.1_bugfix/src/tools/other'
> > make[2]: *** [install-recursive] Error 1
> > make[2]: Leaving directory `/home/vsurapipith/met-
5.1_bugfix/src/tools'
> > make[1]: *** [install-recursive] Error 1
> > make[1]: Leaving directory `/home/vsurapipith/met-5.1_bugfix/src'
> > make: *** [install-recursive] Error 1
> >
> > What should be checked further, or do to overcome this point?
> >
> > Best wishes,
> > Vanisa
> >
> >
> >
> >
> >
> > On Wed, Dec 2, 2015 at 12:18 AM, John Halley Gotway via RT <
> > met_help at ucar.edu> wrote:
> >
> > > Vanisa,
> > >
> > > Thanks for sending that data file.  Here's my best guess at to
what
> > > happened...
> > >
> > > You downloaded MET version 5.1, and then you accidentally
applied the
> > > patches for MET version 5.0 to the MET version 5.1 code.
Applying the
> > > wrong set of patches caused the weird compilation error
messages.
> > >
> > > Please try starting over like this:
> > > (1) Get MET version 5.1 plus the latest set of patches by
downloading
> > this
> > > file:
> > >    > wget
> > >
> > >
> >
> http://www.dtcenter.org/met/users/downloads/MET_releases/met-
5.1_bugfix.20151106.tar.gz
> > >
> > > (2) Unpack it:
> > >    > tar -xvzf met-5.1_bugfix.20151106.tar.gz
> > >
> > > (3) Configure and compile it:
> > >    > cd met-5.1_bugfix
> > >    RUN YOU CONFIGURE COMMAND FOLLOWED BY COMPILE.
> > >
> > > Please let me know how that goes.
> > >
> > > Thanks,
> > > John
> > >
> > > On Tue, Dec 1, 2015 at 2:17 AM, vanisas at gmail.com via RT <
> > > met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207
>
> > > >
> > > > Hello John,
> > > >
> > > > I try MET version 5.0 instead and got different error
messages:
> > > >
> > > > collect2: ld returned 1 exit status
> > > > make[4]: *** [pb2nc] Error 1
> > > > make[4]: Leaving directory
> > > > `/home/vsurapipith/met-5.0/src/tools/other/pb2nc'
> > > > make[3]: *** [install-recursive] Error 1
> > > > make[3]: Leaving directory
> `/home/vsurapipith/met-5.0/src/tools/other'
> > > > make[2]: *** [install-recursive] Error 1
> > > > make[2]: Leaving directory `/home/vsurapipith/met-
5.0/src/tools'
> > > > make[1]: *** [install-recursive] Error 1
> > > > make[1]: Leaving directory `/home/vsurapipith/met-5.0/src'
> > > > make: *** [install-recursive] Error 1
> > > >
> > > > Kindly see also the attached make_install_V5.log for this new
try.
> > > >
> > > > Best wishes,
> > > > Vanisa
> > > >
> > > > On Tue, Dec 1, 2015 at 12:33 PM, Vanisa Surapipith <
> vanisas at gmail.com>
> > > > wrote:
> > > >
> > > > > Thank you, John. Please, see in the attachment the file
> > > > > data2d_grib_utils.cc in my folder of MET-5.1. In the while,
I'll
> try
> > to
> > > > > start again from scratch as you recommend. Report more soon;
yet
> look
> > > > > forward to your checking result.
> > > > >
> > > > > Best wishes,
> > > > > Vanisa
> > > > >
> > > > > On Tue, Dec 1, 2015 at 2:48 AM, John Halley Gotway via RT <
> > > > > met_help at ucar.edu> wrote:
> > > > >
> > > > >> Vanisa,
> > > > >>
> > > > >> My apologies!  I confused the make_install.log file you
sent me
> with
> > > an
> > > > >> earlier one from somebody else.
> > > > >>
> > > > >> This is an odd error message.  Here are the relevant
lines...
> > > > >>
> > > > >> data2d_grib_utils.cc: In function â\x80\x98bool
> > is_prelim_match(const
> > > > >> VarInfoGrib&, const GribRecord&)â\x80\x99:
> > > > >> data2d_grib_utils.cc:134:43: error: â\x80\x98class
> > > SingleThreshâ\x80\x99
> > > > >> has no member named â\x80\x98threshâ\x80\x99
> > > > >> data2d_grib_utils.cc:135:43: error: â\x80\x98class
> > > SingleThreshâ\x80\x99
> > > > >> has no member named â\x80\x98threshâ\x80\x99
> > > > >> data2d_grib_utils.cc:154:38: error: â\x80\x98class
> > > SingleThreshâ\x80\x99
> > > > >> has no member named â\x80\x98threshâ\x80\x99
> > > > >> data2d_grib_utils.cc:161:38: error: â\x80\x98class
> > > SingleThreshâ\x80\x99
> > > > >> has no member named â\x80\x98threshâ\x80\x99
> > > > >>
> > > > >> The problem is occurring in the compilation of this file:
> > > > >>
> > > > >>
> > > > >>
> > > >
> > >
> >
> /home/vsurapipith/met-
5.1_bugfix/src/libcode/vx_data2d_grib/data2d_grib_utils.cc
> > > > >>
> > > > >> Could you please send that file to me?  I want to compare
it with
> > the
> > > > >> source code to make sure it hasn't been corrupted.  If you
have
> made
> > > > >> changes to any of the source code files, I'd suggest
starting from
> > > > >> scratch.  Just re-pulling the tarball and running
> configure/compile
> > > > again.
> > > > >>
> > > > >> Thanks,
> > > > >> John
> > > > >>
> > > > >> On Mon, Nov 30, 2015 at 3:02 AM, Vanisa Surapipith via RT <
> > > > >> met_help at ucar.edu
> > > > >> > wrote:
> > > > >>
> > > > >> >
> > > > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
> > > > >> >
> > > > >> > Hello John,
> > > > >> >
> > > > >> > Thank you for your e-mail. Wish you all there have had a
> wonderful
> > > > >> > thanksgiving celebration and a good weekend...could you
kindly
> > take
> > > a
> > > > >> look,
> > > > >> > and let me know what to do with the errors during the MET
> > > > installation,
> > > > >> > please. It looks like what throw me out was the recursive
error
> > on:
> > > > >> >
> > > > >> > `/home/vsurapipith/met-
5.1_bugfix/src/libcode/vx_data2d_grib'
> > > > >> > make[2]: *** [install-recursive] Error 1
> > > > >> > make[2]: Leaving directory
> > > > >> `/home/vsurapipith/met-5.1_bugfix/src/libcode'
> > > > >> > make[1]: *** [install-recursive] Error 1
> > > > >> > make[1]: Leaving directory
> `/home/vsurapipith/met-5.1_bugfix/src'
> > > > >> > make: *** [install-recursive] Error 1
> > > > >> >
> > > > >> > right? What should I do with this?
> > > > >> >
> > > > >> > Best wishes,
> > > > >> > Vanisa
> > > > >> >
> > > > >> > -----Original Message-----
> > > > >> > From: John Halley Gotway via RT
[mailto:met_help at ucar.edu]
> > > > >> > Sent: 27 November 2015 01:48
> > > > >> > To: Vanisa Surapipith
> > > > >> > Cc: vanisas at gmail.com
> > > > >> > Subject: Re: [rt.rap.ucar.edu #74207] Errors during MET
> > > installation
> > > > >> >
> > > > >> > Vanisa,
> > > > >> >
> > > > >> > We're all out of the office today and tomorrow
celebrating
> > > > Thanksgiving.
> > > > >> > But I'll take a closer look on Monday.
> > > > >> >
> > > > >> > Thanks,
> > > > >> > John
> > >
> > >
> > >
> >
> >
>
>

------------------------------------------------
Subject: Errors during MET installation
From: John Halley Gotway
Time: Fri Dec 04 14:40:39 2015

Vanisa,

Sorry for the delay in getting back to you.  Please try compiling
BUFRLIB
version 10.2.3 using the following commands:

  mkdir BUFRLIB_v10.2.3
  cd BUFRLIB_v10.2.3
  wget
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/tar_files/BUFRLIB_v10-
2-3.tar
  tar -xvf BUFRLIB_v10-2-3.tar
  gcc -c -DUNDERSCORE *.c
  gfortran -c -DUNDERSCORE -fno-second-underscore *.f *.F
  ar crv libbufr.a *.o

And then set the MET_BUFRLIB environment variable to that directory,
re-run
the MET configure and compile commands.

Thanks,
John


On Thu, Dec 3, 2015 at 9:42 PM, vanisas at gmail.com via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
>
> Thank you very much, John for pointing this out, and so yesterday I
have
> tried compiling MET 5.1 again by disable BUFRLIB. That was
successfully
> done through. This morning I look again into how compiling BUFRLIB,
which
> looks to be important for our application will include point
observations.
>
>
> After pointing FC and CC to gfortran and gcc, I run the preproc.sh
script,
> but got the error saying:
>
> ./preproc.sh: 52: ./preproc.sh: -o: not found
> ./preproc.sh: 1: ./preproc.sh: ./endiantest: not found
> ./preproc.sh: 54: [: =: unexpected operator
>
> Not sure what to do in correcting this error. This shows up both
before and
> after I include "-traditional-cpp" where cpp is called.
> Could you help giving some more hints, please?
>
> Best wishes,
> Vanisa
>
> On Thu, Dec 3, 2015 at 12:47 AM, John Halley Gotway via RT <
> met_help at ucar.edu> wrote:
>
> > Vanisa,
> >
> > OK, this error is one I've seen before.
> >
> > The linker can't find the BUFRLIB library which is required by the
pb2nc
> > tool.  Information about compiling BUFRLIB can be found on this
page:
> >
> >
> >
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
> >
> > If you don't plan on using PREPBUFR point observations, you could
skip
> > compiling pb2nc using the "--disable-pb2nc" configuration option.
> >
> > If you do want to compile it, just compile BUFRLIB using the same
family
> of
> > compilers you're using gcc and gfortran (since that's what you're
using
> for
> > MET).  Then set the MET_BUFRLIB environment variables to the
BUFRLIB
> > directory which contains the file "libbufr.a".  Then rerun the
configure
> > and compile commands.
> >
> > Please let me know how it goes.
> >
> > Thanks,
> > John
> >
> > On Tue, Dec 1, 2015 at 10:23 PM, vanisas at gmail.com via RT <
> > met_help at ucar.edu
> > > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
> > >
> > > Hello John,
> > >
> > > thank you for your suggestion; I have then get MET 5.1, via the
> described
> > > procedures, and when I run the makefile what I got in the
> > make_install.log
> > > looks similar to the ones I got when I tried MET 5.0 yesterday.
Not
> sure
> > > where the problem is; does it have to do with BUFRLIB or else?
The tail
> > of
> > > the make_install.log appear as:
> > >
> > > /usr/bin/ld: cannot find -lbufr
> > > collect2: ld returned 1 exit status
> > > make[4]: *** [pb2nc] Error 1
> > > make[4]: Leaving directory
> > > `/home/vsurapipith/met-5.1_bugfix/src/tools/other/pb2nc'
> > > make[3]: *** [install-recursive] Error 1
> > > make[3]: Leaving directory
> > > `/home/vsurapipith/met-5.1_bugfix/src/tools/other'
> > > make[2]: *** [install-recursive] Error 1
> > > make[2]: Leaving directory `/home/vsurapipith/met-
5.1_bugfix/src/tools'
> > > make[1]: *** [install-recursive] Error 1
> > > make[1]: Leaving directory `/home/vsurapipith/met-
5.1_bugfix/src'
> > > make: *** [install-recursive] Error 1
> > >
> > > What should be checked further, or do to overcome this point?
> > >
> > > Best wishes,
> > > Vanisa
> > >
> > >
> > >
> > >
> > >
> > > On Wed, Dec 2, 2015 at 12:18 AM, John Halley Gotway via RT <
> > > met_help at ucar.edu> wrote:
> > >
> > > > Vanisa,
> > > >
> > > > Thanks for sending that data file.  Here's my best guess at to
what
> > > > happened...
> > > >
> > > > You downloaded MET version 5.1, and then you accidentally
applied the
> > > > patches for MET version 5.0 to the MET version 5.1 code.
Applying
> the
> > > > wrong set of patches caused the weird compilation error
messages.
> > > >
> > > > Please try starting over like this:
> > > > (1) Get MET version 5.1 plus the latest set of patches by
downloading
> > > this
> > > > file:
> > > >    > wget
> > > >
> > > >
> > >
> >
> http://www.dtcenter.org/met/users/downloads/MET_releases/met-
5.1_bugfix.20151106.tar.gz
> > > >
> > > > (2) Unpack it:
> > > >    > tar -xvzf met-5.1_bugfix.20151106.tar.gz
> > > >
> > > > (3) Configure and compile it:
> > > >    > cd met-5.1_bugfix
> > > >    RUN YOU CONFIGURE COMMAND FOLLOWED BY COMPILE.
> > > >
> > > > Please let me know how that goes.
> > > >
> > > > Thanks,
> > > > John
> > > >
> > > > On Tue, Dec 1, 2015 at 2:17 AM, vanisas at gmail.com via RT <
> > > > met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
> > > > >
> > > > > Hello John,
> > > > >
> > > > > I try MET version 5.0 instead and got different error
messages:
> > > > >
> > > > > collect2: ld returned 1 exit status
> > > > > make[4]: *** [pb2nc] Error 1
> > > > > make[4]: Leaving directory
> > > > > `/home/vsurapipith/met-5.0/src/tools/other/pb2nc'
> > > > > make[3]: *** [install-recursive] Error 1
> > > > > make[3]: Leaving directory
> > `/home/vsurapipith/met-5.0/src/tools/other'
> > > > > make[2]: *** [install-recursive] Error 1
> > > > > make[2]: Leaving directory `/home/vsurapipith/met-
5.0/src/tools'
> > > > > make[1]: *** [install-recursive] Error 1
> > > > > make[1]: Leaving directory `/home/vsurapipith/met-5.0/src'
> > > > > make: *** [install-recursive] Error 1
> > > > >
> > > > > Kindly see also the attached make_install_V5.log for this
new try.
> > > > >
> > > > > Best wishes,
> > > > > Vanisa
> > > > >
> > > > > On Tue, Dec 1, 2015 at 12:33 PM, Vanisa Surapipith <
> > vanisas at gmail.com>
> > > > > wrote:
> > > > >
> > > > > > Thank you, John. Please, see in the attachment the file
> > > > > > data2d_grib_utils.cc in my folder of MET-5.1. In the
while, I'll
> > try
> > > to
> > > > > > start again from scratch as you recommend. Report more
soon; yet
> > look
> > > > > > forward to your checking result.
> > > > > >
> > > > > > Best wishes,
> > > > > > Vanisa
> > > > > >
> > > > > > On Tue, Dec 1, 2015 at 2:48 AM, John Halley Gotway via RT
<
> > > > > > met_help at ucar.edu> wrote:
> > > > > >
> > > > > >> Vanisa,
> > > > > >>
> > > > > >> My apologies!  I confused the make_install.log file you
sent me
> > with
> > > > an
> > > > > >> earlier one from somebody else.
> > > > > >>
> > > > > >> This is an odd error message.  Here are the relevant
lines...
> > > > > >>
> > > > > >> data2d_grib_utils.cc: In function â\x80\x98bool
> > > is_prelim_match(const
> > > > > >> VarInfoGrib&, const GribRecord&)â\x80\x99:
> > > > > >> data2d_grib_utils.cc:134:43: error: â\x80\x98class
> > > > SingleThreshâ\x80\x99
> > > > > >> has no member named â\x80\x98threshâ\x80\x99
> > > > > >> data2d_grib_utils.cc:135:43: error: â\x80\x98class
> > > > SingleThreshâ\x80\x99
> > > > > >> has no member named â\x80\x98threshâ\x80\x99
> > > > > >> data2d_grib_utils.cc:154:38: error: â\x80\x98class
> > > > SingleThreshâ\x80\x99
> > > > > >> has no member named â\x80\x98threshâ\x80\x99
> > > > > >> data2d_grib_utils.cc:161:38: error: â\x80\x98class
> > > > SingleThreshâ\x80\x99
> > > > > >> has no member named â\x80\x98threshâ\x80\x99
> > > > > >>
> > > > > >> The problem is occurring in the compilation of this file:
> > > > > >>
> > > > > >>
> > > > > >>
> > > > >
> > > >
> > >
> >
> /home/vsurapipith/met-
5.1_bugfix/src/libcode/vx_data2d_grib/data2d_grib_utils.cc
> > > > > >>
> > > > > >> Could you please send that file to me?  I want to compare
it
> with
> > > the
> > > > > >> source code to make sure it hasn't been corrupted.  If
you have
> > made
> > > > > >> changes to any of the source code files, I'd suggest
starting
> from
> > > > > >> scratch.  Just re-pulling the tarball and running
> > configure/compile
> > > > > again.
> > > > > >>
> > > > > >> Thanks,
> > > > > >> John
> > > > > >>
> > > > > >> On Mon, Nov 30, 2015 at 3:02 AM, Vanisa Surapipith via RT
<
> > > > > >> met_help at ucar.edu
> > > > > >> > wrote:
> > > > > >>
> > > > > >> >
> > > > > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207
> >
> > > > > >> >
> > > > > >> > Hello John,
> > > > > >> >
> > > > > >> > Thank you for your e-mail. Wish you all there have had
a
> > wonderful
> > > > > >> > thanksgiving celebration and a good weekend...could you
kindly
> > > take
> > > > a
> > > > > >> look,
> > > > > >> > and let me know what to do with the errors during the
MET
> > > > > installation,
> > > > > >> > please. It looks like what throw me out was the
recursive
> error
> > > on:
> > > > > >> >
> > > > > >> > `/home/vsurapipith/met-
5.1_bugfix/src/libcode/vx_data2d_grib'
> > > > > >> > make[2]: *** [install-recursive] Error 1
> > > > > >> > make[2]: Leaving directory
> > > > > >> `/home/vsurapipith/met-5.1_bugfix/src/libcode'
> > > > > >> > make[1]: *** [install-recursive] Error 1
> > > > > >> > make[1]: Leaving directory
> > `/home/vsurapipith/met-5.1_bugfix/src'
> > > > > >> > make: *** [install-recursive] Error 1
> > > > > >> >
> > > > > >> > right? What should I do with this?
> > > > > >> >
> > > > > >> > Best wishes,
> > > > > >> > Vanisa
> > > > > >> >
> > > > > >> > -----Original Message-----
> > > > > >> > From: John Halley Gotway via RT
[mailto:met_help at ucar.edu]
> > > > > >> > Sent: 27 November 2015 01:48
> > > > > >> > To: Vanisa Surapipith
> > > > > >> > Cc: vanisas at gmail.com
> > > > > >> > Subject: Re: [rt.rap.ucar.edu #74207] Errors during MET
> > > > installation
> > > > > >> >
> > > > > >> > Vanisa,
> > > > > >> >
> > > > > >> > We're all out of the office today and tomorrow
celebrating
> > > > > Thanksgiving.
> > > > > >> > But I'll take a closer look on Monday.
> > > > > >> >
> > > > > >> > Thanks,
> > > > > >> > John
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>

------------------------------------------------
Subject: Errors during MET installation
From: vanisas at gmail.com
Time: Sun Dec 06 21:26:50 2015

Hello John,

thank you for your response with suggestion on the new try. I have
followed
the described procedures for BUFRLIB_v10.2.3. However, the error
message at
the end of make_install.log still looks similar like previously:

collect2: ld returned 1 exit status
make[4]: *** [pb2nc] Error 1
make[4]: Leaving directory
`/home/vsurapipith/met-5.1_bugfix/src/tools/other/pb2nc'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory
`/home/vsurapipith/met-5.1_bugfix/src/tools/other'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/vsurapipith/met-
5.1_bugfix/src/tools'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/vsurapipith/met-5.1_bugfix/src'
make: *** [install-recursive] Error 1

(the full log file is attached here, along with the .bashrc that I use
for
setting the MET_BUFRLIB environment variable.) What should I do to
correct/try further, so to get the pb2nc through in MET?

Best wishes,
Vanisa

On Sat, Dec 5, 2015 at 3:25 AM, John Halley Gotway via RT
<met_help at ucar.edu
> wrote:

> Vanisa,
>
> Sorry for the delay in getting back to you.  Please try compiling
BUFRLIB
> version 10.2.3 using the following commands:
>
>   mkdir BUFRLIB_v10.2.3
>   cd BUFRLIB_v10.2.3
>   wget
>
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/tar_files/BUFRLIB_v10-
2-3.tar
>   tar -xvf BUFRLIB_v10-2-3.tar
>   gcc -c -DUNDERSCORE *.c
>   gfortran -c -DUNDERSCORE -fno-second-underscore *.f *.F
>   ar crv libbufr.a *.o
>
> And then set the MET_BUFRLIB environment variable to that directory,
re-run
> the MET configure and compile commands.
>
> Thanks,
> John
>
>
> On Thu, Dec 3, 2015 at 9:42 PM, vanisas at gmail.com via RT <
> met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
> >
> > Thank you very much, John for pointing this out, and so yesterday
I have
> > tried compiling MET 5.1 again by disable BUFRLIB. That was
successfully
> > done through. This morning I look again into how compiling
BUFRLIB, which
> > looks to be important for our application will include point
> observations.
> >
> >
> > After pointing FC and CC to gfortran and gcc, I run the preproc.sh
> script,
> > but got the error saying:
> >
> > ./preproc.sh: 52: ./preproc.sh: -o: not found
> > ./preproc.sh: 1: ./preproc.sh: ./endiantest: not found
> > ./preproc.sh: 54: [: =: unexpected operator
> >
> > Not sure what to do in correcting this error. This shows up both
before
> and
> > after I include "-traditional-cpp" where cpp is called.
> > Could you help giving some more hints, please?
> >
> > Best wishes,
> > Vanisa
> >
> > On Thu, Dec 3, 2015 at 12:47 AM, John Halley Gotway via RT <
> > met_help at ucar.edu> wrote:
> >
> > > Vanisa,
> > >
> > > OK, this error is one I've seen before.
> > >
> > > The linker can't find the BUFRLIB library which is required by
the
> pb2nc
> > > tool.  Information about compiling BUFRLIB can be found on this
page:
> > >
> > >
> > >
> >
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
> > >
> > > If you don't plan on using PREPBUFR point observations, you
could skip
> > > compiling pb2nc using the "--disable-pb2nc" configuration
option.
> > >
> > > If you do want to compile it, just compile BUFRLIB using the
same
> family
> > of
> > > compilers you're using gcc and gfortran (since that's what
you're using
> > for
> > > MET).  Then set the MET_BUFRLIB environment variables to the
BUFRLIB
> > > directory which contains the file "libbufr.a".  Then rerun the
> configure
> > > and compile commands.
> > >
> > > Please let me know how it goes.
> > >
> > > Thanks,
> > > John
> > >
> > > On Tue, Dec 1, 2015 at 10:23 PM, vanisas at gmail.com via RT <
> > > met_help at ucar.edu
> > > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207
>
> > > >
> > > > Hello John,
> > > >
> > > > thank you for your suggestion; I have then get MET 5.1, via
the
> > described
> > > > procedures, and when I run the makefile what I got in the
> > > make_install.log
> > > > looks similar to the ones I got when I tried MET 5.0
yesterday. Not
> > sure
> > > > where the problem is; does it have to do with BUFRLIB or else?
The
> tail
> > > of
> > > > the make_install.log appear as:
> > > >
> > > > /usr/bin/ld: cannot find -lbufr
> > > > collect2: ld returned 1 exit status
> > > > make[4]: *** [pb2nc] Error 1
> > > > make[4]: Leaving directory
> > > > `/home/vsurapipith/met-5.1_bugfix/src/tools/other/pb2nc'
> > > > make[3]: *** [install-recursive] Error 1
> > > > make[3]: Leaving directory
> > > > `/home/vsurapipith/met-5.1_bugfix/src/tools/other'
> > > > make[2]: *** [install-recursive] Error 1
> > > > make[2]: Leaving directory
> `/home/vsurapipith/met-5.1_bugfix/src/tools'
> > > > make[1]: *** [install-recursive] Error 1
> > > > make[1]: Leaving directory `/home/vsurapipith/met-
5.1_bugfix/src'
> > > > make: *** [install-recursive] Error 1
> > > >
> > > > What should be checked further, or do to overcome this point?
> > > >
> > > > Best wishes,
> > > > Vanisa
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On Wed, Dec 2, 2015 at 12:18 AM, John Halley Gotway via RT <
> > > > met_help at ucar.edu> wrote:
> > > >
> > > > > Vanisa,
> > > > >
> > > > > Thanks for sending that data file.  Here's my best guess at
to what
> > > > > happened...
> > > > >
> > > > > You downloaded MET version 5.1, and then you accidentally
applied
> the
> > > > > patches for MET version 5.0 to the MET version 5.1 code.
Applying
> > the
> > > > > wrong set of patches caused the weird compilation error
messages.
> > > > >
> > > > > Please try starting over like this:
> > > > > (1) Get MET version 5.1 plus the latest set of patches by
> downloading
> > > > this
> > > > > file:
> > > > >    > wget
> > > > >
> > > > >
> > > >
> > >
> >
> http://www.dtcenter.org/met/users/downloads/MET_releases/met-
5.1_bugfix.20151106.tar.gz
> > > > >
> > > > > (2) Unpack it:
> > > > >    > tar -xvzf met-5.1_bugfix.20151106.tar.gz
> > > > >
> > > > > (3) Configure and compile it:
> > > > >    > cd met-5.1_bugfix
> > > > >    RUN YOU CONFIGURE COMMAND FOLLOWED BY COMPILE.
> > > > >
> > > > > Please let me know how that goes.
> > > > >
> > > > > Thanks,
> > > > > John
> > > > >
> > > > > On Tue, Dec 1, 2015 at 2:17 AM, vanisas at gmail.com via RT <
> > > > > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
> > > > > >
> > > > > > Hello John,
> > > > > >
> > > > > > I try MET version 5.0 instead and got different error
messages:
> > > > > >
> > > > > > collect2: ld returned 1 exit status
> > > > > > make[4]: *** [pb2nc] Error 1
> > > > > > make[4]: Leaving directory
> > > > > > `/home/vsurapipith/met-5.0/src/tools/other/pb2nc'
> > > > > > make[3]: *** [install-recursive] Error 1
> > > > > > make[3]: Leaving directory
> > > `/home/vsurapipith/met-5.0/src/tools/other'
> > > > > > make[2]: *** [install-recursive] Error 1
> > > > > > make[2]: Leaving directory `/home/vsurapipith/met-
5.0/src/tools'
> > > > > > make[1]: *** [install-recursive] Error 1
> > > > > > make[1]: Leaving directory `/home/vsurapipith/met-5.0/src'
> > > > > > make: *** [install-recursive] Error 1
> > > > > >
> > > > > > Kindly see also the attached make_install_V5.log for this
new
> try.
> > > > > >
> > > > > > Best wishes,
> > > > > > Vanisa
> > > > > >
> > > > > > On Tue, Dec 1, 2015 at 12:33 PM, Vanisa Surapipith <
> > > vanisas at gmail.com>
> > > > > > wrote:
> > > > > >
> > > > > > > Thank you, John. Please, see in the attachment the file
> > > > > > > data2d_grib_utils.cc in my folder of MET-5.1. In the
while,
> I'll
> > > try
> > > > to
> > > > > > > start again from scratch as you recommend. Report more
soon;
> yet
> > > look
> > > > > > > forward to your checking result.
> > > > > > >
> > > > > > > Best wishes,
> > > > > > > Vanisa
> > > > > > >
> > > > > > > On Tue, Dec 1, 2015 at 2:48 AM, John Halley Gotway via
RT <
> > > > > > > met_help at ucar.edu> wrote:
> > > > > > >
> > > > > > >> Vanisa,
> > > > > > >>
> > > > > > >> My apologies!  I confused the make_install.log file you
sent
> me
> > > with
> > > > > an
> > > > > > >> earlier one from somebody else.
> > > > > > >>
> > > > > > >> This is an odd error message.  Here are the relevant
lines...
> > > > > > >>
> > > > > > >> data2d_grib_utils.cc: In function â\x80\x98bool
> > > > is_prelim_match(const
> > > > > > >> VarInfoGrib&, const GribRecord&)â\x80\x99:
> > > > > > >> data2d_grib_utils.cc:134:43: error: â\x80\x98class
> > > > > SingleThreshâ\x80\x99
> > > > > > >> has no member named â\x80\x98threshâ\x80\x99
> > > > > > >> data2d_grib_utils.cc:135:43: error: â\x80\x98class
> > > > > SingleThreshâ\x80\x99
> > > > > > >> has no member named â\x80\x98threshâ\x80\x99
> > > > > > >> data2d_grib_utils.cc:154:38: error: â\x80\x98class
> > > > > SingleThreshâ\x80\x99
> > > > > > >> has no member named â\x80\x98threshâ\x80\x99
> > > > > > >> data2d_grib_utils.cc:161:38: error: â\x80\x98class
> > > > > SingleThreshâ\x80\x99
> > > > > > >> has no member named â\x80\x98threshâ\x80\x99
> > > > > > >>
> > > > > > >> The problem is occurring in the compilation of this
file:
> > > > > > >>
> > > > > > >>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> /home/vsurapipith/met-
5.1_bugfix/src/libcode/vx_data2d_grib/data2d_grib_utils.cc
> > > > > > >>
> > > > > > >> Could you please send that file to me?  I want to
compare it
> > with
> > > > the
> > > > > > >> source code to make sure it hasn't been corrupted.  If
you
> have
> > > made
> > > > > > >> changes to any of the source code files, I'd suggest
starting
> > from
> > > > > > >> scratch.  Just re-pulling the tarball and running
> > > configure/compile
> > > > > > again.
> > > > > > >>
> > > > > > >> Thanks,
> > > > > > >> John
>

------------------------------------------------
Subject: Errors during MET installation
From: John Halley Gotway
Time: Tue Dec 08 10:49:03 2015

Vanisa,

OK, we still have the same error message:
   /usr/bin/ld: cannot find -lbufr

The linker can't find the BUFRLIB library archive file it needs.  I
see the
following line in the .bashrc file you sent to me:
   export MET_BUFRLIB=/home/vsurapipith/BUFRLIB_v10.2.3:$MET_BUFRLIB

However, that isn't making it's way into your configuration because
BUFRLIB_v10.2.3 isn't showing up in the output of make.  So perhaps
there's
some confusion about the shell you're using.  The .bashrc file sets
the
environment for the bourne shell, but perhaps you're using the c-
shell...
who knows?

Let's do the following 2 things:

(1) Check to make sure this file exists:
   ls /home/vsurapipith/BUFRLIB_v10.2.3/libbufr.a

(2) Rerun the MET configure command using the following option on the
command line:
   MET_BUFRLIB=/home/vsurapipith/BUFRLIB_v10.2.3

After doing that, please try recompiling MET.  If it fails, please
send me
"make_install.log" as well as "config.log".

Thanks,
John


On Sun, Dec 6, 2015 at 9:26 PM, vanisas at gmail.com via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
>
> Hello John,
>
> thank you for your response with suggestion on the new try. I have
followed
> the described procedures for BUFRLIB_v10.2.3. However, the error
message at
> the end of make_install.log still looks similar like previously:
>
> collect2: ld returned 1 exit status
> make[4]: *** [pb2nc] Error 1
> make[4]: Leaving directory
> `/home/vsurapipith/met-5.1_bugfix/src/tools/other/pb2nc'
> make[3]: *** [install-recursive] Error 1
> make[3]: Leaving directory
> `/home/vsurapipith/met-5.1_bugfix/src/tools/other'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory `/home/vsurapipith/met-
5.1_bugfix/src/tools'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/vsurapipith/met-5.1_bugfix/src'
> make: *** [install-recursive] Error 1
>
> (the full log file is attached here, along with the .bashrc that I
use for
> setting the MET_BUFRLIB environment variable.) What should I do to
> correct/try further, so to get the pb2nc through in MET?
>
> Best wishes,
> Vanisa
>
> On Sat, Dec 5, 2015 at 3:25 AM, John Halley Gotway via RT <
> met_help at ucar.edu
> > wrote:
>
> > Vanisa,
> >
> > Sorry for the delay in getting back to you.  Please try compiling
BUFRLIB
> > version 10.2.3 using the following commands:
> >
> >   mkdir BUFRLIB_v10.2.3
> >   cd BUFRLIB_v10.2.3
> >   wget
> >
> >
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/tar_files/BUFRLIB_v10-
2-3.tar
> >   tar -xvf BUFRLIB_v10-2-3.tar
> >   gcc -c -DUNDERSCORE *.c
> >   gfortran -c -DUNDERSCORE -fno-second-underscore *.f *.F
> >   ar crv libbufr.a *.o
> >
> > And then set the MET_BUFRLIB environment variable to that
directory,
> re-run
> > the MET configure and compile commands.
> >
> > Thanks,
> > John
> >
> >
> > On Thu, Dec 3, 2015 at 9:42 PM, vanisas at gmail.com via RT <
> > met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
> > >
> > > Thank you very much, John for pointing this out, and so
yesterday I
> have
> > > tried compiling MET 5.1 again by disable BUFRLIB. That was
successfully
> > > done through. This morning I look again into how compiling
BUFRLIB,
> which
> > > looks to be important for our application will include point
> > observations.
> > >
> > >
> > > After pointing FC and CC to gfortran and gcc, I run the
preproc.sh
> > script,
> > > but got the error saying:
> > >
> > > ./preproc.sh: 52: ./preproc.sh: -o: not found
> > > ./preproc.sh: 1: ./preproc.sh: ./endiantest: not found
> > > ./preproc.sh: 54: [: =: unexpected operator
> > >
> > > Not sure what to do in correcting this error. This shows up both
before
> > and
> > > after I include "-traditional-cpp" where cpp is called.
> > > Could you help giving some more hints, please?
> > >
> > > Best wishes,
> > > Vanisa
> > >
> > > On Thu, Dec 3, 2015 at 12:47 AM, John Halley Gotway via RT <
> > > met_help at ucar.edu> wrote:
> > >
> > > > Vanisa,
> > > >
> > > > OK, this error is one I've seen before.
> > > >
> > > > The linker can't find the BUFRLIB library which is required by
the
> > pb2nc
> > > > tool.  Information about compiling BUFRLIB can be found on
this page:
> > > >
> > > >
> > > >
> > >
> >
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
> > > >
> > > > If you don't plan on using PREPBUFR point observations, you
could
> skip
> > > > compiling pb2nc using the "--disable-pb2nc" configuration
option.
> > > >
> > > > If you do want to compile it, just compile BUFRLIB using the
same
> > family
> > > of
> > > > compilers you're using gcc and gfortran (since that's what
you're
> using
> > > for
> > > > MET).  Then set the MET_BUFRLIB environment variables to the
BUFRLIB
> > > > directory which contains the file "libbufr.a".  Then rerun the
> > configure
> > > > and compile commands.
> > > >
> > > > Please let me know how it goes.
> > > >
> > > > Thanks,
> > > > John
> > > >
> > > > On Tue, Dec 1, 2015 at 10:23 PM, vanisas at gmail.com via RT <
> > > > met_help at ucar.edu
> > > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
> > > > >
> > > > > Hello John,
> > > > >
> > > > > thank you for your suggestion; I have then get MET 5.1, via
the
> > > described
> > > > > procedures, and when I run the makefile what I got in the
> > > > make_install.log
> > > > > looks similar to the ones I got when I tried MET 5.0
yesterday. Not
> > > sure
> > > > > where the problem is; does it have to do with BUFRLIB or
else? The
> > tail
> > > > of
> > > > > the make_install.log appear as:
> > > > >
> > > > > /usr/bin/ld: cannot find -lbufr
> > > > > collect2: ld returned 1 exit status
> > > > > make[4]: *** [pb2nc] Error 1
> > > > > make[4]: Leaving directory
> > > > > `/home/vsurapipith/met-5.1_bugfix/src/tools/other/pb2nc'
> > > > > make[3]: *** [install-recursive] Error 1
> > > > > make[3]: Leaving directory
> > > > > `/home/vsurapipith/met-5.1_bugfix/src/tools/other'
> > > > > make[2]: *** [install-recursive] Error 1
> > > > > make[2]: Leaving directory
> > `/home/vsurapipith/met-5.1_bugfix/src/tools'
> > > > > make[1]: *** [install-recursive] Error 1
> > > > > make[1]: Leaving directory `/home/vsurapipith/met-
5.1_bugfix/src'
> > > > > make: *** [install-recursive] Error 1
> > > > >
> > > > > What should be checked further, or do to overcome this
point?
> > > > >
> > > > > Best wishes,
> > > > > Vanisa
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On Wed, Dec 2, 2015 at 12:18 AM, John Halley Gotway via RT <
> > > > > met_help at ucar.edu> wrote:
> > > > >
> > > > > > Vanisa,
> > > > > >
> > > > > > Thanks for sending that data file.  Here's my best guess
at to
> what
> > > > > > happened...
> > > > > >
> > > > > > You downloaded MET version 5.1, and then you accidentally
applied
> > the
> > > > > > patches for MET version 5.0 to the MET version 5.1 code.
> Applying
> > > the
> > > > > > wrong set of patches caused the weird compilation error
messages.
> > > > > >
> > > > > > Please try starting over like this:
> > > > > > (1) Get MET version 5.1 plus the latest set of patches by
> > downloading
> > > > > this
> > > > > > file:
> > > > > >    > wget
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://www.dtcenter.org/met/users/downloads/MET_releases/met-
5.1_bugfix.20151106.tar.gz
> > > > > >
> > > > > > (2) Unpack it:
> > > > > >    > tar -xvzf met-5.1_bugfix.20151106.tar.gz
> > > > > >
> > > > > > (3) Configure and compile it:
> > > > > >    > cd met-5.1_bugfix
> > > > > >    RUN YOU CONFIGURE COMMAND FOLLOWED BY COMPILE.
> > > > > >
> > > > > > Please let me know how that goes.
> > > > > >
> > > > > > Thanks,
> > > > > > John
> > > > > >
> > > > > > On Tue, Dec 1, 2015 at 2:17 AM, vanisas at gmail.com via RT <
> > > > > > met_help at ucar.edu>
> > > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207
> >
> > > > > > >
> > > > > > > Hello John,
> > > > > > >
> > > > > > > I try MET version 5.0 instead and got different error
messages:
> > > > > > >
> > > > > > > collect2: ld returned 1 exit status
> > > > > > > make[4]: *** [pb2nc] Error 1
> > > > > > > make[4]: Leaving directory
> > > > > > > `/home/vsurapipith/met-5.0/src/tools/other/pb2nc'
> > > > > > > make[3]: *** [install-recursive] Error 1
> > > > > > > make[3]: Leaving directory
> > > > `/home/vsurapipith/met-5.0/src/tools/other'
> > > > > > > make[2]: *** [install-recursive] Error 1
> > > > > > > make[2]: Leaving directory
> `/home/vsurapipith/met-5.0/src/tools'
> > > > > > > make[1]: *** [install-recursive] Error 1
> > > > > > > make[1]: Leaving directory `/home/vsurapipith/met-
5.0/src'
> > > > > > > make: *** [install-recursive] Error 1
> > > > > > >
> > > > > > > Kindly see also the attached make_install_V5.log for
this new
> > try.
> > > > > > >
> > > > > > > Best wishes,
> > > > > > > Vanisa
> > > > > > >
> > > > > > > On Tue, Dec 1, 2015 at 12:33 PM, Vanisa Surapipith <
> > > > vanisas at gmail.com>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Thank you, John. Please, see in the attachment the
file
> > > > > > > > data2d_grib_utils.cc in my folder of MET-5.1. In the
while,
> > I'll
> > > > try
> > > > > to
> > > > > > > > start again from scratch as you recommend. Report more
soon;
> > yet
> > > > look
> > > > > > > > forward to your checking result.
> > > > > > > >
> > > > > > > > Best wishes,
> > > > > > > > Vanisa
> > > > > > > >
> > > > > > > > On Tue, Dec 1, 2015 at 2:48 AM, John Halley Gotway via
RT <
> > > > > > > > met_help at ucar.edu> wrote:
> > > > > > > >
> > > > > > > >> Vanisa,
> > > > > > > >>
> > > > > > > >> My apologies!  I confused the make_install.log file
you sent
> > me
> > > > with
> > > > > > an
> > > > > > > >> earlier one from somebody else.
> > > > > > > >>
> > > > > > > >> This is an odd error message.  Here are the relevant
> lines...
> > > > > > > >>
> > > > > > > >> data2d_grib_utils.cc: In function â\x80\x98bool
> > > > > is_prelim_match(const
> > > > > > > >> VarInfoGrib&, const GribRecord&)â\x80\x99:
> > > > > > > >> data2d_grib_utils.cc:134:43: error: â\x80\x98class
> > > > > > SingleThreshâ\x80\x99
> > > > > > > >> has no member named â\x80\x98threshâ\x80\x99
> > > > > > > >> data2d_grib_utils.cc:135:43: error: â\x80\x98class
> > > > > > SingleThreshâ\x80\x99
> > > > > > > >> has no member named â\x80\x98threshâ\x80\x99
> > > > > > > >> data2d_grib_utils.cc:154:38: error: â\x80\x98class
> > > > > > SingleThreshâ\x80\x99
> > > > > > > >> has no member named â\x80\x98threshâ\x80\x99
> > > > > > > >> data2d_grib_utils.cc:161:38: error: â\x80\x98class
> > > > > > SingleThreshâ\x80\x99
> > > > > > > >> has no member named â\x80\x98threshâ\x80\x99
> > > > > > > >>
> > > > > > > >> The problem is occurring in the compilation of this
file:
> > > > > > > >>
> > > > > > > >>
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /home/vsurapipith/met-
5.1_bugfix/src/libcode/vx_data2d_grib/data2d_grib_utils.cc
> > > > > > > >>
> > > > > > > >> Could you please send that file to me?  I want to
compare it
> > > with
> > > > > the
> > > > > > > >> source code to make sure it hasn't been corrupted.
If you
> > have
> > > > made
> > > > > > > >> changes to any of the source code files, I'd suggest
> starting
> > > from
> > > > > > > >> scratch.  Just re-pulling the tarball and running
> > > > configure/compile
> > > > > > > again.
> > > > > > > >>
> > > > > > > >> Thanks,
> > > > > > > >> John
> >
>
>

------------------------------------------------
Subject: Errors during MET installation
From: vanisas at gmail.com
Time: Tue Dec 08 20:16:58 2015

Thank you, John.

Ok; I will need to check properly about which it actually is; things
have
been working on the bourne chell; but I will check with my IT admin in
the
next hour.

At the moment, I have followed the 2 steps you told. The libbufr.a is
there
in /home/vsurapipith/BUFRLIB_v10.2.3/ . Yet after I did that command
to set
MET_BUFRLIB=/home/vsurapipith/BUFRLIB_v10.2.3. The MET installation
has not
gone through, still with the same set of error message. Kindly see in
the
attachment the config.log and make_install.log files from this run.

I'll check for the shell I'm working and report more soon.

Best wishes,
Vanisa

On Tue, Dec 8, 2015 at 11:34 PM, John Halley Gotway via RT <
met_help at ucar.edu> wrote:

> Vanisa,
>
> OK, we still have the same error message:
>    /usr/bin/ld: cannot find -lbufr
>
> The linker can't find the BUFRLIB library archive file it needs.  I
see the
> following line in the .bashrc file you sent to me:
>    export MET_BUFRLIB=/home/vsurapipith/BUFRLIB_v10.2.3:$MET_BUFRLIB
>
> However, that isn't making it's way into your configuration because
> BUFRLIB_v10.2.3 isn't showing up in the output of make.  So perhaps
there's
> some confusion about the shell you're using.  The .bashrc file sets
the
> environment for the bourne shell, but perhaps you're using the c-
shell...
> who knows?
>
> Let's do the following 2 things:
>
> (1) Check to make sure this file exists:
>    ls /home/vsurapipith/BUFRLIB_v10.2.3/libbufr.a
>
> (2) Rerun the MET configure command using the following option on
the
> command line:
>    MET_BUFRLIB=/home/vsurapipith/BUFRLIB_v10.2.3
>
> After doing that, please try recompiling MET.  If it fails, please
send me
> "make_install.log" as well as "config.log".
>
> Thanks,
> John
>
>
> On Sun, Dec 6, 2015 at 9:26 PM, vanisas at gmail.com via RT <
> met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
> >
> > Hello John,
> >
> > thank you for your response with suggestion on the new try. I have
> followed
> > the described procedures for BUFRLIB_v10.2.3. However, the error
message
> at
> > the end of make_install.log still looks similar like previously:
> >
> > collect2: ld returned 1 exit status
> > make[4]: *** [pb2nc] Error 1
> > make[4]: Leaving directory
> > `/home/vsurapipith/met-5.1_bugfix/src/tools/other/pb2nc'
> > make[3]: *** [install-recursive] Error 1
> > make[3]: Leaving directory
> > `/home/vsurapipith/met-5.1_bugfix/src/tools/other'
> > make[2]: *** [install-recursive] Error 1
> > make[2]: Leaving directory `/home/vsurapipith/met-
5.1_bugfix/src/tools'
> > make[1]: *** [install-recursive] Error 1
> > make[1]: Leaving directory `/home/vsurapipith/met-5.1_bugfix/src'
> > make: *** [install-recursive] Error 1
> >
> > (the full log file is attached here, along with the .bashrc that I
use
> for
> > setting the MET_BUFRLIB environment variable.) What should I do to
> > correct/try further, so to get the pb2nc through in MET?
> >
> > Best wishes,
> > Vanisa
> >
> > On Sat, Dec 5, 2015 at 3:25 AM, John Halley Gotway via RT <
> > met_help at ucar.edu
> > > wrote:
> >
> > > Vanisa,
> > >
> > > Sorry for the delay in getting back to you.  Please try
compiling
> BUFRLIB
> > > version 10.2.3 using the following commands:
> > >
> > >   mkdir BUFRLIB_v10.2.3
> > >   cd BUFRLIB_v10.2.3
> > >   wget
> > >
> > >
> >
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/tar_files/BUFRLIB_v10-
2-3.tar
> > >   tar -xvf BUFRLIB_v10-2-3.tar
> > >   gcc -c -DUNDERSCORE *.c
> > >   gfortran -c -DUNDERSCORE -fno-second-underscore *.f *.F
> > >   ar crv libbufr.a *.o
> > >
> > > And then set the MET_BUFRLIB environment variable to that
directory,
> > re-run
> > > the MET configure and compile commands.
> > >
> > > Thanks,
> > > John
> > >
> > >
> > > On Thu, Dec 3, 2015 at 9:42 PM, vanisas at gmail.com via RT <
> > > met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207
>
> > > >
> > > > Thank you very much, John for pointing this out, and so
yesterday I
> > have
> > > > tried compiling MET 5.1 again by disable BUFRLIB. That was
> successfully
> > > > done through. This morning I look again into how compiling
BUFRLIB,
> > which
> > > > looks to be important for our application will include point
> > > observations.
> > > >
> > > >
> > > > After pointing FC and CC to gfortran and gcc, I run the
preproc.sh
> > > script,
> > > > but got the error saying:
> > > >
> > > > ./preproc.sh: 52: ./preproc.sh: -o: not found
> > > > ./preproc.sh: 1: ./preproc.sh: ./endiantest: not found
> > > > ./preproc.sh: 54: [: =: unexpected operator
> > > >
> > > > Not sure what to do in correcting this error. This shows up
both
> before
> > > and
> > > > after I include "-traditional-cpp" where cpp is called.
> > > > Could you help giving some more hints, please?
> > > >
> > > > Best wishes,
> > > > Vanisa
> > > >
> > > > On Thu, Dec 3, 2015 at 12:47 AM, John Halley Gotway via RT <
> > > > met_help at ucar.edu> wrote:
> > > >
> > > > > Vanisa,
> > > > >
> > > > > OK, this error is one I've seen before.
> > > > >
> > > > > The linker can't find the BUFRLIB library which is required
by the
> > > pb2nc
> > > > > tool.  Information about compiling BUFRLIB can be found on
this
> page:
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
> > > > >
> > > > > If you don't plan on using PREPBUFR point observations, you
could
> > skip
> > > > > compiling pb2nc using the "--disable-pb2nc" configuration
option.
> > > > >
> > > > > If you do want to compile it, just compile BUFRLIB using the
same
> > > family
> > > > of
> > > > > compilers you're using gcc and gfortran (since that's what
you're
> > using
> > > > for
> > > > > MET).  Then set the MET_BUFRLIB environment variables to the
> BUFRLIB
> > > > > directory which contains the file "libbufr.a".  Then rerun
the
> > > configure
> > > > > and compile commands.
> > > > >
> > > > > Please let me know how it goes.
> > > > >
> > > > > Thanks,
> > > > > John
> > > > >
> > > > > On Tue, Dec 1, 2015 at 10:23 PM, vanisas at gmail.com via RT <
> > > > > met_help at ucar.edu
> > > > > > wrote:
> > > > >
> > > > > >
> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
> > > > > >
> > > > > > Hello John,
> > > > > >
> > > > > > thank you for your suggestion; I have then get MET 5.1,
via the
> > > > described
> > > > > > procedures, and when I run the makefile what I got in the
> > > > > make_install.log
> > > > > > looks similar to the ones I got when I tried MET 5.0
yesterday.
> Not
> > > > sure
> > > > > > where the problem is; does it have to do with BUFRLIB or
else?
> The
> > > tail
> > > > > of
> > > > > > the make_install.log appear as:
> > > > > >
> > > > > > /usr/bin/ld: cannot find -lbufr
> > > > > > collect2: ld returned 1 exit status
> > > > > > make[4]: *** [pb2nc] Error 1
> > > > > > make[4]: Leaving directory
> > > > > > `/home/vsurapipith/met-5.1_bugfix/src/tools/other/pb2nc'
> > > > > > make[3]: *** [install-recursive] Error 1
> > > > > > make[3]: Leaving directory
> > > > > > `/home/vsurapipith/met-5.1_bugfix/src/tools/other'
> > > > > > make[2]: *** [install-recursive] Error 1
> > > > > > make[2]: Leaving directory
> > > `/home/vsurapipith/met-5.1_bugfix/src/tools'
> > > > > > make[1]: *** [install-recursive] Error 1
> > > > > > make[1]: Leaving directory `/home/vsurapipith/met-
5.1_bugfix/src'
> > > > > > make: *** [install-recursive] Error 1
> > > > > >
> > > > > > What should be checked further, or do to overcome this
point?
> > > > > >
> > > > > > Best wishes,
> > > > > > Vanisa
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Wed, Dec 2, 2015 at 12:18 AM, John Halley Gotway via RT
<
> > > > > > met_help at ucar.edu> wrote:
> > > > > >
> > > > > > > Vanisa,
> > > > > > >
> > > > > > > Thanks for sending that data file.  Here's my best guess
at to
> > what
> > > > > > > happened...
> > > > > > >
> > > > > > > You downloaded MET version 5.1, and then you
accidentally
> applied
> > > the
> > > > > > > patches for MET version 5.0 to the MET version 5.1 code.
> > Applying
> > > > the
> > > > > > > wrong set of patches caused the weird compilation error
> messages.
> > > > > > >
> > > > > > > Please try starting over like this:
> > > > > > > (1) Get MET version 5.1 plus the latest set of patches
by
> > > downloading
> > > > > > this
> > > > > > > file:
> > > > > > >    > wget
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://www.dtcenter.org/met/users/downloads/MET_releases/met-
5.1_bugfix.20151106.tar.gz
> > > > > > >
> > > > > > > (2) Unpack it:
> > > > > > >    > tar -xvzf met-5.1_bugfix.20151106.tar.gz
> > > > > > >
> > > > > > > (3) Configure and compile it:
> > > > > > >    > cd met-5.1_bugfix
> > > > > > >    RUN YOU CONFIGURE COMMAND FOLLOWED BY COMPILE.
> > > > > > >
> > > > > > > Please let me know how that goes.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > John
> > > > > > >
> > > > > > > On Tue, Dec 1, 2015 at 2:17 AM, vanisas at gmail.com via RT
<
> > > > > > > met_help at ucar.edu>
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207
> > >
> > > > > > > >
> > > > > > > > Hello John,
> > > > > > > >
> > > > > > > > I try MET version 5.0 instead and got different error
> messages:
> > > > > > > >
> > > > > > > > collect2: ld returned 1 exit status
> > > > > > > > make[4]: *** [pb2nc] Error 1
> > > > > > > > make[4]: Leaving directory
> > > > > > > > `/home/vsurapipith/met-5.0/src/tools/other/pb2nc'
> > > > > > > > make[3]: *** [install-recursive] Error 1
> > > > > > > > make[3]: Leaving directory
> > > > > `/home/vsurapipith/met-5.0/src/tools/other'
> > > > > > > > make[2]: *** [install-recursive] Error 1
> > > > > > > > make[2]: Leaving directory
> > `/home/vsurapipith/met-5.0/src/tools'
> > > > > > > > make[1]: *** [install-recursive] Error 1
> > > > > > > > make[1]: Leaving directory `/home/vsurapipith/met-
5.0/src'
> > > > > > > > make: *** [install-recursive] Error 1
> > > > > > > >
> > > > > > > > Kindly see also the attached make_install_V5.log for
this new
> > > try.
> > > > > > > >
> > > > > > > > Best wishes,
> > > > > > > > Vanisa
> > > > > > > >
> > > > > > > > On Tue, Dec 1, 2015 at 12:33 PM, Vanisa Surapipith <
> > > > > vanisas at gmail.com>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Thank you, John. Please, see in the attachment the
file
> > > > > > > > > data2d_grib_utils.cc in my folder of MET-5.1. In the
while,
> > > I'll
> > > > > try
> > > > > > to
> > > > > > > > > start again from scratch as you recommend. Report
more
> soon;
> > > yet
> > > > > look
> > > > > > > > > forward to your checking result.
> > > > > > > > >
> > > > > > > > > Best wishes,
> > > > > > > > > Vanisa
> > > > > > > > >
> > > > > > > > > On Tue, Dec 1, 2015 at 2:48 AM, John Halley Gotway
via RT <
> > > > > > > > > met_help at ucar.edu> wrote:
> > > > > > > > >
> > > > > > > > >> Vanisa,
> > > > > > > > >>
> > > > > > > > >> My apologies!  I confused the make_install.log file
you
> sent
> > > me
> > > > > with
> > > > > > > an
> > > > > > > > >> earlier one from somebody else.
> > > > > > > > >>
> > > > > > > > >> This is an odd error message.  Here are the
relevant
> > lines...
> > > > > > > > >>
> > > > > > > > >> data2d_grib_utils.cc: In function â\x80\x98bool
> > > > > > is_prelim_match(const
> > > > > > > > >> VarInfoGrib&, const GribRecord&)â\x80\x99:
> > > > > > > > >> data2d_grib_utils.cc:134:43: error: â\x80\x98class
> > > > > > > SingleThreshâ\x80\x99
> > > > > > > > >> has no member named â\x80\x98threshâ\x80\x99
> > > > > > > > >> data2d_grib_utils.cc:135:43: error: â\x80\x98class
> > > > > > > SingleThreshâ\x80\x99
> > > > > > > > >> has no member named â\x80\x98threshâ\x80\x99
> > > > > > > > >> data2d_grib_utils.cc:154:38: error: â\x80\x98class
> > > > > > > SingleThreshâ\x80\x99
> > > > > > > > >> has no member named â\x80\x98threshâ\x80\x99
> > > > > > > > >> data2d_grib_utils.cc:161:38: error: â\x80\x98class
> > > > > > > SingleThreshâ\x80\x99
> > > > > > > > >> has no member named â\x80\x98threshâ\x80\x99
> > > > > > > > >>
> > > > > > > > >> The problem is occurring in the compilation of this
file:
> > > > > > > > >>
> > > > > > > > >>
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /home/vsurapipith/met-
5.1_bugfix/src/libcode/vx_data2d_grib/data2d_grib_utils.cc
> > > > > > > > >>
> > > > > > > > >> Could you please send that file to me?  I want to
compare
> it
> > > > with
> > > > > > the
> > > > > > > > >> source code to make sure it hasn't been corrupted.
If you
> > > have
> > > > > made
> > > > > > > > >> changes to any of the source code files, I'd
suggest
> > starting
> > > > from
> > > > > > > > >> scratch.  Just re-pulling the tarball and running
> > > > > configure/compile
> > > > > > > > again.
> > > > > > > > >>
> > > > > > > > >> Thanks,
> > > > > > > > >> John
> > >
> >
> >
>
>

------------------------------------------------
Subject: Errors during MET installation
From: John Halley Gotway
Time: Wed Dec 09 09:57:19 2015

Vanisa,

The MET_BUFRLIB setting continues to not show up in the output files
you
sent me.   Please try running the following commands... I'm setting it
twice below just to be twice as sure:

   cd /home/vsurapipith/met-5.1_bugfix
   make clean
   export MET_BUFRLIB=/home/vsurapipith/BUFRLIB_v10.2.3
   ./configure --prefix=/home/vsurapipith/met-5.1_bugfix MET_BUFRLIB=
/home/vsurapipith/BUFRLIB_v10.2.3
   make install >& make_install.log

Hopefully that does the trick.

Thanks,
John


On Tue, Dec 8, 2015 at 8:16 PM, vanisas at gmail.com via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
>
> Thank you, John.
>
> Ok; I will need to check properly about which it actually is; things
have
> been working on the bourne chell; but I will check with my IT admin
in the
> next hour.
>
> At the moment, I have followed the 2 steps you told. The libbufr.a
is there
> in /home/vsurapipith/BUFRLIB_v10.2.3/ . Yet after I did that command
to set
> MET_BUFRLIB=/home/vsurapipith/BUFRLIB_v10.2.3. The MET installation
has not
> gone through, still with the same set of error message. Kindly see
in the
> attachment the config.log and make_install.log files from this run.
>
> I'll check for the shell I'm working and report more soon.
>
> Best wishes,
> Vanisa
>
> On Tue, Dec 8, 2015 at 11:34 PM, John Halley Gotway via RT <
> met_help at ucar.edu> wrote:
>
> > Vanisa,
> >
> > OK, we still have the same error message:
> >    /usr/bin/ld: cannot find -lbufr
> >
> > The linker can't find the BUFRLIB library archive file it needs.
I see
> the
> > following line in the .bashrc file you sent to me:
> >    export
MET_BUFRLIB=/home/vsurapipith/BUFRLIB_v10.2.3:$MET_BUFRLIB
> >
> > However, that isn't making it's way into your configuration
because
> > BUFRLIB_v10.2.3 isn't showing up in the output of make.  So
perhaps
> there's
> > some confusion about the shell you're using.  The .bashrc file
sets the
> > environment for the bourne shell, but perhaps you're using the c-
shell...
> > who knows?
> >
> > Let's do the following 2 things:
> >
> > (1) Check to make sure this file exists:
> >    ls /home/vsurapipith/BUFRLIB_v10.2.3/libbufr.a
> >
> > (2) Rerun the MET configure command using the following option on
the
> > command line:
> >    MET_BUFRLIB=/home/vsurapipith/BUFRLIB_v10.2.3
> >
> > After doing that, please try recompiling MET.  If it fails, please
send
> me
> > "make_install.log" as well as "config.log".
> >
> > Thanks,
> > John
> >
> >
> > On Sun, Dec 6, 2015 at 9:26 PM, vanisas at gmail.com via RT <
> > met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
> > >
> > > Hello John,
> > >
> > > thank you for your response with suggestion on the new try. I
have
> > followed
> > > the described procedures for BUFRLIB_v10.2.3. However, the error
> message
> > at
> > > the end of make_install.log still looks similar like previously:
> > >
> > > collect2: ld returned 1 exit status
> > > make[4]: *** [pb2nc] Error 1
> > > make[4]: Leaving directory
> > > `/home/vsurapipith/met-5.1_bugfix/src/tools/other/pb2nc'
> > > make[3]: *** [install-recursive] Error 1
> > > make[3]: Leaving directory
> > > `/home/vsurapipith/met-5.1_bugfix/src/tools/other'
> > > make[2]: *** [install-recursive] Error 1
> > > make[2]: Leaving directory `/home/vsurapipith/met-
5.1_bugfix/src/tools'
> > > make[1]: *** [install-recursive] Error 1
> > > make[1]: Leaving directory `/home/vsurapipith/met-
5.1_bugfix/src'
> > > make: *** [install-recursive] Error 1
> > >
> > > (the full log file is attached here, along with the .bashrc that
I use
> > for
> > > setting the MET_BUFRLIB environment variable.) What should I do
to
> > > correct/try further, so to get the pb2nc through in MET?
> > >
> > > Best wishes,
> > > Vanisa
> > >
> > > On Sat, Dec 5, 2015 at 3:25 AM, John Halley Gotway via RT <
> > > met_help at ucar.edu
> > > > wrote:
> > >
> > > > Vanisa,
> > > >
> > > > Sorry for the delay in getting back to you.  Please try
compiling
> > BUFRLIB
> > > > version 10.2.3 using the following commands:
> > > >
> > > >   mkdir BUFRLIB_v10.2.3
> > > >   cd BUFRLIB_v10.2.3
> > > >   wget
> > > >
> > > >
> > >
> >
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/tar_files/BUFRLIB_v10-
2-3.tar
> > > >   tar -xvf BUFRLIB_v10-2-3.tar
> > > >   gcc -c -DUNDERSCORE *.c
> > > >   gfortran -c -DUNDERSCORE -fno-second-underscore *.f *.F
> > > >   ar crv libbufr.a *.o
> > > >
> > > > And then set the MET_BUFRLIB environment variable to that
directory,
> > > re-run
> > > > the MET configure and compile commands.
> > > >
> > > > Thanks,
> > > > John
> > > >
> > > >
> > > > On Thu, Dec 3, 2015 at 9:42 PM, vanisas at gmail.com via RT <
> > > > met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207 >
> > > > >
> > > > > Thank you very much, John for pointing this out, and so
yesterday I
> > > have
> > > > > tried compiling MET 5.1 again by disable BUFRLIB. That was
> > successfully
> > > > > done through. This morning I look again into how compiling
BUFRLIB,
> > > which
> > > > > looks to be important for our application will include point
> > > > observations.
> > > > >
> > > > >
> > > > > After pointing FC and CC to gfortran and gcc, I run the
preproc.sh
> > > > script,
> > > > > but got the error saying:
> > > > >
> > > > > ./preproc.sh: 52: ./preproc.sh: -o: not found
> > > > > ./preproc.sh: 1: ./preproc.sh: ./endiantest: not found
> > > > > ./preproc.sh: 54: [: =: unexpected operator
> > > > >
> > > > > Not sure what to do in correcting this error. This shows up
both
> > before
> > > > and
> > > > > after I include "-traditional-cpp" where cpp is called.
> > > > > Could you help giving some more hints, please?
> > > > >
> > > > > Best wishes,
> > > > > Vanisa
> > > > >
> > > > > On Thu, Dec 3, 2015 at 12:47 AM, John Halley Gotway via RT <
> > > > > met_help at ucar.edu> wrote:
> > > > >
> > > > > > Vanisa,
> > > > > >
> > > > > > OK, this error is one I've seen before.
> > > > > >
> > > > > > The linker can't find the BUFRLIB library which is
required by
> the
> > > > pb2nc
> > > > > > tool.  Information about compiling BUFRLIB can be found on
this
> > page:
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
> > > > > >
> > > > > > If you don't plan on using PREPBUFR point observations,
you could
> > > skip
> > > > > > compiling pb2nc using the "--disable-pb2nc" configuration
option.
> > > > > >
> > > > > > If you do want to compile it, just compile BUFRLIB using
the same
> > > > family
> > > > > of
> > > > > > compilers you're using gcc and gfortran (since that's what
you're
> > > using
> > > > > for
> > > > > > MET).  Then set the MET_BUFRLIB environment variables to
the
> > BUFRLIB
> > > > > > directory which contains the file "libbufr.a".  Then rerun
the
> > > > configure
> > > > > > and compile commands.
> > > > > >
> > > > > > Please let me know how it goes.
> > > > > >
> > > > > > Thanks,
> > > > > > John
> > > > > >
> > > > > > On Tue, Dec 1, 2015 at 10:23 PM, vanisas at gmail.com via RT
<
> > > > > > met_help at ucar.edu
> > > > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207
> >
> > > > > > >
> > > > > > > Hello John,
> > > > > > >
> > > > > > > thank you for your suggestion; I have then get MET 5.1,
via the
> > > > > described
> > > > > > > procedures, and when I run the makefile what I got in
the
> > > > > > make_install.log
> > > > > > > looks similar to the ones I got when I tried MET 5.0
yesterday.
> > Not
> > > > > sure
> > > > > > > where the problem is; does it have to do with BUFRLIB or
else?
> > The
> > > > tail
> > > > > > of
> > > > > > > the make_install.log appear as:
> > > > > > >
> > > > > > > /usr/bin/ld: cannot find -lbufr
> > > > > > > collect2: ld returned 1 exit status
> > > > > > > make[4]: *** [pb2nc] Error 1
> > > > > > > make[4]: Leaving directory
> > > > > > > `/home/vsurapipith/met-5.1_bugfix/src/tools/other/pb2nc'
> > > > > > > make[3]: *** [install-recursive] Error 1
> > > > > > > make[3]: Leaving directory
> > > > > > > `/home/vsurapipith/met-5.1_bugfix/src/tools/other'
> > > > > > > make[2]: *** [install-recursive] Error 1
> > > > > > > make[2]: Leaving directory
> > > > `/home/vsurapipith/met-5.1_bugfix/src/tools'
> > > > > > > make[1]: *** [install-recursive] Error 1
> > > > > > > make[1]: Leaving directory
> `/home/vsurapipith/met-5.1_bugfix/src'
> > > > > > > make: *** [install-recursive] Error 1
> > > > > > >
> > > > > > > What should be checked further, or do to overcome this
point?
> > > > > > >
> > > > > > > Best wishes,
> > > > > > > Vanisa
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On Wed, Dec 2, 2015 at 12:18 AM, John Halley Gotway via
RT <
> > > > > > > met_help at ucar.edu> wrote:
> > > > > > >
> > > > > > > > Vanisa,
> > > > > > > >
> > > > > > > > Thanks for sending that data file.  Here's my best
guess at
> to
> > > what
> > > > > > > > happened...
> > > > > > > >
> > > > > > > > You downloaded MET version 5.1, and then you
accidentally
> > applied
> > > > the
> > > > > > > > patches for MET version 5.0 to the MET version 5.1
code.
> > > Applying
> > > > > the
> > > > > > > > wrong set of patches caused the weird compilation
error
> > messages.
> > > > > > > >
> > > > > > > > Please try starting over like this:
> > > > > > > > (1) Get MET version 5.1 plus the latest set of patches
by
> > > > downloading
> > > > > > > this
> > > > > > > > file:
> > > > > > > >    > wget
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://www.dtcenter.org/met/users/downloads/MET_releases/met-
5.1_bugfix.20151106.tar.gz
> > > > > > > >
> > > > > > > > (2) Unpack it:
> > > > > > > >    > tar -xvzf met-5.1_bugfix.20151106.tar.gz
> > > > > > > >
> > > > > > > > (3) Configure and compile it:
> > > > > > > >    > cd met-5.1_bugfix
> > > > > > > >    RUN YOU CONFIGURE COMMAND FOLLOWED BY COMPILE.
> > > > > > > >
> > > > > > > > Please let me know how that goes.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > John
> > > > > > > >
> > > > > > > > On Tue, Dec 1, 2015 at 2:17 AM, vanisas at gmail.com via
RT <
> > > > > > > > met_help at ucar.edu>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74207
> > > >
> > > > > > > > >
> > > > > > > > > Hello John,
> > > > > > > > >
> > > > > > > > > I try MET version 5.0 instead and got different
error
> > messages:
> > > > > > > > >
> > > > > > > > > collect2: ld returned 1 exit status
> > > > > > > > > make[4]: *** [pb2nc] Error 1
> > > > > > > > > make[4]: Leaving directory
> > > > > > > > > `/home/vsurapipith/met-5.0/src/tools/other/pb2nc'
> > > > > > > > > make[3]: *** [install-recursive] Error 1
> > > > > > > > > make[3]: Leaving directory
> > > > > > `/home/vsurapipith/met-5.0/src/tools/other'
> > > > > > > > > make[2]: *** [install-recursive] Error 1
> > > > > > > > > make[2]: Leaving directory
> > > `/home/vsurapipith/met-5.0/src/tools'
> > > > > > > > > make[1]: *** [install-recursive] Error 1
> > > > > > > > > make[1]: Leaving directory `/home/vsurapipith/met-
5.0/src'
> > > > > > > > > make: *** [install-recursive] Error 1
> > > > > > > > >
> > > > > > > > > Kindly see also the attached make_install_V5.log for
this
> new
> > > > try.
> > > > > > > > >
> > > > > > > > > Best wishes,
> > > > > > > > > Vanisa
> > > > > > > > >
> > > > > > > > > On Tue, Dec 1, 2015 at 12:33 PM, Vanisa Surapipith <
> > > > > > vanisas at gmail.com>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > Thank you, John. Please, see in the attachment the
file
> > > > > > > > > > data2d_grib_utils.cc in my folder of MET-5.1. In
the
> while,
> > > > I'll
> > > > > > try
> > > > > > > to
> > > > > > > > > > start again from scratch as you recommend. Report
more
> > soon;
> > > > yet
> > > > > > look
> > > > > > > > > > forward to your checking result.
> > > > > > > > > >
> > > > > > > > > > Best wishes,
> > > > > > > > > > Vanisa
> > > > > > > > > >
> > > > > > > > > > On Tue, Dec 1, 2015 at 2:48 AM, John Halley Gotway
via
> RT <
> > > > > > > > > > met_help at ucar.edu> wrote:
> > > > > > > > > >
> > > > > > > > > >> Vanisa,
> > > > > > > > > >>
> > > > > > > > > >> My apologies!  I confused the make_install.log
file you
> > sent
> > > > me
> > > > > > with
> > > > > > > > an
> > > > > > > > > >> earlier one from somebody else.
> > > > > > > > > >>
> > > > > > > > > >> This is an odd error message.  Here are the
relevant
> > > lines...
> > > > > > > > > >>
> > > > > > > > > >> data2d_grib_utils.cc: In function â\x80\x98bool
> > > > > > > is_prelim_match(const
> > > > > > > > > >> VarInfoGrib&, const GribRecord&)â\x80\x99:
> > > > > > > > > >> data2d_grib_utils.cc:134:43: error:
â\x80\x98class
> > > > > > > > SingleThreshâ\x80\x99
> > > > > > > > > >> has no member named â\x80\x98threshâ\x80\x99
> > > > > > > > > >> data2d_grib_utils.cc:135:43: error:
â\x80\x98class
> > > > > > > > SingleThreshâ\x80\x99
> > > > > > > > > >> has no member named â\x80\x98threshâ\x80\x99
> > > > > > > > > >> data2d_grib_utils.cc:154:38: error:
â\x80\x98class
> > > > > > > > SingleThreshâ\x80\x99
> > > > > > > > > >> has no member named â\x80\x98threshâ\x80\x99
> > > > > > > > > >> data2d_grib_utils.cc:161:38: error:
â\x80\x98class
> > > > > > > > SingleThreshâ\x80\x99
> > > > > > > > > >> has no member named â\x80\x98threshâ\x80\x99
> > > > > > > > > >>
> > > > > > > > > >> The problem is occurring in the compilation of
this
> file:
> > > > > > > > > >>
> > > > > > > > > >>
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /home/vsurapipith/met-
5.1_bugfix/src/libcode/vx_data2d_grib/data2d_grib_utils.cc
> > > > > > > > > >>
> > > > > > > > > >> Could you please send that file to me?  I want to
> compare
> > it
> > > > > with
> > > > > > > the
> > > > > > > > > >> source code to make sure it hasn't been
corrupted.  If
> you
> > > > have
> > > > > > made
> > > > > > > > > >> changes to any of the source code files, I'd
suggest
> > > starting
> > > > > from
> > > > > > > > > >> scratch.  Just re-pulling the tarball and running
> > > > > > configure/compile
> > > > > > > > > again.
> > > > > > > > > >>
> > > > > > > > > >> Thanks,
> > > > > > > > > >> John
> > > >
> > >
> > >
> >
> >
>
>

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


More information about the Met_help mailing list