[Met_help] error messages while compiling MET
John Halley Gotway
johnhg at rap.ucar.edu
Wed Aug 26 09:11:08 MDT 2009
Marlous,
Actually no, they are not. We've initially chosen a more simple ASCII
format where each line of data corresponds to a single observation value.
This format is discussed in the ASCII2NC section of the MET User's Guide.
Also, here's a link to a page in the MET Online Tutuorial that describes
it:
http://www.dtcenter.org/met/users/support/online_tutorial/METv2.0/ascii2nc/index.php
And also, you can find the sample data that's used in the MET test scripts
in the file METv2.0/data/sample_obs/ascii/sample_ascii_obs.txt
However, we anticipate that in the future we'll provide support in the
ASCII2NC tool for parsing additional ASCII observation formats, such as
"little_r". This will be based on user feedback to determine what formats
would be most useful. But to date, we haven't received much feedback.
What ASCII observation format(s) would be most useful for you?
Thanks,
John
> Hi John,
>
> I've got a small question about the ASCII observation files that MET is
> able to handle in the "ascii2nc" tool.
> Are they formatted in "little_r" format as used in WRF?
>
> Cheers!
> Marlous
>
> -----Oorspronkelijk bericht-----
> Van: John Halley Gotway [mailto:johnhg at rap.ucar.edu]
> Verzonden: woensdag 26 augustus 2009 15:43
> Aan: Marlous Jonker
> CC: met_help at ucar.edu
> Onderwerp: RE: [Met_help] error messages while compiling MET
>
> Great. I'm glad that did the trick. Just let us know if any questions
> come up in your use of MET.
>
> Thanks,
> John
>
>> Hi John,
>>
>> This solved my problem: MET is now able to compile. Thanks a lot for
>> your very useful help!
>>
>> Cheers,
>> Marlous Jonker
>>
>> -----Oorspronkelijk bericht-----
>> Van: John Halley Gotway [mailto:johnhg at rap.ucar.edu]
>> Verzonden: dinsdag 25 augustus 2009 15:12
>> Aan: Marlous Jonker
>> CC: met_help at ucar.edu
>> Onderwerp: Re: [Met_help] error messages while compiling MET
>>
>> Marlous,
>>
>> I see that you're compiling MET using the Portland Group compilers and
>> are linking to a NetCDF library built for use with WRF. The error
>> messages you're seeing indicate that the NetCDF build to which
>> you're linking is not compatible with the PGI compilers you're using
> for
>> building MET. The most likely explanation for this is that the NetCDF
>> library may not have been built with the PGI compilers.
>>
>> I'd suggest building another version of the NetCDF library, making
> sure
>> the build it using the PGI compilers. And then try rebuilding MET
> using
>> that updated NetCDF library.
>>
>> Here's how you'd build NetCDF using the PGI compilers. From the
>> top-level NetCDF directory and using the C-shell:
>>
>> csh
>> setenv CC /usr/pgi/linux86/7.1-6/bin/pgcc
>> setenv CXX /usr/pgi/linux86/7.1-6/bin/pgCC
>> setenv FC ""
>> setenv F90 ""
>> ./configure --prefix=/path/where/you/want/netcdf/installed
>> make
>> make install
>>
>> I usually just "install" the NetCDF library in the same directory as
> the
>> source code. But you're welcome to put it wherever you'd like.
>>
>> Hope that helps. Good luck.
>>
>> John Halley Gotway
>> johnhg at ucar.edu
>>
>> Marlous Jonker wrote:
>>> Hello!
>>>
>>>
>>>
>>> While compiling the MET software I encountered the error messages
>> below.
>>> The Makefile I used is in the attachment.
>>>
>>> I am pretty stuck on how to solve the error, so I hope you have some
>>> ideas to tackle the problem.
>>>
>>>
>>>
>>> Kind regards,
>>>
>>>
>>>
>>> Marlous Jonker
>>>
>>>
>>>
>>> -------------------------------------------------------------------
>>>
>>> Marlous Jonker
>>>
>>> Meteorological Researcher
>>>
>>> Meteo Consult BV, Wageningen, the Netherlands
>>>
>>> Tel: +31 (0)317 399872
>>>
>>> Email: M.Jonker at weer.nl
>>>
>>> -------------------------------------------------------------------
>>>
>>>
>>>
>>> Error messages encountered:
>>>
>>>
>>>
>>>
>>>
>>> *** Making pcp_combine application ***
>>>
>>>
>>>
>>>
>>>
>>> /usr/pgi/linux86/7.1-6/bin/pgCC -o pcp_combine pcp_combine.cc \
>>>
>>> -Bstatic -Msecond_underscore
>>> -DMET_BASE=\"/home/mm5/MET/METv2.0\" \
>>>
>>> -I../../lib -I/home/mm5/WRF/netcdf/netcdf-4.0/include
>>> -I/home/mm5/MET/gsl/gsl-1.9/include \
>>>
>>> -L../../lib -L/home/mm5/WRF/netcdf/netcdf-4.0/lib
>>> -L/home/mm5/MET/gsl/gsl-1.9/lib \
>>>
>>> -lvx_met_util -lvx_analysis_util -lvx_wrfdata -lvx_met_util \
>>>
>>> -lvx_contable -lvx_grib_classes \
>>>
>>> -lvx_econfig -lvx_gsl_prob -lgsl \
>>>
>>> -lvx_plot_util -lvx_render -lvx_pxm -lvx_color -lvx_ps
>> -lvx_afm
>>> \
>>>
>>> -lvx_data_grids -lvx_gnomon -lvx_nav -lvx_cal -lvx_util
>>> -lvx_math -lm \
>>>
>>> -lnetcdf_c++ -lnetcdf \
>>>
>>>
>>>
>>> pcp_combine.cc:
>>>
>>> pcp_combine.o: In function `write_netcdf__FLT1iR10GribRecord':
>>>
>>> pcp_combine.cc:(.text+0x3421): undefined reference to
>> `NcFile::__ct(char
>>> const *, NcFile::FileMode, unsigned int *, unsigned int,
>>> NcFile::FileFormat)'
>>>
>>> pcp_combine.cc:(.text+0x3466): undefined reference to
>> `NcFile::is_valid(
>>> const(void))'
>>>
>>> pcp_combine.cc:(.text+0x34f4): undefined reference to
>>> `NcFile::close(void)'
>>>
>>> pcp_combine.cc:(.text+0x369a): undefined reference to
>>> `NcFile::add_att(char const *, char const *)'
>>>
>>> pcp_combine.cc:(.text+0x3927): undefined reference to
>>> `NcFile::add_att(char const *, char const *)'
>>>
>>> pcp_combine.cc:(.text+0x3b5b): undefined reference to
>>> `NcVar::add_att(char const *, int)'
>>>
>>> pcp_combine.cc:(.text+0x3ba7): undefined reference to
>>> `NcVar::add_att(char const *, char const *)'
>>>
>>> pcp_combine.cc:(.text+0x3bf3): undefined reference to
>>> `NcVar::add_att(char const *, char const *)'
>>>
>>> pcp_combine.cc:(.text+0x3c42): undefined reference to
>>> `NcVar::add_att(char const *, char const *)'
>>>
>>> pcp_combine.cc:(.text+0x3c66): undefined reference to
>>> `NcVar::add_att(char const *, float)'
>>>
>>> pcp_combine.cc:(.text+0x3d4e): undefined reference to
>>> `NcVar::add_att(char const *, char const *)'
>>>
>>> pcp_combine.cc:(.text+0x3d74): undefined reference to
>>> `NcVar::add_att(char const *, long)'
>>>
>>> pcp_combine.cc:(.text+0x3e46): undefined reference to
>>> `NcVar::add_att(char const *, char const *)'
>>>
>>> pcp_combine.cc:(.text+0x3e6c): undefined reference to
>>> `NcVar::add_att(char const *, long)'
>>>
>>> pcp_combine.cc:(.text+0x3eee): undefined reference to
>>> `NcVar::add_att(char const *, char const *)'
>>>
>>> pcp_combine.cc:(.text+0x3f11): undefined reference to
>>> `NcVar::add_att(char const *, int)'
>>>
>>> pcp_combine.cc:(.text+0x3f7f): undefined reference to
>> `NcVar::put(float
>>> const *, long, long, long, long, long)'
>>>
>>> pcp_combine.cc:(.text+0x3fef): undefined reference to
>>> `NcFile::close(void)'
>>>
>>> ../../lib/libvx_met_util.a(write_netcdf.o): In function
>>> `write_netcdf_proj(NcFile *, Grid const &)':
>>>
>>> write_netcdf.cc:(.text+0x71): undefined reference to
>>> `NcFile::add_att(char const *, char const *)'
>>>
>>> write_netcdf.cc:(.text+0xe6): undefined reference to
>>> `NcFile::add_att(char const *, char const *)'
>>>
>>> write_netcdf.cc:(.text+0x135): undefined reference to
>>> `NcFile::add_att(char const *, char const *)'
>>>
>>> write_netcdf.cc:(.text+0x17f): undefined reference to
>>> `NcFile::add_att(char const *, char const *)'
>>>
>>> write_netcdf.cc:(.text+0x1c9): undefined reference to
>>> `NcFile::add_att(char const *, char const *)'
>>>
>>>
>>
> ../../lib/libvx_met_util.a(write_netcdf.o):write_netcdf.cc:(.text+0x20c)
>>> : more undefined references to `NcFile::add_att(char const *, char
>> const
>>> *)' follow
>>>
>>> make[3]: *** [pcp_combine] Error 2
>>>
>>> make[2]: *** [all] Error 2
>>>
>>> make[1]: *** [targets] Error 2
>>>
>>> make: *** [all] Error 2
>>>
>>>
>>>
>>>
>>>
>>
> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> 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