[Met_help] [rt.rap.ucar.edu #80657] History for problems compiling MET-V5.2 using grib2
Julie Prestopnik via RT
met_help at ucar.edu
Thu Jun 1 09:35:30 MDT 2017
----------------------------------------------------------------
Initial Request
----------------------------------------------------------------
Hello,
I'm trying to compile METv5.2 with GRIB2 file support enabled, but I have
received a lot of errors. Please find attached the config.log and
make_install.log to see the error messages that I got during the
compilation.
I must mention that I followed step by step the indications given in the
user guide regarding the compilation of the external libraries used for
MET. Therefore, I installed the BUFRLIB_v10-2-3, netcdf-3.6.3, gsl-1.14,
freetype-2.6 and g2clib-1.6.0-patch (prior the jasper-1.900.1,
libpng-1.2.56 and zlib-1.2.8 were also installed) libraries using
gfortran-V4.5.1 compiler. All the libraries were successfully installed and
the environmental for MET was set using these libraries.
Even though the libjasper.a is created and exported in the .bashrc as it
follows
“export LD_LIBRARY_PATH=$LD_LIBRARY_PATH: $HOME/TOOLS/jasper-1.900.1/lib”,
the error that occurs when the binaries should be created looks like this:
/opt/metapps/x86_64/compiler/gcc-4.5.1/bin/ld: cannot find -ljasper
Could be this error related to the errors seen in the config.log files that
looks like
compiler/gcc-4.5.1/bin/ld: cannot find –lfl
compiler/gcc-4.5.1/bin/ld: cannot find -ll ???
If so, could you suggest me how to get rid of these errors?
Since I am a newbie using MET, your help will be highly appreciated.
Best regards.
Mirela
----------------------------------------------------------------
Complete Ticket History
----------------------------------------------------------------
Subject: problems compiling MET-V5.2 using grib2
From: Minna Win
Time: Tue May 30 11:28:17 2017
Hello -
Most of our team is out due to the Memorial Day holiday. We'll have a
look
at your issue when the team is back sometime later this week.
Regards,
Minna
---------------
Minna Win
NCAR
Research Applications Lab
Phone: 303-497-8423
Fax: 302-497-8401
On Tue, May 30, 2017 at 9:46 AM, Mirela Niculae via RT
<met_help at ucar.edu>
wrote:
>
> Tue May 30 03:46:47 2017: Request 80657 was acted upon.
> Transaction: Ticket created by mirela.niculae at gmail.com
> Queue: met_help
> Subject: problems compiling MET-V5.2 using grib2
> Owner: Nobody
> Requestors: mirela.niculae at gmail.com
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80657 >
>
>
> Hello,
>
> I'm trying to compile METv5.2 with GRIB2 file support enabled, but I
have
> received a lot of errors. Please find attached the config.log and
> make_install.log to see the error messages that I got during the
> compilation.
>
>
>
> I must mention that I followed step by step the indications given in
the
> user guide regarding the compilation of the external libraries used
for
> MET. Therefore, I installed the BUFRLIB_v10-2-3, netcdf-3.6.3, gsl-
1.14,
> freetype-2.6 and g2clib-1.6.0-patch (prior the jasper-1.900.1,
> libpng-1.2.56 and zlib-1.2.8 were also installed) libraries using
> gfortran-V4.5.1 compiler. All the libraries were successfully
installed and
> the environmental for MET was set using these libraries.
>
>
>
> Even though the libjasper.a is created and exported in the .bashrc
as it
> follows
>
> “export LD_LIBRARY_PATH=$LD_LIBRARY_PATH: $HOME/TOOLS/jasper-
1.900.1/lib”,
>
> the error that occurs when the binaries should be created looks like
this:
>
> /opt/metapps/x86_64/compiler/gcc-4.5.1/bin/ld: cannot find -ljasper
>
> Could be this error related to the errors seen in the config.log
files that
> looks like
>
> compiler/gcc-4.5.1/bin/ld: cannot find –lfl
>
> compiler/gcc-4.5.1/bin/ld: cannot find -ll ???
>
> If so, could you suggest me how to get rid of these errors?
>
> Since I am a newbie using MET, your help will be highly appreciated.
>
> Best regards.
> Mirela
>
>
------------------------------------------------
Subject: problems compiling MET-V5.2 using grib2
From: Minna Win
Time: Wed May 31 11:30:12 2017
Hello Mirela,
Our apologies for not responding in our usual timely manner. Many of
the
MET staff have been out on vacation and for the Memorial Day holiday.
Before we try to reproduce your issues with compiling METv5.2, could
you
please verify that you have downloaded the METv5.2 + patches tarball?
It
would be a waste of your time if we got this compilation to work only
to
have to repeat with the bugfixed version.
Regards,
Minna
---------------
Minna Win
NCAR
Research Applications Lab
Phone: 303-497-8423
Fax: 302-497-8401
On Tue, May 30, 2017 at 9:46 AM, Mirela Niculae via RT
<met_help at ucar.edu>
wrote:
>
> Tue May 30 03:46:47 2017: Request 80657 was acted upon.
> Transaction: Ticket created by mirela.niculae at gmail.com
> Queue: met_help
> Subject: problems compiling MET-V5.2 using grib2
> Owner: Nobody
> Requestors: mirela.niculae at gmail.com
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80657 >
>
>
> Hello,
>
> I'm trying to compile METv5.2 with GRIB2 file support enabled, but I
have
> received a lot of errors. Please find attached the config.log and
> make_install.log to see the error messages that I got during the
> compilation.
>
>
>
> I must mention that I followed step by step the indications given in
the
> user guide regarding the compilation of the external libraries used
for
> MET. Therefore, I installed the BUFRLIB_v10-2-3, netcdf-3.6.3, gsl-
1.14,
> freetype-2.6 and g2clib-1.6.0-patch (prior the jasper-1.900.1,
> libpng-1.2.56 and zlib-1.2.8 were also installed) libraries using
> gfortran-V4.5.1 compiler. All the libraries were successfully
installed and
> the environmental for MET was set using these libraries.
>
>
>
> Even though the libjasper.a is created and exported in the .bashrc
as it
> follows
>
> “export LD_LIBRARY_PATH=$LD_LIBRARY_PATH: $HOME/TOOLS/jasper-
1.900.1/lib”,
>
> the error that occurs when the binaries should be created looks like
this:
>
> /opt/metapps/x86_64/compiler/gcc-4.5.1/bin/ld: cannot find -ljasper
>
> Could be this error related to the errors seen in the config.log
files that
> looks like
>
> compiler/gcc-4.5.1/bin/ld: cannot find –lfl
>
> compiler/gcc-4.5.1/bin/ld: cannot find -ll ???
>
> If so, could you suggest me how to get rid of these errors?
>
> Since I am a newbie using MET, your help will be highly appreciated.
>
> Best regards.
> Mirela
>
>
------------------------------------------------
Subject: problems compiling MET-V5.2 using grib2
From: Julie Prestopnik
Time: Wed May 31 14:23:58 2017
Hi Mirela.
I see that you are having some difficulty installing the MET software.
As
you mentioned, the jasper library, along with zlib, libpng, and the
grib2nc
library are all required when compiling support for GRIB2.
The LD_LIBRARY_PATH is an environment variables that you set to give
the
run-time shared library loader an extra set of directories to look for
when
searching for shared libraries, but we need to tell the configure
command
where to look for the jasper library at compile time. You can use the
LDFLAGS option to configure (./configure --help), like this:
LDFLAGS='-L$HOME/TOOLS/jasper-1.900.1/lib/'
where $HOME/TOOLS/jasper-1.900.1/lib/ contains the file "libjasper.a".
Please try running "make clean", then using that option when you run
configure, for example:
./configure --prefix=/home/guest/guest01/MET_V5.2
LDFLAGS='-L$HOME/TOOLS/jasper-1.900.1/lib/' --enable-grib2
--enable-mode_graphics --disable-block4
Then, try to compile MET. Please let us know how it goes.
Thanks,
Julie
On Tue, May 30, 2017 at 3:46 AM, Mirela Niculae via RT
<met_help at ucar.edu>
wrote:
>
> Tue May 30 03:46:47 2017: Request 80657 was acted upon.
> Transaction: Ticket created by mirela.niculae at gmail.com
> Queue: met_help
> Subject: problems compiling MET-V5.2 using grib2
> Owner: Nobody
> Requestors: mirela.niculae at gmail.com
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80657 >
>
>
> Hello,
>
> I'm trying to compile METv5.2 with GRIB2 file support enabled, but I
have
> received a lot of errors. Please find attached the config.log and
> make_install.log to see the error messages that I got during the
> compilation.
>
>
>
> I must mention that I followed step by step the indications given in
the
> user guide regarding the compilation of the external libraries used
for
> MET. Therefore, I installed the BUFRLIB_v10-2-3, netcdf-3.6.3, gsl-
1.14,
> freetype-2.6 and g2clib-1.6.0-patch (prior the jasper-1.900.1,
> libpng-1.2.56 and zlib-1.2.8 were also installed) libraries using
> gfortran-V4.5.1 compiler. All the libraries were successfully
installed and
> the environmental for MET was set using these libraries.
>
>
>
> Even though the libjasper.a is created and exported in the .bashrc
as it
> follows
>
> “export LD_LIBRARY_PATH=$LD_LIBRARY_PATH: $HOME/TOOLS/jasper-
1.900.1/lib”,
>
> the error that occurs when the binaries should be created looks like
this:
>
> /opt/metapps/x86_64/compiler/gcc-4.5.1/bin/ld: cannot find -ljasper
>
> Could be this error related to the errors seen in the config.log
files that
> looks like
>
> compiler/gcc-4.5.1/bin/ld: cannot find –lfl
>
> compiler/gcc-4.5.1/bin/ld: cannot find -ll ???
>
> If so, could you suggest me how to get rid of these errors?
>
> Since I am a newbie using MET, your help will be highly appreciated.
>
> Best regards.
> Mirela
>
>
------------------------------------------------
Subject: problems compiling MET-V5.2 using grib2
From: Mirela Niculae
Time: Thu Jun 01 07:35:20 2017
Hi Julie and Minna,
Thank you very much for your reply!
I followed your instructions (make clean and configure with LDFLAGS to
my
libjasper.a library) and it worked!! :)
All the binaries are in the right place, so everything seems to be ok!
Once again, thank you for your help!
Mirela
2017-05-31 22:23 GMT+02:00 Julie Prestopnik via RT
<met_help at ucar.edu>:
> Hi Mirela.
>
> I see that you are having some difficulty installing the MET
software. As
> you mentioned, the jasper library, along with zlib, libpng, and the
grib2nc
> library are all required when compiling support for GRIB2.
>
> The LD_LIBRARY_PATH is an environment variables that you set to give
the
> run-time shared library loader an extra set of directories to look
for when
> searching for shared libraries, but we need to tell the configure
command
> where to look for the jasper library at compile time. You can use
the
> LDFLAGS option to configure (./configure --help), like this:
>
> LDFLAGS='-L$HOME/TOOLS/jasper-1.900.1/lib/'
>
> where $HOME/TOOLS/jasper-1.900.1/lib/ contains the file
"libjasper.a".
> Please try running "make clean", then using that option when you run
> configure, for example:
>
> ./configure --prefix=/home/guest/guest01/MET_V5.2
> LDFLAGS='-L$HOME/TOOLS/jasper-1.900.1/lib/' --enable-grib2
> --enable-mode_graphics --disable-block4
>
> Then, try to compile MET. Please let us know how it goes.
>
> Thanks,
> Julie
>
>
>
> On Tue, May 30, 2017 at 3:46 AM, Mirela Niculae via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > Tue May 30 03:46:47 2017: Request 80657 was acted upon.
> > Transaction: Ticket created by mirela.niculae at gmail.com
> > Queue: met_help
> > Subject: problems compiling MET-V5.2 using grib2
> > Owner: Nobody
> > Requestors: mirela.niculae at gmail.com
> > Status: new
> > Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80657 >
> >
> >
> > Hello,
> >
> > I'm trying to compile METv5.2 with GRIB2 file support enabled, but
I have
> > received a lot of errors. Please find attached the config.log and
> > make_install.log to see the error messages that I got during the
> > compilation.
> >
> >
> >
> > I must mention that I followed step by step the indications given
in the
> > user guide regarding the compilation of the external libraries
used for
> > MET. Therefore, I installed the BUFRLIB_v10-2-3, netcdf-3.6.3,
gsl-1.14,
> > freetype-2.6 and g2clib-1.6.0-patch (prior the jasper-1.900.1,
> > libpng-1.2.56 and zlib-1.2.8 were also installed) libraries using
> > gfortran-V4.5.1 compiler. All the libraries were successfully
installed
> and
> > the environmental for MET was set using these libraries.
> >
> >
> >
> > Even though the libjasper.a is created and exported in the .bashrc
as it
> > follows
> >
> > “export LD_LIBRARY_PATH=$LD_LIBRARY_PATH: $HOME/TOOLS/jasper-
1.900.1/
> lib”,
> >
> > the error that occurs when the binaries should be created looks
like
> this:
> >
> > /opt/metapps/x86_64/compiler/gcc-4.5.1/bin/ld: cannot find
-ljasper
> >
> > Could be this error related to the errors seen in the config.log
files
> that
> > looks like
> >
> > compiler/gcc-4.5.1/bin/ld: cannot find –lfl
> >
> > compiler/gcc-4.5.1/bin/ld: cannot find -ll ???
> >
> > If so, could you suggest me how to get rid of these errors?
> >
> > Since I am a newbie using MET, your help will be highly
appreciated.
> >
> > Best regards.
> > Mirela
> >
> >
>
>
------------------------------------------------
Subject: problems compiling MET-V5.2 using grib2
From: Julie Prestopnik
Time: Thu Jun 01 09:35:08 2017
Great! Thank you for letting us know. I will close this ticket, but
please let us know if you encounter any other issues.
Thanks,
Julie
On Thu, Jun 1, 2017 at 7:35 AM, Mirela Niculae via RT
<met_help at ucar.edu>
wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80657 >
>
> Hi Julie and Minna,
>
> Thank you very much for your reply!
> I followed your instructions (make clean and configure with LDFLAGS
to my
> libjasper.a library) and it worked!! :)
> All the binaries are in the right place, so everything seems to be
ok!
>
> Once again, thank you for your help!
>
> Mirela
>
> 2017-05-31 22:23 GMT+02:00 Julie Prestopnik via RT
<met_help at ucar.edu>:
>
> > Hi Mirela.
> >
> > I see that you are having some difficulty installing the MET
software. As
> > you mentioned, the jasper library, along with zlib, libpng, and
the
> grib2nc
> > library are all required when compiling support for GRIB2.
> >
> > The LD_LIBRARY_PATH is an environment variables that you set to
give the
> > run-time shared library loader an extra set of directories to look
for
> when
> > searching for shared libraries, but we need to tell the configure
command
> > where to look for the jasper library at compile time. You can use
the
> > LDFLAGS option to configure (./configure --help), like this:
> >
> > LDFLAGS='-L$HOME/TOOLS/jasper-1.900.1/lib/'
> >
> > where $HOME/TOOLS/jasper-1.900.1/lib/ contains the file
"libjasper.a".
> > Please try running "make clean", then using that option when you
run
> > configure, for example:
> >
> > ./configure --prefix=/home/guest/guest01/MET_V5.2
> > LDFLAGS='-L$HOME/TOOLS/jasper-1.900.1/lib/' --enable-grib2
> > --enable-mode_graphics --disable-block4
> >
> > Then, try to compile MET. Please let us know how it goes.
> >
> > Thanks,
> > Julie
> >
> >
> >
> > On Tue, May 30, 2017 at 3:46 AM, Mirela Niculae via RT <
> met_help at ucar.edu>
> > wrote:
> >
> > >
> > > Tue May 30 03:46:47 2017: Request 80657 was acted upon.
> > > Transaction: Ticket created by mirela.niculae at gmail.com
> > > Queue: met_help
> > > Subject: problems compiling MET-V5.2 using grib2
> > > Owner: Nobody
> > > Requestors: mirela.niculae at gmail.com
> > > Status: new
> > > Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80657
> >
> > >
> > >
> > > Hello,
> > >
> > > I'm trying to compile METv5.2 with GRIB2 file support enabled,
but I
> have
> > > received a lot of errors. Please find attached the config.log
and
> > > make_install.log to see the error messages that I got during the
> > > compilation.
> > >
> > >
> > >
> > > I must mention that I followed step by step the indications
given in
> the
> > > user guide regarding the compilation of the external libraries
used for
> > > MET. Therefore, I installed the BUFRLIB_v10-2-3, netcdf-3.6.3,
> gsl-1.14,
> > > freetype-2.6 and g2clib-1.6.0-patch (prior the jasper-1.900.1,
> > > libpng-1.2.56 and zlib-1.2.8 were also installed) libraries
using
> > > gfortran-V4.5.1 compiler. All the libraries were successfully
installed
> > and
> > > the environmental for MET was set using these libraries.
> > >
> > >
> > >
> > > Even though the libjasper.a is created and exported in the
.bashrc as
> it
> > > follows
> > >
> > > “export LD_LIBRARY_PATH=$LD_LIBRARY_PATH: $HOME/TOOLS/jasper-
1.900.1/
> > lib”,
> > >
> > > the error that occurs when the binaries should be created looks
like
> > this:
> > >
> > > /opt/metapps/x86_64/compiler/gcc-4.5.1/bin/ld: cannot find
-ljasper
> > >
> > > Could be this error related to the errors seen in the config.log
files
> > that
> > > looks like
> > >
> > > compiler/gcc-4.5.1/bin/ld: cannot find –lfl
> > >
> > > compiler/gcc-4.5.1/bin/ld: cannot find -ll ???
> > >
> > > If so, could you suggest me how to get rid of these errors?
> > >
> > > Since I am a newbie using MET, your help will be highly
appreciated.
> > >
> > > Best regards.
> > > Mirela
> > >
> > >
> >
> >
>
>
------------------------------------------------
More information about the Met_help
mailing list