[Met_help] [rt.rap.ucar.edu #95277] History for MET 9.01 compile error: -lgrib2c
Julie Prestopnik via RT
met_help at ucar.edu
Tue May 26 13:02:42 MDT 2020
----------------------------------------------------------------
Initial Request
----------------------------------------------------------------
Greetings:
Almost at the finish line installing MET using the install script.
I'm running into an error:
/usr/bin/ld: skipping incompatible
> /home/rob/bin/MET9.01/external_libs/lib/libgrib2c.a when searching for
> -lgrib2c
> /usr/bin/ld: cannot find -lgrib2c
> collect2: error: ld returned 1 exit status
>
I've attached the make.log.
If you have any ideas, please let me know. I've googled around but can't
find anything specific.
Thank you,
Rob
Rob Steenburgh <robert.steenburgh at noaa.gov>
Space Scientist
Space Weather Forecast Office
Space Weather Prediction Center <http://www.swpc.noaa.gov>
W/NP9
325 Broadway
Boulder, CO 80305
303.497.5153
----------------------------------------------------------------
Complete Ticket History
----------------------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: robert.steenburgh at noaa.gov
Time: Fri May 15 20:02:34 2020
Update - got past that error (cleaned out directory & started from
scratch), but then install crashed later:
In file included from ascii2nc.cc:76:
../../../../src/libcode/vx_data2d_python/global_python.h:21:10: fatal
error: Python.h: No such file or directory
#include "Python.h"
^~~~~~~~~~
compilation terminated.
Make log included. Used stock compile script.
Cheers,
Rob
Rob Steenburgh <robert.steenburgh at noaa.gov>
Space Scientist
Space Weather Forecast Office
Space Weather Prediction Center <http://www.swpc.noaa.gov>
W/NP9
325 Broadway
Boulder, CO 80305
303.497.5153
On Fri, May 15, 2020 at 4:52 PM met_help at ucar.edu via RT
<met_help at ucar.edu>
wrote:
>
> Greetings,
>
> This message has been automatically generated in response to the
creation
> of a trouble ticket regarding:
> "MET 9.01 compile error: -lgrib2c",
> a summary of which appears below.
>
> There is no need to reply to this message right now. Your ticket
has been
> assigned an ID of [rt.rap.ucar.edu #95277].
>
> Please include the string:
>
> [rt.rap.ucar.edu #95277]
>
> in the subject line of all future correspondence about this issue.
To do
> so, you may reply to this message.
>
> For more information, please see:
>
> MET Online Tutorial:
>
https://www.dtcenter.org/met/users/support/online_tutorial/index.php
>
> MET Users Guide:
> https://www.dtcenter.org/met/users/docs/overview.php
>
> MET FAQs:
> https://www.dtcenter.org/met/users/support/faqs/index.php
>
> MET-Help Email Archive:
> http://mailman.ucar.edu/pipermail/met_help
>
> Thank you,
> met_help at ucar.edu
>
>
-------------------------------------------------------------------------
> Greetings:
>
> Almost at the finish line installing MET using the install script.
> I'm running into an error:
>
> /usr/bin/ld: skipping incompatible
> > /home/rob/bin/MET9.01/external_libs/lib/libgrib2c.a when searching
for
> > -lgrib2c
> > /usr/bin/ld: cannot find -lgrib2c
> > collect2: error: ld returned 1 exit status
> >
>
> I've attached the make.log.
>
> If you have any ideas, please let me know. I've googled around but
can't
> find anything specific.
>
> Thank you,
> Rob
>
> Rob Steenburgh <robert.steenburgh at noaa.gov>
> Space Scientist
> Space Weather Forecast Office
> Space Weather Prediction Center <http://www.swpc.noaa.gov>
> W/NP9
> 325 Broadway
> Boulder, CO 80305
> 303.497.5153
>
>
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: David Fillmore
Time: Mon May 18 09:56:04 2020
Hi Rob - have you set the MET_PYTHON_LD and MET_PYTHON_CC shell
variables?
MET_PYTHON_CC should point to the directory that contains the Python.h
file
that
the build will use.
David
On Fri, May 15, 2020 at 8:03 PM robert.steenburgh at noaa.gov via RT <
met_help at ucar.edu> wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
>
> Update - got past that error (cleaned out directory & started from
> scratch), but then install crashed later:
>
> In file included from ascii2nc.cc:76:
> ../../../../src/libcode/vx_data2d_python/global_python.h:21:10:
fatal
> error: Python.h: No such file or directory
> #include "Python.h"
> ^~~~~~~~~~
> compilation terminated.
>
> Make log included. Used stock compile script.
>
> Cheers,
> Rob
> Rob Steenburgh <robert.steenburgh at noaa.gov>
> Space Scientist
> Space Weather Forecast Office
> Space Weather Prediction Center <http://www.swpc.noaa.gov>
> W/NP9
> 325 Broadway
> Boulder, CO 80305
> 303.497.5153
>
>
>
>
> On Fri, May 15, 2020 at 4:52 PM met_help at ucar.edu via RT <
> met_help at ucar.edu>
> wrote:
>
> >
> > Greetings,
> >
> > This message has been automatically generated in response to the
creation
> > of a trouble ticket regarding:
> > "MET 9.01 compile error: -lgrib2c",
> > a summary of which appears below.
> >
> > There is no need to reply to this message right now. Your ticket
has
> been
> > assigned an ID of [rt.rap.ucar.edu #95277].
> >
> > Please include the string:
> >
> > [rt.rap.ucar.edu #95277]
> >
> > in the subject line of all future correspondence about this issue.
To do
> > so, you may reply to this message.
> >
> > For more information, please see:
> >
> > MET Online Tutorial:
> >
https://www.dtcenter.org/met/users/support/online_tutorial/index.php
> >
> > MET Users Guide:
> > https://www.dtcenter.org/met/users/docs/overview.php
> >
> > MET FAQs:
> > https://www.dtcenter.org/met/users/support/faqs/index.php
> >
> > MET-Help Email Archive:
> > http://mailman.ucar.edu/pipermail/met_help
> >
> > Thank you,
> > met_help at ucar.edu
> >
> >
-------------------------------------------------------------------------
> > Greetings:
> >
> > Almost at the finish line installing MET using the install script.
> > I'm running into an error:
> >
> > /usr/bin/ld: skipping incompatible
> > > /home/rob/bin/MET9.01/external_libs/lib/libgrib2c.a when
searching for
> > > -lgrib2c
> > > /usr/bin/ld: cannot find -lgrib2c
> > > collect2: error: ld returned 1 exit status
> > >
> >
> > I've attached the make.log.
> >
> > If you have any ideas, please let me know. I've googled around
but can't
> > find anything specific.
> >
> > Thank you,
> > Rob
> >
> > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > Space Scientist
> > Space Weather Forecast Office
> > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > W/NP9
> > 325 Broadway
> > Boulder, CO 80305
> > 303.497.5153
> >
> >
>
>
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: John Halley Gotway
Time: Mon May 18 09:59:11 2020
Hi Rob,
I see you're having some compilation issues. Thanks for sending your
most
recent "make.log" file. From that I see that you are compiling WITHOUT
the
"--enable-python" configuration option.
We recently ran into this same problem last week. It's a simple one
line
fix but has not been included in a public release yet. Here's the
change:
https://github.com/NCAR/MET/commit/ff2cb4e1615a009b0b4e3575fd183c3290ff5a32
If you were compiling using the "--enable-python" option, and set
MET_PYTHON_CC and MET_PYTHON_LD, as David mentioned, this problem
would not
occur.
At this point, your options are:
(1) Recompile using "--enable-python".
(2) Manually make the one-line change shown by the commit message
above and
recompile without "--enable-python".
Hope that helps clarify, and sorry for trouble!
Thanks,
John
On Fri, May 15, 2020 at 8:03 PM robert.steenburgh at noaa.gov via RT <
met_help at ucar.edu> wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
>
> Update - got past that error (cleaned out directory & started from
> scratch), but then install crashed later:
>
> In file included from ascii2nc.cc:76:
> ../../../../src/libcode/vx_data2d_python/global_python.h:21:10:
fatal
> error: Python.h: No such file or directory
> #include "Python.h"
> ^~~~~~~~~~
> compilation terminated.
>
> Make log included. Used stock compile script.
>
> Cheers,
> Rob
> Rob Steenburgh <robert.steenburgh at noaa.gov>
> Space Scientist
> Space Weather Forecast Office
> Space Weather Prediction Center <http://www.swpc.noaa.gov>
> W/NP9
> 325 Broadway
> Boulder, CO 80305
> 303.497.5153
>
>
>
>
> On Fri, May 15, 2020 at 4:52 PM met_help at ucar.edu via RT <
> met_help at ucar.edu>
> wrote:
>
> >
> > Greetings,
> >
> > This message has been automatically generated in response to the
creation
> > of a trouble ticket regarding:
> > "MET 9.01 compile error: -lgrib2c",
> > a summary of which appears below.
> >
> > There is no need to reply to this message right now. Your ticket
has
> been
> > assigned an ID of [rt.rap.ucar.edu #95277].
> >
> > Please include the string:
> >
> > [rt.rap.ucar.edu #95277]
> >
> > in the subject line of all future correspondence about this issue.
To do
> > so, you may reply to this message.
> >
> > For more information, please see:
> >
> > MET Online Tutorial:
> >
https://www.dtcenter.org/met/users/support/online_tutorial/index.php
> >
> > MET Users Guide:
> > https://www.dtcenter.org/met/users/docs/overview.php
> >
> > MET FAQs:
> > https://www.dtcenter.org/met/users/support/faqs/index.php
> >
> > MET-Help Email Archive:
> > http://mailman.ucar.edu/pipermail/met_help
> >
> > Thank you,
> > met_help at ucar.edu
> >
> >
-------------------------------------------------------------------------
> > Greetings:
> >
> > Almost at the finish line installing MET using the install script.
> > I'm running into an error:
> >
> > /usr/bin/ld: skipping incompatible
> > > /home/rob/bin/MET9.01/external_libs/lib/libgrib2c.a when
searching for
> > > -lgrib2c
> > > /usr/bin/ld: cannot find -lgrib2c
> > > collect2: error: ld returned 1 exit status
> > >
> >
> > I've attached the make.log.
> >
> > If you have any ideas, please let me know. I've googled around
but can't
> > find anything specific.
> >
> > Thank you,
> > Rob
> >
> > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > Space Scientist
> > Space Weather Forecast Office
> > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > W/NP9
> > 325 Broadway
> > Boulder, CO 80305
> > 303.497.5153
> >
> >
>
>
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: robert.steenburgh at noaa.gov
Time: Mon May 18 10:35:55 2020
Excellent - thank you John & David.
I'll try without Python first to see what happens.
My eventual goal is to get METPlus running. Will this require MET be
compiled *with* Python enabled?
Rob
Rob Steenburgh <robert.steenburgh at noaa.gov>
Space Scientist
Space Weather Forecast Office
Space Weather Prediction Center <http://www.swpc.noaa.gov>
W/NP9
325 Broadway
Boulder, CO 80305
303.497.5153
On Mon, May 18, 2020 at 9:59 AM John Halley Gotway via RT
<met_help at ucar.edu>
wrote:
> Hi Rob,
>
> I see you're having some compilation issues. Thanks for sending your
most
> recent "make.log" file. From that I see that you are compiling
WITHOUT the
> "--enable-python" configuration option.
>
> We recently ran into this same problem last week. It's a simple one
line
> fix but has not been included in a public release yet. Here's the
change:
>
https://github.com/NCAR/MET/commit/ff2cb4e1615a009b0b4e3575fd183c3290ff5a32
>
> If you were compiling using the "--enable-python" option, and set
> MET_PYTHON_CC and MET_PYTHON_LD, as David mentioned, this problem
would not
> occur.
>
> At this point, your options are:
> (1) Recompile using "--enable-python".
> (2) Manually make the one-line change shown by the commit message
above and
> recompile without "--enable-python".
>
> Hope that helps clarify, and sorry for trouble!
>
> Thanks,
> John
>
>
> On Fri, May 15, 2020 at 8:03 PM robert.steenburgh at noaa.gov via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> >
> > Update - got past that error (cleaned out directory & started from
> > scratch), but then install crashed later:
> >
> > In file included from ascii2nc.cc:76:
> > ../../../../src/libcode/vx_data2d_python/global_python.h:21:10:
fatal
> > error: Python.h: No such file or directory
> > #include "Python.h"
> > ^~~~~~~~~~
> > compilation terminated.
> >
> > Make log included. Used stock compile script.
> >
> > Cheers,
> > Rob
> > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > Space Scientist
> > Space Weather Forecast Office
> > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > W/NP9
> > 325 Broadway
> > Boulder, CO 80305
> > 303.497.5153
> >
> >
> >
> >
> > On Fri, May 15, 2020 at 4:52 PM met_help at ucar.edu via RT <
> > met_help at ucar.edu>
> > wrote:
> >
> > >
> > > Greetings,
> > >
> > > This message has been automatically generated in response to the
> creation
> > > of a trouble ticket regarding:
> > > "MET 9.01 compile error: -lgrib2c",
> > > a summary of which appears below.
> > >
> > > There is no need to reply to this message right now. Your
ticket has
> > been
> > > assigned an ID of [rt.rap.ucar.edu #95277].
> > >
> > > Please include the string:
> > >
> > > [rt.rap.ucar.edu #95277]
> > >
> > > in the subject line of all future correspondence about this
issue. To
> do
> > > so, you may reply to this message.
> > >
> > > For more information, please see:
> > >
> > > MET Online Tutorial:
> > >
> https://www.dtcenter.org/met/users/support/online_tutorial/index.php
> > >
> > > MET Users Guide:
> > > https://www.dtcenter.org/met/users/docs/overview.php
> > >
> > > MET FAQs:
> > > https://www.dtcenter.org/met/users/support/faqs/index.php
> > >
> > > MET-Help Email Archive:
> > > http://mailman.ucar.edu/pipermail/met_help
> > >
> > > Thank you,
> > > met_help at ucar.edu
> > >
> > >
>
-------------------------------------------------------------------------
> > > Greetings:
> > >
> > > Almost at the finish line installing MET using the install
script.
> > > I'm running into an error:
> > >
> > > /usr/bin/ld: skipping incompatible
> > > > /home/rob/bin/MET9.01/external_libs/lib/libgrib2c.a when
searching
> for
> > > > -lgrib2c
> > > > /usr/bin/ld: cannot find -lgrib2c
> > > > collect2: error: ld returned 1 exit status
> > > >
> > >
> > > I've attached the make.log.
> > >
> > > If you have any ideas, please let me know. I've googled around
but
> can't
> > > find anything specific.
> > >
> > > Thank you,
> > > Rob
> > >
> > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > Space Scientist
> > > Space Weather Forecast Office
> > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > W/NP9
> > > 325 Broadway
> > > Boulder, CO 80305
> > > 303.497.5153
> > >
> > >
> >
> >
>
>
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: John Halley Gotway
Time: Mon May 18 10:42:02 2020
Rob,
No, MET does NOT need to be compiled with python support for METplus
to
make calls to it. However, Python3 is a requirement for using
METplus.
The python compilation option for MET is to facilitate python-
embedding
which can be used to serve up data that's in unsupported file types.
This
is described in Appendix F of the MET User's Guide:
https://dtcenter.org/sites/default/files/community-code/met/docs/user-
guide/MET_Users_Guide_v9.0.1.pdf
And this page contains some examples of using python embedding to pass
gridded data into MET. For example, reading unformatted binary data:
https://dtcenter.org/community-code/model-evaluation-tools-met/sample-
analysis-scripts
Thanks,
John
On Mon, May 18, 2020 at 10:36 AM robert.steenburgh at noaa.gov via RT <
met_help at ucar.edu> wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
>
> Excellent - thank you John & David.
>
> I'll try without Python first to see what happens.
>
> My eventual goal is to get METPlus running. Will this require MET
be
> compiled *with* Python enabled?
>
> Rob
> Rob Steenburgh <robert.steenburgh at noaa.gov>
> Space Scientist
> Space Weather Forecast Office
> Space Weather Prediction Center <http://www.swpc.noaa.gov>
> W/NP9
> 325 Broadway
> Boulder, CO 80305
> 303.497.5153
>
>
>
>
> On Mon, May 18, 2020 at 9:59 AM John Halley Gotway via RT <
> met_help at ucar.edu>
> wrote:
>
> > Hi Rob,
> >
> > I see you're having some compilation issues. Thanks for sending
your most
> > recent "make.log" file. From that I see that you are compiling
WITHOUT
> the
> > "--enable-python" configuration option.
> >
> > We recently ran into this same problem last week. It's a simple
one line
> > fix but has not been included in a public release yet. Here's the
> change:
> >
>
https://github.com/NCAR/MET/commit/ff2cb4e1615a009b0b4e3575fd183c3290ff5a32
> >
> > If you were compiling using the "--enable-python" option, and set
> > MET_PYTHON_CC and MET_PYTHON_LD, as David mentioned, this problem
would
> not
> > occur.
> >
> > At this point, your options are:
> > (1) Recompile using "--enable-python".
> > (2) Manually make the one-line change shown by the commit message
above
> and
> > recompile without "--enable-python".
> >
> > Hope that helps clarify, and sorry for trouble!
> >
> > Thanks,
> > John
> >
> >
> > On Fri, May 15, 2020 at 8:03 PM robert.steenburgh at noaa.gov via RT
<
> > met_help at ucar.edu> wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> > >
> > > Update - got past that error (cleaned out directory & started
from
> > > scratch), but then install crashed later:
> > >
> > > In file included from ascii2nc.cc:76:
> > > ../../../../src/libcode/vx_data2d_python/global_python.h:21:10:
fatal
> > > error: Python.h: No such file or directory
> > > #include "Python.h"
> > > ^~~~~~~~~~
> > > compilation terminated.
> > >
> > > Make log included. Used stock compile script.
> > >
> > > Cheers,
> > > Rob
> > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > Space Scientist
> > > Space Weather Forecast Office
> > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > W/NP9
> > > 325 Broadway
> > > Boulder, CO 80305
> > > 303.497.5153
> > >
> > >
> > >
> > >
> > > On Fri, May 15, 2020 at 4:52 PM met_help at ucar.edu via RT <
> > > met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > Greetings,
> > > >
> > > > This message has been automatically generated in response to
the
> > creation
> > > > of a trouble ticket regarding:
> > > > "MET 9.01 compile error: -lgrib2c",
> > > > a summary of which appears below.
> > > >
> > > > There is no need to reply to this message right now. Your
ticket has
> > > been
> > > > assigned an ID of [rt.rap.ucar.edu #95277].
> > > >
> > > > Please include the string:
> > > >
> > > > [rt.rap.ucar.edu #95277]
> > > >
> > > > in the subject line of all future correspondence about this
issue. To
> > do
> > > > so, you may reply to this message.
> > > >
> > > > For more information, please see:
> > > >
> > > > MET Online Tutorial:
> > > >
> >
https://www.dtcenter.org/met/users/support/online_tutorial/index.php
> > > >
> > > > MET Users Guide:
> > > > https://www.dtcenter.org/met/users/docs/overview.php
> > > >
> > > > MET FAQs:
> > > > https://www.dtcenter.org/met/users/support/faqs/index.php
> > > >
> > > > MET-Help Email Archive:
> > > > http://mailman.ucar.edu/pipermail/met_help
> > > >
> > > > Thank you,
> > > > met_help at ucar.edu
> > > >
> > > >
> >
-------------------------------------------------------------------------
> > > > Greetings:
> > > >
> > > > Almost at the finish line installing MET using the install
script.
> > > > I'm running into an error:
> > > >
> > > > /usr/bin/ld: skipping incompatible
> > > > > /home/rob/bin/MET9.01/external_libs/lib/libgrib2c.a when
searching
> > for
> > > > > -lgrib2c
> > > > > /usr/bin/ld: cannot find -lgrib2c
> > > > > collect2: error: ld returned 1 exit status
> > > > >
> > > >
> > > > I've attached the make.log.
> > > >
> > > > If you have any ideas, please let me know. I've googled
around but
> > can't
> > > > find anything specific.
> > > >
> > > > Thank you,
> > > > Rob
> > > >
> > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > Space Scientist
> > > > Space Weather Forecast Office
> > > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > > W/NP9
> > > > 325 Broadway
> > > > Boulder, CO 80305
> > > > 303.497.5153
> > > >
> > > >
> > >
> > >
> >
> >
>
>
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: robert.steenburgh at noaa.gov
Time: Mon May 18 16:10:40 2020
Hi John:
So I removed "--enable-python" and made the change to ascii2nc
described on
https://github.com/NCAR/MET/commit/ff2cb4e1615a009b0b4e3575fd183c3290ff5a32
as you suggested.
Unfortunately, it appears ascii2nc.cc is overwritten each time I try
to
recompile MET. Is there another flag/file I need to modify to make
this
change persist?
Thanks,
Rob
Rob Steenburgh <robert.steenburgh at noaa.gov>
Space Scientist
Space Weather Forecast Office
Space Weather Prediction Center <http://www.swpc.noaa.gov>
W/NP9
325 Broadway
Boulder, CO 80305
303.497.5153
On Mon, May 18, 2020 at 9:59 AM John Halley Gotway via RT
<met_help at ucar.edu>
wrote:
> Hi Rob,
>
> I see you're having some compilation issues. Thanks for sending your
most
> recent "make.log" file. From that I see that you are compiling
WITHOUT the
> "--enable-python" configuration option.
>
> We recently ran into this same problem last week. It's a simple one
line
> fix but has not been included in a public release yet. Here's the
change:
>
https://github.com/NCAR/MET/commit/ff2cb4e1615a009b0b4e3575fd183c3290ff5a32
>
> If you were compiling using the "--enable-python" option, and set
> MET_PYTHON_CC and MET_PYTHON_LD, as David mentioned, this problem
would not
> occur.
>
> At this point, your options are:
> (1) Recompile using "--enable-python".
> (2) Manually make the one-line change shown by the commit message
above and
> recompile without "--enable-python".
>
> Hope that helps clarify, and sorry for trouble!
>
> Thanks,
> John
>
>
> On Fri, May 15, 2020 at 8:03 PM robert.steenburgh at noaa.gov via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> >
> > Update - got past that error (cleaned out directory & started from
> > scratch), but then install crashed later:
> >
> > In file included from ascii2nc.cc:76:
> > ../../../../src/libcode/vx_data2d_python/global_python.h:21:10:
fatal
> > error: Python.h: No such file or directory
> > #include "Python.h"
> > ^~~~~~~~~~
> > compilation terminated.
> >
> > Make log included. Used stock compile script.
> >
> > Cheers,
> > Rob
> > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > Space Scientist
> > Space Weather Forecast Office
> > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > W/NP9
> > 325 Broadway
> > Boulder, CO 80305
> > 303.497.5153
> >
> >
> >
> >
> > On Fri, May 15, 2020 at 4:52 PM met_help at ucar.edu via RT <
> > met_help at ucar.edu>
> > wrote:
> >
> > >
> > > Greetings,
> > >
> > > This message has been automatically generated in response to the
> creation
> > > of a trouble ticket regarding:
> > > "MET 9.01 compile error: -lgrib2c",
> > > a summary of which appears below.
> > >
> > > There is no need to reply to this message right now. Your
ticket has
> > been
> > > assigned an ID of [rt.rap.ucar.edu #95277].
> > >
> > > Please include the string:
> > >
> > > [rt.rap.ucar.edu #95277]
> > >
> > > in the subject line of all future correspondence about this
issue. To
> do
> > > so, you may reply to this message.
> > >
> > > For more information, please see:
> > >
> > > MET Online Tutorial:
> > >
> https://www.dtcenter.org/met/users/support/online_tutorial/index.php
> > >
> > > MET Users Guide:
> > > https://www.dtcenter.org/met/users/docs/overview.php
> > >
> > > MET FAQs:
> > > https://www.dtcenter.org/met/users/support/faqs/index.php
> > >
> > > MET-Help Email Archive:
> > > http://mailman.ucar.edu/pipermail/met_help
> > >
> > > Thank you,
> > > met_help at ucar.edu
> > >
> > >
>
-------------------------------------------------------------------------
> > > Greetings:
> > >
> > > Almost at the finish line installing MET using the install
script.
> > > I'm running into an error:
> > >
> > > /usr/bin/ld: skipping incompatible
> > > > /home/rob/bin/MET9.01/external_libs/lib/libgrib2c.a when
searching
> for
> > > > -lgrib2c
> > > > /usr/bin/ld: cannot find -lgrib2c
> > > > collect2: error: ld returned 1 exit status
> > > >
> > >
> > > I've attached the make.log.
> > >
> > > If you have any ideas, please let me know. I've googled around
but
> can't
> > > find anything specific.
> > >
> > > Thank you,
> > > Rob
> > >
> > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > Space Scientist
> > > Space Weather Forecast Office
> > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > W/NP9
> > > 325 Broadway
> > > Boulder, CO 80305
> > > 303.497.5153
> > >
> > >
> >
> >
>
>
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: John Halley Gotway
Time: Mon May 18 16:19:46 2020
Ah, so you're using the installation script which untars it each time
and
overwrites your changes.
2 options.
First option, rather than recompiling using the installation script,
just
go make your edits to ascii2nc.cc. And then go to the top-level met-
9.0.1
directory and run:
make clean install test
Second option, update the tarball to include your edits:
(1) Manually untar it:
tar -xvzf met-9.0.1.20200423.tar.gz
(2) Edit ascii2nc.cc in the resulting directory:
vi met-9.0.1/src/tools/other/ascii2nc/ascii2nc.cc
(3) Recreate the tar file:
rm met-9.0.1.20200423.tar.gz
tar -cvzf met-9.0.1.20200423.tar.gz met-9.0.1
And rerun the install script.
Either way should work fine.
John
On Mon, May 18, 2020 at 4:11 PM robert.steenburgh at noaa.gov via RT <
met_help at ucar.edu> wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
>
> Hi John:
>
> So I removed "--enable-python" and made the change to ascii2nc
described on
>
https://github.com/NCAR/MET/commit/ff2cb4e1615a009b0b4e3575fd183c3290ff5a32
> as you suggested.
>
> Unfortunately, it appears ascii2nc.cc is overwritten each time I try
to
> recompile MET. Is there another flag/file I need to modify to make
this
> change persist?
>
> Thanks,
> Rob
>
> Rob Steenburgh <robert.steenburgh at noaa.gov>
> Space Scientist
> Space Weather Forecast Office
> Space Weather Prediction Center <http://www.swpc.noaa.gov>
> W/NP9
> 325 Broadway
> Boulder, CO 80305
> 303.497.5153
>
>
>
>
> On Mon, May 18, 2020 at 9:59 AM John Halley Gotway via RT <
> met_help at ucar.edu>
> wrote:
>
> > Hi Rob,
> >
> > I see you're having some compilation issues. Thanks for sending
your most
> > recent "make.log" file. From that I see that you are compiling
WITHOUT
> the
> > "--enable-python" configuration option.
> >
> > We recently ran into this same problem last week. It's a simple
one line
> > fix but has not been included in a public release yet. Here's the
> change:
> >
>
https://github.com/NCAR/MET/commit/ff2cb4e1615a009b0b4e3575fd183c3290ff5a32
> >
> > If you were compiling using the "--enable-python" option, and set
> > MET_PYTHON_CC and MET_PYTHON_LD, as David mentioned, this problem
would
> not
> > occur.
> >
> > At this point, your options are:
> > (1) Recompile using "--enable-python".
> > (2) Manually make the one-line change shown by the commit message
above
> and
> > recompile without "--enable-python".
> >
> > Hope that helps clarify, and sorry for trouble!
> >
> > Thanks,
> > John
> >
> >
> > On Fri, May 15, 2020 at 8:03 PM robert.steenburgh at noaa.gov via RT
<
> > met_help at ucar.edu> wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> > >
> > > Update - got past that error (cleaned out directory & started
from
> > > scratch), but then install crashed later:
> > >
> > > In file included from ascii2nc.cc:76:
> > > ../../../../src/libcode/vx_data2d_python/global_python.h:21:10:
fatal
> > > error: Python.h: No such file or directory
> > > #include "Python.h"
> > > ^~~~~~~~~~
> > > compilation terminated.
> > >
> > > Make log included. Used stock compile script.
> > >
> > > Cheers,
> > > Rob
> > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > Space Scientist
> > > Space Weather Forecast Office
> > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > W/NP9
> > > 325 Broadway
> > > Boulder, CO 80305
> > > 303.497.5153
> > >
> > >
> > >
> > >
> > > On Fri, May 15, 2020 at 4:52 PM met_help at ucar.edu via RT <
> > > met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > Greetings,
> > > >
> > > > This message has been automatically generated in response to
the
> > creation
> > > > of a trouble ticket regarding:
> > > > "MET 9.01 compile error: -lgrib2c",
> > > > a summary of which appears below.
> > > >
> > > > There is no need to reply to this message right now. Your
ticket has
> > > been
> > > > assigned an ID of [rt.rap.ucar.edu #95277].
> > > >
> > > > Please include the string:
> > > >
> > > > [rt.rap.ucar.edu #95277]
> > > >
> > > > in the subject line of all future correspondence about this
issue. To
> > do
> > > > so, you may reply to this message.
> > > >
> > > > For more information, please see:
> > > >
> > > > MET Online Tutorial:
> > > >
> >
https://www.dtcenter.org/met/users/support/online_tutorial/index.php
> > > >
> > > > MET Users Guide:
> > > > https://www.dtcenter.org/met/users/docs/overview.php
> > > >
> > > > MET FAQs:
> > > > https://www.dtcenter.org/met/users/support/faqs/index.php
> > > >
> > > > MET-Help Email Archive:
> > > > http://mailman.ucar.edu/pipermail/met_help
> > > >
> > > > Thank you,
> > > > met_help at ucar.edu
> > > >
> > > >
> >
-------------------------------------------------------------------------
> > > > Greetings:
> > > >
> > > > Almost at the finish line installing MET using the install
script.
> > > > I'm running into an error:
> > > >
> > > > /usr/bin/ld: skipping incompatible
> > > > > /home/rob/bin/MET9.01/external_libs/lib/libgrib2c.a when
searching
> > for
> > > > > -lgrib2c
> > > > > /usr/bin/ld: cannot find -lgrib2c
> > > > > collect2: error: ld returned 1 exit status
> > > > >
> > > >
> > > > I've attached the make.log.
> > > >
> > > > If you have any ideas, please let me know. I've googled
around but
> > can't
> > > > find anything specific.
> > > >
> > > > Thank you,
> > > > Rob
> > > >
> > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > Space Scientist
> > > > Space Weather Forecast Office
> > > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > > W/NP9
> > > > 325 Broadway
> > > > Boulder, CO 80305
> > > > 303.497.5153
> > > >
> > > >
> > >
> > >
> >
> >
>
>
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: robert.steenburgh at noaa.gov
Time: Mon May 18 17:19:21 2020
Thanks John - I'll give those options a try, beginning with #1.
Appreciate all your help with this.
Rob
Rob Steenburgh <robert.steenburgh at noaa.gov>
Space Scientist
Space Weather Forecast Office
Space Weather Prediction Center <http://www.swpc.noaa.gov>
W/NP9
325 Broadway
Boulder, CO 80305
303.497.5153
On Mon, May 18, 2020 at 4:19 PM John Halley Gotway via RT
<met_help at ucar.edu>
wrote:
> Ah, so you're using the installation script which untars it each
time and
> overwrites your changes.
>
> 2 options.
>
> First option, rather than recompiling using the installation script,
just
> go make your edits to ascii2nc.cc. And then go to the top-level
met-9.0.1
> directory and run:
> make clean install test
>
> Second option, update the tarball to include your edits:
> (1) Manually untar it:
> tar -xvzf met-9.0.1.20200423.tar.gz
> (2) Edit ascii2nc.cc in the resulting directory:
> vi met-9.0.1/src/tools/other/ascii2nc/ascii2nc.cc
> (3) Recreate the tar file:
> rm met-9.0.1.20200423.tar.gz
> tar -cvzf met-9.0.1.20200423.tar.gz met-9.0.1
>
> And rerun the install script.
>
> Either way should work fine.
>
> John
>
> On Mon, May 18, 2020 at 4:11 PM robert.steenburgh at noaa.gov via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> >
> > Hi John:
> >
> > So I removed "--enable-python" and made the change to ascii2nc
described
> on
> >
>
https://github.com/NCAR/MET/commit/ff2cb4e1615a009b0b4e3575fd183c3290ff5a32
> > as you suggested.
> >
> > Unfortunately, it appears ascii2nc.cc is overwritten each time I
try to
> > recompile MET. Is there another flag/file I need to modify to
make this
> > change persist?
> >
> > Thanks,
> > Rob
> >
> > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > Space Scientist
> > Space Weather Forecast Office
> > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > W/NP9
> > 325 Broadway
> > Boulder, CO 80305
> > 303.497.5153
> >
> >
> >
> >
> > On Mon, May 18, 2020 at 9:59 AM John Halley Gotway via RT <
> > met_help at ucar.edu>
> > wrote:
> >
> > > Hi Rob,
> > >
> > > I see you're having some compilation issues. Thanks for sending
your
> most
> > > recent "make.log" file. From that I see that you are compiling
WITHOUT
> > the
> > > "--enable-python" configuration option.
> > >
> > > We recently ran into this same problem last week. It's a simple
one
> line
> > > fix but has not been included in a public release yet. Here's
the
> > change:
> > >
> >
>
https://github.com/NCAR/MET/commit/ff2cb4e1615a009b0b4e3575fd183c3290ff5a32
> > >
> > > If you were compiling using the "--enable-python" option, and
set
> > > MET_PYTHON_CC and MET_PYTHON_LD, as David mentioned, this
problem would
> > not
> > > occur.
> > >
> > > At this point, your options are:
> > > (1) Recompile using "--enable-python".
> > > (2) Manually make the one-line change shown by the commit
message above
> > and
> > > recompile without "--enable-python".
> > >
> > > Hope that helps clarify, and sorry for trouble!
> > >
> > > Thanks,
> > > John
> > >
> > >
> > > On Fri, May 15, 2020 at 8:03 PM robert.steenburgh at noaa.gov via
RT <
> > > met_help at ucar.edu> wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277
>
> > > >
> > > > Update - got past that error (cleaned out directory & started
from
> > > > scratch), but then install crashed later:
> > > >
> > > > In file included from ascii2nc.cc:76:
> > > >
../../../../src/libcode/vx_data2d_python/global_python.h:21:10: fatal
> > > > error: Python.h: No such file or directory
> > > > #include "Python.h"
> > > > ^~~~~~~~~~
> > > > compilation terminated.
> > > >
> > > > Make log included. Used stock compile script.
> > > >
> > > > Cheers,
> > > > Rob
> > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > Space Scientist
> > > > Space Weather Forecast Office
> > > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > > W/NP9
> > > > 325 Broadway
> > > > Boulder, CO 80305
> > > > 303.497.5153
> > > >
> > > >
> > > >
> > > >
> > > > On Fri, May 15, 2020 at 4:52 PM met_help at ucar.edu via RT <
> > > > met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > Greetings,
> > > > >
> > > > > This message has been automatically generated in response to
the
> > > creation
> > > > > of a trouble ticket regarding:
> > > > > "MET 9.01 compile error: -lgrib2c",
> > > > > a summary of which appears below.
> > > > >
> > > > > There is no need to reply to this message right now. Your
ticket
> has
> > > > been
> > > > > assigned an ID of [rt.rap.ucar.edu #95277].
> > > > >
> > > > > Please include the string:
> > > > >
> > > > > [rt.rap.ucar.edu #95277]
> > > > >
> > > > > in the subject line of all future correspondence about this
issue.
> To
> > > do
> > > > > so, you may reply to this message.
> > > > >
> > > > > For more information, please see:
> > > > >
> > > > > MET Online Tutorial:
> > > > >
> > >
https://www.dtcenter.org/met/users/support/online_tutorial/index.php
> > > > >
> > > > > MET Users Guide:
> > > > > https://www.dtcenter.org/met/users/docs/overview.php
> > > > >
> > > > > MET FAQs:
> > > > > https://www.dtcenter.org/met/users/support/faqs/index.php
> > > > >
> > > > > MET-Help Email Archive:
> > > > > http://mailman.ucar.edu/pipermail/met_help
> > > > >
> > > > > Thank you,
> > > > > met_help at ucar.edu
> > > > >
> > > > >
> > >
>
-------------------------------------------------------------------------
> > > > > Greetings:
> > > > >
> > > > > Almost at the finish line installing MET using the install
script.
> > > > > I'm running into an error:
> > > > >
> > > > > /usr/bin/ld: skipping incompatible
> > > > > > /home/rob/bin/MET9.01/external_libs/lib/libgrib2c.a when
> searching
> > > for
> > > > > > -lgrib2c
> > > > > > /usr/bin/ld: cannot find -lgrib2c
> > > > > > collect2: error: ld returned 1 exit status
> > > > > >
> > > > >
> > > > > I've attached the make.log.
> > > > >
> > > > > If you have any ideas, please let me know. I've googled
around but
> > > can't
> > > > > find anything specific.
> > > > >
> > > > > Thank you,
> > > > > Rob
> > > > >
> > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > > Space Scientist
> > > > > Space Weather Forecast Office
> > > > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > > > W/NP9
> > > > > 325 Broadway
> > > > > Boulder, CO 80305
> > > > > 303.497.5153
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: robert.steenburgh at noaa.gov
Time: Mon May 18 18:54:26 2020
Tried the "make clean install test" approach after modifying the
ascii2nc.cc file.
Result was:
hdf_utils.cc: In function ‘void get_hdf_var_info(int, const char*,
> HdfVarInfo&)’:
> hdf_utils.cc:107:28: error: invalid conversion from ‘int*’ to
‘int32*’
> {aka ‘long int*’} [-fpermissive]
> if ( SDgetinfo(info.id, 0, &(info.rank), info.dimsizes,
&(info.type),
> &(info.atts)) < 0 ) {
> ^~~~~~~~~~~~
> In file included from hdf_utils.h:27,
> from hdf_utils.cc:20:
> /home/rob/bin/MET9.01/external_libs/include/mfhdf.h:77:38: note:
> initializing argument 3 of ‘intn SDgetinfo(int32, char*, int32*,
int32*,
> int32*, int32*)’
> (int32 sdsid, char *name, int32 *rank, int32 *dimsizes,
> ~~~~~~~^~~~
> hdf_utils.cc:107:47: error: invalid conversion from ‘int*’ to
‘int32*’
> {aka ‘long int*’} [-fpermissive]
> if ( SDgetinfo(info.id, 0, &(info.rank), info.dimsizes,
&(info.type),
> &(info.atts)) < 0 ) {
> ~~~~~^~~~~~~~
> In file included from hdf_utils.h:27,
> from hdf_utils.cc:20:
> /home/rob/bin/MET9.01/external_libs/include/mfhdf.h:77:51: note:
> initializing argument 4 of ‘intn SDgetinfo(int32, char*, int32*,
int32*,
> int32*, int32*)’
> (int32 sdsid, char *name, int32 *rank, int32 *dimsizes,
> ~~~~~~~^~~~~~~~
> hdf_utils.cc:107:57: error: invalid conversion from ‘int*’ to
‘int32*’
> {aka ‘long int*’} [-fpermissive]
> if ( SDgetinfo(info.id, 0, &(info.rank), info.dimsizes,
&(info.type),
> &(info.atts)) < 0 ) {
>
^~~~~~~~~~~~
> In file included from hdf_utils.h:27,
> from hdf_utils.cc:20:
> /home/rob/bin/MET9.01/external_libs/include/mfhdf.h:78:19: note:
> initializing argument 5 of ‘intn SDgetinfo(int32, char*, int32*,
int32*,
> int32*, int32*)’
> int32 *nt, int32 *nattr);
> ~~~~~~~^~
> hdf_utils.cc:107:71: error: invalid conversion from ‘int*’ to
‘int32*’
> {aka ‘long int*’} [-fpermissive]
> if ( SDgetinfo(info.id, 0, &(info.rank), info.dimsizes,
&(info.type),
> &(info.atts)) < 0 ) {
>
> ^~~~~~~~~~~~
> In file included from hdf_utils.h:27,
> from hdf_utils.cc:20:
> /home/rob/bin/MET9.01/external_libs/include/mfhdf.h:78:30: note:
> initializing argument 6 of ‘intn SDgetinfo(int32, char*, int32*,
int32*,
> int32*, int32*)’
> int32 *nt, int32 *nattr);
> ~~~~~~~^~~~~
> make[4]: *** [Makefile:488: lidar2nc-hdf_utils.o] Error 1
> make[4]: Leaving directory
> '/home/rob/bin/MET9.01/met-9.0.1/src/tools/other/lidar2nc'
> make[3]: *** [Makefile:391: install-recursive] Error 1
> make[3]: Leaving directory
> '/home/rob/bin/MET9.01/met-9.0.1/src/tools/other'
> make[2]: *** [Makefile:373: install-recursive] Error 1
> make[2]: Leaving directory '/home/rob/bin/MET9.01/met-
9.0.1/src/tools'
> make[1]: *** [Makefile:370: install-recursive] Error 1
> make[1]: Leaving directory '/home/rob/bin/MET9.01/met-9.0.1/src'
> make: *** [Makefile:425: install-recursive] Error 1
>
Rob
Rob Steenburgh <robert.steenburgh at noaa.gov>
Space Scientist
Space Weather Forecast Office
Space Weather Prediction Center <http://www.swpc.noaa.gov>
W/NP9
325 Broadway
Boulder, CO 80305
303.497.5153
On Mon, May 18, 2020 at 5:18 PM Robert Steenburgh - NOAA Federal <
robert.steenburgh at noaa.gov> wrote:
> Thanks John - I'll give those options a try, beginning with #1.
> Appreciate all your help with this.
>
> Rob
>
> Rob Steenburgh <robert.steenburgh at noaa.gov>
> Space Scientist
> Space Weather Forecast Office
> Space Weather Prediction Center <http://www.swpc.noaa.gov>
> W/NP9
> 325 Broadway
> Boulder, CO 80305
> 303.497.5153
>
>
>
>
> On Mon, May 18, 2020 at 4:19 PM John Halley Gotway via RT <
> met_help at ucar.edu> wrote:
>
>> Ah, so you're using the installation script which untars it each
time and
>> overwrites your changes.
>>
>> 2 options.
>>
>> First option, rather than recompiling using the installation
script, just
>> go make your edits to ascii2nc.cc. And then go to the top-level
met-9.0.1
>> directory and run:
>> make clean install test
>>
>> Second option, update the tarball to include your edits:
>> (1) Manually untar it:
>> tar -xvzf met-9.0.1.20200423.tar.gz
>> (2) Edit ascii2nc.cc in the resulting directory:
>> vi met-9.0.1/src/tools/other/ascii2nc/ascii2nc.cc
>> (3) Recreate the tar file:
>> rm met-9.0.1.20200423.tar.gz
>> tar -cvzf met-9.0.1.20200423.tar.gz met-9.0.1
>>
>> And rerun the install script.
>>
>> Either way should work fine.
>>
>> John
>>
>> On Mon, May 18, 2020 at 4:11 PM robert.steenburgh at noaa.gov via RT <
>> met_help at ucar.edu> wrote:
>>
>> >
>> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
>> >
>> > Hi John:
>> >
>> > So I removed "--enable-python" and made the change to ascii2nc
>> described on
>> >
>>
https://github.com/NCAR/MET/commit/ff2cb4e1615a009b0b4e3575fd183c3290ff5a32
>> > as you suggested.
>> >
>> > Unfortunately, it appears ascii2nc.cc is overwritten each time I
try to
>> > recompile MET. Is there another flag/file I need to modify to
make this
>> > change persist?
>> >
>> > Thanks,
>> > Rob
>> >
>> > Rob Steenburgh <robert.steenburgh at noaa.gov>
>> > Space Scientist
>> > Space Weather Forecast Office
>> > Space Weather Prediction Center <http://www.swpc.noaa.gov>
>> > W/NP9
>> > 325 Broadway
>> > Boulder, CO 80305
>> > 303.497.5153
>> >
>> >
>> >
>> >
>> > On Mon, May 18, 2020 at 9:59 AM John Halley Gotway via RT <
>> > met_help at ucar.edu>
>> > wrote:
>> >
>> > > Hi Rob,
>> > >
>> > > I see you're having some compilation issues. Thanks for sending
your
>> most
>> > > recent "make.log" file. From that I see that you are compiling
WITHOUT
>> > the
>> > > "--enable-python" configuration option.
>> > >
>> > > We recently ran into this same problem last week. It's a simple
one
>> line
>> > > fix but has not been included in a public release yet. Here's
the
>> > change:
>> > >
>> >
>>
https://github.com/NCAR/MET/commit/ff2cb4e1615a009b0b4e3575fd183c3290ff5a32
>> > >
>> > > If you were compiling using the "--enable-python" option, and
set
>> > > MET_PYTHON_CC and MET_PYTHON_LD, as David mentioned, this
problem
>> would
>> > not
>> > > occur.
>> > >
>> > > At this point, your options are:
>> > > (1) Recompile using "--enable-python".
>> > > (2) Manually make the one-line change shown by the commit
message
>> above
>> > and
>> > > recompile without "--enable-python".
>> > >
>> > > Hope that helps clarify, and sorry for trouble!
>> > >
>> > > Thanks,
>> > > John
>> > >
>> > >
>> > > On Fri, May 15, 2020 at 8:03 PM robert.steenburgh at noaa.gov via
RT <
>> > > met_help at ucar.edu> wrote:
>> > >
>> > > >
>> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277
>
>> > > >
>> > > > Update - got past that error (cleaned out directory & started
from
>> > > > scratch), but then install crashed later:
>> > > >
>> > > > In file included from ascii2nc.cc:76:
>> > > >
../../../../src/libcode/vx_data2d_python/global_python.h:21:10:
>> fatal
>> > > > error: Python.h: No such file or directory
>> > > > #include "Python.h"
>> > > > ^~~~~~~~~~
>> > > > compilation terminated.
>> > > >
>> > > > Make log included. Used stock compile script.
>> > > >
>> > > > Cheers,
>> > > > Rob
>> > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
>> > > > Space Scientist
>> > > > Space Weather Forecast Office
>> > > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
>> > > > W/NP9
>> > > > 325 Broadway
>> > > > Boulder, CO 80305
>> > > > 303.497.5153
>> > > >
>> > > >
>> > > >
>> > > >
>> > > > On Fri, May 15, 2020 at 4:52 PM met_help at ucar.edu via RT <
>> > > > met_help at ucar.edu>
>> > > > wrote:
>> > > >
>> > > > >
>> > > > > Greetings,
>> > > > >
>> > > > > This message has been automatically generated in response
to the
>> > > creation
>> > > > > of a trouble ticket regarding:
>> > > > > "MET 9.01 compile error: -lgrib2c",
>> > > > > a summary of which appears below.
>> > > > >
>> > > > > There is no need to reply to this message right now. Your
ticket
>> has
>> > > > been
>> > > > > assigned an ID of [rt.rap.ucar.edu #95277].
>> > > > >
>> > > > > Please include the string:
>> > > > >
>> > > > > [rt.rap.ucar.edu #95277]
>> > > > >
>> > > > > in the subject line of all future correspondence about this
>> issue. To
>> > > do
>> > > > > so, you may reply to this message.
>> > > > >
>> > > > > For more information, please see:
>> > > > >
>> > > > > MET Online Tutorial:
>> > > > >
>> > >
https://www.dtcenter.org/met/users/support/online_tutorial/index.php
>> > > > >
>> > > > > MET Users Guide:
>> > > > > https://www.dtcenter.org/met/users/docs/overview.php
>> > > > >
>> > > > > MET FAQs:
>> > > > >
https://www.dtcenter.org/met/users/support/faqs/index.php
>> > > > >
>> > > > > MET-Help Email Archive:
>> > > > > http://mailman.ucar.edu/pipermail/met_help
>> > > > >
>> > > > > Thank you,
>> > > > > met_help at ucar.edu
>> > > > >
>> > > > >
>> > >
>>
-------------------------------------------------------------------------
>> > > > > Greetings:
>> > > > >
>> > > > > Almost at the finish line installing MET using the install
script.
>> > > > > I'm running into an error:
>> > > > >
>> > > > > /usr/bin/ld: skipping incompatible
>> > > > > > /home/rob/bin/MET9.01/external_libs/lib/libgrib2c.a when
>> searching
>> > > for
>> > > > > > -lgrib2c
>> > > > > > /usr/bin/ld: cannot find -lgrib2c
>> > > > > > collect2: error: ld returned 1 exit status
>> > > > > >
>> > > > >
>> > > > > I've attached the make.log.
>> > > > >
>> > > > > If you have any ideas, please let me know. I've googled
around
>> but
>> > > can't
>> > > > > find anything specific.
>> > > > >
>> > > > > Thank you,
>> > > > > Rob
>> > > > >
>> > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
>> > > > > Space Scientist
>> > > > > Space Weather Forecast Office
>> > > > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
>> > > > > W/NP9
>> > > > > 325 Broadway
>> > > > > Boulder, CO 80305
>> > > > > 303.497.5153
>> > > > >
>> > > > >
>> > > >
>> > > >
>> > >
>> > >
>> >
>> >
>>
>>
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: John Halley Gotway
Time: Mon May 18 19:04:38 2020
Ugh, that kind of day I guess. But I do think that’s a new error.
You’ve
likely gotten past the ascii2nc issue.
In an effort to just get something to compile, you could rerun the
install
script without the “—enable-lidar2nc” option.
But of course that’ll fail at ascii2nc unless you use the second
option I
described.
John
On Mon, May 18, 2020 at 6:54 PM robert.steenburgh at noaa.gov via RT <
met_help at ucar.edu> wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
>
> Tried the "make clean install test" approach after modifying the
> ascii2nc.cc file.
>
> Result was:
>
> hdf_utils.cc: In function ‘void get_hdf_var_info(int, const char*,
> > HdfVarInfo&)’:
> > hdf_utils.cc:107:28: error: invalid conversion from ‘int*’ to
‘int32*’
> > {aka ‘long int*’} [-fpermissive]
> > if ( SDgetinfo(info.id, 0, &(info.rank), info.dimsizes,
&(info.type),
> > &(info.atts)) < 0 ) {
> > ^~~~~~~~~~~~
> > In file included from hdf_utils.h:27,
> > from hdf_utils.cc:20:
> > /home/rob/bin/MET9.01/external_libs/include/mfhdf.h:77:38: note:
> > initializing argument 3 of ‘intn SDgetinfo(int32, char*, int32*,
int32*,
> > int32*, int32*)’
> > (int32 sdsid, char *name, int32 *rank, int32 *dimsizes,
> > ~~~~~~~^~~~
> > hdf_utils.cc:107:47: error: invalid conversion from ‘int*’ to
‘int32*’
> > {aka ‘long int*’} [-fpermissive]
> > if ( SDgetinfo(info.id, 0, &(info.rank), info.dimsizes,
&(info.type),
> > &(info.atts)) < 0 ) {
> > ~~~~~^~~~~~~~
> > In file included from hdf_utils.h:27,
> > from hdf_utils.cc:20:
> > /home/rob/bin/MET9.01/external_libs/include/mfhdf.h:77:51: note:
> > initializing argument 4 of ‘intn SDgetinfo(int32, char*, int32*,
int32*,
> > int32*, int32*)’
> > (int32 sdsid, char *name, int32 *rank, int32 *dimsizes,
> > ~~~~~~~^~~~~~~~
> > hdf_utils.cc:107:57: error: invalid conversion from ‘int*’ to
‘int32*’
> > {aka ‘long int*’} [-fpermissive]
> > if ( SDgetinfo(info.id, 0, &(info.rank), info.dimsizes,
&(info.type),
> > &(info.atts)) < 0 ) {
> >
^~~~~~~~~~~~
> > In file included from hdf_utils.h:27,
> > from hdf_utils.cc:20:
> > /home/rob/bin/MET9.01/external_libs/include/mfhdf.h:78:19: note:
> > initializing argument 5 of ‘intn SDgetinfo(int32, char*, int32*,
int32*,
> > int32*, int32*)’
> > int32 *nt, int32 *nattr);
> > ~~~~~~~^~
> > hdf_utils.cc:107:71: error: invalid conversion from ‘int*’ to
‘int32*’
> > {aka ‘long int*’} [-fpermissive]
> > if ( SDgetinfo(info.id, 0, &(info.rank), info.dimsizes,
&(info.type),
> > &(info.atts)) < 0 ) {
> >
> > ^~~~~~~~~~~~
> > In file included from hdf_utils.h:27,
> > from hdf_utils.cc:20:
> > /home/rob/bin/MET9.01/external_libs/include/mfhdf.h:78:30: note:
> > initializing argument 6 of ‘intn SDgetinfo(int32, char*, int32*,
int32*,
> > int32*, int32*)’
> > int32 *nt, int32 *nattr);
> > ~~~~~~~^~~~~
> > make[4]: *** [Makefile:488: lidar2nc-hdf_utils.o] Error 1
> > make[4]: Leaving directory
> > '/home/rob/bin/MET9.01/met-9.0.1/src/tools/other/lidar2nc'
> > make[3]: *** [Makefile:391: install-recursive] Error 1
> > make[3]: Leaving directory
> > '/home/rob/bin/MET9.01/met-9.0.1/src/tools/other'
> > make[2]: *** [Makefile:373: install-recursive] Error 1
> > make[2]: Leaving directory '/home/rob/bin/MET9.01/met-
9.0.1/src/tools'
> > make[1]: *** [Makefile:370: install-recursive] Error 1
> > make[1]: Leaving directory '/home/rob/bin/MET9.01/met-9.0.1/src'
> > make: *** [Makefile:425: install-recursive] Error 1
> >
>
> Rob
>
> Rob Steenburgh <robert.steenburgh at noaa.gov>
> Space Scientist
> Space Weather Forecast Office
> Space Weather Prediction Center <http://www.swpc.noaa.gov>
> W/NP9
> 325 Broadway
> Boulder, CO 80305
> 303.497.5153
>
>
>
>
> On Mon, May 18, 2020 at 5:18 PM Robert Steenburgh - NOAA Federal <
> robert.steenburgh at noaa.gov> wrote:
>
> > Thanks John - I'll give those options a try, beginning with #1.
> > Appreciate all your help with this.
> >
> > Rob
> >
> > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > Space Scientist
> > Space Weather Forecast Office
> > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > W/NP9
> > 325 Broadway
> > Boulder, CO 80305
> > 303.497.5153
> >
> >
> >
> >
> > On Mon, May 18, 2020 at 4:19 PM John Halley Gotway via RT <
> > met_help at ucar.edu> wrote:
> >
> >> Ah, so you're using the installation script which untars it each
time
> and
> >> overwrites your changes.
> >>
> >> 2 options.
> >>
> >> First option, rather than recompiling using the installation
script,
> just
> >> go make your edits to ascii2nc.cc. And then go to the top-level
> met-9.0.1
> >> directory and run:
> >> make clean install test
> >>
> >> Second option, update the tarball to include your edits:
> >> (1) Manually untar it:
> >> tar -xvzf met-9.0.1.20200423.tar.gz
> >> (2) Edit ascii2nc.cc in the resulting directory:
> >> vi met-9.0.1/src/tools/other/ascii2nc/ascii2nc.cc
> >> (3) Recreate the tar file:
> >> rm met-9.0.1.20200423.tar.gz
> >> tar -cvzf met-9.0.1.20200423.tar.gz met-9.0.1
> >>
> >> And rerun the install script.
> >>
> >> Either way should work fine.
> >>
> >> John
> >>
> >> On Mon, May 18, 2020 at 4:11 PM robert.steenburgh at noaa.gov via RT
<
> >> met_help at ucar.edu> wrote:
> >>
> >> >
> >> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> >> >
> >> > Hi John:
> >> >
> >> > So I removed "--enable-python" and made the change to ascii2nc
> >> described on
> >> >
> >>
>
https://github.com/NCAR/MET/commit/ff2cb4e1615a009b0b4e3575fd183c3290ff5a32
> >> > as you suggested.
> >> >
> >> > Unfortunately, it appears ascii2nc.cc is overwritten each time
I try
> to
> >> > recompile MET. Is there another flag/file I need to modify to
make
> this
> >> > change persist?
> >> >
> >> > Thanks,
> >> > Rob
> >> >
> >> > Rob Steenburgh <robert.steenburgh at noaa.gov>
> >> > Space Scientist
> >> > Space Weather Forecast Office
> >> > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> >> > W/NP9
> >> > 325 Broadway
> >> > Boulder, CO 80305
> >> > 303.497.5153
> >> >
> >> >
> >> >
> >> >
> >> > On Mon, May 18, 2020 at 9:59 AM John Halley Gotway via RT <
> >> > met_help at ucar.edu>
> >> > wrote:
> >> >
> >> > > Hi Rob,
> >> > >
> >> > > I see you're having some compilation issues. Thanks for
sending your
> >> most
> >> > > recent "make.log" file. From that I see that you are
compiling
> WITHOUT
> >> > the
> >> > > "--enable-python" configuration option.
> >> > >
> >> > > We recently ran into this same problem last week. It's a
simple one
> >> line
> >> > > fix but has not been included in a public release yet.
Here's the
> >> > change:
> >> > >
> >> >
> >>
>
https://github.com/NCAR/MET/commit/ff2cb4e1615a009b0b4e3575fd183c3290ff5a32
> >> > >
> >> > > If you were compiling using the "--enable-python" option, and
set
> >> > > MET_PYTHON_CC and MET_PYTHON_LD, as David mentioned, this
problem
> >> would
> >> > not
> >> > > occur.
> >> > >
> >> > > At this point, your options are:
> >> > > (1) Recompile using "--enable-python".
> >> > > (2) Manually make the one-line change shown by the commit
message
> >> above
> >> > and
> >> > > recompile without "--enable-python".
> >> > >
> >> > > Hope that helps clarify, and sorry for trouble!
> >> > >
> >> > > Thanks,
> >> > > John
> >> > >
> >> > >
> >> > > On Fri, May 15, 2020 at 8:03 PM robert.steenburgh at noaa.gov
via RT <
> >> > > met_help at ucar.edu> wrote:
> >> > >
> >> > > >
> >> > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> >> > > >
> >> > > > Update - got past that error (cleaned out directory &
started from
> >> > > > scratch), but then install crashed later:
> >> > > >
> >> > > > In file included from ascii2nc.cc:76:
> >> > > >
../../../../src/libcode/vx_data2d_python/global_python.h:21:10:
> >> fatal
> >> > > > error: Python.h: No such file or directory
> >> > > > #include "Python.h"
> >> > > > ^~~~~~~~~~
> >> > > > compilation terminated.
> >> > > >
> >> > > > Make log included. Used stock compile script.
> >> > > >
> >> > > > Cheers,
> >> > > > Rob
> >> > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> >> > > > Space Scientist
> >> > > > Space Weather Forecast Office
> >> > > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> >> > > > W/NP9
> >> > > > 325 Broadway
> >> > > > Boulder, CO 80305
> >> > > > 303.497.5153
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > > On Fri, May 15, 2020 at 4:52 PM met_help at ucar.edu via RT <
> >> > > > met_help at ucar.edu>
> >> > > > wrote:
> >> > > >
> >> > > > >
> >> > > > > Greetings,
> >> > > > >
> >> > > > > This message has been automatically generated in response
to the
> >> > > creation
> >> > > > > of a trouble ticket regarding:
> >> > > > > "MET 9.01 compile error: -lgrib2c",
> >> > > > > a summary of which appears below.
> >> > > > >
> >> > > > > There is no need to reply to this message right now.
Your
> ticket
> >> has
> >> > > > been
> >> > > > > assigned an ID of [rt.rap.ucar.edu #95277].
> >> > > > >
> >> > > > > Please include the string:
> >> > > > >
> >> > > > > [rt.rap.ucar.edu #95277]
> >> > > > >
> >> > > > > in the subject line of all future correspondence about
this
> >> issue. To
> >> > > do
> >> > > > > so, you may reply to this message.
> >> > > > >
> >> > > > > For more information, please see:
> >> > > > >
> >> > > > > MET Online Tutorial:
> >> > > > >
> >> > >
> https://www.dtcenter.org/met/users/support/online_tutorial/index.php
> >> > > > >
> >> > > > > MET Users Guide:
> >> > > > > https://www.dtcenter.org/met/users/docs/overview.php
> >> > > > >
> >> > > > > MET FAQs:
> >> > > > >
https://www.dtcenter.org/met/users/support/faqs/index.php
> >> > > > >
> >> > > > > MET-Help Email Archive:
> >> > > > > http://mailman.ucar.edu/pipermail/met_help
> >> > > > >
> >> > > > > Thank you,
> >> > > > > met_help at ucar.edu
> >> > > > >
> >> > > > >
> >> > >
> >>
>
-------------------------------------------------------------------------
> >> > > > > Greetings:
> >> > > > >
> >> > > > > Almost at the finish line installing MET using the
install
> script.
> >> > > > > I'm running into an error:
> >> > > > >
> >> > > > > /usr/bin/ld: skipping incompatible
> >> > > > > > /home/rob/bin/MET9.01/external_libs/lib/libgrib2c.a
when
> >> searching
> >> > > for
> >> > > > > > -lgrib2c
> >> > > > > > /usr/bin/ld: cannot find -lgrib2c
> >> > > > > > collect2: error: ld returned 1 exit status
> >> > > > > >
> >> > > > >
> >> > > > > I've attached the make.log.
> >> > > > >
> >> > > > > If you have any ideas, please let me know. I've googled
around
> >> but
> >> > > can't
> >> > > > > find anything specific.
> >> > > > >
> >> > > > > Thank you,
> >> > > > > Rob
> >> > > > >
> >> > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> >> > > > > Space Scientist
> >> > > > > Space Weather Forecast Office
> >> > > > > Space Weather Prediction Center
<http://www.swpc.noaa.gov>
> >> > > > > W/NP9
> >> > > > > 325 Broadway
> >> > > > > Boulder, CO 80305
> >> > > > > 303.497.5153
> >> > > > >
> >> > > > >
> >> > > >
> >> > > >
> >> > >
> >> > >
> >> >
> >> >
> >>
> >>
>
>
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: robert.steenburgh at noaa.gov
Time: Tue May 19 06:12:29 2020
Yes, I can try that.
If there's a way to make things difficult, trust me, I'll find it.
Cheers,
Rob
Rob Steenburgh <robert.steenburgh at noaa.gov>
Space Scientist
Space Weather Forecast Office
Space Weather Prediction Center <http://www.swpc.noaa.gov>
W/NP9
325 Broadway
Boulder, CO 80305
303.497.5153
On Mon, May 18, 2020 at 7:04 PM John Halley Gotway via RT
<met_help at ucar.edu>
wrote:
> Ugh, that kind of day I guess. But I do think that’s a new error.
You’ve
> likely gotten past the ascii2nc issue.
>
> In an effort to just get something to compile, you could rerun the
install
> script without the “—enable-lidar2nc” option.
>
> But of course that’ll fail at ascii2nc unless you use the second
option I
> described.
>
> John
>
> On Mon, May 18, 2020 at 6:54 PM robert.steenburgh at noaa.gov via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> >
> > Tried the "make clean install test" approach after modifying the
> > ascii2nc.cc file.
> >
> > Result was:
> >
> > hdf_utils.cc: In function ‘void get_hdf_var_info(int, const char*,
> > > HdfVarInfo&)’:
> > > hdf_utils.cc:107:28: error: invalid conversion from ‘int*’ to
‘int32*’
> > > {aka ‘long int*’} [-fpermissive]
> > > if ( SDgetinfo(info.id, 0, &(info.rank), info.dimsizes,
&(info.type),
> > > &(info.atts)) < 0 ) {
> > > ^~~~~~~~~~~~
> > > In file included from hdf_utils.h:27,
> > > from hdf_utils.cc:20:
> > > /home/rob/bin/MET9.01/external_libs/include/mfhdf.h:77:38: note:
> > > initializing argument 3 of ‘intn SDgetinfo(int32, char*, int32*,
> int32*,
> > > int32*, int32*)’
> > > (int32 sdsid, char *name, int32 *rank, int32 *dimsizes,
> > > ~~~~~~~^~~~
> > > hdf_utils.cc:107:47: error: invalid conversion from ‘int*’ to
‘int32*’
> > > {aka ‘long int*’} [-fpermissive]
> > > if ( SDgetinfo(info.id, 0, &(info.rank), info.dimsizes,
&(info.type),
> > > &(info.atts)) < 0 ) {
> > > ~~~~~^~~~~~~~
> > > In file included from hdf_utils.h:27,
> > > from hdf_utils.cc:20:
> > > /home/rob/bin/MET9.01/external_libs/include/mfhdf.h:77:51: note:
> > > initializing argument 4 of ‘intn SDgetinfo(int32, char*, int32*,
> int32*,
> > > int32*, int32*)’
> > > (int32 sdsid, char *name, int32 *rank, int32 *dimsizes,
> > > ~~~~~~~^~~~~~~~
> > > hdf_utils.cc:107:57: error: invalid conversion from ‘int*’ to
‘int32*’
> > > {aka ‘long int*’} [-fpermissive]
> > > if ( SDgetinfo(info.id, 0, &(info.rank), info.dimsizes,
&(info.type),
> > > &(info.atts)) < 0 ) {
> > >
^~~~~~~~~~~~
> > > In file included from hdf_utils.h:27,
> > > from hdf_utils.cc:20:
> > > /home/rob/bin/MET9.01/external_libs/include/mfhdf.h:78:19: note:
> > > initializing argument 5 of ‘intn SDgetinfo(int32, char*, int32*,
> int32*,
> > > int32*, int32*)’
> > > int32 *nt, int32 *nattr);
> > > ~~~~~~~^~
> > > hdf_utils.cc:107:71: error: invalid conversion from ‘int*’ to
‘int32*’
> > > {aka ‘long int*’} [-fpermissive]
> > > if ( SDgetinfo(info.id, 0, &(info.rank), info.dimsizes,
&(info.type),
> > > &(info.atts)) < 0 ) {
> > >
> > > ^~~~~~~~~~~~
> > > In file included from hdf_utils.h:27,
> > > from hdf_utils.cc:20:
> > > /home/rob/bin/MET9.01/external_libs/include/mfhdf.h:78:30: note:
> > > initializing argument 6 of ‘intn SDgetinfo(int32, char*, int32*,
> int32*,
> > > int32*, int32*)’
> > > int32 *nt, int32 *nattr);
> > > ~~~~~~~^~~~~
> > > make[4]: *** [Makefile:488: lidar2nc-hdf_utils.o] Error 1
> > > make[4]: Leaving directory
> > > '/home/rob/bin/MET9.01/met-9.0.1/src/tools/other/lidar2nc'
> > > make[3]: *** [Makefile:391: install-recursive] Error 1
> > > make[3]: Leaving directory
> > > '/home/rob/bin/MET9.01/met-9.0.1/src/tools/other'
> > > make[2]: *** [Makefile:373: install-recursive] Error 1
> > > make[2]: Leaving directory '/home/rob/bin/MET9.01/met-
9.0.1/src/tools'
> > > make[1]: *** [Makefile:370: install-recursive] Error 1
> > > make[1]: Leaving directory '/home/rob/bin/MET9.01/met-9.0.1/src'
> > > make: *** [Makefile:425: install-recursive] Error 1
> > >
> >
> > Rob
> >
> > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > Space Scientist
> > Space Weather Forecast Office
> > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > W/NP9
> > 325 Broadway
> > Boulder, CO 80305
> > 303.497.5153
> >
> >
> >
> >
> > On Mon, May 18, 2020 at 5:18 PM Robert Steenburgh - NOAA Federal <
> > robert.steenburgh at noaa.gov> wrote:
> >
> > > Thanks John - I'll give those options a try, beginning with #1.
> > > Appreciate all your help with this.
> > >
> > > Rob
> > >
> > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > Space Scientist
> > > Space Weather Forecast Office
> > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > W/NP9
> > > 325 Broadway
> > > Boulder, CO 80305
> > > 303.497.5153
> > >
> > >
> > >
> > >
> > > On Mon, May 18, 2020 at 4:19 PM John Halley Gotway via RT <
> > > met_help at ucar.edu> wrote:
> > >
> > >> Ah, so you're using the installation script which untars it
each time
> > and
> > >> overwrites your changes.
> > >>
> > >> 2 options.
> > >>
> > >> First option, rather than recompiling using the installation
script,
> > just
> > >> go make your edits to ascii2nc.cc. And then go to the top-
level
> > met-9.0.1
> > >> directory and run:
> > >> make clean install test
> > >>
> > >> Second option, update the tarball to include your edits:
> > >> (1) Manually untar it:
> > >> tar -xvzf met-9.0.1.20200423.tar.gz
> > >> (2) Edit ascii2nc.cc in the resulting directory:
> > >> vi met-9.0.1/src/tools/other/ascii2nc/ascii2nc.cc
> > >> (3) Recreate the tar file:
> > >> rm met-9.0.1.20200423.tar.gz
> > >> tar -cvzf met-9.0.1.20200423.tar.gz met-9.0.1
> > >>
> > >> And rerun the install script.
> > >>
> > >> Either way should work fine.
> > >>
> > >> John
> > >>
> > >> On Mon, May 18, 2020 at 4:11 PM robert.steenburgh at noaa.gov via
RT <
> > >> met_help at ucar.edu> wrote:
> > >>
> > >> >
> > >> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277
>
> > >> >
> > >> > Hi John:
> > >> >
> > >> > So I removed "--enable-python" and made the change to
ascii2nc
> > >> described on
> > >> >
> > >>
> >
>
https://github.com/NCAR/MET/commit/ff2cb4e1615a009b0b4e3575fd183c3290ff5a32
> > >> > as you suggested.
> > >> >
> > >> > Unfortunately, it appears ascii2nc.cc is overwritten each
time I try
> > to
> > >> > recompile MET. Is there another flag/file I need to modify
to make
> > this
> > >> > change persist?
> > >> >
> > >> > Thanks,
> > >> > Rob
> > >> >
> > >> > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > >> > Space Scientist
> > >> > Space Weather Forecast Office
> > >> > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > >> > W/NP9
> > >> > 325 Broadway
> > >> > Boulder, CO 80305
> > >> > 303.497.5153
> > >> >
> > >> >
> > >> >
> > >> >
> > >> > On Mon, May 18, 2020 at 9:59 AM John Halley Gotway via RT <
> > >> > met_help at ucar.edu>
> > >> > wrote:
> > >> >
> > >> > > Hi Rob,
> > >> > >
> > >> > > I see you're having some compilation issues. Thanks for
sending
> your
> > >> most
> > >> > > recent "make.log" file. From that I see that you are
compiling
> > WITHOUT
> > >> > the
> > >> > > "--enable-python" configuration option.
> > >> > >
> > >> > > We recently ran into this same problem last week. It's a
simple
> one
> > >> line
> > >> > > fix but has not been included in a public release yet.
Here's the
> > >> > change:
> > >> > >
> > >> >
> > >>
> >
>
https://github.com/NCAR/MET/commit/ff2cb4e1615a009b0b4e3575fd183c3290ff5a32
> > >> > >
> > >> > > If you were compiling using the "--enable-python" option,
and set
> > >> > > MET_PYTHON_CC and MET_PYTHON_LD, as David mentioned, this
problem
> > >> would
> > >> > not
> > >> > > occur.
> > >> > >
> > >> > > At this point, your options are:
> > >> > > (1) Recompile using "--enable-python".
> > >> > > (2) Manually make the one-line change shown by the commit
message
> > >> above
> > >> > and
> > >> > > recompile without "--enable-python".
> > >> > >
> > >> > > Hope that helps clarify, and sorry for trouble!
> > >> > >
> > >> > > Thanks,
> > >> > > John
> > >> > >
> > >> > >
> > >> > > On Fri, May 15, 2020 at 8:03 PM robert.steenburgh at noaa.gov
via
> RT <
> > >> > > met_help at ucar.edu> wrote:
> > >> > >
> > >> > > >
> > >> > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> > >> > > >
> > >> > > > Update - got past that error (cleaned out directory &
started
> from
> > >> > > > scratch), but then install crashed later:
> > >> > > >
> > >> > > > In file included from ascii2nc.cc:76:
> > >> > > >
../../../../src/libcode/vx_data2d_python/global_python.h:21:10:
> > >> fatal
> > >> > > > error: Python.h: No such file or directory
> > >> > > > #include "Python.h"
> > >> > > > ^~~~~~~~~~
> > >> > > > compilation terminated.
> > >> > > >
> > >> > > > Make log included. Used stock compile script.
> > >> > > >
> > >> > > > Cheers,
> > >> > > > Rob
> > >> > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > >> > > > Space Scientist
> > >> > > > Space Weather Forecast Office
> > >> > > > Space Weather Prediction Center
<http://www.swpc.noaa.gov>
> > >> > > > W/NP9
> > >> > > > 325 Broadway
> > >> > > > Boulder, CO 80305
> > >> > > > 303.497.5153
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > On Fri, May 15, 2020 at 4:52 PM met_help at ucar.edu via RT
<
> > >> > > > met_help at ucar.edu>
> > >> > > > wrote:
> > >> > > >
> > >> > > > >
> > >> > > > > Greetings,
> > >> > > > >
> > >> > > > > This message has been automatically generated in
response to
> the
> > >> > > creation
> > >> > > > > of a trouble ticket regarding:
> > >> > > > > "MET 9.01 compile error: -lgrib2c",
> > >> > > > > a summary of which appears below.
> > >> > > > >
> > >> > > > > There is no need to reply to this message right now.
Your
> > ticket
> > >> has
> > >> > > > been
> > >> > > > > assigned an ID of [rt.rap.ucar.edu #95277].
> > >> > > > >
> > >> > > > > Please include the string:
> > >> > > > >
> > >> > > > > [rt.rap.ucar.edu #95277]
> > >> > > > >
> > >> > > > > in the subject line of all future correspondence about
this
> > >> issue. To
> > >> > > do
> > >> > > > > so, you may reply to this message.
> > >> > > > >
> > >> > > > > For more information, please see:
> > >> > > > >
> > >> > > > > MET Online Tutorial:
> > >> > > > >
> > >> > >
> >
https://www.dtcenter.org/met/users/support/online_tutorial/index.php
> > >> > > > >
> > >> > > > > MET Users Guide:
> > >> > > > > https://www.dtcenter.org/met/users/docs/overview.php
> > >> > > > >
> > >> > > > > MET FAQs:
> > >> > > > >
https://www.dtcenter.org/met/users/support/faqs/index.php
> > >> > > > >
> > >> > > > > MET-Help Email Archive:
> > >> > > > > http://mailman.ucar.edu/pipermail/met_help
> > >> > > > >
> > >> > > > > Thank you,
> > >> > > > > met_help at ucar.edu
> > >> > > > >
> > >> > > > >
> > >> > >
> > >>
> >
-------------------------------------------------------------------------
> > >> > > > > Greetings:
> > >> > > > >
> > >> > > > > Almost at the finish line installing MET using the
install
> > script.
> > >> > > > > I'm running into an error:
> > >> > > > >
> > >> > > > > /usr/bin/ld: skipping incompatible
> > >> > > > > > /home/rob/bin/MET9.01/external_libs/lib/libgrib2c.a
when
> > >> searching
> > >> > > for
> > >> > > > > > -lgrib2c
> > >> > > > > > /usr/bin/ld: cannot find -lgrib2c
> > >> > > > > > collect2: error: ld returned 1 exit status
> > >> > > > > >
> > >> > > > >
> > >> > > > > I've attached the make.log.
> > >> > > > >
> > >> > > > > If you have any ideas, please let me know. I've
googled
> around
> > >> but
> > >> > > can't
> > >> > > > > find anything specific.
> > >> > > > >
> > >> > > > > Thank you,
> > >> > > > > Rob
> > >> > > > >
> > >> > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > >> > > > > Space Scientist
> > >> > > > > Space Weather Forecast Office
> > >> > > > > Space Weather Prediction Center
<http://www.swpc.noaa.gov>
> > >> > > > > W/NP9
> > >> > > > > 325 Broadway
> > >> > > > > Boulder, CO 80305
> > >> > > > > 303.497.5153
> > >> > > > >
> > >> > > > >
> > >> > > >
> > >> > > >
> > >> > >
> > >> > >
> > >> >
> > >> >
> > >>
> > >>
> >
> >
>
>
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: robert.steenburgh at noaa.gov
Time: Tue May 19 12:09:00 2020
Smilin' and Compilin'
That worked!
Since we're building this to process space weather data, maybe there
are
flags I can omit
The lidar flag you mentioned above and MODIS, too, I think.
I may try this again with python support included.
Just to recap, for successful compilation at this point:
- address the ascii2nc.cc issue
- omit the “—enable-lidar2nc" option
- compile without python support
Also, I found that my stock Debian install lacked
<https://cdimage.debian.org/debian-cd/current/i386/iso-cd/debian-
10.4.0-i386-netinst.iso>
the following packages which were needed:
- gcc-multilib
- flex, bison (was complaining about a lack of yacc)
- g++
- g++-multilib
Guess the next step (besides trying with Python support) is running
it.
Cheers,
Rob
rob at METPlusTest:~/bin/MET9.01$ ./compile_MET_all.sh
> install_met_env.METPlusTest
> TEST_BASE = /home/rob/bin/MET9.01
> COMPILER = gnu_8.3.0
> MET_SUBDIR = /home/rob/bin/MET9.01
> MET_TARBALL = met-9.0.1.20200423.tar.gz
> USE_MODULES = FALSE
> LD_LIBRARY_PATH =
> /home/rob/bin/MET9.01/external_libs/lib:/lib:/lib:/lib::::::
>
> Compiling libraries into: /home/rob/bin/MET9.01/external_libs
> USE_MODULES = FALSE
> export CC=/usr/bin/gcc
> export CXX=/usr/bin/g++
> export FC=/usr/bin/gfortran
> export F77=/usr/bin/gfortran
> export F90=/usr/bin/gfortran
> Using python version:
> Python 2.7.16
>
> Compiling GSL_2.1 at Tue 19 May 2020 11:02:20 AM MDT
> cd /home/rob/bin/MET9.01/external_libs/gsl/gsl-2.1
> ./configure --prefix=/home/rob/bin/MET9.01/external_libs >
configure.log
> 2>&1
> make > make.log 2>&1
> make install > make_install.log 2>&1
>
> Compiling BUFRLIB_v11.3.0 at Tue 19 May 2020 11:11:21 AM MDT
> cd /home/rob/bin/MET9.01/external_libs/bufrlib/BUFRLIB_v11.3.0
> endiantest.c:33:1: warning: return type defaults to ‘int’ [-
Wimplicit-int]
> main()
> ^~~~
>
> Compiling ZLIB at Tue 19 May 2020 11:11:40 AM MDT
> cd /home/rob/bin/MET9.01/external_libs/zlib/zlib-1.2.11
> ./configure --prefix=/home/rob/bin/MET9.01/external_libs >
configure.log
> 2>&1
> make > make.log 2>&1
> make install > make_install.log 2>&1
> rm /home/rob/bin/MET9.01/external_libs/lib/zlib.a
>
> Compiling LIBPNG at Tue 19 May 2020 11:11:57 AM MDT
> cd /home/rob/bin/MET9.01/external_libs/libpng/libpng-1.6.34
> ./configure --prefix=/home/rob/bin/MET9.01/external_libs
> LDFLAGS=-L//home/rob/bin/MET9.01/external_libs/lib
> CPPFLAGS=-I//home/rob/bin/MET9.01/external_libs/include >
configure.log 2>&1
> make > make.log 2>&1
> make install > make_install.log 2>&1
>
> Compiling JASPER at Tue 19 May 2020 11:13:06 AM MDT
> cd /home/rob/bin/MET9.01/external_libs/jasper/jasper-1.900.1
> ./configure --prefix=/home/rob/bin/MET9.01/external_libs >
configure.log
> 2>&1
> make > make.log 2>&1
> make install > make_install.log 2>&1
>
> Compiling G2CLIB at Tue 19 May 2020 11:14:16 AM MDT
> cd /home/rob/bin/MET9.01/external_libs/g2clib/g2clib-1.6.0
> make > make.log 2>&1
>
> Compiling HDF at Tue 19 May 2020 11:14:27 AM MDT
> cd /home/rob/bin/MET9.01/external_libs/hdf/HDF4.2r3
> ./configure --prefix=/home/rob/bin/MET9.01/external_libs --disable-
netcdf
> --with-jpeg=/home/rob/bin/MET9.01/external_libs
> --with-zlib=/home/rob/bin/MET9.01/external_libs > configure.log 2>&1
> make > make.log 2>&1
> make install > make_install.log 2>&1
>
> Compiling HDFEOS at Tue 19 May 2020 11:16:02 AM MDT
> cd /home/rob/bin/MET9.01/external_libs/hdfeos/hdfeos
> ./configure --prefix=/home/rob/bin/MET9.01/external_libs
> --with-hdf4=/home/rob/bin/MET9.01/external_libs > configure.log 2>&1
> make > make.log 2>&1
> make install > make_install.log 2>&1
>
> Compiling HDF5 at Tue 19 May 2020 11:17:11 AM MDT
> cd /home/rob/bin/MET9.01/external_libs/hdf5/hdf5-1.8.18
> ./configure --prefix=/home/rob/bin/MET9.01/external_libs
> --with-zlib=/home/rob/bin/MET9.01/external_libs/lib CFLAGS=-fPIC
> CXXFLAGS=-fPIC LDFLAGS=-L/home/rob/bin/MET9.01/external_libs/lib
> CPPFLAGS=-I/home/rob/bin/MET9.01/external_libs/include >
configure.log 2>&1
> make install > make_install.log 2>&1
>
> Compiling NetCDF-C at Tue 19 May 2020 11:28:56 AM MDT
> cd /home/rob/bin/MET9.01/external_libs/netcdf/netcdf-4.4.1.1
> ./configure --prefix=/home/rob/bin/MET9.01/external_libs CFLAGS=-
fPIC
> CXXFLAGS=-fPIC LDFLAGS=-L/home/rob/bin/MET9.01/external_libs/lib
> CPPFLAGS=-I/home/rob/bin/MET9.01/external_libs/include >
configure.log 2>&1
> make install > make_install.log 2>&1
>
> Compiling NetCDF-CXX at Tue 19 May 2020 11:30:12 AM MDT
> cd /home/rob/bin/MET9.01/external_libs/netcdf/netcdf-cxx4-4.3.0
> ./configure --prefix=/home/rob/bin/MET9.01/external_libs
> LDFLAGS=-L/home/rob/bin/MET9.01/external_libs/lib
> CPPFLAGS=-I/home/rob/bin/MET9.01/external_libs/include >
configure.log 2>&1
> make install > make_install.log 2>&1
>
> Compiling MET at Tue 19 May 2020 11:31:30 AM MDT
> MET Configuration settings...
> export MET_HDF=/home/rob/bin/MET9.01/external_libs
> export MET_PYTHON_CC=
> export MET_NETCDF=/home/rob/bin/MET9.01/external_libs
> export
> MET_TARBALL=/home/rob/bin/MET9.01/tar_files/met-
9.0.1.20200423.tar.gz
> export MET_HDF5=/home/rob/bin/MET9.01/external_libs
> export MET_FONT_DIR=/home/rob/bin/MET9.01/fonts
> export MET_GRIB2C=/home/rob/bin/MET9.01/external_libs
> export MET_GSL=/home/rob/bin/MET9.01/external_libs
> export MET_BUFRLIB=/home/rob/bin/MET9.01/external_libs/lib
> export MET_HDFEOS=/home/rob/bin/MET9.01/external_libs
> export MET_SUBDIR=/home/rob/bin/MET9.01
> export MET_PYTHON_LD=
> LDFLAGS = -Wl,--disable-new-dtags
> -Wl,-
rpath,/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib::/lib
> -Wl,-rpath,:: -L -L/home/rob/bin/MET9.01/external_libs/lib
> cd /home/rob/bin/MET9.01/met-9.0.1
> ./configure --prefix=/home/rob/bin/MET9.01 BUFRLIB_NAME=-lbufr
> GRIB2CLIB_NAME=-lgrib2c --enable-grib2 --enable-modis >
configure.log 2>&1
> make > make.log 2>&1
>
> make install > make_install.log 2>&1
> make test > make_test.log 2>&1
> Finished compiling at Tue 19 May 2020 11:49:43 AM MDT
>
Rob Steenburgh <robert.steenburgh at noaa.gov>
Space Scientist
Space Weather Forecast Office
Space Weather Prediction Center <http://www.swpc.noaa.gov>
W/NP9
325 Broadway
Boulder, CO 80305
303.497.5153
On Mon, May 18, 2020 at 7:04 PM John Halley Gotway via RT
<met_help at ucar.edu>
wrote:
> Ugh, that kind of day I guess. But I do think that’s a new error.
You’ve
> likely gotten past the ascii2nc issue.
>
> In an effort to just get something to compile, you could rerun the
install
> script without the “—enable-lidar2nc” option.
>
> But of course that’ll fail at ascii2nc unless you use the second
option I
> described.
>
> John
>
> On Mon, May 18, 2020 at 6:54 PM robert.steenburgh at noaa.gov via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> >
> > Tried the "make clean install test" approach after modifying the
> > ascii2nc.cc file.
> >
> > Result was:
> >
> > hdf_utils.cc: In function ‘void get_hdf_var_info(int, const char*,
> > > HdfVarInfo&)’:
> > > hdf_utils.cc:107:28: error: invalid conversion from ‘int*’ to
‘int32*’
> > > {aka ‘long int*’} [-fpermissive]
> > > if ( SDgetinfo(info.id, 0, &(info.rank), info.dimsizes,
&(info.type),
> > > &(info.atts)) < 0 ) {
> > > ^~~~~~~~~~~~
> > > In file included from hdf_utils.h:27,
> > > from hdf_utils.cc:20:
> > > /home/rob/bin/MET9.01/external_libs/include/mfhdf.h:77:38: note:
> > > initializing argument 3 of ‘intn SDgetinfo(int32, char*, int32*,
> int32*,
> > > int32*, int32*)’
> > > (int32 sdsid, char *name, int32 *rank, int32 *dimsizes,
> > > ~~~~~~~^~~~
> > > hdf_utils.cc:107:47: error: invalid conversion from ‘int*’ to
‘int32*’
> > > {aka ‘long int*’} [-fpermissive]
> > > if ( SDgetinfo(info.id, 0, &(info.rank), info.dimsizes,
&(info.type),
> > > &(info.atts)) < 0 ) {
> > > ~~~~~^~~~~~~~
> > > In file included from hdf_utils.h:27,
> > > from hdf_utils.cc:20:
> > > /home/rob/bin/MET9.01/external_libs/include/mfhdf.h:77:51: note:
> > > initializing argument 4 of ‘intn SDgetinfo(int32, char*, int32*,
> int32*,
> > > int32*, int32*)’
> > > (int32 sdsid, char *name, int32 *rank, int32 *dimsizes,
> > > ~~~~~~~^~~~~~~~
> > > hdf_utils.cc:107:57: error: invalid conversion from ‘int*’ to
‘int32*’
> > > {aka ‘long int*’} [-fpermissive]
> > > if ( SDgetinfo(info.id, 0, &(info.rank), info.dimsizes,
&(info.type),
> > > &(info.atts)) < 0 ) {
> > >
^~~~~~~~~~~~
> > > In file included from hdf_utils.h:27,
> > > from hdf_utils.cc:20:
> > > /home/rob/bin/MET9.01/external_libs/include/mfhdf.h:78:19: note:
> > > initializing argument 5 of ‘intn SDgetinfo(int32, char*, int32*,
> int32*,
> > > int32*, int32*)’
> > > int32 *nt, int32 *nattr);
> > > ~~~~~~~^~
> > > hdf_utils.cc:107:71: error: invalid conversion from ‘int*’ to
‘int32*’
> > > {aka ‘long int*’} [-fpermissive]
> > > if ( SDgetinfo(info.id, 0, &(info.rank), info.dimsizes,
&(info.type),
> > > &(info.atts)) < 0 ) {
> > >
> > > ^~~~~~~~~~~~
> > > In file included from hdf_utils.h:27,
> > > from hdf_utils.cc:20:
> > > /home/rob/bin/MET9.01/external_libs/include/mfhdf.h:78:30: note:
> > > initializing argument 6 of ‘intn SDgetinfo(int32, char*, int32*,
> int32*,
> > > int32*, int32*)’
> > > int32 *nt, int32 *nattr);
> > > ~~~~~~~^~~~~
> > > make[4]: *** [Makefile:488: lidar2nc-hdf_utils.o] Error 1
> > > make[4]: Leaving directory
> > > '/home/rob/bin/MET9.01/met-9.0.1/src/tools/other/lidar2nc'
> > > make[3]: *** [Makefile:391: install-recursive] Error 1
> > > make[3]: Leaving directory
> > > '/home/rob/bin/MET9.01/met-9.0.1/src/tools/other'
> > > make[2]: *** [Makefile:373: install-recursive] Error 1
> > > make[2]: Leaving directory '/home/rob/bin/MET9.01/met-
9.0.1/src/tools'
> > > make[1]: *** [Makefile:370: install-recursive] Error 1
> > > make[1]: Leaving directory '/home/rob/bin/MET9.01/met-9.0.1/src'
> > > make: *** [Makefile:425: install-recursive] Error 1
> > >
> >
> > Rob
> >
> > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > Space Scientist
> > Space Weather Forecast Office
> > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > W/NP9
> > 325 Broadway
> > Boulder, CO 80305
> > 303.497.5153
> >
> >
> >
> >
> > On Mon, May 18, 2020 at 5:18 PM Robert Steenburgh - NOAA Federal <
> > robert.steenburgh at noaa.gov> wrote:
> >
> > > Thanks John - I'll give those options a try, beginning with #1.
> > > Appreciate all your help with this.
> > >
> > > Rob
> > >
> > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > Space Scientist
> > > Space Weather Forecast Office
> > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > W/NP9
> > > 325 Broadway
> > > Boulder, CO 80305
> > > 303.497.5153
> > >
> > >
> > >
> > >
> > > On Mon, May 18, 2020 at 4:19 PM John Halley Gotway via RT <
> > > met_help at ucar.edu> wrote:
> > >
> > >> Ah, so you're using the installation script which untars it
each time
> > and
> > >> overwrites your changes.
> > >>
> > >> 2 options.
> > >>
> > >> First option, rather than recompiling using the installation
script,
> > just
> > >> go make your edits to ascii2nc.cc. And then go to the top-
level
> > met-9.0.1
> > >> directory and run:
> > >> make clean install test
> > >>
> > >> Second option, update the tarball to include your edits:
> > >> (1) Manually untar it:
> > >> tar -xvzf met-9.0.1.20200423.tar.gz
> > >> (2) Edit ascii2nc.cc in the resulting directory:
> > >> vi met-9.0.1/src/tools/other/ascii2nc/ascii2nc.cc
> > >> (3) Recreate the tar file:
> > >> rm met-9.0.1.20200423.tar.gz
> > >> tar -cvzf met-9.0.1.20200423.tar.gz met-9.0.1
> > >>
> > >> And rerun the install script.
> > >>
> > >> Either way should work fine.
> > >>
> > >> John
> > >>
> > >> On Mon, May 18, 2020 at 4:11 PM robert.steenburgh at noaa.gov via
RT <
> > >> met_help at ucar.edu> wrote:
> > >>
> > >> >
> > >> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277
>
> > >> >
> > >> > Hi John:
> > >> >
> > >> > So I removed "--enable-python" and made the change to
ascii2nc
> > >> described on
> > >> >
> > >>
> >
>
https://github.com/NCAR/MET/commit/ff2cb4e1615a009b0b4e3575fd183c3290ff5a32
> > >> > as you suggested.
> > >> >
> > >> > Unfortunately, it appears ascii2nc.cc is overwritten each
time I try
> > to
> > >> > recompile MET. Is there another flag/file I need to modify
to make
> > this
> > >> > change persist?
> > >> >
> > >> > Thanks,
> > >> > Rob
> > >> >
> > >> > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > >> > Space Scientist
> > >> > Space Weather Forecast Office
> > >> > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > >> > W/NP9
> > >> > 325 Broadway
> > >> > Boulder, CO 80305
> > >> > 303.497.5153
> > >> >
> > >> >
> > >> >
> > >> >
> > >> > On Mon, May 18, 2020 at 9:59 AM John Halley Gotway via RT <
> > >> > met_help at ucar.edu>
> > >> > wrote:
> > >> >
> > >> > > Hi Rob,
> > >> > >
> > >> > > I see you're having some compilation issues. Thanks for
sending
> your
> > >> most
> > >> > > recent "make.log" file. From that I see that you are
compiling
> > WITHOUT
> > >> > the
> > >> > > "--enable-python" configuration option.
> > >> > >
> > >> > > We recently ran into this same problem last week. It's a
simple
> one
> > >> line
> > >> > > fix but has not been included in a public release yet.
Here's the
> > >> > change:
> > >> > >
> > >> >
> > >>
> >
>
https://github.com/NCAR/MET/commit/ff2cb4e1615a009b0b4e3575fd183c3290ff5a32
> > >> > >
> > >> > > If you were compiling using the "--enable-python" option,
and set
> > >> > > MET_PYTHON_CC and MET_PYTHON_LD, as David mentioned, this
problem
> > >> would
> > >> > not
> > >> > > occur.
> > >> > >
> > >> > > At this point, your options are:
> > >> > > (1) Recompile using "--enable-python".
> > >> > > (2) Manually make the one-line change shown by the commit
message
> > >> above
> > >> > and
> > >> > > recompile without "--enable-python".
> > >> > >
> > >> > > Hope that helps clarify, and sorry for trouble!
> > >> > >
> > >> > > Thanks,
> > >> > > John
> > >> > >
> > >> > >
> > >> > > On Fri, May 15, 2020 at 8:03 PM robert.steenburgh at noaa.gov
via
> RT <
> > >> > > met_help at ucar.edu> wrote:
> > >> > >
> > >> > > >
> > >> > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> > >> > > >
> > >> > > > Update - got past that error (cleaned out directory &
started
> from
> > >> > > > scratch), but then install crashed later:
> > >> > > >
> > >> > > > In file included from ascii2nc.cc:76:
> > >> > > >
../../../../src/libcode/vx_data2d_python/global_python.h:21:10:
> > >> fatal
> > >> > > > error: Python.h: No such file or directory
> > >> > > > #include "Python.h"
> > >> > > > ^~~~~~~~~~
> > >> > > > compilation terminated.
> > >> > > >
> > >> > > > Make log included. Used stock compile script.
> > >> > > >
> > >> > > > Cheers,
> > >> > > > Rob
> > >> > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > >> > > > Space Scientist
> > >> > > > Space Weather Forecast Office
> > >> > > > Space Weather Prediction Center
<http://www.swpc.noaa.gov>
> > >> > > > W/NP9
> > >> > > > 325 Broadway
> > >> > > > Boulder, CO 80305
> > >> > > > 303.497.5153
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > On Fri, May 15, 2020 at 4:52 PM met_help at ucar.edu via RT
<
> > >> > > > met_help at ucar.edu>
> > >> > > > wrote:
> > >> > > >
> > >> > > > >
> > >> > > > > Greetings,
> > >> > > > >
> > >> > > > > This message has been automatically generated in
response to
> the
> > >> > > creation
> > >> > > > > of a trouble ticket regarding:
> > >> > > > > "MET 9.01 compile error: -lgrib2c",
> > >> > > > > a summary of which appears below.
> > >> > > > >
> > >> > > > > There is no need to reply to this message right now.
Your
> > ticket
> > >> has
> > >> > > > been
> > >> > > > > assigned an ID of [rt.rap.ucar.edu #95277].
> > >> > > > >
> > >> > > > > Please include the string:
> > >> > > > >
> > >> > > > > [rt.rap.ucar.edu #95277]
> > >> > > > >
> > >> > > > > in the subject line of all future correspondence about
this
> > >> issue. To
> > >> > > do
> > >> > > > > so, you may reply to this message.
> > >> > > > >
> > >> > > > > For more information, please see:
> > >> > > > >
> > >> > > > > MET Online Tutorial:
> > >> > > > >
> > >> > >
> >
https://www.dtcenter.org/met/users/support/online_tutorial/index.php
> > >> > > > >
> > >> > > > > MET Users Guide:
> > >> > > > > https://www.dtcenter.org/met/users/docs/overview.php
> > >> > > > >
> > >> > > > > MET FAQs:
> > >> > > > >
https://www.dtcenter.org/met/users/support/faqs/index.php
> > >> > > > >
> > >> > > > > MET-Help Email Archive:
> > >> > > > > http://mailman.ucar.edu/pipermail/met_help
> > >> > > > >
> > >> > > > > Thank you,
> > >> > > > > met_help at ucar.edu
> > >> > > > >
> > >> > > > >
> > >> > >
> > >>
> >
-------------------------------------------------------------------------
> > >> > > > > Greetings:
> > >> > > > >
> > >> > > > > Almost at the finish line installing MET using the
install
> > script.
> > >> > > > > I'm running into an error:
> > >> > > > >
> > >> > > > > /usr/bin/ld: skipping incompatible
> > >> > > > > > /home/rob/bin/MET9.01/external_libs/lib/libgrib2c.a
when
> > >> searching
> > >> > > for
> > >> > > > > > -lgrib2c
> > >> > > > > > /usr/bin/ld: cannot find -lgrib2c
> > >> > > > > > collect2: error: ld returned 1 exit status
> > >> > > > > >
> > >> > > > >
> > >> > > > > I've attached the make.log.
> > >> > > > >
> > >> > > > > If you have any ideas, please let me know. I've
googled
> around
> > >> but
> > >> > > can't
> > >> > > > > find anything specific.
> > >> > > > >
> > >> > > > > Thank you,
> > >> > > > > Rob
> > >> > > > >
> > >> > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > >> > > > > Space Scientist
> > >> > > > > Space Weather Forecast Office
> > >> > > > > Space Weather Prediction Center
<http://www.swpc.noaa.gov>
> > >> > > > > W/NP9
> > >> > > > > 325 Broadway
> > >> > > > > Boulder, CO 80305
> > >> > > > > 303.497.5153
> > >> > > > >
> > >> > > > >
> > >> > > >
> > >> > > >
> > >> > >
> > >> > >
> > >> >
> > >> >
> > >>
> > >>
> >
> >
>
>
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: John Halley Gotway
Time: Tue May 19 12:14:54 2020
Rob,
Thanks for the update. It really makes me appreciate all the work our
engineer, Julie Prestopnik, does to compile MET on so many NOAA
machines!
I'll go ahead and resolve this ticket about compiling.
If more issues arise in your use of MET/METplus, please just send a
new
email to met_help at ucar.edu.
Thanks,
John
On Tue, May 19, 2020 at 12:09 PM robert.steenburgh at noaa.gov via RT <
met_help at ucar.edu> wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
>
> Smilin' and Compilin'
>
> That worked!
>
> Since we're building this to process space weather data, maybe there
are
> flags I can omit
> The lidar flag you mentioned above and MODIS, too, I think.
>
> I may try this again with python support included.
>
> Just to recap, for successful compilation at this point:
>
> - address the ascii2nc.cc issue
> - omit the “—enable-lidar2nc" option
> - compile without python support
>
> Also, I found that my stock Debian install lacked
> <
> https://cdimage.debian.org/debian-cd/current/i386/iso-cd/debian-
10.4.0-i386-netinst.iso
> >
> the following packages which were needed:
>
> - gcc-multilib
> - flex, bison (was complaining about a lack of yacc)
> - g++
> - g++-multilib
>
> Guess the next step (besides trying with Python support) is running
it.
>
> Cheers,
> Rob
>
>
>
> rob at METPlusTest:~/bin/MET9.01$ ./compile_MET_all.sh
> > install_met_env.METPlusTest
> > TEST_BASE = /home/rob/bin/MET9.01
> > COMPILER = gnu_8.3.0
> > MET_SUBDIR = /home/rob/bin/MET9.01
> > MET_TARBALL = met-9.0.1.20200423.tar.gz
> > USE_MODULES = FALSE
> > LD_LIBRARY_PATH =
> > /home/rob/bin/MET9.01/external_libs/lib:/lib:/lib:/lib::::::
> >
> > Compiling libraries into: /home/rob/bin/MET9.01/external_libs
> > USE_MODULES = FALSE
> > export CC=/usr/bin/gcc
> > export CXX=/usr/bin/g++
> > export FC=/usr/bin/gfortran
> > export F77=/usr/bin/gfortran
> > export F90=/usr/bin/gfortran
> > Using python version:
> > Python 2.7.16
> >
> > Compiling GSL_2.1 at Tue 19 May 2020 11:02:20 AM MDT
> > cd /home/rob/bin/MET9.01/external_libs/gsl/gsl-2.1
> > ./configure --prefix=/home/rob/bin/MET9.01/external_libs >
configure.log
> > 2>&1
> > make > make.log 2>&1
> > make install > make_install.log 2>&1
> >
> > Compiling BUFRLIB_v11.3.0 at Tue 19 May 2020 11:11:21 AM MDT
> > cd /home/rob/bin/MET9.01/external_libs/bufrlib/BUFRLIB_v11.3.0
> > endiantest.c:33:1: warning: return type defaults to ‘int’
> [-Wimplicit-int]
> > main()
> > ^~~~
> >
> > Compiling ZLIB at Tue 19 May 2020 11:11:40 AM MDT
> > cd /home/rob/bin/MET9.01/external_libs/zlib/zlib-1.2.11
> > ./configure --prefix=/home/rob/bin/MET9.01/external_libs >
configure.log
> > 2>&1
> > make > make.log 2>&1
> > make install > make_install.log 2>&1
> > rm /home/rob/bin/MET9.01/external_libs/lib/zlib.a
> >
> > Compiling LIBPNG at Tue 19 May 2020 11:11:57 AM MDT
> > cd /home/rob/bin/MET9.01/external_libs/libpng/libpng-1.6.34
> > ./configure --prefix=/home/rob/bin/MET9.01/external_libs
> > LDFLAGS=-L//home/rob/bin/MET9.01/external_libs/lib
> > CPPFLAGS=-I//home/rob/bin/MET9.01/external_libs/include >
configure.log
> 2>&1
> > make > make.log 2>&1
> > make install > make_install.log 2>&1
> >
> > Compiling JASPER at Tue 19 May 2020 11:13:06 AM MDT
> > cd /home/rob/bin/MET9.01/external_libs/jasper/jasper-1.900.1
> > ./configure --prefix=/home/rob/bin/MET9.01/external_libs >
configure.log
> > 2>&1
> > make > make.log 2>&1
> > make install > make_install.log 2>&1
> >
> > Compiling G2CLIB at Tue 19 May 2020 11:14:16 AM MDT
> > cd /home/rob/bin/MET9.01/external_libs/g2clib/g2clib-1.6.0
> > make > make.log 2>&1
> >
> > Compiling HDF at Tue 19 May 2020 11:14:27 AM MDT
> > cd /home/rob/bin/MET9.01/external_libs/hdf/HDF4.2r3
> > ./configure --prefix=/home/rob/bin/MET9.01/external_libs
--disable-netcdf
> > --with-jpeg=/home/rob/bin/MET9.01/external_libs
> > --with-zlib=/home/rob/bin/MET9.01/external_libs > configure.log
2>&1
> > make > make.log 2>&1
> > make install > make_install.log 2>&1
> >
> > Compiling HDFEOS at Tue 19 May 2020 11:16:02 AM MDT
> > cd /home/rob/bin/MET9.01/external_libs/hdfeos/hdfeos
> > ./configure --prefix=/home/rob/bin/MET9.01/external_libs
> > --with-hdf4=/home/rob/bin/MET9.01/external_libs > configure.log
2>&1
> > make > make.log 2>&1
> > make install > make_install.log 2>&1
> >
> > Compiling HDF5 at Tue 19 May 2020 11:17:11 AM MDT
> > cd /home/rob/bin/MET9.01/external_libs/hdf5/hdf5-1.8.18
> > ./configure --prefix=/home/rob/bin/MET9.01/external_libs
> > --with-zlib=/home/rob/bin/MET9.01/external_libs/lib CFLAGS=-fPIC
> > CXXFLAGS=-fPIC LDFLAGS=-L/home/rob/bin/MET9.01/external_libs/lib
> > CPPFLAGS=-I/home/rob/bin/MET9.01/external_libs/include >
configure.log
> 2>&1
> > make install > make_install.log 2>&1
> >
> > Compiling NetCDF-C at Tue 19 May 2020 11:28:56 AM MDT
> > cd /home/rob/bin/MET9.01/external_libs/netcdf/netcdf-4.4.1.1
> > ./configure --prefix=/home/rob/bin/MET9.01/external_libs CFLAGS=-
fPIC
> > CXXFLAGS=-fPIC LDFLAGS=-L/home/rob/bin/MET9.01/external_libs/lib
> > CPPFLAGS=-I/home/rob/bin/MET9.01/external_libs/include >
configure.log
> 2>&1
> > make install > make_install.log 2>&1
> >
> > Compiling NetCDF-CXX at Tue 19 May 2020 11:30:12 AM MDT
> > cd /home/rob/bin/MET9.01/external_libs/netcdf/netcdf-cxx4-4.3.0
> > ./configure --prefix=/home/rob/bin/MET9.01/external_libs
> > LDFLAGS=-L/home/rob/bin/MET9.01/external_libs/lib
> > CPPFLAGS=-I/home/rob/bin/MET9.01/external_libs/include >
configure.log
> 2>&1
> > make install > make_install.log 2>&1
> >
> > Compiling MET at Tue 19 May 2020 11:31:30 AM MDT
> > MET Configuration settings...
> > export MET_HDF=/home/rob/bin/MET9.01/external_libs
> > export MET_PYTHON_CC=
> > export MET_NETCDF=/home/rob/bin/MET9.01/external_libs
> > export
> > MET_TARBALL=/home/rob/bin/MET9.01/tar_files/met-
9.0.1.20200423.tar.gz
> > export MET_HDF5=/home/rob/bin/MET9.01/external_libs
> > export MET_FONT_DIR=/home/rob/bin/MET9.01/fonts
> > export MET_GRIB2C=/home/rob/bin/MET9.01/external_libs
> > export MET_GSL=/home/rob/bin/MET9.01/external_libs
> > export MET_BUFRLIB=/home/rob/bin/MET9.01/external_libs/lib
> > export MET_HDFEOS=/home/rob/bin/MET9.01/external_libs
> > export MET_SUBDIR=/home/rob/bin/MET9.01
> > export MET_PYTHON_LD=
> > LDFLAGS = -Wl,--disable-new-dtags
> >
> -Wl,-
rpath,/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib::/lib
> > -Wl,-rpath,:: -L -L/home/rob/bin/MET9.01/external_libs/lib
> > cd /home/rob/bin/MET9.01/met-9.0.1
> > ./configure --prefix=/home/rob/bin/MET9.01 BUFRLIB_NAME=-lbufr
> > GRIB2CLIB_NAME=-lgrib2c --enable-grib2 --enable-modis >
configure.log
> 2>&1
> > make > make.log 2>&1
> >
> > make install > make_install.log 2>&1
> > make test > make_test.log 2>&1
> > Finished compiling at Tue 19 May 2020 11:49:43 AM MDT
> >
> Rob Steenburgh <robert.steenburgh at noaa.gov>
> Space Scientist
> Space Weather Forecast Office
> Space Weather Prediction Center <http://www.swpc.noaa.gov>
> W/NP9
> 325 Broadway
> Boulder, CO 80305
> 303.497.5153
>
>
>
>
> On Mon, May 18, 2020 at 7:04 PM John Halley Gotway via RT <
> met_help at ucar.edu>
> wrote:
>
> > Ugh, that kind of day I guess. But I do think that’s a new error.
You’ve
> > likely gotten past the ascii2nc issue.
> >
> > In an effort to just get something to compile, you could rerun the
> install
> > script without the “—enable-lidar2nc” option.
> >
> > But of course that’ll fail at ascii2nc unless you use the second
option I
> > described.
> >
> > John
> >
> > On Mon, May 18, 2020 at 6:54 PM robert.steenburgh at noaa.gov via RT
<
> > met_help at ucar.edu> wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> > >
> > > Tried the "make clean install test" approach after modifying the
> > > ascii2nc.cc file.
> > >
> > > Result was:
> > >
> > > hdf_utils.cc: In function ‘void get_hdf_var_info(int, const
char*,
> > > > HdfVarInfo&)’:
> > > > hdf_utils.cc:107:28: error: invalid conversion from ‘int*’ to
> ‘int32*’
> > > > {aka ‘long int*’} [-fpermissive]
> > > > if ( SDgetinfo(info.id, 0, &(info.rank), info.dimsizes,
> &(info.type),
> > > > &(info.atts)) < 0 ) {
> > > > ^~~~~~~~~~~~
> > > > In file included from hdf_utils.h:27,
> > > > from hdf_utils.cc:20:
> > > > /home/rob/bin/MET9.01/external_libs/include/mfhdf.h:77:38:
note:
> > > > initializing argument 3 of ‘intn SDgetinfo(int32, char*,
int32*,
> > int32*,
> > > > int32*, int32*)’
> > > > (int32 sdsid, char *name, int32 *rank, int32 *dimsizes,
> > > > ~~~~~~~^~~~
> > > > hdf_utils.cc:107:47: error: invalid conversion from ‘int*’ to
> ‘int32*’
> > > > {aka ‘long int*’} [-fpermissive]
> > > > if ( SDgetinfo(info.id, 0, &(info.rank), info.dimsizes,
> &(info.type),
> > > > &(info.atts)) < 0 ) {
> > > > ~~~~~^~~~~~~~
> > > > In file included from hdf_utils.h:27,
> > > > from hdf_utils.cc:20:
> > > > /home/rob/bin/MET9.01/external_libs/include/mfhdf.h:77:51:
note:
> > > > initializing argument 4 of ‘intn SDgetinfo(int32, char*,
int32*,
> > int32*,
> > > > int32*, int32*)’
> > > > (int32 sdsid, char *name, int32 *rank, int32 *dimsizes,
> > > > ~~~~~~~^~~~~~~~
> > > > hdf_utils.cc:107:57: error: invalid conversion from ‘int*’ to
> ‘int32*’
> > > > {aka ‘long int*’} [-fpermissive]
> > > > if ( SDgetinfo(info.id, 0, &(info.rank), info.dimsizes,
> &(info.type),
> > > > &(info.atts)) < 0 ) {
> > > >
^~~~~~~~~~~~
> > > > In file included from hdf_utils.h:27,
> > > > from hdf_utils.cc:20:
> > > > /home/rob/bin/MET9.01/external_libs/include/mfhdf.h:78:19:
note:
> > > > initializing argument 5 of ‘intn SDgetinfo(int32, char*,
int32*,
> > int32*,
> > > > int32*, int32*)’
> > > > int32 *nt, int32 *nattr);
> > > > ~~~~~~~^~
> > > > hdf_utils.cc:107:71: error: invalid conversion from ‘int*’ to
> ‘int32*’
> > > > {aka ‘long int*’} [-fpermissive]
> > > > if ( SDgetinfo(info.id, 0, &(info.rank), info.dimsizes,
> &(info.type),
> > > > &(info.atts)) < 0 ) {
> > > >
> > > > ^~~~~~~~~~~~
> > > > In file included from hdf_utils.h:27,
> > > > from hdf_utils.cc:20:
> > > > /home/rob/bin/MET9.01/external_libs/include/mfhdf.h:78:30:
note:
> > > > initializing argument 6 of ‘intn SDgetinfo(int32, char*,
int32*,
> > int32*,
> > > > int32*, int32*)’
> > > > int32 *nt, int32 *nattr);
> > > > ~~~~~~~^~~~~
> > > > make[4]: *** [Makefile:488: lidar2nc-hdf_utils.o] Error 1
> > > > make[4]: Leaving directory
> > > > '/home/rob/bin/MET9.01/met-9.0.1/src/tools/other/lidar2nc'
> > > > make[3]: *** [Makefile:391: install-recursive] Error 1
> > > > make[3]: Leaving directory
> > > > '/home/rob/bin/MET9.01/met-9.0.1/src/tools/other'
> > > > make[2]: *** [Makefile:373: install-recursive] Error 1
> > > > make[2]: Leaving directory
> '/home/rob/bin/MET9.01/met-9.0.1/src/tools'
> > > > make[1]: *** [Makefile:370: install-recursive] Error 1
> > > > make[1]: Leaving directory '/home/rob/bin/MET9.01/met-
9.0.1/src'
> > > > make: *** [Makefile:425: install-recursive] Error 1
> > > >
> > >
> > > Rob
> > >
> > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > Space Scientist
> > > Space Weather Forecast Office
> > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > W/NP9
> > > 325 Broadway
> > > Boulder, CO 80305
> > > 303.497.5153
> > >
> > >
> > >
> > >
> > > On Mon, May 18, 2020 at 5:18 PM Robert Steenburgh - NOAA Federal
<
> > > robert.steenburgh at noaa.gov> wrote:
> > >
> > > > Thanks John - I'll give those options a try, beginning with
#1.
> > > > Appreciate all your help with this.
> > > >
> > > > Rob
> > > >
> > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > Space Scientist
> > > > Space Weather Forecast Office
> > > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > > W/NP9
> > > > 325 Broadway
> > > > Boulder, CO 80305
> > > > 303.497.5153
> > > >
> > > >
> > > >
> > > >
> > > > On Mon, May 18, 2020 at 4:19 PM John Halley Gotway via RT <
> > > > met_help at ucar.edu> wrote:
> > > >
> > > >> Ah, so you're using the installation script which untars it
each
> time
> > > and
> > > >> overwrites your changes.
> > > >>
> > > >> 2 options.
> > > >>
> > > >> First option, rather than recompiling using the installation
script,
> > > just
> > > >> go make your edits to ascii2nc.cc. And then go to the top-
level
> > > met-9.0.1
> > > >> directory and run:
> > > >> make clean install test
> > > >>
> > > >> Second option, update the tarball to include your edits:
> > > >> (1) Manually untar it:
> > > >> tar -xvzf met-9.0.1.20200423.tar.gz
> > > >> (2) Edit ascii2nc.cc in the resulting directory:
> > > >> vi met-9.0.1/src/tools/other/ascii2nc/ascii2nc.cc
> > > >> (3) Recreate the tar file:
> > > >> rm met-9.0.1.20200423.tar.gz
> > > >> tar -cvzf met-9.0.1.20200423.tar.gz met-9.0.1
> > > >>
> > > >> And rerun the install script.
> > > >>
> > > >> Either way should work fine.
> > > >>
> > > >> John
> > > >>
> > > >> On Mon, May 18, 2020 at 4:11 PM robert.steenburgh at noaa.gov
via RT <
> > > >> met_help at ucar.edu> wrote:
> > > >>
> > > >> >
> > > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> > > >> >
> > > >> > Hi John:
> > > >> >
> > > >> > So I removed "--enable-python" and made the change to
ascii2nc
> > > >> described on
> > > >> >
> > > >>
> > >
> >
>
https://github.com/NCAR/MET/commit/ff2cb4e1615a009b0b4e3575fd183c3290ff5a32
> > > >> > as you suggested.
> > > >> >
> > > >> > Unfortunately, it appears ascii2nc.cc is overwritten each
time I
> try
> > > to
> > > >> > recompile MET. Is there another flag/file I need to modify
to
> make
> > > this
> > > >> > change persist?
> > > >> >
> > > >> > Thanks,
> > > >> > Rob
> > > >> >
> > > >> > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > >> > Space Scientist
> > > >> > Space Weather Forecast Office
> > > >> > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > >> > W/NP9
> > > >> > 325 Broadway
> > > >> > Boulder, CO 80305
> > > >> > 303.497.5153
> > > >> >
> > > >> >
> > > >> >
> > > >> >
> > > >> > On Mon, May 18, 2020 at 9:59 AM John Halley Gotway via RT <
> > > >> > met_help at ucar.edu>
> > > >> > wrote:
> > > >> >
> > > >> > > Hi Rob,
> > > >> > >
> > > >> > > I see you're having some compilation issues. Thanks for
sending
> > your
> > > >> most
> > > >> > > recent "make.log" file. From that I see that you are
compiling
> > > WITHOUT
> > > >> > the
> > > >> > > "--enable-python" configuration option.
> > > >> > >
> > > >> > > We recently ran into this same problem last week. It's a
simple
> > one
> > > >> line
> > > >> > > fix but has not been included in a public release yet.
Here's
> the
> > > >> > change:
> > > >> > >
> > > >> >
> > > >>
> > >
> >
>
https://github.com/NCAR/MET/commit/ff2cb4e1615a009b0b4e3575fd183c3290ff5a32
> > > >> > >
> > > >> > > If you were compiling using the "--enable-python" option,
and
> set
> > > >> > > MET_PYTHON_CC and MET_PYTHON_LD, as David mentioned, this
> problem
> > > >> would
> > > >> > not
> > > >> > > occur.
> > > >> > >
> > > >> > > At this point, your options are:
> > > >> > > (1) Recompile using "--enable-python".
> > > >> > > (2) Manually make the one-line change shown by the commit
> message
> > > >> above
> > > >> > and
> > > >> > > recompile without "--enable-python".
> > > >> > >
> > > >> > > Hope that helps clarify, and sorry for trouble!
> > > >> > >
> > > >> > > Thanks,
> > > >> > > John
> > > >> > >
> > > >> > >
> > > >> > > On Fri, May 15, 2020 at 8:03 PM
robert.steenburgh at noaa.gov via
> > RT <
> > > >> > > met_help at ucar.edu> wrote:
> > > >> > >
> > > >> > > >
> > > >> > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277
> >
> > > >> > > >
> > > >> > > > Update - got past that error (cleaned out directory &
started
> > from
> > > >> > > > scratch), but then install crashed later:
> > > >> > > >
> > > >> > > > In file included from ascii2nc.cc:76:
> > > >> > > >
> ../../../../src/libcode/vx_data2d_python/global_python.h:21:10:
> > > >> fatal
> > > >> > > > error: Python.h: No such file or directory
> > > >> > > > #include "Python.h"
> > > >> > > > ^~~~~~~~~~
> > > >> > > > compilation terminated.
> > > >> > > >
> > > >> > > > Make log included. Used stock compile script.
> > > >> > > >
> > > >> > > > Cheers,
> > > >> > > > Rob
> > > >> > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > >> > > > Space Scientist
> > > >> > > > Space Weather Forecast Office
> > > >> > > > Space Weather Prediction Center
<http://www.swpc.noaa.gov>
> > > >> > > > W/NP9
> > > >> > > > 325 Broadway
> > > >> > > > Boulder, CO 80305
> > > >> > > > 303.497.5153
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > > > On Fri, May 15, 2020 at 4:52 PM met_help at ucar.edu via
RT <
> > > >> > > > met_help at ucar.edu>
> > > >> > > > wrote:
> > > >> > > >
> > > >> > > > >
> > > >> > > > > Greetings,
> > > >> > > > >
> > > >> > > > > This message has been automatically generated in
response to
> > the
> > > >> > > creation
> > > >> > > > > of a trouble ticket regarding:
> > > >> > > > > "MET 9.01 compile error: -lgrib2c",
> > > >> > > > > a summary of which appears below.
> > > >> > > > >
> > > >> > > > > There is no need to reply to this message right now.
Your
> > > ticket
> > > >> has
> > > >> > > > been
> > > >> > > > > assigned an ID of [rt.rap.ucar.edu #95277].
> > > >> > > > >
> > > >> > > > > Please include the string:
> > > >> > > > >
> > > >> > > > > [rt.rap.ucar.edu #95277]
> > > >> > > > >
> > > >> > > > > in the subject line of all future correspondence
about this
> > > >> issue. To
> > > >> > > do
> > > >> > > > > so, you may reply to this message.
> > > >> > > > >
> > > >> > > > > For more information, please see:
> > > >> > > > >
> > > >> > > > > MET Online Tutorial:
> > > >> > > > >
> > > >> > >
> > >
https://www.dtcenter.org/met/users/support/online_tutorial/index.php
> > > >> > > > >
> > > >> > > > > MET Users Guide:
> > > >> > > > >
https://www.dtcenter.org/met/users/docs/overview.php
> > > >> > > > >
> > > >> > > > > MET FAQs:
> > > >> > > > >
> https://www.dtcenter.org/met/users/support/faqs/index.php
> > > >> > > > >
> > > >> > > > > MET-Help Email Archive:
> > > >> > > > > http://mailman.ucar.edu/pipermail/met_help
> > > >> > > > >
> > > >> > > > > Thank you,
> > > >> > > > > met_help at ucar.edu
> > > >> > > > >
> > > >> > > > >
> > > >> > >
> > > >>
> > >
>
-------------------------------------------------------------------------
> > > >> > > > > Greetings:
> > > >> > > > >
> > > >> > > > > Almost at the finish line installing MET using the
install
> > > script.
> > > >> > > > > I'm running into an error:
> > > >> > > > >
> > > >> > > > > /usr/bin/ld: skipping incompatible
> > > >> > > > > > /home/rob/bin/MET9.01/external_libs/lib/libgrib2c.a
when
> > > >> searching
> > > >> > > for
> > > >> > > > > > -lgrib2c
> > > >> > > > > > /usr/bin/ld: cannot find -lgrib2c
> > > >> > > > > > collect2: error: ld returned 1 exit status
> > > >> > > > > >
> > > >> > > > >
> > > >> > > > > I've attached the make.log.
> > > >> > > > >
> > > >> > > > > If you have any ideas, please let me know. I've
googled
> > around
> > > >> but
> > > >> > > can't
> > > >> > > > > find anything specific.
> > > >> > > > >
> > > >> > > > > Thank you,
> > > >> > > > > Rob
> > > >> > > > >
> > > >> > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > >> > > > > Space Scientist
> > > >> > > > > Space Weather Forecast Office
> > > >> > > > > Space Weather Prediction Center
<http://www.swpc.noaa.gov>
> > > >> > > > > W/NP9
> > > >> > > > > 325 Broadway
> > > >> > > > > Boulder, CO 80305
> > > >> > > > > 303.497.5153
> > > >> > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > > >
> > > >> > >
> > > >> > >
> > > >> >
> > > >> >
> > > >>
> > > >>
> > >
> > >
> >
> >
>
>
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: robert.steenburgh at noaa.gov
Time: Tue May 19 12:18:23 2020
Will do, John and thanks again.
I agree about the work Julie does, too; that's quite an undertaking!
Cheers,
Rob
Rob Steenburgh <robert.steenburgh at noaa.gov>
Space Scientist
Space Weather Forecast Office
Space Weather Prediction Center <http://www.swpc.noaa.gov>
W/NP9
325 Broadway
Boulder, CO 80305
303.497.5153
On Tue, May 19, 2020 at 12:15 PM John Halley Gotway via RT <
met_help at ucar.edu> wrote:
> Rob,
>
> Thanks for the update. It really makes me appreciate all the work
our
> engineer, Julie Prestopnik, does to compile MET on so many NOAA
machines!
> I'll go ahead and resolve this ticket about compiling.
>
> If more issues arise in your use of MET/METplus, please just send a
new
> email to met_help at ucar.edu.
>
> Thanks,
> John
>
> On Tue, May 19, 2020 at 12:09 PM robert.steenburgh at noaa.gov via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> >
> > Smilin' and Compilin'
> >
> > That worked!
> >
> > Since we're building this to process space weather data, maybe
there are
> > flags I can omit
> > The lidar flag you mentioned above and MODIS, too, I think.
> >
> > I may try this again with python support included.
> >
> > Just to recap, for successful compilation at this point:
> >
> > - address the ascii2nc.cc issue
> > - omit the “—enable-lidar2nc" option
> > - compile without python support
> >
> > Also, I found that my stock Debian install lacked
> > <
> >
> https://cdimage.debian.org/debian-cd/current/i386/iso-cd/debian-
10.4.0-i386-netinst.iso
> > >
> > the following packages which were needed:
> >
> > - gcc-multilib
> > - flex, bison (was complaining about a lack of yacc)
> > - g++
> > - g++-multilib
> >
> > Guess the next step (besides trying with Python support) is
running it.
> >
> > Cheers,
> > Rob
> >
> >
> >
> > rob at METPlusTest:~/bin/MET9.01$ ./compile_MET_all.sh
> > > install_met_env.METPlusTest
> > > TEST_BASE = /home/rob/bin/MET9.01
> > > COMPILER = gnu_8.3.0
> > > MET_SUBDIR = /home/rob/bin/MET9.01
> > > MET_TARBALL = met-9.0.1.20200423.tar.gz
> > > USE_MODULES = FALSE
> > > LD_LIBRARY_PATH =
> > > /home/rob/bin/MET9.01/external_libs/lib:/lib:/lib:/lib::::::
> > >
> > > Compiling libraries into: /home/rob/bin/MET9.01/external_libs
> > > USE_MODULES = FALSE
> > > export CC=/usr/bin/gcc
> > > export CXX=/usr/bin/g++
> > > export FC=/usr/bin/gfortran
> > > export F77=/usr/bin/gfortran
> > > export F90=/usr/bin/gfortran
> > > Using python version:
> > > Python 2.7.16
> > >
> > > Compiling GSL_2.1 at Tue 19 May 2020 11:02:20 AM MDT
> > > cd /home/rob/bin/MET9.01/external_libs/gsl/gsl-2.1
> > > ./configure --prefix=/home/rob/bin/MET9.01/external_libs >
> configure.log
> > > 2>&1
> > > make > make.log 2>&1
> > > make install > make_install.log 2>&1
> > >
> > > Compiling BUFRLIB_v11.3.0 at Tue 19 May 2020 11:11:21 AM MDT
> > > cd /home/rob/bin/MET9.01/external_libs/bufrlib/BUFRLIB_v11.3.0
> > > endiantest.c:33:1: warning: return type defaults to ‘int’
> > [-Wimplicit-int]
> > > main()
> > > ^~~~
> > >
> > > Compiling ZLIB at Tue 19 May 2020 11:11:40 AM MDT
> > > cd /home/rob/bin/MET9.01/external_libs/zlib/zlib-1.2.11
> > > ./configure --prefix=/home/rob/bin/MET9.01/external_libs >
> configure.log
> > > 2>&1
> > > make > make.log 2>&1
> > > make install > make_install.log 2>&1
> > > rm /home/rob/bin/MET9.01/external_libs/lib/zlib.a
> > >
> > > Compiling LIBPNG at Tue 19 May 2020 11:11:57 AM MDT
> > > cd /home/rob/bin/MET9.01/external_libs/libpng/libpng-1.6.34
> > > ./configure --prefix=/home/rob/bin/MET9.01/external_libs
> > > LDFLAGS=-L//home/rob/bin/MET9.01/external_libs/lib
> > > CPPFLAGS=-I//home/rob/bin/MET9.01/external_libs/include >
configure.log
> > 2>&1
> > > make > make.log 2>&1
> > > make install > make_install.log 2>&1
> > >
> > > Compiling JASPER at Tue 19 May 2020 11:13:06 AM MDT
> > > cd /home/rob/bin/MET9.01/external_libs/jasper/jasper-1.900.1
> > > ./configure --prefix=/home/rob/bin/MET9.01/external_libs >
> configure.log
> > > 2>&1
> > > make > make.log 2>&1
> > > make install > make_install.log 2>&1
> > >
> > > Compiling G2CLIB at Tue 19 May 2020 11:14:16 AM MDT
> > > cd /home/rob/bin/MET9.01/external_libs/g2clib/g2clib-1.6.0
> > > make > make.log 2>&1
> > >
> > > Compiling HDF at Tue 19 May 2020 11:14:27 AM MDT
> > > cd /home/rob/bin/MET9.01/external_libs/hdf/HDF4.2r3
> > > ./configure --prefix=/home/rob/bin/MET9.01/external_libs
> --disable-netcdf
> > > --with-jpeg=/home/rob/bin/MET9.01/external_libs
> > > --with-zlib=/home/rob/bin/MET9.01/external_libs > configure.log
2>&1
> > > make > make.log 2>&1
> > > make install > make_install.log 2>&1
> > >
> > > Compiling HDFEOS at Tue 19 May 2020 11:16:02 AM MDT
> > > cd /home/rob/bin/MET9.01/external_libs/hdfeos/hdfeos
> > > ./configure --prefix=/home/rob/bin/MET9.01/external_libs
> > > --with-hdf4=/home/rob/bin/MET9.01/external_libs > configure.log
2>&1
> > > make > make.log 2>&1
> > > make install > make_install.log 2>&1
> > >
> > > Compiling HDF5 at Tue 19 May 2020 11:17:11 AM MDT
> > > cd /home/rob/bin/MET9.01/external_libs/hdf5/hdf5-1.8.18
> > > ./configure --prefix=/home/rob/bin/MET9.01/external_libs
> > > --with-zlib=/home/rob/bin/MET9.01/external_libs/lib CFLAGS=-fPIC
> > > CXXFLAGS=-fPIC LDFLAGS=-L/home/rob/bin/MET9.01/external_libs/lib
> > > CPPFLAGS=-I/home/rob/bin/MET9.01/external_libs/include >
configure.log
> > 2>&1
> > > make install > make_install.log 2>&1
> > >
> > > Compiling NetCDF-C at Tue 19 May 2020 11:28:56 AM MDT
> > > cd /home/rob/bin/MET9.01/external_libs/netcdf/netcdf-4.4.1.1
> > > ./configure --prefix=/home/rob/bin/MET9.01/external_libs
CFLAGS=-fPIC
> > > CXXFLAGS=-fPIC LDFLAGS=-L/home/rob/bin/MET9.01/external_libs/lib
> > > CPPFLAGS=-I/home/rob/bin/MET9.01/external_libs/include >
configure.log
> > 2>&1
> > > make install > make_install.log 2>&1
> > >
> > > Compiling NetCDF-CXX at Tue 19 May 2020 11:30:12 AM MDT
> > > cd /home/rob/bin/MET9.01/external_libs/netcdf/netcdf-cxx4-4.3.0
> > > ./configure --prefix=/home/rob/bin/MET9.01/external_libs
> > > LDFLAGS=-L/home/rob/bin/MET9.01/external_libs/lib
> > > CPPFLAGS=-I/home/rob/bin/MET9.01/external_libs/include >
configure.log
> > 2>&1
> > > make install > make_install.log 2>&1
> > >
> > > Compiling MET at Tue 19 May 2020 11:31:30 AM MDT
> > > MET Configuration settings...
> > > export MET_HDF=/home/rob/bin/MET9.01/external_libs
> > > export MET_PYTHON_CC=
> > > export MET_NETCDF=/home/rob/bin/MET9.01/external_libs
> > > export
> > > MET_TARBALL=/home/rob/bin/MET9.01/tar_files/met-
9.0.1.20200423.tar.gz
> > > export MET_HDF5=/home/rob/bin/MET9.01/external_libs
> > > export MET_FONT_DIR=/home/rob/bin/MET9.01/fonts
> > > export MET_GRIB2C=/home/rob/bin/MET9.01/external_libs
> > > export MET_GSL=/home/rob/bin/MET9.01/external_libs
> > > export MET_BUFRLIB=/home/rob/bin/MET9.01/external_libs/lib
> > > export MET_HDFEOS=/home/rob/bin/MET9.01/external_libs
> > > export MET_SUBDIR=/home/rob/bin/MET9.01
> > > export MET_PYTHON_LD=
> > > LDFLAGS = -Wl,--disable-new-dtags
> > >
> >
> -Wl,-
rpath,/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib::/lib
> > > -Wl,-rpath,:: -L -L/home/rob/bin/MET9.01/external_libs/lib
> > > cd /home/rob/bin/MET9.01/met-9.0.1
> > > ./configure --prefix=/home/rob/bin/MET9.01 BUFRLIB_NAME=-lbufr
> > > GRIB2CLIB_NAME=-lgrib2c --enable-grib2 --enable-modis >
configure.log
> > 2>&1
> > > make > make.log 2>&1
> > >
> > > make install > make_install.log 2>&1
> > > make test > make_test.log 2>&1
> > > Finished compiling at Tue 19 May 2020 11:49:43 AM MDT
> > >
> > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > Space Scientist
> > Space Weather Forecast Office
> > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > W/NP9
> > 325 Broadway
> > Boulder, CO 80305
> > 303.497.5153
> >
> >
> >
> >
> > On Mon, May 18, 2020 at 7:04 PM John Halley Gotway via RT <
> > met_help at ucar.edu>
> > wrote:
> >
> > > Ugh, that kind of day I guess. But I do think that’s a new
error.
> You’ve
> > > likely gotten past the ascii2nc issue.
> > >
> > > In an effort to just get something to compile, you could rerun
the
> > install
> > > script without the “—enable-lidar2nc” option.
> > >
> > > But of course that’ll fail at ascii2nc unless you use the second
> option I
> > > described.
> > >
> > > John
> > >
> > > On Mon, May 18, 2020 at 6:54 PM robert.steenburgh at noaa.gov via
RT <
> > > met_help at ucar.edu> wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277
>
> > > >
> > > > Tried the "make clean install test" approach after modifying
the
> > > > ascii2nc.cc file.
> > > >
> > > > Result was:
> > > >
> > > > hdf_utils.cc: In function ‘void get_hdf_var_info(int, const
char*,
> > > > > HdfVarInfo&)’:
> > > > > hdf_utils.cc:107:28: error: invalid conversion from ‘int*’
to
> > ‘int32*’
> > > > > {aka ‘long int*’} [-fpermissive]
> > > > > if ( SDgetinfo(info.id, 0, &(info.rank), info.dimsizes,
> > &(info.type),
> > > > > &(info.atts)) < 0 ) {
> > > > > ^~~~~~~~~~~~
> > > > > In file included from hdf_utils.h:27,
> > > > > from hdf_utils.cc:20:
> > > > > /home/rob/bin/MET9.01/external_libs/include/mfhdf.h:77:38:
note:
> > > > > initializing argument 3 of ‘intn SDgetinfo(int32, char*,
int32*,
> > > int32*,
> > > > > int32*, int32*)’
> > > > > (int32 sdsid, char *name, int32 *rank, int32 *dimsizes,
> > > > > ~~~~~~~^~~~
> > > > > hdf_utils.cc:107:47: error: invalid conversion from ‘int*’
to
> > ‘int32*’
> > > > > {aka ‘long int*’} [-fpermissive]
> > > > > if ( SDgetinfo(info.id, 0, &(info.rank), info.dimsizes,
> > &(info.type),
> > > > > &(info.atts)) < 0 ) {
> > > > > ~~~~~^~~~~~~~
> > > > > In file included from hdf_utils.h:27,
> > > > > from hdf_utils.cc:20:
> > > > > /home/rob/bin/MET9.01/external_libs/include/mfhdf.h:77:51:
note:
> > > > > initializing argument 4 of ‘intn SDgetinfo(int32, char*,
int32*,
> > > int32*,
> > > > > int32*, int32*)’
> > > > > (int32 sdsid, char *name, int32 *rank, int32 *dimsizes,
> > > > > ~~~~~~~^~~~~~~~
> > > > > hdf_utils.cc:107:57: error: invalid conversion from ‘int*’
to
> > ‘int32*’
> > > > > {aka ‘long int*’} [-fpermissive]
> > > > > if ( SDgetinfo(info.id, 0, &(info.rank), info.dimsizes,
> > &(info.type),
> > > > > &(info.atts)) < 0 ) {
> > > > >
> ^~~~~~~~~~~~
> > > > > In file included from hdf_utils.h:27,
> > > > > from hdf_utils.cc:20:
> > > > > /home/rob/bin/MET9.01/external_libs/include/mfhdf.h:78:19:
note:
> > > > > initializing argument 5 of ‘intn SDgetinfo(int32, char*,
int32*,
> > > int32*,
> > > > > int32*, int32*)’
> > > > > int32 *nt, int32 *nattr);
> > > > > ~~~~~~~^~
> > > > > hdf_utils.cc:107:71: error: invalid conversion from ‘int*’
to
> > ‘int32*’
> > > > > {aka ‘long int*’} [-fpermissive]
> > > > > if ( SDgetinfo(info.id, 0, &(info.rank), info.dimsizes,
> > &(info.type),
> > > > > &(info.atts)) < 0 ) {
> > > > >
> > > > > ^~~~~~~~~~~~
> > > > > In file included from hdf_utils.h:27,
> > > > > from hdf_utils.cc:20:
> > > > > /home/rob/bin/MET9.01/external_libs/include/mfhdf.h:78:30:
note:
> > > > > initializing argument 6 of ‘intn SDgetinfo(int32, char*,
int32*,
> > > int32*,
> > > > > int32*, int32*)’
> > > > > int32 *nt, int32 *nattr);
> > > > > ~~~~~~~^~~~~
> > > > > make[4]: *** [Makefile:488: lidar2nc-hdf_utils.o] Error 1
> > > > > make[4]: Leaving directory
> > > > > '/home/rob/bin/MET9.01/met-9.0.1/src/tools/other/lidar2nc'
> > > > > make[3]: *** [Makefile:391: install-recursive] Error 1
> > > > > make[3]: Leaving directory
> > > > > '/home/rob/bin/MET9.01/met-9.0.1/src/tools/other'
> > > > > make[2]: *** [Makefile:373: install-recursive] Error 1
> > > > > make[2]: Leaving directory
> > '/home/rob/bin/MET9.01/met-9.0.1/src/tools'
> > > > > make[1]: *** [Makefile:370: install-recursive] Error 1
> > > > > make[1]: Leaving directory '/home/rob/bin/MET9.01/met-
9.0.1/src'
> > > > > make: *** [Makefile:425: install-recursive] Error 1
> > > > >
> > > >
> > > > Rob
> > > >
> > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > Space Scientist
> > > > Space Weather Forecast Office
> > > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > > W/NP9
> > > > 325 Broadway
> > > > Boulder, CO 80305
> > > > 303.497.5153
> > > >
> > > >
> > > >
> > > >
> > > > On Mon, May 18, 2020 at 5:18 PM Robert Steenburgh - NOAA
Federal <
> > > > robert.steenburgh at noaa.gov> wrote:
> > > >
> > > > > Thanks John - I'll give those options a try, beginning with
#1.
> > > > > Appreciate all your help with this.
> > > > >
> > > > > Rob
> > > > >
> > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > > Space Scientist
> > > > > Space Weather Forecast Office
> > > > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > > > W/NP9
> > > > > 325 Broadway
> > > > > Boulder, CO 80305
> > > > > 303.497.5153
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On Mon, May 18, 2020 at 4:19 PM John Halley Gotway via RT <
> > > > > met_help at ucar.edu> wrote:
> > > > >
> > > > >> Ah, so you're using the installation script which untars it
each
> > time
> > > > and
> > > > >> overwrites your changes.
> > > > >>
> > > > >> 2 options.
> > > > >>
> > > > >> First option, rather than recompiling using the
installation
> script,
> > > > just
> > > > >> go make your edits to ascii2nc.cc. And then go to the top-
level
> > > > met-9.0.1
> > > > >> directory and run:
> > > > >> make clean install test
> > > > >>
> > > > >> Second option, update the tarball to include your edits:
> > > > >> (1) Manually untar it:
> > > > >> tar -xvzf met-9.0.1.20200423.tar.gz
> > > > >> (2) Edit ascii2nc.cc in the resulting directory:
> > > > >> vi met-9.0.1/src/tools/other/ascii2nc/ascii2nc.cc
> > > > >> (3) Recreate the tar file:
> > > > >> rm met-9.0.1.20200423.tar.gz
> > > > >> tar -cvzf met-9.0.1.20200423.tar.gz met-9.0.1
> > > > >>
> > > > >> And rerun the install script.
> > > > >>
> > > > >> Either way should work fine.
> > > > >>
> > > > >> John
> > > > >>
> > > > >> On Mon, May 18, 2020 at 4:11 PM robert.steenburgh at noaa.gov
via
> RT <
> > > > >> met_help at ucar.edu> wrote:
> > > > >>
> > > > >> >
> > > > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> > > > >> >
> > > > >> > Hi John:
> > > > >> >
> > > > >> > So I removed "--enable-python" and made the change to
ascii2nc
> > > > >> described on
> > > > >> >
> > > > >>
> > > >
> > >
> >
>
https://github.com/NCAR/MET/commit/ff2cb4e1615a009b0b4e3575fd183c3290ff5a32
> > > > >> > as you suggested.
> > > > >> >
> > > > >> > Unfortunately, it appears ascii2nc.cc is overwritten each
time I
> > try
> > > > to
> > > > >> > recompile MET. Is there another flag/file I need to
modify to
> > make
> > > > this
> > > > >> > change persist?
> > > > >> >
> > > > >> > Thanks,
> > > > >> > Rob
> > > > >> >
> > > > >> > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > >> > Space Scientist
> > > > >> > Space Weather Forecast Office
> > > > >> > Space Weather Prediction Center
<http://www.swpc.noaa.gov>
> > > > >> > W/NP9
> > > > >> > 325 Broadway
> > > > >> > Boulder, CO 80305
> > > > >> > 303.497.5153
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >> > On Mon, May 18, 2020 at 9:59 AM John Halley Gotway via RT
<
> > > > >> > met_help at ucar.edu>
> > > > >> > wrote:
> > > > >> >
> > > > >> > > Hi Rob,
> > > > >> > >
> > > > >> > > I see you're having some compilation issues. Thanks for
> sending
> > > your
> > > > >> most
> > > > >> > > recent "make.log" file. From that I see that you are
compiling
> > > > WITHOUT
> > > > >> > the
> > > > >> > > "--enable-python" configuration option.
> > > > >> > >
> > > > >> > > We recently ran into this same problem last week. It's
a
> simple
> > > one
> > > > >> line
> > > > >> > > fix but has not been included in a public release yet.
Here's
> > the
> > > > >> > change:
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
>
https://github.com/NCAR/MET/commit/ff2cb4e1615a009b0b4e3575fd183c3290ff5a32
> > > > >> > >
> > > > >> > > If you were compiling using the "--enable-python"
option, and
> > set
> > > > >> > > MET_PYTHON_CC and MET_PYTHON_LD, as David mentioned,
this
> > problem
> > > > >> would
> > > > >> > not
> > > > >> > > occur.
> > > > >> > >
> > > > >> > > At this point, your options are:
> > > > >> > > (1) Recompile using "--enable-python".
> > > > >> > > (2) Manually make the one-line change shown by the
commit
> > message
> > > > >> above
> > > > >> > and
> > > > >> > > recompile without "--enable-python".
> > > > >> > >
> > > > >> > > Hope that helps clarify, and sorry for trouble!
> > > > >> > >
> > > > >> > > Thanks,
> > > > >> > > John
> > > > >> > >
> > > > >> > >
> > > > >> > > On Fri, May 15, 2020 at 8:03 PM
robert.steenburgh at noaa.gov
> via
> > > RT <
> > > > >> > > met_help at ucar.edu> wrote:
> > > > >> > >
> > > > >> > > >
> > > > >> > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277
> > >
> > > > >> > > >
> > > > >> > > > Update - got past that error (cleaned out directory &
> started
> > > from
> > > > >> > > > scratch), but then install crashed later:
> > > > >> > > >
> > > > >> > > > In file included from ascii2nc.cc:76:
> > > > >> > > >
> > ../../../../src/libcode/vx_data2d_python/global_python.h:21:10:
> > > > >> fatal
> > > > >> > > > error: Python.h: No such file or directory
> > > > >> > > > #include "Python.h"
> > > > >> > > > ^~~~~~~~~~
> > > > >> > > > compilation terminated.
> > > > >> > > >
> > > > >> > > > Make log included. Used stock compile script.
> > > > >> > > >
> > > > >> > > > Cheers,
> > > > >> > > > Rob
> > > > >> > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > >> > > > Space Scientist
> > > > >> > > > Space Weather Forecast Office
> > > > >> > > > Space Weather Prediction Center
<http://www.swpc.noaa.gov>
> > > > >> > > > W/NP9
> > > > >> > > > 325 Broadway
> > > > >> > > > Boulder, CO 80305
> > > > >> > > > 303.497.5153
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > On Fri, May 15, 2020 at 4:52 PM met_help at ucar.edu via
RT <
> > > > >> > > > met_help at ucar.edu>
> > > > >> > > > wrote:
> > > > >> > > >
> > > > >> > > > >
> > > > >> > > > > Greetings,
> > > > >> > > > >
> > > > >> > > > > This message has been automatically generated in
response
> to
> > > the
> > > > >> > > creation
> > > > >> > > > > of a trouble ticket regarding:
> > > > >> > > > > "MET 9.01 compile error: -lgrib2c",
> > > > >> > > > > a summary of which appears below.
> > > > >> > > > >
> > > > >> > > > > There is no need to reply to this message right
now. Your
> > > > ticket
> > > > >> has
> > > > >> > > > been
> > > > >> > > > > assigned an ID of [rt.rap.ucar.edu #95277].
> > > > >> > > > >
> > > > >> > > > > Please include the string:
> > > > >> > > > >
> > > > >> > > > > [rt.rap.ucar.edu #95277]
> > > > >> > > > >
> > > > >> > > > > in the subject line of all future correspondence
about
> this
> > > > >> issue. To
> > > > >> > > do
> > > > >> > > > > so, you may reply to this message.
> > > > >> > > > >
> > > > >> > > > > For more information, please see:
> > > > >> > > > >
> > > > >> > > > > MET Online Tutorial:
> > > > >> > > > >
> > > > >> > >
> > > >
https://www.dtcenter.org/met/users/support/online_tutorial/index.php
> > > > >> > > > >
> > > > >> > > > > MET Users Guide:
> > > > >> > > > >
https://www.dtcenter.org/met/users/docs/overview.php
> > > > >> > > > >
> > > > >> > > > > MET FAQs:
> > > > >> > > > >
> > https://www.dtcenter.org/met/users/support/faqs/index.php
> > > > >> > > > >
> > > > >> > > > > MET-Help Email Archive:
> > > > >> > > > > http://mailman.ucar.edu/pipermail/met_help
> > > > >> > > > >
> > > > >> > > > > Thank you,
> > > > >> > > > > met_help at ucar.edu
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > >
> > > > >>
> > > >
> >
-------------------------------------------------------------------------
> > > > >> > > > > Greetings:
> > > > >> > > > >
> > > > >> > > > > Almost at the finish line installing MET using the
install
> > > > script.
> > > > >> > > > > I'm running into an error:
> > > > >> > > > >
> > > > >> > > > > /usr/bin/ld: skipping incompatible
> > > > >> > > > > >
/home/rob/bin/MET9.01/external_libs/lib/libgrib2c.a when
> > > > >> searching
> > > > >> > > for
> > > > >> > > > > > -lgrib2c
> > > > >> > > > > > /usr/bin/ld: cannot find -lgrib2c
> > > > >> > > > > > collect2: error: ld returned 1 exit status
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > > > I've attached the make.log.
> > > > >> > > > >
> > > > >> > > > > If you have any ideas, please let me know. I've
googled
> > > around
> > > > >> but
> > > > >> > > can't
> > > > >> > > > > find anything specific.
> > > > >> > > > >
> > > > >> > > > > Thank you,
> > > > >> > > > > Rob
> > > > >> > > > >
> > > > >> > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > >> > > > > Space Scientist
> > > > >> > > > > Space Weather Forecast Office
> > > > >> > > > > Space Weather Prediction Center
<http://www.swpc.noaa.gov
> >
> > > > >> > > > > W/NP9
> > > > >> > > > > 325 Broadway
> > > > >> > > > > Boulder, CO 80305
> > > > >> > > > > 303.497.5153
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >> >
> > > > >>
> > > > >>
> > > >
> > > >
> > >
> > >
> >
> >
>
>
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: John Halley Gotway
Time: Wed May 20 15:48:28 2020
Rob,
Thanks for sending your data files. Looking in
install_met_env.METplus,
can we please try simplifying the python settings as:
export MET_PYTHON_CC='-I/usr/include/python3.7m'
export MET_PYTHON_LD='-L/usr/lib/python3.7/config-3.7m-i386-linux-gnu
-L/usr/lib -lpython3.7m -lcrypt -lpthread -ldl -lutil -lm'
Not sure if that'll fix it, but I'd like to try it.
Thanks,
John
On Wed, May 20, 2020 at 3:16 PM robert.steenburgh at noaa.gov via RT <
met_help at ucar.edu> wrote:
>
> Wed May 20 15:16:00 2020: Request 95320 was acted upon.
> Transaction: Ticket created by robert.steenburgh at noaa.gov
> Queue: met_help
> Subject: python3_dict.cc:460:37: error: invalid conversion
> Owner: Nobody
> Requestors: robert.steenburgh at noaa.gov
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95320 >
>
>
> Greetings:
>
> I was able to successfully compile MET 9.0.1 *without* Python
support, but
> Tara suggested I include it, given the non-standard nature of a lot
of our
> space weather model output.
>
> Unfortunately, the compile attempt failed.
>
> I've attached the *make.log* as well as the *compile script* I was
using.
> In the compile script I turned off everything but MET since I'd
> successfully compiled all the libraries already. Finally, I've
included
> the *environment variable specification file *since MET_PYHTON_CC
and
> MET_PYTHON_LD had to be defined. I took the output from python3-
config
> verbatim.
>
> Thanks, as always,
> Rob
> (frequent flier)
>
>
> Rob Steenburgh <robert.steenburgh at noaa.gov>
> Space Scientist
> Space Weather Forecast Office
> Space Weather Prediction Center <http://www.swpc.noaa.gov>
> W/NP9
> 325 Broadway
> Boulder, CO 80305
> 303.497.5153
>
>
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: robert.steenburgh at noaa.gov
Time: Wed May 20 15:54:29 2020
Thanks, I'll give it a shot.
Rob Steenburgh <robert.steenburgh at noaa.gov>
Space Scientist
Space Weather Forecast Office
Space Weather Prediction Center <http://www.swpc.noaa.gov>
W/NP9
325 Broadway
Boulder, CO 80305
303.497.5153
On Wed, May 20, 2020 at 3:48 PM John Halley Gotway via RT
<met_help at ucar.edu>
wrote:
> Rob,
>
> Thanks for sending your data files. Looking in
install_met_env.METplus,
> can we please try simplifying the python settings as:
> export MET_PYTHON_CC='-I/usr/include/python3.7m'
> export MET_PYTHON_LD='-L/usr/lib/python3.7/config-3.7m-i386-linux-
gnu
> -L/usr/lib -lpython3.7m -lcrypt -lpthread -ldl -lutil -lm'
>
> Not sure if that'll fix it, but I'd like to try it.
>
> Thanks,
> John
>
> On Wed, May 20, 2020 at 3:16 PM robert.steenburgh at noaa.gov via RT <
> met_help at ucar.edu> wrote:
>
> >
> > Wed May 20 15:16:00 2020: Request 95320 was acted upon.
> > Transaction: Ticket created by robert.steenburgh at noaa.gov
> > Queue: met_help
> > Subject: python3_dict.cc:460:37: error: invalid conversion
> > Owner: Nobody
> > Requestors: robert.steenburgh at noaa.gov
> > Status: new
> > Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95320 >
> >
> >
> > Greetings:
> >
> > I was able to successfully compile MET 9.0.1 *without* Python
support,
> but
> > Tara suggested I include it, given the non-standard nature of a
lot of
> our
> > space weather model output.
> >
> > Unfortunately, the compile attempt failed.
> >
> > I've attached the *make.log* as well as the *compile script* I was
using.
> > In the compile script I turned off everything but MET since I'd
> > successfully compiled all the libraries already. Finally, I've
included
> > the *environment variable specification file *since MET_PYHTON_CC
and
> > MET_PYTHON_LD had to be defined. I took the output from python3-
config
> > verbatim.
> >
> > Thanks, as always,
> > Rob
> > (frequent flier)
> >
> >
> > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > Space Scientist
> > Space Weather Forecast Office
> > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > W/NP9
> > 325 Broadway
> > Boulder, CO 80305
> > 303.497.5153
> >
> >
>
>
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: Julie Prestopnik
Time: Wed May 20 16:19:19 2020
Hi Rob.
One further detail... because you are recompiling after compiling
previously with the script, you may need to set BUFRLIB_NAME and
GRIB2CLIB_NAME in the following way in your
install_met_env.METPlusTest
file:
> export BUFRLIB_NAME=-lbufr
> export GRIB2CLIB_NAME=-lgrib2c
assuming that you used the script to build those libraries.
You can check to see if those values were not set by looking in your
config.log file. On the line where you see "./configure" if you see "
BUFRLIB_NAME= GRIB2CLIB_NAME= " with no value after the equals sign,
before
the enable options, you will need to make sure those have values. I
need
to improve the script so that the default values for those are set on
a
rerun.
Julie
On Wed, May 20, 2020 at 3:54 PM robert.steenburgh at noaa.gov via RT <
met_help at ucar.edu> wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
>
> Thanks, I'll give it a shot.
>
> Rob Steenburgh <robert.steenburgh at noaa.gov>
> Space Scientist
> Space Weather Forecast Office
> Space Weather Prediction Center <http://www.swpc.noaa.gov>
> W/NP9
> 325 Broadway
> Boulder, CO 80305
> 303.497.5153
>
>
>
>
> On Wed, May 20, 2020 at 3:48 PM John Halley Gotway via RT <
> met_help at ucar.edu>
> wrote:
>
> > Rob,
> >
> > Thanks for sending your data files. Looking in
install_met_env.METplus,
> > can we please try simplifying the python settings as:
> > export MET_PYTHON_CC='-I/usr/include/python3.7m'
> > export MET_PYTHON_LD='-L/usr/lib/python3.7/config-3.7m-i386-linux-
gnu
> > -L/usr/lib -lpython3.7m -lcrypt -lpthread -ldl -lutil -lm'
> >
> > Not sure if that'll fix it, but I'd like to try it.
> >
> > Thanks,
> > John
> >
> > On Wed, May 20, 2020 at 3:16 PM robert.steenburgh at noaa.gov via RT
<
> > met_help at ucar.edu> wrote:
> >
> > >
> > > Wed May 20 15:16:00 2020: Request 95320 was acted upon.
> > > Transaction: Ticket created by robert.steenburgh at noaa.gov
> > > Queue: met_help
> > > Subject: python3_dict.cc:460:37: error: invalid conversion
> > > Owner: Nobody
> > > Requestors: robert.steenburgh at noaa.gov
> > > Status: new
> > > Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95320
> >
> > >
> > >
> > > Greetings:
> > >
> > > I was able to successfully compile MET 9.0.1 *without* Python
support,
> > but
> > > Tara suggested I include it, given the non-standard nature of a
lot of
> > our
> > > space weather model output.
> > >
> > > Unfortunately, the compile attempt failed.
> > >
> > > I've attached the *make.log* as well as the *compile script* I
was
> using.
> > > In the compile script I turned off everything but MET since I'd
> > > successfully compiled all the libraries already. Finally, I've
> included
> > > the *environment variable specification file *since
MET_PYHTON_CC and
> > > MET_PYTHON_LD had to be defined. I took the output from
python3-config
> > > verbatim.
> > >
> > > Thanks, as always,
> > > Rob
> > > (frequent flier)
> > >
> > >
> > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > Space Scientist
> > > Space Weather Forecast Office
> > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > W/NP9
> > > 325 Broadway
> > > Boulder, CO 80305
> > > 303.497.5153
> > >
> > >
> >
> >
>
>
--
Julie Prestopnik
Software Engineer
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu
My working day may not be your working day. Please do not feel
obliged to
reply to this email outside of your normal working hours.
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: robert.steenburgh at noaa.gov
Time: Wed May 20 16:23:20 2020
Thanks Julie and you were right, they were unset. Added the lines to
my
install... file
Rob
Rob Steenburgh <robert.steenburgh at noaa.gov>
Space Scientist
Space Weather Forecast Office
Space Weather Prediction Center <http://www.swpc.noaa.gov>
W/NP9
325 Broadway
Boulder, CO 80305
303.497.5153
On Wed, May 20, 2020 at 4:19 PM Julie Prestopnik via RT
<met_help at ucar.edu>
wrote:
> Hi Rob.
>
> One further detail... because you are recompiling after compiling
> previously with the script, you may need to set BUFRLIB_NAME and
> GRIB2CLIB_NAME in the following way in your
install_met_env.METPlusTest
> file:
>
> > export BUFRLIB_NAME=-lbufr
> > export GRIB2CLIB_NAME=-lgrib2c
>
> assuming that you used the script to build those libraries.
>
> You can check to see if those values were not set by looking in your
> config.log file. On the line where you see "./configure" if you see
"
> BUFRLIB_NAME= GRIB2CLIB_NAME= " with no value after the equals sign,
before
> the enable options, you will need to make sure those have values. I
need
> to improve the script so that the default values for those are set
on a
> rerun.
>
> Julie
>
> On Wed, May 20, 2020 at 3:54 PM robert.steenburgh at noaa.gov via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> >
> > Thanks, I'll give it a shot.
> >
> > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > Space Scientist
> > Space Weather Forecast Office
> > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > W/NP9
> > 325 Broadway
> > Boulder, CO 80305
> > 303.497.5153
> >
> >
> >
> >
> > On Wed, May 20, 2020 at 3:48 PM John Halley Gotway via RT <
> > met_help at ucar.edu>
> > wrote:
> >
> > > Rob,
> > >
> > > Thanks for sending your data files. Looking in
> install_met_env.METplus,
> > > can we please try simplifying the python settings as:
> > > export MET_PYTHON_CC='-I/usr/include/python3.7m'
> > > export MET_PYTHON_LD='-L/usr/lib/python3.7/config-3.7m-i386-
linux-gnu
> > > -L/usr/lib -lpython3.7m -lcrypt -lpthread -ldl -lutil -lm'
> > >
> > > Not sure if that'll fix it, but I'd like to try it.
> > >
> > > Thanks,
> > > John
> > >
> > > On Wed, May 20, 2020 at 3:16 PM robert.steenburgh at noaa.gov via
RT <
> > > met_help at ucar.edu> wrote:
> > >
> > > >
> > > > Wed May 20 15:16:00 2020: Request 95320 was acted upon.
> > > > Transaction: Ticket created by robert.steenburgh at noaa.gov
> > > > Queue: met_help
> > > > Subject: python3_dict.cc:460:37: error: invalid
conversion
> > > > Owner: Nobody
> > > > Requestors: robert.steenburgh at noaa.gov
> > > > Status: new
> > > > Ticket <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95320
> > >
> > > >
> > > >
> > > > Greetings:
> > > >
> > > > I was able to successfully compile MET 9.0.1 *without* Python
> support,
> > > but
> > > > Tara suggested I include it, given the non-standard nature of
a lot
> of
> > > our
> > > > space weather model output.
> > > >
> > > > Unfortunately, the compile attempt failed.
> > > >
> > > > I've attached the *make.log* as well as the *compile script* I
was
> > using.
> > > > In the compile script I turned off everything but MET since
I'd
> > > > successfully compiled all the libraries already. Finally,
I've
> > included
> > > > the *environment variable specification file *since
MET_PYHTON_CC and
> > > > MET_PYTHON_LD had to be defined. I took the output from
> python3-config
> > > > verbatim.
> > > >
> > > > Thanks, as always,
> > > > Rob
> > > > (frequent flier)
> > > >
> > > >
> > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > Space Scientist
> > > > Space Weather Forecast Office
> > > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > > W/NP9
> > > > 325 Broadway
> > > > Boulder, CO 80305
> > > > 303.497.5153
> > > >
> > > >
> > >
> > >
> >
> >
>
> --
> Julie Prestopnik
> Software Engineer
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
> My working day may not be your working day. Please do not feel
obliged to
> reply to this email outside of your normal working hours.
>
>
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: robert.steenburgh at noaa.gov
Time: Wed May 20 16:27:16 2020
Hi John:
Same result:
Compiling MET at Wed 20 May 2020 04:06:53 PM MDT
MET Configuration settings...
export MET_HDF=/home/rob/bin/MET9.01/external_libs
export MET_PYTHON_CC=-I/usr/include/python3.7m
export MET_NETCDF=/home/rob/bin/MET9.01/external_libs
export MET_PYTHON_EXE=/usr/bin/python3
export MET_TARBALL=/home/rob/bin/MET9.01/tar_files/met-
9.0.1.20200423.tar.gz
export MET_HDF5=/home/rob/bin/MET9.01/external_libs
export MET_FONT_DIR=/home/rob/bin/MET9.01/fonts
export MET_GRIB2C=/home/rob/bin/MET9.01/external_libs
export MET_GSL=/home/rob/bin/MET9.01/external_libs
export MET_BUFRLIB=/home/rob/bin/MET9.01/external_libs/lib
export MET_HDFEOS=/home/rob/bin/MET9.01/external_libs
export MET_SUBDIR=/home/rob/bin/MET9.01
export MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-linux-gnu
-L/usr/lib -lpython3.7m -lcrypt -lpthread -ldl -lutil -lm
LDFLAGS = -Wl,--disable-new-dtags
-Wl,-
rpath,/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib::/lib
-Wl,-rpath,:: -L -L/home/rob/bin/MET9.01/external_libs/lib
cd /home/rob/bin/MET9.01/met-9.0.1
./configure --prefix=/home/rob/bin/MET9.01 BUFRLIB_NAME=
GRIB2CLIB_NAME=
--enable-grib2 --enable-python > configure.log 2>&1
make > make.log 2>&1
make returned with non-zero (2) status
In a separate email, Julie had me include
> export BUFRLIB_NAME=-lbufr
> export GRIB2CLIB_NAME=-lgrib2c
in the install script as they don't persist with the way I'm compiling
things with the script, so I am running it again just to see if that
helps.
Rob
Rob Steenburgh <robert.steenburgh at noaa.gov>
Space Scientist
Space Weather Forecast Office
Space Weather Prediction Center <http://www.swpc.noaa.gov>
W/NP9
325 Broadway
Boulder, CO 80305
303.497.5153
On Wed, May 20, 2020 at 3:48 PM John Halley Gotway via RT
<met_help at ucar.edu>
wrote:
> Rob,
>
> Thanks for sending your data files. Looking in
install_met_env.METplus,
> can we please try simplifying the python settings as:
> export MET_PYTHON_CC='-I/usr/include/python3.7m'
> export MET_PYTHON_LD='-L/usr/lib/python3.7/config-3.7m-i386-linux-
gnu
> -L/usr/lib -lpython3.7m -lcrypt -lpthread -ldl -lutil -lm'
>
> Not sure if that'll fix it, but I'd like to try it.
>
> Thanks,
> John
>
> On Wed, May 20, 2020 at 3:16 PM robert.steenburgh at noaa.gov via RT <
> met_help at ucar.edu> wrote:
>
> >
> > Wed May 20 15:16:00 2020: Request 95320 was acted upon.
> > Transaction: Ticket created by robert.steenburgh at noaa.gov
> > Queue: met_help
> > Subject: python3_dict.cc:460:37: error: invalid conversion
> > Owner: Nobody
> > Requestors: robert.steenburgh at noaa.gov
> > Status: new
> > Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95320 >
> >
> >
> > Greetings:
> >
> > I was able to successfully compile MET 9.0.1 *without* Python
support,
> but
> > Tara suggested I include it, given the non-standard nature of a
lot of
> our
> > space weather model output.
> >
> > Unfortunately, the compile attempt failed.
> >
> > I've attached the *make.log* as well as the *compile script* I was
using.
> > In the compile script I turned off everything but MET since I'd
> > successfully compiled all the libraries already. Finally, I've
included
> > the *environment variable specification file *since MET_PYHTON_CC
and
> > MET_PYTHON_LD had to be defined. I took the output from python3-
config
> > verbatim.
> >
> > Thanks, as always,
> > Rob
> > (frequent flier)
> >
> >
> > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > Space Scientist
> > Space Weather Forecast Office
> > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > W/NP9
> > 325 Broadway
> > Boulder, CO 80305
> > 303.497.5153
> >
> >
>
>
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: Julie Prestopnik
Time: Wed May 20 16:47:30 2020
Hi Rob.
I believe backslashes are needed for the spaces in MET_PYTHON_LD.
Could
you please try again with the following setting for MET_PYTHON_LD?
export
> MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-linux-gnu\
-L/usr/lib\
> -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\ -lutil\ -lm
Thanks!
Julie
On Wed, May 20, 2020 at 4:36 PM robert.steenburgh at noaa.gov via RT <
met_help at ucar.edu> wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
>
> Hi John:
>
> Same result:
>
> Compiling MET at Wed 20 May 2020 04:06:53 PM MDT
> MET Configuration settings...
> export MET_HDF=/home/rob/bin/MET9.01/external_libs
> export MET_PYTHON_CC=-I/usr/include/python3.7m
> export MET_NETCDF=/home/rob/bin/MET9.01/external_libs
> export MET_PYTHON_EXE=/usr/bin/python3
> export
> MET_TARBALL=/home/rob/bin/MET9.01/tar_files/met-
9.0.1.20200423.tar.gz
> export MET_HDF5=/home/rob/bin/MET9.01/external_libs
> export MET_FONT_DIR=/home/rob/bin/MET9.01/fonts
> export MET_GRIB2C=/home/rob/bin/MET9.01/external_libs
> export MET_GSL=/home/rob/bin/MET9.01/external_libs
> export MET_BUFRLIB=/home/rob/bin/MET9.01/external_libs/lib
> export MET_HDFEOS=/home/rob/bin/MET9.01/external_libs
> export MET_SUBDIR=/home/rob/bin/MET9.01
> export MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-linux-gnu
> -L/usr/lib -lpython3.7m -lcrypt -lpthread -ldl -lutil -lm
> LDFLAGS = -Wl,--disable-new-dtags
>
> -Wl,-
rpath,/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib::/lib
> -Wl,-rpath,:: -L -L/home/rob/bin/MET9.01/external_libs/lib
> cd /home/rob/bin/MET9.01/met-9.0.1
> ./configure --prefix=/home/rob/bin/MET9.01 BUFRLIB_NAME=
GRIB2CLIB_NAME=
> --enable-grib2 --enable-python > configure.log 2>&1
> make > make.log 2>&1
> make returned with non-zero (2) status
>
> In a separate email, Julie had me include
> > export BUFRLIB_NAME=-lbufr
> > export GRIB2CLIB_NAME=-lgrib2c
>
> in the install script as they don't persist with the way I'm
compiling
> things with the script, so I am running it again just to see if that
helps.
>
> Rob
>
> Rob Steenburgh <robert.steenburgh at noaa.gov>
> Space Scientist
> Space Weather Forecast Office
> Space Weather Prediction Center <http://www.swpc.noaa.gov>
> W/NP9
> 325 Broadway
> Boulder, CO 80305
> 303.497.5153
>
>
>
>
> On Wed, May 20, 2020 at 3:48 PM John Halley Gotway via RT <
> met_help at ucar.edu>
> wrote:
>
> > Rob,
> >
> > Thanks for sending your data files. Looking in
install_met_env.METplus,
> > can we please try simplifying the python settings as:
> > export MET_PYTHON_CC='-I/usr/include/python3.7m'
> > export MET_PYTHON_LD='-L/usr/lib/python3.7/config-3.7m-i386-linux-
gnu
> > -L/usr/lib -lpython3.7m -lcrypt -lpthread -ldl -lutil -lm'
> >
> > Not sure if that'll fix it, but I'd like to try it.
> >
> > Thanks,
> > John
> >
> > On Wed, May 20, 2020 at 3:16 PM robert.steenburgh at noaa.gov via RT
<
> > met_help at ucar.edu> wrote:
> >
> > >
> > > Wed May 20 15:16:00 2020: Request 95320 was acted upon.
> > > Transaction: Ticket created by robert.steenburgh at noaa.gov
> > > Queue: met_help
> > > Subject: python3_dict.cc:460:37: error: invalid conversion
> > > Owner: Nobody
> > > Requestors: robert.steenburgh at noaa.gov
> > > Status: new
> > > Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95320
> >
> > >
> > >
> > > Greetings:
> > >
> > > I was able to successfully compile MET 9.0.1 *without* Python
support,
> > but
> > > Tara suggested I include it, given the non-standard nature of a
lot of
> > our
> > > space weather model output.
> > >
> > > Unfortunately, the compile attempt failed.
> > >
> > > I've attached the *make.log* as well as the *compile script* I
was
> using.
> > > In the compile script I turned off everything but MET since I'd
> > > successfully compiled all the libraries already. Finally, I've
> included
> > > the *environment variable specification file *since
MET_PYHTON_CC and
> > > MET_PYTHON_LD had to be defined. I took the output from
python3-config
> > > verbatim.
> > >
> > > Thanks, as always,
> > > Rob
> > > (frequent flier)
> > >
> > >
> > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > Space Scientist
> > > Space Weather Forecast Office
> > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > W/NP9
> > > 325 Broadway
> > > Boulder, CO 80305
> > > 303.497.5153
> > >
> > >
> >
> >
>
>
--
Julie Prestopnik
Software Engineer
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu
My working day may not be your working day. Please do not feel
obliged to
reply to this email outside of your normal working hours.
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: Julie Prestopnik
Time: Wed May 20 16:50:22 2020
Also, it looks like BUFRLIB_NAME and GRIB2CLIB_NAME are still not set.
./configure --prefix=/home/rob/bin/MET9.01 BUFRLIB_NAME=
GRIB2CLIB_NAME=
> --enable-grib2 --enable-python > configure.log 2>&1
>
Were you able to add
> export BUFRLIB_NAME=-lbufr
> export GRIB2CLIB_NAME=-lgrib2c
to your install_met_env.METPlusTest file?
If the compilation attempt is not successful, could you please attach
your
install_met_env.METPlusTest, your config.log file, and your make.log
file
for us?
Thank you!
Julie
On Wed, May 20, 2020 at 4:47 PM Julie Prestopnik <jpresto at ucar.edu>
wrote:
> Hi Rob.
>
> I believe backslashes are needed for the spaces in MET_PYTHON_LD.
Could
> you please try again with the following setting for MET_PYTHON_LD?
>
> export
>> MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-linux-gnu\
-L/usr/lib\
>> -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\ -lutil\ -lm
>
>
> Thanks!
>
> Julie
>
>
> On Wed, May 20, 2020 at 4:36 PM robert.steenburgh at noaa.gov via RT <
> met_help at ucar.edu> wrote:
>
>>
>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
>>
>> Hi John:
>>
>> Same result:
>>
>> Compiling MET at Wed 20 May 2020 04:06:53 PM MDT
>> MET Configuration settings...
>> export MET_HDF=/home/rob/bin/MET9.01/external_libs
>> export MET_PYTHON_CC=-I/usr/include/python3.7m
>> export MET_NETCDF=/home/rob/bin/MET9.01/external_libs
>> export MET_PYTHON_EXE=/usr/bin/python3
>> export
>> MET_TARBALL=/home/rob/bin/MET9.01/tar_files/met-
9.0.1.20200423.tar.gz
>> export MET_HDF5=/home/rob/bin/MET9.01/external_libs
>> export MET_FONT_DIR=/home/rob/bin/MET9.01/fonts
>> export MET_GRIB2C=/home/rob/bin/MET9.01/external_libs
>> export MET_GSL=/home/rob/bin/MET9.01/external_libs
>> export MET_BUFRLIB=/home/rob/bin/MET9.01/external_libs/lib
>> export MET_HDFEOS=/home/rob/bin/MET9.01/external_libs
>> export MET_SUBDIR=/home/rob/bin/MET9.01
>> export MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-linux-
gnu
>> -L/usr/lib -lpython3.7m -lcrypt -lpthread -ldl -lutil -lm
>> LDFLAGS = -Wl,--disable-new-dtags
>>
>> -Wl,-
rpath,/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib::/lib
>> -Wl,-rpath,:: -L -L/home/rob/bin/MET9.01/external_libs/lib
>> cd /home/rob/bin/MET9.01/met-9.0.1
>> ./configure --prefix=/home/rob/bin/MET9.01 BUFRLIB_NAME=
GRIB2CLIB_NAME=
>> --enable-grib2 --enable-python > configure.log 2>&1
>> make > make.log 2>&1
>> make returned with non-zero (2) status
>>
>> In a separate email, Julie had me include
>> > export BUFRLIB_NAME=-lbufr
>> > export GRIB2CLIB_NAME=-lgrib2c
>>
>> in the install script as they don't persist with the way I'm
compiling
>> things with the script, so I am running it again just to see if
that
>> helps.
>>
>> Rob
>>
>> Rob Steenburgh <robert.steenburgh at noaa.gov>
>> Space Scientist
>> Space Weather Forecast Office
>> Space Weather Prediction Center <http://www.swpc.noaa.gov>
>> W/NP9
>> 325 Broadway
>> Boulder, CO 80305
>> 303.497.5153
>>
>>
>>
>>
>> On Wed, May 20, 2020 at 3:48 PM John Halley Gotway via RT <
>> met_help at ucar.edu>
>> wrote:
>>
>> > Rob,
>> >
>> > Thanks for sending your data files. Looking in
install_met_env.METplus,
>> > can we please try simplifying the python settings as:
>> > export MET_PYTHON_CC='-I/usr/include/python3.7m'
>> > export MET_PYTHON_LD='-L/usr/lib/python3.7/config-3.7m-i386-
linux-gnu
>> > -L/usr/lib -lpython3.7m -lcrypt -lpthread -ldl -lutil -lm'
>> >
>> > Not sure if that'll fix it, but I'd like to try it.
>> >
>> > Thanks,
>> > John
>> >
>> > On Wed, May 20, 2020 at 3:16 PM robert.steenburgh at noaa.gov via RT
<
>> > met_help at ucar.edu> wrote:
>> >
>> > >
>> > > Wed May 20 15:16:00 2020: Request 95320 was acted upon.
>> > > Transaction: Ticket created by robert.steenburgh at noaa.gov
>> > > Queue: met_help
>> > > Subject: python3_dict.cc:460:37: error: invalid conversion
>> > > Owner: Nobody
>> > > Requestors: robert.steenburgh at noaa.gov
>> > > Status: new
>> > > Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95320
>> >
>> > >
>> > >
>> > > Greetings:
>> > >
>> > > I was able to successfully compile MET 9.0.1 *without* Python
support,
>> > but
>> > > Tara suggested I include it, given the non-standard nature of a
lot of
>> > our
>> > > space weather model output.
>> > >
>> > > Unfortunately, the compile attempt failed.
>> > >
>> > > I've attached the *make.log* as well as the *compile script* I
was
>> using.
>> > > In the compile script I turned off everything but MET since I'd
>> > > successfully compiled all the libraries already. Finally, I've
>> included
>> > > the *environment variable specification file *since
MET_PYHTON_CC and
>> > > MET_PYTHON_LD had to be defined. I took the output from
>> python3-config
>> > > verbatim.
>> > >
>> > > Thanks, as always,
>> > > Rob
>> > > (frequent flier)
>> > >
>> > >
>> > > Rob Steenburgh <robert.steenburgh at noaa.gov>
>> > > Space Scientist
>> > > Space Weather Forecast Office
>> > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
>> > > W/NP9
>> > > 325 Broadway
>> > > Boulder, CO 80305
>> > > 303.497.5153
>> > >
>> > >
>> >
>> >
>>
>>
>
> --
> Julie Prestopnik
> Software Engineer
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
> My working day may not be your working day. Please do not feel
obliged to
> reply to this email outside of your normal working hours.
>
--
Julie Prestopnik
Software Engineer
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu
My working day may not be your working day. Please do not feel
obliged to
reply to this email outside of your normal working hours.
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: robert.steenburgh at noaa.gov
Time: Wed May 20 17:02:16 2020
Hi Julie:
Tried with backslash but it didn't like it. I've attached my
install...
file in case I botched it.
Compiling MET at Wed 20 May 2020 04:59:27 PM MDT
MET Configuration settings...
export MET_HDF=/home/rob/bin/MET9.01/external_libs
export MET_PYTHON_CC=-I/usr/include/python3.7m
export MET_NETCDF=/home/rob/bin/MET9.01/external_libs
export MET_PYTHON_EXE=/usr/bin/python3
export MET_TARBALL=/home/rob/bin/MET9.01/tar_files/met-
9.0.1.20200423.tar.gz
export MET_HDF5=/home/rob/bin/MET9.01/external_libs
export MET_FONT_DIR=/home/rob/bin/MET9.01/fonts
export MET_GRIB2C=/home/rob/bin/MET9.01/external_libs
export MET_GSL=/home/rob/bin/MET9.01/external_libs
export MET_BUFRLIB=/home/rob/bin/MET9.01/external_libs/lib
export MET_HDFEOS=/home/rob/bin/MET9.01/external_libs
export MET_SUBDIR=/home/rob/bin/MET9.01
export MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-linux-gnu\
-L/usr/lib\ -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\ -lutil\ -lm
LDFLAGS = -Wl,--disable-new-dtags
-Wl,-
rpath,/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib::/lib
-Wl,-rpath,:: -L -L/home/rob/bin/MET9.01/external_libs/lib
cd /home/rob/bin/MET9.01/met-9.0.1
./configure --prefix=/home/rob/bin/MET9.01 BUFRLIB_NAME=-lbufr
GRIB2CLIB_NAME=-lgrib2c --enable-grib2 --enable-python >
configure.log
2>&1
configure returned with non-zero (77) status
rob at METPlusTest:~/bin/MET9.01$
Cheers,
Rob
Rob Steenburgh <robert.steenburgh at noaa.gov>
Space Scientist
Space Weather Forecast Office
Space Weather Prediction Center <http://www.swpc.noaa.gov>
W/NP9
325 Broadway
Boulder, CO 80305
303.497.5153
On Wed, May 20, 2020 at 4:47 PM Julie Prestopnik via RT
<met_help at ucar.edu>
wrote:
> Hi Rob.
>
> I believe backslashes are needed for the spaces in MET_PYTHON_LD.
Could
> you please try again with the following setting for MET_PYTHON_LD?
>
> export
> > MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-linux-gnu\
> -L/usr/lib\
> > -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\ -lutil\ -lm
>
>
> Thanks!
>
> Julie
>
>
> On Wed, May 20, 2020 at 4:36 PM robert.steenburgh at noaa.gov via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> >
> > Hi John:
> >
> > Same result:
> >
> > Compiling MET at Wed 20 May 2020 04:06:53 PM MDT
> > MET Configuration settings...
> > export MET_HDF=/home/rob/bin/MET9.01/external_libs
> > export MET_PYTHON_CC=-I/usr/include/python3.7m
> > export MET_NETCDF=/home/rob/bin/MET9.01/external_libs
> > export MET_PYTHON_EXE=/usr/bin/python3
> > export
> > MET_TARBALL=/home/rob/bin/MET9.01/tar_files/met-
9.0.1.20200423.tar.gz
> > export MET_HDF5=/home/rob/bin/MET9.01/external_libs
> > export MET_FONT_DIR=/home/rob/bin/MET9.01/fonts
> > export MET_GRIB2C=/home/rob/bin/MET9.01/external_libs
> > export MET_GSL=/home/rob/bin/MET9.01/external_libs
> > export MET_BUFRLIB=/home/rob/bin/MET9.01/external_libs/lib
> > export MET_HDFEOS=/home/rob/bin/MET9.01/external_libs
> > export MET_SUBDIR=/home/rob/bin/MET9.01
> > export MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-linux-
gnu
> > -L/usr/lib -lpython3.7m -lcrypt -lpthread -ldl -lutil -lm
> > LDFLAGS = -Wl,--disable-new-dtags
> >
> >
> -Wl,-
rpath,/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib::/lib
> > -Wl,-rpath,:: -L -L/home/rob/bin/MET9.01/external_libs/lib
> > cd /home/rob/bin/MET9.01/met-9.0.1
> > ./configure --prefix=/home/rob/bin/MET9.01 BUFRLIB_NAME=
GRIB2CLIB_NAME=
> > --enable-grib2 --enable-python > configure.log 2>&1
> > make > make.log 2>&1
> > make returned with non-zero (2) status
> >
> > In a separate email, Julie had me include
> > > export BUFRLIB_NAME=-lbufr
> > > export GRIB2CLIB_NAME=-lgrib2c
> >
> > in the install script as they don't persist with the way I'm
compiling
> > things with the script, so I am running it again just to see if
that
> helps.
> >
> > Rob
> >
> > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > Space Scientist
> > Space Weather Forecast Office
> > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > W/NP9
> > 325 Broadway
> > Boulder, CO 80305
> > 303.497.5153
> >
> >
> >
> >
> > On Wed, May 20, 2020 at 3:48 PM John Halley Gotway via RT <
> > met_help at ucar.edu>
> > wrote:
> >
> > > Rob,
> > >
> > > Thanks for sending your data files. Looking in
> install_met_env.METplus,
> > > can we please try simplifying the python settings as:
> > > export MET_PYTHON_CC='-I/usr/include/python3.7m'
> > > export MET_PYTHON_LD='-L/usr/lib/python3.7/config-3.7m-i386-
linux-gnu
> > > -L/usr/lib -lpython3.7m -lcrypt -lpthread -ldl -lutil -lm'
> > >
> > > Not sure if that'll fix it, but I'd like to try it.
> > >
> > > Thanks,
> > > John
> > >
> > > On Wed, May 20, 2020 at 3:16 PM robert.steenburgh at noaa.gov via
RT <
> > > met_help at ucar.edu> wrote:
> > >
> > > >
> > > > Wed May 20 15:16:00 2020: Request 95320 was acted upon.
> > > > Transaction: Ticket created by robert.steenburgh at noaa.gov
> > > > Queue: met_help
> > > > Subject: python3_dict.cc:460:37: error: invalid
conversion
> > > > Owner: Nobody
> > > > Requestors: robert.steenburgh at noaa.gov
> > > > Status: new
> > > > Ticket <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95320
> > >
> > > >
> > > >
> > > > Greetings:
> > > >
> > > > I was able to successfully compile MET 9.0.1 *without* Python
> support,
> > > but
> > > > Tara suggested I include it, given the non-standard nature of
a lot
> of
> > > our
> > > > space weather model output.
> > > >
> > > > Unfortunately, the compile attempt failed.
> > > >
> > > > I've attached the *make.log* as well as the *compile script* I
was
> > using.
> > > > In the compile script I turned off everything but MET since
I'd
> > > > successfully compiled all the libraries already. Finally,
I've
> > included
> > > > the *environment variable specification file *since
MET_PYHTON_CC and
> > > > MET_PYTHON_LD had to be defined. I took the output from
> python3-config
> > > > verbatim.
> > > >
> > > > Thanks, as always,
> > > > Rob
> > > > (frequent flier)
> > > >
> > > >
> > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > Space Scientist
> > > > Space Weather Forecast Office
> > > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > > W/NP9
> > > > 325 Broadway
> > > > Boulder, CO 80305
> > > > 303.497.5153
> > > >
> > > >
> > >
> > >
> >
> >
>
> --
> Julie Prestopnik
> Software Engineer
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
> My working day may not be your working day. Please do not feel
obliged to
> reply to this email outside of your normal working hours.
>
>
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: Julie Prestopnik
Time: Wed May 20 17:08:00 2020
I'm sorry to hear that. Could you please send your config.log file so
we
can take a look?
Julie
On Wed, May 20, 2020 at 5:02 PM robert.steenburgh at noaa.gov via RT <
met_help at ucar.edu> wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
>
> Hi Julie:
>
> Tried with backslash but it didn't like it. I've attached my
install...
> file in case I botched it.
>
>
> Compiling MET at Wed 20 May 2020 04:59:27 PM MDT
> MET Configuration settings...
> export MET_HDF=/home/rob/bin/MET9.01/external_libs
> export MET_PYTHON_CC=-I/usr/include/python3.7m
> export MET_NETCDF=/home/rob/bin/MET9.01/external_libs
> export MET_PYTHON_EXE=/usr/bin/python3
> export
> MET_TARBALL=/home/rob/bin/MET9.01/tar_files/met-
9.0.1.20200423.tar.gz
> export MET_HDF5=/home/rob/bin/MET9.01/external_libs
> export MET_FONT_DIR=/home/rob/bin/MET9.01/fonts
> export MET_GRIB2C=/home/rob/bin/MET9.01/external_libs
> export MET_GSL=/home/rob/bin/MET9.01/external_libs
> export MET_BUFRLIB=/home/rob/bin/MET9.01/external_libs/lib
> export MET_HDFEOS=/home/rob/bin/MET9.01/external_libs
> export MET_SUBDIR=/home/rob/bin/MET9.01
> export MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-linux-
gnu\
> -L/usr/lib\ -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\ -lutil\ -lm
> LDFLAGS = -Wl,--disable-new-dtags
>
> -Wl,-
rpath,/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib::/lib
> -Wl,-rpath,:: -L -L/home/rob/bin/MET9.01/external_libs/lib
> cd /home/rob/bin/MET9.01/met-9.0.1
> ./configure --prefix=/home/rob/bin/MET9.01 BUFRLIB_NAME=-lbufr
> GRIB2CLIB_NAME=-lgrib2c --enable-grib2 --enable-python >
configure.log
> 2>&1
> configure returned with non-zero (77) status
> rob at METPlusTest:~/bin/MET9.01$
>
> Cheers,
> Rob
> Rob Steenburgh <robert.steenburgh at noaa.gov>
> Space Scientist
> Space Weather Forecast Office
> Space Weather Prediction Center <http://www.swpc.noaa.gov>
> W/NP9
> 325 Broadway
> Boulder, CO 80305
> 303.497.5153
>
>
>
>
> On Wed, May 20, 2020 at 4:47 PM Julie Prestopnik via RT
<met_help at ucar.edu
> >
> wrote:
>
> > Hi Rob.
> >
> > I believe backslashes are needed for the spaces in MET_PYTHON_LD.
Could
> > you please try again with the following setting for MET_PYTHON_LD?
> >
> > export
> > > MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-linux-gnu\
> > -L/usr/lib\
> > > -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\ -lutil\ -lm
> >
> >
> > Thanks!
> >
> > Julie
> >
> >
> > On Wed, May 20, 2020 at 4:36 PM robert.steenburgh at noaa.gov via RT
<
> > met_help at ucar.edu> wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> > >
> > > Hi John:
> > >
> > > Same result:
> > >
> > > Compiling MET at Wed 20 May 2020 04:06:53 PM MDT
> > > MET Configuration settings...
> > > export MET_HDF=/home/rob/bin/MET9.01/external_libs
> > > export MET_PYTHON_CC=-I/usr/include/python3.7m
> > > export MET_NETCDF=/home/rob/bin/MET9.01/external_libs
> > > export MET_PYTHON_EXE=/usr/bin/python3
> > > export
> > > MET_TARBALL=/home/rob/bin/MET9.01/tar_files/met-
9.0.1.20200423.tar.gz
> > > export MET_HDF5=/home/rob/bin/MET9.01/external_libs
> > > export MET_FONT_DIR=/home/rob/bin/MET9.01/fonts
> > > export MET_GRIB2C=/home/rob/bin/MET9.01/external_libs
> > > export MET_GSL=/home/rob/bin/MET9.01/external_libs
> > > export MET_BUFRLIB=/home/rob/bin/MET9.01/external_libs/lib
> > > export MET_HDFEOS=/home/rob/bin/MET9.01/external_libs
> > > export MET_SUBDIR=/home/rob/bin/MET9.01
> > > export MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-
linux-gnu
> > > -L/usr/lib -lpython3.7m -lcrypt -lpthread -ldl -lutil -lm
> > > LDFLAGS = -Wl,--disable-new-dtags
> > >
> > >
> >
> -Wl,-
rpath,/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib::/lib
> > > -Wl,-rpath,:: -L -L/home/rob/bin/MET9.01/external_libs/lib
> > > cd /home/rob/bin/MET9.01/met-9.0.1
> > > ./configure --prefix=/home/rob/bin/MET9.01 BUFRLIB_NAME=
> GRIB2CLIB_NAME=
> > > --enable-grib2 --enable-python > configure.log 2>&1
> > > make > make.log 2>&1
> > > make returned with non-zero (2) status
> > >
> > > In a separate email, Julie had me include
> > > > export BUFRLIB_NAME=-lbufr
> > > > export GRIB2CLIB_NAME=-lgrib2c
> > >
> > > in the install script as they don't persist with the way I'm
compiling
> > > things with the script, so I am running it again just to see if
that
> > helps.
> > >
> > > Rob
> > >
> > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > Space Scientist
> > > Space Weather Forecast Office
> > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > W/NP9
> > > 325 Broadway
> > > Boulder, CO 80305
> > > 303.497.5153
> > >
> > >
> > >
> > >
> > > On Wed, May 20, 2020 at 3:48 PM John Halley Gotway via RT <
> > > met_help at ucar.edu>
> > > wrote:
> > >
> > > > Rob,
> > > >
> > > > Thanks for sending your data files. Looking in
> > install_met_env.METplus,
> > > > can we please try simplifying the python settings as:
> > > > export MET_PYTHON_CC='-I/usr/include/python3.7m'
> > > > export MET_PYTHON_LD='-L/usr/lib/python3.7/config-3.7m-i386-
linux-gnu
> > > > -L/usr/lib -lpython3.7m -lcrypt -lpthread -ldl -lutil -lm'
> > > >
> > > > Not sure if that'll fix it, but I'd like to try it.
> > > >
> > > > Thanks,
> > > > John
> > > >
> > > > On Wed, May 20, 2020 at 3:16 PM robert.steenburgh at noaa.gov via
RT <
> > > > met_help at ucar.edu> wrote:
> > > >
> > > > >
> > > > > Wed May 20 15:16:00 2020: Request 95320 was acted upon.
> > > > > Transaction: Ticket created by robert.steenburgh at noaa.gov
> > > > > Queue: met_help
> > > > > Subject: python3_dict.cc:460:37: error: invalid
conversion
> > > > > Owner: Nobody
> > > > > Requestors: robert.steenburgh at noaa.gov
> > > > > Status: new
> > > > > Ticket <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95320
> > > >
> > > > >
> > > > >
> > > > > Greetings:
> > > > >
> > > > > I was able to successfully compile MET 9.0.1 *without*
Python
> > support,
> > > > but
> > > > > Tara suggested I include it, given the non-standard nature
of a lot
> > of
> > > > our
> > > > > space weather model output.
> > > > >
> > > > > Unfortunately, the compile attempt failed.
> > > > >
> > > > > I've attached the *make.log* as well as the *compile script*
I was
> > > using.
> > > > > In the compile script I turned off everything but MET since
I'd
> > > > > successfully compiled all the libraries already. Finally,
I've
> > > included
> > > > > the *environment variable specification file *since
MET_PYHTON_CC
> and
> > > > > MET_PYTHON_LD had to be defined. I took the output from
> > python3-config
> > > > > verbatim.
> > > > >
> > > > > Thanks, as always,
> > > > > Rob
> > > > > (frequent flier)
> > > > >
> > > > >
> > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > > Space Scientist
> > > > > Space Weather Forecast Office
> > > > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > > > W/NP9
> > > > > 325 Broadway
> > > > > Boulder, CO 80305
> > > > > 303.497.5153
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> > --
> > Julie Prestopnik
> > Software Engineer
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
> > My working day may not be your working day. Please do not feel
obliged
> to
> > reply to this email outside of your normal working hours.
> >
> >
>
>
--
Julie Prestopnik
Software Engineer
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu
My working day may not be your working day. Please do not feel
obliged to
reply to this email outside of your normal working hours.
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: robert.steenburgh at noaa.gov
Time: Wed May 20 17:15:14 2020
Sure!
Rob Steenburgh <robert.steenburgh at noaa.gov>
Space Scientist
Space Weather Forecast Office
Space Weather Prediction Center <http://www.swpc.noaa.gov>
W/NP9
325 Broadway
Boulder, CO 80305
303.497.5153
On Wed, May 20, 2020 at 5:08 PM Julie Prestopnik via RT
<met_help at ucar.edu>
wrote:
> I'm sorry to hear that. Could you please send your config.log file
so we
> can take a look?
>
> Julie
>
> On Wed, May 20, 2020 at 5:02 PM robert.steenburgh at noaa.gov via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> >
> > Hi Julie:
> >
> > Tried with backslash but it didn't like it. I've attached my
install...
> > file in case I botched it.
> >
> >
> > Compiling MET at Wed 20 May 2020 04:59:27 PM MDT
> > MET Configuration settings...
> > export MET_HDF=/home/rob/bin/MET9.01/external_libs
> > export MET_PYTHON_CC=-I/usr/include/python3.7m
> > export MET_NETCDF=/home/rob/bin/MET9.01/external_libs
> > export MET_PYTHON_EXE=/usr/bin/python3
> > export
> > MET_TARBALL=/home/rob/bin/MET9.01/tar_files/met-
9.0.1.20200423.tar.gz
> > export MET_HDF5=/home/rob/bin/MET9.01/external_libs
> > export MET_FONT_DIR=/home/rob/bin/MET9.01/fonts
> > export MET_GRIB2C=/home/rob/bin/MET9.01/external_libs
> > export MET_GSL=/home/rob/bin/MET9.01/external_libs
> > export MET_BUFRLIB=/home/rob/bin/MET9.01/external_libs/lib
> > export MET_HDFEOS=/home/rob/bin/MET9.01/external_libs
> > export MET_SUBDIR=/home/rob/bin/MET9.01
> > export MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-linux-
gnu\
> > -L/usr/lib\ -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\ -lutil\ -lm
> > LDFLAGS = -Wl,--disable-new-dtags
> >
> >
> -Wl,-
rpath,/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib::/lib
> > -Wl,-rpath,:: -L -L/home/rob/bin/MET9.01/external_libs/lib
> > cd /home/rob/bin/MET9.01/met-9.0.1
> > ./configure --prefix=/home/rob/bin/MET9.01 BUFRLIB_NAME=-lbufr
> > GRIB2CLIB_NAME=-lgrib2c --enable-grib2 --enable-python >
> configure.log
> > 2>&1
> > configure returned with non-zero (77) status
> > rob at METPlusTest:~/bin/MET9.01$
> >
> > Cheers,
> > Rob
> > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > Space Scientist
> > Space Weather Forecast Office
> > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > W/NP9
> > 325 Broadway
> > Boulder, CO 80305
> > 303.497.5153
> >
> >
> >
> >
> > On Wed, May 20, 2020 at 4:47 PM Julie Prestopnik via RT <
> met_help at ucar.edu
> > >
> > wrote:
> >
> > > Hi Rob.
> > >
> > > I believe backslashes are needed for the spaces in
MET_PYTHON_LD.
> Could
> > > you please try again with the following setting for
MET_PYTHON_LD?
> > >
> > > export
> > > > MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-linux-gnu\
> > > -L/usr/lib\
> > > > -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\ -lutil\ -lm
> > >
> > >
> > > Thanks!
> > >
> > > Julie
> > >
> > >
> > > On Wed, May 20, 2020 at 4:36 PM robert.steenburgh at noaa.gov via
RT <
> > > met_help at ucar.edu> wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277
>
> > > >
> > > > Hi John:
> > > >
> > > > Same result:
> > > >
> > > > Compiling MET at Wed 20 May 2020 04:06:53 PM MDT
> > > > MET Configuration settings...
> > > > export MET_HDF=/home/rob/bin/MET9.01/external_libs
> > > > export MET_PYTHON_CC=-I/usr/include/python3.7m
> > > > export MET_NETCDF=/home/rob/bin/MET9.01/external_libs
> > > > export MET_PYTHON_EXE=/usr/bin/python3
> > > > export
> > > > MET_TARBALL=/home/rob/bin/MET9.01/tar_files/met-
9.0.1.20200423.tar.gz
> > > > export MET_HDF5=/home/rob/bin/MET9.01/external_libs
> > > > export MET_FONT_DIR=/home/rob/bin/MET9.01/fonts
> > > > export MET_GRIB2C=/home/rob/bin/MET9.01/external_libs
> > > > export MET_GSL=/home/rob/bin/MET9.01/external_libs
> > > > export MET_BUFRLIB=/home/rob/bin/MET9.01/external_libs/lib
> > > > export MET_HDFEOS=/home/rob/bin/MET9.01/external_libs
> > > > export MET_SUBDIR=/home/rob/bin/MET9.01
> > > > export MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-
linux-gnu
> > > > -L/usr/lib -lpython3.7m -lcrypt -lpthread -ldl -lutil -lm
> > > > LDFLAGS = -Wl,--disable-new-dtags
> > > >
> > > >
> > >
> >
> -Wl,-
rpath,/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib::/lib
> > > > -Wl,-rpath,:: -L -L/home/rob/bin/MET9.01/external_libs/lib
> > > > cd /home/rob/bin/MET9.01/met-9.0.1
> > > > ./configure --prefix=/home/rob/bin/MET9.01 BUFRLIB_NAME=
> > GRIB2CLIB_NAME=
> > > > --enable-grib2 --enable-python > configure.log 2>&1
> > > > make > make.log 2>&1
> > > > make returned with non-zero (2) status
> > > >
> > > > In a separate email, Julie had me include
> > > > > export BUFRLIB_NAME=-lbufr
> > > > > export GRIB2CLIB_NAME=-lgrib2c
> > > >
> > > > in the install script as they don't persist with the way I'm
> compiling
> > > > things with the script, so I am running it again just to see
if that
> > > helps.
> > > >
> > > > Rob
> > > >
> > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > Space Scientist
> > > > Space Weather Forecast Office
> > > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > > W/NP9
> > > > 325 Broadway
> > > > Boulder, CO 80305
> > > > 303.497.5153
> > > >
> > > >
> > > >
> > > >
> > > > On Wed, May 20, 2020 at 3:48 PM John Halley Gotway via RT <
> > > > met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > > Rob,
> > > > >
> > > > > Thanks for sending your data files. Looking in
> > > install_met_env.METplus,
> > > > > can we please try simplifying the python settings as:
> > > > > export MET_PYTHON_CC='-I/usr/include/python3.7m'
> > > > > export
> MET_PYTHON_LD='-L/usr/lib/python3.7/config-3.7m-i386-linux-gnu
> > > > > -L/usr/lib -lpython3.7m -lcrypt -lpthread -ldl -lutil -lm'
> > > > >
> > > > > Not sure if that'll fix it, but I'd like to try it.
> > > > >
> > > > > Thanks,
> > > > > John
> > > > >
> > > > > On Wed, May 20, 2020 at 3:16 PM robert.steenburgh at noaa.gov
via RT
> <
> > > > > met_help at ucar.edu> wrote:
> > > > >
> > > > > >
> > > > > > Wed May 20 15:16:00 2020: Request 95320 was acted upon.
> > > > > > Transaction: Ticket created by robert.steenburgh at noaa.gov
> > > > > > Queue: met_help
> > > > > > Subject: python3_dict.cc:460:37: error: invalid
conversion
> > > > > > Owner: Nobody
> > > > > > Requestors: robert.steenburgh at noaa.gov
> > > > > > Status: new
> > > > > > Ticket <URL:
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95320
> > > > >
> > > > > >
> > > > > >
> > > > > > Greetings:
> > > > > >
> > > > > > I was able to successfully compile MET 9.0.1 *without*
Python
> > > support,
> > > > > but
> > > > > > Tara suggested I include it, given the non-standard nature
of a
> lot
> > > of
> > > > > our
> > > > > > space weather model output.
> > > > > >
> > > > > > Unfortunately, the compile attempt failed.
> > > > > >
> > > > > > I've attached the *make.log* as well as the *compile
script* I
> was
> > > > using.
> > > > > > In the compile script I turned off everything but MET
since I'd
> > > > > > successfully compiled all the libraries already. Finally,
I've
> > > > included
> > > > > > the *environment variable specification file *since
MET_PYHTON_CC
> > and
> > > > > > MET_PYTHON_LD had to be defined. I took the output from
> > > python3-config
> > > > > > verbatim.
> > > > > >
> > > > > > Thanks, as always,
> > > > > > Rob
> > > > > > (frequent flier)
> > > > > >
> > > > > >
> > > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > > > Space Scientist
> > > > > > Space Weather Forecast Office
> > > > > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > > > > W/NP9
> > > > > > 325 Broadway
> > > > > > Boulder, CO 80305
> > > > > > 303.497.5153
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > > --
> > > Julie Prestopnik
> > > Software Engineer
> > > National Center for Atmospheric Research
> > > Research Applications Laboratory
> > > Phone: 303.497.8399
> > > Email: jpresto at ucar.edu
> > >
> > > My working day may not be your working day. Please do not feel
obliged
> > to
> > > reply to this email outside of your normal working hours.
> > >
> > >
> >
> >
>
> --
> Julie Prestopnik
> Software Engineer
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
> My working day may not be your working day. Please do not feel
obliged to
> reply to this email outside of your normal working hours.
>
>
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: Julie Prestopnik
Time: Wed May 20 20:09:22 2020
Thanks, Rob!
Can you please run the following and send me the output?
*ls /usr/lib/python3.7/config-3.7m-i386-linux-gnu*
Thanks!
Julie
On Wed, May 20, 2020 at 5:15 PM robert.steenburgh at noaa.gov via RT <
met_help at ucar.edu> wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
>
> Sure!
>
>
> Rob Steenburgh <robert.steenburgh at noaa.gov>
> Space Scientist
> Space Weather Forecast Office
> Space Weather Prediction Center <http://www.swpc.noaa.gov>
> W/NP9
> 325 Broadway
> Boulder, CO 80305
> 303.497.5153
>
>
>
>
> On Wed, May 20, 2020 at 5:08 PM Julie Prestopnik via RT
<met_help at ucar.edu
> >
> wrote:
>
> > I'm sorry to hear that. Could you please send your config.log
file so we
> > can take a look?
> >
> > Julie
> >
> > On Wed, May 20, 2020 at 5:02 PM robert.steenburgh at noaa.gov via RT
<
> > met_help at ucar.edu> wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> > >
> > > Hi Julie:
> > >
> > > Tried with backslash but it didn't like it. I've attached my
> install...
> > > file in case I botched it.
> > >
> > >
> > > Compiling MET at Wed 20 May 2020 04:59:27 PM MDT
> > > MET Configuration settings...
> > > export MET_HDF=/home/rob/bin/MET9.01/external_libs
> > > export MET_PYTHON_CC=-I/usr/include/python3.7m
> > > export MET_NETCDF=/home/rob/bin/MET9.01/external_libs
> > > export MET_PYTHON_EXE=/usr/bin/python3
> > > export
> > > MET_TARBALL=/home/rob/bin/MET9.01/tar_files/met-
9.0.1.20200423.tar.gz
> > > export MET_HDF5=/home/rob/bin/MET9.01/external_libs
> > > export MET_FONT_DIR=/home/rob/bin/MET9.01/fonts
> > > export MET_GRIB2C=/home/rob/bin/MET9.01/external_libs
> > > export MET_GSL=/home/rob/bin/MET9.01/external_libs
> > > export MET_BUFRLIB=/home/rob/bin/MET9.01/external_libs/lib
> > > export MET_HDFEOS=/home/rob/bin/MET9.01/external_libs
> > > export MET_SUBDIR=/home/rob/bin/MET9.01
> > > export MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-
linux-gnu\
> > > -L/usr/lib\ -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\ -lutil\ -lm
> > > LDFLAGS = -Wl,--disable-new-dtags
> > >
> > >
> >
> -Wl,-
rpath,/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib::/lib
> > > -Wl,-rpath,:: -L -L/home/rob/bin/MET9.01/external_libs/lib
> > > cd /home/rob/bin/MET9.01/met-9.0.1
> > > ./configure --prefix=/home/rob/bin/MET9.01 BUFRLIB_NAME=-lbufr
> > > GRIB2CLIB_NAME=-lgrib2c --enable-grib2 --enable-python >
> > configure.log
> > > 2>&1
> > > configure returned with non-zero (77) status
> > > rob at METPlusTest:~/bin/MET9.01$
> > >
> > > Cheers,
> > > Rob
> > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > Space Scientist
> > > Space Weather Forecast Office
> > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > W/NP9
> > > 325 Broadway
> > > Boulder, CO 80305
> > > 303.497.5153
> > >
> > >
> > >
> > >
> > > On Wed, May 20, 2020 at 4:47 PM Julie Prestopnik via RT <
> > met_help at ucar.edu
> > > >
> > > wrote:
> > >
> > > > Hi Rob.
> > > >
> > > > I believe backslashes are needed for the spaces in
MET_PYTHON_LD.
> > Could
> > > > you please try again with the following setting for
MET_PYTHON_LD?
> > > >
> > > > export
> > > > > MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-linux-
gnu\
> > > > -L/usr/lib\
> > > > > -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\ -lutil\ -lm
> > > >
> > > >
> > > > Thanks!
> > > >
> > > > Julie
> > > >
> > > >
> > > > On Wed, May 20, 2020 at 4:36 PM robert.steenburgh at noaa.gov via
RT <
> > > > met_help at ucar.edu> wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> > > > >
> > > > > Hi John:
> > > > >
> > > > > Same result:
> > > > >
> > > > > Compiling MET at Wed 20 May 2020 04:06:53 PM MDT
> > > > > MET Configuration settings...
> > > > > export MET_HDF=/home/rob/bin/MET9.01/external_libs
> > > > > export MET_PYTHON_CC=-I/usr/include/python3.7m
> > > > > export MET_NETCDF=/home/rob/bin/MET9.01/external_libs
> > > > > export MET_PYTHON_EXE=/usr/bin/python3
> > > > > export
> > > > >
> MET_TARBALL=/home/rob/bin/MET9.01/tar_files/met-
9.0.1.20200423.tar.gz
> > > > > export MET_HDF5=/home/rob/bin/MET9.01/external_libs
> > > > > export MET_FONT_DIR=/home/rob/bin/MET9.01/fonts
> > > > > export MET_GRIB2C=/home/rob/bin/MET9.01/external_libs
> > > > > export MET_GSL=/home/rob/bin/MET9.01/external_libs
> > > > > export MET_BUFRLIB=/home/rob/bin/MET9.01/external_libs/lib
> > > > > export MET_HDFEOS=/home/rob/bin/MET9.01/external_libs
> > > > > export MET_SUBDIR=/home/rob/bin/MET9.01
> > > > > export
> MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-linux-gnu
> > > > > -L/usr/lib -lpython3.7m -lcrypt -lpthread -ldl -lutil -lm
> > > > > LDFLAGS = -Wl,--disable-new-dtags
> > > > >
> > > > >
> > > >
> > >
> >
> -Wl,-
rpath,/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib::/lib
> > > > > -Wl,-rpath,:: -L -L/home/rob/bin/MET9.01/external_libs/lib
> > > > > cd /home/rob/bin/MET9.01/met-9.0.1
> > > > > ./configure --prefix=/home/rob/bin/MET9.01 BUFRLIB_NAME=
> > > GRIB2CLIB_NAME=
> > > > > --enable-grib2 --enable-python > configure.log 2>&1
> > > > > make > make.log 2>&1
> > > > > make returned with non-zero (2) status
> > > > >
> > > > > In a separate email, Julie had me include
> > > > > > export BUFRLIB_NAME=-lbufr
> > > > > > export GRIB2CLIB_NAME=-lgrib2c
> > > > >
> > > > > in the install script as they don't persist with the way I'm
> > compiling
> > > > > things with the script, so I am running it again just to see
if
> that
> > > > helps.
> > > > >
> > > > > Rob
> > > > >
> > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > > Space Scientist
> > > > > Space Weather Forecast Office
> > > > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > > > W/NP9
> > > > > 325 Broadway
> > > > > Boulder, CO 80305
> > > > > 303.497.5153
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On Wed, May 20, 2020 at 3:48 PM John Halley Gotway via RT <
> > > > > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > > Rob,
> > > > > >
> > > > > > Thanks for sending your data files. Looking in
> > > > install_met_env.METplus,
> > > > > > can we please try simplifying the python settings as:
> > > > > > export MET_PYTHON_CC='-I/usr/include/python3.7m'
> > > > > > export
> > MET_PYTHON_LD='-L/usr/lib/python3.7/config-3.7m-i386-linux-gnu
> > > > > > -L/usr/lib -lpython3.7m -lcrypt -lpthread -ldl -lutil
-lm'
> > > > > >
> > > > > > Not sure if that'll fix it, but I'd like to try it.
> > > > > >
> > > > > > Thanks,
> > > > > > John
> > > > > >
> > > > > > On Wed, May 20, 2020 at 3:16 PM robert.steenburgh at noaa.gov
via
> RT
> > <
> > > > > > met_help at ucar.edu> wrote:
> > > > > >
> > > > > > >
> > > > > > > Wed May 20 15:16:00 2020: Request 95320 was acted upon.
> > > > > > > Transaction: Ticket created by
robert.steenburgh at noaa.gov
> > > > > > > Queue: met_help
> > > > > > > Subject: python3_dict.cc:460:37: error: invalid
conversion
> > > > > > > Owner: Nobody
> > > > > > > Requestors: robert.steenburgh at noaa.gov
> > > > > > > Status: new
> > > > > > > Ticket <URL:
> > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95320
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Greetings:
> > > > > > >
> > > > > > > I was able to successfully compile MET 9.0.1 *without*
Python
> > > > support,
> > > > > > but
> > > > > > > Tara suggested I include it, given the non-standard
nature of a
> > lot
> > > > of
> > > > > > our
> > > > > > > space weather model output.
> > > > > > >
> > > > > > > Unfortunately, the compile attempt failed.
> > > > > > >
> > > > > > > I've attached the *make.log* as well as the *compile
script* I
> > was
> > > > > using.
> > > > > > > In the compile script I turned off everything but MET
since I'd
> > > > > > > successfully compiled all the libraries already.
Finally, I've
> > > > > included
> > > > > > > the *environment variable specification file *since
> MET_PYHTON_CC
> > > and
> > > > > > > MET_PYTHON_LD had to be defined. I took the output from
> > > > python3-config
> > > > > > > verbatim.
> > > > > > >
> > > > > > > Thanks, as always,
> > > > > > > Rob
> > > > > > > (frequent flier)
> > > > > > >
> > > > > > >
> > > > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > > > > Space Scientist
> > > > > > > Space Weather Forecast Office
> > > > > > > Space Weather Prediction Center
<http://www.swpc.noaa.gov>
> > > > > > > W/NP9
> > > > > > > 325 Broadway
> > > > > > > Boulder, CO 80305
> > > > > > > 303.497.5153
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > > --
> > > > Julie Prestopnik
> > > > Software Engineer
> > > > National Center for Atmospheric Research
> > > > Research Applications Laboratory
> > > > Phone: 303.497.8399
> > > > Email: jpresto at ucar.edu
> > > >
> > > > My working day may not be your working day. Please do not
feel
> obliged
> > > to
> > > > reply to this email outside of your normal working hours.
> > > >
> > > >
> > >
> > >
> >
> > --
> > Julie Prestopnik
> > Software Engineer
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
> > My working day may not be your working day. Please do not feel
obliged
> to
> > reply to this email outside of your normal working hours.
> >
> >
>
>
--
Julie Prestopnik
Software Engineer
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu
My working day may not be your working day. Please do not feel
obliged to
reply to this email outside of your normal working hours.
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: robert.steenburgh at noaa.gov
Time: Thu May 21 05:16:52 2020
[image: Screenshot_2020-05-21_05-12-52.png]
As requested
Cheers,
Rob
Rob Steenburgh <robert.steenburgh at noaa.gov>
Space Scientist
Space Weather Forecast Office
Space Weather Prediction Center <http://www.swpc.noaa.gov>
W/NP9
325 Broadway
Boulder, CO 80305
303.497.5153
On Wed, May 20, 2020 at 8:09 PM Julie Prestopnik via RT
<met_help at ucar.edu>
wrote:
> Thanks, Rob!
>
> Can you please run the following and send me the output?
>
> *ls /usr/lib/python3.7/config-3.7m-i386-linux-gnu*
>
>
> Thanks!
>
> Julie
>
> On Wed, May 20, 2020 at 5:15 PM robert.steenburgh at noaa.gov via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> >
> > Sure!
> >
> >
> > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > Space Scientist
> > Space Weather Forecast Office
> > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > W/NP9
> > 325 Broadway
> > Boulder, CO 80305
> > 303.497.5153
> >
> >
> >
> >
> > On Wed, May 20, 2020 at 5:08 PM Julie Prestopnik via RT <
> met_help at ucar.edu
> > >
> > wrote:
> >
> > > I'm sorry to hear that. Could you please send your config.log
file so
> we
> > > can take a look?
> > >
> > > Julie
> > >
> > > On Wed, May 20, 2020 at 5:02 PM robert.steenburgh at noaa.gov via
RT <
> > > met_help at ucar.edu> wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277
>
> > > >
> > > > Hi Julie:
> > > >
> > > > Tried with backslash but it didn't like it. I've attached my
> > install...
> > > > file in case I botched it.
> > > >
> > > >
> > > > Compiling MET at Wed 20 May 2020 04:59:27 PM MDT
> > > > MET Configuration settings...
> > > > export MET_HDF=/home/rob/bin/MET9.01/external_libs
> > > > export MET_PYTHON_CC=-I/usr/include/python3.7m
> > > > export MET_NETCDF=/home/rob/bin/MET9.01/external_libs
> > > > export MET_PYTHON_EXE=/usr/bin/python3
> > > > export
> > > > MET_TARBALL=/home/rob/bin/MET9.01/tar_files/met-
9.0.1.20200423.tar.gz
> > > > export MET_HDF5=/home/rob/bin/MET9.01/external_libs
> > > > export MET_FONT_DIR=/home/rob/bin/MET9.01/fonts
> > > > export MET_GRIB2C=/home/rob/bin/MET9.01/external_libs
> > > > export MET_GSL=/home/rob/bin/MET9.01/external_libs
> > > > export MET_BUFRLIB=/home/rob/bin/MET9.01/external_libs/lib
> > > > export MET_HDFEOS=/home/rob/bin/MET9.01/external_libs
> > > > export MET_SUBDIR=/home/rob/bin/MET9.01
> > > > export MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-
linux-gnu\
> > > > -L/usr/lib\ -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\ -lutil\
-lm
> > > > LDFLAGS = -Wl,--disable-new-dtags
> > > >
> > > >
> > >
> >
> -Wl,-
rpath,/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib::/lib
> > > > -Wl,-rpath,:: -L -L/home/rob/bin/MET9.01/external_libs/lib
> > > > cd /home/rob/bin/MET9.01/met-9.0.1
> > > > ./configure --prefix=/home/rob/bin/MET9.01 BUFRLIB_NAME=-lbufr
> > > > GRIB2CLIB_NAME=-lgrib2c --enable-grib2 --enable-python >
> > > configure.log
> > > > 2>&1
> > > > configure returned with non-zero (77) status
> > > > rob at METPlusTest:~/bin/MET9.01$
> > > >
> > > > Cheers,
> > > > Rob
> > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > Space Scientist
> > > > Space Weather Forecast Office
> > > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > > W/NP9
> > > > 325 Broadway
> > > > Boulder, CO 80305
> > > > 303.497.5153
> > > >
> > > >
> > > >
> > > >
> > > > On Wed, May 20, 2020 at 4:47 PM Julie Prestopnik via RT <
> > > met_help at ucar.edu
> > > > >
> > > > wrote:
> > > >
> > > > > Hi Rob.
> > > > >
> > > > > I believe backslashes are needed for the spaces in
MET_PYTHON_LD.
> > > Could
> > > > > you please try again with the following setting for
MET_PYTHON_LD?
> > > > >
> > > > > export
> > > > > > MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-linux-
gnu\
> > > > > -L/usr/lib\
> > > > > > -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\ -lutil\ -lm
> > > > >
> > > > >
> > > > > Thanks!
> > > > >
> > > > > Julie
> > > > >
> > > > >
> > > > > On Wed, May 20, 2020 at 4:36 PM robert.steenburgh at noaa.gov
via RT
> <
> > > > > met_help at ucar.edu> wrote:
> > > > >
> > > > > >
> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> > > > > >
> > > > > > Hi John:
> > > > > >
> > > > > > Same result:
> > > > > >
> > > > > > Compiling MET at Wed 20 May 2020 04:06:53 PM MDT
> > > > > > MET Configuration settings...
> > > > > > export MET_HDF=/home/rob/bin/MET9.01/external_libs
> > > > > > export MET_PYTHON_CC=-I/usr/include/python3.7m
> > > > > > export MET_NETCDF=/home/rob/bin/MET9.01/external_libs
> > > > > > export MET_PYTHON_EXE=/usr/bin/python3
> > > > > > export
> > > > > >
> > MET_TARBALL=/home/rob/bin/MET9.01/tar_files/met-
9.0.1.20200423.tar.gz
> > > > > > export MET_HDF5=/home/rob/bin/MET9.01/external_libs
> > > > > > export MET_FONT_DIR=/home/rob/bin/MET9.01/fonts
> > > > > > export MET_GRIB2C=/home/rob/bin/MET9.01/external_libs
> > > > > > export MET_GSL=/home/rob/bin/MET9.01/external_libs
> > > > > > export MET_BUFRLIB=/home/rob/bin/MET9.01/external_libs/lib
> > > > > > export MET_HDFEOS=/home/rob/bin/MET9.01/external_libs
> > > > > > export MET_SUBDIR=/home/rob/bin/MET9.01
> > > > > > export
> > MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-linux-gnu
> > > > > > -L/usr/lib -lpython3.7m -lcrypt -lpthread -ldl -lutil -lm
> > > > > > LDFLAGS = -Wl,--disable-new-dtags
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> -Wl,-
rpath,/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib::/lib
> > > > > > -Wl,-rpath,:: -L -L/home/rob/bin/MET9.01/external_libs/lib
> > > > > > cd /home/rob/bin/MET9.01/met-9.0.1
> > > > > > ./configure --prefix=/home/rob/bin/MET9.01 BUFRLIB_NAME=
> > > > GRIB2CLIB_NAME=
> > > > > > --enable-grib2 --enable-python > configure.log 2>&1
> > > > > > make > make.log 2>&1
> > > > > > make returned with non-zero (2) status
> > > > > >
> > > > > > In a separate email, Julie had me include
> > > > > > > export BUFRLIB_NAME=-lbufr
> > > > > > > export GRIB2CLIB_NAME=-lgrib2c
> > > > > >
> > > > > > in the install script as they don't persist with the way
I'm
> > > compiling
> > > > > > things with the script, so I am running it again just to
see if
> > that
> > > > > helps.
> > > > > >
> > > > > > Rob
> > > > > >
> > > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > > > Space Scientist
> > > > > > Space Weather Forecast Office
> > > > > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > > > > W/NP9
> > > > > > 325 Broadway
> > > > > > Boulder, CO 80305
> > > > > > 303.497.5153
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Wed, May 20, 2020 at 3:48 PM John Halley Gotway via RT
<
> > > > > > met_help at ucar.edu>
> > > > > > wrote:
> > > > > >
> > > > > > > Rob,
> > > > > > >
> > > > > > > Thanks for sending your data files. Looking in
> > > > > install_met_env.METplus,
> > > > > > > can we please try simplifying the python settings as:
> > > > > > > export MET_PYTHON_CC='-I/usr/include/python3.7m'
> > > > > > > export
> > > MET_PYTHON_LD='-L/usr/lib/python3.7/config-3.7m-i386-linux-gnu
> > > > > > > -L/usr/lib -lpython3.7m -lcrypt -lpthread -ldl -lutil
-lm'
> > > > > > >
> > > > > > > Not sure if that'll fix it, but I'd like to try it.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > John
> > > > > > >
> > > > > > > On Wed, May 20, 2020 at 3:16 PM
robert.steenburgh at noaa.gov via
> > RT
> > > <
> > > > > > > met_help at ucar.edu> wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > Wed May 20 15:16:00 2020: Request 95320 was acted
upon.
> > > > > > > > Transaction: Ticket created by
robert.steenburgh at noaa.gov
> > > > > > > > Queue: met_help
> > > > > > > > Subject: python3_dict.cc:460:37: error: invalid
> conversion
> > > > > > > > Owner: Nobody
> > > > > > > > Requestors: robert.steenburgh at noaa.gov
> > > > > > > > Status: new
> > > > > > > > Ticket <URL:
> > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95320
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Greetings:
> > > > > > > >
> > > > > > > > I was able to successfully compile MET 9.0.1 *without*
Python
> > > > > support,
> > > > > > > but
> > > > > > > > Tara suggested I include it, given the non-standard
nature
> of a
> > > lot
> > > > > of
> > > > > > > our
> > > > > > > > space weather model output.
> > > > > > > >
> > > > > > > > Unfortunately, the compile attempt failed.
> > > > > > > >
> > > > > > > > I've attached the *make.log* as well as the *compile
script*
> I
> > > was
> > > > > > using.
> > > > > > > > In the compile script I turned off everything but MET
since
> I'd
> > > > > > > > successfully compiled all the libraries already.
Finally,
> I've
> > > > > > included
> > > > > > > > the *environment variable specification file *since
> > MET_PYHTON_CC
> > > > and
> > > > > > > > MET_PYTHON_LD had to be defined. I took the output
from
> > > > > python3-config
> > > > > > > > verbatim.
> > > > > > > >
> > > > > > > > Thanks, as always,
> > > > > > > > Rob
> > > > > > > > (frequent flier)
> > > > > > > >
> > > > > > > >
> > > > > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > > > > > Space Scientist
> > > > > > > > Space Weather Forecast Office
> > > > > > > > Space Weather Prediction Center
<http://www.swpc.noaa.gov>
> > > > > > > > W/NP9
> > > > > > > > 325 Broadway
> > > > > > > > Boulder, CO 80305
> > > > > > > > 303.497.5153
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > > --
> > > > > Julie Prestopnik
> > > > > Software Engineer
> > > > > National Center for Atmospheric Research
> > > > > Research Applications Laboratory
> > > > > Phone: 303.497.8399
> > > > > Email: jpresto at ucar.edu
> > > > >
> > > > > My working day may not be your working day. Please do not
feel
> > obliged
> > > > to
> > > > > reply to this email outside of your normal working hours.
> > > > >
> > > > >
> > > >
> > > >
> > >
> > > --
> > > Julie Prestopnik
> > > Software Engineer
> > > National Center for Atmospheric Research
> > > Research Applications Laboratory
> > > Phone: 303.497.8399
> > > Email: jpresto at ucar.edu
> > >
> > > My working day may not be your working day. Please do not feel
obliged
> > to
> > > reply to this email outside of your normal working hours.
> > >
> > >
> >
> >
>
> --
> Julie Prestopnik
> Software Engineer
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
> My working day may not be your working day. Please do not feel
obliged to
> reply to this email outside of your normal working hours.
>
>
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: Julie Prestopnik
Time: Thu May 21 13:18:16 2020
Hi Rob.
Thank you!
I see in your install_met_env.METPlusTest file you have the Python
variables set using single quotes like this:
export MET_PYTHON_CC='-I/usr/include/python3.7m'
>
> export MET_PYTHON_LD='-L/usr/lib/python3.7/config-3.7m-i386-linux-
gnu\
> -L/usr/lib\ -lpython3.7m\ -lcrypt\ -lpthread\ -\
>
> ldl\ -lutil\ -lm'
>
Please try removing the single quotes and using the following instead:
> export MET_PYTHON_CC=-I/usr/include/python3.7m
export MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-linux-gnu\
> -L/usr/lib\ -lpython3.7m\ -lcrypt\ -lpthread\ -\
>
> ldl\ -lutil\ -lm
>
Please let us know how it goes. Thank you for your patience while we
work
through these issues.
Julie
On Thu, May 21, 2020 at 5:16 AM robert.steenburgh at noaa.gov via RT <
met_help at ucar.edu> wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
>
> [image: Screenshot_2020-05-21_05-12-52.png]
>
> As requested
>
> Cheers,
> Rob
>
> Rob Steenburgh <robert.steenburgh at noaa.gov>
> Space Scientist
> Space Weather Forecast Office
> Space Weather Prediction Center <http://www.swpc.noaa.gov>
> W/NP9
> 325 Broadway
> Boulder, CO 80305
> 303.497.5153
>
>
>
>
> On Wed, May 20, 2020 at 8:09 PM Julie Prestopnik via RT
<met_help at ucar.edu
> >
> wrote:
>
> > Thanks, Rob!
> >
> > Can you please run the following and send me the output?
> >
> > *ls /usr/lib/python3.7/config-3.7m-i386-linux-gnu*
> >
> >
> > Thanks!
> >
> > Julie
> >
> > On Wed, May 20, 2020 at 5:15 PM robert.steenburgh at noaa.gov via RT
<
> > met_help at ucar.edu> wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> > >
> > > Sure!
> > >
> > >
> > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > Space Scientist
> > > Space Weather Forecast Office
> > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > W/NP9
> > > 325 Broadway
> > > Boulder, CO 80305
> > > 303.497.5153
> > >
> > >
> > >
> > >
> > > On Wed, May 20, 2020 at 5:08 PM Julie Prestopnik via RT <
> > met_help at ucar.edu
> > > >
> > > wrote:
> > >
> > > > I'm sorry to hear that. Could you please send your config.log
file
> so
> > we
> > > > can take a look?
> > > >
> > > > Julie
> > > >
> > > > On Wed, May 20, 2020 at 5:02 PM robert.steenburgh at noaa.gov via
RT <
> > > > met_help at ucar.edu> wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> > > > >
> > > > > Hi Julie:
> > > > >
> > > > > Tried with backslash but it didn't like it. I've attached
my
> > > install...
> > > > > file in case I botched it.
> > > > >
> > > > >
> > > > > Compiling MET at Wed 20 May 2020 04:59:27 PM MDT
> > > > > MET Configuration settings...
> > > > > export MET_HDF=/home/rob/bin/MET9.01/external_libs
> > > > > export MET_PYTHON_CC=-I/usr/include/python3.7m
> > > > > export MET_NETCDF=/home/rob/bin/MET9.01/external_libs
> > > > > export MET_PYTHON_EXE=/usr/bin/python3
> > > > > export
> > > > >
> MET_TARBALL=/home/rob/bin/MET9.01/tar_files/met-
9.0.1.20200423.tar.gz
> > > > > export MET_HDF5=/home/rob/bin/MET9.01/external_libs
> > > > > export MET_FONT_DIR=/home/rob/bin/MET9.01/fonts
> > > > > export MET_GRIB2C=/home/rob/bin/MET9.01/external_libs
> > > > > export MET_GSL=/home/rob/bin/MET9.01/external_libs
> > > > > export MET_BUFRLIB=/home/rob/bin/MET9.01/external_libs/lib
> > > > > export MET_HDFEOS=/home/rob/bin/MET9.01/external_libs
> > > > > export MET_SUBDIR=/home/rob/bin/MET9.01
> > > > > export
> MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-linux-gnu\
> > > > > -L/usr/lib\ -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\ -lutil\
-lm
> > > > > LDFLAGS = -Wl,--disable-new-dtags
> > > > >
> > > > >
> > > >
> > >
> >
> -Wl,-
rpath,/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib::/lib
> > > > > -Wl,-rpath,:: -L -L/home/rob/bin/MET9.01/external_libs/lib
> > > > > cd /home/rob/bin/MET9.01/met-9.0.1
> > > > > ./configure --prefix=/home/rob/bin/MET9.01 BUFRLIB_NAME=-
lbufr
> > > > > GRIB2CLIB_NAME=-lgrib2c --enable-grib2 --enable-python
>
> > > > configure.log
> > > > > 2>&1
> > > > > configure returned with non-zero (77) status
> > > > > rob at METPlusTest:~/bin/MET9.01$
> > > > >
> > > > > Cheers,
> > > > > Rob
> > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > > Space Scientist
> > > > > Space Weather Forecast Office
> > > > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > > > W/NP9
> > > > > 325 Broadway
> > > > > Boulder, CO 80305
> > > > > 303.497.5153
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On Wed, May 20, 2020 at 4:47 PM Julie Prestopnik via RT <
> > > > met_help at ucar.edu
> > > > > >
> > > > > wrote:
> > > > >
> > > > > > Hi Rob.
> > > > > >
> > > > > > I believe backslashes are needed for the spaces in
MET_PYTHON_LD.
> > > > Could
> > > > > > you please try again with the following setting for
> MET_PYTHON_LD?
> > > > > >
> > > > > > export
> > > > > > > MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-
linux-gnu\
> > > > > > -L/usr/lib\
> > > > > > > -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\ -lutil\ -lm
> > > > > >
> > > > > >
> > > > > > Thanks!
> > > > > >
> > > > > > Julie
> > > > > >
> > > > > >
> > > > > > On Wed, May 20, 2020 at 4:36 PM robert.steenburgh at noaa.gov
via
> RT
> > <
> > > > > > met_help at ucar.edu> wrote:
> > > > > >
> > > > > > >
> > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277
> >
> > > > > > >
> > > > > > > Hi John:
> > > > > > >
> > > > > > > Same result:
> > > > > > >
> > > > > > > Compiling MET at Wed 20 May 2020 04:06:53 PM MDT
> > > > > > > MET Configuration settings...
> > > > > > > export MET_HDF=/home/rob/bin/MET9.01/external_libs
> > > > > > > export MET_PYTHON_CC=-I/usr/include/python3.7m
> > > > > > > export MET_NETCDF=/home/rob/bin/MET9.01/external_libs
> > > > > > > export MET_PYTHON_EXE=/usr/bin/python3
> > > > > > > export
> > > > > > >
> > > MET_TARBALL=/home/rob/bin/MET9.01/tar_files/met-
9.0.1.20200423.tar.gz
> > > > > > > export MET_HDF5=/home/rob/bin/MET9.01/external_libs
> > > > > > > export MET_FONT_DIR=/home/rob/bin/MET9.01/fonts
> > > > > > > export MET_GRIB2C=/home/rob/bin/MET9.01/external_libs
> > > > > > > export MET_GSL=/home/rob/bin/MET9.01/external_libs
> > > > > > > export
MET_BUFRLIB=/home/rob/bin/MET9.01/external_libs/lib
> > > > > > > export MET_HDFEOS=/home/rob/bin/MET9.01/external_libs
> > > > > > > export MET_SUBDIR=/home/rob/bin/MET9.01
> > > > > > > export
> > > MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-linux-gnu
> > > > > > > -L/usr/lib -lpython3.7m -lcrypt -lpthread -ldl -lutil
-lm
> > > > > > > LDFLAGS = -Wl,--disable-new-dtags
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> -Wl,-
rpath,/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib::/lib
> > > > > > > -Wl,-rpath,:: -L
-L/home/rob/bin/MET9.01/external_libs/lib
> > > > > > > cd /home/rob/bin/MET9.01/met-9.0.1
> > > > > > > ./configure --prefix=/home/rob/bin/MET9.01 BUFRLIB_NAME=
> > > > > GRIB2CLIB_NAME=
> > > > > > > --enable-grib2 --enable-python > configure.log 2>&1
> > > > > > > make > make.log 2>&1
> > > > > > > make returned with non-zero (2) status
> > > > > > >
> > > > > > > In a separate email, Julie had me include
> > > > > > > > export BUFRLIB_NAME=-lbufr
> > > > > > > > export GRIB2CLIB_NAME=-lgrib2c
> > > > > > >
> > > > > > > in the install script as they don't persist with the way
I'm
> > > > compiling
> > > > > > > things with the script, so I am running it again just to
see if
> > > that
> > > > > > helps.
> > > > > > >
> > > > > > > Rob
> > > > > > >
> > > > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > > > > Space Scientist
> > > > > > > Space Weather Forecast Office
> > > > > > > Space Weather Prediction Center
<http://www.swpc.noaa.gov>
> > > > > > > W/NP9
> > > > > > > 325 Broadway
> > > > > > > Boulder, CO 80305
> > > > > > > 303.497.5153
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On Wed, May 20, 2020 at 3:48 PM John Halley Gotway via
RT <
> > > > > > > met_help at ucar.edu>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Rob,
> > > > > > > >
> > > > > > > > Thanks for sending your data files. Looking in
> > > > > > install_met_env.METplus,
> > > > > > > > can we please try simplifying the python settings as:
> > > > > > > > export MET_PYTHON_CC='-I/usr/include/python3.7m'
> > > > > > > > export
> > > > MET_PYTHON_LD='-L/usr/lib/python3.7/config-3.7m-i386-linux-gnu
> > > > > > > > -L/usr/lib -lpython3.7m -lcrypt -lpthread -ldl -lutil
-lm'
> > > > > > > >
> > > > > > > > Not sure if that'll fix it, but I'd like to try it.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > John
> > > > > > > >
> > > > > > > > On Wed, May 20, 2020 at 3:16 PM
robert.steenburgh at noaa.gov
> via
> > > RT
> > > > <
> > > > > > > > met_help at ucar.edu> wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > Wed May 20 15:16:00 2020: Request 95320 was acted
upon.
> > > > > > > > > Transaction: Ticket created by
robert.steenburgh at noaa.gov
> > > > > > > > > Queue: met_help
> > > > > > > > > Subject: python3_dict.cc:460:37: error: invalid
> > conversion
> > > > > > > > > Owner: Nobody
> > > > > > > > > Requestors: robert.steenburgh at noaa.gov
> > > > > > > > > Status: new
> > > > > > > > > Ticket <URL:
> > > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95320
> > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Greetings:
> > > > > > > > >
> > > > > > > > > I was able to successfully compile MET 9.0.1
*without*
> Python
> > > > > > support,
> > > > > > > > but
> > > > > > > > > Tara suggested I include it, given the non-standard
nature
> > of a
> > > > lot
> > > > > > of
> > > > > > > > our
> > > > > > > > > space weather model output.
> > > > > > > > >
> > > > > > > > > Unfortunately, the compile attempt failed.
> > > > > > > > >
> > > > > > > > > I've attached the *make.log* as well as the *compile
> script*
> > I
> > > > was
> > > > > > > using.
> > > > > > > > > In the compile script I turned off everything but
MET since
> > I'd
> > > > > > > > > successfully compiled all the libraries already.
Finally,
> > I've
> > > > > > > included
> > > > > > > > > the *environment variable specification file *since
> > > MET_PYHTON_CC
> > > > > and
> > > > > > > > > MET_PYTHON_LD had to be defined. I took the output
from
> > > > > > python3-config
> > > > > > > > > verbatim.
> > > > > > > > >
> > > > > > > > > Thanks, as always,
> > > > > > > > > Rob
> > > > > > > > > (frequent flier)
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > > > > > > Space Scientist
> > > > > > > > > Space Weather Forecast Office
> > > > > > > > > Space Weather Prediction Center
<http://www.swpc.noaa.gov>
> > > > > > > > > W/NP9
> > > > > > > > > 325 Broadway
> > > > > > > > > Boulder, CO 80305
> > > > > > > > > 303.497.5153
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > --
> > > > > > Julie Prestopnik
> > > > > > Software Engineer
> > > > > > National Center for Atmospheric Research
> > > > > > Research Applications Laboratory
> > > > > > Phone: 303.497.8399
> > > > > > Email: jpresto at ucar.edu
> > > > > >
> > > > > > My working day may not be your working day. Please do not
feel
> > > obliged
> > > > > to
> > > > > > reply to this email outside of your normal working hours.
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > > --
> > > > Julie Prestopnik
> > > > Software Engineer
> > > > National Center for Atmospheric Research
> > > > Research Applications Laboratory
> > > > Phone: 303.497.8399
> > > > Email: jpresto at ucar.edu
> > > >
> > > > My working day may not be your working day. Please do not
feel
> obliged
> > > to
> > > > reply to this email outside of your normal working hours.
> > > >
> > > >
> > >
> > >
> >
> > --
> > Julie Prestopnik
> > Software Engineer
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
> > My working day may not be your working day. Please do not feel
obliged
> to
> > reply to this email outside of your normal working hours.
> >
> >
>
>
--
Julie Prestopnik
Software Engineer
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu
My working day may not be your working day. Please do not feel
obliged to
reply to this email outside of your normal working hours.
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: robert.steenburgh at noaa.gov
Time: Thu May 21 14:01:44 2020
Hi Julie -
I'm just grateful for the support you and your colleagues have
provided!
Best experience I've had working with any software support.
As an advocate of MET/METplus, and the ideas that drive it, it's in my
interest to make it work.
I'll give it a try and report back with outcomes.
Rob
Rob Steenburgh <robert.steenburgh at noaa.gov>
Space Scientist
Space Weather Forecast Office
Space Weather Prediction Center <http://www.swpc.noaa.gov>
W/NP9
325 Broadway
Boulder, CO 80305
303.497.5153
On Thu, May 21, 2020 at 1:18 PM Julie Prestopnik via RT
<met_help at ucar.edu>
wrote:
> Hi Rob.
>
> Thank you!
>
> I see in your install_met_env.METPlusTest file you have the Python
> variables set using single quotes like this:
>
> export MET_PYTHON_CC='-I/usr/include/python3.7m'
> >
> > export MET_PYTHON_LD='-L/usr/lib/python3.7/config-3.7m-i386-linux-
gnu\
> > -L/usr/lib\ -lpython3.7m\ -lcrypt\ -lpthread\ -\
> >
> > ldl\ -lutil\ -lm'
> >
>
> Please try removing the single quotes and using the following
instead:
>
> > export MET_PYTHON_CC=-I/usr/include/python3.7m
>
> export MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-linux-
gnu\
> > -L/usr/lib\ -lpython3.7m\ -lcrypt\ -lpthread\ -\
> >
> > ldl\ -lutil\ -lm
> >
>
> Please let us know how it goes. Thank you for your patience while
we work
> through these issues.
>
> Julie
>
> On Thu, May 21, 2020 at 5:16 AM robert.steenburgh at noaa.gov via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> >
> > [image: Screenshot_2020-05-21_05-12-52.png]
> >
> > As requested
> >
> > Cheers,
> > Rob
> >
> > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > Space Scientist
> > Space Weather Forecast Office
> > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > W/NP9
> > 325 Broadway
> > Boulder, CO 80305
> > 303.497.5153
> >
> >
> >
> >
> > On Wed, May 20, 2020 at 8:09 PM Julie Prestopnik via RT <
> met_help at ucar.edu
> > >
> > wrote:
> >
> > > Thanks, Rob!
> > >
> > > Can you please run the following and send me the output?
> > >
> > > *ls /usr/lib/python3.7/config-3.7m-i386-linux-gnu*
> > >
> > >
> > > Thanks!
> > >
> > > Julie
> > >
> > > On Wed, May 20, 2020 at 5:15 PM robert.steenburgh at noaa.gov via
RT <
> > > met_help at ucar.edu> wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277
>
> > > >
> > > > Sure!
> > > >
> > > >
> > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > Space Scientist
> > > > Space Weather Forecast Office
> > > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > > W/NP9
> > > > 325 Broadway
> > > > Boulder, CO 80305
> > > > 303.497.5153
> > > >
> > > >
> > > >
> > > >
> > > > On Wed, May 20, 2020 at 5:08 PM Julie Prestopnik via RT <
> > > met_help at ucar.edu
> > > > >
> > > > wrote:
> > > >
> > > > > I'm sorry to hear that. Could you please send your
config.log file
> > so
> > > we
> > > > > can take a look?
> > > > >
> > > > > Julie
> > > > >
> > > > > On Wed, May 20, 2020 at 5:02 PM robert.steenburgh at noaa.gov
via RT
> <
> > > > > met_help at ucar.edu> wrote:
> > > > >
> > > > > >
> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> > > > > >
> > > > > > Hi Julie:
> > > > > >
> > > > > > Tried with backslash but it didn't like it. I've attached
my
> > > > install...
> > > > > > file in case I botched it.
> > > > > >
> > > > > >
> > > > > > Compiling MET at Wed 20 May 2020 04:59:27 PM MDT
> > > > > > MET Configuration settings...
> > > > > > export MET_HDF=/home/rob/bin/MET9.01/external_libs
> > > > > > export MET_PYTHON_CC=-I/usr/include/python3.7m
> > > > > > export MET_NETCDF=/home/rob/bin/MET9.01/external_libs
> > > > > > export MET_PYTHON_EXE=/usr/bin/python3
> > > > > > export
> > > > > >
> > MET_TARBALL=/home/rob/bin/MET9.01/tar_files/met-
9.0.1.20200423.tar.gz
> > > > > > export MET_HDF5=/home/rob/bin/MET9.01/external_libs
> > > > > > export MET_FONT_DIR=/home/rob/bin/MET9.01/fonts
> > > > > > export MET_GRIB2C=/home/rob/bin/MET9.01/external_libs
> > > > > > export MET_GSL=/home/rob/bin/MET9.01/external_libs
> > > > > > export MET_BUFRLIB=/home/rob/bin/MET9.01/external_libs/lib
> > > > > > export MET_HDFEOS=/home/rob/bin/MET9.01/external_libs
> > > > > > export MET_SUBDIR=/home/rob/bin/MET9.01
> > > > > > export
> > MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-linux-gnu\
> > > > > > -L/usr/lib\ -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\
-lutil\ -lm
> > > > > > LDFLAGS = -Wl,--disable-new-dtags
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> -Wl,-
rpath,/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib::/lib
> > > > > > -Wl,-rpath,:: -L -L/home/rob/bin/MET9.01/external_libs/lib
> > > > > > cd /home/rob/bin/MET9.01/met-9.0.1
> > > > > > ./configure --prefix=/home/rob/bin/MET9.01 BUFRLIB_NAME=-
lbufr
> > > > > > GRIB2CLIB_NAME=-lgrib2c --enable-grib2 --enable-python
>
> > > > > configure.log
> > > > > > 2>&1
> > > > > > configure returned with non-zero (77) status
> > > > > > rob at METPlusTest:~/bin/MET9.01$
> > > > > >
> > > > > > Cheers,
> > > > > > Rob
> > > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > > > Space Scientist
> > > > > > Space Weather Forecast Office
> > > > > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > > > > W/NP9
> > > > > > 325 Broadway
> > > > > > Boulder, CO 80305
> > > > > > 303.497.5153
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Wed, May 20, 2020 at 4:47 PM Julie Prestopnik via RT <
> > > > > met_help at ucar.edu
> > > > > > >
> > > > > > wrote:
> > > > > >
> > > > > > > Hi Rob.
> > > > > > >
> > > > > > > I believe backslashes are needed for the spaces in
> MET_PYTHON_LD.
> > > > > Could
> > > > > > > you please try again with the following setting for
> > MET_PYTHON_LD?
> > > > > > >
> > > > > > > export
> > > > > > > >
> MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-linux-gnu\
> > > > > > > -L/usr/lib\
> > > > > > > > -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\ -lutil\ -lm
> > > > > > >
> > > > > > >
> > > > > > > Thanks!
> > > > > > >
> > > > > > > Julie
> > > > > > >
> > > > > > >
> > > > > > > On Wed, May 20, 2020 at 4:36 PM
robert.steenburgh at noaa.gov via
> > RT
> > > <
> > > > > > > met_help at ucar.edu> wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277
> > >
> > > > > > > >
> > > > > > > > Hi John:
> > > > > > > >
> > > > > > > > Same result:
> > > > > > > >
> > > > > > > > Compiling MET at Wed 20 May 2020 04:06:53 PM MDT
> > > > > > > > MET Configuration settings...
> > > > > > > > export MET_HDF=/home/rob/bin/MET9.01/external_libs
> > > > > > > > export MET_PYTHON_CC=-I/usr/include/python3.7m
> > > > > > > > export MET_NETCDF=/home/rob/bin/MET9.01/external_libs
> > > > > > > > export MET_PYTHON_EXE=/usr/bin/python3
> > > > > > > > export
> > > > > > > >
> > > > MET_TARBALL=/home/rob/bin/MET9.01/tar_files/met-
9.0.1.20200423.tar.gz
> > > > > > > > export MET_HDF5=/home/rob/bin/MET9.01/external_libs
> > > > > > > > export MET_FONT_DIR=/home/rob/bin/MET9.01/fonts
> > > > > > > > export MET_GRIB2C=/home/rob/bin/MET9.01/external_libs
> > > > > > > > export MET_GSL=/home/rob/bin/MET9.01/external_libs
> > > > > > > > export
MET_BUFRLIB=/home/rob/bin/MET9.01/external_libs/lib
> > > > > > > > export MET_HDFEOS=/home/rob/bin/MET9.01/external_libs
> > > > > > > > export MET_SUBDIR=/home/rob/bin/MET9.01
> > > > > > > > export
> > > > MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-linux-gnu
> > > > > > > > -L/usr/lib -lpython3.7m -lcrypt -lpthread -ldl -lutil
-lm
> > > > > > > > LDFLAGS = -Wl,--disable-new-dtags
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> -Wl,-
rpath,/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib::/lib
> > > > > > > > -Wl,-rpath,:: -L
-L/home/rob/bin/MET9.01/external_libs/lib
> > > > > > > > cd /home/rob/bin/MET9.01/met-9.0.1
> > > > > > > > ./configure --prefix=/home/rob/bin/MET9.01
BUFRLIB_NAME=
> > > > > > GRIB2CLIB_NAME=
> > > > > > > > --enable-grib2 --enable-python > configure.log
2>&1
> > > > > > > > make > make.log 2>&1
> > > > > > > > make returned with non-zero (2) status
> > > > > > > >
> > > > > > > > In a separate email, Julie had me include
> > > > > > > > > export BUFRLIB_NAME=-lbufr
> > > > > > > > > export GRIB2CLIB_NAME=-lgrib2c
> > > > > > > >
> > > > > > > > in the install script as they don't persist with the
way I'm
> > > > > compiling
> > > > > > > > things with the script, so I am running it again just
to see
> if
> > > > that
> > > > > > > helps.
> > > > > > > >
> > > > > > > > Rob
> > > > > > > >
> > > > > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > > > > > Space Scientist
> > > > > > > > Space Weather Forecast Office
> > > > > > > > Space Weather Prediction Center
<http://www.swpc.noaa.gov>
> > > > > > > > W/NP9
> > > > > > > > 325 Broadway
> > > > > > > > Boulder, CO 80305
> > > > > > > > 303.497.5153
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > On Wed, May 20, 2020 at 3:48 PM John Halley Gotway via
RT <
> > > > > > > > met_help at ucar.edu>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Rob,
> > > > > > > > >
> > > > > > > > > Thanks for sending your data files. Looking in
> > > > > > > install_met_env.METplus,
> > > > > > > > > can we please try simplifying the python settings
as:
> > > > > > > > > export MET_PYTHON_CC='-I/usr/include/python3.7m'
> > > > > > > > > export
> > > > > MET_PYTHON_LD='-L/usr/lib/python3.7/config-3.7m-i386-linux-
gnu
> > > > > > > > > -L/usr/lib -lpython3.7m -lcrypt -lpthread -ldl
-lutil -lm'
> > > > > > > > >
> > > > > > > > > Not sure if that'll fix it, but I'd like to try it.
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > > John
> > > > > > > > >
> > > > > > > > > On Wed, May 20, 2020 at 3:16 PM
robert.steenburgh at noaa.gov
> > via
> > > > RT
> > > > > <
> > > > > > > > > met_help at ucar.edu> wrote:
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Wed May 20 15:16:00 2020: Request 95320 was acted
upon.
> > > > > > > > > > Transaction: Ticket created by
> robert.steenburgh at noaa.gov
> > > > > > > > > > Queue: met_help
> > > > > > > > > > Subject: python3_dict.cc:460:37: error:
invalid
> > > conversion
> > > > > > > > > > Owner: Nobody
> > > > > > > > > > Requestors: robert.steenburgh at noaa.gov
> > > > > > > > > > Status: new
> > > > > > > > > > Ticket <URL:
> > > > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95320
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Greetings:
> > > > > > > > > >
> > > > > > > > > > I was able to successfully compile MET 9.0.1
*without*
> > Python
> > > > > > > support,
> > > > > > > > > but
> > > > > > > > > > Tara suggested I include it, given the non-
standard
> nature
> > > of a
> > > > > lot
> > > > > > > of
> > > > > > > > > our
> > > > > > > > > > space weather model output.
> > > > > > > > > >
> > > > > > > > > > Unfortunately, the compile attempt failed.
> > > > > > > > > >
> > > > > > > > > > I've attached the *make.log* as well as the
*compile
> > script*
> > > I
> > > > > was
> > > > > > > > using.
> > > > > > > > > > In the compile script I turned off everything but
MET
> since
> > > I'd
> > > > > > > > > > successfully compiled all the libraries already.
> Finally,
> > > I've
> > > > > > > > included
> > > > > > > > > > the *environment variable specification file
*since
> > > > MET_PYHTON_CC
> > > > > > and
> > > > > > > > > > MET_PYTHON_LD had to be defined. I took the
output from
> > > > > > > python3-config
> > > > > > > > > > verbatim.
> > > > > > > > > >
> > > > > > > > > > Thanks, as always,
> > > > > > > > > > Rob
> > > > > > > > > > (frequent flier)
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > > > > > > > Space Scientist
> > > > > > > > > > Space Weather Forecast Office
> > > > > > > > > > Space Weather Prediction Center <
> http://www.swpc.noaa.gov>
> > > > > > > > > > W/NP9
> > > > > > > > > > 325 Broadway
> > > > > > > > > > Boulder, CO 80305
> > > > > > > > > > 303.497.5153
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Julie Prestopnik
> > > > > > > Software Engineer
> > > > > > > National Center for Atmospheric Research
> > > > > > > Research Applications Laboratory
> > > > > > > Phone: 303.497.8399
> > > > > > > Email: jpresto at ucar.edu
> > > > > > >
> > > > > > > My working day may not be your working day. Please do
not feel
> > > > obliged
> > > > > > to
> > > > > > > reply to this email outside of your normal working
hours.
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > > --
> > > > > Julie Prestopnik
> > > > > Software Engineer
> > > > > National Center for Atmospheric Research
> > > > > Research Applications Laboratory
> > > > > Phone: 303.497.8399
> > > > > Email: jpresto at ucar.edu
> > > > >
> > > > > My working day may not be your working day. Please do not
feel
> > obliged
> > > > to
> > > > > reply to this email outside of your normal working hours.
> > > > >
> > > > >
> > > >
> > > >
> > >
> > > --
> > > Julie Prestopnik
> > > Software Engineer
> > > National Center for Atmospheric Research
> > > Research Applications Laboratory
> > > Phone: 303.497.8399
> > > Email: jpresto at ucar.edu
> > >
> > > My working day may not be your working day. Please do not feel
obliged
> > to
> > > reply to this email outside of your normal working hours.
> > >
> > >
> >
> >
>
> --
> Julie Prestopnik
> Software Engineer
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
> My working day may not be your working day. Please do not feel
obliged to
> reply to this email outside of your normal working hours.
>
>
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: Julie Prestopnik
Time: Thu May 21 14:06:52 2020
Hi Rob.
I'm glad progress is being made, although I'm sorry that problems
persist.
Could you please try setting the following in your
install_met_env.METPlusTest file and then rerun?
export MET_GRIB2CLIB=/home/rob/bin/MET9.01/external_libs/lib
export MET_GRIB2CINC=/home/rob/bin/MET9.01/external_libs/include
If that works, I believe it is related to needing to set
GRIB2CLIB_NAME
after an attempted install and me needing to set up default values for
these fields. Thank you for helping me discover issues with the
script,
although my apologies it is not working as well as I had hoped.
If that does not work, please send your config.log file and your
make.log
file.
Thank you!
Julie
On Fri, May 15, 2020 at 4:53 PM robert.steenburgh at noaa.gov via RT <
met_help at ucar.edu> wrote:
>
> Fri May 15 16:52:37 2020: Request 95277 was acted upon.
> Transaction: Ticket created by robert.steenburgh at noaa.gov
> Queue: met_help
> Subject: MET 9.01 compile error: -lgrib2c
> Owner: Nobody
> Requestors: robert.steenburgh at noaa.gov
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
>
>
> Greetings:
>
> Almost at the finish line installing MET using the install script.
> I'm running into an error:
>
> /usr/bin/ld: skipping incompatible
> > /home/rob/bin/MET9.01/external_libs/lib/libgrib2c.a when searching
for
> > -lgrib2c
> > /usr/bin/ld: cannot find -lgrib2c
> > collect2: error: ld returned 1 exit status
> >
>
> I've attached the make.log.
>
> If you have any ideas, please let me know. I've googled around but
can't
> find anything specific.
>
> Thank you,
> Rob
>
> Rob Steenburgh <robert.steenburgh at noaa.gov>
> Space Scientist
> Space Weather Forecast Office
> Space Weather Prediction Center <http://www.swpc.noaa.gov>
> W/NP9
> 325 Broadway
> Boulder, CO 80305
> 303.497.5153
>
>
--
Julie Prestopnik
Software Engineer
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu
My working day may not be your working day. Please do not feel
obliged to
reply to this email outside of your normal working hours.
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: Julie Prestopnik
Time: Thu May 21 14:08:44 2020
Thank you so much for your kind words! We appreciate it very much.
Julie
On Thu, May 21, 2020 at 2:01 PM robert.steenburgh at noaa.gov via RT <
met_help at ucar.edu> wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
>
> Hi Julie -
>
> I'm just grateful for the support you and your colleagues have
provided!
> Best experience I've had working with any software support.
>
> As an advocate of MET/METplus, and the ideas that drive it, it's in
my
> interest to make it work.
>
> I'll give it a try and report back with outcomes.
>
> Rob
>
>
> Rob Steenburgh <robert.steenburgh at noaa.gov>
> Space Scientist
> Space Weather Forecast Office
> Space Weather Prediction Center <http://www.swpc.noaa.gov>
> W/NP9
> 325 Broadway
> Boulder, CO 80305
> 303.497.5153
>
>
>
>
> On Thu, May 21, 2020 at 1:18 PM Julie Prestopnik via RT
<met_help at ucar.edu
> >
> wrote:
>
> > Hi Rob.
> >
> > Thank you!
> >
> > I see in your install_met_env.METPlusTest file you have the Python
> > variables set using single quotes like this:
> >
> > export MET_PYTHON_CC='-I/usr/include/python3.7m'
> > >
> > > export MET_PYTHON_LD='-L/usr/lib/python3.7/config-3.7m-i386-
linux-gnu\
> > > -L/usr/lib\ -lpython3.7m\ -lcrypt\ -lpthread\ -\
> > >
> > > ldl\ -lutil\ -lm'
> > >
> >
> > Please try removing the single quotes and using the following
instead:
> >
> > > export MET_PYTHON_CC=-I/usr/include/python3.7m
> >
> > export MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-linux-
gnu\
> > > -L/usr/lib\ -lpython3.7m\ -lcrypt\ -lpthread\ -\
> > >
> > > ldl\ -lutil\ -lm
> > >
> >
> > Please let us know how it goes. Thank you for your patience while
we
> work
> > through these issues.
> >
> > Julie
> >
> > On Thu, May 21, 2020 at 5:16 AM robert.steenburgh at noaa.gov via RT
<
> > met_help at ucar.edu> wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> > >
> > > [image: Screenshot_2020-05-21_05-12-52.png]
> > >
> > > As requested
> > >
> > > Cheers,
> > > Rob
> > >
> > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > Space Scientist
> > > Space Weather Forecast Office
> > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > W/NP9
> > > 325 Broadway
> > > Boulder, CO 80305
> > > 303.497.5153
> > >
> > >
> > >
> > >
> > > On Wed, May 20, 2020 at 8:09 PM Julie Prestopnik via RT <
> > met_help at ucar.edu
> > > >
> > > wrote:
> > >
> > > > Thanks, Rob!
> > > >
> > > > Can you please run the following and send me the output?
> > > >
> > > > *ls /usr/lib/python3.7/config-3.7m-i386-linux-gnu*
> > > >
> > > >
> > > > Thanks!
> > > >
> > > > Julie
> > > >
> > > > On Wed, May 20, 2020 at 5:15 PM robert.steenburgh at noaa.gov via
RT <
> > > > met_help at ucar.edu> wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> > > > >
> > > > > Sure!
> > > > >
> > > > >
> > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > > Space Scientist
> > > > > Space Weather Forecast Office
> > > > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > > > W/NP9
> > > > > 325 Broadway
> > > > > Boulder, CO 80305
> > > > > 303.497.5153
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On Wed, May 20, 2020 at 5:08 PM Julie Prestopnik via RT <
> > > > met_help at ucar.edu
> > > > > >
> > > > > wrote:
> > > > >
> > > > > > I'm sorry to hear that. Could you please send your
config.log
> file
> > > so
> > > > we
> > > > > > can take a look?
> > > > > >
> > > > > > Julie
> > > > > >
> > > > > > On Wed, May 20, 2020 at 5:02 PM robert.steenburgh at noaa.gov
via
> RT
> > <
> > > > > > met_help at ucar.edu> wrote:
> > > > > >
> > > > > > >
> > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277
> >
> > > > > > >
> > > > > > > Hi Julie:
> > > > > > >
> > > > > > > Tried with backslash but it didn't like it. I've
attached my
> > > > > install...
> > > > > > > file in case I botched it.
> > > > > > >
> > > > > > >
> > > > > > > Compiling MET at Wed 20 May 2020 04:59:27 PM MDT
> > > > > > > MET Configuration settings...
> > > > > > > export MET_HDF=/home/rob/bin/MET9.01/external_libs
> > > > > > > export MET_PYTHON_CC=-I/usr/include/python3.7m
> > > > > > > export MET_NETCDF=/home/rob/bin/MET9.01/external_libs
> > > > > > > export MET_PYTHON_EXE=/usr/bin/python3
> > > > > > > export
> > > > > > >
> > > MET_TARBALL=/home/rob/bin/MET9.01/tar_files/met-
9.0.1.20200423.tar.gz
> > > > > > > export MET_HDF5=/home/rob/bin/MET9.01/external_libs
> > > > > > > export MET_FONT_DIR=/home/rob/bin/MET9.01/fonts
> > > > > > > export MET_GRIB2C=/home/rob/bin/MET9.01/external_libs
> > > > > > > export MET_GSL=/home/rob/bin/MET9.01/external_libs
> > > > > > > export
MET_BUFRLIB=/home/rob/bin/MET9.01/external_libs/lib
> > > > > > > export MET_HDFEOS=/home/rob/bin/MET9.01/external_libs
> > > > > > > export MET_SUBDIR=/home/rob/bin/MET9.01
> > > > > > > export
> > > MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-linux-gnu\
> > > > > > > -L/usr/lib\ -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\
-lutil\ -lm
> > > > > > > LDFLAGS = -Wl,--disable-new-dtags
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> -Wl,-
rpath,/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib::/lib
> > > > > > > -Wl,-rpath,:: -L
-L/home/rob/bin/MET9.01/external_libs/lib
> > > > > > > cd /home/rob/bin/MET9.01/met-9.0.1
> > > > > > > ./configure --prefix=/home/rob/bin/MET9.01
BUFRLIB_NAME=-lbufr
> > > > > > > GRIB2CLIB_NAME=-lgrib2c --enable-grib2 --enable-python
>
> > > > > > configure.log
> > > > > > > 2>&1
> > > > > > > configure returned with non-zero (77) status
> > > > > > > rob at METPlusTest:~/bin/MET9.01$
> > > > > > >
> > > > > > > Cheers,
> > > > > > > Rob
> > > > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > > > > Space Scientist
> > > > > > > Space Weather Forecast Office
> > > > > > > Space Weather Prediction Center
<http://www.swpc.noaa.gov>
> > > > > > > W/NP9
> > > > > > > 325 Broadway
> > > > > > > Boulder, CO 80305
> > > > > > > 303.497.5153
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On Wed, May 20, 2020 at 4:47 PM Julie Prestopnik via RT
<
> > > > > > met_help at ucar.edu
> > > > > > > >
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Hi Rob.
> > > > > > > >
> > > > > > > > I believe backslashes are needed for the spaces in
> > MET_PYTHON_LD.
> > > > > > Could
> > > > > > > > you please try again with the following setting for
> > > MET_PYTHON_LD?
> > > > > > > >
> > > > > > > > export
> > > > > > > > >
> > MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-linux-gnu\
> > > > > > > > -L/usr/lib\
> > > > > > > > > -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\ -lutil\ -lm
> > > > > > > >
> > > > > > > >
> > > > > > > > Thanks!
> > > > > > > >
> > > > > > > > Julie
> > > > > > > >
> > > > > > > >
> > > > > > > > On Wed, May 20, 2020 at 4:36 PM
robert.steenburgh at noaa.gov
> via
> > > RT
> > > > <
> > > > > > > > met_help at ucar.edu> wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277
> > > >
> > > > > > > > >
> > > > > > > > > Hi John:
> > > > > > > > >
> > > > > > > > > Same result:
> > > > > > > > >
> > > > > > > > > Compiling MET at Wed 20 May 2020 04:06:53 PM MDT
> > > > > > > > > MET Configuration settings...
> > > > > > > > > export MET_HDF=/home/rob/bin/MET9.01/external_libs
> > > > > > > > > export MET_PYTHON_CC=-I/usr/include/python3.7m
> > > > > > > > > export
MET_NETCDF=/home/rob/bin/MET9.01/external_libs
> > > > > > > > > export MET_PYTHON_EXE=/usr/bin/python3
> > > > > > > > > export
> > > > > > > > >
> > > > >
> MET_TARBALL=/home/rob/bin/MET9.01/tar_files/met-
9.0.1.20200423.tar.gz
> > > > > > > > > export MET_HDF5=/home/rob/bin/MET9.01/external_libs
> > > > > > > > > export MET_FONT_DIR=/home/rob/bin/MET9.01/fonts
> > > > > > > > > export
MET_GRIB2C=/home/rob/bin/MET9.01/external_libs
> > > > > > > > > export MET_GSL=/home/rob/bin/MET9.01/external_libs
> > > > > > > > > export
MET_BUFRLIB=/home/rob/bin/MET9.01/external_libs/lib
> > > > > > > > > export
MET_HDFEOS=/home/rob/bin/MET9.01/external_libs
> > > > > > > > > export MET_SUBDIR=/home/rob/bin/MET9.01
> > > > > > > > > export
> > > > > MET_PYTHON_LD=-L/usr/lib/python3.7/config-3.7m-i386-linux-
gnu
> > > > > > > > > -L/usr/lib -lpython3.7m -lcrypt -lpthread -ldl
-lutil -lm
> > > > > > > > > LDFLAGS = -Wl,--disable-new-dtags
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> -Wl,-
rpath,/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib:/home/rob/bin/MET9.01/external_libs/lib::/lib
> > > > > > > > > -Wl,-rpath,:: -L
-L/home/rob/bin/MET9.01/external_libs/lib
> > > > > > > > > cd /home/rob/bin/MET9.01/met-9.0.1
> > > > > > > > > ./configure --prefix=/home/rob/bin/MET9.01
BUFRLIB_NAME=
> > > > > > > GRIB2CLIB_NAME=
> > > > > > > > > --enable-grib2 --enable-python > configure.log
2>&1
> > > > > > > > > make > make.log 2>&1
> > > > > > > > > make returned with non-zero (2) status
> > > > > > > > >
> > > > > > > > > In a separate email, Julie had me include
> > > > > > > > > > export BUFRLIB_NAME=-lbufr
> > > > > > > > > > export GRIB2CLIB_NAME=-lgrib2c
> > > > > > > > >
> > > > > > > > > in the install script as they don't persist with the
way
> I'm
> > > > > > compiling
> > > > > > > > > things with the script, so I am running it again
just to
> see
> > if
> > > > > that
> > > > > > > > helps.
> > > > > > > > >
> > > > > > > > > Rob
> > > > > > > > >
> > > > > > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > > > > > > Space Scientist
> > > > > > > > > Space Weather Forecast Office
> > > > > > > > > Space Weather Prediction Center
<http://www.swpc.noaa.gov>
> > > > > > > > > W/NP9
> > > > > > > > > 325 Broadway
> > > > > > > > > Boulder, CO 80305
> > > > > > > > > 303.497.5153
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On Wed, May 20, 2020 at 3:48 PM John Halley Gotway
via RT <
> > > > > > > > > met_help at ucar.edu>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > Rob,
> > > > > > > > > >
> > > > > > > > > > Thanks for sending your data files. Looking in
> > > > > > > > install_met_env.METplus,
> > > > > > > > > > can we please try simplifying the python settings
as:
> > > > > > > > > > export MET_PYTHON_CC='-I/usr/include/python3.7m'
> > > > > > > > > > export
> > > > > > MET_PYTHON_LD='-L/usr/lib/python3.7/config-3.7m-i386-
linux-gnu
> > > > > > > > > > -L/usr/lib -lpython3.7m -lcrypt -lpthread -ldl
-lutil
> -lm'
> > > > > > > > > >
> > > > > > > > > > Not sure if that'll fix it, but I'd like to try
it.
> > > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > > John
> > > > > > > > > >
> > > > > > > > > > On Wed, May 20, 2020 at 3:16 PM
> robert.steenburgh at noaa.gov
> > > via
> > > > > RT
> > > > > > <
> > > > > > > > > > met_help at ucar.edu> wrote:
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Wed May 20 15:16:00 2020: Request 95320 was
acted upon.
> > > > > > > > > > > Transaction: Ticket created by
> > robert.steenburgh at noaa.gov
> > > > > > > > > > > Queue: met_help
> > > > > > > > > > > Subject: python3_dict.cc:460:37: error:
invalid
> > > > conversion
> > > > > > > > > > > Owner: Nobody
> > > > > > > > > > > Requestors: robert.steenburgh at noaa.gov
> > > > > > > > > > > Status: new
> > > > > > > > > > > Ticket <URL:
> > > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95320
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Greetings:
> > > > > > > > > > >
> > > > > > > > > > > I was able to successfully compile MET 9.0.1
*without*
> > > Python
> > > > > > > > support,
> > > > > > > > > > but
> > > > > > > > > > > Tara suggested I include it, given the non-
standard
> > nature
> > > > of a
> > > > > > lot
> > > > > > > > of
> > > > > > > > > > our
> > > > > > > > > > > space weather model output.
> > > > > > > > > > >
> > > > > > > > > > > Unfortunately, the compile attempt failed.
> > > > > > > > > > >
> > > > > > > > > > > I've attached the *make.log* as well as the
*compile
> > > script*
> > > > I
> > > > > > was
> > > > > > > > > using.
> > > > > > > > > > > In the compile script I turned off everything
but MET
> > since
> > > > I'd
> > > > > > > > > > > successfully compiled all the libraries already.
> > Finally,
> > > > I've
> > > > > > > > > included
> > > > > > > > > > > the *environment variable specification file
*since
> > > > > MET_PYHTON_CC
> > > > > > > and
> > > > > > > > > > > MET_PYTHON_LD had to be defined. I took the
output
> from
> > > > > > > > python3-config
> > > > > > > > > > > verbatim.
> > > > > > > > > > >
> > > > > > > > > > > Thanks, as always,
> > > > > > > > > > > Rob
> > > > > > > > > > > (frequent flier)
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > > > > > > > > Space Scientist
> > > > > > > > > > > Space Weather Forecast Office
> > > > > > > > > > > Space Weather Prediction Center <
> > http://www.swpc.noaa.gov>
> > > > > > > > > > > W/NP9
> > > > > > > > > > > 325 Broadway
> > > > > > > > > > > Boulder, CO 80305
> > > > > > > > > > > 303.497.5153
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Julie Prestopnik
> > > > > > > > Software Engineer
> > > > > > > > National Center for Atmospheric Research
> > > > > > > > Research Applications Laboratory
> > > > > > > > Phone: 303.497.8399
> > > > > > > > Email: jpresto at ucar.edu
> > > > > > > >
> > > > > > > > My working day may not be your working day. Please do
not
> feel
> > > > > obliged
> > > > > > > to
> > > > > > > > reply to this email outside of your normal working
hours.
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > --
> > > > > > Julie Prestopnik
> > > > > > Software Engineer
> > > > > > National Center for Atmospheric Research
> > > > > > Research Applications Laboratory
> > > > > > Phone: 303.497.8399
> > > > > > Email: jpresto at ucar.edu
> > > > > >
> > > > > > My working day may not be your working day. Please do not
feel
> > > obliged
> > > > > to
> > > > > > reply to this email outside of your normal working hours.
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > > --
> > > > Julie Prestopnik
> > > > Software Engineer
> > > > National Center for Atmospheric Research
> > > > Research Applications Laboratory
> > > > Phone: 303.497.8399
> > > > Email: jpresto at ucar.edu
> > > >
> > > > My working day may not be your working day. Please do not
feel
> obliged
> > > to
> > > > reply to this email outside of your normal working hours.
> > > >
> > > >
> > >
> > >
> >
> > --
> > Julie Prestopnik
> > Software Engineer
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
> > My working day may not be your working day. Please do not feel
obliged
> to
> > reply to this email outside of your normal working hours.
> >
> >
>
>
--
Julie Prestopnik
Software Engineer
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu
My working day may not be your working day. Please do not feel
obliged to
reply to this email outside of your normal working hours.
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: robert.steenburgh at noaa.gov
Time: Thu May 21 14:28:47 2020
O.K. it's still blowing up - I included my install... file, too, just
in
case order matters or I botched the python specs.
Rob
Rob Steenburgh <robert.steenburgh at noaa.gov>
Space Scientist
Space Weather Forecast Office
Space Weather Prediction Center <http://www.swpc.noaa.gov>
W/NP9
325 Broadway
Boulder, CO 80305
303.497.5153
On Thu, May 21, 2020 at 2:16 PM Julie Prestopnik via RT
<met_help at ucar.edu>
wrote:
> Hi Rob.
>
> I'm glad progress is being made, although I'm sorry that problems
persist.
> Could you please try setting the following in your
> install_met_env.METPlusTest file and then rerun?
>
> export MET_GRIB2CLIB=/home/rob/bin/MET9.01/external_libs/lib
> export MET_GRIB2CINC=/home/rob/bin/MET9.01/external_libs/include
>
> If that works, I believe it is related to needing to set
GRIB2CLIB_NAME
> after an attempted install and me needing to set up default values
for
> these fields. Thank you for helping me discover issues with the
script,
> although my apologies it is not working as well as I had hoped.
>
> If that does not work, please send your config.log file and your
make.log
> file.
>
> Thank you!
>
> Julie
>
> On Fri, May 15, 2020 at 4:53 PM robert.steenburgh at noaa.gov via RT <
> met_help at ucar.edu> wrote:
>
> >
> > Fri May 15 16:52:37 2020: Request 95277 was acted upon.
> > Transaction: Ticket created by robert.steenburgh at noaa.gov
> > Queue: met_help
> > Subject: MET 9.01 compile error: -lgrib2c
> > Owner: Nobody
> > Requestors: robert.steenburgh at noaa.gov
> > Status: new
> > Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> >
> >
> > Greetings:
> >
> > Almost at the finish line installing MET using the install script.
> > I'm running into an error:
> >
> > /usr/bin/ld: skipping incompatible
> > > /home/rob/bin/MET9.01/external_libs/lib/libgrib2c.a when
searching for
> > > -lgrib2c
> > > /usr/bin/ld: cannot find -lgrib2c
> > > collect2: error: ld returned 1 exit status
> > >
> >
> > I've attached the make.log.
> >
> > If you have any ideas, please let me know. I've googled around
but can't
> > find anything specific.
> >
> > Thank you,
> > Rob
> >
> > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > Space Scientist
> > Space Weather Forecast Office
> > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > W/NP9
> > 325 Broadway
> > Boulder, CO 80305
> > 303.497.5153
> >
> >
>
> --
> Julie Prestopnik
> Software Engineer
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
> My working day may not be your working day. Please do not feel
obliged to
> reply to this email outside of your normal working hours.
>
>
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: Julie Prestopnik
Time: Thu May 21 15:34:47 2020
Hi Rob. This is a tough one. I haven't seen this problem before.
I'm
going to try to reproduce the problem you are experiencing and will
follow
up once I know more, hopefully with a solution. I have a few
meetings
tomorrow, so I may not get back to you until next week (hopefully,
early
next week).
Julie
On Thu, May 21, 2020 at 2:28 PM robert.steenburgh at noaa.gov via RT <
met_help at ucar.edu> wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
>
> O.K. it's still blowing up - I included my install... file, too,
just in
> case order matters or I botched the python specs.
>
> Rob
> Rob Steenburgh <robert.steenburgh at noaa.gov>
> Space Scientist
> Space Weather Forecast Office
> Space Weather Prediction Center <http://www.swpc.noaa.gov>
> W/NP9
> 325 Broadway
> Boulder, CO 80305
> 303.497.5153
>
>
>
>
> On Thu, May 21, 2020 at 2:16 PM Julie Prestopnik via RT
<met_help at ucar.edu
> >
> wrote:
>
> > Hi Rob.
> >
> > I'm glad progress is being made, although I'm sorry that problems
> persist.
> > Could you please try setting the following in your
> > install_met_env.METPlusTest file and then rerun?
> >
> > export MET_GRIB2CLIB=/home/rob/bin/MET9.01/external_libs/lib
> > export MET_GRIB2CINC=/home/rob/bin/MET9.01/external_libs/include
> >
> > If that works, I believe it is related to needing to set
GRIB2CLIB_NAME
> > after an attempted install and me needing to set up default values
for
> > these fields. Thank you for helping me discover issues with the
script,
> > although my apologies it is not working as well as I had hoped.
> >
> > If that does not work, please send your config.log file and your
make.log
> > file.
> >
> > Thank you!
> >
> > Julie
> >
> > On Fri, May 15, 2020 at 4:53 PM robert.steenburgh at noaa.gov via RT
<
> > met_help at ucar.edu> wrote:
> >
> > >
> > > Fri May 15 16:52:37 2020: Request 95277 was acted upon.
> > > Transaction: Ticket created by robert.steenburgh at noaa.gov
> > > Queue: met_help
> > > Subject: MET 9.01 compile error: -lgrib2c
> > > Owner: Nobody
> > > Requestors: robert.steenburgh at noaa.gov
> > > Status: new
> > > Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277
> >
> > >
> > >
> > > Greetings:
> > >
> > > Almost at the finish line installing MET using the install
script.
> > > I'm running into an error:
> > >
> > > /usr/bin/ld: skipping incompatible
> > > > /home/rob/bin/MET9.01/external_libs/lib/libgrib2c.a when
searching
> for
> > > > -lgrib2c
> > > > /usr/bin/ld: cannot find -lgrib2c
> > > > collect2: error: ld returned 1 exit status
> > > >
> > >
> > > I've attached the make.log.
> > >
> > > If you have any ideas, please let me know. I've googled around
but
> can't
> > > find anything specific.
> > >
> > > Thank you,
> > > Rob
> > >
> > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > Space Scientist
> > > Space Weather Forecast Office
> > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > W/NP9
> > > 325 Broadway
> > > Boulder, CO 80305
> > > 303.497.5153
> > >
> > >
> >
> > --
> > Julie Prestopnik
> > Software Engineer
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
> > My working day may not be your working day. Please do not feel
obliged
> to
> > reply to this email outside of your normal working hours.
> >
> >
>
>
--
Julie Prestopnik
Software Engineer
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu
My working day may not be your working day. Please do not feel
obliged to
reply to this email outside of your normal working hours.
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: robert.steenburgh at noaa.gov
Time: Thu May 21 16:43:38 2020
No worries, Julie.
I'll give it a try on a different machine / flavor of Linux in the
meantime.
The laptop I'm currently compiling it on is a 9 year old Dell.
If you end up needing any more info along the way, just let me know.
Leave it to me to uncover weird behavior.
Probably a good thing I was never a test pilot!
Cheers,
Rob
Rob Steenburgh <robert.steenburgh at noaa.gov>
Space Scientist
Space Weather Forecast Office
Space Weather Prediction Center <http://www.swpc.noaa.gov>
W/NP9
325 Broadway
Boulder, CO 80305
303.497.5153
On Thu, May 21, 2020 at 3:34 PM Julie Prestopnik via RT
<met_help at ucar.edu>
wrote:
> Hi Rob. This is a tough one. I haven't seen this problem before.
I'm
> going to try to reproduce the problem you are experiencing and will
follow
> up once I know more, hopefully with a solution. I have a few
meetings
> tomorrow, so I may not get back to you until next week (hopefully,
early
> next week).
>
> Julie
>
> On Thu, May 21, 2020 at 2:28 PM robert.steenburgh at noaa.gov via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> >
> > O.K. it's still blowing up - I included my install... file, too,
just in
> > case order matters or I botched the python specs.
> >
> > Rob
> > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > Space Scientist
> > Space Weather Forecast Office
> > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > W/NP9
> > 325 Broadway
> > Boulder, CO 80305
> > 303.497.5153
> >
> >
> >
> >
> > On Thu, May 21, 2020 at 2:16 PM Julie Prestopnik via RT <
> met_help at ucar.edu
> > >
> > wrote:
> >
> > > Hi Rob.
> > >
> > > I'm glad progress is being made, although I'm sorry that
problems
> > persist.
> > > Could you please try setting the following in your
> > > install_met_env.METPlusTest file and then rerun?
> > >
> > > export MET_GRIB2CLIB=/home/rob/bin/MET9.01/external_libs/lib
> > > export MET_GRIB2CINC=/home/rob/bin/MET9.01/external_libs/include
> > >
> > > If that works, I believe it is related to needing to set
GRIB2CLIB_NAME
> > > after an attempted install and me needing to set up default
values for
> > > these fields. Thank you for helping me discover issues with the
script,
> > > although my apologies it is not working as well as I had hoped.
> > >
> > > If that does not work, please send your config.log file and your
> make.log
> > > file.
> > >
> > > Thank you!
> > >
> > > Julie
> > >
> > > On Fri, May 15, 2020 at 4:53 PM robert.steenburgh at noaa.gov via
RT <
> > > met_help at ucar.edu> wrote:
> > >
> > > >
> > > > Fri May 15 16:52:37 2020: Request 95277 was acted upon.
> > > > Transaction: Ticket created by robert.steenburgh at noaa.gov
> > > > Queue: met_help
> > > > Subject: MET 9.01 compile error: -lgrib2c
> > > > Owner: Nobody
> > > > Requestors: robert.steenburgh at noaa.gov
> > > > Status: new
> > > > Ticket <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277
> > >
> > > >
> > > >
> > > > Greetings:
> > > >
> > > > Almost at the finish line installing MET using the install
script.
> > > > I'm running into an error:
> > > >
> > > > /usr/bin/ld: skipping incompatible
> > > > > /home/rob/bin/MET9.01/external_libs/lib/libgrib2c.a when
searching
> > for
> > > > > -lgrib2c
> > > > > /usr/bin/ld: cannot find -lgrib2c
> > > > > collect2: error: ld returned 1 exit status
> > > > >
> > > >
> > > > I've attached the make.log.
> > > >
> > > > If you have any ideas, please let me know. I've googled
around but
> > can't
> > > > find anything specific.
> > > >
> > > > Thank you,
> > > > Rob
> > > >
> > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > Space Scientist
> > > > Space Weather Forecast Office
> > > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > > W/NP9
> > > > 325 Broadway
> > > > Boulder, CO 80305
> > > > 303.497.5153
> > > >
> > > >
> > >
> > > --
> > > Julie Prestopnik
> > > Software Engineer
> > > National Center for Atmospheric Research
> > > Research Applications Laboratory
> > > Phone: 303.497.8399
> > > Email: jpresto at ucar.edu
> > >
> > > My working day may not be your working day. Please do not feel
obliged
> > to
> > > reply to this email outside of your normal working hours.
> > >
> > >
> >
> >
>
> --
> Julie Prestopnik
> Software Engineer
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
> My working day may not be your working day. Please do not feel
obliged to
> reply to this email outside of your normal working hours.
>
>
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: Julie Prestopnik
Time: Thu May 21 16:52:12 2020
Thanks, Rob! I found a machine with the 8.3.0 gnu compiler and am
installing Python-3.7.3 now. I may have some follow up questions.
Thank
you for helping us work through these issues! Have a great weekend!
Julie
On Thu, May 21, 2020 at 4:44 PM robert.steenburgh at noaa.gov via RT <
met_help at ucar.edu> wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
>
> No worries, Julie.
>
> I'll give it a try on a different machine / flavor of Linux in the
> meantime.
> The laptop I'm currently compiling it on is a 9 year old Dell.
>
> If you end up needing any more info along the way, just let me know.
>
> Leave it to me to uncover weird behavior.
> Probably a good thing I was never a test pilot!
>
> Cheers,
> Rob
> Rob Steenburgh <robert.steenburgh at noaa.gov>
> Space Scientist
> Space Weather Forecast Office
> Space Weather Prediction Center <http://www.swpc.noaa.gov>
> W/NP9
> 325 Broadway
> Boulder, CO 80305
> 303.497.5153
>
>
>
>
> On Thu, May 21, 2020 at 3:34 PM Julie Prestopnik via RT
<met_help at ucar.edu
> >
> wrote:
>
> > Hi Rob. This is a tough one. I haven't seen this problem before.
I'm
> > going to try to reproduce the problem you are experiencing and
will
> follow
> > up once I know more, hopefully with a solution. I have a few
meetings
> > tomorrow, so I may not get back to you until next week (hopefully,
early
> > next week).
> >
> > Julie
> >
> > On Thu, May 21, 2020 at 2:28 PM robert.steenburgh at noaa.gov via RT
<
> > met_help at ucar.edu> wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> > >
> > > O.K. it's still blowing up - I included my install... file, too,
just
> in
> > > case order matters or I botched the python specs.
> > >
> > > Rob
> > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > Space Scientist
> > > Space Weather Forecast Office
> > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > W/NP9
> > > 325 Broadway
> > > Boulder, CO 80305
> > > 303.497.5153
> > >
> > >
> > >
> > >
> > > On Thu, May 21, 2020 at 2:16 PM Julie Prestopnik via RT <
> > met_help at ucar.edu
> > > >
> > > wrote:
> > >
> > > > Hi Rob.
> > > >
> > > > I'm glad progress is being made, although I'm sorry that
problems
> > > persist.
> > > > Could you please try setting the following in your
> > > > install_met_env.METPlusTest file and then rerun?
> > > >
> > > > export MET_GRIB2CLIB=/home/rob/bin/MET9.01/external_libs/lib
> > > > export
MET_GRIB2CINC=/home/rob/bin/MET9.01/external_libs/include
> > > >
> > > > If that works, I believe it is related to needing to set
> GRIB2CLIB_NAME
> > > > after an attempted install and me needing to set up default
values
> for
> > > > these fields. Thank you for helping me discover issues with
the
> script,
> > > > although my apologies it is not working as well as I had
hoped.
> > > >
> > > > If that does not work, please send your config.log file and
your
> > make.log
> > > > file.
> > > >
> > > > Thank you!
> > > >
> > > > Julie
> > > >
> > > > On Fri, May 15, 2020 at 4:53 PM robert.steenburgh at noaa.gov via
RT <
> > > > met_help at ucar.edu> wrote:
> > > >
> > > > >
> > > > > Fri May 15 16:52:37 2020: Request 95277 was acted upon.
> > > > > Transaction: Ticket created by robert.steenburgh at noaa.gov
> > > > > Queue: met_help
> > > > > Subject: MET 9.01 compile error: -lgrib2c
> > > > > Owner: Nobody
> > > > > Requestors: robert.steenburgh at noaa.gov
> > > > > Status: new
> > > > > Ticket <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277
> > > >
> > > > >
> > > > >
> > > > > Greetings:
> > > > >
> > > > > Almost at the finish line installing MET using the install
script.
> > > > > I'm running into an error:
> > > > >
> > > > > /usr/bin/ld: skipping incompatible
> > > > > > /home/rob/bin/MET9.01/external_libs/lib/libgrib2c.a when
> searching
> > > for
> > > > > > -lgrib2c
> > > > > > /usr/bin/ld: cannot find -lgrib2c
> > > > > > collect2: error: ld returned 1 exit status
> > > > > >
> > > > >
> > > > > I've attached the make.log.
> > > > >
> > > > > If you have any ideas, please let me know. I've googled
around but
> > > can't
> > > > > find anything specific.
> > > > >
> > > > > Thank you,
> > > > > Rob
> > > > >
> > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > > > > Space Scientist
> > > > > Space Weather Forecast Office
> > > > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > > > > W/NP9
> > > > > 325 Broadway
> > > > > Boulder, CO 80305
> > > > > 303.497.5153
> > > > >
> > > > >
> > > >
> > > > --
> > > > Julie Prestopnik
> > > > Software Engineer
> > > > National Center for Atmospheric Research
> > > > Research Applications Laboratory
> > > > Phone: 303.497.8399
> > > > Email: jpresto at ucar.edu
> > > >
> > > > My working day may not be your working day. Please do not
feel
> obliged
> > > to
> > > > reply to this email outside of your normal working hours.
> > > >
> > > >
> > >
> > >
> >
> > --
> > Julie Prestopnik
> > Software Engineer
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
> > My working day may not be your working day. Please do not feel
obliged
> to
> > reply to this email outside of your normal working hours.
> >
> >
>
>
--
Julie Prestopnik
Software Engineer
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu
My working day may not be your working day. Please do not feel
obliged to
reply to this email outside of your normal working hours.
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: Julie Prestopnik
Time: Thu May 21 18:29:03 2020
Hi Rob.
Unfortunately, I was unable to reproduce the problem you are
experiencing.
I successfully installed Python-3.7.3, the external libraries, and
met-9.0.1 with the gnu 8.3.0 compiler using the same script and
software
packages.
Is there any chance I would be able to get an account on a machine
there to
help out with the installation? If not, perhaps you could try
starting
over with a fresh install? Or, as you suggested, you could try it on
a
different machine / flavor of Linux.
Julie
On Thu, May 21, 2020 at 4:51 PM Julie Prestopnik <jpresto at ucar.edu>
wrote:
> Thanks, Rob! I found a machine with the 8.3.0 gnu compiler and am
> installing Python-3.7.3 now. I may have some follow up questions.
Thank
> you for helping us work through these issues! Have a great weekend!
>
> Julie
>
> On Thu, May 21, 2020 at 4:44 PM robert.steenburgh at noaa.gov via RT <
> met_help at ucar.edu> wrote:
>
>>
>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
>>
>> No worries, Julie.
>>
>> I'll give it a try on a different machine / flavor of Linux in the
>> meantime.
>> The laptop I'm currently compiling it on is a 9 year old Dell.
>>
>> If you end up needing any more info along the way, just let me
know.
>>
>> Leave it to me to uncover weird behavior.
>> Probably a good thing I was never a test pilot!
>>
>> Cheers,
>> Rob
>> Rob Steenburgh <robert.steenburgh at noaa.gov>
>> Space Scientist
>> Space Weather Forecast Office
>> Space Weather Prediction Center <http://www.swpc.noaa.gov>
>> W/NP9
>> 325 Broadway
>> Boulder, CO 80305
>> 303.497.5153
>>
>>
>>
>>
>> On Thu, May 21, 2020 at 3:34 PM Julie Prestopnik via RT <
>> met_help at ucar.edu>
>> wrote:
>>
>> > Hi Rob. This is a tough one. I haven't seen this problem
before. I'm
>> > going to try to reproduce the problem you are experiencing and
will
>> follow
>> > up once I know more, hopefully with a solution. I have a few
meetings
>> > tomorrow, so I may not get back to you until next week
(hopefully, early
>> > next week).
>> >
>> > Julie
>> >
>> > On Thu, May 21, 2020 at 2:28 PM robert.steenburgh at noaa.gov via RT
<
>> > met_help at ucar.edu> wrote:
>> >
>> > >
>> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
>> > >
>> > > O.K. it's still blowing up - I included my install... file,
too, just
>> in
>> > > case order matters or I botched the python specs.
>> > >
>> > > Rob
>> > > Rob Steenburgh <robert.steenburgh at noaa.gov>
>> > > Space Scientist
>> > > Space Weather Forecast Office
>> > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
>> > > W/NP9
>> > > 325 Broadway
>> > > Boulder, CO 80305
>> > > 303.497.5153
>> > >
>> > >
>> > >
>> > >
>> > > On Thu, May 21, 2020 at 2:16 PM Julie Prestopnik via RT <
>> > met_help at ucar.edu
>> > > >
>> > > wrote:
>> > >
>> > > > Hi Rob.
>> > > >
>> > > > I'm glad progress is being made, although I'm sorry that
problems
>> > > persist.
>> > > > Could you please try setting the following in your
>> > > > install_met_env.METPlusTest file and then rerun?
>> > > >
>> > > > export MET_GRIB2CLIB=/home/rob/bin/MET9.01/external_libs/lib
>> > > > export
MET_GRIB2CINC=/home/rob/bin/MET9.01/external_libs/include
>> > > >
>> > > > If that works, I believe it is related to needing to set
>> GRIB2CLIB_NAME
>> > > > after an attempted install and me needing to set up default
values
>> for
>> > > > these fields. Thank you for helping me discover issues with
the
>> script,
>> > > > although my apologies it is not working as well as I had
hoped.
>> > > >
>> > > > If that does not work, please send your config.log file and
your
>> > make.log
>> > > > file.
>> > > >
>> > > > Thank you!
>> > > >
>> > > > Julie
>> > > >
>> > > > On Fri, May 15, 2020 at 4:53 PM robert.steenburgh at noaa.gov
via RT <
>> > > > met_help at ucar.edu> wrote:
>> > > >
>> > > > >
>> > > > > Fri May 15 16:52:37 2020: Request 95277 was acted upon.
>> > > > > Transaction: Ticket created by robert.steenburgh at noaa.gov
>> > > > > Queue: met_help
>> > > > > Subject: MET 9.01 compile error: -lgrib2c
>> > > > > Owner: Nobody
>> > > > > Requestors: robert.steenburgh at noaa.gov
>> > > > > Status: new
>> > > > > Ticket <URL:
>> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277
>> > > >
>> > > > >
>> > > > >
>> > > > > Greetings:
>> > > > >
>> > > > > Almost at the finish line installing MET using the install
script.
>> > > > > I'm running into an error:
>> > > > >
>> > > > > /usr/bin/ld: skipping incompatible
>> > > > > > /home/rob/bin/MET9.01/external_libs/lib/libgrib2c.a when
>> searching
>> > > for
>> > > > > > -lgrib2c
>> > > > > > /usr/bin/ld: cannot find -lgrib2c
>> > > > > > collect2: error: ld returned 1 exit status
>> > > > > >
>> > > > >
>> > > > > I've attached the make.log.
>> > > > >
>> > > > > If you have any ideas, please let me know. I've googled
around
>> but
>> > > can't
>> > > > > find anything specific.
>> > > > >
>> > > > > Thank you,
>> > > > > Rob
>> > > > >
>> > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
>> > > > > Space Scientist
>> > > > > Space Weather Forecast Office
>> > > > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
>> > > > > W/NP9
>> > > > > 325 Broadway
>> > > > > Boulder, CO 80305
>> > > > > 303.497.5153
>> > > > >
>> > > > >
>> > > >
>> > > > --
>> > > > Julie Prestopnik
>> > > > Software Engineer
>> > > > National Center for Atmospheric Research
>> > > > Research Applications Laboratory
>> > > > Phone: 303.497.8399
>> > > > Email: jpresto at ucar.edu
>> > > >
>> > > > My working day may not be your working day. Please do not
feel
>> obliged
>> > > to
>> > > > reply to this email outside of your normal working hours.
>> > > >
>> > > >
>> > >
>> > >
>> >
>> > --
>> > Julie Prestopnik
>> > Software Engineer
>> > National Center for Atmospheric Research
>> > Research Applications Laboratory
>> > Phone: 303.497.8399
>> > Email: jpresto at ucar.edu
>> >
>> > My working day may not be your working day. Please do not feel
obliged
>> to
>> > reply to this email outside of your normal working hours.
>> >
>> >
>>
>>
>
> --
> Julie Prestopnik
> Software Engineer
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
> My working day may not be your working day. Please do not feel
obliged to
> reply to this email outside of your normal working hours.
>
--
Julie Prestopnik
Software Engineer
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu
My working day may not be your working day. Please do not feel
obliged to
reply to this email outside of your normal working hours.
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: robert.steenburgh at noaa.gov
Time: Thu May 21 19:29:49 2020
Hi Julie:
The machine is my own laptop at home, so it'd be hard to get an
account on
here without a visit :)
I tried it on the newest/fastest laptop I have, running Fedora 32
natively,
and it blew up in a different way (HDF config failure).
So, I'll mess around with VMs some more and try a reinstall.
Also, since I'm not the only one attempting this, Frank or Terry may
have
better luck.
Cheers,
Rob
Rob Steenburgh <robert.steenburgh at noaa.gov>
Space Scientist
Space Weather Forecast Office
Space Weather Prediction Center <http://www.swpc.noaa.gov>
W/NP9
325 Broadway
Boulder, CO 80305
303.497.5153
On Thu, May 21, 2020 at 6:29 PM Julie Prestopnik via RT
<met_help at ucar.edu>
wrote:
> Hi Rob.
>
> Unfortunately, I was unable to reproduce the problem you are
experiencing.
> I successfully installed Python-3.7.3, the external libraries, and
> met-9.0.1 with the gnu 8.3.0 compiler using the same script and
software
> packages.
>
> Is there any chance I would be able to get an account on a machine
there to
> help out with the installation? If not, perhaps you could try
starting
> over with a fresh install? Or, as you suggested, you could try it
on a
> different machine / flavor of Linux.
>
> Julie
>
> On Thu, May 21, 2020 at 4:51 PM Julie Prestopnik <jpresto at ucar.edu>
wrote:
>
> > Thanks, Rob! I found a machine with the 8.3.0 gnu compiler and am
> > installing Python-3.7.3 now. I may have some follow up questions.
Thank
> > you for helping us work through these issues! Have a great
weekend!
> >
> > Julie
> >
> > On Thu, May 21, 2020 at 4:44 PM robert.steenburgh at noaa.gov via RT
<
> > met_help at ucar.edu> wrote:
> >
> >>
> >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> >>
> >> No worries, Julie.
> >>
> >> I'll give it a try on a different machine / flavor of Linux in
the
> >> meantime.
> >> The laptop I'm currently compiling it on is a 9 year old Dell.
> >>
> >> If you end up needing any more info along the way, just let me
know.
> >>
> >> Leave it to me to uncover weird behavior.
> >> Probably a good thing I was never a test pilot!
> >>
> >> Cheers,
> >> Rob
> >> Rob Steenburgh <robert.steenburgh at noaa.gov>
> >> Space Scientist
> >> Space Weather Forecast Office
> >> Space Weather Prediction Center <http://www.swpc.noaa.gov>
> >> W/NP9
> >> 325 Broadway
> >> Boulder, CO 80305
> >> 303.497.5153
> >>
> >>
> >>
> >>
> >> On Thu, May 21, 2020 at 3:34 PM Julie Prestopnik via RT <
> >> met_help at ucar.edu>
> >> wrote:
> >>
> >> > Hi Rob. This is a tough one. I haven't seen this problem
before.
> I'm
> >> > going to try to reproduce the problem you are experiencing and
will
> >> follow
> >> > up once I know more, hopefully with a solution. I have a few
> meetings
> >> > tomorrow, so I may not get back to you until next week
(hopefully,
> early
> >> > next week).
> >> >
> >> > Julie
> >> >
> >> > On Thu, May 21, 2020 at 2:28 PM robert.steenburgh at noaa.gov via
RT <
> >> > met_help at ucar.edu> wrote:
> >> >
> >> > >
> >> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277
>
> >> > >
> >> > > O.K. it's still blowing up - I included my install... file,
too,
> just
> >> in
> >> > > case order matters or I botched the python specs.
> >> > >
> >> > > Rob
> >> > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> >> > > Space Scientist
> >> > > Space Weather Forecast Office
> >> > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> >> > > W/NP9
> >> > > 325 Broadway
> >> > > Boulder, CO 80305
> >> > > 303.497.5153
> >> > >
> >> > >
> >> > >
> >> > >
> >> > > On Thu, May 21, 2020 at 2:16 PM Julie Prestopnik via RT <
> >> > met_help at ucar.edu
> >> > > >
> >> > > wrote:
> >> > >
> >> > > > Hi Rob.
> >> > > >
> >> > > > I'm glad progress is being made, although I'm sorry that
problems
> >> > > persist.
> >> > > > Could you please try setting the following in your
> >> > > > install_met_env.METPlusTest file and then rerun?
> >> > > >
> >> > > > export
MET_GRIB2CLIB=/home/rob/bin/MET9.01/external_libs/lib
> >> > > > export
MET_GRIB2CINC=/home/rob/bin/MET9.01/external_libs/include
> >> > > >
> >> > > > If that works, I believe it is related to needing to set
> >> GRIB2CLIB_NAME
> >> > > > after an attempted install and me needing to set up default
values
> >> for
> >> > > > these fields. Thank you for helping me discover issues with
the
> >> script,
> >> > > > although my apologies it is not working as well as I had
hoped.
> >> > > >
> >> > > > If that does not work, please send your config.log file and
your
> >> > make.log
> >> > > > file.
> >> > > >
> >> > > > Thank you!
> >> > > >
> >> > > > Julie
> >> > > >
> >> > > > On Fri, May 15, 2020 at 4:53 PM robert.steenburgh at noaa.gov
via
> RT <
> >> > > > met_help at ucar.edu> wrote:
> >> > > >
> >> > > > >
> >> > > > > Fri May 15 16:52:37 2020: Request 95277 was acted upon.
> >> > > > > Transaction: Ticket created by robert.steenburgh at noaa.gov
> >> > > > > Queue: met_help
> >> > > > > Subject: MET 9.01 compile error: -lgrib2c
> >> > > > > Owner: Nobody
> >> > > > > Requestors: robert.steenburgh at noaa.gov
> >> > > > > Status: new
> >> > > > > Ticket <URL:
> >> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277
> >> > > >
> >> > > > >
> >> > > > >
> >> > > > > Greetings:
> >> > > > >
> >> > > > > Almost at the finish line installing MET using the
install
> script.
> >> > > > > I'm running into an error:
> >> > > > >
> >> > > > > /usr/bin/ld: skipping incompatible
> >> > > > > > /home/rob/bin/MET9.01/external_libs/lib/libgrib2c.a
when
> >> searching
> >> > > for
> >> > > > > > -lgrib2c
> >> > > > > > /usr/bin/ld: cannot find -lgrib2c
> >> > > > > > collect2: error: ld returned 1 exit status
> >> > > > > >
> >> > > > >
> >> > > > > I've attached the make.log.
> >> > > > >
> >> > > > > If you have any ideas, please let me know. I've googled
around
> >> but
> >> > > can't
> >> > > > > find anything specific.
> >> > > > >
> >> > > > > Thank you,
> >> > > > > Rob
> >> > > > >
> >> > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> >> > > > > Space Scientist
> >> > > > > Space Weather Forecast Office
> >> > > > > Space Weather Prediction Center
<http://www.swpc.noaa.gov>
> >> > > > > W/NP9
> >> > > > > 325 Broadway
> >> > > > > Boulder, CO 80305
> >> > > > > 303.497.5153
> >> > > > >
> >> > > > >
> >> > > >
> >> > > > --
> >> > > > Julie Prestopnik
> >> > > > Software Engineer
> >> > > > National Center for Atmospheric Research
> >> > > > Research Applications Laboratory
> >> > > > Phone: 303.497.8399
> >> > > > Email: jpresto at ucar.edu
> >> > > >
> >> > > > My working day may not be your working day. Please do not
feel
> >> obliged
> >> > > to
> >> > > > reply to this email outside of your normal working hours.
> >> > > >
> >> > > >
> >> > >
> >> > >
> >> >
> >> > --
> >> > Julie Prestopnik
> >> > Software Engineer
> >> > National Center for Atmospheric Research
> >> > Research Applications Laboratory
> >> > Phone: 303.497.8399
> >> > Email: jpresto at ucar.edu
> >> >
> >> > My working day may not be your working day. Please do not feel
> obliged
> >> to
> >> > reply to this email outside of your normal working hours.
> >> >
> >> >
> >>
> >>
> >
> > --
> > Julie Prestopnik
> > Software Engineer
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
> > My working day may not be your working day. Please do not feel
obliged
> to
> > reply to this email outside of your normal working hours.
> >
>
>
> --
> Julie Prestopnik
> Software Engineer
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
> My working day may not be your working day. Please do not feel
obliged to
> reply to this email outside of your normal working hours.
>
>
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: robert.steenburgh at noaa.gov
Time: Fri May 22 08:10:09 2020
Hello:
Trying another MET with Python installation using Debian 10 on a new
VM.
I'm running into a different problem this time; I can't get past the
HDF
compile.
Why this is happening now and not before is a mystery. Happened last
night
on a native Fedora machine, too.
Config file attached.
Rob
Rob Steenburgh <robert.steenburgh at noaa.gov>
Space Scientist
Space Weather Forecast Office
Space Weather Prediction Center <http://www.swpc.noaa.gov>
W/NP9
325 Broadway
Boulder, CO 80305
303.497.5153
On Thu, May 21, 2020 at 7:29 PM Robert Steenburgh - NOAA Federal <
robert.steenburgh at noaa.gov> wrote:
> Hi Julie:
>
> The machine is my own laptop at home, so it'd be hard to get an
account on
> here without a visit :)
> I tried it on the newest/fastest laptop I have, running Fedora 32
> natively, and it blew up in a different way (HDF config failure).
>
> So, I'll mess around with VMs some more and try a reinstall.
>
> Also, since I'm not the only one attempting this, Frank or Terry may
have
> better luck.
>
> Cheers,
> Rob
>
> Rob Steenburgh <robert.steenburgh at noaa.gov>
> Space Scientist
> Space Weather Forecast Office
> Space Weather Prediction Center <http://www.swpc.noaa.gov>
> W/NP9
> 325 Broadway
> Boulder, CO 80305
> 303.497.5153
>
>
>
>
> On Thu, May 21, 2020 at 6:29 PM Julie Prestopnik via RT
<met_help at ucar.edu>
> wrote:
>
>> Hi Rob.
>>
>> Unfortunately, I was unable to reproduce the problem you are
experiencing.
>> I successfully installed Python-3.7.3, the external libraries, and
>> met-9.0.1 with the gnu 8.3.0 compiler using the same script and
software
>> packages.
>>
>> Is there any chance I would be able to get an account on a machine
there
>> to
>> help out with the installation? If not, perhaps you could try
starting
>> over with a fresh install? Or, as you suggested, you could try it
on a
>> different machine / flavor of Linux.
>>
>> Julie
>>
>> On Thu, May 21, 2020 at 4:51 PM Julie Prestopnik <jpresto at ucar.edu>
>> wrote:
>>
>> > Thanks, Rob! I found a machine with the 8.3.0 gnu compiler and
am
>> > installing Python-3.7.3 now. I may have some follow up
questions.
>> Thank
>> > you for helping us work through these issues! Have a great
weekend!
>> >
>> > Julie
>> >
>> > On Thu, May 21, 2020 at 4:44 PM robert.steenburgh at noaa.gov via RT
<
>> > met_help at ucar.edu> wrote:
>> >
>> >>
>> >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
>> >>
>> >> No worries, Julie.
>> >>
>> >> I'll give it a try on a different machine / flavor of Linux in
the
>> >> meantime.
>> >> The laptop I'm currently compiling it on is a 9 year old Dell.
>> >>
>> >> If you end up needing any more info along the way, just let me
know.
>> >>
>> >> Leave it to me to uncover weird behavior.
>> >> Probably a good thing I was never a test pilot!
>> >>
>> >> Cheers,
>> >> Rob
>> >> Rob Steenburgh <robert.steenburgh at noaa.gov>
>> >> Space Scientist
>> >> Space Weather Forecast Office
>> >> Space Weather Prediction Center <http://www.swpc.noaa.gov>
>> >> W/NP9
>> >> 325 Broadway
>> >> Boulder, CO 80305
>> >> 303.497.5153
>> >>
>> >>
>> >>
>> >>
>> >> On Thu, May 21, 2020 at 3:34 PM Julie Prestopnik via RT <
>> >> met_help at ucar.edu>
>> >> wrote:
>> >>
>> >> > Hi Rob. This is a tough one. I haven't seen this problem
before.
>> I'm
>> >> > going to try to reproduce the problem you are experiencing and
will
>> >> follow
>> >> > up once I know more, hopefully with a solution. I have a few
>> meetings
>> >> > tomorrow, so I may not get back to you until next week
(hopefully,
>> early
>> >> > next week).
>> >> >
>> >> > Julie
>> >> >
>> >> > On Thu, May 21, 2020 at 2:28 PM robert.steenburgh at noaa.gov via
RT <
>> >> > met_help at ucar.edu> wrote:
>> >> >
>> >> > >
>> >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
>> >> > >
>> >> > > O.K. it's still blowing up - I included my install... file,
too,
>> just
>> >> in
>> >> > > case order matters or I botched the python specs.
>> >> > >
>> >> > > Rob
>> >> > > Rob Steenburgh <robert.steenburgh at noaa.gov>
>> >> > > Space Scientist
>> >> > > Space Weather Forecast Office
>> >> > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
>> >> > > W/NP9
>> >> > > 325 Broadway
>> >> > > Boulder, CO 80305
>> >> > > 303.497.5153
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> > > On Thu, May 21, 2020 at 2:16 PM Julie Prestopnik via RT <
>> >> > met_help at ucar.edu
>> >> > > >
>> >> > > wrote:
>> >> > >
>> >> > > > Hi Rob.
>> >> > > >
>> >> > > > I'm glad progress is being made, although I'm sorry that
problems
>> >> > > persist.
>> >> > > > Could you please try setting the following in your
>> >> > > > install_met_env.METPlusTest file and then rerun?
>> >> > > >
>> >> > > > export
MET_GRIB2CLIB=/home/rob/bin/MET9.01/external_libs/lib
>> >> > > > export
MET_GRIB2CINC=/home/rob/bin/MET9.01/external_libs/include
>> >> > > >
>> >> > > > If that works, I believe it is related to needing to set
>> >> GRIB2CLIB_NAME
>> >> > > > after an attempted install and me needing to set up
default
>> values
>> >> for
>> >> > > > these fields. Thank you for helping me discover issues
with the
>> >> script,
>> >> > > > although my apologies it is not working as well as I had
hoped.
>> >> > > >
>> >> > > > If that does not work, please send your config.log file
and your
>> >> > make.log
>> >> > > > file.
>> >> > > >
>> >> > > > Thank you!
>> >> > > >
>> >> > > > Julie
>> >> > > >
>> >> > > > On Fri, May 15, 2020 at 4:53 PM robert.steenburgh at noaa.gov
via
>> RT <
>> >> > > > met_help at ucar.edu> wrote:
>> >> > > >
>> >> > > > >
>> >> > > > > Fri May 15 16:52:37 2020: Request 95277 was acted upon.
>> >> > > > > Transaction: Ticket created by
robert.steenburgh at noaa.gov
>> >> > > > > Queue: met_help
>> >> > > > > Subject: MET 9.01 compile error: -lgrib2c
>> >> > > > > Owner: Nobody
>> >> > > > > Requestors: robert.steenburgh at noaa.gov
>> >> > > > > Status: new
>> >> > > > > Ticket <URL:
>> >> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277
>> >> > > >
>> >> > > > >
>> >> > > > >
>> >> > > > > Greetings:
>> >> > > > >
>> >> > > > > Almost at the finish line installing MET using the
install
>> script.
>> >> > > > > I'm running into an error:
>> >> > > > >
>> >> > > > > /usr/bin/ld: skipping incompatible
>> >> > > > > > /home/rob/bin/MET9.01/external_libs/lib/libgrib2c.a
when
>> >> searching
>> >> > > for
>> >> > > > > > -lgrib2c
>> >> > > > > > /usr/bin/ld: cannot find -lgrib2c
>> >> > > > > > collect2: error: ld returned 1 exit status
>> >> > > > > >
>> >> > > > >
>> >> > > > > I've attached the make.log.
>> >> > > > >
>> >> > > > > If you have any ideas, please let me know. I've googled
around
>> >> but
>> >> > > can't
>> >> > > > > find anything specific.
>> >> > > > >
>> >> > > > > Thank you,
>> >> > > > > Rob
>> >> > > > >
>> >> > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
>> >> > > > > Space Scientist
>> >> > > > > Space Weather Forecast Office
>> >> > > > > Space Weather Prediction Center
<http://www.swpc.noaa.gov>
>> >> > > > > W/NP9
>> >> > > > > 325 Broadway
>> >> > > > > Boulder, CO 80305
>> >> > > > > 303.497.5153
>> >> > > > >
>> >> > > > >
>> >> > > >
>> >> > > > --
>> >> > > > Julie Prestopnik
>> >> > > > Software Engineer
>> >> > > > National Center for Atmospheric Research
>> >> > > > Research Applications Laboratory
>> >> > > > Phone: 303.497.8399
>> >> > > > Email: jpresto at ucar.edu
>> >> > > >
>> >> > > > My working day may not be your working day. Please do not
feel
>> >> obliged
>> >> > > to
>> >> > > > reply to this email outside of your normal working hours.
>> >> > > >
>> >> > > >
>> >> > >
>> >> > >
>> >> >
>> >> > --
>> >> > Julie Prestopnik
>> >> > Software Engineer
>> >> > National Center for Atmospheric Research
>> >> > Research Applications Laboratory
>> >> > Phone: 303.497.8399
>> >> > Email: jpresto at ucar.edu
>> >> >
>> >> > My working day may not be your working day. Please do not
feel
>> obliged
>> >> to
>> >> > reply to this email outside of your normal working hours.
>> >> >
>> >> >
>> >>
>> >>
>> >
>> > --
>> > Julie Prestopnik
>> > Software Engineer
>> > National Center for Atmospheric Research
>> > Research Applications Laboratory
>> > Phone: 303.497.8399
>> > Email: jpresto at ucar.edu
>> >
>> > My working day may not be your working day. Please do not feel
obliged
>> to
>> > reply to this email outside of your normal working hours.
>> >
>>
>>
>> --
>> Julie Prestopnik
>> Software Engineer
>> National Center for Atmospheric Research
>> Research Applications Laboratory
>> Phone: 303.497.8399
>> Email: jpresto at ucar.edu
>>
>> My working day may not be your working day. Please do not feel
obliged to
>> reply to this email outside of your normal working hours.
>>
>>
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: robert.steenburgh at noaa.gov
Time: Fri May 22 08:43:58 2020
Julie, can you provide the compile & install files (if you used them).
I'll compare 'em to mine.
Were you on a Debian 10 platform?
Rob
Rob Steenburgh <robert.steenburgh at noaa.gov>
Space Scientist
Space Weather Forecast Office
Space Weather Prediction Center <http://www.swpc.noaa.gov>
W/NP9
325 Broadway
Boulder, CO 80305
303.497.5153
On Thu, May 21, 2020 at 6:29 PM Julie Prestopnik via RT
<met_help at ucar.edu>
wrote:
> Hi Rob.
>
> Unfortunately, I was unable to reproduce the problem you are
experiencing.
> I successfully installed Python-3.7.3, the external libraries, and
> met-9.0.1 with the gnu 8.3.0 compiler using the same script and
software
> packages.
>
> Is there any chance I would be able to get an account on a machine
there to
> help out with the installation? If not, perhaps you could try
starting
> over with a fresh install? Or, as you suggested, you could try it
on a
> different machine / flavor of Linux.
>
> Julie
>
> On Thu, May 21, 2020 at 4:51 PM Julie Prestopnik <jpresto at ucar.edu>
wrote:
>
> > Thanks, Rob! I found a machine with the 8.3.0 gnu compiler and am
> > installing Python-3.7.3 now. I may have some follow up questions.
Thank
> > you for helping us work through these issues! Have a great
weekend!
> >
> > Julie
> >
> > On Thu, May 21, 2020 at 4:44 PM robert.steenburgh at noaa.gov via RT
<
> > met_help at ucar.edu> wrote:
> >
> >>
> >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> >>
> >> No worries, Julie.
> >>
> >> I'll give it a try on a different machine / flavor of Linux in
the
> >> meantime.
> >> The laptop I'm currently compiling it on is a 9 year old Dell.
> >>
> >> If you end up needing any more info along the way, just let me
know.
> >>
> >> Leave it to me to uncover weird behavior.
> >> Probably a good thing I was never a test pilot!
> >>
> >> Cheers,
> >> Rob
> >> Rob Steenburgh <robert.steenburgh at noaa.gov>
> >> Space Scientist
> >> Space Weather Forecast Office
> >> Space Weather Prediction Center <http://www.swpc.noaa.gov>
> >> W/NP9
> >> 325 Broadway
> >> Boulder, CO 80305
> >> 303.497.5153
> >>
> >>
> >>
> >>
> >> On Thu, May 21, 2020 at 3:34 PM Julie Prestopnik via RT <
> >> met_help at ucar.edu>
> >> wrote:
> >>
> >> > Hi Rob. This is a tough one. I haven't seen this problem
before.
> I'm
> >> > going to try to reproduce the problem you are experiencing and
will
> >> follow
> >> > up once I know more, hopefully with a solution. I have a few
> meetings
> >> > tomorrow, so I may not get back to you until next week
(hopefully,
> early
> >> > next week).
> >> >
> >> > Julie
> >> >
> >> > On Thu, May 21, 2020 at 2:28 PM robert.steenburgh at noaa.gov via
RT <
> >> > met_help at ucar.edu> wrote:
> >> >
> >> > >
> >> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277
>
> >> > >
> >> > > O.K. it's still blowing up - I included my install... file,
too,
> just
> >> in
> >> > > case order matters or I botched the python specs.
> >> > >
> >> > > Rob
> >> > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> >> > > Space Scientist
> >> > > Space Weather Forecast Office
> >> > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> >> > > W/NP9
> >> > > 325 Broadway
> >> > > Boulder, CO 80305
> >> > > 303.497.5153
> >> > >
> >> > >
> >> > >
> >> > >
> >> > > On Thu, May 21, 2020 at 2:16 PM Julie Prestopnik via RT <
> >> > met_help at ucar.edu
> >> > > >
> >> > > wrote:
> >> > >
> >> > > > Hi Rob.
> >> > > >
> >> > > > I'm glad progress is being made, although I'm sorry that
problems
> >> > > persist.
> >> > > > Could you please try setting the following in your
> >> > > > install_met_env.METPlusTest file and then rerun?
> >> > > >
> >> > > > export
MET_GRIB2CLIB=/home/rob/bin/MET9.01/external_libs/lib
> >> > > > export
MET_GRIB2CINC=/home/rob/bin/MET9.01/external_libs/include
> >> > > >
> >> > > > If that works, I believe it is related to needing to set
> >> GRIB2CLIB_NAME
> >> > > > after an attempted install and me needing to set up default
values
> >> for
> >> > > > these fields. Thank you for helping me discover issues with
the
> >> script,
> >> > > > although my apologies it is not working as well as I had
hoped.
> >> > > >
> >> > > > If that does not work, please send your config.log file and
your
> >> > make.log
> >> > > > file.
> >> > > >
> >> > > > Thank you!
> >> > > >
> >> > > > Julie
> >> > > >
> >> > > > On Fri, May 15, 2020 at 4:53 PM robert.steenburgh at noaa.gov
via
> RT <
> >> > > > met_help at ucar.edu> wrote:
> >> > > >
> >> > > > >
> >> > > > > Fri May 15 16:52:37 2020: Request 95277 was acted upon.
> >> > > > > Transaction: Ticket created by robert.steenburgh at noaa.gov
> >> > > > > Queue: met_help
> >> > > > > Subject: MET 9.01 compile error: -lgrib2c
> >> > > > > Owner: Nobody
> >> > > > > Requestors: robert.steenburgh at noaa.gov
> >> > > > > Status: new
> >> > > > > Ticket <URL:
> >> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277
> >> > > >
> >> > > > >
> >> > > > >
> >> > > > > Greetings:
> >> > > > >
> >> > > > > Almost at the finish line installing MET using the
install
> script.
> >> > > > > I'm running into an error:
> >> > > > >
> >> > > > > /usr/bin/ld: skipping incompatible
> >> > > > > > /home/rob/bin/MET9.01/external_libs/lib/libgrib2c.a
when
> >> searching
> >> > > for
> >> > > > > > -lgrib2c
> >> > > > > > /usr/bin/ld: cannot find -lgrib2c
> >> > > > > > collect2: error: ld returned 1 exit status
> >> > > > > >
> >> > > > >
> >> > > > > I've attached the make.log.
> >> > > > >
> >> > > > > If you have any ideas, please let me know. I've googled
around
> >> but
> >> > > can't
> >> > > > > find anything specific.
> >> > > > >
> >> > > > > Thank you,
> >> > > > > Rob
> >> > > > >
> >> > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> >> > > > > Space Scientist
> >> > > > > Space Weather Forecast Office
> >> > > > > Space Weather Prediction Center
<http://www.swpc.noaa.gov>
> >> > > > > W/NP9
> >> > > > > 325 Broadway
> >> > > > > Boulder, CO 80305
> >> > > > > 303.497.5153
> >> > > > >
> >> > > > >
> >> > > >
> >> > > > --
> >> > > > Julie Prestopnik
> >> > > > Software Engineer
> >> > > > National Center for Atmospheric Research
> >> > > > Research Applications Laboratory
> >> > > > Phone: 303.497.8399
> >> > > > Email: jpresto at ucar.edu
> >> > > >
> >> > > > My working day may not be your working day. Please do not
feel
> >> obliged
> >> > > to
> >> > > > reply to this email outside of your normal working hours.
> >> > > >
> >> > > >
> >> > >
> >> > >
> >> >
> >> > --
> >> > Julie Prestopnik
> >> > Software Engineer
> >> > National Center for Atmospheric Research
> >> > Research Applications Laboratory
> >> > Phone: 303.497.8399
> >> > Email: jpresto at ucar.edu
> >> >
> >> > My working day may not be your working day. Please do not feel
> obliged
> >> to
> >> > reply to this email outside of your normal working hours.
> >> >
> >> >
> >>
> >>
> >
> > --
> > Julie Prestopnik
> > Software Engineer
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
> > My working day may not be your working day. Please do not feel
obliged
> to
> > reply to this email outside of your normal working hours.
> >
>
>
> --
> Julie Prestopnik
> Software Engineer
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
> My working day may not be your working day. Please do not feel
obliged to
> reply to this email outside of your normal working hours.
>
>
------------------------------------------------
Subject: MET 9.01 compile error: -lgrib2c
From: Julie Prestopnik
Time: Fri May 22 15:08:22 2020
Hi Rob.
Thanks for your patience today. I've had meetings and an important
installation to do. Now I can shift my focus back to this issue.
Regarding
> I'm running into a different problem this time; I can't get past the
HDF
> compile. Why this is happening now and not before is a mystery.
Happened
> last night
on a native Fedora machine, too.
Strange! Thank you for passing along your config.log file. Could you
please also pass along your make.log file so that I can see the
compilation
error?
Julie, can you provide the compile & install files (if you used them).
> I'll compare 'em to mine.
You bet! They are attached - k15.config.log and k15.make.log
Were you on a Debian 10 platform?
Yes, here is the info from "lsb_release -a":
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
I saw the other emails about a meeting. I would be happy to meet to
help
install in a Linux environment. I will respond in that email chain
shortly.
Julie
On Fri, May 22, 2020 at 8:44 AM robert.steenburgh at noaa.gov via RT <
met_help at ucar.edu> wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
>
> Julie, can you provide the compile & install files (if you used
them).
> I'll compare 'em to mine.
> Were you on a Debian 10 platform?
>
> Rob
> Rob Steenburgh <robert.steenburgh at noaa.gov>
> Space Scientist
> Space Weather Forecast Office
> Space Weather Prediction Center <http://www.swpc.noaa.gov>
> W/NP9
> 325 Broadway
> Boulder, CO 80305
> 303.497.5153
>
>
>
>
> On Thu, May 21, 2020 at 6:29 PM Julie Prestopnik via RT
<met_help at ucar.edu
> >
> wrote:
>
> > Hi Rob.
> >
> > Unfortunately, I was unable to reproduce the problem you are
> experiencing.
> > I successfully installed Python-3.7.3, the external libraries, and
> > met-9.0.1 with the gnu 8.3.0 compiler using the same script and
software
> > packages.
> >
> > Is there any chance I would be able to get an account on a machine
there
> to
> > help out with the installation? If not, perhaps you could try
starting
> > over with a fresh install? Or, as you suggested, you could try it
on a
> > different machine / flavor of Linux.
> >
> > Julie
> >
> > On Thu, May 21, 2020 at 4:51 PM Julie Prestopnik
<jpresto at ucar.edu>
> wrote:
> >
> > > Thanks, Rob! I found a machine with the 8.3.0 gnu compiler and
am
> > > installing Python-3.7.3 now. I may have some follow up
questions.
> Thank
> > > you for helping us work through these issues! Have a great
weekend!
> > >
> > > Julie
> > >
> > > On Thu, May 21, 2020 at 4:44 PM robert.steenburgh at noaa.gov via
RT <
> > > met_help at ucar.edu> wrote:
> > >
> > >>
> > >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> > >>
> > >> No worries, Julie.
> > >>
> > >> I'll give it a try on a different machine / flavor of Linux in
the
> > >> meantime.
> > >> The laptop I'm currently compiling it on is a 9 year old Dell.
> > >>
> > >> If you end up needing any more info along the way, just let me
know.
> > >>
> > >> Leave it to me to uncover weird behavior.
> > >> Probably a good thing I was never a test pilot!
> > >>
> > >> Cheers,
> > >> Rob
> > >> Rob Steenburgh <robert.steenburgh at noaa.gov>
> > >> Space Scientist
> > >> Space Weather Forecast Office
> > >> Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > >> W/NP9
> > >> 325 Broadway
> > >> Boulder, CO 80305
> > >> 303.497.5153
> > >>
> > >>
> > >>
> > >>
> > >> On Thu, May 21, 2020 at 3:34 PM Julie Prestopnik via RT <
> > >> met_help at ucar.edu>
> > >> wrote:
> > >>
> > >> > Hi Rob. This is a tough one. I haven't seen this problem
before.
> > I'm
> > >> > going to try to reproduce the problem you are experiencing
and will
> > >> follow
> > >> > up once I know more, hopefully with a solution. I have a
few
> > meetings
> > >> > tomorrow, so I may not get back to you until next week
(hopefully,
> > early
> > >> > next week).
> > >> >
> > >> > Julie
> > >> >
> > >> > On Thu, May 21, 2020 at 2:28 PM robert.steenburgh at noaa.gov
via RT <
> > >> > met_help at ucar.edu> wrote:
> > >> >
> > >> > >
> > >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277 >
> > >> > >
> > >> > > O.K. it's still blowing up - I included my install... file,
too,
> > just
> > >> in
> > >> > > case order matters or I botched the python specs.
> > >> > >
> > >> > > Rob
> > >> > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > >> > > Space Scientist
> > >> > > Space Weather Forecast Office
> > >> > > Space Weather Prediction Center <http://www.swpc.noaa.gov>
> > >> > > W/NP9
> > >> > > 325 Broadway
> > >> > > Boulder, CO 80305
> > >> > > 303.497.5153
> > >> > >
> > >> > >
> > >> > >
> > >> > >
> > >> > > On Thu, May 21, 2020 at 2:16 PM Julie Prestopnik via RT <
> > >> > met_help at ucar.edu
> > >> > > >
> > >> > > wrote:
> > >> > >
> > >> > > > Hi Rob.
> > >> > > >
> > >> > > > I'm glad progress is being made, although I'm sorry that
> problems
> > >> > > persist.
> > >> > > > Could you please try setting the following in your
> > >> > > > install_met_env.METPlusTest file and then rerun?
> > >> > > >
> > >> > > > export
MET_GRIB2CLIB=/home/rob/bin/MET9.01/external_libs/lib
> > >> > > > export
MET_GRIB2CINC=/home/rob/bin/MET9.01/external_libs/include
> > >> > > >
> > >> > > > If that works, I believe it is related to needing to set
> > >> GRIB2CLIB_NAME
> > >> > > > after an attempted install and me needing to set up
default
> values
> > >> for
> > >> > > > these fields. Thank you for helping me discover issues
with the
> > >> script,
> > >> > > > although my apologies it is not working as well as I had
hoped.
> > >> > > >
> > >> > > > If that does not work, please send your config.log file
and your
> > >> > make.log
> > >> > > > file.
> > >> > > >
> > >> > > > Thank you!
> > >> > > >
> > >> > > > Julie
> > >> > > >
> > >> > > > On Fri, May 15, 2020 at 4:53 PM
robert.steenburgh at noaa.gov via
> > RT <
> > >> > > > met_help at ucar.edu> wrote:
> > >> > > >
> > >> > > > >
> > >> > > > > Fri May 15 16:52:37 2020: Request 95277 was acted upon.
> > >> > > > > Transaction: Ticket created by
robert.steenburgh at noaa.gov
> > >> > > > > Queue: met_help
> > >> > > > > Subject: MET 9.01 compile error: -lgrib2c
> > >> > > > > Owner: Nobody
> > >> > > > > Requestors: robert.steenburgh at noaa.gov
> > >> > > > > Status: new
> > >> > > > > Ticket <URL:
> > >> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=95277
> > >> > > >
> > >> > > > >
> > >> > > > >
> > >> > > > > Greetings:
> > >> > > > >
> > >> > > > > Almost at the finish line installing MET using the
install
> > script.
> > >> > > > > I'm running into an error:
> > >> > > > >
> > >> > > > > /usr/bin/ld: skipping incompatible
> > >> > > > > > /home/rob/bin/MET9.01/external_libs/lib/libgrib2c.a
when
> > >> searching
> > >> > > for
> > >> > > > > > -lgrib2c
> > >> > > > > > /usr/bin/ld: cannot find -lgrib2c
> > >> > > > > > collect2: error: ld returned 1 exit status
> > >> > > > > >
> > >> > > > >
> > >> > > > > I've attached the make.log.
> > >> > > > >
> > >> > > > > If you have any ideas, please let me know. I've
googled
> around
> > >> but
> > >> > > can't
> > >> > > > > find anything specific.
> > >> > > > >
> > >> > > > > Thank you,
> > >> > > > > Rob
> > >> > > > >
> > >> > > > > Rob Steenburgh <robert.steenburgh at noaa.gov>
> > >> > > > > Space Scientist
> > >> > > > > Space Weather Forecast Office
> > >> > > > > Space Weather Prediction Center
<http://www.swpc.noaa.gov>
> > >> > > > > W/NP9
> > >> > > > > 325 Broadway
> > >> > > > > Boulder, CO 80305
> > >> > > > > 303.497.5153
> > >> > > > >
> > >> > > > >
> > >> > > >
> > >> > > > --
> > >> > > > Julie Prestopnik
> > >> > > > Software Engineer
> > >> > > > National Center for Atmospheric Research
> > >> > > > Research Applications Laboratory
> > >> > > > Phone: 303.497.8399
> > >> > > > Email: jpresto at ucar.edu
> > >> > > >
> > >> > > > My working day may not be your working day. Please do
not feel
> > >> obliged
> > >> > > to
> > >> > > > reply to this email outside of your normal working hours.
> > >> > > >
> > >> > > >
> > >> > >
> > >> > >
> > >> >
> > >> > --
> > >> > Julie Prestopnik
> > >> > Software Engineer
> > >> > National Center for Atmospheric Research
> > >> > Research Applications Laboratory
> > >> > Phone: 303.497.8399
> > >> > Email: jpresto at ucar.edu
> > >> >
> > >> > My working day may not be your working day. Please do not
feel
> > obliged
> > >> to
> > >> > reply to this email outside of your normal working hours.
> > >> >
> > >> >
> > >>
> > >>
> > >
> > > --
> > > Julie Prestopnik
> > > Software Engineer
> > > National Center for Atmospheric Research
> > > Research Applications Laboratory
> > > Phone: 303.497.8399
> > > Email: jpresto at ucar.edu
> > >
> > > My working day may not be your working day. Please do not feel
obliged
> > to
> > > reply to this email outside of your normal working hours.
> > >
> >
> >
> > --
> > Julie Prestopnik
> > Software Engineer
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
> > My working day may not be your working day. Please do not feel
obliged
> to
> > reply to this email outside of your normal working hours.
> >
> >
>
>
--
Julie Prestopnik
Software Engineer
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu
My working day may not be your working day. Please do not feel
obliged to
reply to this email outside of your normal working hours.
------------------------------------------------
More information about the Met_help
mailing list