[Met_help] MET install error
John Halley Gotway
johnhg at rap.ucar.edu
Tue Sep 18 10:32:53 MDT 2007
Luke,
I see that you're trying to use gcc and f77 to compile MET - as was suggested in the MET User's Guide. Unfortunately, that was an error, we should have listed g++ as the preferred compiler rather
than gcc. In fact, that mistake is currently listed on the Errata page for the MET Users Guide (http://www.dtcenter.org/met/users/docs/users_guide/MET_Users_Guide_v0.9_Errata.php).
I apologize for the trouble it's caused. Please try using the g++ compiler rather than the gcc compiler.
So in your top-level Makefile, change the C++ compiler
from: CPP_COMPILER = /usr/bin/gcc
to: CPP_COMPILER = /usr/bin/g++
Assuming that you have g++ installed in that directory.
Also, prior to re-making MET, please do a "make clean" first. Anytime you encounter an error in the compilation, it's a good idea to do a "make clean" prior to executing "make" again.
Give that a try and please let us know if you run into any more problems in the installation process.
Thanks,
John Halley Gotway
johnhg at ucar.edu
Luke Peffers wrote:
> Hello, I am in the process of installing MET on our Linux machine and have
> run into an error. I have compiled the required libraries (BUFRLIB, GSL,
> and NetCDF) using our gcc/f77 compilers. The error below keeps disrupting
> the "make" of MET. Can you offer any assistance? I have included my
> Makefile for your reference.
>
> Thank you for your help.
>
> Regards,
>
> Luke Peffers
> Florida State University - Meteorology
>
>
> *** Making pcp_combine application ***
>
>
> /usr/bin/gcc -o pcp_combine pcp_combine.cc \
> -g -Wall -Wshadow -static
> -DMET_BASE=\"/fuelberg/r0/lpeffers/MET_9/METv0.9\" \
> -I../../lib -I/fuelberg/r0/lpeffers/NetCDF/include
> -I/fuelberg/r0/lpeffers/NetCDF/netcdf-3.6.2/cxx \
> -L../../lib -L/fuelberg/r0/lpeffers/NetCDF/lib \
> -lvx_met_util -lvx_grib_classes -lvx_wrfdata -lvx_data_grids -lvx_nav
> -lvx_cal \
> -lvx_math -lvx_util -lm -lnetcdf_c++ -lnetcdf
> ../../lib/vx_data_grids/grid_base.h:179: warning: âclass Integrandâ has
> virtual functions but non-virtual destructor
> ../../lib/vx_data_grids/grid_base.h:191: warning: âclass GridInterfaceâ has
> virtual functions but non-virtual destructor
> ../../lib/vx_wrfdata/shape.h:34: warning: âclass Shapeâ has virtual
> functions but non-virtual destructor
> ../../lib/vx_wrfdata/shape.h:50: warning: âclass FreelyMoveableShapeâ has
> virtual functions but non-virtual destructor
> ../../lib/vx_grib_classes/grib_strings.h:27: warning: âmissing_strâ defined
> but not used
> ../../lib/vx_grib_classes/grib_strings.h:45: warning: âgrib_code_listâ
> defined but not used
> ../../lib/vx_grib_classes/grib_strings.h:77: warning: âgrib_code_list_strâ
> defined but not used
> ../../lib/vx_grib_classes/grib_strings.h:341: warning: âgrib_level_listâ
> defined but not used
> ../../lib/vx_grib_classes/grib_strings.h:360: warning: âgrib_level_flagâ
> defined but not used
> ../../lib/vx_grib_classes/grib_strings.h:374: warning: âgrib_level_list_strâ
> defined but not used
> ../../lib/vx_wrfdata/vx_wrfdata.h:41: warning: âwrfdata_magicâ defined but
> not used
> ../../lib/vx_wrfdata/vx_wrfdata.h:64: warning: âthresh_type_strâ defined but
> not used
> ../../lib/vx_wrfdata/vx_wrfdata.h:85: warning: âstep_direction_strâ defined
> but not used
> ../../lib/vx_met_util/read_grib.h:41: warning: âtwo_to_one_gribâ defined but
> not used
> /tmp/ccuSQXOt.o(.text+0xa4): In function `usage':
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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