[Met_help] [rt.rap.ucar.edu #100247] History for Compilation error of MET v10.0.0

Julie Prestopnik via RT met_help at ucar.edu
Tue Jun 22 15:07:09 MDT 2021


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

Dear MET user support,

Hi. I am trying to install METplus v4.0.0 (with MET v10.0.0), but I encountered with the error while compiling MET v10.0.0. I tried with both GNU and Intel compilers, but the error message was the same. The error message is as follows:

1) make.log
=====================================
Making all in vx_cal
make[4]: Entering directory `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic/vx_cal'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic/vx_cal'
Making all in vx_math
make[4]: Entering directory `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic/vx_math'
make[4]: *** No rule to make target `viewgravity_to_string.cc', needed by `libvx_math_a-viewgravity_to_string.o'.  Stop.
make[4]: Leaving directory `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic/vx_math'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met'
make: *** [all] Error 2
=====================================

2) config.log
=====================================
/tmp/iccbqYviU.o: In function `main':
/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/conftest.l:18: undefined reference to `yywrap'
/tmp/iccbqYviU.o: In function `yylex':
/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/lex.yy.c:869: undefined reference to `yywrap'
/tmp/iccbqYviU.o: In function `input':
/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/lex.yy.c:1170: undefined reference to `yywrap'
/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/lex.yy.c:1170: undefined reference to `yywrap'
configure:6576: $? = 1
configure: failed program was:
| /* confdefs.h */
======================================

Please find the attached log files (config.log and make.log) for more information. It would be much appreciated if you let me know how to fix this error. Thank you for your support.

Best regards,
Eun-Gyeong



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

Subject: Compilation error of MET v10.0.0
From: George McCabe
Time: Wed Jun 16 11:49:09 2021

Hi Eun-Gyeong,

I see you are having issues installing MET. I have assigned this
ticket to Julie, who is experienced with installation issues. Please
allow a few business days for a response.

Thanks,
George

On Wed Jun 16 11:06:19 2021, eyang5 at albany.edu wrote:
> Dear MET user support,
>
> Hi. I am trying to install METplus v4.0.0 (with MET v10.0.0), but I
> encountered with the error while compiling MET v10.0.0. I tried with
> both GNU and Intel compilers, but the error message was the same.
The
> error message is as follows:
>
> 1) make.log
> =====================================
> Making all in vx_cal
> make[4]: Entering directory
> `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic/vx_cal'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory
> `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic/vx_cal'
> Making all in vx_math
> make[4]: Entering directory
> `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic/vx_math'
> make[4]: *** No rule to make target `viewgravity_to_string.cc',
needed
> by `libvx_math_a-viewgravity_to_string.o'.  Stop.
> make[4]: Leaving directory
> `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic/vx_math'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met'
> make: *** [all] Error 2
> =====================================
>
> 2) config.log
> =====================================
> /tmp/iccbqYviU.o: In function `main':
> /nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/conftest.l:18:
> undefined reference to `yywrap'
> /tmp/iccbqYviU.o: In function `yylex':
> /nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/lex.yy.c:869:
> undefined reference to `yywrap'
> /tmp/iccbqYviU.o: In function `input':
> /nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/lex.yy.c:1170:
> undefined reference to `yywrap'
> /nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/lex.yy.c:1170:
> undefined reference to `yywrap'
> configure:6576: $? = 1
> configure: failed program was:
> | /* confdefs.h */
> ======================================
>
> Please find the attached log files (config.log and make.log) for
more
> information. It would be much appreciated if you let me know how to
> fix this error. Thank you for your support.
>
> Best regards,
> Eun-Gyeong



------------------------------------------------
Subject: Compilation error of MET v10.0.0
From: Julie Prestopnik
Time: Wed Jun 16 15:56:12 2021

Hi Eun-Gyeong.  I see that you are having some trouble compiling the
MET
software.

Can you please tell me where you download the MET source code from? I
am
wondering if you got the code directly from GitHub.

Instead, it should be downloaded from the link on this page:
https://dtcenter.org/community-code/model-evaluation-tools-
met/download

Here is the direct link to the tarfile to download:
https://github.com/dtcenter/MET/releases/download/v10.0.0/met-
10.0.0.20210510.tar.gz

MET is intended to be compiled by users from a tarfile, not directly
from
the repository. That's why our Downloads page
<https://dtcenter.org/community-code/model-evaluation-tools-
met/download>
links directly to the tarfile on GitHub
<
https://github.com/dtcenter/MET/releases/download/v10.0.0/met-
10.0.0.20210510.tar.gz
>
that users should compile. We do development within the repository but
run
a script to create a release. That script runs some tools to
automatically
generate some code, including an internal utility enum_to_string as
well as
lex/yacc. Those utilities are needed for development but not for
compiling
the released versions. This logic is handled in the "make" step using
the
MET_DEVELOPMENT environment variable. If that variable is set when the
"configure" script is run, then subsequent calls to "make" will create
those auto-generated files... and "make clean" will remove them.

But again, this is intended for development, not for the compilation
of a
release tarfile. To compile MET, please refer to the section titled:
"Sample Script For Compiling External Libraries And MET" on the MET
downloads page:
https://dtcenter.org/community-code/model-evaluation-tools-
met/download

Please let us know if you have any follow up questions and please let
us
know how the compilation goes.  I hope this helps.

Julie


On Wed, Jun 16, 2021 at 11:06 AM Yang, Eun-Gyeong via RT
<met_help at ucar.edu>
wrote:

>
> Wed Jun 16 11:06:19 2021: Request 100247 was acted upon.
> Transaction: Ticket created by eyang5 at albany.edu
>        Queue: met_help
>      Subject: Compilation error of MET v10.0.0
>        Owner: Nobody
>   Requestors: eyang5 at albany.edu
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100247 >
>
>
> Dear MET user support,
>
> Hi. I am trying to install METplus v4.0.0 (with MET v10.0.0), but I
> encountered with the error while compiling MET v10.0.0. I tried with
both
> GNU and Intel compilers, but the error message was the same. The
error
> message is as follows:
>
> 1) make.log
> =====================================
> Making all in vx_cal
> make[4]: Entering directory
> `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic/vx_cal'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory
> `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic/vx_cal'
> Making all in vx_math
> make[4]: Entering directory
> `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic/vx_math'
> make[4]: *** No rule to make target `viewgravity_to_string.cc',
needed by
> `libvx_math_a-viewgravity_to_string.o'.  Stop.
> make[4]: Leaving directory
> `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic/vx_math'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met'
> make: *** [all] Error 2
> =====================================
>
> 2) config.log
> =====================================
> /tmp/iccbqYviU.o: In function `main':
> /nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/conftest.l:18:
undefined
> reference to `yywrap'
> /tmp/iccbqYviU.o: In function `yylex':
> /nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/lex.yy.c:869:
undefined
> reference to `yywrap'
> /tmp/iccbqYviU.o: In function `input':
> /nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/lex.yy.c:1170:
undefined
> reference to `yywrap'
> /nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/lex.yy.c:1170:
undefined
> reference to `yywrap'
> configure:6576: $? = 1
> configure: failed program was:
> | /* confdefs.h */
> ======================================
>
> Please find the attached log files (config.log and make.log) for
more
> information. It would be much appreciated if you let me know how to
fix
> this error. Thank you for your support.
>
> Best regards,
> Eun-Gyeong
>
>
>

--
Julie Prestopnik (she/her)
Software Engineer
National Center for Atmospheric Research
Research Applications Laboratory
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: Compilation error of MET v10.0.0
From: Julie Prestopnik
Time: Mon Jun 21 13:57:42 2021

Hi Eun-Gyeong.

I just wanted to follow up and see if you were able to install MET
successfully or if you encountered any problems you need assistance
with.

Kind regards,
Julie

On Wed, Jun 16, 2021 at 3:55 PM Julie Prestopnik <jpresto at ucar.edu>
wrote:

> Hi Eun-Gyeong.  I see that you are having some trouble compiling the
MET
> software.
>
> Can you please tell me where you download the MET source code from?
I am
> wondering if you got the code directly from GitHub.
>
> Instead, it should be downloaded from the link on this page:
> https://dtcenter.org/community-code/model-evaluation-tools-
met/download
>
> Here is the direct link to the tarfile to download:
>
> https://github.com/dtcenter/MET/releases/download/v10.0.0/met-
10.0.0.20210510.tar.gz
>
> MET is intended to be compiled by users from a tarfile, not directly
from
> the repository. That's why our Downloads page
> <https://dtcenter.org/community-code/model-evaluation-tools-
met/download>
> links directly to the tarfile on GitHub
> <
> https://github.com/dtcenter/MET/releases/download/v10.0.0/met-
10.0.0.20210510.tar.gz
> >
> that users should compile. We do development within the repository
but run
> a script to create a release. That script runs some tools to
automatically
> generate some code, including an internal utility enum_to_string as
well as
> lex/yacc. Those utilities are needed for development but not for
compiling
> the released versions. This logic is handled in the "make" step
using the
> MET_DEVELOPMENT environment variable. If that variable is set when
the
> "configure" script is run, then subsequent calls to "make" will
create
> those auto-generated files... and "make clean" will remove them.
>
> But again, this is intended for development, not for the compilation
of a
> release tarfile. To compile MET, please refer to the section titled:
> "Sample Script For Compiling External Libraries And MET" on the MET
> downloads page:
> https://dtcenter.org/community-code/model-evaluation-tools-
met/download
>
> Please let us know if you have any follow up questions and please
let us
> know how the compilation goes.  I hope this helps.
>
> Julie
>
>
> On Wed, Jun 16, 2021 at 11:06 AM Yang, Eun-Gyeong via RT <
> met_help at ucar.edu> wrote:
>
>>
>> Wed Jun 16 11:06:19 2021: Request 100247 was acted upon.
>> Transaction: Ticket created by eyang5 at albany.edu
>>        Queue: met_help
>>      Subject: Compilation error of MET v10.0.0
>>        Owner: Nobody
>>   Requestors: eyang5 at albany.edu
>>       Status: new
>>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100247 >
>>
>>
>> Dear MET user support,
>>
>> Hi. I am trying to install METplus v4.0.0 (with MET v10.0.0), but I
>> encountered with the error while compiling MET v10.0.0. I tried
with both
>> GNU and Intel compilers, but the error message was the same. The
error
>> message is as follows:
>>
>> 1) make.log
>> =====================================
>> Making all in vx_cal
>> make[4]: Entering directory
>> `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic/vx_cal'
>> make[4]: Nothing to be done for `all'.
>> make[4]: Leaving directory
>> `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic/vx_cal'
>> Making all in vx_math
>> make[4]: Entering directory
>>
`/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic/vx_math'
>> make[4]: *** No rule to make target `viewgravity_to_string.cc',
needed by
>> `libvx_math_a-viewgravity_to_string.o'.  Stop.
>> make[4]: Leaving directory
>>
`/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic/vx_math'
>> make[3]: *** [all-recursive] Error 1
>> make[3]: Leaving directory
>> `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory
>> `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory
>> `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met'
>> make: *** [all] Error 2
>> =====================================
>>
>> 2) config.log
>> =====================================
>> /tmp/iccbqYviU.o: In function `main':
>> /nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/conftest.l:18:
undefined
>> reference to `yywrap'
>> /tmp/iccbqYviU.o: In function `yylex':
>> /nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/lex.yy.c:869:
undefined
>> reference to `yywrap'
>> /tmp/iccbqYviU.o: In function `input':
>> /nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/lex.yy.c:1170:
undefined
>> reference to `yywrap'
>> /nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/lex.yy.c:1170:
undefined
>> reference to `yywrap'
>> configure:6576: $? = 1
>> configure: failed program was:
>> | /* confdefs.h */
>> ======================================
>>
>> Please find the attached log files (config.log and make.log) for
more
>> information. It would be much appreciated if you let me know how to
fix
>> this error. Thank you for your support.
>>
>> Best regards,
>> Eun-Gyeong
>>
>>
>>
>
> --
> Julie Prestopnik (she/her)
> Software Engineer
> National Center for Atmospheric Research
> Research Applications Laboratory
> 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 (she/her)
Software Engineer
National Center for Atmospheric Research
Research Applications Laboratory
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: Compilation error of MET v10.0.0
From: Yang, Eun-Gyeong
Time: Tue Jun 22 12:35:21 2021

Hi Julie,

Thank you so much for your email.
I have finally installed MET successfully with MET source codes
downloaded from the web site you provided! The reason why I downloaded
MET from GitHub repository previously is that I just ran METplus
v4.0.0, which is coded to download MET v10.0.0 from GitHub repository,
though. Anyway, I was able to install MET with your support. I really
appreciate your assistance.

Best regards,
Eun-Gyeong
________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Monday, June 21, 2021 15:57
To: Yang, Eun-Gyeong <eyang5 at albany.edu>
Subject: Re: [rt.rap.ucar.edu #100247] Compilation error of MET
v10.0.0

Hi Eun-Gyeong.

I just wanted to follow up and see if you were able to install MET
successfully or if you encountered any problems you need assistance
with.

Kind regards,
Julie

On Wed, Jun 16, 2021 at 3:55 PM Julie Prestopnik <jpresto at ucar.edu>
wrote:

> Hi Eun-Gyeong.  I see that you are having some trouble compiling the
MET
> software.
>
> Can you please tell me where you download the MET source code from?
I am
> wondering if you got the code directly from GitHub.
>
> Instead, it should be downloaded from the link on this page:
> https://dtcenter.org/community-code/model-evaluation-tools-
met/download
>
> Here is the direct link to the tarfile to download:
>
> https://github.com/dtcenter/MET/releases/download/v10.0.0/met-
10.0.0.20210510.tar.gz
>
> MET is intended to be compiled by users from a tarfile, not directly
from
> the repository. That's why our Downloads page
> <https://dtcenter.org/community-code/model-evaluation-tools-
met/download>
> links directly to the tarfile on GitHub
> <
> https://github.com/dtcenter/MET/releases/download/v10.0.0/met-
10.0.0.20210510.tar.gz
> >
> that users should compile. We do development within the repository
but run
> a script to create a release. That script runs some tools to
automatically
> generate some code, including an internal utility enum_to_string as
well as
> lex/yacc. Those utilities are needed for development but not for
compiling
> the released versions. This logic is handled in the "make" step
using the
> MET_DEVELOPMENT environment variable. If that variable is set when
the
> "configure" script is run, then subsequent calls to "make" will
create
> those auto-generated files... and "make clean" will remove them.
>
> But again, this is intended for development, not for the compilation
of a
> release tarfile. To compile MET, please refer to the section titled:
> "Sample Script For Compiling External Libraries And MET" on the MET
> downloads page:
> https://dtcenter.org/community-code/model-evaluation-tools-
met/download
>
> Please let us know if you have any follow up questions and please
let us
> know how the compilation goes.  I hope this helps.
>
> Julie
>
>
> On Wed, Jun 16, 2021 at 11:06 AM Yang, Eun-Gyeong via RT <
> met_help at ucar.edu> wrote:
>
>>
>> Wed Jun 16 11:06:19 2021: Request 100247 was acted upon.
>> Transaction: Ticket created by eyang5 at albany.edu
>>        Queue: met_help
>>      Subject: Compilation error of MET v10.0.0
>>        Owner: Nobody
>>   Requestors: eyang5 at albany.edu
>>       Status: new
>>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100247 >
>>
>>
>> Dear MET user support,
>>
>> Hi. I am trying to install METplus v4.0.0 (with MET v10.0.0), but I
>> encountered with the error while compiling MET v10.0.0. I tried
with both
>> GNU and Intel compilers, but the error message was the same. The
error
>> message is as follows:
>>
>> 1) make.log
>> =====================================
>> Making all in vx_cal
>> make[4]: Entering directory
>> `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic/vx_cal'
>> make[4]: Nothing to be done for `all'.
>> make[4]: Leaving directory
>> `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic/vx_cal'
>> Making all in vx_math
>> make[4]: Entering directory
>>
`/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic/vx_math'
>> make[4]: *** No rule to make target `viewgravity_to_string.cc',
needed by
>> `libvx_math_a-viewgravity_to_string.o'.  Stop.
>> make[4]: Leaving directory
>>
`/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic/vx_math'
>> make[3]: *** [all-recursive] Error 1
>> make[3]: Leaving directory
>> `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory
>> `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory
>> `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met'
>> make: *** [all] Error 2
>> =====================================
>>
>> 2) config.log
>> =====================================
>> /tmp/iccbqYviU.o: In function `main':
>> /nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/conftest.l:18:
undefined
>> reference to `yywrap'
>> /tmp/iccbqYviU.o: In function `yylex':
>> /nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/lex.yy.c:869:
undefined
>> reference to `yywrap'
>> /tmp/iccbqYviU.o: In function `input':
>> /nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/lex.yy.c:1170:
undefined
>> reference to `yywrap'
>> /nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/lex.yy.c:1170:
undefined
>> reference to `yywrap'
>> configure:6576: $? = 1
>> configure: failed program was:
>> | /* confdefs.h */
>> ======================================
>>
>> Please find the attached log files (config.log and make.log) for
more
>> information. It would be much appreciated if you let me know how to
fix
>> this error. Thank you for your support.
>>
>> Best regards,
>> Eun-Gyeong
>>
>>
>>
>
> --
> Julie Prestopnik (she/her)
> Software Engineer
> National Center for Atmospheric Research
> Research Applications Laboratory
> 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 (she/her)
Software Engineer
National Center for Atmospheric Research
Research Applications Laboratory
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: Compilation error of MET v10.0.0
From: Julie Prestopnik
Time: Tue Jun 22 15:07:05 2021

You're welcome!  Thank you for the feedback on why you downloaded MET
from
GitHub.  I'm glad you were able to get MET installed!  I'll close this
ticket, but please feel free to open a new one with any new questions.

Julie

On Tue, Jun 22, 2021 at 12:35 PM Yang, Eun-Gyeong via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100247 >
>
> Hi Julie,
>
> Thank you so much for your email.
> I have finally installed MET successfully with MET source codes
downloaded
> from the web site you provided! The reason why I downloaded MET from
GitHub
> repository previously is that I just ran METplus v4.0.0, which is
coded to
> download MET v10.0.0 from GitHub repository, though. Anyway, I was
able to
> install MET with your support. I really appreciate your assistance.
>
> Best regards,
> Eun-Gyeong
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Monday, June 21, 2021 15:57
> To: Yang, Eun-Gyeong <eyang5 at albany.edu>
> Subject: Re: [rt.rap.ucar.edu #100247] Compilation error of MET
v10.0.0
>
> Hi Eun-Gyeong.
>
> I just wanted to follow up and see if you were able to install MET
> successfully or if you encountered any problems you need assistance
with.
>
> Kind regards,
> Julie
>
> On Wed, Jun 16, 2021 at 3:55 PM Julie Prestopnik <jpresto at ucar.edu>
wrote:
>
> > Hi Eun-Gyeong.  I see that you are having some trouble compiling
the MET
> > software.
> >
> > Can you please tell me where you download the MET source code
from? I am
> > wondering if you got the code directly from GitHub.
> >
> > Instead, it should be downloaded from the link on this page:
> > https://dtcenter.org/community-code/model-evaluation-tools-
met/download
> >
> > Here is the direct link to the tarfile to download:
> >
> >
> https://github.com/dtcenter/MET/releases/download/v10.0.0/met-
10.0.0.20210510.tar.gz
> >
> > MET is intended to be compiled by users from a tarfile, not
directly from
> > the repository. That's why our Downloads page
> > <https://dtcenter.org/community-code/model-evaluation-tools-
met/download
> >
> > links directly to the tarfile on GitHub
> > <
> >
> https://github.com/dtcenter/MET/releases/download/v10.0.0/met-
10.0.0.20210510.tar.gz
> > >
> > that users should compile. We do development within the repository
but
> run
> > a script to create a release. That script runs some tools to
> automatically
> > generate some code, including an internal utility enum_to_string
as well
> as
> > lex/yacc. Those utilities are needed for development but not for
> compiling
> > the released versions. This logic is handled in the "make" step
using the
> > MET_DEVELOPMENT environment variable. If that variable is set when
the
> > "configure" script is run, then subsequent calls to "make" will
create
> > those auto-generated files... and "make clean" will remove them.
> >
> > But again, this is intended for development, not for the
compilation of a
> > release tarfile. To compile MET, please refer to the section
titled:
> > "Sample Script For Compiling External Libraries And MET" on the
MET
> > downloads page:
> > https://dtcenter.org/community-code/model-evaluation-tools-
met/download
> >
> > Please let us know if you have any follow up questions and please
let us
> > know how the compilation goes.  I hope this helps.
> >
> > Julie
> >
> >
> > On Wed, Jun 16, 2021 at 11:06 AM Yang, Eun-Gyeong via RT <
> > met_help at ucar.edu> wrote:
> >
> >>
> >> Wed Jun 16 11:06:19 2021: Request 100247 was acted upon.
> >> Transaction: Ticket created by eyang5 at albany.edu
> >>        Queue: met_help
> >>      Subject: Compilation error of MET v10.0.0
> >>        Owner: Nobody
> >>   Requestors: eyang5 at albany.edu
> >>       Status: new
> >>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100247
> >
> >>
> >>
> >> Dear MET user support,
> >>
> >> Hi. I am trying to install METplus v4.0.0 (with MET v10.0.0), but
I
> >> encountered with the error while compiling MET v10.0.0. I tried
with
> both
> >> GNU and Intel compilers, but the error message was the same. The
error
> >> message is as follows:
> >>
> >> 1) make.log
> >> =====================================
> >> Making all in vx_cal
> >> make[4]: Entering directory
> >>
`/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic/vx_cal'
> >> make[4]: Nothing to be done for `all'.
> >> make[4]: Leaving directory
> >>
`/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic/vx_cal'
> >> Making all in vx_math
> >> make[4]: Entering directory
> >>
`/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic/vx_math'
> >> make[4]: *** No rule to make target `viewgravity_to_string.cc',
needed
> by
> >> `libvx_math_a-viewgravity_to_string.o'.  Stop.
> >> make[4]: Leaving directory
> >>
`/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic/vx_math'
> >> make[3]: *** [all-recursive] Error 1
> >> make[3]: Leaving directory
> >> `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src/basic'
> >> make[2]: *** [all-recursive] Error 1
> >> make[2]: Leaving directory
> >> `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/src'
> >> make[1]: *** [all-recursive] Error 1
> >> make[1]: Leaving directory
> >> `/nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met'
> >> make: *** [all] Error 2
> >> =====================================
> >>
> >> 2) config.log
> >> =====================================
> >> /tmp/iccbqYviU.o: In function `main':
> >> /nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/conftest.l:18:
> undefined
> >> reference to `yywrap'
> >> /tmp/iccbqYviU.o: In function `yylex':
> >> /nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/lex.yy.c:869:
undefined
> >> reference to `yywrap'
> >> /tmp/iccbqYviU.o: In function `input':
> >> /nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/lex.yy.c:1170:
> undefined
> >> reference to `yywrap'
> >> /nfs/tornlab_rit/egyang/MET/metplus_v4.0/MET/met/lex.yy.c:1170:
> undefined
> >> reference to `yywrap'
> >> configure:6576: $? = 1
> >> configure: failed program was:
> >> | /* confdefs.h */
> >> ======================================
> >>
> >> Please find the attached log files (config.log and make.log) for
more
> >> information. It would be much appreciated if you let me know how
to fix
> >> this error. Thank you for your support.
> >>
> >> Best regards,
> >> Eun-Gyeong
> >>
> >>
> >>
> >
> > --
> > Julie Prestopnik (she/her)
> > Software Engineer
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > 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 (she/her)
> Software Engineer
> National Center for Atmospheric Research
> Research Applications Laboratory
> 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 (she/her)
Software Engineer
National Center for Atmospheric Research
Research Applications Laboratory
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