[Met_help] [rt.rap.ucar.edu #75501] History for Intalling MET 5-1

John Halley Gotway via RT met_help at ucar.edu
Mon Mar 14 15:17:07 MDT 2016


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

John, I am installing MET 5.1 on a new computer  system here.   Below are the contents of my met-5.1 so far:

aclocal.m4    config.h     config.log     config.sub  configure.ac  depcomp  export_vars.bat  lib       Makefile.am  Make-include      missing  README     scripts  src
config.guess  config.h.in  config.status  configure   data          doc      install-sh       Makefile  Makefile.in  make_install.log  out      run_tests  share    stamp-h1

In lib, I have the following:

BUFRLIB_v10-0-1  g2clib-1.4.0  GRIBI_copygb.exe  gsl-1.15  jasper  libf2c  libpng-1.2.34  netcdf-4.1.3  tar  zlib-1.2.6

Below is the env variables set:

LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
MAIL=/var/spool/mail/qcteam
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/lpp/ssp/perl5/man
MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
MET_GRIB2CINC=-I/h/WXQC/met-5.1/lib/g2clib-1.4.0 -I/h/WXQC/met-5.1/install/jasper/include/jasper -I/h/WXQC/met-5.1/install/zlib/include -I/h/WXQC/met-5.1/install/libpng/include
MET_GRIB2CLIB=-L/h/WXQC/met-5.1/lib/g2clib-1.4.0 -L/h/WXQC/met-5.1/install/jasper/lib -L/h/WXQC/met-5.1/install/zlib/lib -L/h/WXQC/met-5.1/install/libpng/lib
MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles:/opt/mellanox/bupc/2.18.0/modules
MODULESHOME=/usr/share/Modules

>From page 32 of the MET 5.1 users guide, I ran step 1) and all seemed to go well
When I run step 2), it dies and I get the following output:
[1]     21366
[1123 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] In file included from data2d_grib2.cc:29:
data2d_grib2.h:27:21: error: grib2.h: No such file or directory
In file included from data2d_grib2.cc:29:
data2d_grib2.h:96: error: \u2018gribfield\u2019 has not been declared
data2d_grib2.h:99: error: \u2018g2int\u2019 has not been declared
data2d_grib2.h:100: error: \u2018g2int\u2019 has not been declared
data2d_grib2.h:101: error: \u2018gribfield\u2019 has not been declared
data2d_grib2.h:103: error: \u2018g2int\u2019 has not been declared
data2d_grib2.cc:36: error: variable or field \u2018g2_miss\u2019 declared void
data2d_grib2.cc:36: error: \u2018gribfield\u2019 was not declared in this scope
data2d_grib2.cc:36: error: \u2018gfld\u2019 was not declared in this scope
data2d_grib2.cc:36: error: expected primary-expression before \u2018float\u2019
data2d_grib2.cc:36: error: expected primary-expression before \u2018int\u2019
data2d_grib2.cc: In member function \u2018void MetGrib2DataFile::read_grib2_record_list()\u2019:
data2d_grib2.cc:533: error: \u2018gribfield\u2019 was not declared in this scope
data2d_grib2.cc:533: error: \u2018gfld\u2019 was not declared in this scope
data2d_grib2.cc:536: error: \u2018g2int\u2019 was not declared in this scope
data2d_grib2.cc:536: error: expected \u2018;\u2019 before \u2018numfields\u2019
data2d_grib2.cc:540: error: \u2018numfields\u2019 was not declared in this scope
data2d_grib2.cc:674: error: expected \u2018;\u2019 before \u2018range_typ\u2019
data2d_grib2.cc:677: error: expected \u2018;\u2019 before \u2018range_val\u2019
data2d_grib2.cc:680: error: \u2018range_typ\u2019 was not declared in this scope
data2d_grib2.cc:681: error: \u2018range_val\u2019 was not declared in this scope
data2d_grib2.cc:705: error: \u2018g2_free\u2019 was not declared in this scope
data2d_grib2.cc: At global scope:
data2d_grib2.cc:723: error: variable or field \u2018read_grib2_grid\u2019 declared void
data2d_grib2.cc:723: error: \u2018gribfield\u2019 was not declared in this scope
data2d_grib2.cc:723: error: \u2018gfld\u2019 was not declared in this scope
make[3]: *** [libvx_data2d_grib2_a-data2d_grib2.o] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1

[1] +  Done(2)                 make install > make_install.log &

Not sure what to do at this point.  Hope you can help.

Bob




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

Subject: Intalling MET 5-1
From: John Halley Gotway
Time: Fri Mar 11 09:52:35 2016

Hi,

It looks like the compiler is having trouble finding the "grib2.h"
include
file.  This is caused by the way you have set the MET_GRIB2CINC and
MET_GRIB2CLIB variables.  The configure script is not expecting them
to
include "-I" and "-L", as you've set them.  Actually, you do not need
to
set MET_GRIB2 if you're setting the MET_GRIB2CINC and MET_GRIB2CLIB.
Instead, please try the following settings:

MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0

This tells the code to look in the same directory for both the
"grib2.h"
header file and the compiled library file "libgrib2c.a".  Both should
exist
in that directory.

Next, you also need to tell it where to find the jasper, zlib, and
libpng
libraries.  Those are often installed in standard locations on
machines and
the configure script finds them without you needing to tell it where
to
look.  But based on your settings, it looks like they are not in a
standard
location.  Instead, we'll use LDFLAGS to tell the linker where to find
those libraries (this is described in the output of ./configure
--help).

LDFLAGS='-L/h/WXQC/met-5.1/install/jasper/lib
-L/h/WXQC/met-5.1/install/zlib/lib -L/h/WXQC/met-
5.1/install/libpng/lib'

Please give that a shot and let me know how it goes.

Thanks,
John


On Fri, Mar 11, 2016 at 9:08 AM, robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> Fri Mar 11 09:08:39 2016: Request 75501 was acted upon.
> Transaction: Ticket created by robert.craig.2 at us.af.mil
>        Queue: met_help
>      Subject: Intalling MET 5-1
>        Owner: Nobody
>   Requestors: robert.craig.2 at us.af.mil
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
>
>
> John, I am installing MET 5.1 on a new computer  system here.
Below are
> the contents of my met-5.1 so far:
>
> aclocal.m4    config.h     config.log     config.sub  configure.ac
> depcomp  export_vars.bat  lib       Makefile.am  Make-include
missing
> README     scripts  src
> config.guess  config.h.in  config.status  configure   data
doc
>     install-sh       Makefile  Makefile.in  make_install.log  out
> run_tests  share    stamp-h1
>
> In lib, I have the following:
>
> BUFRLIB_v10-0-1  g2clib-1.4.0  GRIBI_copygb.exe  gsl-1.15  jasper
libf2c
> libpng-1.2.34  netcdf-4.1.3  tar  zlib-1.2.6
>
> Below is the env variables set:
>
> LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> MAIL=/var/spool/mail/qcteam
>
>
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/lpp/ssp/perl5/man
> MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> MET_GRIB2CINC=-I/h/WXQC/met-5.1/lib/g2clib-1.4.0
> -I/h/WXQC/met-5.1/install/jasper/include/jasper
> -I/h/WXQC/met-5.1/install/zlib/include
> -I/h/WXQC/met-5.1/install/libpng/include
> MET_GRIB2CLIB=-L/h/WXQC/met-5.1/lib/g2clib-1.4.0
> -L/h/WXQC/met-5.1/install/jasper/lib -L/h/WXQC/met-
5.1/install/zlib/lib
> -L/h/WXQC/met-5.1/install/libpng/lib
> MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
>
>
MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles:/opt/mellanox/bupc/2.18.0/modules
> MODULESHOME=/usr/share/Modules
>
> From page 32 of the MET 5.1 users guide, I ran step 1) and all
seemed to
> go well
> When I run step 2), it dies and I get the following output:
> [1]     21366
> [1123 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] In file included from
> data2d_grib2.cc:29:
> data2d_grib2.h:27:21: error: grib2.h: No such file or directory
> In file included from data2d_grib2.cc:29:
> data2d_grib2.h:96: error: \u2018gribfield\u2019 has not been
declared
> data2d_grib2.h:99: error: \u2018g2int\u2019 has not been declared
> data2d_grib2.h:100: error: \u2018g2int\u2019 has not been declared
> data2d_grib2.h:101: error: \u2018gribfield\u2019 has not been
declared
> data2d_grib2.h:103: error: \u2018g2int\u2019 has not been declared
> data2d_grib2.cc:36: error: variable or field \u2018g2_miss\u2019
declared
> void
> data2d_grib2.cc:36: error: \u2018gribfield\u2019 was not declared in
this
> scope
> data2d_grib2.cc:36: error: \u2018gfld\u2019 was not declared in this
scope
> data2d_grib2.cc:36: error: expected primary-expression before
> \u2018float\u2019
> data2d_grib2.cc:36: error: expected primary-expression before
> \u2018int\u2019
> data2d_grib2.cc: In member function \u2018void
> MetGrib2DataFile::read_grib2_record_list()\u2019:
> data2d_grib2.cc:533: error: \u2018gribfield\u2019 was not declared
in this
> scope
> data2d_grib2.cc:533: error: \u2018gfld\u2019 was not declared in
this scope
> data2d_grib2.cc:536: error: \u2018g2int\u2019 was not declared in
this
> scope
> data2d_grib2.cc:536: error: expected \u2018;\u2019 before
> \u2018numfields\u2019
> data2d_grib2.cc:540: error: \u2018numfields\u2019 was not declared
in this
> scope
> data2d_grib2.cc:674: error: expected \u2018;\u2019 before
> \u2018range_typ\u2019
> data2d_grib2.cc:677: error: expected \u2018;\u2019 before
> \u2018range_val\u2019
> data2d_grib2.cc:680: error: \u2018range_typ\u2019 was not declared
in this
> scope
> data2d_grib2.cc:681: error: \u2018range_val\u2019 was not declared
in this
> scope
> data2d_grib2.cc:705: error: \u2018g2_free\u2019 was not declared in
this
> scope
> data2d_grib2.cc: At global scope:
> data2d_grib2.cc:723: error: variable or field
\u2018read_grib2_grid\u2019
> declared void
> data2d_grib2.cc:723: error: \u2018gribfield\u2019 was not declared
in this
> scope
> data2d_grib2.cc:723: error: \u2018gfld\u2019 was not declared in
this scope
> make[3]: *** [libvx_data2d_grib2_a-data2d_grib2.o] Error 1
> make[2]: *** [install-recursive] Error 1
> make[1]: *** [install-recursive] Error 1
> make: *** [install-recursive] Error 1
>
> [1] +  Done(2)                 make install > make_install.log &
>
> Not sure what to do at this point.  Hope you can help.
>
> Bob
>
>
>
>

------------------------------------------------
Subject: Intalling MET 5-1
From: robert.craig.2 at us.af.mil
Time: Fri Mar 11 11:01:18 2016

John, I made the changes you suggested with one caveat:  I changed
"install"
to "lib" in the LDFLAGS since the libraries are in /h/WXQC/met-
5.1/lib.  Also
in the MET 5.1 Users Guide, on page 32, the step 2)  says to 'make
install >&
make_install.log &' and I assume you meant ''make install >
make_install.log
&'.  So after setting the environmental variables and running step 1)
then
Step 2)  the compile gives me the following messages and then stops.
Attached
in the log file.

[1227 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] make install >
make_install.log &
[1]     28326
[1228 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] /usr/bin/ld: cannot find
-ljasper
collect2: ld returned 1 exit status
make[4]: *** [ensemble_stat] Error 1
make[3]: *** [install-recursive] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1

[1] +  Done(2)                 make install > make_install.log &

My env vars are below.  There is no lib directory in jasper.  A dir of
jasper
is listed below:

acaux       ChangeLog   config.status  configure.ac  data  INSTALL
jasper.spec.in  LICENSE   Makefile.am  NEWS    src
aclocal.m4  config.log  configure      COPYRIGHT     doc   jasper.spec
libtool         Makefile  Makefile.in  README

LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper -L/h/WXQC/met-5.1/lib/zlib-
1.2.6/lib -L/h/WXQC/met-5.1/lib/libpng-1.2.34
LD_LIBRARY_PATH=/ibrix/intel/Compiler/11.1/069/lib/intel64:/gpfs/lsf/9.1/linux2.6-
glibc2.3-
x86_64/lib:/ibrix/intel/Compiler/11.1/069/lib/intel64:/usr/local/itt/idl/idl80/bin/bin.linux.x86_64/dm/lib:/usr/local/itt/idl/idl80/bin/bin.linux.x86_64:/usr/mpi/gcc/openmpi-
1.8.4/lib64:/home/adamsr/python/sage/sage-
4.7.2/local/lib:/home/adamsr/python/basemap/lib:/home/qcteam/netcdf/netcdf-
4.1.3/compiled/lib:/h/common/gsl-1.15/lib
LESS=iX
LESSOPEN=||/usr/bin/lesspipe.sh %s
LOADEDMODULES=mpi/1.8.4
LOGNAME=qcteam
LSF_BINDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/bin
LSF_ENVDIR=/gpfs/lsf/conf
LSF_LIBDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/lib
LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
MAIL=/var/spool/mail/qcteam
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/lpp/ssp/perl5/man
MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled

What next?

-----Original Message-----
From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
Sent: Friday, March 11, 2016 10:53 AM
To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1

Hi,

It looks like the compiler is having trouble finding the "grib2.h"
include
file.  This is caused by the way you have set the MET_GRIB2CINC and
MET_GRIB2CLIB variables.  The configure script is not expecting them
to
include "-I" and "-L", as you've set them.  Actually, you do not need
to set
MET_GRIB2 if you're setting the MET_GRIB2CINC and MET_GRIB2CLIB.
Instead, please try the following settings:

MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0

This tells the code to look in the same directory for both the
"grib2.h"
header file and the compiled library file "libgrib2c.a".  Both should
exist in
that directory.

Next, you also need to tell it where to find the jasper, zlib, and
libpng
libraries.  Those are often installed in standard locations on
machines and
the configure script finds them without you needing to tell it where
to look.
But based on your settings, it looks like they are not in a standard
location.
Instead, we'll use LDFLAGS to tell the linker where to find those
libraries
(this is described in the output of ./configure --help).

LDFLAGS='-L/h/WXQC/met-5.1/install/jasper/lib
-L/h/WXQC/met-5.1/install/zlib/lib -L/h/WXQC/met-
5.1/install/libpng/lib'

Please give that a shot and let me know how it goes.

Thanks,
John


On Fri, Mar 11, 2016 at 9:08 AM, robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> Fri Mar 11 09:08:39 2016: Request 75501 was acted upon.
> Transaction: Ticket created by robert.craig.2 at us.af.mil
>        Queue: met_help
>      Subject: Intalling MET 5-1
>        Owner: Nobody
>   Requestors: robert.craig.2 at us.af.mil
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501
> >
>
>
> John, I am installing MET 5.1 on a new computer  system here.
Below are
> the contents of my met-5.1 so far:
>
> aclocal.m4    config.h     config.log     config.sub  configure.ac
> depcomp  export_vars.bat  lib       Makefile.am  Make-include
missing
> README     scripts  src
> config.guess  config.h.in  config.status  configure   data
doc
>     install-sh       Makefile  Makefile.in  make_install.log  out
> run_tests  share    stamp-h1
>
> In lib, I have the following:
>
> BUFRLIB_v10-0-1  g2clib-1.4.0  GRIBI_copygb.exe  gsl-1.15  jasper
> libf2c
> libpng-1.2.34  netcdf-4.1.3  tar  zlib-1.2.6
>
> Below is the env variables set:
>
> LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> MAIL=/var/spool/mail/qcteam
>
>
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/lpp/ssp
> /perl5/man
> MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> MET_GRIB2CINC=-I/h/WXQC/met-5.1/lib/g2clib-1.4.0
> -I/h/WXQC/met-5.1/install/jasper/include/jasper
> -I/h/WXQC/met-5.1/install/zlib/include
> -I/h/WXQC/met-5.1/install/libpng/include
> MET_GRIB2CLIB=-L/h/WXQC/met-5.1/lib/g2clib-1.4.0
> -L/h/WXQC/met-5.1/install/jasper/lib
> -L/h/WXQC/met-5.1/install/zlib/lib
> -L/h/WXQC/met-5.1/install/libpng/lib
> MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
>
>
MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles:/opt/mellan
> ox/bupc/2.18.0/modules
> MODULESHOME=/usr/share/Modules
>
> From page 32 of the MET 5.1 users guide, I ran step 1) and all
seemed
> to go well When I run step 2), it dies and I get the following
output:
> [1]     21366
> [1123 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] In file included from
> data2d_grib2.cc:29:
> data2d_grib2.h:27:21: error: grib2.h: No such file or directory In
> file included from data2d_grib2.cc:29:
> data2d_grib2.h:96: error: \u2018gribfield\u2019 has not been
declared
> data2d_grib2.h:99: error: \u2018g2int\u2019 has not been declared
> data2d_grib2.h:100: error: \u2018g2int\u2019 has not been declared
> data2d_grib2.h:101: error: \u2018gribfield\u2019 has not been
declared
> data2d_grib2.h:103: error: \u2018g2int\u2019 has not been declared
> data2d_grib2.cc:36: error: variable or field \u2018g2_miss\u2019
> declared void
> data2d_grib2.cc:36: error: \u2018gribfield\u2019 was not declared in
> this scope
> data2d_grib2.cc:36: error: \u2018gfld\u2019 was not declared in this
> scope
> data2d_grib2.cc:36: error: expected primary-expression before
> \u2018float\u2019
> data2d_grib2.cc:36: error: expected primary-expression before
> \u2018int\u2019
> data2d_grib2.cc: In member function \u2018void
> MetGrib2DataFile::read_grib2_record_list()\u2019:
> data2d_grib2.cc:533: error: \u2018gribfield\u2019 was not declared
in
> this scope
> data2d_grib2.cc:533: error: \u2018gfld\u2019 was not declared in
this
> scope
> data2d_grib2.cc:536: error: \u2018g2int\u2019 was not declared in
this
> scope
> data2d_grib2.cc:536: error: expected \u2018;\u2019 before
> \u2018numfields\u2019
> data2d_grib2.cc:540: error: \u2018numfields\u2019 was not declared
in
> this scope
> data2d_grib2.cc:674: error: expected \u2018;\u2019 before
> \u2018range_typ\u2019
> data2d_grib2.cc:677: error: expected \u2018;\u2019 before
> \u2018range_val\u2019
> data2d_grib2.cc:680: error: \u2018range_typ\u2019 was not declared
in
> this scope
> data2d_grib2.cc:681: error: \u2018range_val\u2019 was not declared
in
> this scope
> data2d_grib2.cc:705: error: \u2018g2_free\u2019 was not declared in
> this scope
> data2d_grib2.cc: At global scope:
> data2d_grib2.cc:723: error: variable or field
> \u2018read_grib2_grid\u2019 declared void
> data2d_grib2.cc:723: error: \u2018gribfield\u2019 was not declared
in
> this scope
> data2d_grib2.cc:723: error: \u2018gfld\u2019 was not declared in
this
> scope
> make[3]: *** [libvx_data2d_grib2_a-data2d_grib2.o] Error 1
> make[2]: *** [install-recursive] Error 1
> make[1]: *** [install-recursive] Error 1
> make: *** [install-recursive] Error 1
>
> [1] +  Done(2)                 make install > make_install.log &
>
> Not sure what to do at this point.  Hope you can help.
>
> Bob
>
>
>
>


------------------------------------------------
Subject: Intalling MET 5-1
From: John Halley Gotway
Time: Fri Mar 11 12:24:10 2016

Bob,

OK great, we're making progress!

First, in the instructions we say "make install >& make_install.log".
In
c-shell that directs both standard out and standard error to the same
output log file.  I think the syntax in bourne-shell or korn-shell is
different.  If you're using those, please try this:
   make install > make_install.log 2>&1

Sounds like we should update the user's guide with c-shell and non-c-
shell
variants.

On to the jasperlib issue.  With your LDFLAGS setting, we've told MET
to
look for the file "libjasper.a" (or libjasper.so*) in here:
   ls /h/WXQC/met-5.1/lib/jasper/libjasper*

But I suspect it actually lives in a lib sub-directory instead!  And
for
zlib and libpng, I think there is *not* a lib subdirectory.

Try this:
  ls /h/WXQC/met-5.1/lib/jasper/lib/libjasper.a
  ls /h/WXQC/met-5.1/lib/zlib-1.2.6/libz.a
  ls /h/WXQC/met-5.1/lib/libpng-1.2.34/libpng.a

If you find library files in all those locations, use the following
environment variable setting:

LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper/lib -L/h/WXQC/met-5.1/lib/zlib-
1.2.6
-L/h/WXQC/met-5.1/lib/libpng-1.2.34

Sorry this is so confusing!

John



On Fri, Mar 11, 2016 at 11:01 AM, robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
>
> John, I made the changes you suggested with one caveat:  I changed
> "install"
> to "lib" in the LDFLAGS since the libraries are in /h/WXQC/met-
5.1/lib.
> Also
> in the MET 5.1 Users Guide, on page 32, the step 2)  says to 'make
install
> >&
> make_install.log &' and I assume you meant ''make install >
> make_install.log
> &'.  So after setting the environmental variables and running step
1) then
> Step 2)  the compile gives me the following messages and then stops.
> Attached
> in the log file.
>
> [1227 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] make install >
make_install.log
> &
> [1]     28326
> [1228 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] /usr/bin/ld: cannot find
> -ljasper
> collect2: ld returned 1 exit status
> make[4]: *** [ensemble_stat] Error 1
> make[3]: *** [install-recursive] Error 1
> make[2]: *** [install-recursive] Error 1
> make[1]: *** [install-recursive] Error 1
> make: *** [install-recursive] Error 1
>
> [1] +  Done(2)                 make install > make_install.log &
>
> My env vars are below.  There is no lib directory in jasper.  A dir
of
> jasper
> is listed below:
>
> acaux       ChangeLog   config.status  configure.ac  data  INSTALL
> jasper.spec.in  LICENSE   Makefile.am  NEWS    src
> aclocal.m4  config.log  configure      COPYRIGHT     doc
jasper.spec
> libtool         Makefile  Makefile.in  README
>
> LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper -L/h/WXQC/met-5.1/lib/zlib-
1.2.6/lib
> -L/h/WXQC/met-5.1/lib/libpng-1.2.34
>
>
LD_LIBRARY_PATH=/ibrix/intel/Compiler/11.1/069/lib/intel64:/gpfs/lsf/9.1/linux2.6-
glibc2.3-
x86_64/lib:/ibrix/intel/Compiler/11.1/069/lib/intel64:/usr/local/itt/idl/idl80/bin/bin.linux.x86_64/dm/lib:/usr/local/itt/idl/idl80/bin/bin.linux.x86_64:/usr/mpi/gcc/openmpi-
1.8.4/lib64:/home/adamsr/python/sage/sage-
4.7.2/local/lib:/home/adamsr/python/basemap/lib:/home/qcteam/netcdf/netcdf-
4.1.3/compiled/lib:/h/common/gsl-1.15/lib
> LESS=iX
> LESSOPEN=||/usr/bin/lesspipe.sh %s
> LOADEDMODULES=mpi/1.8.4
> LOGNAME=qcteam
> LSF_BINDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/bin
> LSF_ENVDIR=/gpfs/lsf/conf
> LSF_LIBDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/lib
> LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> MAIL=/var/spool/mail/qcteam
>
>
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/lpp/ssp/perl5/man
> MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
>
> What next?
>
> -----Original Message-----
> From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> Sent: Friday, March 11, 2016 10:53 AM
> To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
>
> Hi,
>
> It looks like the compiler is having trouble finding the "grib2.h"
include
> file.  This is caused by the way you have set the MET_GRIB2CINC and
> MET_GRIB2CLIB variables.  The configure script is not expecting them
to
> include "-I" and "-L", as you've set them.  Actually, you do not
need to
> set
> MET_GRIB2 if you're setting the MET_GRIB2CINC and MET_GRIB2CLIB.
> Instead, please try the following settings:
>
> MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
>
> This tells the code to look in the same directory for both the
"grib2.h"
> header file and the compiled library file "libgrib2c.a".  Both
should
> exist in
> that directory.
>
> Next, you also need to tell it where to find the jasper, zlib, and
libpng
> libraries.  Those are often installed in standard locations on
machines and
> the configure script finds them without you needing to tell it where
to
> look.
> But based on your settings, it looks like they are not in a standard
> location.
> Instead, we'll use LDFLAGS to tell the linker where to find those
libraries
> (this is described in the output of ./configure --help).
>
> LDFLAGS='-L/h/WXQC/met-5.1/install/jasper/lib
> -L/h/WXQC/met-5.1/install/zlib/lib -L/h/WXQC/met-
5.1/install/libpng/lib'
>
> Please give that a shot and let me know how it goes.
>
> Thanks,
> John
>
>
> On Fri, Mar 11, 2016 at 9:08 AM, robert.craig.2 at us.af.mil via RT <
> met_help at ucar.edu> wrote:
>
> >
> > Fri Mar 11 09:08:39 2016: Request 75501 was acted upon.
> > Transaction: Ticket created by robert.craig.2 at us.af.mil
> >        Queue: met_help
> >      Subject: Intalling MET 5-1
> >        Owner: Nobody
> >   Requestors: robert.craig.2 at us.af.mil
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501
> > >
> >
> >
> > John, I am installing MET 5.1 on a new computer  system here.
Below are
> > the contents of my met-5.1 so far:
> >
> > aclocal.m4    config.h     config.log     config.sub  configure.ac
> > depcomp  export_vars.bat  lib       Makefile.am  Make-include
> missing
> > README     scripts  src
> > config.guess  config.h.in  config.status  configure   data
doc
> >     install-sh       Makefile  Makefile.in  make_install.log  out
> > run_tests  share    stamp-h1
> >
> > In lib, I have the following:
> >
> > BUFRLIB_v10-0-1  g2clib-1.4.0  GRIBI_copygb.exe  gsl-1.15  jasper
> > libf2c
> > libpng-1.2.34  netcdf-4.1.3  tar  zlib-1.2.6
> >
> > Below is the env variables set:
> >
> > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > MAIL=/var/spool/mail/qcteam
> >
> >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/lpp/ssp
> > /perl5/man
> > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > MET_GRIB2CINC=-I/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > -I/h/WXQC/met-5.1/install/jasper/include/jasper
> > -I/h/WXQC/met-5.1/install/zlib/include
> > -I/h/WXQC/met-5.1/install/libpng/include
> > MET_GRIB2CLIB=-L/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > -L/h/WXQC/met-5.1/install/jasper/lib
> > -L/h/WXQC/met-5.1/install/zlib/lib
> > -L/h/WXQC/met-5.1/install/libpng/lib
> > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> >
> >
MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles:/opt/mellan
> > ox/bupc/2.18.0/modules
> > MODULESHOME=/usr/share/Modules
> >
> > From page 32 of the MET 5.1 users guide, I ran step 1) and all
seemed
> > to go well When I run step 2), it dies and I get the following
output:
> > [1]     21366
> > [1123 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] In file included from
> > data2d_grib2.cc:29:
> > data2d_grib2.h:27:21: error: grib2.h: No such file or directory In
> > file included from data2d_grib2.cc:29:
> > data2d_grib2.h:96: error: \u2018gribfield\u2019 has not been
declared
> > data2d_grib2.h:99: error: \u2018g2int\u2019 has not been declared
> > data2d_grib2.h:100: error: \u2018g2int\u2019 has not been declared
> > data2d_grib2.h:101: error: \u2018gribfield\u2019 has not been
declared
> > data2d_grib2.h:103: error: \u2018g2int\u2019 has not been declared
> > data2d_grib2.cc:36: error: variable or field \u2018g2_miss\u2019
> > declared void
> > data2d_grib2.cc:36: error: \u2018gribfield\u2019 was not declared
in
> > this scope
> > data2d_grib2.cc:36: error: \u2018gfld\u2019 was not declared in
this
> > scope
> > data2d_grib2.cc:36: error: expected primary-expression before
> > \u2018float\u2019
> > data2d_grib2.cc:36: error: expected primary-expression before
> > \u2018int\u2019
> > data2d_grib2.cc: In member function \u2018void
> > MetGrib2DataFile::read_grib2_record_list()\u2019:
> > data2d_grib2.cc:533: error: \u2018gribfield\u2019 was not declared
in
> > this scope
> > data2d_grib2.cc:533: error: \u2018gfld\u2019 was not declared in
this
> > scope
> > data2d_grib2.cc:536: error: \u2018g2int\u2019 was not declared in
this
> > scope
> > data2d_grib2.cc:536: error: expected \u2018;\u2019 before
> > \u2018numfields\u2019
> > data2d_grib2.cc:540: error: \u2018numfields\u2019 was not declared
in
> > this scope
> > data2d_grib2.cc:674: error: expected \u2018;\u2019 before
> > \u2018range_typ\u2019
> > data2d_grib2.cc:677: error: expected \u2018;\u2019 before
> > \u2018range_val\u2019
> > data2d_grib2.cc:680: error: \u2018range_typ\u2019 was not declared
in
> > this scope
> > data2d_grib2.cc:681: error: \u2018range_val\u2019 was not declared
in
> > this scope
> > data2d_grib2.cc:705: error: \u2018g2_free\u2019 was not declared
in
> > this scope
> > data2d_grib2.cc: At global scope:
> > data2d_grib2.cc:723: error: variable or field
> > \u2018read_grib2_grid\u2019 declared void
> > data2d_grib2.cc:723: error: \u2018gribfield\u2019 was not declared
in
> > this scope
> > data2d_grib2.cc:723: error: \u2018gfld\u2019 was not declared in
this
> > scope
> > make[3]: *** [libvx_data2d_grib2_a-data2d_grib2.o] Error 1
> > make[2]: *** [install-recursive] Error 1
> > make[1]: *** [install-recursive] Error 1
> > make: *** [install-recursive] Error 1
> >
> > [1] +  Done(2)                 make install > make_install.log &
> >
> > Not sure what to do at this point.  Hope you can help.
> >
> > Bob
> >
> >
> >
> >
>
>
>

------------------------------------------------
Subject: RE: [rt.rap.ucar.edu #75501] Intalling MET 5-1
From: robert.craig.2 at us.af.mil
Time: Fri Mar 11 12:28:44 2016

John, I don't have a lib directory under jasper.  The listing of the
jasper directory was in my last email.

Bob

-----Original Message-----
From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
Sent: Friday, March 11, 2016 1:24 PM
To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1

Bob,

OK great, we're making progress!

First, in the instructions we say "make install >& make_install.log".
In c-shell that directs both standard out and standard error to the
same output log file.  I think the syntax in bourne-shell or korn-
shell is different.  If you're using those, please try this:
   make install > make_install.log 2>&1

Sounds like we should update the user's guide with c-shell and non-c-
shell variants.

On to the jasperlib issue.  With your LDFLAGS setting, we've told MET
to look for the file "libjasper.a" (or libjasper.so*) in here:
   ls /h/WXQC/met-5.1/lib/jasper/libjasper*

But I suspect it actually lives in a lib sub-directory instead!  And
for zlib and libpng, I think there is *not* a lib subdirectory.

Try this:
  ls /h/WXQC/met-5.1/lib/jasper/lib/libjasper.a
  ls /h/WXQC/met-5.1/lib/zlib-1.2.6/libz.a
  ls /h/WXQC/met-5.1/lib/libpng-1.2.34/libpng.a

If you find library files in all those locations, use the following
environment variable setting:

LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper/lib -L/h/WXQC/met-5.1/lib/zlib-
1.2.6
-L/h/WXQC/met-5.1/lib/libpng-1.2.34

Sorry this is so confusing!

John



On Fri, Mar 11, 2016 at 11:01 AM, robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
>
> John, I made the changes you suggested with one caveat:  I changed
> "install"
> to "lib" in the LDFLAGS since the libraries are in /h/WXQC/met-
5.1/lib.
> Also
> in the MET 5.1 Users Guide, on page 32, the step 2)  says to 'make
> install
> >&
> make_install.log &' and I assume you meant ''make install >
> make_install.log &'.  So after setting the environmental variables
and
> running step 1) then Step 2)  the compile gives me the following
> messages and then stops.
> Attached
> in the log file.
>
> [1227 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] make install >
> make_install.log &
> [1]     28326
> [1228 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] /usr/bin/ld: cannot find
> -ljasper
> collect2: ld returned 1 exit status
> make[4]: *** [ensemble_stat] Error 1
> make[3]: *** [install-recursive] Error 1
> make[2]: *** [install-recursive] Error 1
> make[1]: *** [install-recursive] Error 1
> make: *** [install-recursive] Error 1
>
> [1] +  Done(2)                 make install > make_install.log &
>
> My env vars are below.  There is no lib directory in jasper.  A dir
of
> jasper is listed below:
>
> acaux       ChangeLog   config.status  configure.ac  data  INSTALL
> jasper.spec.in  LICENSE   Makefile.am  NEWS    src
> aclocal.m4  config.log  configure      COPYRIGHT     doc
jasper.spec
> libtool         Makefile  Makefile.in  README
>
> LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper
> -L/h/WXQC/met-5.1/lib/zlib-1.2.6/lib
> -L/h/WXQC/met-5.1/lib/libpng-1.2.34
>
>
LD_LIBRARY_PATH=/ibrix/intel/Compiler/11.1/069/lib/intel64:/gpfs/lsf/9
> .1/linux2.6-glibc2.3-
x86_64/lib:/ibrix/intel/Compiler/11.1/069/lib/int
>
el64:/usr/local/itt/idl/idl80/bin/bin.linux.x86_64/dm/lib:/usr/local/i
> tt/idl/idl80/bin/bin.linux.x86_64:/usr/mpi/gcc/openmpi-
1.8.4/lib64:/ho
> me/adamsr/python/sage/sage-
4.7.2/local/lib:/home/adamsr/python/basemap
> /lib:/home/qcteam/netcdf/netcdf-4.1.3/compiled/lib:/h/common/gsl-
1.15/
> lib
> LESS=iX
> LESSOPEN=||/usr/bin/lesspipe.sh %s
> LOADEDMODULES=mpi/1.8.4
> LOGNAME=qcteam
> LSF_BINDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/bin
> LSF_ENVDIR=/gpfs/lsf/conf
> LSF_LIBDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/lib
> LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> MAIL=/var/spool/mail/qcteam
>
>
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/lpp/ssp
> /perl5/man
> MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
>
> What next?
>
> -----Original Message-----
> From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> Sent: Friday, March 11, 2016 10:53 AM
> To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
>
> Hi,
>
> It looks like the compiler is having trouble finding the "grib2.h"
> include file.  This is caused by the way you have set the
> MET_GRIB2CINC and MET_GRIB2CLIB variables.  The configure script is
> not expecting them to include "-I" and "-L", as you've set them.
> Actually, you do not need to set
> MET_GRIB2 if you're setting the MET_GRIB2CINC and MET_GRIB2CLIB.
> Instead, please try the following settings:
>
> MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
>
> This tells the code to look in the same directory for both the
"grib2.h"
> header file and the compiled library file "libgrib2c.a".  Both
should
> exist in that directory.
>
> Next, you also need to tell it where to find the jasper, zlib, and
> libpng libraries.  Those are often installed in standard locations
on
> machines and the configure script finds them without you needing to
> tell it where to look.
> But based on your settings, it looks like they are not in a standard
> location.
> Instead, we'll use LDFLAGS to tell the linker where to find those
> libraries (this is described in the output of ./configure --help).
>
> LDFLAGS='-L/h/WXQC/met-5.1/install/jasper/lib
> -L/h/WXQC/met-5.1/install/zlib/lib -L/h/WXQC/met-
5.1/install/libpng/lib'
>
> Please give that a shot and let me know how it goes.
>
> Thanks,
> John
>
>
> On Fri, Mar 11, 2016 at 9:08 AM, robert.craig.2 at us.af.mil via RT <
> met_help at ucar.edu> wrote:
>
> >
> > Fri Mar 11 09:08:39 2016: Request 75501 was acted upon.
> > Transaction: Ticket created by robert.craig.2 at us.af.mil
> >        Queue: met_help
> >      Subject: Intalling MET 5-1
> >        Owner: Nobody
> >   Requestors: robert.craig.2 at us.af.mil
> >       Status: new
> >  Ticket <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501
> > >
> >
> >
> > John, I am installing MET 5.1 on a new computer  system here.
Below are
> > the contents of my met-5.1 so far:
> >
> > aclocal.m4    config.h     config.log     config.sub  configure.ac
> > depcomp  export_vars.bat  lib       Makefile.am  Make-include
> missing
> > README     scripts  src
> > config.guess  config.h.in  config.status  configure   data
doc
> >     install-sh       Makefile  Makefile.in  make_install.log  out
> > run_tests  share    stamp-h1
> >
> > In lib, I have the following:
> >
> > BUFRLIB_v10-0-1  g2clib-1.4.0  GRIBI_copygb.exe  gsl-1.15  jasper
> > libf2c
> > libpng-1.2.34  netcdf-4.1.3  tar  zlib-1.2.6
> >
> > Below is the env variables set:
> >
> > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > MAIL=/var/spool/mail/qcteam
> >
> >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/lpp/s
> > sp
> > /perl5/man
> > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > MET_GRIB2CINC=-I/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > -I/h/WXQC/met-5.1/install/jasper/include/jasper
> > -I/h/WXQC/met-5.1/install/zlib/include
> > -I/h/WXQC/met-5.1/install/libpng/include
> > MET_GRIB2CLIB=-L/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > -L/h/WXQC/met-5.1/install/jasper/lib
> > -L/h/WXQC/met-5.1/install/zlib/lib
> > -L/h/WXQC/met-5.1/install/libpng/lib
> > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> >
> >
MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles:/opt/mell
> > an
> > ox/bupc/2.18.0/modules
> > MODULESHOME=/usr/share/Modules
> >
> > From page 32 of the MET 5.1 users guide, I ran step 1) and all
> > seemed to go well When I run step 2), it dies and I get the
following output:
> > [1]     21366
> > [1123 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] In file included from
> > data2d_grib2.cc:29:
> > data2d_grib2.h:27:21: error: grib2.h: No such file or directory In
> > file included from data2d_grib2.cc:29:
> > data2d_grib2.h:96: error: \u2018gribfield\u2019 has not been
> > declared
> > data2d_grib2.h:99: error: \u2018g2int\u2019 has not been declared
> > data2d_grib2.h:100: error: \u2018g2int\u2019 has not been declared
> > data2d_grib2.h:101: error: \u2018gribfield\u2019 has not been
> > declared
> > data2d_grib2.h:103: error: \u2018g2int\u2019 has not been declared
> > data2d_grib2.cc:36: error: variable or field \u2018g2_miss\u2019
> > declared void
> > data2d_grib2.cc:36: error: \u2018gribfield\u2019 was not declared
in
> > this scope
> > data2d_grib2.cc:36: error: \u2018gfld\u2019 was not declared in
this
> > scope
> > data2d_grib2.cc:36: error: expected primary-expression before
> > \u2018float\u2019
> > data2d_grib2.cc:36: error: expected primary-expression before
> > \u2018int\u2019
> > data2d_grib2.cc: In member function \u2018void
> > MetGrib2DataFile::read_grib2_record_list()\u2019:
> > data2d_grib2.cc:533: error: \u2018gribfield\u2019 was not declared
> > in this scope
> > data2d_grib2.cc:533: error: \u2018gfld\u2019 was not declared in
> > this scope
> > data2d_grib2.cc:536: error: \u2018g2int\u2019 was not declared in
> > this scope
> > data2d_grib2.cc:536: error: expected \u2018;\u2019 before
> > \u2018numfields\u2019
> > data2d_grib2.cc:540: error: \u2018numfields\u2019 was not declared
> > in this scope
> > data2d_grib2.cc:674: error: expected \u2018;\u2019 before
> > \u2018range_typ\u2019
> > data2d_grib2.cc:677: error: expected \u2018;\u2019 before
> > \u2018range_val\u2019
> > data2d_grib2.cc:680: error: \u2018range_typ\u2019 was not declared
> > in this scope
> > data2d_grib2.cc:681: error: \u2018range_val\u2019 was not declared
> > in this scope
> > data2d_grib2.cc:705: error: \u2018g2_free\u2019 was not declared
in
> > this scope
> > data2d_grib2.cc: At global scope:
> > data2d_grib2.cc:723: error: variable or field
> > \u2018read_grib2_grid\u2019 declared void
> > data2d_grib2.cc:723: error: \u2018gribfield\u2019 was not declared
> > in this scope
> > data2d_grib2.cc:723: error: \u2018gfld\u2019 was not declared in
> > this scope
> > make[3]: *** [libvx_data2d_grib2_a-data2d_grib2.o] Error 1
> > make[2]: *** [install-recursive] Error 1
> > make[1]: *** [install-recursive] Error 1
> > make: *** [install-recursive] Error 1
> >
> > [1] +  Done(2)                 make install > make_install.log &
> >
> > Not sure what to do at this point.  Hope you can help.
> >
> > Bob
> >
> >
> >
> >
>
>
>



------------------------------------------------
Subject: Intalling MET 5-1
From: John Halley Gotway
Time: Fri Mar 11 12:36:21 2016

Bob,

Sorry I missed that.  OK, when you compiled jasperlib it must have
installed it somewhere on a system location.  Try this:
   locate libjasper.a

If that finds it, you can point to it.  Or you could recompile jasper
using
the "--prefix" option to telll it where you want it compiled.  For
example:
   cd /h/WXQC/met-5.1/lib/libpng-1.2.34/
   ./configure --prefix=/h/WXQC/met-5.1/lib/libpng-1.2.34
   make install

The "install" step should create this directory:
/h/WXQC/met-5.1/lib/libpng-1.2.34/lib

When I have to install MET on a new system, I often install all the
libraries (NetCDF, GSL, BUFRLIB, and the GRIB2 libraries) to the same
directory.  Installing them to different directories works too, but
then we
need to specify them individually, as we're doing.

Does that help?

Thanks,
John

On Fri, Mar 11, 2016 at 12:28 PM, robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
>
> John, I don't have a lib directory under jasper.  The listing of the
> jasper directory was in my last email.
>
> Bob
>
> -----Original Message-----
> From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> Sent: Friday, March 11, 2016 1:24 PM
> To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
>
> Bob,
>
> OK great, we're making progress!
>
> First, in the instructions we say "make install >&
make_install.log".  In
> c-shell that directs both standard out and standard error to the
same
> output log file.  I think the syntax in bourne-shell or korn-shell
is
> different.  If you're using those, please try this:
>    make install > make_install.log 2>&1
>
> Sounds like we should update the user's guide with c-shell and non-
c-shell
> variants.
>
> On to the jasperlib issue.  With your LDFLAGS setting, we've told
MET to
> look for the file "libjasper.a" (or libjasper.so*) in here:
>    ls /h/WXQC/met-5.1/lib/jasper/libjasper*
>
> But I suspect it actually lives in a lib sub-directory instead!  And
for
> zlib and libpng, I think there is *not* a lib subdirectory.
>
> Try this:
>   ls /h/WXQC/met-5.1/lib/jasper/lib/libjasper.a
>   ls /h/WXQC/met-5.1/lib/zlib-1.2.6/libz.a
>   ls /h/WXQC/met-5.1/lib/libpng-1.2.34/libpng.a
>
> If you find library files in all those locations, use the following
> environment variable setting:
>
> LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper/lib -L/h/WXQC/met-5.1/lib/zlib-
1.2.6
> -L/h/WXQC/met-5.1/lib/libpng-1.2.34
>
> Sorry this is so confusing!
>
> John
>
>
>
> On Fri, Mar 11, 2016 at 11:01 AM, robert.craig.2 at us.af.mil via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
> >
> > John, I made the changes you suggested with one caveat:  I changed
> > "install"
> > to "lib" in the LDFLAGS since the libraries are in /h/WXQC/met-
5.1/lib.
> > Also
> > in the MET 5.1 Users Guide, on page 32, the step 2)  says to 'make
> > install
> > >&
> > make_install.log &' and I assume you meant ''make install >
> > make_install.log &'.  So after setting the environmental variables
and
> > running step 1) then Step 2)  the compile gives me the following
> > messages and then stops.
> > Attached
> > in the log file.
> >
> > [1227 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] make install >
> > make_install.log &
> > [1]     28326
> > [1228 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] /usr/bin/ld: cannot
find
> > -ljasper
> > collect2: ld returned 1 exit status
> > make[4]: *** [ensemble_stat] Error 1
> > make[3]: *** [install-recursive] Error 1
> > make[2]: *** [install-recursive] Error 1
> > make[1]: *** [install-recursive] Error 1
> > make: *** [install-recursive] Error 1
> >
> > [1] +  Done(2)                 make install > make_install.log &
> >
> > My env vars are below.  There is no lib directory in jasper.  A
dir of
> > jasper is listed below:
> >
> > acaux       ChangeLog   config.status  configure.ac  data  INSTALL
> > jasper.spec.in  LICENSE   Makefile.am  NEWS    src
> > aclocal.m4  config.log  configure      COPYRIGHT     doc
jasper.spec
> > libtool         Makefile  Makefile.in  README
> >
> > LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper
> > -L/h/WXQC/met-5.1/lib/zlib-1.2.6/lib
> > -L/h/WXQC/met-5.1/lib/libpng-1.2.34
> >
> >
LD_LIBRARY_PATH=/ibrix/intel/Compiler/11.1/069/lib/intel64:/gpfs/lsf/9
> > .1/linux2.6-glibc2.3-
x86_64/lib:/ibrix/intel/Compiler/11.1/069/lib/int
> >
el64:/usr/local/itt/idl/idl80/bin/bin.linux.x86_64/dm/lib:/usr/local/i
> > tt/idl/idl80/bin/bin.linux.x86_64:/usr/mpi/gcc/openmpi-
1.8.4/lib64:/ho
> > me/adamsr/python/sage/sage-
4.7.2/local/lib:/home/adamsr/python/basemap
> > /lib:/home/qcteam/netcdf/netcdf-4.1.3/compiled/lib:/h/common/gsl-
1.15/
> > lib
> > LESS=iX
> > LESSOPEN=||/usr/bin/lesspipe.sh %s
> > LOADEDMODULES=mpi/1.8.4
> > LOGNAME=qcteam
> > LSF_BINDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/bin
> > LSF_ENVDIR=/gpfs/lsf/conf
> > LSF_LIBDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/lib
> > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > MAIL=/var/spool/mail/qcteam
> >
> >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/lpp/ssp
> > /perl5/man
> > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> >
> > What next?
> >
> > -----Original Message-----
> > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > Sent: Friday, March 11, 2016 10:53 AM
> > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> >
> > Hi,
> >
> > It looks like the compiler is having trouble finding the "grib2.h"
> > include file.  This is caused by the way you have set the
> > MET_GRIB2CINC and MET_GRIB2CLIB variables.  The configure script
is
> > not expecting them to include "-I" and "-L", as you've set them.
> > Actually, you do not need to set
> > MET_GRIB2 if you're setting the MET_GRIB2CINC and MET_GRIB2CLIB.
> > Instead, please try the following settings:
> >
> > MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> >
> > This tells the code to look in the same directory for both the
"grib2.h"
> > header file and the compiled library file "libgrib2c.a".  Both
should
> > exist in that directory.
> >
> > Next, you also need to tell it where to find the jasper, zlib, and
> > libpng libraries.  Those are often installed in standard locations
on
> > machines and the configure script finds them without you needing
to
> > tell it where to look.
> > But based on your settings, it looks like they are not in a
standard
> > location.
> > Instead, we'll use LDFLAGS to tell the linker where to find those
> > libraries (this is described in the output of ./configure --help).
> >
> > LDFLAGS='-L/h/WXQC/met-5.1/install/jasper/lib
> > -L/h/WXQC/met-5.1/install/zlib/lib -L/h/WXQC/met-
5.1/install/libpng/lib'
> >
> > Please give that a shot and let me know how it goes.
> >
> > Thanks,
> > John
> >
> >
> > On Fri, Mar 11, 2016 at 9:08 AM, robert.craig.2 at us.af.mil via RT <
> > met_help at ucar.edu> wrote:
> >
> > >
> > > Fri Mar 11 09:08:39 2016: Request 75501 was acted upon.
> > > Transaction: Ticket created by robert.craig.2 at us.af.mil
> > >        Queue: met_help
> > >      Subject: Intalling MET 5-1
> > >        Owner: Nobody
> > >   Requestors: robert.craig.2 at us.af.mil
> > >       Status: new
> > >  Ticket <URL:
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501
> > > >
> > >
> > >
> > > John, I am installing MET 5.1 on a new computer  system here.
Below
> are
> > > the contents of my met-5.1 so far:
> > >
> > > aclocal.m4    config.h     config.log     config.sub
configure.ac
> > > depcomp  export_vars.bat  lib       Makefile.am  Make-include
> > missing
> > > README     scripts  src
> > > config.guess  config.h.in  config.status  configure   data
> doc
> > >     install-sh       Makefile  Makefile.in  make_install.log
out
> > > run_tests  share    stamp-h1
> > >
> > > In lib, I have the following:
> > >
> > > BUFRLIB_v10-0-1  g2clib-1.4.0  GRIBI_copygb.exe  gsl-1.15
jasper
> > > libf2c
> > > libpng-1.2.34  netcdf-4.1.3  tar  zlib-1.2.6
> > >
> > > Below is the env variables set:
> > >
> > > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > > MAIL=/var/spool/mail/qcteam
> > >
> > >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/lpp/s
> > > sp
> > > /perl5/man
> > > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > MET_GRIB2CINC=-I/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > -I/h/WXQC/met-5.1/install/jasper/include/jasper
> > > -I/h/WXQC/met-5.1/install/zlib/include
> > > -I/h/WXQC/met-5.1/install/libpng/include
> > > MET_GRIB2CLIB=-L/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > -L/h/WXQC/met-5.1/install/jasper/lib
> > > -L/h/WXQC/met-5.1/install/zlib/lib
> > > -L/h/WXQC/met-5.1/install/libpng/lib
> > > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> > >
> > >
MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles:/opt/mell
> > > an
> > > ox/bupc/2.18.0/modules
> > > MODULESHOME=/usr/share/Modules
> > >
> > > From page 32 of the MET 5.1 users guide, I ran step 1) and all
> > > seemed to go well When I run step 2), it dies and I get the
following
> output:
> > > [1]     21366
> > > [1123 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] In file included from
> > > data2d_grib2.cc:29:
> > > data2d_grib2.h:27:21: error: grib2.h: No such file or directory
In
> > > file included from data2d_grib2.cc:29:
> > > data2d_grib2.h:96: error: \u2018gribfield\u2019 has not been
> > > declared
> > > data2d_grib2.h:99: error: \u2018g2int\u2019 has not been
declared
> > > data2d_grib2.h:100: error: \u2018g2int\u2019 has not been
declared
> > > data2d_grib2.h:101: error: \u2018gribfield\u2019 has not been
> > > declared
> > > data2d_grib2.h:103: error: \u2018g2int\u2019 has not been
declared
> > > data2d_grib2.cc:36: error: variable or field \u2018g2_miss\u2019
> > > declared void
> > > data2d_grib2.cc:36: error: \u2018gribfield\u2019 was not
declared in
> > > this scope
> > > data2d_grib2.cc:36: error: \u2018gfld\u2019 was not declared in
this
> > > scope
> > > data2d_grib2.cc:36: error: expected primary-expression before
> > > \u2018float\u2019
> > > data2d_grib2.cc:36: error: expected primary-expression before
> > > \u2018int\u2019
> > > data2d_grib2.cc: In member function \u2018void
> > > MetGrib2DataFile::read_grib2_record_list()\u2019:
> > > data2d_grib2.cc:533: error: \u2018gribfield\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:533: error: \u2018gfld\u2019 was not declared in
> > > this scope
> > > data2d_grib2.cc:536: error: \u2018g2int\u2019 was not declared
in
> > > this scope
> > > data2d_grib2.cc:536: error: expected \u2018;\u2019 before
> > > \u2018numfields\u2019
> > > data2d_grib2.cc:540: error: \u2018numfields\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:674: error: expected \u2018;\u2019 before
> > > \u2018range_typ\u2019
> > > data2d_grib2.cc:677: error: expected \u2018;\u2019 before
> > > \u2018range_val\u2019
> > > data2d_grib2.cc:680: error: \u2018range_typ\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:681: error: \u2018range_val\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:705: error: \u2018g2_free\u2019 was not declared
in
> > > this scope
> > > data2d_grib2.cc: At global scope:
> > > data2d_grib2.cc:723: error: variable or field
> > > \u2018read_grib2_grid\u2019 declared void
> > > data2d_grib2.cc:723: error: \u2018gribfield\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:723: error: \u2018gfld\u2019 was not declared in
> > > this scope
> > > make[3]: *** [libvx_data2d_grib2_a-data2d_grib2.o] Error 1
> > > make[2]: *** [install-recursive] Error 1
> > > make[1]: *** [install-recursive] Error 1
> > > make: *** [install-recursive] Error 1
> > >
> > > [1] +  Done(2)                 make install > make_install.log &
> > >
> > > Not sure what to do at this point.  Hope you can help.
> > >
> > > Bob
> > >
> > >
> > >
> > >
> >
> >
> >
>
>
>
>

------------------------------------------------
Subject: RE: [rt.rap.ucar.edu #75501] Intalling MET 5-1
From: robert.craig.2 at us.af.mil
Time: Fri Mar 11 13:09:47 2016

Okay, made this changes you suggested and get the following output
from make install for MET.  Concerning the bufferlib, Matt said he had
to use this older version per your instructions:

[1402 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] make install >
make_install.log &
[1]     32347
[1403 qcteam hpc9-lsn-01d /h/WXQC/met-5.1]
[1403 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] /h/WXQC/met-
5.1/lib/jasper/lib/libjasper.a(jas_stream.o): In function
`jas_stream_tmpfile':
/h/WXQC/met-5.1/lib/jasper/src/libjasper/base/jas_stream.c:368:
warning: the use of `tmpnam' is dangerous, better use `mkstemp'
tail /h/WXQC/met-5.1/lib/jasper/lib/libjasper.a(jas_stream.o): In
function `jas_stream_tmpfile':
/h/WXQC/met-5.1/lib/jasper/src/libjasper/base/jas_stream.c:368:
warning: the use of `tmpnam' is dangerous, better use `mkstemp'

[1403 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] /h/WXQC/met-
5.1/lib/jasper/lib/libjasper.a(jas_stream.o): In function
`jas_stream_tmpfile':
/h/WXQC/met-5.1/lib/jasper/src/libjasper/base/jas_stream.c:368:
warning: the use of `tmpnam' is dangerous, better use `mkstemp'
/h/WXQC/met-5.1/lib/jasper/lib/libjasper.a(jas_stream.o): In function
`jas_stream_tmpfile':
/h/WXQC/met-5.1/lib/jasper/src/libjasper/base/jas_stream.c:368:
warning: the use of `tmpnam' is dangerous, better use `mkstemp'
/h/WXQC/met-5.1/lib/jasper/lib/libjasper.a(jas_stream.o): In function
`jas_stream_tmpfile':
/h/WXQC/met-5.1/lib/jasper/src/libjasper/base/jas_stream.c:368:
warning: the use of `tmpnam' is dangerous, better use `mkstemp'
/h/WXQC/met-5.1/lib/jasper/lib/libjasper.a(jas_stream.o): In function
`jas_stream_tmpfile':
/h/WXQC/met-5.1/lib/jasper/src/libjasper/base/jas_stream.c:368:
warning: the use of `tmpnam' is dangerous, better use `mkstemp'
/h/WXQC/met-5.1/lib/jasper/lib/libjasper.a(jas_stream.o): In function
`jas_stream_tmpfile':
/h/WXQC/met-5.1/lib/jasper/src/libjasper/base/jas_stream.c:368:
warning: the use of `tmpnam' is dangerous, better use `mkstemp'
/h/WXQC/met-5.1/lib/jasper/lib/libjasper.a(jas_stream.o): In function
`jas_stream_tmpfile':
/h/WXQC/met-5.1/lib/jasper/src/libjasper/base/jas_stream.c:368:
warning: the use of `tmpnam' is dangerous, better use `mkstemp'
/h/WXQC/met-5.1/lib/jasper/lib/libjasper.a(jas_stream.o): In function
`jas_stream_tmpfile':
/h/WXQC/met-5.1/lib/jasper/src/libjasper/base/jas_stream.c:368:
warning: the use of `tmpnam' is dangerous, better use `mkstemp'
/h/WXQC/met-5.1/lib/jasper/lib/libjasper.a(jas_stream.o): In function
`jas_stream_tmpfile':
/h/WXQC/met-5.1/lib/jasper/src/libjasper/base/jas_stream.c:368:
warning: the use of `tmpnam' is dangerous, better use `mkstemp'
/h/WXQC/met-5.1/lib/jasper/lib/libjasper.a(jas_stream.o): In function
`jas_stream_tmpfile':
/h/WXQC/met-5.1/lib/jasper/src/libjasper/base/jas_stream.c:368:
warning: the use of `tmpnam' is dangerous, better use `mkstemp'
/h/WXQC/met-5.1/lib/jasper/lib/libjasper.a(jas_stream.o): In function
`jas_stream_tmpfile':
/h/WXQC/met-5.1/lib/jasper/src/libjasper/base/jas_stream.c:368:
warning: the use of `tmpnam' is dangerous, better use `mkstemp'
/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1/libbufr.a(rdbfdx.o): In function
`rdbfdx_':
rdbfdx.f:(.text+0x248): undefined reference to `_gfortran_copy_string'
/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1/libbufr.a(rdmsgw.o): In function
`rdmsgw_':
rdmsgw.f:(.text+0x34): undefined reference to `_gfortran_copy_string'
/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1/libbufr.a(readns.o): In function
`readns_':
readns.f:(.text+0x84): undefined reference to `_gfortran_copy_string'
/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1/libbufr.a(stbfdx.o): In function
`stbfdx_':
stbfdx.f:(.text+0x168): undefined reference to `_gfortran_copy_string'
stbfdx.f:(.text+0x438): undefined reference to `_gfortran_copy_string'
/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-
1/libbufr.a(stbfdx.o):stbfdx.f:(.text+0x48f): more undefined
references to `_gfortran_copy_string' follow
/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1/libbufr.a(stbfdx.o): In function
`stbfdx_':
stbfdx.f:(.text+0x642): undefined reference to
`_gfortran_internal_malloc'
stbfdx.f:(.text+0x779): undefined reference to `_gfortran_copy_string'
stbfdx.f:(.text+0x781): undefined reference to
`_gfortran_internal_free'
stbfdx.f:(.text+0x7cd): undefined reference to `_gfortran_copy_string'
stbfdx.f:(.text+0x81b): undefined reference to `_gfortran_copy_string'
stbfdx.f:(.text+0x8cc): undefined reference to `_gfortran_copy_string'
stbfdx.f:(.text+0x92b): undefined reference to `_gfortran_copy_string'
stbfdx.f:(.text+0xa4a): undefined reference to `_gfortran_copy_string'
/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-
1/libbufr.a(stbfdx.o):stbfdx.f:(.text+0xa9b): more undefined
references to `_gfortran_copy_string' follow
/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1/libbufr.a(ufbtab.o): In function
`ufbtab_':
ufbtab.f:(.text+0x756): undefined reference to `_gfortran_pow_r8_i4'
ufbtab.f:(.text+0x7a0): undefined reference to `_gfortran_copy_string'
ufbtab.f:(.text+0xd65): undefined reference to `_gfortran_copy_string'
ufbtab.f:(.text+0xfde): undefined reference to `_gfortran_pow_r8_i4'
ufbtab.f:(.text+0x1069): undefined reference to
`_gfortran_copy_string'
ufbtab.f:(.text+0x109e): undefined reference to
`_gfortran_copy_string'
/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1/libbufr.a(upc.o): In function
`upc_':
upc.f:(.text+0x46): undefined reference to `_gfortran_copy_string'
/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1/libbufr.a(wrcmps.o): In function
`wrcmps_':
wrcmps.f:(.text+0x82): undefined reference to `_gfortran_copy_string'
wrcmps.f:(.text+0x97b): undefined reference to `_gfortran_copy_string'
/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-
1/libbufr.a(wrdlen.o):wrdlen.f:(.text+0x29d): more undefined
references to `_gfortran_copy_string' follow
/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1/libbufr.a(rdcmps.o): In function
`rdcmps_':
rdcmps.f:(.text+0x331): undefined reference to `_gfortran_pow_r8_i4'
rdcmps.f:(.text+0x3d2): undefined reference to `_gfortran_copy_string'
rdcmps.f:(.text+0x4a9): undefined reference to `_gfortran_copy_string'
rdcmps.f:(.text+0x535): undefined reference to `_gfortran_copy_string'
rdcmps.f:(.text+0x5c5): undefined reference to `_gfortran_copy_string'
/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1/libbufr.a(rdtree.o): In function
`rdtree_':
rdtree.f:(.text+0x243): undefined reference to `_gfortran_pow_r8_i4'
rdtree.f:(.text+0x287): undefined reference to `_gfortran_copy_string'
/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1/libbufr.a(rdusdx.o): In function
`rdusdx_':
rdusdx.f:(.text+0x209): undefined reference to `_gfortran_copy_string'
rdusdx.f:(.text+0x24c): undefined reference to `_gfortran_copy_string'
rdusdx.f:(.text+0x263): undefined reference to `_gfortran_copy_string'
/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1/libbufr.a(readmg.o): In function
`readmg_':
readmg.f:(.text+0x15b): undefined reference to `_gfortran_copy_string'
/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-
1/libbufr.a(readmg.o):readmg.f:(.text+0x2b9): more undefined
references to `_gfortran_copy_string' follow
/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1/libbufr.a(jstnum.o): In function
`jstnum_':
jstnum.f:(.text+0x1c8): undefined reference to
`_gfortran_internal_malloc'
jstnum.f:(.text+0x207): undefined reference to
`_gfortran_internal_malloc'
jstnum.f:(.text+0x23b): undefined reference to
`_gfortran_internal_free'
jstnum.f:(.text+0x249): undefined reference to
`_gfortran_internal_malloc'
jstnum.f:(.text+0x27d): undefined reference to
`_gfortran_internal_free'
jstnum.f:(.text+0x29a): undefined reference to `_gfortran_copy_string'
jstnum.f:(.text+0x2a2): undefined reference to
`_gfortran_internal_free'
/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1/libbufr.a(nemtbb.o): In function
`nemtbb_':
nemtbb.f:(.text+0xf3): undefined reference to `_gfortran_copy_string'
nemtbb.f:(.text+0x144): undefined reference to `_gfortran_copy_string'
/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1/libbufr.a(nemtbd.o): In function
`nemtbd_':
nemtbd.f:(.text+0xb4): undefined reference to `_gfortran_copy_string'
nemtbd.f:(.text+0x14a): undefined reference to `_gfortran_copy_string'
nemtbd.f:(.text+0x397): undefined reference to `_gfortran_copy_string'
/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-
1/libbufr.a(nemtbd.o):nemtbd.f:(.text+0x47e): more undefined
references to `_gfortran_copy_string' follow
/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1/libbufr.a(readmt.o): In function
`readmt_':
readmt.f:(.text+0xa6): undefined reference to
`_gfortran_internal_malloc'
readmt.f:(.text+0x101): undefined reference to
`_gfortran_internal_malloc'
readmt.f:(.text+0x14b): undefined reference to
`_gfortran_internal_free'
readmt.f:(.text+0x172): undefined reference to `_gfortran_copy_string'
readmt.f:(.text+0x17a): undefined reference to
`_gfortran_internal_free'
readmt.f:(.text+0x392): undefined reference to `_gfortran_copy_string'
readmt.f:(.text+0x49d): undefined reference to
`_gfortran_internal_malloc'
readmt.f:(.text+0x4f8): undefined reference to
`_gfortran_internal_malloc'
readmt.f:(.text+0x542): undefined reference to
`_gfortran_internal_free'
readmt.f:(.text+0x569): undefined reference to `_gfortran_copy_string'
readmt.f:(.text+0x571): undefined reference to
`_gfortran_internal_free'
readmt.f:(.text+0x7f2): undefined reference to `_gfortran_copy_string'
readmt.f:(.text+0x89d): undefined reference to `_gfortran_copy_string'
readmt.f:(.text+0xae8): undefined reference to `_gfortran_copy_string'
readmt.f:(.text+0xb37): undefined reference to `_gfortran_copy_string'
readmt.f:(.text+0xb78): undefined reference to `_gfortran_copy_string'
/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-
1/libbufr.a(readmt.o):readmt.f:(.text+0xbcb): more undefined
references to `_gfortran_copy_string' follow
collect2: ld returned 1 exit status
make[4]: *** [pb2nc] Error 1
make[3]: *** [install-recursive] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1

[1] +  Done(2)                 make install > make_install.log &

-----Original Message-----
From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
Sent: Friday, March 11, 2016 1:36 PM
To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1

Bob,

Sorry I missed that.  OK, when you compiled jasperlib it must have
installed it somewhere on a system location.  Try this:
   locate libjasper.a

If that finds it, you can point to it.  Or you could recompile jasper
using the "--prefix" option to telll it where you want it compiled.
For example:
   cd /h/WXQC/met-5.1/lib/libpng-1.2.34/
   ./configure --prefix=/h/WXQC/met-5.1/lib/libpng-1.2.34
   make install

The "install" step should create this directory:
/h/WXQC/met-5.1/lib/libpng-1.2.34/lib

When I have to install MET on a new system, I often install all the
libraries (NetCDF, GSL, BUFRLIB, and the GRIB2 libraries) to the same
directory.  Installing them to different directories works too, but
then we need to specify them individually, as we're doing.

Does that help?

Thanks,
John

On Fri, Mar 11, 2016 at 12:28 PM, robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
>
> John, I don't have a lib directory under jasper.  The listing of the
> jasper directory was in my last email.
>
> Bob
>
> -----Original Message-----
> From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> Sent: Friday, March 11, 2016 1:24 PM
> To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
>
> Bob,
>
> OK great, we're making progress!
>
> First, in the instructions we say "make install >&
make_install.log".
> In c-shell that directs both standard out and standard error to the
> same output log file.  I think the syntax in bourne-shell or
> korn-shell is different.  If you're using those, please try this:
>    make install > make_install.log 2>&1
>
> Sounds like we should update the user's guide with c-shell and
> non-c-shell variants.
>
> On to the jasperlib issue.  With your LDFLAGS setting, we've told
MET
> to look for the file "libjasper.a" (or libjasper.so*) in here:
>    ls /h/WXQC/met-5.1/lib/jasper/libjasper*
>
> But I suspect it actually lives in a lib sub-directory instead!  And
> for zlib and libpng, I think there is *not* a lib subdirectory.
>
> Try this:
>   ls /h/WXQC/met-5.1/lib/jasper/lib/libjasper.a
>   ls /h/WXQC/met-5.1/lib/zlib-1.2.6/libz.a
>   ls /h/WXQC/met-5.1/lib/libpng-1.2.34/libpng.a
>
> If you find library files in all those locations, use the following
> environment variable setting:
>
> LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper/lib
> -L/h/WXQC/met-5.1/lib/zlib-1.2.6
> -L/h/WXQC/met-5.1/lib/libpng-1.2.34
>
> Sorry this is so confusing!
>
> John
>
>
>
> On Fri, Mar 11, 2016 at 11:01 AM, robert.craig.2 at us.af.mil via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
> >
> > John, I made the changes you suggested with one caveat:  I changed
> > "install"
> > to "lib" in the LDFLAGS since the libraries are in /h/WXQC/met-
5.1/lib.
> > Also
> > in the MET 5.1 Users Guide, on page 32, the step 2)  says to 'make
> > install
> > >&
> > make_install.log &' and I assume you meant ''make install >
> > make_install.log &'.  So after setting the environmental variables
> > and running step 1) then Step 2)  the compile gives me the
following
> > messages and then stops.
> > Attached
> > in the log file.
> >
> > [1227 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] make install >
> > make_install.log &
> > [1]     28326
> > [1228 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] /usr/bin/ld: cannot
find
> > -ljasper
> > collect2: ld returned 1 exit status
> > make[4]: *** [ensemble_stat] Error 1
> > make[3]: *** [install-recursive] Error 1
> > make[2]: *** [install-recursive] Error 1
> > make[1]: *** [install-recursive] Error 1
> > make: *** [install-recursive] Error 1
> >
> > [1] +  Done(2)                 make install > make_install.log &
> >
> > My env vars are below.  There is no lib directory in jasper.  A
dir
> > of jasper is listed below:
> >
> > acaux       ChangeLog   config.status  configure.ac  data  INSTALL
> > jasper.spec.in  LICENSE   Makefile.am  NEWS    src
> > aclocal.m4  config.log  configure      COPYRIGHT     doc
jasper.spec
> > libtool         Makefile  Makefile.in  README
> >
> > LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper
> > -L/h/WXQC/met-5.1/lib/zlib-1.2.6/lib
> > -L/h/WXQC/met-5.1/lib/libpng-1.2.34
> >
> >
LD_LIBRARY_PATH=/ibrix/intel/Compiler/11.1/069/lib/intel64:/gpfs/lsf
> > /9
> > .1/linux2.6-glibc2.3-
x86_64/lib:/ibrix/intel/Compiler/11.1/069/lib/i
> > nt
> >
el64:/usr/local/itt/idl/idl80/bin/bin.linux.x86_64/dm/lib:/usr/local
> > /i
> > tt/idl/idl80/bin/bin.linux.x86_64:/usr/mpi/gcc/openmpi-
1.8.4/lib64:/
> > ho
> > me/adamsr/python/sage/sage-
4.7.2/local/lib:/home/adamsr/python/basem
> > ap
> > /lib:/home/qcteam/netcdf/netcdf-4.1.3/compiled/lib:/h/common/gsl-
1.1
> > 5/
> > lib
> > LESS=iX
> > LESSOPEN=||/usr/bin/lesspipe.sh %s
> > LOADEDMODULES=mpi/1.8.4
> > LOGNAME=qcteam
> > LSF_BINDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/bin
> > LSF_ENVDIR=/gpfs/lsf/conf
> > LSF_LIBDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/lib
> > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > MAIL=/var/spool/mail/qcteam
> >
> >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/lpp/s
> > sp
> > /perl5/man
> > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> >
> > What next?
> >
> > -----Original Message-----
> > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > Sent: Friday, March 11, 2016 10:53 AM
> > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> >
> > Hi,
> >
> > It looks like the compiler is having trouble finding the "grib2.h"
> > include file.  This is caused by the way you have set the
> > MET_GRIB2CINC and MET_GRIB2CLIB variables.  The configure script
is
> > not expecting them to include "-I" and "-L", as you've set them.
> > Actually, you do not need to set
> > MET_GRIB2 if you're setting the MET_GRIB2CINC and MET_GRIB2CLIB.
> > Instead, please try the following settings:
> >
> > MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> >
> > This tells the code to look in the same directory for both the
"grib2.h"
> > header file and the compiled library file "libgrib2c.a".  Both
> > should exist in that directory.
> >
> > Next, you also need to tell it where to find the jasper, zlib, and
> > libpng libraries.  Those are often installed in standard locations
> > on machines and the configure script finds them without you
needing
> > to tell it where to look.
> > But based on your settings, it looks like they are not in a
standard
> > location.
> > Instead, we'll use LDFLAGS to tell the linker where to find those
> > libraries (this is described in the output of ./configure --help).
> >
> > LDFLAGS='-L/h/WXQC/met-5.1/install/jasper/lib
> > -L/h/WXQC/met-5.1/install/zlib/lib -L/h/WXQC/met-
5.1/install/libpng/lib'
> >
> > Please give that a shot and let me know how it goes.
> >
> > Thanks,
> > John
> >
> >
> > On Fri, Mar 11, 2016 at 9:08 AM, robert.craig.2 at us.af.mil via RT <
> > met_help at ucar.edu> wrote:
> >
> > >
> > > Fri Mar 11 09:08:39 2016: Request 75501 was acted upon.
> > > Transaction: Ticket created by robert.craig.2 at us.af.mil
> > >        Queue: met_help
> > >      Subject: Intalling MET 5-1
> > >        Owner: Nobody
> > >   Requestors: robert.craig.2 at us.af.mil
> > >       Status: new
> > >  Ticket <URL:
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501
> > > >
> > >
> > >
> > > John, I am installing MET 5.1 on a new computer  system here.
Below
> are
> > > the contents of my met-5.1 so far:
> > >
> > > aclocal.m4    config.h     config.log     config.sub
configure.ac
> > > depcomp  export_vars.bat  lib       Makefile.am  Make-include
> > missing
> > > README     scripts  src
> > > config.guess  config.h.in  config.status  configure   data
> doc
> > >     install-sh       Makefile  Makefile.in  make_install.log
out
> > > run_tests  share    stamp-h1
> > >
> > > In lib, I have the following:
> > >
> > > BUFRLIB_v10-0-1  g2clib-1.4.0  GRIBI_copygb.exe  gsl-1.15
jasper
> > > libf2c
> > > libpng-1.2.34  netcdf-4.1.3  tar  zlib-1.2.6
> > >
> > > Below is the env variables set:
> > >
> > > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > > MAIL=/var/spool/mail/qcteam
> > >
> > >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/lpp
> > > /s
> > > sp
> > > /perl5/man
> > > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > MET_GRIB2CINC=-I/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > -I/h/WXQC/met-5.1/install/jasper/include/jasper
> > > -I/h/WXQC/met-5.1/install/zlib/include
> > > -I/h/WXQC/met-5.1/install/libpng/include
> > > MET_GRIB2CLIB=-L/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > -L/h/WXQC/met-5.1/install/jasper/lib
> > > -L/h/WXQC/met-5.1/install/zlib/lib
> > > -L/h/WXQC/met-5.1/install/libpng/lib
> > > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> > >
> > >
MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles:/opt/me
> > > ll
> > > an
> > > ox/bupc/2.18.0/modules
> > > MODULESHOME=/usr/share/Modules
> > >
> > > From page 32 of the MET 5.1 users guide, I ran step 1) and all
> > > seemed to go well When I run step 2), it dies and I get the
> > > following
> output:
> > > [1]     21366
> > > [1123 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] In file included from
> > > data2d_grib2.cc:29:
> > > data2d_grib2.h:27:21: error: grib2.h: No such file or directory
In
> > > file included from data2d_grib2.cc:29:
> > > data2d_grib2.h:96: error: \u2018gribfield\u2019 has not been
> > > declared
> > > data2d_grib2.h:99: error: \u2018g2int\u2019 has not been
declared
> > > data2d_grib2.h:100: error: \u2018g2int\u2019 has not been
declared
> > > data2d_grib2.h:101: error: \u2018gribfield\u2019 has not been
> > > declared
> > > data2d_grib2.h:103: error: \u2018g2int\u2019 has not been
declared
> > > data2d_grib2.cc:36: error: variable or field \u2018g2_miss\u2019
> > > declared void
> > > data2d_grib2.cc:36: error: \u2018gribfield\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:36: error: \u2018gfld\u2019 was not declared in
> > > this scope
> > > data2d_grib2.cc:36: error: expected primary-expression before
> > > \u2018float\u2019
> > > data2d_grib2.cc:36: error: expected primary-expression before
> > > \u2018int\u2019
> > > data2d_grib2.cc: In member function \u2018void
> > > MetGrib2DataFile::read_grib2_record_list()\u2019:
> > > data2d_grib2.cc:533: error: \u2018gribfield\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:533: error: \u2018gfld\u2019 was not declared in
> > > this scope
> > > data2d_grib2.cc:536: error: \u2018g2int\u2019 was not declared
in
> > > this scope
> > > data2d_grib2.cc:536: error: expected \u2018;\u2019 before
> > > \u2018numfields\u2019
> > > data2d_grib2.cc:540: error: \u2018numfields\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:674: error: expected \u2018;\u2019 before
> > > \u2018range_typ\u2019
> > > data2d_grib2.cc:677: error: expected \u2018;\u2019 before
> > > \u2018range_val\u2019
> > > data2d_grib2.cc:680: error: \u2018range_typ\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:681: error: \u2018range_val\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:705: error: \u2018g2_free\u2019 was not declared
> > > in this scope
> > > data2d_grib2.cc: At global scope:
> > > data2d_grib2.cc:723: error: variable or field
> > > \u2018read_grib2_grid\u2019 declared void
> > > data2d_grib2.cc:723: error: \u2018gribfield\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:723: error: \u2018gfld\u2019 was not declared in
> > > this scope
> > > make[3]: *** [libvx_data2d_grib2_a-data2d_grib2.o] Error 1
> > > make[2]: *** [install-recursive] Error 1
> > > make[1]: *** [install-recursive] Error 1
> > > make: *** [install-recursive] Error 1
> > >
> > > [1] +  Done(2)                 make install > make_install.log &
> > >
> > > Not sure what to do at this point.  Hope you can help.
> > >
> > > Bob
> > >
> > >
> > >
> > >
> >
> >
> >
>
>
>
>



------------------------------------------------
Subject: RE: [rt.rap.ucar.edu #75501] Intalling MET 5-1
From: robert.craig.2 at us.af.mil
Time: Fri Mar 11 13:22:27 2016

Update on previous email.  I found the Buffer lib directory had only
one file so I copied the files from and another location into the
directory and then did step 1 and 2.  I didn't seem to get any errors
this time. However, when I run the tests I get the following:

[1432 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] make test > make_test.log &
[1]     13614
[1433 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] gen_vx_mask: error while
loading shared libraries: libgsl.so.0: cannot open shared object file:
No such file or directory
gen_vx_mask: error while loading shared libraries: libgsl.so.0: cannot
open shared object file: No such file or directory
mode: error while loading shared libraries: libgsl.so.0: cannot open
shared object file: No such file or directory
mode: error while loading shared libraries: libgsl.so.0: cannot open
shared object file: No such file or directory
mode: error while loading shared libraries: libgsl.so.0: cannot open
shared object file: No such file or directory
grid_stat: error while loading shared libraries: libgsl.so.0: cannot
open shared object file: No such file or directory
grid_stat: error while loading shared libraries: libgsl.so.0: cannot
open shared object file: No such file or directory
grid_stat: error while loading shared libraries: libgsl.so.0: cannot
open shared object file: No such file or directory
grid_stat: error while loading shared libraries: libgsl.so.0: cannot
open shared object file: No such file or directory
pb2nc: error while loading shared libraries: libgsl.so.0: cannot open
shared object file: No such file or directory
plot_point_obs: error while loading shared libraries: libgsl.so.0:
cannot open shared object file: No such file or directory
ascii2nc: error while loading shared libraries: libgsl.so.0: cannot
open shared object file: No such file or directory
ascii2nc: error while loading shared libraries: libgsl.so.0: cannot
open shared object file: No such file or directory
madis2nc: error while loading shared libraries: libgsl.so.0: cannot
open shared object file: No such file or directory
point_stat: error while loading shared libraries: libgsl.so.0: cannot
open shared object file: No such file or directory
wavelet_stat: error while loading shared libraries: libgsl.so.0:
cannot open shared object file: No such file or directory
wavelet_stat: error while loading shared libraries: libgsl.so.0:
cannot open shared object file: No such file or directory
ensemble_stat: error while loading shared libraries: libgsl.so.0:
cannot open shared object file: No such file or directory
stat_analysis: error while loading shared libraries: libgsl.so.0:
cannot open shared object file: No such file or directory
mode_analysis: error while loading shared libraries: libgsl.so.0:
cannot open shared object file: No such file or directory
mode_analysis: error while loading shared libraries: libgsl.so.0:
cannot open shared object file: No such file or directory
mode_analysis: error while loading shared libraries: libgsl.so.0:
cannot open shared object file: No such file or directory

The gsl-1.15/lib directory does contain libgsl.so.0.

Bob


-----Original Message-----
From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
Sent: Friday, March 11, 2016 1:36 PM
To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1

Bob,

Sorry I missed that.  OK, when you compiled jasperlib it must have
installed it somewhere on a system location.  Try this:
   locate libjasper.a

If that finds it, you can point to it.  Or you could recompile jasper
using the "--prefix" option to telll it where you want it compiled.
For example:
   cd /h/WXQC/met-5.1/lib/libpng-1.2.34/
   ./configure --prefix=/h/WXQC/met-5.1/lib/libpng-1.2.34
   make install

The "install" step should create this directory:
/h/WXQC/met-5.1/lib/libpng-1.2.34/lib

When I have to install MET on a new system, I often install all the
libraries (NetCDF, GSL, BUFRLIB, and the GRIB2 libraries) to the same
directory.  Installing them to different directories works too, but
then we need to specify them individually, as we're doing.

Does that help?

Thanks,
John

On Fri, Mar 11, 2016 at 12:28 PM, robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
>
> John, I don't have a lib directory under jasper.  The listing of the
> jasper directory was in my last email.
>
> Bob
>
> -----Original Message-----
> From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> Sent: Friday, March 11, 2016 1:24 PM
> To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
>
> Bob,
>
> OK great, we're making progress!
>
> First, in the instructions we say "make install >&
make_install.log".
> In c-shell that directs both standard out and standard error to the
> same output log file.  I think the syntax in bourne-shell or
> korn-shell is different.  If you're using those, please try this:
>    make install > make_install.log 2>&1
>
> Sounds like we should update the user's guide with c-shell and
> non-c-shell variants.
>
> On to the jasperlib issue.  With your LDFLAGS setting, we've told
MET
> to look for the file "libjasper.a" (or libjasper.so*) in here:
>    ls /h/WXQC/met-5.1/lib/jasper/libjasper*
>
> But I suspect it actually lives in a lib sub-directory instead!  And
> for zlib and libpng, I think there is *not* a lib subdirectory.
>
> Try this:
>   ls /h/WXQC/met-5.1/lib/jasper/lib/libjasper.a
>   ls /h/WXQC/met-5.1/lib/zlib-1.2.6/libz.a
>   ls /h/WXQC/met-5.1/lib/libpng-1.2.34/libpng.a
>
> If you find library files in all those locations, use the following
> environment variable setting:
>
> LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper/lib
> -L/h/WXQC/met-5.1/lib/zlib-1.2.6
> -L/h/WXQC/met-5.1/lib/libpng-1.2.34
>
> Sorry this is so confusing!
>
> John
>
>
>
> On Fri, Mar 11, 2016 at 11:01 AM, robert.craig.2 at us.af.mil via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
> >
> > John, I made the changes you suggested with one caveat:  I changed
> > "install"
> > to "lib" in the LDFLAGS since the libraries are in /h/WXQC/met-
5.1/lib.
> > Also
> > in the MET 5.1 Users Guide, on page 32, the step 2)  says to 'make
> > install
> > >&
> > make_install.log &' and I assume you meant ''make install >
> > make_install.log &'.  So after setting the environmental variables
> > and running step 1) then Step 2)  the compile gives me the
following
> > messages and then stops.
> > Attached
> > in the log file.
> >
> > [1227 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] make install >
> > make_install.log &
> > [1]     28326
> > [1228 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] /usr/bin/ld: cannot
find
> > -ljasper
> > collect2: ld returned 1 exit status
> > make[4]: *** [ensemble_stat] Error 1
> > make[3]: *** [install-recursive] Error 1
> > make[2]: *** [install-recursive] Error 1
> > make[1]: *** [install-recursive] Error 1
> > make: *** [install-recursive] Error 1
> >
> > [1] +  Done(2)                 make install > make_install.log &
> >
> > My env vars are below.  There is no lib directory in jasper.  A
dir
> > of jasper is listed below:
> >
> > acaux       ChangeLog   config.status  configure.ac  data  INSTALL
> > jasper.spec.in  LICENSE   Makefile.am  NEWS    src
> > aclocal.m4  config.log  configure      COPYRIGHT     doc
jasper.spec
> > libtool         Makefile  Makefile.in  README
> >
> > LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper
> > -L/h/WXQC/met-5.1/lib/zlib-1.2.6/lib
> > -L/h/WXQC/met-5.1/lib/libpng-1.2.34
> >
> >
LD_LIBRARY_PATH=/ibrix/intel/Compiler/11.1/069/lib/intel64:/gpfs/lsf
> > /9
> > .1/linux2.6-glibc2.3-
x86_64/lib:/ibrix/intel/Compiler/11.1/069/lib/i
> > nt
> >
el64:/usr/local/itt/idl/idl80/bin/bin.linux.x86_64/dm/lib:/usr/local
> > /i
> > tt/idl/idl80/bin/bin.linux.x86_64:/usr/mpi/gcc/openmpi-
1.8.4/lib64:/
> > ho
> > me/adamsr/python/sage/sage-
4.7.2/local/lib:/home/adamsr/python/basem
> > ap
> > /lib:/home/qcteam/netcdf/netcdf-4.1.3/compiled/lib:/h/common/gsl-
1.1
> > 5/
> > lib
> > LESS=iX
> > LESSOPEN=||/usr/bin/lesspipe.sh %s
> > LOADEDMODULES=mpi/1.8.4
> > LOGNAME=qcteam
> > LSF_BINDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/bin
> > LSF_ENVDIR=/gpfs/lsf/conf
> > LSF_LIBDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/lib
> > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > MAIL=/var/spool/mail/qcteam
> >
> >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/lpp/s
> > sp
> > /perl5/man
> > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> >
> > What next?
> >
> > -----Original Message-----
> > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > Sent: Friday, March 11, 2016 10:53 AM
> > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> >
> > Hi,
> >
> > It looks like the compiler is having trouble finding the "grib2.h"
> > include file.  This is caused by the way you have set the
> > MET_GRIB2CINC and MET_GRIB2CLIB variables.  The configure script
is
> > not expecting them to include "-I" and "-L", as you've set them.
> > Actually, you do not need to set
> > MET_GRIB2 if you're setting the MET_GRIB2CINC and MET_GRIB2CLIB.
> > Instead, please try the following settings:
> >
> > MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> >
> > This tells the code to look in the same directory for both the
"grib2.h"
> > header file and the compiled library file "libgrib2c.a".  Both
> > should exist in that directory.
> >
> > Next, you also need to tell it where to find the jasper, zlib, and
> > libpng libraries.  Those are often installed in standard locations
> > on machines and the configure script finds them without you
needing
> > to tell it where to look.
> > But based on your settings, it looks like they are not in a
standard
> > location.
> > Instead, we'll use LDFLAGS to tell the linker where to find those
> > libraries (this is described in the output of ./configure --help).
> >
> > LDFLAGS='-L/h/WXQC/met-5.1/install/jasper/lib
> > -L/h/WXQC/met-5.1/install/zlib/lib -L/h/WXQC/met-
5.1/install/libpng/lib'
> >
> > Please give that a shot and let me know how it goes.
> >
> > Thanks,
> > John
> >
> >
> > On Fri, Mar 11, 2016 at 9:08 AM, robert.craig.2 at us.af.mil via RT <
> > met_help at ucar.edu> wrote:
> >
> > >
> > > Fri Mar 11 09:08:39 2016: Request 75501 was acted upon.
> > > Transaction: Ticket created by robert.craig.2 at us.af.mil
> > >        Queue: met_help
> > >      Subject: Intalling MET 5-1
> > >        Owner: Nobody
> > >   Requestors: robert.craig.2 at us.af.mil
> > >       Status: new
> > >  Ticket <URL:
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501
> > > >
> > >
> > >
> > > John, I am installing MET 5.1 on a new computer  system here.
Below
> are
> > > the contents of my met-5.1 so far:
> > >
> > > aclocal.m4    config.h     config.log     config.sub
configure.ac
> > > depcomp  export_vars.bat  lib       Makefile.am  Make-include
> > missing
> > > README     scripts  src
> > > config.guess  config.h.in  config.status  configure   data
> doc
> > >     install-sh       Makefile  Makefile.in  make_install.log
out
> > > run_tests  share    stamp-h1
> > >
> > > In lib, I have the following:
> > >
> > > BUFRLIB_v10-0-1  g2clib-1.4.0  GRIBI_copygb.exe  gsl-1.15
jasper
> > > libf2c
> > > libpng-1.2.34  netcdf-4.1.3  tar  zlib-1.2.6
> > >
> > > Below is the env variables set:
> > >
> > > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > > MAIL=/var/spool/mail/qcteam
> > >
> > >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/lpp
> > > /s
> > > sp
> > > /perl5/man
> > > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > MET_GRIB2CINC=-I/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > -I/h/WXQC/met-5.1/install/jasper/include/jasper
> > > -I/h/WXQC/met-5.1/install/zlib/include
> > > -I/h/WXQC/met-5.1/install/libpng/include
> > > MET_GRIB2CLIB=-L/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > -L/h/WXQC/met-5.1/install/jasper/lib
> > > -L/h/WXQC/met-5.1/install/zlib/lib
> > > -L/h/WXQC/met-5.1/install/libpng/lib
> > > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> > >
> > >
MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles:/opt/me
> > > ll
> > > an
> > > ox/bupc/2.18.0/modules
> > > MODULESHOME=/usr/share/Modules
> > >
> > > From page 32 of the MET 5.1 users guide, I ran step 1) and all
> > > seemed to go well When I run step 2), it dies and I get the
> > > following
> output:
> > > [1]     21366
> > > [1123 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] In file included from
> > > data2d_grib2.cc:29:
> > > data2d_grib2.h:27:21: error: grib2.h: No such file or directory
In
> > > file included from data2d_grib2.cc:29:
> > > data2d_grib2.h:96: error: \u2018gribfield\u2019 has not been
> > > declared
> > > data2d_grib2.h:99: error: \u2018g2int\u2019 has not been
declared
> > > data2d_grib2.h:100: error: \u2018g2int\u2019 has not been
declared
> > > data2d_grib2.h:101: error: \u2018gribfield\u2019 has not been
> > > declared
> > > data2d_grib2.h:103: error: \u2018g2int\u2019 has not been
declared
> > > data2d_grib2.cc:36: error: variable or field \u2018g2_miss\u2019
> > > declared void
> > > data2d_grib2.cc:36: error: \u2018gribfield\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:36: error: \u2018gfld\u2019 was not declared in
> > > this scope
> > > data2d_grib2.cc:36: error: expected primary-expression before
> > > \u2018float\u2019
> > > data2d_grib2.cc:36: error: expected primary-expression before
> > > \u2018int\u2019
> > > data2d_grib2.cc: In member function \u2018void
> > > MetGrib2DataFile::read_grib2_record_list()\u2019:
> > > data2d_grib2.cc:533: error: \u2018gribfield\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:533: error: \u2018gfld\u2019 was not declared in
> > > this scope
> > > data2d_grib2.cc:536: error: \u2018g2int\u2019 was not declared
in
> > > this scope
> > > data2d_grib2.cc:536: error: expected \u2018;\u2019 before
> > > \u2018numfields\u2019
> > > data2d_grib2.cc:540: error: \u2018numfields\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:674: error: expected \u2018;\u2019 before
> > > \u2018range_typ\u2019
> > > data2d_grib2.cc:677: error: expected \u2018;\u2019 before
> > > \u2018range_val\u2019
> > > data2d_grib2.cc:680: error: \u2018range_typ\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:681: error: \u2018range_val\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:705: error: \u2018g2_free\u2019 was not declared
> > > in this scope
> > > data2d_grib2.cc: At global scope:
> > > data2d_grib2.cc:723: error: variable or field
> > > \u2018read_grib2_grid\u2019 declared void
> > > data2d_grib2.cc:723: error: \u2018gribfield\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:723: error: \u2018gfld\u2019 was not declared in
> > > this scope
> > > make[3]: *** [libvx_data2d_grib2_a-data2d_grib2.o] Error 1
> > > make[2]: *** [install-recursive] Error 1
> > > make[1]: *** [install-recursive] Error 1
> > > make: *** [install-recursive] Error 1
> > >
> > > [1] +  Done(2)                 make install > make_install.log &
> > >
> > > Not sure what to do at this point.  Hope you can help.
> > >
> > > Bob
> > >
> > >
> > >
> > >
> >
> >
> >
>
>
>
>



------------------------------------------------
Subject: RE: [rt.rap.ucar.edu #75501] Intalling MET 5-1
From: robert.craig.2 at us.af.mil
Time: Fri Mar 11 13:28:15 2016

Also noticed the gen_vx_mask is not in the bin directory.

-----Original Message-----
From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
Sent: Friday, March 11, 2016 1:36 PM
To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1

Bob,

Sorry I missed that.  OK, when you compiled jasperlib it must have
installed it somewhere on a system location.  Try this:
   locate libjasper.a

If that finds it, you can point to it.  Or you could recompile jasper
using the "--prefix" option to telll it where you want it compiled.
For example:
   cd /h/WXQC/met-5.1/lib/libpng-1.2.34/
   ./configure --prefix=/h/WXQC/met-5.1/lib/libpng-1.2.34
   make install

The "install" step should create this directory:
/h/WXQC/met-5.1/lib/libpng-1.2.34/lib

When I have to install MET on a new system, I often install all the
libraries (NetCDF, GSL, BUFRLIB, and the GRIB2 libraries) to the same
directory.  Installing them to different directories works too, but
then we need to specify them individually, as we're doing.

Does that help?

Thanks,
John

On Fri, Mar 11, 2016 at 12:28 PM, robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
>
> John, I don't have a lib directory under jasper.  The listing of the
> jasper directory was in my last email.
>
> Bob
>
> -----Original Message-----
> From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> Sent: Friday, March 11, 2016 1:24 PM
> To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
>
> Bob,
>
> OK great, we're making progress!
>
> First, in the instructions we say "make install >&
make_install.log".
> In c-shell that directs both standard out and standard error to the
> same output log file.  I think the syntax in bourne-shell or
> korn-shell is different.  If you're using those, please try this:
>    make install > make_install.log 2>&1
>
> Sounds like we should update the user's guide with c-shell and
> non-c-shell variants.
>
> On to the jasperlib issue.  With your LDFLAGS setting, we've told
MET
> to look for the file "libjasper.a" (or libjasper.so*) in here:
>    ls /h/WXQC/met-5.1/lib/jasper/libjasper*
>
> But I suspect it actually lives in a lib sub-directory instead!  And
> for zlib and libpng, I think there is *not* a lib subdirectory.
>
> Try this:
>   ls /h/WXQC/met-5.1/lib/jasper/lib/libjasper.a
>   ls /h/WXQC/met-5.1/lib/zlib-1.2.6/libz.a
>   ls /h/WXQC/met-5.1/lib/libpng-1.2.34/libpng.a
>
> If you find library files in all those locations, use the following
> environment variable setting:
>
> LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper/lib
> -L/h/WXQC/met-5.1/lib/zlib-1.2.6
> -L/h/WXQC/met-5.1/lib/libpng-1.2.34
>
> Sorry this is so confusing!
>
> John
>
>
>
> On Fri, Mar 11, 2016 at 11:01 AM, robert.craig.2 at us.af.mil via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
> >
> > John, I made the changes you suggested with one caveat:  I changed
> > "install"
> > to "lib" in the LDFLAGS since the libraries are in /h/WXQC/met-
5.1/lib.
> > Also
> > in the MET 5.1 Users Guide, on page 32, the step 2)  says to 'make
> > install
> > >&
> > make_install.log &' and I assume you meant ''make install >
> > make_install.log &'.  So after setting the environmental variables
> > and running step 1) then Step 2)  the compile gives me the
following
> > messages and then stops.
> > Attached
> > in the log file.
> >
> > [1227 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] make install >
> > make_install.log &
> > [1]     28326
> > [1228 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] /usr/bin/ld: cannot
find
> > -ljasper
> > collect2: ld returned 1 exit status
> > make[4]: *** [ensemble_stat] Error 1
> > make[3]: *** [install-recursive] Error 1
> > make[2]: *** [install-recursive] Error 1
> > make[1]: *** [install-recursive] Error 1
> > make: *** [install-recursive] Error 1
> >
> > [1] +  Done(2)                 make install > make_install.log &
> >
> > My env vars are below.  There is no lib directory in jasper.  A
dir
> > of jasper is listed below:
> >
> > acaux       ChangeLog   config.status  configure.ac  data  INSTALL
> > jasper.spec.in  LICENSE   Makefile.am  NEWS    src
> > aclocal.m4  config.log  configure      COPYRIGHT     doc
jasper.spec
> > libtool         Makefile  Makefile.in  README
> >
> > LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper
> > -L/h/WXQC/met-5.1/lib/zlib-1.2.6/lib
> > -L/h/WXQC/met-5.1/lib/libpng-1.2.34
> >
> >
LD_LIBRARY_PATH=/ibrix/intel/Compiler/11.1/069/lib/intel64:/gpfs/lsf
> > /9
> > .1/linux2.6-glibc2.3-
x86_64/lib:/ibrix/intel/Compiler/11.1/069/lib/i
> > nt
> >
el64:/usr/local/itt/idl/idl80/bin/bin.linux.x86_64/dm/lib:/usr/local
> > /i
> > tt/idl/idl80/bin/bin.linux.x86_64:/usr/mpi/gcc/openmpi-
1.8.4/lib64:/
> > ho
> > me/adamsr/python/sage/sage-
4.7.2/local/lib:/home/adamsr/python/basem
> > ap
> > /lib:/home/qcteam/netcdf/netcdf-4.1.3/compiled/lib:/h/common/gsl-
1.1
> > 5/
> > lib
> > LESS=iX
> > LESSOPEN=||/usr/bin/lesspipe.sh %s
> > LOADEDMODULES=mpi/1.8.4
> > LOGNAME=qcteam
> > LSF_BINDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/bin
> > LSF_ENVDIR=/gpfs/lsf/conf
> > LSF_LIBDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/lib
> > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > MAIL=/var/spool/mail/qcteam
> >
> >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/lpp/s
> > sp
> > /perl5/man
> > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> >
> > What next?
> >
> > -----Original Message-----
> > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > Sent: Friday, March 11, 2016 10:53 AM
> > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> >
> > Hi,
> >
> > It looks like the compiler is having trouble finding the "grib2.h"
> > include file.  This is caused by the way you have set the
> > MET_GRIB2CINC and MET_GRIB2CLIB variables.  The configure script
is
> > not expecting them to include "-I" and "-L", as you've set them.
> > Actually, you do not need to set
> > MET_GRIB2 if you're setting the MET_GRIB2CINC and MET_GRIB2CLIB.
> > Instead, please try the following settings:
> >
> > MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> >
> > This tells the code to look in the same directory for both the
"grib2.h"
> > header file and the compiled library file "libgrib2c.a".  Both
> > should exist in that directory.
> >
> > Next, you also need to tell it where to find the jasper, zlib, and
> > libpng libraries.  Those are often installed in standard locations
> > on machines and the configure script finds them without you
needing
> > to tell it where to look.
> > But based on your settings, it looks like they are not in a
standard
> > location.
> > Instead, we'll use LDFLAGS to tell the linker where to find those
> > libraries (this is described in the output of ./configure --help).
> >
> > LDFLAGS='-L/h/WXQC/met-5.1/install/jasper/lib
> > -L/h/WXQC/met-5.1/install/zlib/lib -L/h/WXQC/met-
5.1/install/libpng/lib'
> >
> > Please give that a shot and let me know how it goes.
> >
> > Thanks,
> > John
> >
> >
> > On Fri, Mar 11, 2016 at 9:08 AM, robert.craig.2 at us.af.mil via RT <
> > met_help at ucar.edu> wrote:
> >
> > >
> > > Fri Mar 11 09:08:39 2016: Request 75501 was acted upon.
> > > Transaction: Ticket created by robert.craig.2 at us.af.mil
> > >        Queue: met_help
> > >      Subject: Intalling MET 5-1
> > >        Owner: Nobody
> > >   Requestors: robert.craig.2 at us.af.mil
> > >       Status: new
> > >  Ticket <URL:
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501
> > > >
> > >
> > >
> > > John, I am installing MET 5.1 on a new computer  system here.
Below
> are
> > > the contents of my met-5.1 so far:
> > >
> > > aclocal.m4    config.h     config.log     config.sub
configure.ac
> > > depcomp  export_vars.bat  lib       Makefile.am  Make-include
> > missing
> > > README     scripts  src
> > > config.guess  config.h.in  config.status  configure   data
> doc
> > >     install-sh       Makefile  Makefile.in  make_install.log
out
> > > run_tests  share    stamp-h1
> > >
> > > In lib, I have the following:
> > >
> > > BUFRLIB_v10-0-1  g2clib-1.4.0  GRIBI_copygb.exe  gsl-1.15
jasper
> > > libf2c
> > > libpng-1.2.34  netcdf-4.1.3  tar  zlib-1.2.6
> > >
> > > Below is the env variables set:
> > >
> > > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > > MAIL=/var/spool/mail/qcteam
> > >
> > >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/lpp
> > > /s
> > > sp
> > > /perl5/man
> > > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > MET_GRIB2CINC=-I/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > -I/h/WXQC/met-5.1/install/jasper/include/jasper
> > > -I/h/WXQC/met-5.1/install/zlib/include
> > > -I/h/WXQC/met-5.1/install/libpng/include
> > > MET_GRIB2CLIB=-L/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > -L/h/WXQC/met-5.1/install/jasper/lib
> > > -L/h/WXQC/met-5.1/install/zlib/lib
> > > -L/h/WXQC/met-5.1/install/libpng/lib
> > > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> > >
> > >
MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles:/opt/me
> > > ll
> > > an
> > > ox/bupc/2.18.0/modules
> > > MODULESHOME=/usr/share/Modules
> > >
> > > From page 32 of the MET 5.1 users guide, I ran step 1) and all
> > > seemed to go well When I run step 2), it dies and I get the
> > > following
> output:
> > > [1]     21366
> > > [1123 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] In file included from
> > > data2d_grib2.cc:29:
> > > data2d_grib2.h:27:21: error: grib2.h: No such file or directory
In
> > > file included from data2d_grib2.cc:29:
> > > data2d_grib2.h:96: error: \u2018gribfield\u2019 has not been
> > > declared
> > > data2d_grib2.h:99: error: \u2018g2int\u2019 has not been
declared
> > > data2d_grib2.h:100: error: \u2018g2int\u2019 has not been
declared
> > > data2d_grib2.h:101: error: \u2018gribfield\u2019 has not been
> > > declared
> > > data2d_grib2.h:103: error: \u2018g2int\u2019 has not been
declared
> > > data2d_grib2.cc:36: error: variable or field \u2018g2_miss\u2019
> > > declared void
> > > data2d_grib2.cc:36: error: \u2018gribfield\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:36: error: \u2018gfld\u2019 was not declared in
> > > this scope
> > > data2d_grib2.cc:36: error: expected primary-expression before
> > > \u2018float\u2019
> > > data2d_grib2.cc:36: error: expected primary-expression before
> > > \u2018int\u2019
> > > data2d_grib2.cc: In member function \u2018void
> > > MetGrib2DataFile::read_grib2_record_list()\u2019:
> > > data2d_grib2.cc:533: error: \u2018gribfield\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:533: error: \u2018gfld\u2019 was not declared in
> > > this scope
> > > data2d_grib2.cc:536: error: \u2018g2int\u2019 was not declared
in
> > > this scope
> > > data2d_grib2.cc:536: error: expected \u2018;\u2019 before
> > > \u2018numfields\u2019
> > > data2d_grib2.cc:540: error: \u2018numfields\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:674: error: expected \u2018;\u2019 before
> > > \u2018range_typ\u2019
> > > data2d_grib2.cc:677: error: expected \u2018;\u2019 before
> > > \u2018range_val\u2019
> > > data2d_grib2.cc:680: error: \u2018range_typ\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:681: error: \u2018range_val\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:705: error: \u2018g2_free\u2019 was not declared
> > > in this scope
> > > data2d_grib2.cc: At global scope:
> > > data2d_grib2.cc:723: error: variable or field
> > > \u2018read_grib2_grid\u2019 declared void
> > > data2d_grib2.cc:723: error: \u2018gribfield\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:723: error: \u2018gfld\u2019 was not declared in
> > > this scope
> > > make[3]: *** [libvx_data2d_grib2_a-data2d_grib2.o] Error 1
> > > make[2]: *** [install-recursive] Error 1
> > > make[1]: *** [install-recursive] Error 1
> > > make: *** [install-recursive] Error 1
> > >
> > > [1] +  Done(2)                 make install > make_install.log &
> > >
> > > Not sure what to do at this point.  Hope you can help.
> > >
> > > Bob
> > >
> > >
> > >
> > >
> >
> >
> >
>
>
>
>



------------------------------------------------
Subject: RE: [rt.rap.ucar.edu #75501] Intalling MET 5-1
From: robert.craig.2 at us.af.mil
Time: Fri Mar 11 13:31:04 2016

Disregard previous email - gen-vs-mask is present.

-----Original Message-----
From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
Sent: Friday, March 11, 2016 1:36 PM
To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1

Bob,

Sorry I missed that.  OK, when you compiled jasperlib it must have
installed it somewhere on a system location.  Try this:
   locate libjasper.a

If that finds it, you can point to it.  Or you could recompile jasper
using the "--prefix" option to telll it where you want it compiled.
For example:
   cd /h/WXQC/met-5.1/lib/libpng-1.2.34/
   ./configure --prefix=/h/WXQC/met-5.1/lib/libpng-1.2.34
   make install

The "install" step should create this directory:
/h/WXQC/met-5.1/lib/libpng-1.2.34/lib

When I have to install MET on a new system, I often install all the
libraries (NetCDF, GSL, BUFRLIB, and the GRIB2 libraries) to the same
directory.  Installing them to different directories works too, but
then we need to specify them individually, as we're doing.

Does that help?

Thanks,
John

On Fri, Mar 11, 2016 at 12:28 PM, robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
>
> John, I don't have a lib directory under jasper.  The listing of the
> jasper directory was in my last email.
>
> Bob
>
> -----Original Message-----
> From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> Sent: Friday, March 11, 2016 1:24 PM
> To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
>
> Bob,
>
> OK great, we're making progress!
>
> First, in the instructions we say "make install >&
make_install.log".
> In c-shell that directs both standard out and standard error to the
> same output log file.  I think the syntax in bourne-shell or
> korn-shell is different.  If you're using those, please try this:
>    make install > make_install.log 2>&1
>
> Sounds like we should update the user's guide with c-shell and
> non-c-shell variants.
>
> On to the jasperlib issue.  With your LDFLAGS setting, we've told
MET
> to look for the file "libjasper.a" (or libjasper.so*) in here:
>    ls /h/WXQC/met-5.1/lib/jasper/libjasper*
>
> But I suspect it actually lives in a lib sub-directory instead!  And
> for zlib and libpng, I think there is *not* a lib subdirectory.
>
> Try this:
>   ls /h/WXQC/met-5.1/lib/jasper/lib/libjasper.a
>   ls /h/WXQC/met-5.1/lib/zlib-1.2.6/libz.a
>   ls /h/WXQC/met-5.1/lib/libpng-1.2.34/libpng.a
>
> If you find library files in all those locations, use the following
> environment variable setting:
>
> LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper/lib
> -L/h/WXQC/met-5.1/lib/zlib-1.2.6
> -L/h/WXQC/met-5.1/lib/libpng-1.2.34
>
> Sorry this is so confusing!
>
> John
>
>
>
> On Fri, Mar 11, 2016 at 11:01 AM, robert.craig.2 at us.af.mil via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
> >
> > John, I made the changes you suggested with one caveat:  I changed
> > "install"
> > to "lib" in the LDFLAGS since the libraries are in /h/WXQC/met-
5.1/lib.
> > Also
> > in the MET 5.1 Users Guide, on page 32, the step 2)  says to 'make
> > install
> > >&
> > make_install.log &' and I assume you meant ''make install >
> > make_install.log &'.  So after setting the environmental variables
> > and running step 1) then Step 2)  the compile gives me the
following
> > messages and then stops.
> > Attached
> > in the log file.
> >
> > [1227 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] make install >
> > make_install.log &
> > [1]     28326
> > [1228 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] /usr/bin/ld: cannot
find
> > -ljasper
> > collect2: ld returned 1 exit status
> > make[4]: *** [ensemble_stat] Error 1
> > make[3]: *** [install-recursive] Error 1
> > make[2]: *** [install-recursive] Error 1
> > make[1]: *** [install-recursive] Error 1
> > make: *** [install-recursive] Error 1
> >
> > [1] +  Done(2)                 make install > make_install.log &
> >
> > My env vars are below.  There is no lib directory in jasper.  A
dir
> > of jasper is listed below:
> >
> > acaux       ChangeLog   config.status  configure.ac  data  INSTALL
> > jasper.spec.in  LICENSE   Makefile.am  NEWS    src
> > aclocal.m4  config.log  configure      COPYRIGHT     doc
jasper.spec
> > libtool         Makefile  Makefile.in  README
> >
> > LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper
> > -L/h/WXQC/met-5.1/lib/zlib-1.2.6/lib
> > -L/h/WXQC/met-5.1/lib/libpng-1.2.34
> >
> >
LD_LIBRARY_PATH=/ibrix/intel/Compiler/11.1/069/lib/intel64:/gpfs/lsf
> > /9
> > .1/linux2.6-glibc2.3-
x86_64/lib:/ibrix/intel/Compiler/11.1/069/lib/i
> > nt
> >
el64:/usr/local/itt/idl/idl80/bin/bin.linux.x86_64/dm/lib:/usr/local
> > /i
> > tt/idl/idl80/bin/bin.linux.x86_64:/usr/mpi/gcc/openmpi-
1.8.4/lib64:/
> > ho
> > me/adamsr/python/sage/sage-
4.7.2/local/lib:/home/adamsr/python/basem
> > ap
> > /lib:/home/qcteam/netcdf/netcdf-4.1.3/compiled/lib:/h/common/gsl-
1.1
> > 5/
> > lib
> > LESS=iX
> > LESSOPEN=||/usr/bin/lesspipe.sh %s
> > LOADEDMODULES=mpi/1.8.4
> > LOGNAME=qcteam
> > LSF_BINDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/bin
> > LSF_ENVDIR=/gpfs/lsf/conf
> > LSF_LIBDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/lib
> > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > MAIL=/var/spool/mail/qcteam
> >
> >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/lpp/s
> > sp
> > /perl5/man
> > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> >
> > What next?
> >
> > -----Original Message-----
> > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > Sent: Friday, March 11, 2016 10:53 AM
> > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> >
> > Hi,
> >
> > It looks like the compiler is having trouble finding the "grib2.h"
> > include file.  This is caused by the way you have set the
> > MET_GRIB2CINC and MET_GRIB2CLIB variables.  The configure script
is
> > not expecting them to include "-I" and "-L", as you've set them.
> > Actually, you do not need to set
> > MET_GRIB2 if you're setting the MET_GRIB2CINC and MET_GRIB2CLIB.
> > Instead, please try the following settings:
> >
> > MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> >
> > This tells the code to look in the same directory for both the
"grib2.h"
> > header file and the compiled library file "libgrib2c.a".  Both
> > should exist in that directory.
> >
> > Next, you also need to tell it where to find the jasper, zlib, and
> > libpng libraries.  Those are often installed in standard locations
> > on machines and the configure script finds them without you
needing
> > to tell it where to look.
> > But based on your settings, it looks like they are not in a
standard
> > location.
> > Instead, we'll use LDFLAGS to tell the linker where to find those
> > libraries (this is described in the output of ./configure --help).
> >
> > LDFLAGS='-L/h/WXQC/met-5.1/install/jasper/lib
> > -L/h/WXQC/met-5.1/install/zlib/lib -L/h/WXQC/met-
5.1/install/libpng/lib'
> >
> > Please give that a shot and let me know how it goes.
> >
> > Thanks,
> > John
> >
> >
> > On Fri, Mar 11, 2016 at 9:08 AM, robert.craig.2 at us.af.mil via RT <
> > met_help at ucar.edu> wrote:
> >
> > >
> > > Fri Mar 11 09:08:39 2016: Request 75501 was acted upon.
> > > Transaction: Ticket created by robert.craig.2 at us.af.mil
> > >        Queue: met_help
> > >      Subject: Intalling MET 5-1
> > >        Owner: Nobody
> > >   Requestors: robert.craig.2 at us.af.mil
> > >       Status: new
> > >  Ticket <URL:
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501
> > > >
> > >
> > >
> > > John, I am installing MET 5.1 on a new computer  system here.
Below
> are
> > > the contents of my met-5.1 so far:
> > >
> > > aclocal.m4    config.h     config.log     config.sub
configure.ac
> > > depcomp  export_vars.bat  lib       Makefile.am  Make-include
> > missing
> > > README     scripts  src
> > > config.guess  config.h.in  config.status  configure   data
> doc
> > >     install-sh       Makefile  Makefile.in  make_install.log
out
> > > run_tests  share    stamp-h1
> > >
> > > In lib, I have the following:
> > >
> > > BUFRLIB_v10-0-1  g2clib-1.4.0  GRIBI_copygb.exe  gsl-1.15
jasper
> > > libf2c
> > > libpng-1.2.34  netcdf-4.1.3  tar  zlib-1.2.6
> > >
> > > Below is the env variables set:
> > >
> > > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > > MAIL=/var/spool/mail/qcteam
> > >
> > >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/lpp
> > > /s
> > > sp
> > > /perl5/man
> > > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > MET_GRIB2CINC=-I/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > -I/h/WXQC/met-5.1/install/jasper/include/jasper
> > > -I/h/WXQC/met-5.1/install/zlib/include
> > > -I/h/WXQC/met-5.1/install/libpng/include
> > > MET_GRIB2CLIB=-L/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > -L/h/WXQC/met-5.1/install/jasper/lib
> > > -L/h/WXQC/met-5.1/install/zlib/lib
> > > -L/h/WXQC/met-5.1/install/libpng/lib
> > > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> > >
> > >
MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles:/opt/me
> > > ll
> > > an
> > > ox/bupc/2.18.0/modules
> > > MODULESHOME=/usr/share/Modules
> > >
> > > From page 32 of the MET 5.1 users guide, I ran step 1) and all
> > > seemed to go well When I run step 2), it dies and I get the
> > > following
> output:
> > > [1]     21366
> > > [1123 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] In file included from
> > > data2d_grib2.cc:29:
> > > data2d_grib2.h:27:21: error: grib2.h: No such file or directory
In
> > > file included from data2d_grib2.cc:29:
> > > data2d_grib2.h:96: error: \u2018gribfield\u2019 has not been
> > > declared
> > > data2d_grib2.h:99: error: \u2018g2int\u2019 has not been
declared
> > > data2d_grib2.h:100: error: \u2018g2int\u2019 has not been
declared
> > > data2d_grib2.h:101: error: \u2018gribfield\u2019 has not been
> > > declared
> > > data2d_grib2.h:103: error: \u2018g2int\u2019 has not been
declared
> > > data2d_grib2.cc:36: error: variable or field \u2018g2_miss\u2019
> > > declared void
> > > data2d_grib2.cc:36: error: \u2018gribfield\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:36: error: \u2018gfld\u2019 was not declared in
> > > this scope
> > > data2d_grib2.cc:36: error: expected primary-expression before
> > > \u2018float\u2019
> > > data2d_grib2.cc:36: error: expected primary-expression before
> > > \u2018int\u2019
> > > data2d_grib2.cc: In member function \u2018void
> > > MetGrib2DataFile::read_grib2_record_list()\u2019:
> > > data2d_grib2.cc:533: error: \u2018gribfield\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:533: error: \u2018gfld\u2019 was not declared in
> > > this scope
> > > data2d_grib2.cc:536: error: \u2018g2int\u2019 was not declared
in
> > > this scope
> > > data2d_grib2.cc:536: error: expected \u2018;\u2019 before
> > > \u2018numfields\u2019
> > > data2d_grib2.cc:540: error: \u2018numfields\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:674: error: expected \u2018;\u2019 before
> > > \u2018range_typ\u2019
> > > data2d_grib2.cc:677: error: expected \u2018;\u2019 before
> > > \u2018range_val\u2019
> > > data2d_grib2.cc:680: error: \u2018range_typ\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:681: error: \u2018range_val\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:705: error: \u2018g2_free\u2019 was not declared
> > > in this scope
> > > data2d_grib2.cc: At global scope:
> > > data2d_grib2.cc:723: error: variable or field
> > > \u2018read_grib2_grid\u2019 declared void
> > > data2d_grib2.cc:723: error: \u2018gribfield\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:723: error: \u2018gfld\u2019 was not declared in
> > > this scope
> > > make[3]: *** [libvx_data2d_grib2_a-data2d_grib2.o] Error 1
> > > make[2]: *** [install-recursive] Error 1
> > > make[1]: *** [install-recursive] Error 1
> > > make: *** [install-recursive] Error 1
> > >
> > > [1] +  Done(2)                 make install > make_install.log &
> > >
> > > Not sure what to do at this point.  Hope you can help.
> > >
> > > Bob
> > >
> > >
> > >
> > >
> >
> >
> >
>
>
>
>



------------------------------------------------
Subject: RE: [rt.rap.ucar.edu #75501] Intalling MET 5-1
From: robert.craig.2 at us.af.mil
Time: Fri Mar 11 13:39:10 2016

Update #2 - the following are missing from the bin directory:

Gsid2mpr
Gsiddens20rank
Modis_regrid (I didn't turn on MODIS since it had an error)
Mtd
Plot_mode_fiels
Regrid_data_plane
Shift_data_plane
Tc *


-----Original Message-----
From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
Sent: Friday, March 11, 2016 1:36 PM
To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1

Bob,

Sorry I missed that.  OK, when you compiled jasperlib it must have
installed it somewhere on a system location.  Try this:
   locate libjasper.a

If that finds it, you can point to it.  Or you could recompile jasper
using the "--prefix" option to telll it where you want it compiled.
For example:
   cd /h/WXQC/met-5.1/lib/libpng-1.2.34/
   ./configure --prefix=/h/WXQC/met-5.1/lib/libpng-1.2.34
   make install

The "install" step should create this directory:
/h/WXQC/met-5.1/lib/libpng-1.2.34/lib

When I have to install MET on a new system, I often install all the
libraries (NetCDF, GSL, BUFRLIB, and the GRIB2 libraries) to the same
directory.  Installing them to different directories works too, but
then we need to specify them individually, as we're doing.

Does that help?

Thanks,
John

On Fri, Mar 11, 2016 at 12:28 PM, robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
>
> John, I don't have a lib directory under jasper.  The listing of the
> jasper directory was in my last email.
>
> Bob
>
> -----Original Message-----
> From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> Sent: Friday, March 11, 2016 1:24 PM
> To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
>
> Bob,
>
> OK great, we're making progress!
>
> First, in the instructions we say "make install >&
make_install.log".
> In c-shell that directs both standard out and standard error to the
> same output log file.  I think the syntax in bourne-shell or
> korn-shell is different.  If you're using those, please try this:
>    make install > make_install.log 2>&1
>
> Sounds like we should update the user's guide with c-shell and
> non-c-shell variants.
>
> On to the jasperlib issue.  With your LDFLAGS setting, we've told
MET
> to look for the file "libjasper.a" (or libjasper.so*) in here:
>    ls /h/WXQC/met-5.1/lib/jasper/libjasper*
>
> But I suspect it actually lives in a lib sub-directory instead!  And
> for zlib and libpng, I think there is *not* a lib subdirectory.
>
> Try this:
>   ls /h/WXQC/met-5.1/lib/jasper/lib/libjasper.a
>   ls /h/WXQC/met-5.1/lib/zlib-1.2.6/libz.a
>   ls /h/WXQC/met-5.1/lib/libpng-1.2.34/libpng.a
>
> If you find library files in all those locations, use the following
> environment variable setting:
>
> LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper/lib
> -L/h/WXQC/met-5.1/lib/zlib-1.2.6
> -L/h/WXQC/met-5.1/lib/libpng-1.2.34
>
> Sorry this is so confusing!
>
> John
>
>
>
> On Fri, Mar 11, 2016 at 11:01 AM, robert.craig.2 at us.af.mil via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
> >
> > John, I made the changes you suggested with one caveat:  I changed
> > "install"
> > to "lib" in the LDFLAGS since the libraries are in /h/WXQC/met-
5.1/lib.
> > Also
> > in the MET 5.1 Users Guide, on page 32, the step 2)  says to 'make
> > install
> > >&
> > make_install.log &' and I assume you meant ''make install >
> > make_install.log &'.  So after setting the environmental variables
> > and running step 1) then Step 2)  the compile gives me the
following
> > messages and then stops.
> > Attached
> > in the log file.
> >
> > [1227 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] make install >
> > make_install.log &
> > [1]     28326
> > [1228 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] /usr/bin/ld: cannot
find
> > -ljasper
> > collect2: ld returned 1 exit status
> > make[4]: *** [ensemble_stat] Error 1
> > make[3]: *** [install-recursive] Error 1
> > make[2]: *** [install-recursive] Error 1
> > make[1]: *** [install-recursive] Error 1
> > make: *** [install-recursive] Error 1
> >
> > [1] +  Done(2)                 make install > make_install.log &
> >
> > My env vars are below.  There is no lib directory in jasper.  A
dir
> > of jasper is listed below:
> >
> > acaux       ChangeLog   config.status  configure.ac  data  INSTALL
> > jasper.spec.in  LICENSE   Makefile.am  NEWS    src
> > aclocal.m4  config.log  configure      COPYRIGHT     doc
jasper.spec
> > libtool         Makefile  Makefile.in  README
> >
> > LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper
> > -L/h/WXQC/met-5.1/lib/zlib-1.2.6/lib
> > -L/h/WXQC/met-5.1/lib/libpng-1.2.34
> >
> >
LD_LIBRARY_PATH=/ibrix/intel/Compiler/11.1/069/lib/intel64:/gpfs/lsf
> > /9
> > .1/linux2.6-glibc2.3-
x86_64/lib:/ibrix/intel/Compiler/11.1/069/lib/i
> > nt
> >
el64:/usr/local/itt/idl/idl80/bin/bin.linux.x86_64/dm/lib:/usr/local
> > /i
> > tt/idl/idl80/bin/bin.linux.x86_64:/usr/mpi/gcc/openmpi-
1.8.4/lib64:/
> > ho
> > me/adamsr/python/sage/sage-
4.7.2/local/lib:/home/adamsr/python/basem
> > ap
> > /lib:/home/qcteam/netcdf/netcdf-4.1.3/compiled/lib:/h/common/gsl-
1.1
> > 5/
> > lib
> > LESS=iX
> > LESSOPEN=||/usr/bin/lesspipe.sh %s
> > LOADEDMODULES=mpi/1.8.4
> > LOGNAME=qcteam
> > LSF_BINDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/bin
> > LSF_ENVDIR=/gpfs/lsf/conf
> > LSF_LIBDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/lib
> > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > MAIL=/var/spool/mail/qcteam
> >
> >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/lpp/s
> > sp
> > /perl5/man
> > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> >
> > What next?
> >
> > -----Original Message-----
> > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > Sent: Friday, March 11, 2016 10:53 AM
> > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> >
> > Hi,
> >
> > It looks like the compiler is having trouble finding the "grib2.h"
> > include file.  This is caused by the way you have set the
> > MET_GRIB2CINC and MET_GRIB2CLIB variables.  The configure script
is
> > not expecting them to include "-I" and "-L", as you've set them.
> > Actually, you do not need to set
> > MET_GRIB2 if you're setting the MET_GRIB2CINC and MET_GRIB2CLIB.
> > Instead, please try the following settings:
> >
> > MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> >
> > This tells the code to look in the same directory for both the
"grib2.h"
> > header file and the compiled library file "libgrib2c.a".  Both
> > should exist in that directory.
> >
> > Next, you also need to tell it where to find the jasper, zlib, and
> > libpng libraries.  Those are often installed in standard locations
> > on machines and the configure script finds them without you
needing
> > to tell it where to look.
> > But based on your settings, it looks like they are not in a
standard
> > location.
> > Instead, we'll use LDFLAGS to tell the linker where to find those
> > libraries (this is described in the output of ./configure --help).
> >
> > LDFLAGS='-L/h/WXQC/met-5.1/install/jasper/lib
> > -L/h/WXQC/met-5.1/install/zlib/lib -L/h/WXQC/met-
5.1/install/libpng/lib'
> >
> > Please give that a shot and let me know how it goes.
> >
> > Thanks,
> > John
> >
> >
> > On Fri, Mar 11, 2016 at 9:08 AM, robert.craig.2 at us.af.mil via RT <
> > met_help at ucar.edu> wrote:
> >
> > >
> > > Fri Mar 11 09:08:39 2016: Request 75501 was acted upon.
> > > Transaction: Ticket created by robert.craig.2 at us.af.mil
> > >        Queue: met_help
> > >      Subject: Intalling MET 5-1
> > >        Owner: Nobody
> > >   Requestors: robert.craig.2 at us.af.mil
> > >       Status: new
> > >  Ticket <URL:
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501
> > > >
> > >
> > >
> > > John, I am installing MET 5.1 on a new computer  system here.
Below
> are
> > > the contents of my met-5.1 so far:
> > >
> > > aclocal.m4    config.h     config.log     config.sub
configure.ac
> > > depcomp  export_vars.bat  lib       Makefile.am  Make-include
> > missing
> > > README     scripts  src
> > > config.guess  config.h.in  config.status  configure   data
> doc
> > >     install-sh       Makefile  Makefile.in  make_install.log
out
> > > run_tests  share    stamp-h1
> > >
> > > In lib, I have the following:
> > >
> > > BUFRLIB_v10-0-1  g2clib-1.4.0  GRIBI_copygb.exe  gsl-1.15
jasper
> > > libf2c
> > > libpng-1.2.34  netcdf-4.1.3  tar  zlib-1.2.6
> > >
> > > Below is the env variables set:
> > >
> > > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > > MAIL=/var/spool/mail/qcteam
> > >
> > >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/lpp
> > > /s
> > > sp
> > > /perl5/man
> > > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > MET_GRIB2CINC=-I/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > -I/h/WXQC/met-5.1/install/jasper/include/jasper
> > > -I/h/WXQC/met-5.1/install/zlib/include
> > > -I/h/WXQC/met-5.1/install/libpng/include
> > > MET_GRIB2CLIB=-L/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > -L/h/WXQC/met-5.1/install/jasper/lib
> > > -L/h/WXQC/met-5.1/install/zlib/lib
> > > -L/h/WXQC/met-5.1/install/libpng/lib
> > > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> > >
> > >
MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles:/opt/me
> > > ll
> > > an
> > > ox/bupc/2.18.0/modules
> > > MODULESHOME=/usr/share/Modules
> > >
> > > From page 32 of the MET 5.1 users guide, I ran step 1) and all
> > > seemed to go well When I run step 2), it dies and I get the
> > > following
> output:
> > > [1]     21366
> > > [1123 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] In file included from
> > > data2d_grib2.cc:29:
> > > data2d_grib2.h:27:21: error: grib2.h: No such file or directory
In
> > > file included from data2d_grib2.cc:29:
> > > data2d_grib2.h:96: error: \u2018gribfield\u2019 has not been
> > > declared
> > > data2d_grib2.h:99: error: \u2018g2int\u2019 has not been
declared
> > > data2d_grib2.h:100: error: \u2018g2int\u2019 has not been
declared
> > > data2d_grib2.h:101: error: \u2018gribfield\u2019 has not been
> > > declared
> > > data2d_grib2.h:103: error: \u2018g2int\u2019 has not been
declared
> > > data2d_grib2.cc:36: error: variable or field \u2018g2_miss\u2019
> > > declared void
> > > data2d_grib2.cc:36: error: \u2018gribfield\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:36: error: \u2018gfld\u2019 was not declared in
> > > this scope
> > > data2d_grib2.cc:36: error: expected primary-expression before
> > > \u2018float\u2019
> > > data2d_grib2.cc:36: error: expected primary-expression before
> > > \u2018int\u2019
> > > data2d_grib2.cc: In member function \u2018void
> > > MetGrib2DataFile::read_grib2_record_list()\u2019:
> > > data2d_grib2.cc:533: error: \u2018gribfield\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:533: error: \u2018gfld\u2019 was not declared in
> > > this scope
> > > data2d_grib2.cc:536: error: \u2018g2int\u2019 was not declared
in
> > > this scope
> > > data2d_grib2.cc:536: error: expected \u2018;\u2019 before
> > > \u2018numfields\u2019
> > > data2d_grib2.cc:540: error: \u2018numfields\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:674: error: expected \u2018;\u2019 before
> > > \u2018range_typ\u2019
> > > data2d_grib2.cc:677: error: expected \u2018;\u2019 before
> > > \u2018range_val\u2019
> > > data2d_grib2.cc:680: error: \u2018range_typ\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:681: error: \u2018range_val\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:705: error: \u2018g2_free\u2019 was not declared
> > > in this scope
> > > data2d_grib2.cc: At global scope:
> > > data2d_grib2.cc:723: error: variable or field
> > > \u2018read_grib2_grid\u2019 declared void
> > > data2d_grib2.cc:723: error: \u2018gribfield\u2019 was not
declared
> > > in this scope
> > > data2d_grib2.cc:723: error: \u2018gfld\u2019 was not declared in
> > > this scope
> > > make[3]: *** [libvx_data2d_grib2_a-data2d_grib2.o] Error 1
> > > make[2]: *** [install-recursive] Error 1
> > > make[1]: *** [install-recursive] Error 1
> > > make: *** [install-recursive] Error 1
> > >
> > > [1] +  Done(2)                 make install > make_install.log &
> > >
> > > Not sure what to do at this point.  Hope you can help.
> > >
> > > Bob
> > >
> > >
> > >
> > >
> >
> >
> >
>
>
>
>



------------------------------------------------
Subject: Intalling MET 5-1
From: John Halley Gotway
Time: Fri Mar 11 13:49:35 2016

Bob,

Looks like we're having GSL and BUFRLIB issues.

Let's check the GSL library.  Run this:
  ls /h/WXQC/met-5.1/lib/gsl-1.15/lib /h/WXQC/met-5.1/lib/gsl-
1.15/include

Do those directories exist?  Or did you install GSL somewhere else?
Just
like jasperlib, you can use the "--prefix" option to install the
library
in-place or, by default, it'll install them in a more standard
location.
Typically users don't have root permission to write to /usr/local, but
perhaps you do.

Regarding BUFRLIB, did you compile it using the "no-second-underscore"
option:

http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php

Since you're using GNU, here are commands you should use for BUFRLIB:

   *cd *
*/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1 gcc -c -DUNDERSCORE *.c*
   *gfortran -c -DUNDERSCORE -fno-second-underscore *.f *.F*
   *ar crv libbufr.a *.o*

Thanks,
John


On Fri, Mar 11, 2016 at 1:39 PM, robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
>
> Update #2 - the following are missing from the bin directory:
>
> Gsid2mpr
> Gsiddens20rank
> Modis_regrid (I didn't turn on MODIS since it had an error)
> Mtd
> Plot_mode_fiels
> Regrid_data_plane
> Shift_data_plane
> Tc *
>
>
> -----Original Message-----
> From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> Sent: Friday, March 11, 2016 1:36 PM
> To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
>
> Bob,
>
> Sorry I missed that.  OK, when you compiled jasperlib it must have
> installed it somewhere on a system location.  Try this:
>    locate libjasper.a
>
> If that finds it, you can point to it.  Or you could recompile
jasper
> using the "--prefix" option to telll it where you want it compiled.
For
> example:
>    cd /h/WXQC/met-5.1/lib/libpng-1.2.34/
>    ./configure --prefix=/h/WXQC/met-5.1/lib/libpng-1.2.34
>    make install
>
> The "install" step should create this directory:
> /h/WXQC/met-5.1/lib/libpng-1.2.34/lib
>
> When I have to install MET on a new system, I often install all the
> libraries (NetCDF, GSL, BUFRLIB, and the GRIB2 libraries) to the
same
> directory.  Installing them to different directories works too, but
then we
> need to specify them individually, as we're doing.
>
> Does that help?
>
> Thanks,
> John
>
> On Fri, Mar 11, 2016 at 12:28 PM, robert.craig.2 at us.af.mil via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
> >
> > John, I don't have a lib directory under jasper.  The listing of
the
> > jasper directory was in my last email.
> >
> > Bob
> >
> > -----Original Message-----
> > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > Sent: Friday, March 11, 2016 1:24 PM
> > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> >
> > Bob,
> >
> > OK great, we're making progress!
> >
> > First, in the instructions we say "make install >&
make_install.log".
> > In c-shell that directs both standard out and standard error to
the
> > same output log file.  I think the syntax in bourne-shell or
> > korn-shell is different.  If you're using those, please try this:
> >    make install > make_install.log 2>&1
> >
> > Sounds like we should update the user's guide with c-shell and
> > non-c-shell variants.
> >
> > On to the jasperlib issue.  With your LDFLAGS setting, we've told
MET
> > to look for the file "libjasper.a" (or libjasper.so*) in here:
> >    ls /h/WXQC/met-5.1/lib/jasper/libjasper*
> >
> > But I suspect it actually lives in a lib sub-directory instead!
And
> > for zlib and libpng, I think there is *not* a lib subdirectory.
> >
> > Try this:
> >   ls /h/WXQC/met-5.1/lib/jasper/lib/libjasper.a
> >   ls /h/WXQC/met-5.1/lib/zlib-1.2.6/libz.a
> >   ls /h/WXQC/met-5.1/lib/libpng-1.2.34/libpng.a
> >
> > If you find library files in all those locations, use the
following
> > environment variable setting:
> >
> > LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper/lib
> > -L/h/WXQC/met-5.1/lib/zlib-1.2.6
> > -L/h/WXQC/met-5.1/lib/libpng-1.2.34
> >
> > Sorry this is so confusing!
> >
> > John
> >
> >
> >
> > On Fri, Mar 11, 2016 at 11:01 AM, robert.craig.2 at us.af.mil via RT
<
> > met_help at ucar.edu> wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
> > >
> > > John, I made the changes you suggested with one caveat:  I
changed
> > > "install"
> > > to "lib" in the LDFLAGS since the libraries are in /h/WXQC/met-
5.1/lib.
> > > Also
> > > in the MET 5.1 Users Guide, on page 32, the step 2)  says to
'make
> > > install
> > > >&
> > > make_install.log &' and I assume you meant ''make install >
> > > make_install.log &'.  So after setting the environmental
variables
> > > and running step 1) then Step 2)  the compile gives me the
following
> > > messages and then stops.
> > > Attached
> > > in the log file.
> > >
> > > [1227 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] make install >
> > > make_install.log &
> > > [1]     28326
> > > [1228 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] /usr/bin/ld: cannot
find
> > > -ljasper
> > > collect2: ld returned 1 exit status
> > > make[4]: *** [ensemble_stat] Error 1
> > > make[3]: *** [install-recursive] Error 1
> > > make[2]: *** [install-recursive] Error 1
> > > make[1]: *** [install-recursive] Error 1
> > > make: *** [install-recursive] Error 1
> > >
> > > [1] +  Done(2)                 make install > make_install.log &
> > >
> > > My env vars are below.  There is no lib directory in jasper.  A
dir
> > > of jasper is listed below:
> > >
> > > acaux       ChangeLog   config.status  configure.ac  data
INSTALL
> > > jasper.spec.in  LICENSE   Makefile.am  NEWS    src
> > > aclocal.m4  config.log  configure      COPYRIGHT     doc
jasper.spec
> > > libtool         Makefile  Makefile.in  README
> > >
> > > LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper
> > > -L/h/WXQC/met-5.1/lib/zlib-1.2.6/lib
> > > -L/h/WXQC/met-5.1/lib/libpng-1.2.34
> > >
> > >
LD_LIBRARY_PATH=/ibrix/intel/Compiler/11.1/069/lib/intel64:/gpfs/lsf
> > > /9
> > > .1/linux2.6-glibc2.3-
x86_64/lib:/ibrix/intel/Compiler/11.1/069/lib/i
> > > nt
> > >
el64:/usr/local/itt/idl/idl80/bin/bin.linux.x86_64/dm/lib:/usr/local
> > > /i
> > > tt/idl/idl80/bin/bin.linux.x86_64:/usr/mpi/gcc/openmpi-
1.8.4/lib64:/
> > > ho
> > > me/adamsr/python/sage/sage-
4.7.2/local/lib:/home/adamsr/python/basem
> > > ap
> > > /lib:/home/qcteam/netcdf/netcdf-
4.1.3/compiled/lib:/h/common/gsl-1.1
> > > 5/
> > > lib
> > > LESS=iX
> > > LESSOPEN=||/usr/bin/lesspipe.sh %s
> > > LOADEDMODULES=mpi/1.8.4
> > > LOGNAME=qcteam
> > > LSF_BINDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/bin
> > > LSF_ENVDIR=/gpfs/lsf/conf
> > > LSF_LIBDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/lib
> > > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > > MAIL=/var/spool/mail/qcteam
> > >
> > >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/lpp/s
> > > sp
> > > /perl5/man
> > > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> > >
> > > What next?
> > >
> > > -----Original Message-----
> > > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > > Sent: Friday, March 11, 2016 10:53 AM
> > > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> > >
> > > Hi,
> > >
> > > It looks like the compiler is having trouble finding the
"grib2.h"
> > > include file.  This is caused by the way you have set the
> > > MET_GRIB2CINC and MET_GRIB2CLIB variables.  The configure script
is
> > > not expecting them to include "-I" and "-L", as you've set them.
> > > Actually, you do not need to set
> > > MET_GRIB2 if you're setting the MET_GRIB2CINC and MET_GRIB2CLIB.
> > > Instead, please try the following settings:
> > >
> > > MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > >
> > > This tells the code to look in the same directory for both the
> "grib2.h"
> > > header file and the compiled library file "libgrib2c.a".  Both
> > > should exist in that directory.
> > >
> > > Next, you also need to tell it where to find the jasper, zlib,
and
> > > libpng libraries.  Those are often installed in standard
locations
> > > on machines and the configure script finds them without you
needing
> > > to tell it where to look.
> > > But based on your settings, it looks like they are not in a
standard
> > > location.
> > > Instead, we'll use LDFLAGS to tell the linker where to find
those
> > > libraries (this is described in the output of ./configure
--help).
> > >
> > > LDFLAGS='-L/h/WXQC/met-5.1/install/jasper/lib
> > > -L/h/WXQC/met-5.1/install/zlib/lib
> -L/h/WXQC/met-5.1/install/libpng/lib'
> > >
> > > Please give that a shot and let me know how it goes.
> > >
> > > Thanks,
> > > John
> > >
> > >
> > > On Fri, Mar 11, 2016 at 9:08 AM, robert.craig.2 at us.af.mil via RT
<
> > > met_help at ucar.edu> wrote:
> > >
> > > >
> > > > Fri Mar 11 09:08:39 2016: Request 75501 was acted upon.
> > > > Transaction: Ticket created by robert.craig.2 at us.af.mil
> > > >        Queue: met_help
> > > >      Subject: Intalling MET 5-1
> > > >        Owner: Nobody
> > > >   Requestors: robert.craig.2 at us.af.mil
> > > >       Status: new
> > > >  Ticket <URL:
> > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501
> > > > >
> > > >
> > > >
> > > > John, I am installing MET 5.1 on a new computer  system here.
Below
> > are
> > > > the contents of my met-5.1 so far:
> > > >
> > > > aclocal.m4    config.h     config.log     config.sub
configure.ac
> > > > depcomp  export_vars.bat  lib       Makefile.am  Make-include
> > > missing
> > > > README     scripts  src
> > > > config.guess  config.h.in  config.status  configure   data
> > doc
> > > >     install-sh       Makefile  Makefile.in  make_install.log
out
> > > > run_tests  share    stamp-h1
> > > >
> > > > In lib, I have the following:
> > > >
> > > > BUFRLIB_v10-0-1  g2clib-1.4.0  GRIBI_copygb.exe  gsl-1.15
jasper
> > > > libf2c
> > > > libpng-1.2.34  netcdf-4.1.3  tar  zlib-1.2.6
> > > >
> > > > Below is the env variables set:
> > > >
> > > > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > > > MAIL=/var/spool/mail/qcteam
> > > >
> > > >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/lpp
> > > > /s
> > > > sp
> > > > /perl5/man
> > > > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > MET_GRIB2CINC=-I/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > -I/h/WXQC/met-5.1/install/jasper/include/jasper
> > > > -I/h/WXQC/met-5.1/install/zlib/include
> > > > -I/h/WXQC/met-5.1/install/libpng/include
> > > > MET_GRIB2CLIB=-L/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > -L/h/WXQC/met-5.1/install/jasper/lib
> > > > -L/h/WXQC/met-5.1/install/zlib/lib
> > > > -L/h/WXQC/met-5.1/install/libpng/lib
> > > > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > > > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> > > >
> > > >
MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles:/opt/me
> > > > ll
> > > > an
> > > > ox/bupc/2.18.0/modules
> > > > MODULESHOME=/usr/share/Modules
> > > >
> > > > From page 32 of the MET 5.1 users guide, I ran step 1) and all
> > > > seemed to go well When I run step 2), it dies and I get the
> > > > following
> > output:
> > > > [1]     21366
> > > > [1123 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] In file included
from
> > > > data2d_grib2.cc:29:
> > > > data2d_grib2.h:27:21: error: grib2.h: No such file or
directory In
> > > > file included from data2d_grib2.cc:29:
> > > > data2d_grib2.h:96: error: \u2018gribfield\u2019 has not been
> > > > declared
> > > > data2d_grib2.h:99: error: \u2018g2int\u2019 has not been
declared
> > > > data2d_grib2.h:100: error: \u2018g2int\u2019 has not been
declared
> > > > data2d_grib2.h:101: error: \u2018gribfield\u2019 has not been
> > > > declared
> > > > data2d_grib2.h:103: error: \u2018g2int\u2019 has not been
declared
> > > > data2d_grib2.cc:36: error: variable or field
\u2018g2_miss\u2019
> > > > declared void
> > > > data2d_grib2.cc:36: error: \u2018gribfield\u2019 was not
declared
> > > > in this scope
> > > > data2d_grib2.cc:36: error: \u2018gfld\u2019 was not declared
in
> > > > this scope
> > > > data2d_grib2.cc:36: error: expected primary-expression before
> > > > \u2018float\u2019
> > > > data2d_grib2.cc:36: error: expected primary-expression before
> > > > \u2018int\u2019
> > > > data2d_grib2.cc: In member function \u2018void
> > > > MetGrib2DataFile::read_grib2_record_list()\u2019:
> > > > data2d_grib2.cc:533: error: \u2018gribfield\u2019 was not
declared
> > > > in this scope
> > > > data2d_grib2.cc:533: error: \u2018gfld\u2019 was not declared
in
> > > > this scope
> > > > data2d_grib2.cc:536: error: \u2018g2int\u2019 was not declared
in
> > > > this scope
> > > > data2d_grib2.cc:536: error: expected \u2018;\u2019 before
> > > > \u2018numfields\u2019
> > > > data2d_grib2.cc:540: error: \u2018numfields\u2019 was not
declared
> > > > in this scope
> > > > data2d_grib2.cc:674: error: expected \u2018;\u2019 before
> > > > \u2018range_typ\u2019
> > > > data2d_grib2.cc:677: error: expected \u2018;\u2019 before
> > > > \u2018range_val\u2019
> > > > data2d_grib2.cc:680: error: \u2018range_typ\u2019 was not
declared
> > > > in this scope
> > > > data2d_grib2.cc:681: error: \u2018range_val\u2019 was not
declared
> > > > in this scope
> > > > data2d_grib2.cc:705: error: \u2018g2_free\u2019 was not
declared
> > > > in this scope
> > > > data2d_grib2.cc: At global scope:
> > > > data2d_grib2.cc:723: error: variable or field
> > > > \u2018read_grib2_grid\u2019 declared void
> > > > data2d_grib2.cc:723: error: \u2018gribfield\u2019 was not
declared
> > > > in this scope
> > > > data2d_grib2.cc:723: error: \u2018gfld\u2019 was not declared
in
> > > > this scope
> > > > make[3]: *** [libvx_data2d_grib2_a-data2d_grib2.o] Error 1
> > > > make[2]: *** [install-recursive] Error 1
> > > > make[1]: *** [install-recursive] Error 1
> > > > make: *** [install-recursive] Error 1
> > > >
> > > > [1] +  Done(2)                 make install > make_install.log
&
> > > >
> > > > Not sure what to do at this point.  Hope you can help.
> > > >
> > > > Bob
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>
>

------------------------------------------------
Subject: RE: [rt.rap.ucar.edu #75501] Intalling MET 5-1
From: robert.craig.2 at us.af.mil
Time: Fri Mar 11 13:57:43 2016

Yes the directories exist and are populated with files.  Working on
the bufferlib instruction.

-----Original Message-----
From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
Sent: Friday, March 11, 2016 2:50 PM
To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1

Bob,

Looks like we're having GSL and BUFRLIB issues.

Let's check the GSL library.  Run this:
  ls /h/WXQC/met-5.1/lib/gsl-1.15/lib /h/WXQC/met-5.1/lib/gsl-
1.15/include

Do those directories exist?  Or did you install GSL somewhere else?
Just like jasperlib, you can use the "--prefix" option to install the
library in-place or, by default, it'll install them in a more standard
location.
Typically users don't have root permission to write to /usr/local, but
perhaps you do.

Regarding BUFRLIB, did you compile it using the "no-second-underscore"
option:

http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php

Since you're using GNU, here are commands you should use for BUFRLIB:

   *cd *
*/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1 gcc -c -DUNDERSCORE *.c*
   *gfortran -c -DUNDERSCORE -fno-second-underscore *.f *.F*
   *ar crv libbufr.a *.o*

Thanks,
John


On Fri, Mar 11, 2016 at 1:39 PM, robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
>
> Update #2 - the following are missing from the bin directory:
>
> Gsid2mpr
> Gsiddens20rank
> Modis_regrid (I didn't turn on MODIS since it had an error) Mtd
> Plot_mode_fiels Regrid_data_plane Shift_data_plane Tc *
>
>
> -----Original Message-----
> From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> Sent: Friday, March 11, 2016 1:36 PM
> To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
>
> Bob,
>
> Sorry I missed that.  OK, when you compiled jasperlib it must have
> installed it somewhere on a system location.  Try this:
>    locate libjasper.a
>
> If that finds it, you can point to it.  Or you could recompile
jasper
> using the "--prefix" option to telll it where you want it compiled.
> For
> example:
>    cd /h/WXQC/met-5.1/lib/libpng-1.2.34/
>    ./configure --prefix=/h/WXQC/met-5.1/lib/libpng-1.2.34
>    make install
>
> The "install" step should create this directory:
> /h/WXQC/met-5.1/lib/libpng-1.2.34/lib
>
> When I have to install MET on a new system, I often install all the
> libraries (NetCDF, GSL, BUFRLIB, and the GRIB2 libraries) to the
same
> directory.  Installing them to different directories works too, but
> then we need to specify them individually, as we're doing.
>
> Does that help?
>
> Thanks,
> John
>
> On Fri, Mar 11, 2016 at 12:28 PM, robert.craig.2 at us.af.mil via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
> >
> > John, I don't have a lib directory under jasper.  The listing of
the
> > jasper directory was in my last email.
> >
> > Bob
> >
> > -----Original Message-----
> > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > Sent: Friday, March 11, 2016 1:24 PM
> > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> >
> > Bob,
> >
> > OK great, we're making progress!
> >
> > First, in the instructions we say "make install >&
make_install.log".
> > In c-shell that directs both standard out and standard error to
the
> > same output log file.  I think the syntax in bourne-shell or
> > korn-shell is different.  If you're using those, please try this:
> >    make install > make_install.log 2>&1
> >
> > Sounds like we should update the user's guide with c-shell and
> > non-c-shell variants.
> >
> > On to the jasperlib issue.  With your LDFLAGS setting, we've told
> > MET to look for the file "libjasper.a" (or libjasper.so*) in here:
> >    ls /h/WXQC/met-5.1/lib/jasper/libjasper*
> >
> > But I suspect it actually lives in a lib sub-directory instead!
And
> > for zlib and libpng, I think there is *not* a lib subdirectory.
> >
> > Try this:
> >   ls /h/WXQC/met-5.1/lib/jasper/lib/libjasper.a
> >   ls /h/WXQC/met-5.1/lib/zlib-1.2.6/libz.a
> >   ls /h/WXQC/met-5.1/lib/libpng-1.2.34/libpng.a
> >
> > If you find library files in all those locations, use the
following
> > environment variable setting:
> >
> > LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper/lib
> > -L/h/WXQC/met-5.1/lib/zlib-1.2.6
> > -L/h/WXQC/met-5.1/lib/libpng-1.2.34
> >
> > Sorry this is so confusing!
> >
> > John
> >
> >
> >
> > On Fri, Mar 11, 2016 at 11:01 AM, robert.craig.2 at us.af.mil via RT
<
> > met_help at ucar.edu> wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
> > >
> > > John, I made the changes you suggested with one caveat:  I
changed
> > > "install"
> > > to "lib" in the LDFLAGS since the libraries are in /h/WXQC/met-
5.1/lib.
> > > Also
> > > in the MET 5.1 Users Guide, on page 32, the step 2)  says to
'make
> > > install
> > > >&
> > > make_install.log &' and I assume you meant ''make install >
> > > make_install.log &'.  So after setting the environmental
variables
> > > and running step 1) then Step 2)  the compile gives me the
> > > following messages and then stops.
> > > Attached
> > > in the log file.
> > >
> > > [1227 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] make install >
> > > make_install.log &
> > > [1]     28326
> > > [1228 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] /usr/bin/ld: cannot
> > > find -ljasper
> > > collect2: ld returned 1 exit status
> > > make[4]: *** [ensemble_stat] Error 1
> > > make[3]: *** [install-recursive] Error 1
> > > make[2]: *** [install-recursive] Error 1
> > > make[1]: *** [install-recursive] Error 1
> > > make: *** [install-recursive] Error 1
> > >
> > > [1] +  Done(2)                 make install > make_install.log &
> > >
> > > My env vars are below.  There is no lib directory in jasper.  A
> > > dir of jasper is listed below:
> > >
> > > acaux       ChangeLog   config.status  configure.ac  data
INSTALL
> > > jasper.spec.in  LICENSE   Makefile.am  NEWS    src
> > > aclocal.m4  config.log  configure      COPYRIGHT     doc
jasper.spec
> > > libtool         Makefile  Makefile.in  README
> > >
> > > LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper
> > > -L/h/WXQC/met-5.1/lib/zlib-1.2.6/lib
> > > -L/h/WXQC/met-5.1/lib/libpng-1.2.34
> > >
> > >
LD_LIBRARY_PATH=/ibrix/intel/Compiler/11.1/069/lib/intel64:/gpfs/l
> > > sf
> > > /9
> > > .1/linux2.6-glibc2.3-
x86_64/lib:/ibrix/intel/Compiler/11.1/069/lib
> > > /i
> > > nt
> > >
el64:/usr/local/itt/idl/idl80/bin/bin.linux.x86_64/dm/lib:/usr/loc
> > > al
> > > /i
> > > tt/idl/idl80/bin/bin.linux.x86_64:/usr/mpi/gcc/openmpi-
1.8.4/lib64
> > > :/
> > > ho
> > > me/adamsr/python/sage/sage-
4.7.2/local/lib:/home/adamsr/python/bas
> > > em
> > > ap
> > > /lib:/home/qcteam/netcdf/netcdf-
4.1.3/compiled/lib:/h/common/gsl-1
> > > .1
> > > 5/
> > > lib
> > > LESS=iX
> > > LESSOPEN=||/usr/bin/lesspipe.sh %s
> > > LOADEDMODULES=mpi/1.8.4
> > > LOGNAME=qcteam
> > > LSF_BINDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/bin
> > > LSF_ENVDIR=/gpfs/lsf/conf
> > > LSF_LIBDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/lib
> > > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > > MAIL=/var/spool/mail/qcteam
> > >
> > >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/lpp
> > > /s
> > > sp
> > > /perl5/man
> > > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> > >
> > > What next?
> > >
> > > -----Original Message-----
> > > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > > Sent: Friday, March 11, 2016 10:53 AM
> > > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> > >
> > > Hi,
> > >
> > > It looks like the compiler is having trouble finding the
"grib2.h"
> > > include file.  This is caused by the way you have set the
> > > MET_GRIB2CINC and MET_GRIB2CLIB variables.  The configure script
> > > is not expecting them to include "-I" and "-L", as you've set
them.
> > > Actually, you do not need to set
> > > MET_GRIB2 if you're setting the MET_GRIB2CINC and MET_GRIB2CLIB.
> > > Instead, please try the following settings:
> > >
> > > MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > >
> > > This tells the code to look in the same directory for both the
> "grib2.h"
> > > header file and the compiled library file "libgrib2c.a".  Both
> > > should exist in that directory.
> > >
> > > Next, you also need to tell it where to find the jasper, zlib,
and
> > > libpng libraries.  Those are often installed in standard
locations
> > > on machines and the configure script finds them without you
> > > needing to tell it where to look.
> > > But based on your settings, it looks like they are not in a
> > > standard location.
> > > Instead, we'll use LDFLAGS to tell the linker where to find
those
> > > libraries (this is described in the output of ./configure
--help).
> > >
> > > LDFLAGS='-L/h/WXQC/met-5.1/install/jasper/lib
> > > -L/h/WXQC/met-5.1/install/zlib/lib
> -L/h/WXQC/met-5.1/install/libpng/lib'
> > >
> > > Please give that a shot and let me know how it goes.
> > >
> > > Thanks,
> > > John
> > >
> > >
> > > On Fri, Mar 11, 2016 at 9:08 AM, robert.craig.2 at us.af.mil via RT
<
> > > met_help at ucar.edu> wrote:
> > >
> > > >
> > > > Fri Mar 11 09:08:39 2016: Request 75501 was acted upon.
> > > > Transaction: Ticket created by robert.craig.2 at us.af.mil
> > > >        Queue: met_help
> > > >      Subject: Intalling MET 5-1
> > > >        Owner: Nobody
> > > >   Requestors: robert.craig.2 at us.af.mil
> > > >       Status: new
> > > >  Ticket <URL:
> > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501
> > > > >
> > > >
> > > >
> > > > John, I am installing MET 5.1 on a new computer  system here.
Below
> > are
> > > > the contents of my met-5.1 so far:
> > > >
> > > > aclocal.m4    config.h     config.log     config.sub
configure.ac
> > > > depcomp  export_vars.bat  lib       Makefile.am  Make-include
> > > missing
> > > > README     scripts  src
> > > > config.guess  config.h.in  config.status  configure   data
> > doc
> > > >     install-sh       Makefile  Makefile.in  make_install.log
out
> > > > run_tests  share    stamp-h1
> > > >
> > > > In lib, I have the following:
> > > >
> > > > BUFRLIB_v10-0-1  g2clib-1.4.0  GRIBI_copygb.exe  gsl-1.15
> > > > jasper libf2c
> > > > libpng-1.2.34  netcdf-4.1.3  tar  zlib-1.2.6
> > > >
> > > > Below is the env variables set:
> > > >
> > > > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > > > MAIL=/var/spool/mail/qcteam
> > > >
> > > >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/l
> > > > pp
> > > > /s
> > > > sp
> > > > /perl5/man
> > > > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > MET_GRIB2CINC=-I/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > -I/h/WXQC/met-5.1/install/jasper/include/jasper
> > > > -I/h/WXQC/met-5.1/install/zlib/include
> > > > -I/h/WXQC/met-5.1/install/libpng/include
> > > > MET_GRIB2CLIB=-L/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > -L/h/WXQC/met-5.1/install/jasper/lib
> > > > -L/h/WXQC/met-5.1/install/zlib/lib
> > > > -L/h/WXQC/met-5.1/install/libpng/lib
> > > > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > > > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> > > >
> > > >
MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles:/opt/
> > > > me
> > > > ll
> > > > an
> > > > ox/bupc/2.18.0/modules
> > > > MODULESHOME=/usr/share/Modules
> > > >
> > > > From page 32 of the MET 5.1 users guide, I ran step 1) and all
> > > > seemed to go well When I run step 2), it dies and I get the
> > > > following
> > output:
> > > > [1]     21366
> > > > [1123 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] In file included
from
> > > > data2d_grib2.cc:29:
> > > > data2d_grib2.h:27:21: error: grib2.h: No such file or
directory
> > > > In file included from data2d_grib2.cc:29:
> > > > data2d_grib2.h:96: error: \u2018gribfield\u2019 has not been
> > > > declared
> > > > data2d_grib2.h:99: error: \u2018g2int\u2019 has not been
> > > > declared
> > > > data2d_grib2.h:100: error: \u2018g2int\u2019 has not been
> > > > declared
> > > > data2d_grib2.h:101: error: \u2018gribfield\u2019 has not been
> > > > declared
> > > > data2d_grib2.h:103: error: \u2018g2int\u2019 has not been
> > > > declared
> > > > data2d_grib2.cc:36: error: variable or field
\u2018g2_miss\u2019
> > > > declared void
> > > > data2d_grib2.cc:36: error: \u2018gribfield\u2019 was not
> > > > declared in this scope
> > > > data2d_grib2.cc:36: error: \u2018gfld\u2019 was not declared
in
> > > > this scope
> > > > data2d_grib2.cc:36: error: expected primary-expression before
> > > > \u2018float\u2019
> > > > data2d_grib2.cc:36: error: expected primary-expression before
> > > > \u2018int\u2019
> > > > data2d_grib2.cc: In member function \u2018void
> > > > MetGrib2DataFile::read_grib2_record_list()\u2019:
> > > > data2d_grib2.cc:533: error: \u2018gribfield\u2019 was not
> > > > declared in this scope
> > > > data2d_grib2.cc:533: error: \u2018gfld\u2019 was not declared
in
> > > > this scope
> > > > data2d_grib2.cc:536: error: \u2018g2int\u2019 was not declared
> > > > in this scope
> > > > data2d_grib2.cc:536: error: expected \u2018;\u2019 before
> > > > \u2018numfields\u2019
> > > > data2d_grib2.cc:540: error: \u2018numfields\u2019 was not
> > > > declared in this scope
> > > > data2d_grib2.cc:674: error: expected \u2018;\u2019 before
> > > > \u2018range_typ\u2019
> > > > data2d_grib2.cc:677: error: expected \u2018;\u2019 before
> > > > \u2018range_val\u2019
> > > > data2d_grib2.cc:680: error: \u2018range_typ\u2019 was not
> > > > declared in this scope
> > > > data2d_grib2.cc:681: error: \u2018range_val\u2019 was not
> > > > declared in this scope
> > > > data2d_grib2.cc:705: error: \u2018g2_free\u2019 was not
declared
> > > > in this scope
> > > > data2d_grib2.cc: At global scope:
> > > > data2d_grib2.cc:723: error: variable or field
> > > > \u2018read_grib2_grid\u2019 declared void
> > > > data2d_grib2.cc:723: error: \u2018gribfield\u2019 was not
> > > > declared in this scope
> > > > data2d_grib2.cc:723: error: \u2018gfld\u2019 was not declared
in
> > > > this scope
> > > > make[3]: *** [libvx_data2d_grib2_a-data2d_grib2.o] Error 1
> > > > make[2]: *** [install-recursive] Error 1
> > > > make[1]: *** [install-recursive] Error 1
> > > > make: *** [install-recursive] Error 1
> > > >
> > > > [1] +  Done(2)                 make install > make_install.log
&
> > > >
> > > > Not sure what to do at this point.  Hope you can help.
> > > >
> > > > Bob
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>
>



------------------------------------------------
Subject: Intalling MET 5-1
From: John Halley Gotway
Time: Fri Mar 11 14:01:52 2016

Bob,

Just to be clear, I didn't mean to put stars around the BUFRLIB
commands.
That was a google mail test formatting thing... the commands should
be:

cd /h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
gcc -c -DUNDERSCORE *.c
gfortran -c -DUNDERSCORE -fno-second-underscore *.f *.F
ar crv libbufr.a *.o

On Fri, Mar 11, 2016 at 1:57 PM, robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
>
> Yes the directories exist and are populated with files.  Working on
the
> bufferlib instruction.
>
> -----Original Message-----
> From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> Sent: Friday, March 11, 2016 2:50 PM
> To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
>
> Bob,
>
> Looks like we're having GSL and BUFRLIB issues.
>
> Let's check the GSL library.  Run this:
>   ls /h/WXQC/met-5.1/lib/gsl-1.15/lib /h/WXQC/met-5.1/lib/gsl-
1.15/include
>
> Do those directories exist?  Or did you install GSL somewhere else?
Just
> like jasperlib, you can use the "--prefix" option to install the
library
> in-place or, by default, it'll install them in a more standard
location.
> Typically users don't have root permission to write to /usr/local,
but
> perhaps you do.
>
> Regarding BUFRLIB, did you compile it using the "no-second-
underscore"
> option:
>
>
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
>
> Since you're using GNU, here are commands you should use for
BUFRLIB:
>
>    *cd *
> */h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1 gcc -c -DUNDERSCORE *.c*
>    *gfortran -c -DUNDERSCORE -fno-second-underscore *.f *.F*
>    *ar crv libbufr.a *.o*
>
> Thanks,
> John
>
>
> On Fri, Mar 11, 2016 at 1:39 PM, robert.craig.2 at us.af.mil via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
> >
> > Update #2 - the following are missing from the bin directory:
> >
> > Gsid2mpr
> > Gsiddens20rank
> > Modis_regrid (I didn't turn on MODIS since it had an error) Mtd
> > Plot_mode_fiels Regrid_data_plane Shift_data_plane Tc *
> >
> >
> > -----Original Message-----
> > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > Sent: Friday, March 11, 2016 1:36 PM
> > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> >
> > Bob,
> >
> > Sorry I missed that.  OK, when you compiled jasperlib it must have
> > installed it somewhere on a system location.  Try this:
> >    locate libjasper.a
> >
> > If that finds it, you can point to it.  Or you could recompile
jasper
> > using the "--prefix" option to telll it where you want it
compiled.
> > For
> > example:
> >    cd /h/WXQC/met-5.1/lib/libpng-1.2.34/
> >    ./configure --prefix=/h/WXQC/met-5.1/lib/libpng-1.2.34
> >    make install
> >
> > The "install" step should create this directory:
> > /h/WXQC/met-5.1/lib/libpng-1.2.34/lib
> >
> > When I have to install MET on a new system, I often install all
the
> > libraries (NetCDF, GSL, BUFRLIB, and the GRIB2 libraries) to the
same
> > directory.  Installing them to different directories works too,
but
> > then we need to specify them individually, as we're doing.
> >
> > Does that help?
> >
> > Thanks,
> > John
> >
> > On Fri, Mar 11, 2016 at 12:28 PM, robert.craig.2 at us.af.mil via RT
<
> > met_help at ucar.edu> wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
> > >
> > > John, I don't have a lib directory under jasper.  The listing of
the
> > > jasper directory was in my last email.
> > >
> > > Bob
> > >
> > > -----Original Message-----
> > > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > > Sent: Friday, March 11, 2016 1:24 PM
> > > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> > >
> > > Bob,
> > >
> > > OK great, we're making progress!
> > >
> > > First, in the instructions we say "make install >&
make_install.log".
> > > In c-shell that directs both standard out and standard error to
the
> > > same output log file.  I think the syntax in bourne-shell or
> > > korn-shell is different.  If you're using those, please try
this:
> > >    make install > make_install.log 2>&1
> > >
> > > Sounds like we should update the user's guide with c-shell and
> > > non-c-shell variants.
> > >
> > > On to the jasperlib issue.  With your LDFLAGS setting, we've
told
> > > MET to look for the file "libjasper.a" (or libjasper.so*) in
here:
> > >    ls /h/WXQC/met-5.1/lib/jasper/libjasper*
> > >
> > > But I suspect it actually lives in a lib sub-directory instead!
And
> > > for zlib and libpng, I think there is *not* a lib subdirectory.
> > >
> > > Try this:
> > >   ls /h/WXQC/met-5.1/lib/jasper/lib/libjasper.a
> > >   ls /h/WXQC/met-5.1/lib/zlib-1.2.6/libz.a
> > >   ls /h/WXQC/met-5.1/lib/libpng-1.2.34/libpng.a
> > >
> > > If you find library files in all those locations, use the
following
> > > environment variable setting:
> > >
> > > LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper/lib
> > > -L/h/WXQC/met-5.1/lib/zlib-1.2.6
> > > -L/h/WXQC/met-5.1/lib/libpng-1.2.34
> > >
> > > Sorry this is so confusing!
> > >
> > > John
> > >
> > >
> > >
> > > On Fri, Mar 11, 2016 at 11:01 AM, robert.craig.2 at us.af.mil via
RT <
> > > met_help at ucar.edu> wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501
>
> > > >
> > > > John, I made the changes you suggested with one caveat:  I
changed
> > > > "install"
> > > > to "lib" in the LDFLAGS since the libraries are in
> /h/WXQC/met-5.1/lib.
> > > > Also
> > > > in the MET 5.1 Users Guide, on page 32, the step 2)  says to
'make
> > > > install
> > > > >&
> > > > make_install.log &' and I assume you meant ''make install >
> > > > make_install.log &'.  So after setting the environmental
variables
> > > > and running step 1) then Step 2)  the compile gives me the
> > > > following messages and then stops.
> > > > Attached
> > > > in the log file.
> > > >
> > > > [1227 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] make install >
> > > > make_install.log &
> > > > [1]     28326
> > > > [1228 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] /usr/bin/ld: cannot
> > > > find -ljasper
> > > > collect2: ld returned 1 exit status
> > > > make[4]: *** [ensemble_stat] Error 1
> > > > make[3]: *** [install-recursive] Error 1
> > > > make[2]: *** [install-recursive] Error 1
> > > > make[1]: *** [install-recursive] Error 1
> > > > make: *** [install-recursive] Error 1
> > > >
> > > > [1] +  Done(2)                 make install > make_install.log
&
> > > >
> > > > My env vars are below.  There is no lib directory in jasper.
A
> > > > dir of jasper is listed below:
> > > >
> > > > acaux       ChangeLog   config.status  configure.ac  data
INSTALL
> > > > jasper.spec.in  LICENSE   Makefile.am  NEWS    src
> > > > aclocal.m4  config.log  configure      COPYRIGHT     doc
>  jasper.spec
> > > > libtool         Makefile  Makefile.in  README
> > > >
> > > > LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper
> > > > -L/h/WXQC/met-5.1/lib/zlib-1.2.6/lib
> > > > -L/h/WXQC/met-5.1/lib/libpng-1.2.34
> > > >
> > > >
LD_LIBRARY_PATH=/ibrix/intel/Compiler/11.1/069/lib/intel64:/gpfs/l
> > > > sf
> > > > /9
> > > > .1/linux2.6-glibc2.3-
x86_64/lib:/ibrix/intel/Compiler/11.1/069/lib
> > > > /i
> > > > nt
> > > >
el64:/usr/local/itt/idl/idl80/bin/bin.linux.x86_64/dm/lib:/usr/loc
> > > > al
> > > > /i
> > > > tt/idl/idl80/bin/bin.linux.x86_64:/usr/mpi/gcc/openmpi-
1.8.4/lib64
> > > > :/
> > > > ho
> > > > me/adamsr/python/sage/sage-
4.7.2/local/lib:/home/adamsr/python/bas
> > > > em
> > > > ap
> > > > /lib:/home/qcteam/netcdf/netcdf-
4.1.3/compiled/lib:/h/common/gsl-1
> > > > .1
> > > > 5/
> > > > lib
> > > > LESS=iX
> > > > LESSOPEN=||/usr/bin/lesspipe.sh %s
> > > > LOADEDMODULES=mpi/1.8.4
> > > > LOGNAME=qcteam
> > > > LSF_BINDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/bin
> > > > LSF_ENVDIR=/gpfs/lsf/conf
> > > > LSF_LIBDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/lib
> > > > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > > > MAIL=/var/spool/mail/qcteam
> > > >
> > > >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/lpp
> > > > /s
> > > > sp
> > > > /perl5/man
> > > > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > > > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> > > >
> > > > What next?
> > > >
> > > > -----Original Message-----
> > > > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > > > Sent: Friday, March 11, 2016 10:53 AM
> > > > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > > > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> > > >
> > > > Hi,
> > > >
> > > > It looks like the compiler is having trouble finding the
"grib2.h"
> > > > include file.  This is caused by the way you have set the
> > > > MET_GRIB2CINC and MET_GRIB2CLIB variables.  The configure
script
> > > > is not expecting them to include "-I" and "-L", as you've set
them.
> > > > Actually, you do not need to set
> > > > MET_GRIB2 if you're setting the MET_GRIB2CINC and
MET_GRIB2CLIB.
> > > > Instead, please try the following settings:
> > > >
> > > > MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > >
> > > > This tells the code to look in the same directory for both the
> > "grib2.h"
> > > > header file and the compiled library file "libgrib2c.a".  Both
> > > > should exist in that directory.
> > > >
> > > > Next, you also need to tell it where to find the jasper, zlib,
and
> > > > libpng libraries.  Those are often installed in standard
locations
> > > > on machines and the configure script finds them without you
> > > > needing to tell it where to look.
> > > > But based on your settings, it looks like they are not in a
> > > > standard location.
> > > > Instead, we'll use LDFLAGS to tell the linker where to find
those
> > > > libraries (this is described in the output of ./configure
--help).
> > > >
> > > > LDFLAGS='-L/h/WXQC/met-5.1/install/jasper/lib
> > > > -L/h/WXQC/met-5.1/install/zlib/lib
> > -L/h/WXQC/met-5.1/install/libpng/lib'
> > > >
> > > > Please give that a shot and let me know how it goes.
> > > >
> > > > Thanks,
> > > > John
> > > >
> > > >
> > > > On Fri, Mar 11, 2016 at 9:08 AM, robert.craig.2 at us.af.mil via
RT <
> > > > met_help at ucar.edu> wrote:
> > > >
> > > > >
> > > > > Fri Mar 11 09:08:39 2016: Request 75501 was acted upon.
> > > > > Transaction: Ticket created by robert.craig.2 at us.af.mil
> > > > >        Queue: met_help
> > > > >      Subject: Intalling MET 5-1
> > > > >        Owner: Nobody
> > > > >   Requestors: robert.craig.2 at us.af.mil
> > > > >       Status: new
> > > > >  Ticket <URL:
> > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501
> > > > > >
> > > > >
> > > > >
> > > > > John, I am installing MET 5.1 on a new computer  system
here.
>  Below
> > > are
> > > > > the contents of my met-5.1 so far:
> > > > >
> > > > > aclocal.m4    config.h     config.log     config.sub
configure.ac
> > > > > depcomp  export_vars.bat  lib       Makefile.am  Make-
include
> > > > missing
> > > > > README     scripts  src
> > > > > config.guess  config.h.in  config.status  configure   data
> > > doc
> > > > >     install-sh       Makefile  Makefile.in  make_install.log
out
> > > > > run_tests  share    stamp-h1
> > > > >
> > > > > In lib, I have the following:
> > > > >
> > > > > BUFRLIB_v10-0-1  g2clib-1.4.0  GRIBI_copygb.exe  gsl-1.15
> > > > > jasper libf2c
> > > > > libpng-1.2.34  netcdf-4.1.3  tar  zlib-1.2.6
> > > > >
> > > > > Below is the env variables set:
> > > > >
> > > > > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > > > > MAIL=/var/spool/mail/qcteam
> > > > >
> > > > >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/l
> > > > > pp
> > > > > /s
> > > > > sp
> > > > > /perl5/man
> > > > > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > > > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > > > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > > MET_GRIB2CINC=-I/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > > -I/h/WXQC/met-5.1/install/jasper/include/jasper
> > > > > -I/h/WXQC/met-5.1/install/zlib/include
> > > > > -I/h/WXQC/met-5.1/install/libpng/include
> > > > > MET_GRIB2CLIB=-L/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > > -L/h/WXQC/met-5.1/install/jasper/lib
> > > > > -L/h/WXQC/met-5.1/install/zlib/lib
> > > > > -L/h/WXQC/met-5.1/install/libpng/lib
> > > > > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > > > > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> > > > >
> > > > >
MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles:/opt/
> > > > > me
> > > > > ll
> > > > > an
> > > > > ox/bupc/2.18.0/modules
> > > > > MODULESHOME=/usr/share/Modules
> > > > >
> > > > > From page 32 of the MET 5.1 users guide, I ran step 1) and
all
> > > > > seemed to go well When I run step 2), it dies and I get the
> > > > > following
> > > output:
> > > > > [1]     21366
> > > > > [1123 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] In file included
from
> > > > > data2d_grib2.cc:29:
> > > > > data2d_grib2.h:27:21: error: grib2.h: No such file or
directory
> > > > > In file included from data2d_grib2.cc:29:
> > > > > data2d_grib2.h:96: error: \u2018gribfield\u2019 has not been
> > > > > declared
> > > > > data2d_grib2.h:99: error: \u2018g2int\u2019 has not been
> > > > > declared
> > > > > data2d_grib2.h:100: error: \u2018g2int\u2019 has not been
> > > > > declared
> > > > > data2d_grib2.h:101: error: \u2018gribfield\u2019 has not
been
> > > > > declared
> > > > > data2d_grib2.h:103: error: \u2018g2int\u2019 has not been
> > > > > declared
> > > > > data2d_grib2.cc:36: error: variable or field
\u2018g2_miss\u2019
> > > > > declared void
> > > > > data2d_grib2.cc:36: error: \u2018gribfield\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:36: error: \u2018gfld\u2019 was not declared
in
> > > > > this scope
> > > > > data2d_grib2.cc:36: error: expected primary-expression
before
> > > > > \u2018float\u2019
> > > > > data2d_grib2.cc:36: error: expected primary-expression
before
> > > > > \u2018int\u2019
> > > > > data2d_grib2.cc: In member function \u2018void
> > > > > MetGrib2DataFile::read_grib2_record_list()\u2019:
> > > > > data2d_grib2.cc:533: error: \u2018gribfield\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:533: error: \u2018gfld\u2019 was not
declared in
> > > > > this scope
> > > > > data2d_grib2.cc:536: error: \u2018g2int\u2019 was not
declared
> > > > > in this scope
> > > > > data2d_grib2.cc:536: error: expected \u2018;\u2019 before
> > > > > \u2018numfields\u2019
> > > > > data2d_grib2.cc:540: error: \u2018numfields\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:674: error: expected \u2018;\u2019 before
> > > > > \u2018range_typ\u2019
> > > > > data2d_grib2.cc:677: error: expected \u2018;\u2019 before
> > > > > \u2018range_val\u2019
> > > > > data2d_grib2.cc:680: error: \u2018range_typ\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:681: error: \u2018range_val\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:705: error: \u2018g2_free\u2019 was not
declared
> > > > > in this scope
> > > > > data2d_grib2.cc: At global scope:
> > > > > data2d_grib2.cc:723: error: variable or field
> > > > > \u2018read_grib2_grid\u2019 declared void
> > > > > data2d_grib2.cc:723: error: \u2018gribfield\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:723: error: \u2018gfld\u2019 was not
declared in
> > > > > this scope
> > > > > make[3]: *** [libvx_data2d_grib2_a-data2d_grib2.o] Error 1
> > > > > make[2]: *** [install-recursive] Error 1
> > > > > make[1]: *** [install-recursive] Error 1
> > > > > make: *** [install-recursive] Error 1
> > > > >
> > > > > [1] +  Done(2)                 make install >
make_install.log &
> > > > >
> > > > > Not sure what to do at this point.  Hope you can help.
> > > > >
> > > > > Bob
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>
>

------------------------------------------------
Subject: RE: [rt.rap.ucar.edu #75501] Intalling MET 5-1
From: robert.craig.2 at us.af.mil
Time: Fri Mar 11 14:08:37 2016

Okay, I did that and retried and got the following:
[1503 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] make install >
make_install.log &
[1]     6947
[1504 qcteam hpc9-lsn-01d /h/WXQC/met-5.1]
[1504 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] In file included from
cgraph_font.h:22,
                 from cgraph_main.h:25,
                 from cgraphbase_plottype_to_string.h:38,
                 from cgraphbase_plottype_to_string.cc:35:
/usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No
such file or directory
In file included from cgraph_main.h:25,
                 from cgraphbase_plottype_to_string.h:38,
                 from cgraphbase_plottype_to_string.cc:35:
cgraph_font.h:23:10: error: #include expects "FILENAME" or <FILENAME>
cgraph_font.h:24:10: error: #include expects "FILENAME" or <FILENAME>
cgraph_font.h:25:10: error: #include expects "FILENAME" or <FILENAME>
In file included from cgraphbase_plottype_to_string.h:38,
                 from cgraphbase_plottype_to_string.cc:35:
cgraph_main.h:27:19: error: cairo.h: No such file or directory
cgraph_main.h:28:23: error: cairo-svg.h: No such file or directory
cgraph_main.h:31:10: error: #include expects "FILENAME" or <FILENAME>
cgraph_main.h:32:10: error: #include expects "FILENAME" or <FILENAME>
cgraph_main.h:33:10: error: #include expects "FILENAME" or <FILENAME>
In file included from cgraph_main.h:25,
                 from cgraphbase_plottype_to_string.h:38,
                 from cgraphbase_plottype_to_string.cc:35:
cgraph_font.h:74: error: \u2018FT_Face\u2019 does not name a type
In file included from cgraphbase_plottype_to_string.h:38,
                 from cgraphbase_plottype_to_string.cc:35:
cgraph_main.h:82: error: ISO C++ forbids declaration of
\u2018FT_GlyphSlot\u2019 with no type
cgraph_main.h:83: error: ISO C++ forbids declaration of
\u2018FT_GlyphSlot\u2019 with no type
cgraph_main.h:85: error: \u2018FT_Face\u2019 does not name a type
cgraph_main.h:96: error: ISO C++ forbids declaration of
\u2018cairo_surface_t\u2019 with no type
cgraph_main.h:96: error: expected \u2018;\u2019 before \u2018*\u2019
token
cgraph_main.h:98: error: ISO C++ forbids declaration of
\u2018cairo_t\u2019 with no type
cgraph_main.h:98: error: expected \u2018;\u2019 before \u2018*\u2019
token
cgraph_main.h:112: error: \u2018FT_Library\u2019 does not name a type
In file included from cgraphbase_plottype_to_string.h:38,
                 from cgraphbase_plottype_to_string.cc:35:
cgraph_main.h: In member function \u2018virtual void
CgraphBase::setlinewidth(double)\u2019:
cgraph_main.h:249: error: \u2018Cr\u2019 was not declared in this
scope
cgraph_main.h:249: error: \u2018cairo_set_line_width\u2019 was not
declared in this scope
cgraph_main.h: In member function \u2018virtual void
CgraphBase::moveto(double, double)\u2019:
cgraph_main.h:251: error: \u2018Cr\u2019 was not declared in this
scope
cgraph_main.h:251: error: \u2018cairo_move_to\u2019 was not declared
in this scope
cgraph_main.h: In member function \u2018virtual void
CgraphBase::lineto(double, double)\u2019:
cgraph_main.h:252: error: \u2018Cr\u2019 was not declared in this
scope
cgraph_main.h:252: error: \u2018cairo_line_to\u2019 was not declared
in this scope
cgraph_main.h: In member function \u2018void
CgraphBase::rmoveto(double, double)\u2019:
cgraph_main.h:254: error: \u2018Cr\u2019 was not declared in this
scope
cgraph_main.h:254: error: \u2018cairo_rel_move_to\u2019 was not
declared in this scope
cgraph_main.h: In member function \u2018void
CgraphBase::rlineto(double, double)\u2019:
cgraph_main.h:255: error: \u2018Cr\u2019 was not declared in this
scope
cgraph_main.h:255: error: \u2018cairo_rel_line_to\u2019 was not
declared in this scope
cgraph_main.h: In member function \u2018virtual void
CgraphBase::rotate(double)\u2019:
cgraph_main.h:257: error: \u2018Cr\u2019 was not declared in this
scope
cgraph_main.h:257: error: \u2018cairo_rotate\u2019 was not declared in
this scope
cgraph_main.h: In member function \u2018virtual void
CgraphBase::translate(double, double)\u2019:
cgraph_main.h:258: error: \u2018Cr\u2019 was not declared in this
scope
cgraph_main.h:258: error: \u2018cairo_translate\u2019 was not declared
in this scope
cgraph_main.h: In member function \u2018void CgraphBase::scale(double,
double)\u2019:
cgraph_main.h:260: error: \u2018Cr\u2019 was not declared in this
scope
cgraph_main.h:260: error: \u2018cairo_scale\u2019 was not declared in
this scope
cgraph_main.h: In member function \u2018void
CgraphBase::scale(double)\u2019:
cgraph_main.h:261: error: \u2018Cr\u2019 was not declared in this
scope
cgraph_main.h:261: error: \u2018cairo_scale\u2019 was not declared in
this scope
cgraph_main.h: In member function \u2018virtual void
CgraphBase::newpath()\u2019:
cgraph_main.h:263: error: \u2018Cr\u2019 was not declared in this
scope
cgraph_main.h:263: error: \u2018cairo_new_path\u2019 was not declared
in this scope
cgraph_main.h: In member function \u2018virtual void
CgraphBase::closepath()\u2019:
cgraph_main.h:264: error: \u2018Cr\u2019 was not declared in this
scope
cgraph_main.h:264: error: \u2018cairo_close_path\u2019 was not
declared in this scope
cgraph_main.h: In member function \u2018virtual void
CgraphBase::stroke()\u2019:
cgraph_main.h:265: error: \u2018Cr\u2019 was not declared in this
scope
cgraph_main.h:265: error: \u2018cairo_stroke\u2019 was not declared in
this scope
cgraph_main.h: In member function \u2018virtual void
CgraphBase::fill()\u2019:
cgraph_main.h:266: error: \u2018Cr\u2019 was not declared in this
scope
cgraph_main.h:266: error: \u2018cairo_fill\u2019 was not declared in
this scope
cgraph_main.h: In member function \u2018virtual void
CgraphBase::clip()\u2019:
cgraph_main.h:267: error: \u2018Cr\u2019 was not declared in this
scope
cgraph_main.h:267: error: \u2018cairo_clip\u2019 was not declared in
this scope
cgraph_main.h: In member function \u2018virtual void
CgraphBase::setlinecap_butt()\u2019:
cgraph_main.h:271: error: \u2018Cr\u2019 was not declared in this
scope
cgraph_main.h:271: error: \u2018CAIRO_LINE_CAP_BUTT\u2019 was not
declared in this scope
cgraph_main.h:271: error: \u2018cairo_set_line_cap\u2019 was not
declared in this scope
cgraph_main.h: In member function \u2018virtual void
CgraphBase::setlinecap_round()\u2019:
cgraph_main.h:272: error: \u2018Cr\u2019 was not declared in this
scope
cgraph_main.h:272: error: \u2018CAIRO_LINE_CAP_ROUND\u2019 was not
declared in this scope
cgraph_main.h:272: error: \u2018cairo_set_line_cap\u2019 was not
declared in this scope
cgraph_main.h: In member function \u2018virtual void
CgraphBase::setlinecap_projecting_square()\u2019:
cgraph_main.h:273: error: \u2018Cr\u2019 was not declared in this
scope
cgraph_main.h:273: error: \u2018CAIRO_LINE_CAP_SQUARE\u2019 was not
declared in this scope
cgraph_main.h:273: error: \u2018cairo_set_line_cap\u2019 was not
declared in this scope
cgraph_main.h: In member function \u2018virtual void
CgraphBase::setlinejoin_miter()\u2019:
cgraph_main.h:275: error: \u2018Cr\u2019 was not declared in this
scope
cgraph_main.h:275: error: \u2018CAIRO_LINE_JOIN_MITER\u2019 was not
declared in this scope
cgraph_main.h:275: error: \u2018cairo_set_line_join\u2019 was not
declared in this scope
cgraph_main.h: In member function \u2018virtual void
CgraphBase::setlinejoin_round()\u2019:
cgraph_main.h:276: error: \u2018Cr\u2019 was not declared in this
scope
cgraph_main.h:276: error: \u2018CAIRO_LINE_JOIN_ROUND\u2019 was not
declared in this scope
cgraph_main.h:276: error: \u2018cairo_set_line_join\u2019 was not
declared in this scope
cgraph_main.h: In member function \u2018virtual void
CgraphBase::setlinejoin_bevel()\u2019:
cgraph_main.h:277: error: \u2018Cr\u2019 was not declared in this
scope
cgraph_main.h:277: error: \u2018CAIRO_LINE_JOIN_BEVEL\u2019 was not
declared in this scope
cgraph_main.h:277: error: \u2018cairo_set_line_join\u2019 was not
declared in this scope
cgraph_main.h: In member function \u2018virtual void
Cgraph::moveto(double, double)\u2019:
cgraph_main.h:357: error: \u2018Cr\u2019 was not declared in this
scope
cgraph_main.h:357: error: \u2018cairo_move_to\u2019 was not declared
in this scope
cgraph_main.h: In member function \u2018virtual void
Cgraph::lineto(double, double)\u2019:
cgraph_main.h:358: error: \u2018Cr\u2019 was not declared in this
scope
cgraph_main.h:358: error: \u2018cairo_line_to\u2019 was not declared
in this scope
cgraph_main.h: In member function \u2018void Cgraph::rmoveto(double,
double)\u2019:
cgraph_main.h:360: error: \u2018Cr\u2019 was not declared in this
scope
cgraph_main.h:360: error: \u2018cairo_rel_move_to\u2019 was not
declared in this scope
cgraph_main.h: In member function \u2018void Cgraph::rlineto(double,
double)\u2019:
cgraph_main.h:361: error: \u2018Cr\u2019 was not declared in this
scope
cgraph_main.h:361: error: \u2018cairo_rel_line_to\u2019 was not
declared in this scope
cgraph_main.h: At global scope:
cgraph_main.h:369: error: ISO C++ forbids declaration of
\u2018FT_Glyph_Metrics\u2019 with no type
cgraph_main.h:369: error: expected \u2018,\u2019 or \u2018...\u2019
before \u2018&\u2019 token
make[4]: *** [libvx_cgraph_a-cgraphbase_plottype_to_string.o] Error 1
make[3]: *** [install-recursive] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1


-----Original Message-----
From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
Sent: Friday, March 11, 2016 3:02 PM
To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1

Bob,

Just to be clear, I didn't mean to put stars around the BUFRLIB
commands.
That was a google mail test formatting thing... the commands should
be:

cd /h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
gcc -c -DUNDERSCORE *.c
gfortran -c -DUNDERSCORE -fno-second-underscore *.f *.F ar crv
libbufr.a *.o

On Fri, Mar 11, 2016 at 1:57 PM, robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
>
> Yes the directories exist and are populated with files.  Working on
> the bufferlib instruction.
>
> -----Original Message-----
> From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> Sent: Friday, March 11, 2016 2:50 PM
> To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
>
> Bob,
>
> Looks like we're having GSL and BUFRLIB issues.
>
> Let's check the GSL library.  Run this:
>   ls /h/WXQC/met-5.1/lib/gsl-1.15/lib
> /h/WXQC/met-5.1/lib/gsl-1.15/include
>
> Do those directories exist?  Or did you install GSL somewhere else?
> Just like jasperlib, you can use the "--prefix" option to install
the
> library in-place or, by default, it'll install them in a more
standard location.
> Typically users don't have root permission to write to /usr/local,
but
> perhaps you do.
>
> Regarding BUFRLIB, did you compile it using the "no-second-
underscore"
> option:
>
>
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/comp
> ilation/req_libs.php
>
> Since you're using GNU, here are commands you should use for
BUFRLIB:
>
>    *cd *
> */h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1 gcc -c -DUNDERSCORE *.c*
>    *gfortran -c -DUNDERSCORE -fno-second-underscore *.f *.F*
>    *ar crv libbufr.a *.o*
>
> Thanks,
> John
>
>
> On Fri, Mar 11, 2016 at 1:39 PM, robert.craig.2 at us.af.mil via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
> >
> > Update #2 - the following are missing from the bin directory:
> >
> > Gsid2mpr
> > Gsiddens20rank
> > Modis_regrid (I didn't turn on MODIS since it had an error) Mtd
> > Plot_mode_fiels Regrid_data_plane Shift_data_plane Tc *
> >
> >
> > -----Original Message-----
> > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > Sent: Friday, March 11, 2016 1:36 PM
> > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> >
> > Bob,
> >
> > Sorry I missed that.  OK, when you compiled jasperlib it must have
> > installed it somewhere on a system location.  Try this:
> >    locate libjasper.a
> >
> > If that finds it, you can point to it.  Or you could recompile
> > jasper using the "--prefix" option to telll it where you want it
compiled.
> > For
> > example:
> >    cd /h/WXQC/met-5.1/lib/libpng-1.2.34/
> >    ./configure --prefix=/h/WXQC/met-5.1/lib/libpng-1.2.34
> >    make install
> >
> > The "install" step should create this directory:
> > /h/WXQC/met-5.1/lib/libpng-1.2.34/lib
> >
> > When I have to install MET on a new system, I often install all
the
> > libraries (NetCDF, GSL, BUFRLIB, and the GRIB2 libraries) to the
> > same directory.  Installing them to different directories works
too,
> > but then we need to specify them individually, as we're doing.
> >
> > Does that help?
> >
> > Thanks,
> > John
> >
> > On Fri, Mar 11, 2016 at 12:28 PM, robert.craig.2 at us.af.mil via RT
<
> > met_help at ucar.edu> wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
> > >
> > > John, I don't have a lib directory under jasper.  The listing of
> > > the jasper directory was in my last email.
> > >
> > > Bob
> > >
> > > -----Original Message-----
> > > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > > Sent: Friday, March 11, 2016 1:24 PM
> > > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> > >
> > > Bob,
> > >
> > > OK great, we're making progress!
> > >
> > > First, in the instructions we say "make install >&
make_install.log".
> > > In c-shell that directs both standard out and standard error to
> > > the same output log file.  I think the syntax in bourne-shell or
> > > korn-shell is different.  If you're using those, please try
this:
> > >    make install > make_install.log 2>&1
> > >
> > > Sounds like we should update the user's guide with c-shell and
> > > non-c-shell variants.
> > >
> > > On to the jasperlib issue.  With your LDFLAGS setting, we've
told
> > > MET to look for the file "libjasper.a" (or libjasper.so*) in
here:
> > >    ls /h/WXQC/met-5.1/lib/jasper/libjasper*
> > >
> > > But I suspect it actually lives in a lib sub-directory instead!
> > > And for zlib and libpng, I think there is *not* a lib
subdirectory.
> > >
> > > Try this:
> > >   ls /h/WXQC/met-5.1/lib/jasper/lib/libjasper.a
> > >   ls /h/WXQC/met-5.1/lib/zlib-1.2.6/libz.a
> > >   ls /h/WXQC/met-5.1/lib/libpng-1.2.34/libpng.a
> > >
> > > If you find library files in all those locations, use the
> > > following environment variable setting:
> > >
> > > LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper/lib
> > > -L/h/WXQC/met-5.1/lib/zlib-1.2.6
> > > -L/h/WXQC/met-5.1/lib/libpng-1.2.34
> > >
> > > Sorry this is so confusing!
> > >
> > > John
> > >
> > >
> > >
> > > On Fri, Mar 11, 2016 at 11:01 AM, robert.craig.2 at us.af.mil via
RT
> > > < met_help at ucar.edu> wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501
>
> > > >
> > > > John, I made the changes you suggested with one caveat:  I
> > > > changed "install"
> > > > to "lib" in the LDFLAGS since the libraries are in
> /h/WXQC/met-5.1/lib.
> > > > Also
> > > > in the MET 5.1 Users Guide, on page 32, the step 2)  says to
> > > > 'make install
> > > > >&
> > > > make_install.log &' and I assume you meant ''make install >
> > > > make_install.log &'.  So after setting the environmental
> > > > variables and running step 1) then Step 2)  the compile gives
me
> > > > the following messages and then stops.
> > > > Attached
> > > > in the log file.
> > > >
> > > > [1227 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] make install >
> > > > make_install.log &
> > > > [1]     28326
> > > > [1228 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] /usr/bin/ld: cannot
> > > > find -ljasper
> > > > collect2: ld returned 1 exit status
> > > > make[4]: *** [ensemble_stat] Error 1
> > > > make[3]: *** [install-recursive] Error 1
> > > > make[2]: *** [install-recursive] Error 1
> > > > make[1]: *** [install-recursive] Error 1
> > > > make: *** [install-recursive] Error 1
> > > >
> > > > [1] +  Done(2)                 make install > make_install.log
&
> > > >
> > > > My env vars are below.  There is no lib directory in jasper.
A
> > > > dir of jasper is listed below:
> > > >
> > > > acaux       ChangeLog   config.status  configure.ac  data
INSTALL
> > > > jasper.spec.in  LICENSE   Makefile.am  NEWS    src
> > > > aclocal.m4  config.log  configure      COPYRIGHT     doc
>  jasper.spec
> > > > libtool         Makefile  Makefile.in  README
> > > >
> > > > LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper
> > > > -L/h/WXQC/met-5.1/lib/zlib-1.2.6/lib
> > > > -L/h/WXQC/met-5.1/lib/libpng-1.2.34
> > > >
> > > >
LD_LIBRARY_PATH=/ibrix/intel/Compiler/11.1/069/lib/intel64:/gpfs
> > > > /l
> > > > sf
> > > > /9
> > > > .1/linux2.6-glibc2.3-
x86_64/lib:/ibrix/intel/Compiler/11.1/069/l
> > > > ib
> > > > /i
> > > > nt
> > > >
el64:/usr/local/itt/idl/idl80/bin/bin.linux.x86_64/dm/lib:/usr/l
> > > > oc
> > > > al
> > > > /i
> > > > tt/idl/idl80/bin/bin.linux.x86_64:/usr/mpi/gcc/openmpi-
1.8.4/lib
> > > > 64
> > > > :/
> > > > ho
> > > > me/adamsr/python/sage/sage-
4.7.2/local/lib:/home/adamsr/python/b
> > > > as
> > > > em
> > > > ap
> > > > /lib:/home/qcteam/netcdf/netcdf-
4.1.3/compiled/lib:/h/common/gsl
> > > > -1
> > > > .1
> > > > 5/
> > > > lib
> > > > LESS=iX
> > > > LESSOPEN=||/usr/bin/lesspipe.sh %s
> > > > LOADEDMODULES=mpi/1.8.4
> > > > LOGNAME=qcteam
> > > > LSF_BINDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/bin
> > > > LSF_ENVDIR=/gpfs/lsf/conf
> > > > LSF_LIBDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/lib
> > > > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > > > MAIL=/var/spool/mail/qcteam
> > > >
> > > >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/l
> > > > pp
> > > > /s
> > > > sp
> > > > /perl5/man
> > > > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > > > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> > > >
> > > > What next?
> > > >
> > > > -----Original Message-----
> > > > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > > > Sent: Friday, March 11, 2016 10:53 AM
> > > > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > > > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> > > >
> > > > Hi,
> > > >
> > > > It looks like the compiler is having trouble finding the
"grib2.h"
> > > > include file.  This is caused by the way you have set the
> > > > MET_GRIB2CINC and MET_GRIB2CLIB variables.  The configure
script
> > > > is not expecting them to include "-I" and "-L", as you've set
them.
> > > > Actually, you do not need to set
> > > > MET_GRIB2 if you're setting the MET_GRIB2CINC and
MET_GRIB2CLIB.
> > > > Instead, please try the following settings:
> > > >
> > > > MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > >
> > > > This tells the code to look in the same directory for both the
> > "grib2.h"
> > > > header file and the compiled library file "libgrib2c.a".  Both
> > > > should exist in that directory.
> > > >
> > > > Next, you also need to tell it where to find the jasper, zlib,
> > > > and libpng libraries.  Those are often installed in standard
> > > > locations on machines and the configure script finds them
> > > > without you needing to tell it where to look.
> > > > But based on your settings, it looks like they are not in a
> > > > standard location.
> > > > Instead, we'll use LDFLAGS to tell the linker where to find
> > > > those libraries (this is described in the output of
./configure --help).
> > > >
> > > > LDFLAGS='-L/h/WXQC/met-5.1/install/jasper/lib
> > > > -L/h/WXQC/met-5.1/install/zlib/lib
> > -L/h/WXQC/met-5.1/install/libpng/lib'
> > > >
> > > > Please give that a shot and let me know how it goes.
> > > >
> > > > Thanks,
> > > > John
> > > >
> > > >
> > > > On Fri, Mar 11, 2016 at 9:08 AM, robert.craig.2 at us.af.mil via
RT
> > > > < met_help at ucar.edu> wrote:
> > > >
> > > > >
> > > > > Fri Mar 11 09:08:39 2016: Request 75501 was acted upon.
> > > > > Transaction: Ticket created by robert.craig.2 at us.af.mil
> > > > >        Queue: met_help
> > > > >      Subject: Intalling MET 5-1
> > > > >        Owner: Nobody
> > > > >   Requestors: robert.craig.2 at us.af.mil
> > > > >       Status: new
> > > > >  Ticket <URL:
> > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501
> > > > > >
> > > > >
> > > > >
> > > > > John, I am installing MET 5.1 on a new computer  system
here.
>  Below
> > > are
> > > > > the contents of my met-5.1 so far:
> > > > >
> > > > > aclocal.m4    config.h     config.log     config.sub
configure.ac
> > > > > depcomp  export_vars.bat  lib       Makefile.am  Make-
include
> > > > missing
> > > > > README     scripts  src
> > > > > config.guess  config.h.in  config.status  configure   data
> > > doc
> > > > >     install-sh       Makefile  Makefile.in  make_install.log
out
> > > > > run_tests  share    stamp-h1
> > > > >
> > > > > In lib, I have the following:
> > > > >
> > > > > BUFRLIB_v10-0-1  g2clib-1.4.0  GRIBI_copygb.exe  gsl-1.15
> > > > > jasper libf2c
> > > > > libpng-1.2.34  netcdf-4.1.3  tar  zlib-1.2.6
> > > > >
> > > > > Below is the env variables set:
> > > > >
> > > > > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > > > > MAIL=/var/spool/mail/qcteam
> > > > >
> > > > >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr
> > > > > /l
> > > > > pp
> > > > > /s
> > > > > sp
> > > > > /perl5/man
> > > > > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > > > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > > > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > > MET_GRIB2CINC=-I/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > > -I/h/WXQC/met-5.1/install/jasper/include/jasper
> > > > > -I/h/WXQC/met-5.1/install/zlib/include
> > > > > -I/h/WXQC/met-5.1/install/libpng/include
> > > > > MET_GRIB2CLIB=-L/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > > -L/h/WXQC/met-5.1/install/jasper/lib
> > > > > -L/h/WXQC/met-5.1/install/zlib/lib
> > > > > -L/h/WXQC/met-5.1/install/libpng/lib
> > > > > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > > > > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> > > > >
> > > > >
MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles:/op
> > > > > t/
> > > > > me
> > > > > ll
> > > > > an
> > > > > ox/bupc/2.18.0/modules
> > > > > MODULESHOME=/usr/share/Modules
> > > > >
> > > > > From page 32 of the MET 5.1 users guide, I ran step 1) and
all
> > > > > seemed to go well When I run step 2), it dies and I get the
> > > > > following
> > > output:
> > > > > [1]     21366
> > > > > [1123 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] In file included
> > > > > from
> > > > > data2d_grib2.cc:29:
> > > > > data2d_grib2.h:27:21: error: grib2.h: No such file or
> > > > > directory In file included from data2d_grib2.cc:29:
> > > > > data2d_grib2.h:96: error: \u2018gribfield\u2019 has not been
> > > > > declared
> > > > > data2d_grib2.h:99: error: \u2018g2int\u2019 has not been
> > > > > declared
> > > > > data2d_grib2.h:100: error: \u2018g2int\u2019 has not been
> > > > > declared
> > > > > data2d_grib2.h:101: error: \u2018gribfield\u2019 has not
been
> > > > > declared
> > > > > data2d_grib2.h:103: error: \u2018g2int\u2019 has not been
> > > > > declared
> > > > > data2d_grib2.cc:36: error: variable or field
> > > > > \u2018g2_miss\u2019 declared void
> > > > > data2d_grib2.cc:36: error: \u2018gribfield\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:36: error: \u2018gfld\u2019 was not declared
> > > > > in this scope
> > > > > data2d_grib2.cc:36: error: expected primary-expression
before
> > > > > \u2018float\u2019
> > > > > data2d_grib2.cc:36: error: expected primary-expression
before
> > > > > \u2018int\u2019
> > > > > data2d_grib2.cc: In member function \u2018void
> > > > > MetGrib2DataFile::read_grib2_record_list()\u2019:
> > > > > data2d_grib2.cc:533: error: \u2018gribfield\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:533: error: \u2018gfld\u2019 was not
declared
> > > > > in this scope
> > > > > data2d_grib2.cc:536: error: \u2018g2int\u2019 was not
declared
> > > > > in this scope
> > > > > data2d_grib2.cc:536: error: expected \u2018;\u2019 before
> > > > > \u2018numfields\u2019
> > > > > data2d_grib2.cc:540: error: \u2018numfields\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:674: error: expected \u2018;\u2019 before
> > > > > \u2018range_typ\u2019
> > > > > data2d_grib2.cc:677: error: expected \u2018;\u2019 before
> > > > > \u2018range_val\u2019
> > > > > data2d_grib2.cc:680: error: \u2018range_typ\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:681: error: \u2018range_val\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:705: error: \u2018g2_free\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc: At global scope:
> > > > > data2d_grib2.cc:723: error: variable or field
> > > > > \u2018read_grib2_grid\u2019 declared void
> > > > > data2d_grib2.cc:723: error: \u2018gribfield\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:723: error: \u2018gfld\u2019 was not
declared
> > > > > in this scope
> > > > > make[3]: *** [libvx_data2d_grib2_a-data2d_grib2.o] Error 1
> > > > > make[2]: *** [install-recursive] Error 1
> > > > > make[1]: *** [install-recursive] Error 1
> > > > > make: *** [install-recursive] Error 1
> > > > >
> > > > > [1] +  Done(2)                 make install >
make_install.log &
> > > > >
> > > > > Not sure what to do at this point.  Hope you can help.
> > > > >
> > > > > Bob
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>
>



------------------------------------------------
Subject: RE: [rt.rap.ucar.edu #75501] Intalling MET 5-1
From: robert.craig.2 at us.af.mil
Time: Fri Mar 11 14:13:09 2016

And when I ran test, that seemed to go better with some errors: See
below

[1508 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] make test
./run_tests /h/WXQC/met-5.1/bin /h/WXQC/met-5.1/share/met
PATH = /h/WXQC/met-5.1/bin
MET_BASE = /h/WXQC/met-5.1/share/met

*** Testing the Model Evaluation Tools Project ***


*** Testing Gen-Vx-Mask application ***


*** Running Gen-Vx-Mask to generate a polyline mask file for the
Continental United States ***
gen_vx_mask: error while loading shared libraries: libgsl.so.0: cannot
open shared object file: No such file or directory

*** Running Gen-Vx-Mask to generate a circle mask file ***
gen_vx_mask: error while loading shared libraries: libgsl.so.0: cannot
open shared object file: No such file or directory

*** Testing PCP-Combine application ***


*** Running PCP-Combine to combine 3-hourly APCP accumulation
forecasts into a single 12 hour accumulation forecast ***
DEBUG 1: [1] File
../data/sample_fcst/2005080700/wrfprs_ruc13_12.tm00_G212 matches valid
time of 20050807_120000
DEBUG 1: [2] File
../data/sample_fcst/2005080700/wrfprs_ruc13_09.tm00_G212 matches valid
time of 20050807_090000
DEBUG 1: [3] File
../data/sample_fcst/2005080700/wrfprs_ruc13_06.tm00_G212 matches valid
time of 20050807_060000
DEBUG 1: [4] File
../data/sample_fcst/2005080700/wrfprs_ruc13_03.tm00_G212 matches valid
time of 20050807_030000
DEBUG 1: [1] Reading input file:
../data/sample_fcst/2005080700/wrfprs_ruc13_12.tm00_G212
DEBUG 1: [2] Reading input file:
../data/sample_fcst/2005080700/wrfprs_ruc13_09.tm00_G212
DEBUG 1: [3] Reading input file:
../data/sample_fcst/2005080700/wrfprs_ruc13_06.tm00_G212
DEBUG 1: [4] Reading input file:
../data/sample_fcst/2005080700/wrfprs_ruc13_03.tm00_G212
DEBUG 1: Writing output file:
../out/pcp_combine/sample_fcst_12L_2005080712V_12A.nc

*** Running PCP-Combine to combine 3-hourly APCP accumulation
forecasts into a single 12 hour accumulation forecast ***
DEBUG 1: [1] File
../data/sample_fcst/2005080700/wrfprs_ruc13_24.tm00_G212 matches valid
time of 20050808_000000
DEBUG 1: [2] File
../data/sample_fcst/2005080700/wrfprs_ruc13_21.tm00_G212 matches valid
time of 20050807_210000
DEBUG 1: [3] File
../data/sample_fcst/2005080700/wrfprs_ruc13_18.tm00_G212 matches valid
time of 20050807_180000
DEBUG 1: [4] File
../data/sample_fcst/2005080700/wrfprs_ruc13_15.tm00_G212 matches valid
time of 20050807_150000
DEBUG 1: [1] Reading input file:
../data/sample_fcst/2005080700/wrfprs_ruc13_24.tm00_G212
DEBUG 1: [2] Reading input file:
../data/sample_fcst/2005080700/wrfprs_ruc13_21.tm00_G212
DEBUG 1: [3] Reading input file:
../data/sample_fcst/2005080700/wrfprs_ruc13_18.tm00_G212
DEBUG 1: [4] Reading input file:
../data/sample_fcst/2005080700/wrfprs_ruc13_15.tm00_G212
DEBUG 1: Writing output file:
../out/pcp_combine/sample_fcst_12L_2005080800V_12A.nc

*** Running PCP-Combine to combine 3-hourly APCP accumulation
forecasts into a single 24 hour accumulation forecast ***
DEBUG 1: [1] File
../data/sample_fcst/2005080700/wrfprs_ruc13_24.tm00_G212 matches valid
time of 20050808_000000
DEBUG 1: [2] File
../data/sample_fcst/2005080700/wrfprs_ruc13_21.tm00_G212 matches valid
time of 20050807_210000
DEBUG 1: [3] File
../data/sample_fcst/2005080700/wrfprs_ruc13_18.tm00_G212 matches valid
time of 20050807_180000
DEBUG 1: [4] File
../data/sample_fcst/2005080700/wrfprs_ruc13_15.tm00_G212 matches valid
time of 20050807_150000
DEBUG 1: [5] File
../data/sample_fcst/2005080700/wrfprs_ruc13_12.tm00_G212 matches valid
time of 20050807_120000
DEBUG 1: [6] File
../data/sample_fcst/2005080700/wrfprs_ruc13_09.tm00_G212 matches valid
time of 20050807_090000
DEBUG 1: [7] File
../data/sample_fcst/2005080700/wrfprs_ruc13_06.tm00_G212 matches valid
time of 20050807_060000
DEBUG 1: [8] File
../data/sample_fcst/2005080700/wrfprs_ruc13_03.tm00_G212 matches valid
time of 20050807_030000
DEBUG 1: [1] Reading input file:
../data/sample_fcst/2005080700/wrfprs_ruc13_24.tm00_G212
DEBUG 1: [2] Reading input file:
../data/sample_fcst/2005080700/wrfprs_ruc13_21.tm00_G212
DEBUG 1: [3] Reading input file:
../data/sample_fcst/2005080700/wrfprs_ruc13_18.tm00_G212
DEBUG 1: [4] Reading input file:
../data/sample_fcst/2005080700/wrfprs_ruc13_15.tm00_G212
DEBUG 1: [5] Reading input file:
../data/sample_fcst/2005080700/wrfprs_ruc13_12.tm00_G212
DEBUG 1: [6] Reading input file:
../data/sample_fcst/2005080700/wrfprs_ruc13_09.tm00_G212
DEBUG 1: [7] Reading input file:
../data/sample_fcst/2005080700/wrfprs_ruc13_06.tm00_G212
DEBUG 1: [8] Reading input file:
../data/sample_fcst/2005080700/wrfprs_ruc13_03.tm00_G212
DEBUG 1: Writing output file:
../out/pcp_combine/sample_fcst_24L_2005080800V_24A.nc

*** Running PCP-Combine to combine 1-hourly APCP accumulation
observations into a single 12 hour accumulation observation ***
DEBUG 1: [1] File ../data/sample_obs/ST2ml/ST2ml2005080712.Grb_G212
matches valid time of 20050807_120000
DEBUG 1: [2] File ../data/sample_obs/ST2ml/ST2ml2005080711.Grb_G212
matches valid time of 20050807_110000
DEBUG 1: [3] File ../data/sample_obs/ST2ml/ST2ml2005080710.Grb_G212
matches valid time of 20050807_100000
DEBUG 1: [4] File ../data/sample_obs/ST2ml/ST2ml2005080709.Grb_G212
matches valid time of 20050807_090000
DEBUG 1: [5] File ../data/sample_obs/ST2ml/ST2ml2005080708.Grb_G212
matches valid time of 20050807_080000
DEBUG 1: [6] File ../data/sample_obs/ST2ml/ST2ml2005080707.Grb_G212
matches valid time of 20050807_070000
DEBUG 1: [7] File ../data/sample_obs/ST2ml/ST2ml2005080706.Grb_G212
matches valid time of 20050807_060000
DEBUG 1: [8] File ../data/sample_obs/ST2ml/ST2ml2005080705.Grb_G212
matches valid time of 20050807_050000
DEBUG 1: [9] File ../data/sample_obs/ST2ml/ST2ml2005080704.Grb_G212
matches valid time of 20050807_040000
DEBUG 1: [10] File ../data/sample_obs/ST2ml/ST2ml2005080703.Grb_G212
matches valid time of 20050807_030000
DEBUG 1: [11] File ../data/sample_obs/ST2ml/ST2ml2005080702.Grb_G212
matches valid time of 20050807_020000
DEBUG 1: [12] File ../data/sample_obs/ST2ml/ST2ml2005080701.Grb_G212
matches valid time of 20050807_010000
DEBUG 1: [1] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080712.Grb_G212
DEBUG 1: [2] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080711.Grb_G212
DEBUG 1: [3] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080710.Grb_G212
DEBUG 1: [4] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080709.Grb_G212
DEBUG 1: [5] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080708.Grb_G212
DEBUG 1: [6] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080707.Grb_G212
DEBUG 1: [7] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080706.Grb_G212
DEBUG 1: [8] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080705.Grb_G212
DEBUG 1: [9] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080704.Grb_G212
DEBUG 1: [10] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080703.Grb_G212
DEBUG 1: [11] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080702.Grb_G212
DEBUG 1: [12] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080701.Grb_G212
DEBUG 1: Writing output file:
../out/pcp_combine/sample_obs_2005080712V_12A.nc

*** Running PCP-Combine to combine 1-hourly APCP accumulation
observations into a single 12 hour accumulation observation ***
DEBUG 1: [1] File ../data/sample_obs/ST2ml/ST2ml2005080800.Grb_G212
matches valid time of 20050808_000000
DEBUG 1: [2] File ../data/sample_obs/ST2ml/ST2ml2005080723.Grb_G212
matches valid time of 20050807_230000
DEBUG 1: [3] File ../data/sample_obs/ST2ml/ST2ml2005080722.Grb_G212
matches valid time of 20050807_220000
DEBUG 1: [4] File ../data/sample_obs/ST2ml/ST2ml2005080721.Grb_G212
matches valid time of 20050807_210000
DEBUG 1: [5] File ../data/sample_obs/ST2ml/ST2ml2005080720.Grb_G212
matches valid time of 20050807_200000
DEBUG 1: [6] File ../data/sample_obs/ST2ml/ST2ml2005080719.Grb_G212
matches valid time of 20050807_190000
DEBUG 1: [7] File ../data/sample_obs/ST2ml/ST2ml2005080718.Grb_G212
matches valid time of 20050807_180000
DEBUG 1: [8] File ../data/sample_obs/ST2ml/ST2ml2005080717.Grb_G212
matches valid time of 20050807_170000
DEBUG 1: [9] File ../data/sample_obs/ST2ml/ST2ml2005080716.Grb_G212
matches valid time of 20050807_160000
DEBUG 1: [10] File ../data/sample_obs/ST2ml/ST2ml2005080715.Grb_G212
matches valid time of 20050807_150000
DEBUG 1: [11] File ../data/sample_obs/ST2ml/ST2ml2005080714.Grb_G212
matches valid time of 20050807_140000
DEBUG 1: [12] File ../data/sample_obs/ST2ml/ST2ml2005080713.Grb_G212
matches valid time of 20050807_130000
DEBUG 1: [1] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080800.Grb_G212
DEBUG 1: [2] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080723.Grb_G212
DEBUG 1: [3] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080722.Grb_G212
DEBUG 1: [4] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080721.Grb_G212
DEBUG 1: [5] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080720.Grb_G212
DEBUG 1: [6] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080719.Grb_G212
DEBUG 1: [7] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080718.Grb_G212
DEBUG 1: [8] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080717.Grb_G212
DEBUG 1: [9] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080716.Grb_G212
DEBUG 1: [10] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080715.Grb_G212
DEBUG 1: [11] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080714.Grb_G212
DEBUG 1: [12] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080713.Grb_G212
DEBUG 1: Writing output file:
../out/pcp_combine/sample_obs_2005080800V_12A.nc

*** Running PCP-Combine to combine 1-hourly APCP accumulation
observations into a single 24 hour accumulation observation ***
DEBUG 1: [1] File ../data/sample_obs/ST2ml/ST2ml2005080800.Grb_G212
matches valid time of 20050808_000000
DEBUG 1: [2] File ../data/sample_obs/ST2ml/ST2ml2005080723.Grb_G212
matches valid time of 20050807_230000
DEBUG 1: [3] File ../data/sample_obs/ST2ml/ST2ml2005080722.Grb_G212
matches valid time of 20050807_220000
DEBUG 1: [4] File ../data/sample_obs/ST2ml/ST2ml2005080721.Grb_G212
matches valid time of 20050807_210000
DEBUG 1: [5] File ../data/sample_obs/ST2ml/ST2ml2005080720.Grb_G212
matches valid time of 20050807_200000
DEBUG 1: [6] File ../data/sample_obs/ST2ml/ST2ml2005080719.Grb_G212
matches valid time of 20050807_190000
DEBUG 1: [7] File ../data/sample_obs/ST2ml/ST2ml2005080718.Grb_G212
matches valid time of 20050807_180000
DEBUG 1: [8] File ../data/sample_obs/ST2ml/ST2ml2005080717.Grb_G212
matches valid time of 20050807_170000
DEBUG 1: [9] File ../data/sample_obs/ST2ml/ST2ml2005080716.Grb_G212
matches valid time of 20050807_160000
DEBUG 1: [10] File ../data/sample_obs/ST2ml/ST2ml2005080715.Grb_G212
matches valid time of 20050807_150000
DEBUG 1: [11] File ../data/sample_obs/ST2ml/ST2ml2005080714.Grb_G212
matches valid time of 20050807_140000
DEBUG 1: [12] File ../data/sample_obs/ST2ml/ST2ml2005080713.Grb_G212
matches valid time of 20050807_130000
DEBUG 1: [13] File ../data/sample_obs/ST2ml/ST2ml2005080712.Grb_G212
matches valid time of 20050807_120000
DEBUG 1: [14] File ../data/sample_obs/ST2ml/ST2ml2005080711.Grb_G212
matches valid time of 20050807_110000
DEBUG 1: [15] File ../data/sample_obs/ST2ml/ST2ml2005080710.Grb_G212
matches valid time of 20050807_100000
DEBUG 1: [16] File ../data/sample_obs/ST2ml/ST2ml2005080709.Grb_G212
matches valid time of 20050807_090000
DEBUG 1: [17] File ../data/sample_obs/ST2ml/ST2ml2005080708.Grb_G212
matches valid time of 20050807_080000
DEBUG 1: [18] File ../data/sample_obs/ST2ml/ST2ml2005080707.Grb_G212
matches valid time of 20050807_070000
DEBUG 1: [19] File ../data/sample_obs/ST2ml/ST2ml2005080706.Grb_G212
matches valid time of 20050807_060000
DEBUG 1: [20] File ../data/sample_obs/ST2ml/ST2ml2005080705.Grb_G212
matches valid time of 20050807_050000
DEBUG 1: [21] File ../data/sample_obs/ST2ml/ST2ml2005080704.Grb_G212
matches valid time of 20050807_040000
DEBUG 1: [22] File ../data/sample_obs/ST2ml/ST2ml2005080703.Grb_G212
matches valid time of 20050807_030000
DEBUG 1: [23] File ../data/sample_obs/ST2ml/ST2ml2005080702.Grb_G212
matches valid time of 20050807_020000
DEBUG 1: [24] File ../data/sample_obs/ST2ml/ST2ml2005080701.Grb_G212
matches valid time of 20050807_010000
DEBUG 1: [1] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080800.Grb_G212
DEBUG 1: [2] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080723.Grb_G212
DEBUG 1: [3] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080722.Grb_G212
DEBUG 1: [4] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080721.Grb_G212
DEBUG 1: [5] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080720.Grb_G212
DEBUG 1: [6] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080719.Grb_G212
DEBUG 1: [7] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080718.Grb_G212
DEBUG 1: [8] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080717.Grb_G212
DEBUG 1: [9] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080716.Grb_G212
DEBUG 1: [10] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080715.Grb_G212
DEBUG 1: [11] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080714.Grb_G212
DEBUG 1: [12] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080713.Grb_G212
DEBUG 1: [13] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080712.Grb_G212
DEBUG 1: [14] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080711.Grb_G212
DEBUG 1: [15] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080710.Grb_G212
DEBUG 1: [16] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080709.Grb_G212
DEBUG 1: [17] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080708.Grb_G212
DEBUG 1: [18] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080707.Grb_G212
DEBUG 1: [19] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080706.Grb_G212
DEBUG 1: [20] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080705.Grb_G212
DEBUG 1: [21] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080704.Grb_G212
DEBUG 1: [22] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080703.Grb_G212
DEBUG 1: [23] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080702.Grb_G212
DEBUG 1: [24] Reading input file:
../data/sample_obs/ST2ml/ST2ml2005080701.Grb_G212
DEBUG 1: Writing output file:
../out/pcp_combine/sample_obs_2005080800V_24A.nc

*** Testing MODE application ***


*** Running MODE on APCP using netCDF input for both forecast and
observation ***
mode: error while loading shared libraries: libgsl.so.0: cannot open
shared object file: No such file or directory

*** Running MODE on APCP using a GRIB forecast and netCDF observation
***
mode: error while loading shared libraries: libgsl.so.0: cannot open
shared object file: No such file or directory

*** Running MODE on RH at 500mb using GRIB input for both forecast and
observation ***
mode: error while loading shared libraries: libgsl.so.0: cannot open
shared object file: No such file or directory

*** Testing Grid-Stat application ***


*** Running Grid-Stat on APCP using netCDF input for both forecast and
observation ***
grid_stat: error while loading shared libraries: libgsl.so.0: cannot
open shared object file: No such file or directory

*** Running Grid-Stat on POP using a GRIB forecast and netCDF
observation ***
grid_stat: error while loading shared libraries: libgsl.so.0: cannot
open shared object file: No such file or directory

*** Running Grid-Stat on APCP using a GRIB forecast and netCDF
observation ***
grid_stat: error while loading shared libraries: libgsl.so.0: cannot
open shared object file: No such file or directory

*** Running Grid-Stat using GRIB input for both forecast and
observation ***
grid_stat: error while loading shared libraries: libgsl.so.0: cannot
open shared object file: No such file or directory

*** Testing PB2NC application ***


*** Running PB2NC on a PREPBUFR file ***
pb2nc: error while loading shared libraries: libgsl.so.0: cannot open
shared object file: No such file or directory

*** Testing PLOT_POINT_OBS application ***


*** Running PLOT_POINT_OBS on a sample netCDF observation file ***
plot_point_obs: error while loading shared libraries: libgsl.so.0:
cannot open shared object file: No such file or directory

*** Testing ASCII2NC application ***


*** Running ASCII2NC to reformat ASCII point observations into NetCDF
***
ascii2nc: error while loading shared libraries: libgsl.so.0: cannot
open shared object file: No such file or directory

*** Running ASCII2NC to reformat ASCII rain gauge observations into
NetCDF ***
ascii2nc: error while loading shared libraries: libgsl.so.0: cannot
open shared object file: No such file or directory

*** Testing MADIS2NC application ***


*** Running MADIS2NC to reformat MADIS point observations into NetCDF
***
madis2nc: error while loading shared libraries: libgsl.so.0: cannot
open shared object file: No such file or directory

*** Testing Point-Stat application ***


*** Running Point-Stat on sample NAM data ***
point_stat: error while loading shared libraries: libgsl.so.0: cannot
open shared object file: No such file or directory

*** Testing Wavelet-Stat application ***


*** Running Wavelet-Stat on APCP using a GRIB forecast and netCDF
observation ***
wavelet_stat: error while loading shared libraries: libgsl.so.0:
cannot open shared object file: No such file or directory

*** Running Wavelet-Stat on APCP using netCDF input for both forecast
and observation ***
wavelet_stat: error while loading shared libraries: libgsl.so.0:
cannot open shared object file: No such file or directory

*** Testing Ensemble-Stat application ***


*** Running Ensemble-Stat on APCP using GRIB forecasts, point
observations, and gridded observations ***
ensemble_stat: error while loading shared libraries: libgsl.so.0:
cannot open shared object file: No such file or directory

*** Testing STAT-Analysis application ***


*** Running STAT-Analysis ***
stat_analysis: error while loading shared libraries: libgsl.so.0:
cannot open shared object file: No such file or directory

*** Testing MODE-Analysis application ***


*** Running MODE-Analysis to compute column summaries for simple
forecast objects ***
mode_analysis: error while loading shared libraries: libgsl.so.0:
cannot open shared object file: No such file or directory

*** Running MODE-Analysis to compute column summaries for simple
observation objects ***
mode_analysis: error while loading shared libraries: libgsl.so.0:
cannot open shared object file: No such file or directory

*** Running MODE-Analysis to summarize by case ***
mode_analysis: error while loading shared libraries: libgsl.so.0:
cannot open shared object file: No such file or directory

*** Testing PLOT_DATA_PLANE application ***


*** Running PLOT_DATA_PLANE on a sample GRIB1 gridded file  ***
DEBUG 1: Opening data file:
../data/sample_fcst/2007033000/nam.t00z.awip1236.tm00.20070330.grb
DEBUG 1: Creating postscript file:
../out/plot_data_plane/nam.t00z.awip1236.tm00.20070330_TMPZ2.ps

*** Running PLOT_DATA_PLANE on a sample netCDF file  ***
DEBUG 1: Opening data file:
../out/pcp_combine/sample_fcst_12L_2005080712V_12A.nc
DEBUG 1: Creating postscript file:
../out/plot_data_plane/sample_fcst_12L_2005080712V_12A_APCP12_NC_MET.ps

*** Finished Testing the Model Evaluation Tools Project ***

[1509 qcteam hpc9-lsn-01d /h/WXQC/met-5.1]


-----Original Message-----
From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
Sent: Friday, March 11, 2016 3:02 PM
To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1

Bob,

Just to be clear, I didn't mean to put stars around the BUFRLIB
commands.
That was a google mail test formatting thing... the commands should
be:

cd /h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
gcc -c -DUNDERSCORE *.c
gfortran -c -DUNDERSCORE -fno-second-underscore *.f *.F ar crv
libbufr.a *.o

On Fri, Mar 11, 2016 at 1:57 PM, robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
>
> Yes the directories exist and are populated with files.  Working on
> the bufferlib instruction.
>
> -----Original Message-----
> From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> Sent: Friday, March 11, 2016 2:50 PM
> To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
>
> Bob,
>
> Looks like we're having GSL and BUFRLIB issues.
>
> Let's check the GSL library.  Run this:
>   ls /h/WXQC/met-5.1/lib/gsl-1.15/lib
> /h/WXQC/met-5.1/lib/gsl-1.15/include
>
> Do those directories exist?  Or did you install GSL somewhere else?
> Just like jasperlib, you can use the "--prefix" option to install
the
> library in-place or, by default, it'll install them in a more
standard location.
> Typically users don't have root permission to write to /usr/local,
but
> perhaps you do.
>
> Regarding BUFRLIB, did you compile it using the "no-second-
underscore"
> option:
>
>
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/comp
> ilation/req_libs.php
>
> Since you're using GNU, here are commands you should use for
BUFRLIB:
>
>    *cd *
> */h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1 gcc -c -DUNDERSCORE *.c*
>    *gfortran -c -DUNDERSCORE -fno-second-underscore *.f *.F*
>    *ar crv libbufr.a *.o*
>
> Thanks,
> John
>
>
> On Fri, Mar 11, 2016 at 1:39 PM, robert.craig.2 at us.af.mil via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
> >
> > Update #2 - the following are missing from the bin directory:
> >
> > Gsid2mpr
> > Gsiddens20rank
> > Modis_regrid (I didn't turn on MODIS since it had an error) Mtd
> > Plot_mode_fiels Regrid_data_plane Shift_data_plane Tc *
> >
> >
> > -----Original Message-----
> > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > Sent: Friday, March 11, 2016 1:36 PM
> > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> >
> > Bob,
> >
> > Sorry I missed that.  OK, when you compiled jasperlib it must have
> > installed it somewhere on a system location.  Try this:
> >    locate libjasper.a
> >
> > If that finds it, you can point to it.  Or you could recompile
> > jasper using the "--prefix" option to telll it where you want it
compiled.
> > For
> > example:
> >    cd /h/WXQC/met-5.1/lib/libpng-1.2.34/
> >    ./configure --prefix=/h/WXQC/met-5.1/lib/libpng-1.2.34
> >    make install
> >
> > The "install" step should create this directory:
> > /h/WXQC/met-5.1/lib/libpng-1.2.34/lib
> >
> > When I have to install MET on a new system, I often install all
the
> > libraries (NetCDF, GSL, BUFRLIB, and the GRIB2 libraries) to the
> > same directory.  Installing them to different directories works
too,
> > but then we need to specify them individually, as we're doing.
> >
> > Does that help?
> >
> > Thanks,
> > John
> >
> > On Fri, Mar 11, 2016 at 12:28 PM, robert.craig.2 at us.af.mil via RT
<
> > met_help at ucar.edu> wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
> > >
> > > John, I don't have a lib directory under jasper.  The listing of
> > > the jasper directory was in my last email.
> > >
> > > Bob
> > >
> > > -----Original Message-----
> > > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > > Sent: Friday, March 11, 2016 1:24 PM
> > > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> > >
> > > Bob,
> > >
> > > OK great, we're making progress!
> > >
> > > First, in the instructions we say "make install >&
make_install.log".
> > > In c-shell that directs both standard out and standard error to
> > > the same output log file.  I think the syntax in bourne-shell or
> > > korn-shell is different.  If you're using those, please try
this:
> > >    make install > make_install.log 2>&1
> > >
> > > Sounds like we should update the user's guide with c-shell and
> > > non-c-shell variants.
> > >
> > > On to the jasperlib issue.  With your LDFLAGS setting, we've
told
> > > MET to look for the file "libjasper.a" (or libjasper.so*) in
here:
> > >    ls /h/WXQC/met-5.1/lib/jasper/libjasper*
> > >
> > > But I suspect it actually lives in a lib sub-directory instead!
> > > And for zlib and libpng, I think there is *not* a lib
subdirectory.
> > >
> > > Try this:
> > >   ls /h/WXQC/met-5.1/lib/jasper/lib/libjasper.a
> > >   ls /h/WXQC/met-5.1/lib/zlib-1.2.6/libz.a
> > >   ls /h/WXQC/met-5.1/lib/libpng-1.2.34/libpng.a
> > >
> > > If you find library files in all those locations, use the
> > > following environment variable setting:
> > >
> > > LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper/lib
> > > -L/h/WXQC/met-5.1/lib/zlib-1.2.6
> > > -L/h/WXQC/met-5.1/lib/libpng-1.2.34
> > >
> > > Sorry this is so confusing!
> > >
> > > John
> > >
> > >
> > >
> > > On Fri, Mar 11, 2016 at 11:01 AM, robert.craig.2 at us.af.mil via
RT
> > > < met_help at ucar.edu> wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501
>
> > > >
> > > > John, I made the changes you suggested with one caveat:  I
> > > > changed "install"
> > > > to "lib" in the LDFLAGS since the libraries are in
> /h/WXQC/met-5.1/lib.
> > > > Also
> > > > in the MET 5.1 Users Guide, on page 32, the step 2)  says to
> > > > 'make install
> > > > >&
> > > > make_install.log &' and I assume you meant ''make install >
> > > > make_install.log &'.  So after setting the environmental
> > > > variables and running step 1) then Step 2)  the compile gives
me
> > > > the following messages and then stops.
> > > > Attached
> > > > in the log file.
> > > >
> > > > [1227 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] make install >
> > > > make_install.log &
> > > > [1]     28326
> > > > [1228 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] /usr/bin/ld: cannot
> > > > find -ljasper
> > > > collect2: ld returned 1 exit status
> > > > make[4]: *** [ensemble_stat] Error 1
> > > > make[3]: *** [install-recursive] Error 1
> > > > make[2]: *** [install-recursive] Error 1
> > > > make[1]: *** [install-recursive] Error 1
> > > > make: *** [install-recursive] Error 1
> > > >
> > > > [1] +  Done(2)                 make install > make_install.log
&
> > > >
> > > > My env vars are below.  There is no lib directory in jasper.
A
> > > > dir of jasper is listed below:
> > > >
> > > > acaux       ChangeLog   config.status  configure.ac  data
INSTALL
> > > > jasper.spec.in  LICENSE   Makefile.am  NEWS    src
> > > > aclocal.m4  config.log  configure      COPYRIGHT     doc
>  jasper.spec
> > > > libtool         Makefile  Makefile.in  README
> > > >
> > > > LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper
> > > > -L/h/WXQC/met-5.1/lib/zlib-1.2.6/lib
> > > > -L/h/WXQC/met-5.1/lib/libpng-1.2.34
> > > >
> > > >
LD_LIBRARY_PATH=/ibrix/intel/Compiler/11.1/069/lib/intel64:/gpfs
> > > > /l
> > > > sf
> > > > /9
> > > > .1/linux2.6-glibc2.3-
x86_64/lib:/ibrix/intel/Compiler/11.1/069/l
> > > > ib
> > > > /i
> > > > nt
> > > >
el64:/usr/local/itt/idl/idl80/bin/bin.linux.x86_64/dm/lib:/usr/l
> > > > oc
> > > > al
> > > > /i
> > > > tt/idl/idl80/bin/bin.linux.x86_64:/usr/mpi/gcc/openmpi-
1.8.4/lib
> > > > 64
> > > > :/
> > > > ho
> > > > me/adamsr/python/sage/sage-
4.7.2/local/lib:/home/adamsr/python/b
> > > > as
> > > > em
> > > > ap
> > > > /lib:/home/qcteam/netcdf/netcdf-
4.1.3/compiled/lib:/h/common/gsl
> > > > -1
> > > > .1
> > > > 5/
> > > > lib
> > > > LESS=iX
> > > > LESSOPEN=||/usr/bin/lesspipe.sh %s
> > > > LOADEDMODULES=mpi/1.8.4
> > > > LOGNAME=qcteam
> > > > LSF_BINDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/bin
> > > > LSF_ENVDIR=/gpfs/lsf/conf
> > > > LSF_LIBDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/lib
> > > > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > > > MAIL=/var/spool/mail/qcteam
> > > >
> > > >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/l
> > > > pp
> > > > /s
> > > > sp
> > > > /perl5/man
> > > > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > > > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> > > >
> > > > What next?
> > > >
> > > > -----Original Message-----
> > > > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > > > Sent: Friday, March 11, 2016 10:53 AM
> > > > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > > > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> > > >
> > > > Hi,
> > > >
> > > > It looks like the compiler is having trouble finding the
"grib2.h"
> > > > include file.  This is caused by the way you have set the
> > > > MET_GRIB2CINC and MET_GRIB2CLIB variables.  The configure
script
> > > > is not expecting them to include "-I" and "-L", as you've set
them.
> > > > Actually, you do not need to set
> > > > MET_GRIB2 if you're setting the MET_GRIB2CINC and
MET_GRIB2CLIB.
> > > > Instead, please try the following settings:
> > > >
> > > > MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > >
> > > > This tells the code to look in the same directory for both the
> > "grib2.h"
> > > > header file and the compiled library file "libgrib2c.a".  Both
> > > > should exist in that directory.
> > > >
> > > > Next, you also need to tell it where to find the jasper, zlib,
> > > > and libpng libraries.  Those are often installed in standard
> > > > locations on machines and the configure script finds them
> > > > without you needing to tell it where to look.
> > > > But based on your settings, it looks like they are not in a
> > > > standard location.
> > > > Instead, we'll use LDFLAGS to tell the linker where to find
> > > > those libraries (this is described in the output of
./configure --help).
> > > >
> > > > LDFLAGS='-L/h/WXQC/met-5.1/install/jasper/lib
> > > > -L/h/WXQC/met-5.1/install/zlib/lib
> > -L/h/WXQC/met-5.1/install/libpng/lib'
> > > >
> > > > Please give that a shot and let me know how it goes.
> > > >
> > > > Thanks,
> > > > John
> > > >
> > > >
> > > > On Fri, Mar 11, 2016 at 9:08 AM, robert.craig.2 at us.af.mil via
RT
> > > > < met_help at ucar.edu> wrote:
> > > >
> > > > >
> > > > > Fri Mar 11 09:08:39 2016: Request 75501 was acted upon.
> > > > > Transaction: Ticket created by robert.craig.2 at us.af.mil
> > > > >        Queue: met_help
> > > > >      Subject: Intalling MET 5-1
> > > > >        Owner: Nobody
> > > > >   Requestors: robert.craig.2 at us.af.mil
> > > > >       Status: new
> > > > >  Ticket <URL:
> > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501
> > > > > >
> > > > >
> > > > >
> > > > > John, I am installing MET 5.1 on a new computer  system
here.
>  Below
> > > are
> > > > > the contents of my met-5.1 so far:
> > > > >
> > > > > aclocal.m4    config.h     config.log     config.sub
configure.ac
> > > > > depcomp  export_vars.bat  lib       Makefile.am  Make-
include
> > > > missing
> > > > > README     scripts  src
> > > > > config.guess  config.h.in  config.status  configure   data
> > > doc
> > > > >     install-sh       Makefile  Makefile.in  make_install.log
out
> > > > > run_tests  share    stamp-h1
> > > > >
> > > > > In lib, I have the following:
> > > > >
> > > > > BUFRLIB_v10-0-1  g2clib-1.4.0  GRIBI_copygb.exe  gsl-1.15
> > > > > jasper libf2c
> > > > > libpng-1.2.34  netcdf-4.1.3  tar  zlib-1.2.6
> > > > >
> > > > > Below is the env variables set:
> > > > >
> > > > > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > > > > MAIL=/var/spool/mail/qcteam
> > > > >
> > > > >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr
> > > > > /l
> > > > > pp
> > > > > /s
> > > > > sp
> > > > > /perl5/man
> > > > > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > > > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > > > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > > MET_GRIB2CINC=-I/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > > -I/h/WXQC/met-5.1/install/jasper/include/jasper
> > > > > -I/h/WXQC/met-5.1/install/zlib/include
> > > > > -I/h/WXQC/met-5.1/install/libpng/include
> > > > > MET_GRIB2CLIB=-L/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > > -L/h/WXQC/met-5.1/install/jasper/lib
> > > > > -L/h/WXQC/met-5.1/install/zlib/lib
> > > > > -L/h/WXQC/met-5.1/install/libpng/lib
> > > > > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > > > > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> > > > >
> > > > >
MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles:/op
> > > > > t/
> > > > > me
> > > > > ll
> > > > > an
> > > > > ox/bupc/2.18.0/modules
> > > > > MODULESHOME=/usr/share/Modules
> > > > >
> > > > > From page 32 of the MET 5.1 users guide, I ran step 1) and
all
> > > > > seemed to go well When I run step 2), it dies and I get the
> > > > > following
> > > output:
> > > > > [1]     21366
> > > > > [1123 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] In file included
> > > > > from
> > > > > data2d_grib2.cc:29:
> > > > > data2d_grib2.h:27:21: error: grib2.h: No such file or
> > > > > directory In file included from data2d_grib2.cc:29:
> > > > > data2d_grib2.h:96: error: \u2018gribfield\u2019 has not been
> > > > > declared
> > > > > data2d_grib2.h:99: error: \u2018g2int\u2019 has not been
> > > > > declared
> > > > > data2d_grib2.h:100: error: \u2018g2int\u2019 has not been
> > > > > declared
> > > > > data2d_grib2.h:101: error: \u2018gribfield\u2019 has not
been
> > > > > declared
> > > > > data2d_grib2.h:103: error: \u2018g2int\u2019 has not been
> > > > > declared
> > > > > data2d_grib2.cc:36: error: variable or field
> > > > > \u2018g2_miss\u2019 declared void
> > > > > data2d_grib2.cc:36: error: \u2018gribfield\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:36: error: \u2018gfld\u2019 was not declared
> > > > > in this scope
> > > > > data2d_grib2.cc:36: error: expected primary-expression
before
> > > > > \u2018float\u2019
> > > > > data2d_grib2.cc:36: error: expected primary-expression
before
> > > > > \u2018int\u2019
> > > > > data2d_grib2.cc: In member function \u2018void
> > > > > MetGrib2DataFile::read_grib2_record_list()\u2019:
> > > > > data2d_grib2.cc:533: error: \u2018gribfield\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:533: error: \u2018gfld\u2019 was not
declared
> > > > > in this scope
> > > > > data2d_grib2.cc:536: error: \u2018g2int\u2019 was not
declared
> > > > > in this scope
> > > > > data2d_grib2.cc:536: error: expected \u2018;\u2019 before
> > > > > \u2018numfields\u2019
> > > > > data2d_grib2.cc:540: error: \u2018numfields\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:674: error: expected \u2018;\u2019 before
> > > > > \u2018range_typ\u2019
> > > > > data2d_grib2.cc:677: error: expected \u2018;\u2019 before
> > > > > \u2018range_val\u2019
> > > > > data2d_grib2.cc:680: error: \u2018range_typ\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:681: error: \u2018range_val\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:705: error: \u2018g2_free\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc: At global scope:
> > > > > data2d_grib2.cc:723: error: variable or field
> > > > > \u2018read_grib2_grid\u2019 declared void
> > > > > data2d_grib2.cc:723: error: \u2018gribfield\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:723: error: \u2018gfld\u2019 was not
declared
> > > > > in this scope
> > > > > make[3]: *** [libvx_data2d_grib2_a-data2d_grib2.o] Error 1
> > > > > make[2]: *** [install-recursive] Error 1
> > > > > make[1]: *** [install-recursive] Error 1
> > > > > make: *** [install-recursive] Error 1
> > > > >
> > > > > [1] +  Done(2)                 make install >
make_install.log &
> > > > >
> > > > > Not sure what to do at this point.  Hope you can help.
> > > > >
> > > > > Bob
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>
>



------------------------------------------------
Subject: RE: [rt.rap.ucar.edu #75501] Intalling MET 5-1
From: robert.craig.2 at us.af.mil
Time: Fri Mar 11 14:35:21 2016

BREAKTHROUGH - looked in the GSL documentation and they said to
include the GSL library in the LD_LIBRARY_PATH variable.  That worked!
Sorry to take you down some rabbit holes.

Have a good weekend.

Bob

-----Original Message-----
From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
Sent: Friday, March 11, 2016 3:02 PM
To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1

Bob,

Just to be clear, I didn't mean to put stars around the BUFRLIB
commands.
That was a google mail test formatting thing... the commands should
be:

cd /h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
gcc -c -DUNDERSCORE *.c
gfortran -c -DUNDERSCORE -fno-second-underscore *.f *.F ar crv
libbufr.a *.o

On Fri, Mar 11, 2016 at 1:57 PM, robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
>
> Yes the directories exist and are populated with files.  Working on
> the bufferlib instruction.
>
> -----Original Message-----
> From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> Sent: Friday, March 11, 2016 2:50 PM
> To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
>
> Bob,
>
> Looks like we're having GSL and BUFRLIB issues.
>
> Let's check the GSL library.  Run this:
>   ls /h/WXQC/met-5.1/lib/gsl-1.15/lib
> /h/WXQC/met-5.1/lib/gsl-1.15/include
>
> Do those directories exist?  Or did you install GSL somewhere else?
> Just like jasperlib, you can use the "--prefix" option to install
the
> library in-place or, by default, it'll install them in a more
standard location.
> Typically users don't have root permission to write to /usr/local,
but
> perhaps you do.
>
> Regarding BUFRLIB, did you compile it using the "no-second-
underscore"
> option:
>
>
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/comp
> ilation/req_libs.php
>
> Since you're using GNU, here are commands you should use for
BUFRLIB:
>
>    *cd *
> */h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1 gcc -c -DUNDERSCORE *.c*
>    *gfortran -c -DUNDERSCORE -fno-second-underscore *.f *.F*
>    *ar crv libbufr.a *.o*
>
> Thanks,
> John
>
>
> On Fri, Mar 11, 2016 at 1:39 PM, robert.craig.2 at us.af.mil via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
> >
> > Update #2 - the following are missing from the bin directory:
> >
> > Gsid2mpr
> > Gsiddens20rank
> > Modis_regrid (I didn't turn on MODIS since it had an error) Mtd
> > Plot_mode_fiels Regrid_data_plane Shift_data_plane Tc *
> >
> >
> > -----Original Message-----
> > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > Sent: Friday, March 11, 2016 1:36 PM
> > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> >
> > Bob,
> >
> > Sorry I missed that.  OK, when you compiled jasperlib it must have
> > installed it somewhere on a system location.  Try this:
> >    locate libjasper.a
> >
> > If that finds it, you can point to it.  Or you could recompile
> > jasper using the "--prefix" option to telll it where you want it
compiled.
> > For
> > example:
> >    cd /h/WXQC/met-5.1/lib/libpng-1.2.34/
> >    ./configure --prefix=/h/WXQC/met-5.1/lib/libpng-1.2.34
> >    make install
> >
> > The "install" step should create this directory:
> > /h/WXQC/met-5.1/lib/libpng-1.2.34/lib
> >
> > When I have to install MET on a new system, I often install all
the
> > libraries (NetCDF, GSL, BUFRLIB, and the GRIB2 libraries) to the
> > same directory.  Installing them to different directories works
too,
> > but then we need to specify them individually, as we're doing.
> >
> > Does that help?
> >
> > Thanks,
> > John
> >
> > On Fri, Mar 11, 2016 at 12:28 PM, robert.craig.2 at us.af.mil via RT
<
> > met_help at ucar.edu> wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
> > >
> > > John, I don't have a lib directory under jasper.  The listing of
> > > the jasper directory was in my last email.
> > >
> > > Bob
> > >
> > > -----Original Message-----
> > > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > > Sent: Friday, March 11, 2016 1:24 PM
> > > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> > >
> > > Bob,
> > >
> > > OK great, we're making progress!
> > >
> > > First, in the instructions we say "make install >&
make_install.log".
> > > In c-shell that directs both standard out and standard error to
> > > the same output log file.  I think the syntax in bourne-shell or
> > > korn-shell is different.  If you're using those, please try
this:
> > >    make install > make_install.log 2>&1
> > >
> > > Sounds like we should update the user's guide with c-shell and
> > > non-c-shell variants.
> > >
> > > On to the jasperlib issue.  With your LDFLAGS setting, we've
told
> > > MET to look for the file "libjasper.a" (or libjasper.so*) in
here:
> > >    ls /h/WXQC/met-5.1/lib/jasper/libjasper*
> > >
> > > But I suspect it actually lives in a lib sub-directory instead!
> > > And for zlib and libpng, I think there is *not* a lib
subdirectory.
> > >
> > > Try this:
> > >   ls /h/WXQC/met-5.1/lib/jasper/lib/libjasper.a
> > >   ls /h/WXQC/met-5.1/lib/zlib-1.2.6/libz.a
> > >   ls /h/WXQC/met-5.1/lib/libpng-1.2.34/libpng.a
> > >
> > > If you find library files in all those locations, use the
> > > following environment variable setting:
> > >
> > > LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper/lib
> > > -L/h/WXQC/met-5.1/lib/zlib-1.2.6
> > > -L/h/WXQC/met-5.1/lib/libpng-1.2.34
> > >
> > > Sorry this is so confusing!
> > >
> > > John
> > >
> > >
> > >
> > > On Fri, Mar 11, 2016 at 11:01 AM, robert.craig.2 at us.af.mil via
RT
> > > < met_help at ucar.edu> wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501
>
> > > >
> > > > John, I made the changes you suggested with one caveat:  I
> > > > changed "install"
> > > > to "lib" in the LDFLAGS since the libraries are in
> /h/WXQC/met-5.1/lib.
> > > > Also
> > > > in the MET 5.1 Users Guide, on page 32, the step 2)  says to
> > > > 'make install
> > > > >&
> > > > make_install.log &' and I assume you meant ''make install >
> > > > make_install.log &'.  So after setting the environmental
> > > > variables and running step 1) then Step 2)  the compile gives
me
> > > > the following messages and then stops.
> > > > Attached
> > > > in the log file.
> > > >
> > > > [1227 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] make install >
> > > > make_install.log &
> > > > [1]     28326
> > > > [1228 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] /usr/bin/ld: cannot
> > > > find -ljasper
> > > > collect2: ld returned 1 exit status
> > > > make[4]: *** [ensemble_stat] Error 1
> > > > make[3]: *** [install-recursive] Error 1
> > > > make[2]: *** [install-recursive] Error 1
> > > > make[1]: *** [install-recursive] Error 1
> > > > make: *** [install-recursive] Error 1
> > > >
> > > > [1] +  Done(2)                 make install > make_install.log
&
> > > >
> > > > My env vars are below.  There is no lib directory in jasper.
A
> > > > dir of jasper is listed below:
> > > >
> > > > acaux       ChangeLog   config.status  configure.ac  data
INSTALL
> > > > jasper.spec.in  LICENSE   Makefile.am  NEWS    src
> > > > aclocal.m4  config.log  configure      COPYRIGHT     doc
>  jasper.spec
> > > > libtool         Makefile  Makefile.in  README
> > > >
> > > > LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper
> > > > -L/h/WXQC/met-5.1/lib/zlib-1.2.6/lib
> > > > -L/h/WXQC/met-5.1/lib/libpng-1.2.34
> > > >
> > > >
LD_LIBRARY_PATH=/ibrix/intel/Compiler/11.1/069/lib/intel64:/gpfs
> > > > /l
> > > > sf
> > > > /9
> > > > .1/linux2.6-glibc2.3-
x86_64/lib:/ibrix/intel/Compiler/11.1/069/l
> > > > ib
> > > > /i
> > > > nt
> > > >
el64:/usr/local/itt/idl/idl80/bin/bin.linux.x86_64/dm/lib:/usr/l
> > > > oc
> > > > al
> > > > /i
> > > > tt/idl/idl80/bin/bin.linux.x86_64:/usr/mpi/gcc/openmpi-
1.8.4/lib
> > > > 64
> > > > :/
> > > > ho
> > > > me/adamsr/python/sage/sage-
4.7.2/local/lib:/home/adamsr/python/b
> > > > as
> > > > em
> > > > ap
> > > > /lib:/home/qcteam/netcdf/netcdf-
4.1.3/compiled/lib:/h/common/gsl
> > > > -1
> > > > .1
> > > > 5/
> > > > lib
> > > > LESS=iX
> > > > LESSOPEN=||/usr/bin/lesspipe.sh %s
> > > > LOADEDMODULES=mpi/1.8.4
> > > > LOGNAME=qcteam
> > > > LSF_BINDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/bin
> > > > LSF_ENVDIR=/gpfs/lsf/conf
> > > > LSF_LIBDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/lib
> > > > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > > > MAIL=/var/spool/mail/qcteam
> > > >
> > > >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/l
> > > > pp
> > > > /s
> > > > sp
> > > > /perl5/man
> > > > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > > > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> > > >
> > > > What next?
> > > >
> > > > -----Original Message-----
> > > > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > > > Sent: Friday, March 11, 2016 10:53 AM
> > > > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > > > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> > > >
> > > > Hi,
> > > >
> > > > It looks like the compiler is having trouble finding the
"grib2.h"
> > > > include file.  This is caused by the way you have set the
> > > > MET_GRIB2CINC and MET_GRIB2CLIB variables.  The configure
script
> > > > is not expecting them to include "-I" and "-L", as you've set
them.
> > > > Actually, you do not need to set
> > > > MET_GRIB2 if you're setting the MET_GRIB2CINC and
MET_GRIB2CLIB.
> > > > Instead, please try the following settings:
> > > >
> > > > MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > >
> > > > This tells the code to look in the same directory for both the
> > "grib2.h"
> > > > header file and the compiled library file "libgrib2c.a".  Both
> > > > should exist in that directory.
> > > >
> > > > Next, you also need to tell it where to find the jasper, zlib,
> > > > and libpng libraries.  Those are often installed in standard
> > > > locations on machines and the configure script finds them
> > > > without you needing to tell it where to look.
> > > > But based on your settings, it looks like they are not in a
> > > > standard location.
> > > > Instead, we'll use LDFLAGS to tell the linker where to find
> > > > those libraries (this is described in the output of
./configure --help).
> > > >
> > > > LDFLAGS='-L/h/WXQC/met-5.1/install/jasper/lib
> > > > -L/h/WXQC/met-5.1/install/zlib/lib
> > -L/h/WXQC/met-5.1/install/libpng/lib'
> > > >
> > > > Please give that a shot and let me know how it goes.
> > > >
> > > > Thanks,
> > > > John
> > > >
> > > >
> > > > On Fri, Mar 11, 2016 at 9:08 AM, robert.craig.2 at us.af.mil via
RT
> > > > < met_help at ucar.edu> wrote:
> > > >
> > > > >
> > > > > Fri Mar 11 09:08:39 2016: Request 75501 was acted upon.
> > > > > Transaction: Ticket created by robert.craig.2 at us.af.mil
> > > > >        Queue: met_help
> > > > >      Subject: Intalling MET 5-1
> > > > >        Owner: Nobody
> > > > >   Requestors: robert.craig.2 at us.af.mil
> > > > >       Status: new
> > > > >  Ticket <URL:
> > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501
> > > > > >
> > > > >
> > > > >
> > > > > John, I am installing MET 5.1 on a new computer  system
here.
>  Below
> > > are
> > > > > the contents of my met-5.1 so far:
> > > > >
> > > > > aclocal.m4    config.h     config.log     config.sub
configure.ac
> > > > > depcomp  export_vars.bat  lib       Makefile.am  Make-
include
> > > > missing
> > > > > README     scripts  src
> > > > > config.guess  config.h.in  config.status  configure   data
> > > doc
> > > > >     install-sh       Makefile  Makefile.in  make_install.log
out
> > > > > run_tests  share    stamp-h1
> > > > >
> > > > > In lib, I have the following:
> > > > >
> > > > > BUFRLIB_v10-0-1  g2clib-1.4.0  GRIBI_copygb.exe  gsl-1.15
> > > > > jasper libf2c
> > > > > libpng-1.2.34  netcdf-4.1.3  tar  zlib-1.2.6
> > > > >
> > > > > Below is the env variables set:
> > > > >
> > > > > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > > > > MAIL=/var/spool/mail/qcteam
> > > > >
> > > > >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr
> > > > > /l
> > > > > pp
> > > > > /s
> > > > > sp
> > > > > /perl5/man
> > > > > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > > > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > > > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > > MET_GRIB2CINC=-I/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > > -I/h/WXQC/met-5.1/install/jasper/include/jasper
> > > > > -I/h/WXQC/met-5.1/install/zlib/include
> > > > > -I/h/WXQC/met-5.1/install/libpng/include
> > > > > MET_GRIB2CLIB=-L/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > > -L/h/WXQC/met-5.1/install/jasper/lib
> > > > > -L/h/WXQC/met-5.1/install/zlib/lib
> > > > > -L/h/WXQC/met-5.1/install/libpng/lib
> > > > > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > > > > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> > > > >
> > > > >
MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles:/op
> > > > > t/
> > > > > me
> > > > > ll
> > > > > an
> > > > > ox/bupc/2.18.0/modules
> > > > > MODULESHOME=/usr/share/Modules
> > > > >
> > > > > From page 32 of the MET 5.1 users guide, I ran step 1) and
all
> > > > > seemed to go well When I run step 2), it dies and I get the
> > > > > following
> > > output:
> > > > > [1]     21366
> > > > > [1123 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] In file included
> > > > > from
> > > > > data2d_grib2.cc:29:
> > > > > data2d_grib2.h:27:21: error: grib2.h: No such file or
> > > > > directory In file included from data2d_grib2.cc:29:
> > > > > data2d_grib2.h:96: error: \u2018gribfield\u2019 has not been
> > > > > declared
> > > > > data2d_grib2.h:99: error: \u2018g2int\u2019 has not been
> > > > > declared
> > > > > data2d_grib2.h:100: error: \u2018g2int\u2019 has not been
> > > > > declared
> > > > > data2d_grib2.h:101: error: \u2018gribfield\u2019 has not
been
> > > > > declared
> > > > > data2d_grib2.h:103: error: \u2018g2int\u2019 has not been
> > > > > declared
> > > > > data2d_grib2.cc:36: error: variable or field
> > > > > \u2018g2_miss\u2019 declared void
> > > > > data2d_grib2.cc:36: error: \u2018gribfield\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:36: error: \u2018gfld\u2019 was not declared
> > > > > in this scope
> > > > > data2d_grib2.cc:36: error: expected primary-expression
before
> > > > > \u2018float\u2019
> > > > > data2d_grib2.cc:36: error: expected primary-expression
before
> > > > > \u2018int\u2019
> > > > > data2d_grib2.cc: In member function \u2018void
> > > > > MetGrib2DataFile::read_grib2_record_list()\u2019:
> > > > > data2d_grib2.cc:533: error: \u2018gribfield\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:533: error: \u2018gfld\u2019 was not
declared
> > > > > in this scope
> > > > > data2d_grib2.cc:536: error: \u2018g2int\u2019 was not
declared
> > > > > in this scope
> > > > > data2d_grib2.cc:536: error: expected \u2018;\u2019 before
> > > > > \u2018numfields\u2019
> > > > > data2d_grib2.cc:540: error: \u2018numfields\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:674: error: expected \u2018;\u2019 before
> > > > > \u2018range_typ\u2019
> > > > > data2d_grib2.cc:677: error: expected \u2018;\u2019 before
> > > > > \u2018range_val\u2019
> > > > > data2d_grib2.cc:680: error: \u2018range_typ\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:681: error: \u2018range_val\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:705: error: \u2018g2_free\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc: At global scope:
> > > > > data2d_grib2.cc:723: error: variable or field
> > > > > \u2018read_grib2_grid\u2019 declared void
> > > > > data2d_grib2.cc:723: error: \u2018gribfield\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:723: error: \u2018gfld\u2019 was not
declared
> > > > > in this scope
> > > > > make[3]: *** [libvx_data2d_grib2_a-data2d_grib2.o] Error 1
> > > > > make[2]: *** [install-recursive] Error 1
> > > > > make[1]: *** [install-recursive] Error 1
> > > > > make: *** [install-recursive] Error 1
> > > > >
> > > > > [1] +  Done(2)                 make install >
make_install.log &
> > > > >
> > > > > Not sure what to do at this point.  Hope you can help.
> > > > >
> > > > > Bob
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>
>



------------------------------------------------
Subject: RE: [rt.rap.ucar.edu #75501] Intalling MET 5-1
From: robert.craig.2 at us.af.mil
Time: Fri Mar 11 14:41:22 2016

I should mention that I added modis back in and ran.  I am still
missing some of the progams such as regrid_data_plane but did not see
any error messages.  I will dig deeper.

Bob

-----Original Message-----
From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
Sent: Friday, March 11, 2016 3:02 PM
To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1

Bob,

Just to be clear, I didn't mean to put stars around the BUFRLIB
commands.
That was a google mail test formatting thing... the commands should
be:

cd /h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
gcc -c -DUNDERSCORE *.c
gfortran -c -DUNDERSCORE -fno-second-underscore *.f *.F ar crv
libbufr.a *.o

On Fri, Mar 11, 2016 at 1:57 PM, robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
>
> Yes the directories exist and are populated with files.  Working on
> the bufferlib instruction.
>
> -----Original Message-----
> From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> Sent: Friday, March 11, 2016 2:50 PM
> To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
>
> Bob,
>
> Looks like we're having GSL and BUFRLIB issues.
>
> Let's check the GSL library.  Run this:
>   ls /h/WXQC/met-5.1/lib/gsl-1.15/lib
> /h/WXQC/met-5.1/lib/gsl-1.15/include
>
> Do those directories exist?  Or did you install GSL somewhere else?
> Just like jasperlib, you can use the "--prefix" option to install
the
> library in-place or, by default, it'll install them in a more
standard location.
> Typically users don't have root permission to write to /usr/local,
but
> perhaps you do.
>
> Regarding BUFRLIB, did you compile it using the "no-second-
underscore"
> option:
>
>
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/comp
> ilation/req_libs.php
>
> Since you're using GNU, here are commands you should use for
BUFRLIB:
>
>    *cd *
> */h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1 gcc -c -DUNDERSCORE *.c*
>    *gfortran -c -DUNDERSCORE -fno-second-underscore *.f *.F*
>    *ar crv libbufr.a *.o*
>
> Thanks,
> John
>
>
> On Fri, Mar 11, 2016 at 1:39 PM, robert.craig.2 at us.af.mil via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
> >
> > Update #2 - the following are missing from the bin directory:
> >
> > Gsid2mpr
> > Gsiddens20rank
> > Modis_regrid (I didn't turn on MODIS since it had an error) Mtd
> > Plot_mode_fiels Regrid_data_plane Shift_data_plane Tc *
> >
> >
> > -----Original Message-----
> > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > Sent: Friday, March 11, 2016 1:36 PM
> > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> >
> > Bob,
> >
> > Sorry I missed that.  OK, when you compiled jasperlib it must have
> > installed it somewhere on a system location.  Try this:
> >    locate libjasper.a
> >
> > If that finds it, you can point to it.  Or you could recompile
> > jasper using the "--prefix" option to telll it where you want it
compiled.
> > For
> > example:
> >    cd /h/WXQC/met-5.1/lib/libpng-1.2.34/
> >    ./configure --prefix=/h/WXQC/met-5.1/lib/libpng-1.2.34
> >    make install
> >
> > The "install" step should create this directory:
> > /h/WXQC/met-5.1/lib/libpng-1.2.34/lib
> >
> > When I have to install MET on a new system, I often install all
the
> > libraries (NetCDF, GSL, BUFRLIB, and the GRIB2 libraries) to the
> > same directory.  Installing them to different directories works
too,
> > but then we need to specify them individually, as we're doing.
> >
> > Does that help?
> >
> > Thanks,
> > John
> >
> > On Fri, Mar 11, 2016 at 12:28 PM, robert.craig.2 at us.af.mil via RT
<
> > met_help at ucar.edu> wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
> > >
> > > John, I don't have a lib directory under jasper.  The listing of
> > > the jasper directory was in my last email.
> > >
> > > Bob
> > >
> > > -----Original Message-----
> > > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > > Sent: Friday, March 11, 2016 1:24 PM
> > > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> > >
> > > Bob,
> > >
> > > OK great, we're making progress!
> > >
> > > First, in the instructions we say "make install >&
make_install.log".
> > > In c-shell that directs both standard out and standard error to
> > > the same output log file.  I think the syntax in bourne-shell or
> > > korn-shell is different.  If you're using those, please try
this:
> > >    make install > make_install.log 2>&1
> > >
> > > Sounds like we should update the user's guide with c-shell and
> > > non-c-shell variants.
> > >
> > > On to the jasperlib issue.  With your LDFLAGS setting, we've
told
> > > MET to look for the file "libjasper.a" (or libjasper.so*) in
here:
> > >    ls /h/WXQC/met-5.1/lib/jasper/libjasper*
> > >
> > > But I suspect it actually lives in a lib sub-directory instead!
> > > And for zlib and libpng, I think there is *not* a lib
subdirectory.
> > >
> > > Try this:
> > >   ls /h/WXQC/met-5.1/lib/jasper/lib/libjasper.a
> > >   ls /h/WXQC/met-5.1/lib/zlib-1.2.6/libz.a
> > >   ls /h/WXQC/met-5.1/lib/libpng-1.2.34/libpng.a
> > >
> > > If you find library files in all those locations, use the
> > > following environment variable setting:
> > >
> > > LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper/lib
> > > -L/h/WXQC/met-5.1/lib/zlib-1.2.6
> > > -L/h/WXQC/met-5.1/lib/libpng-1.2.34
> > >
> > > Sorry this is so confusing!
> > >
> > > John
> > >
> > >
> > >
> > > On Fri, Mar 11, 2016 at 11:01 AM, robert.craig.2 at us.af.mil via
RT
> > > < met_help at ucar.edu> wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501
>
> > > >
> > > > John, I made the changes you suggested with one caveat:  I
> > > > changed "install"
> > > > to "lib" in the LDFLAGS since the libraries are in
> /h/WXQC/met-5.1/lib.
> > > > Also
> > > > in the MET 5.1 Users Guide, on page 32, the step 2)  says to
> > > > 'make install
> > > > >&
> > > > make_install.log &' and I assume you meant ''make install >
> > > > make_install.log &'.  So after setting the environmental
> > > > variables and running step 1) then Step 2)  the compile gives
me
> > > > the following messages and then stops.
> > > > Attached
> > > > in the log file.
> > > >
> > > > [1227 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] make install >
> > > > make_install.log &
> > > > [1]     28326
> > > > [1228 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] /usr/bin/ld: cannot
> > > > find -ljasper
> > > > collect2: ld returned 1 exit status
> > > > make[4]: *** [ensemble_stat] Error 1
> > > > make[3]: *** [install-recursive] Error 1
> > > > make[2]: *** [install-recursive] Error 1
> > > > make[1]: *** [install-recursive] Error 1
> > > > make: *** [install-recursive] Error 1
> > > >
> > > > [1] +  Done(2)                 make install > make_install.log
&
> > > >
> > > > My env vars are below.  There is no lib directory in jasper.
A
> > > > dir of jasper is listed below:
> > > >
> > > > acaux       ChangeLog   config.status  configure.ac  data
INSTALL
> > > > jasper.spec.in  LICENSE   Makefile.am  NEWS    src
> > > > aclocal.m4  config.log  configure      COPYRIGHT     doc
>  jasper.spec
> > > > libtool         Makefile  Makefile.in  README
> > > >
> > > > LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper
> > > > -L/h/WXQC/met-5.1/lib/zlib-1.2.6/lib
> > > > -L/h/WXQC/met-5.1/lib/libpng-1.2.34
> > > >
> > > >
LD_LIBRARY_PATH=/ibrix/intel/Compiler/11.1/069/lib/intel64:/gpfs
> > > > /l
> > > > sf
> > > > /9
> > > > .1/linux2.6-glibc2.3-
x86_64/lib:/ibrix/intel/Compiler/11.1/069/l
> > > > ib
> > > > /i
> > > > nt
> > > >
el64:/usr/local/itt/idl/idl80/bin/bin.linux.x86_64/dm/lib:/usr/l
> > > > oc
> > > > al
> > > > /i
> > > > tt/idl/idl80/bin/bin.linux.x86_64:/usr/mpi/gcc/openmpi-
1.8.4/lib
> > > > 64
> > > > :/
> > > > ho
> > > > me/adamsr/python/sage/sage-
4.7.2/local/lib:/home/adamsr/python/b
> > > > as
> > > > em
> > > > ap
> > > > /lib:/home/qcteam/netcdf/netcdf-
4.1.3/compiled/lib:/h/common/gsl
> > > > -1
> > > > .1
> > > > 5/
> > > > lib
> > > > LESS=iX
> > > > LESSOPEN=||/usr/bin/lesspipe.sh %s
> > > > LOADEDMODULES=mpi/1.8.4
> > > > LOGNAME=qcteam
> > > > LSF_BINDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/bin
> > > > LSF_ENVDIR=/gpfs/lsf/conf
> > > > LSF_LIBDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/lib
> > > > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > > > MAIL=/var/spool/mail/qcteam
> > > >
> > > >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/l
> > > > pp
> > > > /s
> > > > sp
> > > > /perl5/man
> > > > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > > > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> > > >
> > > > What next?
> > > >
> > > > -----Original Message-----
> > > > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > > > Sent: Friday, March 11, 2016 10:53 AM
> > > > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > > > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> > > >
> > > > Hi,
> > > >
> > > > It looks like the compiler is having trouble finding the
"grib2.h"
> > > > include file.  This is caused by the way you have set the
> > > > MET_GRIB2CINC and MET_GRIB2CLIB variables.  The configure
script
> > > > is not expecting them to include "-I" and "-L", as you've set
them.
> > > > Actually, you do not need to set
> > > > MET_GRIB2 if you're setting the MET_GRIB2CINC and
MET_GRIB2CLIB.
> > > > Instead, please try the following settings:
> > > >
> > > > MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > >
> > > > This tells the code to look in the same directory for both the
> > "grib2.h"
> > > > header file and the compiled library file "libgrib2c.a".  Both
> > > > should exist in that directory.
> > > >
> > > > Next, you also need to tell it where to find the jasper, zlib,
> > > > and libpng libraries.  Those are often installed in standard
> > > > locations on machines and the configure script finds them
> > > > without you needing to tell it where to look.
> > > > But based on your settings, it looks like they are not in a
> > > > standard location.
> > > > Instead, we'll use LDFLAGS to tell the linker where to find
> > > > those libraries (this is described in the output of
./configure --help).
> > > >
> > > > LDFLAGS='-L/h/WXQC/met-5.1/install/jasper/lib
> > > > -L/h/WXQC/met-5.1/install/zlib/lib
> > -L/h/WXQC/met-5.1/install/libpng/lib'
> > > >
> > > > Please give that a shot and let me know how it goes.
> > > >
> > > > Thanks,
> > > > John
> > > >
> > > >
> > > > On Fri, Mar 11, 2016 at 9:08 AM, robert.craig.2 at us.af.mil via
RT
> > > > < met_help at ucar.edu> wrote:
> > > >
> > > > >
> > > > > Fri Mar 11 09:08:39 2016: Request 75501 was acted upon.
> > > > > Transaction: Ticket created by robert.craig.2 at us.af.mil
> > > > >        Queue: met_help
> > > > >      Subject: Intalling MET 5-1
> > > > >        Owner: Nobody
> > > > >   Requestors: robert.craig.2 at us.af.mil
> > > > >       Status: new
> > > > >  Ticket <URL:
> > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501
> > > > > >
> > > > >
> > > > >
> > > > > John, I am installing MET 5.1 on a new computer  system
here.
>  Below
> > > are
> > > > > the contents of my met-5.1 so far:
> > > > >
> > > > > aclocal.m4    config.h     config.log     config.sub
configure.ac
> > > > > depcomp  export_vars.bat  lib       Makefile.am  Make-
include
> > > > missing
> > > > > README     scripts  src
> > > > > config.guess  config.h.in  config.status  configure   data
> > > doc
> > > > >     install-sh       Makefile  Makefile.in  make_install.log
out
> > > > > run_tests  share    stamp-h1
> > > > >
> > > > > In lib, I have the following:
> > > > >
> > > > > BUFRLIB_v10-0-1  g2clib-1.4.0  GRIBI_copygb.exe  gsl-1.15
> > > > > jasper libf2c
> > > > > libpng-1.2.34  netcdf-4.1.3  tar  zlib-1.2.6
> > > > >
> > > > > Below is the env variables set:
> > > > >
> > > > > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > > > > MAIL=/var/spool/mail/qcteam
> > > > >
> > > > >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr
> > > > > /l
> > > > > pp
> > > > > /s
> > > > > sp
> > > > > /perl5/man
> > > > > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > > > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > > > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > > MET_GRIB2CINC=-I/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > > -I/h/WXQC/met-5.1/install/jasper/include/jasper
> > > > > -I/h/WXQC/met-5.1/install/zlib/include
> > > > > -I/h/WXQC/met-5.1/install/libpng/include
> > > > > MET_GRIB2CLIB=-L/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > > -L/h/WXQC/met-5.1/install/jasper/lib
> > > > > -L/h/WXQC/met-5.1/install/zlib/lib
> > > > > -L/h/WXQC/met-5.1/install/libpng/lib
> > > > > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > > > > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> > > > >
> > > > >
MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles:/op
> > > > > t/
> > > > > me
> > > > > ll
> > > > > an
> > > > > ox/bupc/2.18.0/modules
> > > > > MODULESHOME=/usr/share/Modules
> > > > >
> > > > > From page 32 of the MET 5.1 users guide, I ran step 1) and
all
> > > > > seemed to go well When I run step 2), it dies and I get the
> > > > > following
> > > output:
> > > > > [1]     21366
> > > > > [1123 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] In file included
> > > > > from
> > > > > data2d_grib2.cc:29:
> > > > > data2d_grib2.h:27:21: error: grib2.h: No such file or
> > > > > directory In file included from data2d_grib2.cc:29:
> > > > > data2d_grib2.h:96: error: \u2018gribfield\u2019 has not been
> > > > > declared
> > > > > data2d_grib2.h:99: error: \u2018g2int\u2019 has not been
> > > > > declared
> > > > > data2d_grib2.h:100: error: \u2018g2int\u2019 has not been
> > > > > declared
> > > > > data2d_grib2.h:101: error: \u2018gribfield\u2019 has not
been
> > > > > declared
> > > > > data2d_grib2.h:103: error: \u2018g2int\u2019 has not been
> > > > > declared
> > > > > data2d_grib2.cc:36: error: variable or field
> > > > > \u2018g2_miss\u2019 declared void
> > > > > data2d_grib2.cc:36: error: \u2018gribfield\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:36: error: \u2018gfld\u2019 was not declared
> > > > > in this scope
> > > > > data2d_grib2.cc:36: error: expected primary-expression
before
> > > > > \u2018float\u2019
> > > > > data2d_grib2.cc:36: error: expected primary-expression
before
> > > > > \u2018int\u2019
> > > > > data2d_grib2.cc: In member function \u2018void
> > > > > MetGrib2DataFile::read_grib2_record_list()\u2019:
> > > > > data2d_grib2.cc:533: error: \u2018gribfield\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:533: error: \u2018gfld\u2019 was not
declared
> > > > > in this scope
> > > > > data2d_grib2.cc:536: error: \u2018g2int\u2019 was not
declared
> > > > > in this scope
> > > > > data2d_grib2.cc:536: error: expected \u2018;\u2019 before
> > > > > \u2018numfields\u2019
> > > > > data2d_grib2.cc:540: error: \u2018numfields\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:674: error: expected \u2018;\u2019 before
> > > > > \u2018range_typ\u2019
> > > > > data2d_grib2.cc:677: error: expected \u2018;\u2019 before
> > > > > \u2018range_val\u2019
> > > > > data2d_grib2.cc:680: error: \u2018range_typ\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:681: error: \u2018range_val\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:705: error: \u2018g2_free\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc: At global scope:
> > > > > data2d_grib2.cc:723: error: variable or field
> > > > > \u2018read_grib2_grid\u2019 declared void
> > > > > data2d_grib2.cc:723: error: \u2018gribfield\u2019 was not
> > > > > declared in this scope
> > > > > data2d_grib2.cc:723: error: \u2018gfld\u2019 was not
declared
> > > > > in this scope
> > > > > make[3]: *** [libvx_data2d_grib2_a-data2d_grib2.o] Error 1
> > > > > make[2]: *** [install-recursive] Error 1
> > > > > make[1]: *** [install-recursive] Error 1
> > > > > make: *** [install-recursive] Error 1
> > > > >
> > > > > [1] +  Done(2)                 make install >
make_install.log &
> > > > >
> > > > > Not sure what to do at this point.  Hope you can help.
> > > > >
> > > > > Bob
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>
>



------------------------------------------------
Subject: Intalling MET 5-1
From: John Halley Gotway
Time: Fri Mar 11 14:49:41 2016

Bob,

Sounds good.  Please let me know if you have any more issues next
week.

We do realize how cumbersome this build process can be.  So I'm you're
are
to work through the issues that came up, and hopefully in the long
run,
we'll be able to make this much less painful.

John

On Fri, Mar 11, 2016 at 2:35 PM, robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
>
> BREAKTHROUGH - looked in the GSL documentation and they said to
include
> the GSL library in the LD_LIBRARY_PATH variable.  That worked!
> Sorry to take you down some rabbit holes.
>
> Have a good weekend.
>
> Bob
>
> -----Original Message-----
> From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> Sent: Friday, March 11, 2016 3:02 PM
> To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
>
> Bob,
>
> Just to be clear, I didn't mean to put stars around the BUFRLIB
commands.
> That was a google mail test formatting thing... the commands should
be:
>
> cd /h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> gcc -c -DUNDERSCORE *.c
> gfortran -c -DUNDERSCORE -fno-second-underscore *.f *.F ar crv
libbufr.a
> *.o
>
> On Fri, Mar 11, 2016 at 1:57 PM, robert.craig.2 at us.af.mil via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
> >
> > Yes the directories exist and are populated with files.  Working
on
> > the bufferlib instruction.
> >
> > -----Original Message-----
> > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > Sent: Friday, March 11, 2016 2:50 PM
> > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> >
> > Bob,
> >
> > Looks like we're having GSL and BUFRLIB issues.
> >
> > Let's check the GSL library.  Run this:
> >   ls /h/WXQC/met-5.1/lib/gsl-1.15/lib
> > /h/WXQC/met-5.1/lib/gsl-1.15/include
> >
> > Do those directories exist?  Or did you install GSL somewhere
else?
> > Just like jasperlib, you can use the "--prefix" option to install
the
> > library in-place or, by default, it'll install them in a more
standard
> location.
> > Typically users don't have root permission to write to /usr/local,
but
> > perhaps you do.
> >
> > Regarding BUFRLIB, did you compile it using the "no-second-
underscore"
> > option:
> >
> >
> >
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/comp
> > ilation/req_libs.php
> >
> > Since you're using GNU, here are commands you should use for
BUFRLIB:
> >
> >    *cd *
> > */h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1 gcc -c -DUNDERSCORE *.c*
> >    *gfortran -c -DUNDERSCORE -fno-second-underscore *.f *.F*
> >    *ar crv libbufr.a *.o*
> >
> > Thanks,
> > John
> >
> >
> > On Fri, Mar 11, 2016 at 1:39 PM, robert.craig.2 at us.af.mil via RT <
> > met_help at ucar.edu> wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
> > >
> > > Update #2 - the following are missing from the bin directory:
> > >
> > > Gsid2mpr
> > > Gsiddens20rank
> > > Modis_regrid (I didn't turn on MODIS since it had an error) Mtd
> > > Plot_mode_fiels Regrid_data_plane Shift_data_plane Tc *
> > >
> > >
> > > -----Original Message-----
> > > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > > Sent: Friday, March 11, 2016 1:36 PM
> > > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> > >
> > > Bob,
> > >
> > > Sorry I missed that.  OK, when you compiled jasperlib it must
have
> > > installed it somewhere on a system location.  Try this:
> > >    locate libjasper.a
> > >
> > > If that finds it, you can point to it.  Or you could recompile
> > > jasper using the "--prefix" option to telll it where you want it
> compiled.
> > > For
> > > example:
> > >    cd /h/WXQC/met-5.1/lib/libpng-1.2.34/
> > >    ./configure --prefix=/h/WXQC/met-5.1/lib/libpng-1.2.34
> > >    make install
> > >
> > > The "install" step should create this directory:
> > > /h/WXQC/met-5.1/lib/libpng-1.2.34/lib
> > >
> > > When I have to install MET on a new system, I often install all
the
> > > libraries (NetCDF, GSL, BUFRLIB, and the GRIB2 libraries) to the
> > > same directory.  Installing them to different directories works
too,
> > > but then we need to specify them individually, as we're doing.
> > >
> > > Does that help?
> > >
> > > Thanks,
> > > John
> > >
> > > On Fri, Mar 11, 2016 at 12:28 PM, robert.craig.2 at us.af.mil via
RT <
> > > met_help at ucar.edu> wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501
>
> > > >
> > > > John, I don't have a lib directory under jasper.  The listing
of
> > > > the jasper directory was in my last email.
> > > >
> > > > Bob
> > > >
> > > > -----Original Message-----
> > > > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > > > Sent: Friday, March 11, 2016 1:24 PM
> > > > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > > > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> > > >
> > > > Bob,
> > > >
> > > > OK great, we're making progress!
> > > >
> > > > First, in the instructions we say "make install >&
make_install.log".
> > > > In c-shell that directs both standard out and standard error
to
> > > > the same output log file.  I think the syntax in bourne-shell
or
> > > > korn-shell is different.  If you're using those, please try
this:
> > > >    make install > make_install.log 2>&1
> > > >
> > > > Sounds like we should update the user's guide with c-shell and
> > > > non-c-shell variants.
> > > >
> > > > On to the jasperlib issue.  With your LDFLAGS setting, we've
told
> > > > MET to look for the file "libjasper.a" (or libjasper.so*) in
here:
> > > >    ls /h/WXQC/met-5.1/lib/jasper/libjasper*
> > > >
> > > > But I suspect it actually lives in a lib sub-directory
instead!
> > > > And for zlib and libpng, I think there is *not* a lib
subdirectory.
> > > >
> > > > Try this:
> > > >   ls /h/WXQC/met-5.1/lib/jasper/lib/libjasper.a
> > > >   ls /h/WXQC/met-5.1/lib/zlib-1.2.6/libz.a
> > > >   ls /h/WXQC/met-5.1/lib/libpng-1.2.34/libpng.a
> > > >
> > > > If you find library files in all those locations, use the
> > > > following environment variable setting:
> > > >
> > > > LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper/lib
> > > > -L/h/WXQC/met-5.1/lib/zlib-1.2.6
> > > > -L/h/WXQC/met-5.1/lib/libpng-1.2.34
> > > >
> > > > Sorry this is so confusing!
> > > >
> > > > John
> > > >
> > > >
> > > >
> > > > On Fri, Mar 11, 2016 at 11:01 AM, robert.craig.2 at us.af.mil via
RT
> > > > < met_help at ucar.edu> wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501 >
> > > > >
> > > > > John, I made the changes you suggested with one caveat:  I
> > > > > changed "install"
> > > > > to "lib" in the LDFLAGS since the libraries are in
> > /h/WXQC/met-5.1/lib.
> > > > > Also
> > > > > in the MET 5.1 Users Guide, on page 32, the step 2)  says to
> > > > > 'make install
> > > > > >&
> > > > > make_install.log &' and I assume you meant ''make install >
> > > > > make_install.log &'.  So after setting the environmental
> > > > > variables and running step 1) then Step 2)  the compile
gives me
> > > > > the following messages and then stops.
> > > > > Attached
> > > > > in the log file.
> > > > >
> > > > > [1227 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] make install >
> > > > > make_install.log &
> > > > > [1]     28326
> > > > > [1228 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] /usr/bin/ld:
cannot
> > > > > find -ljasper
> > > > > collect2: ld returned 1 exit status
> > > > > make[4]: *** [ensemble_stat] Error 1
> > > > > make[3]: *** [install-recursive] Error 1
> > > > > make[2]: *** [install-recursive] Error 1
> > > > > make[1]: *** [install-recursive] Error 1
> > > > > make: *** [install-recursive] Error 1
> > > > >
> > > > > [1] +  Done(2)                 make install >
make_install.log &
> > > > >
> > > > > My env vars are below.  There is no lib directory in jasper.
A
> > > > > dir of jasper is listed below:
> > > > >
> > > > > acaux       ChangeLog   config.status  configure.ac  data
INSTALL
> > > > > jasper.spec.in  LICENSE   Makefile.am  NEWS    src
> > > > > aclocal.m4  config.log  configure      COPYRIGHT     doc
> >  jasper.spec
> > > > > libtool         Makefile  Makefile.in  README
> > > > >
> > > > > LDFLAGS=-L/h/WXQC/met-5.1/lib/jasper
> > > > > -L/h/WXQC/met-5.1/lib/zlib-1.2.6/lib
> > > > > -L/h/WXQC/met-5.1/lib/libpng-1.2.34
> > > > >
> > > > >
LD_LIBRARY_PATH=/ibrix/intel/Compiler/11.1/069/lib/intel64:/gpfs
> > > > > /l
> > > > > sf
> > > > > /9
> > > > > .1/linux2.6-glibc2.3-
x86_64/lib:/ibrix/intel/Compiler/11.1/069/l
> > > > > ib
> > > > > /i
> > > > > nt
> > > > >
el64:/usr/local/itt/idl/idl80/bin/bin.linux.x86_64/dm/lib:/usr/l
> > > > > oc
> > > > > al
> > > > > /i
> > > > > tt/idl/idl80/bin/bin.linux.x86_64:/usr/mpi/gcc/openmpi-
1.8.4/lib
> > > > > 64
> > > > > :/
> > > > > ho
> > > > > me/adamsr/python/sage/sage-
4.7.2/local/lib:/home/adamsr/python/b
> > > > > as
> > > > > em
> > > > > ap
> > > > > /lib:/home/qcteam/netcdf/netcdf-
4.1.3/compiled/lib:/h/common/gsl
> > > > > -1
> > > > > .1
> > > > > 5/
> > > > > lib
> > > > > LESS=iX
> > > > > LESSOPEN=||/usr/bin/lesspipe.sh %s
> > > > > LOADEDMODULES=mpi/1.8.4
> > > > > LOGNAME=qcteam
> > > > > LSF_BINDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/bin
> > > > > LSF_ENVDIR=/gpfs/lsf/conf
> > > > > LSF_LIBDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/lib
> > > > > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > > > > MAIL=/var/spool/mail/qcteam
> > > > >
> > > > >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr/l
> > > > > pp
> > > > > /s
> > > > > sp
> > > > > /perl5/man
> > > > > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > > > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > > > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > > MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > > MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > > > > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> > > > >
> > > > > What next?
> > > > >
> > > > > -----Original Message-----
> > > > > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > > > > Sent: Friday, March 11, 2016 10:53 AM
> > > > > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > > > > Subject: Re: [rt.rap.ucar.edu #75501] Intalling MET 5-1
> > > > >
> > > > > Hi,
> > > > >
> > > > > It looks like the compiler is having trouble finding the
"grib2.h"
> > > > > include file.  This is caused by the way you have set the
> > > > > MET_GRIB2CINC and MET_GRIB2CLIB variables.  The configure
script
> > > > > is not expecting them to include "-I" and "-L", as you've
set them.
> > > > > Actually, you do not need to set
> > > > > MET_GRIB2 if you're setting the MET_GRIB2CINC and
MET_GRIB2CLIB.
> > > > > Instead, please try the following settings:
> > > > >
> > > > > MET_GRIB2CINC=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > > MET_GRIB2CLIB=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > >
> > > > > This tells the code to look in the same directory for both
the
> > > "grib2.h"
> > > > > header file and the compiled library file "libgrib2c.a".
Both
> > > > > should exist in that directory.
> > > > >
> > > > > Next, you also need to tell it where to find the jasper,
zlib,
> > > > > and libpng libraries.  Those are often installed in standard
> > > > > locations on machines and the configure script finds them
> > > > > without you needing to tell it where to look.
> > > > > But based on your settings, it looks like they are not in a
> > > > > standard location.
> > > > > Instead, we'll use LDFLAGS to tell the linker where to find
> > > > > those libraries (this is described in the output of
./configure
> --help).
> > > > >
> > > > > LDFLAGS='-L/h/WXQC/met-5.1/install/jasper/lib
> > > > > -L/h/WXQC/met-5.1/install/zlib/lib
> > > -L/h/WXQC/met-5.1/install/libpng/lib'
> > > > >
> > > > > Please give that a shot and let me know how it goes.
> > > > >
> > > > > Thanks,
> > > > > John
> > > > >
> > > > >
> > > > > On Fri, Mar 11, 2016 at 9:08 AM, robert.craig.2 at us.af.mil
via RT
> > > > > < met_help at ucar.edu> wrote:
> > > > >
> > > > > >
> > > > > > Fri Mar 11 09:08:39 2016: Request 75501 was acted upon.
> > > > > > Transaction: Ticket created by robert.craig.2 at us.af.mil
> > > > > >        Queue: met_help
> > > > > >      Subject: Intalling MET 5-1
> > > > > >        Owner: Nobody
> > > > > >   Requestors: robert.craig.2 at us.af.mil
> > > > > >       Status: new
> > > > > >  Ticket <URL:
> > > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=75501
> > > > > > >
> > > > > >
> > > > > >
> > > > > > John, I am installing MET 5.1 on a new computer  system
here.
> >  Below
> > > > are
> > > > > > the contents of my met-5.1 so far:
> > > > > >
> > > > > > aclocal.m4    config.h     config.log     config.sub
> configure.ac
> > > > > > depcomp  export_vars.bat  lib       Makefile.am  Make-
include
> > > > > missing
> > > > > > README     scripts  src
> > > > > > config.guess  config.h.in  config.status  configure   data
> > > > doc
> > > > > >     install-sh       Makefile  Makefile.in
make_install.log  out
> > > > > > run_tests  share    stamp-h1
> > > > > >
> > > > > > In lib, I have the following:
> > > > > >
> > > > > > BUFRLIB_v10-0-1  g2clib-1.4.0  GRIBI_copygb.exe  gsl-1.15
> > > > > > jasper libf2c
> > > > > > libpng-1.2.34  netcdf-4.1.3  tar  zlib-1.2.6
> > > > > >
> > > > > > Below is the env variables set:
> > > > > >
> > > > > > LSF_SERVERDIR=/gpfs/lsf/9.1/linux2.6-glibc2.3-x86_64/etc
> > > > > > MAIL=/var/spool/mail/qcteam
> > > > > >
> > > > > >
MANPATH=/gpfs/lsf/9.1/man:/usr/share/man:/usr/lpp/ssp/man:/usr
> > > > > > /l
> > > > > > pp
> > > > > > /s
> > > > > > sp
> > > > > > /perl5/man
> > > > > > MET_BUFR=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > > > > MET_BUFRLIB=/h/WXQC/met-5.1/lib/BUFRLIB_v10-0-1
> > > > > > MET_GRIB2C=/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > > > MET_GRIB2CINC=-I/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > > > -I/h/WXQC/met-5.1/install/jasper/include/jasper
> > > > > > -I/h/WXQC/met-5.1/install/zlib/include
> > > > > > -I/h/WXQC/met-5.1/install/libpng/include
> > > > > > MET_GRIB2CLIB=-L/h/WXQC/met-5.1/lib/g2clib-1.4.0
> > > > > > -L/h/WXQC/met-5.1/install/jasper/lib
> > > > > > -L/h/WXQC/met-5.1/install/zlib/lib
> > > > > > -L/h/WXQC/met-5.1/install/libpng/lib
> > > > > > MET_GSL=/h/WXQC/met-5.1/lib/gsl-1.15
> > > > > > MET_NETCDF=/h/WXQC/met-5.1/lib/netcdf-4.1.3/compiled
> > > > > >
> > > > > >
MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles:/op
> > > > > > t/
> > > > > > me
> > > > > > ll
> > > > > > an
> > > > > > ox/bupc/2.18.0/modules
> > > > > > MODULESHOME=/usr/share/Modules
> > > > > >
> > > > > > From page 32 of the MET 5.1 users guide, I ran step 1) and
all
> > > > > > seemed to go well When I run step 2), it dies and I get
the
> > > > > > following
> > > > output:
> > > > > > [1]     21366
> > > > > > [1123 qcteam hpc9-lsn-01d /h/WXQC/met-5.1] In file
included
> > > > > > from
> > > > > > data2d_grib2.cc:29:
> > > > > > data2d_grib2.h:27:21: error: grib2.h: No such file or
> > > > > > directory In file included from data2d_grib2.cc:29:
> > > > > > data2d_grib2.h:96: error: \u2018gribfield\u2019 has not
been
> > > > > > declared
> > > > > > data2d_grib2.h:99: error: \u2018g2int\u2019 has not been
> > > > > > declared
> > > > > > data2d_grib2.h:100: error: \u2018g2int\u2019 has not been
> > > > > > declared
> > > > > > data2d_grib2.h:101: error: \u2018gribfield\u2019 has not
been
> > > > > > declared
> > > > > > data2d_grib2.h:103: error: \u2018g2int\u2019 has not been
> > > > > > declared
> > > > > > data2d_grib2.cc:36: error: variable or field
> > > > > > \u2018g2_miss\u2019 declared void
> > > > > > data2d_grib2.cc:36: error: \u2018gribfield\u2019 was not
> > > > > > declared in this scope
> > > > > > data2d_grib2.cc:36: error: \u2018gfld\u2019 was not
declared
> > > > > > in this scope
> > > > > > data2d_grib2.cc:36: error: expected primary-expression
before
> > > > > > \u2018float\u2019
> > > > > > data2d_grib2.cc:36: error: expected primary-expression
before
> > > > > > \u2018int\u2019
> > > > > > data2d_grib2.cc: In member function \u2018void
> > > > > > MetGrib2DataFile::read_grib2_record_list()\u2019:
> > > > > > data2d_grib2.cc:533: error: \u2018gribfield\u2019 was not
> > > > > > declared in this scope
> > > > > > data2d_grib2.cc:533: error: \u2018gfld\u2019 was not
declared
> > > > > > in this scope
> > > > > > data2d_grib2.cc:536: error: \u2018g2int\u2019 was not
declared
> > > > > > in this scope
> > > > > > data2d_grib2.cc:536: error: expected \u2018;\u2019 before
> > > > > > \u2018numfields\u2019
> > > > > > data2d_grib2.cc:540: error: \u2018numfields\u2019 was not
> > > > > > declared in this scope
> > > > > > data2d_grib2.cc:674: error: expected \u2018;\u2019 before
> > > > > > \u2018range_typ\u2019
> > > > > > data2d_grib2.cc:677: error: expected \u2018;\u2019 before
> > > > > > \u2018range_val\u2019
> > > > > > data2d_grib2.cc:680: error: \u2018range_typ\u2019 was not
> > > > > > declared in this scope
> > > > > > data2d_grib2.cc:681: error: \u2018range_val\u2019 was not
> > > > > > declared in this scope
> > > > > > data2d_grib2.cc:705: error: \u2018g2_free\u2019 was not
> > > > > > declared in this scope
> > > > > > data2d_grib2.cc: At global scope:
> > > > > > data2d_grib2.cc:723: error: variable or field
> > > > > > \u2018read_grib2_grid\u2019 declared void
> > > > > > data2d_grib2.cc:723: error: \u2018gribfield\u2019 was not
> > > > > > declared in this scope
> > > > > > data2d_grib2.cc:723: error: \u2018gfld\u2019 was not
declared
> > > > > > in this scope
> > > > > > make[3]: *** [libvx_data2d_grib2_a-data2d_grib2.o] Error 1
> > > > > > make[2]: *** [install-recursive] Error 1
> > > > > > make[1]: *** [install-recursive] Error 1
> > > > > > make: *** [install-recursive] Error 1
> > > > > >
> > > > > > [1] +  Done(2)                 make install >
make_install.log &
> > > > > >
> > > > > > Not sure what to do at this point.  Hope you can help.
> > > > > >
> > > > > > Bob
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>
>

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


More information about the Met_help mailing list