[Met_help] [rt.rap.ucar.edu #43579] History for MET v 3.0 compilation error

RAL HelpDesk {for Paul Oldenburg} met_help at ucar.edu
Thu Jan 20 12:17:05 MST 2011


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

Dear Help Desk,
 
I downloaded the PREBUFR library and compiled per the README using pgf77 and pgfCC v 10.5 compilers.
 
My GSL version was 1.9.
 
My MET compilation had the final set of comments and errors:
 
pb2nc.cc:
/usr/local/prebufr/libbufr.a(datelen.o): In function `datelen_':
/hpcc/other/install/BUFRLIB/./datelen.f:61: undefined reference to `wrdlen_'
/usr/local/prebufr/libbufr.a(openbf.o): In function `openbf_':
/hpcc/other/install/BUFRLIB/./openbf.f:168: undefined reference to `wrdlen_'
/usr/local/prebufr/libbufr.a(upbb.o): In function `upbb_':
/hpcc/other/install/BUFRLIB/./upbb.f:65: undefined reference to `irev_'
/hpcc/other/install/BUFRLIB/./upbb.f:73: undefined reference to `irev_'
/usr/local/prebufr/libbufr.a(upb.o): In function `upb_':
/hpcc/other/install/BUFRLIB/./upb.f:71: undefined reference to `irev_'
/hpcc/other/install/BUFRLIB/./upb.f:79: undefined reference to `irev_'
/usr/local/prebufr/libbufr.a(ipkm.o): In function `ipkm_':
/hpcc/other/install/BUFRLIB/./ipkm.f:64: undefined reference to `irev_'
/usr/local/prebufr/libbufr.a(iupm.o):/hpcc/other/install/BUFRLIB/./iupm.f:63: more undefined references to `irev_' follow
/usr/local/prebufr/libbufr.a(mesgbc.o): In function `mesgbc_':
/hpcc/other/install/BUFRLIB/./mesgbc.f:119: undefined reference to `wrdlen_'
/usr/local/prebufr/libbufr.a(ovrbs1.o): In function `ovrbs1_':
/hpcc/other/install/BUFRLIB/./ovrbs1.f:74: undefined reference to `wrdlen_'
/usr/local/prebufr/libbufr.a(pkb.o): In function `pkb_':
/hpcc/other/install/BUFRLIB/./pkb.f:67: undefined reference to `irev_'
/hpcc/other/install/BUFRLIB/./pkb.f:67: undefined reference to `irev_'
/hpcc/other/install/BUFRLIB/./pkb.f:67: undefined reference to `irev_'
/hpcc/other/install/BUFRLIB/./pkb.f:67: undefined reference to `irev_'
/usr/local/prebufr/libbufr.a(pkc.o): In function `pkc_':
/hpcc/other/install/BUFRLIB/./pkc.f:91: undefined reference to `irev_'
/usr/local/prebufr/libbufr.a(pkc.o):/hpcc/other/install/BUFRLIB/./pkc.f:91: more undefined references to `irev_' follow
/usr/local/prebufr/libbufr.a(iupbs01.o): In function `iupbs01_':
/hpcc/other/install/BUFRLIB/./iupbs01.f:113: undefined reference to `wrdlen_'
make[3]: *** [pb2nc] Error 2
make[2]: *** [all] Error 2
make[1]: *** [targets] Error 2
make: *** [all] Error 2
 
If I type "strings libbufr.a | grep wrdlen" or "strings libbufr.a | grep irev" I do see the references wrdlen_ and irev_ so I'm puzzled.
 
Thanks for your assistance in this matter.
 

 
 
 
Dr. Bright Dornblaser
Technical Analysis Division  MC-164
Texas Commission on Environmental Quality
P.O. Box 13087
Austin, TX 78711-3087
(512) 239-1978   (512) 239-1500 fax


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

Subject: Re: [rt.rap.ucar.edu #43579] MET v 3.0 compilation error
From: Paul Oldenburg
Time: Thu Jan 20 08:46:03 2011

Bright,

We suspect that there may be an inconsitency between how BUFRLIB was
compiled and how MET is trying to call it.  Please
refer to the directions for how to compile BUFRLIB in the MET Online
Tutorial:

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

Especially, note the presence of the -DUNDERSCORE flag when compiling
BUFRLIB with the PGI compilers.  Please let us
know if you have any questions.

Thanks,

Paul


On 01/19/2011 02:01 PM, RAL HelpDesk {for Bright Dornblaser} wrote:
>
> Wed Jan 19 14:01:10 2011: Request 43579 was acted upon.
> Transaction: Ticket created by Bright.Dornblaser at tceq.texas.gov
>        Queue: met_help
>      Subject: MET v 3.0 compilation error
>        Owner: Nobody
>   Requestors: Bright.Dornblaser at tceq.texas.gov
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=43579 >
>
>
> Dear Help Desk,
>
> I downloaded the PREBUFR library and compiled per the README using
pgf77 and pgfCC v 10.5 compilers.
>
> My GSL version was 1.9.
>
> My MET compilation had the final set of comments and errors:
>
> pb2nc.cc:
> /usr/local/prebufr/libbufr.a(datelen.o): In function `datelen_':
> /hpcc/other/install/BUFRLIB/./datelen.f:61: undefined reference to
`wrdlen_'
> /usr/local/prebufr/libbufr.a(openbf.o): In function `openbf_':
> /hpcc/other/install/BUFRLIB/./openbf.f:168: undefined reference to
`wrdlen_'
> /usr/local/prebufr/libbufr.a(upbb.o): In function `upbb_':
> /hpcc/other/install/BUFRLIB/./upbb.f:65: undefined reference to
`irev_'
> /hpcc/other/install/BUFRLIB/./upbb.f:73: undefined reference to
`irev_'
> /usr/local/prebufr/libbufr.a(upb.o): In function `upb_':
> /hpcc/other/install/BUFRLIB/./upb.f:71: undefined reference to
`irev_'
> /hpcc/other/install/BUFRLIB/./upb.f:79: undefined reference to
`irev_'
> /usr/local/prebufr/libbufr.a(ipkm.o): In function `ipkm_':
> /hpcc/other/install/BUFRLIB/./ipkm.f:64: undefined reference to
`irev_'
>
/usr/local/prebufr/libbufr.a(iupm.o):/hpcc/other/install/BUFRLIB/./iupm.f:63:
more undefined references to `irev_' follow
> /usr/local/prebufr/libbufr.a(mesgbc.o): In function `mesgbc_':
> /hpcc/other/install/BUFRLIB/./mesgbc.f:119: undefined reference to
`wrdlen_'
> /usr/local/prebufr/libbufr.a(ovrbs1.o): In function `ovrbs1_':
> /hpcc/other/install/BUFRLIB/./ovrbs1.f:74: undefined reference to
`wrdlen_'
> /usr/local/prebufr/libbufr.a(pkb.o): In function `pkb_':
> /hpcc/other/install/BUFRLIB/./pkb.f:67: undefined reference to
`irev_'
> /hpcc/other/install/BUFRLIB/./pkb.f:67: undefined reference to
`irev_'
> /hpcc/other/install/BUFRLIB/./pkb.f:67: undefined reference to
`irev_'
> /hpcc/other/install/BUFRLIB/./pkb.f:67: undefined reference to
`irev_'
> /usr/local/prebufr/libbufr.a(pkc.o): In function `pkc_':
> /hpcc/other/install/BUFRLIB/./pkc.f:91: undefined reference to
`irev_'
>
/usr/local/prebufr/libbufr.a(pkc.o):/hpcc/other/install/BUFRLIB/./pkc.f:91:
more undefined references to `irev_' follow
> /usr/local/prebufr/libbufr.a(iupbs01.o): In function `iupbs01_':
> /hpcc/other/install/BUFRLIB/./iupbs01.f:113: undefined reference to
`wrdlen_'
> make[3]: *** [pb2nc] Error 2
> make[2]: *** [all] Error 2
> make[1]: *** [targets] Error 2
> make: *** [all] Error 2
>
> If I type "strings libbufr.a | grep wrdlen" or "strings libbufr.a |
grep irev" I do see the references wrdlen_ and irev_ so I'm puzzled.
>
> Thanks for your assistance in this matter.
>
>
>
>
>
> Dr. Bright Dornblaser
> Technical Analysis Division  MC-164
> Texas Commission on Environmental Quality
> P.O. Box 13087
> Austin, TX 78711-3087
> (512) 239-1978   (512) 239-1500 fax


------------------------------------------------
Subject: MET v 3.0 compilation error
From: Bright Dornblaser
Time: Thu Jan 20 10:10:02 2011

Dear Help Desk,

Thanks for your reply.  In fact I was using the -DUNDERSCORE with the
pgCC compile.

Following your link below I added the -DUNDERSCORE
-Mnosecond_underscore to the pgf77 compile.

Thus, after removing the *.o, I typed:

pgf77 -c -DUNDERSCORE -Mnosecond_underscore *.f *.F  (although the tar
file had no *.F files...)

pgCC -c -DUNDERSCORE *.c

ar crv libbufr.a *.o

I am compiling MET with pgf77 rather than pgf90 to make sure compilers
are consistent.

As before if I type the line:  strings libbufr.a | grep bort_exit
I see the return reference to bort_exit_ and so forth.

I am using the linux86-64 bit compiler if that matters.

Here are the  -now- shorter set of error messages.

pb2nc.cc:
/usr/local/prebufr/libbufr.a(bort2.o): In function `bort2_':
/hpcc/other/install/BUFRLIB/./bort2.f:43: undefined reference to
`bort_exit_'
/usr/local/prebufr/libbufr.a(bort.o): In function `bort_':
/hpcc/other/install/BUFRLIB/./bort.f:78: undefined reference to
`bort_exit_'
/usr/local/prebufr/libbufr.a(stndrd.o): In function `stndrd_':
/hpcc/other/install/BUFRLIB/./stndrd.f:134: undefined reference to
`restd_'
/usr/local/prebufr/libbufr.a(cmsgini.o): In function `cmsgini_':
/hpcc/other/install/BUFRLIB/./cmsgini.f:165: undefined reference to
`restd_'
make[3]: *** [pb2nc] Error 2
make[2]: *** [all] Error 2
make[1]: *** [targets] Error 2
make: *** [all] Error 2

I want to thank you again for your assistance - especially if at some
point the problem solution is obvious.

Bright Dornblaser



>>> "RAL HelpDesk {for Paul Oldenburg}" <met_help at ucar.edu> 1/20/2011
9:46 AM >>>
Bright,

We suspect that there may be an inconsitency between how BUFRLIB was
compiled and how MET is trying to call it.  Please
refer to the directions for how to compile BUFRLIB in the MET Online
Tutorial:

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

Especially, note the presence of the -DUNDERSCORE flag when compiling
BUFRLIB with the PGI compilers.  Please let us
know if you have any questions.

Thanks,

Paul


On 01/19/2011 02:01 PM, RAL HelpDesk {for Bright Dornblaser} wrote:
>
> Wed Jan 19 14:01:10 2011: Request 43579 was acted upon.
> Transaction: Ticket created by Bright.Dornblaser at tceq.texas.gov
>        Queue: met_help
>      Subject: MET v 3.0 compilation error
>        Owner: Nobody
>   Requestors: Bright.Dornblaser at tceq.texas.gov
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=43579 >
>
>
> Dear Help Desk,
>
> I downloaded the PREBUFR library and compiled per the README using
pgf77 and pgfCC v 10.5 compilers.
>
> My GSL version was 1.9.
>
> My MET compilation had the final set of comments and errors:
>
> pb2nc.cc:
> /usr/local/prebufr/libbufr.a(datelen.o): In function `datelen_':
> /hpcc/other/install/BUFRLIB/./datelen.f:61: undefined reference to
`wrdlen_'
> /usr/local/prebufr/libbufr.a(openbf.o): In function `openbf_':
> /hpcc/other/install/BUFRLIB/./openbf.f:168: undefined reference to
`wrdlen_'
> /usr/local/prebufr/libbufr.a(upbb.o): In function `upbb_':
> /hpcc/other/install/BUFRLIB/./upbb.f:65: undefined reference to
`irev_'
> /hpcc/other/install/BUFRLIB/./upbb.f:73: undefined reference to
`irev_'
> /usr/local/prebufr/libbufr.a(upb.o): In function `upb_':
> /hpcc/other/install/BUFRLIB/./upb.f:71: undefined reference to
`irev_'
> /hpcc/other/install/BUFRLIB/./upb.f:79: undefined reference to
`irev_'
> /usr/local/prebufr/libbufr.a(ipkm.o): In function `ipkm_':
> /hpcc/other/install/BUFRLIB/./ipkm.f:64: undefined reference to
`irev_'
>
/usr/local/prebufr/libbufr.a(iupm.o):/hpcc/other/install/BUFRLIB/./iupm.f:63:
more undefined references to `irev_' follow
> /usr/local/prebufr/libbufr.a(mesgbc.o): In function `mesgbc_':
> /hpcc/other/install/BUFRLIB/./mesgbc.f:119: undefined reference to
`wrdlen_'
> /usr/local/prebufr/libbufr.a(ovrbs1.o): In function `ovrbs1_':
> /hpcc/other/install/BUFRLIB/./ovrbs1.f:74: undefined reference to
`wrdlen_'
> /usr/local/prebufr/libbufr.a(pkb.o): In function `pkb_':
> /hpcc/other/install/BUFRLIB/./pkb.f:67: undefined reference to
`irev_'
> /hpcc/other/install/BUFRLIB/./pkb.f:67: undefined reference to
`irev_'
> /hpcc/other/install/BUFRLIB/./pkb.f:67: undefined reference to
`irev_'
> /hpcc/other/install/BUFRLIB/./pkb.f:67: undefined reference to
`irev_'
> /usr/local/prebufr/libbufr.a(pkc.o): In function `pkc_':
> /hpcc/other/install/BUFRLIB/./pkc.f:91: undefined reference to
`irev_'
>
/usr/local/prebufr/libbufr.a(pkc.o):/hpcc/other/install/BUFRLIB/./pkc.f:91:
more undefined references to `irev_' follow
> /usr/local/prebufr/libbufr.a(iupbs01.o): In function `iupbs01_':
> /hpcc/other/install/BUFRLIB/./iupbs01.f:113: undefined reference to
`wrdlen_'
> make[3]: *** [pb2nc] Error 2
> make[2]: *** [all] Error 2
> make[1]: *** [targets] Error 2
> make: *** [all] Error 2
>
> If I type "strings libbufr.a | grep wrdlen" or "strings libbufr.a |
grep irev" I do see the references wrdlen_ and irev_ so I'm puzzled.
>
> Thanks for your assistance in this matter.
>
>
>
>
>
> Dr. Bright Dornblaser
> Technical Analysis Division  MC-164
> Texas Commission on Environmental Quality
> P.O. Box 13087
> Austin, TX 78711-3087
> (512) 239-1978   (512) 239-1500 fax



------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #43579] MET v 3.0 compilation error
From: Paul Oldenburg
Time: Thu Jan 20 11:58:53 2011

Bright,

You appear to be using the C++ compiler pgCC.  The instructions on the
online tutorial suggest using the c compiler
pgcc.  Your error messages all indicate undefined references to
objects located in c files.  We recommend that you
follow the instructions on the online tutorial for building the
libraries and MET.

Thanks,

Paul


On 01/20/2011 10:10 AM, RAL HelpDesk {for Bright Dornblaser} wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=43579 >
>
> Dear Help Desk,
>
> Thanks for your reply.  In fact I was using the -DUNDERSCORE with
the pgCC compile.
>
> Following your link below I added the -DUNDERSCORE
-Mnosecond_underscore to the pgf77 compile.
>
> Thus, after removing the *.o, I typed:
>
> pgf77 -c -DUNDERSCORE -Mnosecond_underscore *.f *.F  (although the
tar file had no *.F files...)
>
> pgCC -c -DUNDERSCORE *.c
>
> ar crv libbufr.a *.o
>
> I am compiling MET with pgf77 rather than pgf90 to make sure
compilers are consistent.
>
> As before if I type the line:  strings libbufr.a | grep bort_exit
> I see the return reference to bort_exit_ and so forth.
>
> I am using the linux86-64 bit compiler if that matters.
>
> Here are the  -now- shorter set of error messages.
>
> pb2nc.cc:
> /usr/local/prebufr/libbufr.a(bort2.o): In function `bort2_':
> /hpcc/other/install/BUFRLIB/./bort2.f:43: undefined reference to
`bort_exit_'
> /usr/local/prebufr/libbufr.a(bort.o): In function `bort_':
> /hpcc/other/install/BUFRLIB/./bort.f:78: undefined reference to
`bort_exit_'
> /usr/local/prebufr/libbufr.a(stndrd.o): In function `stndrd_':
> /hpcc/other/install/BUFRLIB/./stndrd.f:134: undefined reference to
`restd_'
> /usr/local/prebufr/libbufr.a(cmsgini.o): In function `cmsgini_':
> /hpcc/other/install/BUFRLIB/./cmsgini.f:165: undefined reference to
`restd_'
> make[3]: *** [pb2nc] Error 2
> make[2]: *** [all] Error 2
> make[1]: *** [targets] Error 2
> make: *** [all] Error 2
>
> I want to thank you again for your assistance - especially if at
some point the problem solution is obvious.
>
> Bright Dornblaser
>
>
>
>>>> "RAL HelpDesk {for Paul Oldenburg}" <met_help at ucar.edu> 1/20/2011
9:46 AM >>>
> Bright,
>
> We suspect that there may be an inconsitency between how BUFRLIB was
compiled and how MET is trying to call it.  Please
> refer to the directions for how to compile BUFRLIB in the MET Online
Tutorial:
>
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv3.0/compilation/req_libs.php
>
> Especially, note the presence of the -DUNDERSCORE flag when
compiling BUFRLIB with the PGI compilers.  Please let us
> know if you have any questions.
>
> Thanks,
>
> Paul
>
>
> On 01/19/2011 02:01 PM, RAL HelpDesk {for Bright Dornblaser} wrote:
>>
>> Wed Jan 19 14:01:10 2011: Request 43579 was acted upon.
>> Transaction: Ticket created by Bright.Dornblaser at tceq.texas.gov
>>        Queue: met_help
>>      Subject: MET v 3.0 compilation error
>>        Owner: Nobody
>>   Requestors: Bright.Dornblaser at tceq.texas.gov
>>       Status: new
>>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=43579 >
>>
>>
>> Dear Help Desk,
>>
>> I downloaded the PREBUFR library and compiled per the README using
pgf77 and pgfCC v 10.5 compilers.
>>
>> My GSL version was 1.9.
>>
>> My MET compilation had the final set of comments and errors:
>>
>> pb2nc.cc:
>> /usr/local/prebufr/libbufr.a(datelen.o): In function `datelen_':
>> /hpcc/other/install/BUFRLIB/./datelen.f:61: undefined reference to
`wrdlen_'
>> /usr/local/prebufr/libbufr.a(openbf.o): In function `openbf_':
>> /hpcc/other/install/BUFRLIB/./openbf.f:168: undefined reference to
`wrdlen_'
>> /usr/local/prebufr/libbufr.a(upbb.o): In function `upbb_':
>> /hpcc/other/install/BUFRLIB/./upbb.f:65: undefined reference to
`irev_'
>> /hpcc/other/install/BUFRLIB/./upbb.f:73: undefined reference to
`irev_'
>> /usr/local/prebufr/libbufr.a(upb.o): In function `upb_':
>> /hpcc/other/install/BUFRLIB/./upb.f:71: undefined reference to
`irev_'
>> /hpcc/other/install/BUFRLIB/./upb.f:79: undefined reference to
`irev_'
>> /usr/local/prebufr/libbufr.a(ipkm.o): In function `ipkm_':
>> /hpcc/other/install/BUFRLIB/./ipkm.f:64: undefined reference to
`irev_'
>>
/usr/local/prebufr/libbufr.a(iupm.o):/hpcc/other/install/BUFRLIB/./iupm.f:63:
more undefined references to `irev_' follow
>> /usr/local/prebufr/libbufr.a(mesgbc.o): In function `mesgbc_':
>> /hpcc/other/install/BUFRLIB/./mesgbc.f:119: undefined reference to
`wrdlen_'
>> /usr/local/prebufr/libbufr.a(ovrbs1.o): In function `ovrbs1_':
>> /hpcc/other/install/BUFRLIB/./ovrbs1.f:74: undefined reference to
`wrdlen_'
>> /usr/local/prebufr/libbufr.a(pkb.o): In function `pkb_':
>> /hpcc/other/install/BUFRLIB/./pkb.f:67: undefined reference to
`irev_'
>> /hpcc/other/install/BUFRLIB/./pkb.f:67: undefined reference to
`irev_'
>> /hpcc/other/install/BUFRLIB/./pkb.f:67: undefined reference to
`irev_'
>> /hpcc/other/install/BUFRLIB/./pkb.f:67: undefined reference to
`irev_'
>> /usr/local/prebufr/libbufr.a(pkc.o): In function `pkc_':
>> /hpcc/other/install/BUFRLIB/./pkc.f:91: undefined reference to
`irev_'
>>
/usr/local/prebufr/libbufr.a(pkc.o):/hpcc/other/install/BUFRLIB/./pkc.f:91:
more undefined references to `irev_' follow
>> /usr/local/prebufr/libbufr.a(iupbs01.o): In function `iupbs01_':
>> /hpcc/other/install/BUFRLIB/./iupbs01.f:113: undefined reference to
`wrdlen_'
>> make[3]: *** [pb2nc] Error 2
>> make[2]: *** [all] Error 2
>> make[1]: *** [targets] Error 2
>> make: *** [all] Error 2
>>
>> If I type "strings libbufr.a | grep wrdlen" or "strings libbufr.a |
grep irev" I do see the references wrdlen_ and irev_ so I'm puzzled.
>>
>> Thanks for your assistance in this matter.
>>
>>
>>
>>
>>
>> Dr. Bright Dornblaser
>> Technical Analysis Division  MC-164
>> Texas Commission on Environmental Quality
>> P.O. Box 13087
>> Austin, TX 78711-3087
>> (512) 239-1978   (512) 239-1500 fax
>
>


------------------------------------------------
Subject: MET v 3.0 compilation error
From: Bright Dornblaser
Time: Thu Jan 20 12:08:54 2011

Drat on me and many thanks to you.

Bright Dornblaser

>>> "RAL HelpDesk {for Paul Oldenburg}" <met_help at ucar.edu> 1/20/2011
12:58 PM >>>
Bright,

You appear to be using the C++ compiler pgCC.  The instructions on the
online tutorial suggest using the c compiler
pgcc.  Your error messages all indicate undefined references to
objects located in c files.  We recommend that you
follow the instructions on the online tutorial for building the
libraries and MET.

Thanks,

Paul


On 01/20/2011 10:10 AM, RAL HelpDesk {for Bright Dornblaser} wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=43579 >
>
> Dear Help Desk,
>
> Thanks for your reply.  In fact I was using the -DUNDERSCORE with
the pgCC compile.
>
> Following your link below I added the -DUNDERSCORE
-Mnosecond_underscore to the pgf77 compile.
>
> Thus, after removing the *.o, I typed:
>
> pgf77 -c -DUNDERSCORE -Mnosecond_underscore *.f *.F  (although the
tar file had no *.F files...)
>
> pgCC -c -DUNDERSCORE *.c
>
> ar crv libbufr.a *.o
>
> I am compiling MET with pgf77 rather than pgf90 to make sure
compilers are consistent.
>
> As before if I type the line:  strings libbufr.a | grep bort_exit
> I see the return reference to bort_exit_ and so forth.
>
> I am using the linux86-64 bit compiler if that matters.
>
> Here are the  -now- shorter set of error messages.
>
> pb2nc.cc:
> /usr/local/prebufr/libbufr.a(bort2.o): In function `bort2_':
> /hpcc/other/install/BUFRLIB/./bort2.f:43: undefined reference to
`bort_exit_'
> /usr/local/prebufr/libbufr.a(bort.o): In function `bort_':
> /hpcc/other/install/BUFRLIB/./bort.f:78: undefined reference to
`bort_exit_'
> /usr/local/prebufr/libbufr.a(stndrd.o): In function `stndrd_':
> /hpcc/other/install/BUFRLIB/./stndrd.f:134: undefined reference to
`restd_'
> /usr/local/prebufr/libbufr.a(cmsgini.o): In function `cmsgini_':
> /hpcc/other/install/BUFRLIB/./cmsgini.f:165: undefined reference to
`restd_'
> make[3]: *** [pb2nc] Error 2
> make[2]: *** [all] Error 2
> make[1]: *** [targets] Error 2
> make: *** [all] Error 2
>
> I want to thank you again for your assistance - especially if at
some point the problem solution is obvious.
>
> Bright Dornblaser
>
>
>
>>>> "RAL HelpDesk {for Paul Oldenburg}" <met_help at ucar.edu> 1/20/2011
9:46 AM >>>
> Bright,
>
> We suspect that there may be an inconsitency between how BUFRLIB was
compiled and how MET is trying to call it.  Please
> refer to the directions for how to compile BUFRLIB in the MET Online
Tutorial:
>
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv3.0/compilation/req_libs.php
>
> Especially, note the presence of the -DUNDERSCORE flag when
compiling BUFRLIB with the PGI compilers.  Please let us
> know if you have any questions.
>
> Thanks,
>
> Paul
>
>
> On 01/19/2011 02:01 PM, RAL HelpDesk {for Bright Dornblaser} wrote:
>>
>> Wed Jan 19 14:01:10 2011: Request 43579 was acted upon.
>> Transaction: Ticket created by Bright.Dornblaser at tceq.texas.gov
>>        Queue: met_help
>>      Subject: MET v 3.0 compilation error
>>        Owner: Nobody
>>   Requestors: Bright.Dornblaser at tceq.texas.gov
>>       Status: new
>>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=43579 >
>>
>>
>> Dear Help Desk,
>>
>> I downloaded the PREBUFR library and compiled per the README using
pgf77 and pgfCC v 10.5 compilers.
>>
>> My GSL version was 1.9.
>>
>> My MET compilation had the final set of comments and errors:
>>
>> pb2nc.cc:
>> /usr/local/prebufr/libbufr.a(datelen.o): In function `datelen_':
>> /hpcc/other/install/BUFRLIB/./datelen.f:61: undefined reference to
`wrdlen_'
>> /usr/local/prebufr/libbufr.a(openbf.o): In function `openbf_':
>> /hpcc/other/install/BUFRLIB/./openbf.f:168: undefined reference to
`wrdlen_'
>> /usr/local/prebufr/libbufr.a(upbb.o): In function `upbb_':
>> /hpcc/other/install/BUFRLIB/./upbb.f:65: undefined reference to
`irev_'
>> /hpcc/other/install/BUFRLIB/./upbb.f:73: undefined reference to
`irev_'
>> /usr/local/prebufr/libbufr.a(upb.o): In function `upb_':
>> /hpcc/other/install/BUFRLIB/./upb.f:71: undefined reference to
`irev_'
>> /hpcc/other/install/BUFRLIB/./upb.f:79: undefined reference to
`irev_'
>> /usr/local/prebufr/libbufr.a(ipkm.o): In function `ipkm_':
>> /hpcc/other/install/BUFRLIB/./ipkm.f:64: undefined reference to
`irev_'
>>
/usr/local/prebufr/libbufr.a(iupm.o):/hpcc/other/install/BUFRLIB/./iupm.f:63:
more undefined references to `irev_' follow
>> /usr/local/prebufr/libbufr.a(mesgbc.o): In function `mesgbc_':
>> /hpcc/other/install/BUFRLIB/./mesgbc.f:119: undefined reference to
`wrdlen_'
>> /usr/local/prebufr/libbufr.a(ovrbs1.o): In function `ovrbs1_':
>> /hpcc/other/install/BUFRLIB/./ovrbs1.f:74: undefined reference to
`wrdlen_'
>> /usr/local/prebufr/libbufr.a(pkb.o): In function `pkb_':
>> /hpcc/other/install/BUFRLIB/./pkb.f:67: undefined reference to
`irev_'
>> /hpcc/other/install/BUFRLIB/./pkb.f:67: undefined reference to
`irev_'
>> /hpcc/other/install/BUFRLIB/./pkb.f:67: undefined reference to
`irev_'
>> /hpcc/other/install/BUFRLIB/./pkb.f:67: undefined reference to
`irev_'
>> /usr/local/prebufr/libbufr.a(pkc.o): In function `pkc_':
>> /hpcc/other/install/BUFRLIB/./pkc.f:91: undefined reference to
`irev_'
>>
/usr/local/prebufr/libbufr.a(pkc.o):/hpcc/other/install/BUFRLIB/./pkc.f:91:
more undefined references to `irev_' follow
>> /usr/local/prebufr/libbufr.a(iupbs01.o): In function `iupbs01_':
>> /hpcc/other/install/BUFRLIB/./iupbs01.f:113: undefined reference to
`wrdlen_'
>> make[3]: *** [pb2nc] Error 2
>> make[2]: *** [all] Error 2
>> make[1]: *** [targets] Error 2
>> make: *** [all] Error 2
>>
>> If I type "strings libbufr.a | grep wrdlen" or "strings libbufr.a |
grep irev" I do see the references wrdlen_ and irev_ so I'm puzzled.
>>
>> Thanks for your assistance in this matter.
>>
>>
>>
>>
>>
>> Dr. Bright Dornblaser
>> Technical Analysis Division  MC-164
>> Texas Commission on Environmental Quality
>> P.O. Box 13087
>> Austin, TX 78711-3087
>> (512) 239-1978   (512) 239-1500 fax
>
>



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


More information about the Met_help mailing list