[Met_help] Installation Problem
John Halley Gotway
johnhg at rap.ucar.edu
Fri Mar 7 14:16:20 MST 2008
Kumar,
Great! We're almost there. Since you rebuilt NetCDF and it worked, I'd say that there must have been a problem with that old NetCDF build.
As for the error message you're getting from the "vx_met_util" library, please refer to the METv1.0 known issues page:
http://www.dtcenter.org/met/users/support/known_issues/METv1.0/METv1.0_known_issues.php
And on that page, please see the issue titled "Compilation Error in the vx_met_util Library".
I'm guessing that will solve this problem. In fact, I recommend that you perform all of the recommended updates to your build which are listed at the top of the known issues page in the section
titled "Summary of Recommended Updates".
Once you update your MET build, do a "make clean" and rebuild MET.
Please let me know how it goes. I'd like to know when you're able to build MET successfully so I can keep our user info up to date.
Thanks,
John
Vadlamani.Kumar at noaa.gov wrote:
> John,
>
> I have recompiled (including make clean), changing my shell to sh. Here
> is the new log file.
>
> - Kumar
>
> ----- Original Message -----
> From: John Halley Gotway <johnhg at rap.ucar.edu>
> Date: Friday, March 7, 2008 4:02 pm
> Subject: Re: [Met_help] Installation Problem
>
>> Kumar,
>>
>> I looks to me that it's failing in the same spot with the same
>> error message. There is more output in the logfile this time since
>> you did a "make clean" first. So that fix I suggested didn't help.
>>
>> This is a NetCDF error that I've never seen before. The compiler
>> is complaining that some of the things in the file "ncvalues.h"
>> have not been defined. And the things that it's looking for are
>> defined in the file "netcdf.h" which should be included from
>> "ncvalue.h".
>> What I'd suggest at this point is trying to redo your netCDF build.
>> My best guess is that there may be something wrong with your
>> NetCDF build. So get rid of the directory:
>> /cpc/africawrf/util/netcdf-3.6.1
>>
>> And try rebuilding NetCDF from scratch.
>>
>> When you do, please do the following:
>>> cd /cpc/africawrf/util
>>> tar -xvzf netcdf-3.6.1.tar.gz
>>> cd /cpc/africawrf/util/netcdf-3.6.1/src
>>> ./configure --prefix=/cpc/africawrf/util/netcdf-3.6.1
>>> make check
>>> make install
>> And hopefully NetCDF will build without errors.
>>
>> Then in your MET top-level Makefile, set the NETCDF parameters as
>> follows:NETCDF_BASE = //cpc/africawrf/util/netcdf-3.6.1
>> NETCDF_INCS = -I$(NETCDF_BASE)/include
>> NETCDF_LIBS = -L$(NETCDF_BASE)/src/lib
>>
>> Then try doing a "make clean" followed by a "make >& make_met.log&".
>>
>> John
>>
>> Vadlamani.Kumar at noaa.gov wrote:
>>> John,
>>>
>>> Thank you for your prompt reply. I have tried your suggestion. It
>> has> proceeded further and created some more libraries, but failed
>> at some
>>> other point. I am including the logfile here.
>>>
>>> Thank you again for your help.
>>>
>>> - Kumar
>>>
>>> ----- Original Message -----
>>> From: John Halley Gotway <johnhg at rap.ucar.edu>
>>> Date: Friday, March 7, 2008 2:46 pm
>>> Subject: Re: [Met_help] Installation Problem
>>>
>>>> Kumar,
>>>>
>>>> Please try the following. Edit the Makefile in the top-level
>> MET
>>>> directory as follows:
>>>>
>>>> Change this line from:
>>>> NETCDF_INCS = -I$(NETCDF_BASE)/src/cxx
>>>>
>>>> To this:
>>>> NETCDF_INCS = -I$(NETCDF_BASE)/src/cxx -I$(NETCDF_BASE)/include
>>>>
>>>> Then do a "make clean" followed by a "make >& make_met.log".
>>>>
>>>> Please let me know if this fixes the problem. If so, I'd like
>> to
>>>> include the change in future releases.
>>>>
>>>> Thanks!
>>>>
>>>> John Halley-Gotway
>>>>
>>>> Vadlamani Kumar wrote:
>>>>> Hello,
>>>>>
>>>>> I have installation problem with METv1.0. I have built all the
>>>> required
>>>>> libraries and provided paths to these libraries/header files. I
>>>> have
>>>>> included the Makefile and the installation output in the
>>>> attachments.
>>>>> Your help is appreciated. My system is Redhat-Enterprise Linux.
>>>>>
>>>>> Thanks.
>>>>>
>>>>> - Kumar
>>>>>
>>>>> _______________________________________________
>>>>> 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