[Met_help] Compile Error 1.0 Q

John Halley Gotway johnhg at rap.ucar.edu
Wed Jan 9 13:55:48 MST 2008


Robert,

Glad to hear it.  Please let us know if any other questions or issues arise running MET.

Thanks,
John

Flanigan, Robert (Civ, ARL/CISD) wrote:
> Thanks John that did it:-)
> 
> R.Flanigan
> 
> 
> -----Original Message-----
> From: John Halley Gotway [mailto:johnhg at rap.ucar.edu]
> Sent: Wed 1/9/2008 1:28 PM
> To: Flanigan, Robert (Civ, ARL/CISD)
> Cc: met_help at ucar.edu
> Subject: Re: [Met_help] Compile Error 1.0 Q
>  
> Robert,
> 
> Please check in the top-level MET Makefile.  It appears that you set the variable F2C_INCS as "I/opt/libf2c/Aug2007" when you really meant to set it as "-I/opt/libf2c/Aug2007".
> 
> That dash needs to be providing in the beginning for the compiler to recognize it.
> 
> John
> 
> Flanigan, Robert (Civ, ARL/CISD) wrote:
>> John
>>
>> Thanks for the help.
>> I get buy the previous error but now get one at the end of the make:
>>
>>
>> *** Making pb2nc application ***
>>
>> /usr/bin/g++ -c pb2nc_Conf.cc -g -Wall -Wshadow -static  \
>> -I../../lib
>> /usr/bin/g77 -c numpbmsg.f -g -Wall -Wshadow -static
>> /usr/bin/g77 -c openpb.f -g -Wall -Wshadow -static
>> /usr/bin/g77 -c readpb.f -g -Wall -Wshadow -static
>> /usr/bin/g77 -c dumppb.f -g -Wall -Wshadow -static
>>
>>
>> /usr/bin/g++ -o pb2nc pb2nc.cc pb2nc_Conf.o numpbmsg.o openpb.o readpb.o dumppb.o  \
>> -g -Wall -Wshadow -static  -DMET_BASE=\"/opt/MET/v1.0\" \ 
>> -I/opt/GSL/gsl-1.10 \
>> -I../../lib -I../../lib -I/opt/NetCDF/v362/include -I/opt/ExtraLibs/BUFRLIB/src I/opt/libf2c/Aug2007 \
>> -L../../lib -L../../lib -L/opt/NetCDF/v362/lib -L/opt/ExtraLibs/BUFRLIB/lib -L/opt/libf2c/Aug2007 \
>> -lbufr -lvx_grib_classes -lvx_wrfdata -lvx_econfig \ 
>> -lvx_data_grids -lvx_math -lvx_cal -lvx_util -lvx_met_util -lm -lf2c \
>> -lnetcdf_c++ -lnetcdf 
>> g++: I/opt/libf2c/Aug2007: No such file or directory 
>> ../../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/constants.h:16: warning: 'proj_type' defined but not used
>> ../../lib/vx_met_util/constants.h:23: warning: 'na_str' defined but not used
>> ../../lib/vx_met_util/constants.h:26: warning: 'all_msg_typ_str' defined but not used
>> ../../lib/vx_met_util/constants.h:38: warning: 'all_interp_mthd_str' defined but not used
>> ../../lib/vx_met_util/constants.h:49: warning: 'mthd_str' defined but not used
>> ../../lib/vx_met_util/met_stats.h:20: warning: 'hdr_fmt_str' defined but not used
>> ../../lib/vx_grib_classes/grib_strings.h:20: warning: 'missing_str' defined but not used
>> ../../lib/vx_grib_classes/grib_strings.h:62: warning: 'grib_code_list' defined but not used
>> ../../lib/vx_grib_classes/grib_strings.h:94: warning: 'grib_code_list_str' defined but not used
>> ../../lib/vx_grib_classes/grib_strings.h:358: warning: 'grib_level_list' defined but not used
>> ../../lib/vx_grib_classes/grib_strings.h:377: warning: 'grib_level_flag' defined but not used
>> ../../lib/vx_grib_classes/grib_strings.h:391: warning: 'grib_level_list_str' defined but not used
>> ../../lib/vx_met_util/read_grib.h:64: warning: 'two_to_one_grib' defined but not used
>> make[3]: *** [pb2nc] Error 1
>> make[2]: *** [all] Error 2 
>> make[1]: *** [targets] Error 2 
>> make: *** [all] Error 2
>>
>> Robert Flanigan
> 


More information about the Met_help mailing list