[Met_help] Installation Problem

John Halley Gotway johnhg at rap.ucar.edu
Mon Mar 10 12:18:43 MDT 2008


Kumar,

Great!  Glad it's working well for you.

Your name is included on the email list for MET updates.  We use that list to periodically send out info on bug fixes and new releases.  FYI, we're planning an updated release of MET (version 1.1) in 
April, 2008.

Please let us know if you have any more questions or suggestions regarding your use of MET.

Thanks,
John Halley-Gotway

Vadlamani.Kumar at noaa.gov wrote:
> John,
> 
> I have tried with g77 and it worked fine. I have run the test_all.sh
> script and it also ran fine. Thank you very much for your help. Please
> include my email address for any future updates. I will let you the
> progress with the real-time verification.
> 
> - Kumar
> 
> 
> 
> 
> ----- Original Message -----
> From: John Halley Gotway <johnhg at rap.ucar.edu>
> Date: Friday, March 7, 2008 5:39 pm
> Subject: Re: [Met_help] Installation Problem
> 
>> Kumar,
>>
>> This error is occurring when compiling the PB2NC utility.  This is 
>> the one that's given us the most problems so far.  The fortran 
>> compiler you're using "gfortran" does not like the syntax used.
>>
>> Please check your system to see if you have the "g77" (or f77) 
>> compiler available.  If so, please try using that one.
>> And in the top-level MET Makefile, change the following line:
>> From: F77_COMPILER = /usr/bin/gfortran
>> To:   F77_COMPILER = /usr/bin/g77
>> And then try recompiling.
>>
>> I just had "gfortran" put on my machine about a week ago, so I 
>> haven't had a chance to test MET with it yet.
>>
>> John
>>
>> Vadlamani.Kumar at noaa.gov wrote:
>>> Thank you again John. As you said it has done almost (3 files in bin
>>> directory), but again some problem. I am including the new log file.
>>>
>>> - Kumar
>>>
>>> ----- Original Message -----
>>> From: John Halley Gotway <johnhg at rap.ucar.edu>
>>> Date: Friday, March 7, 2008 4:16 pm
>>> Subject: Re: [Met_help] Installation Problem
>>>
>>>> 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