[Met_help] [rt.rap.ucar.edu #80045] History for

John Halley Gotway via RT met_help at ucar.edu
Tue Apr 11 09:59:33 MDT 2017


----------------------------------------------------------------
  Initial Request
----------------------------------------------------------------

Dear all,

First of all Congratulations for the new version of Met ! You do a great
jobs  !

I have installed, since 2007, almost all  METversion.  With some of them I
had installation minor  problem ...(missing some dependency)

I have tried to install met-6.0 version on the machine -  Centos Linux 6.4



*gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC)*
I have this error
*:( of course many others started from this...)*make[4]: Entering directory
`/home/util/PAK/met-6.0_build/src/libcode/vx_nc_util'

g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../src/basic/vx_cal -I../../../
src/basic/vx_config -I../../../src/basic/vx_log -I../../../src/basic/vx_math
-I../../../src/basic/vx_util -I../../../src/libcode/vx_afm -I../../../src/
libcode/vx_analysis_util -I../../../src/libcode/vx_color -I../../../src/
libcode/vx_data2d -I../../../src/libcode/vx_data2d_factory -I../../../src/
libcode/vx_data2d_grib -I../../../src/libcode/vx_data2d_grib2 -I../../../src
/libcode/vx_data2d_nccf -I../../../src/libcode/vx_data2d_nc_met -I../../../
src/libcode/vx_data2d_nc_pinterp -I../../../src/libcode/vx_geodesy
-I../../../src/libcode/vx_gnomon -I../../../src/libcode/vx_grid -I../../../
src/libcode/vx_gsl_prob -I../../../src/libcode/vx_nav -I../../../src/libcode
/vx_nc_util -I../../../src/libcode/vx_pb_util -I../../../src/libcode/vx_
plot_util -I../../../src/libcode/vx_ps -I../../../src/libcode/vx_pxm
-I../../../src/libcode/vx_render -I../../../src/libcode/vx_regrid
-I../../../src/libcode/vx_shapedata -I../../../src/libcode/vx_solar
-I../../../src/libcode/vx_statistics -I../../../src/libcode/vx_stat_out
-I../../../src/libcode/vx_time_series -I../../../src/libcode/vx_tc_util
-I/home/util/netcdf-4.1.3.h5/include -I/home/util/hdf5-1.8.8/include
-I/home/util/g2clib-1.4.0 -I/home/util/gsl-1.16/include -I/usr/include/cairo
-I/home/util/freetype-2.5.3/include -DBLOCK4 -DWITH_GRIB2 -DMET
_BASE="\"/home/util/met-6.0/share/met\""  -g -MT libvx_nc_util_a-nc_var_info.o
-MD -MP -MF .deps/libvx_nc_util_a-nc_var_info.Tpo -c -o
libvx_nc_util_a-nc_var_info.o
`test -f 'nc_var_info.cc' || echo './'`nc_var_info.cc





*In file included from
nc_var_info.cc:24:
nc_utils.h:23:18: error: netcdf: No such file or
directory                                                              In
file included from
nc_var_info.cc:24:
nc_utils.h:18: error: ‘netCDF’ is not a
namespace-name                                     *

nc_utils.h:18: error: expected namespace-name before ‘;’
token
In file included from nc_var_info.cc:24:
[................]
hank you very much for your help,

Otilia Daconu

National Meteorological Administration -


----------------------------------------------------------------
  Complete Ticket History
----------------------------------------------------------------

Subject: 
From: John Halley Gotway
Time: Tue Apr 04 05:07:56 2017

Hello Otillia,

I'm not surprised that you'd receive an error when compiling MET 6.0
using
the previous MET 5.2 environment.  In 6.0 we've made a large change
from
using NetCDF 3 to 4.

You'll need to have both NetCDF 4 and HDF5, upon which NetCDF 4 is
built,
installed.  Please take a look at the MET Users Guide, the online
tutorial,
or run ./configure --help for info about compiling.

Thanks
John Halley Gotway

On Tue, Apr 4, 2017 at 4:01 AM Otilia Diaconu via RT
<met_help at ucar.edu>
wrote:

>
> Tue Apr 04 02:01:11 2017: Request 80045 was acted upon.
> Transaction: Ticket created by otilia.diaconu at gmail.com
>        Queue: met_help
>      Subject: (No subject given)
>        Owner: Nobody
>   Requestors: otilia.diaconu at gmail.com
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80045 >
>
>
> Dear all,
>
> First of all Congratulations for the new version of Met ! You do a
great
> jobs  !
>
> I have installed, since 2007, almost all  METversion.  With some of
them I
> had installation minor  problem ...(missing some dependency)
>
> I have tried to install met-6.0 version on the machine -  Centos
Linux 6.4
>
>
>
> *gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC)*
> I have this error
> *:( of course many others started from this...)*make[4]: Entering
directory
> `/home/util/PAK/met-6.0_build/src/libcode/vx_nc_util'
>
> g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../src/basic/vx_cal
-I../../../
> src/basic/vx_config -I../../../src/basic/vx_log
> -I../../../src/basic/vx_math
> -I../../../src/basic/vx_util -I../../../src/libcode/vx_afm
-I../../../src/
> libcode/vx_analysis_util -I../../../src/libcode/vx_color
-I../../../src/
> libcode/vx_data2d -I../../../src/libcode/vx_data2d_factory
-I../../../src/
> libcode/vx_data2d_grib -I../../../src/libcode/vx_data2d_grib2
> -I../../../src
> /libcode/vx_data2d_nccf -I../../../src/libcode/vx_data2d_nc_met
-I../../../
> src/libcode/vx_data2d_nc_pinterp -I../../../src/libcode/vx_geodesy
> -I../../../src/libcode/vx_gnomon -I../../../src/libcode/vx_grid
-I../../../
> src/libcode/vx_gsl_prob -I../../../src/libcode/vx_nav
> -I../../../src/libcode
> /vx_nc_util -I../../../src/libcode/vx_pb_util
-I../../../src/libcode/vx_
> plot_util -I../../../src/libcode/vx_ps -I../../../src/libcode/vx_pxm
> -I../../../src/libcode/vx_render -I../../../src/libcode/vx_regrid
> -I../../../src/libcode/vx_shapedata -I../../../src/libcode/vx_solar
> -I../../../src/libcode/vx_statistics
-I../../../src/libcode/vx_stat_out
> -I../../../src/libcode/vx_time_series
-I../../../src/libcode/vx_tc_util
> -I/home/util/netcdf-4.1.3.h5/include -I/home/util/hdf5-1.8.8/include
> -I/home/util/g2clib-1.4.0 -I/home/util/gsl-1.16/include
> -I/usr/include/cairo
> -I/home/util/freetype-2.5.3/include -DBLOCK4 -DWITH_GRIB2 -DMET
> _BASE="\"/home/util/met-6.0/share/met\""  -g -MT
> libvx_nc_util_a-nc_var_info.o
> -MD -MP -MF .deps/libvx_nc_util_a-nc_var_info.Tpo -c -o
> libvx_nc_util_a-nc_var_info.o
> `test -f 'nc_var_info.cc' || echo './'`nc_var_info.cc
>
>
>
>
>
> *In file included from
> nc_var_info.cc:24:
> nc_utils.h:23:18: error: netcdf: No such file or
> directory
In
> file included from
> nc_var_info.cc:24:
> nc_utils.h:18: error: ‘netCDF’ is not a
> namespace-name                                     *
>
> nc_utils.h:18: error: expected namespace-name before ‘;’
> token
> In file included from nc_var_info.cc:24:
> [................]
> hank you very much for your help,
>
> Otilia Daconu
>
> National Meteorological Administration -
>
>

------------------------------------------------
Subject: 
From: Otilia Diaconu
Time: Tue Apr 04 06:37:26 2017

Hi John, I have netcdf_4.1.3 instaled with hdf5 ! I have set-up the
environment $MET_ "by the book " !
I will try to re-compile necdf...with hdf...and re-try met . I will
inform
you about ..during next few days !
Thank you,
Best regards
Otilis
a

On 4 Apr 2017 14:07, "John Halley Gotway via RT" <met_help at ucar.edu>
wrote:

Hello Otillia,

I'm not surprised that you'd receive an error when compiling MET 6.0
using
the previous MET 5.2 environment.  In 6.0 we've made a large change
from
using NetCDF 3 to 4.

You'll need to have both NetCDF 4 and HDF5, upon which NetCDF 4 is
built,
installed.  Please take a look at the MET Users Guide, the online
tutorial,
or run ./configure --help for info about compiling.

Thanks
John Halley Gotway

On Tue, Apr 4, 2017 at 4:01 AM Otilia Diaconu via RT
<met_help at ucar.edu>
wrote:

>
> Tue Apr 04 02:01:11 2017: Request 80045 was acted upon.
> Transaction: Ticket created by otilia.diaconu at gmail.com
>        Queue: met_help
>      Subject: (No subject given)
>        Owner: Nobody
>   Requestors: otilia.diaconu at gmail.com
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80045 >
>
>
> Dear all,
>
> First of all Congratulations for the new version of Met ! You do a
great
> jobs  !
>
> I have installed, since 2007, almost all  METversion.  With some of
them I
> had installation minor  problem ...(missing some dependency)
>
> I have tried to install met-6.0 version on the machine -  Centos
Linux 6.4
>
>
>
> *gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC)*
> I have this error
> *:( of course many others started from this...)*make[4]: Entering
directory
> `/home/util/PAK/met-6.0_build/src/libcode/vx_nc_util'
>
> g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../src/basic/vx_cal
-I../../../
> src/basic/vx_config -I../../../src/basic/vx_log
> -I../../../src/basic/vx_math
> -I../../../src/basic/vx_util -I../../../src/libcode/vx_afm
-I../../../src/
> libcode/vx_analysis_util -I../../../src/libcode/vx_color
-I../../../src/
> libcode/vx_data2d -I../../../src/libcode/vx_data2d_factory
-I../../../src/
> libcode/vx_data2d_grib -I../../../src/libcode/vx_data2d_grib2
> -I../../../src
> /libcode/vx_data2d_nccf -I../../../src/libcode/vx_data2d_nc_met
-I../../../
> src/libcode/vx_data2d_nc_pinterp -I../../../src/libcode/vx_geodesy
> -I../../../src/libcode/vx_gnomon -I../../../src/libcode/vx_grid
-I../../../
> src/libcode/vx_gsl_prob -I../../../src/libcode/vx_nav
> -I../../../src/libcode
> /vx_nc_util -I../../../src/libcode/vx_pb_util
-I../../../src/libcode/vx_
> plot_util -I../../../src/libcode/vx_ps -I../../../src/libcode/vx_pxm
> -I../../../src/libcode/vx_render -I../../../src/libcode/vx_regrid
> -I../../../src/libcode/vx_shapedata -I../../../src/libcode/vx_solar
> -I../../../src/libcode/vx_statistics
-I../../../src/libcode/vx_stat_out
> -I../../../src/libcode/vx_time_series
-I../../../src/libcode/vx_tc_util
> -I/home/util/netcdf-4.1.3.h5/include -I/home/util/hdf5-1.8.8/include
> -I/home/util/g2clib-1.4.0 -I/home/util/gsl-1.16/include
> -I/usr/include/cairo
> -I/home/util/freetype-2.5.3/include -DBLOCK4 -DWITH_GRIB2 -DMET
> _BASE="\"/home/util/met-6.0/share/met\""  -g -MT
> libvx_nc_util_a-nc_var_info.o
> -MD -MP -MF .deps/libvx_nc_util_a-nc_var_info.Tpo -c -o
> libvx_nc_util_a-nc_var_info.o
> `test -f 'nc_var_info.cc' || echo './'`nc_var_info.cc
>
>
>
>
>
> *In file included from
> nc_var_info.cc:24:
> nc_utils.h:23:18: error: netcdf: No such file or
> directory
In
> file included from
> nc_var_info.cc:24:
> nc_utils.h:18: error: ‘netCDF’ is not a
> namespace-name                                     *
>
> nc_utils.h:18: error: expected namespace-name before ‘;’
> token
> In file included from nc_var_info.cc:24:
> [................]
> hank you very much for your help,
>
> Otilia Daconu
>
> National Meteorological Administration -
>
>

------------------------------------------------
Subject: 
From: Otilia Diaconu
Time: Thu Apr 06 10:47:16 2017

Hi John,
Unfortunately, even if I have re-install hdf5 and netcdf...( make
check ok
!!! ) ..I have follow the web-site and  Met doc ..I have the same
error !
After spending few hours working around ...I gave up !!! May be ...I
have
something wrong in the environment !  So...not met- 6.0 !
I will re-try on the other system (Centos 7,) tomorrow  ..
best regards
Otilia

On 6 Apr 2017 18:31, "John Halley Gotway via RT" <met_help at ucar.edu>
wrote:

> According to our records, your request has been resolved. If you
have any
> further questions or concerns, please respond to this message.
>

------------------------------------------------
Subject: 
From: Otilia Diaconu
Time: Fri Apr 07 12:56:24 2017

Hi John

Could you  indicate please the version number of netcdf and hdf5  used
successfully to build met-6.0 ?

I have tried :
 hdf5-1.8.18
 hdf5-1.10.0

- build following the instructions from  the web-site !  make check
OK !

netcdf-4.4.1.1
netcdf-c-4.4.1

the compiler version:
 gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC)

I verified again the environment  in my

* .bashrc*
The error is in /src/libcode/vx_nc_util
-----------------------------------------------------------------------
In file included from nc_var_info.cc:24:

nc_utils.h:23: error: ‘netCDF’ is not a namespace-name

nc_utils.h:23: error: expected namespace-name before ‘;’
token
In file included from nc_var_info.cc:24:
_________________________________________________________
Best regards and  nice we
Otilia

On Thu, Apr 6, 2017 at 7:47 PM, Otilia Diaconu
<otilia.diaconu at gmail.com>
wrote:

> Hi John,
> Unfortunately, even if I have re-install hdf5 and netcdf...( make
check ok
> !!! ) ..I have follow the web-site and  Met doc ..I have the same
error !
> After spending few hours working around ...I gave up !!! May be ...I
have
> something wrong in the environment !  So...not met- 6.0 !
> I will re-try on the other system (Centos 7,) tomorrow  ..
> best regards
> Otilia
>
> On 6 Apr 2017 18:31, "John Halley Gotway via RT" <met_help at ucar.edu>
> wrote:
>
>> Hi John,
>> Unfortunately, even if I have re-install hdf5 and netcdf...( make
check
>> ok !!! ) ..I have follow the web-site and  Met doc ..I have the
same error
>> ! After spending few hours working around ...I gave up !!! May be
...I have
>> something wrong in the environment !  So...not met- 6.0 !
>> I will re-try on the other system (Centos 7,) tomorrow  ..
>> best regards
>> Otilia
>>
>> On 6 Apr 2017 18:31, "John Halley Gotway via RT"
<met_help at ucar.edu>
>> wrote:
>>
>>> According to our records, your request has been resolved. If you
have any
>>> further questions or concerns, please respond to this message.
>>>
>>

------------------------------------------------
Subject: 
From: John Halley Gotway
Time: Fri Apr 07 16:08:57 2017

Otilia,

I've been doing a lot of compiling of HDF5 and NetCDF4 recently!  And
I'm
never sure how much detail to put out there as some users likely
already
have it compiled in a system-wide installation.  Here are the commands
I've
been using to compile these packages from source.  The following
assumes
that you're using the GNU compilers and that you've defined
MET_LIB_DIR to
point to your desired installation directory:

# Compilers

setenv CC `which gcc`

setenv CXX `which g++`

setenv FC `which gfortran`
setenv F77 `which gfortran`

# HDF5

wget
https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.0-
patch1/src/hdf5-1.10.0-patch1.tar

tar -xvzf hdf5-1.10.0-patch1.tar

cd hdf5-1.10.0-patch1

./configure --prefix=${MET_LIB_DIR}

make install

# NetCDF-C

wget https://github.com/Unidata/netcdf-c/archive/v4.4.1.1.zip

unzip v4.4.1.1.zip

cd netcdf-c-4.4.1.1

./configure --prefix=${MET_LIB_DIR} LDFLAGS=-L${MET_LIB_DIR}/lib
CPPFLAGS=-I${MET_LIB_DIR}/include

make install

# NetCDF-CXX

wget https://github.com/Unidata/netcdf-cxx4/archive/v4.3.0.tar.gz

tar -xvzf v4.3.0.tar.gz

cd netcdf-cxx4-4.3.0

./configure --prefix=${MET_LIB_DIR} LDFLAGS=-L${MET_LIB_DIR}/lib
CPPFLAGS=-I${MET_LIB_DIR}/include
make install


On Fri, Apr 7, 2017 at 12:56 PM, Otilia Diaconu via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80045 >
>
> Hi John
>
> Could you  indicate please the version number of netcdf and hdf5
used
> successfully to build met-6.0 ?
>
> I have tried :
>  hdf5-1.8.18
>  hdf5-1.10.0
>
> - build following the instructions from  the web-site !  make check
OK !
>
> netcdf-4.4.1.1
> netcdf-c-4.4.1
>
> the compiler version:
>  gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC)
>
> I verified again the environment  in my
>
> * .bashrc*
> The error is in /src/libcode/vx_nc_util
>
-----------------------------------------------------------------------
> In file included from nc_var_info.cc:24:
>
> nc_utils.h:23: error: ‘netCDF’ is not a namespace-name
>
> nc_utils.h:23: error: expected namespace-name before ‘;’
> token
> In file included from nc_var_info.cc:24:
> _________________________________________________________
> Best regards and  nice we
> Otilia
>
> On Thu, Apr 6, 2017 at 7:47 PM, Otilia Diaconu
<otilia.diaconu at gmail.com>
> wrote:
>
> > Hi John,
> > Unfortunately, even if I have re-install hdf5 and netcdf...( make
check
> ok
> > !!! ) ..I have follow the web-site and  Met doc ..I have the same
error !
> > After spending few hours working around ...I gave up !!! May be
...I have
> > something wrong in the environment !  So...not met- 6.0 !
> > I will re-try on the other system (Centos 7,) tomorrow  ..
> > best regards
> > Otilia
> >
> > On 6 Apr 2017 18:31, "John Halley Gotway via RT"
<met_help at ucar.edu>
> > wrote:
> >
> >> Hi John,
> >> Unfortunately, even if I have re-install hdf5 and netcdf...( make
check
> >> ok !!! ) ..I have follow the web-site and  Met doc ..I have the
same
> error
> >> ! After spending few hours working around ...I gave up !!! May be
...I
> have
> >> something wrong in the environment !  So...not met- 6.0 !
> >> I will re-try on the other system (Centos 7,) tomorrow  ..
> >> best regards
> >> Otilia
> >>
> >> On 6 Apr 2017 18:31, "John Halley Gotway via RT"
<met_help at ucar.edu>
> >> wrote:
> >>
> >>> According to our records, your request has been resolved. If you
have
> any
> >>> further questions or concerns, please respond to this message.
> >>>
> >>
>
>

------------------------------------------------
Subject: 
From: Otilia Diaconu
Time: Fri Apr 07 22:23:27 2017

Hi John,

Thank you very much for the details concerning  the  hdf5 and netcdf
instalation.

I 'm using gnu compilers !

I think that the errors that I have, are  generated by :

 - I didn't install  *NetCDF-CXX* !( not necessary for the others
versions..).

On monday moorning I will rebuild ! and I've inform you about the
results.
Best regards,
Otilia

On Sat, Apr 8, 2017 at 1:08 AM, John Halley Gotway via RT
<met_help at ucar.edu
> wrote:

> Otilia,
>
> I've been doing a lot of compiling of HDF5 and NetCDF4 recently!
And I'm
> never sure how much detail to put out there as some users likely
already
> have it compiled in a system-wide installation.  Here are the
commands I've
> been using to compile these packages from source.  The following
assumes
> that you're using the GNU compilers and that you've defined
MET_LIB_DIR to
> point to your desired installation directory:
>
> # Compilers
>
> setenv CC `which gcc`
>
> setenv CXX `which g++`
>
> setenv FC `which gfortran`
> setenv F77 `which gfortran`
>
> # HDF5
>
> wget
> https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/
> hdf5-1.10.0-patch1/src/hdf5-1.10.0-patch1.tar
>
> tar -xvzf hdf5-1.10.0-patch1.tar
>
> cd hdf5-1.10.0-patch1
>
> ./configure --prefix=${MET_LIB_DIR}
>
> make install
>
> # NetCDF-C
>
> wget https://github.com/Unidata/netcdf-c/archive/v4.4.1.1.zip
>
> unzip v4.4.1.1.zip
>
> cd netcdf-c-4.4.1.1
>
> ./configure --prefix=${MET_LIB_DIR} LDFLAGS=-L${MET_LIB_DIR}/lib
> CPPFLAGS=-I${MET_LIB_DIR}/include
>
> make install
>
> # NetCDF-CXX
>
> wget https://github.com/Unidata/netcdf-cxx4/archive/v4.3.0.tar.gz
>
> tar -xvzf v4.3.0.tar.gz
>
> cd netcdf-cxx4-4.3.0
>
> ./configure --prefix=${MET_LIB_DIR} LDFLAGS=-L${MET_LIB_DIR}/lib
> CPPFLAGS=-I${MET_LIB_DIR}/include
> make install
>
>
> On Fri, Apr 7, 2017 at 12:56 PM, Otilia Diaconu via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80045 >
> >
> > Hi John
> >
> > Could you  indicate please the version number of netcdf and hdf5
used
> > successfully to build met-6.0 ?
> >
> > I have tried :
> >  hdf5-1.8.18
> >  hdf5-1.10.0
> >
> > - build following the instructions from  the web-site !  make
check  OK !
> >
> > netcdf-4.4.1.1
> > netcdf-c-4.4.1
> >
> > the compiler version:
> >  gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC)
> >
> > I verified again the environment  in my
> >
> > * .bashrc*
> > The error is in /src/libcode/vx_nc_util
> >
-----------------------------------------------------------------------
> > In file included from nc_var_info.cc:24:
> >
> > nc_utils.h:23: error: ‘netCDF’ is not a namespace-name
> >
> > nc_utils.h:23: error: expected namespace-name before ‘;’
> > token
> > In file included from nc_var_info.cc:24:
> > _________________________________________________________
> > Best regards and  nice we
> > Otilia
> >
> > On Thu, Apr 6, 2017 at 7:47 PM, Otilia Diaconu
<otilia.diaconu at gmail.com
> >
> > wrote:
> >
> > > Hi John,
> > > Unfortunately, even if I have re-install hdf5 and netcdf...(
make check
> > ok
> > > !!! ) ..I have follow the web-site and  Met doc ..I have the
same
> error !
> > > After spending few hours working around ...I gave up !!! May be
...I
> have
> > > something wrong in the environment !  So...not met- 6.0 !
> > > I will re-try on the other system (Centos 7,) tomorrow  ..
> > > best regards
> > > Otilia
> > >
> > > On 6 Apr 2017 18:31, "John Halley Gotway via RT"
<met_help at ucar.edu>
> > > wrote:
> > >
> > >> Hi John,
> > >> Unfortunately, even if I have re-install hdf5 and netcdf...(
make
> check
> > >> ok !!! ) ..I have follow the web-site and  Met doc ..I have the
same
> > error
> > >> ! After spending few hours working around ...I gave up !!! May
be ...I
> > have
> > >> something wrong in the environment !  So...not met- 6.0 !
> > >> I will re-try on the other system (Centos 7,) tomorrow  ..
> > >> best regards
> > >> Otilia
> > >>
> > >> On 6 Apr 2017 18:31, "John Halley Gotway via RT"
<met_help at ucar.edu>
> > >> wrote:
> > >>
> > >>> According to our records, your request has been resolved. If
you have
> > any
> > >>> further questions or concerns, please respond to this message.
> > >>>
> > >>
> >
> >
>
>

------------------------------------------------
Subject: 
From: Otilia Diaconu
Time: Mon Apr 10 22:26:41 2017

Hi John,
I have made a fresh install ( clean all ..and re-install) !.Including*
netcdf-cxx* ! Everything was OK ! Make check OK
...and finally ..
*met-6.0 OK ! *
Thank you very much for your help  !

Best regards
Otilia


On 8 Apr 2017 07:22, "Otilia Diaconu" <otilia.diaconu at gmail.com>
wrote:

Hi John,

Thank you very much for the details concerning  the  hdf5 and netcdf
instalation.

I 'm using gnu compilers !

I think that the errors that I have, are  generated by :

 - I didn't install  *NetCDF-CXX* !( not necessary for the others
versions..).

On monday moorning I will rebuild ! and I've inform you about the
results.
Best regards,
Otilia

On Sat, Apr 8, 2017 at 1:08 AM, John Halley Gotway via RT
<met_help at ucar.edu
> wrote:

> Otilia,
>
> I've been doing a lot of compiling of HDF5 and NetCDF4 recently!
And I'm
> never sure how much detail to put out there as some users likely
already
> have it compiled in a system-wide installation.  Here are the
commands I've
> been using to compile these packages from source.  The following
assumes
> that you're using the GNU compilers and that you've defined
MET_LIB_DIR to
> point to your desired installation directory:
>
> # Compilers
>
> setenv CC `which gcc`
>
> setenv CXX `which g++`
>
> setenv FC `which gfortran`
> setenv F77 `which gfortran`
>
> # HDF5
>
> wget
> https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf
> 5-1.10.0-patch1/src/hdf5-1.10.0-patch1.tar
>
> tar -xvzf hdf5-1.10.0-patch1.tar
>
> cd hdf5-1.10.0-patch1
>
> ./configure --prefix=${MET_LIB_DIR}
>
> make install
>
> # NetCDF-C
>
> wget https://github.com/Unidata/netcdf-c/archive/v4.4.1.1.zip
>
> unzip v4.4.1.1.zip
>
> cd netcdf-c-4.4.1.1
>
> ./configure --prefix=${MET_LIB_DIR} LDFLAGS=-L${MET_LIB_DIR}/lib
> CPPFLAGS=-I${MET_LIB_DIR}/include
>
> make install
>
> # NetCDF-CXX
>
> wget https://github.com/Unidata/netcdf-cxx4/archive/v4.3.0.tar.gz
>
> tar -xvzf v4.3.0.tar.gz
>
> cd netcdf-cxx4-4.3.0
>
> ./configure --prefix=${MET_LIB_DIR} LDFLAGS=-L${MET_LIB_DIR}/lib
> CPPFLAGS=-I${MET_LIB_DIR}/include
> make install
>
>
> On Fri, Apr 7, 2017 at 12:56 PM, Otilia Diaconu via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80045 >
> >
> > Hi John
> >
> > Could you  indicate please the version number of netcdf and hdf5
used
> > successfully to build met-6.0 ?
> >
> > I have tried :
> >  hdf5-1.8.18
> >  hdf5-1.10.0
> >
> > - build following the instructions from  the web-site !  make
check  OK !
> >
> > netcdf-4.4.1.1
> > netcdf-c-4.4.1
> >
> > the compiler version:
> >  gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC)
> >
> > I verified again the environment  in my
> >
> > * .bashrc*
> > The error is in /src/libcode/vx_nc_util
> >
-----------------------------------------------------------------------
> > In file included from nc_var_info.cc:24:
> >
> > nc_utils.h:23: error: ‘netCDF’ is not a namespace-name
> >
> > nc_utils.h:23: error: expected namespace-name before ‘;’
> > token
> > In file included from nc_var_info.cc:24:
> > _________________________________________________________
> > Best regards and  nice we
> > Otilia
> >
> > On Thu, Apr 6, 2017 at 7:47 PM, Otilia Diaconu
<otilia.diaconu at gmail.com
> >
> > wrote:
> >
> > > Hi John,
> > > Unfortunately, even if I have re-install hdf5 and netcdf...(
make check
> > ok
> > > !!! ) ..I have follow the web-site and  Met doc ..I have the
same
> error !
> > > After spending few hours working around ...I gave up !!! May be
...I
> have
> > > something wrong in the environment !  So...not met- 6.0 !
> > > I will re-try on the other system (Centos 7,) tomorrow  ..
> > > best regards
> > > Otilia
> > >
> > > On 6 Apr 2017 18:31, "John Halley Gotway via RT"
<met_help at ucar.edu>
> > > wrote:
> > >
> > >> Hi John,
> > >> Unfortunately, even if I have re-install hdf5 and netcdf...(
make
> check
> > >> ok !!! ) ..I have follow the web-site and  Met doc ..I have the
same
> > error
> > >> ! After spending few hours working around ...I gave up !!! May
be ...I
> > have
> > >> something wrong in the environment !  So...not met- 6.0 !
> > >> I will re-try on the other system (Centos 7,) tomorrow  ..
> > >> best regards
> > >> Otilia
> > >>
> > >> On 6 Apr 2017 18:31, "John Halley Gotway via RT"
<met_help at ucar.edu>
> > >> wrote:
> > >>
> > >>> According to our records, your request has been resolved. If
you have
> > any
> > >>> further questions or concerns, please respond to this message.
> > >>>
> > >>
> >
> >
>
>

------------------------------------------------
Subject: 
From: John Halley Gotway
Time: Tue Apr 11 09:59:19 2017

Great, thanks for letting us know.  I'll go ahead and resolve this
ticket.

John

On Mon, Apr 10, 2017 at 10:26 PM, Otilia Diaconu via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80045 >
>
> Hi John,
> I have made a fresh install ( clean all ..and re-install)
!.Including*
> netcdf-cxx* ! Everything was OK ! Make check OK
> ...and finally ..
> *met-6.0 OK ! *
> Thank you very much for your help  !
>
> Best regards
> Otilia
>
>
> On 8 Apr 2017 07:22, "Otilia Diaconu" <otilia.diaconu at gmail.com>
wrote:
>
> Hi John,
>
> Thank you very much for the details concerning  the  hdf5 and netcdf
> instalation.
>
> I 'm using gnu compilers !
>
> I think that the errors that I have, are  generated by :
>
>  - I didn't install  *NetCDF-CXX* !( not necessary for the others
> versions..).
>
> On monday moorning I will rebuild ! and I've inform you about the
results.
> Best regards,
> Otilia
>
> On Sat, Apr 8, 2017 at 1:08 AM, John Halley Gotway via RT <
> met_help at ucar.edu
> > wrote:
>
> > Otilia,
> >
> > I've been doing a lot of compiling of HDF5 and NetCDF4 recently!
And I'm
> > never sure how much detail to put out there as some users likely
already
> > have it compiled in a system-wide installation.  Here are the
commands
> I've
> > been using to compile these packages from source.  The following
assumes
> > that you're using the GNU compilers and that you've defined
MET_LIB_DIR
> to
> > point to your desired installation directory:
> >
> > # Compilers
> >
> > setenv CC `which gcc`
> >
> > setenv CXX `which g++`
> >
> > setenv FC `which gfortran`
> > setenv F77 `which gfortran`
> >
> > # HDF5
> >
> > wget
> > https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf
> > 5-1.10.0-patch1/src/hdf5-1.10.0-patch1.tar
> >
> > tar -xvzf hdf5-1.10.0-patch1.tar
> >
> > cd hdf5-1.10.0-patch1
> >
> > ./configure --prefix=${MET_LIB_DIR}
> >
> > make install
> >
> > # NetCDF-C
> >
> > wget https://github.com/Unidata/netcdf-c/archive/v4.4.1.1.zip
> >
> > unzip v4.4.1.1.zip
> >
> > cd netcdf-c-4.4.1.1
> >
> > ./configure --prefix=${MET_LIB_DIR} LDFLAGS=-L${MET_LIB_DIR}/lib
> > CPPFLAGS=-I${MET_LIB_DIR}/include
> >
> > make install
> >
> > # NetCDF-CXX
> >
> > wget https://github.com/Unidata/netcdf-cxx4/archive/v4.3.0.tar.gz
> >
> > tar -xvzf v4.3.0.tar.gz
> >
> > cd netcdf-cxx4-4.3.0
> >
> > ./configure --prefix=${MET_LIB_DIR} LDFLAGS=-L${MET_LIB_DIR}/lib
> > CPPFLAGS=-I${MET_LIB_DIR}/include
> > make install
> >
> >
> > On Fri, Apr 7, 2017 at 12:56 PM, Otilia Diaconu via RT <
> met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80045 >
> > >
> > > Hi John
> > >
> > > Could you  indicate please the version number of netcdf and hdf5
used
> > > successfully to build met-6.0 ?
> > >
> > > I have tried :
> > >  hdf5-1.8.18
> > >  hdf5-1.10.0
> > >
> > > - build following the instructions from  the web-site !  make
check
> OK !
> > >
> > > netcdf-4.4.1.1
> > > netcdf-c-4.4.1
> > >
> > > the compiler version:
> > >  gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC)
> > >
> > > I verified again the environment  in my
> > >
> > > * .bashrc*
> > > The error is in /src/libcode/vx_nc_util
> > > ------------------------------------------------------------
> -----------
> > > In file included from nc_var_info.cc:24:
> > >
> > > nc_utils.h:23: error: ‘netCDF’ is not a namespace-name
> > >
> > > nc_utils.h:23: error: expected namespace-name before ‘;’
> > > token
> > > In file included from nc_var_info.cc:24:
> > > _________________________________________________________
> > > Best regards and  nice we
> > > Otilia
> > >
> > > On Thu, Apr 6, 2017 at 7:47 PM, Otilia Diaconu <
> otilia.diaconu at gmail.com
> > >
> > > wrote:
> > >
> > > > Hi John,
> > > > Unfortunately, even if I have re-install hdf5 and netcdf...(
make
> check
> > > ok
> > > > !!! ) ..I have follow the web-site and  Met doc ..I have the
same
> > error !
> > > > After spending few hours working around ...I gave up !!! May
be ...I
> > have
> > > > something wrong in the environment !  So...not met- 6.0 !
> > > > I will re-try on the other system (Centos 7,) tomorrow  ..
> > > > best regards
> > > > Otilia
> > > >
> > > > On 6 Apr 2017 18:31, "John Halley Gotway via RT"
<met_help at ucar.edu>
> > > > wrote:
> > > >
> > > >> Hi John,
> > > >> Unfortunately, even if I have re-install hdf5 and netcdf...(
make
> > check
> > > >> ok !!! ) ..I have follow the web-site and  Met doc ..I have
the same
> > > error
> > > >> ! After spending few hours working around ...I gave up !!!
May be
> ...I
> > > have
> > > >> something wrong in the environment !  So...not met- 6.0 !
> > > >> I will re-try on the other system (Centos 7,) tomorrow  ..
> > > >> best regards
> > > >> Otilia
> > > >>
> > > >> On 6 Apr 2017 18:31, "John Halley Gotway via RT"
<met_help at ucar.edu
> >
> > > >> wrote:
> > > >>
> > > >>> According to our records, your request has been resolved. If
you
> have
> > > any
> > > >>> further questions or concerns, please respond to this
message.
> > > >>>
> > > >>
> > >
> > >
> >
> >
>
>

------------------------------------------------


More information about the Met_help mailing list