[Met_help] [rt.rap.ucar.edu #82536] History for grib2.h error

John Halley Gotway via RT met_help at ucar.edu
Tue Jul 9 12:04:13 MDT 2019


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

Hi
I tried to install MET on Cheyenne Ucar. I used the same command on
tutorial:

./configure --prefix=`pwd` --enable-grib2 --enable-modis
--enable-mode_graphics --enable-lidar2nc

But it gives me this error:

data2d_grib2.h(27): catastrophic error: cannot open source file "grib2.h"
    #include "grib2.h"
                      ^

compilation aborted for data2d_grib2.cc (code 4)
Makefile:404: recipe for target 'libvx_data2d_grib2_a-data2d_grib2.o' failed
make[3]: *** [libvx_data2d_grib2_a-data2d_grib2.o] Error 4
make[3]: Leaving directory
'/glade/p/work/htan2013/ModelEvaluationTool/met-6.0/src/libcode/vx_data2d_grib2'
Makefile:362: recipe for target 'install-recursive' failed
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
'/glade/p/work/htan2013/ModelEvaluationTool/met-6.0/src/libcode'
Makefile:354: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
'/glade/p/work/htan2013/ModelEvaluationTool/met-6.0/src'
Makefile:410: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1

This step is after I downloaded and unzip the
met-6.0_patches_20170920.tar.gz
<https://dtcenter.org/met/users/support/known_issues/METv6.0/patches/met-6.0_patches_20170920.tar.gz>
.
I was kind of stuck on this error, can you help me?

Also I've tried disable the grib2 in configure also. Same error.

Thanks!
Haochen


Haochen Tan
Meteorology Graduate Student
Department of Marine and Environmental Systems
Florida Institute of Technology
150 W. University Blvd. Melbourne, FL 32901
Email: htan2013 at my.fit.edu


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

Subject: grib2.h error
From: John Halley Gotway
Time: Fri Oct 27 15:55:28 2017

Hoachen,

I see that you're trying to compile MET on cheyenne.  Please be aware
that
there is an existing build of MET on cheyenne that can be loaded as a
module, as described on this page:

https://dtcenter.org/met/users/downloads/existing_met_builds.php

Please let met know if that doesn't meet your needs.

Thanks,
John Halley Gotway

On Fri, Oct 27, 2017 at 3:03 PM, Haochen Tan via RT
<met_help at ucar.edu>
wrote:

>
> Fri Oct 27 15:03:59 2017: Request 82536 was acted upon.
> Transaction: Ticket created by htan2013 at my.fit.edu
>        Queue: met_help
>      Subject: grib2.h error
>        Owner: Nobody
>   Requestors: htan2013 at my.fit.edu
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=82536 >
>
>
> Hi
> I tried to install MET on Cheyenne Ucar. I used the same command on
> tutorial:
>
> ./configure --prefix=`pwd` --enable-grib2 --enable-modis
> --enable-mode_graphics --enable-lidar2nc
>
> But it gives me this error:
>
> data2d_grib2.h(27): catastrophic error: cannot open source file
"grib2.h"
>     #include "grib2.h"
>                       ^
>
> compilation aborted for data2d_grib2.cc (code 4)
> Makefile:404: recipe for target 'libvx_data2d_grib2_a-
data2d_grib2.o'
> failed
> make[3]: *** [libvx_data2d_grib2_a-data2d_grib2.o] Error 4
> make[3]: Leaving directory
> '/glade/p/work/htan2013/ModelEvaluationTool/met-6.0/
> src/libcode/vx_data2d_grib2'
> Makefile:362: recipe for target 'install-recursive' failed
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory
> '/glade/p/work/htan2013/ModelEvaluationTool/met-6.0/src/libcode'
> Makefile:354: recipe for target 'install-recursive' failed
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory
> '/glade/p/work/htan2013/ModelEvaluationTool/met-6.0/src'
> Makefile:410: recipe for target 'install-recursive' failed
> make: *** [install-recursive] Error 1
>
> This step is after I downloaded and unzip the
> met-6.0_patches_20170920.tar.gz
> <https://dtcenter.org/met/users/support/known_issues/
> METv6.0/patches/met-6.0_patches_20170920.tar.gz>
> .
> I was kind of stuck on this error, can you help me?
>
> Also I've tried disable the grib2 in configure also. Same error.
>
> Thanks!
> Haochen
>
>
> Haochen Tan
> Meteorology Graduate Student
> Department of Marine and Environmental Systems
> Florida Institute of Technology
> 150 W. University Blvd. Melbourne, FL 32901
> Email: htan2013 at my.fit.edu
>
>

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


More information about the Met_help mailing list