[Met_help] help for installing METv2.0

Paul Oldenburg pgoldenb at ucar.edu
Fri Oct 30 14:51:37 MDT 2009


All,

Feng is now having trouble linking (I think) pb2nc against BUFRLIB.
Does anyone have a suggestion for this problem?  I think I had the same
problem when I was initially trying to build MET, and Randy fixed it by
linking against the network installation of BUFRLIB.  Obviously, this is
not an option in Feng's case.

Thanks,

Paul


Feng Liu wrote:
> Hi, Paul,
> I compiled NetCDF 3.6.3 successfully after I setenv CC pgCC (not pgcc)
> and I got all NetCDF libraries. Then I went to compile MET. I also got
> some exe files in /bin, but not complete
> 
> pcp_combine
> mode
> grid_stat
> gen_poly_mask
> 
> but I still found errors in my make_met.log, please see attached for
> your check, I do not know how to fix because burflib.h and burflib.a  (I
> changed the names into libburf.a and libburf.h, respectively, due to
> "..not found" shown in the error message) have been generated
> successfully and set correct path to point to them in Makefile. Thank
> you for your time to check it out.
> 
> Feng
>    
>  
> 
> -----Original Message-----
> From: met_help-bounces at mailman.ucar.edu
> [mailto:met_help-bounces at mailman.ucar.edu] On Behalf Of Paul Oldenburg
> Sent: Friday, October 30, 2009 8:05 AM
> To: met_help at ucar.edu
> Subject: Re: [Met_help] help for installing METv2.0
> 
> 
> Feng,
> 
> The error messages in make_met.log indicate that the required library
> NetCDF cannot be accessed by your c++ compiler, pgCC.  When you compiled
> NetCDF, did you use the same pgCC compiler that you are using to compile
> MET?  By default, NetCDF will use the GNU compilers.  If NetCDF was not
> compiled with the same pgcc/pgCC compilers, this may be causing the
> problem.  Please read the instructions for how to compile NetCDF on the
> following web page:
> 
> http://www.dtcenter.org/met/users/support/online_tutorial/METv2.0/compil
> ation/req_libs.php
> 
> To compile NetCDF with the pgcc/pgCC compilers, you should set the CC
> and CXX environment variables before running the configure script in the
> NetCDF source bundle.  e.g.
> 
> $ export CC=`which pgcc`
> $ export CXX=`which pgCC`
> $ ./configure
> 
> Then, clean your MET tree and try to rebuild it.  If you have any
> questions, please let us know.
> 
> Thanks,
> 
> Paul
> 
> 
> 
> Feng Liu wrote:
>> Hello,
>>
>> I faced a compilation problem when I was try to build MET 2.0. The
>> error message can be found in make_met.log attached. My updated
>> Makefile is also attached for your review. Thanks for your time to
>> check out.
>>
>> Feng
>>
>>
>>
>>
>>
>> Feng Liu
>>
>> ----------------------------------------------
>>
>> Feng  Liu,   Ph.D.
>> Air Quality Engineer
>> Maricopa Association of Governments
>> 302 North 1st Ave, Ste. 300
>> Phoenix, AZ 85003
>>
>> Voice: (602) 254-6300
>>
>> Fax :   (602) 254-6490
>>
>> E-mail: fliu at mag.maricopa.gov <blocked::mailto:fliu at mag.maricopa.gov>
>>
>> ----------------------------------------------
>>
>>
>>
>>
>>
> ------------------------------------------------------------------------
>> _______________________________________________
>> Met_help mailing list
>> Met_help at mailman.ucar.edu
>> http://mailman.ucar.edu/mailman/listinfo/met_help
> _______________________________________________
> 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