[Met_help] Problem with METv2.0

John Halley Gotway johnhg at ucar.edu
Wed May 12 10:22:05 MDT 2010


Asnor,

In order to build MET, you'll need to do the following:
(1) Build NetCDF.
(2) Build GSL.
(3) Build BUFRLIB (if you want to use PREPBUFR observations).
(4) Set up the paths in MET Makefile for NetCDF, GSL, and BUFRLIB.

Let me point you to two places for more details:
- Look in the file "METv2.0/README" and search for the section titled "How to compile and run?".
- Take a look at the compilation section of the MET Online Tutorial:
   http://www.dtcenter.org/met/users/support/online_tutorial/METv2.0/compilation/index.php

And lastly, before building MET, I'd suggest retrieving the latest set of patches from:
   http://www.dtcenter.org/met/users/support/known_issues/METv2.0/index.php

Just read and follow the instructions in the first section titled "All Recommended Updates".

Hope that helps and good luck,
John

Asnor Muizan Ishak wrote:
> John,
> 
> Many thanks for your help. Would you please also write the command steps for installing the MET software (I meant the next step of installing gsl)? The userguide too complicated for me but ur steps much more clearer than that. Need your help. With many thanks in advance.
> 
> Asnor
> 
> 
> 
> 
> ________________________________
> From: John Halley Gotway <johnhg at ucar.edu>
> To: Asnor Muizan Ishak <asnorjps at yahoo.com.my>
> Cc: met_help at ucar.edu
> Sent: Wednesday, 12 May 2010 17:10:24
> Subject: Re: [Met_help] Problem with METv2.0
> 
> Asnor,
> 
> Hmmm, not sure what's going on here.  We haven't heard of many people having trouble building GSL.
> 
> Here's the steps I'd recommend for building GSL:
> 
> Retrieve a version of GSL from the web: ftp://ftp.gnu.org/gnu/gsl/gsl-1.14.tar.gz
> 
> mv gsl-1.14.tar.gz /home/ceambi/WRF/.
> cd /home/ceambi/WRF
> tar -xvzf gsl-1.14.tar.gz
> cd gsl-1.14
> ./configure --prefix="/home/ceambi/WRF/gsl-1.14"
> make
> make install
> 
> That will build and install GSL-1.14 in the directory /home/ceambi/WRF/gsl-1.14.
> 
> And then, when you set up the MET Makefile, be sure to set:
>   GSL_BASE = /home/ceambi/WRF/gsl-1.14
> 
> Please give those steps a try and let us know if you continue to experience problems.
> 
> Thanks,
> John
> 
> Asnor Muizan Ishak wrote:
>>       
>> Hi all,
>>   
>> When I ran the gsl-1.9 with make install and I got an errors which shows as below :
>>   
>> Making install in gsl
>> make[1]: Entering directory `/home/ceambi/WRF/gsl-1.9/gsl'
>> make[2]: Entering directory `/home/ceambi/WRF/gsl-1.9/gsl'
>> make[2]: Nothing to be done for `install-exec-am'.
>> make[2]: Nothing to be done for `install-data-am'.
>> make[2]: Leaving directory `/home/ceambi/WRF/gsl-1.9/gsl'
>> make[1]: Leaving directory `/home/ceambi/WRF/gsl-1.9/gsl'
>> Making install in utils
>> make[1]: Entering directory `/home/ceambi/WRF/gsl-1.9/utils'
>> make[2]: Entering directory `/home/ceambi/WRF/gsl-1.9/utils'
>> make[2]: Nothing to be done for `install-exec-am'.
>> make[2]: Nothing to be done for `install-data-am'.
>> make[2]: Leaving directory `/home/ceambi/WRF/gsl-1.9/utils'
>> make[1]: Leaving directory `/home/ceambi/WRF/gsl-1.9/utils'
>> Making install in sys
>> make[1]: Entering directory `/home/ceambi/WRF/gsl-1.9/sys'
>> /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. 
>> -I..    -g -O2 -c -o prec.lo prec.c
>>   gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -g -O2 -c prec.c -o prec.o
>> prec.c:23:29: error: gsl/gsl_machine.h: No such file or directory
>> prec.c:24:31: error: gsl/gsl_precision.h: No such file or directory
>> prec.c:26: error: '_GSL_PREC_T_NUM' undeclared here (not in a function)
>> prec.c:27: error: 'GSL_DBL_EPSILON' undeclared here (not in a function)
>> prec.c:28: error: 'GSL_FLT_EPSILON' undeclared here (not in a function)
>> prec.c:29: error: 'GSL_SFLT_EPSILON' undeclared here (not in a function)
>> prec.c:33: error: 'GSL_SQRT_DBL_EPSILON' undeclared here (not in a function)
>> prec.c:34: error: 'GSL_SQRT_FLT_EPSILON' undeclared here (not in a function)
>> prec.c:35: error: 'GSL_SQRT_SFLT_EPSILON' undeclared here (not in a function)
>> prec.c:39: error: 'GSL_ROOT3_DBL_EPSILON' undeclared here (not in a function)
>> prec.c:40: error: 'GSL_ROOT3_FLT_EPSILON' undeclared here (not in a function)
>> prec.c:41: error: 'GSL_ROOT3_SFLT_EPSILON' undeclared here (not in a function)
>> prec.c:45: error: 'GSL_ROOT4_DBL_EPSILON' undeclared here (not in a function)
>> prec.c:46: error: 'GSL_ROOT4_FLT_EPSILON' undeclared here (not in a function)
>> prec.c:47: error: 'GSL_ROOT4_SFLT_EPSILON' undeclared here (not in a function)
>> prec.c:51: error: 'GSL_ROOT5_DBL_EPSILON' undeclared here (not in a function)
>> prec.c:52: error: 'GSL_ROOT5_FLT_EPSILON' undeclared here (not in a function)
>> prec.c:53: error: 'GSL_ROOT5_SFLT_EPSILON' undeclared here (not in a function)
>> prec.c:57: error: 'GSL_ROOT6_DBL_EPSILON' undeclared here (not in a function)
>> prec.c:58: error: 'GSL_ROOT6_FLT_EPSILON' undeclared here (not in a function)
>> prec.c:59: error: 'GSL_ROOT6_SFLT_EPSILON' undeclared here (not in a function)
>> make[1]: *** [prec.lo] Error 1
>> make[1]: Leaving directory `/home/ceambi/WRF/gsl-1.9/sys'
>> make: *** [install-recursive] Error 1
>>   
>> Any thoughts on how to fix this problem. Many thanks in advance.
>>   
>> With best regards,
>> Asnor
>>
>>     
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> 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