[Met_help] [rt.rap.ucar.edu #71169] History for Issue with installing MET 5.0
Julie Prestopnik via RT
met_help at ucar.edu
Thu Apr 2 08:54:50 MDT 2015
----------------------------------------------------------------
Initial Request
----------------------------------------------------------------
Hi Met Help,
I have encountered the following error message when running the
command -> *make
install >& make_install.log & **tail -f make_install.log*
/bin/mkdir: cannot create directory `/usr/local/share/met': Permission
denied
I am unable to obtain root/admin access for the host server, and was told
to install in my user directory (/home/bkuo) instead. Can you advise which
configuration file to amend the above following path (/usr/local/share/)
for installation?
Thank you
Warmest Regards
Bruce Kuo
----------------------------------------------------------------
Complete Ticket History
----------------------------------------------------------------
Subject: Issue with installing MET 5.0
From: Julie Prestopnik
Time: Fri Mar 20 09:03:48 2015
Hi Bruce. I understand that you are having problems installing MET
because
you do not have root/admin access. That is no problem. You can
install in
your user directory instead.
For METv5.0, the build and installation process was changed and is now
done
using autoconf. When you run ./configure, you should set
*--prefix="/home/bkuo"
*as indicated on the following MET online tutorial page:
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/configure.php
For METv4.1, you can define the environment variable MET_BASE as
described
on page 2-12 in the METv4.1 User's Guide:
http://www.dtcenter.org/met/users/docs/users_guide/MET_Users_Guide_v4.1.pdf
I hope this helps.
Please let us know if you encounter any problems or have any
questions.
Thanks,
Julie
On Fri, Mar 20, 2015 at 2:46 AM, Bruce Kuo via RT <met_help at ucar.edu>
wrote:
>
> Fri Mar 20 02:46:41 2015: Request 71169 was acted upon.
> Transaction: Ticket created by brukuo42 at gmail.com
> Queue: met_help
> Subject: Issue with installing MET 5.0
> Owner: Nobody
> Requestors: brukuo42 at gmail.com
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71169 >
>
>
> Hi Met Help,
>
> I have encountered the following error message when running the
> command -> *make
> install >& make_install.log & **tail -f make_install.log*
>
> /bin/mkdir: cannot create directory `/usr/local/share/met':
Permission
> denied
>
> I am unable to obtain root/admin access for the host server, and was
told
> to install in my user directory (/home/bkuo) instead. Can you advise
which
> configuration file to amend the above following path
(/usr/local/share/)
> for installation?
>
> Thank you
>
> Warmest Regards
>
> Bruce Kuo
>
>
--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu
------------------------------------------------
Subject: Issue with installing MET 5.0
From: Bruce Kuo
Time: Sun Mar 22 19:00:11 2015
Hi Julie,
I could run the following command successfully:
./configure --prefix="/home/bkuo"
But I get the following error after checking on the make_install.log:
[bkuo at helios met-5.0]$ make install >& make_install.log
[bkuo at helios met-5.0]$ tail -f make_install.log
nc_var_info.cc:321: error: ‘const class NcVarInfo’ has no member named
‘var’
nc_var_info.cc:326: error: ‘const class NcVarInfo’ has no member named
‘var’
nc_var_info.cc:331: error: ‘ncInt’ was not declared in this scope
make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 1
make[3]: Leaving directory `/home/bkuo/MET/met-
5.0/src/libcode/vx_nc_util'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/bkuo/MET/met-5.0/src/libcode'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/bkuo/MET/met-5.0/src'
make: *** [install-recursive] Error 1
^C
[bkuo at helios met-5.0]$
What should I do to resolve the above 3 issues?
Thank you
Warmest Regards
Bruce Kuo
On Fri, Mar 20, 2015 at 11:03 PM, Julie Prestopnik via RT
<met_help at ucar.edu
> wrote:
> Hi Bruce. I understand that you are having problems installing MET
because
> you do not have root/admin access. That is no problem. You can
install in
> your user directory instead.
>
> For METv5.0, the build and installation process was changed and is
now done
> using autoconf. When you run ./configure, you should set
> *--prefix="/home/bkuo"
> *as indicated on the following MET online tutorial page:
>
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/configure.php
>
> For METv4.1, you can define the environment variable MET_BASE as
described
> on page 2-12 in the METv4.1 User's Guide:
>
http://www.dtcenter.org/met/users/docs/users_guide/MET_Users_Guide_v4.1.pdf
>
> I hope this helps.
>
> Please let us know if you encounter any problems or have any
questions.
>
> Thanks,
> Julie
>
> On Fri, Mar 20, 2015 at 2:46 AM, Bruce Kuo via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > Fri Mar 20 02:46:41 2015: Request 71169 was acted upon.
> > Transaction: Ticket created by brukuo42 at gmail.com
> > Queue: met_help
> > Subject: Issue with installing MET 5.0
> > Owner: Nobody
> > Requestors: brukuo42 at gmail.com
> > Status: new
> > Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71169 >
> >
> >
> > Hi Met Help,
> >
> > I have encountered the following error message when running the
> > command -> *make
> > install >& make_install.log & **tail -f make_install.log*
> >
> > /bin/mkdir: cannot create directory `/usr/local/share/met':
Permission
> > denied
> >
> > I am unable to obtain root/admin access for the host server, and
was told
> > to install in my user directory (/home/bkuo) instead. Can you
advise
> which
> > configuration file to amend the above following path
(/usr/local/share/)
> > for installation?
> >
> > Thank you
> >
> > Warmest Regards
> >
> > Bruce Kuo
> >
> >
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
>
------------------------------------------------
Subject: Issue with installing MET 5.0
From: Julie Prestopnik
Time: Mon Mar 23 10:55:23 2015
Hi Bruce. You can set several environment variables to tell the
configure
script where to find the dependent libraries. For example, MET_NETCDF
tells it where to find NetCDF. You can set the MET_NETCDF variable in
your
.cshrc file like this:
setenv MET_NETCDF /usr/local/netcdf-3.6.2
You can find more information on setting the environment variables
here:
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/configure.php
Please try setting the environment variables and then run configure
and see
if that gets rid of the errors you are getting. If not, please send
the
full make_install.log to us. Also, please note that some of the
tools are
disabled by default. You can read the Configuration section at the
link
above for more information.
Please let us know if you have any questions or encounter any other
problems.
Thanks,
Julie
------------------------------------------------
Subject: Issue with installing MET 5.0
From: Bruce Kuo
Time: Fri Mar 27 01:42:26 2015
Hi Julie,
I am still getting the same error, pointing to the "ncvarinfo", after
setting the environmental settings in the bash_profile. I have also
installed the met-5.0_patches in the same directory of the MET5.0
software.
Please refer to the attached file for the environmental settings, the
configuration log and the make_install log files.
Thank you
Warmest Regards
Bruce Kuo
On Tue, Mar 24, 2015 at 12:55 AM, Julie Prestopnik via RT
<met_help at ucar.edu
> wrote:
> Hi Bruce. You can set several environment variables to tell the
configure
> script where to find the dependent libraries. For example,
MET_NETCDF
> tells it where to find NetCDF. You can set the MET_NETCDF variable
in your
> .cshrc file like this:
> setenv MET_NETCDF /usr/local/netcdf-3.6.2
>
> You can find more information on setting the environment variables
here:
>
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/configure.php
>
> Please try setting the environment variables and then run configure
and see
> if that gets rid of the errors you are getting. If not, please send
the
> full make_install.log to us. Also, please note that some of the
tools are
> disabled by default. You can read the Configuration section at the
link
> above for more information.
>
> Please let us know if you have any questions or encounter any other
> problems.
>
> Thanks,
> Julie
>
>
------------------------------------------------
Subject: Issue with installing MET 5.0
From: Bruce Kuo
Time: Fri Mar 27 01:54:26 2015
Hi Julie,
Below are the details of the MET environment, in case the
".bash_profile"information is unable to come out clearly:
bkuo at helios:~/MET/met-5.0> printenv |grep MET
MET_GSLLIB=/home/software/gsl-1.16/lib
MET_GRIB2CLIB=/home/software/gsl-1.16/gsl-1.16/lib
MET_FREETYPEINC=/home/bkuo/freetype-2.5.5/include
MET_CAIROINC=/home/bkuo/cairo-1.14.0/include
MET_GSL=/home/software/gsl-1.16/
MET_HDF=/home/software/hdf5-1.8.14
MET_HDFINC=/home/software/hdf5-1.8.14/include
MET_GRIB2CINC=/home/software/gsl-1.16/gsl-1.16/include
MET_GSLINC=/home/software/gsl-1.16/include
MET_NETCDF=/home/software/netcdf--cxx4-4.2.1
MET_FREETYPELIB=/home/bkuo/freetype-2.5.5/lib
MET_CAIROLIB=/home/bkuo/cairo-1.14.0/lib
PWD=/home/bkuo/MET/met-5.0
MET_NETCDFINC=/home/software/netcdf-cxx4-4.2.1/include
MET_NETCDFLIB=/home/software/netcdf--cxx4-4.2.1/lib/
MET_FREETYPE=/home/bkuo/freetype-2.5.5
MET_CAIRO=/home/bkuo/cairo-1.14.0/
MET_BUFRLIB=/home/software/BUFRLIB
MET_HDFLIB=/home/software/hdf5-1.8.14/lib
Thanks
Regards
Bruce Kuo
On Fri, Mar 27, 2015 at 3:42 PM, Bruce Kuo <brukuo42 at gmail.com> wrote:
> Hi Julie,
>
> I am still getting the same error, pointing to the "ncvarinfo",
after
> setting the environmental settings in the bash_profile. I have also
> installed the met-5.0_patches in the same directory of the MET5.0
software.
>
> Please refer to the attached file for the environmental settings,
the
> configuration log and the make_install log files.
>
> Thank you
>
> Warmest Regards
>
> Bruce Kuo
>
> On Tue, Mar 24, 2015 at 12:55 AM, Julie Prestopnik via RT <
> met_help at ucar.edu> wrote:
>
>> Hi Bruce. You can set several environment variables to tell the
configure
>> script where to find the dependent libraries. For example,
MET_NETCDF
>> tells it where to find NetCDF. You can set the MET_NETCDF variable
in
>> your
>> .cshrc file like this:
>> setenv MET_NETCDF /usr/local/netcdf-3.6.2
>>
>> You can find more information on setting the environment variables
here:
>>
>>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/configure.php
>>
>> Please try setting the environment variables and then run configure
and
>> see
>> if that gets rid of the errors you are getting. If not, please
send the
>> full make_install.log to us. Also, please note that some of the
tools
>> are
>> disabled by default. You can read the Configuration section at the
link
>> above for more information.
>>
>> Please let us know if you have any questions or encounter any other
>> problems.
>>
>> Thanks,
>> Julie
>>
>>
>
------------------------------------------------
Subject: Issue with installing MET 5.0
From: Bruce Kuo
Time: Fri Mar 27 03:34:44 2015
Hi Julie,
I still get the same error, despite installing the NETCDF 3.6.3
version,
and updating my bash_profile:
bkuo at helios:~/MET/met-5.0> make install >& make_install.log
bkuo at helios:~/MET/met-5.0> tail -f make_install.log
nc_var_info.cc:321: error: ‘const class NcVarInfo’ has no member named
‘var’
nc_var_info.cc:326: error: ‘const class NcVarInfo’ has no member named
‘var’
nc_var_info.cc:331: error: ‘ncInt’ was not declared in this scope
make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 1
make[3]: Leaving directory `/home/bkuo/MET/met-
5.0/src/libcode/vx_nc_util'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/bkuo/MET/met-5.0/src/libcode'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/bkuo/MET/met-5.0/src'
make: *** [install-recursive] Error 1
I am unable to find the file "netcdf.hh"in the
"/home/bkuo/netcdf-3.6.3/include"directory but the "netcdf.h"file
exits as
shown below:
bkuo at helios:~/MET/met-5.0> cd /home/bkuo/netcdf-3.6.3
bkuo at helios:~/netcdf-3.6.3> cd include
bkuo at helios:~/netcdf-3.6.3/include> ls -la
total 364
drwxr-xr-x 2 bkuo wep 4096 Mar 27 09:21 .
drwxr-xr-x 22 bkuo wep 4096 Mar 27 09:21 ..
-rw-r--r-- 1 bkuo wep 10123 Mar 27 09:21 ncvalues.h
-rw-r--r-- 1 bkuo wep 18916 Mar 27 09:21 netcdfcpp.h
-rw-r--r-- 1 bkuo wep 29907 Mar 27 09:21 netcdf.h
-rw-r--r-- 1 bkuo wep 23 Mar 27 09:21 netcdf.hh
-rw-r--r-- 1 bkuo wep 48437 Mar 27 09:21 netcdf.inc
-rw-r--r-- 1 bkuo wep 238556 Mar 27 09:21 netcdf.mod
-rw-r--r-- 1 bkuo wep 2369 Mar 27 09:21 typesizes.mod
bkuo at helios:~/netcdf-3.6.3/include>
Please advise what I can focus on for the next step.
Thank you
Warmest Regards
Bruce Kuo
On Fri, Mar 27, 2015 at 3:54 PM, Bruce Kuo <brukuo42 at gmail.com> wrote:
> Hi Julie,
>
> Below are the details of the MET environment, in case the
> ".bash_profile"information is unable to come out clearly:
>
> bkuo at helios:~/MET/met-5.0> printenv |grep MET
> MET_GSLLIB=/home/software/gsl-1.16/lib
> MET_GRIB2CLIB=/home/software/gsl-1.16/gsl-1.16/lib
> MET_FREETYPEINC=/home/bkuo/freetype-2.5.5/include
> MET_CAIROINC=/home/bkuo/cairo-1.14.0/include
> MET_GSL=/home/software/gsl-1.16/
> MET_HDF=/home/software/hdf5-1.8.14
> MET_HDFINC=/home/software/hdf5-1.8.14/include
> MET_GRIB2CINC=/home/software/gsl-1.16/gsl-1.16/include
> MET_GSLINC=/home/software/gsl-1.16/include
> MET_NETCDF=/home/software/netcdf--cxx4-4.2.1
> MET_FREETYPELIB=/home/bkuo/freetype-2.5.5/lib
> MET_CAIROLIB=/home/bkuo/cairo-1.14.0/lib
> PWD=/home/bkuo/MET/met-5.0
> MET_NETCDFINC=/home/software/netcdf-cxx4-4.2.1/include
> MET_NETCDFLIB=/home/software/netcdf--cxx4-4.2.1/lib/
> MET_FREETYPE=/home/bkuo/freetype-2.5.5
> MET_CAIRO=/home/bkuo/cairo-1.14.0/
> MET_BUFRLIB=/home/software/BUFRLIB
> MET_HDFLIB=/home/software/hdf5-1.8.14/lib
>
> Thanks
>
> Regards
> Bruce Kuo
>
> On Fri, Mar 27, 2015 at 3:42 PM, Bruce Kuo <brukuo42 at gmail.com>
wrote:
>
>> Hi Julie,
>>
>> I am still getting the same error, pointing to the "ncvarinfo",
after
>> setting the environmental settings in the bash_profile. I have also
>> installed the met-5.0_patches in the same directory of the MET5.0
software.
>>
>> Please refer to the attached file for the environmental settings,
the
>> configuration log and the make_install log files.
>>
>> Thank you
>>
>> Warmest Regards
>>
>> Bruce Kuo
>>
>> On Tue, Mar 24, 2015 at 12:55 AM, Julie Prestopnik via RT <
>> met_help at ucar.edu> wrote:
>>
>>> Hi Bruce. You can set several environment variables to tell the
>>> configure
>>> script where to find the dependent libraries. For example,
MET_NETCDF
>>> tells it where to find NetCDF. You can set the MET_NETCDF
variable in
>>> your
>>> .cshrc file like this:
>>> setenv MET_NETCDF /usr/local/netcdf-3.6.2
>>>
>>> You can find more information on setting the environment variables
here:
>>>
>>>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/configure.php
>>>
>>> Please try setting the environment variables and then run
configure and
>>> see
>>> if that gets rid of the errors you are getting. If not, please
send the
>>> full make_install.log to us. Also, please note that some of the
tools
>>> are
>>> disabled by default. You can read the Configuration section at
the link
>>> above for more information.
>>>
>>> Please let us know if you have any questions or encounter any
other
>>> problems.
>>>
>>> Thanks,
>>> Julie
>>>
>>>
>>
>
------------------------------------------------
Subject: Issue with installing MET 5.0
From: Julie Prestopnik
Time: Fri Mar 27 09:37:12 2015
Hi Bruce. Thanks for sending more information and your logs.
First, I noticed that in your bash profile, you have set:
export MET_NETCDF=/home/bkuo/netcdf-3.6.3
export MET_NETCDFINC=/home/bkuo/netcdf-3.6.3/include
export MET_NETCDFLIB=/home/bkuo/netcdf-3.6.3/lib/
You only need to specify either MET_NETCDF or both MET_NETCDFINC and
MET_NETCDFLIB, depending on where the include and library files are as
specified on this page:
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/configure.php
The same is true for the other vars that you have listed in your bash
profile.
Second, looking in the second make_install.log file that you attached
after
installing NetCDFv3.6.3, just above this error:
nc_var_info.h:24:21: error: netcdf.hh: No such file or directory
I see that version 4.3.3.1 is the version being looked for:
-I/home/bkuo/netcdf-c-4.3.3.1/include
as opposed to version 3.6.3. But, I do see that you set MET_NETCDF to
point to version 3.6.3.
Please try it again. This time, please be sure to source your bash
profile, then rerun configure, and then try to make install again.
I do know that certain recent versions of NetCDF no longer include
netcdf.hh, but version 3.6.3 should include netcdf.hh. If we can get
MET
to include that version, it should work for you.
Please give that a shot and let us know if it works for you.
Thanks,
Julie
On Fri, Mar 27, 2015 at 3:34 AM, Bruce Kuo via RT <met_help at ucar.edu>
wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71169 >
>
> Hi Julie,
>
> I still get the same error, despite installing the NETCDF 3.6.3
version,
> and updating my bash_profile:
>
> bkuo at helios:~/MET/met-5.0> make install >& make_install.log
> bkuo at helios:~/MET/met-5.0> tail -f make_install.log
> nc_var_info.cc:321: error: ‘const class NcVarInfo’ has no member
named
> ‘var’
> nc_var_info.cc:326: error: ‘const class NcVarInfo’ has no member
named
> ‘var’
> nc_var_info.cc:331: error: ‘ncInt’ was not declared in this scope
> make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 1
> make[3]: Leaving directory `/home/bkuo/MET/met-
5.0/src/libcode/vx_nc_util'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory `/home/bkuo/MET/met-5.0/src/libcode'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/bkuo/MET/met-5.0/src'
> make: *** [install-recursive] Error 1
>
> I am unable to find the file "netcdf.hh"in the
> "/home/bkuo/netcdf-3.6.3/include"directory but the "netcdf.h"file
exits as
> shown below:
>
> bkuo at helios:~/MET/met-5.0> cd /home/bkuo/netcdf-3.6.3
> bkuo at helios:~/netcdf-3.6.3> cd include
> bkuo at helios:~/netcdf-3.6.3/include> ls -la
> total 364
> drwxr-xr-x 2 bkuo wep 4096 Mar 27 09:21 .
> drwxr-xr-x 22 bkuo wep 4096 Mar 27 09:21 ..
> -rw-r--r-- 1 bkuo wep 10123 Mar 27 09:21 ncvalues.h
> -rw-r--r-- 1 bkuo wep 18916 Mar 27 09:21 netcdfcpp.h
> -rw-r--r-- 1 bkuo wep 29907 Mar 27 09:21 netcdf.h
> -rw-r--r-- 1 bkuo wep 23 Mar 27 09:21 netcdf.hh
> -rw-r--r-- 1 bkuo wep 48437 Mar 27 09:21 netcdf.inc
> -rw-r--r-- 1 bkuo wep 238556 Mar 27 09:21 netcdf.mod
> -rw-r--r-- 1 bkuo wep 2369 Mar 27 09:21 typesizes.mod
> bkuo at helios:~/netcdf-3.6.3/include>
>
> Please advise what I can focus on for the next step.
>
> Thank you
>
> Warmest Regards
>
> Bruce Kuo
>
>
> On Fri, Mar 27, 2015 at 3:54 PM, Bruce Kuo <brukuo42 at gmail.com>
wrote:
>
> > Hi Julie,
> >
> > Below are the details of the MET environment, in case the
> > ".bash_profile"information is unable to come out clearly:
> >
> > bkuo at helios:~/MET/met-5.0> printenv |grep MET
> > MET_GSLLIB=/home/software/gsl-1.16/lib
> > MET_GRIB2CLIB=/home/software/gsl-1.16/gsl-1.16/lib
> > MET_FREETYPEINC=/home/bkuo/freetype-2.5.5/include
> > MET_CAIROINC=/home/bkuo/cairo-1.14.0/include
> > MET_GSL=/home/software/gsl-1.16/
> > MET_HDF=/home/software/hdf5-1.8.14
> > MET_HDFINC=/home/software/hdf5-1.8.14/include
> > MET_GRIB2CINC=/home/software/gsl-1.16/gsl-1.16/include
> > MET_GSLINC=/home/software/gsl-1.16/include
> > MET_NETCDF=/home/software/netcdf--cxx4-4.2.1
> > MET_FREETYPELIB=/home/bkuo/freetype-2.5.5/lib
> > MET_CAIROLIB=/home/bkuo/cairo-1.14.0/lib
> > PWD=/home/bkuo/MET/met-5.0
> > MET_NETCDFINC=/home/software/netcdf-cxx4-4.2.1/include
> > MET_NETCDFLIB=/home/software/netcdf--cxx4-4.2.1/lib/
> > MET_FREETYPE=/home/bkuo/freetype-2.5.5
> > MET_CAIRO=/home/bkuo/cairo-1.14.0/
> > MET_BUFRLIB=/home/software/BUFRLIB
> > MET_HDFLIB=/home/software/hdf5-1.8.14/lib
> >
> > Thanks
> >
> > Regards
> > Bruce Kuo
> >
> > On Fri, Mar 27, 2015 at 3:42 PM, Bruce Kuo <brukuo42 at gmail.com>
wrote:
> >
> >> Hi Julie,
> >>
> >> I am still getting the same error, pointing to the "ncvarinfo",
after
> >> setting the environmental settings in the bash_profile. I have
also
> >> installed the met-5.0_patches in the same directory of the MET5.0
> software.
> >>
> >> Please refer to the attached file for the environmental settings,
the
> >> configuration log and the make_install log files.
> >>
> >> Thank you
> >>
> >> Warmest Regards
> >>
> >> Bruce Kuo
> >>
> >> On Tue, Mar 24, 2015 at 12:55 AM, Julie Prestopnik via RT <
> >> met_help at ucar.edu> wrote:
> >>
> >>> Hi Bruce. You can set several environment variables to tell the
> >>> configure
> >>> script where to find the dependent libraries. For example,
MET_NETCDF
> >>> tells it where to find NetCDF. You can set the MET_NETCDF
variable in
> >>> your
> >>> .cshrc file like this:
> >>> setenv MET_NETCDF /usr/local/netcdf-3.6.2
> >>>
> >>> You can find more information on setting the environment
variables
> here:
> >>>
> >>>
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/configure.php
> >>>
> >>> Please try setting the environment variables and then run
configure and
> >>> see
> >>> if that gets rid of the errors you are getting. If not, please
send
> the
> >>> full make_install.log to us. Also, please note that some of
the tools
> >>> are
> >>> disabled by default. You can read the Configuration section at
the
> link
> >>> above for more information.
> >>>
> >>> Please let us know if you have any questions or encounter any
other
> >>> problems.
> >>>
> >>> Thanks,
> >>> Julie
> >>>
> >>>
> >>
> >
>
>
--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu
------------------------------------------------
Subject: Issue with installing MET 5.0
From: Bruce Kuo
Time: Sun Mar 29 23:25:15 2015
Hi Julie,
I have amended my bash_profile file and rerun the compilation, but
noticed
that the software was unable to detect my C++ (see config.log).
Have also noticed that the installer for MET was unable to detect my
jasper
software (see make-install.log).
Below is my current bash_profile:
bkuo at helios:~/MET/met-5.0> more /home/bkuo/.bash_profile
#export PS1="\u@\h:\W\$ "
export PS1="\u@\h:\w> "
#export CC=/usr/bin/cc
#export CXX=/usr/bin/c++
export CC=/usr/bin/gcc
export CXX=/usr/bin/g++
export F77=/usr/bin/gfortran
PATH=$PATH:$HOME/bin
export PATH
export NCARG_ROOT=/home/software/ncl_ncarg-6.2.1
export PATH=$NCARG_ROOT/bin:$PATH
# export
LM_LICENSE_FILE=/home/software/MATLAB/R2014a/etc/license.dat:/home/software/exelis/license/license
.dat
# Software Libraries path
export MET_NETCDF=/home/bkuo/netcdf-3.6.3
#export MET_NETCDFINC=/home/bkuo/netcdf-3.6.3/include
#export MET_NETCDFLIB=/home/bkuo/netcdf-3.6.3/lib/
export MET_BUFRLIB=/home/software/BUFRLIB
export MET_GRIB2CINC=/home/software/g2clib-1.4.0/include
export MET_GRIB2CLIB=/home/software/g2clib-1.4.0/lib
export MET_GSL=/home/software/gsl-1.16/
#export MET_GSLINC=/home/software/gsl-1.16/include
#export MET_GSLLIB=/home/software/gsl-1.16/lib
export MET_HDF=/home/software/hdf5-1.8.14
#export MET_HDFINC=/home/software/hdf5-1.8.14/include
#export MET_HDFLIB=/home/software/hdf5-1.8.14/lib
export MET_CAIRO=/home/bkuo/cairo-1.14.0/
#export MET_CAIROINC=/home/bkuo/cairo-1.14.0/include
#export MET_CAIROLIB=/home/bkuo/cairo-1.14.0/lib
export MET_FREETYPE=/home/bkuo/freetype-2.5.5
#export MET_FREETYPEINC=/home/bkuo/freetype-2.5.5/include
#export MET_FREETYPELIB=/home/bkuo/freetype-2.5.5/lib
export LDFLAGS="-L/home/software/jasper -ljasper"
export LDFLAGS="-L/home/software/libpng -lpng -lz"
export LDFLAGS="-L/home/software/zlib -lzib"
bkuo at helios:~/MET/met-5.0>
Can you advise what should be my next course of action to remedy these
issues?
Thank you
Warmest Regards
Bruce Kuo
On Fri, Mar 27, 2015 at 11:37 PM, Julie Prestopnik via RT
<met_help at ucar.edu
> wrote:
> Hi Bruce. Thanks for sending more information and your logs.
>
> First, I noticed that in your bash profile, you have set:
>
> export MET_NETCDF=/home/bkuo/netcdf-3.6.3
> export MET_NETCDFINC=/home/bkuo/netcdf-3.6.3/include
> export MET_NETCDFLIB=/home/bkuo/netcdf-3.6.3/lib/
>
> You only need to specify either MET_NETCDF or both MET_NETCDFINC and
> MET_NETCDFLIB, depending on where the include and library files are
as
> specified on this page:
>
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/configure.php
>
> The same is true for the other vars that you have listed in your
bash
> profile.
>
> Second, looking in the second make_install.log file that you
attached after
> installing NetCDFv3.6.3, just above this error:
> nc_var_info.h:24:21: error: netcdf.hh: No such file or directory
>
> I see that version 4.3.3.1 is the version being looked for:
> -I/home/bkuo/netcdf-c-4.3.3.1/include
>
> as opposed to version 3.6.3. But, I do see that you set MET_NETCDF
to
> point to version 3.6.3.
>
> Please try it again. This time, please be sure to source your bash
> profile, then rerun configure, and then try to make install again.
>
> I do know that certain recent versions of NetCDF no longer include
> netcdf.hh, but version 3.6.3 should include netcdf.hh. If we can
get MET
> to include that version, it should work for you.
>
> Please give that a shot and let us know if it works for you.
>
> Thanks,
> Julie
>
>
> On Fri, Mar 27, 2015 at 3:34 AM, Bruce Kuo via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71169 >
> >
> > Hi Julie,
> >
> > I still get the same error, despite installing the NETCDF 3.6.3
version,
> > and updating my bash_profile:
> >
> > bkuo at helios:~/MET/met-5.0> make install >& make_install.log
> > bkuo at helios:~/MET/met-5.0> tail -f make_install.log
> > nc_var_info.cc:321: error: ‘const class NcVarInfo’ has no member
named
> > ‘var’
> > nc_var_info.cc:326: error: ‘const class NcVarInfo’ has no member
named
> > ‘var’
> > nc_var_info.cc:331: error: ‘ncInt’ was not declared in this scope
> > make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 1
> > make[3]: Leaving directory
> `/home/bkuo/MET/met-5.0/src/libcode/vx_nc_util'
> > make[2]: *** [install-recursive] Error 1
> > make[2]: Leaving directory `/home/bkuo/MET/met-5.0/src/libcode'
> > make[1]: *** [install-recursive] Error 1
> > make[1]: Leaving directory `/home/bkuo/MET/met-5.0/src'
> > make: *** [install-recursive] Error 1
> >
> > I am unable to find the file "netcdf.hh"in the
> > "/home/bkuo/netcdf-3.6.3/include"directory but the "netcdf.h"file
exits
> as
> > shown below:
> >
> > bkuo at helios:~/MET/met-5.0> cd /home/bkuo/netcdf-3.6.3
> > bkuo at helios:~/netcdf-3.6.3> cd include
> > bkuo at helios:~/netcdf-3.6.3/include> ls -la
> > total 364
> > drwxr-xr-x 2 bkuo wep 4096 Mar 27 09:21 .
> > drwxr-xr-x 22 bkuo wep 4096 Mar 27 09:21 ..
> > -rw-r--r-- 1 bkuo wep 10123 Mar 27 09:21 ncvalues.h
> > -rw-r--r-- 1 bkuo wep 18916 Mar 27 09:21 netcdfcpp.h
> > -rw-r--r-- 1 bkuo wep 29907 Mar 27 09:21 netcdf.h
> > -rw-r--r-- 1 bkuo wep 23 Mar 27 09:21 netcdf.hh
> > -rw-r--r-- 1 bkuo wep 48437 Mar 27 09:21 netcdf.inc
> > -rw-r--r-- 1 bkuo wep 238556 Mar 27 09:21 netcdf.mod
> > -rw-r--r-- 1 bkuo wep 2369 Mar 27 09:21 typesizes.mod
> > bkuo at helios:~/netcdf-3.6.3/include>
> >
> > Please advise what I can focus on for the next step.
> >
> > Thank you
> >
> > Warmest Regards
> >
> > Bruce Kuo
> >
> >
> > On Fri, Mar 27, 2015 at 3:54 PM, Bruce Kuo <brukuo42 at gmail.com>
wrote:
> >
> > > Hi Julie,
> > >
> > > Below are the details of the MET environment, in case the
> > > ".bash_profile"information is unable to come out clearly:
> > >
> > > bkuo at helios:~/MET/met-5.0> printenv |grep MET
> > > MET_GSLLIB=/home/software/gsl-1.16/lib
> > > MET_GRIB2CLIB=/home/software/gsl-1.16/gsl-1.16/lib
> > > MET_FREETYPEINC=/home/bkuo/freetype-2.5.5/include
> > > MET_CAIROINC=/home/bkuo/cairo-1.14.0/include
> > > MET_GSL=/home/software/gsl-1.16/
> > > MET_HDF=/home/software/hdf5-1.8.14
> > > MET_HDFINC=/home/software/hdf5-1.8.14/include
> > > MET_GRIB2CINC=/home/software/gsl-1.16/gsl-1.16/include
> > > MET_GSLINC=/home/software/gsl-1.16/include
> > > MET_NETCDF=/home/software/netcdf--cxx4-4.2.1
> > > MET_FREETYPELIB=/home/bkuo/freetype-2.5.5/lib
> > > MET_CAIROLIB=/home/bkuo/cairo-1.14.0/lib
> > > PWD=/home/bkuo/MET/met-5.0
> > > MET_NETCDFINC=/home/software/netcdf-cxx4-4.2.1/include
> > > MET_NETCDFLIB=/home/software/netcdf--cxx4-4.2.1/lib/
> > > MET_FREETYPE=/home/bkuo/freetype-2.5.5
> > > MET_CAIRO=/home/bkuo/cairo-1.14.0/
> > > MET_BUFRLIB=/home/software/BUFRLIB
> > > MET_HDFLIB=/home/software/hdf5-1.8.14/lib
> > >
> > > Thanks
> > >
> > > Regards
> > > Bruce Kuo
> > >
> > > On Fri, Mar 27, 2015 at 3:42 PM, Bruce Kuo <brukuo42 at gmail.com>
wrote:
> > >
> > >> Hi Julie,
> > >>
> > >> I am still getting the same error, pointing to the "ncvarinfo",
after
> > >> setting the environmental settings in the bash_profile. I have
also
> > >> installed the met-5.0_patches in the same directory of the
MET5.0
> > software.
> > >>
> > >> Please refer to the attached file for the environmental
settings, the
> > >> configuration log and the make_install log files.
> > >>
> > >> Thank you
> > >>
> > >> Warmest Regards
> > >>
> > >> Bruce Kuo
> > >>
> > >> On Tue, Mar 24, 2015 at 12:55 AM, Julie Prestopnik via RT <
> > >> met_help at ucar.edu> wrote:
> > >>
> > >>> Hi Bruce. You can set several environment variables to tell
the
> > >>> configure
> > >>> script where to find the dependent libraries. For example,
> MET_NETCDF
> > >>> tells it where to find NetCDF. You can set the MET_NETCDF
variable
> in
> > >>> your
> > >>> .cshrc file like this:
> > >>> setenv MET_NETCDF /usr/local/netcdf-3.6.2
> > >>>
> > >>> You can find more information on setting the environment
variables
> > here:
> > >>>
> > >>>
> >
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/configure.php
> > >>>
> > >>> Please try setting the environment variables and then run
configure
> and
> > >>> see
> > >>> if that gets rid of the errors you are getting. If not,
please send
> > the
> > >>> full make_install.log to us. Also, please note that some of
the
> tools
> > >>> are
> > >>> disabled by default. You can read the Configuration section
at the
> > link
> > >>> above for more information.
> > >>>
> > >>> Please let us know if you have any questions or encounter any
other
> > >>> problems.
> > >>>
> > >>> Thanks,
> > >>> Julie
> > >>>
> > >>>
> > >>
> > >
> >
> >
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
>
------------------------------------------------
Subject: Issue with installing MET 5.0
From: Julie Prestopnik
Time: Mon Mar 30 11:23:14 2015
Hi Bruce. I am sorry to hear that you are still having problems
getting
MET to build.
When you set LDFLAGS in the following way, I believe you are writing
over
the environment variable each time.
export LDFLAGS="-L/home/software/jasper -ljasper"
export LDFLAGS="-L/home/software/libpng -lpng -lz"
export LDFLAGS="-L/home/software/zlib -lzib"
Please try setting LDFLAGS in the following way:
export LDFLAGS="-L/home/software/jasper -ljasper
-L/home/software/libpng
-lpng -L/home/software/zlib -lz"
Then source your bash profile, run the configure script, and then run
make
install.
I'm not sure the errors in the config.log file are significant. Let's
proceed with the above and see how that goes. Please let us know.
Thanks,
Julie
On Sun, Mar 29, 2015 at 11:25 PM, Bruce Kuo via RT <met_help at ucar.edu>
wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71169 >
>
> Hi Julie,
>
> I have amended my bash_profile file and rerun the compilation, but
noticed
> that the software was unable to detect my C++ (see config.log).
>
> Have also noticed that the installer for MET was unable to detect my
jasper
> software (see make-install.log).
>
> Below is my current bash_profile:
>
> bkuo at helios:~/MET/met-5.0> more /home/bkuo/.bash_profile
>
> #export PS1="\u@\h:\W\$ "
> export PS1="\u@\h:\w> "
>
> #export CC=/usr/bin/cc
> #export CXX=/usr/bin/c++
> export CC=/usr/bin/gcc
> export CXX=/usr/bin/g++
> export F77=/usr/bin/gfortran
>
> PATH=$PATH:$HOME/bin
> export PATH
> export NCARG_ROOT=/home/software/ncl_ncarg-6.2.1
> export PATH=$NCARG_ROOT/bin:$PATH
> # export
>
>
LM_LICENSE_FILE=/home/software/MATLAB/R2014a/etc/license.dat:/home/software/exelis/license/license
> .dat
>
> # Software Libraries path
> export MET_NETCDF=/home/bkuo/netcdf-3.6.3
> #export MET_NETCDFINC=/home/bkuo/netcdf-3.6.3/include
> #export MET_NETCDFLIB=/home/bkuo/netcdf-3.6.3/lib/
> export MET_BUFRLIB=/home/software/BUFRLIB
> export MET_GRIB2CINC=/home/software/g2clib-1.4.0/include
> export MET_GRIB2CLIB=/home/software/g2clib-1.4.0/lib
> export MET_GSL=/home/software/gsl-1.16/
> #export MET_GSLINC=/home/software/gsl-1.16/include
> #export MET_GSLLIB=/home/software/gsl-1.16/lib
> export MET_HDF=/home/software/hdf5-1.8.14
> #export MET_HDFINC=/home/software/hdf5-1.8.14/include
> #export MET_HDFLIB=/home/software/hdf5-1.8.14/lib
> export MET_CAIRO=/home/bkuo/cairo-1.14.0/
> #export MET_CAIROINC=/home/bkuo/cairo-1.14.0/include
> #export MET_CAIROLIB=/home/bkuo/cairo-1.14.0/lib
> export MET_FREETYPE=/home/bkuo/freetype-2.5.5
> #export MET_FREETYPEINC=/home/bkuo/freetype-2.5.5/include
> #export MET_FREETYPELIB=/home/bkuo/freetype-2.5.5/lib
> export LDFLAGS="-L/home/software/jasper -ljasper"
> export LDFLAGS="-L/home/software/libpng -lpng -lz"
> export LDFLAGS="-L/home/software/zlib -lzib"
>
> bkuo at helios:~/MET/met-5.0>
>
> Can you advise what should be my next course of action to remedy
these
> issues?
>
> Thank you
>
> Warmest Regards
>
> Bruce Kuo
>
> On Fri, Mar 27, 2015 at 11:37 PM, Julie Prestopnik via RT <
> met_help at ucar.edu
> > wrote:
>
> > Hi Bruce. Thanks for sending more information and your logs.
> >
> > First, I noticed that in your bash profile, you have set:
> >
> > export MET_NETCDF=/home/bkuo/netcdf-3.6.3
> > export MET_NETCDFINC=/home/bkuo/netcdf-3.6.3/include
> > export MET_NETCDFLIB=/home/bkuo/netcdf-3.6.3/lib/
> >
> > You only need to specify either MET_NETCDF or both MET_NETCDFINC
and
> > MET_NETCDFLIB, depending on where the include and library files
are as
> > specified on this page:
> >
> >
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/configure.php
> >
> > The same is true for the other vars that you have listed in your
bash
> > profile.
> >
> > Second, looking in the second make_install.log file that you
attached
> after
> > installing NetCDFv3.6.3, just above this error:
> > nc_var_info.h:24:21: error: netcdf.hh: No such file or directory
> >
> > I see that version 4.3.3.1 is the version being looked for:
> > -I/home/bkuo/netcdf-c-4.3.3.1/include
> >
> > as opposed to version 3.6.3. But, I do see that you set
MET_NETCDF to
> > point to version 3.6.3.
> >
> > Please try it again. This time, please be sure to source your
bash
> > profile, then rerun configure, and then try to make install again.
> >
> > I do know that certain recent versions of NetCDF no longer include
> > netcdf.hh, but version 3.6.3 should include netcdf.hh. If we can
get MET
> > to include that version, it should work for you.
> >
> > Please give that a shot and let us know if it works for you.
> >
> > Thanks,
> > Julie
> >
> >
> > On Fri, Mar 27, 2015 at 3:34 AM, Bruce Kuo via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71169 >
> > >
> > > Hi Julie,
> > >
> > > I still get the same error, despite installing the NETCDF 3.6.3
> version,
> > > and updating my bash_profile:
> > >
> > > bkuo at helios:~/MET/met-5.0> make install >& make_install.log
> > > bkuo at helios:~/MET/met-5.0> tail -f make_install.log
> > > nc_var_info.cc:321: error: ‘const class NcVarInfo’ has no member
named
> > > ‘var’
> > > nc_var_info.cc:326: error: ‘const class NcVarInfo’ has no member
named
> > > ‘var’
> > > nc_var_info.cc:331: error: ‘ncInt’ was not declared in this
scope
> > > make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 1
> > > make[3]: Leaving directory
> > `/home/bkuo/MET/met-5.0/src/libcode/vx_nc_util'
> > > make[2]: *** [install-recursive] Error 1
> > > make[2]: Leaving directory `/home/bkuo/MET/met-5.0/src/libcode'
> > > make[1]: *** [install-recursive] Error 1
> > > make[1]: Leaving directory `/home/bkuo/MET/met-5.0/src'
> > > make: *** [install-recursive] Error 1
> > >
> > > I am unable to find the file "netcdf.hh"in the
> > > "/home/bkuo/netcdf-3.6.3/include"directory but the
"netcdf.h"file exits
> > as
> > > shown below:
> > >
> > > bkuo at helios:~/MET/met-5.0> cd /home/bkuo/netcdf-3.6.3
> > > bkuo at helios:~/netcdf-3.6.3> cd include
> > > bkuo at helios:~/netcdf-3.6.3/include> ls -la
> > > total 364
> > > drwxr-xr-x 2 bkuo wep 4096 Mar 27 09:21 .
> > > drwxr-xr-x 22 bkuo wep 4096 Mar 27 09:21 ..
> > > -rw-r--r-- 1 bkuo wep 10123 Mar 27 09:21 ncvalues.h
> > > -rw-r--r-- 1 bkuo wep 18916 Mar 27 09:21 netcdfcpp.h
> > > -rw-r--r-- 1 bkuo wep 29907 Mar 27 09:21 netcdf.h
> > > -rw-r--r-- 1 bkuo wep 23 Mar 27 09:21 netcdf.hh
> > > -rw-r--r-- 1 bkuo wep 48437 Mar 27 09:21 netcdf.inc
> > > -rw-r--r-- 1 bkuo wep 238556 Mar 27 09:21 netcdf.mod
> > > -rw-r--r-- 1 bkuo wep 2369 Mar 27 09:21 typesizes.mod
> > > bkuo at helios:~/netcdf-3.6.3/include>
> > >
> > > Please advise what I can focus on for the next step.
> > >
> > > Thank you
> > >
> > > Warmest Regards
> > >
> > > Bruce Kuo
> > >
> > >
> > > On Fri, Mar 27, 2015 at 3:54 PM, Bruce Kuo <brukuo42 at gmail.com>
wrote:
> > >
> > > > Hi Julie,
> > > >
> > > > Below are the details of the MET environment, in case the
> > > > ".bash_profile"information is unable to come out clearly:
> > > >
> > > > bkuo at helios:~/MET/met-5.0> printenv |grep MET
> > > > MET_GSLLIB=/home/software/gsl-1.16/lib
> > > > MET_GRIB2CLIB=/home/software/gsl-1.16/gsl-1.16/lib
> > > > MET_FREETYPEINC=/home/bkuo/freetype-2.5.5/include
> > > > MET_CAIROINC=/home/bkuo/cairo-1.14.0/include
> > > > MET_GSL=/home/software/gsl-1.16/
> > > > MET_HDF=/home/software/hdf5-1.8.14
> > > > MET_HDFINC=/home/software/hdf5-1.8.14/include
> > > > MET_GRIB2CINC=/home/software/gsl-1.16/gsl-1.16/include
> > > > MET_GSLINC=/home/software/gsl-1.16/include
> > > > MET_NETCDF=/home/software/netcdf--cxx4-4.2.1
> > > > MET_FREETYPELIB=/home/bkuo/freetype-2.5.5/lib
> > > > MET_CAIROLIB=/home/bkuo/cairo-1.14.0/lib
> > > > PWD=/home/bkuo/MET/met-5.0
> > > > MET_NETCDFINC=/home/software/netcdf-cxx4-4.2.1/include
> > > > MET_NETCDFLIB=/home/software/netcdf--cxx4-4.2.1/lib/
> > > > MET_FREETYPE=/home/bkuo/freetype-2.5.5
> > > > MET_CAIRO=/home/bkuo/cairo-1.14.0/
> > > > MET_BUFRLIB=/home/software/BUFRLIB
> > > > MET_HDFLIB=/home/software/hdf5-1.8.14/lib
> > > >
> > > > Thanks
> > > >
> > > > Regards
> > > > Bruce Kuo
> > > >
> > > > On Fri, Mar 27, 2015 at 3:42 PM, Bruce Kuo
<brukuo42 at gmail.com>
> wrote:
> > > >
> > > >> Hi Julie,
> > > >>
> > > >> I am still getting the same error, pointing to the
"ncvarinfo",
> after
> > > >> setting the environmental settings in the bash_profile. I
have also
> > > >> installed the met-5.0_patches in the same directory of the
MET5.0
> > > software.
> > > >>
> > > >> Please refer to the attached file for the environmental
settings,
> the
> > > >> configuration log and the make_install log files.
> > > >>
> > > >> Thank you
> > > >>
> > > >> Warmest Regards
> > > >>
> > > >> Bruce Kuo
> > > >>
> > > >> On Tue, Mar 24, 2015 at 12:55 AM, Julie Prestopnik via RT <
> > > >> met_help at ucar.edu> wrote:
> > > >>
> > > >>> Hi Bruce. You can set several environment variables to tell
the
> > > >>> configure
> > > >>> script where to find the dependent libraries. For example,
> > MET_NETCDF
> > > >>> tells it where to find NetCDF. You can set the MET_NETCDF
variable
> > in
> > > >>> your
> > > >>> .cshrc file like this:
> > > >>> setenv MET_NETCDF /usr/local/netcdf-3.6.2
> > > >>>
> > > >>> You can find more information on setting the environment
variables
> > > here:
> > > >>>
> > > >>>
> > >
> >
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/configure.php
> > > >>>
> > > >>> Please try setting the environment variables and then run
configure
> > and
> > > >>> see
> > > >>> if that gets rid of the errors you are getting. If not,
please
> send
> > > the
> > > >>> full make_install.log to us. Also, please note that some
of the
> > tools
> > > >>> are
> > > >>> disabled by default. You can read the Configuration section
at the
> > > link
> > > >>> above for more information.
> > > >>>
> > > >>> Please let us know if you have any questions or encounter
any other
> > > >>> problems.
> > > >>>
> > > >>> Thanks,
> > > >>> Julie
> > > >>>
> > > >>>
> > > >>
> > > >
> > >
> > >
> >
> >
> > --
> > Julie Prestopnik
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
> >
>
>
--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu
------------------------------------------------
Subject: Issue with installing MET 5.0
From: Bruce Kuo
Time: Mon Mar 30 21:21:17 2015
Hi Julie,
Your suggestion for using the <LDFLAGs> was not useful as it will
still
give errors in the [config.log] and [make_install.log] files, as shown
below:
----------------------------
Error in "config.log":
---------------------------
gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)
configure:4488: $? = 0
configure:4477: /usr/bin/g++ -V >&5
g++: '-V' option must have argument
configure:4488: $? = 1
configure:4477: /usr/bin/g++ -qversion >&5
g++: unrecognized option '-qversion'
g++: no input files
configure:4488: $? = 1
configure:4508: checking whether the C++ compiler works
configure:4530: /usr/bin/g++ -g -I${MET_NETCDF}/include
-I/home/software/g2clib-1.4.
0/include -I${MET_GSL}/include -I${MET_HDF}/include
-I${MET_CAIRO}/include
-I${MET_FR
EETYPE}/include -DBLOCK4 -DWITH_GRIB2 -DMET_BASE="\"$(pkgdatadir)\""
-L/home/software
/jasper-1.900.1 -ljasper -L/home/software/libpng-1.6.15 -lpng
-L/home/software/zlib-1
.2.6 -lz -L${MET_NETCDF}/lib -L/home/software/g2clib-1.4.0/lib
-L${MET_GSL}/lib -L/ho
me/software/BUFRLIB -L${MET_HDF}/lib -L${MET_CAIRO}/lib
-L${MET_FREETYPE}/lib conftes
t.cpp >&5
/usr/bin/ld: cannot find -ljasper
collect2: ld returned 1 exit status
configure:4534: $? = 1
configure:4572: result: no
configure: failed program was:
| /* confdefs.h */
.
.
.
configure:4577: error: in `/home/bkuo/MET/met-5.0':
configure:4579: error: C++ compiler cannot create executables
See `config.log' for more details
------------------------------------
Error in "make_install.log":
------------------------------------
/libcode/vx_statistics -L../../../../src/libcode/vx_stat_out
-L../../../../src/libcode/vx_tc_util -L/nw
prod -lpng -lz -L/home/bkuo/netcdf-3.6.3/lib
-L/home/software/g2clib-1.4.0/lib -L/home/software/gsl-1.1
6//lib -L/home/software/BUFRLIB -L/home/software/hdf5-1.8.14/lib
-L/home/bkuo/cairo-1.14.0//lib -L/home
/bkuo/freetype-2.5.5/lib -o ensemble_stat ensemble_stat-
ensemble_stat.o
ensemble_stat-ensemble_stat_con
f_info.o -lvx_stat_out -lvx_statistics -lvx_shapedata -lvx_gsl_prob
-lvx_analysis_util -lvx_data2d_fact
ory -lvx_data2d_nc_met -lvx_data2d_grib -lvx_data2d_grib2 -lgrib2c
-ljasper
-lpng -lz -lvx_data2d_nc_pi
nterp -lvx_data2d_nccf -lvx_data2d -lvx_nc_util -lvx_grid -lvx_config
-lvx_cal -lvx_util -lvx_math -lvx
_color -lvx_log -lm -lnetcdf_c++ -lnetcdf -lgsl -lgslcblas
/usr/bin/ld: cannot find -ljasper
collect2: ld returned 1 exit status
make[4]: *** [ensemble_stat] Error 1
make[4]: Leaving directory
`/home/bkuo/MET/met-5.0/src/tools/core/ensemble_stat'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/home/bkuo/MET/met-5.0/src/tools/core'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/bkuo/MET/met-5.0/src/tools'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/bkuo/MET/met-5.0/src'
make: *** [install-recursive] Error 1
--------------------------------
Current ".bash_profile":
--------------------------------
export PS1="\u@\h:\w> "
export CC=/usr/bin/gcc
export CXX=/usr/bin/g++
export F77=/usr/bin/gfortran
PATH=$PATH:$HOME/bin
export PATH
export NCARG_ROOT=/home/software/ncl_ncarg-6.2.1
export PATH=$NCARG_ROOT/bin:$PATH
# Software Libraries path
export MET_NETCDF=/home/bkuo/netcdf-3.6.3
export MET_BUFRLIB=/home/software/BUFRLIB
export MET_GRIB2CINC=/home/software/g2clib-1.4.0/include
export MET_GRIB2CLIB=/home/software/g2clib-1.4.0/lib
export MET_GSL=/home/software/gsl-1.16/
export MET_HDF=/home/software/hdf5-1.8.14
export MET_CAIRO=/home/bkuo/cairo-1.14.0/
export MET_FREETYPE=/home/bkuo/freetype-2.5.5
export LDFLAGS="-L/home/software/jasper-1.900.1 -ljasper
-L/home/software/libpng-1.6.15 -lpng -L/home/s
oftware/zlib-1.2.6 -lz"
But when I changed the <LDFLAGS> to the following <LD_LIBRARY_PATH>
below,
the issue in the <config.log> was resolved.
*export
LD_LIBRARY_PATH=/home/software/jasper/lib:/home/software/libpng/lib:$LD_LIBRARY*
*_PATH*
But the <ljasper> issue still persist, as shown below:
lvx_shapedata -lvx_gsl_prob -lvx_analysis_util -lvx_data2d_factory
-lvx_data2d_nc_met
-lvx_data2d_grib -lvx_data2d_grib2 -lgrib2c -ljasper -lpng -lz
-lvx_data2d_nc_pinterp
-lvx_data2d_nccf -lvx_data2d -lvx_nc_util -lvx_grid -lvx_config
-lvx_cal
-lvx_util -lv
x_math -lvx_color -lvx_log -lm -lnetcdf_c++ -lnetcdf -lgsl -lgslcblas
*/usr/bin/ld: cannot find -ljasper*
collect2: ld returned 1 exit status
make[4]: *** [ensemble_stat] Error 1
make[4]: Leaving directory
`/home/bkuo/MET/met-5.0/src/tools/core/ensemble_stat'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/home/bkuo/MET/met-5.0/src/tools/core'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/bkuo/MET/met-5.0/src/tools'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/bkuo/MET/met-5.0/src'
make: *** [install-recursive] Error 1
Have attached the latest copy of my "bash_profile","config.log",
"make-install.log" files in this email for your reference.
What other course of action can I take to remedy this issue?
Thank you
Warmest Regards
Bruce Kuo
On Tue, Mar 31, 2015 at 1:23 AM, Julie Prestopnik via RT
<met_help at ucar.edu>
wrote:
> Hi Bruce. I am sorry to hear that you are still having problems
getting
> MET to build.
>
> When you set LDFLAGS in the following way, I believe you are writing
over
> the environment variable each time.
>
> export LDFLAGS="-L/home/software/jasper -ljasper"
> export LDFLAGS="-L/home/software/libpng -lpng -lz"
> export LDFLAGS="-L/home/software/zlib -lzib"
>
> Please try setting LDFLAGS in the following way:
>
> export LDFLAGS="-L/home/software/jasper -ljasper
-L/home/software/libpng
> -lpng -L/home/software/zlib -lz"
>
> Then source your bash profile, run the configure script, and then
run make
> install.
>
> I'm not sure the errors in the config.log file are significant.
Let's
> proceed with the above and see how that goes. Please let us know.
>
> Thanks,
> Julie
>
> On Sun, Mar 29, 2015 at 11:25 PM, Bruce Kuo via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71169 >
> >
> > Hi Julie,
> >
> > I have amended my bash_profile file and rerun the compilation, but
> noticed
> > that the software was unable to detect my C++ (see config.log).
> >
> > Have also noticed that the installer for MET was unable to detect
my
> jasper
> > software (see make-install.log).
> >
> > Below is my current bash_profile:
> >
> > bkuo at helios:~/MET/met-5.0> more /home/bkuo/.bash_profile
> >
> > #export PS1="\u@\h:\W\$ "
> > export PS1="\u@\h:\w> "
> >
> > #export CC=/usr/bin/cc
> > #export CXX=/usr/bin/c++
> > export CC=/usr/bin/gcc
> > export CXX=/usr/bin/g++
> > export F77=/usr/bin/gfortran
> >
> > PATH=$PATH:$HOME/bin
> > export PATH
> > export NCARG_ROOT=/home/software/ncl_ncarg-6.2.1
> > export PATH=$NCARG_ROOT/bin:$PATH
> > # export
> >
> >
>
LM_LICENSE_FILE=/home/software/MATLAB/R2014a/etc/license.dat:/home/software/exelis/license/license
> > .dat
> >
> > # Software Libraries path
> > export MET_NETCDF=/home/bkuo/netcdf-3.6.3
> > #export MET_NETCDFINC=/home/bkuo/netcdf-3.6.3/include
> > #export MET_NETCDFLIB=/home/bkuo/netcdf-3.6.3/lib/
> > export MET_BUFRLIB=/home/software/BUFRLIB
> > export MET_GRIB2CINC=/home/software/g2clib-1.4.0/include
> > export MET_GRIB2CLIB=/home/software/g2clib-1.4.0/lib
> > export MET_GSL=/home/software/gsl-1.16/
> > #export MET_GSLINC=/home/software/gsl-1.16/include
> > #export MET_GSLLIB=/home/software/gsl-1.16/lib
> > export MET_HDF=/home/software/hdf5-1.8.14
> > #export MET_HDFINC=/home/software/hdf5-1.8.14/include
> > #export MET_HDFLIB=/home/software/hdf5-1.8.14/lib
> > export MET_CAIRO=/home/bkuo/cairo-1.14.0/
> > #export MET_CAIROINC=/home/bkuo/cairo-1.14.0/include
> > #export MET_CAIROLIB=/home/bkuo/cairo-1.14.0/lib
> > export MET_FREETYPE=/home/bkuo/freetype-2.5.5
> > #export MET_FREETYPEINC=/home/bkuo/freetype-2.5.5/include
> > #export MET_FREETYPELIB=/home/bkuo/freetype-2.5.5/lib
> > export LDFLAGS="-L/home/software/jasper -ljasper"
> > export LDFLAGS="-L/home/software/libpng -lpng -lz"
> > export LDFLAGS="-L/home/software/zlib -lzib"
> >
> > bkuo at helios:~/MET/met-5.0>
> >
> > Can you advise what should be my next course of action to remedy
these
> > issues?
> >
> > Thank you
> >
> > Warmest Regards
> >
> > Bruce Kuo
> >
> > On Fri, Mar 27, 2015 at 11:37 PM, Julie Prestopnik via RT <
> > met_help at ucar.edu
> > > wrote:
> >
> > > Hi Bruce. Thanks for sending more information and your logs.
> > >
> > > First, I noticed that in your bash profile, you have set:
> > >
> > > export MET_NETCDF=/home/bkuo/netcdf-3.6.3
> > > export MET_NETCDFINC=/home/bkuo/netcdf-3.6.3/include
> > > export MET_NETCDFLIB=/home/bkuo/netcdf-3.6.3/lib/
> > >
> > > You only need to specify either MET_NETCDF or both MET_NETCDFINC
and
> > > MET_NETCDFLIB, depending on where the include and library files
are as
> > > specified on this page:
> > >
> > >
> >
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/configure.php
> > >
> > > The same is true for the other vars that you have listed in your
bash
> > > profile.
> > >
> > > Second, looking in the second make_install.log file that you
attached
> > after
> > > installing NetCDFv3.6.3, just above this error:
> > > nc_var_info.h:24:21: error: netcdf.hh: No such file or directory
> > >
> > > I see that version 4.3.3.1 is the version being looked for:
> > > -I/home/bkuo/netcdf-c-4.3.3.1/include
> > >
> > > as opposed to version 3.6.3. But, I do see that you set
MET_NETCDF to
> > > point to version 3.6.3.
> > >
> > > Please try it again. This time, please be sure to source your
bash
> > > profile, then rerun configure, and then try to make install
again.
> > >
> > > I do know that certain recent versions of NetCDF no longer
include
> > > netcdf.hh, but version 3.6.3 should include netcdf.hh. If we
can get
> MET
> > > to include that version, it should work for you.
> > >
> > > Please give that a shot and let us know if it works for you.
> > >
> > > Thanks,
> > > Julie
> > >
> > >
> > > On Fri, Mar 27, 2015 at 3:34 AM, Bruce Kuo via RT
<met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71169
>
> > > >
> > > > Hi Julie,
> > > >
> > > > I still get the same error, despite installing the NETCDF
3.6.3
> > version,
> > > > and updating my bash_profile:
> > > >
> > > > bkuo at helios:~/MET/met-5.0> make install >& make_install.log
> > > > bkuo at helios:~/MET/met-5.0> tail -f make_install.log
> > > > nc_var_info.cc:321: error: ‘const class NcVarInfo’ has no
member
> named
> > > > ‘var’
> > > > nc_var_info.cc:326: error: ‘const class NcVarInfo’ has no
member
> named
> > > > ‘var’
> > > > nc_var_info.cc:331: error: ‘ncInt’ was not declared in this
scope
> > > > make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 1
> > > > make[3]: Leaving directory
> > > `/home/bkuo/MET/met-5.0/src/libcode/vx_nc_util'
> > > > make[2]: *** [install-recursive] Error 1
> > > > make[2]: Leaving directory `/home/bkuo/MET/met-
5.0/src/libcode'
> > > > make[1]: *** [install-recursive] Error 1
> > > > make[1]: Leaving directory `/home/bkuo/MET/met-5.0/src'
> > > > make: *** [install-recursive] Error 1
> > > >
> > > > I am unable to find the file "netcdf.hh"in the
> > > > "/home/bkuo/netcdf-3.6.3/include"directory but the
"netcdf.h"file
> exits
> > > as
> > > > shown below:
> > > >
> > > > bkuo at helios:~/MET/met-5.0> cd /home/bkuo/netcdf-3.6.3
> > > > bkuo at helios:~/netcdf-3.6.3> cd include
> > > > bkuo at helios:~/netcdf-3.6.3/include> ls -la
> > > > total 364
> > > > drwxr-xr-x 2 bkuo wep 4096 Mar 27 09:21 .
> > > > drwxr-xr-x 22 bkuo wep 4096 Mar 27 09:21 ..
> > > > -rw-r--r-- 1 bkuo wep 10123 Mar 27 09:21 ncvalues.h
> > > > -rw-r--r-- 1 bkuo wep 18916 Mar 27 09:21 netcdfcpp.h
> > > > -rw-r--r-- 1 bkuo wep 29907 Mar 27 09:21 netcdf.h
> > > > -rw-r--r-- 1 bkuo wep 23 Mar 27 09:21 netcdf.hh
> > > > -rw-r--r-- 1 bkuo wep 48437 Mar 27 09:21 netcdf.inc
> > > > -rw-r--r-- 1 bkuo wep 238556 Mar 27 09:21 netcdf.mod
> > > > -rw-r--r-- 1 bkuo wep 2369 Mar 27 09:21 typesizes.mod
> > > > bkuo at helios:~/netcdf-3.6.3/include>
> > > >
> > > > Please advise what I can focus on for the next step.
> > > >
> > > > Thank you
> > > >
> > > > Warmest Regards
> > > >
> > > > Bruce Kuo
> > > >
> > > >
> > > > On Fri, Mar 27, 2015 at 3:54 PM, Bruce Kuo
<brukuo42 at gmail.com>
> wrote:
> > > >
> > > > > Hi Julie,
> > > > >
> > > > > Below are the details of the MET environment, in case the
> > > > > ".bash_profile"information is unable to come out clearly:
> > > > >
> > > > > bkuo at helios:~/MET/met-5.0> printenv |grep MET
> > > > > MET_GSLLIB=/home/software/gsl-1.16/lib
> > > > > MET_GRIB2CLIB=/home/software/gsl-1.16/gsl-1.16/lib
> > > > > MET_FREETYPEINC=/home/bkuo/freetype-2.5.5/include
> > > > > MET_CAIROINC=/home/bkuo/cairo-1.14.0/include
> > > > > MET_GSL=/home/software/gsl-1.16/
> > > > > MET_HDF=/home/software/hdf5-1.8.14
> > > > > MET_HDFINC=/home/software/hdf5-1.8.14/include
> > > > > MET_GRIB2CINC=/home/software/gsl-1.16/gsl-1.16/include
> > > > > MET_GSLINC=/home/software/gsl-1.16/include
> > > > > MET_NETCDF=/home/software/netcdf--cxx4-4.2.1
> > > > > MET_FREETYPELIB=/home/bkuo/freetype-2.5.5/lib
> > > > > MET_CAIROLIB=/home/bkuo/cairo-1.14.0/lib
> > > > > PWD=/home/bkuo/MET/met-5.0
> > > > > MET_NETCDFINC=/home/software/netcdf-cxx4-4.2.1/include
> > > > > MET_NETCDFLIB=/home/software/netcdf--cxx4-4.2.1/lib/
> > > > > MET_FREETYPE=/home/bkuo/freetype-2.5.5
> > > > > MET_CAIRO=/home/bkuo/cairo-1.14.0/
> > > > > MET_BUFRLIB=/home/software/BUFRLIB
> > > > > MET_HDFLIB=/home/software/hdf5-1.8.14/lib
> > > > >
> > > > > Thanks
> > > > >
> > > > > Regards
> > > > > Bruce Kuo
> > > > >
> > > > > On Fri, Mar 27, 2015 at 3:42 PM, Bruce Kuo
<brukuo42 at gmail.com>
> > wrote:
> > > > >
> > > > >> Hi Julie,
> > > > >>
> > > > >> I am still getting the same error, pointing to the
"ncvarinfo",
> > after
> > > > >> setting the environmental settings in the bash_profile. I
have
> also
> > > > >> installed the met-5.0_patches in the same directory of the
MET5.0
> > > > software.
> > > > >>
> > > > >> Please refer to the attached file for the environmental
settings,
> > the
> > > > >> configuration log and the make_install log files.
> > > > >>
> > > > >> Thank you
> > > > >>
> > > > >> Warmest Regards
> > > > >>
> > > > >> Bruce Kuo
> > > > >>
> > > > >> On Tue, Mar 24, 2015 at 12:55 AM, Julie Prestopnik via RT <
> > > > >> met_help at ucar.edu> wrote:
> > > > >>
> > > > >>> Hi Bruce. You can set several environment variables to
tell the
> > > > >>> configure
> > > > >>> script where to find the dependent libraries. For
example,
> > > MET_NETCDF
> > > > >>> tells it where to find NetCDF. You can set the MET_NETCDF
> variable
> > > in
> > > > >>> your
> > > > >>> .cshrc file like this:
> > > > >>> setenv MET_NETCDF /usr/local/netcdf-3.6.2
> > > > >>>
> > > > >>> You can find more information on setting the environment
> variables
> > > > here:
> > > > >>>
> > > > >>>
> > > >
> > >
> >
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/configure.php
> > > > >>>
> > > > >>> Please try setting the environment variables and then run
> configure
> > > and
> > > > >>> see
> > > > >>> if that gets rid of the errors you are getting. If not,
please
> > send
> > > > the
> > > > >>> full make_install.log to us. Also, please note that some
of the
> > > tools
> > > > >>> are
> > > > >>> disabled by default. You can read the Configuration
section at
> the
> > > > link
> > > > >>> above for more information.
> > > > >>>
> > > > >>> Please let us know if you have any questions or encounter
any
> other
> > > > >>> problems.
> > > > >>>
> > > > >>> Thanks,
> > > > >>> Julie
> > > > >>>
> > > > >>>
> > > > >>
> > > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Julie Prestopnik
> > > National Center for Atmospheric Research
> > > Research Applications Laboratory
> > > Phone: 303.497.8399
> > > Email: jpresto at ucar.edu
> > >
> > >
> >
> >
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
>
------------------------------------------------
Subject: Issue with installing MET 5.0
From: Bruce Kuo
Time: Mon Mar 30 21:21:17 2015
export PS1="\u@\h:\w> "
#export CC=/usr/bin/cc
#export CXX=/usr/bin/c++
export CC=/usr/bin/gcc
export CXX=/usr/bin/g++
export F77=/usr/bin/gfortran
PATH=$PATH:$HOME/bin
export PATH
export NCARG_ROOT=/home/software/ncl_ncarg-6.2.1
export PATH=$NCARG_ROOT/bin:$PATH
# Software Libraries path
export MET_NETCDF=/home/bkuo/netcdf-3.6.3
export MET_BUFRLIB=/home/software/BUFRLIB
export MET_GRIB2CINC=/home/software/g2clib-1.4.0/include
export MET_GRIB2CLIB=/home/software/g2clib-1.4.0/lib
export MET_GSL=/home/software/gsl-1.16/
export MET_HDF=/home/software/hdf5-1.8.14
export MET_CAIRO=/home/bkuo/cairo-1.14.0/
export MET_FREETYPE=/home/bkuo/freetype-2.5.5
#export LDFLAGS="-L/home/software/jasper-1.900.1 -ljasper
-L/home/software/libpng-1.6.
15 -lpng -L/home/software/zlib-1.2.6 -lz"
export
LD_LIBRARY_PATH=/home/software/jasper/lib:/home/software/libpng/lib:$LD_LIBRARY
_PATH
------------------------------------------------
Subject: Issue with installing MET 5.0
From: Bruce Kuo
Time: Tue Mar 31 03:36:30 2015
Hi Julie,
I have managed to resolve the issues and make install the MET 5.0
successfully.
The bin subdirectory of the installation directory should now contain
up to
23 MET executables as mentioned in your online Tutorial:
ascii2nc
ensemble_stat
gen_circle_mask
gen_poly_mask
grid_stat
madis2nc
mode
mode_analysis
modis_regrid
pb2nc
pcp_combine
plot_data_plane
plot_mode_field
plot_point_obs
point_stat
series_analysis
stat_analysis
tc_dland
tc_pairs
tc_stat
wavelet_stat
wwmca_plot
wwmca_regrid
But I only manage to get 21 MET executables, as shown below:
bkuo at helios:~/MET/met-5.0/bin> ls -la
total 146388
drwxr-xr-x 2 bkuo wep 4096 Mar 31 09:11 .
drwxr-xr-x 10 bkuo wep 4096 Mar 31 09:11 ..
-rwxr-xr-x 1 bkuo wep 7991547 Mar 31 09:11 ascii2nc
-rwxr-xr-x 1 bkuo wep 10083044 Mar 31 09:11 ensemble_stat
-rwxr-xr-x 1 bkuo wep 6575977 Mar 31 09:11 gen_circle_mask
-rwxr-xr-x 1 bkuo wep 6545185 Mar 31 09:11 gen_poly_mask
-rwxr-xr-x 1 bkuo wep 9477533 Mar 31 09:11 grid_stat
-rwxr-xr-x 1 bkuo wep 6577475 Mar 31 09:11 madis2nc
-rwxr-xr-x 1 bkuo wep 11553213 Mar 31 09:11 mode
-rwxr-xr-x 1 bkuo wep 4612363 Mar 31 09:11 mode_analysis
-rwxr-xr-x 1 bkuo wep 4721974 Mar 31 09:11 pb2nc
-rwxr-xr-x 1 bkuo wep 6963617 Mar 31 09:11 pcp_combine
-rwxr-xr-x 1 bkuo wep 8148164 Mar 31 09:11 plot_data_plane
-rwxr-xr-x 1 bkuo wep 7216905 Mar 31 09:11 plot_point_obs
-rwxr-xr-x 1 bkuo wep 9748262 Mar 31 09:11 point_stat
-rwxr-xr-x 1 bkuo wep 9290653 Mar 31 09:11 series_analysis
-rwxr-xr-x 1 bkuo wep 7510384 Mar 31 09:11 stat_analysis
-rwxr-xr-x 1 bkuo wep 3643761 Mar 31 09:11 tc_dland
-rwxr-xr-x 1 bkuo wep 4850596 Mar 31 09:11 tc_pairs
-rwxr-xr-x 1 bkuo wep 4310497 Mar 31 09:11 tc_stat
-rwxr-xr-x 1 bkuo wep 10603249 Mar 31 09:11 wavelet_stat
-rwxr-xr-x 1 bkuo wep 5211537 Mar 31 09:11 wwmca_plot
-rwxr-xr-x 1 bkuo wep 4217758 Mar 31 09:11 wwmca_regrid
bkuo at helios:~/MET/met-5.0/bin>
The missing executables are: modis_regrid, and plot_mode_field. Will
these
2 missing MET executables be a concern?
Thank you
Warmest Regards
Bruce Kuo
On Tue, Mar 31, 2015 at 11:21 AM, Bruce Kuo <brukuo42 at gmail.com>
wrote:
> Hi Julie,
>
> Your suggestion for using the <LDFLAGs> was not useful as it will
still
> give errors in the [config.log] and [make_install.log] files, as
shown
> below:
>
> ----------------------------
> Error in "config.log":
> ---------------------------
>
> gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)
> configure:4488: $? = 0
> configure:4477: /usr/bin/g++ -V >&5
> g++: '-V' option must have argument
> configure:4488: $? = 1
> configure:4477: /usr/bin/g++ -qversion >&5
> g++: unrecognized option '-qversion'
> g++: no input files
> configure:4488: $? = 1
> configure:4508: checking whether the C++ compiler works
> configure:4530: /usr/bin/g++ -g -I${MET_NETCDF}/include
> -I/home/software/g2clib-1.4.
> 0/include -I${MET_GSL}/include -I${MET_HDF}/include
-I${MET_CAIRO}/include
> -I${MET_FR
> EETYPE}/include -DBLOCK4 -DWITH_GRIB2 -DMET_BASE="\"$(pkgdatadir)\""
> -L/home/software
> /jasper-1.900.1 -ljasper -L/home/software/libpng-1.6.15 -lpng
> -L/home/software/zlib-1
> .2.6 -lz -L${MET_NETCDF}/lib -L/home/software/g2clib-1.4.0/lib
> -L${MET_GSL}/lib -L/ho
> me/software/BUFRLIB -L${MET_HDF}/lib -L${MET_CAIRO}/lib
> -L${MET_FREETYPE}/lib conftes
> t.cpp >&5
> /usr/bin/ld: cannot find -ljasper
> collect2: ld returned 1 exit status
> configure:4534: $? = 1
> configure:4572: result: no
> configure: failed program was:
> | /* confdefs.h */
> .
> .
> .
> configure:4577: error: in `/home/bkuo/MET/met-5.0':
> configure:4579: error: C++ compiler cannot create executables
> See `config.log' for more details
>
> ------------------------------------
> Error in "make_install.log":
> ------------------------------------
>
> /libcode/vx_statistics -L../../../../src/libcode/vx_stat_out
> -L../../../../src/libcode/vx_tc_util -L/nw
> prod -lpng -lz -L/home/bkuo/netcdf-3.6.3/lib
> -L/home/software/g2clib-1.4.0/lib -L/home/software/gsl-1.1
> 6//lib -L/home/software/BUFRLIB -L/home/software/hdf5-1.8.14/lib
> -L/home/bkuo/cairo-1.14.0//lib -L/home
> /bkuo/freetype-2.5.5/lib -o ensemble_stat ensemble_stat-
ensemble_stat.o
> ensemble_stat-ensemble_stat_con
> f_info.o -lvx_stat_out -lvx_statistics -lvx_shapedata -lvx_gsl_prob
> -lvx_analysis_util -lvx_data2d_fact
> ory -lvx_data2d_nc_met -lvx_data2d_grib -lvx_data2d_grib2 -lgrib2c
> -ljasper -lpng -lz -lvx_data2d_nc_pi
> nterp -lvx_data2d_nccf -lvx_data2d -lvx_nc_util -lvx_grid
-lvx_config
> -lvx_cal -lvx_util -lvx_math -lvx
> _color -lvx_log -lm -lnetcdf_c++ -lnetcdf -lgsl -lgslcblas
> /usr/bin/ld: cannot find -ljasper
> collect2: ld returned 1 exit status
> make[4]: *** [ensemble_stat] Error 1
> make[4]: Leaving directory
> `/home/bkuo/MET/met-5.0/src/tools/core/ensemble_stat'
> make[3]: *** [install-recursive] Error 1
> make[3]: Leaving directory `/home/bkuo/MET/met-5.0/src/tools/core'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory `/home/bkuo/MET/met-5.0/src/tools'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/bkuo/MET/met-5.0/src'
> make: *** [install-recursive] Error 1
>
> --------------------------------
> Current ".bash_profile":
> --------------------------------
> export PS1="\u@\h:\w> "
>
> export CC=/usr/bin/gcc
> export CXX=/usr/bin/g++
> export F77=/usr/bin/gfortran
>
> PATH=$PATH:$HOME/bin
> export PATH
> export NCARG_ROOT=/home/software/ncl_ncarg-6.2.1
> export PATH=$NCARG_ROOT/bin:$PATH
>
> # Software Libraries path
> export MET_NETCDF=/home/bkuo/netcdf-3.6.3
> export MET_BUFRLIB=/home/software/BUFRLIB
> export MET_GRIB2CINC=/home/software/g2clib-1.4.0/include
> export MET_GRIB2CLIB=/home/software/g2clib-1.4.0/lib
> export MET_GSL=/home/software/gsl-1.16/
> export MET_HDF=/home/software/hdf5-1.8.14
> export MET_CAIRO=/home/bkuo/cairo-1.14.0/
> export MET_FREETYPE=/home/bkuo/freetype-2.5.5
> export LDFLAGS="-L/home/software/jasper-1.900.1 -ljasper
> -L/home/software/libpng-1.6.15 -lpng -L/home/s
> oftware/zlib-1.2.6 -lz"
>
> But when I changed the <LDFLAGS> to the following <LD_LIBRARY_PATH>
below,
> the issue in the <config.log> was resolved.
>
> *export
>
LD_LIBRARY_PATH=/home/software/jasper/lib:/home/software/libpng/lib:$LD_LIBRARY*
> *_PATH*
>
> But the <ljasper> issue still persist, as shown below:
>
> lvx_shapedata -lvx_gsl_prob -lvx_analysis_util -lvx_data2d_factory
> -lvx_data2d_nc_met
> -lvx_data2d_grib -lvx_data2d_grib2 -lgrib2c -ljasper -lpng -lz
> -lvx_data2d_nc_pinterp
> -lvx_data2d_nccf -lvx_data2d -lvx_nc_util -lvx_grid -lvx_config
-lvx_cal
> -lvx_util -lv
> x_math -lvx_color -lvx_log -lm -lnetcdf_c++ -lnetcdf -lgsl
-lgslcblas
> */usr/bin/ld: cannot find -ljasper*
> collect2: ld returned 1 exit status
> make[4]: *** [ensemble_stat] Error 1
> make[4]: Leaving directory
> `/home/bkuo/MET/met-5.0/src/tools/core/ensemble_stat'
> make[3]: *** [install-recursive] Error 1
> make[3]: Leaving directory `/home/bkuo/MET/met-5.0/src/tools/core'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory `/home/bkuo/MET/met-5.0/src/tools'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/bkuo/MET/met-5.0/src'
> make: *** [install-recursive] Error 1
>
> Have attached the latest copy of my "bash_profile","config.log",
> "make-install.log" files in this email for your reference.
>
> What other course of action can I take to remedy this issue?
>
> Thank you
>
> Warmest Regards
> Bruce Kuo
>
> On Tue, Mar 31, 2015 at 1:23 AM, Julie Prestopnik via RT <
> met_help at ucar.edu> wrote:
>
>> Hi Bruce. I am sorry to hear that you are still having problems
getting
>>
>> MET to build.
>>
>> When you set LDFLAGS in the following way, I believe you are
writing over
>> the environment variable each time.
>>
>> export LDFLAGS="-L/home/software/jasper -ljasper"
>> export LDFLAGS="-L/home/software/libpng -lpng -lz"
>> export LDFLAGS="-L/home/software/zlib -lzib"
>>
>> Please try setting LDFLAGS in the following way:
>>
>> export LDFLAGS="-L/home/software/jasper -ljasper
-L/home/software/libpng
>> -lpng -L/home/software/zlib -lz"
>>
>> Then source your bash profile, run the configure script, and then
run make
>> install.
>>
>> I'm not sure the errors in the config.log file are significant.
Let's
>> proceed with the above and see how that goes. Please let us know.
>>
>> Thanks,
>> Julie
>>
>> On Sun, Mar 29, 2015 at 11:25 PM, Bruce Kuo via RT
<met_help at ucar.edu>
>> wrote:
>>
>> >
>> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71169 >
>> >
>> > Hi Julie,
>> >
>> > I have amended my bash_profile file and rerun the compilation,
but
>> noticed
>> > that the software was unable to detect my C++ (see config.log).
>> >
>> > Have also noticed that the installer for MET was unable to detect
my
>> jasper
>> > software (see make-install.log).
>> >
>> > Below is my current bash_profile:
>> >
>> > bkuo at helios:~/MET/met-5.0> more /home/bkuo/.bash_profile
>> >
>> > #export PS1="\u@\h:\W\$ "
>> > export PS1="\u@\h:\w> "
>> >
>> > #export CC=/usr/bin/cc
>> > #export CXX=/usr/bin/c++
>> > export CC=/usr/bin/gcc
>> > export CXX=/usr/bin/g++
>> > export F77=/usr/bin/gfortran
>> >
>> > PATH=$PATH:$HOME/bin
>> > export PATH
>> > export NCARG_ROOT=/home/software/ncl_ncarg-6.2.1
>> > export PATH=$NCARG_ROOT/bin:$PATH
>> > # export
>> >
>> >
>>
LM_LICENSE_FILE=/home/software/MATLAB/R2014a/etc/license.dat:/home/software/exelis/license/license
>> > .dat
>> >
>> > # Software Libraries path
>> > export MET_NETCDF=/home/bkuo/netcdf-3.6.3
>> > #export MET_NETCDFINC=/home/bkuo/netcdf-3.6.3/include
>> > #export MET_NETCDFLIB=/home/bkuo/netcdf-3.6.3/lib/
>> > export MET_BUFRLIB=/home/software/BUFRLIB
>> > export MET_GRIB2CINC=/home/software/g2clib-1.4.0/include
>> > export MET_GRIB2CLIB=/home/software/g2clib-1.4.0/lib
>> > export MET_GSL=/home/software/gsl-1.16/
>> > #export MET_GSLINC=/home/software/gsl-1.16/include
>> > #export MET_GSLLIB=/home/software/gsl-1.16/lib
>> > export MET_HDF=/home/software/hdf5-1.8.14
>> > #export MET_HDFINC=/home/software/hdf5-1.8.14/include
>> > #export MET_HDFLIB=/home/software/hdf5-1.8.14/lib
>> > export MET_CAIRO=/home/bkuo/cairo-1.14.0/
>> > #export MET_CAIROINC=/home/bkuo/cairo-1.14.0/include
>> > #export MET_CAIROLIB=/home/bkuo/cairo-1.14.0/lib
>> > export MET_FREETYPE=/home/bkuo/freetype-2.5.5
>> > #export MET_FREETYPEINC=/home/bkuo/freetype-2.5.5/include
>> > #export MET_FREETYPELIB=/home/bkuo/freetype-2.5.5/lib
>> > export LDFLAGS="-L/home/software/jasper -ljasper"
>> > export LDFLAGS="-L/home/software/libpng -lpng -lz"
>> > export LDFLAGS="-L/home/software/zlib -lzib"
>> >
>> > bkuo at helios:~/MET/met-5.0>
>> >
>> > Can you advise what should be my next course of action to remedy
these
>> > issues?
>> >
>> > Thank you
>> >
>> > Warmest Regards
>> >
>> > Bruce Kuo
>> >
>> > On Fri, Mar 27, 2015 at 11:37 PM, Julie Prestopnik via RT <
>> > met_help at ucar.edu
>> > > wrote:
>> >
>> > > Hi Bruce. Thanks for sending more information and your logs.
>> > >
>> > > First, I noticed that in your bash profile, you have set:
>> > >
>> > > export MET_NETCDF=/home/bkuo/netcdf-3.6.3
>> > > export MET_NETCDFINC=/home/bkuo/netcdf-3.6.3/include
>> > > export MET_NETCDFLIB=/home/bkuo/netcdf-3.6.3/lib/
>> > >
>> > > You only need to specify either MET_NETCDF or both
MET_NETCDFINC and
>> > > MET_NETCDFLIB, depending on where the include and library files
are as
>> > > specified on this page:
>> > >
>> > >
>> >
>>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/configure.php
>> > >
>> > > The same is true for the other vars that you have listed in
your bash
>> > > profile.
>> > >
>> > > Second, looking in the second make_install.log file that you
attached
>> > after
>> > > installing NetCDFv3.6.3, just above this error:
>> > > nc_var_info.h:24:21: error: netcdf.hh: No such file or
directory
>> > >
>> > > I see that version 4.3.3.1 is the version being looked for:
>> > > -I/home/bkuo/netcdf-c-4.3.3.1/include
>> > >
>> > > as opposed to version 3.6.3. But, I do see that you set
MET_NETCDF to
>> > > point to version 3.6.3.
>> > >
>> > > Please try it again. This time, please be sure to source your
bash
>> > > profile, then rerun configure, and then try to make install
again.
>> > >
>> > > I do know that certain recent versions of NetCDF no longer
include
>> > > netcdf.hh, but version 3.6.3 should include netcdf.hh. If we
can get
>> MET
>> > > to include that version, it should work for you.
>> > >
>> > > Please give that a shot and let us know if it works for you.
>> > >
>> > > Thanks,
>> > > Julie
>> > >
>> > >
>> > > On Fri, Mar 27, 2015 at 3:34 AM, Bruce Kuo via RT
<met_help at ucar.edu>
>> > > wrote:
>> > >
>> > > >
>> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71169
>
>> > > >
>> > > > Hi Julie,
>> > > >
>> > > > I still get the same error, despite installing the NETCDF
3.6.3
>> > version,
>> > > > and updating my bash_profile:
>> > > >
>> > > > bkuo at helios:~/MET/met-5.0> make install >& make_install.log
>> > > > bkuo at helios:~/MET/met-5.0> tail -f make_install.log
>> > > > nc_var_info.cc:321: error: ‘const class NcVarInfo’ has no
member
>> named
>> > > > ‘var’
>> > > > nc_var_info.cc:326: error: ‘const class NcVarInfo’ has no
member
>> named
>> > > > ‘var’
>> > > > nc_var_info.cc:331: error: ‘ncInt’ was not declared in this
scope
>> > > > make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 1
>> > > > make[3]: Leaving directory
>> > > `/home/bkuo/MET/met-5.0/src/libcode/vx_nc_util'
>> > > > make[2]: *** [install-recursive] Error 1
>> > > > make[2]: Leaving directory `/home/bkuo/MET/met-
5.0/src/libcode'
>> > > > make[1]: *** [install-recursive] Error 1
>> > > > make[1]: Leaving directory `/home/bkuo/MET/met-5.0/src'
>> > > > make: *** [install-recursive] Error 1
>> > > >
>> > > > I am unable to find the file "netcdf.hh"in the
>> > > > "/home/bkuo/netcdf-3.6.3/include"directory but the
"netcdf.h"file
>> exits
>> > > as
>> > > > shown below:
>> > > >
>> > > > bkuo at helios:~/MET/met-5.0> cd /home/bkuo/netcdf-3.6.3
>> > > > bkuo at helios:~/netcdf-3.6.3> cd include
>> > > > bkuo at helios:~/netcdf-3.6.3/include> ls -la
>> > > > total 364
>> > > > drwxr-xr-x 2 bkuo wep 4096 Mar 27 09:21 .
>> > > > drwxr-xr-x 22 bkuo wep 4096 Mar 27 09:21 ..
>> > > > -rw-r--r-- 1 bkuo wep 10123 Mar 27 09:21 ncvalues.h
>> > > > -rw-r--r-- 1 bkuo wep 18916 Mar 27 09:21 netcdfcpp.h
>> > > > -rw-r--r-- 1 bkuo wep 29907 Mar 27 09:21 netcdf.h
>> > > > -rw-r--r-- 1 bkuo wep 23 Mar 27 09:21 netcdf.hh
>> > > > -rw-r--r-- 1 bkuo wep 48437 Mar 27 09:21 netcdf.inc
>> > > > -rw-r--r-- 1 bkuo wep 238556 Mar 27 09:21 netcdf.mod
>> > > > -rw-r--r-- 1 bkuo wep 2369 Mar 27 09:21 typesizes.mod
>> > > > bkuo at helios:~/netcdf-3.6.3/include>
>> > > >
>> > > > Please advise what I can focus on for the next step.
>> > > >
>> > > > Thank you
>> > > >
>> > > > Warmest Regards
>> > > >
>> > > > Bruce Kuo
>> > > >
>> > > >
>> > > > On Fri, Mar 27, 2015 at 3:54 PM, Bruce Kuo
<brukuo42 at gmail.com>
>> wrote:
>> > > >
>> > > > > Hi Julie,
>> > > > >
>> > > > > Below are the details of the MET environment, in case the
>> > > > > ".bash_profile"information is unable to come out clearly:
>> > > > >
>> > > > > bkuo at helios:~/MET/met-5.0> printenv |grep MET
>> > > > > MET_GSLLIB=/home/software/gsl-1.16/lib
>> > > > > MET_GRIB2CLIB=/home/software/gsl-1.16/gsl-1.16/lib
>> > > > > MET_FREETYPEINC=/home/bkuo/freetype-2.5.5/include
>> > > > > MET_CAIROINC=/home/bkuo/cairo-1.14.0/include
>> > > > > MET_GSL=/home/software/gsl-1.16/
>> > > > > MET_HDF=/home/software/hdf5-1.8.14
>> > > > > MET_HDFINC=/home/software/hdf5-1.8.14/include
>> > > > > MET_GRIB2CINC=/home/software/gsl-1.16/gsl-1.16/include
>> > > > > MET_GSLINC=/home/software/gsl-1.16/include
>> > > > > MET_NETCDF=/home/software/netcdf--cxx4-4.2.1
>> > > > > MET_FREETYPELIB=/home/bkuo/freetype-2.5.5/lib
>> > > > > MET_CAIROLIB=/home/bkuo/cairo-1.14.0/lib
>> > > > > PWD=/home/bkuo/MET/met-5.0
>> > > > > MET_NETCDFINC=/home/software/netcdf-cxx4-4.2.1/include
>> > > > > MET_NETCDFLIB=/home/software/netcdf--cxx4-4.2.1/lib/
>> > > > > MET_FREETYPE=/home/bkuo/freetype-2.5.5
>> > > > > MET_CAIRO=/home/bkuo/cairo-1.14.0/
>> > > > > MET_BUFRLIB=/home/software/BUFRLIB
>> > > > > MET_HDFLIB=/home/software/hdf5-1.8.14/lib
>> > > > >
>> > > > > Thanks
>> > > > >
>> > > > > Regards
>> > > > > Bruce Kuo
>> > > > >
>> > > > > On Fri, Mar 27, 2015 at 3:42 PM, Bruce Kuo
<brukuo42 at gmail.com>
>> > wrote:
>> > > > >
>> > > > >> Hi Julie,
>> > > > >>
>> > > > >> I am still getting the same error, pointing to the
"ncvarinfo",
>> > after
>> > > > >> setting the environmental settings in the bash_profile. I
have
>> also
>> > > > >> installed the met-5.0_patches in the same directory of the
MET5.0
>> > > > software.
>> > > > >>
>> > > > >> Please refer to the attached file for the environmental
settings,
>> > the
>> > > > >> configuration log and the make_install log files.
>> > > > >>
>> > > > >> Thank you
>> > > > >>
>> > > > >> Warmest Regards
>> > > > >>
>> > > > >> Bruce Kuo
>> > > > >>
>> > > > >> On Tue, Mar 24, 2015 at 12:55 AM, Julie Prestopnik via RT
<
>> > > > >> met_help at ucar.edu> wrote:
>> > > > >>
>> > > > >>> Hi Bruce. You can set several environment variables to
tell the
>> > > > >>> configure
>> > > > >>> script where to find the dependent libraries. For
example,
>> > > MET_NETCDF
>> > > > >>> tells it where to find NetCDF. You can set the
MET_NETCDF
>> variable
>> > > in
>> > > > >>> your
>> > > > >>> .cshrc file like this:
>> > > > >>> setenv MET_NETCDF /usr/local/netcdf-3.6.2
>> > > > >>>
>> > > > >>> You can find more information on setting the environment
>> variables
>> > > > here:
>> > > > >>>
>> > > > >>>
>> > > >
>> > >
>> >
>>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/configure.php
>> > > > >>>
>> > > > >>> Please try setting the environment variables and then run
>> configure
>> > > and
>> > > > >>> see
>> > > > >>> if that gets rid of the errors you are getting. If not,
please
>> > send
>> > > > the
>> > > > >>> full make_install.log to us. Also, please note that
some of
>> the
>> > > tools
>> > > > >>> are
>> > > > >>> disabled by default. You can read the Configuration
section at
>> the
>> > > > link
>> > > > >>> above for more information.
>> > > > >>>
>> > > > >>> Please let us know if you have any questions or encounter
any
>> other
>> > > > >>> problems.
>> > > > >>>
>> > > > >>> Thanks,
>> > > > >>> Julie
>> > > > >>>
>> > > > >>>
>> > > > >>
>> > > > >
>> > > >
>> > > >
>> > >
>> > >
>> > > --
>> > > Julie Prestopnik
>> > > National Center for Atmospheric Research
>> > > Research Applications Laboratory
>> > > Phone: 303.497.8399
>> > > Email: jpresto at ucar.edu
>> > >
>> > >
>> >
>> >
>>
>>
>> --
>> Julie Prestopnik
>> National Center for Atmospheric Research
>> Research Applications Laboratory
>> Phone: 303.497.8399
>> Email: jpresto at ucar.edu
>>
>>
>
------------------------------------------------
Subject: Issue with installing MET 5.0
From: Julie Prestopnik
Time: Tue Mar 31 09:39:33 2015
Hi Bill. I'm so glad you were able to get METv5.0 installed! Thank
you
for checking on your executables. If you have time, could you please
share
with us the changes you made to resolve the issues you encountered?
The MODIS-Regrid tool reformats gridded MODIS data from HDF into a
gridded
NetCDF format that MET can read. So, if you don't need to use MODIS
data,
you won't need this tool.
The Plot-MODE-Field tool reads one or more MODE NetCDF output files
and
creates PNG images to display the data. However, MODE currently
produces
postscript images, so as long as you don't specifically need a PNG
image,
you shouldn't need this tool.
I am happy to try to work with you in getting these two tools built,
so if
you would like them, please let me know.
Julie
On Tue, Mar 31, 2015 at 3:36 AM, Bruce Kuo via RT <met_help at ucar.edu>
wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71169 >
>
> Hi Julie,
>
> I have managed to resolve the issues and make install the MET 5.0
> successfully.
>
> The bin subdirectory of the installation directory should now
contain up to
> 23 MET executables as mentioned in your online Tutorial:
> ascii2nc
> ensemble_stat
> gen_circle_mask
> gen_poly_mask
> grid_stat
> madis2nc
> mode
> mode_analysis
> modis_regrid
> pb2nc
> pcp_combine
> plot_data_plane
> plot_mode_field
> plot_point_obs
> point_stat
> series_analysis
> stat_analysis
> tc_dland
> tc_pairs
> tc_stat
> wavelet_stat
> wwmca_plot
> wwmca_regrid
>
> But I only manage to get 21 MET executables, as shown below:
>
> bkuo at helios:~/MET/met-5.0/bin> ls -la
> total 146388
> drwxr-xr-x 2 bkuo wep 4096 Mar 31 09:11 .
> drwxr-xr-x 10 bkuo wep 4096 Mar 31 09:11 ..
> -rwxr-xr-x 1 bkuo wep 7991547 Mar 31 09:11 ascii2nc
> -rwxr-xr-x 1 bkuo wep 10083044 Mar 31 09:11 ensemble_stat
> -rwxr-xr-x 1 bkuo wep 6575977 Mar 31 09:11 gen_circle_mask
> -rwxr-xr-x 1 bkuo wep 6545185 Mar 31 09:11 gen_poly_mask
> -rwxr-xr-x 1 bkuo wep 9477533 Mar 31 09:11 grid_stat
> -rwxr-xr-x 1 bkuo wep 6577475 Mar 31 09:11 madis2nc
> -rwxr-xr-x 1 bkuo wep 11553213 Mar 31 09:11 mode
> -rwxr-xr-x 1 bkuo wep 4612363 Mar 31 09:11 mode_analysis
> -rwxr-xr-x 1 bkuo wep 4721974 Mar 31 09:11 pb2nc
> -rwxr-xr-x 1 bkuo wep 6963617 Mar 31 09:11 pcp_combine
> -rwxr-xr-x 1 bkuo wep 8148164 Mar 31 09:11 plot_data_plane
> -rwxr-xr-x 1 bkuo wep 7216905 Mar 31 09:11 plot_point_obs
> -rwxr-xr-x 1 bkuo wep 9748262 Mar 31 09:11 point_stat
> -rwxr-xr-x 1 bkuo wep 9290653 Mar 31 09:11 series_analysis
> -rwxr-xr-x 1 bkuo wep 7510384 Mar 31 09:11 stat_analysis
> -rwxr-xr-x 1 bkuo wep 3643761 Mar 31 09:11 tc_dland
> -rwxr-xr-x 1 bkuo wep 4850596 Mar 31 09:11 tc_pairs
> -rwxr-xr-x 1 bkuo wep 4310497 Mar 31 09:11 tc_stat
> -rwxr-xr-x 1 bkuo wep 10603249 Mar 31 09:11 wavelet_stat
> -rwxr-xr-x 1 bkuo wep 5211537 Mar 31 09:11 wwmca_plot
> -rwxr-xr-x 1 bkuo wep 4217758 Mar 31 09:11 wwmca_regrid
> bkuo at helios:~/MET/met-5.0/bin>
>
> The missing executables are: modis_regrid, and plot_mode_field. Will
these
> 2 missing MET executables be a concern?
>
> Thank you
>
> Warmest Regards
>
> Bruce Kuo
>
> On Tue, Mar 31, 2015 at 11:21 AM, Bruce Kuo <brukuo42 at gmail.com>
wrote:
>
> > Hi Julie,
> >
> > Your suggestion for using the <LDFLAGs> was not useful as it will
still
> > give errors in the [config.log] and [make_install.log] files, as
shown
> > below:
> >
> > ----------------------------
> > Error in "config.log":
> > ---------------------------
> >
> > gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)
> > configure:4488: $? = 0
> > configure:4477: /usr/bin/g++ -V >&5
> > g++: '-V' option must have argument
> > configure:4488: $? = 1
> > configure:4477: /usr/bin/g++ -qversion >&5
> > g++: unrecognized option '-qversion'
> > g++: no input files
> > configure:4488: $? = 1
> > configure:4508: checking whether the C++ compiler works
> > configure:4530: /usr/bin/g++ -g -I${MET_NETCDF}/include
> > -I/home/software/g2clib-1.4.
> > 0/include -I${MET_GSL}/include -I${MET_HDF}/include
> -I${MET_CAIRO}/include
> > -I${MET_FR
> > EETYPE}/include -DBLOCK4 -DWITH_GRIB2
-DMET_BASE="\"$(pkgdatadir)\""
> > -L/home/software
> > /jasper-1.900.1 -ljasper -L/home/software/libpng-1.6.15 -lpng
> > -L/home/software/zlib-1
> > .2.6 -lz -L${MET_NETCDF}/lib -L/home/software/g2clib-1.4.0/lib
> > -L${MET_GSL}/lib -L/ho
> > me/software/BUFRLIB -L${MET_HDF}/lib -L${MET_CAIRO}/lib
> > -L${MET_FREETYPE}/lib conftes
> > t.cpp >&5
> > /usr/bin/ld: cannot find -ljasper
> > collect2: ld returned 1 exit status
> > configure:4534: $? = 1
> > configure:4572: result: no
> > configure: failed program was:
> > | /* confdefs.h */
> > .
> > .
> > .
> > configure:4577: error: in `/home/bkuo/MET/met-5.0':
> > configure:4579: error: C++ compiler cannot create executables
> > See `config.log' for more details
> >
> > ------------------------------------
> > Error in "make_install.log":
> > ------------------------------------
> >
> > /libcode/vx_statistics -L../../../../src/libcode/vx_stat_out
> > -L../../../../src/libcode/vx_tc_util -L/nw
> > prod -lpng -lz -L/home/bkuo/netcdf-3.6.3/lib
> > -L/home/software/g2clib-1.4.0/lib -L/home/software/gsl-1.1
> > 6//lib -L/home/software/BUFRLIB -L/home/software/hdf5-1.8.14/lib
> > -L/home/bkuo/cairo-1.14.0//lib -L/home
> > /bkuo/freetype-2.5.5/lib -o ensemble_stat ensemble_stat-
ensemble_stat.o
> > ensemble_stat-ensemble_stat_con
> > f_info.o -lvx_stat_out -lvx_statistics -lvx_shapedata
-lvx_gsl_prob
> > -lvx_analysis_util -lvx_data2d_fact
> > ory -lvx_data2d_nc_met -lvx_data2d_grib -lvx_data2d_grib2 -lgrib2c
> > -ljasper -lpng -lz -lvx_data2d_nc_pi
> > nterp -lvx_data2d_nccf -lvx_data2d -lvx_nc_util -lvx_grid
-lvx_config
> > -lvx_cal -lvx_util -lvx_math -lvx
> > _color -lvx_log -lm -lnetcdf_c++ -lnetcdf -lgsl -lgslcblas
> > /usr/bin/ld: cannot find -ljasper
> > collect2: ld returned 1 exit status
> > make[4]: *** [ensemble_stat] Error 1
> > make[4]: Leaving directory
> > `/home/bkuo/MET/met-5.0/src/tools/core/ensemble_stat'
> > make[3]: *** [install-recursive] Error 1
> > make[3]: Leaving directory `/home/bkuo/MET/met-5.0/src/tools/core'
> > make[2]: *** [install-recursive] Error 1
> > make[2]: Leaving directory `/home/bkuo/MET/met-5.0/src/tools'
> > make[1]: *** [install-recursive] Error 1
> > make[1]: Leaving directory `/home/bkuo/MET/met-5.0/src'
> > make: *** [install-recursive] Error 1
> >
> > --------------------------------
> > Current ".bash_profile":
> > --------------------------------
> > export PS1="\u@\h:\w> "
> >
> > export CC=/usr/bin/gcc
> > export CXX=/usr/bin/g++
> > export F77=/usr/bin/gfortran
> >
> > PATH=$PATH:$HOME/bin
> > export PATH
> > export NCARG_ROOT=/home/software/ncl_ncarg-6.2.1
> > export PATH=$NCARG_ROOT/bin:$PATH
> >
> > # Software Libraries path
> > export MET_NETCDF=/home/bkuo/netcdf-3.6.3
> > export MET_BUFRLIB=/home/software/BUFRLIB
> > export MET_GRIB2CINC=/home/software/g2clib-1.4.0/include
> > export MET_GRIB2CLIB=/home/software/g2clib-1.4.0/lib
> > export MET_GSL=/home/software/gsl-1.16/
> > export MET_HDF=/home/software/hdf5-1.8.14
> > export MET_CAIRO=/home/bkuo/cairo-1.14.0/
> > export MET_FREETYPE=/home/bkuo/freetype-2.5.5
> > export LDFLAGS="-L/home/software/jasper-1.900.1 -ljasper
> > -L/home/software/libpng-1.6.15 -lpng -L/home/s
> > oftware/zlib-1.2.6 -lz"
> >
> > But when I changed the <LDFLAGS> to the following
<LD_LIBRARY_PATH>
> below,
> > the issue in the <config.log> was resolved.
> >
> > *export
> >
>
LD_LIBRARY_PATH=/home/software/jasper/lib:/home/software/libpng/lib:$LD_LIBRARY*
> > *_PATH*
> >
> > But the <ljasper> issue still persist, as shown below:
> >
> > lvx_shapedata -lvx_gsl_prob -lvx_analysis_util -lvx_data2d_factory
> > -lvx_data2d_nc_met
> > -lvx_data2d_grib -lvx_data2d_grib2 -lgrib2c -ljasper -lpng -lz
> > -lvx_data2d_nc_pinterp
> > -lvx_data2d_nccf -lvx_data2d -lvx_nc_util -lvx_grid -lvx_config
-lvx_cal
> > -lvx_util -lv
> > x_math -lvx_color -lvx_log -lm -lnetcdf_c++ -lnetcdf -lgsl
-lgslcblas
> > */usr/bin/ld: cannot find -ljasper*
> > collect2: ld returned 1 exit status
> > make[4]: *** [ensemble_stat] Error 1
> > make[4]: Leaving directory
> > `/home/bkuo/MET/met-5.0/src/tools/core/ensemble_stat'
> > make[3]: *** [install-recursive] Error 1
> > make[3]: Leaving directory `/home/bkuo/MET/met-5.0/src/tools/core'
> > make[2]: *** [install-recursive] Error 1
> > make[2]: Leaving directory `/home/bkuo/MET/met-5.0/src/tools'
> > make[1]: *** [install-recursive] Error 1
> > make[1]: Leaving directory `/home/bkuo/MET/met-5.0/src'
> > make: *** [install-recursive] Error 1
> >
> > Have attached the latest copy of my "bash_profile","config.log",
> > "make-install.log" files in this email for your reference.
> >
> > What other course of action can I take to remedy this issue?
> >
> > Thank you
> >
> > Warmest Regards
> > Bruce Kuo
> >
> > On Tue, Mar 31, 2015 at 1:23 AM, Julie Prestopnik via RT <
> > met_help at ucar.edu> wrote:
> >
> >> Hi Bruce. I am sorry to hear that you are still having problems
getting
> >>
> >> MET to build.
> >>
> >> When you set LDFLAGS in the following way, I believe you are
writing
> over
> >> the environment variable each time.
> >>
> >> export LDFLAGS="-L/home/software/jasper -ljasper"
> >> export LDFLAGS="-L/home/software/libpng -lpng -lz"
> >> export LDFLAGS="-L/home/software/zlib -lzib"
> >>
> >> Please try setting LDFLAGS in the following way:
> >>
> >> export LDFLAGS="-L/home/software/jasper -ljasper
-L/home/software/libpng
> >> -lpng -L/home/software/zlib -lz"
> >>
> >> Then source your bash profile, run the configure script, and then
run
> make
> >> install.
> >>
> >> I'm not sure the errors in the config.log file are significant.
Let's
> >> proceed with the above and see how that goes. Please let us
know.
> >>
> >> Thanks,
> >> Julie
> >>
> >> On Sun, Mar 29, 2015 at 11:25 PM, Bruce Kuo via RT
<met_help at ucar.edu>
> >> wrote:
> >>
> >> >
> >> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71169 >
> >> >
> >> > Hi Julie,
> >> >
> >> > I have amended my bash_profile file and rerun the compilation,
but
> >> noticed
> >> > that the software was unable to detect my C++ (see config.log).
> >> >
> >> > Have also noticed that the installer for MET was unable to
detect my
> >> jasper
> >> > software (see make-install.log).
> >> >
> >> > Below is my current bash_profile:
> >> >
> >> > bkuo at helios:~/MET/met-5.0> more /home/bkuo/.bash_profile
> >> >
> >> > #export PS1="\u@\h:\W\$ "
> >> > export PS1="\u@\h:\w> "
> >> >
> >> > #export CC=/usr/bin/cc
> >> > #export CXX=/usr/bin/c++
> >> > export CC=/usr/bin/gcc
> >> > export CXX=/usr/bin/g++
> >> > export F77=/usr/bin/gfortran
> >> >
> >> > PATH=$PATH:$HOME/bin
> >> > export PATH
> >> > export NCARG_ROOT=/home/software/ncl_ncarg-6.2.1
> >> > export PATH=$NCARG_ROOT/bin:$PATH
> >> > # export
> >> >
> >> >
> >>
>
LM_LICENSE_FILE=/home/software/MATLAB/R2014a/etc/license.dat:/home/software/exelis/license/license
> >> > .dat
> >> >
> >> > # Software Libraries path
> >> > export MET_NETCDF=/home/bkuo/netcdf-3.6.3
> >> > #export MET_NETCDFINC=/home/bkuo/netcdf-3.6.3/include
> >> > #export MET_NETCDFLIB=/home/bkuo/netcdf-3.6.3/lib/
> >> > export MET_BUFRLIB=/home/software/BUFRLIB
> >> > export MET_GRIB2CINC=/home/software/g2clib-1.4.0/include
> >> > export MET_GRIB2CLIB=/home/software/g2clib-1.4.0/lib
> >> > export MET_GSL=/home/software/gsl-1.16/
> >> > #export MET_GSLINC=/home/software/gsl-1.16/include
> >> > #export MET_GSLLIB=/home/software/gsl-1.16/lib
> >> > export MET_HDF=/home/software/hdf5-1.8.14
> >> > #export MET_HDFINC=/home/software/hdf5-1.8.14/include
> >> > #export MET_HDFLIB=/home/software/hdf5-1.8.14/lib
> >> > export MET_CAIRO=/home/bkuo/cairo-1.14.0/
> >> > #export MET_CAIROINC=/home/bkuo/cairo-1.14.0/include
> >> > #export MET_CAIROLIB=/home/bkuo/cairo-1.14.0/lib
> >> > export MET_FREETYPE=/home/bkuo/freetype-2.5.5
> >> > #export MET_FREETYPEINC=/home/bkuo/freetype-2.5.5/include
> >> > #export MET_FREETYPELIB=/home/bkuo/freetype-2.5.5/lib
> >> > export LDFLAGS="-L/home/software/jasper -ljasper"
> >> > export LDFLAGS="-L/home/software/libpng -lpng -lz"
> >> > export LDFLAGS="-L/home/software/zlib -lzib"
> >> >
> >> > bkuo at helios:~/MET/met-5.0>
> >> >
> >> > Can you advise what should be my next course of action to
remedy these
> >> > issues?
> >> >
> >> > Thank you
> >> >
> >> > Warmest Regards
> >> >
> >> > Bruce Kuo
> >> >
> >> > On Fri, Mar 27, 2015 at 11:37 PM, Julie Prestopnik via RT <
> >> > met_help at ucar.edu
> >> > > wrote:
> >> >
> >> > > Hi Bruce. Thanks for sending more information and your logs.
> >> > >
> >> > > First, I noticed that in your bash profile, you have set:
> >> > >
> >> > > export MET_NETCDF=/home/bkuo/netcdf-3.6.3
> >> > > export MET_NETCDFINC=/home/bkuo/netcdf-3.6.3/include
> >> > > export MET_NETCDFLIB=/home/bkuo/netcdf-3.6.3/lib/
> >> > >
> >> > > You only need to specify either MET_NETCDF or both
MET_NETCDFINC and
> >> > > MET_NETCDFLIB, depending on where the include and library
files are
> as
> >> > > specified on this page:
> >> > >
> >> > >
> >> >
> >>
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/configure.php
> >> > >
> >> > > The same is true for the other vars that you have listed in
your
> bash
> >> > > profile.
> >> > >
> >> > > Second, looking in the second make_install.log file that you
> attached
> >> > after
> >> > > installing NetCDFv3.6.3, just above this error:
> >> > > nc_var_info.h:24:21: error: netcdf.hh: No such file or
directory
> >> > >
> >> > > I see that version 4.3.3.1 is the version being looked for:
> >> > > -I/home/bkuo/netcdf-c-4.3.3.1/include
> >> > >
> >> > > as opposed to version 3.6.3. But, I do see that you set
MET_NETCDF
> to
> >> > > point to version 3.6.3.
> >> > >
> >> > > Please try it again. This time, please be sure to source
your bash
> >> > > profile, then rerun configure, and then try to make install
again.
> >> > >
> >> > > I do know that certain recent versions of NetCDF no longer
include
> >> > > netcdf.hh, but version 3.6.3 should include netcdf.hh. If we
can
> get
> >> MET
> >> > > to include that version, it should work for you.
> >> > >
> >> > > Please give that a shot and let us know if it works for you.
> >> > >
> >> > > Thanks,
> >> > > Julie
> >> > >
> >> > >
> >> > > On Fri, Mar 27, 2015 at 3:34 AM, Bruce Kuo via RT <
> met_help at ucar.edu>
> >> > > wrote:
> >> > >
> >> > > >
> >> > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71169 >
> >> > > >
> >> > > > Hi Julie,
> >> > > >
> >> > > > I still get the same error, despite installing the NETCDF
3.6.3
> >> > version,
> >> > > > and updating my bash_profile:
> >> > > >
> >> > > > bkuo at helios:~/MET/met-5.0> make install >& make_install.log
> >> > > > bkuo at helios:~/MET/met-5.0> tail -f make_install.log
> >> > > > nc_var_info.cc:321: error: ‘const class NcVarInfo’ has no
member
> >> named
> >> > > > ‘var’
> >> > > > nc_var_info.cc:326: error: ‘const class NcVarInfo’ has no
member
> >> named
> >> > > > ‘var’
> >> > > > nc_var_info.cc:331: error: ‘ncInt’ was not declared in this
scope
> >> > > > make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 1
> >> > > > make[3]: Leaving directory
> >> > > `/home/bkuo/MET/met-5.0/src/libcode/vx_nc_util'
> >> > > > make[2]: *** [install-recursive] Error 1
> >> > > > make[2]: Leaving directory `/home/bkuo/MET/met-
5.0/src/libcode'
> >> > > > make[1]: *** [install-recursive] Error 1
> >> > > > make[1]: Leaving directory `/home/bkuo/MET/met-5.0/src'
> >> > > > make: *** [install-recursive] Error 1
> >> > > >
> >> > > > I am unable to find the file "netcdf.hh"in the
> >> > > > "/home/bkuo/netcdf-3.6.3/include"directory but the
"netcdf.h"file
> >> exits
> >> > > as
> >> > > > shown below:
> >> > > >
> >> > > > bkuo at helios:~/MET/met-5.0> cd /home/bkuo/netcdf-3.6.3
> >> > > > bkuo at helios:~/netcdf-3.6.3> cd include
> >> > > > bkuo at helios:~/netcdf-3.6.3/include> ls -la
> >> > > > total 364
> >> > > > drwxr-xr-x 2 bkuo wep 4096 Mar 27 09:21 .
> >> > > > drwxr-xr-x 22 bkuo wep 4096 Mar 27 09:21 ..
> >> > > > -rw-r--r-- 1 bkuo wep 10123 Mar 27 09:21 ncvalues.h
> >> > > > -rw-r--r-- 1 bkuo wep 18916 Mar 27 09:21 netcdfcpp.h
> >> > > > -rw-r--r-- 1 bkuo wep 29907 Mar 27 09:21 netcdf.h
> >> > > > -rw-r--r-- 1 bkuo wep 23 Mar 27 09:21 netcdf.hh
> >> > > > -rw-r--r-- 1 bkuo wep 48437 Mar 27 09:21 netcdf.inc
> >> > > > -rw-r--r-- 1 bkuo wep 238556 Mar 27 09:21 netcdf.mod
> >> > > > -rw-r--r-- 1 bkuo wep 2369 Mar 27 09:21 typesizes.mod
> >> > > > bkuo at helios:~/netcdf-3.6.3/include>
> >> > > >
> >> > > > Please advise what I can focus on for the next step.
> >> > > >
> >> > > > Thank you
> >> > > >
> >> > > > Warmest Regards
> >> > > >
> >> > > > Bruce Kuo
> >> > > >
> >> > > >
> >> > > > On Fri, Mar 27, 2015 at 3:54 PM, Bruce Kuo
<brukuo42 at gmail.com>
> >> wrote:
> >> > > >
> >> > > > > Hi Julie,
> >> > > > >
> >> > > > > Below are the details of the MET environment, in case the
> >> > > > > ".bash_profile"information is unable to come out clearly:
> >> > > > >
> >> > > > > bkuo at helios:~/MET/met-5.0> printenv |grep MET
> >> > > > > MET_GSLLIB=/home/software/gsl-1.16/lib
> >> > > > > MET_GRIB2CLIB=/home/software/gsl-1.16/gsl-1.16/lib
> >> > > > > MET_FREETYPEINC=/home/bkuo/freetype-2.5.5/include
> >> > > > > MET_CAIROINC=/home/bkuo/cairo-1.14.0/include
> >> > > > > MET_GSL=/home/software/gsl-1.16/
> >> > > > > MET_HDF=/home/software/hdf5-1.8.14
> >> > > > > MET_HDFINC=/home/software/hdf5-1.8.14/include
> >> > > > > MET_GRIB2CINC=/home/software/gsl-1.16/gsl-1.16/include
> >> > > > > MET_GSLINC=/home/software/gsl-1.16/include
> >> > > > > MET_NETCDF=/home/software/netcdf--cxx4-4.2.1
> >> > > > > MET_FREETYPELIB=/home/bkuo/freetype-2.5.5/lib
> >> > > > > MET_CAIROLIB=/home/bkuo/cairo-1.14.0/lib
> >> > > > > PWD=/home/bkuo/MET/met-5.0
> >> > > > > MET_NETCDFINC=/home/software/netcdf-cxx4-4.2.1/include
> >> > > > > MET_NETCDFLIB=/home/software/netcdf--cxx4-4.2.1/lib/
> >> > > > > MET_FREETYPE=/home/bkuo/freetype-2.5.5
> >> > > > > MET_CAIRO=/home/bkuo/cairo-1.14.0/
> >> > > > > MET_BUFRLIB=/home/software/BUFRLIB
> >> > > > > MET_HDFLIB=/home/software/hdf5-1.8.14/lib
> >> > > > >
> >> > > > > Thanks
> >> > > > >
> >> > > > > Regards
> >> > > > > Bruce Kuo
> >> > > > >
> >> > > > > On Fri, Mar 27, 2015 at 3:42 PM, Bruce Kuo
<brukuo42 at gmail.com>
> >> > wrote:
> >> > > > >
> >> > > > >> Hi Julie,
> >> > > > >>
> >> > > > >> I am still getting the same error, pointing to the
"ncvarinfo",
> >> > after
> >> > > > >> setting the environmental settings in the bash_profile.
I have
> >> also
> >> > > > >> installed the met-5.0_patches in the same directory of
the
> MET5.0
> >> > > > software.
> >> > > > >>
> >> > > > >> Please refer to the attached file for the environmental
> settings,
> >> > the
> >> > > > >> configuration log and the make_install log files.
> >> > > > >>
> >> > > > >> Thank you
> >> > > > >>
> >> > > > >> Warmest Regards
> >> > > > >>
> >> > > > >> Bruce Kuo
> >> > > > >>
> >> > > > >> On Tue, Mar 24, 2015 at 12:55 AM, Julie Prestopnik via
RT <
> >> > > > >> met_help at ucar.edu> wrote:
> >> > > > >>
> >> > > > >>> Hi Bruce. You can set several environment variables to
tell
> the
> >> > > > >>> configure
> >> > > > >>> script where to find the dependent libraries. For
example,
> >> > > MET_NETCDF
> >> > > > >>> tells it where to find NetCDF. You can set the
MET_NETCDF
> >> variable
> >> > > in
> >> > > > >>> your
> >> > > > >>> .cshrc file like this:
> >> > > > >>> setenv MET_NETCDF /usr/local/netcdf-3.6.2
> >> > > > >>>
> >> > > > >>> You can find more information on setting the
environment
> >> variables
> >> > > > here:
> >> > > > >>>
> >> > > > >>>
> >> > > >
> >> > >
> >> >
> >>
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/configure.php
> >> > > > >>>
> >> > > > >>> Please try setting the environment variables and then
run
> >> configure
> >> > > and
> >> > > > >>> see
> >> > > > >>> if that gets rid of the errors you are getting. If
not,
> please
> >> > send
> >> > > > the
> >> > > > >>> full make_install.log to us. Also, please note that
some of
> >> the
> >> > > tools
> >> > > > >>> are
> >> > > > >>> disabled by default. You can read the Configuration
section
> at
> >> the
> >> > > > link
> >> > > > >>> above for more information.
> >> > > > >>>
> >> > > > >>> Please let us know if you have any questions or
encounter any
> >> other
> >> > > > >>> problems.
> >> > > > >>>
> >> > > > >>> Thanks,
> >> > > > >>> Julie
> >> > > > >>>
> >> > > > >>>
> >> > > > >>
> >> > > > >
> >> > > >
> >> > > >
> >> > >
> >> > >
> >> > > --
> >> > > Julie Prestopnik
> >> > > National Center for Atmospheric Research
> >> > > Research Applications Laboratory
> >> > > Phone: 303.497.8399
> >> > > Email: jpresto at ucar.edu
> >> > >
> >> > >
> >> >
> >> >
> >>
> >>
> >> --
> >> Julie Prestopnik
> >> National Center for Atmospheric Research
> >> Research Applications Laboratory
> >> Phone: 303.497.8399
> >> Email: jpresto at ucar.edu
> >>
> >>
> >
>
>
--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu
------------------------------------------------
Subject: Issue with installing MET 5.0
From: Bruce Kuo
Time: Wed Apr 01 19:50:30 2015
Hi Julie,
I have installed the net_cdf_3.6.3 instead of the latest net-cdf
version,
due to the missing "netcdf.hh" files after the net-cdf_3.6.3 versions.
Have
also edited the "Makefile"in the main MET directory after running the
"*./configure
--prefix=`pwd` --enable-grib2" command, as some of the directories
path/settings (eg. MET_NETCDF, GRIB2_LIBS) were not captured
correctly.
Hope this information will help you in troubleshooting issues in
subsequent
MET-5 queries.*
Cheers
Bruce Kuo
On Tue, Mar 31, 2015 at 11:39 PM, Julie Prestopnik via RT
<met_help at ucar.edu
> wrote:
> Hi Bill. I'm so glad you were able to get METv5.0 installed! Thank
you
> for checking on your executables. If you have time, could you
please share
> with us the changes you made to resolve the issues you encountered?
>
> The MODIS-Regrid tool reformats gridded MODIS data from HDF into a
gridded
> NetCDF format that MET can read. So, if you don't need to use MODIS
data,
> you won't need this tool.
>
> The Plot-MODE-Field tool reads one or more MODE NetCDF output files
and
> creates PNG images to display the data. However, MODE currently
produces
> postscript images, so as long as you don't specifically need a PNG
image,
> you shouldn't need this tool.
>
> I am happy to try to work with you in getting these two tools built,
so if
> you would like them, please let me know.
>
> Julie
>
> On Tue, Mar 31, 2015 at 3:36 AM, Bruce Kuo via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71169 >
> >
> > Hi Julie,
> >
> > I have managed to resolve the issues and make install the MET 5.0
> > successfully.
> >
> > The bin subdirectory of the installation directory should now
contain up
> to
> > 23 MET executables as mentioned in your online Tutorial:
> > ascii2nc
> > ensemble_stat
> > gen_circle_mask
> > gen_poly_mask
> > grid_stat
> > madis2nc
> > mode
> > mode_analysis
> > modis_regrid
> > pb2nc
> > pcp_combine
> > plot_data_plane
> > plot_mode_field
> > plot_point_obs
> > point_stat
> > series_analysis
> > stat_analysis
> > tc_dland
> > tc_pairs
> > tc_stat
> > wavelet_stat
> > wwmca_plot
> > wwmca_regrid
> >
> > But I only manage to get 21 MET executables, as shown below:
> >
> > bkuo at helios:~/MET/met-5.0/bin> ls -la
> > total 146388
> > drwxr-xr-x 2 bkuo wep 4096 Mar 31 09:11 .
> > drwxr-xr-x 10 bkuo wep 4096 Mar 31 09:11 ..
> > -rwxr-xr-x 1 bkuo wep 7991547 Mar 31 09:11 ascii2nc
> > -rwxr-xr-x 1 bkuo wep 10083044 Mar 31 09:11 ensemble_stat
> > -rwxr-xr-x 1 bkuo wep 6575977 Mar 31 09:11 gen_circle_mask
> > -rwxr-xr-x 1 bkuo wep 6545185 Mar 31 09:11 gen_poly_mask
> > -rwxr-xr-x 1 bkuo wep 9477533 Mar 31 09:11 grid_stat
> > -rwxr-xr-x 1 bkuo wep 6577475 Mar 31 09:11 madis2nc
> > -rwxr-xr-x 1 bkuo wep 11553213 Mar 31 09:11 mode
> > -rwxr-xr-x 1 bkuo wep 4612363 Mar 31 09:11 mode_analysis
> > -rwxr-xr-x 1 bkuo wep 4721974 Mar 31 09:11 pb2nc
> > -rwxr-xr-x 1 bkuo wep 6963617 Mar 31 09:11 pcp_combine
> > -rwxr-xr-x 1 bkuo wep 8148164 Mar 31 09:11 plot_data_plane
> > -rwxr-xr-x 1 bkuo wep 7216905 Mar 31 09:11 plot_point_obs
> > -rwxr-xr-x 1 bkuo wep 9748262 Mar 31 09:11 point_stat
> > -rwxr-xr-x 1 bkuo wep 9290653 Mar 31 09:11 series_analysis
> > -rwxr-xr-x 1 bkuo wep 7510384 Mar 31 09:11 stat_analysis
> > -rwxr-xr-x 1 bkuo wep 3643761 Mar 31 09:11 tc_dland
> > -rwxr-xr-x 1 bkuo wep 4850596 Mar 31 09:11 tc_pairs
> > -rwxr-xr-x 1 bkuo wep 4310497 Mar 31 09:11 tc_stat
> > -rwxr-xr-x 1 bkuo wep 10603249 Mar 31 09:11 wavelet_stat
> > -rwxr-xr-x 1 bkuo wep 5211537 Mar 31 09:11 wwmca_plot
> > -rwxr-xr-x 1 bkuo wep 4217758 Mar 31 09:11 wwmca_regrid
> > bkuo at helios:~/MET/met-5.0/bin>
> >
> > The missing executables are: modis_regrid, and plot_mode_field.
Will
> these
> > 2 missing MET executables be a concern?
> >
> > Thank you
> >
> > Warmest Regards
> >
> > Bruce Kuo
> >
> > On Tue, Mar 31, 2015 at 11:21 AM, Bruce Kuo <brukuo42 at gmail.com>
wrote:
> >
> > > Hi Julie,
> > >
> > > Your suggestion for using the <LDFLAGs> was not useful as it
will still
> > > give errors in the [config.log] and [make_install.log] files, as
shown
> > > below:
> > >
> > > ----------------------------
> > > Error in "config.log":
> > > ---------------------------
> > >
> > > gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)
> > > configure:4488: $? = 0
> > > configure:4477: /usr/bin/g++ -V >&5
> > > g++: '-V' option must have argument
> > > configure:4488: $? = 1
> > > configure:4477: /usr/bin/g++ -qversion >&5
> > > g++: unrecognized option '-qversion'
> > > g++: no input files
> > > configure:4488: $? = 1
> > > configure:4508: checking whether the C++ compiler works
> > > configure:4530: /usr/bin/g++ -g -I${MET_NETCDF}/include
> > > -I/home/software/g2clib-1.4.
> > > 0/include -I${MET_GSL}/include -I${MET_HDF}/include
> > -I${MET_CAIRO}/include
> > > -I${MET_FR
> > > EETYPE}/include -DBLOCK4 -DWITH_GRIB2
-DMET_BASE="\"$(pkgdatadir)\""
> > > -L/home/software
> > > /jasper-1.900.1 -ljasper -L/home/software/libpng-1.6.15 -lpng
> > > -L/home/software/zlib-1
> > > .2.6 -lz -L${MET_NETCDF}/lib -L/home/software/g2clib-1.4.0/lib
> > > -L${MET_GSL}/lib -L/ho
> > > me/software/BUFRLIB -L${MET_HDF}/lib -L${MET_CAIRO}/lib
> > > -L${MET_FREETYPE}/lib conftes
> > > t.cpp >&5
> > > /usr/bin/ld: cannot find -ljasper
> > > collect2: ld returned 1 exit status
> > > configure:4534: $? = 1
> > > configure:4572: result: no
> > > configure: failed program was:
> > > | /* confdefs.h */
> > > .
> > > .
> > > .
> > > configure:4577: error: in `/home/bkuo/MET/met-5.0':
> > > configure:4579: error: C++ compiler cannot create executables
> > > See `config.log' for more details
> > >
> > > ------------------------------------
> > > Error in "make_install.log":
> > > ------------------------------------
> > >
> > > /libcode/vx_statistics -L../../../../src/libcode/vx_stat_out
> > > -L../../../../src/libcode/vx_tc_util -L/nw
> > > prod -lpng -lz -L/home/bkuo/netcdf-3.6.3/lib
> > > -L/home/software/g2clib-1.4.0/lib -L/home/software/gsl-1.1
> > > 6//lib -L/home/software/BUFRLIB -L/home/software/hdf5-1.8.14/lib
> > > -L/home/bkuo/cairo-1.14.0//lib -L/home
> > > /bkuo/freetype-2.5.5/lib -o ensemble_stat ensemble_stat-
ensemble_stat.o
> > > ensemble_stat-ensemble_stat_con
> > > f_info.o -lvx_stat_out -lvx_statistics -lvx_shapedata
-lvx_gsl_prob
> > > -lvx_analysis_util -lvx_data2d_fact
> > > ory -lvx_data2d_nc_met -lvx_data2d_grib -lvx_data2d_grib2
-lgrib2c
> > > -ljasper -lpng -lz -lvx_data2d_nc_pi
> > > nterp -lvx_data2d_nccf -lvx_data2d -lvx_nc_util -lvx_grid
-lvx_config
> > > -lvx_cal -lvx_util -lvx_math -lvx
> > > _color -lvx_log -lm -lnetcdf_c++ -lnetcdf -lgsl -lgslcblas
> > > /usr/bin/ld: cannot find -ljasper
> > > collect2: ld returned 1 exit status
> > > make[4]: *** [ensemble_stat] Error 1
> > > make[4]: Leaving directory
> > > `/home/bkuo/MET/met-5.0/src/tools/core/ensemble_stat'
> > > make[3]: *** [install-recursive] Error 1
> > > make[3]: Leaving directory `/home/bkuo/MET/met-
5.0/src/tools/core'
> > > make[2]: *** [install-recursive] Error 1
> > > make[2]: Leaving directory `/home/bkuo/MET/met-5.0/src/tools'
> > > make[1]: *** [install-recursive] Error 1
> > > make[1]: Leaving directory `/home/bkuo/MET/met-5.0/src'
> > > make: *** [install-recursive] Error 1
> > >
> > > --------------------------------
> > > Current ".bash_profile":
> > > --------------------------------
> > > export PS1="\u@\h:\w> "
> > >
> > > export CC=/usr/bin/gcc
> > > export CXX=/usr/bin/g++
> > > export F77=/usr/bin/gfortran
> > >
> > > PATH=$PATH:$HOME/bin
> > > export PATH
> > > export NCARG_ROOT=/home/software/ncl_ncarg-6.2.1
> > > export PATH=$NCARG_ROOT/bin:$PATH
> > >
> > > # Software Libraries path
> > > export MET_NETCDF=/home/bkuo/netcdf-3.6.3
> > > export MET_BUFRLIB=/home/software/BUFRLIB
> > > export MET_GRIB2CINC=/home/software/g2clib-1.4.0/include
> > > export MET_GRIB2CLIB=/home/software/g2clib-1.4.0/lib
> > > export MET_GSL=/home/software/gsl-1.16/
> > > export MET_HDF=/home/software/hdf5-1.8.14
> > > export MET_CAIRO=/home/bkuo/cairo-1.14.0/
> > > export MET_FREETYPE=/home/bkuo/freetype-2.5.5
> > > export LDFLAGS="-L/home/software/jasper-1.900.1 -ljasper
> > > -L/home/software/libpng-1.6.15 -lpng -L/home/s
> > > oftware/zlib-1.2.6 -lz"
> > >
> > > But when I changed the <LDFLAGS> to the following
<LD_LIBRARY_PATH>
> > below,
> > > the issue in the <config.log> was resolved.
> > >
> > > *export
> > >
> >
>
LD_LIBRARY_PATH=/home/software/jasper/lib:/home/software/libpng/lib:$LD_LIBRARY*
> > > *_PATH*
> > >
> > > But the <ljasper> issue still persist, as shown below:
> > >
> > > lvx_shapedata -lvx_gsl_prob -lvx_analysis_util
-lvx_data2d_factory
> > > -lvx_data2d_nc_met
> > > -lvx_data2d_grib -lvx_data2d_grib2 -lgrib2c -ljasper -lpng -lz
> > > -lvx_data2d_nc_pinterp
> > > -lvx_data2d_nccf -lvx_data2d -lvx_nc_util -lvx_grid -lvx_config
> -lvx_cal
> > > -lvx_util -lv
> > > x_math -lvx_color -lvx_log -lm -lnetcdf_c++ -lnetcdf -lgsl
-lgslcblas
> > > */usr/bin/ld: cannot find -ljasper*
> > > collect2: ld returned 1 exit status
> > > make[4]: *** [ensemble_stat] Error 1
> > > make[4]: Leaving directory
> > > `/home/bkuo/MET/met-5.0/src/tools/core/ensemble_stat'
> > > make[3]: *** [install-recursive] Error 1
> > > make[3]: Leaving directory `/home/bkuo/MET/met-
5.0/src/tools/core'
> > > make[2]: *** [install-recursive] Error 1
> > > make[2]: Leaving directory `/home/bkuo/MET/met-5.0/src/tools'
> > > make[1]: *** [install-recursive] Error 1
> > > make[1]: Leaving directory `/home/bkuo/MET/met-5.0/src'
> > > make: *** [install-recursive] Error 1
> > >
> > > Have attached the latest copy of my "bash_profile","config.log",
> > > "make-install.log" files in this email for your reference.
> > >
> > > What other course of action can I take to remedy this issue?
> > >
> > > Thank you
> > >
> > > Warmest Regards
> > > Bruce Kuo
> > >
> > > On Tue, Mar 31, 2015 at 1:23 AM, Julie Prestopnik via RT <
> > > met_help at ucar.edu> wrote:
> > >
> > >> Hi Bruce. I am sorry to hear that you are still having
problems
> getting
> > >>
> > >> MET to build.
> > >>
> > >> When you set LDFLAGS in the following way, I believe you are
writing
> > over
> > >> the environment variable each time.
> > >>
> > >> export LDFLAGS="-L/home/software/jasper -ljasper"
> > >> export LDFLAGS="-L/home/software/libpng -lpng -lz"
> > >> export LDFLAGS="-L/home/software/zlib -lzib"
> > >>
> > >> Please try setting LDFLAGS in the following way:
> > >>
> > >> export LDFLAGS="-L/home/software/jasper -ljasper
> -L/home/software/libpng
> > >> -lpng -L/home/software/zlib -lz"
> > >>
> > >> Then source your bash profile, run the configure script, and
then run
> > make
> > >> install.
> > >>
> > >> I'm not sure the errors in the config.log file are significant.
Let's
> > >> proceed with the above and see how that goes. Please let us
know.
> > >>
> > >> Thanks,
> > >> Julie
> > >>
> > >> On Sun, Mar 29, 2015 at 11:25 PM, Bruce Kuo via RT
<met_help at ucar.edu
> >
> > >> wrote:
> > >>
> > >> >
> > >> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71169
>
> > >> >
> > >> > Hi Julie,
> > >> >
> > >> > I have amended my bash_profile file and rerun the
compilation, but
> > >> noticed
> > >> > that the software was unable to detect my C++ (see
config.log).
> > >> >
> > >> > Have also noticed that the installer for MET was unable to
detect my
> > >> jasper
> > >> > software (see make-install.log).
> > >> >
> > >> > Below is my current bash_profile:
> > >> >
> > >> > bkuo at helios:~/MET/met-5.0> more /home/bkuo/.bash_profile
> > >> >
> > >> > #export PS1="\u@\h:\W\$ "
> > >> > export PS1="\u@\h:\w> "
> > >> >
> > >> > #export CC=/usr/bin/cc
> > >> > #export CXX=/usr/bin/c++
> > >> > export CC=/usr/bin/gcc
> > >> > export CXX=/usr/bin/g++
> > >> > export F77=/usr/bin/gfortran
> > >> >
> > >> > PATH=$PATH:$HOME/bin
> > >> > export PATH
> > >> > export NCARG_ROOT=/home/software/ncl_ncarg-6.2.1
> > >> > export PATH=$NCARG_ROOT/bin:$PATH
> > >> > # export
> > >> >
> > >> >
> > >>
> >
>
LM_LICENSE_FILE=/home/software/MATLAB/R2014a/etc/license.dat:/home/software/exelis/license/license
> > >> > .dat
> > >> >
> > >> > # Software Libraries path
> > >> > export MET_NETCDF=/home/bkuo/netcdf-3.6.3
> > >> > #export MET_NETCDFINC=/home/bkuo/netcdf-3.6.3/include
> > >> > #export MET_NETCDFLIB=/home/bkuo/netcdf-3.6.3/lib/
> > >> > export MET_BUFRLIB=/home/software/BUFRLIB
> > >> > export MET_GRIB2CINC=/home/software/g2clib-1.4.0/include
> > >> > export MET_GRIB2CLIB=/home/software/g2clib-1.4.0/lib
> > >> > export MET_GSL=/home/software/gsl-1.16/
> > >> > #export MET_GSLINC=/home/software/gsl-1.16/include
> > >> > #export MET_GSLLIB=/home/software/gsl-1.16/lib
> > >> > export MET_HDF=/home/software/hdf5-1.8.14
> > >> > #export MET_HDFINC=/home/software/hdf5-1.8.14/include
> > >> > #export MET_HDFLIB=/home/software/hdf5-1.8.14/lib
> > >> > export MET_CAIRO=/home/bkuo/cairo-1.14.0/
> > >> > #export MET_CAIROINC=/home/bkuo/cairo-1.14.0/include
> > >> > #export MET_CAIROLIB=/home/bkuo/cairo-1.14.0/lib
> > >> > export MET_FREETYPE=/home/bkuo/freetype-2.5.5
> > >> > #export MET_FREETYPEINC=/home/bkuo/freetype-2.5.5/include
> > >> > #export MET_FREETYPELIB=/home/bkuo/freetype-2.5.5/lib
> > >> > export LDFLAGS="-L/home/software/jasper -ljasper"
> > >> > export LDFLAGS="-L/home/software/libpng -lpng -lz"
> > >> > export LDFLAGS="-L/home/software/zlib -lzib"
> > >> >
> > >> > bkuo at helios:~/MET/met-5.0>
> > >> >
> > >> > Can you advise what should be my next course of action to
remedy
> these
> > >> > issues?
> > >> >
> > >> > Thank you
> > >> >
> > >> > Warmest Regards
> > >> >
> > >> > Bruce Kuo
> > >> >
> > >> > On Fri, Mar 27, 2015 at 11:37 PM, Julie Prestopnik via RT <
> > >> > met_help at ucar.edu
> > >> > > wrote:
> > >> >
> > >> > > Hi Bruce. Thanks for sending more information and your
logs.
> > >> > >
> > >> > > First, I noticed that in your bash profile, you have set:
> > >> > >
> > >> > > export MET_NETCDF=/home/bkuo/netcdf-3.6.3
> > >> > > export MET_NETCDFINC=/home/bkuo/netcdf-3.6.3/include
> > >> > > export MET_NETCDFLIB=/home/bkuo/netcdf-3.6.3/lib/
> > >> > >
> > >> > > You only need to specify either MET_NETCDF or both
MET_NETCDFINC
> and
> > >> > > MET_NETCDFLIB, depending on where the include and library
files
> are
> > as
> > >> > > specified on this page:
> > >> > >
> > >> > >
> > >> >
> > >>
> >
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/configure.php
> > >> > >
> > >> > > The same is true for the other vars that you have listed in
your
> > bash
> > >> > > profile.
> > >> > >
> > >> > > Second, looking in the second make_install.log file that
you
> > attached
> > >> > after
> > >> > > installing NetCDFv3.6.3, just above this error:
> > >> > > nc_var_info.h:24:21: error: netcdf.hh: No such file or
directory
> > >> > >
> > >> > > I see that version 4.3.3.1 is the version being looked for:
> > >> > > -I/home/bkuo/netcdf-c-4.3.3.1/include
> > >> > >
> > >> > > as opposed to version 3.6.3. But, I do see that you set
> MET_NETCDF
> > to
> > >> > > point to version 3.6.3.
> > >> > >
> > >> > > Please try it again. This time, please be sure to source
your
> bash
> > >> > > profile, then rerun configure, and then try to make install
again.
> > >> > >
> > >> > > I do know that certain recent versions of NetCDF no longer
include
> > >> > > netcdf.hh, but version 3.6.3 should include netcdf.hh. If
we can
> > get
> > >> MET
> > >> > > to include that version, it should work for you.
> > >> > >
> > >> > > Please give that a shot and let us know if it works for
you.
> > >> > >
> > >> > > Thanks,
> > >> > > Julie
> > >> > >
> > >> > >
> > >> > > On Fri, Mar 27, 2015 at 3:34 AM, Bruce Kuo via RT <
> > met_help at ucar.edu>
> > >> > > wrote:
> > >> > >
> > >> > > >
> > >> > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71169 >
> > >> > > >
> > >> > > > Hi Julie,
> > >> > > >
> > >> > > > I still get the same error, despite installing the NETCDF
3.6.3
> > >> > version,
> > >> > > > and updating my bash_profile:
> > >> > > >
> > >> > > > bkuo at helios:~/MET/met-5.0> make install >&
make_install.log
> > >> > > > bkuo at helios:~/MET/met-5.0> tail -f make_install.log
> > >> > > > nc_var_info.cc:321: error: ‘const class NcVarInfo’ has no
member
> > >> named
> > >> > > > ‘var’
> > >> > > > nc_var_info.cc:326: error: ‘const class NcVarInfo’ has no
member
> > >> named
> > >> > > > ‘var’
> > >> > > > nc_var_info.cc:331: error: ‘ncInt’ was not declared in
this
> scope
> > >> > > > make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 1
> > >> > > > make[3]: Leaving directory
> > >> > > `/home/bkuo/MET/met-5.0/src/libcode/vx_nc_util'
> > >> > > > make[2]: *** [install-recursive] Error 1
> > >> > > > make[2]: Leaving directory `/home/bkuo/MET/met-
5.0/src/libcode'
> > >> > > > make[1]: *** [install-recursive] Error 1
> > >> > > > make[1]: Leaving directory `/home/bkuo/MET/met-5.0/src'
> > >> > > > make: *** [install-recursive] Error 1
> > >> > > >
> > >> > > > I am unable to find the file "netcdf.hh"in the
> > >> > > > "/home/bkuo/netcdf-3.6.3/include"directory but the
> "netcdf.h"file
> > >> exits
> > >> > > as
> > >> > > > shown below:
> > >> > > >
> > >> > > > bkuo at helios:~/MET/met-5.0> cd /home/bkuo/netcdf-3.6.3
> > >> > > > bkuo at helios:~/netcdf-3.6.3> cd include
> > >> > > > bkuo at helios:~/netcdf-3.6.3/include> ls -la
> > >> > > > total 364
> > >> > > > drwxr-xr-x 2 bkuo wep 4096 Mar 27 09:21 .
> > >> > > > drwxr-xr-x 22 bkuo wep 4096 Mar 27 09:21 ..
> > >> > > > -rw-r--r-- 1 bkuo wep 10123 Mar 27 09:21 ncvalues.h
> > >> > > > -rw-r--r-- 1 bkuo wep 18916 Mar 27 09:21 netcdfcpp.h
> > >> > > > -rw-r--r-- 1 bkuo wep 29907 Mar 27 09:21 netcdf.h
> > >> > > > -rw-r--r-- 1 bkuo wep 23 Mar 27 09:21 netcdf.hh
> > >> > > > -rw-r--r-- 1 bkuo wep 48437 Mar 27 09:21 netcdf.inc
> > >> > > > -rw-r--r-- 1 bkuo wep 238556 Mar 27 09:21 netcdf.mod
> > >> > > > -rw-r--r-- 1 bkuo wep 2369 Mar 27 09:21 typesizes.mod
> > >> > > > bkuo at helios:~/netcdf-3.6.3/include>
> > >> > > >
> > >> > > > Please advise what I can focus on for the next step.
> > >> > > >
> > >> > > > Thank you
> > >> > > >
> > >> > > > Warmest Regards
> > >> > > >
> > >> > > > Bruce Kuo
> > >> > > >
> > >> > > >
> > >> > > > On Fri, Mar 27, 2015 at 3:54 PM, Bruce Kuo
<brukuo42 at gmail.com>
> > >> wrote:
> > >> > > >
> > >> > > > > Hi Julie,
> > >> > > > >
> > >> > > > > Below are the details of the MET environment, in case
the
> > >> > > > > ".bash_profile"information is unable to come out
clearly:
> > >> > > > >
> > >> > > > > bkuo at helios:~/MET/met-5.0> printenv |grep MET
> > >> > > > > MET_GSLLIB=/home/software/gsl-1.16/lib
> > >> > > > > MET_GRIB2CLIB=/home/software/gsl-1.16/gsl-1.16/lib
> > >> > > > > MET_FREETYPEINC=/home/bkuo/freetype-2.5.5/include
> > >> > > > > MET_CAIROINC=/home/bkuo/cairo-1.14.0/include
> > >> > > > > MET_GSL=/home/software/gsl-1.16/
> > >> > > > > MET_HDF=/home/software/hdf5-1.8.14
> > >> > > > > MET_HDFINC=/home/software/hdf5-1.8.14/include
> > >> > > > > MET_GRIB2CINC=/home/software/gsl-1.16/gsl-1.16/include
> > >> > > > > MET_GSLINC=/home/software/gsl-1.16/include
> > >> > > > > MET_NETCDF=/home/software/netcdf--cxx4-4.2.1
> > >> > > > > MET_FREETYPELIB=/home/bkuo/freetype-2.5.5/lib
> > >> > > > > MET_CAIROLIB=/home/bkuo/cairo-1.14.0/lib
> > >> > > > > PWD=/home/bkuo/MET/met-5.0
> > >> > > > > MET_NETCDFINC=/home/software/netcdf-cxx4-4.2.1/include
> > >> > > > > MET_NETCDFLIB=/home/software/netcdf--cxx4-4.2.1/lib/
> > >> > > > > MET_FREETYPE=/home/bkuo/freetype-2.5.5
> > >> > > > > MET_CAIRO=/home/bkuo/cairo-1.14.0/
> > >> > > > > MET_BUFRLIB=/home/software/BUFRLIB
> > >> > > > > MET_HDFLIB=/home/software/hdf5-1.8.14/lib
> > >> > > > >
> > >> > > > > Thanks
> > >> > > > >
> > >> > > > > Regards
> > >> > > > > Bruce Kuo
> > >> > > > >
> > >> > > > > On Fri, Mar 27, 2015 at 3:42 PM, Bruce Kuo <
> brukuo42 at gmail.com>
> > >> > wrote:
> > >> > > > >
> > >> > > > >> Hi Julie,
> > >> > > > >>
> > >> > > > >> I am still getting the same error, pointing to the
> "ncvarinfo",
> > >> > after
> > >> > > > >> setting the environmental settings in the
bash_profile. I
> have
> > >> also
> > >> > > > >> installed the met-5.0_patches in the same directory of
the
> > MET5.0
> > >> > > > software.
> > >> > > > >>
> > >> > > > >> Please refer to the attached file for the
environmental
> > settings,
> > >> > the
> > >> > > > >> configuration log and the make_install log files.
> > >> > > > >>
> > >> > > > >> Thank you
> > >> > > > >>
> > >> > > > >> Warmest Regards
> > >> > > > >>
> > >> > > > >> Bruce Kuo
> > >> > > > >>
> > >> > > > >> On Tue, Mar 24, 2015 at 12:55 AM, Julie Prestopnik via
RT <
> > >> > > > >> met_help at ucar.edu> wrote:
> > >> > > > >>
> > >> > > > >>> Hi Bruce. You can set several environment variables
to tell
> > the
> > >> > > > >>> configure
> > >> > > > >>> script where to find the dependent libraries. For
example,
> > >> > > MET_NETCDF
> > >> > > > >>> tells it where to find NetCDF. You can set the
MET_NETCDF
> > >> variable
> > >> > > in
> > >> > > > >>> your
> > >> > > > >>> .cshrc file like this:
> > >> > > > >>> setenv MET_NETCDF /usr/local/netcdf-3.6.2
> > >> > > > >>>
> > >> > > > >>> You can find more information on setting the
environment
> > >> variables
> > >> > > > here:
> > >> > > > >>>
> > >> > > > >>>
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/configure.php
> > >> > > > >>>
> > >> > > > >>> Please try setting the environment variables and then
run
> > >> configure
> > >> > > and
> > >> > > > >>> see
> > >> > > > >>> if that gets rid of the errors you are getting. If
not,
> > please
> > >> > send
> > >> > > > the
> > >> > > > >>> full make_install.log to us. Also, please note that
some
> of
> > >> the
> > >> > > tools
> > >> > > > >>> are
> > >> > > > >>> disabled by default. You can read the Configuration
section
> > at
> > >> the
> > >> > > > link
> > >> > > > >>> above for more information.
> > >> > > > >>>
> > >> > > > >>> Please let us know if you have any questions or
encounter
> any
> > >> other
> > >> > > > >>> problems.
> > >> > > > >>>
> > >> > > > >>> Thanks,
> > >> > > > >>> Julie
> > >> > > > >>>
> > >> > > > >>>
> > >> > > > >>
> > >> > > > >
> > >> > > >
> > >> > > >
> > >> > >
> > >> > >
> > >> > > --
> > >> > > Julie Prestopnik
> > >> > > National Center for Atmospheric Research
> > >> > > Research Applications Laboratory
> > >> > > Phone: 303.497.8399
> > >> > > Email: jpresto at ucar.edu
> > >> > >
> > >> > >
> > >> >
> > >> >
> > >>
> > >>
> > >> --
> > >> Julie Prestopnik
> > >> National Center for Atmospheric Research
> > >> Research Applications Laboratory
> > >> Phone: 303.497.8399
> > >> Email: jpresto at ucar.edu
> > >>
> > >>
> > >
> >
> >
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
>
------------------------------------------------
Subject: Issue with installing MET 5.0
From: Julie Prestopnik
Time: Thu Apr 02 08:54:44 2015
Thanks, Bruce.
Julie
On Wed, Apr 1, 2015 at 7:50 PM, Bruce Kuo via RT <met_help at ucar.edu>
wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71169 >
>
> Hi Julie,
>
> I have installed the net_cdf_3.6.3 instead of the latest net-cdf
version,
> due to the missing "netcdf.hh" files after the net-cdf_3.6.3
versions. Have
> also edited the "Makefile"in the main MET directory after running
the
> "*./configure
> --prefix=`pwd` --enable-grib2" command, as some of the directories
> path/settings (eg. MET_NETCDF, GRIB2_LIBS) were not captured
correctly.
> Hope this information will help you in troubleshooting issues in
subsequent
> MET-5 queries.*
>
> Cheers
>
> Bruce Kuo
>
>
>
> On Tue, Mar 31, 2015 at 11:39 PM, Julie Prestopnik via RT <
> met_help at ucar.edu
> > wrote:
>
> > Hi Bill. I'm so glad you were able to get METv5.0 installed!
Thank you
> > for checking on your executables. If you have time, could you
please
> share
> > with us the changes you made to resolve the issues you
encountered?
> >
> > The MODIS-Regrid tool reformats gridded MODIS data from HDF into a
> gridded
> > NetCDF format that MET can read. So, if you don't need to use
MODIS
> data,
> > you won't need this tool.
> >
> > The Plot-MODE-Field tool reads one or more MODE NetCDF output
files and
> > creates PNG images to display the data. However, MODE currently
produces
> > postscript images, so as long as you don't specifically need a PNG
image,
> > you shouldn't need this tool.
> >
> > I am happy to try to work with you in getting these two tools
built, so
> if
> > you would like them, please let me know.
> >
> > Julie
> >
> > On Tue, Mar 31, 2015 at 3:36 AM, Bruce Kuo via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71169 >
> > >
> > > Hi Julie,
> > >
> > > I have managed to resolve the issues and make install the MET
5.0
> > > successfully.
> > >
> > > The bin subdirectory of the installation directory should now
contain
> up
> > to
> > > 23 MET executables as mentioned in your online Tutorial:
> > > ascii2nc
> > > ensemble_stat
> > > gen_circle_mask
> > > gen_poly_mask
> > > grid_stat
> > > madis2nc
> > > mode
> > > mode_analysis
> > > modis_regrid
> > > pb2nc
> > > pcp_combine
> > > plot_data_plane
> > > plot_mode_field
> > > plot_point_obs
> > > point_stat
> > > series_analysis
> > > stat_analysis
> > > tc_dland
> > > tc_pairs
> > > tc_stat
> > > wavelet_stat
> > > wwmca_plot
> > > wwmca_regrid
> > >
> > > But I only manage to get 21 MET executables, as shown below:
> > >
> > > bkuo at helios:~/MET/met-5.0/bin> ls -la
> > > total 146388
> > > drwxr-xr-x 2 bkuo wep 4096 Mar 31 09:11 .
> > > drwxr-xr-x 10 bkuo wep 4096 Mar 31 09:11 ..
> > > -rwxr-xr-x 1 bkuo wep 7991547 Mar 31 09:11 ascii2nc
> > > -rwxr-xr-x 1 bkuo wep 10083044 Mar 31 09:11 ensemble_stat
> > > -rwxr-xr-x 1 bkuo wep 6575977 Mar 31 09:11 gen_circle_mask
> > > -rwxr-xr-x 1 bkuo wep 6545185 Mar 31 09:11 gen_poly_mask
> > > -rwxr-xr-x 1 bkuo wep 9477533 Mar 31 09:11 grid_stat
> > > -rwxr-xr-x 1 bkuo wep 6577475 Mar 31 09:11 madis2nc
> > > -rwxr-xr-x 1 bkuo wep 11553213 Mar 31 09:11 mode
> > > -rwxr-xr-x 1 bkuo wep 4612363 Mar 31 09:11 mode_analysis
> > > -rwxr-xr-x 1 bkuo wep 4721974 Mar 31 09:11 pb2nc
> > > -rwxr-xr-x 1 bkuo wep 6963617 Mar 31 09:11 pcp_combine
> > > -rwxr-xr-x 1 bkuo wep 8148164 Mar 31 09:11 plot_data_plane
> > > -rwxr-xr-x 1 bkuo wep 7216905 Mar 31 09:11 plot_point_obs
> > > -rwxr-xr-x 1 bkuo wep 9748262 Mar 31 09:11 point_stat
> > > -rwxr-xr-x 1 bkuo wep 9290653 Mar 31 09:11 series_analysis
> > > -rwxr-xr-x 1 bkuo wep 7510384 Mar 31 09:11 stat_analysis
> > > -rwxr-xr-x 1 bkuo wep 3643761 Mar 31 09:11 tc_dland
> > > -rwxr-xr-x 1 bkuo wep 4850596 Mar 31 09:11 tc_pairs
> > > -rwxr-xr-x 1 bkuo wep 4310497 Mar 31 09:11 tc_stat
> > > -rwxr-xr-x 1 bkuo wep 10603249 Mar 31 09:11 wavelet_stat
> > > -rwxr-xr-x 1 bkuo wep 5211537 Mar 31 09:11 wwmca_plot
> > > -rwxr-xr-x 1 bkuo wep 4217758 Mar 31 09:11 wwmca_regrid
> > > bkuo at helios:~/MET/met-5.0/bin>
> > >
> > > The missing executables are: modis_regrid, and plot_mode_field.
Will
> > these
> > > 2 missing MET executables be a concern?
> > >
> > > Thank you
> > >
> > > Warmest Regards
> > >
> > > Bruce Kuo
> > >
> > > On Tue, Mar 31, 2015 at 11:21 AM, Bruce Kuo <brukuo42 at gmail.com>
> wrote:
> > >
> > > > Hi Julie,
> > > >
> > > > Your suggestion for using the <LDFLAGs> was not useful as it
will
> still
> > > > give errors in the [config.log] and [make_install.log] files,
as
> shown
> > > > below:
> > > >
> > > > ----------------------------
> > > > Error in "config.log":
> > > > ---------------------------
> > > >
> > > > gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)
> > > > configure:4488: $? = 0
> > > > configure:4477: /usr/bin/g++ -V >&5
> > > > g++: '-V' option must have argument
> > > > configure:4488: $? = 1
> > > > configure:4477: /usr/bin/g++ -qversion >&5
> > > > g++: unrecognized option '-qversion'
> > > > g++: no input files
> > > > configure:4488: $? = 1
> > > > configure:4508: checking whether the C++ compiler works
> > > > configure:4530: /usr/bin/g++ -g -I${MET_NETCDF}/include
> > > > -I/home/software/g2clib-1.4.
> > > > 0/include -I${MET_GSL}/include -I${MET_HDF}/include
> > > -I${MET_CAIRO}/include
> > > > -I${MET_FR
> > > > EETYPE}/include -DBLOCK4 -DWITH_GRIB2
-DMET_BASE="\"$(pkgdatadir)\""
> > > > -L/home/software
> > > > /jasper-1.900.1 -ljasper -L/home/software/libpng-1.6.15 -lpng
> > > > -L/home/software/zlib-1
> > > > .2.6 -lz -L${MET_NETCDF}/lib -L/home/software/g2clib-1.4.0/lib
> > > > -L${MET_GSL}/lib -L/ho
> > > > me/software/BUFRLIB -L${MET_HDF}/lib -L${MET_CAIRO}/lib
> > > > -L${MET_FREETYPE}/lib conftes
> > > > t.cpp >&5
> > > > /usr/bin/ld: cannot find -ljasper
> > > > collect2: ld returned 1 exit status
> > > > configure:4534: $? = 1
> > > > configure:4572: result: no
> > > > configure: failed program was:
> > > > | /* confdefs.h */
> > > > .
> > > > .
> > > > .
> > > > configure:4577: error: in `/home/bkuo/MET/met-5.0':
> > > > configure:4579: error: C++ compiler cannot create executables
> > > > See `config.log' for more details
> > > >
> > > > ------------------------------------
> > > > Error in "make_install.log":
> > > > ------------------------------------
> > > >
> > > > /libcode/vx_statistics -L../../../../src/libcode/vx_stat_out
> > > > -L../../../../src/libcode/vx_tc_util -L/nw
> > > > prod -lpng -lz -L/home/bkuo/netcdf-3.6.3/lib
> > > > -L/home/software/g2clib-1.4.0/lib -L/home/software/gsl-1.1
> > > > 6//lib -L/home/software/BUFRLIB -L/home/software/hdf5-
1.8.14/lib
> > > > -L/home/bkuo/cairo-1.14.0//lib -L/home
> > > > /bkuo/freetype-2.5.5/lib -o ensemble_stat
> ensemble_stat-ensemble_stat.o
> > > > ensemble_stat-ensemble_stat_con
> > > > f_info.o -lvx_stat_out -lvx_statistics -lvx_shapedata
-lvx_gsl_prob
> > > > -lvx_analysis_util -lvx_data2d_fact
> > > > ory -lvx_data2d_nc_met -lvx_data2d_grib -lvx_data2d_grib2
-lgrib2c
> > > > -ljasper -lpng -lz -lvx_data2d_nc_pi
> > > > nterp -lvx_data2d_nccf -lvx_data2d -lvx_nc_util -lvx_grid
-lvx_config
> > > > -lvx_cal -lvx_util -lvx_math -lvx
> > > > _color -lvx_log -lm -lnetcdf_c++ -lnetcdf -lgsl -lgslcblas
> > > > /usr/bin/ld: cannot find -ljasper
> > > > collect2: ld returned 1 exit status
> > > > make[4]: *** [ensemble_stat] Error 1
> > > > make[4]: Leaving directory
> > > > `/home/bkuo/MET/met-5.0/src/tools/core/ensemble_stat'
> > > > make[3]: *** [install-recursive] Error 1
> > > > make[3]: Leaving directory `/home/bkuo/MET/met-
5.0/src/tools/core'
> > > > make[2]: *** [install-recursive] Error 1
> > > > make[2]: Leaving directory `/home/bkuo/MET/met-5.0/src/tools'
> > > > make[1]: *** [install-recursive] Error 1
> > > > make[1]: Leaving directory `/home/bkuo/MET/met-5.0/src'
> > > > make: *** [install-recursive] Error 1
> > > >
> > > > --------------------------------
> > > > Current ".bash_profile":
> > > > --------------------------------
> > > > export PS1="\u@\h:\w> "
> > > >
> > > > export CC=/usr/bin/gcc
> > > > export CXX=/usr/bin/g++
> > > > export F77=/usr/bin/gfortran
> > > >
> > > > PATH=$PATH:$HOME/bin
> > > > export PATH
> > > > export NCARG_ROOT=/home/software/ncl_ncarg-6.2.1
> > > > export PATH=$NCARG_ROOT/bin:$PATH
> > > >
> > > > # Software Libraries path
> > > > export MET_NETCDF=/home/bkuo/netcdf-3.6.3
> > > > export MET_BUFRLIB=/home/software/BUFRLIB
> > > > export MET_GRIB2CINC=/home/software/g2clib-1.4.0/include
> > > > export MET_GRIB2CLIB=/home/software/g2clib-1.4.0/lib
> > > > export MET_GSL=/home/software/gsl-1.16/
> > > > export MET_HDF=/home/software/hdf5-1.8.14
> > > > export MET_CAIRO=/home/bkuo/cairo-1.14.0/
> > > > export MET_FREETYPE=/home/bkuo/freetype-2.5.5
> > > > export LDFLAGS="-L/home/software/jasper-1.900.1 -ljasper
> > > > -L/home/software/libpng-1.6.15 -lpng -L/home/s
> > > > oftware/zlib-1.2.6 -lz"
> > > >
> > > > But when I changed the <LDFLAGS> to the following
<LD_LIBRARY_PATH>
> > > below,
> > > > the issue in the <config.log> was resolved.
> > > >
> > > > *export
> > > >
> > >
> >
>
LD_LIBRARY_PATH=/home/software/jasper/lib:/home/software/libpng/lib:$LD_LIBRARY*
> > > > *_PATH*
> > > >
> > > > But the <ljasper> issue still persist, as shown below:
> > > >
> > > > lvx_shapedata -lvx_gsl_prob -lvx_analysis_util
-lvx_data2d_factory
> > > > -lvx_data2d_nc_met
> > > > -lvx_data2d_grib -lvx_data2d_grib2 -lgrib2c -ljasper -lpng -lz
> > > > -lvx_data2d_nc_pinterp
> > > > -lvx_data2d_nccf -lvx_data2d -lvx_nc_util -lvx_grid
-lvx_config
> > -lvx_cal
> > > > -lvx_util -lv
> > > > x_math -lvx_color -lvx_log -lm -lnetcdf_c++ -lnetcdf -lgsl
-lgslcblas
> > > > */usr/bin/ld: cannot find -ljasper*
> > > > collect2: ld returned 1 exit status
> > > > make[4]: *** [ensemble_stat] Error 1
> > > > make[4]: Leaving directory
> > > > `/home/bkuo/MET/met-5.0/src/tools/core/ensemble_stat'
> > > > make[3]: *** [install-recursive] Error 1
> > > > make[3]: Leaving directory `/home/bkuo/MET/met-
5.0/src/tools/core'
> > > > make[2]: *** [install-recursive] Error 1
> > > > make[2]: Leaving directory `/home/bkuo/MET/met-5.0/src/tools'
> > > > make[1]: *** [install-recursive] Error 1
> > > > make[1]: Leaving directory `/home/bkuo/MET/met-5.0/src'
> > > > make: *** [install-recursive] Error 1
> > > >
> > > > Have attached the latest copy of my
"bash_profile","config.log",
> > > > "make-install.log" files in this email for your reference.
> > > >
> > > > What other course of action can I take to remedy this issue?
> > > >
> > > > Thank you
> > > >
> > > > Warmest Regards
> > > > Bruce Kuo
> > > >
> > > > On Tue, Mar 31, 2015 at 1:23 AM, Julie Prestopnik via RT <
> > > > met_help at ucar.edu> wrote:
> > > >
> > > >> Hi Bruce. I am sorry to hear that you are still having
problems
> > getting
> > > >>
> > > >> MET to build.
> > > >>
> > > >> When you set LDFLAGS in the following way, I believe you are
writing
> > > over
> > > >> the environment variable each time.
> > > >>
> > > >> export LDFLAGS="-L/home/software/jasper -ljasper"
> > > >> export LDFLAGS="-L/home/software/libpng -lpng -lz"
> > > >> export LDFLAGS="-L/home/software/zlib -lzib"
> > > >>
> > > >> Please try setting LDFLAGS in the following way:
> > > >>
> > > >> export LDFLAGS="-L/home/software/jasper -ljasper
> > -L/home/software/libpng
> > > >> -lpng -L/home/software/zlib -lz"
> > > >>
> > > >> Then source your bash profile, run the configure script, and
then
> run
> > > make
> > > >> install.
> > > >>
> > > >> I'm not sure the errors in the config.log file are
significant.
> Let's
> > > >> proceed with the above and see how that goes. Please let us
know.
> > > >>
> > > >> Thanks,
> > > >> Julie
> > > >>
> > > >> On Sun, Mar 29, 2015 at 11:25 PM, Bruce Kuo via RT <
> met_help at ucar.edu
> > >
> > > >> wrote:
> > > >>
> > > >> >
> > > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71169 >
> > > >> >
> > > >> > Hi Julie,
> > > >> >
> > > >> > I have amended my bash_profile file and rerun the
compilation, but
> > > >> noticed
> > > >> > that the software was unable to detect my C++ (see
config.log).
> > > >> >
> > > >> > Have also noticed that the installer for MET was unable to
detect
> my
> > > >> jasper
> > > >> > software (see make-install.log).
> > > >> >
> > > >> > Below is my current bash_profile:
> > > >> >
> > > >> > bkuo at helios:~/MET/met-5.0> more /home/bkuo/.bash_profile
> > > >> >
> > > >> > #export PS1="\u@\h:\W\$ "
> > > >> > export PS1="\u@\h:\w> "
> > > >> >
> > > >> > #export CC=/usr/bin/cc
> > > >> > #export CXX=/usr/bin/c++
> > > >> > export CC=/usr/bin/gcc
> > > >> > export CXX=/usr/bin/g++
> > > >> > export F77=/usr/bin/gfortran
> > > >> >
> > > >> > PATH=$PATH:$HOME/bin
> > > >> > export PATH
> > > >> > export NCARG_ROOT=/home/software/ncl_ncarg-6.2.1
> > > >> > export PATH=$NCARG_ROOT/bin:$PATH
> > > >> > # export
> > > >> >
> > > >> >
> > > >>
> > >
> >
>
LM_LICENSE_FILE=/home/software/MATLAB/R2014a/etc/license.dat:/home/software/exelis/license/license
> > > >> > .dat
> > > >> >
> > > >> > # Software Libraries path
> > > >> > export MET_NETCDF=/home/bkuo/netcdf-3.6.3
> > > >> > #export MET_NETCDFINC=/home/bkuo/netcdf-3.6.3/include
> > > >> > #export MET_NETCDFLIB=/home/bkuo/netcdf-3.6.3/lib/
> > > >> > export MET_BUFRLIB=/home/software/BUFRLIB
> > > >> > export MET_GRIB2CINC=/home/software/g2clib-1.4.0/include
> > > >> > export MET_GRIB2CLIB=/home/software/g2clib-1.4.0/lib
> > > >> > export MET_GSL=/home/software/gsl-1.16/
> > > >> > #export MET_GSLINC=/home/software/gsl-1.16/include
> > > >> > #export MET_GSLLIB=/home/software/gsl-1.16/lib
> > > >> > export MET_HDF=/home/software/hdf5-1.8.14
> > > >> > #export MET_HDFINC=/home/software/hdf5-1.8.14/include
> > > >> > #export MET_HDFLIB=/home/software/hdf5-1.8.14/lib
> > > >> > export MET_CAIRO=/home/bkuo/cairo-1.14.0/
> > > >> > #export MET_CAIROINC=/home/bkuo/cairo-1.14.0/include
> > > >> > #export MET_CAIROLIB=/home/bkuo/cairo-1.14.0/lib
> > > >> > export MET_FREETYPE=/home/bkuo/freetype-2.5.5
> > > >> > #export MET_FREETYPEINC=/home/bkuo/freetype-2.5.5/include
> > > >> > #export MET_FREETYPELIB=/home/bkuo/freetype-2.5.5/lib
> > > >> > export LDFLAGS="-L/home/software/jasper -ljasper"
> > > >> > export LDFLAGS="-L/home/software/libpng -lpng -lz"
> > > >> > export LDFLAGS="-L/home/software/zlib -lzib"
> > > >> >
> > > >> > bkuo at helios:~/MET/met-5.0>
> > > >> >
> > > >> > Can you advise what should be my next course of action to
remedy
> > these
> > > >> > issues?
> > > >> >
> > > >> > Thank you
> > > >> >
> > > >> > Warmest Regards
> > > >> >
> > > >> > Bruce Kuo
> > > >> >
> > > >> > On Fri, Mar 27, 2015 at 11:37 PM, Julie Prestopnik via RT <
> > > >> > met_help at ucar.edu
> > > >> > > wrote:
> > > >> >
> > > >> > > Hi Bruce. Thanks for sending more information and your
logs.
> > > >> > >
> > > >> > > First, I noticed that in your bash profile, you have set:
> > > >> > >
> > > >> > > export MET_NETCDF=/home/bkuo/netcdf-3.6.3
> > > >> > > export MET_NETCDFINC=/home/bkuo/netcdf-3.6.3/include
> > > >> > > export MET_NETCDFLIB=/home/bkuo/netcdf-3.6.3/lib/
> > > >> > >
> > > >> > > You only need to specify either MET_NETCDF or both
MET_NETCDFINC
> > and
> > > >> > > MET_NETCDFLIB, depending on where the include and library
files
> > are
> > > as
> > > >> > > specified on this page:
> > > >> > >
> > > >> > >
> > > >> >
> > > >>
> > >
> >
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/configure.php
> > > >> > >
> > > >> > > The same is true for the other vars that you have listed
in your
> > > bash
> > > >> > > profile.
> > > >> > >
> > > >> > > Second, looking in the second make_install.log file that
you
> > > attached
> > > >> > after
> > > >> > > installing NetCDFv3.6.3, just above this error:
> > > >> > > nc_var_info.h:24:21: error: netcdf.hh: No such file or
directory
> > > >> > >
> > > >> > > I see that version 4.3.3.1 is the version being looked
for:
> > > >> > > -I/home/bkuo/netcdf-c-4.3.3.1/include
> > > >> > >
> > > >> > > as opposed to version 3.6.3. But, I do see that you set
> > MET_NETCDF
> > > to
> > > >> > > point to version 3.6.3.
> > > >> > >
> > > >> > > Please try it again. This time, please be sure to source
your
> > bash
> > > >> > > profile, then rerun configure, and then try to make
install
> again.
> > > >> > >
> > > >> > > I do know that certain recent versions of NetCDF no
longer
> include
> > > >> > > netcdf.hh, but version 3.6.3 should include netcdf.hh.
If we
> can
> > > get
> > > >> MET
> > > >> > > to include that version, it should work for you.
> > > >> > >
> > > >> > > Please give that a shot and let us know if it works for
you.
> > > >> > >
> > > >> > > Thanks,
> > > >> > > Julie
> > > >> > >
> > > >> > >
> > > >> > > On Fri, Mar 27, 2015 at 3:34 AM, Bruce Kuo via RT <
> > > met_help at ucar.edu>
> > > >> > > wrote:
> > > >> > >
> > > >> > > >
> > > >> > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71169
> >
> > > >> > > >
> > > >> > > > Hi Julie,
> > > >> > > >
> > > >> > > > I still get the same error, despite installing the
NETCDF
> 3.6.3
> > > >> > version,
> > > >> > > > and updating my bash_profile:
> > > >> > > >
> > > >> > > > bkuo at helios:~/MET/met-5.0> make install >&
make_install.log
> > > >> > > > bkuo at helios:~/MET/met-5.0> tail -f make_install.log
> > > >> > > > nc_var_info.cc:321: error: ‘const class NcVarInfo’ has
no
> member
> > > >> named
> > > >> > > > ‘var’
> > > >> > > > nc_var_info.cc:326: error: ‘const class NcVarInfo’ has
no
> member
> > > >> named
> > > >> > > > ‘var’
> > > >> > > > nc_var_info.cc:331: error: ‘ncInt’ was not declared in
this
> > scope
> > > >> > > > make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 1
> > > >> > > > make[3]: Leaving directory
> > > >> > > `/home/bkuo/MET/met-5.0/src/libcode/vx_nc_util'
> > > >> > > > make[2]: *** [install-recursive] Error 1
> > > >> > > > make[2]: Leaving directory
> `/home/bkuo/MET/met-5.0/src/libcode'
> > > >> > > > make[1]: *** [install-recursive] Error 1
> > > >> > > > make[1]: Leaving directory `/home/bkuo/MET/met-5.0/src'
> > > >> > > > make: *** [install-recursive] Error 1
> > > >> > > >
> > > >> > > > I am unable to find the file "netcdf.hh"in the
> > > >> > > > "/home/bkuo/netcdf-3.6.3/include"directory but the
> > "netcdf.h"file
> > > >> exits
> > > >> > > as
> > > >> > > > shown below:
> > > >> > > >
> > > >> > > > bkuo at helios:~/MET/met-5.0> cd /home/bkuo/netcdf-3.6.3
> > > >> > > > bkuo at helios:~/netcdf-3.6.3> cd include
> > > >> > > > bkuo at helios:~/netcdf-3.6.3/include> ls -la
> > > >> > > > total 364
> > > >> > > > drwxr-xr-x 2 bkuo wep 4096 Mar 27 09:21 .
> > > >> > > > drwxr-xr-x 22 bkuo wep 4096 Mar 27 09:21 ..
> > > >> > > > -rw-r--r-- 1 bkuo wep 10123 Mar 27 09:21 ncvalues.h
> > > >> > > > -rw-r--r-- 1 bkuo wep 18916 Mar 27 09:21 netcdfcpp.h
> > > >> > > > -rw-r--r-- 1 bkuo wep 29907 Mar 27 09:21 netcdf.h
> > > >> > > > -rw-r--r-- 1 bkuo wep 23 Mar 27 09:21 netcdf.hh
> > > >> > > > -rw-r--r-- 1 bkuo wep 48437 Mar 27 09:21 netcdf.inc
> > > >> > > > -rw-r--r-- 1 bkuo wep 238556 Mar 27 09:21 netcdf.mod
> > > >> > > > -rw-r--r-- 1 bkuo wep 2369 Mar 27 09:21
typesizes.mod
> > > >> > > > bkuo at helios:~/netcdf-3.6.3/include>
> > > >> > > >
> > > >> > > > Please advise what I can focus on for the next step.
> > > >> > > >
> > > >> > > > Thank you
> > > >> > > >
> > > >> > > > Warmest Regards
> > > >> > > >
> > > >> > > > Bruce Kuo
> > > >> > > >
> > > >> > > >
> > > >> > > > On Fri, Mar 27, 2015 at 3:54 PM, Bruce Kuo <
> brukuo42 at gmail.com>
> > > >> wrote:
> > > >> > > >
> > > >> > > > > Hi Julie,
> > > >> > > > >
> > > >> > > > > Below are the details of the MET environment, in case
the
> > > >> > > > > ".bash_profile"information is unable to come out
clearly:
> > > >> > > > >
> > > >> > > > > bkuo at helios:~/MET/met-5.0> printenv |grep MET
> > > >> > > > > MET_GSLLIB=/home/software/gsl-1.16/lib
> > > >> > > > > MET_GRIB2CLIB=/home/software/gsl-1.16/gsl-1.16/lib
> > > >> > > > > MET_FREETYPEINC=/home/bkuo/freetype-2.5.5/include
> > > >> > > > > MET_CAIROINC=/home/bkuo/cairo-1.14.0/include
> > > >> > > > > MET_GSL=/home/software/gsl-1.16/
> > > >> > > > > MET_HDF=/home/software/hdf5-1.8.14
> > > >> > > > > MET_HDFINC=/home/software/hdf5-1.8.14/include
> > > >> > > > > MET_GRIB2CINC=/home/software/gsl-1.16/gsl-
1.16/include
> > > >> > > > > MET_GSLINC=/home/software/gsl-1.16/include
> > > >> > > > > MET_NETCDF=/home/software/netcdf--cxx4-4.2.1
> > > >> > > > > MET_FREETYPELIB=/home/bkuo/freetype-2.5.5/lib
> > > >> > > > > MET_CAIROLIB=/home/bkuo/cairo-1.14.0/lib
> > > >> > > > > PWD=/home/bkuo/MET/met-5.0
> > > >> > > > > MET_NETCDFINC=/home/software/netcdf-cxx4-
4.2.1/include
> > > >> > > > > MET_NETCDFLIB=/home/software/netcdf--cxx4-4.2.1/lib/
> > > >> > > > > MET_FREETYPE=/home/bkuo/freetype-2.5.5
> > > >> > > > > MET_CAIRO=/home/bkuo/cairo-1.14.0/
> > > >> > > > > MET_BUFRLIB=/home/software/BUFRLIB
> > > >> > > > > MET_HDFLIB=/home/software/hdf5-1.8.14/lib
> > > >> > > > >
> > > >> > > > > Thanks
> > > >> > > > >
> > > >> > > > > Regards
> > > >> > > > > Bruce Kuo
> > > >> > > > >
> > > >> > > > > On Fri, Mar 27, 2015 at 3:42 PM, Bruce Kuo <
> > brukuo42 at gmail.com>
> > > >> > wrote:
> > > >> > > > >
> > > >> > > > >> Hi Julie,
> > > >> > > > >>
> > > >> > > > >> I am still getting the same error, pointing to the
> > "ncvarinfo",
> > > >> > after
> > > >> > > > >> setting the environmental settings in the
bash_profile. I
> > have
> > > >> also
> > > >> > > > >> installed the met-5.0_patches in the same directory
of the
> > > MET5.0
> > > >> > > > software.
> > > >> > > > >>
> > > >> > > > >> Please refer to the attached file for the
environmental
> > > settings,
> > > >> > the
> > > >> > > > >> configuration log and the make_install log files.
> > > >> > > > >>
> > > >> > > > >> Thank you
> > > >> > > > >>
> > > >> > > > >> Warmest Regards
> > > >> > > > >>
> > > >> > > > >> Bruce Kuo
> > > >> > > > >>
> > > >> > > > >> On Tue, Mar 24, 2015 at 12:55 AM, Julie Prestopnik
via RT <
> > > >> > > > >> met_help at ucar.edu> wrote:
> > > >> > > > >>
> > > >> > > > >>> Hi Bruce. You can set several environment
variables to
> tell
> > > the
> > > >> > > > >>> configure
> > > >> > > > >>> script where to find the dependent libraries. For
> example,
> > > >> > > MET_NETCDF
> > > >> > > > >>> tells it where to find NetCDF. You can set the
MET_NETCDF
> > > >> variable
> > > >> > > in
> > > >> > > > >>> your
> > > >> > > > >>> .cshrc file like this:
> > > >> > > > >>> setenv MET_NETCDF /usr/local/netcdf-3.6.2
> > > >> > > > >>>
> > > >> > > > >>> You can find more information on setting the
environment
> > > >> variables
> > > >> > > > here:
> > > >> > > > >>>
> > > >> > > > >>>
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> > >
> >
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/configure.php
> > > >> > > > >>>
> > > >> > > > >>> Please try setting the environment variables and
then run
> > > >> configure
> > > >> > > and
> > > >> > > > >>> see
> > > >> > > > >>> if that gets rid of the errors you are getting. If
not,
> > > please
> > > >> > send
> > > >> > > > the
> > > >> > > > >>> full make_install.log to us. Also, please note
that some
> > of
> > > >> the
> > > >> > > tools
> > > >> > > > >>> are
> > > >> > > > >>> disabled by default. You can read the
Configuration
> section
> > > at
> > > >> the
> > > >> > > > link
> > > >> > > > >>> above for more information.
> > > >> > > > >>>
> > > >> > > > >>> Please let us know if you have any questions or
encounter
> > any
> > > >> other
> > > >> > > > >>> problems.
> > > >> > > > >>>
> > > >> > > > >>> Thanks,
> > > >> > > > >>> Julie
> > > >> > > > >>>
> > > >> > > > >>>
> > > >> > > > >>
> > > >> > > > >
> > > >> > > >
> > > >> > > >
> > > >> > >
> > > >> > >
> > > >> > > --
> > > >> > > Julie Prestopnik
> > > >> > > National Center for Atmospheric Research
> > > >> > > Research Applications Laboratory
> > > >> > > Phone: 303.497.8399
> > > >> > > Email: jpresto at ucar.edu
> > > >> > >
> > > >> > >
> > > >> >
> > > >> >
> > > >>
> > > >>
> > > >> --
> > > >> Julie Prestopnik
> > > >> National Center for Atmospheric Research
> > > >> Research Applications Laboratory
> > > >> Phone: 303.497.8399
> > > >> Email: jpresto at ucar.edu
> > > >>
> > > >>
> > > >
> > >
> > >
> >
> >
> > --
> > Julie Prestopnik
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
> >
>
>
--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu
------------------------------------------------
More information about the Met_help
mailing list