[Met_help] Installation Problem
John Halley Gotway
johnhg at rap.ucar.edu
Fri Mar 7 14:02:13 MST 2008
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