[Met_help] [rt.rap.ucar.edu #89245] History for error while installing Bufrlib

Julie Prestopnik via RT met_help at ucar.edu
Thu Apr 11 11:40:05 MDT 2019


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

Hi i tried to install the BUFRLIB before to install met.6.0 but i have this
error.
i got some warning when i run : "gcc -c -DUNDERSCORE *.c"
and i joint the error i get when i run: "gfortran -c -DUNDERSCORE
-fno-second-underscore *.f *.F"


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

Subject: error while installing Bufrlib
From: Julie Prestopnik
Time: Fri Mar 08 11:28:27 2019

I'm sorry to hear that you are having trouble compiling BUFRLIB.  I am
not
a BUFRLIB compilation expert, but will do my best to help.

But, before I begin, I wanted to suggest that you consider using our
latest
release of met-8.0, which you can obtain on our downloads page:
https://dtcenter.org/met/users/downloads/index.php

First, what version of BURFLIB are you working with? Please be sure
you are
using version 10-2-3:
https://dtcenter.org/met/users/support/online_tutorial/METv8.0/compilation/tar_files/BUFRLIB_v10-
2-3.tar

Could you please start with a fresh shell and follow the directions on
the
tutorial website and let me know how it goes?

met-6.0:
https://dtcenter.org/met/users/support/online_tutorial/METv6.0/tutorial.php?name=compilation&category=req_libs
met-8.0:
https://dtcenter.org/met/users/support/online_tutorial/METv8.0/tutorial.php?name=compilation&category=req_libs

Unpacking the BUFRLIB tarball consists of the following 3 steps:

   - Make a new directory to contain the BUFRLIB code (e.g. *mkdir
/home/user/BUFRLIB*).
   - Move the BUFRLIB tarball to the new directory (e.g. *mv
BUFRLIB.tar
/home/user/BUFRLIB/.*).
   - Unpack the tarball (e.g. *cd /home/user/BUFRLIB; tar -xvf
BUFRLIB.tar*).

Next, compile BUFRLIB using a C and a FORTRAN compiler. Compiling
BUFRLIB
using the GNU gcc and gfortran compilers consists of
the following 3 steps:

   *gcc -c -DUNDERSCORE *.c*
   *gfortran -c -DUNDERSCORE -fno-second-underscore *.f *.F*
   *ar crv libbufr.a *.o*

Thanks!
Julie


On Fri, Mar 8, 2019 at 5:21 AM moustapha kamara via RT
<met_help at ucar.edu>
wrote:

>
> Fri Mar 08 05:21:24 2019: Request 89245 was acted upon.
> Transaction: Ticket created by mmkamou at gmail.com
>        Queue: met_help
>      Subject: error while installing Bufrlib
>        Owner: Nobody
>   Requestors: mmkamou at gmail.com
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=89245 >
>
>
> Hi i tried to install the BUFRLIB before to install met.6.0 but i
have this
> error.
> i got some warning when i run : "gcc -c -DUNDERSCORE *.c"
> and i joint the error i get when i run: "gfortran -c -DUNDERSCORE
> -fno-second-underscore *.f *.F"
>
>

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


More information about the Met_help mailing list