[Met_help] Compiling BUFRLIB, METv2

John Halley Gotway johnhg at ucar.edu
Mon Nov 9 12:32:14 MST 2009


I regret to inform you that I am unable to provide direct assistance to you based on the Export Compliance laws in the United States.  We can't provide assistance in the use of MET for foreign
military purposes.  Here's the official UCAR policy on the matter, by which we must abide:

However, I can suggest that you step through the MET Online Tutorial which we've posted to the website:

And refer to the MET User's Guide:

Also, you can search for previously answered MET-Help questions by searching for "met_help" followed by your question in a web search tool, such as google.

I apologize for the inconvenience, but unfortunately, it's out of our hands.

John Halley Gotway
johnhg at ucar.edu

sami sami wrote:
> Hello john,
> i tried:
> Makefile (intel):
> cxx=/usr/bin/icc
> fc=/usr/bin/ifort
> (Makefile and log file attached)
> ld: cannot find -limf
> make[3]: *** [pcp_combine] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [targets] Error 2
> make: *** [all] Error 2
> all required libraries compiled using intel ifort, icc
> regards
> shamsi
>  > Date: Thu, 5 Nov 2009 13:10:24 -0700
>> From: johnhg at ucar.edu
>> To: green_weather at hotmail.com
>> CC: met_help at ucar.edu
>> Subject: Re: [Met_help] Compiling BUFRLIB, METv2
>> Sami,
>> Thanks for sending your Makefile and the make_met.log file. It makes debugging this issue easier. You MET compilation is erroring out when trying to compile the PB2NC tool. The linker can't find one
>> of the standard FORTRAN libraries it needs.
>> The error message: cannot find -lifcore
>> Means that the linker can't find the file "libifcore.a".
>> However I see a big problem in the Makefile you're using. You're trying to compile MET using a mixture of GNU and Intel compilers:
>> CXX = /usr/bin/g++
>> FC = /usr/bin/ifort
>> If you'd like to compile with the GNU compilers, you should use g++ and gfortran. If you'd like to compile with the Intel compilers, use icc and ifort. You need to use the same family of compilers.
>> So pick GNU or Intel, and then copy over the Makefile template for whichever you choose:
>> So either: cp Makefile_gnu Makefile
>> Or: cp Makefile_intel Makefile
>> And then edit the Makefile to point to your compilers, and builds of NetCDF, BUFRLIB, and GSL. Please note that NetCDF, BUFRLIB, and GSL should be compiled with the same family of compilers you're
>> using in MET.
>> Give that a shot and let us know if you have any more problems.
>> Thanks,
>> John Halley Gotway
>> johnhg at ucar.edu
>> sami sami wrote:
>>> hello John,
>>> ifort --version
>>> ifort (IFORT) 10.1 20080112
>>> Copyright (C) 1985-2007 Intel Corporation. All rights reserved.
>>> icc --version
>>> icc (ICC) 11.1 20090827
>>> Copyright (C) 1985-2009 Intel Corporation. All rights reserved.
>>> I replaced nvnwin.f as you advised me and recompiling BUFRLIB with (warnings messages only), bufrlib/libbufr.a done.
>>> netcdf: libnetcdf.a libnetcdf_c++.a done
>>> libf2c.a done
>>> libgsl.a done
>>> I Downloaded METv2.0_patches_20091022.tar.gz , But still cannot compiling METv2, (Makefile (intel) and log-file is attached).
>>> ***Have a nice trip!***
>>> regards
>>> ???????_shamsi 
>>> _________________________________________________________________
>>> Windows 7: Watch live TV, right from your laptop. Learn more.
>>> http://windows.microsoft.com/windows-7
>>> ------------------------------------------------------------------------
>>> _______________________________________________
>>> Met_help mailing list
>>> Met_help at mailman.ucar.edu
>>> http://mailman.ucar.edu/mailman/listinfo/met_help
> _________________________________________________________________
> Windows 7: It helps you do more. Explore Windows 7.
> http://windows.microsoft.com/windows-7

More information about the Met_help mailing list