[Met_help] fm theo carter dubai re: failure during make

John Halley Gotway johnhg at rap.ucar.edu
Wed Apr 29 06:38:24 MDT 2009


Based on that error message, I'd guess that there's an issue with your version of BUFRLIB.

Where did you obtain the version of BUFRLIB you're using?  Is by any chance part of WRF-Var?  If so, that version may or may not work.

For compiling MET, be sure to use the version that's distributed by NCEP: http://www.nco.ncep.noaa.gov/sib/decoders/BUFRLIB

The following 3 commands should work to compile this version of BUFRLIB with gcc/gfortran:
      gcc -c -DUNDERSCORE *.c
      gfortran -c -DUNDERSCORE -fno-second-underscore *.f *.F
      ar crv libbufr.a *.o

These were taken from the METv2.0 Online Tutorial: http://www.dtcenter.org/met/users/support/online_tutorial/METv2.0/compilation/req_libs.php

Please try rebuilding BUFRLIB and recompiling MET to see if that fixes the problem.

John Halley Gotway
johnhg at ucar.edu

Theo Carter wrote:
> Hi,
> I wonder if you can help or if you have come across this problem before? While running make on a very generic basic Pentium 4 32-bit using gfortran, gcc and g++ compilers within a CentOS 5.3 OS (RHEL 5 clone) the build fails with the following output.
> /wrf/extralibraries/libbufr.a(ufbevn.o): In function `ufbevn_':
> ufbevn.f:(.text+0xa6e): undefined reference to `nvnwin_'
> collect2: ld returned 1 exit status
> make[3]: *** [pb2nc] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [targets] Error 2
> make: *** [all] Error 2
> BUFRLIB was built on the same machine.
> I then end up with only gen_poly_mask, grid_stat, mode and pcp_combine executables in my /bin.
> Any help would be appreciated,
> Thanks,
> Theo Carter
> ------------------------------------------------------------------------
> _______________________________________________
> Met_help mailing list
> Met_help at mailman.ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/met_help

More information about the Met_help mailing list